Commit Graph

377 Commits

Author SHA1 Message Date
alan c8d9f661b5 Support Alt+E center stage shortcut
Recognize Option+E by physical key position so macOS dead-key delivery works, including from focused composers, while preserving existing platform aliases and shell behavior. Update labels, notes, and focused coverage.
2026-11-11 18:20:24 +00:00
alan ae208699d8 Remove Cupertino chat session branches
Keep the Material-only session UI and narrow its tests to the supported host. Preserve public Cupertino parameters for callers while removing unreachable Cupertino widgets and variants.
2026-11-11 14:18:04 +00:00
alan 96de9f5bea Remove Cupertino chat conversation branches
Keep the Material-only conversation implementation while preserving public Cupertino parameters for callers. Narrow affected tests to Material hosts so the dead platform paths are no longer exercised.
2026-11-11 13:11:05 +00:00
alan 4e083af695 Merge commit '3ba124f2500ed32c7169cf3b7963b60d6c1ee0b3' into pipelines/run-20261111-1117-cupertino-out-chat-transcript-part-1-bf8b 2026-11-11 11:57:10 +00:00
alan ddcf7bb3d1 Use Material theme colors in transcript links
Remove the obsolete Cupertino theme dependency from link rendering and keep the shown-entry documentation accurate after the transcript cleanup.
2026-11-11 11:56:48 +00:00
alan fbe1928f59 Remove Cupertino chat transcript branches
Keep the existing Material transcript path while preserving public Cupertino parameters for callers. Narrow transcript tests to the Material-only behavior and remove Cupertino-only fixtures.
2026-11-11 11:46:13 +00:00
alan 3ba124f250 Remove Cupertino branches from shown transcript
Keep the Material transcript path while preserving public Cupertino parameters for callers that will be removed in a later change.
2026-11-11 11:13:58 +00:00
alan 1c2bb8733a Remove Cupertino folder picker branches
Keep the Material-only folder picker implementation while preserving public cupertino parameters for callers. Narrow the matching tests to the supported Material host.
2026-11-11 10:56:54 +00:00
alan b6aa820378 Remove Cupertino chat conversation branches
Keep the Material-only chat conversation implementation while preserving public Cupertino parameters for downstream compatibility. Narrow the matching tests to the Material path.
2026-11-11 05:18:29 +00:00
alan 8e98651db6 Remove Cupertino chat shell branches
Keep the Material-only chat shell path while preserving public Cupertino parameters for callers. Narrow matching tests to the supported Material host.
2026-11-11 04:41:58 +00:00
alan c75023eb40 Remove Cupertino chat workspace branches
Keep the app's Material-only chat workspace path while retaining public cupertino parameters for callers. Narrow the affected widget tests to the supported Material host.
2026-11-11 01:53:14 +00:00
alan f21365f609 Remove Cupertino chat file branches
Keep the Material-only file explorer path while preserving public APIs used by callers. Remove unreachable Cupertino widgets, hosts, routes, and tests so the app remains behaviorally unchanged on Material screens.
2026-11-11 01:23:59 +00:00
alan 2628f6c425 Copy a terminal selection with Ctrl+C outside Apple platforms
A browser keeps Ctrl+Shift+C for its developer tools, so on Linux and
Windows web nothing copied. With text selected Ctrl+C now copies it (and
clears the selection) instead of interrupting the process; Ctrl+Insert
copies too, and a finished run's read-only output answers the copy keys.
The terminal's options menu names the key.
2026-11-11 00:05:16 +00:00
alan 046460b4b6 Merge 2b.2: mode and add-pane pickers as menus on desktop 2026-11-10 23:02:20 +00:00
alan 5fc3c9d3bd Show the mode picker and the add-pane picker as menus on desktop
Phase 2b.2 of docs/plans/floating-windows.md, implemented by pipeline run
303: both use showAppChoiceMenu (a menu anchored to its button on a wide
app, a bottom sheet on a phone).
2026-11-10 23:02:20 +00:00
alan 440065614c Merge 2b.5: files and runs sort menus on desktop 2026-11-10 22:56:39 +00:00
alan 4acecd3d1c Merge 2b.3: turn changes and shell history as dialogs on desktop 2026-11-10 22:56:33 +00:00
alan 3a0577cba0 Keep phone pages and window pages for turn changes and shell history
A dialog only in the tiled app on a wide layout: a phone keeps its
full-screen page (run 304 had turned it into a sheet and rewritten the
tests), and a floating window opens it as a page of that window so a diff
or command output it opens stays in the window.
2026-11-10 22:56:32 +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 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 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 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 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 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 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 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 61e5f19abd Lay out each chat once per center stage move and record the feature 2026-11-10 13:26:15 +00:00
alan 4b6519610d Merge main: pane moves alongside center stage 2026-11-10 13:12:24 +00:00
alan e38958b381 Merge main: keep pane moves and the floating chat; Float sits beside the move items 2026-11-10 13:09:31 +00:00
alan e033d4e176 Put the active chat on center stage with Ctrl/Cmd+E 2026-11-10 12:57:39 +00:00
alan a410b9e5b7 Move chat panes up, down, left and right by swapping with their neighbour 2026-11-10 12:56:48 +00:00
alan bb669aface Float one chat pane over the app and toggle it with Ctrl+Y / Cmd+Y 2026-11-10 12:56:39 +00:00
alan 19aa726e7f Wash the operator's bubbles softly in the chat colour
A coloured chat's own messages blend 22% of its shade over the host's
neutral bubble fill; text keeps the host colours and uncoloured chats
are unchanged.
2026-11-10 11:27:29 +00:00
alan eea1361980 Grow the tapped chat row into the chat page on phones
Replace the identity-avatar Hero with a container transform: the row's
surface, tint and edge marker morph into the full page while the content
cross-fades, and Back, the Cupertino edge swipe or Android predictive back
shrink the page into the open chat's row. Reduced motion or a row off
screen fades instead; wide layouts are unchanged.
2026-11-10 03:11:05 +00:00
alan 60b4c495f1 Colour the send button with the chat colour
A coloured chat's send button uses the chat's seeded primary and its
on-colour, like the focus ring; stop stays the host's error red and
uncoloured chats keep the host button.
2026-11-10 02:33:14 +00:00
alan 9702d68d2d Ask for the password once and retry when a machine requires elevation
Carry the protocol error code, wrap each machine's gateway so an
elevation_required refusal shows one native password dialog, elevates that
connection and retries; send the upload token with file uploads; add a Settings
sign-in security section with the weak-password warning and sign out
everywhere; accept the __Host- session cookie.
2026-11-10 01:21:28 +00:00
alan a706739088 Merge branch 'worktree-agent-a1275d0f5d434eccb' 2026-11-10 00:30:05 +00:00
alan b44938d028 Open the on-screen keyboard for terminals on phones
On Android and iOS a tap on a terminal (a chat command card or the terminal
panel) now opens the soft keyboard and typing goes to the process, with no
autocorrect. Desktop keeps raw key events. Desktop keyboard tests now run
as macOS, since tests default to Android.
2026-11-10 00:19:46 +00:00