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
refactor(dashboard): remove page-body headers, add topology multi-ring, icon+title header
diegosouzapw68ca8bf1e9ef
diff --git a/package-lock.json b/package-lock.jsonindex 4c6fbde29d..155cc1f6ef 100644--- a/package-lock.json+++ b/package-lock.json@@ -18,6 +18,7 @@"@monaco-editor/react": "^4.7.0","@ngrok/ngrok": "^1.7.0","@swc/helpers": "0.5.21",+ "@xyflow/react": "^12.10.2","axios": "^1.16.0","bcryptjs": "^3.0.3","better-sqlite3": "^12.9.0",@@ -5228,6 +5229,66 @@"dev": true,"license": "MIT"},+ "node_modules/@xyflow/react": {+ "version": "12.10.2",+ "resolved": "https://registry.npmjs.org/@xyflow/react/-/react-12.10.2.tgz",+ "integrity": "sha512-CgIi6HwlcHXwlkTpr0fxLv/0sRVNZ8IdwKLzzeCscaYBwpvfcH1QFOCeaTCuEn1FQEs/B8CjnTSjhs8udgmBgQ==",+ "license": "MIT",+ "dependencies": {+ "@xyflow/system": "0.0.76",+ "classcat": "^5.0.3",+ "zustand": "^4.4.0"+ },+ "peerDependencies": {+ "react": ">=17",+ "react-dom": ">=17"+ }+ },+ "node_modules/@xyflow/react/node_modules/zustand": {+ "version": "4.5.7",+ "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz",+ "integrity": "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==",+ "license": "MIT",+ "dependencies": {+ "use-sync-external-store": "^1.2.2"+ },+ "engines": {+ "node": ">=12.7.0"+ },+ "peerDependencies": {+ "@types/react": ">=16.8",+ "immer": ">=9.0.6",+ "react": ">=16.8"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "immer": {+ "optional": true+ },+ "react": {+ "optional": true+ }+ }+ },+ "node_modules/@xyflow/system": {+ "version": "0.0.76",+ "resolved": "https://registry.npmjs.org/@xyflow/system/-/system-0.0.76.tgz",+ "integrity": "sha512-hvwvnRS1B3REwVDlWexsq7YQaPZeG3/mKo1jv38UmnpWmxihp14bW6VtEOuHEwJX2FvzFw8k77LyKSk/wiZVNA==",+ "license": "MIT",+ "dependencies": {+ "@types/d3-drag": "^3.0.7",+ "@types/d3-interpolate": "^3.0.4",+ "@types/d3-selection": "^3.0.10",+ "@types/d3-transition": "^3.0.8",+ "@types/d3-zoom": "^3.0.8",+ "d3-drag": "^3.0.0",+ "d3-interpolate": "^3.0.1",+ "d3-selection": "^3.0.0",+ "d3-zoom": "^3.0.0"+ }+ },"node_modules/accepts": {"version": "2.0.0","resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz",@@ -6132,6 +6193,12 @@"integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==","license": "ISC"},+ "node_modules/classcat": {+ "version": "5.0.5",+ "resolved": "https://registry.npmjs.org/classcat/-/classcat-5.0.5.tgz",+ "integrity": "sha512-JhZUT7JFcQy/EzW605k/ktHtncoo9vnyW/2GspNYwFlN1C/WmjuV/xtS04e9SOkL2sTdw0VAZ2UGCcQ9lR6p6w==",+ "license": "MIT"+ },"node_modules/cli-cursor": {"version": "5.0.0","resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz",diff --git a/package.json b/package.jsonindex 1b19818227..3e5fb43b9a 100644--- a/package.json+++ b/package.json@@ -131,6 +131,7 @@"@monaco-editor/react": "^4.7.0","@ngrok/ngrok": "^1.7.0","@swc/helpers": "0.5.21",+ "@xyflow/react": "^12.10.2","axios": "^1.16.0","bcryptjs": "^3.0.3","better-sqlite3": "^12.9.0",diff --git a/scripts/dev/run-next.mjs b/scripts/dev/run-next.mjsindex 1a108d40d2..61e490311a 100644--- a/scripts/dev/run-next.mjs+++ b/scripts/dev/run-next.mjs@@ -10,6 +10,17 @@ import { createOmnirouteWsBridge } from "./v1-ws-bridge.mjs";import { createResponsesWsProxy } from "./responses-ws-proxy.mjs";import { randomUUID } from "node:crypto";+// Pre-read DATA_DIR from local .env before bootstrap resolves paths+if (!process.env.DATA_DIR) {+ try {+ const raw = fs.readFileSync(path.join(process.cwd(), ".env"), "utf8");+ const match = raw.match(/^DATA_DIR=(.+)$/m);+ if (match?.[1]?.trim()) process.env.DATA_DIR = match[1].trim();+ } catch {+ /* .env ausente ou ilegível — ok, bootstrap usa o padrão */+ }+}+// Add check for conflicting app/ directory (Issue #1206)const rootAppDir = path.join(process.cwd(), "app");if (fs.existsSync(rootAppDir) && fs.statSync(rootAppDir).isDirectory()) {@@ -86,7 +97,7 @@ async function start() {await new Promise((resolve) => server.close(resolve));await nextApp.close();} catch (error) {- console.error(`[SHUTDOWN] Failed during ${signal}:`, error);+ console.error("[SHUTDOWN] Failed during signal:", signal, error);} finally {process.exit(0);}diff --git a/src/app/(dashboard)/dashboard/HomePageClient.tsx b/src/app/(dashboard)/dashboard/HomePageClient.tsxindex 2011948e6e..0bab5770a0 100644--- a/src/app/(dashboard)/dashboard/HomePageClient.tsx+++ b/src/app/(dashboard)/dashboard/HomePageClient.tsx@@ -3,7 +3,7 @@import { useTranslations } from "next-intl";import { useState, useEffect, useMemo, useCallback } from "react";-import Image from "next/image";+import dynamic from "next/dynamic";import Link from "next/link";import { useRouter } from "next/navigation";import { Card, CardSkeleton, Button, Modal } from "@/shared/components";@@ -11,6 +11,8 @@ import ProviderIcon from "@/shared/components/ProviderIcon";import { AI_PROVIDERS, FREE_PROVIDERS, OAUTH_PROVIDERS } from "@/shared/constants/providers";import { useNotificationStore } from "@/store/notificationStore";import { copyToClipboard } from "@/shared/utils/clipboard";++const ProviderTopology = dynamic(() => import("../home/ProviderTopology"), { ssr: false });import type { NewsAnnouncement } from "@/shared/utils/releaseNotes";type UpdateStep = {@@ -179,21 +181,6 @@ export default function HomePageClient({ machineId }: HomePageClientProps) {return models.filter((m) => providerKeys.has(m.provider));}, [selectedProvider, models]);- const quickStartLinks = [- { label: t("documentation"), href: "/docs", icon: "menu_book" },- { label: ts("providers"), href: "/dashboard/providers", icon: "dns" },- { label: ts("combos"), href: "/dashboard/combos", icon: "layers" },- { label: ts("analytics"), href: "/dashboard/analytics", icon: "analytics" },- { label: t("healthMonitor"), href: "/dashboard/health", icon: "health_and_safety" },- { label: ts("cliTools"), href: "/dashboard/cli-tools", icon: "terminal" },- {- label: t("reportIssue"),- href: "https://github.com/diegosouzapw/OmniRoute/issues",- external: true,- icon: "bug_report",- },- ];-const pollBackgroundUpdate = useCallback(async ({channel,@@ -728,70 +715,108 @@ export default function HomePageClient({ machineId }: HomePageClientProps) {</div></li></ol>-- <div className="flex flex-wrap gap-2">- {quickStartLinks.map((link) => (- <a- key={link.href}- href={link.href}- target={link.external ? "_blank" : undefined}- rel={link.external ? "noopener noreferrer" : undefined}- className="inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium border border-border text-text-muted hover:text-text-main hover:bg-bg-subtle transition-colors"- >- <span className="material-symbols-outlined text-[14px]">- {link.icon || (link.external ? "open_in_new" : "arrow_forward")}- </span>- {link.label}- </a>- ))}- </div></div></Card>- {/* Providers Overview */}+ {/* Tier Coverage */}<Card>- <div className="flex items-center justify-between mb-4">+ <div className="flex items-center justify-between mb-3"><div>- <h2 className="text-lg font-semibold">{t("providersOverview")}</h2>- <p className="text-sm text-text-muted">+ <h2 className="text-base font-semibold">{t("providersOverview")}</h2>+ <p className="text-xs text-text-muted">{t("configuredOf", {configured: providerStats.filter((item) => item.total > 0).length,total: providerStats.length,})}</p></div>- <div className="flex items-center gap-4">- <div className="hidden sm:flex items-center gap-3 text-[11px] text-text-muted">- <span className="flex items-center gap-1">- <span className="size-2 rounded-full bg-green-500" /> {tc("free")}- </span>- <span className="flex items-center gap-1">- <span className="size-2 rounded-full bg-blue-500" /> {t("oauthLabel")}- </span>- <span className="flex items-center gap-1">- <span className="size-2 rounded-full bg-amber-500" /> {t("apiKeyLabel")}- </span>- </div>- <Link- href="/dashboard/providers"- className="inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium border border-border text-text-muted hover:text-text-main hover:bg-bg-subtle transition-colors"- >- <span className="material-symbols-outlined text-[14px]">settings</span>- {tc("manage")}- </Link>- </div>+ <Link+ href="/dashboard/providers"+ className="inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium border border-border text-text-muted hover:text-text-main hover:bg-bg-subtle transition-colors"+ >+ <span className="material-symbols-outlined text-[14px]">settings</span>+ {tc("manage")}+ </Link></div>- <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-3">- {providerStats.map((item) => (- <ProviderOverviewCard- key={item.id}- item={item}- metrics={providerMetrics[item.provider.alias] || providerMetrics[item.id]}- onClick={() => setSelectedProvider(item)}- />- ))}+ <div className="grid grid-cols-3 gap-3">+ {(+ [+ {+ key: "free",+ label: tc("free"),+ icon: "lock_open",+ color: "text-green-500",+ bg: "bg-green-500/8",+ border: "border-green-500/20",+ },+ {+ key: "oauth",+ label: t("oauthLabel"),+ icon: "login",+ color: "text-blue-500",+ bg: "bg-blue-500/8",+ border: "border-blue-500/20",+ },+ {+ key: "apikey",+ label: t("apiKeyLabel"),+ icon: "vpn_key",+ color: "text-amber-500",+ bg: "bg-amber-500/8",+ border: "border-amber-500/20",+ },+ ] as const+ ).map(({ key, label, icon, color, bg, border }) => {+ const all = providerStats.filter((p) => p.authType === key);+ const configured = all.filter((p) => p.total > 0);+ const connected = configured.filter((p) => p.connected > 0);+ return (+ <div+ key={key}+ className={`rounded-lg border ${border} ${bg} px-4 py-3 flex flex-col gap-1`}+ >+ <div className="flex items-center gap-1.5 mb-1">+ <span className={`material-symbols-outlined text-[15px] ${color}`}>{icon}</span>+ <span className={`text-xs font-semibold ${color}`}>{label}</span>+ </div>+ <p className="text-xl font-bold text-text-main leading-none">+ {connected.length}+ <span className="text-sm font-normal text-text-muted">/{all.length}</span>+ </p>+ <p className="text-[11px] text-text-muted">connected</p>+ </div>+ );+ })}+ </div>+ </Card>++ {/* Provider Topology */}+ <Card>+ <div className="flex items-center justify-between mb-3">+ <div>+ <h2 className="text-base font-semibold">Provider Topology</h2>+ <p className="text-xs text-text-muted">+ Connected providers routing through OmniRoute in real time+ </p>+ </div>+ <div className="flex items-center gap-3 text-[11px] text-text-muted">+ <span className="flex items-center gap-1.5">+ <span className="size-2 rounded-full bg-green-500" /> Active+ </span>+ <span className="flex items-center gap-1.5">+ <span className="size-2 rounded-full bg-amber-500" /> Recent+ </span>+ <span className="flex items-center gap-1.5">+ <span className="size-2 rounded-full bg-red-500" /> Error+ </span>+ </div></div>+ <ProviderTopology+ providers={providerStats+ .filter((p) => p.total > 0)+ .map((p) => ({ id: p.id, provider: p.id, name: p.provider.name }))}+ /></Card>{/* Provider Models Modal */}diff --git a/src/app/(dashboard)/dashboard/agents/page.tsx b/src/app/(dashboard)/dashboard/agents/page.tsxindex 0df7fd0e8b..ead193d7b7 100644--- a/src/app/(dashboard)/dashboard/agents/page.tsx+++ b/src/app/(dashboard)/dashboard/agents/page.tsx@@ -153,12 +153,7 @@ export default function AgentsPage() {return (<div className="flex flex-col gap-6 p-6 max-w-5xl mx-auto">- {/* Header */}- <div className="flex items-center justify-between">- <div>- <h1 className="text-2xl font-bold">{t("title")}</h1>- <p className="text-text-muted mt-1">{t("description")}</p>- </div>+ <div className="flex justify-end"><Button variant="secondary" onClick={handleRefresh} loading={refreshing}><span className="material-symbols-outlined text-[16px] mr-1">refresh</span>{t("refresh")}diff --git a/src/app/(dashboard)/dashboard/analytics/page.tsx b/src/app/(dashboard)/dashboard/analytics/page.tsxindex 94f22dfab1..dd84b0f27c 100644--- a/src/app/(dashboard)/dashboard/analytics/page.tsx+++ b/src/app/(dashboard)/dashboard/analytics/page.tsx@@ -28,15 +28,6 @@ export default function AnalyticsPage() {return (<div className="flex flex-col gap-6">- {/* Page Header */}- <div>- <h1 className="text-2xl font-bold flex items-center gap-2">- <span className="material-symbols-outlined text-primary text-[28px]">analytics</span>- {t("title")}- </h1>- <p className="text-sm text-text-muted mt-1">{tabDescriptions[activeTab]}</p>- </div>-<SegmentedControloptions={[{ value: "overview", label: t("overview") },diff --git a/src/app/(dashboard)/dashboard/audit/page.tsx b/src/app/(dashboard)/dashboard/audit/page.tsxindex 0755c9b957..cd1fda344b 100644--- a/src/app/(dashboard)/dashboard/audit/page.tsx+++ b/src/app/(dashboard)/dashboard/audit/page.tsx@@ -223,14 +223,6 @@ export default function AuditPage() {return (<div className="mx-auto max-w-7xl space-y-6 p-6">- <div>- <div className="flex items-center gap-2">- <span className="material-symbols-outlined text-[24px] text-primary">policy</span>- <h1 className="text-3xl font-bold tracking-tight text-text-main">{t("auditTitle")}</h1>- </div>- <p className="mt-1 text-sm text-text-muted">{t("auditDescription")}</p>- </div>-<SegmentedControloptions={[{ value: "compliance", label: t("complianceTab") },diff --git a/src/app/(dashboard)/dashboard/cache/media/MediaPageClient.tsx b/src/app/(dashboard)/dashboard/cache/media/MediaPageClient.tsxindex ae5b69f32e..1e97577beb 100644--- a/src/app/(dashboard)/dashboard/cache/media/MediaPageClient.tsx+++ b/src/app/(dashboard)/dashboard/cache/media/MediaPageClient.tsx@@ -726,12 +726,6 @@ export default function MediaPageClient() {return (<div className="space-y-6">- {/* Header */}- <div>- <h1 className="text-2xl font-bold text-text-main">{t("title")}</h1>- <p className="text-text-muted text-sm mt-1">{t("subtitle")}</p>- </div>-{/* Modality Tabs */}<div className="flex flex-wrap gap-2 p-1 bg-surface/50 rounded-xl border border-black/5 dark:border-white/5">{(Object.keys(MODALITY_CONFIG) as Modality[]).map((key) => {diff --git a/src/app/(dashboard)/dashboard/cache/page.tsx b/src/app/(dashboard)/dashboard/cache/page.tsxindex 62d7c1cf1a..42080fb85d 100644--- a/src/app/(dashboard)/dashboard/cache/page.tsx+++ b/src/app/(dashboard)/dashboard/cache/page.tsx@@ -428,11 +428,7 @@ export default function CachePage() {return (<div className="flex flex-col gap-6">- <div className="flex items-start justify-between gap-4">- <div>- <h1 className="text-xl font-semibold">{t("title")}</h1>- <p className="mt-0.5 text-sm text-text-muted">{t("description")}</p>- </div>+ <div className="flex justify-end"><Buttonvariant="secondary"icon="refresh"diff --git a/src/app/(dashboard)/dashboard/changelog/page.tsx b/src/app/(dashboard)/dashboard/changelog/page.tsxindex d467f00f27..401c0e96a0 100644--- a/src/app/(dashboard)/dashboard/changelog/page.tsx+++ b/src/app/(dashboard)/dashboard/changelog/page.tsx@@ -1,26 +1,17 @@"use client";import { useState } from "react";-import { useTranslations } from "next-intl";import { Card, SegmentedControl } from "@/shared/components";import ChangelogViewer from "./components/ChangelogViewer";import NewsViewer from "./components/NewsViewer";export default function ChangelogPage() {const [activeTab, setActiveTab] = useState<"news" | "changelog">("news");- const t = useTranslations("sidebar");- const title = typeof t.has === "function" && t.has("changelog") ? t("changelog") : "Changelog";return (<div className="flex flex-col gap-6 max-w-5xl mx-auto w-full">- <div className="flex flex-col sm:flex-row sm:items-center justify-between gap-4">- <div>- <h1 className="text-2xl font-bold text-text-main">{title}</h1>- <p className="text-sm text-text-muted mt-1">- Stay up to date with the latest platform features and announcements.- </p>- </div>- <div className="shrink-0 w-full sm:w-[240px]">+ <div className="flex justify-end">+ <div className="w-full sm:w-[240px]"><SegmentedControloptions={[{ label: "News", value: "news" },diff --git a/src/app/(dashboard)/dashboard/cloud-agents/page.tsx b/src/app/(dashboard)/dashboard/cloud-agents/page.tsxindex c86aa56235..b288c6f848 100644--- a/src/app/(dashboard)/dashboard/cloud-agents/page.tsx+++ b/src/app/(dashboard)/dashboard/cloud-agents/page.tsx@@ -255,13 +255,6 @@ export default function CloudAgentsPage() {return (<div className="flex flex-col gap-6 p-6 max-w-6xl mx-auto">- <div className="flex items-center justify-between">- <div>- <h1 className="text-2xl font-bold">{t("title")}</h1>- <p className="text-text-muted mt-1">{t("description")}</p>- </div>- </div>-<Card className="border-purple-500/20 bg-purple-500/5"><div className="flex flex-col gap-4"><div className="flex items-start justify-between gap-4 flex-wrap">diff --git a/src/app/(dashboard)/dashboard/context/caveman/CavemanContextPageClient.tsx b/src/app/(dashboard)/dashboard/context/caveman/CavemanContextPageClient.tsxindex e879548954..f5e9a1c4c6 100644--- a/src/app/(dashboard)/dashboard/context/caveman/CavemanContextPageClient.tsx+++ b/src/app/(dashboard)/dashboard/context/caveman/CavemanContextPageClient.tsx@@ -117,16 +117,6 @@ export default function CavemanContextPageClient() {return (<div className="mx-auto flex max-w-6xl flex-col gap-6">- <header className="flex flex-col gap-2">- <div className="flex items-center gap-3">- <span className="material-symbols-outlined text-[30px] text-primary">compress</span>- <div>- <h1 className="text-2xl font-bold text-text-main">{t("title")}</h1>- <p className="text-sm text-text-muted">{t("description")}</p>- </div>- </div>- </header>-<section className="grid grid-cols-1 gap-3 sm:grid-cols-4">{statCards.map(([label, value]) => (<div key={label} className="rounded-lg border border-border bg-surface p-4">diff --git a/src/app/(dashboard)/dashboard/context/combos/CompressionCombosPageClient.tsx b/src/app/(dashboard)/dashboard/context/combos/CompressionCombosPageClient.tsxindex 58149a9aa6..e8c1021beb 100644--- a/src/app/(dashboard)/dashboard/context/combos/CompressionCombosPageClient.tsx+++ b/src/app/(dashboard)/dashboard/context/combos/CompressionCombosPageClient.tsx@@ -175,16 +175,6 @@ export default function CompressionCombosPageClient() {return (<div className="mx-auto flex max-w-6xl flex-col gap-6">- <header className="flex flex-col gap-2">- <div className="flex items-center gap-3">- <span className="material-symbols-outlined text-[30px] text-primary">hub</span>- <div>- <h1 className="text-2xl font-bold text-text-main">{t("title")}</h1>- <p className="text-sm text-text-muted">{t("description")}</p>- </div>- </div>- </header>-<section className="rounded-lg border border-border bg-surface p-4"><div className="grid grid-cols-1 gap-3 md:grid-cols-2"><inputdiff --git a/src/app/(dashboard)/dashboard/context/rtk/RtkContextPageClient.tsx b/src/app/(dashboard)/dashboard/context/rtk/RtkContextPageClient.tsxindex e42b098115..e4d0a5efd9 100644--- a/src/app/(dashboard)/dashboard/context/rtk/RtkContextPageClient.tsx+++ b/src/app/(dashboard)/dashboard/context/rtk/RtkContextPageClient.tsx@@ -139,16 +139,6 @@ export default function RtkContextPageClient() {return (<div className="mx-auto flex max-w-6xl flex-col gap-6">- <header className="flex flex-col gap-2">- <div className="flex items-center gap-3">- <span className="material-symbols-outlined text-[30px] text-primary">filter_alt</span>- <div>- <h1 className="text-2xl font-bold text-text-main">{t("title")}</h1>- <p className="text-sm text-text-muted">{t("description")}</p>- </div>- </div>- </header>-<section className="grid grid-cols-1 gap-3 sm:grid-cols-2 xl:grid-cols-4">{statCards.map(([label, value]) => (<div key={label} className="rounded-lg border border-border bg-surface p-4">diff --git a/src/app/(dashboard)/dashboard/costs/page.tsx b/src/app/(dashboard)/dashboard/costs/page.tsxindex 3e79b09e9b..bba6772dd1 100644--- a/src/app/(dashboard)/dashboard/costs/page.tsx+++ b/src/app/(dashboard)/dashboard/costs/page.tsx@@ -14,14 +14,6 @@ export default function CostsPage() {return (<div className="flex flex-col gap-6">- <div>- <h1 className="text-2xl font-bold flex items-center gap-2">- <span className="material-symbols-outlined text-primary text-[28px]">payments</span>- {t("title")}- </h1>- <p className="text-sm text-text-muted mt-1">{t("pageDescription")}</p>- </div>-<SegmentedControloptions={[{ value: "overview", label: t("overview") },diff --git a/src/app/(dashboard)/dashboard/health/page.tsx b/src/app/(dashboard)/dashboard/health/page.tsxindex 8d1265b390..84a9add424 100644--- a/src/app/(dashboard)/dashboard/health/page.tsx+++ b/src/app/(dashboard)/dashboard/health/page.tsx@@ -198,30 +198,23 @@ export default function HealthPage() {return (<div className="p-6 space-y-6 max-w-6xl mx-auto">- {/* Header */}- <div className="flex items-center justify-between">- <div>- <h1 className="text-2xl font-bold text-text-main">{t("title")}</h1>- <p className="text-sm text-text-muted mt-1">{t("description")}</p>- </div>- <div className="flex items-center gap-3">- {lastRefresh && (- <span className="text-xs text-text-muted">- {t("updatedAt", { time: lastRefresh.toLocaleTimeString() })}- </span>- )}- <button- onClick={() => {- fetchHealth();- fetchExtras();- fetchDbHealth();- }}- className="p-2 rounded-lg bg-surface hover:bg-surface/80 text-text-muted hover:text-text-main transition-colors"- title={tc("refresh")}- >- <span className="material-symbols-outlined text-[18px]">refresh</span>- </button>- </div>+ <div className="flex items-center justify-end gap-3">+ {lastRefresh && (+ <span className="text-xs text-text-muted">+ {t("updatedAt", { time: lastRefresh.toLocaleTimeString() })}+ </span>+ )}+ <button+ onClick={() => {+ fetchHealth();+ fetchExtras();+ fetchDbHealth();+ }}+ className="p-2 rounded-lg bg-surface hover:bg-surface/80 text-text-muted hover:text-text-main transition-colors"+ title={tc("refresh")}+ >+ <span className="material-symbols-outlined text-[18px]">refresh</span>+ </button></div>{/* Status Banner */}diff --git a/src/app/(dashboard)/dashboard/memory/page.tsx b/src/app/(dashboard)/dashboard/memory/page.tsxindex 6b36e5834b..10c9e6bede 100644--- a/src/app/(dashboard)/dashboard/memory/page.tsx+++ b/src/app/(dashboard)/dashboard/memory/page.tsx@@ -204,30 +204,27 @@ export default function MemoryPage() {return (<div className="space-y-6 p-6">- <div className="flex items-center justify-between">- <div className="flex items-center gap-3">- <h1 className="text-2xl font-bold">{t("title")}</h1>- <div className="flex items-center gap-2">- {health !== null && (- <span- className={`inline-block w-3 h-3 rounded-full ${health.working ? "bg-green-500" : "bg-red-500"}`}- title={- health.working- ? t("pipelineOk", { latencyMs: health.latencyMs })- : t("pipelineError")- }- />- )}- {health === null && !checkingHealth && (- <span- className="inline-block w-3 h-3 rounded-full bg-gray-400"- title={t("healthUnknown")}- />- )}- <Button variant="outline" size="sm" onClick={checkHealth} disabled={checkingHealth}>- {checkingHealth ? t("checkingHealth") : t("checkHealth")}- </Button>- </div>+ <div className="flex items-center justify-end gap-3">+ <div className="flex items-center gap-2">+ {health !== null && (+ <span+ className={`inline-block w-3 h-3 rounded-full ${health.working ? "bg-green-500" : "bg-red-500"}`}+ title={+ health.working+ ? t("pipelineOk", { latencyMs: health.latencyMs })+ : t("pipelineError")+ }+ />+ )}+ {health === null && !checkingHealth && (+ <span+ className="inline-block w-3 h-3 rounded-full bg-gray-400"+ title={t("healthUnknown")}+ />+ )}+ <Button variant="outline" size="sm" onClick={checkHealth} disabled={checkingHealth}>+ {checkingHealth ? t("checkingHealth") : t("checkHealth")}+ </Button></div><div className="flex gap-2"><inputdiff --git a/src/app/(dashboard)/dashboard/page.tsx b/src/app/(dashboard)/dashboard/page.tsxindex b1b9c0c7d1..c4d4a51adc 100644--- a/src/app/(dashboard)/dashboard/page.tsx+++ b/src/app/(dashboard)/dashboard/page.tsx@@ -1,23 +1,7 @@import { redirect } from "next/navigation";-import { getMachineId } from "@/shared/utils/machine";-import { getSettings } from "@/lib/localDb";-import HomePageClient from "./HomePageClient";-import BootstrapBanner from "./BootstrapBanner";-// Must be dynamic — depends on DB state (setupComplete) that changes at runtimeexport const dynamic = "force-dynamic";-export default async function DashboardPage() {- const settings = await getSettings();- if (!settings.setupComplete) {- redirect("/dashboard/onboarding");- }- const machineId = await getMachineId();- const isBootstrapped = process.env.OMNIROUTE_BOOTSTRAPPED === "true";- return (- <>- {isBootstrapped && <BootstrapBanner />}- <HomePageClient machineId={machineId} />- </>- );+export default function DashboardPage() {+ redirect("/home");}diff --git a/src/app/(dashboard)/dashboard/skills/page.tsx b/src/app/(dashboard)/dashboard/skills/page.tsxindex 3781adfc92..48c42c29e7 100644--- a/src/app/(dashboard)/dashboard/skills/page.tsx+++ b/src/app/(dashboard)/dashboard/skills/page.tsx@@ -312,11 +312,7 @@ export default function SkillsPage() {return (<div className="flex flex-col gap-6">- <div className="flex items-center justify-between">- <div>- <h1 className="text-2xl font-bold">{t("title")}</h1>- <p className="text-text-muted mt-1">{t("description")}</p>- </div>+ <div className="flex justify-end"><buttononClick={() => setShowInstallModal(true)}className="px-4 py-2 text-sm font-medium rounded-lg bg-violet-500 text-white hover:bg-violet-600 transition-colors"diff --git a/src/app/(dashboard)/dashboard/translator/TranslatorPageClient.tsx b/src/app/(dashboard)/dashboard/translator/TranslatorPageClient.tsxindex 3d57ac02ad..da8ece43ef 100644--- a/src/app/(dashboard)/dashboard/translator/TranslatorPageClient.tsx+++ b/src/app/(dashboard)/dashboard/translator/TranslatorPageClient.tsx@@ -73,26 +73,14 @@ export default function TranslatorPageClient() {return (<div className="p-4 sm:p-8 space-y-6 min-w-0">- {/* Header */}- <div className="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4 min-w-0">- <div>- <h1 className="text-2xl font-bold text-text-main flex items-center gap-2">- <span className="material-symbols-outlined text-primary text-[28px]">translate</span>- {t("playgroundTitle")}- </h1>- <p className="text-sm text-text-muted mt-1">- {modeDescriptions[mode] || t("modeDescriptionFallback")}- </p>- </div>- <div className="w-full sm:w-auto overflow-x-auto">- <SegmentedControl- options={modes}- value={mode}- onChange={setMode}- size="md"- className="min-w-max"- />- </div>+ <div className="flex justify-end min-w-0 overflow-x-auto">+ <SegmentedControl+ options={modes}+ value={mode}+ onChange={setMode}+ size="md"+ className="min-w-max"+ /></div><Card className="border-primary/10 bg-primary/5">diff --git a/src/app/(dashboard)/dashboard/webhooks/page.tsx b/src/app/(dashboard)/dashboard/webhooks/page.tsxindex 9bc2470d0f..a36aec8d08 100644--- a/src/app/(dashboard)/dashboard/webhooks/page.tsx+++ b/src/app/(dashboard)/dashboard/webhooks/page.tsx@@ -274,14 +274,7 @@ export default function WebhooksPage() {return (<div className="mx-auto max-w-7xl space-y-6 p-6">- <div className="flex flex-col gap-4 lg:flex-row lg:items-center lg:justify-between">- <div>- <div className="flex items-center gap-2">- <span className="material-symbols-outlined text-[24px] text-primary">webhook</span>- <h1 className="text-3xl font-bold tracking-tight text-text-main">{t("title")}</h1>- </div>- <p className="mt-1 text-sm text-text-muted">{t("description")}</p>- </div>+ <div className="flex justify-end"><buttononClick={openCreateModal}className="inline-flex items-center justify-center gap-2 rounded-lg bg-primary px-4 py-2 text-sm font-medium text-white transition-colors hover:bg-primary/90"diff --git a/src/app/(dashboard)/home/ProviderTopology.tsx b/src/app/(dashboard)/home/ProviderTopology.tsxnew file mode 100644index 0000000000..b2ec6b7bfe--- /dev/null+++ b/src/app/(dashboard)/home/ProviderTopology.tsx@@ -0,0 +1,408 @@+"use client";++import { useMemo, useState, useEffect, useCallback, useRef } from "react";+import {+ ReactFlow,+ Handle,+ Position,+ Controls,+ type Node,+ type Edge,+ type NodeTypes,+} from "@xyflow/react";+import "@xyflow/react/dist/style.css";+import { AI_PROVIDERS } from "@/shared/constants/providers";+import ProviderIcon from "@/shared/components/ProviderIcon";++const FE_ACTIVE_TIMEOUT_MS = 60_000;+const FE_ACTIVE_TICK_MS = 1_000;++// Rings: [capacity, rx, ry]. Each successive ring fits ~6 more nodes.+const RINGS: [number, number, number][] = [+ [8, 210, 132],+ [14, 370, 233],+ [20, 530, 334],+ [26, 690, 435],+ [32, 850, 536],+ [38, 1010, 637],+];++type ProviderConfig = { color?: string; name?: string; textIcon?: string };++function getProviderConfig(providerId: string): ProviderConfig {+ return (+ (AI_PROVIDERS as Record<string, ProviderConfig>)[providerId] || {+ color: "#6b7280",+ name: providerId,+ }+ );+}++type ProviderNodeData = {+ label: string;+ color: string;+ providerId: string;+ active: boolean;+ error: boolean;+};++function ProviderNode({ data }: { data: ProviderNodeData }) {+ const { label, color, providerId, active, error } = data;++ return (+ <div+ className="flex items-center gap-2 px-2.5 py-1.5 rounded-lg border-2 transition-all duration-300 bg-bg"+ style={{+ borderColor: error ? "#ef4444" : active ? color : "var(--color-border)",+ boxShadow: error ? `0 0 12px #ef444430` : active ? `0 0 12px ${color}30` : "none",+ minWidth: "136px",+ }}+ >+ <Handle+ type="target"+ position={Position.Top}+ id="top"+ className="!bg-transparent !border-0 !w-0 !h-0"+ />+ <Handle+ type="target"+ position={Position.Bottom}+ id="bottom"+ className="!bg-transparent !border-0 !w-0 !h-0"+ />+ <Handle+ type="target"+ position={Position.Left}+ id="left"+ className="!bg-transparent !border-0 !w-0 !h-0"+ />+ <Handle+ type="target"+ position={Position.Right}+ id="right"+ className="!bg-transparent !border-0 !w-0 !h-0"+ />++ <div+ className="size-6 rounded flex items-center justify-center shrink-0"+ style={{ backgroundColor: `${color}18` }}+ >+ <ProviderIcon providerId={providerId} size={16} type="color" />+ </div>++ <span+ className="text-xs font-medium truncate flex-1"+ style={{ color: active ? color : error ? "#ef4444" : "var(--color-text-main)" }}+ >+ {label}+ </span>++ {(active || error) && (+ <span className="relative flex size-1.5 shrink-0">+ <span+ className="animate-ping absolute inline-flex h-full w-full rounded-full opacity-70"+ style={{ backgroundColor: error ? "#ef4444" : color }}+ />+ <span+ className="relative inline-flex rounded-full size-1.5"+ style={{ backgroundColor: error ? "#ef4444" : color }}+ />+ </span>+ )}+ </div>+ );+}++type RouterNodeData = { activeCount: number };++function RouterNode({ data }: { data: RouterNodeData }) {+ return (+ <div className="flex items-center gap-2 px-5 py-3 rounded-xl border-2 border-primary bg-primary/8 shadow-lg min-w-[140px] justify-center">+ <Handle+ type="source"+ position={Position.Top}+ id="top"+ className="!bg-transparent !border-0 !w-0 !h-0"+ />+ <Handle+ type="source"+ position={Position.Bottom}+ id="bottom"+ className="!bg-transparent !border-0 !w-0 !h-0"+ />+ <Handle+ type="source"+ position={Position.Left}+ id="left"+ className="!bg-transparent !border-0 !w-0 !h-0"+ />+ <Handle+ type="source"+ position={Position.Right}+ id="right"+ className="!bg-transparent !border-0 !w-0 !h-0"+ />++ <div className="flex items-center justify-center size-7 rounded-md bg-primary/15 shrink-0">+ <span className="material-symbols-outlined text-primary text-[16px]">route</span>+ </div>+ <span className="text-sm font-bold text-primary">OmniRoute</span>+ {data.activeCount > 0 && (+ <span className="ml-1 px-1.5 py-0.5 rounded-full bg-primary text-white text-[10px] font-bold leading-none">+ {data.activeCount}+ </span>+ )}+ </div>+ );+}++const nodeTypes: NodeTypes = {+ provider: ProviderNode as any,+ router: RouterNode as any,+};++type ProviderEntry = { id?: string; provider: string; name?: string };++function edgeStyle(active: boolean, last: boolean, error: boolean) {+ if (error) return { stroke: "#ef4444", strokeWidth: 2, opacity: 0.85 };+ if (active) return { stroke: "#22c55e", strokeWidth: 2.5, opacity: 1 };+ if (last) return { stroke: "#f59e0b", strokeWidth: 1.5, opacity: 0.6 };+ return { stroke: "var(--color-border)", strokeWidth: 1, opacity: 0.2 };+}++function getHandles(angle: number, cx: number): { sourceHandle: string; targetHandle: string } {+ const rel = (((angle + Math.PI / 2) % (2 * Math.PI)) + 2 * Math.PI) % (2 * Math.PI);+ if (rel < Math.PI / 4 || rel > (7 * Math.PI) / 4)+ return { sourceHandle: "top", targetHandle: "bottom" };+ if (rel > (3 * Math.PI) / 4 && rel < (5 * Math.PI) / 4)+ return { sourceHandle: "bottom", targetHandle: "top" };+ return cx > 0+ ? { sourceHandle: "right", targetHandle: "left" }+ : { sourceHandle: "left", targetHandle: "right" };+}++function buildLayout(+ providers: ProviderEntry[],+ activeSet: Set<string>,+ lastSet: Set<string>,+ errorSet: Set<string>+): { nodes: Node[]; edges: Edge[] } {+ const nodeW = 156;+ const nodeH = 28;+ const routerW = 148;+ const routerH = 44;++ const nodes: Node[] = [];+ const edges: Edge[] = [];++ nodes.push({+ id: "router",+ type: "router",+ position: { x: -routerW / 2, y: -routerH / 2 },+ data: { activeCount: activeSet.size },+ draggable: false,+ });++ if (providers.length === 0) return { nodes, edges };++ // Sort: active → error → last-used → rest (alpha within groups)+ const sorted = [...providers].sort((a, b) => {+ const aId = a.provider.toLowerCase();+ const bId = b.provider.toLowerCase();+ const rank = (id: string) => {+ if (activeSet.has(id)) return 0;+ if (errorSet.has(id)) return 1;+ if (lastSet.has(id)) return 2;+ return 3;+ };+ const d = rank(aId) - rank(bId);+ return d !== 0 ? d : aId.localeCompare(bId);+ });++ let provIdx = 0;+ for (let ri = 0; ri < RINGS.length && provIdx < sorted.length; ri++) {+ const [cap, rx, ry] = RINGS[ri];+ const count = Math.min(cap, sorted.length - provIdx);++ for (let i = 0; i < count; i++) {+ const p = sorted[provIdx++];+ const pid = p.provider.toLowerCase();+ const active = activeSet.has(pid);+ const error = !active && errorSet.has(pid);+ const last = !active && !error && lastSet.has(pid);+ const config = getProviderConfig(p.provider);+ const nodeId = `provider-${p.provider}`;++ const angle = -Math.PI / 2 + (2 * Math.PI * i) / count;+ const cx = rx * Math.cos(angle);+ const cy = ry * Math.sin(angle);+ const { sourceHandle, targetHandle } = getHandles(angle, cx);++ nodes.push({+ id: nodeId,+ type: "provider",+ position: { x: cx - nodeW / 2, y: cy - nodeH / 2 },+ data: {+ label: config.name || p.name || p.provider,+ color: config.color || "#6b7280",+ providerId: p.provider,+ active,+ error,+ } satisfies ProviderNodeData,+ draggable: false,+ });++ edges.push({+ id: `e-${nodeId}`,+ source: "router",+ sourceHandle,+ target: nodeId,+ targetHandle,+ animated: active,+ style: edgeStyle(active, last, error),+ });+ }+ }++ return { nodes, edges };+}++type Props = {+ providers?: ProviderEntry[];+ activeRequests?: Array<{ provider?: string; model?: string }>;+ lastProvider?: string;+ errorProvider?: string;+};++export default function ProviderTopology({+ providers = [],+ activeRequests = [],+ lastProvider = "",+ errorProvider = "",+}: Props) {+ const activeKey = useMemo(+ () =>+ activeRequests+ .map((r) => r.provider?.toLowerCase())+ .filter(Boolean)+ .sort()+ .join(","),+ [activeRequests]+ );+ const lastKey = lastProvider.toLowerCase();+ const errorKey = errorProvider.toLowerCase();++ const rawActiveSet = useMemo(+ () => new Set<string>(activeKey ? activeKey.split(",") : []),+ [activeKey]+ );+ const lastSet = useMemo(() => new Set<string>(lastKey ? [lastKey] : []), [lastKey]);+ const errorSet = useMemo(() => new Set<string>(errorKey ? [errorKey] : []), [errorKey]);++ const firstSeenRef = useRef<Record<string, number>>({});+ const [tick, setTick] = useState(0);++ useEffect(() => {+ const seen = firstSeenRef.current;+ const now = Date.now();+ for (const p of rawActiveSet) {+ if (!seen[p]) seen[p] = now;+ }+ for (const p of Object.keys(seen)) {+ if (!rawActiveSet.has(p)) delete seen[p];+ }+ }, [rawActiveSet]);++ useEffect(() => {+ if (rawActiveSet.size === 0) return;+ const id = setInterval(() => setTick((t) => t + 1), FE_ACTIVE_TICK_MS);+ return () => clearInterval(id);+ }, [rawActiveSet]);++ const activeSet = useMemo(() => {+ const now = Date.now();+ const filtered = new Set<string>();+ for (const p of rawActiveSet) {+ const ts = firstSeenRef.current[p];+ if (!ts || now - ts < FE_ACTIVE_TIMEOUT_MS) filtered.add(p);+ }+ return filtered;+ // eslint-disable-next-line react-hooks/exhaustive-deps+ }, [rawActiveSet, tick]);++ const { nodes, edges } = useMemo(+ () => buildLayout(providers, activeSet, lastSet, errorSet),+ // eslint-disable-next-line react-hooks/exhaustive-deps+ [providers, activeSet, lastKey, errorKey]+ );++ const providersKey = useMemo(+ () =>+ providers+ .map((p) => p.provider)+ .sort()+ .join(","),+ [providers]+ );++ const rfInstance = useRef<any>(null);+ const containerRef = useRef<HTMLDivElement>(null);+ const fitOpts = { padding: 0.22, duration: 250 };++ const onInit = useCallback((instance: any) => {+ rfInstance.current = instance;+ setTimeout(() => instance.fitView(fitOpts), 60);+ }, []);++ useEffect(() => {+ const el = containerRef.current;+ if (!el) return;+ const ro = new ResizeObserver(() => {+ rfInstance.current?.fitView(fitOpts);+ });+ ro.observe(el);+ return () => ro.disconnect();+ }, []);++ useEffect(() => {+ const id = setTimeout(() => rfInstance.current?.fitView(fitOpts), 60);+ return () => clearTimeout(id);+ }, [nodes.length]);++ return (+ <div+ ref={containerRef}+ className="h-[300px] w-full min-w-0 rounded-xl border border-border bg-bg-subtle/20 overflow-hidden sm:h-[420px]"+ >+ {providers.length === 0 ? (+ <div className="h-full flex flex-col items-center justify-center gap-2 text-text-muted">+ <span className="material-symbols-outlined text-[32px]">device_hub</span>+ <p className="text-sm">No providers connected yet</p>+ </div>+ ) : (+ <ReactFlow+ key={providersKey}+ nodes={nodes}+ edges={edges}+ nodeTypes={nodeTypes}+ fitView+ fitViewOptions={fitOpts}+ minZoom={0.08}+ maxZoom={2}+ onInit={onInit}+ proOptions={{ hideAttribution: true }}+ panOnDrag+ zoomOnScroll+ zoomOnPinch+ zoomOnDoubleClick+ preventScrolling={false}+ nodesDraggable={false}+ nodesConnectable={false}+ elementsSelectable={false}+ >+ <Controls showInteractive={false} />+ </ReactFlow>+ )}+ </div>+ );+}diff --git a/src/app/(dashboard)/home/page.tsx b/src/app/(dashboard)/home/page.tsxnew file mode 100644index 0000000000..b6c0796ad3--- /dev/null+++ b/src/app/(dashboard)/home/page.tsx@@ -0,0 +1,22 @@+import { redirect } from "next/navigation";+import { getMachineId } from "@/shared/utils/machine";+import { getSettings } from "@/lib/localDb";+import HomePageClient from "../dashboard/HomePageClient";+import BootstrapBanner from "../dashboard/BootstrapBanner";++export const dynamic = "force-dynamic";++export default async function HomePage() {+ const settings = await getSettings();+ if (!settings.setupComplete) {+ redirect("/dashboard/onboarding");+ }+ const machineId = await getMachineId();+ const isBootstrapped = process.env.OMNIROUTE_BOOTSTRAPPED === "true";+ return (+ <>+ {isBootstrapped && <BootstrapBanner />}+ <HomePageClient machineId={machineId} />+ </>+ );+}diff --git a/src/i18n/messages/ar.json b/src/i18n/messages/ar.jsonindex 48e0325baf..fa5dbc3519 100644--- a/src/i18n/messages/ar.json+++ b/src/i18n/messages/ar.json@@ -879,7 +879,16 @@"media": "الإعلام","mediaDescription": "إنشاء الصور ومقاطع الفيديو والموسيقى","themes": "المواضيع",- "themesDescription": "اختر سمة لون للوحة المعلومات بأكملها"+ "themesDescription": "اختر سمة لون للوحة المعلومات بأكملها",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "بداية سريعة",diff --git a/src/i18n/messages/bg.json b/src/i18n/messages/bg.jsonindex fb6dd2717f..65e16932a5 100644--- a/src/i18n/messages/bg.json+++ b/src/i18n/messages/bg.json@@ -879,7 +879,16 @@"media": "Медия","mediaDescription": "Генериране на изображения, видеоклипове и музика","themes": "Теми",- "themesDescription": "Изберете цветова тема за целия панел на таблото"+ "themesDescription": "Изберете цветова тема за целия панел на таблото",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Бърз старт",diff --git a/src/i18n/messages/bn.json b/src/i18n/messages/bn.jsonindex fce2f806bd..05db29dddc 100644--- a/src/i18n/messages/bn.json+++ b/src/i18n/messages/bn.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Quick Start",diff --git a/src/i18n/messages/cs.json b/src/i18n/messages/cs.jsonindex 1de4cae2fd..352985c5ee 100644--- a/src/i18n/messages/cs.json+++ b/src/i18n/messages/cs.json@@ -879,7 +879,16 @@"media": "Média","mediaDescription": "Generování obrázků, videí a hudby","themes": "Motivy",- "themesDescription": "Vyberte barevný motiv pro celý panel nástěnky"+ "themesDescription": "Vyberte barevný motiv pro celý panel nástěnky",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Rychlý start",diff --git a/src/i18n/messages/da.json b/src/i18n/messages/da.jsonindex 618f341594..d820021e49 100644--- a/src/i18n/messages/da.json+++ b/src/i18n/messages/da.json@@ -879,7 +879,16 @@"media": "Medie","mediaDescription": "Generer billeder, videoer og musik","themes": "Temaer",- "themesDescription": "Vælg et farvetema til hele dashboardpanelet"+ "themesDescription": "Vælg et farvetema til hele dashboardpanelet",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Hurtig start",diff --git a/src/i18n/messages/de.json b/src/i18n/messages/de.jsonindex fe08b20e88..d4418602b0 100644--- a/src/i18n/messages/de.json+++ b/src/i18n/messages/de.json@@ -879,7 +879,16 @@"media": "Medien","mediaDescription": "Generieren Sie Bilder, Videos und Musik","themes": "Themen",- "themesDescription": "Wählen Sie ein Farbthema für das gesamte Dashboard-Panel"+ "themesDescription": "Wählen Sie ein Farbthema für das gesamte Dashboard-Panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Schnellstart",diff --git a/src/i18n/messages/en.json b/src/i18n/messages/en.jsonindex 7955339c41..3da982c0ed 100644--- a/src/i18n/messages/en.json+++ b/src/i18n/messages/en.json@@ -661,7 +661,7 @@"costs": "Costs","health": "Health","proxy": "Proxy",- "limits": "Limits & Quotas",+ "limits": "Quota Limits","cliTools": "CLI Tools","media": "Media","settings": "Settings",@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Quick Start",diff --git a/src/i18n/messages/es.json b/src/i18n/messages/es.jsonindex f87e193b96..f3913402f2 100644--- a/src/i18n/messages/es.json+++ b/src/i18n/messages/es.json@@ -879,7 +879,16 @@"media": "Medios de comunicación","mediaDescription": "Genera imágenes, vídeos y música.","themes": "Temas",- "themesDescription": "Elija un tema de color para todo el panel del tablero"+ "themesDescription": "Elija un tema de color para todo el panel del tablero",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Inicio rápido",diff --git a/src/i18n/messages/fa.json b/src/i18n/messages/fa.jsonindex 276141ef2f..b48bea3eed 100644--- a/src/i18n/messages/fa.json+++ b/src/i18n/messages/fa.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Quick Start",diff --git a/src/i18n/messages/fi.json b/src/i18n/messages/fi.jsonindex 675ce2f8d1..db3b08487c 100644--- a/src/i18n/messages/fi.json+++ b/src/i18n/messages/fi.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Luo kuvia, videoita ja musiikkia","themes": "Teemat",- "themesDescription": "Valitse väriteema koko kojelautapaneelille"+ "themesDescription": "Valitse väriteema koko kojelautapaneelille",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Pika-aloitus",diff --git a/src/i18n/messages/fr.json b/src/i18n/messages/fr.jsonindex 74da22fe37..c088e1ff66 100644--- a/src/i18n/messages/fr.json+++ b/src/i18n/messages/fr.json@@ -879,7 +879,16 @@"media": "Médias","mediaDescription": "Générez des images, des vidéos et de la musique","themes": "Thèmes",- "themesDescription": "Choisissez un thème de couleur pour l'ensemble du panneau du tableau de bord"+ "themesDescription": "Choisissez un thème de couleur pour l'ensemble du panneau du tableau de bord",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Démarrage rapide",diff --git a/src/i18n/messages/gu.json b/src/i18n/messages/gu.jsonindex ebb57ba3c2..447bc7a7d2 100644--- a/src/i18n/messages/gu.json+++ b/src/i18n/messages/gu.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Quick Start",diff --git a/src/i18n/messages/he.json b/src/i18n/messages/he.jsonindex 011e932f49..c6329fac2f 100644--- a/src/i18n/messages/he.json+++ b/src/i18n/messages/he.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "התחלה מהירה",diff --git a/src/i18n/messages/hi.json b/src/i18n/messages/hi.jsonindex cd871ae469..be613546ec 100644--- a/src/i18n/messages/hi.json+++ b/src/i18n/messages/hi.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "त्वरित शुरुआत",diff --git a/src/i18n/messages/hu.json b/src/i18n/messages/hu.jsonindex 66f53c6956..7dd8976c9c 100644--- a/src/i18n/messages/hu.json+++ b/src/i18n/messages/hu.json@@ -879,7 +879,16 @@"media": "Média","mediaDescription": "Készítsen képeket, videókat és zenét","themes": "Témák",- "themesDescription": "Válasszon színtémát az egész irányítópult panelhez"+ "themesDescription": "Válasszon színtémát az egész irányítópult panelhez",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Gyors kezdés",diff --git a/src/i18n/messages/id.json b/src/i18n/messages/id.jsonindex 57c1d31f96..a018a2c3c3 100644--- a/src/i18n/messages/id.json+++ b/src/i18n/messages/id.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Mulai Cepat",diff --git a/src/i18n/messages/in.json b/src/i18n/messages/in.jsonindex aa1c2b04ec..93a82c6ae3 100644--- a/src/i18n/messages/in.json+++ b/src/i18n/messages/in.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Quick Start",diff --git a/src/i18n/messages/it.json b/src/i18n/messages/it.jsonindex f0da07454f..018b3b47d6 100644--- a/src/i18n/messages/it.json+++ b/src/i18n/messages/it.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Avvio rapido",diff --git a/src/i18n/messages/ja.json b/src/i18n/messages/ja.jsonindex 506cf845ab..c489438ccd 100644--- a/src/i18n/messages/ja.json+++ b/src/i18n/messages/ja.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "クイックスタート",diff --git a/src/i18n/messages/ko.json b/src/i18n/messages/ko.jsonindex 79cefdd283..f44c1d8857 100644--- a/src/i18n/messages/ko.json+++ b/src/i18n/messages/ko.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "빠른 시작",diff --git a/src/i18n/messages/mr.json b/src/i18n/messages/mr.jsonindex 59ba9e74fd..aafcaab99f 100644--- a/src/i18n/messages/mr.json+++ b/src/i18n/messages/mr.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Quick Start",diff --git a/src/i18n/messages/ms.json b/src/i18n/messages/ms.jsonindex e400b0b48f..dead02b9b0 100644--- a/src/i18n/messages/ms.json+++ b/src/i18n/messages/ms.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Mula Pantas",diff --git a/src/i18n/messages/nl.json b/src/i18n/messages/nl.jsonindex 937568c659..e303266998 100644--- a/src/i18n/messages/nl.json+++ b/src/i18n/messages/nl.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Genereer afbeeldingen, video's en muziek","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Snel beginnen",diff --git a/src/i18n/messages/no.json b/src/i18n/messages/no.jsonindex 15eeb4e0f0..b6762dc087 100644--- a/src/i18n/messages/no.json+++ b/src/i18n/messages/no.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Rask start",diff --git a/src/i18n/messages/phi.json b/src/i18n/messages/phi.jsonindex 6e204ad13b..d53c837583 100644--- a/src/i18n/messages/phi.json+++ b/src/i18n/messages/phi.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Mabilis na Pagsisimula",diff --git a/src/i18n/messages/pl.json b/src/i18n/messages/pl.jsonindex 1a027a1839..4ac5ae6ae4 100644--- a/src/i18n/messages/pl.json+++ b/src/i18n/messages/pl.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Szybki start",diff --git a/src/i18n/messages/pt-BR.json b/src/i18n/messages/pt-BR.jsonindex 1ba4beb70a..1df85bf9c1 100644--- a/src/i18n/messages/pt-BR.json+++ b/src/i18n/messages/pt-BR.json@@ -879,7 +879,16 @@"media": "Mídia","mediaDescription": "Gerar imagens, vídeos e músicas","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Início Rápido",diff --git a/src/i18n/messages/pt.json b/src/i18n/messages/pt.jsonindex edc6ea8c8d..7620c1f318 100644--- a/src/i18n/messages/pt.json+++ b/src/i18n/messages/pt.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Início rápido",diff --git a/src/i18n/messages/ro.json b/src/i18n/messages/ro.jsonindex 51b4a5fb30..e94fc4e15b 100644--- a/src/i18n/messages/ro.json+++ b/src/i18n/messages/ro.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Pornire rapidă",diff --git a/src/i18n/messages/ru.json b/src/i18n/messages/ru.jsonindex ffa9c981ea..3eba127e1b 100644--- a/src/i18n/messages/ru.json+++ b/src/i18n/messages/ru.json@@ -879,7 +879,16 @@"media": "Медиа","mediaDescription": "Создание изображений, видео и музыки","themes": "Темы",- "themesDescription": "Выберите цветовую тему для всей панели"+ "themesDescription": "Выберите цветовую тему для всей панели",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Быстрый старт",diff --git a/src/i18n/messages/sk.json b/src/i18n/messages/sk.jsonindex 646552c467..c693c6fa31 100644--- a/src/i18n/messages/sk.json+++ b/src/i18n/messages/sk.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Rýchly štart",diff --git a/src/i18n/messages/sv.json b/src/i18n/messages/sv.jsonindex 453568ad97..9f5950e594 100644--- a/src/i18n/messages/sv.json+++ b/src/i18n/messages/sv.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Snabbstart",diff --git a/src/i18n/messages/sw.json b/src/i18n/messages/sw.jsonindex aa1c2b04ec..93a82c6ae3 100644--- a/src/i18n/messages/sw.json+++ b/src/i18n/messages/sw.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Quick Start",diff --git a/src/i18n/messages/ta.json b/src/i18n/messages/ta.jsonindex 33d14d538c..34bb4dd642 100644--- a/src/i18n/messages/ta.json+++ b/src/i18n/messages/ta.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Quick Start",diff --git a/src/i18n/messages/te.json b/src/i18n/messages/te.jsonindex 48c3728cab..c9ec6fefb7 100644--- a/src/i18n/messages/te.json+++ b/src/i18n/messages/te.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Quick Start",diff --git a/src/i18n/messages/th.json b/src/i18n/messages/th.jsonindex 1085ad5766..88ab7da23c 100644--- a/src/i18n/messages/th.json+++ b/src/i18n/messages/th.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "ธีมส์",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "เริ่มต้นอย่างรวดเร็ว",diff --git a/src/i18n/messages/tr.json b/src/i18n/messages/tr.jsonindex bcdcf044c2..fb8828117a 100644--- a/src/i18n/messages/tr.json+++ b/src/i18n/messages/tr.json@@ -879,7 +879,16 @@"media": "Medya","mediaDescription": "Görüntüler, videolar ve müzik oluşturun","themes": "Temalar",- "themesDescription": "Kontrol panelinin tamamı için bir renk teması seçin"+ "themesDescription": "Kontrol panelinin tamamı için bir renk teması seçin",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Hızlı Başlangıç",diff --git a/src/i18n/messages/uk-UA.json b/src/i18n/messages/uk-UA.jsonindex f1675ca8b9..69e82a94c0 100644--- a/src/i18n/messages/uk-UA.json+++ b/src/i18n/messages/uk-UA.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Швидкий старт",diff --git a/src/i18n/messages/ur.json b/src/i18n/messages/ur.jsonindex 2a8afe0085..6ad8bae3a9 100644--- a/src/i18n/messages/ur.json+++ b/src/i18n/messages/ur.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Quick Start",diff --git a/src/i18n/messages/vi.json b/src/i18n/messages/vi.jsonindex e7acba5a9c..94f8d0a381 100644--- a/src/i18n/messages/vi.json+++ b/src/i18n/messages/vi.json@@ -879,7 +879,16 @@"media": "Media","mediaDescription": "Generate images, videos, and music","themes": "Themes",- "themesDescription": "Choose a color theme for the whole dashboard panel"+ "themesDescription": "Choose a color theme for the whole dashboard panel",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "Bắt đầu nhanh",diff --git a/src/i18n/messages/zh-CN.json b/src/i18n/messages/zh-CN.jsonindex fbb466f3f8..85e252f9c9 100644--- a/src/i18n/messages/zh-CN.json+++ b/src/i18n/messages/zh-CN.json@@ -879,7 +879,16 @@"media": "媒体","mediaDescription": "生成图像、视频和音乐","themes": "主题",- "themesDescription": "为整个仪表板选择颜色主题"+ "themesDescription": "为整个仪表板选择颜色主题",+ "costsDescription": "Track spending, analyze trends, and manage your AI budget across all providers",+ "cacheDescription": "Monitor provider prompt cache efficiency and local semantic response reuse.",+ "limitsDescription": "Configure rate limits and quotas per API key and provider",+ "apiManagerDescription": "Manage API keys and access control for your OmniRoute instance",+ "batchDescription": "Process large volumes of requests asynchronously with batched API calls",+ "contextCavemanDescription": "Rule-based message compression, language packs, analytics and output mode controls.",+ "contextRtkDescription": "Command-aware compression for tool output, terminal logs and build results.",+ "contextCombosDescription": "Define how engines are combined for different routing scenarios.",+ "changelogDescription": "Stay up to date with the latest platform features and announcements."},"home": {"quickStart": "快速入门",diff --git a/src/shared/components/Header.tsx b/src/shared/components/Header.tsxindex 5653b0356d..ac1bb11c56 100644--- a/src/shared/components/Header.tsx+++ b/src/shared/components/Header.tsx@@ -1,8 +1,6 @@"use client";import { usePathname, useRouter } from "next/navigation";-import Link from "next/link";-import Image from "next/image";import ThemeToggle from "./ThemeToggle";import TokenHealthBadge from "./TokenHealthBadge";import DegradationBadge from "./DegradationBadge";@@ -17,111 +15,103 @@ import {OPENAI_COMPATIBLE_PREFIX,ANTHROPIC_COMPATIBLE_PREFIX,} from "@/shared/constants/providers";+import {+ SIDEBAR_SECTIONS,+ type SidebarItemDefinition,+ type HideableSidebarItemId,+} from "@/shared/constants/sidebarVisibility";import { useIsElectron } from "@/shared/hooks/useElectron";const isE2EMode = process.env.NEXT_PUBLIC_OMNIROUTE_E2E_MODE === "1";+// Map sidebar item id → header description i18n key+const HEADER_DESCRIPTIONS: Partial<Record<HideableSidebarItemId, string>> = {+ home: "homeDescription",+ endpoints: "endpointDescription",+ "api-manager": "apiManagerDescription",+ providers: "providerDescription",+ combos: "comboDescription",+ batch: "batchDescription",+ costs: "costsDescription",+ analytics: "analyticsDescription",+ cache: "cacheDescription",+ limits: "limitsDescription",+ media: "mediaDescription",+ "cli-tools": "cliToolsDescription",+ settings: "settingsDescription",+ "context-caveman": "contextCavemanDescription",+ "context-rtk": "contextRtkDescription",+ "context-combos": "contextCombosDescription",+ changelog: "changelogDescription",+};++// Build href → sidebar item lookup (non-external items only)+const sidebarByHref = new Map<string, SidebarItemDefinition>();+for (const section of SIDEBAR_SECTIONS) {+ for (const item of section.items) {+ if (!item.external) sidebarByHref.set(item.href, item);+ }+}++function getSidebarItem(pathname: string): SidebarItemDefinition | undefined {+ const exact = sidebarByHref.get(pathname);+ if (exact) return exact;+ // Longest prefix match+ let best: SidebarItemDefinition | undefined;+ let bestLen = 0;+ for (const [href, item] of sidebarByHref) {+ if (pathname.startsWith(href) && href.length > bestLen) {+ best = item;+ bestLen = href.length;+ }+ }+ return best;+}+type HeaderProps = {onMenuClick?: () => void;showMenuButton?: boolean;};-function usePageInfo(pathname: string | null): {+type PageInfo = {title: string;description: string;- breadcrumbs: { label: string; href?: string; image?: string; providerId?: string }[];-} {- const t = useTranslations("header");+ icon?: string;+ providerId?: string;+};- if (!pathname) return { title: "", description: "", breadcrumbs: [] };+function usePageInfo(pathname: string | null): PageInfo {+ const ts = useTranslations("sidebar");+ const th = useTranslations("header");- // Provider detail page: /dashboard/providers/[id]+ if (!pathname) return { title: "", description: "" };++ // Special: provider detail page /dashboard/providers/[id]const providerMatch = pathname.match(/\/providers\/([^/]+)$/);if (providerMatch) {- const providerId = providerMatch[1];- const providerInfo =- OAUTH_PROVIDERS[providerId] || FREE_PROVIDERS[providerId] || APIKEY_PROVIDERS[providerId];-- if (providerInfo) {- return {- title: providerInfo.name,- description: "",- breadcrumbs: [- { label: t("providers"), href: "/dashboard/providers" },- { label: providerInfo.name, providerId: providerInfo.id },- ],- };- }-- if (providerId.startsWith(CLAUDE_CODE_COMPATIBLE_PREFIX)) {- return {- title: "CC Compatible",- description: "",- breadcrumbs: [- { label: t("providers"), href: "/dashboard/providers" },- { label: "CC Compatible", providerId: "claude" },- ],- };- }-- if (providerId.startsWith(OPENAI_COMPATIBLE_PREFIX)) {- return {- title: t("openaiCompatible"),- description: "",- breadcrumbs: [- { label: t("providers"), href: "/dashboard/providers" },- { label: t("openaiCompatible"), providerId: "oai-cc" },- ],- };- }-- if (providerId.startsWith(ANTHROPIC_COMPATIBLE_PREFIX)) {- return {- title: t("anthropicCompatible"),- description: "",- breadcrumbs: [- { label: t("providers"), href: "/dashboard/providers" },- { label: t("anthropicCompatible"), providerId: "anthropic-m" },- ],- };- }+ const pid = providerMatch[1];+ const info = OAUTH_PROVIDERS[pid] || FREE_PROVIDERS[pid] || APIKEY_PROVIDERS[pid];+ if (info) return { title: info.name, description: "", providerId: info.id };+ if (pid.startsWith(CLAUDE_CODE_COMPATIBLE_PREFIX))+ return { title: "CC Compatible", description: "", providerId: "claude" };+ if (pid.startsWith(OPENAI_COMPATIBLE_PREFIX))+ return { title: th("openaiCompatible"), description: "", providerId: "oai-cc" };+ if (pid.startsWith(ANTHROPIC_COMPATIBLE_PREFIX))+ return { title: th("anthropicCompatible"), description: "", providerId: "anthropic-m" };}- if (pathname.includes("/providers"))- return {- title: t("providers"),- description: t("providerDescription"),- breadcrumbs: [],- };- if (pathname.includes("/combos"))- return { title: t("combos"), description: t("comboDescription"), breadcrumbs: [] };- if (pathname.includes("/usage"))- return {- title: t("usage"),- description: t("usageDescription"),- breadcrumbs: [],- };- if (pathname.includes("/analytics"))+ // Derive from sidebar+ const item = getSidebarItem(pathname);+ if (item) {+ const descKey = HEADER_DESCRIPTIONS[item.id];return {- title: t("analytics"),- description: t("analyticsDescription"),- breadcrumbs: [],+ title: ts(item.i18nKey),+ description: descKey ? th(descKey) : "",+ icon: item.icon,};- if (pathname.includes("/cli-tools"))- return { title: t("cliTools"), description: t("cliToolsDescription"), breadcrumbs: [] };- if (pathname === "/dashboard")- return { title: t("home"), description: t("homeDescription"), breadcrumbs: [] };- if (pathname.includes("/mcp"))- return { title: t("mcp"), description: t("mcpDescription"), breadcrumbs: [] };- if (pathname.includes("/a2a"))- return { title: t("a2a"), description: t("a2aDescription"), breadcrumbs: [] };- if (pathname.includes("/endpoint"))- return { title: t("endpoint"), description: t("endpointDescription"), breadcrumbs: [] };- if (pathname.includes("/profile"))- return { title: t("settings"), description: t("settingsDescription"), breadcrumbs: [] };- // Note: /themes page removed – theme settings live in /settings → AppearanceTab-- return { title: "", description: "", breadcrumbs: [] };+ }++ return { title: "", description: "" };}export default function Header({ onMenuClick, showMenuButton = true }: HeaderProps) {@@ -129,7 +119,7 @@ export default function Header({ onMenuClick, showMenuButton = true }: HeaderProconst router = useRouter();const isElectron = useIsElectron();const t = useTranslations("header");- const { title, description, breadcrumbs } = usePageInfo(pathname);+ const { title, description, icon, providerId } = usePageInfo(pathname);const isMacElectron =isElectron &&typeof window !== "undefined" &&@@ -149,9 +139,9 @@ export default function Header({ onMenuClick, showMenuButton = true }: HeaderProreturn (<header- className="sticky top-0 z-10 flex items-center justify-between border-b border-black/5 bg-bg px-8 py-5 dark:border-white/5"+ className="sticky top-0 z-10 flex items-center justify-between border-b border-black/5 bg-bg px-8 py-4 dark:border-white/5"style={{- paddingTop: isMacElectron ? "calc(1.25rem + var(--desktop-safe-top))" : undefined,+ paddingTop: isMacElectron ? "calc(1rem + var(--desktop-safe-top))" : undefined,}}>{/* Mobile menu button */}@@ -166,74 +156,31 @@ export default function Header({ onMenuClick, showMenuButton = true }: HeaderPro)}</div>- {/* Page title with breadcrumbs - desktop */}- <div className="hidden lg:flex flex-col">- {breadcrumbs.length > 0 ? (- <div className="flex items-center gap-2">- {breadcrumbs.map((crumb, index) => (- <div- key={`${crumb.label}-${crumb.href || "current"}`}- className="flex items-center gap-2"- >- {index > 0 && (- <span className="material-symbols-outlined text-text-muted text-base">- chevron_right- </span>- )}- {crumb.href ? (- <Link- href={crumb.href}- className="text-text-muted hover:text-primary transition-colors"- >- {crumb.label}- </Link>- ) : (- <div className="flex items-center gap-2">- {crumb.image && (- <Image- src={crumb.image}- alt={crumb.label}- width={28}- height={28}- className="object-contain rounded max-w-[28px] max-h-[28px]"- sizes="28px"- onError={(e) => {- e.currentTarget.style.display = "none";- }}- />- )}- {crumb.providerId && (- <ProviderIcon providerId={crumb.providerId} size={28} type="color" />- )}- <h1 className="text-2xl font-semibold text-text-main tracking-tight">- {crumb.label}- </h1>- </div>- )}- </div>- ))}+ {/* Page title with icon - desktop */}+ <div className="hidden lg:flex items-center gap-3">+ {(icon || providerId) && (+ <div className="flex items-center justify-center size-9 rounded-lg bg-primary/10 shrink-0">+ {icon ? (+ <span className="material-symbols-outlined text-primary text-[20px]">{icon}</span>+ ) : (+ providerId && <ProviderIcon providerId={providerId} size={22} type="color" />+ )}</div>- ) : title ? (+ )}+ {title && (<div>- <h1 className="text-2xl font-semibold text-text-main tracking-tight">{title}</h1>- {description && <p className="text-sm text-text-muted">{description}</p>}+ <h1 className="text-xl font-semibold text-text-main tracking-tight">{title}</h1>+ {description && <p className="text-xs text-text-muted mt-0.5">{description}</p>}</div>- ) : null}+ )}</div>{/* Right actions */}<div className="flex items-center gap-3 ml-auto">- {/* Language selector */}<LanguageSelector />-- {/* Theme toggle */}<ThemeToggle />-- {/* Degradation & Token health */}{!isE2EMode && <DegradationBadge />}{!isE2EMode && <TokenHealthBadge />}-- {/* Logout button */}<buttononClick={handleLogout}className="flex items-center justify-center p-2 rounded-lg text-text-muted hover:text-red-500 hover:bg-red-500/10 transition-all"diff --git a/src/shared/components/Sidebar.tsx b/src/shared/components/Sidebar.tsxindex e42443f7dc..bd7817e0d0 100644--- a/src/shared/components/Sidebar.tsx+++ b/src/shared/components/Sidebar.tsx@@ -245,7 +245,7 @@ export default function Sidebar({<div className={cn("py-4", collapsed ? "px-2" : "px-6")}><Link- href="/dashboard"+ href="/home"className={cn("flex items-center", collapsed ? "justify-center" : "gap-3")}><div className="flex items-center justify-center size-9 rounded bg-linear-to-br from-[#E54D5E] to-[#C93D4E] shrink-0">diff --git a/src/shared/components/layouts/DashboardLayout.tsx b/src/shared/components/layouts/DashboardLayout.tsxindex a4b92b7005..62ba2e244b 100644--- a/src/shared/components/layouts/DashboardLayout.tsx+++ b/src/shared/components/layouts/DashboardLayout.tsx@@ -3,7 +3,6 @@import { useEffect, useState } from "react";import Sidebar from "../Sidebar";import Header from "../Header";-import Breadcrumbs from "../Breadcrumbs";import NotificationToast from "../NotificationToast";import MaintenanceBanner from "../MaintenanceBanner";import { useIsElectron } from "@/shared/hooks/useElectron";@@ -80,10 +79,7 @@ export default function DashboardLayout({ children }) {{!isE2EMode && <MaintenanceBanner />}<AutoRoutingBanner /><div className="flex-1 min-h-0 overflow-y-auto overflow-x-hidden custom-scrollbar p-4 sm:p-6 lg:p-10">- <div className="max-w-7xl mx-auto w-full">- <Breadcrumbs />- {children}- </div>+ <div className="max-w-7xl mx-auto w-full">{children}</div></div></main>diff --git a/src/shared/constants/sidebarVisibility.ts b/src/shared/constants/sidebarVisibility.tsindex 35805f7e60..c866320835 100644--- a/src/shared/constants/sidebarVisibility.ts+++ b/src/shared/constants/sidebarVisibility.ts@@ -54,7 +54,7 @@ export interface SidebarSectionDefinition {}const PRIMARY_SIDEBAR_ITEMS: readonly SidebarItemDefinition[] = [- { id: "home", href: "/dashboard", i18nKey: "home", icon: "home", exact: true },+ { id: "home", href: "/home", i18nKey: "home", icon: "home", exact: true },{ id: "endpoints", href: "/dashboard/endpoint", i18nKey: "endpoints", icon: "api" },{ id: "api-manager", href: "/dashboard/api-manager", i18nKey: "apiManager", icon: "vpn_key" },{ id: "providers", href: "/dashboard/providers", i18nKey: "providers", icon: "dns" },