Logo
Explore Help
Register Sign In
zhanj/superpowers
1
0
Fork 0
You've already forked superpowers
mirror of https://github.com/obra/superpowers.git synced 2026-04-16 10:29:57 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
4e7c0842f899e6a9b7f04c78b34068008dbffc39
superpowers/hooks/hooks-cursor.json

11 lines
161 B
JSON
Raw Normal View History

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": [
{
"command": "\"${CURSOR_PLUGIN_ROOT}/hooks/run-hook.cmd\" session-start"
}
]
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 24ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API