Support decision.updatedInput in PermissionRequest hook output

This commit is contained in:
Abhinav Vedmala
2026-04-14 17:22:07 -07:00
parent f7d4874a0e
commit eba705f448
17 changed files with 572 additions and 58 deletions

View File

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