Commit Graph
21870 Commits
Author SHA1 Message Date
Brennan BensonandClaude Opus 5.5 4ecea0a693 fix(native-chat): resend a subscriber's snapshot when its capture was abandoned (#43020)
* fix(agent-session): resend a chat's first snapshot when its capture is abandoned

A subscriber opened without a cursor gets a snapshot first. When live
authority moved during that read (a hand-off finishing, a start going
live), the capture was abandoned and the following delivery sent batches
from sequence 0 instead, so the client never received the conversation
and stayed empty. The subscriber now owes that snapshot until one is
emitted, and the next delivery sends it.

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

* test(native-chat): pin the owed snapshot after an abandoned capture

The opening snapshot's authority changes mid-read, so its capture is
abandoned; the next delivery must send that snapshot before any other
frame. Without the owed-snapshot check the client's first frame is a reset.

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

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-16 10:24:19 -08:00
buf0-bot[bot] 83714e8863 Update README downloads badge (#43208)
Co-authored-by: buf0-bot[bot] <252831055+buf0-bot[bot]@users.noreply.github.com>
2026-11-16 18:23:47 +00:00
Brennan BensonandClaude Opus 5.5 9e685dc8a6 fix(native-chat): an upgrade no longer reopens closed chats or copies unchanged ones (#43007)
* test(native-chat): a chat store from before revisions were kept keeps its tabs on upgrade

* fix(native-chat): an upgrade no longer reopens closed chats or copies unchanged ones

A chat store copied by a build from before revisions were kept reopened every
closed chat and copied every converted one on its first launch after #42783,
with nothing written by an older Orca.

- The original's receipt is compared by meaning: a receipt saved before WAL
  identity was kept matches on the fields it has, so the newer shape alone is
  no write.
- A chat with no revision here takes what this file shows as its baseline. A
  converted chat is kept as a copy only when the original holds an item it
  never saw; one not converted yet converts from the current original. Only a
  chat this file doesn't know joins, and only when the original changed.
- So only a chat an older Orca started or positively continued gets a tab;
  every other chat keeps its open or closed state.

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

* fix(native-chat): tell a continued chat by its restored history, not raw rows

An older Orca saves a chat's turns as outcome records, and a rewind can retire
an alias, so a converted chat's raw journal rows are not what it shows. With no
revision to compare, a converted chat is now kept as a copy only when its
restored history, as conversion reads it, has an item the chat here never
held; nothing depends on save timestamps. An original whose identity can't be
certified records its baselines instead of rereading every launch.

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

* fix(native-chat): an original as copied takes every chat as shown

With no write since the copy, a converted chat this store moved on can't be
mistaken for one an older Orca continued, and the pass restores nothing. The
test of a store from before revisions were kept now checks that its copy saw
the original's WAL, as in the reported profile.

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

* fix(native-chat): keep deleted empty chats deleted and finish a partial pass

- On a store copied before revisions were kept, every chat with history was
  cataloged at the copy, so only one with history is new when this store
  doesn't know it; a deleted chat with no history stays deleted.
- A converted chat counts as continued also when the older Orca revised an
  item past the revision it holds.
- A pass where one chat failed still records the baselines it read, so only
  that chat is retried next launch.

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

* fix(native-chat): decide unknown chats by the copy's catalog alone

A chat with history always has a catalog row from the copy and one without
history has no revision, so the record lookup added nothing. The downgrade
test's original records its tab index, as every older Orca that saves tabs
does.

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

* style: format

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

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-16 10:11:30 -08:00
Brennan Benson ef36e6c1ca Remote sender updates rejoin only their host and notify only the cards they move (#43112)
* Remote sender updates rejoin only their host and notify only the cards they move

With paired hosts, every remote agent-sender scope update rebuilt the window's whole sender index, including every unchanged local row, and every mounted sender label re-ran its store selectors on every store write; the sender-locations channel told every card to re-resolve.

The index is now partitioned: each publication is joined to this window's panes once (per alias change), each host's part is rebuilt only when that host's scopes change, and a sender's answer is resolved on demand from the host parts, with the cross-host principal/attachment joins and the pane-owner collision check read through reverse pane maps. A publication update notifies only the subscribed sender channels whose answer it moved; tab, owner, handle and publishing-host changes still notify every card. The label reads through the same leased selector as the avatar and link.

Resolution is unchanged: an equivalence test checks every sender against the old whole-window rebuild over random local and remote scope updates, cross-host joins, ambiguity and aliased chats.

* Build the sender label's selector outside render

* Type the equivalence test's hosts without the moved execution-host module
2026-11-16 10:10:14 -08:00
OrcaWinandOrcaWin 52b72b2f56 test: remove source-export mapping tests and empty browser TODOs (#43204)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 10:09:19 -08:00
Vitalii KulishandNeil a5b7b499fa fix(agent-availability): ignore unexpanded ~ PATH entries when checking chat programs (#43185)
Some installers write a literal `~/...` entry to PATH (e.g. the macOS .NET
installer's /etc/paths.d/dotnet-cli-tools). observeChatProgram treated it as
workspace-relative and reported every uninstalled chat program as `unknown`,
so the new-tab menu showed "Couldn't check chat availability" instead of
"Not installed" or the setup chat. execvp/libuv never expand `~`, so bare `~`
and `~/`/`~\` entries no longer force workspace resolution; other relative
entries still yield `unknown`.

Fixes #43184

Co-authored-by: Neil <neil@stably.ai>
2026-11-16 10:02:40 -08:00
OrcaWinandOrcaWin faa9a98b76 test: remove mobile helper suites and duplicate recordings (#43202)
* test: remove mobile helper suites and duplicate recordings

* style: format remaining bot recording coverage entry

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 09:56:22 -08:00
OrcaWinandOrcaWin b091d23dff test: remove low-value mobile projection and permission preset tests (#43199)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 09:45:44 -08:00
OrcaWinandOrcaWin 32e9c4a59c test: remove skill target, port routing and branch helper suites (#43196)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 09:35:32 -08:00
OrcaWinandOrcaWin b0426b563d test: remove low-value suites and repeated cases (#43187)
* test: remove narrow renderer and chat visual examples

* test: retire resource and PR target projection suites

* test: retire isolated renderer adapters and repeated mod lifecycle cases

* test: retire route adapter and skill runtime projection suites

* test: retire Jira board preference helper examples

* test: await queued edit acquisition before Activity switch

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 09:18:41 -08:00
Kelvin Amoaba df23e549d3 fix(native-chat): refresh the /mcp tray when the chat starts or /mcp is run again (#43188)
The tray read the chat's MCP servers once when it opened. Opened while the agent was at rest, it said "Connect when you send your next message" and kept saying it after the agent started, and running /mcp again on the open tray did nothing. The tray now re-reads when the host reports the agent starting or stopping and each time /mcp runs, on desktop and mobile. A read asked for while one is in flight now runs after it instead of being dropped.
2026-11-16 16:55:10 +00:00
Neil 3ae47e0464 refactor: organize workspace composer modules by owner (#43182) 2026-11-16 08:16:39 -08:00
tiantiantianblueandNeil 906d697ba6 fix(mobile): canonicalize runtime host IDs from workspace routes (#43165)
Expo Router decodes query params twice, so a WSL runtime host id such as
runtime:wsl%3Aubuntu-22.04 reached screens as runtime:wsl:ubuntu-22.04 and
never matched the desktop host catalog, leaving the workspace on the
offline screen. Read the route executionHost through a shared
canonicalExecutionHostId that re-encodes runtime and SSH targets, and use
it in the workspace route, notification viewing state, and web page
location readers.

Fixes #43160

Co-authored-by: Neil <neil@stably.ai>
2026-11-16 08:02:16 -08:00
OrcaWinandOrcaWin 8ae7f0292d test: remove sidebar disclosure and narrow divider UI suites (#43138)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 07:57:13 -08:00
NeilandClaude d35be59b4c fix(sidebar): use one chevron convention across the agent tree (#43177)
Child-agent and idle-group disclosures pointed up when expanded while the
agents group header (and other sidebar trees) point down when expanded and
right when collapsed. Rotate the child disclosures the same way.

Fixes #43169

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-16 07:51:58 -08:00
Kelvin AmoabaandMikel Vallejo c7f83f4e19 fix(computer): stop macOS permission status probes from leaking suspended helpers (#43172)
Spawn the status helper directly instead of through LaunchServices, and have it re-exec itself as its own responsible process so TCC still checks the helper's grant. A timeout now stops the probe by PID, so a late LaunchServices launch can no longer leave a suspended helper behind. Startup kills suspended probes left by older builds.

Co-authored-by: Mikel Vallejo <58292517+VallejoM@users.noreply.github.com>
2026-11-16 15:26:25 +00:00
Kelvin Amoaba 1a23722a74 fix(browser): check the Browser Use skill on the host the settings pane shows (#43170) 2026-11-16 15:21:37 +00:00
Kelvin Amoabaandtoodeceptive 98fadae4d8 fix(computer): keep the agent's window id as the target window on Windows (#43162)
The Windows helper checked an agent's --window-id against Process.MainWindowHandle, a z-order guess that moves to a tooltip or another window of the same app. The window id is now the target: a live, visible top-level window of the target process, carried through the tree read, frame, screenshot, raise, keyboard input and the observe after the action.

Co-authored-by: toodeceptive <137078450+toodeceptive@users.noreply.github.com>
2026-11-16 15:17:33 +00:00
Neil 9f96bd57e3 refactor: organize tab and workspace modules by owner (#43167) 2026-11-16 07:17:09 -08:00
Brennan Benson f727d4e5b0 Reuse unchanged jump palette search entries (#43148)
* Reuse unchanged jump palette tab entries

* Preserve palette ordering across skipped status writes

* Apply palette cache lint requirements

* Keep palette cache derivation compatible with static checks

* Restore palette worktree type and memo factory call
2026-11-16 07:01:44 -08:00
Giorgio c7463d05f6 fix(mobile): keep the Start from field above the Android keyboard (#43128)
On Android, React Native reports the keyboard height as the IME inset
minus the system bars, but fill-height bottom drawers sit in an
edge-to-edge window that reaches under the navigation bar. The sheet
therefore stopped one nav-bar height short and the keyboard covered the
Start from field. Add the bottom safe-area inset back for Android fill
sheets, clamping after the sum so a floating IME never lifts the sheet.

Fixes #43127
2026-11-16 06:06:33 -08:00
OrcaWinandOrcaWin e8a497e995 test: remove low-value presentation and shortcut suites (#43134)
* test: remove narrow Markdown and browser presentation coverage

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

---------

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

* test: retire unreachable filesystem rename alarm
2026-11-16 05:32:37 -08:00
OrcaWinandOrcaWin 19af83225a test: remove synthetic mobile context-menu assertion (#43125)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 05:09:23 -08:00
Tauri-EPOandNeil 2bc8fc1ad5 fix(codex-accounts): broadcast Codex account selection changes to windows (#17265)
Selecting, removing, or adding a managed Codex account from the CLI or a
paired phone updated settings without notifying listeners, so the desktop
status bar kept naming the previous account over the new account's usage.
Route every Codex selection write through CodexAccountSelection.saveSettings,
which passes notifyListeners: true, matching the Claude side.

Fixes #43107

Co-authored-by: Neil <neil@stably.ai>
2026-11-16 04:56:13 -08:00
OrcaWinandOrcaWin e6dacc7bf3 test: remove low-value sidebar and page preference suites (#43079)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 04:47:45 -08:00
OrcaWinandOrcaWin 7b724410fa test: remove low-value title editing and drag tests (#43091)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 04:46:03 -08:00
OrcaWinandOrcaWin ab7a9403fd test: remove narrow browser and floating layout suites (#43088)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 04:42:06 -08:00
OrcaWinandOrcaWin 93a3aa2f1a test: remove low-value tests (#43099)
* test: remove low-value notification and display tests

* test: remove update preference and host mute predicate suites

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

* test: remove narrow desktop pane-title forwarding tests

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

* test: remove duplicated tool-pairing adapter tests

* test: remove narrow appearance preference tests

* test: remove turn-status display timing tests

* test: remove visual Activity read-count tests

* test: remove Linear view preference resume tests

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

---------

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

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

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

* fix: retire stale cleanup validation contacts

* refactor: consolidate imports from concrete owners

* refactor: bind new card fixture to profile defaults owner

* style: format rebased concrete host import

* refactor: consolidate project header color owner imports

* fix: load released phone readers after folder moves

* fix: preserve released chat readers and current owner imports
2026-11-16 04:03:33 -08:00
81835f3582 fix(agent-session): end a subscriber's stream when a queued delivery fails (#43043)
A failed queued delivery (catch-up read, frame capture, work projection)
dropped the subscriber without ending its stream, so the client never
resubscribed and the structured chat froze. Route both delivery-failure
paths through one guarded drop-and-end that skips subscribers already
replaced by a same-id successor.

Fixes #43030

Co-authored-by: Neil <neil@stably.ai>
Co-authored-by: Hayden Flinner <14845292+haydenflinner@users.noreply.github.com>
2026-11-16 03:30:51 -08:00
Neil a5398a66cd test(cross-version): accept the moved phone row reader and read SQL-backed releases with their own workers (#43072)
v1.4.260 moved mobile/src/worktree/agent-row-display.ts under agent-lineage/
and was the first release to keep native chats in SQLite behind worker threads.

- Archive both phone row reader locations as optional paths and resolve moved
  modules under mobile/src through releaseModuleLocation().
- Bundle each SQL-backed release's own journal worker/reader entries and mock
  its worker-bundle fixture to point at them; read those releases' chats with
  their own readTestJournalSnapshot instead of journal.snapshot().
2026-11-16 03:10:22 -08:00
Brennan Benson ece3008ad5 Pause hidden chats to speed up switching (#42710)
* refactor: give chat tabs ownership of composer editors

* Retain pasted-text file paths with composer undo history

* Keep composer selection ownership with its editor

* perf: suspend hidden structured chat effects with Activity

* fix: keep pending chat actions independent of view replay

* Preserve hidden chat handoff and pending host actions

* Keep autocomplete ref writes in their owning hook

* Preserve disclosure geometry and pending images across chat reveals

* Use the native Blob implementation for image lifetime coverage

* Retain sent messages while hidden chats await history

* Wait for the held send request before hiding its test pane

* Preserve pending host reconnect state across chat switches

* Reset retained outage state after a hidden host recovery

* Observe retained chat outage transitions through shared host subscriptions

* Start outage observation for initially hidden chats

* Keep chat feedback timers alive across hidden views

* Settle the retained rail while its view ref is disconnected

* Track the rail node lit by the latest wake

* Preserve the lit rail when hidden input has no view node
2026-11-16 02:35:23 -08:00
JinjingandClaude 774b9b1c56 chore(mobile): bump to 0.0.67 and Android versionCode 31 (#43086)
Ships #43080: GitHub installs outside mainland China are steered to Google Play
for updates. Built with Play's automatic protection off, like 0.0.66.

Co-authored-by: Claude <noreply@anthropic.com>
android-v0.0.67
2026-11-16 02:34:21 -08:00
JinjingandClaude 2e71fadda8 feat(mobile): steer GitHub installs outside mainland China to Google Play for updates (#43080)
A sideloaded dev.orca.app now opens the Play listing from its update card, the
Settings update row and the "update required" screen when the device is not in
mainland China (no CN language region and no mainland time zone) and the Play
Store app is installed and enabled. Play updates the install in place because both
carry Google's signing key. Mainland China keeps GitHub, since Play is unreachable.
Play installs and the retired app are unchanged.

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-16 02:29:06 -08:00
JinjingandClaude e7dad53566 docs: lead Android links with Google Play, keep the APK as the fallback (#42973) (#43084)
README, its translations and the mobile docs now send Android readers to the Play
listing first and keep orca.dev/download/android as the APK fallback. The
Simplified Chinese README keeps the APK link only, since Play is unreachable in
mainland China.

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-16 02:29:02 -08:00
Jinjing 7dad69cfc2 Preserve unopened chat statuses during capacity eviction (#43061) 2026-11-16 02:21:03 -08:00
fd8198f001 feat(jira): reorder the Tasks board lanes by dragging their headers (#30597)
* feat(jira): reorder the Tasks board lanes by dragging their headers

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

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

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

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

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

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

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

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

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

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

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

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

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

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Neil <neil@stably.ai>
2026-11-16 02:12:19 -08:00
Brennan BensonandoutworkAnton cbd75eb008 fix(acp): keep saved chats retryable after temporary restore failures (#42981)
* test(acp): cover temporary restore recovery and cancellation

Co-authored-by: outworkAnton <anton.mazurov@reksoft.com>

* fix(acp): preserve saved conversations through temporary restore failures

Share temporary provider-answer classification and bounded abort-aware retries. Isolate each load attempt so partial failed replay cannot enter successful history catch-up.

Co-authored-by: outworkAnton <anton.mazurov@reksoft.com>

* fix(acp): end automatic startup after the restore retry budget

* test(acp): use the advertised resume preference type

* fix(acp): retry temporary moved-session lookup failures within the same flight

---------

Co-authored-by: outworkAnton <anton.mazurov@reksoft.com>
2026-11-16 02:05:16 -08:00
Nikolai ShcheglovandNeil ba1f8f9eb4 fix(browser): open SSH links in Orca when the host browses from this device (#41589)
With "open links in Orca" on and an SSH host's browsing set to "This
device", links from SSH and managed-SSH workspaces (terminal, native chat,
markdown, dashboard preview, app links) skipped Orca's browser and went to
the system browser, even though New Browser Tab already opened a desktop
tab in that workspace.

canOpenRemoteLinkInWorkspaceBrowser now owns the remote-link rule in
lib/browser and passes allowSshDeviceBrowser (only while links open in
Orca) to the SSH route predicates, and executeHttpLink forwards the same
flag to openWorkspaceBrowserTab. Ports, links-in-Orca off, modifier
escapes, paired runtimes, WSL and local links are unchanged. The managed
SSH egress indicator now shows "Browsing from this device".

Fixes #41586

Co-authored-by: Neil <neil@stably.ai>
2026-11-16 02:04:51 -08:00
Neil 3a21fb4106 fix(plugins): re-fetch the catalog before an update preview (#43063)
* fix(plugins): re-fetch the catalog before an update preview

Check for update on a plugin previewed against the cached catalog, so a
release published since the last fetch showed as 'X -> X, already
installed'. The update preview now refreshes the plugin's own catalog
first (one fetch shared by a multi-plugin review), falling back to the
cache when offline.

* fix(plugins): refresh from the lock entry's catalog, so a lost listing still refreshes

* ci: retrigger PR checks
2026-11-16 02:04:18 -08:00
JinjingandClaude 54563fec0a chore(mobile): bump to 0.0.66 and Android versionCode 30 (#43066)
First Android release built with Play's automatic protection turned off, so the
APK no longer carries the license check that closed the app when Google Play is
unavailable (#42973).

Co-authored-by: Claude <noreply@anthropic.com>
android-v0.0.66
2026-11-16 01:52:28 -08:00
Jinjing 8e5fcac855 Keep completion checks visible for unread agents (#43065) 2026-11-16 01:49:24 -08:00
Neil 571bdb69db fix(sidebar): omit done and active counts from child workspaces toggle (#43064) 2026-11-16 01:48:03 -08:00
026fccf821 feat(notifications): mute notifications per worktree (#26779)
* feat(notifications): mute notifications per worktree

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

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

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

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

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

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

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

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Neil <neil@stably.ai>
2026-11-16 01:47:43 -08:00
0799a39889 fix(orchestration): keep a refused Dispatch-less escalation out of the recipient's inbox (#43016)
A sender with no active Dispatch (for example a coordinator) that sends
--type escalation or decision_gate is refused with sender_not_assignee,
but the rewritten "Rejected ..." row was still delivered to the recipient
as unread mail and woke it, including on idempotent retries via the
replayed receipt nudge. Nobody can act on such a refusal, so keep the row
for audit but mark it read, record the receipt without a replay nudge,
and skip the wake. Refusals tied to a real Dispatch still reach the
coordinator. The refusal text now points the sender at --type status or
gate-create.

Fixes #42731

Co-authored-by: Neil <neil@stably.ai>
Co-authored-by: Shaukat Ibrahim <shaukati@amazon.com>
2026-11-16 01:44:18 -08:00
OrcaWinandOrcaWin e99cc9a67e test: remove narrow tab docking and terminal padding suites (#43062)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 01:44:03 -08:00
Brennan Benson 636d990f34 Keep chat composer state when its view reconnects (#42695)
* refactor: give chat tabs ownership of composer editors

* Retain pasted-text file paths with composer undo history

* Keep composer selection ownership with its editor
2026-11-16 01:36:50 -08:00
Brennan Benson 0f3d81f791 perf(mac): reuse verified terminal names across process-table captures (#43004)
* perf(mac): reuse verified terminal names across process-table captures

Each full macOS process-table capture ran one lstat per terminal on the
machine. On busy Macs that is millions of libuv pool jobs a day in the
terminal daemon, which is the load that wedges macOS's pool and makes
createOrAttach time out (#31926, #42958). Verified ttys names now last 60s;
misses and /dev scan aliases are still read live.

* perf(mac): keep verified terminal names for five minutes

Closed ptys stop reporting their device, so the TTL is only a safety
margin; a longer one removes the largest remaining pool-job source.
2026-11-16 01:30:45 -08:00