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>
9 lines
264 B
Bash
Executable file
9 lines
264 B
Bash
Executable file
#!/bin/bash
|
|
# Managed by: blue install
|
|
# Blue SessionStart hook - sets up PATH for Claude Code
|
|
|
|
if [ -n "$CLAUDE_ENV_FILE" ] && [ -n "$CLAUDE_PROJECT_DIR" ]; then
|
|
echo "export PATH=\"\$CLAUDE_PROJECT_DIR/target/release:\$PATH\"" >> "$CLAUDE_ENV_FILE"
|
|
fi
|
|
|
|
exit 0
|