Skip to main content

Module state

Module state 

Source
Expand description

Mutable accumulator shared by every per-provider session parser.

Each provider parser (crate::session::claude, crate::session::codex, …) walks its own JSONL shape but funnels the file-operation facts it extracts through a single SessionParseState, which tallies line / character counts and (in ParseMode::Full) accumulates the per-op detail records. Once the file is consumed the state is converted into one CodeAnalysisRecord via SessionParseState::into_record.

Structs§

SessionParseState
Common parse state shared by all per-provider session parsers.

Enums§

ParseMode
Controls how much per-operation detail the session parser retains.