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:
5
.changeset/fix-node-pty-runtime-dep.md
Normal file
5
.changeset/fix-node-pty-runtime-dep.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
fix: declare node-pty as a runtime dependency so `npx runfusion.ai` can start the embedded terminal on a clean install. Previously node-pty was only present transitively via the workspace `@fusion/dashboard` devDependency, which is stripped at publish time — fresh users hit a 503 "PTY module could not be loaded" when opening the dashboard terminal. The package-config test guard has been tightened to catch this regression.
|
||||
Reference in New Issue
Block a user