@echo off
REM One-click launcher: must be in your LS360-Terminal folder (the one with package.json).
cd /d "%~dp0"
if not exist package.json (
  echo.
  echo   Start-LS360.cmd must be in your project folder.
  echo   Move this file into the LS360-Terminal folder ^(the one that contains package.json^), then double-click it again.
  echo.
  pause
  exit /b 1
)
echo Starting Agent, Bridge, UI, Session...
start "" cmd /k "cd /d \"%~dp0\" && pnpm run dev"
echo Waiting for services to start...
timeout /t 12 /nobreak >nul
start http://localhost:5000
echo Done. Close the dev window to stop all services.
pause
