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

@@ -1274,6 +1274,30 @@
"title": "Config/batchWriteRequest",
"type": "object"
},
{
"properties": {
"id": {
"$ref": "#/definitions/RequestId"
},
"method": {
"enum": [
"windowsSandbox/nuxStart"
],
"title": "WindowsSandbox/nuxStartRequestMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/v2/WindowsSandboxNuxStartParams"
}
},
"required": [
"id",
"method",
"params"
],
"title": "WindowsSandbox/nuxStartRequest",
"type": "object"
},
{
"properties": {
"id": {
@@ -8524,6 +8548,26 @@
"title": "Windows/worldWritableWarningNotification",
"type": "object"
},
{
"properties": {
"method": {
"enum": [
"windowsSandbox/setupStatus"
],
"title": "WindowsSandbox/setupStatusNotificationMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/v2/WindowsSandboxSetupStatusNotification"
}
},
"required": [
"method",
"params"
],
"title": "WindowsSandbox/setupStatusNotification",
"type": "object"
},
{
"properties": {
"method": {
@@ -8737,6 +8781,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": {
@@ -10007,6 +10075,64 @@
}
]
},
"WindowsSandboxNuxPromptAction": {
"enum": [
"setupElevated",
"setupUnelevated",
"retryElevated",
"quit"
],
"type": "string"
},
"WindowsSandboxNuxPromptParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"failureCode": {
"type": [
"string",
"null"
]
},
"failureMessage": {
"type": [
"string",
"null"
]
},
"screen": {
"$ref": "#/definitions/WindowsSandboxNuxPromptScreen"
},
"surface": {
"$ref": "#/definitions/v2/WindowsSandboxNuxSurface"
}
},
"required": [
"screen",
"surface"
],
"title": "WindowsSandboxNuxPromptParams",
"type": "object"
},
"WindowsSandboxNuxPromptResponse": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"action": {
"$ref": "#/definitions/WindowsSandboxNuxPromptAction"
}
},
"required": [
"action"
],
"title": "WindowsSandboxNuxPromptResponse",
"type": "object"
},
"WindowsSandboxNuxPromptScreen": {
"enum": [
"enable",
"fallback"
],
"type": "string"
},
"v2": {
"AbsolutePathBuf": {
"description": "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.",
@@ -16587,6 +16713,89 @@
],
"type": "string"
},
"WindowsSandboxNuxStartParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"surface": {
"$ref": "#/definitions/v2/WindowsSandboxNuxSurface"
}
},
"required": [
"surface"
],
"title": "WindowsSandboxNuxStartParams",
"type": "object"
},
"WindowsSandboxNuxStartResponse": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"accepted": {
"type": "boolean"
}
},
"required": [
"accepted"
],
"title": "WindowsSandboxNuxStartResponse",
"type": "object"
},
"WindowsSandboxNuxSurface": {
"enum": [
"tui",
"codexApp",
"vscode"
],
"type": "string"
},
"WindowsSandboxSetupStatus": {
"enum": [
"started",
"running",
"completed",
"failed"
],
"type": "string"
},
"WindowsSandboxSetupStatusNotification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"attempt": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"elapsedMs": {
"format": "int64",
"type": "integer"
},
"failureCode": {
"type": [
"string",
"null"
]
},
"failureMessage": {
"type": [
"string",
"null"
]
},
"status": {
"$ref": "#/definitions/v2/WindowsSandboxSetupStatus"
},
"surface": {
"$ref": "#/definitions/v2/WindowsSandboxNuxSurface"
}
},
"required": [
"attempt",
"elapsedMs",
"status",
"surface"
],
"title": "WindowsSandboxSetupStatusNotification",
"type": "object"
},
"WindowsWorldWritableWarningNotification": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {