v1.0 - Version stable: multi-PC, détection UI-DETR-1, 3 modes exécution

- Frontend v4 accessible sur réseau local (192.168.1.40)
- Ports ouverts: 3002 (frontend), 5001 (backend), 5004 (dashboard)
- Ollama GPU fonctionnel
- Self-healing interactif
- Dashboard confiance

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Dom
2026-01-29 11:23:51 +01:00
parent 21bfa3b337
commit a27b74cf22
1595 changed files with 412691 additions and 400 deletions

56
restart_dashboard.sh Executable file
View File

@@ -0,0 +1,56 @@
#!/bin/bash
# Restart Dashboard Script
echo "🔄 Restarting RPA Vision V3 Dashboard..."
# Find and kill existing dashboard process
DASHBOARD_PID=$(pgrep -f "python.*web_dashboard/app.py")
if [ ! -z "$DASHBOARD_PID" ]; then
echo "📍 Found dashboard process: $DASHBOARD_PID"
echo "🛑 Stopping dashboard..."
kill $DASHBOARD_PID
sleep 2
# Check if still running
if pgrep -f "python.*web_dashboard/app.py" > /dev/null; then
echo "⚠️ Process still running, force killing..."
pkill -9 -f "python.*web_dashboard/app.py"
sleep 1
fi
echo "✅ Dashboard stopped"
else
echo " No dashboard process found"
fi
echo "🚀 Starting dashboard..."
# Start dashboard in background
nohup python web_dashboard/app.py > logs/dashboard.log 2>&1 &
DASHBOARD_PID=$!
sleep 3
# Check if started successfully
if pgrep -f "python.*web_dashboard/app.py" > /dev/null; then
echo "✅ Dashboard started successfully (PID: $DASHBOARD_PID)"
echo "🌐 Dashboard available at: http://127.0.0.1:5001"
echo "📊 Sessions API: http://127.0.0.1:5001/api/agent/sessions"
# Test the API
echo "🧪 Testing sessions API..."
sleep 2
SESSIONS_COUNT=$(curl -s http://127.0.0.1:5001/api/agent/sessions | jq -r '.total // 0')
echo "📈 Sessions found: $SESSIONS_COUNT"
if [ "$SESSIONS_COUNT" -gt 0 ]; then
echo "🎉 SUCCESS: Dashboard integration working!"
else
echo "⚠️ No sessions found - check logs for issues"
fi
else
echo "❌ Failed to start dashboard"
echo "📋 Check logs: tail -f logs/dashboard.log"
exit 1
fi