core-agent-ide/codex-rs/mcp-server/src
Michael Bolin 995f5c3614
feat: add Vec<ParsedCommand> to ExecApprovalRequestEvent (#5222)
This adds `parsed_cmd: Vec<ParsedCommand>` to `ExecApprovalRequestEvent`
in the core protocol (`protocol/src/protocol.rs`), which is also what
this field is named on `ExecCommandBeginEvent`. Honestly, I don't love
the name (it sounds like a single command, but it is actually a list of
them), but I don't want to get distracted by a naming discussion right
now.

This also adds `parsed_cmd` to `ExecCommandApprovalParams` in
`codex-rs/app-server-protocol/src/protocol.rs`, so it will be available
via `codex app-server`, as well.

For consistency, I also updated `ExecApprovalElicitRequestParams` in
`codex-rs/mcp-server/src/exec_approval.rs` to include this field under
the name `codex_parsed_cmd`, as that struct already has a number of
special `codex_*` fields. Note this is the code for when Codex is used
as an MCP _server_ and therefore has to conform to the official spec for
an MCP elicitation type.
2025-10-15 13:58:40 -07:00
..
tool_handlers remove mcp-server/src/mcp_protocol.rs and the code that depends on it (#2360) 2025-08-18 00:29:18 -07:00
codex_tool_config.rs add(core): managed config (#3868) 2025-10-03 13:02:26 -07:00
codex_tool_runner.rs feat: add Vec<ParsedCommand> to ExecApprovalRequestEvent (#5222) 2025-10-15 13:58:40 -07:00
error_code.rs fix: update OutgoingMessageSender::send_response() to take Serialize (#2263) 2025-08-13 14:29:13 -07:00
exec_approval.rs feat: add Vec<ParsedCommand> to ExecApprovalRequestEvent (#5222) 2025-10-15 13:58:40 -07:00
lib.rs add(core): managed config (#3868) 2025-10-03 13:02:26 -07:00
main.rs Added new auth-related methods and events to mcp server (#2496) 2025-08-20 20:36:34 -07:00
message_processor.rs add(core): managed config (#3868) 2025-10-03 13:02:26 -07:00
outgoing_message.rs fix: remove mcp-types from app server protocol (#4537) 2025-10-01 02:16:26 +00:00
patch_approval.rs chore: introduce ConversationManager as a clearinghouse for all conversations (#2240) 2025-08-13 13:38:18 -07:00