{ "description": "Tells Claude when the map helps, and to check what its code changes affect.", "hooks": { "SessionStart": [ { "hooks": [ { "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/layermap.mjs\"", "timeout": 30 } ] } ], "PreToolUse": [ { "matcher": "Bash|mcp__.*__project_check_changes", "hooks": [ { "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/layermap.mjs\"", "timeout": 30 } ] } ], "PostToolUse": [ { "matcher": "Bash|Edit|Write|MultiEdit|NotebookEdit|mcp__.*__project_check_changes", "hooks": [ { "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/layermap.mjs\"", "timeout": 30 } ] } ], "PostToolUseFailure": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/layermap.mjs\"", "timeout": 30 } ] } ], "Stop": [ { "hooks": [ { "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/layermap.mjs\"", "timeout": 30 } ] } ], "SessionEnd": [ { "hooks": [ { "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/layermap.mjs\"", "timeout": 30 } ] } ] } }