This commit is contained in:
Matthew Zeng
2026-03-05 23:09:20 -08:00
parent 84f66b3309
commit b699ec52b3
23 changed files with 512 additions and 343 deletions

View File

@@ -8,7 +8,7 @@
"type": "string"
},
"McpElicitationBooleanSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"type": [
@@ -44,6 +44,7 @@
"type": "string"
},
"McpElicitationConstOption": {
"additionalProperties": false,
"properties": {
"const": {
"type": "string"
@@ -65,29 +66,39 @@
},
{
"$ref": "#/definitions/McpElicitationMultiSelectEnumSchema"
},
{
"$ref": "#/definitions/McpElicitationLegacyTitledEnumSchema"
}
]
},
"McpElicitationIntegerSchema": {
"additionalProperties": true,
"McpElicitationLegacyTitledEnumSchema": {
"additionalProperties": false,
"properties": {
"default": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"maximum": {
"format": "int64",
"type": [
"integer",
"null"
]
"enum": {
"items": {
"type": "string"
},
"type": "array"
},
"minimum": {
"format": "int64",
"enumNames": {
"items": {
"type": "string"
},
"type": [
"integer",
"array",
"null"
]
},
@@ -98,20 +109,15 @@
]
},
"type": {
"$ref": "#/definitions/McpElicitationIntegerType"
"$ref": "#/definitions/McpElicitationStringType"
}
},
"required": [
"enum",
"type"
],
"type": "object"
},
"McpElicitationIntegerType": {
"enum": [
"integer"
],
"type": "string"
},
"McpElicitationMultiSelectEnumSchema": {
"anyOf": [
{
@@ -123,8 +129,15 @@
]
},
"McpElicitationNumberSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"format": "double",
"type": [
"number",
"null"
]
},
"description": {
"type": [
"string",
@@ -162,7 +175,8 @@
},
"McpElicitationNumberType": {
"enum": [
"number"
"number",
"integer"
],
"type": "string"
},
@@ -183,17 +197,14 @@
{
"$ref": "#/definitions/McpElicitationNumberSchema"
},
{
"$ref": "#/definitions/McpElicitationIntegerSchema"
},
{
"$ref": "#/definitions/McpElicitationBooleanSchema"
}
]
},
"McpElicitationSchema": {
"additionalProperties": true,
"description": "Typed form schema for MCP `elicitation/create` requests.\n\nThis mirrors the `requestedSchema` shape from the MCP `ElicitRequestFormParams` schema while preserving extension keywords such as Codex-specific `x-codex-*` metadata.",
"additionalProperties": false,
"description": "Typed form schema for MCP `elicitation/create` requests.\n\nThis matches the `requestedSchema` shape from the MCP 2025-11-25 `ElicitRequestFormParams` schema.",
"properties": {
"$schema": {
"type": [
@@ -201,12 +212,6 @@
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"properties": {
"additionalProperties": {
"$ref": "#/definitions/McpElicitationPrimitiveSchema"
@@ -222,12 +227,6 @@
"null"
]
},
"title": {
"type": [
"string",
"null"
]
},
"type": {
"$ref": "#/definitions/McpElicitationObjectType"
}
@@ -258,8 +257,14 @@
"type": "string"
},
"McpElicitationStringSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
@@ -314,6 +319,7 @@
"type": "string"
},
"McpElicitationTitledEnumItems": {
"additionalProperties": false,
"properties": {
"anyOf": {
"items": {
@@ -328,7 +334,7 @@
"type": "object"
},
"McpElicitationTitledMultiSelectEnumSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"items": {
@@ -381,7 +387,7 @@
"type": "object"
},
"McpElicitationTitledSingleSelectEnumSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"type": [
@@ -418,6 +424,7 @@
"type": "object"
},
"McpElicitationUntitledEnumItems": {
"additionalProperties": false,
"properties": {
"enum": {
"items": {
@@ -436,7 +443,7 @@
"type": "object"
},
"McpElicitationUntitledMultiSelectEnumSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"items": {
@@ -489,7 +496,7 @@
"type": "object"
},
"McpElicitationUntitledSingleSelectEnumSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"type": [
@@ -540,19 +547,13 @@
"type": "string"
},
"requestedSchema": {
"anyOf": [
{
"$ref": "#/definitions/McpElicitationSchema"
},
{
"type": "null"
}
]
"$ref": "#/definitions/McpElicitationSchema"
}
},
"required": [
"message",
"mode"
"mode",
"requestedSchema"
],
"type": "object"
},

View File

@@ -659,7 +659,7 @@
"type": "string"
},
"McpElicitationBooleanSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"type": [
@@ -695,6 +695,7 @@
"type": "string"
},
"McpElicitationConstOption": {
"additionalProperties": false,
"properties": {
"const": {
"type": "string"
@@ -716,29 +717,39 @@
},
{
"$ref": "#/definitions/McpElicitationMultiSelectEnumSchema"
},
{
"$ref": "#/definitions/McpElicitationLegacyTitledEnumSchema"
}
]
},
"McpElicitationIntegerSchema": {
"additionalProperties": true,
"McpElicitationLegacyTitledEnumSchema": {
"additionalProperties": false,
"properties": {
"default": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"maximum": {
"format": "int64",
"type": [
"integer",
"null"
]
"enum": {
"items": {
"type": "string"
},
"type": "array"
},
"minimum": {
"format": "int64",
"enumNames": {
"items": {
"type": "string"
},
"type": [
"integer",
"array",
"null"
]
},
@@ -749,20 +760,15 @@
]
},
"type": {
"$ref": "#/definitions/McpElicitationIntegerType"
"$ref": "#/definitions/McpElicitationStringType"
}
},
"required": [
"enum",
"type"
],
"type": "object"
},
"McpElicitationIntegerType": {
"enum": [
"integer"
],
"type": "string"
},
"McpElicitationMultiSelectEnumSchema": {
"anyOf": [
{
@@ -774,8 +780,15 @@
]
},
"McpElicitationNumberSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"format": "double",
"type": [
"number",
"null"
]
},
"description": {
"type": [
"string",
@@ -813,7 +826,8 @@
},
"McpElicitationNumberType": {
"enum": [
"number"
"number",
"integer"
],
"type": "string"
},
@@ -834,17 +848,14 @@
{
"$ref": "#/definitions/McpElicitationNumberSchema"
},
{
"$ref": "#/definitions/McpElicitationIntegerSchema"
},
{
"$ref": "#/definitions/McpElicitationBooleanSchema"
}
]
},
"McpElicitationSchema": {
"additionalProperties": true,
"description": "Typed form schema for MCP `elicitation/create` requests.\n\nThis mirrors the `requestedSchema` shape from the MCP `ElicitRequestFormParams` schema while preserving extension keywords such as Codex-specific `x-codex-*` metadata.",
"additionalProperties": false,
"description": "Typed form schema for MCP `elicitation/create` requests.\n\nThis matches the `requestedSchema` shape from the MCP 2025-11-25 `ElicitRequestFormParams` schema.",
"properties": {
"$schema": {
"type": [
@@ -852,12 +863,6 @@
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"properties": {
"additionalProperties": {
"$ref": "#/definitions/McpElicitationPrimitiveSchema"
@@ -873,12 +878,6 @@
"null"
]
},
"title": {
"type": [
"string",
"null"
]
},
"type": {
"$ref": "#/definitions/McpElicitationObjectType"
}
@@ -909,8 +908,14 @@
"type": "string"
},
"McpElicitationStringSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
@@ -965,6 +970,7 @@
"type": "string"
},
"McpElicitationTitledEnumItems": {
"additionalProperties": false,
"properties": {
"anyOf": {
"items": {
@@ -979,7 +985,7 @@
"type": "object"
},
"McpElicitationTitledMultiSelectEnumSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"items": {
@@ -1032,7 +1038,7 @@
"type": "object"
},
"McpElicitationTitledSingleSelectEnumSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"type": [
@@ -1069,6 +1075,7 @@
"type": "object"
},
"McpElicitationUntitledEnumItems": {
"additionalProperties": false,
"properties": {
"enum": {
"items": {
@@ -1087,7 +1094,7 @@
"type": "object"
},
"McpElicitationUntitledMultiSelectEnumSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"items": {
@@ -1140,7 +1147,7 @@
"type": "object"
},
"McpElicitationUntitledSingleSelectEnumSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"type": [
@@ -1191,19 +1198,13 @@
"type": "string"
},
"requestedSchema": {
"anyOf": [
{
"$ref": "#/definitions/McpElicitationSchema"
},
{
"type": "null"
}
]
"$ref": "#/definitions/McpElicitationSchema"
}
},
"required": [
"message",
"mode"
"mode",
"requestedSchema"
],
"type": "object"
},

View File

@@ -5305,7 +5305,7 @@
"type": "string"
},
"McpElicitationBooleanSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"type": [
@@ -5341,6 +5341,7 @@
"type": "string"
},
"McpElicitationConstOption": {
"additionalProperties": false,
"properties": {
"const": {
"type": "string"
@@ -5362,29 +5363,39 @@
},
{
"$ref": "#/definitions/McpElicitationMultiSelectEnumSchema"
},
{
"$ref": "#/definitions/McpElicitationLegacyTitledEnumSchema"
}
]
},
"McpElicitationIntegerSchema": {
"additionalProperties": true,
"McpElicitationLegacyTitledEnumSchema": {
"additionalProperties": false,
"properties": {
"default": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"maximum": {
"format": "int64",
"type": [
"integer",
"null"
]
"enum": {
"items": {
"type": "string"
},
"type": "array"
},
"minimum": {
"format": "int64",
"enumNames": {
"items": {
"type": "string"
},
"type": [
"integer",
"array",
"null"
]
},
@@ -5395,20 +5406,15 @@
]
},
"type": {
"$ref": "#/definitions/McpElicitationIntegerType"
"$ref": "#/definitions/McpElicitationStringType"
}
},
"required": [
"enum",
"type"
],
"type": "object"
},
"McpElicitationIntegerType": {
"enum": [
"integer"
],
"type": "string"
},
"McpElicitationMultiSelectEnumSchema": {
"anyOf": [
{
@@ -5420,8 +5426,15 @@
]
},
"McpElicitationNumberSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"format": "double",
"type": [
"number",
"null"
]
},
"description": {
"type": [
"string",
@@ -5459,7 +5472,8 @@
},
"McpElicitationNumberType": {
"enum": [
"number"
"number",
"integer"
],
"type": "string"
},
@@ -5480,17 +5494,14 @@
{
"$ref": "#/definitions/McpElicitationNumberSchema"
},
{
"$ref": "#/definitions/McpElicitationIntegerSchema"
},
{
"$ref": "#/definitions/McpElicitationBooleanSchema"
}
]
},
"McpElicitationSchema": {
"additionalProperties": true,
"description": "Typed form schema for MCP `elicitation/create` requests.\n\nThis mirrors the `requestedSchema` shape from the MCP `ElicitRequestFormParams` schema while preserving extension keywords such as Codex-specific `x-codex-*` metadata.",
"additionalProperties": false,
"description": "Typed form schema for MCP `elicitation/create` requests.\n\nThis matches the `requestedSchema` shape from the MCP 2025-11-25 `ElicitRequestFormParams` schema.",
"properties": {
"$schema": {
"type": [
@@ -5498,12 +5509,6 @@
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"properties": {
"additionalProperties": {
"$ref": "#/definitions/McpElicitationPrimitiveSchema"
@@ -5519,12 +5524,6 @@
"null"
]
},
"title": {
"type": [
"string",
"null"
]
},
"type": {
"$ref": "#/definitions/McpElicitationObjectType"
}
@@ -5555,8 +5554,14 @@
"type": "string"
},
"McpElicitationStringSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
@@ -5611,6 +5616,7 @@
"type": "string"
},
"McpElicitationTitledEnumItems": {
"additionalProperties": false,
"properties": {
"anyOf": {
"items": {
@@ -5625,7 +5631,7 @@
"type": "object"
},
"McpElicitationTitledMultiSelectEnumSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"items": {
@@ -5678,7 +5684,7 @@
"type": "object"
},
"McpElicitationTitledSingleSelectEnumSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"type": [
@@ -5715,6 +5721,7 @@
"type": "object"
},
"McpElicitationUntitledEnumItems": {
"additionalProperties": false,
"properties": {
"enum": {
"items": {
@@ -5733,7 +5740,7 @@
"type": "object"
},
"McpElicitationUntitledMultiSelectEnumSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"items": {
@@ -5786,7 +5793,7 @@
"type": "object"
},
"McpElicitationUntitledSingleSelectEnumSchema": {
"additionalProperties": true,
"additionalProperties": false,
"properties": {
"default": {
"type": [
@@ -5866,19 +5873,13 @@
"type": "string"
},
"requestedSchema": {
"anyOf": [
{
"$ref": "#/definitions/McpElicitationSchema"
},
{
"type": "null"
}
]
"$ref": "#/definitions/McpElicitationSchema"
}
},
"required": [
"message",
"mode"
"mode",
"requestedSchema"
],
"type": "object"
},