Skip to content

feat(server): add persistent PTY daemon API - #44832

Closed
jlongster wants to merge 1 commit into
pty-groupsfrom
pty-backend
Closed

feat(server): add persistent PTY daemon API#44832
jlongster wants to merge 1 commit into
pty-groupsfrom
pty-backend

Conversation

@jlongster

@jlongster jlongster commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a database-scoped, authenticated client for the persistent opencode-pty daemon and protocol v6
  • expose session-scoped terminal list/create, terminal lifecycle/snapshots, replay, controller takeover, and authenticated WebSocket streams
  • use sessionID as the daemon's internal grouping key without a public group abstraction
  • publish ephemeral persistent-pty.added and persistent-pty.removed invalidation events for multi-client synchronization
  • wire explicit service shutdown and regenerate Promise/Effect clients plus OpenAPI

Verification

  • package typechecks across Schema, Core, Protocol, Server, Client, and CLI
  • real opencode-pty v0.1.4 integration covers two terminals for one session, snapshots, replay, control, lifecycle, and added/removed SSE events
  • generated clients and OpenAPI refreshed

Stack: 1/4; next PR embeds the native daemon into CLI artifacts.

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