B-QL81-ship-the-session-console-pty-sidecar-in-the-binary-dist
The SDF session console (PR #967) spawns lib/services/dashboard/term-server.mjs as a plain-Node sidecar (node-pty’s data channel breaks under Bun — ENXIO on the pty fd). In the dev tree and npm layout the script and its deps (ws, node-pty) resolve from disk, but the compiled-binary channel (D-0014) does not ship them: bun build —compile cannot bundle the native addon or the .mjs. The dashboard already degrades gracefully (term_port: null, read-only session list), so this is an enhancement: package term-server.mjs + ws + node-pty prebuilds alongside the binary artifact and point startTermServer at the installed location, so the terminal arms in the binary channel too.