You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.324,
ImprovementsSection of the release
What
Apps that drive Claude Code through the Agent SDK (a library for building on Claude Code) receive a result message at the end of each turn. It can now carry an optional restored_rewind field holding request_id and last_message_uuid.
The field is set when a usage limit refused the turn and a rewind made with rewind_conversation and restore_if_usage_limited was restored.
Why
An SDK app can now see from the result itself that a rewind was restored because of a usage limit, and which request and message it relates to.