mirror of
https://github.com/openai/codex.git
synced 2026-04-29 17:06:51 +00:00
feat: update remote control harness
Co-authored-by: Codex noreply@openai.com
This commit is contained in:
@@ -1377,6 +1377,53 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"RemoteControlApprovalConfirmParams": {
|
||||
"properties": {
|
||||
"approvalId": {
|
||||
"type": "string"
|
||||
},
|
||||
"challenge": {
|
||||
"type": "string"
|
||||
},
|
||||
"controllerName": {
|
||||
"type": "string"
|
||||
},
|
||||
"environmentId": {
|
||||
"type": "string"
|
||||
},
|
||||
"expiresAt": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"mode": {
|
||||
"$ref": "#/definitions/RemoteControlPairingMode"
|
||||
},
|
||||
"prompt": {
|
||||
"type": "string"
|
||||
},
|
||||
"serverId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"approvalId",
|
||||
"challenge",
|
||||
"controllerName",
|
||||
"environmentId",
|
||||
"expiresAt",
|
||||
"mode",
|
||||
"prompt",
|
||||
"serverId"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"RemoteControlPairingMode": {
|
||||
"enum": [
|
||||
"session",
|
||||
"server"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"RequestId": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -1674,6 +1721,30 @@
|
||||
"title": "Account/chatgptAuthTokens/refreshRequest",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"id": {
|
||||
"$ref": "#/definitions/RequestId"
|
||||
},
|
||||
"method": {
|
||||
"enum": [
|
||||
"remoteControl/approval/confirm"
|
||||
],
|
||||
"title": "RemoteControl/approval/confirmRequestMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/RemoteControlApprovalConfirmParams"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "RemoteControl/approval/confirmRequest",
|
||||
"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