miteshashar/claude-code-thinking-blocks-fix
Fix Claude Code 'thinking blocks cannot be modified' API errors caused by streaming interleaving corruption in session JSONL files
This tool helps Claude Code users recover from a specific, frustrating API error: "thinking blocks cannot be modified." When your Claude Code session unexpectedly gets stuck and every message fails, this tool diagnoses and repairs the underlying corrupted conversation history. It takes your unrecoverable session file as input and outputs a repaired version, allowing you to resume your coding work without starting over.
Use this if your Claude Code session is bricked by the "thinking blocks cannot be modified" error, and you need to salvage your valuable conversation history to continue your work.
Not ideal if your Claude Code session is experiencing errors unrelated to thinking block corruption or if the session file is severely damaged with invalid JSON lines.
Stars
9
Forks
1
Language
Python
License
—
Category
Last pushed
Feb 14, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/miteshashar/claude-code-thinking-blocks-fix"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
bitjaru/codesyncer
Claude forgets everything when the session ends. CodeSyncer makes it remember.
celstnblacc/pencil-sync
Bidirectional sync between Pencil.dev designs and frontend code via Claude Code
blas0/UnseveredMemory
Simple, organic, lightweight yet purposeful memory system for Claude Code.
ITeachYouAI/claude-session-skill
Search, browse, and resume past Claude Code sessions with AI-generated summaries
poma-ai/megavibe
Give Claude Code a memory that never dies. Persistent context, automatic recovery, remote access.