2468 Commits

Author SHA1 Message Date
alan 213fc4608c Merge 2b.4: chat details and file details as dialogs on desktop 2026-11-10 22:54:32 +00:00
alan f6046c5ab6 Drop the Cupertino files test the Material-only details invalidated 2026-11-10 22:54:32 +00:00
alan 122c849281 Merge main 2026-11-10 22:42:42 +00:00
alan 6b82f51331 Open a choice menu over its anchor when the anchor is a whole pane
The add-pane picker is opened from a pane, not a button; with no room
above or below the anchor the panel was laid out with no height (found by
run 303's UI review).
2026-11-10 22:41:59 +00:00
alan ab70f78e92 Merge commit 'ba1cbccdf28e6e57862fc3f50474b1da93a0d6b8' into pipelines/run-20261110-2153-desktop-menus-2b-5-on-desktop-the-files-4544 2026-11-10 22:25:57 +00:00
alan e4ad266a6a Merge main 2026-11-10 22:21:15 +00:00
alan 286506310c Show chat details and file details as dialogs on desktop
Phase 2b.4 of docs/plans/floating-windows.md: both use showAppDetails (a
dialog on a wide app, a bottom sheet on a phone). Implemented by pipeline
run 305; landed by hand after its UI review found the dialog clipped, which
the helper now scrolls.
2026-11-10 22:21:15 +00:00
alan ba1cbccdf2 Scroll details dialogs whose content is taller than the app
Chat details was cut off at 1280x800 (found by run 305's UI review).
2026-11-10 22:21:14 +00:00
alan 75a61dbd8c Make the terminal's floating mode a window of the window system
Phase 3 of docs/plans/floating-windows.md. The terminal window kind reuses
TerminalHub; TerminalWindows keeps the window in step with TerminalLayout
(show opens or shows it, hide minimises it, Minimise and Close hide the
terminal). The bottom panel stays a shell panel. The first window takes the
frame and maximised state pipelines.terminal-layout.v1 saved.

The terminal's own float chrome and FloatingLayer are deleted.
2026-11-10 22:19:30 +00:00
alan 8a308204fa Use adaptive popups for chat details
Present chat turn and shell-history detail surfaces through the shared adaptive popup helpers so desktop uses dialogs while phone layouts retain bottom sheets. Update focused tests and document the verified behavior.
2026-11-10 22:14:29 +00:00
alan 42a2378ecb Anchor desktop Files and Runs menus
Use Material popup menus for file actions and anchor Runs sorting choices to the sort button while retaining the phone fallback. Update callers, tests, and implementation notes to match the desktop behavior.
2026-11-10 22:14:29 +00:00
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 f0aadbe4e3 Merge branch 'chat-runtime': chats on the shell window system 2026-11-10 21:43:37 +00:00
alan 9d533fcad9 Describe floating chats on the window system in the notes 2026-11-10 21:43:37 +00:00
alan 16afda3634 Close menus with Escape and keep a window's popups focused
AppMenuAnchor is the app's one MenuAnchor: root overlay, takes the keyboard
while open (Escape and arrows work wherever focus was) and gives it back.
A window no longer takes the keyboard back from a popup its own press
opened. In a window, Files opens as a page of that window and Chat details
is in the More menu.
2026-11-10 21:33:07 +00:00
alan fdc730422d Host floating chats on the shell window system
Phase 2.3 and 2.4 of docs/plans/floating-windows.md. A floating chat is a
window of the chat kind over the app's WindowManager, built from the
app-lifetime ChatRuntime, so it shows over every destination and at start
without the Chat destination being built. Float and Dock move the same
keyed view between the tiling and the window host. The pipelines app keeps
one runtime and one ChatWindows; saved chatFloat records (v1 and v2) are
brought over once.

ChatFloatHost, ChatFloatWindow, the float frames and binding, the
controller's float list and FloatingFocusRoot are gone; the workspace only
asks whether a chat is out in a window. Every MenuAnchor targets the root
overlay (guarded by a test), and menus and tooltips name the Alt chords.
2026-11-10 21:17:40 +00:00
alan 9695100faa Build chat panes through one content builder
Phase 2.2 of docs/plans/floating-windows.md: buildChatPaneContent wraps a
conversation in the scopes it needs and keys it by the runtime, so the
tiling and (next) a floating window build the same subtree. The tiling uses
it; behaviour is unchanged.
2026-11-10 21:05:41 +00:00
alan 558eedb410 Extract ChatRuntime from the Chat screen
Phase 2.1 of docs/plans/floating-windows.md. The session list controller,
opened rows, accepted models, transcript positions and caches, composer
focus requests and list folds move from ChatScreen's state to ChatRuntime.
ChatScreen builds its own unless one is passed; behaviour is unchanged.
2026-11-10 21:00:21 +00:00
alan 76191ade35 List the terminal copy failure on Linux web as an open item 2026-11-10 20:53:41 +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 215e1cee2a Merge commit '4273f9d801f20420be383be90e60cf6b30cfeb58' into pipelines/run-20261110-2013-surfacevisibility-signal-replaces-ticker-a247 2026-11-10 20:28:22 +00:00
alan 7ff012880b Add explicit surface visibility signal
Provide composable shown/current visibility for retained surfaces and migrate visibility readers away from TickerMode. This keeps ticker muting separate from painted and current-surface state.
2026-11-10 20:28:09 +00:00
alan 4273f9d801 Merge branch 'windows-core' 2026-11-10 20:22:31 +00:00
alan 715efab778 Add the window manager, kinds and store for floating windows
Phase 1.2 of docs/plans/floating-windows.md: an app-lifetime WindowManager
with ordered WindowEntry values, a WindowKind registry and a device-local
versioned WindowStore whose server-scoped entries carry their server key.
Nothing uses it yet.
2026-11-10 20:16:56 +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 08b1ff371c Merge branch 'bar-padding-alt-keys' 2026-11-10 19:18:46 +00:00
alan 182fd9bb62 Pad chat bar text buttons 12 px and add Alt+Y for floating chats
Model, mode and thinking buttons carry 12 px horizontal padding, replacing
the pill inset from 440995e3. Alt+Y (Option+Y by key position) toggles the
floating chats, like Alt+T for the terminal.
2026-11-10 19:18:46 +00:00
alan c8e4faf6a4 Plan desktop menus instead of bottom sheets 2026-11-10 19:01:48 +00:00
alan f29efc0fc9 Record the floating-window decisions in the plan
Pages open inside their window, windows get minimize and X closes, one
server for now with room for more; bottom sheets versus menus is still
open.
2026-11-10 19:00:53 +00:00
alan 132bd11fc6 Plan floating windows as a shell-level window system
Why popups open behind floating chats, why the chat float is still tied to
the Chat tab, and a phased plan for one window host that terminal, chats
and later runs and pipelines share.
2026-11-10 18:16:07 +00:00
alan 1b698a1241 Capture committed .env templates instead of skipping them
Every run in this repository reported an incomplete file-change capture
because the tracked .env.example matched the secret-file rules and was
skipped. Committed templates (.example, .sample, .template, .dist) hold
placeholders, so they are captured like any file; real secret files and
protected directories stay excluded.
2026-11-10 17:49:58 +00:00
alan 440995e31f Keep model and mode text off the action bar pill ends
Run 299 removed the model and mode buttons' horizontal padding on desktop
so the island's gap sets the spacing, which left their text touching the
pill's rounded ends. The island now insets its content by 12 px.
2026-11-10 17:00:42 +00:00
alan 123c864397 Evenly space chat action bar controls
Add a uniform desktop gap between header control groups and remove duplicated horizontal padding from model and mode controls. Preserve compact-layout touch targets and add Material/Cupertino regression coverage.
2026-11-10 16:38:55 +00:00
alan c6ab716ecb Merge branch 'main' into run-worktrees 2026-11-10 16:06:40 +00:00
alan 532ba48927 Run every pipeline run in its own worktree
A fresh run started from a repository's main checkout gets its own
worktree and branch next to the repository, so runs never share a tree
or see the operator's uncommitted work, and several can run at once.
Retries and runs started in a linked worktree keep their directory. A
clean, landed run tree is removed after success; anything else is kept.

The delivery gate commits what the land stage left uncommitted in a run
worktree, and no longer requires the operator's main checkout to be
clean: Git's fast-forward refuses safely when a local change conflicts.
2026-11-10 16:06:40 +00:00
alan 1a584e3432 Paste into a focused floating chat
The clipboard bridge gave every paste to the active tiled chat while
another composer had focus, so a floating chat (never the active pane)
could not receive pasted text or files. A floating chat's composer now
owns the paste while it has the keyboard, and the paste target yields to
it. A focused composer in an inactive tiled pane still leaves the paste
to the active pane, as before.
2026-11-10 16:02:35 +00:00
alan d77b36f56f Merge branch 'main' into floating-chats-global
# Conflicts:
#	app/lib/features/chat/workspace/chat_workspace.dart
2026-11-10 15:27:12 +00:00
alan e059e58caf Leave unrelated chat files as main formats them 2026-11-10 15:26:54 +00:00
alan cdd54c113c Float several chats and keep them working on every tab
Floating chats were stuck on other destinations: the hidden Chat tab
muted the window's hide animation, so the window stayed painted but took
no input. The reveal now uses its own ticker, each floating pane's focus
scope hangs from a FloatingFocusRoot above the destination stack, and the
windows show over every destination like the terminal.

Any number of chats can float; the shortcut, a window's X and the menu
show or hide them together. Each pane keeps its own frame (also while
docked), saved in record version 2; version 1 records still load. Drags
read the live frame so fast pointer events no longer lose movement.
2026-11-10 15:26:38 +00:00
alan 3b39f01e68 Keep the stage when using a side chat's action bar
On center stage, pressing or focusing a live side pane's header controls
(actions, More menu, model/mode/effort) no longer activates that pane.
Strips, keyboard activation and the normal split are unchanged.

Pipelines run 298 (reviewed and UI-reviewed); landed by hand because the
land stage's file capture was incomplete.
2026-11-10 15:18:56 +00:00
alan 827d9bd3b5 Merge branch 'main' into worktree-agent-a5b6d89690dfcde6b 2026-11-10 13:45:48 +00:00
alan 0d0810b87a Leave other lanes' files as main formats them 2026-11-10 13:38:10 +00:00
alan 5be19909a4 Note center stage checks and the floating chat 2026-11-10 13:38:01 +00:00
alan a33c8d6bbe Keep compact bar insets inside the floating chat window 2026-11-10 13:37:16 +00:00
alan b72164009a Merge main: floating chat beside center stage 2026-11-10 13:36:51 +00:00
alan c944bcb55b Merge branch 'main' into worktree-agent-a5b6d89690dfcde6b 2026-11-10 13:35:27 +00:00
alan 61e5f19abd Lay out each chat once per center stage move and record the feature 2026-11-10 13:26:15 +00:00
alan ba85eb36a7 Record floating chat checks and captures 2026-11-10 13:25:24 +00:00
alan 97856906bb Merge branch 'main' into worktree-agent-a5b6d89690dfcde6b 2026-11-10 13:20:11 +00:00
alan 4b6519610d Merge main: pane moves alongside center stage 2026-11-10 13:12:24 +00:00