Skip to content

Calm chat plane: one scroll owner + native @tanstack/ai stack - #597

Merged
omridevk merged 290 commits into
mainfrom
calm-chat-plane
Oct 29, 2026
Merged

omridevk merged 290 commits into
mainfrom
calm-chat-plane

Conversation

@omridevk

@omridevk omridevk commented Aug 30, 2026 •

Copy link
Copy Markdown
Contributor

Calm chat plane

Spec: docs/superpowers/specs/2026-08-26-calm-chat-plane.md. 251 commits, phases 0/1/3/2 (2.b cut). One sentence: the chat plane now streams calmly and runs on @tanstack/ai's native stack end to end - their transport, their run store, their sandbox durability - with our parallel implementations deleted.

Phase 0+1 - harness & upgrade

Calm characterization harness (12 blocking gates), @tanstack/ai family 0.43→0.51, one-tree thread.

Phase 3 - calm surfaces

One scroll owner: the TanStack virtualizer owns every scroll write (stick-to-bottom package deleted, five competing writers removed); one-shot landing, cause-driven follow; reload lands at the end, a released reader is never yanked. Trace perf: grouper O(n), diff pacing, Firefox p90 9.3ms. Fold-on-send, settle chip, stable message ids.

Phase 2 - deletion ladder onto @tanstack/ai

Audited every parallel we had against upstream, then deleted in order:

  • Stores: SQLite RunStore/MessageStore/MetadataStore on the ai-persistence schema; chat_threads is the single record of a session (write-time CLI transcript import, msgid dedupe, compaction re-anchor).
  • Sandbox: withSandbox with runs+durability; run journals scoped to the server state root; local-process provider patched so destroy actually kills the process tree (Stop kills the CLI).
  • Liveness: the run record is the only source; live-runs map, run-driver registry, and every session-keyed map deleted. A run cancels itself by polling its own record; stop = record intent + await terminal.
  • Transport (2.c): chat rides /chat-ws (their WebSocket stream) with /chat-sse fallback; oRPC rides fetch only; /rpc-ws, the probe stack, partysocket, chat.send, chat.subscribe, and the per-run MESSAGES_SNAPSHOT are gone. chat.hydrate (+ pending approvals, last run) is the reload story; a per-tab /push-ws carries page queries and out-of-band asks (fixes 6-tab HTTP pool starvation).
  • Tools: TanStack naming (zod-enforced), one tool per verb (26→17), twin invalidate/refetch collapsed.

Bugs found & fixed on the way (each with failing-first tests)

  • Session switch re-suspended the live pane via a tracked useQuery().data read under the router's Match Suspense → pane detach/re-insert → scroll stranded at top. Query hoisted above the boundary; the scroll owner now also survives ANY viewport re-insert (preserve-reader-anchor vs resume-following).
  • A stopped client never learned its run ended (terminal chunk wasn't published to the session stream) → stuck Stop button.
  • Unmount leaked the chat socket; the widget bundle carried a node shim that broke mounting; run journals replayed stale bytes across suite runs; the mascot stopped narrating foreign-client runs.

Testing

~90 tests rewritten to the real one-step turn surface (no fake attach+send); five subscribe ITs re-homed claim-for-claim onto hydrate+joinRun; embed e2e rewritten around one chat socket per tab; every fix carries failing-first evidence and a revert-check. Full gate green: 109/109 turbo tasks + typecheck/lint/format/fallow/changesets.

Follow-ups (tracked, deliberately out)

panel-view-tabs hollow gate repoint; PendingPane micro-flash (needs a repo-wide non-suspending read pattern decision); journal sweep on dispose; rpcWebsocketRoute fate (test-only consumers now); chatBusy collapse onto the run record; virtualizer re-arm on reconnect guarantee; out-of-band ask mount race (attach-window vs plain timeout); clearScript drain wired into the other scripted suites; notifyRunDisconnected unreachable (detach written from core; sandboxKey unstamped on viewer departure); durable log truncates on disconnect (hydrate covers reload); recorder frame-splitter fate; unused @orpc/standard-server* catalog entries.

🤖 Generated with Claude Code

Issues

Refs #589: resolves T1, T11 (A+B), T6, TC, T13, T20 (hydrate+joinRun replaces subscribe replay; the run record is the only liveness and status source; refresh coordinator; one parentToolCallId stamp on the chat and MCP paths).
Refs #206: chat.send removed and pending approvals ride chat.hydrate; native needsApproval continuation still not wired (approvals remain on chat.permissionDecision).
Refs #409: concurrent-send T9 and rebind.it rewritten onto the new transport; two load-only flakes closed (e3407b9).

omridevk and others added 30 commits August 23, 2026 12:28
… gate

A code-mode approval could not be answered after a refresh. The synthetic
conciv:tool_call chunks travelled isolate -> chat stream -> stream fold ->
run controller, while the gate appended its approval-requested chunk to the
same durable log directly, so the log held an approval for a tool call it had
not announced yet. The server-side replay that rebuilds a resubscribing
client's snapshot dropped it and the part came back as input-complete.

The run now hands code-mode tools an emitter that folds each conciv:tool_*
event into chunks and appends them at emit time, which is before the gate is
consulted, so true order holds by construction. The stream fold no longer
expands those events, so nothing is written twice. The approval keeps the
inner tool call's id.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ace row asks it

The row used to guess whether to frame a card body from raw arguments and result
text, which framed empty bodies and hid real ones. ToolCardEntry now requires a
hasEmbeddedBody predicate, extension tools register a {render, hasEmbeddedBody}
card view, and ToolTraceRow mounts the card either inside the frame or as a bare
header sibling on the single universal path.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The Ark Tabs switcher landed with only unknown-view-restore swept, so the
remaining embed ITs still asked for role=button/aria-pressed on view tabs;
they now use role=tab/aria-selected as that lane established.

The launcher lane made the mascot answer for the active session alone, so
switching sessions mid-run leaves it asleep. That test now asserts the quiet
launcher and the running marker on the old session's picker row, which is what
its title promised all along.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The anchor lane used the merge-repeat test as its template, so once both were
on the branch fallow saw three introduced clone groups. The boot, cleanup and
fresh-attach-snapshot boilerplate now lives in one helper; both tests keep
their own assertions.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The pinned now-line rendered as a full-width pill slab with an
invisible ring spinner and a body-font label, so the working state
read as an unstyled placeholder between the transcript and the env
footer.

- Rebuild NowLine on the retired ThinkingSpinner's vocabulary: the
  10-frame braille glyph at 90ms in the accent color, a mono micro
  label at the trace gutter, no fill and no border. Reduced motion
  freezes the glyph visible at the full-dot frame.
- Mount it as the last row of the running turn's chain group through
  a new Trace `now` slot that only renders while the trace is open,
  so the collapsed line stays the single narration when folded.
- Keep the pinned copy above the composer for the late-join window
  where no streaming turn is mounted, gated so the two mounts never
  render at once.
- Animate the label swap: the old activity leaves upward with a fade
  and a hairline blur while the next enters from below, glyph fixed,
  container height fixed, instant under reduced motion.
- Give the optional inline Stop a mono text face matching the
  composer's trailing controls.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Every visually truncated label in the widget now shows its full content on
hover, and only when it is actually cut off. TruncatedText measures its own
box at the moment the tooltip is asked to open, so text that fits stays
quiet and no per-row measurement state or resize observer is needed.

The reveal is gated on what renders rather than on Ark's controlled `open`,
because zag's instant-open branch for a second tooltip
(tooltip.machine.mjs, closed -> pointer.move) carries no isOpenControlled
guard and cannot be vetoed through the prop.

Adopted across the trace rows, tool card headlines, value chips,
page-session steps, search results, the panel title, the status bar view
labels and the session selector. The selector's bar variant also gets the
min-width chain it was missing, so a long session title no longer escapes
the rail popover and overlaps the chevron.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Three live-tested failures on the narration line.

The hand-rolled overlay stacked the outgoing and incoming labels in one
absolutely positioned box and relied on a fill-mode visibility keyframe
to hide the old one, so titles arriving faster than the animation piled
up into unreadable text like "Bespondingtypescript".

- Drive the swap with Ark Presence (lazyMount + unmountOnExit) over a
  bounded two-entry list, so an outgoing label always unmounts once its
  exit finishes and a third can never exist. When a title arrives while
  a swap is in flight the line cuts straight to the latest and skips the
  animation, so sustained churn settles instead of strobing. Reduced
  motion replaces in place with a single element.
- Make the swap a vertical slide inside a clipped line box: the old text
  leaves the clip region upward while the next rises into it, so the two
  are never legible on top of each other.
- Drop the blurred keyframe. It animated `filter` on text every swap,
  which is the paint-heavy path; both keyframes now move transform and
  opacity only.
- Move the fallback narration out of Thread.Composer and into the
  transcript flow where the retired ThinkingSpinner sat. The composer
  slot lives below a flex-1 scroll viewport, so on a short transcript
  the line was stranded a viewport's worth of empty space away from the
  last content.

Presence takes an optional `motion` prop so a caller can supply its own
enter/exit pair as literal classes; the default is unchanged.

Verified in Firefox (Omri's browser): at most two labels ever, one line
apart, and zero dropped frames over 360 frames of 90ms churn.

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

Ark's JsonTreeView mounts every row up front and only hides collapsed
branches, so a page_snapshot result put ~970 tree rows in the DOM and
opening one branch took ~2.6s. VirtualJsonTree drives the same Ark
tree-view machine through useJsonTreeView and renders only the rows in
the scroll window with @tanstack/solid-virtual: 21 rows in the DOM and
~85ms to open the same branch.

Key and value markup still comes from @zag-js/json-tree-utils, so the
rendered text, previews and type colours are unchanged, and the shared
.json-tree preset styles both control and item rows as before.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
A card header that carries titleTooltip is already wrapped, in full, by its
own Tooltip.Trigger (collapsible-card CardTrigger), so the TruncatedText I
put in the headline slots nested a second tooltip inside the first. zag
keeps a single global open slot, and the inner machine claims it even when
the reveal declines to render, leaving the card silent: hovering a card
echoed back the title already on screen instead of explaining what the tool
did, and meta-tool-card's Title Tooltip story failed outright.

The rule is one tooltip per hover target. ToolCard now reveals its headline
slots only when no titleTooltip claims the header, and page's SessionHeader
- a custom header deliberately mounted inside that tooltip - goes back to
plain spans. Step rows inside the card body keep their reveals.

The story was right and stays untouched: it hovers the title and expects the
tool summary, which is a description of the tool, not the title text, so
making the title clip would have revealed the wrong string.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The line blinked as tools came and went. Two mount points split the job:
the chain group rendered a narration row while its segment was streaming
and the trace was open, and the transcript copy rendered on
`narrating() && !chainNarrates()`. Streaming moves the last part between
thinking, tool-call, and text, so the two gates traded places at every
boundary and NowLine unmounted and remounted across the handoff, resetting
the spinner. When a run streamed a thinking part with the trace collapsed
neither gate held and the line vanished outright.

- Drop the Trace `now` slot and the chain group's narration entirely. The
  chain group is back to rendering trace rows only.
- Mount exactly one NowLine, in the transcript flow after the last
  message, gated only on `narrating()`. That condition no longer looks at
  part types, so a single non-keyed Show holds the same subtree for the
  whole run: no handoff, no gap, no spinner reset. `chainNarrates` and
  `lastPartJoinsChain` are gone.
- Pull the row up into the assistant turn's trailing padding when it
  follows one, so it still reads as the last row of the column above it.

The scripted harness could not reproduce this: it emitted no thinking
parts and streamed a whole turn in one tick, so the last part was never
observably a chain member. It now takes a `thinking` string and has a
gate that parks the run right after the thinking part, which is what
makes the regression test fail on the old code.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…fps in Firefox

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

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…into custom event values

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Encodes the calm contract as a real-browser suite over the nine
scripted-run scenarios. Every invariant assertion stays executable and
is marked test.fails, annotated in the test name to the mechanism it
documents, so CI stays green while the failures are quoted.

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

Adds a holdResults/releaseResults gate between a tool call's request
chunks and its result, mirroring the existing tool gate, and flushes
queued custom events while the call is still unresolved so an
approval-requested event can be scripted the way the real gate emits it.

The calm harness uses that hold point to observe surface identity before
a result lands: six scenarios now fail surface immortality, not only the
layout-shift gate.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
# Conflicts:
#	apps/examples/tanstack-start/conciv/extensions/deploy-button.tsx
…est IIFEs

Adds an eleventh scenario: a thread that crosses virtualizeThreshold
while a run streams unmounts surfaces the user is looking at. The
virtualization allowance only excuses surfaces outside the viewport, so
the harness pins the scroller to a real height first — without that the
viewport never scrolls in this fixture and the allowance is vacuous.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Main lowered the threshold to 15 and renamed the message marker, so the
harness reads virtualizeThreshold.value instead of hardcoding turn counts
and matches on data-conciv-msg. Re-exports virtualizeThreshold from the
ui-kit-chat index so apps/conciv tests can reach it without a
cross-package relative import.

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

VIRTUALIZE_THRESHOLD replaces the mutable {value} object. The virtual
thread suite no longer reassigns the threshold in beforeEach; it seeds
relative to the constant and derives the message indices it asserts on,
so the counts follow the threshold instead of restating it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ement is in the document

createThreadVirtualizer called _willUpdate() from a createComputed that
runs during Solid's setup pass, while a route-owned thread subtree is
still detached. virtual-core resolves targetWindow from
ownerDocument.defaultView at that moment and caches it, and it only
re-resolves when the scroll element identity changes -- so a detached
first bind left targetWindow null, observeElementRect returned before
installing its ResizeObserver, scrollRect stayed 0x0, calculateRange
returned null for a zero outerSize, and getVirtualItems returned an
empty list forever.

getScrollElement now reports the element only while it is connected, so
the null-to-element transition happens after insertion and virtual-core
observes it for real. The binding re-runs on resize, which is what
carries a thread inserted before it is laid out.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Messages swapped a flat list for a virtualized one the moment a thread
reached VIRTUALIZE_THRESHOLD turns, remounting every turn root mid-
conversation and losing the scroll position that swapAnchor then had to
restore. VirtualMessages now runs at every length: below the threshold
overscan covers the whole list so nothing is windowed out, and at or
above it eviction behaves as before. FlatMessages, the mode memo, and
the whole swapAnchor/captureAnchor path are gone; a top-anchored
viewport still renders unvirtualized through PlainMessages.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
omridevk and others added 5 commits October 29, 2026 17:44
…scroll position

A reader parked at the end lost the follow for the rest of a stream whenever
the thread got shorter for a moment: the browser clamped scrollTop, the scroll
event saw an offset that no longer matched the landing, and dropped it. If the
reply grew again before that event ran, the reader was no longer at the end
either, so nothing re-landed. Two causes are fixed.

The appended live row was estimated at 72px until measured; a new prompt or an
empty reply measures far less, so every append shrank the thread by 30 to 50px.
The live row now starts at 0 and only grows once measured.

Sub-pixel settles still shrink the thread by a pixel, so release is now driven
by reader input instead of distance. The pointer hold state becomes one reader
input state (untouched, holding, touched): wheel, touchmove and keydown on the
viewport mark it touched, a landing resets it, and a scroll that leaves the
landing without input since then re-lands on the end instead of releasing.

The estimate calibration sweep scrolled by writing scrollTop, which is not a
reader; it now wheels up like one.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…gle on screen

After a 200px wheel the trace toggle sat 3px below the 600px viewport, so the
click scrolled it into view and moved the reader before the fold ran. A 170px
wheel keeps the toggle fully visible while leaving more room below the viewport
than the fold removes, so the fold never clamps the reader either. 100px kept
the toggle visible but put the reader inside the fold's height of the end, and
failed 5 of 5 under 6x CPU throttling.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The key regex accepted any indentation after the first two spaces, so a key
nested inside a package entry (a peerDependenciesMeta line such as ajv) counted
as a registry package and failed the guard on CI against a committed lock that
resolved it one level deeper.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Opening the answer with TEXT_MESSAGE_START gave the chat processor a message id
it had not seen: it renamed the message it had lazily created for the tool
calls, so every surface keyed on that message (the trace card, its rows) was
unmounted and mounted again when the answer began, and nine calm-contract tests
reported removed surfaces. Tool calls now name the turn's message as their
parentMessageId, so the message carries one id from the first tool call to the
last answer chunk.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The calm contract keeps every mechanism assertion (removed, drifted, narration,
shifts above the live region, scroll drift, catch-up distance, row index, node
churn) and stays in pnpm test. The frame-gap budgets (p95 at most 20 ms, at most
two frames over 33 ms) now live in calm-perf.browser.test.tsx, which drives the
same three scenarios (multi-tool run, virtualization boundary, streamed code
block) through helpers/calm-session.tsx, shared with the contract. The perf file
runs only in vitest's perf mode: pnpm --filter @conciv/app test:perf.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The appended live row was estimated at 0px until measured. A thread whose
viewport takes its height from its content then never rendered a single
message: the viewport measured 0px tall, virtual-core computes no range for a
0px viewport, so no row mounted and nothing was ever measured. Every
single-message story and widget test rendered an empty thread, and a reader
parked above the end of a shrinking thread settled 8px short of the new end
because the clamp happened against the under-estimated height.

Follow across a browser clamp is carried by the reader-input release logic
alone, which the thread tests already cover.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
omridevk and others added 2 commits October 29, 2026 19:11
… reads a stale group

The settled regroup of a code-mode page run (reply text streamed into the
same message) turns the session card's old list slot into the reply part.
Index kept that slot and flipped its Switch, so the card's memos re-ran
before the Match disposed them and read the narrowed group accessor:
"Stale read from <Match>", swallowed by the router error boundary.
Keying the node list by type and node key disposes a slot whose node kind
changes before any of its descendants re-run.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ity too

Same hazard as the styled thread: a settled regrouping can turn a slot from a
group into a part while a descendant memo is already queued, and an index-keyed
list lets that memo read the disposed group. Key the slots by node kind and key
so the list disposes the old slot before any child re-runs.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@omridevk
omridevk merged commit d07737b into main Oct 29, 2026
27 checks passed
@omridevk
omridevk deleted the calm-chat-plane branch October 29, 2026 17:31
omridevk added a commit that referenced this pull request Oct 31, 2026
Since #597 a settled page session in the latest turn stays open. The click
that used to open it now starts the close, and the Script click only worked
when it beat the 200ms close animation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
omridevk added a commit that referenced this pull request Oct 31, 2026
…mps instead of 300 wheel steps (#671)

The ResizeObserver loop case swept the 80-turn thread upwards in 800px and
200px wheel steps, about 300 userEvent.wheel round trips and 27s locally,
which timed out at 30s on CI. It now jumps to the first turn and back to the
last, two full re-windows through the card-heavy turns, in about 1s. With
the trace clamp measuring inside its ResizeObserver callback again (the bug
this case was written for in #597) the new version still fails with the
loop error, five runs out of five.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
omridevk added a commit that referenced this pull request Nov 1, 2026
…on card (#676)

The page session card is born open while its message is the last one (autoOpen,
folded only once a later message exists), so the test's click on the card
header toggled it closed. The step text and the Script trigger stayed hittable
only during the 200ms collapse, so the Script click raced the animation and,
once the card finished closing, timed out on an invisible target. Assert the
card is expanded instead of clicking it, the same fix #597 applied to the
session-card stories.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
omridevk added a commit that referenced this pull request Nov 1, 2026
#667)

* fix(recorder): finish the session of every queued stop

A stop queued behind a pending control saw the newer start in store.live()
and returned, so the next start reused the old recorder and config. Stops now
always finish their session, in order, and the newer start opens a fresh one.
The latest-live check stays on pending startup only.

The slow capture test no longer pins one config call: when the second start
overtakes the rrweb load, the stale session is built and finished before the
fresh one, which is two.

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

* fix(recorder): log failed controls instead of discarding them

The control queue swallowed every rejection. A failed control now logs with a
[conciv] recorder prefix and the queue keeps running later controls.

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

* fix(plugin): detect only real meta tags for the widget settings

The pattern also matched other tags with that name and text in comments or
scripts, which dropped the injected settings. It now reads only <meta> tags
with the exact name attribute, skipping comments and script contents.

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

* test(embed): stop closing the session card before reading its script

Since #597 a settled page session in the latest turn stays open. The click
that used to open it now starts the close, and the Script click only worked
when it beat the 200ms close animation.

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

* fix(contract): keep the abort of a node rpc stream alive after GC

orpc hands fetch a Request built with the caller's signal. undici follows that
signal through an AbortController it only holds weakly, so once the Request is
collected the listener is gone, and aborting never reaches the running fetch.
Hand the signal to fetch directly on every node link.

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

* test(ui-kit-chat): sweep the virtual thread in one wheel gesture

Each userEvent.wheel call re-hovers the log before scrolling. Per call that
costs about 50ms of hover plus 20ms of wheel, so the 300 single-step calls of
the card-heavy sweep spent 26s of the 30s budget. On a loaded CI runner it
went over. When it timed out, the loop kept wheeling the next tests' threads.

One call with times: N sends the same deltas without the hovers: 6.7s.

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

* test(recorder): drive queued controls through the real control emitter

The queued-stop test no longer fakes the control stream. It holds the page's
real config request, sends start, stop, start through the presence RPC, then
releases the request. It still fails on the old store.live() guard (one
config call instead of two).

The thrown-control test is gone: the only control that throws is a snapshot
while rrweb is paused for a hidden tab, and headless Chromium never reports a
hidden page (bringToFront and window minimize both leave it visible), so it
could only run by stubbing document.visibilityState.

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

* Drop the stricter meta regex and name the packages this PR changes

The stricter regex could backtrack for seconds on a short <meta> tag. Main's simple name check stays: a wrong match needs our own conciv-widget name in a comment or on a non-meta tag.

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

* Keep failed recorder uploads queued across a stop and the next start

One flusher per booted recorder instead of one per capture session, so
events whose send fails during a stop stay ahead of the next session's.

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

* Cover makeRpcClient aborting an event stream after its request was collected

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

* Cover makeSessionBoundRpcClient aborting an event stream after its request was collected

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

3 participants