We were already doing this in the TypeScript version, but forgot to
bring this over to Rust:
c38c2a59c7/codex-cli/src/utils/agent/sandbox/raw-exec.ts (L76-L78)
codex-core
This crate implements the business logic for Codex. It is designed to be used by the various Codex UIs written in Rust.
Though for non-Rust UIs, we are also working to define a protocol for talking to Codex. See:
You can use the proto subcommand using the executable in the cli crate to speak the protocol using newline-delimited-JSON over stdin/stdout.