← Files NightshiftARCHIVED FILE

hooks/cursor/hooks.json

892 Bytes · Oct 3, 2026 · 06:31 UTC

↓ Download file

{
  "version": 1,
  "hooks": {
    "preToolUse": [
      {
        "command": "${CURSOR_PLUGIN_ROOT}/hooks/cursor/hardhat.sh",
        "matcher": "Shell|Read|Write|Grep|Delete|Task|MCP:.*"
      }
    ],
    "postToolUse": [
      {
        "command": "${CURSOR_PLUGIN_ROOT}/hooks/cursor/pulse.sh"
      }
    ],
    "afterAgentThought": [
      {
        "command": "${CURSOR_PLUGIN_ROOT}/hooks/cursor/pulse.sh"
      }
    ],
    "stop": [
      {
        "command": "${CURSOR_PLUGIN_ROOT}/hooks/cursor/clock-out-gate.sh",
        "loop_limit": null
      },
      {
        "command": "${CURSOR_PLUGIN_ROOT}/hooks/cursor/pulse.sh"
      }
    ],
    "sessionEnd": [
      {
        "command": "${CURSOR_PLUGIN_ROOT}/hooks/cursor/session-end.sh"
      }
    ],
    "beforeSubmitPrompt": [
      {
        "command": "${CURSOR_PLUGIN_ROOT}/hooks/cursor/before-submit.sh"
      }
    ]
  }
}

SHA-256: 88903c17e9b133fc373f9c08a54b0968a2a774cb80154d40d73cc48bf4517547