Expand description
The Claude Code adapter: ~/.claude/projects/**/*.jsonl.
The transcript schema is undocumented and drifts between releases, so this
parser is deliberately tolerant: it reads through serde_json::Value,
ignores unknown keys, skips the record types that carry no usage, and counts
rather than fails on a line it cannot read.
~/.claude/projects is also where Claude Code keeps its own memory. Nothing
here opens a file for anything but reading.
Structs§
Constants§
- AGENT
- Adapter name, and the
agentfield on every event it produces. - DEFAULT_
ROOT ~/.claude/projects, unless config overrides it.- PROVIDER
- Every model in these transcripts is an Anthropic one.