Expand description
Where a turn starts in a Claude stream-json transcript.
Functions§
- is_
claude_ turn_ start - Whether
linestarts a turn in a Claude stream-json transcript: the same rule as the frontend’sClaudeTranslator.handleUserMessageproducing auser_message— auserrecord whose content is a non-empty string, or an array with an image and some text and notool_result(a text-only array is how the CLI records “[Request interrupted by user]” and other meta lines, never rendered as a turn).