diff options
| author | Jesse Vincent <jesse@fsck.com> | 2026-02-21 11:07:05 -0800 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2026-02-21 11:07:05 -0800 |
| commit | d2d6cf485286ca9af69b84557e4da4c1d83a58e0 (patch) | |
| tree | 029b17a361c5b21f38b5e2514257c560bac00e0f /RELEASE-NOTES.md | |
| parent | 394cf850131b8ec2c73b204fbdb35c35b3c178a9 (diff) | |
Release v4.3.1: Cursor support, Windows hook fixv4.3.1
- Add Cursor plugin manifest and hook response compatibility
- Restore polyglot wrapper for Windows SessionStart reliability
- Fix 6 Windows issues: #518, #504, #491, #487, #466, #440
Diffstat (limited to 'RELEASE-NOTES.md')
| -rw-r--r-- | RELEASE-NOTES.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 8a8ad32..b1fa5b7 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,5 +1,27 @@ # Superpowers Release Notes +## v4.3.1 (2026-02-21) + +### Added + +**Cursor support** + +Superpowers now works with Cursor's plugin system. Includes a `.cursor-plugin/plugin.json` manifest and Cursor-specific installation instructions in the README. The SessionStart hook output now includes an `additional_context` field alongside the existing `hookSpecificOutput.additionalContext` for Cursor hook compatibility. + +### Fixed + +**Windows: Restored polyglot wrapper for reliable hook execution (#518, #504, #491, #487, #466, #440)** + +Claude Code's `.sh` auto-detection on Windows was prepending `bash` to the hook command, breaking execution. The fix: + +- Renamed `session-start.sh` to `session-start` (extensionless) so auto-detection doesn't interfere +- Restored `run-hook.cmd` polyglot wrapper with multi-location bash discovery (standard Git for Windows paths, then PATH fallback) +- Exits silently if no bash is found rather than erroring +- On Unix, the wrapper runs the script directly via `exec bash` +- Uses POSIX-safe `dirname "$0"` path resolution (works on dash/sh, not just bash) + +This fixes SessionStart failures on Windows with spaces in paths, missing WSL, `set -euo pipefail` fragility on MSYS, and backslash mangling. + ## v4.3.0 (2026-02-12) This fix should dramatically improve superpowers skills compliance and should reduce the chances of Claude entering its native plan mode unintentionally. |
