//! OpenAI Codex on-disk session parser. Zero dirigent-specific types.
//!
//! The Codex CLI persists its sessions as JSONL files under
//! `~/.codex/sessions/*.jsonl` (or a caller-supplied equivalent). Each line
//! is a best-effort event object with a `role`, some `content`, and an
//! optional timestamp. Exact schema varies across Codex versions, so this
//! parser is intentionally lenient: unknown/malformed lines are skipped,
//! not failed.

pub mod parser;
pub mod types;

pub use parser::{discover_sessions, parse_file, ParseError};
pub use types::{ParsedMessage, ParsedSession};
