mirror of
https://github.com/openai/codex.git
synced 2026-04-30 01:16:54 +00:00
changes
This commit is contained in:
@@ -960,10 +960,19 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"FileChangeInputDeltaNotification": {
|
||||
"FileChangeChangesDeltaNotification": {
|
||||
"properties": {
|
||||
"delta": {
|
||||
"type": "string"
|
||||
"activePath": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"changes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/FileUpdateChange"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"itemId": {
|
||||
"type": "string"
|
||||
@@ -976,14 +985,14 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"delta",
|
||||
"changes",
|
||||
"itemId",
|
||||
"threadId",
|
||||
"turnId"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"FileChangeInputStartedNotification": {
|
||||
"FileChangeChangesStartedNotification": {
|
||||
"properties": {
|
||||
"itemId": {
|
||||
"type": "string"
|
||||
@@ -4568,40 +4577,40 @@
|
||||
"properties": {
|
||||
"method": {
|
||||
"enum": [
|
||||
"item/fileChange/inputStarted"
|
||||
"item/fileChange/changesStarted"
|
||||
],
|
||||
"title": "Item/fileChange/inputStartedNotificationMethod",
|
||||
"title": "Item/fileChange/changesStartedNotificationMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/FileChangeInputStartedNotification"
|
||||
"$ref": "#/definitions/FileChangeChangesStartedNotification"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "Item/fileChange/inputStartedNotification",
|
||||
"title": "Item/fileChange/changesStartedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
"enum": [
|
||||
"item/fileChange/inputDelta"
|
||||
"item/fileChange/changesDelta"
|
||||
],
|
||||
"title": "Item/fileChange/inputDeltaNotificationMethod",
|
||||
"title": "Item/fileChange/changesDeltaNotificationMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/FileChangeInputDeltaNotification"
|
||||
"$ref": "#/definitions/FileChangeChangesDeltaNotification"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "Item/fileChange/inputDeltaNotification",
|
||||
"title": "Item/fileChange/changesDeltaNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -3918,40 +3918,40 @@
|
||||
"properties": {
|
||||
"method": {
|
||||
"enum": [
|
||||
"item/fileChange/inputStarted"
|
||||
"item/fileChange/changesStarted"
|
||||
],
|
||||
"title": "Item/fileChange/inputStartedNotificationMethod",
|
||||
"title": "Item/fileChange/changesStartedNotificationMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/v2/FileChangeInputStartedNotification"
|
||||
"$ref": "#/definitions/v2/FileChangeChangesStartedNotification"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "Item/fileChange/inputStartedNotification",
|
||||
"title": "Item/fileChange/changesStartedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
"enum": [
|
||||
"item/fileChange/inputDelta"
|
||||
"item/fileChange/changesDelta"
|
||||
],
|
||||
"title": "Item/fileChange/inputDeltaNotificationMethod",
|
||||
"title": "Item/fileChange/changesDeltaNotificationMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/v2/FileChangeInputDeltaNotification"
|
||||
"$ref": "#/definitions/v2/FileChangeChangesDeltaNotification"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "Item/fileChange/inputDeltaNotification",
|
||||
"title": "Item/fileChange/changesDeltaNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
@@ -7508,11 +7508,20 @@
|
||||
"title": "FeedbackUploadResponse",
|
||||
"type": "object"
|
||||
},
|
||||
"FileChangeInputDeltaNotification": {
|
||||
"FileChangeChangesDeltaNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"delta": {
|
||||
"type": "string"
|
||||
"activePath": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"changes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/FileUpdateChange"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"itemId": {
|
||||
"type": "string"
|
||||
@@ -7525,15 +7534,15 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"delta",
|
||||
"changes",
|
||||
"itemId",
|
||||
"threadId",
|
||||
"turnId"
|
||||
],
|
||||
"title": "FileChangeInputDeltaNotification",
|
||||
"title": "FileChangeChangesDeltaNotification",
|
||||
"type": "object"
|
||||
},
|
||||
"FileChangeInputStartedNotification": {
|
||||
"FileChangeChangesStartedNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"itemId": {
|
||||
@@ -7551,7 +7560,7 @@
|
||||
"threadId",
|
||||
"turnId"
|
||||
],
|
||||
"title": "FileChangeInputStartedNotification",
|
||||
"title": "FileChangeChangesStartedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
"FileChangeOutputDeltaNotification": {
|
||||
|
||||
@@ -4116,11 +4116,20 @@
|
||||
"title": "FeedbackUploadResponse",
|
||||
"type": "object"
|
||||
},
|
||||
"FileChangeInputDeltaNotification": {
|
||||
"FileChangeChangesDeltaNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"delta": {
|
||||
"type": "string"
|
||||
"activePath": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"changes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/FileUpdateChange"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"itemId": {
|
||||
"type": "string"
|
||||
@@ -4133,15 +4142,15 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"delta",
|
||||
"changes",
|
||||
"itemId",
|
||||
"threadId",
|
||||
"turnId"
|
||||
],
|
||||
"title": "FileChangeInputDeltaNotification",
|
||||
"title": "FileChangeChangesDeltaNotification",
|
||||
"type": "object"
|
||||
},
|
||||
"FileChangeInputStartedNotification": {
|
||||
"FileChangeChangesStartedNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"itemId": {
|
||||
@@ -4159,7 +4168,7 @@
|
||||
"threadId",
|
||||
"turnId"
|
||||
],
|
||||
"title": "FileChangeInputStartedNotification",
|
||||
"title": "FileChangeChangesStartedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
"FileChangeOutputDeltaNotification": {
|
||||
@@ -9065,40 +9074,40 @@
|
||||
"properties": {
|
||||
"method": {
|
||||
"enum": [
|
||||
"item/fileChange/inputStarted"
|
||||
"item/fileChange/changesStarted"
|
||||
],
|
||||
"title": "Item/fileChange/inputStartedNotificationMethod",
|
||||
"title": "Item/fileChange/changesStartedNotificationMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/FileChangeInputStartedNotification"
|
||||
"$ref": "#/definitions/FileChangeChangesStartedNotification"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "Item/fileChange/inputStartedNotification",
|
||||
"title": "Item/fileChange/changesStartedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
"enum": [
|
||||
"item/fileChange/inputDelta"
|
||||
"item/fileChange/changesDelta"
|
||||
],
|
||||
"title": "Item/fileChange/inputDeltaNotificationMethod",
|
||||
"title": "Item/fileChange/changesDeltaNotificationMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/FileChangeInputDeltaNotification"
|
||||
"$ref": "#/definitions/FileChangeChangesDeltaNotification"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "Item/fileChange/inputDeltaNotification",
|
||||
"title": "Item/fileChange/changesDeltaNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"definitions": {
|
||||
"FileUpdateChange": {
|
||||
"properties": {
|
||||
"diff": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"$ref": "#/definitions/PatchChangeKind"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"diff",
|
||||
"kind",
|
||||
"path"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"PatchChangeKind": {
|
||||
"oneOf": [
|
||||
{
|
||||
"properties": {
|
||||
"type": {
|
||||
"enum": [
|
||||
"add"
|
||||
],
|
||||
"title": "AddPatchChangeKindType",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"title": "AddPatchChangeKind",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"type": {
|
||||
"enum": [
|
||||
"delete"
|
||||
],
|
||||
"title": "DeletePatchChangeKindType",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"title": "DeletePatchChangeKind",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"move_path": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"update"
|
||||
],
|
||||
"title": "UpdatePatchChangeKindType",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"title": "UpdatePatchChangeKind",
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"activePath": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"changes": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/FileUpdateChange"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"itemId": {
|
||||
"type": "string"
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
},
|
||||
"turnId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"changes",
|
||||
"itemId",
|
||||
"threadId",
|
||||
"turnId"
|
||||
],
|
||||
"title": "FileChangeChangesDeltaNotification",
|
||||
"type": "object"
|
||||
}
|
||||
@@ -16,6 +16,6 @@
|
||||
"threadId",
|
||||
"turnId"
|
||||
],
|
||||
"title": "FileChangeInputStartedNotification",
|
||||
"title": "FileChangeChangesStartedNotification",
|
||||
"type": "object"
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"delta": {
|
||||
"type": "string"
|
||||
},
|
||||
"itemId": {
|
||||
"type": "string"
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
},
|
||||
"turnId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"delta",
|
||||
"itemId",
|
||||
"threadId",
|
||||
"turnId"
|
||||
],
|
||||
"title": "FileChangeInputDeltaNotification",
|
||||
"type": "object"
|
||||
}
|
||||
Reference in New Issue
Block a user