Skip to main content

Module paths

Module paths 

Source
Expand description

Filesystem layout for Codex CLI state.

Sessions live at ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl. Unlike Claude and Gemini, Codex sessions aren’t keyed by project path — they’re global, bucketed by date. A session is identified by its UUIDv7 (session_meta.id) or equivalently by its filename stem (rollout-<timestamp>-<uuid>).

Structs§

PathResolver
Builder-style resolver over the ~/.codex/ filesystem.