core-agent-ide/codex-rs/core
Thibault Sottiaux 4f46360aa4
feat: add --add-dir flag for extra writable roots (#5335)
Add a `--add-dir` CLI flag so sessions can use extra writable roots in
addition to the ones specified in the config file. These are ephemerally
added during the session only.

Fixes #3303
Fixes #2797
2025-10-18 22:13:53 -07:00
..
src feat: add --add-dir flag for extra writable roots (#5335) 2025-10-18 22:13:53 -07:00
templates/compact feat: context compaction (#3446) 2025-09-12 13:07:10 -07:00
tests Create independent TurnContexts (#5308) 2025-10-18 17:43:08 -07:00
Cargo.toml Support graceful agent interruption (#5287) 2025-10-17 18:52:57 +00:00
gpt_5_codex_prompt.md feat: instruct model to use apply_patch + avoid destructive changes (#4742) 2025-10-04 12:49:50 -07:00
prompt.md Add file reference guidelines to gpt-5 prompt (#3651) 2025-09-15 08:35:30 -07:00
README.md add codex sandbox {linux|macos} (#4782) 2025-10-05 15:51:57 -07:00
review_prompt.md Review Mode (Core) (#3401) 2025-09-12 23:25:10 +00: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.

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 sandbox linux (legacy alias: 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.