#!/bin/bash
echo "🌊 Starting Great Swarm Simulation Loop 🌊"
echo "Press Ctrl+C to stop the chaos."
BASE_URL="${BASE_URL:-${VIBEWORK_BASE_URL:-http://192.168.0.188:3004}}"
BASE_URL="${BASE_URL%/}"

while true
do
  echo "--- Triggering Simulation Cycle ---"
  curl -X POST "${BASE_URL}/api/admin/simulate"
  echo ""
  sleep 5
done
