Commit Graph

923 Commits

Author SHA1 Message Date
alan 699c3adea5 Merge commit '9999e0912e9c38bd24a8754d64e7a14c589b1646' into pipelines/run-20261112-0206-composer-border-shows-the-agent-working-fd87 2026-11-12 03:26:25 +00:00
alan 4f8e99f316 Serialize open-chat sync writes by server revision and fan out prunes
Server: chat_open_workspace is a compare-and-swap on base_revision; a stale
write is refused and answered with the current snapshot (rejected: true).
Each stored change increments the revision; identical writes store nothing.
A request with no body reads the set. Seeds apply only to a never-stored set.
Validation uses the operator registry (recorded, not closed). chat_close and
connection-time pruning store a new revision and push it to every
connection; otherwise a new connection gets the current set to catch up.

App: ChatOpenWorkspaceController keeps one write in flight, coalesces later
changes, sends from the last replied revision and ignores lower revisions;
pushes and rejected replies win over unsent changes. It starts after the
local layout restores (seed or read), keeps a deep-linked chat, and is
disposed on server/gateway rebind. Remote membership is applied by
reconcileChatWorkspaceTree, keeping pane ids and split sizes. Federated
lists keep their local layout.

Tests: Go store/handler fan-out tests; app controller, reconcile and screen
sync tests. Notes record a live two-client scratch check.
2026-11-12 03:23:22 +00:00
alan f8e081825f Merge branch 'main' into pipelines/run-20261112-0138-sync-open-chats-across-devices-on-the-se-9f86
# Conflicts:
#	app/lib/features/chat/chat_screen_keys.dart
#	app/lib/features/chat/chat_screen_workspace.dart
2026-11-12 03:00:02 +00:00
alan c48a1559ac Sync open chats across devices through the server (pipeline run work in progress) 2026-11-12 02:59:34 +00:00
alan 77db577cd0 Merge commit '40623991e8709e5c1ab3e875b51d4de55f0c20a5' into pipelines/run-20261112-0206-composer-border-shows-the-agent-working-fd87 2026-11-12 02:58:45 +00:00
alan 40623991e8 Merge commit '6aeabfe5916b3eb345e922c86a60e04580156c01' into pipelines/run-20261112-0138-mobile-chat-terminal-buttons-26ca 2026-11-12 02:54:31 +00:00
alan cb897b74d9 Merge commit 'f9eac4d6a3cc42a133ed74691d5cf2d6119633dc' into pipelines/run-20261112-0144-ctrl-tab-floating-chats-when-shown-else-c9bd 2026-11-12 02:46:07 +00:00
alan f9eac4d6a3 Merge commit 'f2a74adb75b035a5a732d11e7e8117314e511150' into pipelines/run-20261112-0157-reliable-android-notifications-while-clo-880f 2026-11-12 02:40:31 +00:00
alan 7b6d33d842 Merge commit '9bb87e5118fdf37933ee20dd14c4842a8e978d09' into pipelines/run-20261112-0151-first-run-walkthrough-f0ed 2026-11-12 02:33:33 +00:00
alan 9bb87e5118 Merge commit '06d3e23b796c81aeeef21b27d9cfeb0697845247' into pipelines/run-20261112-0129-desktop-navigation-rail-with-settings-9292 2026-11-12 02:29:16 +00:00
alan 547d15c842 Add desktop navigation rail with Settings
Replace wide-layout floating destination controls with a full-height Material navigation rail, keeping badges and existing navigation behavior. Pin Settings to the rail and preserve the phone layout and pane/window clearance.
2026-11-12 02:27:41 +00:00
alan f3a469c356 Animate chat composer while turns run
Replace the running Stop button with an animated composer border and task spinner. Add Escape, slash-command, and touch-menu stopping paths with focused widget coverage, including reduced-motion behavior.
2026-11-12 02:24:46 +00:00
alan 06d3e23b79 Merge commit 'e3deb84dadad65339c17bfa8b78a2b3c97927d46' into pipelines/run-20261112-0140-run-details-open-with-output-expanded-81b3 2026-11-12 02:23:45 +00:00
alan 30ba70ade8 Add first-run walkthrough
Guide new users through connecting a server, configuring an agent harness, starting runs, and chatting with agents. Persist completion per device and offer the walkthrough again for empty servers or from Settings, with widget coverage and implementation notes.
2026-11-12 02:23:15 +00:00
alan 5c41474e6a Make Android notification delivery survive idle
Schedule reconnects with idle-tolerant alarms, keep a watchdog and wake lock, and restart after task removal so delivery continues while the app is closed. Request battery exemption, stop retrying on expired sessions, persist connection diagnostics, and expose the status in Settings.
2026-11-12 02:21:48 +00:00
alan a233733966 Match chat terminal buttons to responsive UI
Remove the duplicate terminal action from narrow shell bars and expose the terminal in open chat bars only where appropriate. Use the shared plain bar-button styling and add focused light/dark responsive widget coverage.
2026-11-12 02:16:23 +00:00
alan e3deb84dad Merge commit 'c76b623b40232ec64ad5e4b73c3102bd940a0223' into pipelines/run-20261112-0146-ctrl-a-toggles-runs-and-pipelines-bc61 2026-11-12 02:10:19 +00:00
alan c05a4da476 Fix Ctrl+Tab chat window navigation
Keep Ctrl+Tab scoped to shown floating chats when windows are visible, and otherwise cycle only visible tiled panes. Remove the single-pane recent-chat swap and use stable floating-window open order so raising a window does not alter navigation.
2026-11-12 01:59:52 +00:00
alan 2bbc737604 Add Ctrl+A Runs and Pipelines shortcut
Provide a platform-independent destination shortcut that preserves Ctrl+A for text fields and the terminal. Document the shortcut in help and cover navigation and focus exceptions with regression tests.
2026-11-12 01:57:44 +00:00
alan 22af093eda Expand run detail output by default
Make run and visit output sections open when details are viewed while preserving user collapse behavior. Add coverage and implementation notes for the updated interaction.
2026-11-12 01:56:41 +00:00
alan e4f3ebdcab Make floating-window close buttons minimise
Remove the separate minimise control and make the title-bar X hide windows while preserving their state and reachability. Update window behavior documentation and focused tests for chat, terminal, and window layering.
2026-11-12 01:45:42 +00:00
alan 17af656f00 Merge commit 'a88a7bddaf656394bbea74bb42a5e1656b52847d' into pipelines/run-20261112-0053-chat-list-more-menu-matches-the-pane-mor-f0d0 2026-11-12 01:23:49 +00:00
alan a88a7bddaf Merge commit '66a96ad136930286c817a282bc253dd7f7c9980a' into pipelines/run-20261112-0053-clear-empty-states-on-a-new-server-e7cd 2026-11-12 01:19:33 +00:00
alan 3ce7f7a5dd Expose pane actions in chat list menu
Share the open chat pane menu choices with session rows so list actions use the same handlers and target the selected chat. Add command routing, pane movement support, and focused coverage for wide and narrow layouts.
2026-11-12 01:17:46 +00:00
alan 66a96ad136 Merge commit 'ff6a6e18d2408c4b5f24c0ded0e293240dc8d7aa' into pipelines/run-20261112-0053-remove-templates-from-settings-b935 2026-11-12 01:15:11 +00:00
alan ff6a6e18d2 Merge commit '35e4aec0a753e7ff46b345e0bc83e391cf905ed4' into pipelines/run-20261112-0055-ctrl-k-and-alt-k-open-chat-24be 2026-11-12 01:10:28 +00:00
alan ac5f28bb83 Add global shortcuts for opening Chat
Allow Ctrl+K and Alt+K to switch to Chat from any destination, while preserving terminal Ctrl+K behavior and focusing the active composer. Register the shortcuts in help and cover matching, navigation, terminal handling, and composer focus with regression tests.
2026-11-12 01:08:18 +00:00
alan 35e4aec0a7 Merge commit 'a6d1492ad8bb88d78bf710f88dc10fa367e1dd7a' into pipelines/run-20261112-0053-ctrl-tab-cycles-floating-chat-windows-4658 2026-11-12 01:05:51 +00:00
alan 7dc054763b Cycle floating chats with Ctrl+Tab
Route Ctrl+Tab and Ctrl+Shift+Tab between visible floating chat windows while preserving tiled-pane and terminal tab behavior. Add regression coverage and document the shortcut semantics.
2026-11-12 01:04:09 +00:00
alan dbd525a7b1 Clarify empty server states
Show calm, actionable empty states for pipelines, runs, and chats while keeping filtered and failed loads distinct. Add focused widget coverage and document the remaining verification limits.
2026-11-12 01:02:31 +00:00
alan 1e07ab1ddc Remove Templates from Settings
Keep the Templates destination available through its direct routes while removing the obsolete Settings entry and wiring. Update navigation coverage and document the preserved route behavior.
2026-11-12 01:02:11 +00:00
alan 5834b9c504 Mark the chat center-stage edges
Add subtle outlineVariant hairlines around the centered chat column so its boundary remains clear without changing the reading width or split layout. Cover light and dark center-stage visibility with focused widget and geometry tests.
2026-11-12 01:01:25 +00:00
alan 4f1b45571f Float the last chat and float from the chat list
Any tiled chat can float now, including the only one; the tiling is left
empty. A chat list row's More menu offers Float too: a tiled chat leaves
the tiling, a chat with a window shows it, any other opens a new window.
2026-11-12 00:43:03 +00:00
alan fa95c2fcae Remove the Runs error counter for now
Keep the running indicator and Needs you flow, but remove the failed-count badge and its tab count plumbing until unseen-state behavior is addressed. Preserve the unfinished seen-state work separately. Verify application, Runs, attention and shell regressions.
2026-11-11 23:18:30 +00:00
alan efca56e4e4 Show running and failed run counts independently
Give the Runs tab separate activity and failure indicators so neither suppresses the other. Reuse known summaries and pushed updates, keep failed states separate from decisions and dismissal counts, and update across tabs even when total attention is unchanged.
2026-11-11 22:10:37 +00:00
alan 9551eceaed Complete Material-only APIs and fixtures
Remove obsolete control-family flags and icon metadata across all callers, dead alternate themes and host helpers, obsolete test setup, and the unused icon-font dependency. Preserve native Material Back transitions. Make navigation fixtures independent of update plugins and answer auxiliary shell snapshots so the complete application suite can run deterministically.
2026-11-11 21:55:39 +00:00
alan 16f4e43ddc Format shared Material primitive integration 2026-11-11 21:17:32 +00:00
alan 16dab6d74e Merge branch 'main' into pipelines/run-20261111-1951-material-cleanup-shared-ui-primitives-65fb
# Conflicts:
#	app/test/features/runs/ui/run_path_mini_test.dart
2026-11-11 21:16:36 +00:00
alan 7cb95471cb Format integrated runs and pipelines cleanup 2026-11-11 21:13:38 +00:00
alan b771f3813a Remove Cupertino remnants from runs and pipelines
Keep the assigned runs and pipelines UI Material-only by removing alternate icons, host branches, and Cupertino color usage while preserving compatibility parameters needed by other callers. Update mirrored tests and record focused verification for the cleanup.
2026-11-11 21:12:40 +00:00
alan c88d1f983b Merge commit '66cb9edee1367da311589ecfacc3ac312dc1a395' into pipelines/run-20261111-1951-material-cleanup-shared-ui-primitives-65fb 2026-11-11 21:10:21 +00:00
alan 66cb9edee1 Keep diff choices readable at large text sizes 2026-11-11 21:08:54 +00:00
alan db522c8dc9 Merge commit '2da375ccce14528305d19416678bc2667520afa9' into pipelines/run-20261111-1951-material-cleanup-chat-workspace-and-sess-8fd9 2026-11-11 21:01:24 +00:00
alan 2da375ccce Adapt remaining feature popups for desktop
Use the shared anchored choices and bounded details dialogs for diff form and artifact facts while preserving narrow Material sheets. Cover both width branches and dismissal behavior.
2026-11-11 20:57:08 +00:00
alan 83fd56ba19 Merge commit '551e403d48d51e4904387d2c299dcfd9ec62dbf9' into pipelines/run-20261111-1951-material-cleanup-shared-ui-primitives-65fb 2026-11-11 20:56:34 +00:00
alan d16c1b3db7 Merge current main and preserve Material chat cleanup 2026-11-11 20:53:58 +00:00
alan 1d790c2a66 Merge commit 'a823a6e8a398ab1327ff22f9c393d970e52a6f4b' into pipelines/run-20261111-1947-use-desktop-dialogs-for-remaining-sheets-4d07 2026-11-11 20:47:24 +00:00
alan a823a6e8a3 Use theme typography in shortcut help 2026-11-11 20:44:32 +00:00
alan b5fd8118cb Merge branch 'main' into pipelines/run-20261111-1947-add-discoverable-unified-keyboard-shortc-134b 2026-11-11 20:43:00 +00:00
alan 1b36328860 Preserve chat action compatibility
Keep the optional legacy icon parameter available for callers that have not yet migrated while rendering remains Material-only. The reviewed chat cleanup is already present in the preceding commit.
2026-11-11 20:35:48 +00:00