{
  "hooks": {
    "SessionStart": [
      { "hooks": [ { "type": "command", "command": "sh \"$CLAUDE_PLUGIN_ROOT/hooks/dispatch.sh\" SessionStart", "shell": "bash" } ] }
    ],
    "UserPromptSubmit": [
      { "hooks": [ { "type": "command", "command": "sh \"$CLAUDE_PLUGIN_ROOT/hooks/dispatch.sh\" UserPromptSubmit", "shell": "bash", "timeout": 20 } ] }
    ],
    "PreToolUse": [
      { "hooks": [ { "type": "command", "command": "sh \"$CLAUDE_PLUGIN_ROOT/hooks/dispatch.sh\" PreToolUse", "shell": "bash" } ] }
    ],
    "Stop": [
      { "hooks": [ { "type": "command", "command": "sh \"$CLAUDE_PLUGIN_ROOT/hooks/dispatch.sh\" Stop", "shell": "bash" } ] }
    ],
    "SessionEnd": [
      { "hooks": [ { "type": "command", "command": "sh \"$CLAUDE_PLUGIN_ROOT/hooks/dispatch.sh\" SessionEnd", "shell": "bash" } ] }
    ],
    "SubagentStart": [
      { "hooks": [ { "type": "command", "command": "sh \"$CLAUDE_PLUGIN_ROOT/hooks/dispatch.sh\" SubagentStart", "shell": "bash" } ] }
    ],
    "SubagentStop": [
      { "hooks": [ { "type": "command", "command": "sh \"$CLAUDE_PLUGIN_ROOT/hooks/dispatch.sh\" SubagentStop", "shell": "bash" } ] }
    ],
    "PostToolUse": [
      { "matcher": "Write", "hooks": [ { "type": "command", "command": "sh \"$CLAUDE_PLUGIN_ROOT/hooks/dispatch.sh\" PostToolUse", "shell": "bash" } ] }
    ],
    "PostToolUseFailure": [
      { "hooks": [ { "type": "command", "command": "sh \"$CLAUDE_PLUGIN_ROOT/hooks/dispatch.sh\" PostToolUseFailure", "shell": "bash" } ] }
    ],
    "Notification": [
      { "matcher": "*", "hooks": [ { "type": "command", "command": "sh \"$CLAUDE_PLUGIN_ROOT/hooks/dispatch.sh\" Notification", "shell": "bash" } ] }
    ],
    "StopFailure": [
      { "hooks": [ { "type": "command", "command": "sh \"$CLAUDE_PLUGIN_ROOT/hooks/dispatch.sh\" StopFailure", "shell": "bash" } ] }
    ]
  }
}
