Pairs tool_use and tool_result blocks by ID into tool-call reports, keeps the latest session_id, takes the run's usage from the result event and falls back to per-message usage, counted once per message ID, for a run killed before its result. Tested on streams recorded from Claude Code 2.1.282 and scrubbed of host detail.