Repository navigation
Closed
Labels
Description
Parent: #2210. Run it after the foundation and #2201 work. MCP is tracked separately in #1851.
Outcome
Chat uses the prototype's UI (stack/03-chat-core and stack/04-chat-ext, prototypes #43 and #44) on top of Studio's chat logic. This is a three-way merge, not a replacement.
Keep from Studio (do not regress)
- The
chat-workspace.tsxorchestration,run-stream.ts, anduse-chat-messages.ts. verdict-ledger.ts: one phase per ask, and an "uncertain" verdict blocks retry.- Exact plan-ask control (
plan-asks/{askId}, gated onexact_plan_ask_control) andplan-continuation.ts. chat-escape.tssemantics, andchat-seed.tssanitization.- The session-inspection logic: worktree selector rejection and inspect-only classification.
- The integration suites, especially
chat-workspace.integration.test.tsx,approval-interactions.test.tsx, anddelegation-workspace.test.tsx. They are the regression gate.
Port from the prototype
- Approvals:
approval-panel,approval-detail-panel,approval-verdict-bar, driven by the verdict ledger;args-diff,ask-args-view;- keyboard shortcuts from
use-approval-shortcuts.ts(y/a/w/n/d, arrows, Esc, typing-aware). - Re-skin the plan card only.
- Composer:
- the model picker, effort picker, and permission-mode badge pills;
queued-message-strip,clear-draft-button;- text-file attachment inlining (
lib/attachment-inline.ts) and the persisted draft store. - Keep Studio's Enter, queue, and steer semantics.
- Transcript:
chat-view,message-bubble,tool-call-list/tool-call-panel,tool-diff,code-block;- transcript actions, text-selection toolbar, delivery-note card;
- steer-trace line;
- minimap alignment.
- Delegation:
delegation-card,delegation-panel, andfleet-status-chipvisuals, wired to Studio's fleet types. - Session surfaces:
- the prototype's details, soul, transcript, worktree picker, and debug dialogs, wrapping Studio's
session-inspectionlogic; - session copy and row-action menus;
- side-thread panel, file preview, and the canvas side panel;
- the inspect-only session list.
- the prototype's details, soul, transcript, worktree picker, and debug dialogs, wrapping Studio's
Not ported
- The prototype's
/sessions/{id}/planroute. - The Labs mock tour and mock Projects (Studio Labs: local demo chat and mock Projects tour #1856, out of scope for now).
Open decision
Steer outcome: adopt the prototype's 200 response with steerRunResponseSchema, or keep the outcome derived from the stream.
Acceptance
- Each step lands as its own PR, with before/after desktop and mobile screenshots.
- The chat integration suites and the browser journeys stay green.
Activity
chore: screenshots for the Studio chat approvals PR (#2207)
chore: screenshots for the Studio chat composer PR (#2207)
chore: screenshots for the Studio chat transcript PR (#2207)
chore: screenshots for the Studio chat session surfaces PR (#2207)
test(studio): pin approval keyboard and verdict phases
feat(studio): port the prototype's approval card, detail panel, and s…
feat(studio): re-skin the plan review card to the prototype
feat(studio): re-skin the authorization card to the prototype
fix(studio): keep the approval card's header inside a phone card
fix(studio): format ask args only when the engine reads them the same…
fix(studio): answer approval keys only from the focused card or panel
280 remaining items
feat(studio): fit the transcript port to Studio's header and to phones
docs(studio): describe the transcript's tool activity, delegation car…
fix(studio): wrap the steer trace's lines on a phone
fix(studio): wrap a delegation chip's line on a phone
fix(studio): render an unlabelled code fence on the dark code panel
fix(studio): give the minimap's dashes a touch-size tap target
fix(studio): follow a running call's result in the open tool panel
fix(studio): make a message row's actions finger-size on touch
fix(studio): count a child with an unknown outcome apart from done ones
fix(studio): keep a row's author line height with touch-size actions
fix(studio): keep ordered-list numbers and task lists in chat markdown
test(studio): pin session dialogs, row actions, side panels, and copies
feat(studio): port the prototype's session dialogs, menus, and side p…
fix(studio): keep submenus on screen on a phone and panel titles in a…
docs(studio): describe the session dialogs, chat and row menus, and s…