Skip to main content

Module transcript

Module transcript 

Source
Expand description

Parsing of Claude Code session JSONL into typed conversation values.

Structs§

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.

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