Skip to main content

Module parse

Module parse 

Source
Expand description

JSONL line parsers for Claude Code and Codex CLI session transcripts.

Every function here is deterministic and side-effect-free so the unit tests can run without any runtime or DB setup.

Structs§

ParsedEvent
A single parsed event, source-agnostic.

Functions§

parse_cc_line
Parse one Claude Code JSONL line.
parse_codex_line
Parse one Codex CLI JSONL line.