chore(hooks): 新增 jsc-hooks 整合腳本(session timer、STE100 guard、skill usage logger)
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env sh
|
||||
# ste100-guard.sh — kiro-cli wrapper for jsc-hooks' STE100 guard.
|
||||
#
|
||||
# ASSUMPTION: kiro-cli (2.18.1) exposes no native "agent hook" / lifecycle-hook
|
||||
# concept (checked `kiro-cli agent --help`, `kiro-cli agent create --help`, and
|
||||
# the agent_config.json.example schema — no hooks field). This directory and
|
||||
# script are a pragmatic manual fallback, not something kiro-cli invokes on
|
||||
# its own. If kiro-cli later adds a hooks.json-style mechanism, point it at
|
||||
# the scripts in this directory (they already set JSC_CLI=kiro).
|
||||
export JSC_CLI=kiro
|
||||
exec sh "/root/.claude/plugins/cache/jsc/jsc-hooks/0.0.2/hooks/ste100-guard.sh" "$@"
|
||||
Reference in New Issue
Block a user