feat: Add intelligent auto-router and enhanced integrations
- Add intelligent-router.sh hook for automatic agent routing - Add AUTO-TRIGGER-SUMMARY.md documentation - Add FINAL-INTEGRATION-SUMMARY.md documentation - Complete Prometheus integration (6 commands + 4 tools) - Complete Dexto integration (12 commands + 5 tools) - Enhanced Ralph with access to all agents - Fix /clawd command (removed disable-model-invocation) - Update hooks.json to v5 with intelligent routing - 291 total skills now available - All 21 commands with automatic routing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
69
prometheus/install.sh
Executable file
69
prometheus/install.sh
Executable file
@@ -0,0 +1,69 @@
|
||||
#!/bin/bash
|
||||
# Prometheus Installation Script for Claude Code
|
||||
# Multi-agent AI code analysis and issue resolution system
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
PROMETHEUS_DIR="${HOME}/.claude/prometheus"
|
||||
VENV_DIR="${PROMETHEUS_DIR}/venv"
|
||||
LOG_DIR="${PROMETHEUS_DIR}/logs"
|
||||
|
||||
mkdir -p "$LOG_DIR"
|
||||
|
||||
log() {
|
||||
echo "[$(date -u +"%Y-%m-%d %H:%M:%S UTC")] [prometheus-install] $*" | tee -a "${LOG_DIR}/install.log"
|
||||
}
|
||||
|
||||
log "Starting Prometheus installation..."
|
||||
|
||||
# Check Python version
|
||||
if ! command -v python3 >/dev/null 2>&1; then
|
||||
log "ERROR: Python 3 not found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Create virtual environment
|
||||
log "Creating virtual environment at ${VENV_DIR}..."
|
||||
cd "${PROMETHEUS_DIR}"
|
||||
python3 -m venv "$VENV_DIR"
|
||||
|
||||
# Activate and install dependencies
|
||||
log "Installing Python dependencies..."
|
||||
source "${VENV_DIR}/bin/activate"
|
||||
pip install --upgrade pip setuptools wheel
|
||||
|
||||
# Install core dependencies
|
||||
log "Installing core dependencies..."
|
||||
pip install \
|
||||
langgraph \
|
||||
langchain \
|
||||
langchain-community \
|
||||
langchain-openai \
|
||||
neo4j \
|
||||
docker \
|
||||
pytest \
|
||||
pydantic \
|
||||
python-dotenv \
|
||||
rich \
|
||||
typer \
|
||||
uvicorn \
|
||||
fastapi \
|
||||
httpx \
|
||||
aiostream
|
||||
|
||||
log "Prometheus installation complete!"
|
||||
log "Activate with: source ${VENV_DIR}/bin/activate"
|
||||
log "Python path: ${VENV_DIR}/bin/python"
|
||||
|
||||
# Save paths for later use
|
||||
cat > "${PROMETHEUS_DIR}/paths.sh" << 'PATHS_EOF'
|
||||
#!/bin/bash
|
||||
export PROMETHEUS_DIR="${HOME}/.claude/prometheus"
|
||||
export PROMETHEUS_VENV="${PROMETHEUS_DIR}/venv"
|
||||
export PROMETHEUS_PYTHON="${PROMETHEUS_VENV}/bin/python"
|
||||
export PROMETHEUS_LOGS="${PROMETHEUS_DIR}/logs"
|
||||
PATHS_EOF
|
||||
|
||||
chmod +x "${PROMETHEUS_DIR}/paths.sh"
|
||||
|
||||
log "Installation successful!"
|
||||
Reference in New Issue
Block a user