Skip to main content

parse_claude_stream_json_full

Function parse_claude_stream_json_full 

Source
pub fn parse_claude_stream_json_full(path: &Path) -> Result<TranscriptSummary>
Expand description

Parse the event stream into a full TranscriptSummary. Final text, duration, and token totals come from the terminal result event; on a missing or errored result the final text falls back to the last assistant message’s text, and duration/tokens fall back to None.