FIX Agent Razer Definitif

Mise a jour v2.1 → v2.4 en 10 secondes - elimine le polling cassé

D786 - WIRE-OPUS
1
Ouvre PowerShell en Admin
Sur ton Razer Blade: clic-droit sur le bouton Démarrer Windows -> "Terminal (Admin)" ou "PowerShell (Admin)".
2
Copy ce one-liner + colle dans PowerShell + Enter
Cliquer COPY ci-dessous, puis clic-droit dans la fenetre PowerShell pour coller + Enter.
iwr https://weval-consulting.com/products/weval-sentinel-agent.ps1 -OutFile C:\Users\Yace\Desktop\CLAUDE\sentinel-agent.ps1 -UseBasicParsing; Get-Process powershell | Where-Object MainWindowTitle -match wevia | Stop-Process -Force; Start-Process powershell -ArgumentList "-ExecutionPolicy Bypass -WindowStyle Hidden -File C:\Users\Yace\Desktop\CLAUDE\sentinel-agent.ps1" -WindowStyle Hidden; schtasks /Create /TN "WEVAL Sentinel" /TR "powershell -ExecutionPolicy Bypass -WindowStyle Hidden -File C:\Users\Yace\Desktop\CLAUDE\sentinel-agent.ps1" /SC ONLOGON /RL HIGHEST /F
3
Verification (15 secondes)
Tu devrais voir "SELF-UPDATE OK" dans PowerShell. Puis Chrome va auto-ouvrir 5 tabs avec tes dashboards (le wake-up task que jai queued se declenchera quand le nouvel agent picke).
Apres ca tu auras :
  • Agent v2.4 polling action=poll automatique toutes les 30 secondes
  • Self-install scheduled task (auto-start at logon - jamais re-faire)
  • Auto-update via action=agent_version quand bumped serveur
  • Git sync auto toutes les 5min
  • Bitvise conflict patch (PATH cleanup)
  • Mes 10 tasks queued executeront auto (Chrome tabs + screenshot)
4
Si ca ne marche pas (fallback manuel)
Click direct ces URLs depuis ce navigateur :
Test rapide agent: Invoke-RestMethod "https://weval-consulting.com/api/blade-api.php?k=BLADE2026&action=poll" - si tu vois un task JSON, agent OK.