app-server-schema

This commit is contained in:
Roy Han
2026-03-11 16:00:56 -07:00
parent 6204ce60d0
commit 95027497d4
33 changed files with 3499 additions and 12 deletions

View File

@@ -8574,6 +8574,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"UserMessage"
@@ -8602,6 +8612,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"phase": {
"anyOf": [
{
@@ -8634,6 +8654,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"text": {
"type": "string"
},
@@ -8658,6 +8688,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"raw_content": {
"default": [],
"items": {
@@ -8695,6 +8735,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"query": {
"type": "string"
},
@@ -8720,6 +8770,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"result": {
"type": "string"
},
@@ -8760,6 +8820,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"ContextCompaction"
@@ -8777,6 +8847,21 @@
}
]
},
"TurnItemMetadata": {
"properties": {
"user_message_type": {
"anyOf": [
{
"$ref": "#/definitions/v2/UserMessageType"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"W3cTraceContext": {
"properties": {
"traceparent": {
@@ -11841,6 +11926,21 @@
"title": "ItemCompletedNotification",
"type": "object"
},
"ItemMetadata": {
"properties": {
"user_message_type": {
"anyOf": [
{
"$ref": "#/definitions/v2/UserMessageType"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"ItemStartedNotification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
@@ -15379,6 +15479,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"userMessage"
@@ -15400,6 +15510,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"phase": {
"anyOf": [
{
@@ -15436,6 +15556,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"text": {
"type": "string"
},
@@ -15467,6 +15597,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"summary": {
"default": [],
"items": {
@@ -15532,6 +15672,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"processId": {
"description": "Identifier for the underlying PTY process (when available).",
"type": [
@@ -15572,6 +15722,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"status": {
"$ref": "#/definitions/v2/PatchApplyStatus"
},
@@ -15616,6 +15776,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"result": {
"anyOf": [
{
@@ -15677,6 +15847,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"status": {
"$ref": "#/definitions/v2/DynamicToolCallStatus"
},
@@ -15720,6 +15900,16 @@
"description": "Unique identifier for this collab tool call.",
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"prompt": {
"description": "Prompt text sent as part of the collab tool call, when available.",
"type": [
@@ -15789,6 +15979,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"query": {
"type": "string"
},
@@ -15813,6 +16013,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"path": {
"type": "string"
},
@@ -15837,6 +16047,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"result": {
"type": "string"
},
@@ -15871,6 +16091,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"review": {
"type": "string"
},
@@ -15895,6 +16125,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"review": {
"type": "string"
},
@@ -15919,6 +16159,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"contextCompaction"
@@ -17501,6 +17751,18 @@
}
]
},
"UserMessageType": {
"enum": [
"prompt",
"prompt_steering",
"prompt_queued",
"prompt_with_ide_context",
"agents_md_default",
"agents_md_custom",
"environment_context"
],
"type": "string"
},
"Verbosity": {
"description": "Controls output length/detail on GPT-5 models via the Responses API. Serialized with lowercase values to match the OpenAI API.",
"enum": [