From c5e31f841d1062f03d73d5f1651eb9124bb8d665 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 7f7ead662b..f30c661efe 100644 --- a/codex-rs/app-server-protocol/schema/json/ClientRequest.json +++ b/codex-rs/app-server-protocol/schema/json/ClientRequest.json @@ -1575,6 +1575,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 53139c82d8..7da70dfc24 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 @@ -11934,6 +11934,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 961dd14f3e..2b7d2fb4d0 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 @@ -8338,6 +8338,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, };