{
  "hooks": {
    "Stop": [
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "node {TASKPING_ROOT}/taskping.js notify --type completed",
            "timeout": 5
          }
        ]
      }
    ],
    "SubagentStop": [
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command", 
            "command": "node {TASKPING_ROOT}/taskping.js notify --type waiting",
            "timeout": 5
          }
        ]
      }
    ]
  }
}