Expand description
JSONL line parser for Claude Code transcripts.
Each line in the transcript is a JSON object with a type field
indicating whether it’s a user or assistant message.
Functions§
- extract_
model_ id - Extract model ID from a transcript JSONL file.
- model_
display_ name - Convert a model ID to a short display name (e.g., “claude-opus-4-6” → “Opus 4.6”)
- parse_
jsonl_ line - Parse a single JSONL line into TranscriptRecords.