mirror of
https://github.com/openai/codex.git
synced 2026-10-30 19:18:49 +00:00
# Conflicts: # codex-rs/core/src/client_common.rs # codex-rs/core/src/codex.rs # codex-rs/core/src/config.rs # codex-rs/core/src/lib.rs # codex-rs/core/src/tools/handlers/apply_patch.rs # codex-rs/core/src/tools/handlers/mod.rs # codex-rs/core/src/tools/handlers/plan.rs # codex-rs/core/src/tools/handlers/read_file.rs # codex-rs/core/src/tools/handlers/view_image.rs # codex-rs/core/src/tools/mod.rs # codex-rs/core/src/tools/registry.rs # codex-rs/core/src/tools/router.rs # codex-rs/core/src/tools/spec.rs # codex-rs/core/tests/suite/mod.rs # codex-rs/core/tests/suite/read_file.rs # codex-rs/core/tests/suite/view_image.rs
codex-core
This crate implements the business logic for Codex. It is designed to be used by the various Codex UIs written in Rust.
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.