GPUI needs a Codewhale-owned interactive terminal, not a second PTY in the desktop. Opened from Hmbown/codewhale-apps#565 so the native pane (Hmbown/codewhale-apps#566) is not blocked on a comment.
Do not start this if a live issue already covers the HTTP terminal session. Reconcile crates/tui/src/runtime_api.rs and crates/tui/src/tools/terminal_session.rs against today's tip first.
Serve
- Stable session id that survives the client window closing; reconnect is the same process or a truthful loss (never a silent new shell).
- Authenticated raw byte read with a bounded cursor (replay/window). Shell-tool text is not this.
- Authenticated input with user vs agent attribution; sandbox/permissions stay enforced.
- Resize (cols/rows) with a receipt.
- Readiness: will accept input vs blocked.
- Exit status + cleanup receipt; no orphaned store lock.
- Native Windows ConPTY (Unix-only portable-pty is not acceptance).
Reply with
Claimed files and routes, what exists vs what you will add, ConPTY status, and the smallest fixture that proves bytes + input + resize + exit.
GPUI will show “Not available from this Codewhale” plus the real route name until those routes exist. No second shell owner in the desktop.
GPUI needs a Codewhale-owned interactive terminal, not a second PTY in the desktop. Opened from Hmbown/codewhale-apps#565 so the native pane (Hmbown/codewhale-apps#566) is not blocked on a comment.
Do not start this if a live issue already covers the HTTP terminal session. Reconcile
crates/tui/src/runtime_api.rsandcrates/tui/src/tools/terminal_session.rsagainst today's tip first.Serve
Reply with
Claimed files and routes, what exists vs what you will add, ConPTY status, and the smallest fixture that proves bytes + input + resize + exit.
GPUI will show “Not available from this Codewhale” plus the real route name until those routes exist. No second shell owner in the desktop.