Commit Graph

176 Commits

Author SHA1 Message Date
alan 4503febb07 App icon: the Pipelines tab glyph in white
Replaces the coloured graph with the Pipelines tab's own glyph (Material
account_tree, outlined, taken from the MaterialIcons font) in white on the
dark background, across Android, iOS and web.
2026-11-01 20:03:26 +00:00
alan d300fdc5a5 New app icon: a pipeline graph instead of the P
One stage forks into two parallel stages that rejoin in a finished ring, in
the app's palette on the dark background. Updates the Android adaptive,
themed and legacy launcher icons, the status-bar icon, the iOS icon set and
the web favicon and PWA icons, and adds the generator under tool/app_icon.
2026-11-01 18:02:34 +00:00
alan 826e420423 Deliver server notifications from the Android app itself
A native foreground service keeps an authenticated websocket to the
connected server (handed over by the app on every connect), subscribes with
a replay cursor, shows each notification with kind-based channels and
grouping, opens pipelines:// links on tap, and clears taps, dismissals and
cross-device clears. It starts at boot and app launch, backs off and follows
network changes. Settings gains the delivery switch, status, notification
and battery-exemption actions, and the server's optional ntfy_enabled
toggle.
2026-11-01 02:21:22 +00:00
alan b80c267dd7 Merge: runs multi-select, delete and size sort 2026-10-31 22:20:06 +00:00
alan 266916f92a Runs: multi-select delete, run sizes and Largest-first sort
- Select mode (bar Select or long-press): per-row checkboxes, per-day
  Select all/Deselect all over finished runs only, "N selected" with the
  selection size, Delete and Done. Active runs get a disabled checkbox
  whose semantics give the reason.
- Native destructive confirmation, then delete_runs {run_ids} (batched by
  1000); the nested runs_deleted reply removes deleted rows and reports
  "Deleted N runs, freed X" plus refusals verbatim. runs_removed pushes
  remove rows and close an open detail; a deleted open run closes too.
  Delete run in the row and detail menus.
- size_bytes shown compactly in rows (0/absent = unknown, nothing shown),
  updated from run_event frames that carry it; Largest first sort (flat,
  unknowns last); the sort choice persists.
- Shared AppListRow gains selectionControl and onLongPress.
- Browser probe tool/runs_delete_probe.mjs; fixture server implements
  delete_runs/runs_removed.
2026-10-31 22:19:36 +00:00
alan 7504fa5f94 Merge: restore composer focus when the window returns 2026-10-31 22:16:43 +00:00
alan 7ec92e1de5 Return focus to the chat composer when the desktop window comes back
On web the engine closes the text connection on the editing element's blur,
which the browser fires just before the window blur, so the field is already
unfocused when lifecycle inactive arrives and FocusManager's own suspend and
resume restores only the route scope. Remember whether the composer held (or
had just lost) focus when the window left, and refocus it on resume, keeping
the caret and selection, unless another control took focus or a dialog,
sheet or route covers the chat. Desktop hosts only, so phones never get an
unasked on-screen keyboard.
2026-10-31 22:16:21 +00:00
alan 0ceafcb6d7 Search results and pill span the pane; lock stage page to the full detail pane
Remove the 840 px Search reading cap (results column and bar pill) so both
fill the pane at Fold and wide widths. Add a width test for the stage page
at 880 and 1400 and deep-link/query flags to the search probe entry.
2026-10-31 22:01:28 +00:00
alan 4bc99f490b WIP: message delivery status and refresh safety; fix reconcile listener recursion
The transcript listener read the lazily built _controller while _attach was
still building it (load() notifies synchronously), so it built another
controller, recursively, until the test process ran out of memory.
2026-10-31 19:54:48 +00:00
alan 9de87d5a2b Separate chunked reply paragraphs with an empty-line gap
Consecutive text parts of an agent turn (including folded messages) and
markdown blocks within a part are now separated by ~0.9x the scaled body
font size; a heading stays 8px from what it introduces. Adds a ?paras=1
chunked reply to the composer probe and gap tests at 1x/2x.
2026-10-31 17:05:10 +00:00
alan 3c56db37fd Share one list row across runs, pipelines, chat, search and schedules
AppListRow (Material + Cupertino) with avatar, bold title and trailing
time, one muted line, one overflow menu style, inset dividers, selected
and emphasised states and a compact mode. Pipelines get a legible initial
avatar, schedule rows shrink to two lines with Edit/Pause/Delete in an
overflow menu, and the shell chat list scrolls behind the bar.
2026-10-31 04:15:01 +00:00
alan 92095f8a4e chore(app): chat probes take platform/theme/tasks queries; note chat chrome fixes 2026-10-31 03:14:35 +00:00
alan c9d5951678 Merge branch 'main' into run/lists-polish-r3 2026-10-31 02:11:27 +00:00
alan 6a7dfae2a1 polish compact pipeline and run lists 2026-10-31 02:11:24 +00:00
alan 963adec122 Float glass tab bars everywhere the app has bottom tabs
One floating frosted tab bar (host NavigationBar / CupertinoTabBar in the
shared GlassPill) replaces the NavigationRail, the Cupertino sidebar and the
run detail, stage page and pipeline detail tab strips. Below 600px it spans
the width minus 16px margins; wider it is sized to its tabs at the right edge.
Content keeps the full width, scrolls behind the bar and learns its height as
bottom media padding; lists pad their end clear of it and FABs sit above it.

The bar now sizes itself from its own constraints instead of the screen size,
which fixes the widget_test failure where a MediaQuery without a size gave it
negative width constraints.
2026-10-31 01:50:42 +00:00
alan 3501b31172 Merge branch 'worktree-agent-a5d62c9e29fb46c27' into integrate/bars-artifacts 2026-10-31 00:29:54 +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 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 7027da4248 Keep chat activity stable in one live disclosure and distinguish unread attention 2026-10-28 16:45:05 +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 121ace1cee Complete prompt presets, body-priority panes and clearer chat and stage layouts 2026-10-25 23:11:06 +00:00
alan a485ccecb1 Move live background tasks into a composer badge and modal 2026-10-25 21:53:19 +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 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 25437b3181 fix(settings): preserve server editor drafts until save succeeds 2026-10-24 10:52:01 +01:00
alan b499da304d feat(app): configure and safely switch multi-address servers 2026-10-24 03:04:53 +01:00
alan 20337f5f6f test(app): verify deployed chat and stage debugging on both hosts 2026-10-24 02:13:23 +01:00
alan d915f69226 test(app): verify streaming chat and stage debugging in the browser 2026-10-24 02:08:26 +01:00
alan 7f88f14a52 fix(app): restore standard Android back navigation 2026-10-24 01:44:50 +01:00
alan e46c762394 chore: dev tools and fixtures carry no machine-specific defaults 2026-10-23 23:35:57 +01:00
alan 4859905ddc fix(app): the preview serves the APK with its Android type 2026-10-23 22:25:13 +01:00
alan 8ee7e18e77 fix(app): the preview serves favicon.ico as an icon 2026-10-23 22:16:39 +01:00
alan a5f7cdf302 feat(web): icons and the web manifest are public for browsers and app installers 2026-10-23 21:51:49 +01:00
alan 7958d1830e feat(install): build the Flutter web app in Docker, optional ./install --apk, chosen web password, startup report 2026-10-23 21:45:14 +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 87529cd6f6 chore(app): the phone build defaults to the Tailscale web proxy 2026-10-23 20:00:30 +01:00