Skip to content

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

Merged
jlongster merged 1 commit into
v2from
pty-binary-assets
Aug 25, 2026
Merged

feat(cli): embed persistent PTY service binaries#44970
jlongster merged 1 commit into
v2from
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

  • Core and CLI typechecks
  • persistent PTY binary extraction/tamper test
  • Node SEA asset collection test
  • compiled Bun smoke test embeds, extracts, starts the daemon, creates a session terminal through HTTP, and snapshots output

Stack: 2/4, based on #44969.

Base automatically changed from pty-backend to v2 August 25, 2026 15:31
@jlongster
jlongster force-pushed the pty-binary-assets branch 8 times, most recently from ea28cfe to 2a702df Compare August 25, 2026 17:04
@jlongster
jlongster merged commit bc1f67e into v2 Aug 25, 2026
8 of 11 checks passed
@jlongster
jlongster deleted the pty-binary-assets branch August 25, 2026 17:19
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