Files
fusion/.changeset/fix-pty-loading.md
gsxdsm af1347861e fix(KB-140): fix standalone CLI native asset packaging for terminal support
- Stage node-pty native assets (pty.node, spawn-helper) alongside compiled binary

- Add runtime native-patch.ts to resolve native assets in Bun-compiled binaries

- Fix eager native module loading crash for non-terminal commands

- Enable terminal functionality in isolated standalone deployments

- Update release workflows and add STANDALONE.md documentation
2026-03-30 23:32:30 -07:00

491 B

@dustinbyrne/kb
@dustinbyrne/kb
patch

Fix standalone CLI native asset packaging for terminal support

  • Stage node-pty native assets (pty.node, spawn-helper) alongside the compiled binary
  • Assets are placed in dist/runtime/<platform-arch>/ for each build target
  • Runtime resolution patch ensures Bun-compiled binary can find staged native assets
  • Terminal functionality now works in isolated standalone deployments
  • Non-terminal commands no longer crash due to eager native module loading