Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

SDK string prompt is written only after initialize

When the SDK is given a plain text prompt, it now waits until setup has finished before sending it, and a failed send stops the query

Entry
JSON All of v2.1.281
EntryKind: in v2.1.281,
ChangesSection of the release
What

An app using the SDK can start a query by giving Claude Code a plain piece of text as the prompt. Before this change, that message went straight onto the transport, which is the connection between the SDK and the Claude Code process. It is now sent with writeAfterInitialize(...), so it goes out only after the initialize step (the opening handshake between the two sides) has finished. If sending it fails, the query is aborted.

Why

The prompt is no longer sent before Claude Code has finished setting up to receive it. A failure to deliver it now ends the query outright.

See this entry in the whole of v2.1.281 →

Feedback