Commit Graph
2166 Commits
Author SHA1 Message Date
OrcaWinandOrcaWin 7d6560982b test: remove unused Windows foreground fixture (#44081)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-18 04:32:15 -08:00
OrcaWinandOrcaWin 15c7709622 test: run folder jump coverage once (#44035)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-18 02:07:08 -08:00
OrcaWinandOrcaWin a4c4f3b944 test: remove low-value shutdown and paste coverage (#44029)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-18 01:44:44 -08:00
Jinwoo Hong a6918ecb97 Merge in branches 2026-11-18 03:28:35 -05:00
da062f489d fix(browser): give This-device pages the local browser toolbar and ⋯ menu (#43777)
Desktop-hosted pages of remote workspaces now render the shared chrome toolbar and ⋯ menu (without profile and extension entries), the hard-reload menu, zoom and viewport chips, the favicon, the floating-split close button and a Cancel action on download toasts. Viewport presets size the page box and pan it as on a local page.

Co-authored-by: Pr1p <48266347+Pr1p@users.noreply.github.com>
Co-authored-by: oliver-mee <102673257+oliver-mee@users.noreply.github.com>
2026-11-18 00:47:08 +00:00
Kelvin Amoaba 450234eafe fix(browser): grey out Back/Forward on server-run pages with no history (#43805)
* fix(browser): disable Back/Forward on server pages with no history

Streamed server pages kept both arrows enabled because hosts used to publish
canGoBack/canGoForward as always false. Hosts now advertise
browser.tab-history-state.v1, and the toolbar and context menu follow the
published history state for them; older hosts keep both arrows enabled.

* fix(browser): publish same-address history changes and re-probe after reconnect

A pushState that keeps the address now republishes the server tab, so Back
enables. The capability answer is dropped when the client regains contact,
since a reconnect may reach an older runtime.

* test(browser): note why the replay test casts its listener
2026-11-18 00:22:08 +00:00
OrcaWinandOrcaWin 3b8f7cc9c6 test: remove echo-only terminal PATH smoke suite (#43752)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-17 13:17:58 -08:00
Neil a16afc4e67 refactor(e2e): group journeys by feature and repair browser recovery (#43628)
* refactor(e2e): group journeys and fixtures by feature ownership

* refactor(e2e): consolidate remaining Playwright owner imports

* test(ci): stop copying retired route modules into fixtures

* fix(browser): preserve one-shot follow intent across equal snapshots

* refactor(settings): colocate commit message defaults with source control

* test(browser): await page registration and focus the concrete page

* fix(browser): keep viewport recovery progressing during incompatible frames

* fix(browser): wait for stale helper exit before replacement commands
2026-11-17 11:44:44 -08:00
Neil ce8cd96e15 fix(browser): gate CLI page commands on main-frame loading, not subframe loading (#43677)
* fix(browser): stop CLI page commands waiting on a loading subframe

waitForBrowserPageReady gated on isLoading(), which stays true while only
an iframe loads, but waitForBrowserGuestLoad settles only on main-frame
did-finish-load/did-fail-load. A page that added an iframe after load made
every eval/goto/snapshot/tab show wait 30s and fail with
browser_navigation_failed. Gate on isLoadingMainFrame() instead.

Fixes #43655

* test(browser): stub isLoadingMainFrame in remaining browser guest doubles
2026-11-17 11:10:10 -08:00
Brennan Benson fdf3750418 fix(linear): list every Linear issue and project when --limit is omitted, and report search totals (#43469)
* fix(linear): list every Linear issue and project when --limit is omitted, and report search totals

orca linear list and orca linear project list treated an omitted --limit as a 20-row cap and read one clamped page, so an agent counting a longer queue saw the first 20 rows reported as the whole list. Omitting --limit now walks Linear's cursor pages to the end, bounded by the same read budget list-issues uses; a read that stops on that budget sets truncated/hasMore instead of looking complete, and meta.limit is null. An explicit --limit keeps its existing clamp.

orca linear search stays capped by relevance but now asks Linear for searchIssues.totalCount and reports meta.total ("showing 5 of 349") when every searched workspace returned one; it never invents a total.

Carries the design of #17056 (port of #16119) onto the current multi-workspace Linear modules. Tracked in STA-5249.

* fix(linear): requeue between pages of uncapped Linear walks and keep the merged list a true prefix

An uncapped project or single-workspace issue walk held one of the four shared Linear request slots for up to the whole read budget, so other Linear reads in the app could queue behind it. Project walks now requeue between pages and single-workspace issue lists use the per-page multi-workspace path. Uncapped multi-workspace issue lists no longer re-sort everything collected before each page, and a budget-stopped walk returns only the span every unfinished workspace has covered.

* refactor(linear): move search total aggregation out of issue-context-resolution to stay under max-lines

* perf(linear): fetch summary fields for agent list walks and stop them at the read budget after queueing

orca linear list and project list fetched every Linear issue's description and labels, and every project's content, history, members and labels, then discarded them; with the full walk that waste grew with the whole collection. The agent list paths now ask Linear only for the fields they return (a $detail switch keeps the app's full queries unchanged). A continuation page that waited for a request slot past the read budget is no longer started, and the agent RPC's cancellation signal now reaches the request queue and the Linear client.

* fix(linear): pass the project-create signal through the new options, skip a project page admitted past the read budget, and stop before requeueing a satisfied capped read
2026-11-17 10:50:23 -08:00
OrcaWinandOrcaWin 4f407ab48e test: remove polling, selection, and typing benchmarks (#43643)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-17 08:25:49 -08:00
OrcaWinandOrcaWin 1c84f7419f test: remove redundant terminal load benchmarks (#43638)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-17 07:59:57 -08:00
OrcaWinandOrcaWin b7f4256246 test: remove low-value parked-memory suite (#43636)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-17 07:40:08 -08:00
Neil 1fadf2a59a refactor(renderer): organize sidebar and component ownership (#43611) 2026-11-17 06:24:13 -08:00
Neil ef2daeee80 refactor(tests): colocate runtime and compatibility contracts with owners (#43589) 2026-11-17 05:12:29 -08:00
Neil 2cb4fcf002 refactor(renderer): colocate hooks and IPC events with feature owners (#43575) 2026-11-17 03:31:09 -08:00
Neil b03a4fe984 refactor: organize renderer store and agent status modules (#43528)
* refactor: organize renderer store and agent status modules

* test: remove global timer counting from coordinator cleanup

* test: retire queued quit timing case and preserve main graph coverage
2026-11-17 01:43:06 -08:00
Neil 8abbc914ef refactor(renderer): organize browser and terminal modules by owner (#43476)
* refactor(renderer): group browser and terminal modules by owner

* refactor: consolidate floating workspace type imports

* test: mark worktree card introduction seen in completed profiles

* refactor(renderer): place upstream terminal sleep owners with tab lifecycle
2026-11-16 23:52:27 -08:00
OrcaWinandOrcaWin a6c19f592f test: remove low-value boundary and coordination tests (#43466)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 21:57:03 -08:00
OrcaWinandOrcaWin 4e6b4068be test: remove low-value output, PDF and download suites (#43459)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 21:37:57 -08:00
Neil 225baa2477 refactor(web): group API and session sync modules by feature (#43403) 2026-11-16 19:38:16 -08:00
Jinjing 820026a532 Clarify Session History search messages (#42519)
* fix: clarify session history search copy

* fix: keep paired-client notice in session search enable prompt

Restore the notice that authenticated paired clients can search the
index, since the prompt's Enable button turns indexing on directly.
Update the panel search e2e spec for the new prompt and empty-state
copy, drop a unit test that did not fail when the copy change was
reverted, and remove the retired consent key that the rebase brought
back in the ja and zh catalogs.

* fix: localize session search prompt copy and use paired devices wording

Use the reviewed wording "Paired devices can search them too." for the
enable prompt, and add translations for the three new Session History
strings in every shipped locale so the consent stays readable outside
English.
2026-11-16 18:02:34 -08:00
Neil 212694c08e refactor(ipc): group handlers and PTY support by owner (#43339)
* refactor(ipc): group handlers and PTY support by owner

* chore(test): prune retired IPC timeout baseline

* fix(types): include worktree path settings in web project
2026-11-16 17:11:09 -08:00
Neil 9c0c9428ac fix(plugins): stop git prompts in plugin workers and say plugins can use saved logins (#43326)
Plugin workers now get GIT_TERMINAL_PROMPT=0 so git fails cleanly instead of
prompting. The full-access warning and the authoring docs now say a worker can
use saved logins and SSH keys and that the environment filter is not a sandbox.
Adds tests for dropped code-loading variables and Windows case folding.
2026-11-16 15:56:26 -08:00
Neil d23e47411a refactor: organize backend agent-session and tab owners (#43268)
* refactor(main): organize agent session and tab lifecycle owners

* fix(ci): carry moved backend test and mobile routing metadata

* test: retire copy assertions in headless notification test
2026-11-16 14:42:12 -08:00
OrcaWinandOrcaWin f2e5a043e1 test: remove narrow presentation, startup, plugin and policy tests (#43240)
* test: remove low-value presentation startup and scalar policy tests

* test: remove narrow plugin diagnostics startup marker and spacing tests

* test: remove narrow editor adapter and policy variants

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 12:31:27 -08:00
Neil bf134f8f4d refactor: organize shared agent chat (#43221) 2026-11-16 12:00:43 -08:00
OrcaWinandOrcaWin a6746aa98c test: remove narrow recovery, board and classifier coverage (#43070)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 11:47:21 -08:00
Jinjing 33b133601b fix(native-chat): keep a consistent gap above an answer's action row (#42942) 2026-11-16 12:21:23 -07:00
OrcaWinandOrcaWin 8ae7f0292d test: remove sidebar disclosure and narrow divider UI suites (#43138)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 07:57:13 -08:00
Kelvin Amoabaandtoodeceptive 98fadae4d8 fix(computer): keep the agent's window id as the target window on Windows (#43162)
The Windows helper checked an agent's --window-id against Process.MainWindowHandle, a z-order guess that moves to a tooltip or another window of the same app. The window id is now the target: a live, visible top-level window of the target process, carried through the tree read, frame, screenshot, raise, keyboard input and the observe after the action.

Co-authored-by: toodeceptive <137078450+toodeceptive@users.noreply.github.com>
2026-11-16 15:17:33 +00:00
Neil 9f96bd57e3 refactor: organize tab and workspace modules by owner (#43167) 2026-11-16 07:17:09 -08:00
OrcaWinandOrcaWin e8a497e995 test: remove low-value presentation and shortcut suites (#43134)
* test: remove narrow Markdown and browser presentation coverage

* test: remove low-value scrolling, focus and gallery suites

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 05:34:17 -08:00
Neil 4ae7ff27b7 refactor: organize filesystem IPC and local file I/O (#43120)
* refactor: organize filesystem IPC and local file I/O

* test: retire unreachable filesystem rename alarm
2026-11-16 05:32:37 -08:00
OrcaWinandOrcaWin 19af83225a test: remove synthetic mobile context-menu assertion (#43125)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 05:09:23 -08:00
OrcaWinandOrcaWin e6dacc7bf3 test: remove low-value sidebar and page preference suites (#43079)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 04:47:45 -08:00
OrcaWinandOrcaWin 7b724410fa test: remove low-value title editing and drag tests (#43091)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 04:46:03 -08:00
OrcaWinandOrcaWin ab7a9403fd test: remove narrow browser and floating layout suites (#43088)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 04:42:06 -08:00
OrcaWinandOrcaWin 93a3aa2f1a test: remove low-value tests (#43099)
* test: remove low-value notification and display tests

* test: remove update preference and host mute predicate suites

* test: remove redundant daemon and checkpoint work-count tests

* test: remove narrow desktop pane-title forwarding tests

* test: remove title-card and title-input work-count tests

* test: remove duplicated tool-pairing adapter tests

* test: remove narrow appearance preference tests

* test: remove turn-status display timing tests

* test: remove visual Activity read-count tests

* test: remove Linear view preference resume tests

* test: remove synthetic pending-question work-count suite

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 04:40:57 -08:00
Brennan Benson 173beb41a2 Give new agents plain UUID IDs (#42940)
* Give new agents plain UUID IDs

New Orca session IDs (chats, host-launched chats, terminal agent IDs) are
plain random UUIDs minted by createOrcaSessionId; the agent stays on the
record. Remove the two readers of the agent prefix: the agent.launch
sessionId refinement and the automation Open run guard. Hosts advertise
agent.launch.plain-session-id.v1; the phone reserves a plain ID only for
hosts that advertise it and keeps the legacy spelling otherwise. A replay
an older replacement host refuses as invalid params is now uncertain, not
a definite failure. Old IDs stay valid; nothing is migrated.

* Repair plain agent ID recordings and compatibility checks
2026-11-16 04:20:56 -08:00
Neil 6018fca4de refactor: group shared settings, profiles and execution hosts (#43047)
* refactor: place shared settings profiles and host contracts with owners

* fix: retire stale cleanup validation contacts

* refactor: consolidate imports from concrete owners

* refactor: bind new card fixture to profile defaults owner

* style: format rebased concrete host import

* refactor: consolidate project header color owner imports

* fix: load released phone readers after folder moves

* fix: preserve released chat readers and current owner imports
2026-11-16 04:03:33 -08:00
Neil a5398a66cd test(cross-version): accept the moved phone row reader and read SQL-backed releases with their own workers (#43072)
v1.4.260 moved mobile/src/worktree/agent-row-display.ts under agent-lineage/
and was the first release to keep native chats in SQLite behind worker threads.

- Archive both phone row reader locations as optional paths and resolve moved
  modules under mobile/src through releaseModuleLocation().
- Bundle each SQL-backed release's own journal worker/reader entries and mock
  its worker-bundle fixture to point at them; read those releases' chats with
  their own readTestJournalSnapshot instead of journal.snapshot().
2026-11-16 03:10:22 -08:00
fd8198f001 feat(jira): reorder the Tasks board lanes by dragging their headers (#30597)
* feat(jira): reorder the Tasks board lanes by dragging their headers

Jira's board configuration decided the lane order and there was no way to change it in Orca. Column headers are now drag handles, with ArrowLeft/ArrowRight as the keyboard equivalent, and the resulting order is saved per board on the device. Jira's Agile API exposes board column order read-only, so this is an Orca view preference and never edits the Jira board.

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

* fix(jira): make the saved lane order survive Jira column inserts and filtered lanes

Review follow-up. Board column keys were derived from the column index, so inserting a column in Jira orphaned every saved lane position; they now come from the column's status ids, which Jira keeps stable across config edits. Saving a reorder also replaced the stored order with only the lanes currently on screen, dropping the saved position of any lane a filter had hidden; the new order is merged into the saved one instead. A keyboard move now restores focus to the lane it moved, and the rendered probe asserts two arrow presses in a row land.

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

* fix(jira): tell screen readers a lane's issue count and its arrow-key move

Review follow-up. The lane header's aria-label replaced the visible header text, so assistive technology no longer heard how many issues the lane held, and nothing said the header moves with the Left and Right arrow keys. Both now ride on aria-description, translated in every catalog including the newly added Portuguese one, which also gains the existing reorder label.

Also registers the lane-order storage module in the WSL-move localStorage inventory, as the sibling view-mode change did, and follows the jira-types move on main.

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

* fix(jira): keep the saved lane order across a runtime reconnect

Review follow-up. The lane order was stored under the status-order cache key, which ends in the provider runtime session generation. That counter restarts at zero on every launch and moves on every runtime focus change and remote session start, so a reconnect or a relaunch read the order back under a different key and silently fell back to Jira's order.

The storage key is now built from the task source, the owner's identity without the generation, and the Jira project. The generation-free identity is split out of getEnvironmentRuntimeContextKey rather than duplicated, and the status-order cache keeps its generation.

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

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Neil <neil@stably.ai>
2026-11-16 02:12:19 -08:00
026fccf821 feat(notifications): mute notifications per worktree (#26779)
* feat(notifications): mute notifications per worktree

Add a per-worktree notification mute, toggled from the worktree context
menu. Muting silences the interruptions for that worktree (OS banner,
notification sound, mobile push, tray attention dot) while keeping the
passive unread indicators, and shows a small bell-off icon on the card.

The flag is stored in PersistedUIState as notificationsMutedByWorktree
(opt-in entries only), riding the same rails as showDotfilesByWorktree:
debounced writer baseline, hydration sanitizer, paired-client UiUpdate
schema, worktree delete cleanup, folder-rename re-keying, repo removal
pruning, and profile transfer.

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

* docs(notifications): document the touched per-worktree flag helpers

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

* fix(notifications): adapt the mute gate to the attention-sink and WSL-move ledgers

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

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Neil <neil@stably.ai>
2026-11-16 01:47:43 -08:00
OrcaWinandOrcaWin e99cc9a67e test: remove narrow tab docking and terminal padding suites (#43062)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 01:44:03 -08:00
OrcaWinandOrcaWin 84da54ae3d test: remove two low-value copy and language retry suites (#43051)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 01:16:18 -08:00
OrcaWinandOrcaWin 1964094cbc test: remove two low-value preference and presentation suites (#43041)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 00:46:59 -08:00
OrcaWinandOrcaWin 797e648a21 test: remove three low-value cache and presentation suites (#43035)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 00:33:32 -08:00
OrcaWinandOrcaWin 0c359c3cf6 test: remove four low-value preference and presentation suites (#43029)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 00:23:09 -08:00
OrcaWinandOrcaWin 4fcdfeddfd test: remove nine low-value renderer and preview suites (#43025)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 00:07:14 -08:00