diff options
| author | jesse <jesse@magic-kingdom> | 2026-03-15 19:35:18 +0000 |
|---|---|---|
| committer | jesse <jesse@magic-kingdom> | 2026-03-15 19:35:18 +0000 |
| commit | 4e7c0842f899e6a9b7f04c78b34068008dbffc39 (patch) | |
| tree | c21fda7154cfc1513b407ed3eeb5c696a0297471 /.cursor-plugin/plugin.json | |
| parent | 689f27c96810892cb851c28a75528fea053b106c (diff) | |
feat: add Cursor-compatible hooks and fix platform detection
Add hooks/hooks-cursor.json with Cursor's camelCase format (sessionStart,
version: 1) and update .cursor-plugin/plugin.json to reference it. Uses
${CURSOR_PLUGIN_ROOT} and run-hook.cmd for cross-platform support.
Fix session-start platform detection: check CURSOR_PLUGIN_ROOT first
(Cursor may also set CLAUDE_PLUGIN_ROOT), ensuring correct output format
for each platform.
Based on PR #709 with fixes for: wrong filename (.sh extension), missing
Windows support, fragile relative paths, and incorrect platform detection.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to '.cursor-plugin/plugin.json')
| -rw-r--r-- | .cursor-plugin/plugin.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json index 6a27dec..18e4295 100644 --- a/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugin.json @@ -14,5 +14,5 @@ "skills": "./skills/", "agents": "./agents/", "commands": "./commands/", - "hooks": "./hooks/hooks.json" + "hooks": "./hooks/hooks-cursor.json" } |
