 fc0eec91ef
			
		
	
	fc0eec91ef
	
	
	
		
			
			Major Features Added: - Fix Socket.IO connectivity by updating Dockerfile to use socket_app - Resolve distributed workflows API to return arrays instead of errors - Expand agent coverage from 3 to 7 agents (added OAK and ROSEWOOD) - Create comprehensive systemd service for MCP server with auto-discovery - Add daemon mode with periodic agent discovery every 5 minutes - Implement comprehensive test suite with 100% pass rate Infrastructure Improvements: - Enhanced database connection handling with retry logic - Improved agent registration with persistent storage - Added proper error handling for distributed workflows endpoint - Created management scripts for service lifecycle operations Agent Cluster Expansion: - ACACIA: deepseek-r1:7b (kernel_dev) - WALNUT: starcoder2:15b (pytorch_dev) - IRONWOOD: deepseek-coder-v2 (profiler) - OAK: codellama:latest (docs_writer) - OAK-TESTER: deepseek-r1:latest (tester) - ROSEWOOD: deepseek-coder-v2:latest (kernel_dev) - ROSEWOOD-VISION: llama3.2-vision:11b (tester) System Status: All 7 agents healthy, Socket.IO operational, MCP server fully functional 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
		
			
				
	
	
		
			60 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| # Hive MCP Server Service Installation Script
 | |
| 
 | |
| set -e
 | |
| 
 | |
| echo "🐝 Installing Hive MCP Server as a systemd service..."
 | |
| 
 | |
| # Check if running as root
 | |
| if [[ $EUID -eq 0 ]]; then
 | |
|    echo "❌ This script should not be run as root. Run as the user who will own the service."
 | |
|    exit 1
 | |
| fi
 | |
| 
 | |
| # Verify the service file exists
 | |
| if [ ! -f "hive-mcp.service" ]; then
 | |
|     echo "❌ Service file 'hive-mcp.service' not found in current directory"
 | |
|     exit 1
 | |
| fi
 | |
| 
 | |
| # Verify the built application exists
 | |
| if [ ! -f "dist/index.js" ]; then
 | |
|     echo "❌ Built application not found. Run 'npm run build' first."
 | |
|     exit 1
 | |
| fi
 | |
| 
 | |
| # Create log and data directories with proper permissions
 | |
| echo "📁 Creating directories..."
 | |
| mkdir -p logs data
 | |
| chmod 755 logs data
 | |
| 
 | |
| # Copy service file to systemd directory
 | |
| echo "📄 Installing service file..."
 | |
| sudo cp hive-mcp.service /etc/systemd/system/
 | |
| 
 | |
| # Reload systemd daemon
 | |
| echo "🔄 Reloading systemd daemon..."
 | |
| sudo systemctl daemon-reload
 | |
| 
 | |
| # Enable the service
 | |
| echo "✅ Enabling Hive MCP service..."
 | |
| sudo systemctl enable hive-mcp.service
 | |
| 
 | |
| echo ""
 | |
| echo "🎉 Hive MCP Server service installed successfully!"
 | |
| echo ""
 | |
| echo "📋 Available commands:"
 | |
| echo "  sudo systemctl start hive-mcp      # Start the service"
 | |
| echo "  sudo systemctl stop hive-mcp       # Stop the service"
 | |
| echo "  sudo systemctl restart hive-mcp    # Restart the service"
 | |
| echo "  sudo systemctl status hive-mcp     # Check service status"
 | |
| echo "  sudo systemctl disable hive-mcp    # Disable auto-start"
 | |
| echo "  journalctl -u hive-mcp -f         # View live logs"
 | |
| echo "  sudo systemctl reload hive-mcp     # Trigger agent discovery"
 | |
| echo ""
 | |
| echo "🚀 To start the service now, run:"
 | |
| echo "  sudo systemctl start hive-mcp"
 | |
| echo ""
 | |
| echo "📊 To check the status, run:"
 | |
| echo "  sudo systemctl status hive-mcp" |