parse_codex_session_file

Function parse_codex_session_file 

Source
pub fn parse_codex_session_file(path: &Path) -> Result<ParsedCodexSession>
Expand description

Parses a Codex JSONL session file.

Reads each line of the file and extracts session metadata and messages. Skips malformed lines rather than failing the entire parse.

ยงErrors

Returns an error if the file cannot be opened.