mirror of
https://github.com/openai/codex.git
synced 2026-04-30 09:26:44 +00:00
app server request/response structure for sandbox nux
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user