codex::on-config-change
Internal: reload codex configuration when it changes.
- okboolean
OpenAI Codex as an iii worker; codex::run/start/stop/status/sessions::list spawn the codex CLI for headless turns, deliver raw thread events on the codex::raw-event trigger type and AgentEvent frames on codex::agent-event.
exact versions are immutable; binary and bundle artifacts are digest-pinned.
Internal: reload codex configuration when it changes.
Run a Codex coding-agent turn and wait for its result. Accepts `prompt` or a `messages` array plus a `codex_config` pass-through; delivers raw Codex events on codex::raw-event and AgentEvent frames on codex::agent-event, and returns {session_id, result, usage}.
Additional writable directories alongside the working root (--add-dir).
Codex approval policy; headless callers leave it at never.
Codex config.toml overrides for this turn (e.g. mcp_servers, model_providers, profiles).
Working directory the turn runs in.
Inject the iii runtime discovery prompt as developer_instructions (default true via config).
Paths to local images attached to the prompt.
Alternative to prompt: role/content messages; the last user entry becomes the prompt.
Either a plain string or an array of content blocks.
Model id; empty = Codex default.
JSON schema for structured final output.
The user prompt for this turn.
Model reasoning effort: minimal | low | medium | high | xhigh.
Codex sandbox mode: read-only | workspace-write | danger-full-access.
iii session id; reuse to resume the same Codex thread.
Allow running outside a git repository.
Reserved for callers; not forwarded.
List every Codex session this worker has run.
Start a Codex turn and return immediately; bind codex::agent-event (or codex::raw-event) with { session_id } for progress and turn_end, or poll codex::status.
Additional writable directories alongside the working root (--add-dir).
Codex approval policy; headless callers leave it at never.
Codex config.toml overrides for this turn (e.g. mcp_servers, model_providers, profiles).
Working directory the turn runs in.
Inject the iii runtime discovery prompt as developer_instructions (default true via config).
Paths to local images attached to the prompt.
Alternative to prompt: role/content messages; the last user entry becomes the prompt.
Either a plain string or an array of content blocks.
Model id; empty = Codex default.
JSON schema for structured final output.
The user prompt for this turn.
Model reasoning effort: minimal | low | medium | high | xhigh.
Codex sandbox mode: read-only | workspace-write | danger-full-access.
iii session id; reuse to resume the same Codex thread.
Allow running outside a git repository.
Reserved for callers; not forwarded.
Check the status of one Codex session.
iii session id returned by codex::run / codex::start.
Interrupt a live Codex run for a session.
iii session id returned by codex::run / codex::start.
Translated AgentEvent frames of one codex session. Config: { session_id, metadata? }. Payload: { session_id, event_id, seq, epoch, source, event }. Ephemeral (not stored, not replayed); order by (epoch, seq).
Raw Codex thread events (codex exec --json lines, verbatim) of one codex session. Config: { session_id, metadata? }. Payload: { session_id, event_id, seq, epoch, source, event }. Ephemeral (not stored, not replayed); order by (epoch, seq).