Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.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

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaSessionswhat it touches
KindInternal Changesin v2.1.265,
Group of 2 Under the hood No documentation found

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

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