Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.265 ·

SDK query() and remote sessions gain a separate stdin lane

The SDK's query() and remote/bridge session IO now support a distinct stdin lane apart from the initial prompt

Group of 2 Under the hood No documentation found Internal Changes
JSON All of v2.1.265
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SessionsArea: what it touches
Internal ChangesKind: in v2.1.265,
Internal ChangesSection of the release

Unclear What stdinLane does and how it affects remote session behavior is not specified in the finding.

What

The class driving a remote (bridge/cloud) session's stream-json IO now accepts a new stdinLane constructor option, alongside the existing streamUrl, initialPrompt, sessionState, and similar options. The SDK's query() function, which builds either a local or remote-controlled query stream, now keeps the initial string prompt separate from a raw async-iterable/generator input, passing the latter through as this new stdinLane rather than always coercing all input into a single combined async generator.

Why

Separating the initial prompt from ongoing stdin input lets remote/bridge sessions handle streamed input more flexibly instead of forcing everything through one merged stream.

Read from
Names in the bundlestdinLane
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat `stdinLane` does and how it affects remote session behavior is not specified in the finding.

See this entry in the whole of v2.1.265 →

Feedback