Draft: Codex iteration on streaming responses apply_patch events

This commit is contained in:
Akshay Nathan
2026-04-09 17:11:15 -07:00
parent fb3dcfde1d
commit d3c0a89ad4
36 changed files with 1469 additions and 2 deletions

View File

@@ -960,6 +960,48 @@
],
"type": "object"
},
"FileChangeInputDeltaNotification": {
"properties": {
"delta": {
"type": "string"
},
"itemId": {
"type": "string"
},
"threadId": {
"type": "string"
},
"turnId": {
"type": "string"
}
},
"required": [
"delta",
"itemId",
"threadId",
"turnId"
],
"type": "object"
},
"FileChangeInputStartedNotification": {
"properties": {
"itemId": {
"type": "string"
},
"threadId": {
"type": "string"
},
"turnId": {
"type": "string"
}
},
"required": [
"itemId",
"threadId",
"turnId"
],
"type": "object"
},
"FileChangeOutputDeltaNotification": {
"properties": {
"delta": {
@@ -4522,6 +4564,46 @@
"title": "Item/fileChange/outputDeltaNotification",
"type": "object"
},
{
"properties": {
"method": {
"enum": [
"item/fileChange/inputStarted"
],
"title": "Item/fileChange/inputStartedNotificationMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/FileChangeInputStartedNotification"
}
},
"required": [
"method",
"params"
],
"title": "Item/fileChange/inputStartedNotification",
"type": "object"
},
{
"properties": {
"method": {
"enum": [
"item/fileChange/inputDelta"
],
"title": "Item/fileChange/inputDeltaNotificationMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/FileChangeInputDeltaNotification"
}
},
"required": [
"method",
"params"
],
"title": "Item/fileChange/inputDeltaNotification",
"type": "object"
},
{
"properties": {
"method": {