mirror of
https://github.com/openai/codex.git
synced 2026-04-26 23:55:25 +00:00
feat(app-server): gate permission confirmations by capability
Add initialize-time server request capabilities so app-server only sends conversational permission confirmation requests to clients that advertise support. Unsupported clients still fail closed without changing permissions, while capable clients receive the existing request/response flow for narrow grants and preset picker requests.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"PermissionPresetId": {
|
||||
"description": "A built-in permission-mode preset that app clients can confirm.",
|
||||
"enum": [
|
||||
"auto",
|
||||
"full-access",
|
||||
@@ -18,6 +19,7 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"description": "Response from an app client after the permission preset picker resolves.",
|
||||
"properties": {
|
||||
"decision": {
|
||||
"$ref": "#/definitions/PermissionPresetApprovalDecision"
|
||||
|
||||
Reference in New Issue
Block a user