Commit Graph
3944 Commits
Author SHA1 Message Date
Brennan BensonandClaude Opus 5.5 45c384d108 perf: save browser extension storage off the main thread (#42189)
* perf: save browser extension storage off the main thread

chrome.storage.sync and declarativeNetRequest state saved each dirty
extension with two synchronous fsyncs on Electron's main thread after a
250 ms debounce, freezing the UI ~10-25 ms per extension per burst.

Writes and forget deletes now share one ordered background queue (the
common pattern): memory stays the source of truth, deletes complete
before later writes of the same key, failed deletes keep blocking them,
and callers await deletes before recording cleanup. Quit closes the
stores last and waits for their final save, as the old synchronous
will-quit save did.

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

* fix: settle every extension storage delete before the next save

A multi-file forget now waits for all its deletes before reporting, so a
still-running delete can't erase a later save; file deletes get Node's
busy-file retries; finished deletes retire in one pass.

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

* fix: skip stray files when deleting an extension's storage

A .DS_Store beside the profile folders made every removal fail with
ENOTDIR, which now also held that extension's saves back.

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

* test: check extension storage saves leave the caller's turn

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-14 00:59:54 -08:00
Neil c6ee2a7ad6 refactor(projects): group project surfaces by feature owner (#42339) 2026-11-14 00:50:10 -08:00
Neil 6dfb813504 refactor(sidebar): group panels and review state by owner (#42332) 2026-11-14 00:32:01 -08:00
OrcaWinandOrcaWin 120e55a818 test: remove low-value removal and lifecycle examples (#42329)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 00:18:39 -08:00
Neil 16f8b0461b refactor(editor): group core modules by feature owner (#42325) 2026-11-14 00:10:17 -08:00
Neil 48e3da9231 refactor: organize editor document and viewer modules (#42310) 2026-11-13 23:36:10 -08:00
OrcaWinandOrcaWin 30e94b4ad0 test: remove low-value navigation and recovery coverage (#42319)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 23:23:58 -08:00
OrcaWinandOrcaWin b9b4a115c5 test: remove low-value CLI dashboard and browser examples (#42316)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 23:03:02 -08:00
OrcaWinandOrcaWin 19e400856a test: remove low-value mobile runtime and utility suites (#42315)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 22:53:07 -08:00
Brennan Benson 02f30c3f1b Run Archive scripts for project-group folder workspaces (#41687)
* feat: run setup and archive hooks for group folder workspaces

* fix: align group workspace owners and create result consumers

* chore: carry terminal extraction allowances through validation

* fix: remove extracted terminal import cycle and refresh deletion fixtures

* fix: show group setup settings in project navigation

* Run Archive scripts before removing group folder workspaces

* Tighten workspace record read allowance after removal extraction

* Correct Archive waiver regression expectation

* Complete Archive hook settings test fixture

* Refresh group hook Settings when runtime contact returns

* Cover group hook support across replacement pairings
2026-11-13 22:36:57 -08:00
OrcaWinandOrcaWin 15d4bd1d1a test: remove mobile and transport helper suites (#42306)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 22:25:47 -08:00
Neil 6ff736b828 refactor: organize dashboard and popout modules by owner (#42302) 2026-11-13 22:11:46 -08:00
OrcaWinandOrcaWin 9e42fe12a2 test: remove low-value boundary and utility suites (#42304)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 22:07:25 -08:00
OrcaWinandOrcaWin 7af5cbfe65 test: remove synthetic scheduler and routing examples (#42299)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 21:56:16 -08:00
Brennan Benson 1ca705d5f4 Skip unchanged managed Codex launch preparation (#42225)
* Skip completed Codex launch preparation when inputs match

* Stop validation work once preparation cannot be reused

* Combine file observation imports for code quality checks

* Use annotations for preparation test controls

* Read preparation snapshots asynchronously and refresh context after waits

* Reuse Codex configuration preparation at the actual launch boundary
2026-11-13 21:52:03 -08:00
OrcaWinandOrcaWin 60b6db23c4 test: remove low-value UI and process suites (#42297)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 21:44:51 -08:00
OrcaWinandOrcaWin b7f6fe3cee test: remove redundant browser and runtime mock suites (#42292)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 21:09:07 -08:00
OrcaWinandOrcaWin d06458173d test: remove low-value relay, workspace and UI suites (#42288)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 20:59:03 -08:00
OrcaWinandOrcaWin 8ee811174f test: remove mock-only suites and native text-entry harness (#42283)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 20:45:01 -08:00
OrcaWinandOrcaWin a899d48611 test: remove mock-only suites and brittle harness assertions (#42281)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 20:32:47 -08:00
Neil 4dbfc70cb4 chore(test): load Vitest config as native ESM to drop configLoader warning (#42266)
* chore(test): load Vitest config as native ESM to drop configLoader warning

* chore(test): use rewriteRelativeImportExtensions so type-aware lint accepts .ts imports
2026-11-13 20:12:19 -08:00
OrcaWinandOrcaWin 98d73ddcae test: remove low-value sidebar and UI suites (#42273)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 20:00:45 -08:00
Jinwoo Hong 2a6e96b522 fix(mac): give the terminal host the app's executable UUID (#42270)
macOS Local Network caches one executable UUID per bundle id, and the terminal host shares the app's bundle id. With a UUID of its own the cache flips between the two, which blocked some connections and prompted again after an update. Give the host exactly the main executable's UUID per CPU type, and check that in packaging and after notarization.
2026-11-13 23:00:25 -05:00
Brennan BensonandClaude Opus 5.5 956af75404 perf: window agent dashboard cards (#41372)
* perf(dashboard): window agent board lanes instead of mounting every card

Each dashboard lane now renders its cards through a measured per-lane
virtualizer in the existing scroller, so opening a board with thousands of
cards mounts only the viewport, overscan and a constant set of pinned cards
(lane first/last, last focused, dialog opener, pending Tab target).

Search, filters, grouping, counts, dialog routing and acknowledgments still
run on the full card arrays. Subagent disclosure moves to lane-owned state so
it survives scrolling away and resets when the card leaves the lane, as the
old unmount did. Tab and Shift+Tab bridge to the logical neighbour card when
native order would skip to a distant pinned card.

The workspace board's single-index range extractor is generalized into a
shared pinned-index extractor with the same behavior for its caller.

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

* perf(dashboard): keep the lane card list compiler-compatible

Move the lane virtualizer into its own hook so the card list compiles, and
prune lane disclosure/focus keys during render instead of in an effect.
Give the dashboard destination integration test a lane viewport, since
cards now mount only inside the measured window.

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

* chore(dashboard): record isolated virtualizer compiler diagnostic

* perf(dashboard): preserve layout identity and retire departed measurements

* fix(dashboard): reveal the focused edge of tall cards

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-13 19:33:03 -08:00
OrcaWinandOrcaWin 6f43f12837 test: remove mock-only notification and IPC suites (#42263)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 19:26:31 -08:00
OrcaWinandOrcaWin d7c6ab1852 test: remove mock-only editor, IPC status and startup suites (#42258)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 19:14:21 -08:00
Neil 2ba3f6f6b4 fix(mac): give the terminal host its own executable UUID so Local Network access works in terminals (#42245)
Orca terminals run under the signed helper, whose executable was stock Node,
sharing its LC_UUID with every install of that Node build. macOS Local Network
privacy maps a responsible process to an app by that UUID, so terminals could be
attributed to another program and blocked from the LAN while Orca showed allowed.

Rewrite the helper executable's UUID during assembly (same scheme as #41676),
and fail packaging and the release check if it drifts.

Fixes #21988
2026-11-13 19:03:23 -08:00
Kelvin Amoaba a406364654 fix(computer): click, set and scroll Windows buttons, text boxes, combo boxes and lists without bringing the window forward (#42237)
* fix(computer): press, set and scroll Windows native controls without activating the window

Measured on Windows CI: UI Automation's Invoke, Toggle, ValuePattern and
ScrollPattern focus a background WinForms control first, which activates its
window. Native controls now go through their own messages instead, each
owner-checked: BM_CLICK for buttons, check boxes and radio buttons, select-all
plus EM_REPLACESEL for set-value on edits, CB_SETCURSEL with CBN_SELCHANGE for
combo boxes (exact-text match, read back after the app's handler runs) and
LB_SETTOPINDEX for list box pages.

* fix(computer): refuse read-only Windows documents before typing keys, document the caret fallback

* fix(computer): keep Windows native routes to measured controls and refuse partial writes

BM_CLICK only for WinForms buttons, multi-column lists stay on ScrollPattern, a
list already at its end reports success, edits refuse text past their limit,
the combo's owner is checked right before the selection, a cleared selection
reads as a mismatch and a disabled control is element_not_enabled.

* fix(computer): hold Windows edit limits without a readback, require a complete combo search

* fix(computer): read a long Windows edit's length from the field for its limit check

* test(computer): share the Windows fixture action helpers
2026-11-14 02:45:10 +00:00
Jinjing a8f6e79631 Improve workspace sidebar cards and activity status (#41894)
* wip

* wip

* wip

* wip

* 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

* Reduce worktree card metadata indentation

* wip

* 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

* Show child workspace status counts in sidebar cards

Distinguish monitoring agents and refine lineage alignment so workspace
activity is easier to scan.

* 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

* 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.

* final worktree design

* wip

* rm

* wip

* wip

* fix style

* fix commit

* 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.

* wip

* fix issues

* wip

* 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.

* 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.

* fix build

* 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

* Keep agent timestamps visible alongside dismiss controls

* Fix worktree icon regeneration and bound the cache

Cancel stale requests when clearing icons so older results cannot
restore the previous cache. Evict unused renderer entries to limit
memory growth.

* Unify experimental workspace cards around title status

- Surface hidden agent and child workspace activity in the card title.
- Retire the second experimental layout and AI-generated icons.
- Preserve existing experimental card selections and add a details row option.

* wip

* wip

* wip

* fix bugs

* improve perf

* Fix sidebar lineage rollup: unread dot on children, running status on collapsed parent

- A card's unread dot and bold title now include its own visible agent rows'
  unread results, so expanding a parent reveals which child the unread came from.
- A collapsed parent's status lane shows the most urgent descendant state
  (needs you > failed > working) when it beats the parent's own status.
- Host-scoped workspace unread markers and related attention fixes.

* Improve sidebar activity rollup performance

- Refresh only stale descendant slots and scope unread updates to their workspace.
- Share agent row projections and index unread markers to reduce repeated work.
- Preserve host-specific agent activation and show the latest activity time.

* wip

* Fix sidebar attention state and optimize slot invalidation

- Preserve unread flags raised by users or earlier sessions when markers clear.
- Scope agent list expansion to each host.
- Track displayed panes and freshness deadlines to limit slot updates.

* wip

* Fix sidebar workspace status and host ownership

- Keep agent navigation and unread state scoped to the correct host,
  including paired SSH workspaces and runtimes.
- Correct collapsed lineage status, stale review display, and settings
  synchronization while reducing unnecessary sidebar refreshes.

* Show unread agent completions and scope workspace reads by host

* fix compile issue

* wip fix static checks

* wip

* Fix workspace sidebar agent ownership and PR display

- Update agent rows when terminal host bindings arrive and preserve
  local ownership for unstamped retained completions.
- Keep newer hosted PRs visible when an older merged PR is cached.
2026-11-14 02:41:25 +00:00
Kelvin Amoaba e2fb873c0a fix(computer): type into Windows text boxes without bringing the window forward (#42165)
* fix(computer): type into Windows text fields without raising the window

Adds type-text --element-index on Windows through EM_REPLACESEL for user32,
RichEdit and WinForms edits (owner-checked, read back with WM_GETTEXT), or a
ValuePattern write merged with the TextPattern selection. Keyboard verbs on a
background window now refuse with background_unavailable before sending
anything and point at type-text --element-index. Foreground typing uses one
SendInput KEYEVENTF_UNICODE batch instead of WM_CHAR posted to the top-level
window, and get-app-state shows multiline edit text again.

* fix(computer): refuse typing into Windows list items, keep the caret on a confirmed prefix
2026-11-14 01:28:30 +00:00
Kelvin Amoaba ee49c567dc fix(browser): keep print and Windows Hello dialogs an agent sets off from taking the screen (#42209)
window.print() opens the system print dialog and, on Windows, a passkey request
opens Windows Hello. Both are modal windows that take the foreground, and an
agent click could set either off over the user's work. Main now tells each
page's frames whether an agent drove it since the desktop user last gave it
input, and the session frame preload refuses print() on such a page (reported
to the agent as effects.blockedPrint, pointing at pdf) and, on Windows, holds
its passkey requests unsent, still reported as passkeyRequest. The user's own
input releases the page and cancels held requests so the page can retry.
2026-11-14 01:15:23 +00:00
OrcaWinandOrcaWin 404c3de880 test: remove low-value startup and account coverage (#42206)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 17:08:26 -08:00
Brennan BensonandClaude Opus 5.5 e5e4f6f4c9 perf(pickers): window the Automations and Skill install workspace pickers (#41396)
* perf(pickers): window workspace comboboxes and the Cmd+J result list

The Automations and Skill install workspace comboboxes mounted one cmdk row
per workspace while open, and the Cmd+J result list mounted every capped
section row plus each See more page. cmdk moves the highlight, runs Enter and
publishes aria-activedescendant by querying mounted rows, so these lists could
not be windowed while cmdk owned selection.

Each surface now owns its highlight over the full ordered result list:
movement keys follow cmdk's bindings over every result, Enter and click share
one activation path, and the input's aria-activedescendant names the
highlighted option, which stays mounted. Rows render as plain listbox options
outside cmdk's registry and only the visible window mounts (TanStack
virtualizer; Cmd+J keeps natural layout below 50 rows). Filtering, ranking,
section caps and See more are unchanged.

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

* refactor(pickers): share the windowed command virtualizer and keep the compiler gate

Move the active-option pin and command-list reveal padding into one hook used
by all three surfaces, keep virtualizer consumers out of React Compiler like
the other TanStack lists, and express the dialog row styles and the flush skill
rows as command variants.

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

* chore(pickers): record the windowed command virtualizer hook's compiler bailout

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

* fix(pickers): keep virtualizer geometry across scrolls and match prior highlight/IME behavior

- Stable per-list key/size getters so scrolling and hovering no longer rebuild
  every row's virtual geometry.
- Moving the pointer over the already-highlighted option does no work.
- Jump to… numbers every rendered option, disabled ones included.
- The task Cmd/Ctrl+Enter shortcut ignores IME composition keys.
- The skill install workspace picker opened with nothing chosen highlights the
  first workspace again.

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

* fix(pickers): let the shared virtualizer own row key identity

Callers now pass their ordered row keys; the shared hook keeps one key array
per ordered sequence and derives the key getter from it, so a list rebuilt
with the same rows (for example after an unrelated workspace metadata update)
no longer forces a full geometry rebuild, while real reorder, insert, remove
and filter changes still do.

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

* fix(pickers): keep the row See more selects in view when Jump to… starts windowing

Crossing 50 rows through See more switches the list to windowed rendering;
reveal the newly highlighted row after that commit so it stays on screen as
it did before.

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

* perf(pickers): keep Jump to… on its original list; window only the two workspace pickers

The real-app benchmark showed no meaningful gain for the Jump to… results
(they rarely reach 50 rows), and windowing them changed the See more
behaviour at the threshold. Restore Jump to… exactly as on main and keep the
windowed list, model-owned selection and option primitive for the Automations
and Skill install workspace pickers, which measured clear wins.

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-13 17:03:58 -08:00
Brennan Benson 70525610f7 Keep remote browser certificate warnings actionable (#41235)
* Preserve remote browser certificate warnings through navigation

* Apply current remote observations at the session boundary

* Document array proxy forwarding in the performance contract

* Keep remote browser failure fallbacks within current observations

* Defer remote observation reads to lifecycle callbacks

* Apply remote page observations without preempting pending outcomes

* Preserve command loading ownership across partial page updates

* Reuse browser host identity within each mirror record

* Explain transparent record access in the loading contract fixture

* Keep adoption fixture aligned with remote loading session

* Name the remote navigation fixture return contract
2026-11-14 00:52:46 +00:00
Jinjing 9f956312e3 perf(hooks): skip lint-staged's serial worktree walks in pre-commit (#42184)
lint-staged 16.4.0 walks the whole worktree several times before any
linter runs. On a cold stat cache that made small commits take over a
minute. Extend the existing lint-staged patch:

- getDeletedFiles: replace the serial `ls-files --deleted` with
  `diff-files -D` (parallel preload, fsmonitor bypassed) plus
  assume-unchanged entries, filtered by the same lstat rule, so the
  deleted-file contract is unchanged.
- getUnstagedFiles: `status --untracked-files=no`; the `??` lines were
  already discarded.
- config discovery: list tracked config files only. A nested config
  must be tracked or staged to apply; untracked configs at the repo
  root are still found.

Run lint-staged directly from the hook; husky already puts
node_modules/.bin on PATH, so `pnpm exec` only added startup time.
2026-11-13 16:33:59 -08:00
Brennan Benson 03c828eece Run setup scripts for project group folder workspaces (#41744)
* Add setup scripts for project group folder workspaces

* Align setup regression fixtures and catalog read validation

* Target the Advanced disclosure in group setup regression

* test: initialize project groups in worktree slice fixture

* Preserve group setup startup input across paired hosts

* Check paired group startup regression in cross-layer project

* Restore group setup settings when saving fails

* Wait for group agents to accept startup input

* Type the group startup readiness fixture foreground state

* Give group startup fixture mocks portable public types

* Reuse worktree startup for group folder setup

* Keep example shell regression while removing obsolete observer tests

* Complete launch runtime fixture PTY options

* Exercise terminal startup failure and worktree draft paste in parity tests

* Preserve repository type defaults for setup commands
2026-11-13 15:37:54 -08:00
Brennan Benson f28d4ab797 Reuse executable paths for Mac process launches (#42155)
* Reuse resolved executable paths for Mac process launches

* Keep synchronous launch wrappers covered by the ratchet

* Explain executable launch type assertions

* Remove resolved Git imports from the direct-launch baseline

* Keep native spawn cancellation on the native lookup path
2026-11-13 15:35:33 -08:00
OrcaWinandOrcaWin cb381e0ac4 test: remove redundant browser recovery coverage (#42178)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 15:21:00 -08:00
OrcaWinandOrcaWin 16093f1ff5 test: remove redundant browser suites and adapter workflows (#42154)
* test: remove redundant browser policy and migration suites

* test: remove duplicate cross-context Electron identity probe

* test: remove repeated browser prompt adapter workflows

* test: drop synthetic browser RPC integration harness

* test: prune ratchet entries for removed Electron probe

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 14:04:56 -08:00
Brennan Benson 42d9f4e042 Name terminal agent hosts separately from Orca (#41848)
* Name terminal agent hosts separately from Orca

* Account for one startup process naming write

* Use the Node runtime for the Linux naming contract
2026-11-13 13:46:07 -08:00
Neil 54590ba35e refactor: organize terminal store modules by lifecycle owner (#42124)
* refactor: organize terminal store modules by lifecycle owner

* fix: align retirement validation with moved owners
2026-11-13 13:19:21 -08:00
Jinjing 5e07432139 fix(dev): omit search opt-in when seeding profiles (#42137) 2026-11-13 13:09:55 -08:00
Brennan Benson ff90d6cc68 Keep restored browser tabs from coming back blank (#41490)
* Keep restored browser destinations until requested navigation completes

* test(browser): follow moved orcad page commands
2026-11-13 12:19:08 -08:00
Neil 587562e862 refactor: organize shared sidebar list modules by domain (#42107) 2026-11-13 12:12:51 -08:00
OrcaWinandOrcaWin 13ed693f46 test: remove low-value mobile suites and redundant cases (#42118)
* test: remove low-value mobile chat and lint cases

* test: remove redundant mobile task and terminal suites

* test: remove terminal inventories and recording harness smoke suites

* test: remove redundant mobile transport and worktree cases

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 12:08:57 -08:00
Kelvin Amoaba 255e5c21f5 feat(native-chat): open a subagent in its own view with its prompt, steps and reply (#42066)
* feat(native-chat): open each subagent in its own view inside the chat pane

Clicking a roster entry, an agent in the agents strip or a subagent row in
the sidebar now opens that subagent's own rows in the chat pane, with a bar
to switch between agents and a status bar with its state, Stop and the way
back in place of the composer. Subagent rows are no longer inlined in the
main transcript, which stays mounted underneath so going back keeps the
reader's place. The inline-section machinery is removed.

* fix(native-chat): close a subagent's hover preview when its view opens, and name the strip's open action

An open preview stayed over the subagent's view after its roster row was
hidden, and took the view's first Esc. The agents strip's label now says
it opens the agent rather than showing it in the conversation.

* feat(native-chat): show what the main agent asked a subagent and its reply in the subagent's view

A subagent's view now opens with the prompt the main agent gave it, folded
past a few lines, and ends with its final reply once it settles. Claude's
prompt and reply come from the Agent call its run names; Codex's prompt
comes from the spawn call naming the child, and its reply is already its
last own message.

* chore: drop the deleted delegation file from the node tsconfig and record the removed compiler bailout

* fix(native-chat): subagent view UX round: focus, endings, nested path, status glyphs

Going back hands focus to the entry or strip row that opened the view, else
the composer. Only a completed subagent ends with a reply; a failed one shows
its error and a stopped one says it stopped. Nested subagents get their spawn
path as a breadcrumb, and Back and Esc go to the parent. Every surface uses
the agents strip's status glyph, states lead capitalised and tokens carry
their unit, entries show that they open, the switcher marks the current
agent and numbers unnamed ones, and the status bar fits narrow panes.

* fix(native-chat): switch subagents from the switcher by pointer, and open no preview on handed-back focus

The switcher's modal-less menu closed on pointerdown before the item could
take the click; it is modal now. Focus handed back to a roster entry after a
pointer Back no longer pops its hover preview; keyboard focus and hover still do.

* fix(native-chat): fit the subagent view to main's tool-run provider, install slot and exhaustive state switch

* fix(native-chat): keep a subagent's full reply when its last message is only the start of it

* fix(native-chat): translate the subagent back label with useTranslate so it follows the language
2026-11-13 20:08:08 +00:00
OrcaWinandOrcaWin 44689147f8 test: remove low-value mobile and lint suites (#42108)
* test: remove low-value mobile and lint suites

* fix: keep Git runner within lint budget

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 11:58:36 -08:00
Neil 17a1dc373b refactor: group shared worktree modules by feature (#42093)
* refactor: group shared worktree modules by feature

* refactor: retarget new worktree admission test to moved owner
2026-11-13 10:59:36 -08:00
OrcaWinandOrcaWin 65055509d6 test: remove low-value mobile suites and redundant native input coverage (#42098)
* test: remove low-value mobile and native input cases

* test: prune redundant mobile suites and verify native receiver contents

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 10:48:53 -08:00
Brennan Benson db0e024fed perf(session-search): bound retention cleanup and separate purge timings (#41948)
* perf(session-search): target orphan cleanup and separate purge timings

* chore(session-search): document database row type guarantees

* chore(session-search): allow bounded worker SQL call sites
2026-11-13 10:47:10 -08:00