aibrahim-oai
3823b32b7a
Mcp protocol (#1715)
- Add typed MCP protocol surface in
`codex-rs/mcp-server/src/mcp_protocol.rs` for `requests`, `responses`,
and `notifications`
- Requests: `NewConversation`, `Connect`, `SendUserMessage`,
`GetConversations`
- Message content parts: `Text`, `Image` (`ImageUrl`/`FileId`, optional
`ImageDetail`), File (`Url`/`Id`/`inline Data`)
- Responses: `ToolCallResponseEnvelope` with optional `isError` and
`structuredContent` variants (`NewConversation`, `Connect`,
`SendUserMessageAccepted`, `GetConversations`)
- Notifications: `InitialState`, `ConnectionRevoked`, `CodexEvent`,
`Cancelled`
- Uniform `_meta` on `notifications` via `NotificationMeta`
(`conversationId`, `requestId`)
- Unit tests validate JSON wire shapes for key
`requests`/`responses`/`notifications`
2025-07-29 20:14:41 -07:00
..
2025-07-28 09:51:22 -07:00
2025-07-24 14:13:30 -07:00
2025-07-29 14:22:02 -04:00
2025-07-23 10:37:45 -07:00
2025-07-29 14:22:02 -04:00
2025-07-27 20:01:35 -07:00
2025-07-29 14:22:02 -04:00
2025-07-11 13:30:11 -04:00
2025-07-29 20:14:41 -07:00
2025-07-29 14:22:02 -04:00
2025-07-23 10:37:45 -07:00
2025-05-23 11:37:07 -07:00
2025-05-22 09:51:19 -07:00
2025-07-25 11:45:23 -07:00
2025-07-18 19:12:39 +00:00
2025-07-24 11:35:28 -07:00
2025-07-24 14:13:30 -07:00
2025-07-29 14:22:02 -04:00
2025-07-28 08:52:18 -07:00
2025-05-28 19:03:17 -07:00
2025-05-20 11:55:25 -07:00
2025-07-18 19:12:39 +00:00
2025-07-23 10:37:45 -07:00
2025-06-04 08:44:17 -07:00
2025-06-25 23:31:11 -07:00
2025-07-29 14:22:02 -04:00
2025-07-29 14:22:02 -04:00
2025-07-22 09:42:22 -07:00
2025-07-29 14:22:02 -04:00
2025-07-25 10:43:36 -07:00
2025-06-25 12:36:10 -07:00
2025-04-29 15:01:16 -07:00
2025-07-29 16:49:02 -07:00
2025-05-08 16:02:56 -07:00
2025-05-04 11:39:10 -07:00