@echo off REM One-command runner for Screen Leads (Windows). cd /d "%~dp0" if not exist ".venv" ( echo Creating virtual environment (.venv)... python -m venv .venv ) call .venv\Scripts\activate if not exist ".venv\.installed" ( echo Installing dependencies... pip install -q --upgrade pip pip install -q -r requirements.txt type nul > .venv\.installed ) if "%ANTHROPIC_API_KEY%"=="" if not exist ".env" ( echo ANTHROPIC_API_KEY is not set and no .env file was found. echo set ANTHROPIC_API_KEY=sk-ant-... ^(this terminal^) echo or copy .env.example to .env and edit it exit /b 1 ) if "%SCREEN_LEADS_HOST%"=="" set SCREEN_LEADS_HOST=127.0.0.1 if "%SCREEN_LEADS_PORT%"=="" set SCREEN_LEADS_PORT=8000 echo Starting Screen Leads at http://%SCREEN_LEADS_HOST%:%SCREEN_LEADS_PORT% (Ctrl-C to stop) python main.py