* fix(claude): read thinking tokens into the reasoning breakdown
Claude rows carry output_tokens_details.thinking_tokens, but reasoningTokens was always 0. Read it so the token breakdown shows thinking. Claude is in REASONING_INCLUDED_IN_OUTPUT, so billed output and cost are unchanged. Bumps the Claude parse version so cached calls re-parse.
* docs: note the thinking-tokens parse suffix
Claude Code writes one JSONL line per content block, so a message that
calls several tools in parallel spans several lines with the same message
id. dedupeStreamingMessageIds kept only the last line, which has the right
usage but only the last tool_use, so the earlier calls were missing from
the tool, MCP and shell breakdowns, turn classification, edit line counts,
tool errors and PR link evidence. On a real 7-day sample main counted
59,765 tool calls where the transcripts hold 69,376.
The last line is still the one kept. The tool_use blocks of the earlier
lines with the same id are put back in front of its content, matched by
block id, so the older shape whose final write restates every block (#110)
is not counted twice. The claude parse tag gets streamed-tool-blocks-v1,
so cached sessions re-parse once.
Calls, tokens and cost do not change; activity turns, edit and one-shot
counts and the by-PR split do. DAILY_CACHE_VERSION is not bumped (v77 is
the last bump the zstd split can carry), so days the daily cache has
already settled keep their old activity split until the next bump
re-derives them.