Adds the Notebook design (TranscriptStyle.cells, ComposerStyle.cell), a
white/charcoal IDE theme with light grey cells, hairlines and 5px corners.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The chat switcher's popup and keys over the AppDesign registry: filter,
Ctrl+N/P and arrows preview the selected design app-wide without storing
it (AppDesignController.preview), Enter keeps it, Esc or Alt+L again
returns to the design it opened with. The current design is checked.
Listed in Settings -> Keyboard shortcuts and the cheatsheet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ListDetailPanes takes listHidden and slides the list to zero width (at once
with reduced motion), keeping its expanded or compact mode for when it comes
back. A wide chat offers Hide chat list in the list's bar and the pane menu,
Ctrl+B (Cmd+B on Apple; a focused terminal keeps Ctrl+B) and, while hidden,
a Show chat list button at the start of the top-left pane's bar. The choice
is device-local (pipelines.chat.listHidden.v1).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A browser reports no system insets, so inset-dependent layout (anchored
menus) could not be captured on web.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An unset (or unknown) design id resolves to Terminal, in the controller's
initial value, AppDesign.fromId and the boot spinner. A stored choice,
including Classic's stable 'default' id, is respected. The picker calls the
original Material look Classic so no row reads 'Default'.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The anchored choice menu route wrapped its layout in a SafeArea while the
anchor rect is in overlay coordinates, so on Android (edge to edge, a
status bar inset) every top bar menu opened an inset below its control.
The insets and a half-opened hinge now only bound the panel.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A cheaper design draws more frames in the same gesture, so build/raster
sums penalised it; the gate now compares mean build and raster time per
frame with Default's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paper's theme joins the cached builder; AppDesignTokens and ReadingType
compare every new token by value, and Paper's tab indicator and switch
outline resolver are kept per colour so a rebuilt Paper theme equals
the last.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A rebuilt Terminal theme never equalled the last one (AppDesignTokens,
AnsiAccents and the tab indicator compared by identity), so any host
rebuild (a detached window's title, a font notification) rebuilt every
Theme.of dependent and ran MaterialApp's 200 ms theme animation. Themes
are now cached per (design, brightness, font) and compare by value;
chat colour seeded schemes are cached too.
test/perf/design_bench_test.dart and tool/perf/design_bench.mjs check
every registered AppDesign against Default (tool/perf/README.md).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds the Paper design and generalises design tokens (transcript, composer,
selected-row styles, reading type, panel fill, chat colour saturation).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A detached chat window read the chat list once, before any saved machine had
connected, and never again; its pane also did not rebuild when the runtime
adopted a row. Without the row the header showed a bare "Chat" with no folder
or model, the window was named by the session id, and the chat's colour (bar
tint, focus ring, prompt bar) was missing. The window now re-reads the list on
each connection change and rebuilds on the runtime, as the Chat destination
does. It also re-reads the stored design and font on the browser's storage
event and on coming to the front, so a Settings change in the main window
follows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Artifacts badge counted every recorded turn document (input, memory,
output, session.html) while the tab lists only deliverables, so a run whose
visits recorded only debugging files (the Caplens ticket runs) badged dozens
of artifacts and opened to an empty tab. The badge and the header now count
deliverables only; the tab stays reachable when only debugging files exist
and ends with a collapsed 'Show debugging files' entry naming their count.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AppDesign builds each design's light and dark ThemeData with an
AppDesignTokens extension (corner radius, flat surfaces, frame colour,
ANSI accents, prompt glyph). Settings gains a Design picker stored per
device; the theme hosts rebuild live. Terminal is monospace (bundled
RobotoMono), near-black or paper, flat 1px frames with 3px corners, and
draws the chat transcript as prompt lines, tool dot/result lines and
bracketed follow-up lines. Default keeps its exact themes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The server now names a user turn's origin (followup, auto_continue,
auto_switch, scheduled) on chat messages, user frames and queued prompts,
from the prompt's operation id while it holds the prompt and from its own
text prefixes in history read later. Origin is a new field, so older
clients keep treating these as ordinary user turns.
The app draws an agent follow-up, auto-continue and account-switch prompt
as a quiet outlined card on the agent's side with an icon, label and the
schedule facts from the preamble; the operator's own scheduled message
keeps its bubble with a small Scheduled mark. Find searches the drawn text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The thread controller asks chat_subscribe to carry the newest history page
(history: true, limit 200) and applies it from the reply; a server that
leaves the page out is asked with chat_messages as before. Deltas arriving
before the reply are recorded from the start of the subscribe, and settle
against the page's live_seq exactly as for a separate read.
Also documents the subscribe history field and benchmarks the indexed page
at limits 20 and 100.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reading a history page parsed the whole session file (tens of MB) on every
chat_messages. A per-file index now records which lines build each shown
message; a page re-reads and replays only its own messages' lines, and the
index follows appends by reading only the new bytes. Results match the
whole-file read (compared page by page on synthetic transcripts); shapes the
index cannot replay exactly fall back to the whole-file read.
chat_subscribe may ask (history: true) for the newest page in its reply,
read once the subscription is attached, saving the client a round trip.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A left conversation stays subscribed on the server for the rest of the
connection, but the cached transcript was frozen when it was left. A reply
that arrived in the background only appeared after the reopened view's
subscribe and newest-page read (~1-2s over the network on large chats).
The cache now folds the session's chat events into the kept transcript,
so the reply is drawn the moment the chat opens; the page still replaces it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keeps the findings ledger, extra visits and on_exhausted=decide alongside the
run budget, failure classes, quota parking and error-loop backoff.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A stage refused for a Claude usage limit no longer fails its run: the
runner tries the chats' Claude account auto-switch (per-home setting) and
reruns the visit, else parks the run in the new waiting_quota status
(persisted, with reset/resume time in run summaries, details and events)
and resumes the same visit at reset + 1 min, also after a restart.
resume_run / `pipelines resume` resumes now; cancel works on parked runs.
The rerun visit gets a "# Previous attempt" interruption note. Subscription
limits no longer say "top up the provider account".
- run/retry into an account known to be limited are deferred (quota_policy
defer/refuse/now; CLI refuses under --json/--yes unless --defer or --now).
- failure_class on runs (quota, loop_exhausted, timeout, permission_denied,
harness_error, blocked, environment, canceled, interrupted, budget,
check_failed, other) in RunSummary/RunDetail/events, CLI inspect/runs/wait/
stats and the app failure line.
- Claude permission denials (permission_denials / refused tool results) fail
a blocked visit with permission_denied naming the tool use.
- Harness failures are classified transient vs deterministic; deterministic
ones (and a repeated empty readback) skip error self-loops; transient
self-loops back off 15 s, 1 min, 4 min.
- Whole-run USD budget: run --budget, server default (run-budget /
get/set_run_settings); 80% warning notification, stop with class budget.
- App: waiting_quota status/filter with resume time, Resume now and Cancel,
failure class wording. Docs and skill references updated.
Merges main (check stage, delivery gate, Claude stage restart survival,
schedule changes).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep both intents: check stages, allow_workspace_changes, outcome repair
counts and Claude stage re-adoption from main beside the findings gate,
resume_session, applyLimitOn and exhaustion decisions.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Runner-owned findings ledger per run: stages report a # findings section
(new items and F<n> status changes); stable IDs, persisted (run_loop_state),
in RunDetail.findings, findings.md, memory.md, inspect.
- type=findings gate stage routes open/clear on the ledger mechanically.
- retry --extra-visits N [--stage KEY] continues an exhausted loop; limits
on_exhausted=decide parks the run on accept/continue/abort.
- Essential memory cap 20 KB, task never truncated, handoff and open findings
ahead of the outcome ledger.
- Lint rejects limits.on outcomes on forward edges; warns on ineffective
limits and resume_session.
- A resumed retry carries the failed visit's output.md and private/ under
previous-attempt/.
- resume_session=true resumes a Claude stage's previous session on loop visits.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>