76 lines
1.5 KiB
JSON
76 lines
1.5 KiB
JSON
|
|
{
|
||
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||
|
|
"additionalProperties": false,
|
||
|
|
"definitions": {
|
||
|
|
"BlockDecisionWire": {
|
||
|
|
"enum": [
|
||
|
|
"block"
|
||
|
|
],
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"HookEventNameWire": {
|
||
|
|
"enum": [
|
||
|
|
"SessionStart",
|
||
|
|
"UserPromptSubmit",
|
||
|
|
"Stop"
|
||
|
|
],
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"UserPromptSubmitHookSpecificOutputWire": {
|
||
|
|
"additionalProperties": false,
|
||
|
|
"properties": {
|
||
|
|
"additionalContext": {
|
||
|
|
"default": null,
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"hookEventName": {
|
||
|
|
"$ref": "#/definitions/HookEventNameWire"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"required": [
|
||
|
|
"hookEventName"
|
||
|
|
],
|
||
|
|
"type": "object"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"properties": {
|
||
|
|
"continue": {
|
||
|
|
"default": true,
|
||
|
|
"type": "boolean"
|
||
|
|
},
|
||
|
|
"decision": {
|
||
|
|
"allOf": [
|
||
|
|
{
|
||
|
|
"$ref": "#/definitions/BlockDecisionWire"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"default": null
|
||
|
|
},
|
||
|
|
"hookSpecificOutput": {
|
||
|
|
"allOf": [
|
||
|
|
{
|
||
|
|
"$ref": "#/definitions/UserPromptSubmitHookSpecificOutputWire"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"default": null
|
||
|
|
},
|
||
|
|
"reason": {
|
||
|
|
"default": null,
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"stopReason": {
|
||
|
|
"default": null,
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"suppressOutput": {
|
||
|
|
"default": false,
|
||
|
|
"type": "boolean"
|
||
|
|
},
|
||
|
|
"systemMessage": {
|
||
|
|
"default": null,
|
||
|
|
"type": "string"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"title": "user-prompt-submit.command.output",
|
||
|
|
"type": "object"
|
||
|
|
}
|