What
A turn is one round of you sending a message and Claude answering. Claude Code now publishes how the last turn ended as lastTurnEnd.
- The value is
stopped,completed, or a failure with an error kind. The failure text is the first non-empty line of the error, falling back toTurn failed. - Cancelling a turn publishes
stopped, and an error thrown during a turn is now noted. - A new conversation resets
lastTurnEnd, and a resumed session publisheslastTurnEnd: null. - At the start of each turn the session now records it (
turnStarts) and counts it inpromptMarks. - Resetting the conversation now signals whether it was rewound or replaced.
Other small changes came with it:
- Toast notifications (short pop-up messages) now sort ones not from managed settings ahead of managed ones.
- Matching a plugin's scope during install now uses a shared helper.
- An internal marker pattern now accepts two markers.
- The worker's list of commands now also includes commands from
slash_commands. - Two internal duration helpers no longer take a budget-information input.
Why
Programs and screens showing Claude Code can now tell a failed turn apart from one you stopped or one that finished normally.