Skip to main content

Module types

Module types 

Source
Expand description

Domain types shared across commands: enums for CLI options, version parsing, and structured JSONL events.

Structs§

CliVersion
Parsed semantic version of the Codex CLI (major.minor.patch).
JsonLineEvent
A single parsed JSONL event from --json output.
QueryResult
A typed summary of a completed codex exec run, assembled from the JSONL event stream.
VersionParseError

Enums§

ApprovalPolicy
When the model should ask for human approval before executing commands.
Color
Color output mode for exec commands.
SandboxMode
Sandbox policy for model-generated shell commands.