Commit Graph

279 Commits

Author SHA1 Message Date
alan 31f495fc18 Add adaptive popup helpers: anchored choice menus and details dialogs
Phase 2b.1 of docs/plans/floating-windows.md. showAppChoiceMenu is a menu
panel anchored to its button on a wide app and a bottom sheet on a phone;
showAppDetails is a dialog or a bottom sheet. Both are on the root
navigator, and the app's width decides, so content in a narrow floating
window still gets desktop popups. The probe window exercises both.
2026-11-10 21:53:35 +00:00
alan a99f7014f5 Add the shell window host with layering acceptance tests
Phase 1.3 and 1.4 of docs/plans/floating-windows.md. Windows are plain
children of the terminal stage's stack in the shell page, outside every
destination, so popups opened from one are above all of them. Each window
has its own page navigator: pushed pages open inside the window, and popup
routes go to the root navigator. One WindowFrame chrome (move, resize,
minimise, maximise, close), a focus scope per window, a ScaffoldMessenger
per window.

No feature uses it yet. The capture fixture opens probe windows with
?windows=N, and window_layering_test.dart covers every popup type from a
window over Chat and over another destination.
2026-11-10 20:48:31 +00:00
alan e0e8ca68f3 Make the app Material-only in the rules
The app builds one Material UI for every platform. Cupertino code, tests and
captures are being removed, so the agreement, the capture recipe and the
floating-windows plan no longer ask for them.
2026-11-10 20:10:02 +00:00
alan ec70bee12e Merge branch 'worktree-agent-ae4ea8a7cf042aa35' 2026-11-09 23:59:28 +00:00
alan 9e74810957 Swallow held toggle chords, film key presses in the capture kit, and record terminal shortcut verification 2026-11-09 23:56:55 +00:00
alan cf9f71f27c Show dismissed commands as an answer footer chip; move Copy to the left gutter
Dismissed shell runs leave the transcript and fold into a "N commands"
chip in the footer of the first answer at or after each run (the last
answer for newer runs, or a row of its own without any answer). The chip
opens the turn sheet (wide) or a full-screen page (narrow) listing the
commands; each opens its output read-only with Copy output, Send to agent
and Restore.

On a wide conversation the answer's Copy button moves out of the footer
into a 48 px gutter left of the reading column (chatCopyGutter), shown on
hover or focus on desktops and always on touch; narrow widths keep it in
the footer.
2026-11-09 23:47:14 +00:00
alan 9bbd9e0c9b Merge branch 'worktree-agent-a2791c24c562412e3'
# Conflicts:
#	app/lib/features/chat/conversation/chat_thread_view.dart
#	internal/protocol/message.go
2026-11-09 22:07:45 +00:00
alan 9cda79fa87 Terminal fixture for captures, protocol docs, panel icon 2026-11-09 22:03:52 +00:00
alan bac21efc5b Dismiss finished shell command cards with Undo
Finished command cards get a Dismiss button and the chat's More menu a
Dismiss all finished commands entry. Dismissal applies to every client of
the chat; a SnackBar (Material) or transient notice (Cupertino) offers Undo
for 5 s. Running commands cannot be dismissed until they end.
2026-11-09 21:40:20 +00:00
alan 8f06f12d49 Merge branch 'worktree-agent-a26df8b0059ab1b12' 2026-11-09 20:54:12 +00:00
alan 2332143e5b Fit chat terminals to their output, keep pastes and keys in the terminal
Finished terminals are sized synchronously from their rows at the view's
width (the post-frame fit made the transcript re-anchor forever); blank rows
xterm.dart keeps when rewrapping are dropped; desktop typing uses key events;
the composer leaves Cmd/Ctrl-V to a focused terminal; Ctrl-A reaches the
process. The probe fixture gains coloured terminal runs and an interactive
login. Notes record behaviour, protocol, security and verification.
2026-11-09 20:51:59 +00:00
alan 55ef6558e0 Hug the turn activity row's hover on desktop
On macOS, Linux, Windows and desktop browsers the "Thought · tool calls ·
background tasks" row is as wide as its label, so its hover and click area
no longer span the transcript. Phones keep the full-width touch row. The
check uses the device platform because web themes are pinned to Android.
The scroll fixture gains ?turnactivity=1 for captures.
2026-11-09 20:46:22 +00:00
alan 66e6a7cb73 Give the capture fixture chat thinking levels 2026-11-09 20:19:20 +00:00
alan 96b71d122e Merge branch 'worktree-agent-aae8756320b8309f6'
# Conflicts:
#	app/lib/features/chat/conversation/chat_thread_view.dart
#	app/tool/perf/perf_fixture.dart
#	internal/protocol/message.go
#	internal/server/chat_hub.go
2026-11-09 16:56:55 +00:00
alan 7841aa7dea Merge branch 'worktree-agent-a672970b929d7358c'
# Conflicts:
#	internal/pipeline/store.go
#	internal/server/chat_hub.go
2026-11-09 16:21:55 +00:00
alan 5c3248a48d Record chat shell commands with fixture captures and a note
Show Expand only when output can overflow and drop the final newline from
the drawn output. The full-app probe lists shell runs with ?shell=1 so the
cards, Shell mode and Run command dialog can be captured in Chrome.
2026-11-09 16:21:15 +00:00
alan 3ab029cd7b Render Pipelines-shown files, images, HTML views and phone notifications in the chat transcript 2026-11-09 16:17:34 +00:00
alan 3374bea2ef Show a chat turn's changed files as a chip that opens its diff
The answer footer shows '3 files changed +9 -2'; tapping opens the turn's
files in the sheet (wide) or a full-screen page (narrow), and a file opens
the run Changes diff viewer. Patches load through the chat's own gateway.
2026-11-09 16:08:35 +00:00
alan 079924d19a Recover from zero servers, sign each machine in on its own, offer every route
- Removing the primary machine hands pipelines/runs to the next saved machine
  on native hosts; removing the last machine returns to the connect screen
  instead of stranding the app on "Server endpoint not configured".
- Add server probes the new machine and asks for its own password in the same
  page; Settings rows show Connected / Sign in required / Unreachable with the
  reason and offer Sign in; no other machine's credential is ever reused.
- Unreachable addresses explain why: a TLS failure against an IP points at the
  Tailscale name, a non-Pipelines answer points at the port.
- Discovered machines list every advertised route (LAN, Tailscale IP, Tailscale
  name) as a checklist; chosen routes are saved as one machine.
- tool/connection_probe.dart replays the native login and websocket against
  real addresses for diagnosis.
2026-11-08 23:59:20 +00:00
alan e4904395f0 Connect saved machines concurrently in the chat workspace 2026-11-08 22:21:17 +00:00
alan 28b7eaeee4 Merge commit '394fd672' 2026-11-08 16:49:58 +00:00
alan 394fd672e6 Check all saved servers for compatible native app updates 2026-11-08 16:49:45 +00:00
alan f3ed97f109 Merge branch 'main' into work/machine-provenance 2026-11-08 16:46:23 +00:00
alan 4c57c50a0f Label machine provenance and choose server before chat harness 2026-11-08 16:46:23 +00:00
alan b7f439a94f Show session automation counts in chat composer 2026-11-08 16:40:53 +00:00
alan 1af69c1bca Qualify chat profiling evidence and controlled streaming workload 2026-11-08 00:11:39 +00:00
alan 11e25f6a5f Profile mobile chat text rendering 2026-11-08 00:11:39 +00:00
alan 7287ba35c9 Refresh runs from nested wire events and foreground resume 2026-11-07 23:46:02 +00:00
alan 4bbbe01633 Keep chat controls readable and expose labeled app navigation 2026-11-07 20:46:02 +00:00
alan f6491e995f Restore the capture viewport between animation recordings 2026-11-07 19:50:35 +00:00
alan c9c411761c Add repeatable mobile quick switch frame profiling driver 2026-11-07 19:46:56 +00:00
alan 53a9cc78a3 Preview quick switch styles with the real local workspace 2026-11-07 19:40:57 +00:00
alan 0da7442296 Add live quick switch swaps with perspective card stacking 2026-11-07 19:16:57 +00:00
alan 23eee6f3f4 Merge branch 'chat/header-islands'
# Conflicts:
#	app/tool/capture/README.md
2026-11-07 02:50:13 +00:00
alan e9d66af785 Separate chat selectors from Files and More actions 2026-11-07 02:49:44 +00:00
alan 7b5a0e0310 Smooth mobile chat swaps and measure the actual peek viewport 2026-11-07 02:47:34 +00:00
alan ebd0a15647 Merge branch 'ws-files-viewer' 2026-11-07 01:46:13 +00:00
alan d8ef2b6109 Respect Cupertino brightness and render file markdown 2026-11-07 01:46:05 +00:00
alan 75bd4dcff0 Merge branch 'ws-files-viewer'
# Conflicts:
#	app/tool/capture/README.md
2026-11-07 01:45:03 +00:00
alan 84a03bea8d Complete chat file previews downloads and explorer actions 2026-11-07 01:44:42 +00:00
alan 61b382e9c0 Merge branch 'ws-stats-app'
# Conflicts:
#	docs/notes/server-stats.md
2026-11-07 01:44:15 +00:00
alan 8bf8cd9507 Add server health page with native controls and bounded refresh 2026-11-07 01:43:54 +00:00
alan 1a0f999fb1 Show prompts delivered into the running reply distinctly 2026-11-07 01:42:48 +00:00
alan 492fb70d91 Preserve deferred macOS desktop host and local publisher 2026-11-07 00:24:32 +00:00
alan d739166cf9 Add an isolated single-task GUI fixture matching reported metadata 2026-11-06 23:47:52 +00:00
alan 8e82c599b9 Keep pane profiling compatible with native chat row labels 2026-11-06 22:27:46 +00:00
alan 7e1657edd2 Validate every pane switch and drain warmup timing batches 2026-11-06 22:13:27 +00:00
alan 283a08ba01 Make chat pane benchmark recording and metrics readable 2026-11-06 22:10:50 +00:00
alan 2eb13d9a35 Add repeated rich-chat pane CPU and frame profiling benchmark 2026-11-06 22:08:37 +00:00
alan 4f2c981a13 Verify storage controls and provide isolated browser fixture 2026-11-06 21:28:37 +00:00