Commit Graph
20254 Commits
Author SHA1 Message Date
Brennan Benson d048aacd59 fix(sidebar): keep resize controls above workspace panes (#38705)
* fix(sidebar): keep seam controls above workspace panes

* test: cover sidebar hit targets over terminal content
2026-11-05 16:31:03 -08:00
Brennan Benson c7eae748d8 fix(tabs): a session's own name replaces a quick-command tab name (#38677)
* fix(tabs): a session's own name replaces a quick-command tab name

* fix(tabs): only a session's own name replaces a quick-command tab name

Session titles now say whether they are the session's own name (a rename
or a provider-generated name) or a stand-in such as the first prompt. A
quick-command tab keeps its label until the session has a name; a name
typed on the tab still wins. Titles from older hosts and saved tabs with
no kind keep the label; old saved titles are asked for once.

* fix(tabs): classify History-cached titles for session-id-only title requests

* fix(tabs): keep a cached session title when its transcript cannot be reread

* fix(tabs): keep a session title when its classification reread fails

* fix(tabs): keep the transcript for an unclassified cached session title

* test(tabs): keep the cached-title fixture's agent literal
2026-11-05 16:30:03 -08:00
Neil b468781c20 fix(claude): drop the local-command caveat when rewinding to a slash command (#38743)
Rewinding to a Claude local command (e.g. /usage) cut the fork at the
command row's parent, which is Claude's isMeta <local-command-caveat> row.
The fork then ended on the caveat, so the next prompt was read as the
local command and Claude replied "No response requested." Cut at the
caveat's parent instead.

Fixes #38686
2026-11-05 16:29:36 -08:00
Neil 47e8985117 fix(serve): keep orca serve running while it probes the login shell (#38515)
* fix(serve): keep `orca serve` running while it probes the login shell

`orca serve` started from an interactive terminal stopped itself ("[1]+
Stopped") before printing its pairing link. orcad inherits the terminal
and probes the login shell with `$SHELL -ilc`; an interactive bash 5 or
zsh takes the terminal's foreground job, so orcad's next terminal access
raised SIGTTOU/SIGTTIN. Give both shell probes (login environment and
PATH) a POSIX session of their own so they never hold a controlling
terminal. Windows keeps attached spawns, where `detached` would open a
console.

Refs #38347

* fix(serve): end a detached shell probe with its owner and on timeout

A probe in its own session no longer receives the terminal's Ctrl+C or
hangup, so a hung rc could outlive `orca serve`. Kill the probe's process
group by its own pid when it times out and when its owner exits while it
still runs; orcad and Electron turn INT/TERM into an exit, so a Ctrl+C
reaches it that way. No signal listeners: one would replace Electron's
graceful signal quit. The timeout now also ends what the rc started, not
just the shell.

Refs #38347
2026-11-05 16:28:20 -08:00
Brennan Benson 64ad230648 Open a terminal when splitting a Chat UI pane (#37984)
* Open a terminal when splitting a chat pane

* Clean empty terminal splits after remote creation settles

* Align retained menu test with terminal split labels

* Verify translated terminal split rejection messages

* Load remote regression dependencies in suite setup

* Keep split actions searchable by chat context and terminal terms

* Preserve later workspace selection when splitting into a terminal

* Use the existing group argument in terminal creation control

* Preserve existing split searches when opening terminals

* Rank eligible palette actions before checking split results

* Describe terminal splits accurately in the chat tour
2026-11-05 16:23:58 -08:00
89b51e2514 Include native chat tabs in Ctrl+PageUp/PageDown cycling (#37952)
* fix(tabs): include native chats in terminal shortcut cycling

Co-authored-by: Hrithik <hrithik@Hrithiks-MacBook-Pro.local>

Co-authored-by: Ignacio Correia <ignacio.r.correia@gmail.com>

* fix(tabs): keep cycling after selecting a hydrating terminal

* test: bound tab cycling work as tab counts grow

---------

Co-authored-by: Ignacio Correia <ignacio.r.correia@gmail.com>
2026-11-05 16:23:36 -08:00
Kelvin Amoaba 81e68744f2 fix(browser): Escape typed in a page exits element grab, find and the password list (#38741)
* fix(browser): Escape typed in a page exits grab, find and the password list

A focused page keeps its keys, so the renderer's Escape listeners for
element grab/annotate, the find bar and the saved-password list never
fired. Main now hands Escape from browser and HTML preview guests back
to the renderer for that page; during a grab pick the page doesn't
also get it, like C/S.

* test(browser): say why the grab Escape test waits out the toast

* refactor(browser): share one page-Escape subscription hook
2026-11-06 00:22:02 +00:00
Brennan Benson e1bc4e8618 Cmd/Ctrl+Enter on an empty chat composer steers the first queued message (#38732)
* fix(native-chat): Cmd/Ctrl+Enter on an empty composer steers the first queued message

* fix(native-chat): empty-composer Cmd/Ctrl+Enter steers only where the chord means steer

With Queue follow-ups off, Cmd/Ctrl+Enter queues the typed message, so a
second press on the now-empty composer would steer the card just queued.
2026-11-05 16:21:44 -08:00
OrcaWinandOrcaWin 0b27a777ea test: remove 220 low-value hook, timeline and Ruby tests (#38739)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-05 16:20:16 -08:00
OrcaWinandOrcaWin 9a255602d2 test: remove 161 low-value ACP tests (#38738)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-05 16:16:45 -08:00
Neil a0cea20878 fix(quick-open): resolve a folder twin's file list on the host the user selected (#38736)
Chat @ file search, Quick Open and the + menu looked a folder workspace up without a host, so a
same-id folder on two hosts resolved to nothing and listed no files. They now resolve the selected
copy, the same way skill lookup does.

Refs STA-13130
2026-11-05 16:16:15 -08:00
Jinwoo Hong 4c82aab266 README: refresh hero and feature animations (#38726)
New hero still: a coordinator running two workers with the mobile app replying. The Features table is rebuilt from the website's product animations (13 rows led by orchestration, chat or terminal, run anywhere and the mobile app), Also in the box lists the rest of the feature wall, the tagline matches the website, and the contributors image shows up to 500 people.
2026-11-05 19:13:29 -05:00
Jinwoo Hong 611feba7cc fix(terminal): press Enter once the composer shows the pasted prompt (#38401)
Press Enter once the composer shows exactly the pasted prompt, instead of waiting for a quiet screen that background work never gives.
2026-11-05 19:13:10 -05:00
Jinwoo Hong 0fe7a0beed fix(orchestration): hold mail behind a draft typed into OpenCode (#38451)
Hold orchestration mail behind a draft typed into an OpenCode composer (1.x and 2.x).
2026-11-05 19:09:51 -05:00
Jinwoo Hong 4fd7aea9d5 Keep a nested server workspace nested after the desktop restarts (#38378)
* fix(worktrees): let the first listing replace a restored server workspace stub

A restored active server workspace starts as a session stub with no head.
If git status fills in its branch before the first listing lands, the
listing merge took that as a concurrent branch switch and kept the stub,
dropping the catalog row (instance id, lineage, provenance). The workspace
then showed standalone until the next listing.

* fix(worktrees): accept a headless row's listing only when it confirms git status

A stale listing could otherwise roll back a branch switch git status saw on
an empty-head row (e.g. an SSH fallback row) during the first connected listing.
2026-11-05 19:05:24 -05:00
Brennan Bensonandyu.xia 369e23b084 fix(git): keep the agent-terminal credential guard scalar-only so env scrubs can't break git (#38716)
* fix(git): keep the agent-terminal credential guard scalar-only so env scrubs can't break git

Agents that scrub env names matching KEY/TOKEN/... (DeepSeek Harness) dropped
GIT_CONFIG_KEY_n but kept GIT_CONFIG_COUNT, so every git command in those
terminals failed with "missing config key GIT_CONFIG_KEY_0". GCM_INTERACTIVE
already carries credential.interactive and suppresses GCM's GUI, so the guard
now emits only scalar variables. Tracked in #26594.

Co-authored-by: yu.xia <yuxianice@163.com>

* chore(git): drop stale indexed-config comments and a dead WSL forward branch

---------

Co-authored-by: yu.xia <yuxianice@163.com>
2026-11-05 16:04:25 -08:00
OrcaWinandOrcaWin 27b1ed858c test: remove 184 low-value mobile, CLI and ACP tests (#38733)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-05 16:02:19 -08:00
NeilandPr1p 925cc80507 fix(orcad): only evict real version slots from the artifact cache, so the shared Node runtime survives upgrades (#38717)
* fix(orcad): keep the shared node runtime out of artifact-cache eviction

pruneOrcadArtifactCache treated every non-dot entry under a target
directory as a version slot, including runtimes/ — the Node runtime the
slots share across Orca versions. When an upgrade introduced a third
build, runtimes/ was usually the oldest entry by mtime and was removed,
after which orcad could not start (#38181). Skip the reserved directory.

* docs(orcad): document what the artifact prune keeps and what it must not evict

* fix(orcad): only evict names that parse as artifact version slots

Retention now shares the slot-name grammar with the materializer, so
runtimes/, staging dirs and any future sibling under a target are never
counted as a version slot. Installs that already lost runtimes/ re-place
the pinned Node on the next orca serve start.

Fixes #38181

---------

Co-authored-by: Pr1p <zwq19980411@gmail.com>
2026-11-05 15:57:37 -08:00
Neil 8f490f2fcd fix(browser): attach the desktop browser bridge to environment recipe SSH hosts (#38722)
* fix(browser): attach the desktop browser bridge to environment recipe SSH hosts

Recipe workspaces connect runtime-owned SSH targets that serve a managed
Orca server, but the bridge picked candidates from the SSH settings list,
which hides runtime-owned targets, and browser routing refused them too.
Pick bridge candidates from the managed-orcad claims, validate route
partitions by registration, and route deployment hosts whoever owns them.

Fixes #38603

Reported-by: Mehul K (@mek97)

* fix(browser): follow recipe host connections for the bridge and page routes

Owned SSH targets returned before the bridge rechecked, so a recipe host
connecting never attached it, and recipe browser panes had no published
SSH state to wait on. Recheck the bridge on every SSH state change, and
read a recipe target's connection from its server's state.

Fixes #38603

* fix(browser): settle a recipe browser route when its server is unreachable

Only a live dial waits; lost or never-made contact now lets the route
card offer Retry and browsing from this device.

Fixes #38603

* test: annotate hoisted fixtures instead of casting

Fixes #38603
2026-11-05 15:55:01 -08:00
OrcaWinandOrcaWin 5bc786c1a7 test: remove 133 low-value workflow, mobile and CLI tests (#38725)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-05 15:52:52 -08:00
Kelvin Amoaba 3dd9a49e93 fix(mobile): stop asking to update a current desktop when it can't be reached (#38242) 2026-11-05 23:49:21 +00:00
Kelvin Amoaba 9b2427b958 fix(mobile): say why an agent set to Chat opened as a terminal (#38696)
* fix(mobile): say why a chat launch started a terminal instead

When the host falls back to a terminal for an agent the user set to Chat
(for example Antigravity without its chat runtime installed), show the
host's reason in the launch toast instead of opening a CLI silently.

* fix(mobile): skip the fallback notice for agents that have no chat

* fix(mobile): keep the launch notice toast up long enough to read

* refactor(agent-launch): own the chat-fallback rule in the launch contract
2026-11-05 23:48:01 +00:00
OrcaWinandOrcaWin 4001dc9edf test: remove 112 low-value static-gate and runtime tests (#38723)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-05 15:42:24 -08:00
Neil 0f18e8a40c fix(browser): pin the workspace host for browser downloads into a server workspace (#38721)
The server-side download transfer store wrote through the runtime file
mutations without a host expectation, so every write was refused as
coming from an outdated client. Each transfer now captures the
workspace's host as it prepares the download directory, and passes that
expectation on every later mutation, so a host that moves mid-transfer
refuses the rest.

Fixes #38122
2026-11-05 15:42:22 -08:00
OrcaWinandOrcaWin b47835025b test: remove 166 low-value prebuild and release tests (#38712)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-05 15:27:06 -08:00
Brennan Benson 28f0d162c7 fix(chat): repair account setup and recover startup retries (#38389)
Prepare a missing owned Claude account home through its existing setup owner and retain useful startup failure guidance. Keep uncertain opening messages in their original chat for explicit Retry, accept exact late proof without duplicate messages, and persist one aggregate launch snapshot before notifying listeners.

Verified with independent code and performance review, Claude/Codex runtime recovery and upgrade QA, targeted renderer and persistence contracts, and required CI. Tracked in STA-13879.
2026-11-05 15:25:52 -08:00
Neil 71d4e9be16 fix(ai-vault-search): let a paired desktop resume session search hits (#38707)
A paired desktop (client kind 'runtime') was classified with phones as an
untrusted relay caller, so the host stripped resumeCommand and filePath
from search hits and the desktop stripped them again on receipt. The same
pairing already returns those fields from the session list, so Resume in
New Tab worked from the list but was disabled for the same search hit.

Classify by client kind once: phones keep the redacted view, paired
desktops get the same fields the session list gives them.

Fixes #38555
Reported by @ArtemMakaryev
2026-11-05 15:16:36 -08:00
b6de60ad0f fix(daemon): a main-process freeze no longer tears down the terminal daemon link (#38695)
* fix(daemon): a main-process freeze no longer tears down the terminal daemon link

On a Windows host where starting a process blocks for seconds, main spends most of its time
frozen inside synchronous spawns (git, mostly). After such a freeze Node runs due timers before
the socket completions that arrived meanwhile, so the 5 s write-settlement deadline expired ahead
of a write the daemon had already taken, and main tore the daemon connection down as dead. Every
session on that daemon then refused input until re-attached, and the reconnect's hello and connect
deadlines failed the same way. Only acknowledged input waits on that settlement, which is what a
paired desktop sends: its keystrokes were refused in a loop while phone and local typing went
through.

The settlement, hello and connect deadlines now count only the time the event loop could run: a
freeze is credited as a single tick, and a tick that ran late never expires a deadline itself, so
the I/O phase runs first. A daemon that stops answering while main runs is still condemned after
the same timeout.

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

* fix(daemon): freeze-tolerant connection-attempt and RPC deadlines

---------

Co-authored-by: registered2nd <39094401+registered2nd@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 15:14:31 -08:00
NeilandFede654 701098aebe fix(runtime): date title-only agent status at the PTY status transition (#38706)
* fix(runtime): stamp title-only agent status at the PTY status transition

Program activity moves a PTY's agent status without a new title, so a
title-only frame dated by the title clock alone could sort behind the
working row a paired client already holds. The client then dropped the
done as stale and kept the spinner. Title-only frames and shell-title
demotions now carry the later of the title time and the status
transition time.

Fixes #25136

Co-authored-by: Fede654 <buzondefede@gmail.com>

* fix(runtime): stamp the no-hook title fallback at the PTY status transition

The builder's fallback for a pane with no live hook dated its title-only
frame by the title clock alone, so it could sort behind a title-only
working the renew path had stamped at the status transition.

Fixes #25136

Co-authored-by: Fede654 <buzondefede@gmail.com>

* fix(runtime): never date a shell-title demotion behind the status it replaces

Fixes #25136

Co-authored-by: Fede654 <buzondefede@gmail.com>

* test(runtime): keep the title-only stamp tests beside the mobile status projection

---------

Co-authored-by: Fede654 <buzondefede@gmail.com>
2026-11-05 15:12:28 -08:00
6ead0dfb02 fix(runtime): re-attach every terminal a daemon reconnect detached (#38704)
* fix(remote): re-attach terminals a daemon reconnect detached, for remote views and input

When the host's main process loses and re-makes its daemon connection, the daemon drops main's
attachments and the adapter refuses input to every session until it is attached again. Only a pane
mounted in the host's own window re-attaches by itself; a session with no pane there stays silent
and refuses every keystroke from a paired desktop, a phone or `orca terminal send`, while
`terminal list` still calls it connected and writable. A client remount or restart did not help:
its new subscription never re-attached the session.

Main now notes each session the provider's endpoint loss names, re-attaches it once a remote view
shows it (at the loss or when a view subscribes later), and holds input for it until that attach
lands instead of refusing it.

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

* fix(runtime): main re-attaches every session an endpoint loss detached

* fix(runtime): held input honours cancellation and the session it was sent to

Fixes #38433

---------

Co-authored-by: registered2nd <39094401+registered2nd@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 15:10:11 -08:00
OrcaWinandOrcaWin 2cde082d8f test: remove 269 low-value workflow, build and native tests (#38694)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-05 15:07:56 -08:00
Kelvin Amoaba 69892601e2 feat(mobile): rewind a chat to an earlier message (#38344)
* feat(mobile): rewind a chat to an earlier message

Bring desktop's "Rewind to here" to phone chats. The rewind flow moves
into a shared React-injected hook so desktop and mobile share one set of
rules; desktop behaviour is unchanged. The host now lets phones call
agentSession.rewind behind agent-session.rewind.phone.v1, so a phone on
an older host offers nothing it would be refused.

* feat(mobile): put the message time first, then copy and rewind together
2026-11-05 23:06:47 +00:00
NeilandPr1p 4bd2f17e05 fix(managed-server): drop a stale update deferral once the host's activation moves (#38700)
* fix(managed-server): drop a cached update deferral once the host's active build moves

Status reads the host record every time but kept a local deferral until the
host's active version compared equal to or newer than the candidate. Two
builds of the same release differ only by content hash, which compareAppVersions
cannot order, so after the host moved the deferral could stay for days and
the UI kept reporting a pending update that described nothing.

Record the host's active version with the deferral; any change clears it.
This addresses the stale-cache part of the issue; the interrupted-transaction
retry and the supervised-update workflow are separate.

Refs #38400

* fix(managed-server): key a deferral to the host's activation, not just its version

A host that moves to another build and back between two status reads keeps
its version but gets a new activatedAt; the deferral it recorded no longer
describes that host. Compare active and activatedAt, the record identity the
activation code already uses for the same question.

Refs #38400

* fix(managed-server): drop a deferral whose candidate the host already runs

Refs #38400

---------

Co-authored-by: Pr1p <zwq19980411@gmail.com>
2026-11-05 15:05:14 -08:00
Kelvin Amoaba 3cefb66c96 fix(mobile): send committed IME text to the terminal at commit time (#38699)
* fix(mobile): send committed IME text to the terminal at commit time

WebKit fires no input event after compositionend, so the live input
mirror kept holding committed Japanese text until the next key. Re-run
the mirror with composition ended when the field reports compositionend.

* docs(mobile): say compositionend is the commit signal on every engine
2026-11-05 22:54:05 +00:00
Kelvin AmoabaandNarry 1dd6a866f2 feat(omp): ask multiple-choice and batched questions in chat view (#38684)
* feat(omp): show OMP's ask questions in chat

Orca's ACP client never advertised form elicitation, so OMP started in
the chat view left out its ask tool and extension dialogs. The OMP
dialect now advertises forms and maps each elicitation onto the
existing question card: multi-question tabs, multi-select and Other.
PI_NO_PTY keeps `pty: true` bash from opening a TUI overlay ACP can't draw.

Co-authored-by: Narry <3047793+NarryG@users.noreply.github.com>

* fix(omp): tell OMP which ask questions past the fourth were never shown

* test(omp): assert behaviour, not note copy, in ask form tests

* fix(omp): let older clients answer single-question OMP forms

* refactor(acp): answer form elicitations in the generic request path

---------

Co-authored-by: Narry <3047793+NarryG@users.noreply.github.com>
2026-11-05 22:53:09 +00:00
Neil 791bbfbfde fix(remote-runtime): retire a shared-control socket that opens but never becomes ready (#38690)
The shared-control connection now bounds OPEN to ready with a 30s deadline
owned by its readiness timer. When it elapses, the generation closes with a
ready_timeout cause and reconnects through the existing backoff, which only
resets after 30s of stable readiness, so a slow host cannot cause a storm.

Fixes #37330
2026-11-05 14:49:54 -08:00
Kelvin Amoaba 63c874558e fix(native-chat): list OpenCode's own and custom slash commands as soon as the chat opens (#38698)
* fix(native-chat): list OpenCode 2 commands before the chat's first message

OpenCode chats had no at-rest command catalog, so the / menu showed only
Orca's own commands until the first prompt started the agent. Widen the
ACP at-rest catalog to every agent that lists models in a chat-folder
session: OpenCode 2.x opens a throwaway session in the chat's folder,
reads its available_commands_update and deletes it, as the 2.x model
probe already does. OpenCode 1.x cannot delete sessions and is skipped
without spawning.

* test: drop a no-op OpenCode launch-args assertion

* refactor(acp): share the release listing rule and session-delete policy with the model probe
2026-11-05 22:48:30 +00:00
Kelvin Amoaba 7ae45fb656 fix(terminal): ask before closing a tab when Orca can't tell if an agent is running (#38697) 2026-11-05 22:44:53 +00:00
Kelvin Amoaba c884428609 feat(mobile): copy, save and share an image from the full-screen image viewer (#38303)
* feat(mobile): copy, save and share an image from the chat image viewer

* refactor(mobile): pass image viewer actions in so diagrams skip them

* fix(mobile): name the image verb native.image.act and serialize image actions

* fix(mobile): queue image actions per page and skip SVG links

* refactor(mobile): share the cache-folder helper and table the viewer's image actions

* fix(mobile): keep the toast's live region mounted so screen readers hear it

* test(mobile): re-record agent history goldens for the always-mounted toast region

* test(mobile): import the declared routes in the moved routes test
2026-11-05 22:44:36 +00:00
Neil d4a71c7c82 fix(runtime): resume a server's status only after its action replaced the transport (#38532)
An explicit Update, Rollback, Recover or Restart resumed the server's
status before invalidating its transport, so the first probe could ride
the connection about to be dropped. The action now includes its own
invalidation and note clearing, and status resumes after both. A test
also covers the SSH host's Disconnect being lifted for a managed server.

Refs #38347
2026-11-05 14:43:02 -08:00
Kelvin Amoaba ce3fe75891 feat(mobile): set, pause, resume and clear a chat's goal from the phone (#38447)
* feat(mobile): set, pause, resume and clear a chat's goal from the phone

The phone sent /goal to the agent as plain text and showed no goal. It now
has desktop's goal mode (Goal chip, goal placeholder) and a goal strip on the
composer's top edge that expands to Pause/Resume and Clear goal.

The goal logic desktop and mobile share moves to src/shared: the goal report
(journal rows over the options answer), status labels, elapsed format, the
goal-mode pick rule and the goal row filter. agentSession.threadGoal joins the
phone allowlist behind agent-session.thread-goal.phone.v1, so older hosts keep
showing the goal without offering changes.

* fix(mobile): open each new goal's strip collapsed

* fix(mobile): keep goal sends' delivery choice and scope goal locks per chat

* fix(mobile): offer goal changes only when the paired desktop relays them

* test(mobile): pin which goal changes the phone offers per host

* refactor(mobile): reuse the queued box style and keep the goal strip stable per chunk

* fix(mobile): set phone goals through the composer's changeThreadGoal
2026-11-05 22:42:44 +00:00
NeilandClaude 375abec523 fix(github): route PR comment edit/delete through the repo's credential owner (#38691)
Checks sidebar edit/delete of PR conversation comments always used desktop
IPC, so server-owned repos and SSH workspaces behind a paired server edited
and deleted with this computer's GitHub credentials while reads and posts
used the server's. Add one owner-aware client for slug-addressed GitHub
operations and move every slug caller onto it, so ownership is resolved at
the client boundary instead of in each component. An unknown owner now
fails explicitly instead of falling back to desktop credentials, and a
result that lands after the panel moved on no longer touches the list.

Refs STA-13254. Reported by Jinjing.

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-05 14:41:06 -08:00
OrcaWinandOrcaWin d7069dbaa9 test: remove 125 low-value relay and build-script tests (#38692)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-05 14:38:47 -08:00
Brennan Benson 1e5e6df6dc Remove Fork Agent Session from the Chat UI menu (#38646)
* Remove whole-session fork action from chat menus

* test: drop a terminal menu test this change can't fail
2026-11-05 14:38:10 -08:00
NeilandClaude cc91e5d17e fix(new-workspace): restore right-click "Set as default" on the agent picker (#38680)
* fix(new-workspace): restore right-click "Set as default" on the agent picker

The shared agent picker (#35802) replaced the combobox in the new-workspace
composer and dropped the context menu that set the default agent. Wire
defaultAgent/onSetDefault through AgentLaunchPicker so agent rows, the
Blank Terminal row, and the closed field offer it again.

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

* fix(agents): keep the "Set as default" menu open when the mouse moves

The context menu was non-modal, so hovering the agent rows beneath it
moved focus to them and dismissed the menu. Make it modal so focus stays
in the menu until the user picks or dismisses.

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

* fix(agents): keep the row highlighted while its "Set as default" menu is open

Row highlight follows focus, which moves into the context menu. Mark the
trigger with data-context-menu-open and style it like the hovered row.

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

* fix(agents): address review on the Set as default context menu

- Keep the context menu non-modal; prevent focus-outside dismissal instead,
  so combobox callers keep one-click selection and scrolling.
- Drop the field-level context menu: it clobbered the dropdown trigger's
  data-state/data-slot, ignored the disabled gate, and doubled up on long-press.
- Pass onSetDefault through unchanged so memoized rows stay stable.
- Reset the open marker when the menu unmounts while open.
- Stop asserting the CSS-only highlight marker in tests.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-05 14:33:16 -08:00
Neil 520af920c0 fix(pickers): open only one native file picker at a time (STA-14006) (#38688)
Repeated clicks on the native chat composer + (Attach file) button opened
one OS file picker per click because shell:pickAttachments opened a
parentless (modeless) dialog with no in-flight guard. Route all shell:pick*
and repos:pick* handlers through a single-flight wrapper; overlapping
requests resolve as canceled, which every caller treats as a no-op.
2026-11-05 14:31:32 -08:00
Brennan Benson e4d07cf937 Keep prices readable in chat (#38651)
* fix(chat): keep shell paths and prices as written

* Use the common inline dollar rule in chat
2026-11-05 14:28:37 -08:00
Kelvin Amoaba d68dc03582 feat(mobile): Sign in from a signed-out chat, and name the offline host above the composer (#38295)
* feat(mobile): offer Sign in on a signed-out chat via a host terminal login

* feat(mobile): say which host is out in the chat composer, with Reconnect for the desktop link

* refactor(mobile): fit the host outage line beside main's chat changes
2026-11-05 22:27:44 +00:00
Jinwoo Hong 4794651e39 Let workers start their own workers by default (nested worker depth 4) (#38348)
Default nested worker depth to 4; a stored 1 from the old default moves to 4 once, later choices stay. Fixes #24970. Fixes #30141.
2026-11-05 17:24:26 -05:00
OrcaWinandOrcaWin 73e9124399 test: remove 92 low-value relay tests (#38685)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-05 14:23:15 -08:00