Files
dev/codex-rs/core
James Peter a0de41baca fix(upstream-merge): restore fork features and adapt to upstream APIs
- Restore browser_*/agent_* tool exposure and web_fetch (openai_tools.rs)
- Reintroduce browser gating and screenshot handling in codex.rs; remove obsolete image 'detail' field; adapt RolloutRecorder::new to params API
- Keep upstream TS model changes (protocol/models.rs) to satisfy protocol-ts while preserving our semantics
- Reinstate UA helpers for MCP server (USER_AGENT_SUFFIX, get_codex_user_agent_default) in default_client.rs

Build: ./build-fast.sh clean on upstream-merge
2025-09-11 20:44:34 +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.