Commit Graph
20526 Commits
Author SHA1 Message Date
Brennan Benson fc85866bed fix(browser): scope inventory ownership work to browser workspaces 2026-11-10 03:39:53 -08:00
Brennan Benson 445415c340 fix(browser): preserve inventory ownership and global tab order 2026-11-10 03:31:35 -08:00
Brennan Benson 3f081a20eb fix(browser): retain the saved page catalog after guest reclamation 2026-11-10 03:21:34 -08:00
Brennan Benson 54549b00a7 test(browser): complete guest protection fixture contracts 2026-11-09 22:39:40 -08:00
Brennan Benson a43f790f42 Complete the browser certificate replay WebContents fixture 2026-11-09 22:00:30 -08:00
Brennan Benson 00d3dfee93 Merge main before browser guest retention measurements 2026-11-09 21:45:08 -08:00
Brennan Benson fa89cc994e Avoid observer handshakes on child-frame load completion 2026-11-09 21:37:07 -08:00
Brennan Benson fb972cd1be Preserve current page recency and private document audio protection 2026-11-09 21:33:11 -08:00
OrcaWinandOrcaWin 67a2e977aa test: remove notification schema and unused palette source suites (#40647)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-09 21:28:04 -08:00
Jinwoo Hong d8893ebc9b refactor(orchestration): isolate the legacy remote-worker code in two folders (#40624)
* refactor(orchestration): isolate the legacy remote-attachment code behind one entry per side

Move today's remote-attachment (federation) code, unchanged, into
orchestration/legacy-remote/ (worker server) and
orchestration/legacy-remote-home/ (Run home). Code outside each folder
imports it only through legacy-remote.ts / legacy-remote-home.ts; a test
pins that. No behaviour change.

* refactor(orchestration): keep the legacy entry modules out of import cycles

The DB layer reaches each legacy folder through a DB-only module, and the
federation method arrays are spread where they were before, so no module
loads differently from main when imported first.

* test(orchestration): only the DB layer may use the legacy DB-only modules

* refactor(orchestration): let the two legacy folders import each other directly

They are one frozen unit; going through the other folder's entry module
made the Run-home half load the whole worker-server half.

* refactor(orchestration): import the pinned-server lookup from its legacy sibling

* refactor(orchestration): remove the import cycles the Run-home entry module created

Keep the pinned-server lookup at its original path (shared worker code calls it)
and let the worker list import the fleet snapshot directly; import/no-cycle is
clean again.
2026-11-10 00:22:03 -05:00
Brennan Benson eb9207fbc7 Update document visibility after React commits 2026-11-09 21:13:34 -08:00
Brennan Benson 8a9adb3d4c Type the browser guest retention regression fixtures 2026-11-09 21:12:59 -08:00
Brennan Benson 0d5eae6481 Bound retained desktop browser guests by idle page count 2026-11-09 21:10:10 -08:00
Kelvin Amoaba fc8da7f6c6 feat(tab-group): add search to the split pane landing (#40635)
A search box finds agents and files; / moves into it from the list. The list keeps the default agent, Terminal, Browser, Markdown and Mobile emulator.
2026-11-10 05:04:28 +00:00
OrcaWinandOrcaWin 8becc04323 test: remove low-value skill and work-item query suites (#40637)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-09 20:59:50 -08:00
Jinwoo Hong bf81b6fb00 feat(cmd-j): add an extra-results seam for non-workspace palette sources (#40606)
* feat(cmd-j): add an extra-results seam for non-workspace palette sources

Sources register through usePaletteExtraSources (empty here, so the palette is
unchanged). Each supplies a section label, rows ranked with the shared match
engine, an empty-query cap, a tie preference, and a placement hint relative
to Workspaces. A source may also hide workspaces it represents from the
Workspaces list while their tabs stay in Open Tabs and recents.

* fix(cmd-j): make extra-result rows keyboard-selectable

Selection skipped the new row type, so Enter could not reach a leading
extra row.

* fix(cmd-j): count extra-result rows in the announced result count

The live region counted only the built-in result kinds, so a query that
matched only extra rows announced zero results.
2026-11-09 23:59:45 -05:00
Neil 22fdcc755a fix(mobile): subscribe to window focus/blur AppState events on Android only (iOS rejects them with a red screen in development) (#40615) 2026-11-09 20:56:54 -08:00
Neil 54090f93e5 chore: ignore Claude Code local settings (#40633) 2026-11-09 20:43:48 -08:00
Neil 086817c728 refactor(renderer): use concrete launch and activity owners (#40630) 2026-11-09 20:40:01 -08:00
OrcaWinandOrcaWin 0d62b2cf29 test: remove low-value automation host and listing suites (#40631)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-09 20:38:47 -08:00
Jinjing 6e445fe60d Fix account usage reset display (#40613)
* fix: clarify account usage reset display

* fix: address account usage accessibility review

* fix: localize account reset duration units
2026-11-09 20:28:44 -08:00
OrcaWinandOrcaWin 0dc718bd5f test: remove low-value intake, authoring, and picker suites (#40622)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-09 20:24:13 -08:00
Neil d78a9b1e9a refactor(mobile): organize native chat by feature ownership (#40619)
* refactor(mobile): group native chat modules by feature owner

* refactor(mobile): consolidate concrete owner imports

* test(mobile): preserve pinned release source addresses

* refactor(mobile): import the recorded launch function type directly
2026-11-09 20:18:03 -08:00
Jinjing 1cfcd4b465 Update WeChat community QR code (#40618) 2026-11-09 19:52:40 -08:00
Kelvin Amoaba 64a2a6f779 perf(mobile): let newer phones fetch their language catalog from the desktop instead of downloading all of them (#40519)
* perf(mobile): let newer phone shells fetch the language catalog from the desktop instead of downloading all of them

* fix(mobile): hash only the buildId fields so phone readers can recompute it

* fix(mobile): use the catalog chunk when the generation still has it

* fix(desktop): give catalog reads their own read-slot budget
2026-11-10 03:52:19 +00:00
OrcaWinandOrcaWin 618c7f5b3f Remove low-value voice, speech, and relay tests (#40617)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-09 19:49:36 -08:00
Jinwoo Hong baea7aaa2a refactor(orchestration): open a party by Dispatch address through one helper (#40555) 2026-11-09 22:45:54 -05:00
Jinwoo Hong 7041ea0228 test(notifications): run the dismissal-restart suites on Node (#40614)
They reopen the WAL-backed dismissal row cache read-only after a
simulated restart, which Bun on macOS cannot, so the restarted store
reads no history.
2026-11-09 22:42:34 -05:00
Jinwoo Hong c19f12804a test: reset the provider session generation per test store (#40586)
A shared test worker carried settings.test.ts's generation bumps into
jira-web-client-status.test.ts, which then read local#3 instead of local#0.
2026-11-09 22:39:18 -05:00
OrcaWinandOrcaWin fa2a622f9f test: remove low-value launch status and crew hook suites (#40608)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-09 19:24:51 -08:00
Jinjing ce1d0d99b8 Preserve review links during rebases (#40583)
* fix(review): keep the active review linked through a rebase

A detached HEAD (rebase, bisect, checkout of a commit) is no longer treated
as a branch switch. Only an attached observation can clear the active
review and push target, judged against the branch that last proved
ownership: the in-session branch before the detach, else the owning host's
rebase verdict from the listing, else unknown (never cleared). linkedItems
are never cleared.

- shared rule (hosted-review-branch-ownership) used by the renderer writer
  and the runtime WorkspaceGitIdentity
- readRebaseOperation: spawn-free, fail-closed owner-side verdict; git am is
  not a rebase
- listings annotate detached rows with the verdict
- explicit push-target pushes refuse while a rebase is active or unverifiable
- opt-in verifyRebaseOperation status verdict gates review AI launches at
  the action boundary

* fix(review): gate mobile review actions and bound the rebase listing probe

- mobile fix-checks, resolve-comments and hosted conflict launches require a
  fresh owner-side rebase verdict after agent resolution; local conflict
  recovery and generic launches are unchanged
- the listing's detached-row rebase probe has a 2s budget; unread rows stay
  unknown, and a checkout whose read outlived its budget gets no new one
  until it settles
- an empty or malformed HEAD is unverifiable, not a proven detach
- the apply-backend real-Git test is gated on Git 2.26

* fix(mobile): let folder repo review actions launch without a Git verdict

Repo-backed folder workspaces have repo::path ids, so the mobile review-action
gate sent git.status for them and refused the launch. The gate now reuses the
repo the launch context already resolved and, like desktop's isFolderRepo
check, skips the verdict for folder repos; Git workspaces still need a fresh
'none'.

* fix(review): reconcile detached ownership per host and selection

* Fix review action rebase checks for the selected workspace

- Read fresh rebase state from the owning host without a full status scan.
- Rotate detached worktree probes so later worktrees receive checks.
- Avoid reopening the composer when a rebase check refuses launch.

* refactor(review): scope rebase fix to branch ownership

Preserve review associations through detached HEAD using the last confirmed attached branch. Keep unknown ownership conservative and retain host isolation and relink race protection.

Remove the background rebase scanner, rebase-verdict transport, and launch/push gating from this change. Keep the deferred gating work separately and replace the real-Git pipeline tests with focused metadata regressions.
2026-11-09 19:22:27 -08:00
Neil 457c602b4f refactor(automations): group feature modules under defining owners (#40605)
* refactor(automations): group authoring, host catalog, listing and run owners

* Preserve protected automation confirmation copy after owner moves
2026-11-09 19:20:58 -08:00
Wooseong KimandNeil 83d20ac87d fix(claude): keep each account's newest groveChoiceSeenAt during profile state sync (#40381)
Refreshing a managed Claude profile copied the personal ~/.claude.json
groveChoiceSeenAt map over the profile's map, dropping the profile
account's Consumer Terms confirmation. Every new terminal then made
Claude wait on a network check before starting.

Merge groveChoiceSeenAt per account like projects and mcpServers, and
keep whichever timestamp is newer for accounts present on both sides.

Fixes #40380

Co-authored-by: Neil <neil@stably.ai>
2026-11-09 19:14:31 -08:00
Jinwoo Hong 06ee32a8b9 perf(daemon): stop scanning launched agents' output for command-finished (#40599) 2026-11-09 22:07:33 -05:00
OrcaWinandOrcaWin 61d9cea4cf test: remove low-value native chat recovery suites (#40601)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-09 19:03:51 -08:00
Wooseong KimandNeil 86f9bb2a16 fix(native-chat): highlight the slash item whose name best matches the typed query (#40487)
Commands render before skills in the slash menu, so typing an exact skill
name could leave a fuzzy command highlighted and Enter would pick the wrong
item. After each edit or caret move the picker now highlights the row whose
name ranks best against the query. Arrow-key navigation still owns the
highlight between edits, and a catalog refresh keeps the row the user
arrowed to (by id) instead of jumping.

Co-authored-by: Neil <neil@stably.ai>
2026-11-09 18:59:14 -08:00
Neil e6308fb35c refactor(skills): group catalog, installation, sharing and freshness owners (#40581)
* refactor(skills): group catalog, installation, sharing and freshness owners

* fix(skills): retarget inventory benchmark to catalog owner
2026-11-09 18:53:22 -08:00
Jinjing 9646b48fb8 chore(i18n): guard startup and worktree localization (#40449) 2026-11-09 18:49:52 -08:00
Benson LUOandNeil 38fe0766c3 fix(gitlab): never resolve github.com or bitbucket.org remotes as GitLab projects (#40410)
A stray github.com or bitbucket.org entry in glab's config made the failed
`glab auth status --hostname <host>` probe print a status block headed by a
bare hostname, which the configured-host parser accepted as evidence. The
known-host inventory could likewise list github.com. Because GitLab has
precedence among forge providers, GitHub and Bitbucket repos were offered
GitLab merge requests and GitLab login prompts.

Before trusting any glab evidence, resolveProjectRefForRemote now returns null
when the remote's real host (aliases folded via normalizeForgeWebHost) is
github.com or bitbucket.org. Scp remotes on an SSH alias named e.g. `github`
are unaffected.

Fixes #40386

Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
2026-11-09 18:48:58 -08:00
Kelvin Amoaba 9d0110a95d fix(mobile): show the bytes that cross the wire on the download screen (#40594)
Download progress counted inflated asset bytes, so the caption read
"x of 12.9 MB" while about 4.3 MB of brotli copies travelled. Progress now
counts what the reader moves: each brotli copy where one is read, raw bytes
otherwise, and nothing for reused assets. The first total before any
progress uses the same rule.
2026-11-10 02:43:44 +00:00
Wooseong KimandNeil be108a4981 fix(plugins): emit workspace.changed when focus moves between identical workspaces (#40505)
The watcher deduped on the public payload (branch, displayName, terminals),
so moving focus between two workspaces that project to the same payload was
dropped. Dedupe on the focused worktree id as well; the emitted payload still
omits that id because it can embed a provider path.

Fixes #40502

Co-authored-by: Neil <neil@stably.ai>
2026-11-09 18:43:32 -08:00
c2908a07b1 Keep chat navigation focused on human messages (#33403)
* fix(chat): collapse orchestration notices and keep the rail human-only

* test(chat): assert human-only rail previews

* test(mobile): inspect compact orchestration mail through its disclosure

* test(mobile): keep orchestration coverage in a focused suite

* test: retain the agent source type used by message cases

* fix(chat): keep rail reply previews while ticks skip agent-written inputs

Restores the hover card's reply line (the issue asks to keep the existing
preview), drops the shared test fixture and folds the authorship cases
into the rail and outline tests.

* fix(chat): stop rereading an older host's outline as the history window moves

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kelvin Amoaba <97001695+AmoabaKelvin@users.noreply.github.com>
2026-11-10 02:34:03 +00:00
SimonandNeil 793cfe5458 fix(artifacts): wrap the share popover's Update button label in long locales (#40297)
The "Update shared content" button inherited Button's whitespace-nowrap and
fixed h-8, so long translations (e.g. Russian) ran past the button edge in
the w-80 share popover. Let the label wrap, and stack the idle and
"Updating…" labels in one grid cell so the button keeps its height while
publishing instead of resizing the popover mid-update.

Fixes #40202

Co-authored-by: Neil <neil@stably.ai>
2026-11-09 18:33:00 -08:00
Wooseong Kim e39763be4b fix(native-chat): scale chat tables with the text size setting (#40396)
Chat message tables inherited the shared document renderer's fixed
text-[13px], so they ignored the chat Text size setting. Add a chat-only
0.9285714286em (13/14) override so tables stay 13px at the default 14px
size and scale with the message like the heading overrides do.

Fixes #40389
2026-11-09 18:32:50 -08:00
Kelvin Amoaba 75d7ecd3ac feat(dictation): choose how long silence lasts before dictation stops (#40530) 2026-11-10 02:25:34 +00:00
OrcaWinandOrcaWin 3d28b6fbf8 test: remove low-value Codex lifecycle and compiler examples (#40588)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-09 18:25:15 -08:00
Kelvin Amoaba c822ccc6b3 feat(mobile): show working agents on Feed in an Active section (#40587)
Feed only listed agents waiting on you, so a phone with agents busy on the
desktop showed none of them. The section now lists agents that need you
first, then working ones, still capped at three with a link to the Agents
tab.
2026-11-10 02:23:50 +00:00
Brennan Benson 80937f7eed Show a Fast-only speed as the Fast mode switch on mobile (#40523)
On the phone, Codex's Standard/Fast speed was a Speed row opening a
list while Claude's Fast mode was a switch. A Fast-only speed now uses
the same switch row; more speeds, or a lone Flex, keep the list. The
lone-Fast rule moves to shared code so desktop and mobile follow one
rule.
2026-11-09 18:11:52 -08:00
Brennan Benson 0d5d870800 test: isolate every vitest file on Windows to stop native heap-corruption crashes (#40200)
Shared workers (#40067) keep native addons such as the Windows process tree
and ConPTY loaded across files. Windows workers then exit with 0xC0000374
(STATUS_HEAP_CORRUPTION) in the node-server persistence lane. Production code
loads these addons lazily, so the per-file scan cannot detect them.
2026-11-09 18:11:01 -08:00
Jinwoo Hong 4a2726b3f6 fix(renderer): keep the right sidebar toggle during workspace creation; read the latest review provider in Source Control (#40478)
* fix(right-sidebar): keep the toggle while a workspace is being created

The creation surface has no titlebar strip and the floating toggle only rendered
with workspace chrome, so closing the right sidebar during creation (or on a
failed creation, which stays up until dismissed) left no button to reopen it.
The toggle button, its shortcut and the menu item now share one rule,
canToggleRightSidebar, so the shortcut also works during creation.

* fix(source-control): read the latest review provider when eligibility fails

The failure fallback read the provider through useEffectEvent, which keeps the
first render's handler inside memo components in React 19.2. A provider that
settled after the probe started was ignored. Read it from a ref refreshed in a
layout effect instead.
2026-11-09 21:08:21 -05:00