Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

SDK turn interruptions document a new 'restart' reason, and usage-limit checks project cost

The SDK message for an interrupted turn now documents a 'restart' reason, and a usage-limit check now projects a run's token cost against the limit

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

Unclear It is not clear whether Claude Code actually sends the 'restart' reason yet or only describes it.

What

The Agent SDK, the toolkit for building apps on top of Claude Code, has a message called turn_preempted that reports why a turn was cut short. Its description previously listed only rapid_followup. It now also lists 'restart', described as a message marked may_restart_turn that was waiting while a model request in the turn had shown nothing but thinking.

Separately, a check against your usage window now estimates what a run will cost, as a percentage of the limit per million tokens, and compares that with the limit. Before, it looked only at the percentage already used.

Why

Apps built on the SDK that handle interrupted turns may need to expect the new 'restart' reason.

Read from
Names in the bundleturn_preempted
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 doubtIt is not clear whether Claude Code actually sends the 'restart' reason yet or only describes it.

See this entry in the whole of v2.1.333 →

Feedback