Skip to main content

Module codex

Module codex 

Source
Expand description

Codex CLI adapter (CONTEXT.md §16, plan.md Phase 3).

Drives codex exec --json, which honors the user’s ChatGPT login or API key. --json emits a JSONL event stream (when supported); we parse terminal agent messages into the result and map progress events for the Stage UI. Falls back to plain stdout when the CLI does not speak JSONL.

Functions§

worker