summaryrefslogtreecommitdiff
path: root/plugins/superpowers-bootstrap/hooks/hooks.json
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2025-10-15 22:42:20 -0700
committerJesse Vincent <jesse@fsck.com>2025-10-15 22:42:20 -0700
commit0fdea80a7d6b2e5d6b2d3e59ff2ca378ecd56cc0 (patch)
treed4be85bf7338d16dd00d723d5a04be03e628d2e3 /plugins/superpowers-bootstrap/hooks/hooks.json
parentd6ac9a8b5d5884413b194330653b6aa336d3c87a (diff)
Reapply "Move superpowers plugin into plugins/superpowers-bootstrap subdirectory"
This reverts commit d6ac9a8b5d5884413b194330653b6aa336d3c87a. turns out this worked. it's just that anthropic changed claude's startup hook output
Diffstat (limited to 'plugins/superpowers-bootstrap/hooks/hooks.json')
-rw-r--r--plugins/superpowers-bootstrap/hooks/hooks.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/superpowers-bootstrap/hooks/hooks.json b/plugins/superpowers-bootstrap/hooks/hooks.json
new file mode 100644
index 0000000..17e0ac8
--- /dev/null
+++ b/plugins/superpowers-bootstrap/hooks/hooks.json
@@ -0,0 +1,15 @@
+{
+ "hooks": {
+ "SessionStart": [
+ {
+ "matcher": "startup|resume|clear|compact",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh"
+ }
+ ]
+ }
+ ]
+ }
+}