Commit Graph
20254 Commits
Author SHA1 Message Date
8de79e7ba0 Use the shared agent picker for Automations (#37941)
* Use the shared agent picker for Automations

Preserve sparse authored launch settings and full Arguments through the existing Automation owner, copies, and host launch compiler. Keep legacy writers and supported mixed-version launch routes intact.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-authored-by: Courtenay <1909814+hdsheena@users.noreply.github.com>
Co-authored-by: Andy Zhang <hiandyzhang@gmail.com>

* Align the new launch-settings translations with the catalog

* Preserve automation launch choices through editor changes

* Use supported legacy arguments in the editor regression

* Keep automation edits controlled until Save

* Compose automation launch edits by their authored sources

Preserve controlled raw input, cumulative source retirements and agent reset intent through destination changes and Save. Merge only the authored extent into the latest automation.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-authored-by: Courtenay <1909814+hdsheena@users.noreply.github.com>
Co-authored-by: Andy Zhang <hiandyzhang@gmail.com>

* Preserve pending automation arguments across agent changes

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-authored-by: Courtenay <1909814+hdsheena@users.noreply.github.com>
Co-authored-by: Andy Zhang <hiandyzhang@gmail.com>

* Preserve automation source order and unchanged picker rows

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-authored-by: Courtenay <1909814+hdsheena@users.noreply.github.com>
Co-authored-by: Andy Zhang <hiandyzhang@gmail.com>

* Keep picker Arguments stable until acceptance

* Preserve Chat import and capability regression inputs

* Exercise explicit picker acceptance in retained form tests

* fix: preserve legacy-only automation copies across host changes

* Use canonical automation validation and one host capability observation

---------

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-authored-by: Courtenay <1909814+hdsheena@users.noreply.github.com>
Co-authored-by: Andy Zhang <hiandyzhang@gmail.com>
2026-11-04 10:27:59 -08:00
Kelvin Amoaba d586aff1cb fix(browser): keep local browser tabs when a mutually paired desktop echoes them back (#38186)
A paired server that serves this desktop's own browser row back without
the host stamp from #36447 (e.g. a peer on 1.4.245 or older) made
buildMirroredBrowserTabs reuse the row's workspace and page ids, so the
local page was rebound to that server and its webview destroyed.

A mirrored row can no longer claim a page this desktop holds as its own
or a live other runtime's. Pages of a removed runtime stay reclaimable so
a re-paired server still adopts them.
2026-11-04 17:47:21 +00:00
OrcaWinandOrcaWin 45b4fb3ab7 test: remove 152 low-value test declarations (#38182)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 09:43:36 -08:00
OrcaWinandOrcaWin e15bd083bb test: remove 158 low-value test declarations (#38177)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 09:09:09 -08:00
Kelvin Amoabaandmmarabel bd44338ebe fix(native-chat): keep loaded chat images on screen across scroll and workspace switches (#38176)
* fix(native-chat): keep loaded chat images cached across scroll and workspace switches

Inline Markdown images and sent-image thumbnails evicted their cache entry
whenever they left the viewport or their chat was hidden, so every return
re-read the file (over RPC on remote workspaces). Drop the eager release and
let the bounded shared cache evict unpinned entries when it needs room.

Co-authored-by: mmarabel <166927047+mmarabel@users.noreply.github.com>

* refactor(editor): remove unused local image release and version tracking

---------

Co-authored-by: mmarabel <166927047+mmarabel@users.noreply.github.com>
2026-11-04 17:03:38 +00:00
OrcaWinandOrcaWin 2270f75780 test: remove 189 low-value test declarations (#38169)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 08:50:29 -08:00
OrcaWinandOrcaWin 23ee7f46b1 test: remove 208 low-value test declarations (#38160)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 07:43:39 -08:00
OrcaWinandOrcaWin d2c77f0277 test: remove 280 low-value test declarations (#38157)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 07:22:20 -08:00
OrcaWinandOrcaWin c866025893 test: remove 137 low-value test declarations (#38147)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 06:46:53 -08:00
OrcaWinandOrcaWin 2724b03166 test: remove 482 low-value test declarations (#38145)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 06:32:36 -08:00
OrcaWinandOrcaWin 1f0e6b60b1 test: remove 336 low-value test declarations (#38137)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 05:31:48 -08:00
OrcaWinandOrcaWin 25cd81665e test: remove 675 low-value test declarations (#38129)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 04:51:57 -08:00
Neil 2536c1d569 refactor(renderer): organize right sidebar modules by feature ownership (#38101) 2026-11-04 04:07:39 -08:00
OrcaWinandOrcaWin b17646a5d9 test: remove 2191 low-value test declarations (#38113)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 03:40:25 -08:00
Brennan Benson 974bb4a7ca Preserve chat inputs through uncertain delivery and Stop (#32267)
* Give unconfirmed chat messages explicit recovery actions

* Resolve receipt settlement code quality findings

* Complete recovery copy localization and callback types

* Align send lifecycle contracts with explicit recovery actions

* Include the unconfirmed opener in the restart fixture type

* fix(chat): preserve recovery ownership across lifecycle boundaries

* Preserve send ownership across context replacement and recovery

* Separate history ingestion from live send settlement

* Preserve original send truth and reconcile acquired history

* Use summary-shaped history responses in acquisition coverage

* Preserve queued image recovery for released readers

* Prove independent late receipt recovery across reopen

* Preserve queued image sources in bounded catch-up projection

* Keep queued input and explicit chat retries in their original domains

* Preserve reader lifetime across main session interfaces

* Fix static checks after main integration

* Migrate retained recovery Stop contracts to current lifecycle

* test: use typed access for journal population counters

* fix: consolidate history page bounds type imports

* test: exercise legacy snapshot reuse through selected handoff

* Fix attachment draft typing and document test boundary casts

* Repair current journal integration types and contract fixtures

* Keep uncertain send recovery in queue reorder reopen contract

* Repair mobile contract boundaries and exact queue lookup

* Align input finalization contracts with current Stop ordering

* Keep recovery copies independent of queued message barriers

* Reconcile Stop and replay contracts with current lifecycle

* Update recovery tests for current module and draft APIs

* Align Stop recovery contracts with independent queue policy

* Expose independent recoveries to current queue controls

* Cover sending-only queue Resume visibility

* Adapt recovery contracts to shared queue projection

* Use current history and failure-word contracts in recovery tests

* test: retain released reader source contracts through queue settlement

* Keep uncertain sends in ordinary history and preserve saved queue choices

* test: prove mobile draft leaf subscription isolation

* Use typed operation instrumentation in mobile recovery test

* Align lifecycle test boundary typing with static rules

* Repair test module typing and retained runtime copy catalog

* Remove unused chat delivery notice translations

* test(chat): retain legacy handback without uncertainty notice

* fix(chat): omit saved uncertainty card captions

* test: bind released readers to exact queue wire and proof

* Replace archived reader evaluator with exact recorded contracts

* Mark queued edit test hook import as type-only

* Isolate queued card tests from native inline composer imports

* Complete structured mobile resolution in queued edit test

* Align mobile attachment cleanup lifetime test with send outcomes

* fix: restore journal prototype delegation methods

* Keep uncertain sends as ordinary messages in memory

* Release notes admission after uncertain opening completes

* fix: end opening selection operations at uncertain completion

* fix: derive selection admission from live requests and repair integration tests

* test: consolidate send imports and use a supported locale

* Fix CI test types and synchronize retired delivery catalogs

* Type exported test fixture mocks through the public Vitest API

* test: align selection and journal verification contracts

* Reconcile acquired history before journal projection

* Preserve saved invocation facts during history catch-up

* Repair journal recovery consumers and CI contracts

* Keep failed legacy import displays serializable and bounded

* Preserve journal owner boundaries in CI import cleanup

* Fix typed test fixtures for session recovery contracts

* fix: align history and recovery contract types

* test: verify logical rewind across released chats

* Bound retained queue and status reads

* Bound Stop and delivery reads to relevant journal inputs

* Bound subscriber catch-up and stopped-history reads

* test: align journal read fixtures and operation counts

* Bound automatic chat reads to current input evidence

* fix: align journal reader contracts and test fixtures

* test: type historical dispatch rejection fixtures

* fix: restore merged session projection and fixture types

* fix: preserve resumed queues across logical fork rewind

* Preserve queue pause chronology across logical rewinds

Keep original Stop and Resume coordinates while retaining matching warm failure evidence in the journal owner. Keep historical fixture authoring separate from current production writes.

* End historical fixture authoring before current queue actions

* Keep answer operations separate from retained messages

* Fix resting chat attention context

* Fix attention regression fixture provenance

* Validate retained RPC test frame reads

* Fix retained attention and RPC contract fixtures

* Keep send observations on canonical delivery evidence
2026-11-04 02:40:10 -08:00
NeilandClaude c5f9ce8e6f feat(editor): default Markdown view setting + right-click on the view switcher (#38106)
* feat(editor): add a default Markdown view setting with a switcher right-click menu

Markdown files can now open in Source instead of Rich Editor. The choice
lives in Settings > General > Editor and in a right-click menu on the
editor's view switcher. Changing it keeps already-open tabs on their
current view; the right-clicked tab follows the new default.

Closes #38102

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

* fix(editor): switch the right-clicked tab through the normal view toggle

Picking a default from the switcher menu now goes through the same
handler as clicking a segment, so a tab showing Changes or a plugin
editor leaves it for the chosen Markdown view.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-04 02:33:24 -08:00
OrcaWinandOrcaWin 6792990b83 test: remove 1015 low-value test declarations (#38087)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 01:39:49 -08:00
Neil 6aaf0e683d fix(terminal): a paired-server file link opens in the workspace it was clicked in (#38072)
* fix(terminal): a paired-server file link opens in the workspace it was clicked in

Clicking a server terminal link to a file another workspace holds switched to
that workspace: the client asked the host for the holding workspace
(crossWorkspace), and the editor loader moved any absolute-path tab -
including one already holding a grant - to that workspace. Anyone who can
open a tab can already run anything on the host, so the holding workspace
guards nothing. On hosts that save granted files, the link now opens through
a grant in the clicked workspace, and restored tabs re-grant in place. Hosts
that can't (older hosts, their own SSH workspaces) and folders keep opening in
the holding workspace.

* fix(runtime): a desktop client reads and saves a granted file as large as a workspace one

Hosts advertise files.resolve-terminal-path.in-place-files.v1, give desktop
clients a 2 MB grant budget (phones keep 512 KB), and report a grant's size,
so the clicked workspace opens a file another workspace holds in place and
falls back to the holding workspace only where a grant can't serve it.

* fix(terminal): open in place only what a grant can read and save

Review: a grant save must fit one request frame and grants serve no bytes
editors, so the 2 MB budget would open files that can't be saved. Hosts now
report a grant's size and binary content instead, the client opens in place
only text within 512 KB, and only the SSH-workspace refusal moves a restored
tab; other host errors stay retryable.

* docs(terminal): describe the in-place files probe

* fix(terminal): ask the holder first and keep downloads, HTML and missing paths unchanged

Review: the holder answers first, as before, so missing paths, folders, this
computer's files, downloads and HTML previews resolve exactly as they did; only
an existing text file another workspace holds asks again for a grant here.
In-place opens are capped at 256 KB so edits stay within the grant's save limit.

* test(editor): mark the placement test's store stub as a sound cast
2026-11-04 01:35:57 -08:00
Neil bb6e5d47da refactor: group right sidebar plugin panel owners (#38095) 2026-11-04 01:25:01 -08:00
Brennan Benson fa39c62263 Tighten orchestration message status badge backgrounds (#38079) 2026-11-04 01:09:36 -08:00
Neil 94fd9ab0c2 refactor: organize workspace lists boards and catalog owners (#38092) 2026-11-04 01:08:35 -08:00
Neil a82f279f77 refactor: organize workspace card and action owners (#38081) 2026-11-04 00:49:38 -08:00
OrcaWinandOrcaWin 25994e0b94 test: remove 1460 low-value test declarations (#38082)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 00:25:44 -08:00
Brennan Benson 52dc8f551b Remove redundant collapse buttons from compact agent cards (#38074) 2026-11-04 00:18:16 -08:00
Brennan Benson 79d83ba7eb Deliver orchestration mail during active turns (#38041) 2026-11-04 00:10:16 -08:00
OrcaWinandOrcaWin 74df8bf42e test: remove 997 low-value test declarations (#38058)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-03 23:59:28 -08:00
Neil 6216e2ee89 Restore type-to-search on the new-workspace agent picker and skip the emoji button on Tab (#38073) 2026-11-03 23:51:08 -08:00
Jinwoo Hong 9658ec48ad fix(automations): accept Pi model and thinking extra arguments (#38020)
* fix(automations): accept Pi model and thinking extra arguments

* fix(automations): keep Pi provider pins and refuse unpinned inline keys

* fix(automations): match Pi value options to its argument parser

* fix(automations): refuse Pi model overrides beside unscoped inline keys

* test(automations): cover Pi's last-provider-wins key pin

* fix(automations): refuse any Pi custom Command text with --api-key

* fix(automations): drop the Pi inline-key pin guard

Pi already sends an unpinned inline key to the chosen model's provider and warns;
the user typed both the key and the model, so Orca does not refuse it.
2026-11-04 02:36:51 -05:00
Brennan Benson c7792ebf53 Keep folder workspace creation from flashing (#38039)
* Keep local folder creation on the current workspace surface

* Prepare folder workspace tabs before selecting the destination

* Provide inventory boundary in folder creation regression

* Use the composer empty-link contract in re-entry coverage

* Complete the composer re-entry test input

* Preserve sidebar key comparison through creation progress
2026-11-03 23:30:28 -08:00
Neil 1d5466b43c refactor: group sidebar admission and workspace creation owners (#38068)
* refactor: group sidebar admission and workspace creation owners

* refactor: consolidate defining-owner imports at first evaluation
2026-11-03 23:29:05 -08:00
Neil 7bf0377072 refactor: place terminal and workspace contracts with concrete owners (#38061) 2026-11-03 22:49:34 -08:00
Jinwoo Hong 7854cb61b1 Delete the legacy orchestration takeover guide (#38013)
* fix(automations): say the run's worktree was deleted; document plain run-use recovery

* revert(automations): drop the deleted-worktree wording change (not reproducible)

* docs(orchestration): list Tasks on recovery and note run-use drops other Runs

* docs(orchestration): delete the legacy takeover guide; keep orchestration docs to the normal flow
2026-11-04 01:37:09 -05:00
Jinjing 3670bb833b Make account switching and session restart prompts clearer (#38056)
Group accounts needing attention, clarify account details, and highlight
Codex sessions that still need to restart after an account switch.
2026-11-03 22:32:58 -08:00
Neil 8d0e7a1bc6 refactor: organize markdown and editor document owners (#38037) 2026-11-03 22:27:47 -08:00
NeilandCopilot e0714aebca feat(onboarding): theme step with color mode + optional theme carousel (#38021)
* feat(onboarding): studio theme picker with plugin themes and Match Terminal palettes

Replace the three System/Light/Dark tiles with a live look picker: big
preview, bundled GitHub/VS Code app themes, curated terminal palettes that
recolor Orca via Match Terminal, and per-slot dark/light looks under System.
Picks repaint the app live and never change the mode; skip restores the full
arrival look.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* feat(onboarding): simple theme tiles with optional look carousel

Restore the original System/Dark/Light tiles and move theme looks into an
optional carousel beneath them. Add a theme-plugin directory link that opens
the system browser at onorca.dev/plugins?kind=themes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* feat(onboarding): label color mode and theme sections on theme step

Add Color mode / Theme section headings and replace the step subtitle with
guidance on what to pick.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(onboarding): preserve arrival look across Ghostty import

* fix(onboarding): follow moved terminal theme modules

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-03 22:20:13 -08:00
Kelvin Amoaba 8a4dd3a7bb feat(mobile): improve mobile terminal input (#37900)
* feat(mobile): bring back the terminal key row and one live input

Every terminal tab, shell or agent, gets the dock from before #36166:
the scrolling key row (desktop width, Paste, the built-in keys, custom
keys, add) above one live field that types straight into the terminal,
with the attach and mic buttons beside it. The field keeps today's 3:1
outline and focus ring, and the keys use today's chips and press styles.

The Keys/Message toggle, the Message composer, the arrow pad, the ⋯
sheet on the row and the per-terminal mode preference go. A stored mode
from an older build is never read. Sticky ctrl/alt/shift and the More
keys sheet stay only behind the iPhone Duo rail, which shipped shells
still draw; the page reports no composer, so shipped shells grey their
input-mode key and newer shells hide it.

* refactor(mobile): delete the buffered terminal line

With one live input there is no way to write a terminal line first and
send it, so the per-terminal drafts and their storage, the Send path,
command-field dictation, draft restoration and the terminal setting for
autocomplete and autocorrect (which only applied to that line) go.
Dictation in a terminal always types into it live. Drafts and the setting
saved by older builds are never read.
2026-11-04 06:01:18 +00:00
Brennan Benson 20ff137504 fix: suspend orchestration panel and remove its setting (#38045) 2026-11-03 21:59:19 -08:00
Brennan Benson 163c5de81e Add Ultracode to Claude chat effort (#38010)
* Add Ultracode to Claude chat effort

* Correct Ultracode test type annotations

* Keep Claude workflow effort observations consistent

* Make effort picker test follow async option contract

* Keep effort coverage at its owning behavior layer

* Exercise workflow readback with recorded native settings

* Preserve configured workflow during effort reapplication
2026-11-03 21:57:07 -08:00
Jinjing ee6a248ec9 Remove the New divider from Chat UI (#38044) 2026-11-03 21:49:09 -08:00
OrcaWinandOrcaWin e98c6a439a test: remove 2816 low-value test declarations (#38030)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-03 21:45:29 -08:00
Brennan Benson c3212f0377 Preserve chat HTML appearance in file previews (#37890)
* Preserve chat visual appearance in file previews

* Deliver visual theme once and retain updates through canceled navigation

* Assert visual guest subscriptions stay bounded on repeated loads

* Bundle sandboxed file guest preloads independently

* Match preview media theme and keep build validation import safe

* Cover preview media handoff and retirement contracts

* Apply saved visual appearance before document scripts
2026-11-03 21:36:33 -08:00
Jinjing 0fabbbddeb Render HTML files in mobile previews (#38042) 2026-11-03 21:35:38 -08:00
Jinwoo Hong e3b2e9c2bd fix(orchestration): a worktree a paired client starts on a remote server is that client's (#38034)
A remote worker-start created its worktree without the caller's identity, so the server stamped itself as the creator and the client that asked hid it under "Hide other-client workspaces". Stamp the authenticated paired device, as worktree.create does.
2026-11-04 00:24:01 -05:00
295b828bd1 fix: respect manual workspace order around primary checkouts (#37557)
* fix: respect manual workspace order around primary checkouts

* test: consolidate manual primary-order coverage

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

* test: name twin-reorder cases after the dragged linked worktree

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

* test: read worktree ID from mobile workspace row

* test: exercise primary checkout drops in reorder cases

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
2026-11-04 05:16:15 +00:00
Neil 4451166b9d refactor: organize notebook, diff and check detail owners (#38033) 2026-11-03 21:04:34 -08:00
Neil f33197523d refactor: group Codex transport trust and journal owners (#38023) 2026-11-03 20:45:04 -08:00
Neil d09519f0f1 refactor: group workspace and runtime contracts by defining owner (#38018) 2026-11-03 20:19:21 -08:00
Kelvin AmoabaandPr1p 2e3c8fb530 fix(notifications): clear acknowledged desktop alerts (#37974)
Explicit worktree reads and session acknowledgements share the existing desktop dismissal authority. Desktop and phone copies preserve transport, physical workspace and session/cursor identity; Linux retains dismissible notification handles after banners expire.

Mailbox consumption keeps its existing semantics.

Fixes #37328
STA-13409

Co-authored-by: Pr1p <zwq19980411@gmail.com>
2026-11-04 04:03:39 +00:00
Neil 323dc607b0 fix(ci): place PR LoC table after ELI5 so link unfurls stay readable (#38025) 2026-11-04 03:58:20 +00:00
Neil 926f8bad13 refactor: organize terminal and runtime contract owners (#38011) 2026-11-03 19:56:34 -08:00