You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Session Chat: shells in the background work pill #907
Show the Shells section on both protocols. Stop appears only where the server supports it.
One product type behind the domain adapters (Background Shell: id, command, running or exited, output, can stop). Feature code and Screen Models do not branch on protocol.
v1: built from running bash tool calls (message.part.updated), with output from state.metadata.output. No per-shell Stop; aborting the session still works as today.
v2:GET /api/shell plus shell.created, shell.exited and shell.deleted events. Output comes from polling GET /api/shell/:id/output, only while the output sheet is open and the app is in the foreground. Stop calls DELETE /api/shell/:id.
Where Stop is not supported, it is hidden, not disabled.
Accepted difference: v1 shells only exist while the agent's turn runs, so the section is short-lived there. v2 background shells can outlive the turn.
Activity
ivanfenenko commentedon Nov 1, 2026
Decision: v1 behaviour
Show the Shells section on both protocols. Stop appears only where the server supports it.
message.part.updated), with output fromstate.metadata.output. No per-shell Stop; aborting the session still works as today.GET /api/shellplusshell.created,shell.exitedandshell.deletedevents. Output comes from pollingGET /api/shell/:id/output, only while the output sheet is open and the app is in the foreground. Stop callsDELETE /api/shell/:id.#907 Session Chat: shells in the background work pill (#927)