Commit Graph
21609 Commits
Author SHA1 Message Date
NeilandClaude f7d4fe072b feat(terminal): add a copy button to the terminal error toast (#42679)
The toast shows the error plus the client's Orca/OS/shell details and asks
users to file an issue, but copying it meant drag-selecting the monospace
text. Add a copy icon beside dismiss that copies the error together with the
same environment footer the toast renders.

Move the generic { text, label } copy icon button out of the editor checks
panel into components/clipboard as CopyTextButton so the checks panel and
the terminal toast share it, and fold showClientEnvironment into the footer
so the copied text and the rendered footer share one guard.

Fixes #30061

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-15 01:28:50 -08:00
OrcaWinandOrcaWin 4e834bf939 test: remove 11 low-value suites and theme/NVM policy cases from combined audit (#42678)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 01:25:47 -08:00
Prateek RungtaandNeil a2bcfef327 feat(cli): let orca fill read its value from stdin (#29850)
Add `orca fill --value-stdin` so passwords and other secrets stay out of
argv and shell history. Fill drops one trailing newline from stdin (secret
readers end with one) and rejects empty stdin so a failed reader cannot
silently clear the field; `--value ''` still clears.

Share one flag-or-stdin reader with `orca computer type`/`set-value` and
the `--body-file -` reader. Computer commands keep their existing
semantics: no newline trimming, set-value still accepts empty stdin, and
`--text-stdin=true` style keeps reading stdin.

Fixes #29849

Co-authored-by: Neil <neil@stably.ai>
2026-11-15 01:23:31 -08:00
Neil 3301055c8f fix(themes): keep an unfocused editor selection readable (#42536)
* fix(themes): keep an unfocused editor selection readable

* refactor(themes): clarify the unfocused selection comment
2026-11-15 01:22:27 -08:00
Kelvin Amoabaandoliver-mee e3a3b0d4de fix(browser): render serve pages offscreen so headless screenshots show the page (#42676)
* fix(browser): enable offscreen painting for headless pages

* test(browser): verify hidden backend capture pixels in Electron

* test(browser): capture without forced viewport or clip

* test(browser): use current process-host API in capture proof

* test(browser): handle already-loaded capture fixture

* fix(browser): stop delivering unused offscreen paint frames and prove serve captures on Linux

* test: drop the serve screenshot spec that also passes without the fix

* fix(browser): keep extension observers on offscreen serve pages

---------

Co-authored-by: oliver-mee <102673257+oliver-mee@users.noreply.github.com>
2026-11-15 09:19:06 +00:00
OrcaWinandOrcaWin 738aca5936 test: remove 4 low-value suites and narrow notification store cases from combined audit (#42677)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 01:17:01 -08:00
Kelvin Amoaba 6f8b629ea7 fix(orcad): keep managed servers off the desktop app's runtime ports (#42668)
* fix(orcad): keep managed servers off the desktop runtime's ports

* fix(orcad): drop a saved fallback port in the desktop range on managed launches
2026-11-15 09:11:54 +00:00
OrcaWinandOrcaWin fbeb88d6f6 test: remove 4 low-value suites and narrow artifact policy cases from combined audit (#42672)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 01:06:14 -08:00
OrcaWinandOrcaWin 03bb368ad6 test: remove 14 low-value suites and one standalone driver from combined audit (#42670)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 00:57:44 -08:00
Kelvin Amoaba e131234e7e fix(updater): let macOS updates install while a remote orcad runs its browser helper (#42665)
* fix(updater): hold orcad's browser helper during every macOS install

* fix(updater): keep supervised serve self-updates out of the blocker-free park

* fix(updater): honor late park refusals and hold on any staged quit install

* test(orcad): run the install-park helper test off macOS

* fix(updater): commit the install-on-quit park with async writes

* fix(updater): make quit teardown wait for the install-on-quit park commit
2026-11-15 08:54:26 +00:00
OrcaWinandOrcaWin 07073db317 test: remove 31 low-value suites from combined audit (#42666)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 00:41:51 -08:00
265b5c88ab refactor(backend): split orcad and desktop startup into movable modules (#42537)
* refactor(backend): extract live core startup modules

* refactor(backend): import orcad profile startup directly

* refactor(backend): address review — keep smoke load check covering activation, drop thin wrappers and import-graph test

* perf(layout): skip unused normalization reports in pane commands (#42615)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* Clarify cleanup pinning and ignored-file protection (#42616)

* test: remove 55 low-value suites and assertion driver (#42605)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>

* fix(skills): skip Claude sync scratch folders during skill discovery (#42610)

Claude Code parks replaced skill copies in `.trash` and in-progress syncs
in `.staging` under its skills roots. Discovery walked into both, so each
synced skill showed up as duplicates. Prune those directory names in the
native file walk and in the generated WSL `find` command.

Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>

* test: remove 78 low-value suites and trim redundant cases (#42621)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>

---------

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: OrcaWin <alpha-eng@stably.ai>
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
Co-authored-by: BingZ <zzb@gxsmjx.com>
Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
2026-11-15 00:41:29 -08:00
Neil e85560b4f4 feat(tabs): add opt-in shortcuts to move the active tab left and right (#42661)
Adds tab.moveLeft and tab.moveRight with no default bindings, so tabs can
be reordered from the keyboard once a user binds them in Settings >
Shortcuts. A move steps the focused group's active tab past its visible
neighbor (or the floating panel's tab when that panel owns the event),
stops at the group's edges, and never crosses into another group.

The same-group reorder drag-and-drop already ran is now shared as
reorderTabInGroup: main's layout owner when it owns layout, otherwise the
local reorder plus the web-runtime mirror. Drag behavior is unchanged.

Fixes #26109
2026-11-15 00:32:18 -08:00
Cristian LopezandNeil c62f65bc9a feat(plugins): list any workspace's agents with agents.list({ workspaceId }) (#40743)
* feat(plugins): list any workspace's agents with agents.list({ workspaceId })

* feat(plugins): version agents.list workspaceId as host API 1.10

An added param is new surface a plugin must be able to require, so specs
gain paramsSince and api.minor counts it. Regenerates the declarative
typings the first commit missed.

* fix(plugins): report runtime failure codes for agents.list workspaceId

The param is 1.10, after the runtime failure codes, so a call naming a
workspace reports unavailable for a disconnected host; calls without it
keep action_failed.

---------

Co-authored-by: Neil <neil@stably.ai>
2026-11-15 00:30:45 -08:00
Kelvin Amoaba af63dfa22b fix(tabs): keep tab clicks while an agent clicks in a browser page (#42663)
An agent's click in a browser page moves window focus into that page's
guest and Orca's focus guard moves it back. A tab press held across that
bounce read it as the user leaving the window and was dropped.
2026-11-15 08:29:30 +00:00
Kelvin Amoaba e9d8eb25e4 fix(browser): always answer grab mode requests, and skip them on idle pages (#42664)
Electron's executeJavaScript waits for the page to stop loading and never
settles if the page is destroyed first. Every navigation sent a grab
teardown even with grab off, so closing a loading tab left the request
without a reply ("reply was never sent").
2026-11-15 08:29:23 +00:00
Jinjing c90f95fad0 test: cover web at-risk scan response deadline (#42244) 2026-11-15 00:28:13 -08:00
kaluli123123andNeil 1db3760528 fix(browser): keep Clear default cookies available, with confirmation (#15044)
The Default profile's trash button was disabled whenever the profile had
no import record (`disabled={!profile.source}`). Clearing the jar resets
`source` to null, so the button locked itself after one use, and users
who signed in directly in Orca could never clear the default partition.

The button is now always enabled, labeled ("Clear default cookies"
tooltip and aria-label), and asks for destructive confirmation before
wiping the default partition. Strings are added to every locale.

Co-authored-by: Neil <neil@stably.ai>
2026-11-15 00:27:08 -08:00
OrcaWinandOrcaWin 7b5f3176f3 test: remove 287 low-value suites from combined audit (#42659)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 00:17:59 -08:00
Kelvin AmoabaandBingZ 2b4026d4cb fix(cli): keep $ and backticks literal in commands printed for PowerShell (#42656)
Co-authored-by: BingZ <11211020+bbingz@users.noreply.github.com>
2026-11-15 08:17:32 +00:00
OrcaWinandOrcaWin 390e62e1cd test: remove 47 low-value test suites (#42648)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 23:56:56 -08:00
Kelvin AmoabaandBeamNawapat 3e123c6a23 fix(computer-use): turn on full macOS accessibility for Orca and Gecko apps (#42652)
The helper asked Chromium for its full accessibility tree only for a
fixed list of bundle ids. Orca's own builds were missing, so they got
only the basic tree the role read turns on, where AXPress on web content
does nothing. Gecko apps such as Zotero and Firefox were missing too and
showed only the window frame.

Add Orca's bundle ids and any app that ships Gecko's Contents/MacOS/XUL.
Stop asking on every snapshot: each request restarted Chromium's 2 s
delay, so a click right after a snapshot hit a page that had not
switched yet. Ask on first contact and wait out the delay, then again
every 30 s, since turning VoiceOver off drops the mode. The list stays a
list: the mode also turns on screen-reader mode, which VS Code and its
forks react to.

Fixes #23233
Fixes #24843

Co-authored-by: BeamNawapat <39422342+BeamNawapat@users.noreply.github.com>
2026-11-15 07:53:53 +00:00
Kelvin Amoaba d6ca3aae25 fix(computer): report an unreachable Linux accessibility bus instead of crashing (#42642)
* test(computer): run the Linux bridge against an unreachable accessibility bus

* fix(computer): report an unreachable AT-SPI bus instead of aborting the Linux bridge

* test(computer): read the bridge response past the registry banner

* test(computer): keep the healthy-bus check off the desktop's X display
2026-11-15 07:39:44 +00:00
Kelvin Amoaba c53ba40801 fix(computer-use): put the pointer back after macOS --restore-window clicks, scrolls and drags (#42643)
* fix(computer-use): put the macOS pointer back after --restore-window clicks, scrolls and drags

HID gestures left the user's pointer at the target. Save it first, and after a
200 ms settle warp it back unless it no longer sits where the last posted event
left it, which means the user moved it. The HID idle counter can't tell: posting
to the HID tap resets it too.

* fix(computer-use): keep the pointer where the user moved it during a macOS HID gesture

* fix(computer-use): save the macOS pointer right before the first HID event
2026-11-15 07:39:12 +00:00
Jinwoo Hong 0e3a7aae11 fix(native-chat): import tables whose rowid is an INTEGER PRIMARY KEY (#42630)
SQLite names the rowid result column after an INTEGER PRIMARY KEY column,
so the profile copy read pr_check_events rows with an undefined rowid and
failed to bind it. Alias the rowid so every profile table copies.
2026-11-15 02:38:35 -05:00
OrcaWinandOrcaWin e58da9a72b test: remove 52 low-value suites and trim journal samples (#42640)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 23:38:15 -08:00
Brennan Benson d85fa2f5d2 perf(native-chat): batch background reply status publications (#42550)
* perf(native-chat): reuse deterministic session pane identity

* perf(native-chat): batch streaming status facts between transitions

* perf(native-chat): keep pending prose off focus reconciliation

* test(native-chat): model live panes in switch regression fixture
2026-11-14 23:30:37 -08:00
OrcaWinandOrcaWin 9ebc9ce729 test: remove 54 low-value test suites (#42636)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 23:23:59 -08:00
Yuhi IshikuraandNeil b60ef09d1c fix(native-chat): make Shift+Enter start a new paragraph in the composer (#42607)
Shift+Enter inserted a hardBreak inside one paragraph, while paste, prompt
recall and restored drafts already used one paragraph per line. ProseMirror
handles triple-click, Mod-click and macOS Ctrl+A/Ctrl+E per paragraph, so on
a message typed with Shift+Enter they all acted on the whole message.

A small appendTransaction plugin now splits every hardBreak into a new
paragraph in the same undo step, so Shift+Enter, rich-text drops and HTML
pastes all produce paragraph lines. Saved drafts with hard breaks are split
into paragraph lines when the editor adopts them. The placeholder and @agent
spacing follow the per-paragraph shape. The NativeChatLineBoundaryKeys
override from #42409 is no longer needed and is removed.

Fixes #42606

Co-authored-by: Neil <neil@stably.ai>
2026-11-14 23:21:40 -08:00
OrcaWinandOrcaWin 0ec31ab47b test: remove 55 low-value suites and trim redundant cases (#42633)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 23:08:08 -08:00
OrcaWinandOrcaWin 3df184a64d test: remove 42 low-value test suites (#42626)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 22:51:36 -08:00
Brennan Benson fc0576a844 perf(native-chat): isolate sidebar and hidden-pane subscriptions (#42546)
* perf(native-chat): reuse deterministic session pane identity

* perf(native-chat): retain unchanged sidebar rows and quiet hidden strips

* style(native-chat): combine sidebar selector imports

* test(native-chat): supply required parent prompt in reveal fixture
2026-11-14 22:46:41 -08:00
Brennan Benson 0697541cca perf(native-chat): reuse deterministic session pane identity (#42529) 2026-11-14 22:44:32 -08:00
Brennan Benson 61df0419a6 fix(window): reload, Force Reload and close wait for the window's state to reach disk (#42596)
* fix(window): native reloads and window close wait for the durable session checkpoint

Menu, keyboard (including Force Reload), DevTools and in-app reloads now ask
the renderer to run the same checkpoint preparation as the in-app restart,
including the main-side durable flush and its retry-then-degrade budget.
A renderer that reports a failed save keeps its document, matching the
in-app reload. A renderer that never answers is reloaded after a bounded
deadline (quit's frozen-renderer bound plus the checkpoint flush deadline),
as before. Rich and landing-page window close wait for the staged
checkpoint to reach disk and cancel when it fails.

* fix(window): name a failed close checkpoint and close on the second failure

A durable-write failure now reports its reason in the canceled-quit toast,
and a repeated close after it proceeds as before the wait existed, so a
broken disk cannot trap quit.

* fix(window): close waits for a pending reload checkpoint and a renderer exit cannot strand quit

A close requested while a reload's durable checkpoint runs now waits for that verdict and replaces the reload. A renderer that exits after acknowledging a quit close no longer leaves quit waiting for a confirmation that cannot come.

* fix(window): settle reload/close races found in review

A prepare request that fails to send no longer leaves later reloads skipping the checkpoint. Any close a dying renderer was answering now finishes, and every cancel clears it. A reload no longer discards a quit close the renderer is still answering, and a reload replaced by a close restores the page's ordinary unload guards. In-app reload failures show the same toast as menu reloads.

* fix(window): track one close per window that quit only upgrades

Stale cancels are recognised from the acknowledgement order, the custom X gets its own request id, a reload retires an ordinary close, and a close deferred behind a reload bypasses a renderer that died meanwhile.

* fix(window): an overlapping close joins the pending checkpoint instead of counting its failure twice

* fix(window): a frozen renderer cannot hold Force Reload for the full save deadline, and an unreceived close no longer destroys the window on a later crash

* fix(window): a tracked quit always finishes when its renderer dies; an ordinary close counts as received once any of its requests was acknowledged
2026-11-14 22:42:50 -08:00
Brennan Benson 5e179d1d7e fix(native-chat): show Claude's error under Details when a chat fails to start (#42524)
When Claude answered a startup control request with an error, Orca dropped
its words, so the chat showed "Claude couldn't start. Send your message to
try again." with no Details. Attach Claude's answer as the diagnostic;
SDK-tagged transport failures (exits, spawn errors) keep their stderr.
2026-11-14 22:41:03 -08:00
b5456ac9c6 test: remove 53 low-value suites and trim redundant cases (#42624)
* perf(layout): skip unused normalization reports in pane commands (#42615)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* Clarify cleanup pinning and ignored-file protection (#42616)

* test: remove 55 low-value suites and assertion driver (#42605)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>

* fix(skills): skip Claude sync scratch folders during skill discovery (#42610)

Claude Code parks replaced skill copies in `.trash` and in-progress syncs
in `.staging` under its skills roots. Discovery walked into both, so each
synced skill showed up as duplicates. Prune those directory names in the
native file walk and in the generated WSL `find` command.

Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>

* test: remove 78 low-value suites and trim redundant cases (#42621)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>

* test: remove 53 low-value suites and trim redundant cases

---------

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
Co-authored-by: BingZ <zzb@gxsmjx.com>
Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
2026-11-14 22:32:38 -08:00
OrcaWinandOrcaWin 393ca7b0ba test: remove 78 low-value suites and trim redundant cases (#42621)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 22:14:32 -08:00
BingZandNeil 4bab5f2ea9 fix(skills): skip Claude sync scratch folders during skill discovery (#42610)
Claude Code parks replaced skill copies in `.trash` and in-progress syncs
in `.staging` under its skills roots. Discovery walked into both, so each
synced skill showed up as duplicates. Prune those directory names in the
native file walk and in the generated WSL `find` command.

Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
2026-11-14 22:05:54 -08:00
OrcaWinandOrcaWin 6926c1b56e test: remove 55 low-value suites and assertion driver (#42605)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 22:02:12 -08:00
Jinjing 60cfbe0dbf Clarify cleanup pinning and ignored-file protection (#42616) 2026-11-14 22:47:09 -07:00
Jinjing fdb4301a8b perf(layout): skip unused normalization reports in pane commands (#42615) 2026-11-14 22:45:09 -07:00
Kelvin Amoaba 3454495763 fix(computer): fall back to /usr/bin/python3 when the PATH python3 can't load PyGObject on Linux (#42617)
* fix(computer): retry Linux computer use with the system python3 when PATH's lacks PyGObject

* fix(computer): retry from venvs that share the system python binary

* refactor(computer): reuse isExecutableFile for the system python check
2026-11-15 05:26:45 +00:00
NeilandTakumi Hara 07eced7636 fix(editor): open VS Code-family editors at the clicked line on macOS (#42613)
When a linked file's macOS default app is Cursor, VS Code or VS Code
Insiders, hand it `--goto path:line:column` with
`open -n -g -a <app> --args`, the same LaunchServices hand-off the bundled
CLI ends in, minus the CLI's Node startup and `--env` forwarding. The
editor sees a desktop (non-Dock) open, so it reuses the file's window as
a CLI open would. An empty env keeps Orca's variables out of the editor
and lets a cold start resolve the login-shell env. `open` returns once
the app has launched, like shell.openPath, so there is no timer; a
non-zero exit or spawn error falls back to shell.openPath. Other
platforms, other apps, links without a line, and files main reveals
instead of opening are unchanged.

The IPC location reuses RuntimeFileOpenPosition. Moves the positive
safe-integer guard to src/shared so this and its two existing copies
share one definition.

Fixes #29508

Co-authored-by: Takumi Hara <takumihara1226@gmail.com>
2026-11-14 21:15:22 -08:00
Neil d5a90c0da0 refactor(shared): group host and runtime owners by domain (#42528) 2026-11-14 21:10:34 -08:00
Kelvin Amoaba 7a68b28c8b ci(release): point the R2 android/latest mirror at the new Android app (#42592) 2026-11-15 04:59:56 +00:00
Hayden FlinnerandNeil 3036ed0df1 fix(window): cap main-window listeners at 30 and fix two 'destroyed' listener leaks (#42595)
The main BrowserWindow and its webContents logged MaxListenersExceededWarning on
every boot because normal subsystem fan-out exceeds Node's default of 10. Raise
the per-event warning threshold to 30 so the warning only fires on real leaks.

Fix the two leaks that the warning was masking:
- plugin panel push: each open added a 'destroyed' listener to the sender and
  close never removed it. Track the release hook per session (via
  addFanoutListener) and release it on close.
- pending VM checkouts: the drop handler removed its 'render-process-gone'
  listener but not its 'destroyed' listener, so each renderer crash leaked one.

Fixes #42594

Co-authored-by: Neil <neil@stably.ai>
2026-11-14 20:50:05 -08:00
ClarkChenandNeil 5a78da16bb fix(settings): end shortcut recording on click-away so global shortcuts resume (#42400)
After a rejected chord (conflict or invalid), the Shortcuts recorder keeps
listening, but keys only reach it while it has focus. Clicking elsewhere left
the row stuck on "Press keys..." and kept setShortcutRecorderFocused(true),
so main-process window shortcuts stayed suspended.

While recording, a capture-phase window click listener now ends recording
when focus has moved off the recorder. Window/app switches keep recording as
before. The row error stays mounted (and copyable) after click-away; starting
any recorder clears stale errors. While recording, a rejected chord now shows
"Press another shortcut, or Esc to cancel." next to the error.

Fixes #42398

Co-authored-by: Neil <neil@stably.ai>
2026-11-14 20:44:55 -08:00
Shubham RawatandNeil 89b3c287fb fix(skills): stop flagging user-owned former computer-use copies beside a current bundled skill (#42472)
When orca-computer-use was already installed and current, a leftover
folder under the former name (computer-use) that Orca does not own --
edited or unrelated user content -- still produced a `leave` op, so the
Computer Use settings panel showed "Needs attention" with a Retry that
could never clear it.

When the current-name target is `keep`, drop former-name leaves whose
reason is `edited` or `other`; those folders are the user's own skills,
not blockers. Leaves Orca still owns but cannot retire (for example an
unwritable released copy) keep surfacing as attention.

Fixes #42408

Co-authored-by: Neil <neil@stably.ai>
2026-11-14 20:39:40 -08:00
Jinjing b46c08e3fa Show the current chat model and effort in the composer tooltip (#42278)
* fix: show chat model and effort in composer tooltip

* fix: keep disabled model picker tooltip inspectable

* fix: retain composer picker focus and tooltip description
2026-11-14 20:32:58 -08:00
OrcaWinandOrcaWin 502d2bddb0 test: remove 58 low-value suites (#42603)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 20:10:17 -08:00