mirror of
https://github.com/openai/codex.git
synced 2026-10-29 19:08:43 +00:00
Persist thread artifacts in runtime store
This commit is contained in:
+69
-77
@@ -3032,6 +3032,14 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"artifacts": {
|
||||
"default": [],
|
||||
"description": "Model-managed artifacts associated with the thread.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadArtifact"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"cliVersion": {
|
||||
"description": "Version of the CLI that created the thread.",
|
||||
"type": "string"
|
||||
@@ -3138,16 +3146,6 @@
|
||||
"description": "Unix timestamp (in seconds) when the thread was last updated.",
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"artifacts": {
|
||||
"description": "Model-managed artifacts associated with the thread.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadArtifact"
|
||||
},
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3184,6 +3182,46 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadArtifact": {
|
||||
"properties": {
|
||||
"artifactType": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"payload": true
|
||||
},
|
||||
"required": [
|
||||
"artifactType",
|
||||
"createdAt",
|
||||
"id",
|
||||
"payload"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadArtifactsUpdatedNotification": {
|
||||
"properties": {
|
||||
"artifacts": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadArtifact"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"artifacts",
|
||||
"threadId"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadClosedNotification": {
|
||||
"properties": {
|
||||
"threadId": {
|
||||
@@ -4858,52 +4896,6 @@
|
||||
"samplePaths"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadArtifact": {
|
||||
"properties": {
|
||||
"artifactType": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"payload": true
|
||||
},
|
||||
"required": [
|
||||
"artifactType",
|
||||
"createdAt",
|
||||
"id",
|
||||
"payload"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadArtifactsUpdatedNotification": {
|
||||
"properties": {
|
||||
"artifacts": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadArtifact"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
},
|
||||
"turnId": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"artifacts",
|
||||
"threadId"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"description": "Notification sent from the server to the client.",
|
||||
@@ -5089,6 +5081,26 @@
|
||||
"title": "Thread/goal/updatedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
"enum": [
|
||||
"thread/artifacts/updated"
|
||||
],
|
||||
"title": "Thread/artifacts/updatedNotificationMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/ThreadArtifactsUpdatedNotification"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "Thread/artifacts/updatedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
@@ -6175,27 +6187,7 @@
|
||||
],
|
||||
"title": "Account/login/completedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"method": {
|
||||
"enum": [
|
||||
"thread/artifacts/updated"
|
||||
],
|
||||
"title": "Thread/artifacts/updatedNotificationMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/ThreadArtifactsUpdatedNotification"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "Thread/artifacts/updatedNotification",
|
||||
"type": "object"
|
||||
}
|
||||
],
|
||||
"title": "ServerNotification"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user