fix(cli): declare node-pty as runtime dep so npx runfusion.ai terminal works on clean install

node-pty was previously only present transitively via the workspace
@fusion/dashboard devDependency, which is stripped at publish time. Fresh
users running `npx runfusion.ai` hit a 503 "PTY module could not be loaded"
when opening the dashboard terminal. Tightened the package-config guard so
this regression is caught next time.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-05-05 15:02:41 -07:00
parent b41396de4b
commit 61dac2801d
4 changed files with 10 additions and 2 deletions

3
pnpm-lock.yaml generated
View File

@@ -59,6 +59,9 @@ importers:
multer:
specifier: ^2.1.1
version: 2.1.1
node-pty:
specifier: npm:@homebridge/node-pty-prebuilt-multiarch@^0.13.1
version: '@homebridge/node-pty-prebuilt-multiarch@0.13.1'
react:
specifier: ^19.0.0
version: 19.2.4