Persist thread artifacts in runtime store

This commit is contained in:
Jeremy Rose
2026-05-14 16:44:25 -07:00
parent 76814a24be
commit 4a72c41ed3
85 changed files with 1763 additions and 1451 deletions
@@ -1332,6 +1332,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"
@@ -1438,16 +1446,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": [
@@ -1473,6 +1471,28 @@
],
"type": "string"
},
"ThreadArtifact": {
"properties": {
"artifactType": {
"type": "string"
},
"createdAt": {
"format": "int64",
"type": "integer"
},
"id": {
"type": "string"
},
"payload": true
},
"required": [
"artifactType",
"createdAt",
"id",
"payload"
],
"type": "object"
},
"ThreadId": {
"type": "string"
},
@@ -2568,28 +2588,6 @@
"type": "object"
}
]
},
"ThreadArtifact": {
"properties": {
"artifactType": {
"type": "string"
},
"createdAt": {
"format": "int64",
"type": "integer"
},
"id": {
"type": "string"
},
"payload": true
},
"required": [
"artifactType",
"createdAt",
"id",
"payload"
],
"type": "object"
}
},
"properties": {
@@ -2660,4 +2658,4 @@
],
"title": "ThreadStartResponse",
"type": "object"
}
}