mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
## Why Codex Apps applies resource MIME filters to each request separately, so continuation requests must include the filter as well as the cursor. ## What changed Add `McpResourceClient::list_codex_apps_resources` with a required `mime_type` and optional cursor. Send the filter as a top-level `mimeType` parameter in `resources/list` requests and return resources with the next cursor. Require a host-owned `codex_apps` registration before sending filtered requests, rejecting extension servers that use the same name. ## Testing Add integration tests covering MIME filters on both pagination requests, returned resource pages, and rejection of extension name collisions without sending a resource request. GitOrigin-RevId: 4fb33da56c6ef99286564ead7f74b77d8b337335