How to Parse and Import Claude Code Chats: Paths and Extraction
Locate Claude Code session paths, parse JSONL message blocks and tool events, and handle incremental sync edge cases with test fixtures.
8 posts tagged "Data parsing".
Locate Claude Code session paths, parse JSONL message blocks and tool events, and handle incremental sync edge cases with test fixtures.
Follow ChatCrystal relevance checks, content extraction, and tag cleanup to distinguish top-level filtering from nested thinking and tool flags.
Check source directories, event extraction, and snapshot boundaries in ChatCrystal, then verify each adapter against a conversation you know.
Profile memory peaks in large chat imports with sql.js and task queues. Size batches from reproducible benchmarks instead of arbitrary fixed thresholds.
Trace how ChatCrystal joins Cursor SQLite data, discovers orphan sessions, and extracts messages, then verify the import with a known conversation.
Check paired databases, key prefixes, unknown versions, and orphan discovery to distinguish unreadable data, parsing omissions, and absent records.
Connect to Baidu PaddleOCR-VL using Python standard library: manage async polling, coordinate bounding boxes, and build a document proofreading UI.
Parse Claude Code, Codex, Cursor, Trae, and Copilot chats, comparing how JSONL messages, event streams, SQLite KV stores, and database snapshots differ.
Explore ChatCrystal, developer tools and daily learning notes on my GitHub. Questions about the implementation are welcome.