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, mirror raw thread events onto codex::events, and stream AgentEvent frames onto agent::events.
exact versions are immutable; binary and bundle artifacts are digest-pinned.
Internal: reload codex configuration when it changes.
Run one Codex turn and wait for the result. Accepts `prompt` or a `messages` array plus a raw SDK `codex_config` pass-through; streams raw Codex events onto codex::events, AgentEvent frames onto agent::events, 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; watch codex::events / agent::events (group_id = session_id) for progress and turn_end.
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.
Point-in-time status of a 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.