feat: update remote control harness

Co-authored-by: Codex noreply@openai.com
This commit is contained in:
viyatb-oai
2026-04-16 10:42:36 -07:00
parent d22974712f
commit e80542dd98
46 changed files with 1185 additions and 721 deletions

View File

@@ -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": {