Skip to content

sync: upstream 15c7c2a3be into swaplabs/main - #129

Merged
kiwidream merged 843 commits into
swaplabs/mainfrom
sync/upstream-20261120
Nov 20, 2026
Merged

kiwidream merged 843 commits into
swaplabs/mainfrom
sync/upstream-20261120

Conversation

@kiwidream

@kiwidream kiwidream commented Nov 20, 2026 •

Copy link
Copy Markdown

Daily upstream sync (auto-sync run 59, 2026-11-20). Supersedes #126, whose head main conflicted. The run stopped for an operator decision (#127); the operator chose option B and this PR is that merge.

Upstream range: stablyai/orca@d1913b0...15c7c2a (842 commits, d1913b03f0..15c7c2a3be). Upstream release tags v1.4.264, v1.4.265 and v1.4.266 were copied to the fork; v1.4.256 still differs (#103).

orca-fork-ops status (integration swaplabs/main 9873e08 vs upstream main): 0 merged upstream, 0 pending upstream, 94 local forever.

Merge commit ec8601b, signed with the sync key (G BF1DD75F888E96080C2453E2D9E158C5D6874235). The pre-commit hook ran and left the tree unchanged.

The decision (#127, option B)

Upstream stablyai#43529 gives a pane one agent identity and opens a plain shell once that identity has ended. The fork's host resume (#30) keeps a session resumable when only the agent's process proved the exit (Claude's SessionEnd other, or a probe), because that cannot be told from a lost terminal.

Conflicts: 20 paths, 25 hunks

Fork PR Path Upstream Took
#10, #14, #16, #27 updater-fallback.ts, update-status-types.ts, updater-setup.ts, updater-status.ts, updater-download-install.ts, GeneralUpdateSettingsSection.tsx stablyai#44541 added opt-in automatic updates both: statuses carry releaseSource and automaticDownload; the fork's settings buttons take upstream's disabled states, hide Restart during an automatic install, and use upstream's shorter "is available." and "is being installed." copy
#10, #16, #27 updater-prerelease-feed.ts, updater-release-builds.ts stablyai#45305 added a paged REST lookup for delayed updates that aged out of the Atom feed upstream's lookup, made source-aware: only the primary source reads the primary repo's REST list, and the perf filter stays primary-only
#25 daemon-launched-child-spawn.ts, daemon-out-of-process-launcher.ts stablyai#44194 added fdClosingExec both fields
#7, #13, #31, #66 TitlebarLeftControls.tsx stablyai#44953, stablyai#45258 both
#1, #5 workspace-session-host-persistence.ts stablyai#43932, stablyai#44868 memoized the host resolver upstream's resolver plus the fork's sleepingRecordOrigins
#30 server-cleanup.ts, server-tab-cleanup.ts, server-status-update.ts, server-types.ts stablyai#43529 restructured exit cleanup (confirmedExit, unproven exits) the fork's retention rebuilt on upstream's code: reconcileEndedProcess keeps upstream's retention unless the fork's clearPane owns the row
#30 agent-session-resume-ownership.ts stablyai#43529's ended-identity check the decision above
past sync resolutions direct-link-open, main-sync-fs, workspace-record-read baselines rows added or changed upstream's rows plus the fork's

Fork lines that moved or changed

  • max-lines moves (upstream's own copies sit at 296 to 300 lines; same behaviour, no disable):
    • server-cleanup.ts and server-tab-cleanup.ts: fix(resume): a paired host resumes each pane's agent after its terminal is lost #30's retention helpers moved into a new fork-owned class layer, server-retained-pane-identity.ts.
    • server-ingest-normalization.ts: withClaudeUserEndedSession moved to the fork-owned server-terminal-loss-resume.ts.
    • daemon-pty-router.ts: the drain-safe spawn is routeSpawn in the fork-owned daemon-router-drained-daemon.ts.
    • workspace-session-host-persistence.ts: buildSleepingRecordOriginHosts moved to sleeping-record-origin-host.ts.
    • remote-server-update-coordinator.ts: the cross-source manual phase is folded into the final return.
  • Fork tests.
    • The three GeneralUpdateSettingsSection tests mock upstream's AutomaticUpdatesSetting and follow its copy.
    • The release-list URL assertion carries upstream's page parameter.
    • The two "a check that overtakes a download" cases in updater.mac-self-update.test.ts are removed: upstream Add opt-in automatic desktop updates stablyai/orca#44541 refuses every check while a download runs, so that path cannot be reached. The engine's own superseded-offer tests stay.
  • Baselines. The workspace-record-read row for fix(session): treat an unprovable connectionId as no host, not as ssh #5 moved with its code; the fork's flaky-test row for updater.mac-self-update.test.ts drops from 9 to 8.
  • ReleaseSourceUpdateControls.tsx takes its new string through useTranslate, which keeps the render-path translate ratchet at its count.

Not tried: upstream's automatic updates with the fork's macOS installer. A SwapLabs build with an update delay still sees only the feed's newest entries, because stablyai#45305's lookup reads the primary repo (#43).

Validation

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Files Added Deleted Net
Test 904 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​36702 $\color{#cf222e}{\Huge{\mathbf{−}}}$​14644 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​22058
Prod 2096 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​71710 $\color{#cf222e}{\Huge{\mathbf{−}}}$​18993 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​52717

OrcaWin and others added 30 commits November 19, 2026 16:25
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
…e group (stablyai#44745)

* fix(workspace-cleanup): clean up a folder workspace's worktrees as one group

Cleanup judged each worktree attached to a folder workspace on its own
repo's evidence, so with "merged" on it removed repo A's merged worktree
while repo B's worktree in the same folder workspace still had work.

The worktrees a folder workspace lists (attached ones and their lineage
children) now form one group: a member is removed only when every member
is removable, otherwise it is kept as "another repository in this
workspace is still in use". The re-check right before removal re-reads
the siblings too, so work picked up after the scan still holds the group.

Fixes stablyai#44715

* fix(workspace-cleanup): match folder siblings by host identity

A same-id worktree on another host is a different sibling: it has no
verdict on this host, so it holds the group instead of borrowing the
local copy's. The pre-removal re-check re-reads only this host's
siblings. The group test now runs through the runner's preview.

* fix(workspace-cleanup): re-check a folder member against its folder as listed now

The pre-removal re-check reads one full listing and evaluates the target
with its current folder members, so a worktree added to the folder since
the scan holds it too, and siblings cost one listing instead of one each.
A recorded folder child the listing lacks (its repo's scan failed) holds
the group. A bot's home folder is not one piece of work, so its
workspaces are still cleaned one by one. Folder membership moves to its
own module.

* fix(workspace-cleanup): resolve folder membership through stored lineage

A worktree the listing lacks (its repo's scan failed) is placed in its
folder through its stored lineage, including a lineage child of an
attached worktree, so it holds the group. A stored record counts as
listed only when a row with the same id and instance stands for it.
An archived checkout holds nothing.

---------

Co-authored-by: Kelvin Amoaba <97001695+AmoabaKelvin@users.noreply.github.com>
* fix(chat): keep the number typed on each ordered list item

Chat used CommonMark numbering, so 1, 2, 4 showed as 1, 2, 3. The parser
already reads each item's number; chat now keeps it as the item's value on
desktop and mobile. GitHub and PR views keep GitHub's renumbering.

* fix(chat): count up lists that repeat one number

A list typed as 1. 1. 1. lets Markdown do the numbering, so chat keeps
counting it up. Any other list keeps its typed numbers. Desktop and mobile
share the rule.
…tablyai#45001)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
…stablyai#44868)

* perf(session): keep unchanged session entries identical across writes

One background title change rebuilt every workspace's saved tabs and stripped layouts with new
identities, so each debounced write deep-compared the whole fleet against main's acknowledged copy.
Builders now return the same output for the same input objects, so unchanged entries compare by
reference; host routing resolves each workspace once per write.

* test(perf): cover saved scrollback layouts in the session write contract

* test(perf): cover capped scrollback in the session write contract
…oser (stablyai#45009)

iOS share-sheet copies put only public.url on the pasteboard, so WebKit's
paste event carries text/uri-list and no text/plain. The composer read that
as an image paste with missing bytes, cancelled the native paste and found
no image, so nothing was inserted.
…ai#45008)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
… its distro (stablyai#44905)

* fix(chat-history): don't start a stopped WSL distro to protect the Codex import folder

* fix(chat-history): keep a chat quietly while the import folder's distro is stopped

* fix(chat-history): ask WSL afresh before touching the Codex import folder

* perf(chat-history): ask WSL once a sweep when the import folder's distro is stopped

* perf(chat-history): bound cleanup's WSL probes with a one-second lease

* fix(chat-history): protect a WSL import folder by its path, never reading it

* fix(chat-history): keep every name that resolves into the WSL import folder's distro

* perf(chat-history): skip the folder walk when no protected root has ids
…sidecar (stablyai#44976)

* fix(ai-vault): read droid model and tokens from the session settings sidecar

Droid persists the session model and token usage only in the
`<session>.settings.json` file next to each transcript. The parser looked
for `system` and `completion` records, which exist only on
`droid exec --output-format stream-json` stdout and never in persisted
transcripts, so every Droid row in AI Vault had no model and 0 tokens.

Droid now joins the sidecar enrichment step: when a transcript is
reparsed, the settings file is read and its `model` and own
`tokenUsage` (input + output + cache creation + cache read) are merged
onto the parsed session. `inclusiveTokenUsage` is ignored because child
sessions are listed as their own rows, and `thinkingTokens` is already
part of `outputTokens`. A refused WSL read leaves the row uncached so the
next scan retries. The read happens only on transcript reparse, so Droid
discovery keeps its stat cache. The parse cache schema is bumped so rows
cached without these fields are reparsed once.

The dead `system`/`completion` branches are removed, and the Droid
incremental fixture now uses a real assistant `message` record.

Fixes stablyai#44973

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

* test(ai-vault): bump the droid transcript mtime from its own stat, not the wall clock

Refs stablyai#44973

---------

Co-authored-by: Neil <neil@stably.ai>
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
…ws (stablyai#45019)

Remote HTML previews never played <video>/<audio>: the paired host's
preview reader sent only image, font and PDF bytes, and the orca-preview
protocol answered every asset with one whole in-memory body, so media got
415/413 and could not seek.

Media now streams by range through the existing createMediaRangeResponse.
Workspace files read files.readDocPreviewChunk with a new media opt-in that
lifts the whole-read size caps for audio/video only (the host re-authorizes
each chunk; older hosts strip the flag and keep refusing). Files outside the
workspace read the host's terminal-artifact range methods. Reads follow the
request's cancellation and the preview grant's lifetime.
…tablyai#44977)

Auto-reveal marked the active file as handled before checking whether the
Files tree was visible. A file opened from Explorer > Contents was therefore
never revealed when switching back to Names. Leave the file unhandled while
the tree is hidden so the normal tab-switch reveal runs once it is shown,
unless a kept name filter query would be cleared by that reveal.

Refs stablyai#44974

Original fix by @h00ns in stablyai#44977.

Co-authored-by: Neil <neil@stably.ai>
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
…ablyai#45023)

* fix(browser): report background tabs as hidden to the page

Electron's webview overrides document.visibilityState with the embedder window's
visibility, so a page in a tab that isn't shown kept reporting 'visible'. The
guest preload now reports Chromium's own visibility and main forwards it over
Electron's internal channel, replacing the window-only value.

* refactor(browser): drop casts in guest visibility follower

* fix(browser): ignore visibility reports from an unloading document

* fix(browser): follow window hiding, iframes and late commits in guest visibility

* fix(browser): keep window hiding to the guest's main frame

* test(browser): give the visibility Electron probe's timeout a reason

* refactor(browser): one record per followed guest; cover doc previews and the shipped preload

* refactor(browser): typed guard for Electron's private sender
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
…ai#45024)

The ZCode TUI capability probe spawned a bare `zcode` with shell:false, so
it missed Windows .cmd shims, CLI install dirs a GUI PATH lacks, and the
zcode Command setting, and it cached one verdict for the whole process.

Resolve the command the way chat launches do: parse the Command setting
with structuredAgentCommandPlan, look the program up through the shared
CLI resolver, and spawn it with its sibling node runtime. The resolver and
the runtime pairing gain async forms that share the sync walk, so the
probe does no sync filesystem work. Nothing runnable means 'unknown'
without a spawn, and verdicts are cached per resolved command.

Co-authored-by: Pr1p <zwq19980411@gmail.com>
…i#45029)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
…43033)

* Reuse unchanged dashboard cards and Activity panes on status updates

* Format incremental view builders

* Scope dashboard reuse by workspace occurrence and active language

* Update dashboard imports after main merge

* Read workspace cache inputs through existing selectors

* Point moved agent-status imports at their new folders
`orca tab list` asks the runtime for one worktree whenever it resolves a
selector, but an empty result always printed "No browser tabs open.",
which read as "no tabs anywhere". A scoped empty list now says no tabs
are open in the selected worktree and points at `--worktree all`. The
unscoped case keeps the old sentence, and `--help` documents the scope.

Fixes stablyai#44981

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

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
…tablyai#44629)

* fix(orchestration): stop crew registries chaining every predecessor's record maps

The party registry's closures shared a V8 context with the source reader,
which on a topology rebuild is the previous registry's wrapper. Each
generation therefore pinned its predecessor's record, root and lineage maps.
Destructure the reader out so no closure captures it; a 20-generation probe
retained 20 registries before and 0 after.

* perf(orchestration): admit crew wakes only for panes, chats and dispatches a row shows

Status, title and chat-status wakes now name their pane or session, and worker
stage/ready/observation writes name their dispatch. The crew read model records
what each row read and drops wakes for anything else before reading inputs, so
an unrelated agent's tick no longer rebuilds statuses, re-runs crew SQL or
stringifies every mounted party. A party subscribing later rereads what was
skipped.

Also: no structuredClone of fleet statuses per refresh, no existsSync while a
database is bound, session-write name checks limited to the crew's tabs (or the
written worktree), and a summary view on crewSubscribe that sends only counts
for a closed strip. Older clients never ask for it; older hosts ignore it.

Bench (1,000 fleet statuses, 200 ticks, crew read model + streams):
unrelated status 1.93-2.72 ms/tick -> 0.005 ms, 0 reads
unrelated stage write 3.5-6.3 ms/tick, 23-86 SQL/tick -> 0.004 ms, 0 SQL
crew worker status (control) 1.8 ms -> 0.54 ms, still read

* perf(orchestration): follow a crew's counts until rows are asked for

The renderer crew subscription now asks the host for the summary view and
switches the same stream to rows only while an open list or @ menu reads
them. Frames publish as they arrive (the host already drops unchanged ones),
so the renderer no longer stringifies two snapshots per frame. A local source
no longer wakes on every store dispatch; a remote one wakes only when its own
status entry changes.

* perf(orchestration): compare only a crew's worktrees on each workspace-session write

Name and (main-owned) topology checks now locate the worktrees holding the
tabs and chats crew rows show, once per scope, and read only those on later
writes instead of walking every tab, chat and layout of every worktree. A
scope change compares the write under the old scope rather than skipping it.

* perf(orchestration): patch or skip crew rows for one Dispatch's lifecycle writes

Worker stage, ready and attempt writes now patch the shown row's assignment
from one keyed read instead of rebuilding every crew input. Lifecycle writes
about one existing Dispatch (start reconcile, stop, fail, complete, remote
attachment progress) are scoped to the Dispatches the worker status notice saw
them write; any create or delete still rebuilds. A scoped write about a
Dispatch no row shows is remembered, and a later read that shows it rebuilds.

The julianday() range filters stay: EXPLAIN QUERY PLAN shows they already
search the idx_dispatch_crew_recent and idx_messages_crew_from/to expression
indexes.

* test(orchestration): pin zero crew work for unrelated status, title and federation ticks

Performance contract C1: a mounted crew among 100 unrelated agents reads no
statuses, runs no SQL and sends no frame for 50 unrelated status and title
ticks or another workspace's federated worker writes; its own worker's status
change still sends exactly one snapshot. Fails before the scoped wakes.

* perf(orchestration): send a crew's changed rows, not every row, on each change

A subscriber that asks for deltas gets its first snapshot whole, then a delta
frame with each section's party keys and only the rows that changed or are
new. The renderer applies it to the rows it holds, so unchanged rows keep
their identity, and asks for a whole snapshot again if a delta names a row it
lacks. Older hosts ignore the flag and resend everything; older clients never
ask. A crew with a party twice in one section falls back to whole snapshots.

* refactor(orchestration): keep crew status rules in their own module, without a coordinator's question

A worker asking its coordinator a question is the coordinator's to answer, so
the party's status no longer turns into permission for it. The rules move out
of CrewAgentIcons so a composer can read them without the agent catalog.

* feat(native-chat): show an agent's logo on its mention pill, and let @ picks insert one

An agent reference may carry its agent type, which the pill shows as its avatar
in place of the generic icon; the sent text is unchanged. A picked @ mention can
now be an agent reference, which goes in as its pill.

* feat(native-chat): fold the chat's orchestration crew into its agents strip

The floating crew panel is gone from structured chats. The existing strip above
the composer now carries the crew: one line of counts (needs attention, agents,
monitors), and on open Managed by, Agents (workers and subagents by status),
Talking with and the existing groups. Clicking a worker mentions it; clicking a
subagent puts its name in the message. Narrow strips keep icons and numbers.

Only the visible, focused chat follows its crew, and it follows counts alone
until the list opens; rows and their live looks mount only then. A hidden chat
no longer holds its worker-approval stream. Terminal surfaces stay suspended.

Contract: ten mounted chats hold one crew subscription, none once hidden.

* feat(native-chat): list the chat's crew agents above its bots under @

The @ menu gains an Agents group: the manager, workers and peers the strip
shows (never subagents, which have no address), each with its logo, status and
task. It reads the strip's own crew subscription, asking for rows only while
the menu is open, never once per keystroke. Picking one inserts its pill.

* chore(orchestration): satisfy the changed-code gates for the crew strip

Drop type assertions from the crew delta and stage comparisons, keep Badge
shapes to their variant, note why the wake contract reads the wall clock, and
regenerate the runtime English catalog for the plural needs-attention keys.

* fix(native-chat): follow the crew in every visible chat, as its other strips do

Splits of one chat share its subscription; a hidden chat holds none.

* perf(orchestration): wake a crew only for status rows of panes it shows, and keep its scope

A hook status row added, changed or removed now names its pane, so an
unrelated agent's row no longer reads the fleet snapshot or rebuilds a crew.
A crew's own status tick compares only the bindings its rows can show, not
every pane in the fleet. What a crew shows is kept across status, name and
stage refreshes and reset only on a rebuild, so the session-write name check
keeps its worktree cache instead of walking every worktree after each wake.

Also: traffic between addresses no mounted party goes by is skipped, and a
crew records the Runs its rows belong to and the identities of its parties.

* perf(orchestration): scope Run, Task and Dispatch lifecycle writes to the crews they touch

Task and Dispatch writes are scoped by the Dispatches the worker status notice
saw them write; a write that created one also names that Dispatch's Run,
creator and assignee (one keyed read), so only a crew showing one of them
rebuilds. A new Run names its coordinator. A Dispatch's closed questions wake
only crews showing it. Deletes, resets, bindings and remote attachments stay
broad.

* perf(orchestration): let the crew assignments query use its recent-dispatch index

Sorting by a bare rowid made SQLite scan dispatch_contexts for the ORDER BY;
+d.rowid keeps the sort key out of the plan.

* test(orchestration): pin zero crew work for unrelated status rows and another run's lifecycle

Adds hook status rows added and removed for unrelated panes, and a Run, Task,
Dispatch and Task status write in another workspace, to the unrelated-wakes
contract: 0 SQL, 0 status reads, 0 frames.

* perf(orchestration): check a status row against a crew's panes without parsing every pane

The bounded identity compare checked each fleet row's pane by parsing it; a
crew's own status tick at 1,000 statuses went from 0.3 to 0.5-1 ms. Check the
crew's pane, handle and Dispatch sets first, and a leaf id by the text after
its colon, which the stored parsed leaves make exact.

* chore(orchestration): parse created-Dispatch parties and Run coordinators with schemas

Replaces Reflect.get reads with zod parses, and keys the C2 contract's panes by
a stable id.

* perf(native-chat): keep a closed agents strip still while its session updates

Each session update gave the strip a new Stop (its closure held the session's
controller), so every structured-chat render redrew the strip, now mounted for
any chat with a crew. Stop now reads the latest controller from a ref and keeps
one identity per session, so the strip redraws only for its own changes.

Contract: 50 session updates with an idle crew redraw the closed strip 0 times
(50 before).

* fix(orchestration): show a worker's question to the coordinator as its latest message

A question addressed to this chat's agent is the agent's to answer, so the row
and its details no longer label it as the user's or name a recipient.

* perf(orchestration): rebuild a crew for a terminal record write only if its panes moved

Every renderer graph publish, title change and layout sync writes terminal
records, and each write woke every mounted crew as a broad topology change: a
rebuild with SQL several times a second. The writes now arrive as an identity
change, and a crew rebuilds only when one of its panes or handles resolves
differently from its last read. After a skipped write the next read captures
the terminal records again, so a newly shown party still resolves.

* test(orchestration): pin zero crew work for renderer graph publishes and layout syncs

Graph-sequence advances, leaf replacements and synthetic handles written through
the runtime's crew-notified terminal records cost 0 SQL, 0 status reads and 0
frames for a crew they don't touch; with the old broad notice they cost 23 SQL.

* revert(native-chat): keep the worker-approval feed as main has it

React Activity already drops a hidden chat's approval subscriptions, so the
visibility gate added nothing.

* chore(orchestration): name a chat's scoped status change so process listing stays under its line cap

* perf(orchestration): reread only the crews a change concerns

The read model kept one record of what every mounted crew showed and woke
every crew's stream on each admitted change, so a worker event for one chat's
crew reread every visible chat's crew: reads grew with the square of crews
shown. Each party's read now records what it showed, and a change wakes only
the parties whose rows it can change; broad and terminal-record changes still
wake all. The combined record, which admission and the session-write scope
read, is replaced only when its contents change.

* test(orchestration): pin one crew's reread for its own worker's event among four crews

With four mounted crews that share no party, one worker's status event rereads
and redraws its own crew once and the other three not at all; waking every
crew rereads all four.

* test(orchestration): drive the unrelated-churn contract through the runtime's own wiring

A real runtime's graph publishes and an attached hook server's status rows for
a pane no crew shows wake no mounted crew. Reverting either the terminal-record
notice or the status-row notice to a broad change rereads the crew per write.

* test(orchestration): pin the runtime's crew subscribe to its own party's wakes

Two crews subscribed through the runtime's own subscribe; a write to one crew's
Dispatch rereads that crew alone. Subscribing without the party rereads both.

* fix(orchestration): keep crew rows to name, kind and time

Rows drop the latest-message preview (it stays under the chevron) and the
mention tooltip; only an approval waiting on the user shows inline. The row's
copy button replaces its menu, whose mention and open items duplicated the row
click and the open button. Strip headings keep the mono face on the label only,
so Mention all uses the chat font.

* fix(orchestration): drop Talking with for now and show ages without 'ago'

Peers leave the strip, its agents count and the @ menu; a separate change can
bring them back. Row ages read like the strip's other elapsed times (3m, 2h).

* fix(orchestration): use the sidebar's agent status icons on crew rows

* fix(native-chat): list bots above crew agents in the @ menu

* fix(orchestration): show a worker's full task and its newest reply in row details
…lyai#44966)

* fix(sidebar): keep Hide default branch on when adding a project

Adding a project turned off the user's Hide default branch filter (and the
skip path could also flip Always show default branch) to reveal the new
checkout. Adding a project now opens its checkout without rewriting saved
sidebar filters, matching every other way of opening a workspace.

* chore: prune workspace-record-read baseline
…ablyai#45003)

Name and Address are one grouped list, the intro and address help are gone,
the resolved URL only shows when it adds to what was typed, and the update
step for a server is one short line under the version row.
…stablyai#45004)

* fix(mobile): put the create sheet's setup choices in one grouped list

* fix(mobile): show the whole setup command and read it in the ask row
…tablyai#45005)

* fix(mobile): move History's agent filter and sort into the bottom bar

The chips under the History header become a Filter & sort button beside
search, opening a grouped sheet like Tasks' Filter & display and the
workspace list's options. The interrupted-chats and resume notices use
the phone's notice strip.

* refactor(mobile): drop History's unused chip-row style
…lyai#45047)

* Remove mocked worker activity row suite

* Trim implementation counts from Activity and Dashboard tests

* Remove mocked bot suites and simplify crew delta coverage

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
* fix(terminal): enable Codex CLI image previews

* fix(terminal): advertise image support at PTY launch

* fix(terminal): synchronize the image launch daemon version

* Scope Codex image compatibility to agent invocations

* Preserve paired viewer capability on terminal starts
Pr1p and others added 21 commits November 20, 2026 01:56
…shes (stablyai#45357)

TypeScript hands compiler hosts forward-slash paths on every platform, but
the author-typings test fixture keyed its in-memory files with path.join and
matched virtual folders with path.sep. On Windows every lookup missed, so
plugin-host-typings.test.ts reported each sample file as not found. Build
the virtual root and keys with '/' and match folders with a '/' prefix.

Fixes stablyai#45355

Co-authored-by: Neil <neil@stably.ai>
…ablyai#45404)

The sidebar, Chats tab and phone fold lines built '1 waiting · 2 running'
in English. The shared helper now returns counts, and each client says them
through its own translations (bots.chats.waitingCount / runningCount).
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
…lmost full (stablyai#45242)

* feat(perf-notices): warn when the disk is almost full or hidden browser tabs stay loaded

* fix(perf-notices): skip the disk reading while its notice can't show

* fix(perf-notices): recheck a notice's eligibility after its reading

* fix(perf-notices): drop a hidden-tabs notice once Memory Saver is on, and record when it showed

* fix(perf-notices): name the Resource Manager in the disk toast and link it to cleanup

* fix(perf-notices): hidden-tab toast says what Memory Saver does instead of its hours

* fix(perf-notices): hidden-tab toast title says what turning on Memory Saver gets you

* fix(perf-notices): read the disk where each repo's worktrees live, and keep the disk sentence whole for translators

* fix(perf-notices): keep the cleanup link's text, skip missing worktree folders, read disks one at a time

* fix(perf-notices): don't hand a pending disk read's result to callers whose worktree folders changed

* fix(perf-notices): a hung disk read no longer stalls the notices, and earlier workspace folders are checked too

* fix(perf-notices): a hung folder no longer blocks other disk reads, and the tab count skips tabs Memory Saver can't free

* fix(perf-notices): never start a disk call while one is still running, and check the global folder for repos with their own

* fix(perf-notices): skip earlier workspace folders that would resolve into WSL

* refactor(perf-notices): move the low-disk notice to its own stacked PR

* feat(perf-notices): the inactive-tabs notice says how many tabs and how long, with a suggestion lightbulb

* fix(perf-notices): count only tabs Memory Saver would actually free, on its own awake clock

* fix(perf-notices): don't count tabs an agent holds or DevTools is attached to

* feat(perf-notices): suggest cleaning up workspaces when the disk is almost full

Restores the low-disk notice on top of the inactive-tabs notice. Its button,
Clean up workspaces, opens Settings > Workspace Cleanup.

* fix(perf-notices): check the disks that hold existing workspaces, and open local Workspace Cleanup

* fix(perf-notices): read only this machine's workspaces, keep a slow disk's reading, and keep Windows workspaces after a WSL switch

* Restore main's newer en.json entries dropped in merge

* Read each existing workspace's own volume; keep unknown notice opt-outs

* Don't cache a disk scan cut short by a call still running

* Say where low-disk cleanup lives: Review old workspaces
…still between label ticks (stablyai#45427)

Both ran for as long as their state lasted and redrew the window on their
own. They are now paused in CSS and stepped by the looping-animation clock,
like spinners and pulses.
…#45421)

* feat(chat): keep Home first with a floating identity banner

Keep the Home tab first and prevent side chats from being pinned. Unpin restored side chats on pages owned by this window and use one Home identity rule for placement and presentation.

Add the Home tab accent and a floating identity pill that shrinks on scroll and opens Activity.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Codex <noreply@openai.com>

* fix(chat): scope Home pinning and recovery to local sessions

Wait for restored local Home tabs, retain the oldest duplicate view without retiring its conversation, and re-resolve Home when its identity changes or its tab disappears. Keep paired and SSH pin behavior unchanged and hide the floating identity banner in narrow panes.

Co-authored-by: Codex <noreply@openai.com>

* fix(chat): select ready Home views before previews

Use one deterministic selection for cleanup and placement: published views before previews, then creation time and stable tab id. Keep the oldest published Home when an older preview exists, and wait if all matching views are previews.

Co-authored-by: Codex <noreply@openai.com>

* fix(chat): prepare precise Home banner verification

Document that scrolling shrinks the Home banner to its avatar while header content widths at or below 260 CSS pixels hide the entire banner. Add synthetic local-breakpoint and paired-server Home fixtures and restore the header store import required for eligibility rendering.

Co-authored-by: Codex <noreply@openai.com>

* fix(chat): keep focus on Home after it moves out of a split

When a focused duplicate Home view closes, focus is handed to the surviving Home only after Home's final move to the top-left group. Moving a tab keeps the destination group's selection, so activating Home before the move left a side chat selected after a split restore.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
stablyai#45319)

* feat(connectors): the Slack setup's done screen opens the app's messages in Slack

* fix(connectors): the done screen closes when Slack opens in Orca's own browser
* Memory page in Share: one inset card with an All switch, one-line rows

Include memory now picks every file when turned on. The Memory page lists
files in the overview's inset card, headed by an All switch with the total
line count; rows are one line with the line count on the right, a flag icon
whose tooltip names the line, and an eye that previews on hover or focus.
The footer hint takes its own line above the buttons when space runs out.

* Memory page: focus the page title on open; firmer unticked boxes in light theme

* Memory picks stay within what a share carries (64 files); stock checkbox

* Memory fixture: 70 files past the 64-file share limit
…#45433)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
…yai#45442)

* fix(bots): quieter onboarding card that never overflows the sidebar

Raised card surface in both themes, title and two label-hugging buttons
that wrap together, and the header + hidden while the card offers New bot.

* fix(bots): keep the header + while empty and let each face read
…45443)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
…ablyai#45390)

* feat(connectors): orca slack post --at schedules a post for later

* fix(connectors): refuse a blank or impossible --at; check the cloud schedules at dispatch
…ed for (stablyai#45414)

* fix(connector): wait a random 0-60 s before a re-hello a poll 409 asked for

* test(connector): wait out the re-hello spread in the kill-switch round trip

* fix(connector): let an in-flight hello land before a 409 decides to spread

* fix(connector): a change cuts a 409's spread short; read the cloud's refusal tag into the trace
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
…st (stablyai#45448)

A pending reveal that never resolves (for example a file under a hidden
dotfile folder) kept re-running the effect that clears the name filter,
so every Latin keystroke in Find files was wiped until restart.

The clear now runs once per reveal request, and only while the files
tree is visible. A query typed after that clear cancels the pending
reveal so it cannot resolve against filtered rows or stay stuck.

Fixes stablyai#38050

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…5458)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
Upstream range d1913b0..15c7c2a, 842 commits. 20 conflicted paths
(all both modified), 25 hunks. One group needed an operator decision:
fork PR 30 against upstream stablyai#43529 (SwapLabsInc/orca issue 127).
DECISION: the operator chose option B. Upstream's ended-identity check
in resolvePaneOwnedResumeStartup is skipped when the pane has no stored
record and the fork's terminal-loss selector names its session
(selectsTerminalLossResume in host-pane-agent-resume-start.ts), so an
exit only the agent's process proved still resumes after a lost
terminal. The other differences listed in issue 127 (the refusedResume
clear on a local desktop, the confirmed-shell probe, command-finished
retention, the relaunch identity) merge as upstream has them.

Conflicts:
- Updater (PRs 10, 14, 16, 27) vs upstream stablyai#44541 (opt-in automatic
  updates): both. Statuses carry releaseSource and automaticDownload;
  the fork's settings buttons take upstream's disabled states, hide
  Restart during an automatic install and use upstream's shorter
  "is available." and "is being installed." copy.
- updater-prerelease-feed and updater-release-builds (PRs 10, 16, 27)
  vs upstream stablyai#45305 (delayed updates that aged out of the Atom feed):
  upstream's paged REST lookup, source-aware. Only the primary source
  reads the primary repo's REST list; the perf filter stays primary-only.
- daemon-launched-child-spawn and daemon-out-of-process-launcher (PR 25)
  vs upstream stablyai#44194 (fdClosingExec): both fields.
- TitlebarLeftControls (PRs 7, 13, 31, 66) vs upstream stablyai#44953/stablyai#45258:
  both.
- workspace-session-host-persistence (PRs 1, 5) vs upstream stablyai#43932 and
  stablyai#44868: upstream's memoized host resolver, the fork's
  sleepingRecordOrigins.
- agent-hooks server-cleanup, server-tab-cleanup, server-status-update,
  server-types and agent-session-resume-ownership (PR 30) vs upstream
  stablyai#43529 (pane agent identity, confirmedExit, unproven exits): the
  fork's retention rebuilt on upstream's code. reconcileEndedProcess
  keeps upstream's retention unless clearPane owns the row.
- direct-link-open, main-sync-fs and workspace-record-read baselines:
  upstream's rows plus the fork's rows.

Not in the conflict list:
- Five max-lines moves (upstream's copies sit at 296 to 300 lines):
  the fork's retention helpers into the fork-owned class layer
  server-retained-pane-identity.ts (server-cleanup, server-tab-cleanup);
  withClaudeUserEndedSession in server-terminal-loss-resume.ts
  (server-ingest-normalization); routeSpawn in
  daemon-router-drained-daemon.ts (daemon-pty-router);
  buildSleepingRecordOriginHosts in sleeping-record-origin-host.ts
  (workspace-session-host-persistence); the cross-source manual phase
  folded into the final return (remote-server-update-coordinator).
- Fork tests: the settings tests mock upstream's AutomaticUpdatesSetting
  and follow its copy; the release-list URL carries upstream's page
  parameter; the two "a check that overtakes a download" cases in
  updater.mac-self-update.test.ts are removed, because upstream stablyai#44541
  refuses every check while a download runs, so no check can replace
  the offer mid-download. The engine's own superseded-offer tests stay.
- Baselines: the workspace-record-read row for fork PR 5 moves with its
  code to sleeping-record-origin-host.ts; the fork's flaky-test row for
  updater.mac-self-update.test.ts drops from 9 to 8.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T21:46:18.447341Z ec8601b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.