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

@@ -393,21 +393,6 @@
},
"type": "object"
},
"ItemMetadata": {
"properties": {
"user_message_type": {
"anyOf": [
{
"$ref": "#/definitions/UserMessageType"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"McpToolCallError": {
"properties": {
"message": {
@@ -789,16 +774,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"userMessage"
@@ -820,16 +795,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"phase": {
"anyOf": [
{
@@ -866,16 +831,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"text": {
"type": "string"
},
@@ -907,16 +862,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"summary": {
"default": [],
"items": {
@@ -982,16 +927,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"processId": {
"description": "Identifier for the underlying PTY process (when available).",
"type": [
@@ -1032,16 +967,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"status": {
"$ref": "#/definitions/PatchApplyStatus"
},
@@ -1086,16 +1011,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"result": {
"anyOf": [
{
@@ -1157,16 +1072,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"status": {
"$ref": "#/definitions/DynamicToolCallStatus"
},
@@ -1210,16 +1115,6 @@
"description": "Unique identifier for this collab tool call.",
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"model": {
"description": "Model requested for the spawned agent, when applicable.",
"type": [
@@ -1307,16 +1202,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"query": {
"type": "string"
},
@@ -1341,16 +1226,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"path": {
"type": "string"
},
@@ -1375,16 +1250,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"result": {
"type": "string"
},
@@ -1419,16 +1284,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"review": {
"type": "string"
},
@@ -1453,16 +1308,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"review": {
"type": "string"
},
@@ -1487,16 +1332,6 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"contextCompaction"
@@ -1780,14 +1615,6 @@
}
]
},
"UserMessageType": {
"enum": [
"prompt",
"prompt_steering",
"prompt_queued"
],
"type": "string"
},
"WebSearchAction": {
"oneOf": [
{