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>
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>
* 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>
* 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
* 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>
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
* 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>
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.
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").
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>
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#23233Fixes#24843
Co-authored-by: BeamNawapat <39422342+BeamNawapat@users.noreply.github.com>
* 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
* 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
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.
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>
* 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
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.
* 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>
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>
* 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
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>
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>
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>
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>
* fix: show chat model and effort in composer tooltip
* fix: keep disabled model picker tooltip inspectable
* fix: retain composer picker focus and tooltip description