Commit Graph
20254 Commits
Author SHA1 Message Date
OrcaWinandOrcaWin a927cccb04 test: trim chat rendering inventories and synthetic layout suites (#38405)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 22:23:25 -08:00
OrcaWinandOrcaWin c3f3a1d24f test: remove native chat inventories and redundant composer cases (#38402)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 22:18:49 -08:00
OrcaWinandOrcaWin 319a01aacd test: trim project view inventories and duplicate dialog cases (#38399)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 22:07:26 -08:00
OrcaWinandOrcaWin f64d9c80a8 test: remove renderer flag inventories and fake React suites (#38396)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 22:01:32 -08:00
Neil 159ef69b44 refactor(native-chat): drop the unreachable answer-input paste origin branch (#38395)
#38325 made the question card's answer field a textarea, so
findNativeChatAnswerField (HTMLInputElement-only) can no longer match.
The bridge's 'origin instanceof HTMLInputElement' branch was already
unreachable since #32035 stopped the context menu passing a paste origin;
the only remaining origin caller (app-menu paste) passes the queued-editor
textarea from findNativeChatPasteField. Remove the branch, the helper, and
the test that only exercised it by calling the bridge directly.
2026-11-04 22:00:30 -08:00
Neil 46fa97a6b4 refactor(relay): group route, forwarding and connection owners (#38374)
* refactor(relay): group route, forwarding and connection owners

* refactor(relay): use explicit defining-owner type imports
2026-11-04 21:59:50 -08:00
OrcaWinandOrcaWin f3e9e92fd4 test: remove mock-only editor drop and retry suites (#38391)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 21:57:27 -08:00
OrcaWinandOrcaWin a9d75910d9 test: trim renderer mock and private-work assertions (#38393)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 21:54:26 -08:00
NeilandClaude 45b4f1a69c Highlight the first agent search match that Enter picks (#38382)
* Highlight the first agent search match that Enter picks

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

* Move the search-default highlight into the dropdown menu primitive

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-05 05:45:30 +00:00
OrcaWinandOrcaWin 005312b30d test: remove mocked image import and link routing suites (#38384)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 21:39:49 -08:00
OrcaWinandOrcaWin 6c888cf295 test: trim synthetic viewport and save callback tests (#38387)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 21:38:45 -08:00
OrcaWinandOrcaWin f447fd1c9b test: remove fake menu and lowlight parity suites (#38383)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 21:27:38 -08:00
OrcaWinandOrcaWin 34350b70f3 test: trim redundant notebook and editor tests (#38377)
* test: trim redundant notebook and editor tests

* test: remove implementation-budget notebook and PDF tests

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 21:17:49 -08:00
OrcaWinandOrcaWin fc2ce9fda2 test: remove redundant editor helper and mock suites (#38375)
* test: remove redundant editor helper and mock suites

* test: remove capability-only and mocked paste suites

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 21:17:31 -08:00
Neil 9bd6272fdf refactor(tooling): organize build, CI, and test owners (#38130)
* refactor(tooling): organize test runtime and maintenance owners

* test(tooling): preserve relocated runtime fixture dependency edges

* refactor(tooling): preserve xterm routing owner checks

* ci(tooling): include routing owner in sparse checkout

* test(tooling): preserve copied workflow dependency closures

* fix(tooling): normalize hashed JSON assets in release parity

* fix(tooling): distinguish asset aliases from literal references

* fix(tooling): frame normalized asset reference payloads

* fix(tooling): normalize decoded JSON asset references

* refactor(tooling): organize build, CI and release owners

* fix(tooling): align moved generator and workflow path contracts

* fix(tooling): update generated plugin bundle owner banners

* test(tooling): create relocated mobile verifier fixture directories

* test(tooling): copy headless detector dependency closure

* test(tooling): align native batch policy fixtures with owner path

* fix(tooling): link moved reliability command to historical evidence

* fix(tooling): preserve nested sandbox owners and canonical guide source

* fix(tooling): target release version owners in checkout fixture
2026-11-04 21:08:19 -08:00
OrcaWinandOrcaWin a7f39ba4d1 test: trim redundant Markdown and editor tests (#38372)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 21:02:00 -08:00
OrcaWinandOrcaWin 908e101546 test: remove low-value editor inventories and mock tests (#38368)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 20:55:55 -08:00
OrcaWinandOrcaWin 46be7e06bb test: remove low-value editor prop and helper tests (#38366)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 20:50:27 -08:00
OrcaWinandOrcaWin 20b28609f4 test: remove low-value dashboard state and profile tests (#38364)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 20:42:02 -08:00
OrcaWinandOrcaWin b6d760d4f9 test: remove low-value dashboard and preview tests (#38362)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 20:37:28 -08:00
Jinwoo Hong c9bf506097 fix(diff): colour visible diff lines as soon as a pane is laid out (STA-12770) (#38266)
Tokenize visible diff-pane lines when a diff editor's model, hidden areas or layout change, so outer-scrolled combined-diff sections paint coloured (STA-12770).
2026-11-04 23:31:03 -05:00
Jinwoo Hong a6e5b5bd41 fix(combined-diff): load up to three diff sections at once (STA-12716) (#38265)
Load up to three combined-diff sections at once instead of one (STA-12716).
2026-11-04 23:30:59 -05:00
OrcaWinandOrcaWin 82585c11dc test: remove low-value browser and dashboard test inventories (#38360)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 20:26:59 -08:00
OrcaWinandOrcaWin 57d384cd69 test: remove low-value terminal, VM and voice settings tests (#38351)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 20:18:41 -08:00
OrcaWinandOrcaWin 778470b3cd test: remove low-value renderer inventories and mock pipelines (#38356)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 20:16:20 -08:00
308b500050 Use the shared agent picker for Source Control authoring (#38019)
Use the shared agent picker for Source Control Customize and AI-author setup. Preserve existing Arguments, templates, Custom commands, model/effort choices and settings ownership; keep nested menus and tooltips within their dialog portal.

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 20:10:48 -08:00
OrcaWinandOrcaWin d4db1a36f6 test: remove low-value settings UI and persistence pipelines (#38346)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 20:01:07 -08:00
OrcaWinandOrcaWin aefcdd99a5 test: remove low-value mobile and repository settings tests (#38339)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 19:49:00 -08:00
Brennan Benson f249010999 Keep a Pi chat awake while its background subagents run (#38207)
* fix(pi): keep a native chat awake while its background subagents run

The idle sweep stopped a Pi chat 30 quiet minutes after its last turn even
while pi-subagents workers it had started in the background were still
running. On Windows those workers are children of Pi and died with it, so
the coordinator never got their results.

Pi extensions with detached work already declare it through the shared
session-liveness registry that Pi hosts read before idle eviction, and
pi-subagents registers there. Native chat runs Pi as a child process, so
Orca now loads a small bridge extension into native-chat Pi launches that
installs that registry at load and reports, over Pi's RPC stdout, whether
the session has active providers. The Pi adapter keeps the last report and
the idle sweep treats it like provider-held sends: the chat is not stopped
while work is declared, and idles a full window after it ends. Nothing else
reads it, so clear and compaction are unchanged.

Tracked in #28710.

* fix(pi): harden the background-work bridge after review

Keep the bridge ticking after a failed report so the next answer is
re-derived, validate registrations the same way the reference host does,
log a bridge that could not be written, and use type guards in its test.

* fix(pi): confirm Pi background work at idle-stop time

A cached report could be stale when work starts between samples, so the
idle sweep now asks a running child's provider right before stopping it
and stops only on a fresh idle answer. Pi's bridge answers requests that
Orca drops into a private per-child folder, replying on its status line,
so the probe never becomes a dialog or a prompt other extensions or the
model would see. A child launched without the bridge stops as before;
one with the bridge but no ready instance is left for the next sweep.

* test(pi): replay the bridge's recorded probe answers

Recorded on Windows from Pi 1.5.0 with pi-subagents 0.84.0 and the bridge:
ready, active while a worker ran, idle after its wake turn, and shutdown.

* fix(pi): let the Pi child own its probe folder and reject malformed answers

A launch abandoned before Pi started left its prepared folder behind, so
the bridge now creates the folder itself. An answer with no probe pending
could throw while reading Pi's output; replies are now matched exactly and
anything else times out as unknown. Leftover folders are reclaimed only
when their Orca process is proven gone.

* test(pi): reproduce an unasked-for answer from the ready bridge

* fix(native-chat): apply an idle window changed while a provider answered

The idle stop now re-reads the chat idle setting after the provider's
answer, so switching a chat to Never during the probe keeps its agent.
Normalize each Pi launch's private probe folder in the launch parity
snapshots, which now include the background-work bridge.
2026-11-04 19:47:37 -08:00
OrcaWinandOrcaWin 60c3d62c64 test: remove low-value appearance and chat settings tests (#38337)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 19:47:29 -08:00
Kelvin Amoaba 902fc52c7d fix(session-tabs): paired devices follow every tab they open, not just the first (#38336)
* fix(session-tabs): send per-client frames without projecting them twice

A frame sent to one client (a tab it opened, picked or reopened) was already
that client's projection, but delivery projected it again. That stacked the
:client-navigation epoch suffix and the selection revision, so the client
treated it as another publication and fenced it. A link clicked in a server
browser page then only brought its new tab forward the first time.

* test(session-tabs): fold the per-client frame publication check into the caller-selection test
2026-11-05 03:43:59 +00:00
Brennan Benson 274b99919f Keep the phone's chat Send button the same as desktop while the agent works (#38317)
* fix(mobile): the chat Send button keeps desktop's arrow while the agent works

#36588 swapped the phone's send icon and label for Queue or Steer while
a turn ran; desktop keeps the plain Send arrow and offers the other way
through Cmd/Ctrl+Enter. The phone now matches, with hold as its
alternate.

* test(mobile): the send button keeps its arrow while the agent works
2026-11-04 19:30:11 -08:00
Brennan Benson 43d7555343 Use the shared agent picker for terminal quick commands (#38213)
Use the shared searchable agent picker in Quick Commands while preserving the full catalog, disabled-agent explanations, independent form drafts and saved commands.

Keep dialog search focused through opening and host-preference reloads, and avoid setup-only cleanup for agent-only menus.
2026-11-04 19:27:44 -08:00
Kelvin Amoaba 5f294246e9 fix(native-chat): show chat suggestions above the new-tab agent setup submenu (#38328)
The @ and / suggestion list lifts itself to the menu layer only inside a
popover. Since #37576 the new-tab agent setup is a dropdown submenu on the
same z-[70] layer, so the list stayed at z-50 and drew behind it.
2026-11-05 03:26:00 +00:00
OrcaWinandOrcaWin 1788f44521 test: remove low-value renderer launch and settings suites (#38330)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 19:24:12 -08:00
Kelvin Amoaba b17f1f177e fix(native-chat): keep chat suggestions above the composer when the panel moves (#38322)
The @ file and slash suggestion list was placed once from the composer's
viewport rect and only re-measured on composer resize, ancestor scroll or
window resize. Dragging the floating panel or resizing it from its bottom
edge moved the composer without any of those, so the list stayed behind,
over the transcript or the message box. Near the top of the window it also
ran off-screen.

Position it with floating-ui's autoUpdate and computePosition, which follow
any anchor movement and cap the height to the space above the composer.
2026-11-05 03:15:18 +00:00
Jingyue Wu 51cca09d7b Show each workspace's project in the cleanup dialog, undoable Ignore, calmer delete confirmation (#38281)
Rows show their project, two-line layout with fixed time/size columns and hover actions; Ignore can be undone per row; delete confirmation reads 'Delete N workspaces?'. Fixes Ignore/Stop ignoring being reverted by streamed scan frames or scan settlement, and the git-unknown flash on open/close.

Co-authored-by: Jingyue-Wu <75918217+Jingyue-Wu@users.noreply.github.com>
2026-11-04 22:14:30 -05:00
OrcaWinandOrcaWin 74e997ef94 test: remove low-value account and surface settings suites (#38323)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 19:13:00 -08:00
Kelvin Amoaba fd8a77356b fix(dictation): keep the transcript when you stop with the composer's stop button (#38327)
* fix(dictation): keep the transcript when the composer's stop button ends dictation

* fix(dictation): leave focus where the user moved it when late text lands

* fix(native-chat): don't double the space before text that brings its own

* refactor(native-chat): name the draft-only insert for what it does
2026-11-05 03:11:40 +00:00
2eb5903acc fix(native-chat): wrap long answers in a question card's answer field (#38325)
* fix(native-chat): wrap long answers in a question card's answer field

The free-form answer field was a one-line input, so a long answer
scrolled sideways out of view. It is now a one-row textarea that grows
with its text (CSS field sizing, like the Linear title and agent-args
fields) up to six of its own lines, then scrolls. Enter still submits,
and a pasted line break becomes a space, so the answer stays one line.
The answer ref is typed for the textarea along the card chain.

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

* fix(native-chat): keep Undo after a multi-line paste into the answer field

Rewriting the field value to strip pasted line breaks cleared the
textarea's undo history. A paste that holds line breaks now inserts the
one-line text with insertText right after the paste event, so it is one
undoable edit and the caret lands after it. The in-place cleanup in
onChange stays for dictation and drops.

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

* fix(native-chat): keep caret-aware arrows on the wrapping answer field

* fix(native-chat): drop the answer field's paste-event path

Desktop Cmd+V and menu Paste reach the field through the paste bridge, not a paste event, so the field's onChange is the one place line breaks become spaces.

---------

Co-authored-by: Michael Schaecher <276865230+big-sheq@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 03:08:06 +00:00
Kelvin Amoaba bbe34a04f1 fix(native-chat): keep list numbers whole in folded chat messages (#38319) 2026-11-05 02:57:11 +00:00
Brennan Benson cb456bfc2b fix(native-chat): run /goal pause, resume and clear in Codex chats (#38250)
* fix(native-chat): run Codex /goal pause|resume|clear and /usage from chat

Codex app-server has no slash parser, so a chat's /goal pause set the goal's text to "pause" and /usage reached the model as prose. /goal pause|resume|clear now change the current goal through the host, and /usage opens the Codex usage section in Settings for the chat's host.

* fix(codex): say a chat has no goal when /goal pause or resume finds none

Codex rejects a status change without a goal in words naming the thread id; read the goal after that rejection and show Orca's copy instead.

* fix(native-chat): address review on Codex /goal controls and /usage

Look goal words up without inherited properties, keep text after a picked /usage, let Send run what Enter runs on a held host, name Codex when there is no goal (clear included), and drop the shared /goal hint that phones and goal-less hosts would show for words they send as text.

* fix(native-chat): keep the draft after a picked /usage and hold goal-mode Send

Picking /usage opens Settings and leaves the text typed after the command; Enter on the row no longer sends /usage to the agent. Goal mode submits its draft as an objective, so a held host keeps Send held there, and an enabled Send is not labelled with the hold.

* test(native-chat): build the picker state instead of casting it

* fix(native-chat): honor Stop before naming a missing goal, and own any Codex /usage row

A canceled pause or resume no longer reads the goal to word a refusal, and an agent-reported /usage row gives way to Orca's, as /resume already does.

* revert(native-chat): leave /usage for its own change

Brennan wants /usage to show the status bar's Codex usage panel for the chat's account, in a separate PR; this PR keeps the /goal controls and the held-chat Send fix.
2026-11-04 18:49:32 -08:00
4152c19541 fix(native-chat): let arrow keys reach a question card's answer field (#38285)
* fix(native-chat): let arrow keys reach a question card's answer field

Up and Down cycled only the option rows and wrapped past the free-form
answer field, so only a mouse click could reach it. The field is now the
last stop in the loop. A one-line field always hands plain Up/Down back
to the options; a multiline field does so only from the very start or
end of its text, so caret moves inside a draft keep working. Arriving
by arrow focuses the field without choosing the typed answer and puts
the caret at the end.

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

* refactor(native-chat): find the question answer field by its existing marker

Mark the multiline answer field with data-native-chat-answer-field like
the one-line field already is, and find it by that marker instead of a
deny-list selector that a markdown task-list checkbox could defeat.
Paste routing is unchanged: it only claims an input element. Trim the
tests to one case per behavior.

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

---------

Co-authored-by: Michael Schaecher <276865230+big-sheq@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 02:49:01 +00:00
Jinjing 742fde77b3 Align grouped workspace cards with sidebar headers (#38245)
* Align grouped workspace cards with sidebar headers

* reduce indentation
2026-11-04 18:46:26 -08:00
OrcaWinandOrcaWin 0a646be898 test: remove low-value launch palette and tour suites (#38316)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 18:43:26 -08:00
OrcaWinandOrcaWin 3927493371 test: remove low-value renderer followup suites (#38310)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-04 18:20:32 -08:00
Kelvin Amoaba d8fb85f7bc feat(browser): save and fill passwords in Orca's browser (#33994)
* feat(browser): save and fill passwords in Orca's browser (experimental)

Off by default under Settings > Experimental > Saved passwords.

* fix(browser): secure saved passwords and fix login lifecycles

* fix(browser): keep the guest preload self-contained so saved passwords load

The shared uuid import split into a chunk the sandboxed preload can't require, so the
whole preload failed on every page. Element tokens now come from crypto.getRandomValues.

* fix(browser): fill a saved login on mouse press so clicking a row works

Pressing Orca's UI blurs the page field, which closed the list before the click landed.

* feat(browser): manage saved passwords from a Passwords section in Settings › Browser

Replaces the Manage passwords dialog with an inline section: save and Touch ID
switches, import menu, a searchable list grouped by site with last-used times and
hover actions in a capped scroll box, delete confirmations, and an Add/Edit dialog.

* feat(browser): turn saved passwords on for everyone instead of behind Experimental

Drops the experimental flag, its Experimental toggle and the badge; the Passwords section in
Settings › Browser now shows on desktop for the local host without opting in. With no toggle,
the guest disable message and the apply-to-open-pages step had nothing left to trigger them.

* fix(browser): refuse protected password actions when Touch ID is set up but unavailable, and keep fills on the matched page

Touch ID lockout or a closed lid made canPromptTouchID() false, which counted as a Mac without
Touch ID, so show, copy and protected fill went through unchecked. Enrollment from bioutil now
tells the two apart. A fill also kept no hold on the page across the Touch ID prompt, so a page
that navigated meanwhile got the password; it now goes only to the frame and origin it was matched for.

* fix(browser): keep a browser profile when its saved logins can't be deleted

Profile deletion removed the profile first and only logged a failed vault delete, so the
encrypted vault could stay on disk with nothing left to retry it. The vault now goes first,
and the profile stays (deletion reports failure) when it can't.
2026-11-05 02:08:08 +00:00
Brennan Benson 025c79b05c New chats run the agent's configured model when you haven't picked one (#38252)
* New chats run the agent's configured model when no model was picked

A new chat with no model pick sent the default Orca had learned from an
earlier chat on its first message, so the agent ran that remembered model
instead of the one its own configuration now chooses (STA-13542: OMP chats
ignoring config.yml). Unpicked defaults are now shown but never sent, for
model as already for effort; the Claude create/send fallback no longer
turns a shown default or an agent report into the chat's own model.

* Phone declared-effort test: only saved models are sent
2026-11-04 18:01:06 -08:00
Brennan Benson e5a960cbf9 Show changed files directly in chat turns (#38256)
* Show changed files directly in chat turns

* Use the fixture frame for the diff interaction

* Keep changed filenames readable and preserve file actions

* Keep unconfirmed file changes in tool activity

* Capture changed files in completed transcript fixtures

* Preserve patch data with authoritative history status

* Keep mobile diff interaction coverage beside its card

* Assert the decoded patch line contract

* Exercise full returned history in catch-up coverage

* test(chat): target file summary when reopening patches
2026-11-04 17:53:16 -08:00
OrcaWin 9661361266 fix(sidebar): extend the workspace list scrollbar hit area past the seam (#38288)
* fix(sidebar): extend the workspace list scrollbar hit area past the seam

Add a 4px strip just right of the sidebar seam that drives the list
scroll position like the native thumb (drag the thumb, or jump on track
click), and falls back to resizing where no list scrollbar is under it.
The resize handle starts past the strip; the divider line stays on the seam.

* fix(sidebar): keep seam scrollbar drags alive over native plugins
2026-11-04 17:52:49 -08:00