app server request/response structure for sandbox nux

This commit is contained in:
iceweasel-oai
2026-02-13 15:07:10 -08:00
parent 12f69b893f
commit 96557c4854
31 changed files with 1502 additions and 19 deletions

View File

@@ -609,6 +609,48 @@
"question"
],
"type": "object"
},
"WindowsSandboxNuxPromptParams": {
"properties": {
"failureCode": {
"type": [
"string",
"null"
]
},
"failureMessage": {
"type": [
"string",
"null"
]
},
"screen": {
"$ref": "#/definitions/WindowsSandboxNuxPromptScreen"
},
"surface": {
"$ref": "#/definitions/WindowsSandboxNuxSurface"
}
},
"required": [
"screen",
"surface"
],
"type": "object"
},
"WindowsSandboxNuxPromptScreen": {
"enum": [
"enable",
"fallback"
],
"type": "string"
},
"WindowsSandboxNuxSurface": {
"enum": [
"tui",
"codexApp",
"vscode"
],
"type": "string"
}
},
"description": "Request initiated from the server and sent to the client.",
@@ -737,6 +779,30 @@
"title": "Account/chatgptAuthTokens/refreshRequest",
"type": "object"
},
{
"properties": {
"id": {
"$ref": "#/definitions/RequestId"
},
"method": {
"enum": [
"windowsSandbox/nuxPrompt"
],
"title": "WindowsSandbox/nuxPromptRequestMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/WindowsSandboxNuxPromptParams"
}
},
"required": [
"id",
"method",
"params"
],
"title": "WindowsSandbox/nuxPromptRequest",
"type": "object"
},
{
"description": "DEPRECATED APIs below Request to approve a patch. This request is used for Turns started via the legacy APIs (i.e. SendUserTurn, SendUserMessage).",
"properties": {