mirror of
https://github.com/openai/codex.git
synced 2026-05-02 10:26:45 +00:00
feat: update remote control harness
Co-authored-by: Codex noreply@openai.com
This commit is contained in:
@@ -10,6 +10,15 @@
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"approvalId": {
|
||||
"type": "string"
|
||||
},
|
||||
"challenge": {
|
||||
"type": "string"
|
||||
},
|
||||
"controllerName": {
|
||||
"type": "string"
|
||||
},
|
||||
"environmentId": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -20,12 +29,6 @@
|
||||
"mode": {
|
||||
"$ref": "#/definitions/RemoteControlPairingMode"
|
||||
},
|
||||
"pairingCode": {
|
||||
"type": "string"
|
||||
},
|
||||
"pairingId": {
|
||||
"type": "string"
|
||||
},
|
||||
"prompt": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -34,14 +37,15 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"approvalId",
|
||||
"challenge",
|
||||
"controllerName",
|
||||
"environmentId",
|
||||
"expiresAt",
|
||||
"mode",
|
||||
"pairingCode",
|
||||
"pairingId",
|
||||
"prompt",
|
||||
"serverId"
|
||||
],
|
||||
"title": "RemoteControlPairingStartResponse",
|
||||
"title": "RemoteControlApprovalRequestParams",
|
||||
"type": "object"
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"definitions": {
|
||||
"RemoteControlApprovalDecision": {
|
||||
"enum": [
|
||||
"approve",
|
||||
"deny"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"approvalKeyId": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"decision": {
|
||||
"$ref": "#/definitions/RemoteControlApprovalDecision"
|
||||
},
|
||||
"signature": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"signatureAlgorithm": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"decision"
|
||||
],
|
||||
"title": "RemoteControlApprovalRequestResponse",
|
||||
"type": "object"
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"definitions": {
|
||||
"RemoteControlPairingMode": {
|
||||
"enum": [
|
||||
"session",
|
||||
"server"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"mode": {
|
||||
"$ref": "#/definitions/RemoteControlPairingMode"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"mode"
|
||||
],
|
||||
"title": "RemoteControlPairingStartParams",
|
||||
"type": "object"
|
||||
}
|
||||
Reference in New Issue
Block a user