@@ -89,6 +89,16 @@
89 "tools": {
89 "tools": {
90 "$ref": "#/$defs/Tools",
90 "$ref": "#/$defs/Tools",
91 "description": "Tool configurations"
91 "description": "Tool configurations"
94+ "additionalProperties": {
96+ "$ref": "#/$defs/HookConfig"
101+ "description": "User-defined shell commands that fire on hook events (e.g. PreToolUse)"
94 "additionalProperties": false,
104 "additionalProperties": false,
@@ -97,6 +107,28 @@
114+ "description": "Regex pattern tested against the tool name. Empty means match all tools."
118+ "description": "Shell command to execute when the hook fires"
122+ "description": "Timeout in seconds for the hook command",
126+ "additionalProperties": false,
100 "LSPConfig": {
132 "LSPConfig": {
101 "properties": {
133 "properties": {
102 "disabled": {
134 "disabled": {