From 4a1b92f50dfd05b35c4ea84aecab8be52732373d Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Thu, 12 Nov 2026 21:50:06 -0800 Subject: [PATCH] Correct subscribe comment: the opening snapshot follows the reply --- .../subscriptions/structured-agent-session-subscribe-method.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/runtime/rpc/methods/structured-sessions/subscriptions/structured-agent-session-subscribe-method.ts b/src/main/runtime/rpc/methods/structured-sessions/subscriptions/structured-agent-session-subscribe-method.ts index 8e3046fb5cc..37131187ad3 100644 --- a/src/main/runtime/rpc/methods/structured-sessions/subscriptions/structured-agent-session-subscribe-method.ts +++ b/src/main/runtime/rpc/methods/structured-sessions/subscriptions/structured-agent-session-subscribe-method.ts @@ -29,7 +29,7 @@ export const STRUCTURED_AGENT_SESSION_SUBSCRIBE_METHOD = defineStreamingMethod({ if (stream.isClosed()) { return } - // Resolve after opening snapshot/missed batch; a racing close disposes the bound stream. + // Resolve once registered; the opening snapshot follows on the stream. A racing close disposes it. dispose = await host.subscribe({ commandsOnRequest: clientRequestsCommands(ctx), readsCurrentRequests: clientReadsCurrentRequests(ctx),