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.285,
Internal ChangesSection of the release
What
The SDK is the library for running Claude Code from your own programs. The maxTurns option caps how many turns a run may take, and Claude Code now normalizes this value into a standard form before using it.
The SDK's output stream also now keeps track of two things:
whether a turn ended without the model being called
any error text that came before such turns
Why
This affects how errors are reported to programs that use the SDK.