core-agent-ide/codex-rs/common/src
Michael Bolin 5881c0d6d4
fix: remove mcp-types from app server protocol (#4537)
We continue the separation between `codex app-server` and `codex
mcp-server`.

In particular, we introduce a new crate, `codex-app-server-protocol`,
and migrate `codex-rs/protocol/src/mcp_protocol.rs` into it, renaming it
`codex-rs/app-server-protocol/src/protocol.rs`.

Because `ConversationId` was defined in `mcp_protocol.rs`, we move it
into its own file, `codex-rs/protocol/src/conversation_id.rs`, and
because it is referenced in a ton of places, we have to touch a lot of
files as part of this PR.

We also decide to get away from proper JSON-RPC 2.0 semantics, so we
also introduce `codex-rs/app-server-protocol/src/jsonrpc_lite.rs`, which
is basically the same `JSONRPCMessage` type defined in `mcp-types`
except with all of the `"jsonrpc": "2.0"` removed.

Getting rid of `"jsonrpc": "2.0"` makes our serialization logic
considerably simpler, as we can lean heavier on serde to serialize
directly into the wire format that we use now.
2025-10-01 02:16:26 +00:00
..
approval_mode_cli_arg.rs [approval_policy] Add OnRequest approval_policy (#1865) 2025-08-05 20:44:20 -07:00
approval_presets.rs feat: copy tweaks (#2502) 2025-08-20 07:26:14 +00:00
config_override.rs Added allow-expect-in-tests / allow-unwrap-in-tests (#2328) 2025-08-14 17:59:01 -07:00
config_summary.rs feat: reasoning effort as optional (#3527) 2025-09-12 12:06:33 -07:00
elapsed.rs Add spacing to timer duration formats (#3471) 2025-09-12 12:05:57 -04:00
fuzzy_match.rs Scrollable slash commands (#1830) 2025-08-06 21:23:09 -07:00
lib.rs chore: extract readiness in a dedicated utils crate (#4140) 2025-09-24 10:15:54 +00:00
model_presets.rs fix: remove mcp-types from app server protocol (#4537) 2025-10-01 02:16:26 +00:00
sandbox_mode_cli_arg.rs chore: move mcp-server/src/wire_format.rs to protocol/src/mcp_protocol.rs (#2423) 2025-08-18 09:36:57 -07:00
sandbox_summary.rs feat: add /tmp by default (#1919) 2025-08-07 00:17:00 -07:00