Commit Graph
16027 Commits
Author SHA1 Message Date
Brennan Benson e7fe60ce27 Offer forks on all completed copied replies 2026-11-08 10:11:25 -08:00
Brennan Benson 8b395e6ee5 Offer copied tip forks only at the fork point and name their source 2026-11-08 06:22:27 -08:00
Brennan Benson ddeee1b191 Keep unsent browser forks definitive and offer accurate retry guidance 2026-11-08 05:55:08 -08:00
Brennan Benson 1e777ca1a6 Bind inherited fork actions to the current host runtime 2026-11-08 05:36:57 -08:00
Brennan Benson 473585c4bb Require current host proof for inherited fork offers 2026-11-08 04:44:34 -08:00
Brennan Benson 4559420aa5 Gate inherited tip forks on host original-chat support 2026-11-08 04:28:34 -08:00
Brennan Benson 4ae794a231 Merge origin/main into fork-original-actions 2026-11-08 04:26:45 -08:00
Neilandm4air 2a5a939a0c test: split GitHub and GitLab mocks out of runtime setup.spec to fix main lint (#39837)
* test: split GitHub and GitLab mocks out of runtime setup.spec

setup.spec.ts reached 801 counted lines after #39575, failing the root
oxlint max-lines rule on main. Move the GitHub/hosted-review and GitLab
mock functions and their vi.mock registrations into sibling modules that
setup.spec re-exports, so every consumer keeps the same imports and mocks.

* test: name split runtime mock modules as test harnesses

The module-mocking lint exempts *-test-harness.ts support modules shared by
split suites; the split-out GitHub and GitLab mock modules are exactly that.

---------

Co-authored-by: m4air <m4air@m4airs-MacBook-Air.local>
2026-11-08 04:22:50 -08:00
RoastFriedandNeil ba04481e42 fix(browser): keep native popup minimum content size and first Windows fixture error (#39319)
Native popups now hide the app menu bar like origin-bar popups, so the
Windows menu no longer eats into the 200px minimum content height.

The popup compatibility fixture keeps the first reported error across
later status writes, stops serializing the destroyed Event as an error,
and replaces its status file with the Windows retry helper. The native
resize check now compares against the native outer window size.

Fixes #39299

Co-authored-by: Neil <neil@stably.ai>
2026-11-08 04:01:25 -08:00
OrcaWinandOrcaWin 5fc3b26766 test: remove 712 low-value tests (#39829)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 03:51:04 -08:00
WenhaoandNeil 448aaadde6 fix(antigravity): detect Orca Chat sign-in via antigravity-acp/acp_token.json (#39398)
agy-acp-server 1.4.1 keeps the personal sign-in at
<GEMINI_HOME>/antigravity-acp/acp_token.json; nothing it writes ends in
oauth-token, so a signed-in Chat read as signed out and new chats could
move to the host's ~/.gemini account.

Fixes #39395

Co-authored-by: Neil <neil@stably.ai>
2026-11-08 03:45:48 -08:00
Brennan Benson d857e09615 Git Graph: commit actions (checkout, cherry-pick, revert) (#39069)
Adds commit actions to the Git Graph: check out a commit or branch, cherry-pick, revert, and create a branch from a commit. Conflicts hand off to Source Control with continue and abort. Works on local, WSL and remote hosts.
2026-11-08 03:43:30 -08:00
Brennan Benson 26ed5600d1 Keep fork refusal tests within their typecheck projects 2026-11-08 03:39:36 -08:00
Brennan Benson 3fe350eaed Create a worktree per repository from an empty folder workspace (#39575)
A folder workspace with no worktrees now offers Create worktree for each repository, named after the folder workspace. If that branch name is already taken, the host refuses instead of picking another name, and the composer opens so you can choose.
2026-11-08 03:30:10 -08:00
YohanandNeil 56d9db5042 fix(sidebar): don't wake a sibling Hide sleeping keeps hidden when the active workspace is deleted (#39230)
With Hide sleeping on, deleting the active workspace activated the most
recently visited sibling (or main) and seeded it a terminal, so a hidden
sleeping row popped back into the sidebar. The removal successor now
skips siblings the sleeping sweep hides, using the same check the
sidebar's reveal path uses and honoring rows held through the PTY-rebind
grace window. With no eligible sibling the user lands on the start screen.

Fixes #39231

Co-authored-by: Neil <neil@stably.ai>
2026-11-08 03:29:45 -08:00
luisgonzaleznfandNeil a7d94eb86f fix(settings): line up an agent's launch fields on one type scale (#39199)
Command, Environment and Codex's session source home now use Input's
code variant, so they render at text-xs instead of md:text-sm above
768px. The Arguments label matches its siblings' text-xs style, and the
Arguments wrapper uses py-0.75 so its text is vertically centred.

Co-authored-by: Neil <neil@stably.ai>
2026-11-08 03:29:34 -08:00
Naveen ChatlapalliandNeil 58f17b3af2 fix(bitbucket): document API token scopes in connection setup (#39118)
List the Bitbucket API token scopes Orca needs (read:user, read:repository,
read:pullrequest, write:pullrequest) in the Email & API token form so users
configure a working token up front instead of hitting missing-permission
errors when creating a pull request. Strings are translated in every locale.

Fixes #38652

Co-authored-by: Neil <neil@stably.ai>
2026-11-08 03:24:14 -08:00
Neil b746eef069 fix(shell): keep a user's claude/codex function when the cwd has a matching entry (#39820)
command -v prints a shell function's bare name, so a claude/codex directory
or executable in the cwd passed the -x check and Orca replaced the user's
function. Skip the wrapper when a function with that name is already defined.

STA-13246
2026-11-08 03:23:55 -08:00
NeilandCopilot 40236ab701 Use searchable pickers for long Settings lists (#39815)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-08 03:20:47 -08:00
Neil 00d3e44ba5 fix(agent-hooks): let the last-status throttle apply to routine hook events (#39826)
* fix(agent-hooks): let the last-status throttle apply to routine hook events

Each hook event re-recorded the pane's authority evidence, which bumped the
revision counters behind the "urgent persist" fingerprint even when only
observedAt moved. Every event then skipped the 5s throttle and rewrote
last-status.json. Update the stored evidence without bumping the revision when
the authority itself (launch token, connection, tab, worktree) is unchanged.

* test(agent-hooks): remove timer-racy persistence count assertions
2026-11-08 03:18:10 -08:00
Brennan Benson 8df184460e Keep inherited fork actions with their original chat 2026-11-08 03:08:20 -08:00
Brennan Benson f399a071bb Open a landing instead of a terminal when splitting a Chat UI pane (#39234)
* Open the new-tab landing when splitting a Chat UI pane

Splitting a chat with Cmd+D opened a terminal nobody asked for. The split now
opens an empty pane that shows the home-screen landing (New agent, New
Terminal, New Browser Tab, plus shortcuts); Cmd+W closes it. Chats in the
floating panel and inside terminal tabs keep their terminal split.

* Split landing review fixes: agent launch cancellation, browser policy, labels

- New Agent on the landing cancels like the keyboard shortcut when the user leaves the workspace or host
- Hide New Browser Tab where the creation policy hides it (paired web without streaming)
- Chat split actions read Split Right / Split Down; New Agent gets its own key
- Tour visibility reads the projection's existing group subscriptions

* Show the split landing only in panes a chat split opened

Other flows reserve an empty split group for content they already chose
(remote terminal splits, AI Vault resume, browser and source-control
opens). The landing, its Close collapse and the tour now apply only to
groups the chat split marked, kept in window-only state and dropped when
the group goes away.

* Move split landing marks with their groups on worktree rename

* Keep the rename test's chooser mark out of the cast fixture

* Read the landing's browser policy by workspace; keep Agent in the Japanese label

* Keep the passed split lesson in the agent sessions tour count

* Keep the workspace open on a waiting split landing when its last tab closes

* Keep a waiting split landing when its workspace is reopened; drop its close row when it is the only pane

* Let a waiting split landing satisfy automatic default seeding, not recovery

Restores main's agent-activation inventory gate (a chooser never bypasses
ownership checks). Each automatic default-surface decision (shared seeder,
deferred reseed, startup watcher, paired wake, stream bootstrap) now leaves
a waiting chooser in place, and the paired mirror keeps a marked chooser when
the host reports no tabs. Explicit launches and requested default tabs are
unchanged.

* Fill an emptied paired workspace with its waiting landings, layout and focus together

* Read landing labels through useTranslate for main's render-path ratchet

* Drop the split landing's subtitle
2026-11-08 03:08:20 -08:00
OrcaWinandOrcaWin 88aa9fa82a test: remove 154 low-value tests and redundant relay checkpoints (#39814)
* test: remove 155 low-value tests and two relay checkpoints

* test: retain schema drift protection and remove dead imports

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 03:06:41 -08:00
OrcaWinandOrcaWin de3da487fa test: stop worker-teardown console race from failing unit shards (#39813)
Vitest rejects a console-log RPC still in flight when a worker tears
down, failing a shard whose tests all passed. Ignore only that rejection
(the lost line belongs to a finished file and passed-only shards drop
it anyway), and stop the two specs seen in CI from spawning real git and
wsl.exe in fire-and-forget background work.

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 02:55:36 -08:00
NeilandCopilot b4a522deeb Use Appearance's searchable picker for terminal themes (#39800)
* fix(settings): unify terminal theme pickers

Reuse the Appearance searchable selector and palette swatches while preserving imported-theme actions and independent terminal theme slots.

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

* fix(settings): don't replay a handled theme import after remount

Settings search unmounts the theme row, so the picker remounted with
handledImportSignal=0 and reopened at Imported without a new import.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-08 02:50:22 -08:00
NeilandCopilot fc8dcd65eb Simplify delete workspace dialog (#39801)
* feat(sidebar): simplify delete workspace dialog

Replace the "Don't ask again" checkbox with an "Always delete" option in a
split-button dropdown on the Delete button, matching the force-delete toasts.
Shorten the description and change-loss copy so the dialog reads lighter.

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

* fix(sidebar): keep delete change-loss warning protected and shown when status is unknown

Default Delete forces removal, so restore the permanent-loss notice while a
target's Git status is still checking or unavailable. Mark the dirty-change
hint as protected copy so language packs cannot replace the loss warning.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-08 02:29:48 -08:00
Brennan Benson cf9fa17e04 Keep fork boundary tests aligned with inherited actions 2026-11-08 02:16:19 -08:00
Brennan Benson f4989d0408 Keep inherited fork actions with the original chat 2026-11-08 02:12:47 -08:00
Brennan Benson 7a8c16caa5 Preserve the chat's history when forking (#39168)
* Preserve the chat's history when forking

* Preserve fork receipts and finished conversation history

Save native-copy receipts on the real create path, retain standalone Codex copies and Claude compaction bridges, and omit unfinished helper output. Restore rewind read-error refusals and update the affected provider fixtures.

* Keep fork coverage tied to OpenCode's copied messages

* Preserve the actionable refusal when chat creation stops

* Keep completed helper answers when copying chat history

Follow spawning tools and active helpers to their descendants without making an omitted goal row invalidate a settled helper's independent output. Reuse the public copy-error distinction so private transcript exceptions stay behind the generic create refusal while authored fork errors remain actionable.

* Keep fork history stable with OpenCode 1.x

* Exclude later continuation notices from fork snapshots

* Keep fork continuation notices tied to retained work

* Keep fork catch-up recoverable and preserve copy cancellation

* Keep OpenCode coverage timeouts on the read refusal path
2026-11-08 01:48:11 -08:00
Jinwoo Hong 4fabde28b1 feat(cli): one enclosing-workspace rule, --environment local, copyable addresses, and --parent-environment (#39733)
* feat(cli): one enclosing-workspace rule, --environment local, and copyable workspace addresses

current/active and cwd inference now pick the innermost workspace of either kind (worktree or
folder workspace); at equal depth the caller terminal's own workspace wins, otherwise the choice
is refused as ambiguous. --environment local names this machine's own Orca over an ambient
ORCA_ENVIRONMENT or pairing code. worktree ps/show/current print an environment: line and an
address: line (JSON environment, address, addressUnavailable, parent) that always carries its
--environment, and name a parent's environment only when it is verified.

* test: answer the folder catalog read in agent launch cwd tests

* feat(cli): worktree rm refuses current/active and names the selector to pass

Removal needs an explicit workspace, as git worktree remove needs a path. The refusal runs before
rm decides between a worktree and a folder workspace, and reports what current resolves to now
(one selector, the ambiguous choices, or none) in text and as invalid_argument data.

* fix(cli): keep the remote-environment guidance when rm refuses current

* fix(cli): surface folder-catalog failures for omitted targets; no address for a duplicated folder parent

* fix(cli): surface a worktree-list failure for omitted browser and terminal targets too

* test(cli): folder rm refuses current/active before the folder removal path

* fix(cli): refuse a cwd owner whose folder host can't be derived instead of skipping it

* fix(cli): compare cwd owners by filesystem identity, refuse every equal-path tie, surface worktree-list failures

Paths on the caller's own filesystem compare by realpath (reusing resolveRealPathSync), so /tmp
and /private/tmp aliases find the deeper owner in both the folder prefilter and ranking; other
hosts' paths stay lexical. Equal-depth owners with different repo registrations now refuse without
a caller instead of picking by catalog order. An omitted target no longer swallows worktree.list
method_not_found; only the optional folder reads fall back.

* fix(cli): read the realpath helper from shared so the packaged CLI ships it

* refactor(cli): move the catalog row type and unresolved-owner refusal out of the selection/catalog cycle

* fix(cli): resolve every caller-filesystem workspace path, not only basename matches

A workspace registered through a differently named symlink was skipped by the basename gate.
Containment now realpaths cwd and each row on the caller's own filesystem once per command,
shared by the folder prefilter and ranking; folder hosts are derived first so another host's
paths are never resolved locally.

* test: answer the folder catalog read in the ambiguous orchestration-check caller test

* feat(cli): --parent-environment names where a worktree's parent lives

worktree create and worktree set take --parent-environment <local|saved id|name>
next to --parent-worktree. The parent is resolved in that environment only, and
sent to the child as a verified cross-store ref after the child's cross-machine
capability check. Without the flag, the parent stays in the child's environment;
active/current always mean this machine's own Orca.

Preflight failures happen before any change: environment_not_paired,
environment_unavailable, LINEAGE_PARENT_NOT_FOUND / LINEAGE_PARENT_AMBIGUOUS
naming the searched environment, and incompatible_runtime with data.environment
and data.requires.

* fix(cli): parent lookup errors name and list the environment searched

LINEAGE_PARENT_AMBIGUOUS and LINEAGE_PARENT_NOT_FOUND now always carry
data.environment and a listing command for the environment the parent was
looked up in, for parents in another environment and in the child's own. Steps
inherited from the runtime listed the caller's default route instead.

* docs(cli): a local address names the Orca that printed it
2026-11-08 04:08:07 -05:00
OrcaWinandOrcaWin 0da741a22f test: remove 988 low-value tests (#39797)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 00:42:37 -08:00
Jinjing 9a1c3a362d more accurate chat ui invocation count (#39784)
* rm doc

* wip

* wip

* wip

* wip

* wip

* Handle opening message receipt collisions
2026-11-08 00:40:56 -08:00
Jinjing c60bd0f2a3 fix: align sidebar activity badge with visible agents (#39783)
* fix: align sidebar activity badge with visible agents

* fix: retain activity focus read ratchet entries
2026-11-08 00:22:21 -08:00
Jinjing 5e496520c5 Allow interleaving projects and groups in the sidebar (#39768)
* Allow interleaving projects and groups in sidebar

* Fix drag refs during render
2026-11-08 00:16:23 -08:00
NeilandCopilot 178a9f27bd fix(new-workspace): keep project list closed when Add project dialog lazy-loads (#39764)
The Add project dialog focused Browse in a mount effect before its focus
trap registered, so the composer trap bounced focus back to the Project
field, which reopened the project list on top of the new dialog.

Focus Browse from the dialog's onOpenAutoFocus instead, and close the
project list when focus leaves the field and its popup.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-08 00:09:44 -08:00
OrcaWinandOrcaWin ee6506714e test: remove 244 low-value tests (#39781)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-08 00:06:49 -08:00
Jinwoo Hong 14492c79cd fix(runtime): keep the output of a worker whose terminal dies during startup (#38475)
* fix(runtime): keep the output of a worker whose PTY dies during startup

A PTY exit frees its recent-output buffer before the readiness failure is formatted, so a launch that killed its terminal reported only terminal_exited. The exit now keeps what the last command printed on the PTY record, and the readiness failure for that exact incarnation reports it like a launch whose shell survived. The start receipt redacts dispatch capabilities from the reason.

Builds on #37866 by @gsxdsm.

* fix(runtime): bind saved exit output to its incarnation and survive a repeated exit

* fix(runtime): redact secrets from a failed worker start's reason
2026-11-08 03:03:33 -05:00
OrcaWinandOrcaWin d058920e15 test: remove 357 low-value tests (#39743)
* test: remove 362 low-value tests

* test: retain five boundary regression cases

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-07 23:40:13 -08:00
Jinjing e55b23c10e Prevent hover previews from interfering with context menus (#39757)
Keep workspace renames and input focus intact while dismissing hover
cards and help popovers on pointer or context menu interactions.
2026-11-07 23:37:21 -08:00
Jinwoo Hong 0d5a07fd0a fix(orchestration): report an idle worker once per coordinator message (#38484)
* fix(orchestration): report an idle worker once per coordinator message

A worker that ends turn after turn without worker_done (one that wakes on its own schedule, or one the user talks to) raised a HIGH escalation every turn. An idle finish now answers the coordinator's latest mail to the Dispatch, so it is reported once per mail; errors, prompts and exits still report every time.

Fixes the problem reported in #37868 by @gsxdsm, without a new worker command.

* fix(orchestration): key an idle report by mail that reached the worker, and make relay repeats a no-op

* fix(orchestration): key an idle report by coordinator mail the worker consumed

Delivery stamps can land before a chat admits the mail, and a bounded scan can miss the watermark; read mail is what a later turn answers. Helper reports into the same mailbox do not count.

* fix(orchestration): count consumed coordinator mail so out-of-order reads still re-arm the report

* fix(orchestration): leave heartbeats out of the consumed-mail key

* fix(orchestration): tell coordinator mail from helper reports by sender, not type

The consumed-mail key had its own type list, so a settled helper's status mail could still re-arm the idle report. A message counts unless its sender is one of the worker's own helpers, using the existing creator and assignee relationship.

* fix(orchestration): match a helper by its pane too, and only for mail it sent while helping

* fix(orchestration): leave any working peer's mail out of the consumed-mail key

A worker's own heartbeats and a sibling's broadcast also land in its mailbox. Mail from any worker of the Run sent while its Dispatch was open does not count, except the creator Dispatch that coordinates this one.

* fix(orchestration): count a peer's mail as a worker's only while its Dispatch was open
2026-11-08 02:30:03 -05:00
Jinwoo Hong 9f140c62b0 fix(terminal): see a prompt's turn start while child work keeps the agent busy (#38394)
* fix(terminal): see a prompt's turn start while child work keeps the agent busy

A Claude Code agent sitting at its prompt with background agents or shells
running reports working, held open by that child work. A prompt sent with
terminal send then started a turn without moving the row's state clock, so
the receipt never saw turn_started and warned the Enter may have been
swallowed, even when the prompt was submitted and answered.

Submission observation now reads the main agent's own turn start. The
receipt warning says the start was not seen yet rather than implying a
swallowed Enter, and terminal send --help describes --wait-submit and
--retry-request.

* test(terminal): type the child-work test's main-agent row instead of casting it
2026-11-08 02:27:37 -05:00
Jinjing ec07019a12 Use Ctrl+K for search on Windows and Linux (#39767)
* Use Ctrl+K for search on Linux and Windows

Preserve existing search and terminal clear shortcuts for legacy profiles until reset.

* Preserve existing Windows and Linux search shortcuts on rollout

* Preserve saved shortcuts in new profiles

* Keep window shortcut tests independent of defaults
2026-11-07 23:16:47 -08:00
Neil 4e66fb5510 fix(terminal): stop recovery snapshots from piling up on slow links; let opt-in pacing engage under floods (#39765)
* fix(terminal): send one ACK overflow recovery image per drained window

Recovery snapshots bypass ACK windows, so on a link slower than a flooding
TUI each ACK while overflowed published another full-screen image behind
the queued window. Measured through real orcad over a 1 Mbit/s shaped link
this queued images without bound: keystroke echo grew from 22s to 50s over
a 45s flood and the pane took 51s to settle. Holding the next image until
the output sent ahead of the previous one is acknowledged bounds that
queue to the window plus one image (echo <= 18s, settle 7s, 10x fewer
snapshot bytes). Server-only; no protocol change.

* fix(terminal): let adaptive ACK pacing engage under overflowing TUI floods

Through real orcad on a shaped 1 Mbit/s link, ORCA_TERMINAL_ADAPTIVE_ACK_WINDOW=1
never paced a 60fps full-screen TUI: once its queue overflowed, recovery
images cleared the queue, so later sends counted as idle trickle and the
estimate never collected window-limited samples. When it did, the images
(never acked) inflated paced RTT and tripped the divergence fallback.

- A stream whose output outran the window stays backlogged until an ACK
  finds its queue empty, so sends after a recovery still measure the link.
- The estimate records recovery images: they count as queue ahead of later
  sends (no drained/paced samples behind them) and as delivered bytes once
  an ACK of a later send confirms them.

Shaped-link soak (1 Mbit/s, 50ms): echo p50 13s -> 2.2s, settle 7s -> 1.1s.
Bench gains a 6.4 MB/s TUI scenario: paced 7.7s -> 1.2s.
2026-11-07 23:02:27 -08:00
Neil 83f8e6340d refactor(shared): organize file operations and storage owners (#39746) 2026-11-07 22:58:35 -08:00
Kelvin Amoaba 82c3c05a70 perf(mobile): switch back to a terminal without rebuilding it (#39705)
* perf(mobile): switch back to a terminal without rebuilding it

* fix(mobile): keep resume positions across terminal handle swaps

* fix(mobile): snapshot a cleared, reloaded or errored terminal instead of resuming it

* fix(mobile): cancel only resumable streams on a dropped connection and forget positions on a text-size change

* test(mobile): give the startup recording its catch-up read

* test(mobile): give terminal webview harnesses the resume state

* fix(runtime): end resume for a stream that saw its coverage reset while live
2026-11-08 06:54:46 +00:00
Jinjing cdc0f0306b Focus session search when switching sidebar tabs (#39763) 2026-11-07 22:54:20 -08:00
OrcaWinandOrcaWin 79c05e3f14 refactor(i18n): read AgentLaunchSetupPanel's copy from useTranslate (#39761)
The batch skipped it because the rewrite would cross the line budget;
with the panel's current shape the converted file fits, so convert it
in place with no split.

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-07 22:50:03 -08:00
Jinwoo HongandSeiya Iwaoka 291d584903 fix(cli): refuse ambiguous orchestration check callers (#38460)
Co-authored-by: Seiya Iwaoka <272756172+seiyaiwaoka-CR@users.noreply.github.com>
2026-11-07 22:43:36 -08:00
Kelvin Amoaba 81c97bb124 perf(runtime): push worktree row changes; host list poll becomes a 10 s backstop (#39688)
* perf(runtime): push worktree row changes; host list poll becomes a 10 s backstop

* fix(runtime): announce title-only agent status changes and gate the rows capability with the switch

* fix(mobile): keep event reads a floor apart while a read is out; announce a retired title clear

* test(runtime): assert the rows notice without counting events
2026-11-08 06:42:18 +00:00
Brennan Benson 104d01b686 Simplify the new-tab agent launch menu (#39279)
* feat(agent-launch): simplify the new-tab agent launch menu

Drop Permissions and Arguments from the launch-mode setup panel; they are
agent defaults edited in Agent settings. Put effort levels (unlabeled) and
Fast mode on one row, and make the Launch chat/terminal buttons fill the
row at a larger size with icons. Select-mode pickers (automations, new
workspace, source control, continuation) keep both controls.

* fix(agent-launch): let current Agent settings win over launch-menu speed edits

A Fast or speed-tier edit copies the current Permissions and Arguments into the
launch draft. With no Arguments editor in the launch menu, a later settings
change was silently ignored. Launch drafts now drop Arguments stamped by older
settings; the speed choice still applies. Also stop pointing hosts without a
model list at the removed Arguments editor.

* fix(agent-launch): show Fast as a button in the launch menu

Matches the mock: an outlined Fast chip with the lightning icon in place of the
"Fast mode" switch. The chat composer keeps its switch.
2026-11-07 22:37:41 -08:00