chore(hooks): 新增 jsc-hooks 整合腳本(session timer、STE100 guard、skill usage logger)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"_comment": "kiro-cli has no verified native hook system (no 'hooks' field in kiro-cli agent config; no hook subcommand). This file documents the INTENDED wiring for when kiro-cli gains hook support, and doubles as a manual reference for the wrapper scripts in this directory. JSC_CLI=kiro is exported by each wrapper.",
|
||||
"hooks": {
|
||||
"SessionStart": [
|
||||
{ "hooks": [ { "type": "command", "command": "sh \"$PWD/.kiro/hooks/session-timer.sh\" start" } ] }
|
||||
],
|
||||
"UserPromptSubmit": [
|
||||
{ "hooks": [ { "type": "command", "command": "sh \"$PWD/.kiro/hooks/ste100-guard.sh\"" } ] }
|
||||
],
|
||||
"Stop": [
|
||||
{ "hooks": [ { "type": "command", "command": "sh \"$PWD/.kiro/hooks/session-timer.sh\" mark" } ] }
|
||||
],
|
||||
"SessionEnd": [
|
||||
{ "hooks": [ { "type": "command", "command": "sh \"$PWD/.kiro/hooks/session-timer.sh\" mark" } ] }
|
||||
],
|
||||
"PostToolUse": [
|
||||
{ "matcher": "Skill", "hooks": [ { "type": "command", "command": "sh \"$PWD/.kiro/hooks/skill-usage.sh\"" } ] }
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user