Skip to main content

Module transcript

Module transcript 

Source
Expand description

Parsing of Claude Code session JSONL into typed conversation values.

Structs§

Answered
What a result needs to know about the call it answers: which tool ran, and the path it ran on where the tool has one, since a file’s contents are set by its extension and only the call records the name.
Folio
One rendered session: the unit the tool turns into a single HTML file.
ImageSource
Panel
One speaker’s contribution as displayed. Folding the wire-level turns into panels is where harness scaffolding is filtered and tool results are reunited with the assistant that called them, so the renderer walks an already-clean stream and never re-derives any of it.
SessionPeek
A session’s listing metadata, scanned by Folio::peek for pickers and indexes that show sessions without rendering them.
Turn
A conversation turn, with the role lifted out of the JSONL’s type tag.
Usage
What one turn cost: what the model read, split by where it came from, and what it wrote.

Enums§

Block
A content block, or the raw JSON of one this version doesn’t recognize.
Content
Known
PanelKind
What a panel actually shows, so a label can say more than “assistant”: the role already has a colour, so the label names the content instead.
Role
ToolResultContent