feat(tui): add persistent terminal panes - #42654
Conversation
8c4dcfe to
77f7d53
Compare
Scope: draft — persistent terminal panes: a new
|
77f7d53 to
6cd203c
Compare
|
This umbrella draft has been split into a clean stack rebased on current
Temporary simulation screenshot tooling, Drive repro scripts, and temporary active-tab restoration were intentionally excluded. Review and merge the stack in order. |
|
The stack was simplified again after review: the generic Group service/schema/API and terminal-only workspaces were removed entirely. The active session-scoped stack is now:
The superseded group PR and prior stack PRs are closed. |
Summary
This PR adds persistent, multi-client terminal workspaces to the V2 TUI.
Persistent PTY backend
opencode-ptysidecar, including stale-registration recoveryTUI pane workspaces
/terminaland terminal-workspace entry pointsDevelopment support
Companion implementations
This branch expects:
opencode-ptyprotocol v4 for durable PTYs, checkpoints, replay, controller/observer roles, and bounded subscriber deliveryThe sidecar and OpenTUI changes are not contained in this repository.
Review notes
The temporary active-tab restoration, screenshot support, and
script/drive-pane-style.shwere added to make the pane UI reproducible during styling and are explicitly marked for removal or extraction before the feature is finalized.Verification
Previously exercised against the companion release sidecar with:
After rebasing onto current
v2:bun.lockorigin/v2is an ancestorgit diff --check origin/v2...HEAD