# ============================================================================== # PABOT / PERSONAL OPERATING SYSTEM - LOCAL LAUNCHER # ============================================================================== Write-Host "==========================================================" -ForegroundColor Cyan Write-Host " Starting Personal Operating System (PA/POS) Core... " -ForegroundColor Cyan Write-Host "==========================================================" -ForegroundColor Cyan # Check if .venv exists if (Test-Path ".venv\Scripts\Activate.ps1") { Write-Host "[+] Activating virtual environment (.venv)..." -ForegroundColor Green & .venv\Scripts\Activate.ps1 } # Ensure data directories exist New-Item -ItemType Directory -Force -Path "data\artifacts" | Out-Null Write-Host "[+] Launching FastAPI Kernel server on http://127.0.0.1:8000..." -ForegroundColor Green Write-Host "[+] Serving live executive dashboard at http://127.0.0.1:8000/" -ForegroundColor Green Write-Host "[+] Press Ctrl+C to stop." -ForegroundColor Yellow python -m uvicorn apps.api.main:app --host 127.0.0.1 --port 8000 --reload