Expand description
Adapter for Claude Code sessions (~/.claude/projects/
Structs§
Functions§
- encode_
project_ path - Claude Code encodes the project path by replacing path separators and ‘.’ with ‘-’. e.g. /home/g/repo/x -> -home-g-repo-x, C:\Users\g\app -> C–Users-g-app
- extract_
text - Extracts text from a session jsonl line. None for non-message, corrupted, or empty lines (tolerant parsing).