rework to isolate core

This commit is contained in:
Roy Han
2026-03-13 18:11:59 -07:00
parent f9570b714c
commit e9bf09ba09
74 changed files with 381 additions and 3403 deletions

View File

@@ -8588,16 +8588,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"UserMessage"
@@ -8626,16 +8616,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"phase": {
"anyOf": [
{
@@ -8668,16 +8648,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"text": {
"type": "string"
},
@@ -8702,16 +8672,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"raw_content": {
"default": [],
"items": {
@@ -8749,16 +8709,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"query": {
"type": "string"
},
@@ -8784,16 +8734,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"result": {
"type": "string"
},
@@ -8834,16 +8774,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/TurnItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"ContextCompaction"
@@ -8861,21 +8791,6 @@
}
]
},
"TurnItemMetadata": {
"properties": {
"user_message_type": {
"anyOf": [
{
"$ref": "#/definitions/v2/UserMessageType"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"W3cTraceContext": {
"properties": {
"traceparent": {
@@ -11940,21 +11855,6 @@
"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": {
@@ -13767,6 +13667,16 @@
],
"writeOnly": true
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ResponseItemMetadata"
},
{
"type": "null"
}
]
},
"phase": {
"anyOf": [
{
@@ -14216,6 +14126,21 @@
}
]
},
"ResponseItemMetadata": {
"properties": {
"user_message_type": {
"anyOf": [
{
"$ref": "#/definitions/v2/UserMessageType"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"ResponsesApiWebSearchAction": {
"oneOf": [
{
@@ -15557,16 +15482,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"userMessage"
@@ -15588,16 +15503,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"phase": {
"anyOf": [
{
@@ -15634,16 +15539,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"text": {
"type": "string"
},
@@ -15675,16 +15570,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"summary": {
"default": [],
"items": {
@@ -15750,16 +15635,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"processId": {
"description": "Identifier for the underlying PTY process (when available).",
"type": [
@@ -15800,16 +15675,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"status": {
"$ref": "#/definitions/v2/PatchApplyStatus"
},
@@ -15854,16 +15719,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"result": {
"anyOf": [
{
@@ -15925,16 +15780,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"status": {
"$ref": "#/definitions/v2/DynamicToolCallStatus"
},
@@ -15978,16 +15823,6 @@
"description": "Unique identifier for this collab tool call.",
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"model": {
"description": "Model requested for the spawned agent, when applicable.",
"type": [
@@ -16075,16 +15910,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"query": {
"type": "string"
},
@@ -16109,16 +15934,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"path": {
"type": "string"
},
@@ -16143,16 +15958,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"result": {
"type": "string"
},
@@ -16187,16 +15992,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"review": {
"type": "string"
},
@@ -16221,16 +16016,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"review": {
"type": "string"
},
@@ -16255,16 +16040,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/v2/ItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"contextCompaction"