-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Expand file tree
/
Copy pathkiro-hooks.json
More file actions
22 lines (22 loc) · 831 Bytes
/
Copy pathkiro-hooks.json
File metadata and controls
22 lines (22 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"_comment": "Reference template — copy the individual hook entries into your project's .kiro/hooks/ or ~/.kiro/hooks/ for global activation. Replace PONYTAIL_DIR with the absolute path to your ponytail checkout. Subagent injection is not supported: Kiro's PreToolUse stdout is for permission decisions, not context injection.",
"version": "v1",
"hooks": [
{
"name": "Ponytail session activation",
"trigger": "SessionStart",
"action": {
"type": "command",
"command": "PONYTAIL_HOST=kiro node PONYTAIL_DIR/hooks/ponytail-activate.js"
}
},
{
"name": "Ponytail mode tracker",
"trigger": "UserPromptSubmit",
"action": {
"type": "command",
"command": "PONYTAIL_HOST=kiro node PONYTAIL_DIR/hooks/ponytail-mode-tracker.js"
}
}
]
}