Expand description
Typed schema for Codex rollout JSONL (~/.codex/sessions/.../rollout-*.jsonl).
Each line is an envelope {timestamp, type, payload}. The type selects
the envelope kind; for response_item the inner payload.type selects the
conversation item. Discriminants we don’t model land in Unknown variants
so the audit can enumerate them; unmodeled fields land in extra maps.
Structs§
- Codex
Line - One line of a Codex rollout file.
- Event
Msg - A UI event echo. We only need its discriminant for the audit.
- Session
Meta - Codex
session_metapayload. - Turn
Context - Codex
turn_contextpayload (loosely modeled — many policy fields).
Enums§
- Codex
Record - A Codex envelope.
- Response
Item - A canonical conversation item (
response_itempayload).