This website requires JavaScript.
Explore
Help
Register
Sign In
zhanj
/
superpowers
Watch
1
Star
0
Fork
0
You've already forked superpowers
mirror of
https://github.com/obra/superpowers.git
synced
2026-04-16 02:02:41 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
main
Add File
New File
Apply Patch
superpowers
/
hooks
/
hooks-cursor.json
11 lines
124 B
JSON
Raw
Permalink
Normal View
History
Unescape
Escape
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>
2026-03-15 19:35:18 +00:00
{
"version"
:
1
,
"hooks"
:
{
"sessionStart"
:
[
{
Update changelog with Cursor hooks support (#709) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 19:35:36 +00:00
"command"
:
"./hooks/session-start"
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>
2026-03-15 19:35:18 +00:00
}
]
}
}
Reference in New Issue
Copy Permalink