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

@@ -6405,6 +6405,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"UserMessage"
@@ -6433,6 +6443,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"phase": {
"anyOf": [
{
@@ -6465,6 +6485,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"text": {
"type": "string"
},
@@ -6489,6 +6519,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"raw_content": {
"default": [],
"items": {
@@ -6526,6 +6566,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"query": {
"type": "string"
},
@@ -6551,6 +6601,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"result": {
"type": "string"
},
@@ -6591,6 +6651,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"ContextCompaction"
@@ -6608,6 +6678,21 @@
}
]
},
"TurnItemMetadata": {
"properties": {
"user_message_type": {
"anyOf": [
{
"$ref": "#/definitions/UserMessageType"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"UserInput": {
"description": "User input",
"oneOf": [
@@ -6732,6 +6817,18 @@
"type": "object"
}
]
},
"UserMessageType": {
"enum": [
"prompt",
"prompt_steering",
"prompt_queued",
"prompt_with_ide_context",
"agents_md_default",
"agents_md_custom",
"environment_context"
],
"type": "string"
}
},
"description": "Response event from the agent NOTE: Make sure none of these values have optional types, as it will mess up the extension code-gen.",