Files
orca/config/tsconfig.node.json
47ef2ab264 Agent status changes stop republishing the whole session graph (#42104)
* Remove finished-agent retention and keep sleeping status with panes

* Fix legacy pane projection and sleeping-agent regression fixtures

* Cover sleeping display-only status in parked terminal coverage

* Keep pane conversation identity only across continuous agent observations

* Remove duplicate import and keep sleep fixtures type checked

* Preserve conversation boundaries across replays and inherited clocks

* Cover conversation map stability across a large status batch

* Bound conversation capacity work to changed pane owners

* Pass capacity classifiers their layout input directly

* Finalize conversation provenance once per status batch

* Keep paired snapshot tests focused on observable outcomes

* Type the conversation provenance test fixtures explicitly

* Consolidate agent session imports after main merge

* Preserve provider replacement evidence when resetting conversation continuity

* Separate retention deletion from sleeping agent display

* Restore migration row bucket comparison

* Skip unusable pane identities before title ownership lookups

* Refresh conversation titles when their owning pane changes

* Update completion test sound mock after module move

* Keep finished agent status with sleeping panes and update agents by key

* Forward sleeping pane status and scope paired tab updates

* Preserve keyed selectors and compiler invalidation through final checks

* Keep bound store hooks visible to the compiler and measure published links

* Install provenance measurement before factory capture

* Use a static store hook and name presentation metadata once

* Preserve keyed freshness and atomic agent status publication

* Preserve remote folder dashboard regression after suite retirement

* Model pane wake before live identity reobservation in regression

* Share keyed row transactions and finish main integration

* Align runtime fixtures with keyed agent status reads

* Keep status projections addressed and activity summaries current

* Retire empty workspace status summaries after their source leaves

* Use the standard store fixture for parked terminal graph tests

* Align status fixtures with app types and a fixed test clock

* test: capture stored terminal render failure details

* Read terminal titles and completion prompts from keyed agent status

* Compose foreground agent state in worktree test stores

* test: complete lineage list agent state fixture

* Keep sleeping completion when retiring process authority

* Run durable agent-hook status tests with Node SQLite

* Preserve sleeping Done when renderer retires its process

* Update terminal fixtures for process retirement

* Spike addressed renderer agent status publication

* Join status only against admitted mobile membership

* Scope status membership reconciliation and observe bindings by key

* Cover status admission and scoped replica recovery

* Name the status replica runtime owner type

* Read sleeping pane resume sources by key

* Bind sleep capture fixture to its live panes

* Bound status replica retirement and recover interrupted publication

* Pass the pane tree to the sleep capture fixture graph

* fix(status): skip non-UUID leaves, release phone frames on headless restore, avoid unbound tree scan

- Graph status bindings and replica membership skip leaves that can't carry a status row instead of throwing.
- The pre-seed phone gate only holds frames for the renderer generation that owes the seed; restoring headless authority redelivers the held worktrees.
- Status capture skips the leaf count when the tab has no terminal, and counts saved leaves only up to two.

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

* fix(status): release held phone frames whenever the unseeded renderer loses the graph

Desktop builds without a headless fallback mark the graph unavailable but keep the renderer generation, so the pre-seed gate stayed shut until a window reopened.

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

* perf(status): reuse the capped saved-leaf count per immutable layout

Status churn on an unmounted tab with only a tab-level terminal no longer descends a deep saved split tree on every change.

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

* Preserve accepted completion identity through sleep

* Pass a nullable title to the status classifier

* Resolve accepted host status once and preserve delivery order

* Drop published sleep status when its host owner retires

* Use the supported remote completion test envelope

* Preserve published activity when filling completed status

* Update imports for main module moves

* Remove an unreachable native chat owner comparison

* Read host and unread card inputs by address instead of per root

A host-scoped sidebar card re-read every root's row and acknowledgement on
any store write, so one card with many sleeping roots paid for other
workspaces' updates. Card host filtering, the summary pill's unread state
and the workspace unread gate now first compare the workspace's projected
row revision and the changed keys of the tab-keyed layout/PTY maps and
the acknowledgement record. Only an addressed change re-reads the roots.
Acknowledge and unacknowledge annotate their writes so readers can skip
keys they don't show.

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

* Correct sleeping pane test imports after module moves

* Combine duplicate subscription test imports

* Record addressed acknowledgement deletions on row drops

* Type subscription fixture key set for string readers

* Keep accepted updates complete after observer failures

* Seed the send picker with its SSH terminal identity

* Correct status publication imports after preload module move

* perf(layout): skip unused normalization reports in pane commands (#42615)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* Clarify cleanup pinning and ignored-file protection (#42616)

* test: remove 55 low-value suites and assertion driver (#42605)

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

* fix(skills): skip Claude sync scratch folders during skill discovery (#42610)

Claude Code parks replaced skill copies in `.trash` and in-progress syncs
in `.staging` under its skills roots. Discovery walked into both, so each
synced skill showed up as duplicates. Prune those directory names in the
native file walk and in the generated WSL `find` command.

Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>

* test: remove 78 low-value suites and trim redundant cases (#42621)

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

* Keep a host card's unchanged agent rows after filtering out another host's pane

Re-lineage clones every row once a host-scoped card filters a row out, so an unrelated pane's status write rebuilt the card's row array and re-ran its signal and rollup memos. Reuse unchanged rows as main's sidebar row selector does.

* Document the runtime stub cast in the status admission test

* Await graph publication in the phone projection status tests

* Share the renderer status binding check and move graph tab-id validation out of the window graph

Main's async graph publication grew session-window-graph past the 300-line limit; the binding predicate now has one owner beside its capture path.

* Seed the Copy Session ID shortcut test through keyed agent status

* Restore the reviewed status binding checks and move the remount check instead

Keeps the capture path's lookup behind its UUID and changed-worktree guards; the window graph stays under the line limit by moving the PTY remount check to the graph promotion base.

* Seed the graph payload partition test through keyed agent status

* fix(agent-status): retry status publication after a failed or superseded graph sync

An inactive sender now asks for a graph sync on each status change (base got this
retry from agentStatusEpoch in the sync key), and a superseded ack parks the sender
until the next accepted graph instead of stopping it.

* fix(agent-status): don't stage status changes while a snapshot is pending

A parked sender kept tombstones for every removed occupant; the next snapshot
recaptures every row and main clears its replica on snapshot.

* fix(agent-status): don't start renderer status publication in paired web clients

The web stub answers every batch with superseded; with superseded now re-arming
on each accepted graph, a web sender would resend snapshots and request graph
syncs for nothing.

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: OrcaWin <alpha-eng@stably.ai>
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
Co-authored-by: BingZ <zzb@gxsmjx.com>
Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
2026-11-15 17:18:06 -08:00

55 lines
3.1 KiB
JSON

{
"extends": "@electron-toolkit/tsconfig/tsconfig.node.json",
"include": [
"../electron.vite.config.*",
"./vitest.config.ts",
"./build-plugins/**/*",
"./scripts/test-runtime/environment/vitest-host-ports-setup.ts",
"./scripts/test-runtime/environment/vitest-caller-identity-env-setup.ts",
"./scripts/test-runtime/environment/vitest-inherited-git-env-setup.ts",
"./scripts/test-runtime/environment/vitest-real-agent-home-write-guard.ts",
"./scripts/test-runtime/environment/vitest-real-agent-cli-guard.ts",
"./scripts/test-runtime/environment/vitest-bun-node-builtins.ts",
"./scripts/test-runtime/dom/vitest-dom-setup.ts",
"./scripts/test-runtime/dom/happy-dom-offscreen-canvas.ts",
"./scripts/test-runtime/dom/happy-dom-mutation-observer-retention.ts",
"./scripts/test-runtime/dom/happy-dom-animation-cancel.ts",
"./scripts/test-runtime/node-worker/vitest-node-runtime-pool.ts",
"./scripts/test-runtime/module-cache/vitest-module-cache-resolution-key.ts",
"../src/main/**/*",
"../src/cli/runtime/connection/transport.ts",
"../src/cli/runtime/connection/types.ts",
"../src/cli/runtime/connection/runtime-access-denied.ts",
"../src/cli/runtime/connection/runtime-pid-liveness.ts",
"../src/renderer/src/store/slices/worktrees/create/worktree-create-payload.ts",
"../src/renderer/src/runtime/repo-hooks/orca-hook-trust.ts",
"../src/renderer/src/runtime/agent-status/renderer-status-sender.ts",
"../src/renderer/src/components/browser-pane/navigate/browser-page-download-activity.ts",
"../src/renderer/src/components/browser-pane/host-guest/browser-guest-activity.ts",
"../src/renderer/src/components/browser-pane/host-guest/browser-guest-page-retention.ts",
"../src/renderer/src/components/browser-pane/host-guest/browser-guest-priority-index.ts",
"../src/renderer/src/components/native-chat/native-chat-resolution-receipt.ts",
"../src/renderer/src/components/native-chat/structured-agent-question-projection.ts",
"../src/renderer/src/components/native-chat/session/structured/delivery/structured-agent-session-pending-sends.ts",
"../src/renderer/src/components/native-chat/queue/structured-agent-session-queue-request.ts",
"../src/renderer/src/components/native-chat/native-chat-composer-primary-action.ts",
"../src/renderer/src/components/settings/accounts/codex/codex-account-auth-warning.ts",
"../src/renderer/src/components/terminal-pane/pty-transport/legacy-relay/legacy-relay-bridge-panes.ts",
"../src/preload/**/*",
"../src/shared/**/*",
"../src/packages/process-host/src/__fixtures__/**/*",
"../src/wsl-guest/**/*",
"../src/types/**/*"
],
"exclude": [
"../src/main/runtime/orca-runtime-tests/browser-page-inventory.test.ts",
"../src/main/runtime/orchestration/terminal-authority/structured-sessions/structured-chat-coordinator-mail.test.ts",
"../src/main/github/pull-requests/refresh/pr-refresh-coordinator-local-delivery.test.ts"
],
"compilerOptions": {
"composite": true,
"rewriteRelativeImportExtensions": true,
"types": ["electron-vite/node"]
}
}