Commit Graph
10408 Commits
Author SHA1 Message Date
Brennan Benson 175f10e32b Run local usage services in a supervised backend process (#40792)
* Move local usage services into a supervised backend process

* Own usage recovery and worker retirement lifetimes

* Preserve answered usage data during background refresh

* Run independent usage scans concurrently in the backend

* Limit backend startup paths to the delegated usage service

* Show usage failures through backend recovery

* Include usage failure strings in the English catalog

* Keep usage update details beside refresh failures

* Resolve usage freshness failure from the final producer snapshot

* Retain the forced refresh completion requirement

* Keep managed backend failures out of application crash reports

* Preserve usage recovery boundaries across backend reconnects

* Match the backend RPC cancellation signal in the usage seam proof

* Avoid serializing backend requests before port delivery

* Keep receiving request validation in the boundary schemas

* test: align usage transport coverage with renderer project

* fix: preserve unknown usage state and renderer retirement

* fix(usage): revalidate tracking before scan admission

* fix(usage): retry failed backend startup on demand

* test(usage): isolate stale backend ownership checks
2026-11-11 16:39:52 -08:00
Brennan Bensonand정의현 f72aaab904 fix(pr-page): let the Start workspace button grow to fit its label (#40900)
* fix(pr-page): let the Start workspace button grow to fit its label

The pull request header pinned that button to 180px with nowrap, so longer
translations overflowed both edges and the arrow slid under the chevron.
A minimum width keeps the stable size for short labels.

tracked in STA-14595

Co-authored-by: 정의현 <rabbitdy0101@lemong.ai>

* fix(pr-page): wrap the header when the workspace button no longer fits

A long Start or Resume label grew past a narrow pull request page, the title
collapsed, and the chevron was clipped. The title now keeps a floor so the
actions wrap under it, and the label wraps only when that row is still too
narrow.

tracked in STA-14595

Co-authored-by: 정의현 <rabbitdy0101@lemong.ai>

---------

Co-authored-by: 정의현 <rabbitdy0101@lemong.ai>
2026-11-11 16:21:32 -08:00
Brennan Benson 7a44471331 fix(native-chat): hold an automatic continue until the chat's account has usage again (#40412)
* fix(native-chat): hold an automatic continue until the chat's account has usage again

The automatic continue after a usage limit sent at the cut's reported reset
without looking at the account, so it could send into a still-spent weekly
window. Each sweep pass now attributes the chat's launch account (the host's
launchAccountHome) to Orca's polled reading taken in that same home, and holds
the send until the latest spent window's reset (+15 s). The hold is derived
each pass, never saved, only grows for one cut and account, and waits up to two
minutes for a reading taken since that reset before falling back to the reset
it has. A spent window with no known reset stops the automatic continue for that
cut; on System Default, where Orca can't tell which login a reading saw, a fresh
reading with room releases both. Rows on desktop and phone show the held time
through an optional continueAt; older clients keep the cut's time.

* fix(native-chat): attribute usage holds once per account and retire them with their scope

- C1/X7: launch home resolved once per provider and reading once per (provider, home) per pass; narrow usageReading accessor replaces getState().
- X8: forget() drops the hold; hidden-chat caches are pruned while the setting is off; readState stores nothing for an unattributed chat.
- X3/C3: launch and reading homes compared in canonical form (~, dot segments, async realpath, bounded cache).
- X4/C2: a hold belongs to its scope (canonical home + billing kind) and retires when it changes.
- X2: a launch whose provider has no reading yet asks once and waits within the two-minute window.
- X5: attribution runs before the overdue check, so a restart keeps the account's later reset.
- X6: the launch account is re-attributed right before each send; beforeRun refuses a changed attribution.
- C5: cold chats publish when their continue time moves.
- X1/C4: WSL launches keep the cut's own reset (no hold).

* fix(native-chat): gate held continues on an account scope token and stop reviving stale cuts

- C6: a hold extends only with a spent window that had begun by the cut's reset.
- X6-R2, X10, P1-1: a synchronous account scope token (selection, launch env, reading home and
  provenance) is captured at attribution; send() re-resolves only when it moved, memoized per
  token, and beforeRun compares live and captured tokens. Opening a chat drops only cold-cut caches.
- X11: production tick() test at N=300 and 10N=3000 counts resolver and reader calls.
- X2-R2: the bootstrap wait starts when a pass first sees the due send without a reading.
- X9: canonical homes are resolved once per account per pass; the unbounded-lifetime cache is gone.
- C5-R2: unloaded chats have no status push path, so the cold continueAt publication is removed.

* fix(native-chat): separate continue eligibility from current spending and bind sends to their attribution's sources

- X12: a cut's eligible anchor (its reset, an established hold, or a covering window) takes the
  24 h overdue test; once eligible, every currently spent window holds the send.
- X13/P1-2, X6-R3: the account owner returns attributions with a synchronous source witness
  (settings snapshot identity, cached login-shell capture revision, reading-source identity);
  Claude billing comes from the launch's own env composition. A result whose sources moved while
  it resolved is discarded; send() and beforeRun bind to the attribution's own witness and
  supersede without spending an attempt.
- CI-1: the scope-token type assertion is gone with the token.

* fix(native-chat): keep a covering hold beside spent windows of unknown reset

- X12-R4 / C7: rebuilding the covering anchor skips spent windows whose reset, and so start, is
  unknown; the eligible branch still refuses on them.
- E1-R4: the preparation-change and suspended-attribution race tests run on a Claude chat
  through the real host send, mutation and accepted settlement.

* refactor(native-chat): move the usage-limit continue status into its own wire module

The merge with main put agent-session-wire.ts one line over the 300-line limit.

* fix(native-chat): read the shell capture revision lazily so module mocks without it still load

Tests that main added mock login-shell-environment without the revision accessor, so binding it at module load failed.

* fix(native-chat): release a usage hold on fresh room for any account without stranding the cut

- QA-1: room in a fresh attributed reading newer than the last spent evidence (spentSeenAt)
  releases the hold and clears an unknown reset for every account; the System Default-only
  branch and identityKnown are gone.
- QA-1b: the release pulls heldUntil down to that reading instead of clearing it, and an
  unknown-reset hold anchors on its last evidence, so a release over a day after the cut sends.

* fix(native-chat): release an expired usage hold from its room reading and ask for readings while a reset is unknown

- R6-1 / QA-1b-R6: a release sets heldUntil to the room reading itself, so an expired finite
  hold followed by an unknown reset no longer strands the cut.
- R6-2: the usage poller idles while Orca is unfocused with no viewer, so an unknown reset asks
  for a non-forced reading at most every 10 minutes through the existing refresh.

* fix(native-chat): bound unknown-reset readings per account and honor the failure backoff

- R7-1 / X-R7-1: the rate-limit service owns the automatic-read cadence: a read waits while the
  provider's last reading or admitted automatic read is within the asked interval, so held chats
  on one account cause at most one unknown-reset read per 10 minutes.
- R7-2: automatic reads wait out the poller's failure backoff (shared failureRetryDue) and start
  its clock; forced refreshes are unchanged.

* fix(rate-limits): scope automatic usage-read admission to the selected account

- R8-1 / X-R8-1: an admitted automatic read counts toward the cadence only for the account whose
  reading source the service held then, so a switch never lets one account's read delay another's.
- Prunes the flaky-test-pattern baseline: service-refresh-orchestration no longer reads the wall clock.

* fix(native-chat): keep a usage-reading request retryable until the service starts it, and show the last known reset while one is unknown

* fix(native-chat): show no automatic continue while a chat waits on an unknown reset, since fresh room still releases it

* fix(native-chat): publish no continue time for a cancelled or stopped cut while its account's reset is unknown
2026-11-11 16:18:47 -08:00
OrcaWinandOrcaWin 4509730131 test: remove repeated wiring and suspended orchestration suites (#41302)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-11 16:16:48 -08:00
Kelvin Amoaba b72ef23702 fix(native-chat): refuse a startup card choice when the terminal highlight moved, and add the multi-server MCP card (#41216)
* fix(native-chat): refuse a stale startup-dialog card choice and add a card for the multi-server MCP dialog

* fix(native-chat): drop casts from the startup-dialog guard

* fix(native-chat): refuse a startup card choice until the screen model has applied all received output

* fix(native-chat): refuse a clipped MCP server list and guard restored startup cards

* fix(native-chat): allow one startup card choice per screen so a second client's keys can't hit the next dialog
2026-11-12 00:10:05 +00:00
Neil ee4d4fee4b fix(agent-picker): stop fuzzy-matching Blank Terminal on unrelated agent queries (#41271) 2026-11-11 16:03:10 -08:00
OrcaWinandOrcaWin c2e716dbbb test: remove 17 low-value wrapper and private-state suites (#41292)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-11 15:51:03 -08:00
NeilandFrederic Barthelemy baf113613e fix(editor): preserve literal & < > prose entities when saving rich markdown (#41289)
Keep typed &, <, and > literal in prose text nodes when encoding them as HTML entities cannot change how the Markdown parses, while leaving entity-like sequences, HTML/autolink/blockquote-ambiguous tokens, and code spans intact.

Refs #16469
Refs #20177

Co-authored-by: Frederic Barthelemy <git@fbartho.com>
2026-11-11 15:33:42 -08:00
Neilandlurunzi d19ee7ab99 fix(native-chat): hide sent [Image #N] prompt markers in user messages (#41288)
Structured image sends replace inline composer chips with `[Image #N]` tokens
for the provider prompt, which left sent `[Image #N]` markers visible in user
message bubbles, copied text, rail/outline previews, and row height estimates.

Strip in-range `[Image #1..imageCount]` markers across user message display,
copy text, row height estimation, and rail/outline previews while preserving
literal markers past `imageCount`, in quoted file references, or inside inline
backticks and fenced code blocks.

Fixes #32727

Co-authored-by: lurunzi <lurunzi@gmail.com>
2026-11-11 15:33:34 -08:00
NeilandZetao Qi 891995fe9e fix(native-chat): infer interrupt after acknowledged Escape on chat Stop (#41285)
A chat Stop wrote Escape directly to the runtime PTY, bypassing xterm onData so agents that emit no interrupt hook stayed Working in the sidebar. Send Stop's Escape via sendRawVerified and observe plain-escape against the pre-Escape status baseline only after write settlement.

Fixes #31786

Co-authored-by: Zetao Qi <256975935+QZTnb@users.noreply.github.com>
2026-11-11 15:22:07 -08:00
NeilandDavid Garcia f9d545639a fix(ai-vault): show renamed terminal tab title in Session History on matching host (#41281)
Reuse the indexed original-pane target on VaultSessionRow so terminal Session History rows display their open tab's customTitle when getKnownExecutionHostIdForWorktree matches the session host, without defaulting unhydrated or unknown worktrees to local.

Fixes #33661

Co-authored-by: David Garcia <davidgarciab@gmail.com>
2026-11-11 15:12:52 -08:00
Neilandckdwns9121 4533545be3 fix(terminal): restore terminal focus when the context menu closes without taking it (#41274)
Escape or an item that skips refocus unmounts the focused menu onto <body>;
refocus the menu pane then, but leave focus where an outside click put it.

Fixes #21015

Co-authored-by: ckdwns9121 <40492343+ckdwns9121@users.noreply.github.com>
2026-11-11 15:02:12 -08:00
Brennan Benson 7afc2deeeb fix(settings): flatten Worktree hooks into rows inside one card (#40976) 2026-11-11 15:01:36 -08:00
OrcaWinandOrcaWin a9a0e8cd21 test: remove shallow catalog, browser and launch checks (#41258)
* test: remove routine native and catalog suites

* test: remove shallow browser, bridge and CLI checks

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-11 14:44:15 -08:00
Neil 5b2fba165d fix(account): say 'Signed out of Orca' after signing out (#41264)
The toast after signing out of the Orca account read 'Signed out of profile'. Say what you signed out of.
2026-11-11 14:36:01 -08:00
OrcaWinandOrcaWin b1106ba883 test: remove low-value suites, recorder snapshots, and repeated inputs (#41244)
* test: remove weak recorder scenarios and arithmetic suites

* test: remove low-value boundary suites and recorder cases

* test: remove mock suites and trim repetitive boundary inputs

* test: remove shallow provider and browser checks

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-11 14:14:48 -08:00
Neil 3cd9f9981c fix(skills): ignore Claude desktop synced skills in feature install checks (#41257) 2026-11-11 13:53:24 -08:00
Neil a028c2e3c5 fix(terminal): keep word motion only for the US Option layer on B/F/D (#41255) 2026-11-11 13:40:08 -08:00
Wooseong Kim 5b1b6fe056 fix(renderer): preserve spaced and escaped Windows path pastes in rich markdown (#24809) 2026-11-11 13:39:52 -08:00
gum798and서정화 6f6bb326e2 fix(editor): keep review note cards after an edit removes their lines (#18333)
Co-authored-by: 서정화 <seojeonghwa@Mac.mshome.net>
2026-11-11 13:39:45 -08:00
Nawapat Buakoet 04bbfd7a30 fix(workspace): name the GitHub link when it cannot be resolved (#24465) 2026-11-11 13:39:38 -08:00
mousepotato03 b13956330e fix(tab-group): keep a window-drag handle when tabs fill the strip (#33988) 2026-11-11 13:32:03 -08:00
registered2nd 13f6f2a65c fix(terminal): re-arm split escape sequences omitted from reveal snapshots (#34272) 2026-11-11 13:31:56 -08:00
Brennan BensonandRenato Pires ed31974c2d fix: warn before closing a window with a busy native chat (#40953)
* fix: warn before closing a window with a busy chat

Co-authored-by: Renato Pires <contact@raydev.ca>

* test: cover missing chat status and child-only observations

* fix: synchronize the shared close-warning translation keys

---------

Co-authored-by: Renato Pires <contact@raydev.ca>
2026-11-11 13:30:07 -08:00
Brennan Benson aa6b4197b8 fix(chat): keep generated images visible with the final answer (#40935)
* fix(chat): keep generated images with settled answers

* fix(chat): deduplicate images against rendered Markdown

* Keep generated answer previews aligned with rendered Markdown

* Keep generated-image regressions in the existing rendered transcript suite

* Keep generated image renderer fixtures within their project boundary
2026-11-11 13:29:04 -08:00
OrcaWinandOrcaWin ee6b0858cf test: remove automatic reply matrices and weak suites (#41238)
* test: remove automatic reply matrices and low-value suites

* test: remove retired matrix timer exceptions

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-11 13:18:44 -08:00
Brennan Benson 576a6c9342 Update browser navigation state without blocking page attachment (#41045)
* Keep browser chrome metadata current without synchronous guest reads

* Provide the guest Escape subscription in browser pane fixtures

* Provide native navigation state in browser guest fixtures

* Preserve browser navigation and loading across asynchronous metadata reads

* Retire browser metadata when its actual guest is removed

* Explain native identity casts in browser disposal fixtures

* Preserve URL titles for untitled client browser pages

* Preserve current browser navigation and untitled page labels

* Keep merged browser failure type within lint limit

* Keep merged browser failure type within lint limit

* Bound published browser titles to the existing wire limit

* Use template literals in browser title regression
2026-11-11 12:38:19 -08:00
Neil 21c8fdc07f fix(terminal): preserve host focus when CLI splits a parked tab (#41203)
* test(e2e): verify parked split by stable pane identity

* fix(terminal): preserve host focus for CLI splits

* fix(terminal): reveal non-activating splits in the background

* test(e2e): retain parked split focus screenshots in CI

* test(e2e): capture stalled split parking state

* fix(terminal): retain cold split targets during PTY adoption

* test(e2e): persist passing parked split proof files
2026-11-11 12:12:13 -08:00
Kelvin Amoaba 04537aabc6 fix(ai-vault): Session History Hand Off gives OpenCode sessions their full history (#41236)
OpenCode, OpenCode 2 and Z Code keep every conversation in one shared
database, so Session History could only hand off the row's preview
messages. The session's own host now copies that one conversation into
the per-chat hand-off snapshot the chat Hand Off already uses, and the
dialog points the new agent at it. Older hosts, SSH rows and failed
reads keep the preview.
2026-11-11 20:06:53 +00:00
OrcaWinandOrcaWin 6dd068e672 test: remove weak suites and duplicate recorder replays (#41234)
* test: remove weak suites and duplicate recorder replays

* test: satisfy recorder branch lint gate

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-11 12:00:24 -08:00
ed5fce8f7d fix(emulator): keep wheel scrolling moving across simulator screen edges (#40362)
* fix(emulator): keep wheel scrolling moving across simulator screen edges

* test(emulator): keep wheel tests to the behavior contracts

* fix(emulator): drop wheel input when the control socket is closed

Replaying each edge segment through the gesture RPC opened a socket per
segment, could overlap them on one finger, and turned small scrolls into taps.

* fix(emulator): stop wheel playback on rotation and ignore retired control sockets

A replaced socket's late close reset the live socket's connected state and
keyboard timers, cancelling scrolls on the new socket.

---------

Co-authored-by: Kien Le <122910950+kien-ship-it@users.noreply.github.com>
Co-authored-by: Kelvin Amoaba <97001695+AmoabaKelvin@users.noreply.github.com>
2026-11-11 19:38:46 +00:00
OrcaWinandOrcaWin 54912d99dc test: remove 37 low-value cases and five whole suites (#41223)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-11 11:20:35 -08:00
Kelvin Amoaba 3082e4aa2b fix(jcode): keep the Jcode agent row and show its turn on Linux (#41103)
* fix(jcode): keep the agent row for Jcode panes and read its working title

On Linux the Jcode release runs jcode-linux-<arch>.bin behind a jcode wrapper, so
the foreground read never identified the pane, and Jcode's own title
(<emoji> jcode/<server> <Codename> · work ~2s) was not classified. Once Jcode
replaced its startup title, the title-derived row lost its only identity and
disappeared. Map the platform binary to jcode, accept the server-qualified
identity title, and read the work/last tail as working/idle.

* fix(jcode): read the bare title tail only in a Jcode pane

The activity tail on conversation and SSH titles is too generic to prove an
agent, so title-only readers must not treat it as one. Gate it on the pane's
agent, as Hermes markers are, keep identity titles self-describing, narrow the
server segment, and keep the title strip linear.

* fix(jcode): keep the turn tail out of title-only readers

Title-only readers (completion tracking) saw a turn from Jcode's identity title
and then idle when Jcode switched to a conversation title naming another agent.
Read the tail only through the pane-scoped reader, check it before generic
title status in the sidebar row, and stop treating a bare jcode/<dir> as Jcode.

* fix(jcode): escape the title separator so the orcad bundle stays ASCII
2026-11-11 19:12:07 +00:00
Kelvin Amoaba 769bef7930 fix(cursor): list Cursor's CLI models in the Settings default-model picker (#41219) 2026-11-11 19:10:46 +00:00
OrcaWinandOrcaWin d5f6fe17bf test: remove 129 low-value cases and 21 whole suites (#41210)
* test: remove 83 low-value cases and ten whole suites

* test: remove 46 more low-value cases and eleven suites

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-11 11:03:08 -08:00
Brennan Bensonandtemp_final_v5 ac9e854c04 Settings and launch menus list your account models (#40175)
* Share account model lists across Settings and launch menus

Use one surface-aware model policy and demand-driven catalog acquisition for Settings defaults and new-agent menus. Preserve literal saved selections, native invocation boundaries, and older-host listing reads.

Co-authored-by: temp_final_v5 <73724370+qq2144@users.noreply.github.com>

* Keep model menus scoped, responsive, and editable

* Keep model menus stable while host listings refresh

Retain applicable listings through refresh failures, preserve host availability metadata, and distinguish unlearned registration from known absence. Show Settings pending choices without blocking discovery, scope the fallback note to failed demand, and register its translations. Verify the structured phone reader and menu wrapper share the composer policy without changing phone presentation.

Co-authored-by: temp_final_v5 <73724370+qq2144@users.noreply.github.com>

* Keep retired model lists out of reopened menus

Keep completed empty and unknown workspace answers in the shared snapshot cache so successor menu owners cannot seed older account or workspace models. Derive observer state from that cache and remove the duplicate owner retirement guard. Extend the lifecycle regression through last unsubscribe, owner replacement, failed reopen and a fresh replacement answer.

* Preserve catalog answers across scope and owner changes

* Reuse unchanged model catalog projections

* Keep new-chat model placeholders scoped to their own catalog

* Use the launched surface’s model catalog in Settings and launch menus

Select protocol sources before applying the shared model-menu policy. Keep Antigravity CLI and Chat answers independent, route discovery through the actual host/runtime, and clear menu-owned effort only on an explicit model-only replacement.

Co-authored-by: temp_final_v5 <73724370+qq2144@users.noreply.github.com>

* Keep paired launch mock clearing out of hook cleanup

Co-authored-by: temp_final_v5 <73724370+qq2144@users.noreply.github.com>

* Bound catalog invalidation epochs by host and agent

* Keep CLI fallbacks out of terminal choices and suppress unchanged listings

* Acquire terminal catalogs only for consumers of that surface

* Restore setup panel explanations

* Reuse settled CLI catalogs in Settings menus as well

* Discover models in the terminal agent execution runtime

* Exercise catalog demand and retire regression fixture observers

* Use the visible draft rather than its default for CLI demand

* Keep discovery runtime fixture independent of Electron paths

* Share effective terminal execution selection with PTY planners

* Separate workspace inventory resolution from launch preparation

* Use read-only worktree projection for terminal inventory selectors

* Preserve PTY context precedence without redundant default-distro reads

* Declare the read-only selector on the runtime construction boundary

* Add terminal model discovery without changing Git discovery routing

* Revalidate held terminal model lists on demand after ten minutes

* Classify legacy model fallbacks from agent probe metadata

* Repair terminal catalog boundary test harnesses

* Refuse foreign execution owners in terminal model discovery

* Resolve model menu validation failures

* Restore terminal model discovery in the new-tab menu

* Repair model menu CI test boundaries and fixtures

* Restore settings read bound across picker generations

* Keep discovery registration and selected-agent admission reliable

* Assert the terminal discovery response envelope after reopening

* Keep model discovery reads and waits in their own phases

* fix: retain model discovery through demand-owned phase transitions

* fix: ignore obsolete model catalog job completions

* Keep Settings model labels through unchanged settings refreshes

* Show idle Settings model labels before opening discovery

* Trim low-value model menu tests

* Move terminal model discovery to its own branch

* Use host model catalog replies directly

* Keep Settings display scoped to its current source

* Assert the saved model displayed text

* Refresh paired launch defaults on reopen and preserve legacy reads

* Narrow merged Settings rows and type the catalog fixture

---------

Co-authored-by: temp_final_v5 <73724370+qq2144@users.noreply.github.com>
2026-11-11 10:45:28 -08:00
Brennan Benson dc13df6962 Keep Git Graph work bounded during scrolling and paging (#40944)
* Keep Git Graph rendering work scoped to visible and appended rows

* Skip graph primitives outside the visible column

* Keep graph viewport callbacks compatible with renderer compilation

* Keep graph scroll restoration tied to the pane owner

* Use typed DOM lookups in the graph viewport test

* Record Git Graph compiler compatibility improvement

* Correct graph retention fixture cleanup and commit boundaries
2026-11-11 10:42:43 -08:00
Brennan Benson 1aadc32e02 Stop polling contextual-copy hints in idle editors (#40886)
* Refresh the editor copy hint from owner events

* Document the bundled editor event type refinement

* Prune the removed editor hint interval allowance
2026-11-11 10:39:27 -08:00
Brennan Benson f72811d592 Keep Reopen clickable on restored failed browser pages (#41137)
* fix(browser): keep restored page Reopen accessible

* test(browser): distinguish failure Retry from toolbar action
2026-11-11 10:14:14 -08:00
OrcaWinandOrcaWin 9576e55773 test: remove 1,144 low-value declarations (#41177)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-11 09:11:06 -08:00
c9ef81809f test: remove 198 low-value test registrations (#41175)
* test: remove 198 low-value test registrations

* ci: fail over unavailable Ubuntu package mirrors (#41174)

* ci: fail over unavailable Ubuntu package mirrors

* fix(ci): recover package retries across headless jobs

* fix(ci): allow complete fallback package index downloads

* fix(ci): recover dpkg locks and bound WebKit setup retries

* fix(ci): run apt deadlines inside sudo sessions

* fix(ci): invoke installed Playwright without root pnpm

* fix(ci): allow large fallback dependency downloads to finish

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
2026-11-11 16:59:03 +00:00
OrcaWinandOrcaWin 0184d8187d test: remove 98 low-value cases and 17 suites (#41124)
* test: remove 60 low-value cases and orphaned conversion fixtures

* docs(ci): list supported Windows SSH host cells

* test: recognize direct Windows orcad server entry

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-11 06:08:53 -08:00
OrcaWinandOrcaWin 5796c30c97 test: remove 161 low-value cases and 12 suites (#41151)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-11 05:16:06 -08:00
OrcaWinandOrcaWin 3c7d1e1675 test: remove 263 low-value cases across 20 suites (#41144)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-11 04:05:46 -08:00
Jonatas SoaresandNeil 9ee8feaf9d fix(terminal): stop workspace activation from opening a fresh tab per orphaned counter-id PTY (#40950)
* fix(terminal): stop workspace activation from opening a fresh tab per orphaned counter-id PTY

Activation adoption minted a new tab with initialPtyId for every unowned
PTY. For bare local counter ids ("3", "13") main never reattaches by id
alone on a non-attach spawn, so each visit started a fresh shell and the
orphan stayed orphaned, producing another empty tab next time.

Counter-id orphans now still try their recorded pane (the attach-only
path that can reattach them); only the fresh-id createTab fallback is
declined and reported via declinedPtyIds. The all-digit check moves to a
shared isLocalCounterPtyId helper used by main and the renderer.

Fixes #40920

Co-authored-by: Neil <neil@stably.ai>

* test(terminal): pin the clock in the orphan counter PTY adoption test

---------

Co-authored-by: Neil <neil@stably.ai>
2026-11-11 03:34:21 -08:00
Neil e9e77a5962 refactor: organize GitLab and Linear implementation owners (#41130)
* refactor: organize GitLab and Linear implementation owners

* fix: package moved GitLab parser and consolidate owner import
2026-11-11 03:30:03 -08:00
Wooseong KimandNeil 079b5de1ac fix(ai-vault): show the recorded folder workspace on session history chips (#41053)
Session History picked each session's workspace chip by matching cwd, so
when several folder workspaces shared one folder every row showed the
first workspace in the list. Prefer the live (non-archived) workspace
recorded in structuredSession.workspaceId on the session's host, and fall
back to the existing cwd match otherwise.

Fixes #41044

Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
2026-11-11 03:23:58 -08:00
Wooseong KimandNeil da8e4be7cb fix(workspace): focus the active split pane when Cmd+J or the tab switch menu selects a terminal (#41015)
Picking a split terminal tab from Cmd+J or the tab bar's switch menu
focused the first pane, because the picker already held focus and the
tab-wide focus query fell back to the first xterm textarea. Pass the
tab's stored activeLeafId to focusTerminalTabSurface (and to the paired
host activation) so input returns to the pane that was last active.

Co-authored-by: Neil <neil@stably.ai>
2026-11-11 03:13:12 -08:00
Wooseong KimandNeil e93c65f9ed fix(file-explorer): stop waiting to reveal paths the listing never shows (#41047)
The explorer drops node_modules and .git from every listing page, so a
reveal under them waited for a row that never appeared. The request stayed
pending and auto-reveal ignored later editor tabs.

getRevealTarget now cuts the reveal off at the first folder the listing
filter rejects. A nested hidden folder selects the folder that holds it; one
directly under the root clears the request. Hidden folders are never
expanded or read.

Fixes #41039

Co-authored-by: Neil <neil@stably.ai>
2026-11-11 03:07:48 -08:00
Wooseong KimandNeil aff87e9247 fix(sidebar): keep the activity bar position across restarts (#40891)
The right sidebar's Activity Bar Position lived only in renderer state, so
choosing Side reset to Top on the next launch.

Persist it with the other right-sidebar UI fields: PersistedUIState, the
paired-client update schema, the default and startup-fallback UI state, the
renderer write baseline and writer, and hydration. Profiles without the field
stay at Top, and hydration maps any value other than 'side' to 'top' so a
corrupt value cannot hide the activity bar. The ActivityBarPosition type
moves to shared ui-chrome-types so the persisted contract can use it.

Keep the field pairing-local for web clients, like sidebarOpen: older hosts
parse ui.set with a strict schema and would reject the whole update, so the
browser strips it from host writes and pins its own value on ui.get. Desktop
persists it through IPC.

Fixes #40887

Co-authored-by: Neil <neil@stably.ai>
2026-11-11 03:07:14 -08:00