Commit Graph
21702 Commits
Author SHA1 Message Date
Kelvin AmoabaandBingX 1b82ef66d6 fix(notifications): hold the finished notification while a Codex goal keeps running (#42838)
* fix(notifications): hold Codex completion while its goal keeps running

Codex starts the next goal turn by itself, so a successful turn that
settles while the thread goal is active is not the end of the work.
The SQL observer now reports when the newest goal row is an active
Codex goal on a live generation, and the completion feed holds success
until that stops. Claude goals finish within one turn and never hold.

Co-authored-by: BingX <22970633+bing-xbx@users.noreply.github.com>

* fix(notifications): announce a goal turn that ends on an open async question

---------

Co-authored-by: BingX <22970633+bing-xbx@users.noreply.github.com>
2026-11-15 23:12:37 +00:00
Brennan Benson df15cdfe89 Stop abandoned Git children before starting queued work (#42562)
* fix(git): retire native process groups after abnormal stops

* fix(git): drain worker output after group retirement

* test: retain descendant cleanup until liveness assertion passes
2026-11-15 23:10:22 +00:00
OrcaWinandOrcaWin c3ae5fbe6a test: remove 57 low-value suites (#42851)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 15:07:55 -08:00
OrcaWinandOrcaWin db41b72236 test: remove 32 low-value suites (#42831)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 14:53:15 -08:00
Kelvin Amoaba 1ce376b27e feat(mobile): manage MCP servers from /mcp in chat (#42224)
* feat(mobile): manage MCP servers from /mcp in chat

/mcp in a Claude or Codex chat on the phone opens an MCP servers sheet with
the same status, sign-in, reconnect and on/off controls as desktop. The
phone never runs the agent, so sign-in finishes by pasting the address the
browser lands on. The sheet is offered where the host reports
agent-session.mcp.v1 and the chat's agent manages MCP servers, and it stays
open through a reconnect so a sign-in in progress isn't lost.

* feat(mobile): show /mcp as a tray on the composer instead of a sheet

/mcp now opens the MCP servers list as a tray docked on the composer's top
edge, the same box the goal strip uses. The header shows the counts (or the
sign-in in progress) and a close button; rows are one line with the status
dot, a truncating status, Sign in / Reconnect and the switch. The list is
capped at 40% of the chat's visible height, which shrinks with the
keyboard, so the paste field, tray and composer stay on screen.
2026-11-15 22:34:25 +00:00
Kelvin Amoaba 1b243460ed feat(browser): free idle serve browser tabs under Memory Saver and restore them when used again (#42686)
* feat(browser): free idle serve browser tabs under Memory Saver and restore them when used again

On orca serve, agent-opened browser tabs kept a renderer process each for as
long as the host ran. Serve tabs now follow Settings > Browser > Memory Saver
(on by default, 4 hours): a saved tab with no command, capture or viewer for
that long gives back its renderer. It stays listed and its next use starts it
again under the same page id with its back/forward history. Pages that
page-less commands route to, or that hold request routes, a HAR capture, a
dialog, popups or what the desktop Memory Saver keeps, are not freed.

* fix(browser): apply Memory Saver changes to idle serve tabs and close freed tabs fully

* test(browser): spend the first offscreen window before counting frames under Xvfb

* fix(browser): remember an all-requests route so idle freeing keeps its page
2026-11-15 22:32:36 +00:00
Brennan BensonandClaude Opus 5.5 ec4f7c6d86 fix(native-chat): keep chats an older Orca saved after a downgrade (#42783)
* fix(native-chat): keep chats an older Orca saved after a downgrade

After upgrading to the SQLite chat store, going back to an older Orca and
upgrading again hid everything the older build wrote: chats it started never
appeared, and turns it added to chats already converted never showed.

Each chat now records the original journal revision it was converted from.
On every launch, before the store opens, chats whose original moved on are
kept: a chat this file hasn't converted joins as itself and converts from the
current original; a converted chat the older build continued is kept as a
second chat beside it holding the older build's history. Nothing is deleted
or merged, and the original journal is never written. Attachments the older
build claimed stay claimed so the sweeper keeps their files.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): retry chats an older Orca saved until they are kept

- A failed chat leaves the original unabsorbed, so the next launch retries it
  instead of taking its revision as shown.
- Every chat gets a baseline revision at the first copy (record-only chats
  too), so a chat deleted here stays deleted unless the older build writes it.
- Chats converted before revisions were kept are filled in once, and only
  while the original is unchanged.
- The original's tabs and claims are read once per pass, and the pass is
  skipped while the original's file identity, now including its WAL's, is
  unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): fill in revisions only for an untouched original, and show kept chats

- Chats converted before revisions were kept are filled in only when the
  original's identity matches exactly (a clean WAL); any other case runs the
  full pass, which can only add chats.
- A chat new to this file gets a tab; one it already holds keeps its
  visibility here. A file that never recorded its tab index records it with
  every chat shown, so a kept chat isn't hidden behind client-derived tabs.
- Claims are grouped without copying arrays.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): show every chat an older Orca wrote, even one closed here

A chat closed in the new build and then continued in the older build stayed
hidden; it now gets its tab back. The test's row helper uses a type guard
instead of a cast.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* chore: keep the audit-tools lockfile as on main

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): reread kept-chat tab state after a failed chat; no extra stat

A chat whose transaction rolled back left the pass's in-memory tab state
ahead of the file, so a later chat could skip recording the tab index. The
pass now rereads it after a failure. The original's absence comes from the
receipt's own stat instead of a separate sync existence check.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* test: keep the chat store's original-journal provenance when seeding record state

The seed helper cleared all store metadata, including the receipt and per-chat
revisions only the chat store writes, so a later launch looked like a file that
had never recorded them.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(native-chat): recheck the original before taking its revisions as current

Revisions filled in for files converted before revisions were kept now commit
only if the original's identity is unchanged after reading them, so a write
by another process mid-pass is absorbed next launch instead.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-15 14:30:46 -08:00
Kelvin Amoaba 0cae8eaeb5 feat(native-chat): manage MCP servers from /mcp in Claude and Codex chats (#42222)
* feat(native-chat): manage MCP servers from /mcp in Claude and Codex chats

/mcp in a Claude or Codex chat now opens an MCP servers panel instead of
sending the text to the agent, where SDK mode only printed a one-line
summary. The panel lists each server's status and lets you sign in,
reconnect, and turn servers on or off.

Claude goes through the Agent SDK's control requests on the running chat,
including the runtime-only mcp_authenticate and mcp_oauth_callback_url.
Codex goes through app-server: mcpServerStatus/list, mcpServer/oauth/login
and config/batchWrite, with short-lived app-servers for chats at rest.
Sign-in opens the browser; when the agent runs on another host, the user
pastes the address the browser lands on.

* feat(native-chat): show /mcp as a tray on the composer instead of a dialog

/mcp now opens a tray attached to the composer's top edge, built on the
same tab strip as the goal and worker strips, so it stacks under them.
The header sums up connected, sign-in and failed servers; rows are one
line each with the action and switch on the right, and sign-in details
sit inline under their row. Esc or the close button returns focus to the
draft, and switching away from the chat closes it.

The modal wiring is gone, and the usage modal is back to its own request
type now that nothing shares it.
2026-11-15 22:24:27 +00:00
Kelvin Amoaba bf05c9b2ae feat(native-chat): show agent sign-in requests as a card in chat (#42219)
ACP agents can ask the user to open a sign-in page with URL-mode
elicitation (elicitation/create mode "url", then elicitation/complete).
Orca now advertises URL elicitation to ACP chats and shows the request as a
"Sign-in requested" card with the link's host, Open sign-in page and
Decline. Open replies accept once the system browser opens the page; the
card collapses to "Sign-in finished" when the agent sends completion.

Grok forwards its MCP servers' elicitations through its own
x.ai/mcp/elicit extension, which Orca refused before. URL requests now use
the same card and form requests use the existing question card.
2026-11-15 22:19:14 +00:00
Kelvin Amoaba 15cbd7154c fix(browser): keep sites signed in across restarts by restoring session cookies (#42587)
* fix(browser): keep session cookies across restarts

Electron never writes cookies without an expiry to a partition's cookie database, so sites that sign in with one sign out every time Orca restarts. Orca now saves each browser profile's session cookies (sealed with the secret store) and puts them back at launch, before restored tabs load.

* perf(browser): restore and save session cookies without a renderer per profile

Launch restore opened a hidden CDP renderer for every browser profile with
saved cookies, two at a time, before the first window. With 51 profiles that
added 1.7 s to launch. Unpartitioned cookies now go back through Electron's
cookies API; only partitioned ones, or ones whose scope the jar already holds,
still use CDP.

Saves opened a hidden renderer per profile every 30 s while a site rotated a
session cookie, with no limit across profiles: 51 profiles meant 51 renderers
at once. A save where each changed scope's one cookie was only set again now
takes the new value from Electron's cookie list. Other saves read through CDP,
at most two at a time. A save also no longer reschedules itself after its
profile is deleted.

* fix(browser): keep the session cookie file in step with failed writes and reads

A save recorded its cookies as saved before writing them, so a failed write
made the retry skip the write. An unreadable file read as empty, so a later
save with no session cookies skipped the write and left the old file to be
restored on a later launch. Tracking now starts before the file is read, so
a cookie change during a slow read is not missed.

* fix(browser): hold session cookie saves until the launch read is in

Tracking starts before the saved file is read, so a save could run against an empty baseline and the late read could then replace a newer one. Saves now wait for the read, and quit leaves a file that is still being read untouched.
2026-11-15 22:14:00 +00:00
942447c71b fix(i18n): translate 1,302 missing Japanese UI strings (#42028)
* fix(i18n): translate 1,302 missing Japanese UI strings

Fixes #42027

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(i18n): correct Japanese usage error grammar

* fix(native-chat): resolve moved async question module in journal status

* style(i18n): format merged Japanese settings groups

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Neil <neil@stably.ai>
2026-11-15 14:12:44 -08:00
Kelvin Amoaba b6173eff04 fix(computer): click macOS windows that refuse focus when --restore-window is allowed (#42824)
* fix(computer): click macOS windows that refuse focus with --restore-window

A raised window that never becomes the focused window (Archicad's CEF start window) failed every --restore-window click with window_not_focused, because the click fence required the target to be focused as well as topmost at the point. A real click reaches the topmost window whether it is focused or not, so when the target stays unfocused the click now goes ahead while the target is topmost at the point, and is refused before anything is sent when another window covers it. Afterwards the app the user had in front comes back if the raise or the click left the target app in front without the target window.

* fix(computer): restore the front app only after a click on a window that refused focus

* fix(computer): keep the target app in front when an unfocused-window click opened something

* fix(computer): count small popups and re-read the front app last before restoring it
2026-11-15 22:07:37 +00:00
Kelvin Amoaba 2d957a0f0a fix(browser): count clicks inside sandboxed and cross-site frames as page input (#42823)
Electron's input-event only observes the main frame's widget, so a click in an
out-of-process iframe never released a quieted prompt, funded a popup or ended
an agent's lead. Mouse activation now comes from before-mouse-event, which
fires for every frame.
2026-11-15 22:07:22 +00:00
Kelvin Amoaba 8e693efda4 feat(computer): add flags for smaller screenshots on macOS, Windows and Linux (#42801)
* feat(computer): add opt-in flags for smaller computer-use screenshots

Every observe and action screenshot came back as a full-resolution PNG, so a Retina window cost about four times the pixels it needed. --screenshot-scale caps pixels per window point, --screenshot-max-edge caps the longer side, and --screenshot-format jpeg re-encodes it, on macOS, Windows and Linux. Defaults are unchanged.

* fix(computer): treat requested screenshot sizes as ceilings and skip repeat encodes
2026-11-15 22:06:12 +00:00
dbe9d01cfa fix(i18n): fill Simplified Chinese coverage gaps (#41954)
* fix(i18n): fill Simplified Chinese coverage gaps

Co-authored-by: x-Ai <5061489+x-Ai@users.noreply.github.com>

* fix(native-chat): resolve moved async question module in journal status

---------

Co-authored-by: Neil <neil@stably.ai>
Co-authored-by: x-Ai <5061489+x-Ai@users.noreply.github.com>
2026-11-15 14:04:01 -08:00
Neil eaadef5590 fix(i18n): restore saved language after a slow startup catalog (#42819)
* fix(native-chat): resolve moved async question module in journal status

* fix(i18n): restore saved language after a slow startup catalog
2026-11-15 13:56:34 -08:00
24da434aff fix(sidebar): let a row click hand typing to the opened terminal again (#42806)
* fix(sidebar): let a row click hand typing to the opened terminal again

Since 1.4.259 a plain click on a workspace row parked keyboard focus on the
sidebar list and marked it as keyboard navigation, so terminal and chat focus
requests yielded and typing went nowhere until a second click (STA-15458).
The same stale mark also swallowed explicit focus requests such as
`orca terminal switch`, which reported success (STA-15415).

- Only a modifier click (multi-select) claims list focus; a plain click
  hands keys to the opened workspace's terminal or chat.
- Any pointer press ends list keyboard navigation again, so a click after
  arrow keys or a modifier click, and agent-row clicks, also hand focus off.
- The focus-list shortcut marks keyboard navigation so a terminal that
  finishes mounting afterwards cannot take the keys back.
- Explicit pane focus requests (CLI/notification focus, agent rows) end
  sidebar list navigation before focusing.

The delete shortcut still acts only on sidebar-selected rows while the list
has keyboard focus, and never on a hovered row.

Co-authored-by: Pr1p <48266347+Pr1p@users.noreply.github.com>
Co-authored-by: Pranav Tomar <43115768+Mystery01092000@users.noreply.github.com>

* test: give the sidebar focus fixture rows aria-selected

* fix(sidebar): re-clicking the open workspace row hands its terminal the keys

---------

Co-authored-by: Pr1p <48266347+Pr1p@users.noreply.github.com>
Co-authored-by: Pranav Tomar <43115768+Mystery01092000@users.noreply.github.com>
2026-11-15 16:52:43 -05:00
JinjingandNeil 6685a340e8 Localize setup script validation messages (#42232)
* Localize setup script validation messages

* fix(native-chat): resolve moved async question module in journal status

---------

Co-authored-by: Neil <neil@stably.ai>
2026-11-15 13:51:27 -08:00
ca714e55f5 fix(i18n): complete Turkish translations in General settings (#42782)
Translate the remaining English strings in the Turkish catalog for the
General settings page and its subpages (confirmations, editor typography,
form controls), including settings search keywords, aligned with terms
already used elsewhere in the Turkish catalog.

Co-authored-by: Hermes Agent <hermes@emirhanc.com.tr>
Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
Co-authored-by: Neil <neil@stably.ai>
2026-11-15 13:51:20 -08:00
fb193c8e09 fix(i18n): finish desktop localization leftovers (#36787)
* fix(i18n): finish desktop localization leftovers

Use standalone Japanese forms for Recent, translate worktree palette
screen-reader labels, and keep German nouns capitalized when joining
tool-run clauses.

* fix(native-chat): resolve moved async question module in journal status

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
Co-authored-by: Neil <neil@stably.ai>
2026-11-15 13:51:14 -08:00
Kelvin AmoabaandAleksei Tcelishchev 14af800058 feat(mobile): add Take back all to the phone-driven browser banner (#42821)
The browser tab's phone banner only offered Take back. Add a ghost Take back all next to it that restores every phone-held terminal and browser tab, sharing the logic with the terminal banner.

Co-authored-by: Aleksei Tcelishchev <1243074+casualuser@users.noreply.github.com>
2026-11-15 21:50:39 +00:00
Nico HuandKelvin Amoaba 1e9051cbd2 fix(mobile): apply home tab bar safe area natively (#41970)
* Apply the home tab bar bottom safe area natively

* Preserve footer spacing above small system navigation insets

* fix(mobile): raise the home tab bar's bottom floor instead of adding to every inset

Inset + 8dp also made the bar 8pt taller on every iPhone and on 3-button Android, where labels already cleared. A 16dp floor, as BottomSearchBar uses, clears the pill on the OPPO Pad mini and leaves normal insets as they were.

---------

Co-authored-by: Kelvin Amoaba <97001695+AmoabaKelvin@users.noreply.github.com>
2026-11-15 21:50:05 +00:00
OrcaWinandOrcaWin 6161632e6c test: remove 34 low-value suites (#42822)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 13:45:47 -08:00
Kelvin AmoabaandRadu Toader 79377cb989 feat(mobile): return to a chat tab where you left its transcript (#42584)
* feat(mobile): return to a chat tab where you left its transcript

One chat view serves every session tab, and a tab switch only changes its
scope, so the list jumped to the tail and opened tool runs collapsed on every
return. The page list now saves each chat's reading place and drawn rows
while the reader is away from the tail and puts them back when the chat shows
again. Opened tool runs, and the row keys they are saved under, are kept per
chat too. A chat left at its tail, or whose anchor rows are gone, still opens
at the tail and follows.

Co-authored-by: Radu Toader <4960306+radut@users.noreply.github.com>

* fix(mobile): keep a chat's saved place through a reload, and relative to the scroller

A tab switch to a chat whose rows are still loading no longer forgets its
saved place, so the list puts it back once the rows draw; sending or jumping
to latest still forgets it. Reading anchors now measure from the scroller's
top, so a place saved on an earlier visit holds if the scroller moved.

---------

Co-authored-by: Radu Toader <4960306+radut@users.noreply.github.com>
2026-11-15 21:43:59 +00:00
Neil 5b53483928 fix(native-chat): repair main import and projection lint failures (#42817)
* fix(native-chat): resolve moved async question module in journal status

* fix(native-chat): simplify optional status tool normalization
2026-11-15 13:36:10 -08:00
Brennan Benson e65baeb7ee fix(storage): reclaim stale managed runtimes on launch and gzip usage source sidecars (#42807)
* fix(storage): reclaim stale managed runtimes on launch and gzip usage source sidecars

* fix(storage): reclaim on orcad hosts too; skip throwaway gzip writes
2026-11-15 13:35:58 -08:00
Jinwoo Hong 9bebd77c77 fix: repair the main build after the Codex async question module move (#42818)
Point journal-sql-status-items at the moved codex-async-question-input module (#42620 moved it before #42459 landed with the old path) and inline a one-use callId so structured-agent-session-projection.ts is back under the 300-line limit. No behavior change.
2026-11-15 16:31:35 -05:00
Neil 69cfecdf70 refactor: organize shared lifecycle and runtime owners (#42792) 2026-11-15 13:18:34 -08:00
Jinjing abb8b7cf7c Fix sign-out and workflow translations (#41419)
* fix(i18n): refresh sign-out and workflow translations

* fix(i18n): clarify preserved branch cleanup status

* fix(i18n): align activity agent terminology
2026-11-15 13:08:56 -08:00
Kelvin AmoabaandTobani Esan-George 2c789f9871 feat(native-chat): run Cursor in Chat over its ACP server (#42193)
Cursor chats run `cursor-agent acp` with the host's Cursor login. Models
come from cursor/list_available_models with each model's own effort levels
and Fast default, and effort, Fast and model are written as Cursor's own
options. Cursor's question and plan requests name no session, so they are
routed to the chat and shown as cards instead of being refused, which made
Cursor fall back to a permission request Full access would have answered.
Only Claude and Codex treat an unpicked Fast as off.

Carries over #41494.

Co-authored-by: Tobani Esan-George <tobanigeorge@gmail.com>
2026-11-15 21:07:20 +00:00
Kelvin Amoaba c7d4cb5d52 feat(pi): show native chat subagents from the managed status extension (#42448)
Native chat strips the hook endpoint, so the managed extension's subagent
roster never reached Pi chats. In structured sessions the extension now
publishes the roster as a status line, and the Pi RPC adapter turns it into
child-work evidence for the existing subagent rows.
2026-11-15 21:03:12 +00:00
OrcaWinandOrcaWin cbbdc26c63 test: remove 16 low-value suites and trim process/stream cases (#42805)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 13:02:38 -08:00
Kelvin Amoaba 01eb509036 fix(native-chat): reopen an OpenCode chat in the folder OpenCode moved it to (#42590)
OpenCode 2.x moves a conversation with its session_move tool and then refuses session/load from the old folder. Look the session up with session/list and load it where it lives instead of replacing it with a new session.
2026-11-15 20:59:23 +00:00
Kelvin AmoabaandRadu Toader 3a8b23ab04 feat(mobile): scroll a chat reply to its start from the ↑ under it (#42583)
* feat(mobile): scroll a chat reply to its start from the ↑ under it

Desktop's reply controls have an ↑ that puts the reply's start at the top
and releases the tail follow. Mobile replies had only Copy and Fork. Add the
same action to the page list, which draws every phone chat, reusing
desktop's scrollMessageToTop strings.

Co-authored-by: Radu Toader <4960306+radut@users.noreply.github.com>

* fix(mobile): keep a reply scrolled to the top through growth right after the tap

---------

Co-authored-by: Radu Toader <4960306+radut@users.noreply.github.com>
2026-11-15 20:59:05 +00:00
Kelvin Amoabaandarbourd ccce2543ab fix(terminal): open links on middle-click instead of dropping or pasting (#42579)
* fix(terminal): open links on middle-click instead of dropping or pasting

Middle-click never opened a terminal link. The PTY claim window only
opened for a plain left press, so the link action was always refused.
On macOS and Linux, primary-selection paste also stopped the press
before the link code saw it and pasted instead.

Middle-click now uses the same deferred claim as plain click, and the
paste handler steps aside when a link is under the pointer, the
terminal has no selection, and middle-click isn't set to none.

Co-authored-by: arbourd <7211830+arbourd@users.noreply.github.com>

* fix(terminal): let OSC 8 and handle links take a middle-click

* fix(terminal): skip the native-paste guard when a middle-click opens a link

---------

Co-authored-by: arbourd <7211830+arbourd@users.noreply.github.com>
2026-11-15 20:58:48 +00:00
Kelvin Amoaba bcf6c709a3 fix(native-chat): show a Codex chat with an open async question as waiting on you (#42459)
Codex's request_user_input_async question is journaled as a call block on an assistant message, so the structured status never saw it: the chat read working, then done, while its question card stayed open. The host journal reads now flag such a question (awaitsAnswer) by the card's own rule until the person's next delivered message, and the lead state maps it to waiting. Turn status, prompts, notifications, teardown and saved turns are unchanged.
2026-11-15 20:58:31 +00:00
Kelvin Amoaba d4db6a1d51 feat(mobile): show the desktop's project groups in the workspace list (#42457)
* feat(mobile): nest the workspace list under the desktop's project groups

Shipped phones listed every project flat while the desktop sidebar nests projects under project groups. The desktop's group-tree walk is now shared, and the phone's list uses it with the groups the desktop window's catalog now carries (or projectGroup.list on older desktops). Collapse shares the desktop's project-group keys, and folder workspaces sit under their group header.

* test(mobile): type the parity fixture as the served catalog
2026-11-15 20:58:13 +00:00
Kelvin Amoaba eaef504449 feat(tasks): filter GitHub tasks by several authors (#42450)
* feat(tasks): filter GitHub tasks by several authors

* fix(tasks): keep author candidates across picks

* refactor(tasks): share author filter summary and only-me check
2026-11-15 20:57:54 +00:00
Kelvin AmoabaandGarrett Peppers 54ad5c739a fix(native-chat): run /new as the host conversation clear in Codex chats (#42445)
Codex's app-server has no slash parser, so a typed /new reached the
model as prose and the chat kept its history. The shared structured
composer now resolves Codex's /new to the host clear, on desktop and
mobile alike.

Co-authored-by: Garrett Peppers <garrett@pepperstech.net>
2026-11-15 20:57:37 +00:00
Kelvin AmoabaandDunz Koi 7960957c75 feat(browser): pick a browser profile for each repo's new tabs (#42803)
Each project can pick a browser profile (Default or a named one) for its new tabs, overriding the Browser setting's scope. Also settable with `orca repo set --browser-profile`.

Co-authored-by: Dunz Koi <258568505+dunzkoi@users.noreply.github.com>
2026-11-15 20:56:14 +00:00
Jinjing a0b2197418 fix(status-bar): color usage bars only in provider detail cards (#42795) 2026-11-15 13:49:26 -07:00
Kelvin Amoaba 42419ed7c0 feat(mobile): one link setting for chat and terminal links, with Ask each time (#42802)
* feat(mobile): open chat links where the link setting says, with Ask each time

The Browser setting now covers web links in terminal output and chat with
one rule: Ask each time shows the link sheet, Orca browser opens a desktop
tab directly (the phone browser where no tab can open), and Phone browser
opens the phone browser. Nothing saved means Ask each time; saved choices
keep the same storage key.

* perf(mobile): keep the chat link handler stable across reconnects
2026-11-15 20:46:41 +00:00
Kelvin Amoaba 28fd7052ad feat(computer): list macOS apps without a Dock icon while they show a window (#42786)
* feat(computer): list macOS apps without a Dock icon while they show a window

list-apps on macOS only listed regular apps, so menu bar and other accessory apps could not be found or targeted by name. Accessory apps are now listed while they own an on-screen window between the normal and status bar levels, which keeps the dozens of windowless system agents out, and each listed app says whether it is an accessory app.

* fix(computer): list only normal-level accessory windows and resolve hidden accessory apps

* fix(computer): prefer a same-named regular app when resolving, not in the list order
2026-11-15 20:33:53 +00:00
Kelvin Amoaba b92c5efe84 fix(notes): keep idle Orca-launched Pi tabs selectable in Send notes to (#42797)
* fix(notes): keep Orca-launched Pi and OMP panes sendable by their title

Orca rebrands an owned pane's π title to Pi or OMP, but the send gate only
read the raw π - prefix, so an idle Pi tab dropped out of Send notes to once
its status row went stale.

* test(notes): pin owned Pi and OMP titles at the send gate only
2026-11-15 20:24:25 +00:00
Kelvin AmoabaandAleksei Tcelishchev 0d07202c9b fix(mobile): take back phone-driven browser tabs with Take back all (#42785)
Take back all only restored the PTYs the phone held, so a browser tab the phone was driving stayed locked at phone size. Reclaim every mobile-driven browser page alongside the terminals; held-fit Restore all still only resizes.

Co-authored-by: Aleksei Tcelishchev <1243074+casualuser@users.noreply.github.com>
2026-11-15 20:21:04 +00:00
Brennan Benson c120b5bfb3 fix(antigravity): skip the hook script and python3 outside an Orca pane (#42790)
agy runs Orca's hook on every message and before and after every tool call.
Outside Orca the command still started two shells and python3 before the
script noticed ORCA_PANE_KEY was empty: about 0.1s per hook, ~0.2s per tool
call, even after Orca was uninstalled (#42601).

The /bin/sh -c command now checks ORCA_PANE_KEY first, like Grok's. Outside a
pane it prints the reply the script would have printed and drains stdin in
the background, so hosts that keep stdin open (ACP) never block.
2026-11-15 12:20:03 -08:00
Brennan Benson 2e77caf0ea fix: point agent-status imports at the moved structural-value-equality module (#42793)
#41793 merged after #42777 moved shared/structural-value-equality into
shared/collections, so six renderer imports point at a missing file and every
test shard fails to load them.
2026-11-15 12:04:50 -08:00
e516efcb61 Keep finished agents marked Done while their panes sleep (#41793)
* Remove finished-agent retention and keep sleeping status with panes

* Fix legacy pane projection and sleeping-agent regression fixtures

* Cover sleeping display-only status in parked terminal coverage

* Keep pane conversation identity only across continuous agent observations

* Remove duplicate import and keep sleep fixtures type checked

* Preserve conversation boundaries across replays and inherited clocks

* Cover conversation map stability across a large status batch

* Bound conversation capacity work to changed pane owners

* Pass capacity classifiers their layout input directly

* Finalize conversation provenance once per status batch

* Keep paired snapshot tests focused on observable outcomes

* Type the conversation provenance test fixtures explicitly

* Consolidate agent session imports after main merge

* Preserve provider replacement evidence when resetting conversation continuity

* Separate retention deletion from sleeping agent display

* Restore migration row bucket comparison

* Skip unusable pane identities before title ownership lookups

* Refresh conversation titles when their owning pane changes

* Update completion test sound mock after module move

* Keep finished agent status with sleeping panes and update agents by key

* Forward sleeping pane status and scope paired tab updates

* Preserve keyed selectors and compiler invalidation through final checks

* Keep bound store hooks visible to the compiler and measure published links

* Install provenance measurement before factory capture

* Use a static store hook and name presentation metadata once

* Preserve keyed freshness and atomic agent status publication

* Preserve remote folder dashboard regression after suite retirement

* Model pane wake before live identity reobservation in regression

* Share keyed row transactions and finish main integration

* Align runtime fixtures with keyed agent status reads

* Keep status projections addressed and activity summaries current

* Retire empty workspace status summaries after their source leaves

* Use the standard store fixture for parked terminal graph tests

* Align status fixtures with app types and a fixed test clock

* test: capture stored terminal render failure details

* Read terminal titles and completion prompts from keyed agent status

* Compose foreground agent state in worktree test stores

* test: complete lineage list agent state fixture

* Keep sleeping completion when retiring process authority

* Run durable agent-hook status tests with Node SQLite

* Preserve sleeping Done when renderer retires its process

* Update terminal fixtures for process retirement

* Read sleeping pane resume sources by key

* Bind sleep capture fixture to its live panes

* Pass the pane tree to the sleep capture fixture graph

* Preserve accepted completion identity through sleep

* Pass a nullable title to the status classifier

* Resolve accepted host status once and preserve delivery order

* Drop published sleep status when its host owner retires

* Use the supported remote completion test envelope

* Preserve published activity when filling completed status

* Update imports for main module moves

* Remove an unreachable native chat owner comparison

* Read host and unread card inputs by address instead of per root

A host-scoped sidebar card re-read every root's row and acknowledgement on
any store write, so one card with many sleeping roots paid for other
workspaces' updates. Card host filtering, the summary pill's unread state
and the workspace unread gate now first compare the workspace's projected
row revision and the changed keys of the tab-keyed layout/PTY maps and
the acknowledgement record. Only an addressed change re-reads the roots.
Acknowledge and unacknowledge annotate their writes so readers can skip
keys they don't show.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* Correct sleeping pane test imports after module moves

* Combine duplicate subscription test imports

* Record addressed acknowledgement deletions on row drops

* Type subscription fixture key set for string readers

* Keep accepted updates complete after observer failures

* Seed the send picker with its SSH terminal identity

* 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>

* Keep a host card's unchanged agent rows after filtering out another host's pane

Re-lineage clones every row once a host-scoped card filters a row out, so an unrelated pane's status write rebuilt the card's row array and re-ran its signal and rollup memos. Reuse unchanged rows as main's sidebar row selector does.

* Seed the Copy Session ID shortcut test through keyed agent status

* Seed the graph payload partition test through keyed agent status

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.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 11:38:40 -08:00
Kelvin AmoabaandYiminnn bf2946164e fix(browser): stop a background paired-desktop page from covering the selected tab (#42787)
Carries over #40602.

Co-authored-by: Yiminnn <47510889+Yiminnn@users.noreply.github.com>
2026-11-15 19:35:50 +00:00
Kelvin Amoaba b8c8d54461 fix(browser): run unwatched serve browser tabs at a low frame rate (#42660)
* fix(browser): run unwatched serve browser tabs at a low frame rate

Offscreen serve pages composite on their own 60 fps frame clock even with
painting stopped, so every unwatched tab kept the GPU and its renderer busy.
Tick unwatched pages at 5 fps and raise them to full rate while a command,
capture or screencast lease needs frames, keeping full rate for 20 s after so
an agent's next step finds a fresh frame.

* fix(browser): reapply the serve page frame rate when a navigation commits
2026-11-15 19:18:59 +00:00