Commit Graph

85 Commits

Author SHA1 Message Date
alan f6c90e96db feat(app): dark mode uses a near-black gray with lighter layers instead of pure black 2026-10-23 23:12:57 +01:00
alan 7cbfbbbb61 feat(app): on a phone an open pipeline, run or chat is its own page over the tabs 2026-10-23 22:58:49 +01:00
alan c200ecdaa1 feat(app): an open chat takes over the app bar instead of adding its own 2026-10-23 22:36:42 +01:00
alan b44cecf35c feat(app): section titles read as dividers; one Rendered/Raw switch per definition; schedule rows with labelled facts and a status pill 2026-10-23 22:09:46 +01:00
alan e507f554c3 feat(chat): files upload over HTTP before the prompt, up to 100 MiB each 2026-10-23 21:25:41 +01:00
alan d373f4c48e feat(app): Runs and Chat tabs badge running runs and unread chats; unread chat rows carry a New badge 2026-10-23 20:15:01 +01:00
alan 24e465e521 feat(app): a pasted or picked image shows a thumbnail in the chat composer 2026-10-23 19:00:39 +01:00
alan 35e343fe40 feat(app): a chat names its model (recorded, last reply's, or the agent default) and each reply shows the model that answered 2026-10-23 18:57:36 +01:00
alan 04c6e82a4d feat(app): chat list drops search, New chat and Refresh are bar actions, and rows show agent, model and ~ paths 2026-10-23 18:54:46 +01:00
alan b0d23185e7 WIP chat list actions 2026-10-23 18:51:57 +01:00
alan f2aa559d0e feat(app): chat reasoning is a chip beside the tool chip, opening its own sheet 2026-10-23 16:22:31 +01:00
alan 522729ad57 feat(app): chat turns show reasoning above the answer and tool calls as one chip with a formatted call sheet, as the web 2026-10-23 15:52:51 +01:00
alan c46a46ee14 fix(app): chat turns are content-sized bubbles without role labels, as the web 2026-10-23 15:43:07 +01:00
alan ef078db80b feat(app): chat composer sends with an icon; no filler running line 2026-10-23 15:39:32 +01:00
alan 37c155e6e9 fix(app): a sent message keeps its place in the transcript, so each reply follows it 2026-10-23 15:34:46 +01:00
alan 97d09436c8 feat(app): artifact viewer previews the text family (logs, JSON, code, config) in bundled monospace 2026-10-23 14:54:00 +01:00
alan 45b3e65f2f fix(app): an empty Cupertino composer is as tall as its wrapped placeholder 2026-10-23 13:46:08 +01:00
alan 52b37c88d8 fix(app): Cupertino approval and question cards line up with the transcript 2026-10-23 13:42:45 +01:00
alan d4df1f787c feat(app): chat list toolbar keeps New chat beside search, as the web 2026-10-23 13:10:14 +01:00
alan c5119146f2 fix(app): chat rows put the state word on the title line and recency in the meta, as on the web 2026-10-23 12:40:37 +01:00
alan afd1943b73 fix(app): chat conversation bar leads, outside the transcript scroller 2026-10-23 12:36:26 +01:00
alan 6bf0a700d5 wip(app): design-chat-thread (retained from the blocked run) 2026-10-23 01:40:57 +01:00
alan b7a5aa43db fix(app): clarify shared session rename wording 2026-10-23 00:31:49 +01:00
alan fd496a7b20 fix(app): mark deep-linked chat sessions read 2026-10-22 23:59:13 +01:00
alan 2bd2de5f67 feat(app): show attachments in optimistic chat turns 2026-10-22 23:15:24 +01:00
alan 3085de9f30 feat(app): chat row refusals can be dismissed with OK 2026-10-22 22:37:27 +01:00
alan 865616608c feat(app): chat create dialog matches the web create flow 2026-10-22 22:34:46 +01:00
alan a3b40faa10 feat(app): /stop reports the web's accepted line 2026-10-22 22:31:31 +01:00
alan ab230e2192 merge(app): bring main into chat-cmd-session; /new /close /rename tests 2026-10-22 22:29:33 +01:00
alan 2dadd05708 fix(app): live New marks clear the active chat on leave; lint and regression tests 2026-10-22 22:26:24 +01:00
alan 0e9d757a92 Merge branch 'main' into flutter/chat-live-new 2026-10-22 22:24:08 +01:00
alan 852d336258 Merge branch 'main' into flutter/chat-cmd-stop 2026-10-22 22:22:44 +01:00
alan d0d2ced3ca wip(app): chat-cmd-session (retained from the failed lane tree) 2026-10-22 22:20:50 +01:00
alan 57b0765628 wip(app): chat-paste-2 (retained from the cancelled overrun lane) 2026-10-22 21:59:06 +01:00
alan 65b175b8e5 wip(app): chat /stop and /help commands (retained from the cancelled lane) 2026-10-22 21:16:13 +01:00
alan faa5cc003b wip(app): live New marks from pushed chat frames (run 151, tests and lint pending) 2026-10-22 18:36:47 +01:00
alan 0acd7346bb feat(chat): add Claude Code chat backend 2026-10-22 18:20:10 +01:00
alan 88e9209434 merge(app): land chat-tasks 2026-10-22 17:56:21 +01:00
alan a26bfe2b0c fix(app): bound the background-task output pane and row labels
Review 139 found the selected task's output page unbounded, overflowing a
phone-height conversation. The bar now keeps half the viewport and scrolls
its own body, the output pane is capped at twelve scaled lines, row labels
elide instead of overflowing, and a reply without a page reads as
unavailable rather than empty.
2026-10-22 17:56:00 +01:00
alan e4c196d75b feat(app): follow streamed chat and restore its read position
Transcripts pin to the newest end while following, release on the operator's upward scroll, and offer a native Jump to latest control carrying the count of messages that arrived meanwhile. The chat destination keeps each conversation's saved position so reopening restores it.
2026-10-22 17:15:51 +01:00
alan 2cb4a0c555 feat(app): show a session's running background tasks
The conversation reads the session's recorded chat_shells snapshot and folds
pushed shell frames, so only tasks the server still reports as running appear.
The list is capped at three visible rows and scrolls beyond, and a task that
exits leaves it.

Selecting a task opens its recorded command, identity and running status plus
one bounded chat_shell_output page (cursor 0, 64 KiB). Empty, unavailable and
refused reads are reported with native Retry/Refresh controls, and a refused
snapshot is shown with its reason instead of claiming there are no tasks.
Both reads carry the session id, linking every task to its conversation.
2026-10-22 17:14:56 +01:00
alan 63babc597a feat(app): offer the chat slash command palette
A leading slash opens the recorded command palette above the composer,
filtered by name prefix and driven by Up/Down, Enter, tap and Escape.

Slash drafts never reach the prompt path: a recorded command reports
locally that its action is not implemented yet, and an unknown word takes
the web client's no-send report with an explicit Send as message offer.
Enter and the primary control share that route.

Adds the chat commands domain vocabulary, the palette widget, composer
wiring and regression tests; notes/C9-commands.md records behaviour and
the remaining command-action gap.
2026-10-22 15:47:46 +01:00
alan d1ffa7c79b feat(app): compact chat session rows and thread header
Follow the web chat layout on both hosts without changing request shapes or
bubble/composer behaviour.

- Session rows (Material and Cupertino): title with trailing relative
  recency, muted `directory · model` line with the `New`/`Closed` word at
  the trailing edge. Shared row content keeps one arrangement; native tiles
  keep their own padding, separators and subtitle size. The state word keeps
  its intrinsic width and the metadata ellipsises first, so it is never
  clipped at 320px/2x.
- Thread header: one row of compact icon-only Back, ellipsised title,
  bounded model control and Chat information. Back keeps the destination as
  its accessible name and both hosts share `Key('chat-back')`.
- Share the epoch-millis parser as `chatSessionMillis`, and match the web's
  relative-time words, including `Sept`.
- Cover the row content, status word at narrow widths, header layout and
  Back accessibility in widget tests; update existing tests for the
  separate trailing status word.
2026-10-22 15:01:21 +01:00
alan dc0a52380b merge(app): land chat-model-picker micro-slice 2026-10-22 12:30:43 +01:00
alan a45574df6b merge(app): land chat-attach-send-ui micro-slice 2026-10-22 12:30:43 +01:00
alan 98c02c0c09 Merge branch 'main' into flutter/chat-model-picker 2026-10-22 12:28:15 +01:00
alan 2a66be7b27 feat(app): choose a chat model from the conversation header
Native model control and chooser in the chat thread header, matching the web
chat_models/chat_model exchange. Fixes the chat_models list parsing, keeps the
accepted server echo across Back/reopen, and resolves the session row for
/chat/:id deep links.
2026-10-22 12:28:13 +01:00
alan bc98b6cab8 fix(app): wide Cupertino sidebar, compact run tabs, web-like chat bubbles 2026-10-22 12:25:12 +01:00
alan c0eac5fc8b fix(app): keep chat attachment send analysis clean
Remove the redundant dart:typed_data import so integrated analysis is
clean, restore immediate composer focus on send, and cover operation-id
reuse for refused attachment retries plus duplicate-name removal.
2026-10-22 12:14:26 +01:00
alan 87bb518c33 feat(app): send chat attachments with the composer prompt 2026-10-22 11:52:42 +01:00