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
This commit is contained in:
gsxdsm
2026-03-30 23:32:30 -07:00
parent 748f9440b9
commit 3c87514f95
13 changed files with 458 additions and 43 deletions

View File

@@ -114,6 +114,7 @@ jobs:
path: |
packages/cli/dist/${{ matrix.binary }}
packages/cli/dist/${{ matrix.binary }}.sha256
packages/cli/dist/runtime/**/*
# ── Create GitHub Release ─────────────────────────────────────────────
github-release:

View File

@@ -116,6 +116,7 @@ jobs:
path: |
packages/cli/dist/${{ matrix.binary }}
packages/cli/dist/${{ matrix.binary }}.sha256
packages/cli/dist/runtime/**/*
# ── Collect all artifacts ─────────────────────────────────────────────
collect: