From 36d2e2dbdb991edc9738567c8fcdd1c9edac377a Mon Sep 17 00:00:00 2001 From: Drew Schuster Date: Fri, 26 Jun 2026 12:22:52 -0700 Subject: [PATCH] mcp ui collision fixes: regenerate resource read schemas --- .../app-server-protocol/schema/json/ClientRequest.json | 7 +++++++ .../schema/json/codex_app_server_protocol.schemas.json | 7 +++++++ .../schema/json/codex_app_server_protocol.v2.schemas.json | 7 +++++++ .../schema/json/v2/McpResourceReadParams.json | 7 +++++++ .../schema/typescript/v2/McpResourceReadParams.ts | 6 +++++- 5 files changed, 33 insertions(+), 1 deletion(-) diff --git a/codex-rs/app-server-protocol/schema/json/ClientRequest.json b/codex-rs/app-server-protocol/schema/json/ClientRequest.json index 2f39f821b6..57786f9f2e 100644 --- a/codex-rs/app-server-protocol/schema/json/ClientRequest.json +++ b/codex-rs/app-server-protocol/schema/json/ClientRequest.json @@ -1582,6 +1582,13 @@ }, "McpResourceReadParams": { "properties": { + "originCallId": { + "description": "The MCP tool call whose app context identifies the resource provider. Requires `threadId`.", + "type": [ + "string", + "null" + ] + }, "server": { "type": "string" }, diff --git a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json index 0eedef903a..31d361f1af 100644 --- a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json +++ b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json @@ -11941,6 +11941,13 @@ "McpResourceReadParams": { "$schema": "http://json-schema.org/draft-07/schema#", "properties": { + "originCallId": { + "description": "The MCP tool call whose app context identifies the resource provider. Requires `threadId`.", + "type": [ + "string", + "null" + ] + }, "server": { "type": "string" }, diff --git a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json index b428f25258..9df373fb33 100644 --- a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json +++ b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json @@ -8345,6 +8345,13 @@ "McpResourceReadParams": { "$schema": "http://json-schema.org/draft-07/schema#", "properties": { + "originCallId": { + "description": "The MCP tool call whose app context identifies the resource provider. Requires `threadId`.", + "type": [ + "string", + "null" + ] + }, "server": { "type": "string" }, diff --git a/codex-rs/app-server-protocol/schema/json/v2/McpResourceReadParams.json b/codex-rs/app-server-protocol/schema/json/v2/McpResourceReadParams.json index 2fe58155d2..53b5b0fcc2 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/McpResourceReadParams.json +++ b/codex-rs/app-server-protocol/schema/json/v2/McpResourceReadParams.json @@ -1,6 +1,13 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "properties": { + "originCallId": { + "description": "The MCP tool call whose app context identifies the resource provider. Requires `threadId`.", + "type": [ + "string", + "null" + ] + }, "server": { "type": "string" }, diff --git a/codex-rs/app-server-protocol/schema/typescript/v2/McpResourceReadParams.ts b/codex-rs/app-server-protocol/schema/typescript/v2/McpResourceReadParams.ts index c48795f27e..830d993a43 100644 --- a/codex-rs/app-server-protocol/schema/typescript/v2/McpResourceReadParams.ts +++ b/codex-rs/app-server-protocol/schema/typescript/v2/McpResourceReadParams.ts @@ -2,4 +2,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type McpResourceReadParams = { threadId?: string | null, server: string, uri: string, }; +export type McpResourceReadParams = { threadId?: string | null, server: string, uri: string, +/** + * The MCP tool call whose app context identifies the resource provider. Requires `threadId`. + */ +originCallId?: string | null, };