fix: preserve experimental capability settings (#721)
This commit is contained in:
parent
2ca6a59d2f
commit
c55a3a231f
2 changed files with 81 additions and 27 deletions
60
src/generated/schema.json
generated
60
src/generated/schema.json
generated
|
|
@ -9,10 +9,19 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"experimental": {
|
||||
"description": "Experimental features (structure TBD).",
|
||||
"description": "Experimental features keyed by identifier.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"additionalProperties": false
|
||||
"propertyNames": {
|
||||
"type": "string"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"type": "string"
|
||||
},
|
||||
"additionalProperties": {},
|
||||
"description": "Experimental features keyed by identifier."
|
||||
}
|
||||
},
|
||||
"tools": {
|
||||
"description": "App exposes MCP-style tools that the host can call.",
|
||||
|
|
@ -298,10 +307,19 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"experimental": {
|
||||
"description": "Experimental features (structure TBD).",
|
||||
"description": "Experimental features keyed by identifier.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"additionalProperties": false
|
||||
"propertyNames": {
|
||||
"type": "string"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"type": "string"
|
||||
},
|
||||
"additionalProperties": {},
|
||||
"description": "Experimental features keyed by identifier."
|
||||
}
|
||||
},
|
||||
"openLinks": {
|
||||
"description": "Host supports opening external URLs.",
|
||||
|
|
@ -2537,10 +2555,19 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"experimental": {
|
||||
"description": "Experimental features (structure TBD).",
|
||||
"description": "Experimental features keyed by identifier.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"additionalProperties": false
|
||||
"propertyNames": {
|
||||
"type": "string"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"type": "string"
|
||||
},
|
||||
"additionalProperties": {},
|
||||
"description": "Experimental features keyed by identifier."
|
||||
}
|
||||
},
|
||||
"tools": {
|
||||
"description": "App exposes MCP-style tools that the host can call.",
|
||||
|
|
@ -2651,10 +2678,19 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"experimental": {
|
||||
"description": "Experimental features (structure TBD).",
|
||||
"description": "Experimental features keyed by identifier.",
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"additionalProperties": false
|
||||
"propertyNames": {
|
||||
"type": "string"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"type": "string"
|
||||
},
|
||||
"additionalProperties": {},
|
||||
"description": "Experimental features keyed by identifier."
|
||||
}
|
||||
},
|
||||
"openLinks": {
|
||||
"description": "Host supports opening external URLs.",
|
||||
|
|
|
|||
22
src/generated/schema.ts
generated
22
src/generated/schema.ts
generated
|
|
@ -496,11 +496,16 @@ export const McpUiRequestTeardownNotificationSchema = z.object({
|
|||
* @see {@link McpUiInitializeResult `McpUiInitializeResult`} for the initialization result that includes these capabilities
|
||||
*/
|
||||
export const McpUiHostCapabilitiesSchema = z.object({
|
||||
/** @description Experimental features (structure TBD). */
|
||||
/** @description Experimental features keyed by identifier. */
|
||||
experimental: z
|
||||
.object({})
|
||||
.record(
|
||||
z.string(),
|
||||
z
|
||||
.record(z.string(), z.any())
|
||||
.describe("Experimental features keyed by identifier."),
|
||||
)
|
||||
.optional()
|
||||
.describe("Experimental features (structure TBD)."),
|
||||
.describe("Experimental features keyed by identifier."),
|
||||
/** @description Host supports opening external URLs. */
|
||||
openLinks: z
|
||||
.object({})
|
||||
|
|
@ -583,11 +588,16 @@ export const McpUiHostCapabilitiesSchema = z.object({
|
|||
* @see {@link McpUiInitializeRequest `McpUiInitializeRequest`} for the initialization request that includes these capabilities
|
||||
*/
|
||||
export const McpUiAppCapabilitiesSchema = z.object({
|
||||
/** @description Experimental features (structure TBD). */
|
||||
/** @description Experimental features keyed by identifier. */
|
||||
experimental: z
|
||||
.object({})
|
||||
.record(
|
||||
z.string(),
|
||||
z
|
||||
.record(z.string(), z.any())
|
||||
.describe("Experimental features keyed by identifier."),
|
||||
)
|
||||
.optional()
|
||||
.describe("Experimental features (structure TBD)."),
|
||||
.describe("Experimental features keyed by identifier."),
|
||||
/** @description App exposes MCP-style tools that the host can call. */
|
||||
tools: z
|
||||
.object({
|
||||
|
|
|
|||
Loading…
Reference in a new issue