Commit Graph

1547 Commits

Author SHA1 Message Date
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 680471c77a Merge branch 'worktree-agent-a3f3a70130986ac5d' into integrate/chat-ntfy-attachments 2026-10-30 21:05:32 +00:00
alan dab6e8a2a7 Merge branch 'chat/session-row-redesign' 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 40ba2ac117 Open ntfy notifications in the app and notify chats that need the operator
Run notifications now always click through to pipelines://run/<id>; a valid
PIPELINES_WEB_PUBLIC_URL adds an "Open in browser" ntfy view action instead
of replacing the click. Queued rows derive links from the run id at delivery,
so legacy rows holding a web URL still open the app.

Unresolved chat questions/forms and permission requests publish one async,
bounded notification to the system destination (pipelines://chat/<id> plus the
browser action), deduplicated per form/request id across reconnects and
replays. stage.PublishNtfy gains optional, strictly validated view actions.
Server tests now clear the operator's real ntfy environment.
2026-10-30 20:40:06 +00:00
alan 0aa0f9edc9 feat(app): open chats from pipelines://chat/<id> notification links
The app routes pipelines://chat/<id> to that chat, alongside the
existing pipelines://run/<id>, and Android registers the chat host so a
tapped ntfy notification opens the app on it.
2026-10-30 20:35:06 +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 962b358af0 feat(chat): attach files on Android and iOS with the native picker 2026-10-29 20:11:13 +00:00
alan 0c5816bb08 fix(chat): keep the file input in the layout so the picker opens 2026-10-29 19:58:51 +00:00
alan a828c44ce9 fix(chat): place the activity chevron beside its text and space it from the bubble 2026-10-28 22:14:54 +00:00
alan 8dbf4bc4a7 Record verified stable activity and attention APK publication 2026-10-28 16:46:32 +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 e0317574de Merge commit '985cc355' 2026-10-28 16:33:22 +00:00
alan 985cc35516 Fix chat session unread attention state 2026-10-28 16:32:33 +00:00
alan 48fdeaff97 fix(app): cap the list width on very wide monitors 2026-10-26 18:51:44 +00:00
alan 56f18acf78 fix(app): close the artifact viewer with Escape 2026-10-26 18:41:44 +00:00
alan 41a3be8715 Keep web Material styling and preserve visible installer access URLs 2026-10-26 18:37:13 +00:00
alan 48c29fd1ff Record verified harness title icons APK publication 2026-10-26 02:24:12 +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 6111a6da7d Record verified compact chat rows APK publication 2026-10-26 00:07:40 +00:00
alan f201b834d4 Place chat recency and actions beside row metadata 2026-10-26 00:02:50 +00:00
alan 5b3268b49d Record verified website and APK UI follow-up publication 2026-10-25 23:48:10 +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 96178570e5 Record verified shared-pane and Enter keyboard release 2026-10-25 21:15:47 +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 35d5924ec6 Record verified web and APK chat feedback release 2026-10-25 19:43:29 +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 7fe106b426 Allow authorized device testing and record Pixel Back verification 2026-10-25 17:04:19 +00:00
alan 2cbdb4de14 docs(app): record chat modes deployment and APK 29882413 2026-10-25 16:22:34 +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 ef575898f2 docs(app): record APK 29880932 publication 2026-10-24 16:40:57 +01:00