mirror of
https://github.com/openai/codex.git
synced 2026-04-25 15:15:15 +00:00
Restore permission request attempt context
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -57,9 +57,19 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"PermissionRequestApprovalAttempt": {
|
||||
"enum": [
|
||||
"initial",
|
||||
"retry"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"PermissionRequestApprovalContext": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"attempt": {
|
||||
"$ref": "#/definitions/PermissionRequestAttemptContext"
|
||||
},
|
||||
"justification": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -71,11 +81,27 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"attempt",
|
||||
"policy",
|
||||
"resource"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"PermissionRequestAttemptContext": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"retryReason": {
|
||||
"type": "string"
|
||||
},
|
||||
"stage": {
|
||||
"$ref": "#/definitions/PermissionRequestApprovalAttempt"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"stage"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"PermissionRequestPolicyContext": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user