diff options
| author | YuXiang Hong <41331696+starumiQAQ@users.noreply.github.com> | 2026-04-29 02:21:59 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-28 11:21:59 -0700 |
| commit | 28fd7a81928712dea26cf3b2ed555b3497764e05 (patch) | |
| tree | b40a8c6110a5d57ceaa30e75e90bf88e38854ad0 /tests/opencode/test-plugin-loading.sh | |
| parent | 831f6f977c2ff979cd8b8034abc106413de44ed8 (diff) | |
fix(cursor): run SessionStart hook via run-hook.cmd on Windows
Route Cursor's Windows SessionStart hook through the existing run-hook.cmd dispatcher instead of invoking the extensionless session-start script directly. This avoids Windows opening the extensionless hook file and lets Git Bash run the script as intended.
Also removed an accidental UTF-8 BOM from hooks-cursor.json before merging.
Verified:
- hooks-cursor.json parses as JSON and has no BOM
- command is ./hooks/run-hook.cmd session-start
- CURSOR_PLUGIN_ROOT=/tmp/superpowers ./hooks/run-hook.cmd session-start emits valid Cursor JSON with additional_context
Diffstat (limited to 'tests/opencode/test-plugin-loading.sh')
0 files changed, 0 insertions, 0 deletions
