mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
98 lines
2.0 KiB
JSON
98 lines
2.0 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"additionalProperties": false,
|
|
"definitions": {
|
|
"HookEventNameWire": {
|
|
"enum": [
|
|
"PreToolUse",
|
|
"PermissionRequest",
|
|
"PostToolUse",
|
|
"SessionStart",
|
|
"UserPromptSubmit",
|
|
"Stop"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"PermissionRequestBehaviorWire": {
|
|
"enum": [
|
|
"allow",
|
|
"deny"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"PermissionRequestDecisionWire": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"behavior": {
|
|
"$ref": "#/definitions/PermissionRequestBehaviorWire"
|
|
},
|
|
"interrupt": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"message": {
|
|
"default": null,
|
|
"type": "string"
|
|
},
|
|
"updatedInput": {
|
|
"default": null
|
|
},
|
|
"updatedPermissions": {
|
|
"default": null
|
|
}
|
|
},
|
|
"required": [
|
|
"behavior"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"PermissionRequestHookSpecificOutputWire": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"decision": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/definitions/PermissionRequestDecisionWire"
|
|
}
|
|
],
|
|
"default": null
|
|
},
|
|
"hookEventName": {
|
|
"$ref": "#/definitions/HookEventNameWire"
|
|
}
|
|
},
|
|
"required": [
|
|
"hookEventName"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"properties": {
|
|
"continue": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"hookSpecificOutput": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/definitions/PermissionRequestHookSpecificOutputWire"
|
|
}
|
|
],
|
|
"default": null
|
|
},
|
|
"stopReason": {
|
|
"default": null,
|
|
"type": "string"
|
|
},
|
|
"suppressOutput": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"systemMessage": {
|
|
"default": null,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"title": "permission-request.command.output",
|
|
"type": "object"
|
|
} |