Commit Graph

955 Commits

Author SHA1 Message Date
alan f5bf8ada8a Merge: archive and unarchive pipelines
# Conflicts:
#	internal/cli/commands.go
#	internal/pipeline/store.go
2026-11-04 23:39:02 +00:00
alan 5a9284ccf7 App: archive and unarchive pipelines
The pipeline's bar gets a Pipeline actions menu with Archive (confirm
dialog: history is kept) or Unarchive; an archived detail says so and
offers no Run. The list hides archived pipelines and the scope control
gains an Archived view. Server refusals (enabled schedule, newer
version) are shown verbatim. The capture fixture answers archive
requests.
2026-11-04 23:37:25 +00:00
alan d274516f74 Merge: chat composer pops in with the bar 2026-11-04 21:58:28 +00:00
alan b71345fe4e Chat composer pops in with the bar when a chat opens 2026-11-04 21:58:11 +00:00
alan 6882a6c2f4 Merge: Add font works with a real file dialog and always reports failures 2026-11-04 20:48:03 +00:00
alan 081ae0957d Add font: own web file chooser, so a picked font is never dropped silently
file_picker's web picker treated the window regaining focus as a cancel when
the files arrived more than 500 ms later, so a real dialog could return an
empty pick and Add font did nothing. The web now uses its own file input that
completes only on change or cancel; mobile browsers get no accept filter.
Picker, check and save failures are shown in a dialog, and the row is busy
only after files were chosen.
2026-11-04 20:47:43 +00:00
alan 38cd92813b Chat: choosing a chat focuses its composer on desktop
A row click or tap, Next chat and a created chat put the keyboard in the
composer, as Ctrl+1-9 does, on desktop hosts (native or desktop browser, any
window width) and after a mouse or trackpad click anywhere. A finger tap on a
phone or tablet (Android, iOS, mobile browsers) leaves focus alone so the
on-screen keyboard does not cover the transcript. Closed chats are not
focused, and a request yields when another control took focus meanwhile.
2026-11-04 20:42:20 +00:00
alan 1d025bebf3 Merge: add your own fonts in Settings 2026-11-04 18:45:25 +00:00
alan c24e7f40b4 Settings: add your own fonts (.ttf/.otf) per device
Add font… picks one or more files, checks them with a bounded sfnt reader
(name table family, OS/2 weight), registers them with FontLoader before
storing, and chooses the new family. Added fonts list below the bundled ones
with Rename and Remove; removing the chosen one falls back to System default.
Bytes live in the app support directory natively and in IndexedDB on the web
(localStorage is too small); a shared_preferences index names them. Limits:
10 MB per file, 40 MB total. The capture kit gains a files= step.
2026-11-04 18:45:01 +00:00
alan c38f43cae3 Merge: Next chat button cycles through the list 2026-11-04 18:22:45 +00:00
alan 9a7adf88ab Chat bar: Next chat button cycles to the next chat in list order 2026-11-04 18:22:27 +00:00
alan e0d7b720f5 Merge: running durations tick live in runs list, summary and timeline 2026-11-04 17:48:34 +00:00
alan c618313776 Notes: live durations capture after merge 2026-11-04 17:48:00 +00:00
alan fc615c69e7 Merge branch 'main' into worktree-agent-a35ac03e196ffae50
# Conflicts:
#	app/lib/features/runs/ui/run_detail_content.dart
#	app/lib/features/runs/ui/run_list_row.dart
#	app/tool/search_selection_probe_entry.dart
2026-11-04 17:44:29 +00:00
alan 4e0491d619 Merge main 2026-11-04 17:43:47 +00:00
alan 57f5219628 Artifacts: runner-internal turn files move to a Debugging files group
Each recorded artifact now carries a server group (deliverable or debug).
public/ files are deliverables; input/memory/history/output.md, session
exports and private/ scratch are debugging files. The app's Artifacts tab
lists deliverables and the Debug toggle reveals a separate Debugging files
group (older servers fall back to the filename rule); the TUI lists
deliverables first and marks debug rows; artifact search excludes debug
files unless include_debug / --debug-files is set.
2026-11-04 17:43:47 +00:00
alan e7d00b85ff Runs: running run and stage durations tick live
One shared ElapsedClock (single timer, only while a visible running item
is watched and the app is visible; cadence follows formatDuration
precision) and a LiveElapsedBuilder that repaints only its own text.
Running list rows, the Summary Duration and running timeline visits
tick. A stage start re-reads the open detail, since step deltas carry
no started_at. Fixture ?running=1 for captures.
2026-11-04 17:43:29 +00:00
alan d3a2369d1f Stage rows show cached share and cost; Changes explain no_patch_reason
Timeline stage rows add the cached share (when cache_known) and a positive
cost: 20.1M tokens · 97% cached · $1.42. The file viewer words each server
no_patch_reason, keeping the old truncated/binary text as the fallback.
2026-11-04 17:26:31 +00:00
alan efa9c5b5de Merge: memwatch quiet bounded test summary; analyze wrapper 2026-11-04 13:11:15 +00:00
alan 941d2a7148 memwatch: quiet bounded test summary off a terminal; bounded analyze wrapper
run.sh now records flutter's JSON results beside the log and prints a
summary from tool/memwatch/summary.dart: one verdict line (pass/fail/skip
counts, peak MB, duration, exit status), only failing tests with their
error and app stack frames (framework frames dropped, per-test and total
caps, tail of printed output), the tests still running when killed, and
the log and JSON paths. Quiet is the default when stdout is not a
terminal; MEMWATCH_OUTPUT=full also prints the whole log. The watchdog
loop and exit status are unchanged.

tool/analyze.sh bounds flutter analyze to a verdict line and the first
40 issues. Tests: test/tool/memwatch/summary_test.dart and the
end-to-end tool/memwatch/quiet_test.sh over fixture suites.
2026-11-04 13:10:21 +00:00
alan 5b17794179 Chat: code blocks and inline code use the monospace font 2026-11-04 02:15:50 +00:00
alan bd7ae0050a Merge: per-device font choice in Settings 2026-11-04 02:02:24 +00:00
alan 2853b18b9e Settings: per-device interface font choice
System default plus Inter, IBM Plex Sans, Source Sans 3 and Atkinson
Hyperlegible Next (OFL 1.1, bundled as on-demand assets and loaded with
FontLoader, so the web fetches only the previewed/chosen files). Stored in
shared_preferences, applied live to Material and Cupertino text themes;
RobotoMono styles unchanged. Licences registered with LicenseRegistry.
2026-11-04 02:01:49 +00:00
alan e727c3fd07 Merge main into run token usage branch 2026-11-03 22:21:38 +00:00
alan 3227d61caf Token usage: keep cache/reasoning split, count only recorded steps, cost only when positive; captures fixture, docs and notes 2026-11-03 22:16:49 +00:00
alan aa948bdfe4 Runs list carries per-run token usage; app shows tokens beside size, Most tokens sort, Summary and stage tokens 2026-11-03 22:04:55 +00:00
alan 8c7093d1e6 Merge: chat list shows running turns and background tasks for every chat 2026-11-03 19:54:35 +00:00
alan 45c933c176 Chat list: spinner and background-task badge from server activity on every row
The list applies chat_activity pushes and each row's activity by seq, so
every listed chat shows a running turn, not only the chat open here. An
idle chat with running background tasks wears a quiet badge with tooltip and
semantics "Background tasks running (N)". Older servers keep the old
behaviour. List rows that never changed carry the server's current seq so
they order after snapshots kept from an earlier server process.
2026-11-03 19:53:52 +00:00
alan 0d459f69af Merge: answered chat questions collapse into their turn like tool calls 2026-11-03 19:39:19 +00:00
alan fc94210595 Chat: answered questions collapse into their turn like tool calls 2026-11-03 19:38:52 +00:00
alan d427b48be3 Merge: list rows a little roomier 2026-11-03 19:35:59 +00:00
alan db45b72d8b List rows: a little more vertical room in the shared row 2026-11-03 19:35:40 +00:00
alan 35558fec07 Merge: notes on the chat-list background-task gap 2026-11-03 19:27:37 +00:00
alan f34637303d Notes: session-list background-task indicator blocked on server data 2026-11-03 19:27:18 +00:00
alan 3eb2c86b99 Notes: operator confirmed Copy link works 2026-11-03 18:54:20 +00:00
alan 9bf0cdac40 Merge: artifact full screen; HTML scrolls, pans and zooms; links open safely 2026-11-03 18:51:15 +00:00
alan 4e0481fd8d Artifact viewer: full screen view; HTML scrolls, pans and zooms; links open safely
Full screen button in the viewer's bottom bar opens a root full-screen route
with the same bar and top bar; exit by the bar, Close, Escape or back. It
renders the already fetched bytes, never the system browser. The external
Open action is now labelled Open in browser.

Native web views claim their gestures (vertical drags inline, every pointer
in full screen) so the page swipe no longer starves them. On the web, full
screen adds zoom buttons that scale the live sandboxed frame. Links: in-page
anchors scroll, http(s)/mailto open outside, everything else is inert.

Capture kit: --touch, swipe=, pinch=, tabs=; html=1 fixture artifact.
2026-11-03 18:50:41 +00:00
alan a7d550b94b Merge: a mouse click on a chat link opens it despite small pointer drift 2026-11-03 18:36:10 +00:00
alan 7f313cf5ef Chat links: a mouse click opens the link even when the pointer drifts
The selection area claimed a primary mouse press on a link as a selection
drag once the pointer moved 2 px, so in the browser ordinary clicks with a
little hand or trackpad movement opened nothing. A link's recognizer now
accepts a primary mouse press on pointer down, as an anchor does; the click
still cancels past the tap slop, drags from plain text still select across
links, and touch long press keeps Copy link.
2026-11-03 18:35:43 +00:00
alan c320dac131 Chat list: tool calls and notices never mark a chat New
Only visible assistant reply text, a pending form or an unresolved
permission request is unread. Tool results, user prompts, harness
notices/agent reports and blank deltas only drive the working state.
2026-11-03 18:34:29 +00:00
alan fa6c0864db Merge: top bar clears iPadOS window controls 2026-11-03 18:11:03 +00:00
alan e00c39aa5f Top bar: clear iPadOS 26 window controls in a window
Flutter's safe area leaves out the window controls of a windowed iPad app,
so they covered the list pane's title pill and took its taps. A small Runner
plugin reports their corner from UIKit's corner-adapted safe-area regions
over a method channel, and SegmentedBar pads the side they overlap. No-op
off iOS and when there are no controls.
2026-11-03 18:10:33 +00:00
alan 092e497fcb Merge: narrow list panes keep a readable title and row status 2026-11-03 18:04:37 +00:00
alan a40a6e2e1c Narrow list panes: readable bar title, More overflow menu, rows keep status and actions
The floating bar keeps the title at its own width (up to half the bar) and
moves overflowable actions into one More menu instead of squeezing them
below their touch targets. List rows keep their leading status avatar and
More actions at any list-pane width; the time moves under the subtitle.
2026-11-03 18:04:10 +00:00
alan 43d6135df3 Shell: Settings has no list column, so its tab bar stays at the right edge 2026-11-03 17:34:42 +00:00
alan fb3987ef4e Merge: iPad layout review notes and native fixture host 2026-11-03 17:33:36 +00:00
alan 9b6809c9a1 iPad layout review notes and native fixture host
Run the full-app fixture entry on an iOS simulator: options from a file in
the app's tmp dir or the environment, route via a route provider, a narrow
strip for Split View widths, and a small in-app tap/type driver.
2026-11-03 17:32:58 +00:00
alan 50c31c6d34 Merge: system Back returns to the previous tab 2026-11-03 17:15:00 +00:00
alan 5deddda9c0 Shell: system Back returns to the previous tab
At a tab's root the system Back now returns to the tab opened before it,
through a most-recent-first stack of visited tabs without duplicates.
Every tab change (tap, Ctrl+Tab, a routed open) records it. Pages over
the shell, Settings and a page in the open item's pane still close
first; with no history Back reaches the platform as before. Only the
shown tab's detail pane answers Back now.
2026-11-03 17:14:41 +00:00
alan eed04eceef Glass: subtler frosted look instead of a metallic sheen
Top highlight, rim and shadow are much fainter in both themes, the
highlight fades out sooner (0.55 -> 0.4), the backdrop saturation boost
drops from 1.6 to 1.25 and the fill opacity rises from 0.78 to 0.82.
One backdrop filter per piece and the solid high-contrast piece stay.
2026-11-03 17:11:09 +00:00