Expand description
Typed schema for Claude Code transcript JSONL
(~/.claude/projects/<encoded-cwd>/<id>.jsonl).
Each line is a record discriminated by type. user and assistant carry
the conversation; the rest are state/metadata/UI events. Unmodeled record
types land in ClaudeRecord::Unknown; unmodeled fields land in extra.
Structs§
- Message
- The inner
messageobject of a user/assistant record (Anthropic shape). - Record
Meta - Conversation-graph links and per-record metadata shared by user/assistant.
Enums§
- Claude
Record - One line of a Claude Code transcript.
- Message
Content - A message body: plain text or a list of content blocks.