@echo off REM Claude Agents Dashboard - Windows Installer (.bat alternative to .exe) REM Avoids Chrome Safe Browsing block. Same effect as the .exe. title Claude Agents Dashboard - Installer setlocal EnableExtensions echo. echo Claude Agents Dashboard - Installer echo ===================================== echo. set /p AGENT_NAME=Masukkan nama agent (contoh: laptop-cantika): if "%AGENT_NAME%"=="" ( echo. echo Agent name kosong. Cancelled. echo. pause exit /b 1 ) echo. echo Memasang hook untuk agent: %AGENT_NAME% echo (Mendownload installer terbaru dari server...) echo. set INGEST_URL=https://claude-agents-dashboard.pages.dev/api/ingest set INGEST_TOKEN=c369ebc7a88915f53ce4c968b1f36ce0e03e4e290d6cc36d1f2051f0a7b04d18 powershell -NoProfile -ExecutionPolicy Bypass -Command ^ "$env:AGENT_NAME = '%AGENT_NAME%'; $env:INGEST_URL = '%INGEST_URL%'; $env:INGEST_TOKEN = '%INGEST_TOKEN%'; try { iwr -useb https://claude-agents-dashboard.pages.dev/install.ps1 | iex } catch { Write-Host ('ERROR: ' + $_.Exception.Message) -ForegroundColor Red; exit 1 }" if errorlevel 1 ( echo. echo ============================================ echo INSTALL GAGAL echo ============================================ echo. echo Cek pesan error di atas. Pastikan: echo - Git for Windows sudah ke-install (https://git-scm.com/downloads/win^) echo - Claude Code sudah ke-install echo - Internet aktif echo. pause exit /b 1 ) echo. echo ============================================ echo INSTALL SELESAI! echo ============================================ echo. echo Agent: %AGENT_NAME% echo. echo - Self-test ping sudah dikirim ke dashboard. echo - Buka https://claude-agents-dashboard.pages.dev echo Cek apakah agent '%AGENT_NAME%' muncul di Beranda. echo. echo - Setelah verified, klik tombol "Clean up stale" untuk hapus session test. echo. echo - Mulai sekarang, setiap kali pakai Claude Code di laptop ini, echo aktifitasnya otomatis muncul di dashboard. echo. pause