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.282 ·

SDK output format checks now start only after the session goes idle

Sampled checks of SDK output against its expected format now wait until the first result is written and the session is idle

Under the hood Internal Changes
JSON All of v2.1.282
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SDKArea: what it touches
Internal ChangesKind: in v2.1.282,
Internal ChangesSection of the release
What

When Claude Code runs under the SDK (the programming interface for driving Claude Code from other software) or with --print, it occasionally checks a sample of its output messages against the expected output format. Building the description of that format used to happen right away, every time a sampled message was written.

Now the format description is built later, on a timer that starts after the first result message is written, and only while the session is idle. Sampled checks run only once it exists. If building it fails, the failure is logged and checking stays off until the next attempt.

Why

This takes a costly step out of the path that writes output, which should keep SDK and --print sessions from slowing down on it. The trade-off is that messages written before the first idle result are no longer checked.

Read from
Names in the bundle--print
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up --print, on Error reference. | `Error: --agents takes a JSON object, or a file path only with --print (-p)` | [Command-line errors](#invalid-agents-configuration) | errors see the edit
Added since A small documentation edit on CLI reference touched a line naming --print after this was published. | `--bg`, `--background` | Start the session as a [background agent](/docs/en/agent-view) and return immediately. Prints the session ID and management commands. Combine with `--exec` to run a shell command as a background job instead of a … cli-reference see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesA small documentation edit on CLI reference touched a line naming --print after this was published.

See this entry in the whole of v2.1.282 →

Feedback