Talk as a builder (#11009)

/talk gives the live preview of the repository the chat is working on its own column on a wide screen (from 80rem), with Code and Diff beside it, only while there is something to show: an app the conversation builds, or something running. With nothing running there is no pane at all (#15734); below 80rem it is the Preview tab of a Chat / Preview switch. Preview, Code, Diff and, on a phone, Chat / Preview are plain links (?pane=) drawn by the server, so all of it works with the script off; with the script a tab swaps the pane in place, so a streaming reply and the composer's words are kept.

The terminal has the same: the Talk screen (src/tui/screens/talk_chats.ts) draws the same steps, names the repository in its header, and p flips to the pane's contents: the repository and its pull, the address of what runs (Preview), the pull's files page (Diff) and the files the chat touched (Code). Both read src/actions/talk_workspace.ts. A terminal cannot draw a web page, so it prints the preview's address instead of framing it.

Not yet: sidebar grouping by repository (a chat has no repo of its own), added/removed counts on edits (stored calls are cut short; only added lines are known), per-turn versions to go back to.

Watching it appear (#15734)

Beside a conversation that builds an app, the side pane is the app: its head (name, the preview's state, Publish as the one primary action, Open once published), the versions as chips (v1 to vN; a chip shows that version's files and Restore), then the bar (Preview, Code, Diff; the address of what runs; Reload; Open on its own) over the live frame. On a phone and a tablet the Chat / Preview switch sits in the conversation's head, and both stay alive: switching keeps the reply being written and the words in the box.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs