pub fn parse_codex_jsonl(stdout: &str) -> Result<CodexResult, AppError>Expand description
Parses JSONL output from codex exec --json.
Event format (DOTS notation):
thread.started— session initturn.started— model turn beginsitem.completed— message or tool call; lastagent_messagewinsturn.completed— includes usage statsturn.failed— error with optional rate-limit indicatorerror— schema or validation error
G32 (v1.0.69): this function is the single source of truth for JSONL
parsing. Both enrich and ingest --mode codex consume it.