diff --git a/docs/chat-console/chat-console.md b/docs/chat-console/chat-console.md index 29e2f4a..cd336a5 100644 --- a/docs/chat-console/chat-console.md +++ b/docs/chat-console/chat-console.md @@ -93,7 +93,14 @@ appears the way you left it straight away, instead of starting as the strip and jumping open a moment later. Your saved preference still has the last word: if you folded the rail on another device, it folds here too as soon as the preference loads. -On a tablet, the rail button in the chat's header expands or folds the rail. +On a tablet, the rail button in the chat's header expands or folds the rail. Its name +changes to say which it will do next ("Expand chat rail" or "Collapse chat rail"), and +screen readers are told whether the rail is open. + +When you expand or fold the rail from the keyboard, focus stays in the rail. The button you +pressed is replaced, so focus moves to the one that took its place: the tab you asked for, +the collapse button, or the strip's expand button. Opening a file from Files puts focus on +the Preview tab, and closing the preview puts it back on the rail. ### On a phone @@ -121,6 +128,13 @@ The most recently changed file is at the top. Edits made while a reply is still appear as they happen. An edit that failed or was refused is not listed, and neither is a write that left the file exactly as it was. Edits made inside a sub-agent are not listed. +A file the agent **created** is always listed and marked **new**, with every line it wrote +counted as added — even an empty file, which is still a change. Its card in the thread +shows what was written, as added lines, instead of saying nothing changed. A very large +new file shows only its beginning on the card, with a note that the rest was cut. In chats +from before this was fixed, a created file is still listed as new, but without a line +count, and its card asks you to open the file to see it. + ### Where everything else went The rail used to have four tabs and a stats strip. Issue #14 removed what was empty most of @@ -130,7 +144,7 @@ the time or repeated what is shown elsewhere: | --- | --- | | **Research** tab (research runs started from this chat) | The research run's own page. Its Back button and breadcrumb lead to the chat it came from. | | **Activity** tab (tool calls in this turn and earlier ones) | The run's own page, `/runs/`, which has every tool call and event. Open it from **Run → Timeline** in a reply's stats popover, or by clicking the **running** chip at the top of the chat while a turn runs. | -| Stats strip: context and cost | The chat's header on every screen size: the context ring (hover for the breakdown and a Compact button) and the metered cost, when there is any. | +| Stats strip: context and cost | The top of the chat on every screen size: the context ring (hover for the breakdown and a Compact button) and the metered cost, when there is any. On a desktop both sit in the bar above the thread. On a tablet or phone the ring is in the chat's header, and the cost is beside it on a tablet and in the row of chips under the header on a phone. | | Stats strip: tokens and latency | Per reply, in the reply's stats popover. | | Files placeholder ("main · clean", Switch, Pull) | The real Files tab above. | diff --git a/docs/research/research.md b/docs/research/research.md index 211c0a6..be0e7ed 100644 --- a/docs/research/research.md +++ b/docs/research/research.md @@ -84,9 +84,8 @@ The Research agent isn't only an initiator. Once a report or earlier findings ar 1. `/research/{id}` shows the run's status, sub-questions, sources and live trace. It refreshes every few seconds while the run is going and stops once it has ended. 2. The page has a **Cancel** button. Cancelling marks the run canceled and cancels its background job. The run stops at its next safe point and stays canceled. -3. In a chat linked to runs (for example the automation's conversation), the right-hand console's **Research** tab lists the chat's five most recent runs with their status and progress. -4. `/research` lists recent runs alongside generated images. -5. When a run fails, its error shows on its page and its job shows as failed in the review inbox. No notification is sent. +3. `/research` lists recent runs alongside generated images. +4. When a run fails, its error shows on its page and its job shows as failed in the review inbox. No notification is sent. ## Roles and permissions diff --git a/docs/structure/claude-desktop-parity.md b/docs/structure/claude-desktop-parity.md index 3658b0b..38875be 100644 --- a/docs/structure/claude-desktop-parity.md +++ b/docs/structure/claude-desktop-parity.md @@ -84,7 +84,7 @@ This is the Cowork comparison, and it is the one I got wrong in the first draft: | Connectors (Slack, M365, Salesforce…) | **absent** | — | write-capable connectors, Claude Tag for Slack | | Computer use | **far behind** | `browser_screenshot` only | screen access, click, navigate (research preview) | | Artifacts / side-panel documents | **n/a** | removed in #13 — files on disk and git instead | versioned, publishable, in-place draft editing | -| Preview a file or a website in a side panel | **even** (#29, #14) | right rail, folded to a strip until something is opened (remembered per user): Preview tab renders markdown, highlighted code, images, PDFs, directory listing, sandboxed URL iframe, selection persists per conversation; Files tab lists every file the agent changed in the chat with +/- counts and opens it in Preview. Run activity is on `/runs/`, linked from each reply | artifact + document preview | +| Preview a file or a website in a side panel | **even** (#29, #14) | right rail, folded to a strip until something is opened (remembered per user): Preview tab renders markdown, highlighted code, images, PDFs, directory listing, sandboxed URL iframe, selection persists per conversation; Files tab lists every file the agent created or edited in the chat, with +/- counts and a "new" badge for created files, and opens it in Preview. Run activity is on `/runs/`, linked from each reply | artifact + document preview | | Inline charts and visualizations | **absent** | markdown only | interactive charts, diagrams, Claude Design | | Conversation rename | **even** (#18) | Rename in each sidebar row's menu. Until #18 `updateConversationMeta` existed with no UI calling it, so this row's earlier "even" was wrong | same | | Pin / archive / folders | **behind** (#18) | pin to a Pinned group on top; archive (the default way to tidy, one click on the row) hides a chat and keeps everything, with an Archived view to restore it; replying in an archived chat brings it back; delete is last in the menu, behind a confirmation. No folders | full | diff --git a/src/lib/chat-console/ChatConsoleRail.svelte b/src/lib/chat-console/ChatConsoleRail.svelte index f79dd1c..1e99a41 100644 --- a/src/lib/chat-console/ChatConsoleRail.svelte +++ b/src/lib/chat-console/ChatConsoleRail.svelte @@ -1,5 +1,5 @@ {#if collapsed}