core-agent-ide/codex-rs/core
Dylan 82ed7bd285
[mcp-server] Update read config interface (#3093)
## Summary
Follow-up to #3056

This PR updates the mcp-server interface for reading the config settings
saved by the user. At risk of introducing _another_ Config struct, I
think it makes sense to avoid tying our protocol to ConfigToml, as its
become a bit unwieldy. GetConfigTomlResponse was a de-facto struct for
this already - better to make it explicit, in my opinion.

This is technically a breaking change of the mcp-server protocol, but
given the previous interface was introduced so recently in #2725, and we
have not yet even started to call it, I propose proceeding with the
breaking change - but am open to preserving the old endpoint.

## Testing
- [x] Added additional integration test coverage
2025-09-04 16:26:41 -07:00
..
src [mcp-server] Update read config interface (#3093) 2025-09-04 16:26:41 -07:00
tests Dividing UserMsgs into categories to send it back to the tui (#3127) 2025-09-04 05:34:50 +00:00
Cargo.toml core(rollout): extract rollout module, add listing API, and return file heads (#1634) 2025-09-03 07:39:19 +00:00
prompt.md prompt to read AGENTS.md files (#3122) 2025-09-04 13:30:12 -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.