diff --git a/.claude/settings.json b/.claude/settings.json index 4faa7e3dc..a274b6723 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -11,9 +11,58 @@ } ] } + ], + "PreToolUse": [ + { + "matcher": "Bash", + "hooks": [ + { + "type": "command", + "command": "node .claude/helpers/hook-handler.cjs pre-bash || true", + "timeout": 10 + } + ] + } + ], + "PostToolUse": [ + { + "matcher": "Write|Edit", + "hooks": [ + { + "type": "command", + "command": "node .claude/helpers/hook-handler.cjs post-edit || true", + "timeout": 10 + } + ] + } + ], + "SessionEnd": [ + { + "hooks": [ + { + "type": "command", + "command": "node .claude/helpers/hook-handler.cjs session-end || true", + "timeout": 30 + } + ] + } ] }, + "statusLine": { + "type": "command", + "command": "node .claude/helpers/statusline.cjs" + }, "env": { - "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" + "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1", + "CLAUDE_FLOW_V3_ENABLED": "true", + "CLAUDE_FLOW_HOOKS_ENABLED": "true" + }, + "permissions": { + "allow": [ + "Bash(npx @claude-flow*)", + "Bash(npx claude-flow*)", + "Bash(node .claude/*)", + "mcp__claude-flow__*" + ] } -} +} \ No newline at end of file