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