Skip to main content

run_codex_sdk

Function run_codex_sdk 

Source
pub fn run_codex_sdk(args: ShimArgs, channel: Channel) -> Result<()>
Expand description

Run the Codex SDK-mode shim. This function does not return until the shim exits.

Unlike the Claude SDK runtime, each message spawns a new codex exec --json subprocess. The shim manages the lifecycle per-message and emits the same Command/Event protocol to the orchestrator.