Skip to main content

dispatch_codex_ask

Function dispatch_codex_ask 

Source
pub fn dispatch_codex_ask(
    home: &AgentsHome,
    name: &str,
    message: &str,
    from_name: &str,
    _cwd: &Path,
    yolo: bool,
    timeout: Option<Duration>,
) -> AskOutcome
Expand description

Orchestrate one codex ask: validate, lock, decide create-vs-resume, stamp the registry, emit events, and return stdout/stderr/exit_code.

extra_env is unused for codex (codex inherits the process env directly); the parameter exists for API symmetry with dispatch_claude_ask.