What
When a turn is stopped, Claude Code now records where the stop came from:
- A stop from Remote Control now passes
sentByand alabelbuilt fromsourceandisSendNowwhen it cancels the turn. cancelnow carriessentByand alabelwithreason: "stop", and passes them on to the interrupt.- In the SDK, the toolkit for building programs on Claude Code, the interrupt request accepts a
label, and control requests now carryisSendNowandsource.
Also changed alongside:
- Hooks, code that runs when something happens in a session, can now be registered after the session has started. Claude Code logs
hooked in session.start, orlate hooks droppedif it cannot take them. Before, the hook list was fixed when hooks were registered. - The Claude API skill docs bundled with Claude Code add
shared/harness-audit.md.
Why
A stopped turn can now be traced back to what stopped it. Plugin authors can register hooks that arrive late instead of having them ignored, and should watch for the late hooks dropped message.