fix(FN-000): backup routine uses npx runfusion.ai; alias exposes fn/fusion

Backup automation now emits `npx runfusion.ai backup --create` so scheduled
backups work for users on the zero-install path where `fn` is not on PATH.

`runfusion.ai` also exposes `fn` and `fusion` bins, so `npm i -g runfusion.ai`
puts them on PATH (npm does not link dep bins globally). Alias only defaults
to the dashboard when invoked as `runfusion.ai` / `runfusion`; `fn` / `fusion`
forward args verbatim so bare `fn` still prints help.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-04-22 19:19:07 -07:00
parent 0ab465a9d1
commit 9ca6b9174b
6 changed files with 31 additions and 20 deletions

View File

@@ -23,7 +23,9 @@
"type": "module",
"bin": {
"runfusion.ai": "index.js",
"runfusion": "index.js"
"runfusion": "index.js",
"fn": "index.js",
"fusion": "index.js"
},
"files": [
"index.js",