mirror of
https://github.com/gnekt/My-Brain-Is-Full-Crew.git
synced 2026-09-07 02:24:31 +00:00
Fix: remove claude-specific reference from hooks.
build: add platform_dir and dispatcher_name to all hook wrapper/plugin templates feat(hooks): platform-aware path checks using platform_dir and dispatcher_name from JSON input test: update regression snapshot for platform-aware hook wrappers and scripts
This commit is contained in:
@@ -17,7 +17,9 @@ NEUTRAL=$(echo "$INPUT" | jq -c '{
|
||||
args: (.tool_input // {title: .title, message: .message}),
|
||||
session_id: (.session_id // ""),
|
||||
cwd: (.cwd // ""),
|
||||
framework: "claude-code"
|
||||
framework: "claude-code",
|
||||
platform_dir: ".claude",
|
||||
dispatcher_name: "CLAUDE.md"
|
||||
}')
|
||||
|
||||
echo "$NEUTRAL" | bash "$HOOK_DIR/__HOOK_NAME__.sh"
|
||||
|
||||
Reference in New Issue
Block a user