core-agent-ide/codex-rs/core
Marcus Griep b727d3f98a
fix: handle JSON Schema in additionalProperties for MCP tools (#4454)
Fixes #4176

Some common tools provide a schema (even if just an empty object schema)
as the value for `additionalProperties`. The parsing as it currently
stands fails when it encounters this. This PR updates the schema to
accept a schema object in addition to a boolean value, per the JSON
Schema spec.
2025-10-02 13:05:51 -04:00
..
src fix: handle JSON Schema in additionalProperties for MCP tools (#4454) 2025-10-02 13:05:51 -04:00
templates/compact feat: context compaction (#3446) 2025-09-12 13:07:10 -07:00
tests Support CODEX_API_KEY for codex exec (#4615) 2025-10-02 09:59:45 -07:00
Cargo.toml canonicalize display of Agents.md paths on Windows. (#4577) 2025-10-01 14:33:19 -07:00
gpt_5_codex_prompt.md fix: update the gpt-5-codex prompt to be more explicit that it should always used fenced code blocks info tags (#4569) 2025-10-01 22:41:56 -07:00
prompt.md Add file reference guidelines to gpt-5 prompt (#3651) 2025-09-15 08:35:30 -07:00
README.md fix: support special --codex-run-as-apply-patch arg (#1702) 2025-07-28 09:26:44 -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 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.