Commit Graph

65 Commits

Author SHA1 Message Date
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 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 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 4ae2de444e Show the terminal bar button on the Chat tab only
Pipelines and Runs no longer carry it; the keyboard shortcut still
toggles the terminal everywhere.
2026-11-10 09:32:35 +00:00
alan d52eb4ba82 Show the phone terminal shortcut on the Chat tab only 2026-11-10 02:20:54 +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 750071abe1 Keep keys typed in a terminal out of app shortcuts
Terminals are marked as typing surfaces. While one has focus, the chat's
"/ jumps to the composer", the Search tab's Escape, Ctrl+/, Ctrl+1…9 and
Ctrl+Shift+arrow pane moves leave the key to the terminal, like they do for
text fields.
2026-11-10 00:14:18 +00:00
alan acd160b49e Add the app's terminal surface: bottom panel, floating window and full-screen page 2026-11-09 21:42:52 +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 4c57c50a0f Label machine provenance and choose server before chat harness 2026-11-08 16:46:23 +00:00
alan 032d4cd6c0 Restore ordinary root launches with query parameters and verify Back intent 2026-11-08 01:13:58 +00:00
alan e363a90295 Integrate scoped Settings restoration and preserve detail on Back 2026-11-08 01:05:07 +00:00
alan 151d99fbb6 Persist exact tab locations including Settings under Pipelines 2026-11-08 01:04:28 +00:00
alan 1a674297c1 Retain boot chat deep links for Chats tab restore 2026-11-08 00:18:59 +00:00
alan 97f190e1b1 Offer platform-specific updates at startup and foreground return 2026-11-08 00:15:08 +00:00
alan 9408ec1531 Restore mobile Chats workspace on tab retap 2026-11-08 00:04:12 +00:00
alan 7287ba35c9 Refresh runs from nested wire events and foreground resume 2026-11-07 23:46:02 +00:00
alan bff7115e4e Search: find operator chats by title, directory and message text
A search with kind chat matches the operator-session registry's titles and
directories and the newest messages of recent transcripts through the chat
broker (bounded count, concurrency and one-second budget), answered off the
connection's read loop. The all-kind search is unchanged for older clients.

The app sends the chat search after its run search and shows a Chats group
with title, harness, directory and snippet; a chat hit opens that chat in the
Chat tab. The probe fixture answers chat searches over ?chats=N.
2026-11-03 13:01:53 +00:00
alan 41492df436 WIP: search artifact hit opens the viewer (run #231) 2026-11-02 00:35:23 +00:00
alan f8903e2f6d WIP: pipeline page Runs/Run icon actions (run #230) 2026-11-01 20:37:29 +00:00
alan 5346759665 Use native service as Android notification source 2026-11-01 10:01:16 +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 a1c4c1c402 feat(app): icon-only tab bars, Settings from the Pipelines bar, main bar bottom right with detail bars above it
Settings leaves the tab bar (Pipelines, Runs, Chat, Search) and opens as a
page from a gear in the Pipelines bar, keeping /settings, its keys and a Back
to Pipelines (also the system Back). Every floating tab bar shows icons only,
named for assistive technology. On wide windows the shell's tab bar stays at
the bottom right; a split detail learns its height plus a 12px gap, so its
tabs or the chat composer float above it, and pages the detail opens (the
stage page) stay in its pane through its own navigator.
2026-10-31 14:57:56 +00:00
alan d1aa36163a Sync Needs-you dismissals and chat read state across devices 2026-10-31 12:47:25 +00:00
alan 41a3be8715 Keep web Material styling and preserve visible installer access URLs 2026-10-26 18:37:13 +00:00
alan c6342ac6cc fix(app): remove every app-level system Back override 2026-10-24 16:32:02 +01:00
alan 877c2f1acd fix(shell): keep the tab destination ready behind pushed pages 2026-10-24 11:14:10 +01:00
alan b499da304d feat(app): configure and safely switch multi-address servers 2026-10-24 03:04:53 +01:00
alan f51ad9c7ed fix(app): Android Back and the back gesture go through the router: they step up a level, and ask before closing the app; an open pipeline is part of the route 2026-10-24 01:15:21 +01:00
alan 636115bb22 feat(app): phone onboarding (server, then password) kept across launches; a known server opens straight into the app; a refused session asks for the password 2026-10-23 23:52:34 +01:00
alan 0e6db03903 feat(app): an open pipeline, run or chat fills a phone screen; Back steps up one level; stage tabs end with Session 2026-10-23 22:49:21 +01:00
alan 9811b532d3 feat(app): the web page offers the server's Android APK in Settings 2026-10-23 22:23:17 +01:00
alan a50daebeb6 feat(app): Schedules opens from the Pipelines bar instead of Settings 2026-10-23 21:49:53 +01:00
alan 2fc0a4394b feat(app): the native app signs in at the web login and carries the session on its socket and downloads 2026-10-23 19:51:43 +01:00
alan 14a556ebd9 feat(app): an open run takes over the app bar (Back, run, more menu); Search is the fifth tab; tabs keep their last screen 2026-10-23 17:47:05 +01:00
alan 9d61ce1406 feat(app): run detail's pipeline name opens that pipeline; Retry moves into the more menu 2026-10-23 16:27:20 +01:00
alan 9a46a6b2b9 fix(app): guard foreground refresh during interaction 2026-10-22 23:42:31 +01:00
alan d0def10490 fix(app): refresh visible lists on foreground resume 2026-10-22 23:37:34 +01:00
alan 94d3d9ee60 merge(app): bring main into runs-pipeline-url; main's filter menu supersedes the lane's pipeline menu 2026-10-22 22:21:45 +01:00
alan 8ff3b3f22e wip(app): runs-pipeline-url (retained from the cancelled overrun lane) 2026-10-22 21:59:06 +01:00
alan afc7b88366 fix(app): collapse the summary sections and correct the visit index for search hits 2026-10-22 18:54:27 +01:00
alan ce28cb58b1 merge(app): land flutter/chat-question-notice 2026-10-22 18:45:00 +01:00
alan eb80092860 feat(app): mirror the attention count on the Runs tab 2026-10-22 18:40:55 +01:00
alan 4280881436 feat(app): notify on chat questions 2026-10-22 18:37:18 +01:00
alan d44fee5f2d merge(app): land search-pane 2026-10-22 16:15:50 +01:00
alan 2d1cd743ee fix(app): keep a search selection one-shot and always reach Summary
A retired or unknown field hit now selects the plain Summary instead of
leaving an open visit pane in place, matching the browser's searchFieldTab
and Android. The resolved target is a sealed Summary/visit value, so the
field mapping lives in one place.

An unapplied request is dropped when the shell leaves the run it names, so
Backing out of a loading detail no longer replays the selection on a later,
unrelated visit. Search/Templates/Schedules pages above the run keep it.
2026-10-22 16:03:18 +01:00
alan 8b9a298dd1 feat(app): reconnect on foreground and keep the protocol warning 2026-10-22 15:48:07 +01:00
alan 133df9301d feat(app): select a search hit's recorded run section or visit 2026-10-22 15:35:19 +01:00