Skip to main content

parse_events

Function parse_events 

Source
pub fn parse_events(path: &Path) -> Vec<ConversationEntry>
Expand description

Parse an events.jsonl file into conversation entries.

Reads all events and converts them into a flat list of ConversationEntry items suitable for rendering. Unlike read_last_session, this doesn’t require a completed session — it replays whatever events exist.

SessionResult events become status lines showing turn count and cost.