$ErrorActionPreference = "Stop" if (-not (Test-Path ".venv\Scripts\python.exe")) { python -m venv .venv } .\.venv\Scripts\python.exe -m pip install --upgrade pip .\.venv\Scripts\python.exe -m pip install -r requirements.txt if (-not (Get-Command "ffmpeg" -ErrorAction SilentlyContinue)) { Write-Warning "ffmpeg was not found on PATH. Install it before processing audio files." } if (-not (Test-Path ".env")) { Copy-Item ".env.example" ".env" Write-Host "Created .env from .env.example. Add your OPENROUTER_API_KEY before generating MoM." } Write-Host "Setup complete. Run .\run.ps1 to start the app."