mirror of
https://github.com/openai/codex.git
synced 2026-04-26 23:55:25 +00:00
Support decision.updatedInput in PermissionRequest hook output
This commit is contained in:
@@ -36,8 +36,12 @@
|
||||
"type": "string"
|
||||
},
|
||||
"updatedInput": {
|
||||
"default": null,
|
||||
"description": "Reserved for a future input-rewrite capability.\n\nPermissionRequest hooks currently fail closed if this field is present."
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/PermissionRequestToolInput"
|
||||
}
|
||||
],
|
||||
"default": null
|
||||
},
|
||||
"updatedPermissions": {
|
||||
"default": null,
|
||||
@@ -72,6 +76,21 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"PermissionRequestToolInput": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"command": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"command"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"PermissionUpdate": {
|
||||
"oneOf": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user