# Start all development services in pycall conda environment
# Run: .\start-dev.ps1

$projectRoot = "C:\Users\52943\Code\AI-VideoAssistant-Project\AI-VideoAssistant"
$condaEnv = "pycall"

# Start API service
Start-Process powershell -ArgumentList "-NoExit", "-Command", "conda activate $condaEnv; cd '$projectRoot\api'; uvicorn app.main:app --port 8100" -WindowStyle Normal

# Start Web service
Start-Process powershell -ArgumentList "-NoExit", "-Command", "conda activate $condaEnv; cd '$projectRoot\web'; npm run dev" -WindowStyle Normal

# Start Engine service
Start-Process powershell -ArgumentList "-NoExit", "-Command", "conda activate $condaEnv; cd '$projectRoot\engine'; uvicorn app.main:app" -WindowStyle Normal

Write-Host "All services started in separate windows with pycall conda environment"
