Commit Graph
3150 Commits
Author SHA1 Message Date
OrcaWinandOrcaWin 2f17e24a18 test: remove low-value startup and IPC test suites (#43419)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 20:26:11 -08:00
OrcaWinandOrcaWin 513e9a4bec test: remove low-value hook-root and resume test suites (#43402)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 19:52:08 -08:00
Neil 225baa2477 refactor(web): group API and session sync modules by feature (#43403) 2026-11-16 19:38:16 -08:00
OrcaWinandOrcaWin 10fbb749a7 test: remove low-value HTTP clock and persistence fixtures (#43398)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 19:13:57 -08:00
OrcaWinandOrcaWin 51fbddeec8 test: remove low-value permission status and WSL fixtures (#43394)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 19:01:59 -08:00
OrcaWinandOrcaWin 1b10368eb2 test: remove low-value provider transcript and WSL fixtures (#43381)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 18:50:33 -08:00
OrcaWinandOrcaWin 37beab4327 test: remove low-value hook relay migration and WSL fixtures (#43378)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 18:31:12 -08:00
OrcaWinandOrcaWin 7593dd1312 test: remove low-value browser catalog and shell repro fixtures (#43367)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 18:18:37 -08:00
Wooseong KimandNeil 18a5a94750 fix(wsl): stop launching wsl.exe when WSL is not installed (#40778)
* fix(wsl): stop launching wsl.exe when WSL is not installed

Windows 11's inbox wsl.exe opens the installer on every invocation. Remember a missing WSLService and LxssManager for this process so distro, status, and running probes do not retry.

* fix(wsl): only treat a missing service as no WSL, and refuse every wsl.exe spawn once known absent

sc.exe exits 1060 only when the service is not registered. Access denied, a
timeout or a signal kill now stay unknown instead of hiding a real install
until restart.

Once absence is confirmed, process-host refuses any wsl.exe spawn with ENOENT,
so per-distro background work (stale saved distros, hooks, git, watchers)
cannot reopen the installer either.

* fix(wsl): reuse an unknown WSL service answer for 60 s

Denied or timed-out sc.exe queries were not cached, so every running-list
read spawned another sc.exe pair even inside the wsl.exe failure backoff
(ten reads: twenty sc.exe). Unknown now holds for 60 s; confirmed absence
stays a session latch. Covers each service name alone reporting present.

* fix(wsl): never query WSL services synchronously

Sync distro and home reads now use the cached service verdict. Without one,
they return what is cached and start the async query rather than spawning
wsl.exe, so a sync read on startup can't open the installer either. The main
process starts the query at launch. List the new module in the web tsconfig.

* fix(wsl): keep sync WSL readers answering before the service verdict

Before the async sc.exe verdict, sync readers returned empty, so a default-WSL
Claude launch could pick host credentials and a daemon session could freeze
an undefined distro and skip the stopped-distro hold. They now check, once per
process and without spawning, for LxssManager.dll or wslservice.exe: present
keeps the previous sync wsl.exe path, absent returns empty. An expired unknown
verdict keeps being served while it re-checks.

* fix(wsl): read WSL service registration from the registry before sc.exe

The file-path hint missed Store MSIX and custom-INSTALLDIR layouts. Sync
readers now check HKLM\SYSTEM\CurrentControlSet\Services\{WSLService,
LxssManager} through the bundled in-process registry addon: a key proves the
service is registered (no sc.exe at all), while a missing key or unloadable
addon leaves the verdict to sc.exe's 1060, and sync readers spawn nothing
until then. Drops the sync-fs baseline entry. The stale-unknown re-check is now
an explicit peekWslInstallationAndRefreshIfDue.

* test(wsl): keep the sc.exe service-query suite independent of the host registry

On a Windows host with WSL installed, the real WSLService key answered before
the mocked sc.exe and failed 9 of the suite's tests. Mock the registry reader
as having no WSL keys. Also fix a stale function name in a comment.

---------

Co-authored-by: Neil <neil@stably.ai>
2026-11-16 17:59:37 -08:00
OrcaWinandOrcaWin 8b298a6a61 test: remove low-value routing shell and tracker fixtures (#43364)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 17:51:09 -08:00
Jinjing 5c9cae27cb fix(ui): widen split divider gaps to 16px so dividers are easy to grab (#43357)
* fix(ui): widen divider grab areas to 16px on the side away from scrollbars

* fix(ui): keep the diff tree separator on its original pixels

* fix(ui): leave sub-pixel divider crossings to the parent divider

* fix(ui): type the split handle overhang style without a cast

* fix(ui): ignore synthetic events in the divider native-drag guard

* feat(ui): widen tab and terminal split gaps to a real 16px instead of overlays

* test(ui): cover the 16px terminal divider box

* fix(ui): paint wide split gaps with the editor surface

* fix(ui): route gap file drops to the nearer pane, keep the seam under the pointer, and continue tab strips across split gaps

* fix(ui): layer the tab band border over the strip fill

* fix(ui): drop the gap drop relay; follow container moves and commit at release

* test(ui): drop the terminal divider size test that restates its formula

* ci: drop the e2e route to a spec deleted in #43014

The feature.terminal-pane-geometry route still named
issue-12656-terminal-link-tooltip, which #43014 removed, so any PR touching
terminal.css or pane-divider.ts failed 'changed e2e specs' on a missing file.
2026-11-16 17:32:15 -08:00
Neil 212694c08e refactor(ipc): group handlers and PTY support by owner (#43339)
* refactor(ipc): group handlers and PTY support by owner

* chore(test): prune retired IPC timeout baseline

* fix(types): include worktree path settings in web project
2026-11-16 17:11:09 -08:00
OrcaWinandOrcaWin 83a59aa684 test: remove low-value protocol matching and packaging checks (#43287)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 15:00:33 -08:00
Brennan Benson 21473a5f59 ci(e2e): drop plugin routes whose specs were removed (#43123)
#43014 removed plugin-syntax-smoke and plugin-theme-smoke but kept their
source routes, so any PR touching those sources (for example the
protected copy keys) failed 'changed e2e specs' on a missing spec file.
2026-11-16 14:50:29 -08:00
NeilandClaude f7ddbb68ad feat(plugins): expose the app fonts to plugin frames as --orca-font-sans and --orca-font-mono (#43282)
Frames only got the colour tokens and --orca-radius, so a plugin panel could
not match a user's chosen app font. Add --font-sans and --font-mono to the
panel design token allowlist; the existing theme sync already refreshes frames
in place when the root style changes, so a font change now restyles them too.
Native chat visuals already listed both tokens and now get them from the
shared allowlist.

Fixes #42575

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-16 14:49:28 -08:00
Neil d23e47411a refactor: organize backend agent-session and tab owners (#43268)
* refactor(main): organize agent session and tab lifecycle owners

* fix(ci): carry moved backend test and mobile routing metadata

* test: retire copy assertions in headless notification test
2026-11-16 14:42:12 -08:00
OrcaWinandOrcaWin 12be82c89c test: remove low-value appearance emulator and CI checks (#43278)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 14:35:11 -08:00
OrcaWinandOrcaWin e76149da70 test: remove low-value updater and recovery test suites (#43277)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 14:21:18 -08:00
OrcaWinandOrcaWin fc0e3fbebe test: remove low-value telemetry and updater test variants (#43274)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 14:13:13 -08:00
Neil a9e6b80aa4 fix: guard macOS 27 dead keys before native menu routing (#43264) 2026-11-16 13:54:05 -08:00
OrcaWinandOrcaWin 4939ff194f test: remove low-value consent variants and bookkeeping suites (#43266)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 13:45:31 -08:00
OrcaWinandOrcaWin 95f8eb689d test: remove low-value display and mock-request test variants (#43260)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 13:27:42 -08:00
OrcaWinandOrcaWin ec6628a09a test: remove narrow sidebar projection and viewer policy cases (#43251)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 13:00:27 -08:00
OrcaWinandOrcaWin 3c149c71b3 test: remove narrow staging, browser and hosted-review cases (#43247)
* test: remove narrow shell, chooser, coordinate and runtime cases

* test: drop timing entries for removed suites

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 12:48:42 -08:00
OrcaWinandOrcaWin f2e5a043e1 test: remove narrow presentation, startup, plugin and policy tests (#43240)
* test: remove low-value presentation startup and scalar policy tests

* test: remove narrow plugin diagnostics startup marker and spacing tests

* test: remove narrow editor adapter and policy variants

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 12:31:27 -08:00
Neil bf134f8f4d refactor: organize shared agent chat (#43221) 2026-11-16 12:00:43 -08:00
OrcaWinandOrcaWin a6746aa98c test: remove narrow recovery, board and classifier coverage (#43070)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 11:47:21 -08:00
Kelvin Amoaba 2dfc0ba64a feat(mobile): add chat text size, font and line spacing settings (#42952)
* feat(mobile): add chat text size, font and line spacing settings

Pinching in a chat now saves the size for every chat instead of resetting when you leave.

* fix(mobile): measure the screen on the first chat text read, not at import
2026-11-16 19:10:11 +00:00
Kelvin Amoaba d1ddc79c7f feat(mobile): choose the terminal font, size, line spacing and weight (#43037)
* feat(mobile): add a stepped slider control

* feat(mobile): terminal font, size, line spacing and weight settings

Terminal settings get a Font section with a live preview: a font picker
(system fonts plus JetBrains Mono, Fira Code and Geist Mono shipped as
variable woff2), a point-size slider replacing the old percentage presets,
line spacing and weight. Pinch now snaps to whole points. Tablets start at
15 pt, Normal spacing and Regular weight.

The size keeps its storage key as points over 13; the font, spacing and
weight live in a new negotiated page storage key. Both terminal hosts read
them at start and on a new set-font-style message; a style change keeps
the grid and lets the cell-box refit resize the PTY.
2026-11-16 18:59:27 +00:00
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