Adds unified installation management for Claude Code integration: blue install - Install hooks, skills, MCP server blue uninstall - Remove Blue from Claude Code blue doctor - Check installation health Components managed: - Hooks: session-start.sh (PATH), guard-write.sh (guard) - Skills: Symlinks to ~/.claude/skills/ - MCP Server: Configuration in ~/.claude.json Features: - --hooks-only, --skills-only, --mcp-only flags - --force to overwrite existing files - Managed files tagged with "# Managed by: blue install" - Idempotent - safe to run repeatedly Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
25 lines
No EOL
428 B
JSON
25 lines
No EOL
428 B
JSON
{
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"command": ".claude/hooks/guard-write.sh",
|
|
"type": "command"
|
|
}
|
|
],
|
|
"matcher": "Write|Edit|MultiEdit"
|
|
}
|
|
],
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"command": ".claude/hooks/session-start.sh",
|
|
"type": "command"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |