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
Provides both automated repair and manual diagnostic tools for Claude Code sessions corrupted by streaming interleaving in JSONL files. Offers two strategies: targeted `fix` that patches detected thinking-block corruption patterns, or `nuke` that strips all thinking blocks while preserving conversation text and tool traces. Integrates directly with Claude Code's session storage (`~/.claude/projects/`), includes automatic backup creation, and includes diagnostic output pinpointing exact message indices where interleaved chunks caused signature mismatches.
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
Pruthil123/claude-code-manager
🗂️ Manage all your MCP servers, skills, commands, and documents in one place across projects for...
blas0/UnseveredMemory
Simple, organic, lightweight yet purposeful memory system for Claude Code.
BMC-INC/Iron-mem
Persistent session memory for AI coding assistants. IronMem silently records your coding...