Problem
redacted_thinking and mcp_tool_use blocks return None from block_to_message and vanish from token totals, undercounting context.
Where
src/ctxlens/parsers/util.py via claude_code.py (unknown blocks dropped silently).
Acceptance
Add a failing test first parsing a transcript with a redacted_thinking block, expecting it retained (e.g. as thinking/user text). Then fix.
Problem
redacted_thinkingandmcp_tool_useblocks returnNonefromblock_to_messageand vanish from token totals, undercounting context.Where
src/ctxlens/parsers/util.pyviaclaude_code.py(unknown blocks dropped silently).Acceptance
Add a failing test first parsing a transcript with a
redacted_thinkingblock, expecting it retained (e.g. as thinking/user text). Then fix.