Commit Graph
17034 Commits
Author SHA1 Message Date
Jinjing 85cf99d726 Keep agent timestamps visible alongside dismiss controls 2026-11-12 23:46:29 -08:00
Jinjing b7e1cc3150 Simplify worktree sidebar icons and agent rows
- Generate monochrome icons that match the sidebar foreground
- Move agent model names into row tooltips to reduce clutter
2026-11-12 23:46:28 -08:00
Jinjing f941581d8b fix build 2026-11-12 23:46:28 -08:00
Jinjing 39f2570c93 Fix sidebar agent ownership and targeted title updates
Resolve unstamped agent sessions to their workspace runtime so sidebar
summaries and unread state follow the correct host. Limit title-change
invalidation to affected workspaces.
2026-11-12 23:46:27 -08:00
Jinjing 2338a9e329 Improve workspace sidebar icons and navigation
- Batch AI icon generation and add settings to customize and regenerate icons.
- Fix agent navigation and unread handling across execution hosts.
- Keep linked reviews visible while loading and reduce unnecessary refresh work.
2026-11-12 23:46:27 -08:00
Jinjing 64a553dba7 wip 2026-11-12 23:46:26 -08:00
Jinjing 8373053621 fix issues 2026-11-12 23:46:25 -08:00
Jinjing 49699a13ba wip 2026-11-12 23:46:24 -08:00
Jinjing dee296f6bf Improve worktree card interactions and spacing
- Let users toggle cards by clicking their headers.
- Delay details until the pointer rests to avoid accidental popups.
- Add breathing room around card content.
2026-11-12 23:46:24 -08:00
Jinjing d68c5ddc2d fix commit 2026-11-12 23:46:24 -08:00
Jinjing bbb54c1e06 fix style 2026-11-12 23:46:23 -08:00
Jinjing fb88816af5 wip 2026-11-12 23:46:23 -08:00
Jinjing 7c756ab69d wip 2026-11-12 23:46:22 -08:00
Jinjing 554930991d wip 2026-11-12 23:46:21 -08:00
Jinjing c75caaac39 final worktree design 2026-11-12 23:46:21 -08:00
Jinjing 1d9b75448b Show every status in the sidebar card corner and let cards open and close
The title-row corner now shows one glyph per status the card speaks for
(needs, failed, unread, working), most urgent first, followed by the time,
instead of only the most urgent one. Each glyph opens its own sources.
Collapsed child workspaces report all their statuses through a flat,
shallow-comparable record.

Experimental 2.0 cards can also be opened and closed; a closed card's
title slot speaks for its hidden agents and children.
2026-11-12 23:46:20 -08:00
Jinjing c89175b295 Enable navigation from worktree sidebar activity indicators
- Open the matching agent or workspace directly, or choose among multiple sources
- Use host-qualified identities for nested workspace activity
- Show pull requests in 2.0 card details and refine compact card layout
2026-11-12 23:46:20 -08:00
Jinjing 4dda2e7204 Show child workspace status counts in sidebar cards
Distinguish monitoring agents and refine lineage alignment so workspace
activity is easier to scan.
2026-11-12 23:46:19 -08:00
Jinjing b621e9a844 Expand sidebar agent lines with subagents and remote host status
- Show subagent activity, send targets, and unread signals in slot cards
- Identify remote hosts and provide SSH reconnection controls
2026-11-12 23:46:18 -08:00
Jinjing 1c9de88f1c wip 2026-11-12 23:46:17 -08:00
Jinjing a204cdf171 Reduce worktree card metadata indentation 2026-11-12 23:46:16 -08:00
Jinjing 01e7dea42d Improve experimental worktree cards with compact agent summaries
- Add an optional details row for workspace metadata and indicators
- Roll up descendant activity timestamps to parent cards
2026-11-12 23:46:15 -08:00
Jinjing bf52b99115 wip 2026-11-12 23:46:15 -08:00
Jinjing af6526c041 wip 2026-11-12 23:46:14 -08:00
Jinjing 4880983d43 wip 2026-11-12 23:46:14 -08:00
Jinjing 5d4b66cb17 fix(computer): bound subtree snapshot retention across repeated reads (STA-15107) (#41832)
* fix(computer): bound subtree snapshot retention across repeated reads (STA-15107)

* perf(computer): bucket subtree identities and combine root regression

* fix(computer): retain elided roots and keep unique-ID reads fast
2026-11-12 23:44:49 -08:00
OrcaWinandOrcaWin 2d9ec3224c fix: keep delete dialog status stable during catalog refreshes (#41864)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 23:37:51 -08:00
OrcaWinandOrcaWin bd7abcb361 test: remove simulated tool-run layout suites (#41885)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 23:37:01 -08:00
NeilandClaude b656079142 fix(wsl-hosts): skip the running-distro probe when no WSL distro is registered (#41868)
Without WSL installed, Windows' wsl.exe stub opens the installer and a UAC prompt.
The WSL host distro list read the registry and ran wsl.exe --list --running in
parallel, so opening Add WSL host (and every window refocus while it was open)
spawned wsl.exe even with nothing to annotate. Read the registry first and only
probe running state when a user distro is registered.

Refs #40771

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 23:34:34 -08:00
Neil 047e2c4114 fix(wsl): write the Claude account pointer through stdin, not an empty argument (#41869)
wsl.exe --exec refuses an empty argument with Wsl/Service/E_INVALIDARG. When a
managed WSL Claude account exists but the distro is on System default, the
pointer content is the empty string, so every Claude launch in that distro
failed before its terminal spawned. This hits both Windows-driven WSL panes
and WSL hosts, whose account env is prepared by the desktop.

Fixes #41160
2026-11-12 23:31:09 -08:00
Jinjing 3beb5b58ae perf(orchestration): a paired server's pull loop checks only its own rows each pull (STA-15102) (#41834)
peerMailRelayWants ran every pull-loop iteration and rebuilt the global set of
servers (SELECT DISTINCT over every remote_run_links row, closed history
included, plus home conversations) to answer one boolean for one server.
It now asks about that server only, each an index seek on existing indexes.
2026-11-12 23:24:38 -08:00
OrcaWinandOrcaWin 1c78f83d88 test: remove terminal close and import setter projection suites (#41883)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 23:23:36 -08:00
Neil 9c7800d140 refactor: organize feature wall by concrete owners (#41875) 2026-11-12 23:21:03 -08:00
Neil 7582371078 perf: resolve launch preference owner without building route (#41803) 2026-11-12 23:14:54 -08:00
OrcaWinandOrcaWin a0fc70d291 test: remove low-value repo notifier and schema cache suites (#41877)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 23:12:20 -08:00
Jinjing 6b160abe52 feat(macos): redesign Full Disk Access toast with prompt count illustration (#41849)
* feat(macos): redesign Full Disk Access toast with prompt count illustration

* fix(macos): stack FDA toast actions on narrow cards so the button never overflows
2026-11-12 23:07:37 -08:00
Brennan BensonandClaude Opus 5.5 842e4e0077 perf(native-chat): draw only the visible rows of an opened tool run (#41552)
* perf(native-chat): draw only the visible rows of an opened tool run

An opened tool run rendered every call it held, so a long autonomous stretch
kept thousands of rows, their DOM and their per-row state alive while only a
dozen were visible in the run's capped box.

The run now owns a keyed window over its rows (the shared TanStack
virtualizer plus the existing row+offset scroll anchor):
- rows keep today's keys and order; small runs and Find-with-a-query draw
  every row through the same keyed tree, so nothing remounts at the switch
- the reader is remembered as a row and offset (pixel top while unmeasured),
  following the end only for new work, and forgetting on close as before
- the box's cap keeps the measured height of opened details, including ones
  scrolled out of view; the full task list now remembers its open state
- the first/last rows, a diff reveal target, recently interacted rows, the
  focused row's Tab neighbours and a text selection's span stay drawn

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): finish tool-run follow, keep reveals, bound per-move work

Review repairs for the windowed tool run:
- a follow started by new work always gets its completion frame, so a
  result that adds no row cannot leave it armed to chase later detail growth
- the row anchor restores only when rows arrive or the pane shows again,
  so a diff reveal or the reader's own scrolling is not pulled back
- opened-detail room is kept incrementally and travels with the run's
  remembered position across outer windowing
- focus neighbours, item keys and window rows no longer cost work per move
  proportional to the run's length; selection is tracked only while visible
- thoughts with no words are not keyboard stops; the restored row stays
  drawn until the reader moves

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): finish hidden follows, let reveals win, keep draw-all scrolling free

Second review repair for the windowed tool run:
- a follow is certified only by a real, visible tail measurement, and that
  measurement wakes it even when no size changed; a hidden pane resumes it
- a diff reveal cancels any pending restore and follow on every request
- a hidden pane returns to its row (not its reset pixel offset) on show
- draw-every-row mode (Find, short runs) rebuilds nothing as the reader
  scrolls; selection spans re-derive after the pane was hidden
- remembered detail heights are copied only when one changes

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): certify a tool-run follow only by a laid-out tail

A follow's landing is confirmed only when the last row that draws something
has a real, non-zero size; a measurement callback carrying a cached or zero
size no longer ends it early, and a run whose rows draw nothing has no
landing to wait for.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): keep draw-all tool runs cheap per scroll and prove follow wake paths

Draw-all (Find) no longer records the scroll anchor or rebuilds the selection span
on every scroll, and its trailing spacer skips the end scan. Tests now cover a task
list crossing the window threshold and Find, and pin both follow-completion paths.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): skip anchor scans under a wide selection and recover the reader's row after

A selection wider than a window keeps its rows drawn, so recording the anchor on
each scroll would scan them all; recording now waits, as it does under Find. The
reader's row is then taken from the virtualizer's offsets when recording resumes
or the pane hides, so showing it again does not return to an older row.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): type the tool-run selection-span gate and settle the anchor on hide

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): merge duplicate tool-run window import

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* chore(native-chat): prune the structured session's compiler bailout after the main sync

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): keep the tool-run measurement callback current without a render-time ref write

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): keep a reader who jumps past an open run's drawn rows where they jumped

The window redraws inside the scroll that moves it, and a restore still pending
from earlier work could run first and send the reader back to the row they left.
The reader's own scroll now points the anchor at their row from the window's
offsets before that redraw.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): re-point the anchor on reader scrolls only while the run is windowed

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): keep a hidden tool run's saved row from its box's reset offset

A hidden box resets its offset and may report that as a scroll or as the offset
at unmount. Scroll recording (the run's and the anchor hook's) and the hook's
unmount record now wait while the pane is hidden, so the row kept at hide time is
the one a returning reader lands on.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): give an opened tool run sole ownership of its reader's place

The run and the shared scroll-anchor hook each decided when a saved row still owned
the box, and each local exclusion left another path for a stale restore or capture.
The run now keeps one row-and-offset place from the window's full measurement model,
admits a landing only on mount or show, lets every reader scroll retire pending
work first, records nothing while hidden, and takes a reveal before any landing.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): confirm every tool-run landing correction and model the browser's scroll report in tests

A real change (size, row list, the held row's measurement) now grants a landing a
fresh, bounded confirmation budget, so a correction made after an earlier budget ran
out is still confirmed. A pending landing's own writes no longer re-arm following.
The reader harness delivers the scroll event a browser sends after an offset change.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* test(native-chat): keep the reveal-return case on one memory record and before the reveal's scroll report

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* test(native-chat): return the reader harness's scroll writes to their earlier behaviour (rig-stop ruling)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): keep a revealed file's own row as the tool run's saved place

A reveal now records the card's row and offset from the page as the card aligns,
rather than reading the window's size model, which may still hold that row's
collapsed height. Remount tests report the landing's own scroll the way a browser
would; the pinned reveal case needs no report.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): read an opened tool run's reader place from the rows actually drawn

The window's size model can hold a row's old height for a frame after it grows, so a
scroll report read through it could record a later row than the reader sees. Capture
now takes the row at the box top from the drawn rows' own geometry, found by a binary
search over the run's in-flow children, and uses the model only where the top lies in
an undrawn gap; a box with no geometry keeps the last place.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* test(native-chat): type the reader-position owner test's rows without assertions

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-12 23:06:24 -08:00
OrcaWinandOrcaWin a5f68e9d4f test: remove tab-switch mock projection suite (#41872)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 23:00:13 -08:00
Neil d2e2c788a5 refactor: organize WSL guest modules by concrete ownership (#41852)
* refactor: organize WSL guest modules by concrete ownership

* chore: link historical relay evidence to the moved command

* chore: prune retired guest test timing debt
2026-11-12 22:49:12 -08:00
OrcaWinandOrcaWin 1f4ab5b631 test: remove synthetic mailbox and admission pipeline cases (#41863)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 22:46:06 -08:00
OrcaWinandOrcaWin 9103a362db test: remove 13 low-value workspace teardown cases (#41851)
* test: prune teardown warning and mock projection cases

* test: prune redundant unstopped PTY projections

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 22:26:57 -08:00
Jinjing c68da3937f fix(ui): 36px rows and 13px text in agent launch menus (#41853)
* fix(ui): make agent launch menu rows 36px with 13px text

* fix(ui): keep muted empty-state styling inside the launch row
2026-11-12 22:24:26 -08:00
Kelvin Amoaba d073801990 fix(automations): release a run terminal the user closed on the next tick (#41846)
The retention sweep trusted a closed pane's still-resolvable handle, so a
closed run terminal kept its ids and blocked the automation-run cleanup
reason. runOwnHandle now also requires the PTY's exit verdict, and a slept
pane keeps its keys while the layout still binds the run's PTY.
2026-11-13 06:16:22 +00:00
OrcaWinandOrcaWin 1cd89abca4 test: remove five low-value runtime pipeline suites (#41844)
* test: remove runtime projection suites with low-value fixtures

* test: remove simulated mobile and worker observation pipelines

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 22:11:20 -08:00
OrcaWinandOrcaWin b0c0377664 test: remove subprocess and mobile navigation projections (#41842)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 21:49:42 -08:00
Jinjing 466937ab54 Improve browser performance (#41830) 2026-11-12 21:37:09 -08:00
Jinjing e9e4de1d27 fix(notifications): lift toasts and corner cards onto a shared notice surface (#41628)
* fix(notifications): lift toasts and corner cards onto a shared notice surface

* fix(notifications): keep corner-card shadows unclipped and match the StarNag toast

* fix(notifications): keep the stack's scrollbar on screen and its overflow off the status bar

* fix(notifications): collapse stack shadow room while scrolling and paint lower cards above upper shadows

* fix(notifications): pair re-pointed surfaces with popover foregrounds and keep close-hover border

* fix(notifications): keep notice text readable on plugin themes and catch card growth in a capped stack

* fix(notifications): track stack cards from mutation records and tidy test types

* fix(notifications): check painted notice colors and outline unfilled secondary buttons

* fix(notifications): paint app-theme notice colors as the exact hex measured, with a one-step margin

* fix(notifications): keep muted panels on the notice surface's polarity for app themes

* fix(notifications): keep toast descriptions and outline buttons readable on notice surfaces

The surface lift now also keeps the 80% toast description blend readable, so
mid-gray dark popovers no longer drop descriptions under 4.5:1. The notice scope
remaps --background with --foreground, so outline buttons keep a dark surface
under light popover text in light-base themes with dark popovers.
2026-11-13 05:36:13 +00:00
OrcaWinandOrcaWin 86cacb133c test: remove low-value runtime, daemon, and automation cases (#41839)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 21:34:24 -08:00
Neil 98bcd7943a refactor: organize text generation around concrete owners (#41838)
* refactor: organize text-generation modules around concrete owners

* refactor: combine imports from the defining CLI command owner
2026-11-12 21:30:08 -08:00
Jinwoo Hong 479f564829 perf(orchestration): rank empty-check hint candidates in one pass over the Run (#41779)
* perf(orchestration): rank empty-check hint candidates in one pass over the Run

* perf(orchestration): take the oldest candidate without spreading arguments
2026-11-13 00:18:52 -05:00