core-agent-ide/codex-rs/core
Gabriel Peal 8a990b5401
Migrate GitWarning to OnboardingScreen (#1915)
This paves the way to do per-directory approval settings
(https://github.com/openai/codex/pull/1912).

This also lets us pass in a Config/ChatWidgetArgs into onboarding which
can then mutate it and emit the ChatWidgetArgs it wants at the end which
may be modified by the said approval settings.

<img width="1180" height="428" alt="CleanShot 2025-08-06 at 19 30 55"
src="https://github.com/user-attachments/assets/4dcfda42-0f5e-4b6d-a16d-2597109cc31c"
/>
2025-08-06 22:39:07 -04:00
..
src Migrate GitWarning to OnboardingScreen (#1915) 2025-08-06 22:39:07 -04:00
tests Prefer env var auth over default codex auth (#1861) 2025-08-06 13:02:00 -07:00
Cargo.toml chore(deps): bump toml from 0.9.2 to 0.9.4 in /codex-rs (#1815) 2025-08-04 14:24:19 -07:00
prompt.md [prompt] Update prompt.md (#1839) 2025-08-05 00:43:23 -07:00
README.md fix: support special --codex-run-as-apply-patch arg (#1702) 2025-07-28 09:26:44 -07: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 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.