Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
Merge branch 'main' into refactor-split-ports
Stevenb941515c5a7e
diff --cc package.jsonindex 78532795e1,bd52def4ff..7359d02fef--- a/package.json+++ b/package.json@@@ -42,12 -42,12 +42,12 @@@},"homepage": "https://omniroute.online","scripts": {- "dev": "next dev --webpack --port 20128",+ "dev": "node scripts/run-next.mjs dev","build": "next build --webpack","build:cli": "node scripts/prepublish.mjs",- "start": "next start --port 20128",+ "start": "node scripts/run-next.mjs start","lint": "eslint .",- "test": "node --test tests/unit/*.test.mjs",+ "test": "node --import tsx/esm --test tests/unit/*.test.mjs","test:unit": "node --import tsx/esm --test tests/unit/*.test.mjs","test:plan3": "node --test tests/unit/plan3-p0.test.mjs","test:fixes": "node --test tests/unit/fixes-p1.test.mjs",diff --cc src/app/(dashboard)/dashboard/onboarding/page.tsxindex 7d18120183,86965c2b7f..9987a68942--- a/src/app/(dashboard)/dashboard/onboarding/page.tsx+++ b/src/app/(dashboard)/dashboard/onboarding/page.tsx@@@ -22,9 -18,10 +18,11 @@@ const COMMON_PROVIDERS =export default function OnboardingWizard() {const router = useRouter();+ const t = useTranslations("onboarding");+ const tc = useTranslations("common");const [step, setStep] = useState(0);const [loading, setLoading] = useState(true);+ const [apiEndpoint, setApiEndpoint] = useState("http://localhost:20128/api/v1");// Security step stateconst [password, setPassword] = useState("");@@@ -400,13 -384,10 +394,10 @@@{/* Done */}{currentStep.id === "done" && (<div className="text-center space-y-4">- <p className="text-text-muted">- You're all set! Your OmniRoute instance is configured and ready to proxy AI- requests.- </p>+ <p className="text-text-muted">{t("doneDesc")}</p><div className="bg-white/[0.03] rounded-xl p-4 border border-white/[0.06] text-left">- <p className="text-xs text-text-muted mb-2 font-medium">Your endpoint:</p>+ <p className="text-xs text-text-muted mb-2 font-medium">{t("yourEndpoint")}</p>- <code className="text-sm text-primary">http://localhost:20128/api/v1</code>+ <code className="text-sm text-primary">{apiEndpoint}</code></div></div>)}diff --cc src/app/api/settings/route.tsindex d5dbe3da2d,b4aa561c61..f6171c1ebd--- a/src/app/api/settings/route.ts+++ b/src/app/api/settings/route.ts@@@ -1,8 -1,8 +1,9 @@@import { NextResponse } from "next/server";import { getSettings, updateSettings } from "@/lib/localDb";+ import { clearHealthCheckLogCache } from "@/lib/tokenHealthCheck";import bcrypt from "bcryptjs";import { updateSettingsSchema, validateBody } from "@/shared/validation/schemas";+import { getRuntimePorts } from "@/lib/runtime/ports";export async function GET() {try {