Commit Graph
5 Commits
Author SHA1 Message Date
OthmanAdi b17e0107d6 docs(cursor): name the two deliberate differences from the Claude Code route
Session isolation is not implemented on Cursor, and the stop hook answers
only in JSON, so an unresolved explicit selector is silent there.
2026-09-17 23:09:27 +02:00
OthmanAdi 6ddbe0a522 docs(cursor): describe the PowerShell hook route accurately
The hook file tree lists every shipped file, including user-prompt-submit.sh,
hooks.windows.json and the scripts directory the PowerShell hooks now depend
on. The selection paragraph states the actual rules (binding PLAN_ID, pin,
single-plan pointer or newest fallback, two plans require PLAN_ID, stale
pointer falls through, unsafe pointer fails closed) and that the bash hooks
stay root-plan only. The PreToolUse note no longer claims stderr for both
twins.
2026-09-17 23:09:26 +02:00
kuei51307-hub 6031c38709 fix(cursor): resolve named plans in PowerShell hooks 2026-09-17 23:08:41 +02:00
OthmanAdi 0b033eb025 Add Cursor hooks support — preToolUse, postToolUse, stop (fixes #61)
Cursor now supports hooks natively via .cursor/hooks.json. Added:
- hooks.json config with preToolUse, postToolUse, and stop hooks
- Hook scripts in bash (.sh) and PowerShell (.ps1)
- hooks.windows.json for native PowerShell users
- Rewrote docs/cursor.md — removed "hooks don't work" limitation,
  documented full hook support including auto-continuation via stop hook
- Updated README Cursor format from "Skills" to "Skills + Hooks"

The stop hook is the highlight: it checks task_plan.md completion and
uses Cursor's followup_message to auto-continue the agent if phases
are incomplete (capped at 3 retries via loop_limit).

Thanks to @sulsDotK for reporting that Cursor now supports hooks.
2026-02-04 22:03:37 +01:00
OthmanAdi ab135ea63e feat: v2.1.0 - Claude Code v2.1 compatibility + docs restructure
- Add SessionStart hook for skill ready notification
- Add PostToolUse hook for phase completion reminders
- Add user-invocable: true for slash menu visibility
- Convert allowed-tools to YAML list format
- Create docs/ folder with organized documentation
- Refactor README to be cleaner with docs links
- Update version to 2.1.0 in all manifests
2026-01-10 17:21:15 +01:00