feat: expose queued turn app-server RPCs

This commit is contained in:
efrazer-oai
2026-05-30 15:18:49 -07:00
committed by Edward Frazer
parent 2892e9e1ba
commit ee4634a18f
29 changed files with 2066 additions and 19 deletions
@@ -4171,6 +4171,26 @@
"title": "Thread/settings/updatedNotification",
"type": "object"
},
{
"properties": {
"method": {
"enum": [
"thread/queue/changed"
],
"title": "Thread/queue/changedNotificationMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/v2/ThreadQueueChangedNotification"
}
},
"required": [
"method",
"params"
],
"title": "Thread/queue/changedNotification",
"type": "object"
},
{
"properties": {
"method": {
@@ -13268,6 +13288,65 @@
],
"type": "object"
},
"QueuedTurn": {
"properties": {
"id": {
"type": "string"
},
"status": {
"$ref": "#/definitions/v2/QueuedTurnStatus"
},
"submission": {
"$ref": "#/definitions/v2/TurnSubmission"
}
},
"required": [
"id",
"status",
"submission"
],
"type": "object"
},
"QueuedTurnStatus": {
"oneOf": [
{
"properties": {
"type": {
"enum": [
"pending"
],
"title": "PendingQueuedTurnStatusType",
"type": "string"
}
},
"required": [
"type"
],
"title": "PendingQueuedTurnStatus",
"type": "object"
},
{
"properties": {
"error": {
"$ref": "#/definitions/v2/TurnError"
},
"type": {
"enum": [
"failed"
],
"title": "FailedQueuedTurnStatusType",
"type": "string"
}
},
"required": [
"error",
"type"
],
"title": "FailedQueuedTurnStatus",
"type": "object"
}
]
},
"RateLimitReachedType": {
"enum": [
"rate_limit_reached",
@@ -16982,6 +17061,26 @@
"title": "ThreadNameUpdatedNotification",
"type": "object"
},
"ThreadQueueChangedNotification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"queuedTurns": {
"items": {
"$ref": "#/definitions/v2/QueuedTurn"
},
"type": "array"
},
"threadId": {
"type": "string"
}
},
"required": [
"queuedTurns",
"threadId"
],
"title": "ThreadQueueChangedNotification",
"type": "object"
},
"ThreadReadParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
@@ -18638,6 +18737,40 @@
"title": "TurnSteerResponse",
"type": "object"
},
"TurnSubmission": {
"properties": {
"input": {
"items": {
"$ref": "#/definitions/v2/UserInput"
},
"type": "array"
},
"outputSchema": {
"description": "Optional JSON Schema used to constrain the final assistant message for this turn."
}
},
"required": [
"input"
],
"type": "object"
},
"TurnSubmissionParams": {
"properties": {
"input": {
"items": {
"$ref": "#/definitions/v2/UserInput"
},
"type": "array"
},
"outputSchema": {
"description": "Optional JSON Schema used to constrain the final assistant message for this turn."
}
},
"required": [
"input"
],
"type": "object"
},
"TurnsPage": {
"properties": {
"backwardsCursor": {