Commit Graph
3121 Commits
Author SHA1 Message Date
OrcaWinandOrcaWin 52b72b2f56 test: remove source-export mapping tests and empty browser TODOs (#43204)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 10:09:19 -08:00
OrcaWinandOrcaWin b091d23dff test: remove low-value mobile projection and permission preset tests (#43199)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 09:45:44 -08:00
OrcaWinandOrcaWin 32e9c4a59c test: remove skill target, port routing and branch helper suites (#43196)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 09:35:32 -08:00
OrcaWinandOrcaWin b0426b563d test: remove low-value suites and repeated cases (#43187)
* test: remove narrow renderer and chat visual examples

* test: retire resource and PR target projection suites

* test: retire isolated renderer adapters and repeated mod lifecycle cases

* test: retire route adapter and skill runtime projection suites

* test: retire Jira board preference helper examples

* test: await queued edit acquisition before Activity switch

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 09:18:41 -08:00
Neil 3ae47e0464 refactor: organize workspace composer modules by owner (#43182) 2026-11-16 08:16:39 -08:00
OrcaWinandOrcaWin 8ae7f0292d test: remove sidebar disclosure and narrow divider UI suites (#43138)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 07:57:13 -08:00
Kelvin AmoabaandMikel Vallejo c7f83f4e19 fix(computer): stop macOS permission status probes from leaking suspended helpers (#43172)
Spawn the status helper directly instead of through LaunchServices, and have it re-exec itself as its own responsible process so TCC still checks the helper's grant. A timeout now stops the probe by PID, so a late LaunchServices launch can no longer leave a suspended helper behind. Startup kills suspended probes left by older builds.

Co-authored-by: Mikel Vallejo <58292517+VallejoM@users.noreply.github.com>
2026-11-16 15:26:25 +00:00
Neil 9f96bd57e3 refactor: organize tab and workspace modules by owner (#43167) 2026-11-16 07:17:09 -08:00
OrcaWinandOrcaWin e8a497e995 test: remove low-value presentation and shortcut suites (#43134)
* test: remove narrow Markdown and browser presentation coverage

* test: remove low-value scrolling, focus and gallery suites

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 05:34:17 -08:00
Neil 4ae7ff27b7 refactor: organize filesystem IPC and local file I/O (#43120)
* refactor: organize filesystem IPC and local file I/O

* test: retire unreachable filesystem rename alarm
2026-11-16 05:32:37 -08:00
OrcaWinandOrcaWin 19af83225a test: remove synthetic mobile context-menu assertion (#43125)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 05:09:23 -08:00
OrcaWinandOrcaWin e6dacc7bf3 test: remove low-value sidebar and page preference suites (#43079)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 04:47:45 -08:00
OrcaWinandOrcaWin 7b724410fa test: remove low-value title editing and drag tests (#43091)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 04:46:03 -08:00
OrcaWinandOrcaWin ab7a9403fd test: remove narrow browser and floating layout suites (#43088)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 04:42:06 -08:00
OrcaWinandOrcaWin 93a3aa2f1a test: remove low-value tests (#43099)
* test: remove low-value notification and display tests

* test: remove update preference and host mute predicate suites

* test: remove redundant daemon and checkpoint work-count tests

* test: remove narrow desktop pane-title forwarding tests

* test: remove title-card and title-input work-count tests

* test: remove duplicated tool-pairing adapter tests

* test: remove narrow appearance preference tests

* test: remove turn-status display timing tests

* test: remove visual Activity read-count tests

* test: remove Linear view preference resume tests

* test: remove synthetic pending-question work-count suite

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 04:40:57 -08:00
Brennan Benson 173beb41a2 Give new agents plain UUID IDs (#42940)
* Give new agents plain UUID IDs

New Orca session IDs (chats, host-launched chats, terminal agent IDs) are
plain random UUIDs minted by createOrcaSessionId; the agent stays on the
record. Remove the two readers of the agent prefix: the agent.launch
sessionId refinement and the automation Open run guard. Hosts advertise
agent.launch.plain-session-id.v1; the phone reserves a plain ID only for
hosts that advertise it and keeps the legacy spelling otherwise. A replay
an older replacement host refuses as invalid params is now uncertain, not
a definite failure. Old IDs stay valid; nothing is migrated.

* Repair plain agent ID recordings and compatibility checks
2026-11-16 04:20:56 -08:00
Neil 6018fca4de refactor: group shared settings, profiles and execution hosts (#43047)
* refactor: place shared settings profiles and host contracts with owners

* fix: retire stale cleanup validation contacts

* refactor: consolidate imports from concrete owners

* refactor: bind new card fixture to profile defaults owner

* style: format rebased concrete host import

* refactor: consolidate project header color owner imports

* fix: load released phone readers after folder moves

* fix: preserve released chat readers and current owner imports
2026-11-16 04:03:33 -08:00
OrcaWinandOrcaWin e99cc9a67e test: remove narrow tab docking and terminal padding suites (#43062)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 01:44:03 -08:00
OrcaWinandOrcaWin 1c37b4a2e4 test: remove narrow terminal rendering and query-order suites (#43056)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 01:30:01 -08:00
OrcaWinandOrcaWin 84da54ae3d test: remove two low-value copy and language retry suites (#43051)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 01:16:18 -08:00
Brennan Benson 980352d897 Reduce native chat memory by replacing per-chat Electron supervisors (#42760)
* Launch provider CLIs without a per-chat runtime supervisor

* Initialize process-owner fixtures with an isolated app environment

* Retire provider output transports and failed ownership drafts

* Finish provider stops when the session group empties

* Complete native cleanup from verified watcher exit and cancel held launches

* Let native watcher finish one-shot provider exits

* Retire late ownership records after canceled provider launches settle

* Reap each provider subtree in an isolated native parent

* Preserve provider outcomes and compatibility with native parents

* Publish actual provider identities and retire native parent observers

* Retire numeric writer PIDs when their group is proven absent

* Retire provider transports and accept proven group absence

* Fence retired process identities across asynchronous cleanup

* Use native timer types and readonly process fixtures

* Reuse bounded timeout for compatibility output drain

* Release launch scopes held by late transport error handlers

* Keep processless launch failures out of watcher waits

* Align lifecycle validation with final ownership contracts

* Remove duplicate helper preparation from the dev launcher

* Keep legacy fallback in place and simplify native ownership handoff

* Defer background provider maintenance until the first window

* Release startup hook maintenance for terminal launches

* Use relocated artifact module in native prebuild scripts

* Preserve agent failure outcomes and clean tools before ownership is lost

* Budget ownership capture for its bounded identity reads

* Keep lifecycle regressions at their behavior-owning seam

* Explain the fake-clock process-read fixture

* Capture tool ownership before restart recovery removes the CLI

* Skip descendant inventories for absent provider roots

* Make final output drain regression test deterministic

* Keep output drain fixture assertions type-safe with IPC

* Use existing provider fixtures across Node and Bun

* Prepare native provider helper for Codex contract CI

* Verify provider ownership using its recorded start precision

* Preserve exact provider ownership through reader failures

* Retire exhausted recovery records without blocking watcher cleanup

* Distinguish exited descendants from unreaped zombies

* Preserve group retirement without trusting an exited root

* Keep CLI input owned through native parent loss

* Keep watcher cleanup proof through lost-parent retirement

* Guard retirement against late watcher cleanup proof

* Contain provider launches that fail before stdio setup

* fix(claude): preserve startup diagnostics after input pipe failures

* fix(provider): capture lost outcomes before native completion cleanup

* fix(provider): retire speculative captures after a valid outcome

* fix(provider): share spawn absence classification through its existing boundary
2026-11-16 01:01:24 -08:00
7839c9ae48 fix(i18n): fill Simplified Chinese coverage gaps on desktop and mobile (#43011)
Add 361 desktop and 633 mobile translations for English keys that still
fell back to English: workspace cleanup, the MCP server panel and sign-in
requests, subagent views, automation runs, worktree cards, Memory Saver,
account rename, PR updates and the freeze report on desktop, and most of
the mobile pull request, source control, tasks, agents and session screens.

Mobile code often calls a plural key literally as t('key_one') when the
count is 1, and i18next looks that key up as written, so zh showed English
for a single item. Add the explicitly called _one keys, each equal to its
_other value.

Also correct two browser search keywords that rendered cookies as 曲奇饼,
and entries that called archive scripts 存档 where the catalog says 归档.
The worktree cards "New" badge keeps 新功能 via a key override, mobile
"Start workspace" matches the desktop wording, and an automation's Active
status and list group read 已启用 (paired with 已暂停) instead of 当前.

Co-authored-by: x-Ai <5061489+x-Ai@users.noreply.github.com>
Co-authored-by: Neil <neil@stably.ai>
2026-11-16 00:27:44 -08:00
OrcaWinandOrcaWin 4fcdfeddfd test: remove nine low-value renderer and preview suites (#43025)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 00:07:14 -08:00
OrcaWinandOrcaWin 06795b179f test: remove six low-value suites and trim MCP inspection coverage (#43017)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 00:00:23 -08:00
Neil e075db6f19 refactor: group shared runtime and computer owners (#42972)
* refactor: group shared runtime and computer owners

* refactor: follow computer owners in workflow triggers

* test: account for unmasked existing title-test clock call
2026-11-15 23:46:34 -08:00
OrcaWinandOrcaWin 3014bdaa5f test: remove six low-value suites and trim parser coverage (#43014)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 23:30:47 -08:00
OrcaWinandOrcaWin 1bea9ade72 test: remove 15 low-value suites and trim 11 others (#43006)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 23:14:43 -08:00
OrcaWinandOrcaWin 4aacd00b04 test: remove 14 low-value suites and trim 15 others (#42999)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 22:57:43 -08:00
OrcaWinandOrcaWin 6ceacf927f test: remove 11 low-value suites and trim 17 others (#42989)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 22:39:11 -08:00
Brennan Benson 84f1c520a8 Keep one copy of Codex history shared by every account (#42614)
* Share Codex account history through folder links into ~/.codex

Each Codex account home keeps its login; its history folders become folder
links (junctions on Windows) into the user's ~/.codex, and Codex's databases
follow through a sqlite_home line in the account's own config. Migration is
automatic before the next launch in each home; the store's copy wins a name
conflict and the account's copy is kept beside it. The per-file history bridge,
its link pass and the WSL bridge are removed. Claude's merge-then-link moves to
a shared async module both providers use.

* Make account history moves safe under concurrency and keep the DB with the folders

Files move by link-then-unlink so a move never replaces an existing name, host
passes run one at a time per store, index markers are written before a move,
account-only folders are shared, lock folders are moved rather than deleted,
and sqlite_home is written only once a home's sessions are linked.

* Let the history pass own sqlite_home, link locks first, and index per store

The pass that links a home's folders now writes and removes its sqlite_home
line; the config mirror only carries it forward. thread-writer-locks is linked
before any history, index markers are kept once per store (hard-linked
duplicates included), WSL links the launched home before Codex starts, passes
queue per home in request order, and re-sharing after off then on works with
earlier conflicts still kept.

* Never overwrite on move, gate indexing on moves, and read the shared DB for backfill

Files move by link or exclusive copy; repeat conflicts get their own pending folder; secrets and
sandbox setup stay per home; the sqlite_home write retries against a concurrent mirror; indexing
waits until no move is running; backfill checks read the DB where sqlite_home puts it.

* Keep live writers' files, require both history links, and keep unmoved history on removal

Files move only by a new name for their inode; a home is shared only when sessions and
archived_sessions both link; reverted-thread rollouts get index markers; settled homes skip
repeat passes in either mode; account removal keeps a real history folder.

* Give resume test runtime-home mocks the account history step

* Keep unmoved WSL history on removal, prepare the launched home, and retry incomplete work

WSL account removal keeps real sessions/archived_sessions; a launch prepares the account it
returns even if the selection changed meanwhile; an incomplete unshare and a failed WSL index
pass stay eligible for a later launch; the guest helper rechecks the distro before each step.

* Keep pinned resumes reachable, finish interrupted unshares, and keep index work from racing moves

A pinned resume only shares; a launch re-prepares when the selection or setting changed; Orca's
sqlite_home line is read only at the config root; a writer-lock link elsewhere keeps the home
private; an unshare finishes its database move on retry; indexing keeps markers a newer move
recorded, retries an incomplete run on a later launch, and merges WSL marker lists.

* Move account history into a store one pass at a time and retry incomplete moves

Two homes merging into one store at once raced on its folders and stranded the second home's
history in its merge folder. Passes now run one at a time per store (host) and per distro (WSL),
a folder that appears mid-move is merged into, and a share with failed moves is not settled.

* Keep one rollout form in ~/.codex, record what sharing left behind, and guard Windows homes from older builds

- A rollout present as .jsonl and .jsonl.zst lands in the store in one form only; the other form moves to the home's .orca-set-aside-rollouts, never deleted.
- Each account home gets a versioned cleanup manifest: set-aside databases, left-behind rollouts with a background content check against the store, store twin pairs, and the shared streak.
- Native Windows homes get a renamed ownership marker before their first junction, so older builds refuse to use or delete them.
- Account removal keeps the set-aside rollouts and the manifest.

* Set a rollout form aside only beside its twin in the store, inventory leftovers off the launch path, and keep account databases on removal

- The .zst moves first and a form is kept out only when the store already holds its twin, so a failed move never leaves the store with neither form.
- The rollout inventory and store twin walk run in the detached check, not the awaited pass; manifest writes are serialized per home and a check applies only to unchanged files; checkpoints are time-spaced.
- A WSL check that runs out of budget resumes on a later launch instead of looping.
- The ownership check reads either marker in one step and the marker rename retries on Windows.
- Account removal keeps the account's Codex databases for the later cleanup release.

* Read the cleanup manifest through a type guard

* Read the cleanup manifest through a type guard over unknown

* Settle only a check's own request, skip queued WSL passes after quit, and validate manifest entries

- A pass finishing during a check keeps its new check request on host and WSL.
- A WSL pass queued before quit no longer starts guest work.
- Manifest rollouts must carry a path, size and mtime to be read.
- The store twin scan reuses the twin module's folder walk.

* Walk the store outside the manifest write and keep databases on removal only for shared homes

- The inventory writes only its own fields onto a freshly read manifest, so it never undoes a streak reset from another process and a launch never waits behind the walk.
- Account removal keeps the home's Codex databases only when the cleanup manifest shows the home was shared.

* Lock the cleanup manifest across processes and validate every field later passes read

- Manifest writes take a file lock, so a WSL check helper can't publish over another helper's streak reset.
- The guard also checks storePath, the content check's store facts, database entries and sharedPasses; anything else is rebuilt from disk.
2026-11-15 22:31:24 -08:00
OrcaWinandOrcaWin 19aa1251dd test: remove 20 low-value suites and trim six others (#42978)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 22:15:36 -08:00
Kelvin Amoaba f375aba997 fix(mobile): make chat report buttons work in an isolated frame (#42954)
* fix(mobile): run chat report scripts in an isolated shell frame

* fix(mobile): theme chat visuals at handoff and pin the iOS frame to Android's

* test(mobile): probe the page origin by absolute URL from the visual
2026-11-16 06:12:04 +00:00
OrcaWinandOrcaWin f6a212287e test: remove nine low-value suites and trim twelve others (#42976)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 21:53:40 -08:00
OrcaWinandOrcaWin fedc37c479 test: remove seven low-value suites and trim five others (#42971)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 21:40:35 -08:00
OrcaWinandOrcaWin 493c5f3560 test: remove 12 low-value suites and trim seven others (#42968)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 21:21:43 -08:00
Neil 1541d55d9f fix(mobile): keep the Copy menu for selected chat text on the phone's web pages (#42965)
Gesture handler 3 defaults enableContextMenu to false on web, so the
transcript's pinch detector cancelled every contextmenu event. Android
WebView shows the selection's Copy / Select all menu through that event,
so long-pressing transcript text left bare selection handles with no way
to copy. Gesture handler 2 attached no listener when the flag was unset.

Opt the detector into the browser context menu, next to the existing
touch-action override, and pin it in the transcript render check.

Fixes #42939
2026-11-15 21:16:35 -08:00
OrcaWinandOrcaWin 1e15682aac test: remove eight low-value suites and narrow two others (#42963)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 21:07:16 -08:00
Neil 3cfd47e1a0 refactor: group shared workspace and transport owners (#42945) 2026-11-15 21:01:55 -08:00
OrcaWinandOrcaWin 6d5af64e39 test: remove 12 low-value suites and narrow two others (#42956)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 20:46:51 -08:00
OrcaWinandOrcaWin e9b1aabe73 test: remove 48 low-value suites (#42951)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 20:30:40 -08:00
OrcaWinandOrcaWin 36bdeabc1d test: remove 55 low-value suites (#42931)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 20:18:27 -08:00
Neil b98c4d006a chore(test): silence Vitest filter-miss path dump and typeless-package warnings (#42911) 2026-11-15 19:38:47 -08:00
Neil 7ade4f96da chore(dx): silence pre-commit lint-staged chatter and pnpm install noise (#42915) 2026-11-15 19:21:51 -08:00
Neil 6fa7839162 chore(build): silence intentional Rollup dynamic-import and Vite web config warnings (#42919) 2026-11-15 19:19:31 -08:00
Neil 61ae9700f2 refactor: organize shared foundation modules by owner (#42914) 2026-11-15 19:09:38 -08:00
Brennan Benson ae2ed119a4 fix(test): exit vitest workers when their runner dies (#42928)
* fix(test): exit vitest workers when their runner dies

Bun fork workers outlived a killed Vitest main process for hours at ~1GB each.
A preload in every worker polls the parent and exits once it is gone; the
node-runtime worker's disconnect listener moves into it because Bun stops
delivering Vitest's IPC messages once a 'disconnect' listener exists.

* fix(test): probe the worker's parent with the real process.kill

Tests that mock process.kill made the parent probe exit the worker.
2026-11-15 18:58:48 -08:00
OrcaWinandOrcaWin 8d802a17f4 test: remove 51 low-value suites (#42927)
* test: remove 51 low-value suites

* test: retire obsolete computer workflow targets

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 18:48:14 -08:00
OrcaWinandOrcaWin 126e59e1ad test: remove 55 low-value suites (#42916)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 18:26:10 -08:00
Brennan BensonandWooseong Kim 8515c1eb92 Name saved Claude and Codex accounts (#41824)
Let users name, rename and reset labels for saved Claude and Codex accounts without changing credentials or restarting agents. Keep the sign-in email visible across Settings, account switchers, chat usage, CLI and phone surfaces, and identify the account in removal confirmations.

Tracked in #21182.

Co-authored-by: Wooseong Kim <innocarpe@gmail.com>
2026-11-15 17:20:35 -08:00
Neil aed7718884 refactor: organize shared editor and feature contracts (#42832)
* refactor: group shared editor and feature contracts

* test: retain WSL phone refusal semantics without copy checks
2026-11-15 17:13:07 -08:00