Commit Graph
16189 Commits
Author SHA1 Message Date
Brennan Benson 3edeeee66e Classify legacy model fallbacks from agent probe metadata 2026-11-09 05:31:45 -08:00
Brennan Benson 20a92e3699 Revalidate held terminal model lists on demand after ten minutes 2026-11-09 05:28:03 -08:00
Brennan Benson c7806d3b0f Add terminal model discovery without changing Git discovery routing 2026-11-09 05:27:31 -08:00
Brennan Benson c00101d3b4 Declare the read-only selector on the runtime construction boundary 2026-11-09 05:24:59 -08:00
Brennan Benson 82de2aee8e Preserve PTY context precedence without redundant default-distro reads 2026-11-09 05:24:43 -08:00
Brennan Benson 0297844c2a Use read-only worktree projection for terminal inventory selectors 2026-11-09 05:22:44 -08:00
Brennan Benson 492d06a0c7 Separate workspace inventory resolution from launch preparation 2026-11-09 05:10:07 -08:00
Brennan Benson 1b4f025066 Share effective terminal execution selection with PTY planners 2026-11-09 05:07:18 -08:00
Brennan Benson 6c9d584b91 Keep discovery runtime fixture independent of Electron paths 2026-11-09 04:35:19 -08:00
Brennan Benson d8746cbc1a Use the visible draft rather than its default for CLI demand 2026-11-09 04:32:52 -08:00
Brennan Benson e229455b51 Exercise catalog demand and retire regression fixture observers 2026-11-09 04:31:33 -08:00
Brennan Benson 6b692b8ece Discover models in the terminal agent execution runtime 2026-11-09 04:30:33 -08:00
Brennan Benson a4b42b69e3 Reuse settled CLI catalogs in Settings menus as well 2026-11-09 04:29:16 -08:00
Brennan Benson eee2a0a311 Restore setup panel explanations 2026-11-09 04:28:14 -08:00
Brennan Benson dc6a51e780 Acquire terminal catalogs only for consumers of that surface 2026-11-09 04:26:09 -08:00
Brennan Benson 0d87642bd9 Keep CLI fallbacks out of terminal choices and suppress unchanged listings 2026-11-09 04:22:33 -08:00
Brennan Benson e49b25fbcd Bound catalog invalidation epochs by host and agent 2026-11-09 04:21:53 -08:00
Brennan Bensonandtemp_final_v5 4a16407844 Keep paired launch mock clearing out of hook cleanup
Co-authored-by: temp_final_v5 <73724370+qq2144@users.noreply.github.com>
2026-11-09 03:34:41 -08:00
Brennan Bensonandtemp_final_v5 2dcd50e331 Use the launched surface’s model catalog in Settings and launch menus
Select protocol sources before applying the shared model-menu policy. Keep Antigravity CLI and Chat answers independent, route discovery through the actual host/runtime, and clear menu-owned effort only on an explicit model-only replacement.

Co-authored-by: temp_final_v5 <73724370+qq2144@users.noreply.github.com>
2026-11-09 03:15:20 -08:00
Brennan Benson a11e3ad7a2 Keep new-chat model placeholders scoped to their own catalog 2026-11-09 01:40:38 -08:00
Brennan Benson f1708dfa6a Reuse unchanged model catalog projections 2026-11-09 01:03:16 -08:00
Brennan Benson 587734f251 Preserve catalog answers across scope and owner changes 2026-11-09 00:45:43 -08:00
Brennan Benson fab38f48ba Keep retired model lists out of reopened menus
Keep completed empty and unknown workspace answers in the shared snapshot cache so successor menu owners cannot seed older account or workspace models. Derive observer state from that cache and remove the duplicate owner retirement guard. Extend the lifecycle regression through last unsubscribe, owner replacement, failed reopen and a fresh replacement answer.
2026-11-08 23:52:23 -08:00
Brennan Bensonandtemp_final_v5 16f5eafe8a Keep model menus stable while host listings refresh
Retain applicable listings through refresh failures, preserve host availability metadata, and distinguish unlearned registration from known absence. Show Settings pending choices without blocking discovery, scope the fallback note to failed demand, and register its translations. Verify the structured phone reader and menu wrapper share the composer policy without changing phone presentation.

Co-authored-by: temp_final_v5 <73724370+qq2144@users.noreply.github.com>
2026-11-08 23:33:16 -08:00
Brennan Benson 7865c7739c Keep model menus scoped, responsive, and editable 2026-11-08 22:53:55 -08:00
Brennan Bensonandtemp_final_v5 7d5c96b45e Share account model lists across Settings and launch menus
Use one surface-aware model policy and demand-driven catalog acquisition for Settings defaults and new-agent menus. Preserve literal saved selections, native invocation boundaries, and older-host listing reads.

Co-authored-by: temp_final_v5 <73724370+qq2144@users.noreply.github.com>
2026-11-08 22:05:56 -08:00
Kelvin Amoabaandmahedi-emon 04d3a8dcbe fix(native-chat): clear /compact and /clear from the composer once sent (#40145)
* fix(native-chat): clear /compact from the composer once it is sent

Conversation commands kept their draft until the host replied, while
messages release it as soon as they are on their way. Thread the
composer's onPending through the command dispatch so a sent /compact
or /clear leaves the input immediately; a refusal still hands it back.

Fixes #39122

* fix(native-chat): keep a command typed while a refused one was answering

A refused conversation command is handed back through the independent
draft merge, which replaces a lone command in the composer. With the
draft now released on send, a /clear typed while /compact was answering
was overwritten by the refused /compact. Return a refused command only
to an empty composer; anything typed since stays as typed, and the
refusal notice still says the command was not done.

* fix(native-chat): count images when a refused command checks for an empty composer

---------

Co-authored-by: mahedi-emon <113725370+mahedi-emon@users.noreply.github.com>
2026-11-09 05:11:56 +00:00
Kelvin Amoaba 09ecfbb90f feat(dictation): remove filler words like “um” and “uh” from dictated text (#40137)
* feat(dictation): remove filler words from dictated text, per language

Spoken fillers (um, uh, äh, えーと, 음, 嗯 and their equivalents) are
dropped from dictated text before it is inserted, on desktop, the web
client and phones that dictate through the computer. The pass runs once
in the speech host's event sink, so every route shares it, and lives in
a new shared text pipeline that later passes join.

Only standalone sounds go, never words with meaning, and the comma after
a filler goes with it. The language comes from a single-language model
or the dictation language setting; an unknown language uses only
fillers that are no word in another language. Voice settings gain a
Remove Filler Words switch, on by default.

* fix(dictation): take the filler language from what the engine is told, and drop the comma before a final filler

* fix(dictation): keep 嗯 as a reply, clean all-caps transcripts, and read the sentence start in constant time

* refactor(dictation): one list of sentence-end marks in filler removal, and drop a duplicate off-switch test

* fix(dictation): write non-ASCII filler punctuation as escapes so the orcad bundle stays ASCII
2026-11-09 05:04:50 +00:00
Neil 76b17ad670 fix(orcad): ship session search worker entry to remote hosts (#40133)
ORCAD_CHILD_ENTRY_POINTS builds session-search-worker-entry.js, but
ORCAD_ARTIFACTS never listed it, so templates, the materializer, and the
remote installer dropped it and SSH-hosted session search failed with
'Session search worker entry not found'. Add the artifact and a test that
every built child entry is listed.
2026-11-08 20:56:01 -08:00
Neil 4fa7b00f53 fix(session-search): bound tool-row purge to rowids above a persisted high-water mark (#40134)
The legacy tool-row purge rescanned the whole messages table on every
writer open and foreign data_version change. Persist the scanned rowid in
meta, and install a trigger that records a floor whenever any writer
(including a downgraded build) inserts a tool row, so reused or later
rowids are still purged without full rescans.
2026-11-08 20:48:30 -08:00
Neil 803e257954 fix(sidebar): let the divider resize instead of scrolling the workspace list (#40087)
* fix(sidebar): let the divider resize instead of scrolling the workspace list

The 4px scrollbar strip past the seam covered the visible divider pixel, so
grabbing the divider over a scrolling list dragged the scrollbar. Drop the
strip and start the resize handle on the divider; the native scrollbar inside
the sidebar is unchanged.

* fix(sidebar): trim the resize handle's outer reach by 1px
2026-11-08 20:41:06 -08:00
Neil 4652a35f87 fix(vm-recipes): stop dialing a sleeping workspace VM, and resume one whose host is gone (#40105)
A suspended recipe VM kept getting reconnect attempts: shared-control
socket retries, health probes and SSH logins. Providers that resume a VM
on a new SSH login or connection woke it again, so suspend saved nothing
(#36363).

While a VM's record is suspended (or its resume failed) and no wake is
under way, Orca now makes no background dial to it:
- SSH: connect and the reconnect ladder refuse that VM's own SSH host,
  which covers tunnels, managed-server checks, census and browser bridge.
- Shared control: no retry after close, and no socket open, including a
  retry timer armed before the sleep.
- Status probe: answers asleep without dialing.
A wake (opening the workspace, Resume) is pending before it dials, so the
wake's own connect passes. Afterwards the server's control socket and
status are reopened.

A VM recorded as up whose SSH host Orca gave up reaching (the reconnect
ladder used every attempt) may have been stopped or reclaimed by its
provider. Before, opening the workspace did nothing for it (#34089). Now
it runs the recipe's resume and reconnects. If that fails, the record is
left as it was, so normal reconnects go on.

Fixes #36363
Refs #34089
2026-11-08 20:40:19 -08:00
Kelvin Amoaba 48ccdd5212 fix(remote-runtime): keep node zlib out of browser bundles (#40124)
The renderer's crew follow reconnect scheduler imported the shared-control
socket state module, which reaches the Node-only sealed-frame reader and
its node:zlib codec. Vite dev throws on that import in the web client,
the desktop renderer's crew panel chunk and the component fixtures.
Move the reconnect timer function next to the scheduler, its only user.
2026-11-09 04:34:49 +00:00
OrcaWinandOrcaWin c7ff101424 Remove 40 low-value test suites and redundant cases (#40126)
* Remove low-value ACP, hook and renderer test suites

* Remove low-value shared automation and agent test cases

* Remove low-value packaging and mobile probe test cases

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 20:33:33 -08:00
Neil e9f4df2c0f refactor: organize rate-limit providers and remove forwarding modules (#40116)
* refactor: group rate-limit providers under concrete owners

* test: preserve mixed Claude account-switch regression

* refactor: consolidate Antigravity service contract import
2026-11-08 20:29:13 -08:00
Tyler HuntingtonandNeil c3cf2dc747 fix(new-workspace): create on the host Run on shows when a per-workspace VM workspace is active (#38782)
With a per-workspace VM workspace active, New workspace showed "Run on: Local
Mac" but created the workspace inside that VM. Seed the composer from the same
project on a visible host, hold Create when the resolved target is a
per-workspace VM (which Run on never lists), and show "Choose target" instead
of another host's name when the selection is not listed.

Fixes #38669

Co-authored-by: Neil <neil@stably.ai>
2026-11-08 20:17:38 -08:00
Kelvin Amoaba 759c4a134e feat(tab-group): redesign the empty split pane as one list of actions (#40113)
Drops the logo and duplicated shortcut list for a single list with key caps, a default-agent row with an agent picker, Go to file, Mobile emulator, Reopen closed tab and a quiet Close pane.
2026-11-09 04:11:49 +00:00
OrcaWinandOrcaWin 6c3ca0ab6d test: remove 34 low-value suites and redundant cases (#40115)
* test: remove low-value ACP, CLI and simulated scroll suites

* test: remove redundant runtime, session composition and timing suites

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 20:10:32 -08:00
Brennan Benson 34fd3b9b4b Show agent speed as one button instead of a Standard/Fast switcher (#40052)
Codex's Speed row used a segmented Standard | Fast switcher while Claude and
Cursor used a single Fast chip. Speed is now always one button: one faster
tier toggles it, several (Fast and Ultrafast, or a configured Flex) open a
list from the button.
2026-11-08 19:55:34 -08:00
Kelvin Amoaba 04e866e12c perf(native-chat): give the old agent 1 s to exit on /clear (#40103)
A process in Claude's group that ignored SIGTERM held /clear for the full
3 s grace; on /clear the supervisor now reaps the group after 1 s.

Linear: STA-14361
2026-11-09 03:53:08 +00:00
OrcaWinandOrcaWin d714d577bf test: remove 45 low-value suites and redundant cases (#40072)
* test: remove low-value synthetic and duplicated cases

* test: remove low-value IPC and renderer cases

* test: remove marginal mobile web build helper cases

* test: remove marginal browser coverage

* test: remove low-value mobile coverage

* test: remove fixture inventories and diagnostic-only cases

* test: remove low-value shared test suites and matrices

* test: remove internal-work and mock-only coverage

* test: remove prose passthrough and scan-count assertions

* test: remove low-value renderer suites and copy counters

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 19:50:37 -08:00
Neil 3be3a9bd78 refactor: organize settings and account defining owners (#40070)
* refactor: place settings and account modules with defining owners

* refactor: reuse the repository recipe defining type
2026-11-08 19:43:10 -08:00
Jinjing 45355b3ada Guard child preservation when eligibility changes (#40094)
* Guard child preservation when eligibility changes

* Keep invalidated child preservation choice safe
2026-11-08 19:40:27 -08:00
NeilandClaude 72e5893944 fix(serve): keep the crash notice across an identity reset and drop stray staged identity files (#40081)
A reset that reclaims a crashed run's lock now puts that record back on release,
without overwriting a lock another start took, so the next start still reports the
crash. Starts without a rotating marker delete leftover .next staged files (one holds
a secret key); an unreadable marker leaves them for recovery by hand.

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-08 19:30:11 -08:00
OrcaWinandOrcaWin cb757a4104 test: isolate watcher capacity state and drop RPC call inventory (#40076)
* test(filesystem): isolate the process-wide watcher capacity registry

* test(repos): drop incidental RPC envelope call inventory

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 19:26:16 -08:00
Kelvin Amoaba b41ab35b72 fix(clone): let a clone use its own folder when the repo's name is taken (#40066)
Cloning always went into <parent>/<repo name>, so a same-named repository
from another owner (or any non-empty folder of that name) could not be
cloned into the same parent. Before cloning, Orca now checks the target
on the clone host. If it is taken, the clone forms show a Folder name
field with a free suggestion (<repo>-<owner>, then <repo>-2...) and clone
into that instead. RPC repo.clone and `orca project setup-clone` accept
the folder name too.
2026-11-09 03:14:06 +00:00
Kelvin Amoaba e290270a73 fix: repair main's session registry import and isolate the popup Electron fixture (#40074)
* fix(browser): import the session registry from its new profiles folder

#40002 moved browser-session-registry into sessions/profiles, and #39613 landed after it with the old path, so main no longer typechecks or builds.

* fix(test): keep the popup Electron fixture in its own worker

#40067 lets unit files share a worker's module cache. The popup compatibility fixture keeps its Electron app, mock server and temp root at module level, so after the first file the others reuse a closed browser.
2026-11-09 02:58:10 +00:00
Kelvin Amoaba a086693d78 fix(native-chat): show newly installed skills in the Codex $ menu before the first message (#40012)
* fix(native-chat): show newly installed skills in the Codex $ menu before the first message

Resting Codex chats served the background probe's skills/list from a
5-minute cache, so a skill installed in that window showed "No matching
skills", even in a new chat. Each menu open now compares a cheap stamp
of Codex's skill folders and skill/plugin config with the one taken
before the last scan, and rescans only when it changed.

Probe requests always force a reload, and probe pools are keyed by the
catalog's launch generation instead of the whole env, whose 10 s refresh
started a second Codex on every rescan.

Fixes STA-14359

* fix(native-chat): keep the structured session hook within its line limit
2026-11-09 02:25:15 +00:00
Kelvin Amoabaandstmoon 49a2163e07 feat(viewer): fit PDF previews to pane width (#39966)
* feat(viewer): fit PDF previews to pane width

- Apply the saved scale on pdf.js pagesinit; a 'page-width' preset set
  before page views exist was dropped, so PDFs opened at 100%.
- Refit 'page-width' when the viewer container width changes.
- Ctrl+wheel / pinch zoom stops on the fit-width scale when crossing it.

* fix(viewer): refit PDF page width once a resize settles

- Refit after the container stops resizing (150 ms) instead of every
  frame of a split drag; each refit re-renders the visible pages.
- Drop the fitted-width cache: Fit to width, the wheel stop and
  pagesinit fit without updating it, so returning to an old width
  skipped the refit. pdf.js already no-ops a same-scale refit.
- Observe the border box so a scrollbar the refit toggles can't loop.
- Apply the latest scale preference on pagesinit, so a zoom made while
  the first page loads isn't undone.
- Record the wheel stop's 'page-width' before update() can move the
  current page, and read the fit scale only for zoom wheels.

* test(viewer): cover PDF wheel zoom stopping at fit width

* fix(viewer): apply the PDF wheel stop as the page-width preset

---------

Co-authored-by: stmoon <munhoney@gmail.com>
2026-11-09 02:08:34 +00:00
ggpepperstechandKelvin Amoaba 041b542a93 feat(cli): list and reload installed browser extensions (#39613)
* feat(cli): list and reload installed browser extensions

* docs(browser): document extension command contracts

* docs(browser): describe extension test fixture factory

* refactor(cli): validate extension reload once and trim list output

The RPC params schema owns the ID-or-path and ID format checks. Reload
drops --profile and the constant scope field, since it always reloads
every profile where the extension is enabled. List no longer returns
icon data URLs or permission lists.

* test(browser): keep five extension reload tests at the command owner

* fix(cli): route orca extension through the packaged Linux launcher

* fix(browser): refresh Settings after an extension reload from the CLI

* test(browser): type the reload fixture list without a cast

---------

Co-authored-by: Kelvin Amoaba <97001695+AmoabaKelvin@users.noreply.github.com>
2026-11-09 02:08:29 +00:00