From cf554a70cd28d5a7419ca50c0bae369ddc6ee13c Mon Sep 17 00:00:00 2001 From: Hannah_Bagga Date: Tue, 23 Jun 2026 10:01:33 +0200 Subject: [PATCH] Fix dev:rust to use Node.js AI server (Rust build blocked by Defender), fix dev:ollama fallback path --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8aee1d3..261ff72 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "dev:start": "concurrently -n AI,BROWSE,NEXT -c cyan,magenta,green \"npm run dev:rust\" \"npm run dev:browser-use\" \"npm run dev:next\"", "dev:next": "next dev -p 3006", "dev:precheck": "powershell -NoProfile -Command \"Get-NetTCPConnection -State Listen | Where-Object { $_.LocalPort -in 3001,3006,3008 } | ForEach-Object { Stop-Process -Id $_.OwningProcess -Force -ErrorAction SilentlyContinue; Write-Host ('Freed port '+$_.LocalPort) }\"", - "dev:ollama": "powershell -NoProfile -Command \"if (-not (Get-Process ollama -ErrorAction SilentlyContinue)) { Start-Process ollama -ArgumentList 'serve' -WindowStyle Hidden; Start-Sleep 3 }; exit 0\"", - "dev:rust": "cd rust-ai && cargo run", + "dev:ollama": "powershell -NoProfile -Command \"$ollama = if (Get-Command ollama -ErrorAction SilentlyContinue) { 'ollama' } else { Join-Path $env:LOCALAPPDATA 'Programs\\Ollama\\ollama.exe' }; if (-not (Get-Process ollama -ErrorAction SilentlyContinue)) { Start-Process $ollama -ArgumentList 'serve' -WindowStyle Hidden; Start-Sleep 3 }; exit 0\"", + "dev:rust": "node ai-server/index.mjs", "dev:browser-use": "cd browser-use-service && python main.py", "build": "next build", "start": "next start -p 3006",