Skip to content

feat(cli): embed persistent PTY service binaries - #44834

Closed
jlongster wants to merge 1 commit into
pty-backendfrom
pty-binary-assets
Closed

feat(cli): embed persistent PTY service binaries#44834
jlongster wants to merge 1 commit into
pty-backendfrom
pty-binary-assets

Conversation

@jlongster

Copy link
Copy Markdown
Contributor

Summary

  • pin opencode-pty v0.1.4 and verify SHA-256 checksums for six Linux/macOS archives
  • embed the native daemon into Bun executables and existing Node SEA asset bundles
  • lazily extract Bun assets into private content-addressed executable caches with checksum, ownership, and permission checks
  • preserve OPENCODE_PTY_BIN overrides and leave unsupported Windows targets unchanged

Verification

  • bun run typecheck in packages/core and packages/cli
  • bun test test/persistent-pty-binary.test.ts in packages/core
  • bun test test/node-assets.test.ts in packages/cli
  • real opencode-pty v0.1.4 server integration test passes
  • compiled Bun smoke test embeds, extracts, starts the daemon, creates a terminal through the HTTP API, and snapshots its output

Stack: 3/5, based on #44832; next PR adds the TUI workspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant