Commit Graph

396 Commits

Author SHA1 Message Date
alan dc808b4d9a Merge branch 'main' into run/lists-polish-r1 2026-10-31 00:36:21 +00:00
alan 773653f270 polish runs and pipelines lists 2026-10-31 00:36:17 +00:00
alan 2b20233e44 Merge branch 'run/artifacts-collapsed' into integrate/bars-artifacts 2026-10-31 00:29:54 +00:00
alan 3501b31172 Merge branch 'worktree-agent-a5d62c9e29fb46c27' into integrate/bars-artifacts 2026-10-31 00:29:54 +00:00
alan 648701016f Merge branch 'main' into run/artifacts-collapsed 2026-10-31 00:22:14 +00:00
alan 35caf532b7 fix(app): collapse run artifact groups by default 2026-10-31 00:22:11 +00:00
alan 0582bfc34f feat(app): segmented glass top bar across the app
Extract the chat's segmented bar into lib/ui/adaptive (SegmentedBar,
GlassPill, SegmentedBarOverlay) and use it for the shell bar, DetailPane
and every page-level bar. Pieces are frosted glass over a fading scrim;
only pills take taps. Actions keep their natural width so the title gives
way before a model name. The chat transcript scrolls behind its header.
2026-10-31 00:21:27 +00:00
alan b00dff864c feat(chat): frame attachment thumbnails with a subtle hairline
Sent images and composer thumbnails share ChatAttachmentFrame: rounded
corners plus a faint outline in the host's outline role, so a dark
screenshot no longer melts into a dark page. Adds a web probe that
renders the streaming activity line at several text sizes.
2026-10-31 00:21:22 +00:00
alan 6dbfdc6e64 fix(chat): centre the pending dots on the activity text
The dots were period glyphs sitting on the baseline, so they read low
beside the label. They are now round dots sized from the surrounding
text, vertically centred with it and scaling with it.
2026-10-30 23:54:22 +00:00
alan 4a85a12cf7 feat(chat): segmented chat header with back, title and model pills
The open conversation draws its own bar of separate rounded pieces: the
platform Back in a circle, a title pill with the folder that opens the
chat information, and a pill with the model and mode controls. Detail
pages drop only their app bar for it, keeping the body mounted.
2026-10-30 23:43:00 +00:00
alan 498c6f17a6 Add server notification settings with app checkboxes
Persist three global ntfy switches in server_settings: run_finished
(default on: auto-mode runs notify on success, read inside the
transition transaction; on/off modes unchanged), chat_needs_you
(default on: gates chat question/approval alerts) and
chat_reply_finished (default off: one alert per finished assistant
turn). Expose notification_settings / set_notification_settings over
the websocket protocol, add a Phone notifications section with
Material and Cupertino checkboxes in Settings, document the settings,
and keep the cli, tui, stage and pipeline test packages from
inheriting a real ntfy configuration.
2026-10-30 21:36:27 +00:00
alan 39d9150c3a Merge branch 'worktree-agent-ae487572986d7a387' into integrate/chat-ntfy-attachments 2026-10-30 21:05:32 +00:00
alan 4c4dcbbd14 feat(chat): contact-list chat rows with avatar, time and unread emphasis
Rows lead with a circular harness avatar, put the time beside the title,
collapse metadata into one muted model · folder line and trail the
actions menu. Unread chats are bold with an accent time and dot, running
chats badge their avatar, and Star moves into the menu.
2026-10-30 21:05:24 +00:00
alan 8c421952db feat(chat): show sent images as thumbnails with a full-screen viewer
Operator-attached images render as rounded thumbnails above the user
bubble and open a zoomable Material/Cupertino viewer. Inline data: URIs
decode locally; file:// attachment-store URIs load through the new
chat_attachment_image websocket request, which serves only regular image
files directly inside the private attachment store (os.Root, <= 4 MiB,
sniffed raster types). Missing files show an 'Image no longer available'
placeholder; other files keep the file row.
2026-10-30 20:53:03 +00:00
alan 44b2cff347 fix(chat): Return breaks lines on phones and align the activity line
On Android and iOS the keyboard's Return now inserts a newline and the
Send button sends; desktop keeps Enter to send. The Material activity
line drops TextButton's inset so it starts at the answer's edge now that
replies have no bubble.
2026-10-30 20:07:27 +00:00
alan 027c2f800e feat(chat): ChatGPT-style transcript and composer
Agent replies sit on the page without a bubble and get a copy control;
the operator's turn is a neutral rounded bubble; the composer is one
filled pill with +, a borderless field and a round Send, and its
placeholder names the chat's folder. Also fixes two picker tests left
stale by the native picker.
2026-10-30 15:56:39 +00:00
alan 7027da4248 Keep chat activity stable in one live disclosure and distinguish unread attention 2026-10-28 16:45:05 +00:00
alan 985cc35516 Fix chat session unread attention state 2026-10-28 16:32:33 +00:00
alan 56f18acf78 fix(app): close the artifact viewer with Escape 2026-10-26 18:41:44 +00:00
alan 5df2a7e776 Show harness identity beside chat titles and keep only the actionable star 2026-10-26 02:19:57 +00:00
alan f201b834d4 Place chat recency and actions beside row metadata 2026-10-26 00:02:50 +00:00
alan 121ace1cee Complete prompt presets, body-priority panes and clearer chat and stage layouts 2026-10-25 23:11:06 +00:00
alan de1b62791f Merge commit 'bd256ad1' 2026-10-25 21:55:55 +00:00
alan 26840d82f6 Merge commit 'ca6a0516' 2026-10-25 21:55:38 +00:00
alan fff0ca71fd Merge commit '661dfc66' 2026-10-25 21:55:28 +00:00
alan a485ccecb1 Move live background tasks into a composer badge and modal 2026-10-25 21:53:19 +00:00
alan 661dfc6668 feat(app): add prompt presets to chat creation 2026-10-25 21:51:53 +00:00
alan bd256ad163 feat(app): structure chat session row information 2026-10-25 21:48:52 +00:00
alan ca6a05167b Improve recorded visit heading hierarchy 2026-10-25 21:48:38 +00:00
alan f1e2270ed2 feat(app): default new chat prompt to off 2026-10-25 21:42:02 +00:00
alan 9c9888c0b6 feat(app): render chat session row metadata on separate lines 2026-10-25 21:36:05 +00:00
alan 7e9ba9ac25 Unify flexible list-detail panes and highlight active pipelines and runs 2026-10-25 21:04:12 +00:00
alan 6501d3e12e Send chat messages with Enter and use Shift+Enter for newlines 2026-10-25 20:28:14 +00:00
alan 18d43cadc3 Show an animated assistant bubble before response tokens 2026-10-25 17:38:56 +00:00
alan a58d820d43 Highlight the active chat in session lists 2026-10-25 17:17:43 +00:00
alan f57c8023d5 Merge branch 'chat-reasoning-chip' 2026-10-24 18:30:20 +01:00
alan e772357231 Merge branch 'chat-transcript-cache' 2026-10-24 18:30:17 +01:00
alan 6d430948a6 feat(chat): per-chat permission modes for Claude, Codex and OpenCode 2026-10-24 18:16:10 +01:00
alan 0a19ef229f Show a reopened chat's last transcript while it refreshes
ChatScreen keeps a bounded in-memory cache of recently left transcripts
(16 chats / 4000 messages, LRU). A reopened chat is seeded from it with no
loading state, still re-subscribes and re-reads, and the newest page replaces
the cached copy while live frames received during the read are kept. /close
removes the entry; only transcripts backed by a successful read on the
current connection are written.

Adds tool/chat_reopen_probe.mjs and an optional history delay in the loopback
fixture. Measurement shows a second cost the cache does not remove: opening at
the end of the top-anchored transcript lays out every row (notes).
2026-10-24 18:14:27 +01:00
alan 5cb43b6dc8 Make chat reasoning a footer chip that opens a live sheet like tools 2026-10-24 18:13:03 +01:00
alan c6342ac6cc fix(app): remove every app-level system Back override 2026-10-24 16:32:02 +01:00
alan 2740bb0673 feat(chat): fold answered permissions into a turn chip like tool calls 2026-10-24 16:05:47 +01:00
alan c7852d27d1 feat(chat): keep the rail and chat list beside the open chat on wide windows 2026-10-24 14:32:39 +01:00
alan 7ad1afb09f feat(chat): rotate the Stop icon slowly while processing 2026-10-24 13:09:53 +01:00
alan f22afabd94 fix(chat): use stock Navigator Back at every screen width 2026-10-24 12:36:17 +01:00
alan b355679507 fix(chat): place per-message reasoning left of the tools count 2026-10-24 11:47:07 +01:00
alan ac75da12e4 test(app): benchmark populated chat Back and document UX review 2026-10-24 11:24:47 +01:00
alan 399d520c71 fix(chat): keep a pushed phone conversation marked as read 2026-10-24 11:13:48 +01:00
alan 6d623197f9 perf(chat): isolate usage updates from transcript rendering 2026-10-24 11:13:22 +01:00
alan da44001ab2 perf(chat): reuse unchanged markdown render trees 2026-10-24 11:12:47 +01:00