Skip to main content

Module codex_types

Module codex_types 

Source
Expand description

JSONL event types for Codex CLI exec --json mode.

These types model the events emitted on stdout when Codex runs in codex exec --json mode. Each line is a complete JSON object with a type tag discriminating the event kind.

Structs§

CodexError
CodexEvent
A single JSONL event from codex exec --json stdout.
CodexItem
A thread item carried by item.started / item.updated / item.completed events.
CodexUsage

Functions§

codex_sdk_args
Build the Codex exec argv for SDK (JSONL) mode.
codex_sdk_command
Build the Codex exec command for SDK (JSONL) mode.