The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(mock-api): add version route
Steven Enamakela5857b20e525
diff --git a/scripts/mock-api/routes/version.mjs b/scripts/mock-api/routes/version.mjsindex 8332364e7f..175fc77e5f 100644--- a/scripts/mock-api/routes/version.mjs+++ b/scripts/mock-api/routes/version.mjs@@ -4,6 +4,13 @@ import { json } from "../http.mjs";export function handleVersion(ctx) {const { method, url, res } = ctx;+ // The backend liveness probe the app runs before an OAuth sign-in+ // (`services/backendHealth.ts`); the real backend answers `{"status":"ok"}`.+ if (method === "GET" && /^\/health\/?(\?.*)?$/.test(url)) {+ json(res, 200, { status: "ok" });+ return true;+ }+if (/^\/version-check\/?(\?.*)?$/.test(url)) {if (method === "GET" || method === "POST") {json(res, 200, {