Commit Graph
20140 Commits
Author SHA1 Message Date
b4aa8a1be6 fix(orchestration): wake idle Hermes workers after a runtime restart (#37732)
* fix(orchestration): wake reattached Hermes terminal workers

Record the provider-proven terminal grid on the headless attach path before
restoring the screen. Without it, trusted-screen readiness rejected idle
Hermes workers after a runtime restart and stranded both send and reply mail.

Reuse the spawn geometry policy without resizing the surviving PTY. Cover
status and question-reply wakes plus busy and draft composer holds.

* fix(orchestration): retain Hermes activity across native titles

Hermes writes a status marker followed by an arbitrary session name and
model. These titles can lack a recognized agent-name token, clearing live
activity after the mailbox pointer is typed and leaving its Enter deferred.

Classify native markers only for an already identified Hermes terminal.
Reproduce the exact OSC 1/2 titles during both status and reply delivery,
retain busy/draft holds, and update the existing partial attach fixture.

* refactor(pty): keep runtime attach seeding under the line cap

The rebased attach path pushed operations.ts over the 300-line oxlint cap. Move the size commit and headless seed into their own module so the wake behavior stays and the file fits.

* fix(orchestration): retarget Hermes title imports after the agent-status move

Upstream moved agent-title-core and terminal-agent. The rebased title helper still imported the old paths, so typecheck could not resolve them.

* fix(pty): keep a resize that lands during runtime attach

Attach waits on the daemon before committing snapshot geometry. A resize in that window already published the live grid, so the later snapshot commit must not write it back.

* fix(pty): detect an attach-time resize by cache identity

A resize that returns to the pre-attach dimensions still publishes a new cache entry. Comparing only cols and rows let the snapshot commit overwrite that live grid.

* test(pty): assert attach reflow and Hermes idle status in existing cases

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

* refactor(orchestration): keep the Hermes title rule with the other title providers

* fix(pty): give a resize that landed during attach a readable mirror

Reflowing the seeded snapshot marked the grid unrepainted, so the screen
rules kept refusing it after the TUI repainted for the resize.

* fix(orchestration): write the Hermes title markers as escapes for the ASCII server bundle

* test(pty): retarget Hermes attach test imports after the orchestration module moves

* fix(orchestration): restore a reattached agent's idle status from its trusted ready screen

A screen-ruled agent idle before a runtime restart may write no title after
reattach (Hermes repaints its title only on a state change) and has no restored
hook report, so it stayed without live status and mail was never offered.
When no report restores it, the agent's own strong ready rule on the trusted,
correctly sized grid now gives it a live idle status; busy, draft and unknown
screens still give nothing. Quiet-gated rules and a grid not yet readable get
one recheck.

The attach test no longer injects a fresh title after attach.

* fix(orchestration): keep rechecking a reattached ready screen until it settles

One recheck could land inside a redraw's quiet window or before the grid became
readable, leaving a quiet-gated agent without live status. Recheck within a
bounded window instead, and cover a Cline redraw after attach.

* fix(agent-state): read agy's idle composer with background task rows as ready

agy 1.4 lists running background tasks between the composer and the hint
row, so composer_ready never matched and a reattached agy with a task
running held its mail until the task ended. A sibling rule allows up to
six task rows; the hint row still decides, so mid-turn, draft and picker
screens hold.

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
2026-11-08 18:07:14 -05:00
Jinjing 9b9363f4fb update log efficiency (#40011)
* docs: define protected telemetry dashboard migration

* docs: clarify activation workspace availability rule
2026-11-08 15:05:32 -08:00
OrcaWinandOrcaWin c47d1dfffa test: remove 54 low-value agent-hook, SSH and PTY tests (#39998)
* test: remove 54 low-value agent-hook, SSH and PTY tests

* test: isolate relocated socket directory permissions

* test: align restored helper with current main

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 15:04:46 -08:00
Jinwoo Hong 43704993af fix(orchestration): refuse worker-start on a busy terminal before any wait (#39962)
* fix(orchestration): refuse worker-start on a busy terminal before any wait

worker-start --terminal and the follow-up a send to a finished worker starts
now claim the terminal through one check, before a Run binds, a Task or
Dispatch is written, or readiness is awaited. The Dispatch insert repeats the
claim atomically, and the late authority check stays as a backstop.

* fix(orchestration): refuse a busy terminal with no await before the Run binds

* fix(orchestration): keep the terminal_busy code and its data on the wire

* fix(orchestration): a start stranded by a restart does not hold the terminal

* test(orchestration): drop casts in the busy-terminal test
2026-11-08 18:04:32 -05:00
Neil cc7d19e932 relay edge: host-sent keepalive answered without waking the object (#40010)
Desktops advertise client-keepalive-v1; the edge offers it after the hello-ack and
auto-responds to a fixed keepalive frame, so idle hosts need no 25 s ping alarm
(each setAlarm is a billed row write). Silent keepalive hosts are probed with one
relay ping before a phone is refused, closed at once where the host is leaving.
Shipped desktops and cells see nothing new. Kill switch CLIENT_KEEPALIVE=0.
2026-11-08 15:03:20 -08:00
Jinjing 139e954009 Show dates on older chat messages (#40001) 2026-11-08 15:03:16 -08:00
OrcaWinandOrcaWin a30768edd0 test(ai-vault): restore the sameFolder helper the merged scope-only case uses (#40005)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 14:43:42 -08:00
Jinwoo Hong 1b1a80a512 fix(orchestration): refuse a reply to a finished worker's report and name the follow-up that works (#39802)
* fix(orchestration): refuse a reply to a finished worker's report and name the follow-up that works

* fix(orchestration): say what the action under a finished report does
2026-11-08 17:37:07 -05:00
OrcaWinandOrcaWin a49fca7a98 fix(runtime): keep the restored tab selected after a serve restart; update stale paired e2e specs (#39980)
* fix(runtime): keep a restored tab selected after orca serve restarts

Since #38844 a cold rebuild restores the saved tab groups, and a saved
group's null active tab was kept as an explicit "nothing selected". A
headless server never saves its own selection, so after a restart its
workspaces listed every terminal with none selected. Saved groups now
only declare a null selection when the session also saved an active
group; otherwise the restored tab stays selected, as before.

* test(e2e): bring layout-compat and paired-client specs up to current behavior

- old-phone baseline: phone snapshots carry tabGroupLayout since #38844.
- tab composition: drop onto where the active tab sits once a drag
  undocks it; create the server-placed browser page on the server, since
  a phone's create through the desktop is desktop-hosted (#37705); the
  desktop serves its phone the server page it mirrors (#36447).
- project removal: retry the host's "can't answer yet" terminal list and
  wait for a terminal whose shell has spawned.

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 14:29:52 -08:00
Neil 176e6a4e98 perf(persistence): save the GitHub cache as per-entry SQLite rows every few minutes (#39993)
The PR/issue cache only seeds next launch's sidebar, but every flush rewrote the whole
~200 KB orca-github-cache.json. Store one row per entry in orca-github-cache.db, write only
changed rows, and save at most every three minutes plus at quit and explicit flush barriers.
An existing sidecar is imported and removed; older builds read a missing sidecar as empty.
2026-11-08 14:28:15 -08:00
Neil 06a528f774 perf(agent-hooks): save agent status as per-pane SQLite rows, every few minutes (#39995)
last-status.json was rewritten whole (~190 KB) up to every 5 s while agents ran. Status now
lives in agent-hooks/last-status.db with one row per pane and per authority commitment, and a
save writes only rows whose serialized content changed. Routine saves wait 3 minutes; authority
changes still save at once, and stop, quit and hook-disable flush. Rows past the 7-day TTL are
no longer saved. An existing last-status.json (written by this or an older build) is imported
on start and then removed.
2026-11-08 14:24:39 -08:00
Kelvin Amoaba fe40fd2576 perf(session-history): answer Workspace and Project from their own sessions (#39971)
* perf(session-history): answer Workspace and Project from their own sessions

Workspace and Project send scopeOnly. The scanner then skips listing and parsing cwd-bucket agents (Claude, Pi, CodeBuddy) outside the scope, keeps the recency pass for the other agents but returns only its in-scope rows, and checks name-matched Claude buckets file by file when their newest transcripts name no in-scope cwd. The tab move lookup and All keep the full scan.

* test(session-history): pin that scope-only drops out-of-scope recency rows

* fix(session-history): keep every row main shows when scope-only skips bucket agents

Parse the whole recency window and keep all of its in-scope rows, bound unverified bucket files apart from confirmed ones and let their parse decide, and keep a scope's rows on screen across a depth change.

* fix(session-history): keep Pi listed for scope-only and let scoped rows stand in across scopes

OMP shares Pi's folder under PI_CODING_AGENT_DIR and Pi's listing decides which files OMP parses, so scope-only keeps listing Pi. Workspace and Project rows now stand in for any scope but All, since the renderer filter narrows them.

* fix(session-history): serve scope-only from a cached full list and NFC-fold bucket names

All and Project send the same paths, so a cached All list answers Project without a rescan. Bucket names and scope prefixes are compared NFC-folded, since CodeBuddy and Pi keep the cwd's own Unicode form.

* fix(session-history): match NFD-named buckets by encoding both Unicode forms

Claude replaces each non-alphanumeric code unit with a dash, so normalizing an encoded name can't recover an NFD cwd. Encode the NFD spelling of each scope path too, and drop the post-encoding NFC fold.

* refactor(session-history): build the scope matcher only for scope-only scans and tighten comments
2026-11-08 22:21:27 +00:00
OrcaWinandm4air c20524168d fix(runtime): move the local RPC socket to a short path when userData is too long (#39972)
* fix(runtime): move the local RPC socket to a short path when userData is too long

A long userData path made the local RPC socket path exceed the Unix
sun_path limit (104 bytes on macOS, 108 on Linux), so listen failed with
EINVAL and the CLI could not reach the runtime. Reuse the terminal
daemon's relocation: resolveDaemonUnixSocketPath moves the socket to a
private /tmp/.orca-daemon-<uid>/<hash> dir, the server creates and
verifies that dir before listening, and the orphan sweep covers it.
The CLI and the browser sidecar check the dir is private to this user
before they send the auth token, as the daemon client does.

* fix(runtime): verify the relocated socket dir before sweeping it; probe relocated holder sockets

Check that the relocated /tmp/.orca-daemon-<uid>/<hash> dir is private to
this user before the orphan sweep lists or unlinks anything in it, and skip
that dir when the check fails. The orcad stale-lock reclaim now also scans
the relocated dir for the holder's runtime socket, so a live holder there
is probed and its lock is not reclaimed.

* fix(runtime): ship the socket-dir check with the packaged CLI; keep main sync fs flat

The CLI imports daemon-socket-endpoint-path, but electron-vite replaces
out/main, so packaging lost the module and the installed CLI crashed.
Add it to the CLI main entries and unpack it with its mode constants.
The lifecycle sweep and the stale-lock reclaim now use async fs for the
relocated dir, so the main sync-fs count stays at its baseline.

---------

Co-authored-by: m4air <m4air@m4airs-MacBook-Air.local>
2026-11-08 14:21:10 -08:00
OrcaWinandOrcaWin ad8a0fae35 fix(editor): keep a late autofocus frame from moving the Markdown caret (#39985)
The deferred focus('start') in autoFocusRichEditor ran even after the user
had already clicked or typed in the editor. In hidden or busy windows the
frame lands late (hidden windows paint at 1 Hz), so text typed into a new
Markdown file was split around a caret jump to the start, and a click
selection in a freshly opened file snapped back to the first line.

Skip the deferred focus when the editor is already focused and its doc or
selection changed since the focus was scheduled.

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 14:18:55 -08:00
OrcaWinandOrcaWin 9fa526615f fix(browser): validate a guest whose ID is unreadable at dom-ready (#39984)
When dom-ready fired while webview.getWebContentsId() threw, the
registration callback bailed out on the ownership fence (ownsGuest(null)
is always false), so validateAfterResume never ran and the page stayed
unregistered until some unrelated caller happened to read the ID. Fence an
unidentified guest by webview ownership only, so validation retries until
the ID reads.

The recovery spec's registered-page oracle now ignores tab list rows with
loaded: false: since #35563 tab list also reports tab-bar pages that have
no registered guest, so unregistered pages no longer drop out of it.

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 14:18:40 -08:00
OrcaWinandOrcaWin 961430903c test(e2e): follow setup review dialog, GitLab work-item listing, chat sign-in probe and onboarding trust prompt (#39983)
- setup-script-import: imported setups are saved from the Review setup
  script dialog since #37937.
- github-url-smart-input-transition: the GitLab source lists through
  gitlab:listWorkItems since #32005, so stub that channel.
- structured-chat-tabs-open-close: the Claude catalog probe also sends an
  initialize request for sign-in discovery since #37191.
- golden-core-flows: onboarding launches the chosen agent in the fresh ~
  workspace (#37898), whose first launch asks the per-repo agent folder
  trust question (#38946); answer it before adding a project.

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 14:18:24 -08:00
Brennan Benson 69a6bca18b fix(claude): ask before matching Claude Code's theme in every profile (#39978)
* fix(claude): ask before matching Claude Code's theme in every profile

New profiles turned the sync on by default and wrote custom:orca into the
global ~/.claude/settings.json, so a fresh dev build, test copy or second
profile restyled Claude Code for an Orca whose toggle was off, and that Orca
could not restore it. Every profile now starts off and gets the one-time offer.

* docs(claude): the theme sync offer now reaches every profile
2026-11-08 14:17:24 -08:00
Neil 8ee9231d49 perf(profile-state): store large domains as per-entry rows so saves rewrite only what changed (#39974)
Session, remote layout and worktree metadata domains are stored one row per entry, so a
save rewrites only the entries that changed instead of the whole multi-megabyte document.
Readers reassemble the exact original JSON. The schema version is unchanged, so older
builds keep reading the full-document row, which is refreshed when the writer starts, at
most every five minutes while it runs (including quiet periods), at graceful close, in
published backups, and after profile transfers.
2026-11-08 22:16:21 +00:00
OrcaWinandOrcaWin 2b2a87dc20 test: remove 31 low-value performance, SSH and image tests (#39994)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 14:13:41 -08:00
OrcaWinandOrcaWin 8a7dcae3b9 test(e2e): update five stale or racy terminal and agent specs (#39982)
- profile-state restart: runNow now returns the saved pending row (#38217)
- codex account switch: click the backdrop clear of the sidebar seam strip (#38288)
- claude sidebar agent view: drop the removed subagent indicator check (#34558)
- IME preedit continuity: refit after changing the font, like font zoom
- agent send picker: bind local fixture panes to a live PTY so reattach keeps them

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 14:12:02 -08:00
OrcaWinandOrcaWin 9d80e39bee fix(terminal): keep subpixel text on the retained replay frame (#39981)
Since the xterm 6.1.0-beta.336 rows stopped clipping with overflow:hidden,
Chromium draws the transparent replay copy over the opacity-0 screen with
grayscale antialiasing while the live screen keeps LCD text, so glyphs
shimmered for the replay hold on subpixel-AA systems. Paint the copy with
the terminal's opaque background so it keeps LCD text.

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 14:11:48 -08:00
OrcaWinandOrcaWin 774950d55d test: remove 18 low-value SSH and managed-server tests (#39979)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 14:00:20 -08:00
OrcaWinandOrcaWin c20c91a017 chore(ratchets): point the sync fs baseline at the moved agent-hooks files (#39986)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 13:59:42 -08:00
Neil 65412f3f6d refactor: organize browser extension requests and rule owners (#39975)
* refactor: organize browser extension request and rule owners

* refactor: retain browser extension type-reference directives

* chore: follow concrete owners in sync filesystem baseline
2026-11-08 13:54:02 -08:00
Brennan Benson c463effa5a test(perf): render and identity contracts for agent status, sidebar, tab strip and chat (#39954)
* test(perf): render and identity contracts for agent status, sidebar, tab strip and chat

Twelve operation, render and identity contracts at the production seams of
the hottest UI paths, each driven at N and 10N with one hardcoded bound and
shown to fail with its regression restored. Registers them in the contract
list and fixes the perf workflow's path filter, which had drifted to 12 of
19 contracts. Removes test-only production exports nothing reads.

* test(perf): prove composer typing lands; drop dead rebuild counter

Review: the composer contract never checked the draft reached the composer,
and its transcript control could not fail; the live-index rebuild counter
and a bucket constant had no readers after the test exports went.
2026-11-08 13:34:29 -08:00
Brennan Benson 1d28b8882c chore(ratchets): fail PRs that add sync fs calls on Electron main or new setInterval polls (#39930)
* chore(ratchets): count sync fs calls on Electron main and setInterval calls

Sync fs on main and fixed-cadence intervals that never settle were two of the
most common perf fix classes since September, and no gate counted them. Both
ratchets grandfather today's uses per file and fail when a file's count grows.

* chore(ratchets): count every sync fs export, src/shared and node:timers intervals

Review: the allow-list missed descriptor/copy APIs, src/shared helpers run on
main too, and setInterval imported from node:timers escaped the timer count.

* chore(ratchets): keep hosted setInterval calls beside a named timer import

Review: a named node:timers import zeroed window/globalThis calls too, a
destructured require was counted twice, and collector edits didn't select
the timer ratchet in check:changed.

* chore(ratchets): charge calls through an alias, not the alias binding

Decider ruling B on review finding C6: binding a plain alias of a gated call
counted as a use, so an alias refactor failed every collector-based ratchet.
Conditional/fallback aliases and exported bindings stay charged.

* chore(ratchets): count bare setInterval only when nothing local shadows it

Review: the timer ratchet kept its own narrower binding resolver, so alias
and namespace-destructure forms of an imported setInterval counted twice.
Module bindings are the shared collector's; a bare call is the global only
when the file declares no setInterval binding.

* chore(ratchets): resolve bare setInterval calls per scope

Decider ruling A: the file-wide shadow rule let an unrelated parameter or type
declaration named setInterval hide every global poll in the file. Each bare
call now resolves through a single-file TypeScript checker (noLib, noResolve)
and counts when it binds to nothing declared in the file.

* chore(ratchets): write the timer baseline exactly as --prune does

* chore(ratchets): charge global timer aliases and bracket access

CodeRabbit: `const schedule = setInterval; schedule(poll)` and
`window['setInterval'](poll)` counted zero. Count value references to the
global timer (per scope) instead of only direct calls.

* chore(ratchets): charge shorthand timer escapes; skip writes, typeof and JSX tags

Review: `{ setInterval }` of the global counted 0, while assignments to it,
parenthesized typeof probes and a <setInterval/> tag counted 1.

* chore(ratchets): charge compound assignments to the global timer

Review: `||=` and `??=` read setInterval before writing it, so only a
plain `=` target is write-only.

* chore(ratchets): regenerate baselines for files main moved

main's SSH reorganisation moved counted files under src/main/ssh and
src/main/managed-server; counts are unchanged except one sync fs call main
removed.
2026-11-08 13:34:07 -08:00
OrcaWinandOrcaWin 77926605e0 test: remove 2 low-value vault and restart tests (#39970)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 13:31:21 -08:00
Brennan Benson 2d1298f0d6 Open agent setup with the current model highlighted (#39923)
* Open agent setup with the current model highlighted

* Start setup on the current model only when it is a rendered, non-Arguments row; remount once defaults settle

* Return the setup highlight to the current model when a model search is cleared

* Scope setup highlight navigation to one event and scroll the restored model into view

* Scope setup highlight navigation to the event's phases and reveal the start model when it arrives
2026-11-08 13:29:33 -08:00
Neil b5e38ad9c6 refactor: organize agent hook installation and server owners (#39969)
* refactor: organize agent hook installation and server owners

* refactor: align hook mock registries and packaged entries
2026-11-08 13:23:03 -08:00
OrcaWinandOrcaWin 29c7295620 test: remove 15 low-value SSH tests (#39968)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 13:14:55 -08:00
Kelvin Amoaba da8162e3b9 fix(native-chat): send queued messages after resuming a chat interrupted by a restart (#39965) 2026-11-08 21:03:11 +00:00
OrcaWinandOrcaWin 9308ad03be test: remove 21 low-value CLI and GitHub tests (#39963)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 12:59:35 -08:00
2652059825 perf(notebook): bound retained output from noisy cells (#39888)
A cell that streams hundreds of MiB of output used to grow the renderer
heap without limit and freeze the window. Each cell now keeps the first
2 MiB of stream text, 16 MiB of total output and 2000 outputs, then adds
one notice and drops later output. The first error and the first result
each get a separate bounded allowance, so the error summary still shows.
A display update that does not fit is rejected and the previous display
is kept. clear_output, with or without wait, resets the budget.

markRunCommitted and forgetFinishedRuns move to ipynb-kernel-runs.ts so
ipynb-kernel-session.ts stays under the max-lines lint cap.

Replaces #27721.

Co-authored-by: m4air <m4air@m4airs-MacBook-Air.local>
Co-authored-by: brennanb2025 <79079362+brennanb2025@users.noreply.github.com>
2026-11-08 12:47:54 -08:00
OrcaWinandOrcaWin 21462e0566 test: remove 26 low-value mobile tests (#39961)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 12:46:42 -08:00
Kelvin Amoaba 77b297bbe8 fix(mobile): refresh native Home when worktree rows change (#39929) 2026-11-08 20:45:51 +00:00
Kelvin Amoaba 9bfa701b9c perf(mobile): keep task lists on the phone between launches (#39948)
* perf(mobile): keep task lists on the phone between launches

* test(mobile): type the stored task list setItems mock
2026-11-08 20:45:13 +00:00
Kelvin Amoaba d8e34719d1 perf(runtime): drop old terminal resume output through a head index instead of splicing (#39931)
* perf(runtime): drop old terminal resume output through a head index instead of splicing

* refactor(runtime): bound reverse scans with findLastIndex
2026-11-08 20:43:48 +00:00
OrcaWinandOrcaWin 2b89fa7c98 test: remove 61 low-value mobile tests (#39955)
* test: remove 61 low-value mobile tests

* test: use array shorthand in retry fixture

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 12:31:33 -08:00
OrcaWinandOrcaWin 8e55f80278 test: remove 92 low-value mobile tests (#39957)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 12:29:43 -08:00
Jinjing ed719bf794 Allow disabling plugins from activity bar (#39956) 2026-11-08 12:24:54 -08:00
Neil 0d1220c31f Organize SSH and managed-server modules by concrete owner (#39937)
* refactor(main): organize SSH transport and managed server owners

* Remove orphan deploy readiness fixture and shrink test baselines

* refactor(wsl): import lock records from their defining owner

* refactor(wsl): use the canonical deferred update contract
2026-11-08 12:20:22 -08:00
OrcaWinandOrcaWin 49d74f57b1 test: remove 6 low-value query and cache tests (#39953)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 12:06:50 -08:00
Kelvin Amoaba 2881d6f5c6 fix(native-chat): drop Open in new tab from the file link menu (#39950)
Chat file links share the terminal's row builder, which added the row
whenever the source tab had a split or neighbor. Open file already places
the file beside the chat, so the extra row was noise. Terminal links keep it.
2026-11-08 20:06:12 +00:00
Kelvin Amoaba d0f273f5dd perf(ai-vault): skip re-rendering unchanged Session History rows (#39944)
* perf(ai-vault): skip re-rendering unchanged Session History rows

* fix(ai-vault): keep memoized history rows current with host capabilities and time

* fix(ai-vault): recompute chat-resume eligibility when host agent facts change

* refactor(ai-vault): simplify the history row memo comparator

* fix(ai-vault): drop the hook-deps suppression React Compiler bails on
2026-11-08 20:04:15 +00:00
OrcaWinandOrcaWin 41e980f4d6 test: remove 9 low-value IPC and SQLite tests (#39947)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 11:59:11 -08:00
Brennan Benson ed78b51cad Let native chats finish slow agent startup (#38727)
* Let native chat startup follow provider readiness

* Remove obsolete startup deadline expectation

* Preserve startup retry when Claude exits before initialize

* Join startup cleanup with the observed Claude exit

* Model the observed Claude exit in the startup fixture

* Wake Pi startup on fatal session failure

* Keep Pi refusal assertion typed as an unknown result

* Keep startup tests tied to the fixed regressions
2026-11-08 11:58:34 -08:00
Brennan Benson 252b427dfd Display private GitHub attachment images in fetched items (#39250)
* Display private GitHub attachment images in fetched items

* Keep attachment event identity aligned with committed renders

* Complete GitHub image response type contracts

* Return private image sources with accepted issue edits

* Keep issue edits successful without optional display data

* Cover unusable issue edit image responses

* Keep optional GitHub image parsing from failing accepted saves

* Fetch GitHub body images with the existing body read
2026-11-08 11:58:15 -08:00
OrcaWinandOrcaWin b4f198379a test: remove 17 low-value mobile test cases (#39941)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 11:43:36 -08:00
Kelvin Amoaba 51c77320bc feat(mobile): mark agents read and clear them from the Agents tab (#39245)
Unread rows show the desktop's bell, swipe right toggles read, swipe
left clears a finished agent, and the long-press and options menus get
Mark read/unread, Unread only, Mark all read and Clear finished. Writes
go through agentActivity.setRead/clear and show optimistically until the
desktop's list confirms them.
2026-11-08 19:40:47 +00:00
Brennan Benson 8f58492e3f fix(toasts): match toast action buttons to Orca's Button (#39935)
* fix(toasts): match toast action buttons to Orca's Button

* fix(toasts): keep toast cancel buttons on the secondary color in dark mode
2026-11-08 11:37:14 -08:00