{
    "hooks": {
        "PreToolUse": [
            {
                "matcher": "Bash",
                "hooks": [
                    {
                        "type": "command",
                        "command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/hooks/fec-security-check.js\"",
                        "timeout": 20,
                        "statusMessage": "Checking command safety..."
                    }
                ]
            }
        ],
        "PostToolUse": [
            {
                "matcher": "Write|Edit|MultiEdit",
                "hooks": [
                    {
                        "type": "command",
                        "command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/hooks/fec-format-changed-file.js\"",
                        "timeout": 180,
                        "statusMessage": "Running formatter..."
                    }
                ]
            }
        ],
        "SessionStart": [
            {
                "matcher": ".*",
                "hooks": [
                    {
                        "type": "command",
                        "command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/hooks/fec-cleanup-claude-cache.js\"",
                        "timeout": 120
                    },
                    {
                        "type": "command",
                        "command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/hooks/fec-session-start.js\"",
                        "timeout": 10
                    }
                ]
            }
        ],
        "Stop": [
            {
                "matcher": ".*",
                "hooks": [
                    {
                        "type": "command",
                        "command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/hooks/fec-run-tests.js\"",
                        "timeout": 300,
                        "statusMessage": "Running final validation..."
                    }
                ]
            }
        ],
        "Notification": [
            {
                "matcher": ".*",
                "hooks": [
                    {
                        "type": "command",
                        "command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/hooks/fec-notify.js\""
                    }
                ]
            }
        ]
    }
}
