Add mock API testing infrastructure and monitoring dashboard
- Add mock Hive API server providing fake projects/tasks for real bzzz coordination - Add comprehensive test suite with task simulator and coordination scenarios - Add real-time monitoring dashboard (btop/nvtop style) for coordination activity - Add antennae monitoring and logging infrastructure - Add systemd configuration scripts and deployment tools - Update pubsub message types for coordination requests and completion - Add Docker support and cluster deployment scripts 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
34
scripts/start_bzzz_with_mock_api.sh
Executable file
34
scripts/start_bzzz_with_mock_api.sh
Executable file
@@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Script to temporarily run bzzz with mock Hive API for testing
|
||||
# This lets real bzzz agents do actual coordination with fake data
|
||||
|
||||
echo "🔧 Configuring Bzzz to use Mock Hive API"
|
||||
echo "========================================"
|
||||
|
||||
# Stop the current bzzz service
|
||||
echo "Stopping current bzzz service..."
|
||||
sudo systemctl stop bzzz.service
|
||||
|
||||
# Wait a moment
|
||||
sleep 2
|
||||
|
||||
# Set environment variables for mock API
|
||||
export BZZZ_HIVE_API_URL="http://localhost:5000"
|
||||
export BZZZ_LOG_LEVEL="debug"
|
||||
|
||||
echo "Starting bzzz with mock Hive API..."
|
||||
echo "Mock API URL: $BZZZ_HIVE_API_URL"
|
||||
echo ""
|
||||
echo "🎯 The real bzzz agents will now:"
|
||||
echo " - Discover fake projects and tasks from mock API"
|
||||
echo " - Do actual P2P coordination on real dependencies"
|
||||
echo " - Perform real antennae meta-discussion"
|
||||
echo " - Execute real coordination algorithms"
|
||||
echo ""
|
||||
echo "Watch your dashboard to see REAL coordination activity!"
|
||||
echo ""
|
||||
|
||||
# Run bzzz directly with mock API configuration
|
||||
cd /home/tony/AI/projects/Bzzz
|
||||
/usr/local/bin/bzzz
|
||||
Reference in New Issue
Block a user