{
  "_comment": "Manual-copy reference (requires a global `npm i -g rpgdev` so `rpgdev-hook` is on PATH). Prefer `rpgdev setup`, which writes a more robust absolute-path config that needs no global install. See docs/install-hooks.md. This file uses the shell form (single command string, no args) so Windows resolves the rpgdev-hook.cmd shim via the shell.",
  "hooks": {
    "UserPromptSubmit": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "rpgdev-hook claude UserPromptSubmit",
            "timeout": 5,
            "statusMessage": "冒険の小窓を開いています"
          }
        ]
      }
    ],
    "PreToolUse": [
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "rpgdev-hook claude PreToolUse",
            "timeout": 3,
            "statusMessage": "小窓の冒険が進んでいます"
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "rpgdev-hook claude PostToolUse",
            "timeout": 3,
            "statusMessage": "戦況を更新しています"
          }
        ]
      }
    ],
    "PostToolUseFailure": [
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "rpgdev-hook claude PostToolUseFailure",
            "timeout": 3,
            "statusMessage": "モンスターが出現しています"
          }
        ]
      }
    ],
    "PermissionDenied": [
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "rpgdev-hook claude PermissionDenied",
            "timeout": 3,
            "statusMessage": "障害を記録しています"
          }
        ]
      }
    ],
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "rpgdev-hook claude Stop",
            "timeout": 3,
            "statusMessage": "冒険を記録しています"
          }
        ]
      }
    ],
    "StopFailure": [
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "rpgdev-hook claude StopFailure",
            "timeout": 3,
            "statusMessage": "冒険の危機を記録しています"
          }
        ]
      }
    ],
    "SubagentStart": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "rpgdev-hook claude SubagentStart",
            "timeout": 3,
            "statusMessage": "仲間が駆けつけています"
          }
        ]
      }
    ],
    "SubagentStop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "rpgdev-hook claude SubagentStop",
            "timeout": 3,
            "statusMessage": "仲間が去っていきます"
          }
        ]
      }
    ]
  }
}
