Files
dev/code-rs/core
James Peter 4c2b376735 fix(tb2): harden exec env/shell; gate auto drive rails
- Add non-interactive env defaults to reduce hangs\n- Suppress bash job control for bash -lc exec\n- Make Auto Drive turn cap opt-in (default unlimited); add --turn-cap\n- Only bias coordinator finishing when --max-seconds is set
2025-12-17 05:37:54 +10:00
..
2025-11-04 15:18:31 +10:00
2025-11-04 15:18:31 +10:00

codex-core

This crate implements the business logic for Codex. It is designed to be used by the various Codex UIs written in Rust.

See also: Slash Commands for a complete list of interactive commands available in the TUI.

Dependencies

Note that codex-core makes some assumptions about certain helper utilities being available in the environment. Currently, this

macOS

Expects /usr/bin/sandbox-exec to be present.

Linux

Expects the binary containing codex-core to run the equivalent of codex debug landlock when arg0 is codex-linux-sandbox. See the codex-arg0 crate for details.

All Platforms

Expects the binary containing codex-core to simulate the virtual apply_patch CLI when arg1 is --codex-run-as-apply-patch. See the codex-arg0 crate for details.