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
Add Endpoint Token Saver visibility setting (#3461)
Randi5c3545b04533
diff --git a/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.tsx b/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.tsxindex 4feb02b230..2f12bc7c61 100644--- a/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.tsx+++ b/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.tsx@@ -7,6 +7,7 @@ import { useCopyToClipboard } from "@/shared/hooks/useCopyToClipboard";import { useDisplayBaseUrl } from "@/shared/hooks";import { AI_PROVIDERS, getProviderByAlias } from "@/shared/constants/providers";import { getProviderDisplayName } from "@/lib/display/names";+import { SHOW_TOKEN_SAVER_ON_ENDPOINT_KEY } from "@/shared/constants/homeWidgets";import { useTranslations } from "next-intl";import A2ADashboardPage from "./components/A2ADashboard";import McpDashboardPage from "./components/MCPDashboard";@@ -186,6 +187,7 @@ export default function APIPageClient({ machineId }: Readonly<APIPageClientPropsconst [ngrokNotice, setNgrokNotice] = useState<TunnelNotice | null>(null);const [ngrokToken, setNgrokToken] = useState("");const [showNgrokTunnel, setShowNgrokTunnel] = useState(true);+ const [showTokenSaverOnEndpoint, setShowTokenSaverOnEndpoint] = useState(true);const [expandedTunnel, setExpandedTunnel] = useState<string | null>(null);const [lanUrls, setLanUrls] = useState<string[]>([]);const [tailscaleIpUrl, setTailscaleIpUrl] = useState<string | null>(null);@@ -496,6 +498,7 @@ export default function APIPageClient({ machineId }: Readonly<APIPageClientPropssetShowCloudflaredTunnel(tunnelVisibility.showCloudflaredTunnel);setShowTailscaleFunnel(tunnelVisibility.showTailscaleFunnel);setShowNgrokTunnel(tunnelVisibility.showNgrokTunnel);+ setShowTokenSaverOnEndpoint(data[SHOW_TOKEN_SAVER_ON_ENDPOINT_KEY] !== false);if (data.ngrokAuthToken) setNgrokToken(data.ngrokAuthToken);if (!tunnelVisibility.showCloudflaredTunnel) {@@ -1752,7 +1755,7 @@ export default function APIPageClient({ machineId }: Readonly<APIPageClientProps</div></Card>- <TokenSaverCard />+ {showTokenSaverOnEndpoint && <TokenSaverCard />}<Card><div className="flex items-center justify-between mb-5">diff --git a/src/app/(dashboard)/dashboard/endpoint/__tests__/EndpointPageClient.test.tsx b/src/app/(dashboard)/dashboard/endpoint/__tests__/EndpointPageClient.test.tsxindex acb0ccd5f5..91308a88df 100644--- a/src/app/(dashboard)/dashboard/endpoint/__tests__/EndpointPageClient.test.tsx+++ b/src/app/(dashboard)/dashboard/endpoint/__tests__/EndpointPageClient.test.tsx@@ -33,6 +33,23 @@ function getRequestPath(input: RequestInfo | URL) {const cleanupCallbacks: Array<() => void> = [];+function installLocalStorageStub() {+ const store = new Map<string, string>();++ vi.stubGlobal("localStorage", {+ getItem: vi.fn((key: string) => store.get(key) ?? null),+ setItem: vi.fn((key: string, value: string) => {+ store.set(key, value);+ }),+ removeItem: vi.fn((key: string) => {+ store.delete(key);+ }),+ clear: vi.fn(() => {+ store.clear();+ }),+ });+}+async function waitForText(text: string) {const startedAt = Date.now();while (!document.body.textContent?.includes(text)) {@@ -119,10 +136,14 @@ vi.mock("next-intl", () => ({"endpoint.categoryMedia": "Media APIs","endpoint.categoryUtility": "Utility APIs","endpoint.vscodeAliasTitle": "VS Code Token Alias",- "endpoint.vscodeAliasDescriptionReady": "Ready-to-paste compatibility URLs using the /api/v1/vscode/{token}/... endpoint.",- "endpoint.vscodeAliasDescriptionError": "Showing placeholder URLs because CLI keys could not be loaded in this session.",- "endpoint.vscodeAliasDescriptionLoading": "Loading CLI keys. Placeholder URLs are shown until a key is available.",- "endpoint.vscodeAliasDescriptionPlaceholder": "Showing placeholder URLs. Create or activate an API key in CLI Tools to replace {token}.",+ "endpoint.vscodeAliasDescriptionReady":+ "Ready-to-paste compatibility URLs using the /api/v1/vscode/{token}/... endpoint.",+ "endpoint.vscodeAliasDescriptionError":+ "Showing placeholder URLs because CLI keys could not be loaded in this session.",+ "endpoint.vscodeAliasDescriptionLoading":+ "Loading CLI keys. Placeholder URLs are shown until a key is available.",+ "endpoint.vscodeAliasDescriptionPlaceholder":+ "Showing placeholder URLs. Create or activate an API key in CLI Tools to replace {token}.","endpoint.vscodeAliasManage": "CLI Tools","endpoint.vscodeAliasBaseLabel": "VS Code base","endpoint.vscodeAliasModelsLabel": "VS Code models",@@ -157,6 +178,7 @@ describe("EndpointPageClient", () => {globalThis as typeof globalThis & { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;vi.stubGlobal("fetch", fetchMock);+ installLocalStorageStub();});afterEach(() => {@@ -286,4 +308,47 @@ describe("EndpointPageClient", () => {expect(requestPaths.length).toBeGreaterThan(0);expect(requestPaths.every((path) => path === "/api/settings")).toBe(true);});++ it("hides the Token Saver card when endpoint visibility is disabled", async () => {+ fetchMock.mockImplementation((input: RequestInfo | URL) => {+ const path = getRequestPath(input);+ if (path === "/api/settings") {+ return Promise.resolve(+ jsonResponse({+ cloudEnabled: false,+ cloudConfigured: false,+ hideEndpointCloudflaredTunnel: true,+ hideEndpointTailscaleFunnel: true,+ hideEndpointNgrokTunnel: true,+ showTokenSaverOnEndpoint: false,+ })+ );+ }+ if (path === "/v1/models") {+ return Promise.resolve(jsonResponse({ data: [] }));+ }+ if (path === "/api/mcp/status") {+ return Promise.resolve(jsonResponse({ online: false }));+ }+ if (path === "/api/a2a/status") {+ return Promise.resolve(jsonResponse({ status: "ok", tasks: { activeStreams: 0 } }));+ }+ if (path === "/api/search/providers") {+ return Promise.resolve(jsonResponse({ providers: [] }));+ }+ if (path === "/api/cli-tools/keys") {+ return Promise.resolve(jsonResponse({ keys: [] }));+ }+ throw new Error(`Unexpected request: ${path}`);+ });++ renderEndpointPage();++ await waitForText("Endpoint");+ await waitForText("0 models across");++ const requestPaths = fetchMock.mock.calls.map(([input]) => getRequestPath(input));+ expect(document.body.textContent).not.toContain("Token Saver");+ expect(requestPaths).not.toContain("/api/settings/compression");+ });});diff --git a/src/app/(dashboard)/dashboard/settings/components/AppearanceTab.tsx b/src/app/(dashboard)/dashboard/settings/components/AppearanceTab.tsxindex 5c41be21b8..f099c6333d 100644--- a/src/app/(dashboard)/dashboard/settings/components/AppearanceTab.tsx+++ b/src/app/(dashboard)/dashboard/settings/components/AppearanceTab.tsx@@ -13,7 +13,10 @@ import {normalizeComboConfigMode,type ComboConfigMode,} from "@/shared/constants/comboConfigMode";-import { PIN_PROVIDER_QUOTA_TO_HOME_KEY } from "@/shared/constants/homeWidgets";+import {+ PIN_PROVIDER_QUOTA_TO_HOME_KEY,+ SHOW_TOKEN_SAVER_ON_ENDPOINT_KEY,+} from "@/shared/constants/homeWidgets";export default function AppearanceTab() {const { theme, setTheme, isDark } = useTheme();@@ -38,8 +41,11 @@ export default function AppearanceTab() {const pinProviderQuotaToHome = settings.pinProviderQuotaToHome === true;const showQuickStartOnHome = settings.showQuickStartOnHome !== false;const showProviderTopologyOnHome = settings.showProviderTopologyOnHome !== false;+ const showTokenSaverOnEndpoint = settings[SHOW_TOKEN_SAVER_ON_ENDPOINT_KEY] !== false;const autoRefreshProviderQuota = settings.autoRefreshProviderQuota === true;- const autoRefreshProviderQuotaInterval = Number.isFinite(settings.autoRefreshProviderQuotaInterval)+ const autoRefreshProviderQuotaInterval = Number.isFinite(+ settings.autoRefreshProviderQuotaInterval+ )? Number(settings.autoRefreshProviderQuotaInterval): 180;const comboConfigMode = normalizeComboConfigMode(settings[COMBO_CONFIG_MODE_SETTING_KEY]);@@ -254,6 +260,27 @@ export default function AppearanceTab() {disabled={loading}/></div>++ <div className="flex items-start justify-between gap-4 px-4 py-3">+ <div>+ <p className="font-medium">+ {getSettingsLabel("endpointTokenSaver", "Token Saver")}+ </p>+ <p className="text-sm text-text-muted">+ {getSettingsLabel(+ "endpointTokenSaverDesc",+ "Show the Token Saver panel on the Endpoint page."+ )}+ </p>+ </div>+ <Toggle+ checked={showTokenSaverOnEndpoint}+ onChange={async (checked) => {+ await updateSetting(SHOW_TOKEN_SAVER_ON_ENDPOINT_KEY, checked);+ }}+ disabled={loading}+ />+ </div></div></div></div>diff --git a/src/app/(dashboard)/dashboard/settings/components/proxy/GlobalConfigTab.tsx b/src/app/(dashboard)/dashboard/settings/components/proxy/GlobalConfigTab.tsxindex a588dce7cb..7197cccad9 100644--- a/src/app/(dashboard)/dashboard/settings/components/proxy/GlobalConfigTab.tsx+++ b/src/app/(dashboard)/dashboard/settings/components/proxy/GlobalConfigTab.tsx@@ -147,7 +147,10 @@ export default function GlobalConfigTab() {<div className="p-6"><div className="flex items-center justify-between gap-4"><div className="flex items-center gap-2">- <span className="material-symbols-outlined text-xl text-violet-500" aria-hidden="true">+ <span+ className="material-symbols-outlined text-xl text-violet-500"+ aria-hidden="true"+ >key</span><div>@@ -170,11 +173,9 @@ export default function GlobalConfigTab() {<span className="material-symbols-outlined text-xl text-primary" aria-hidden="true">network_check</span>- <h2 className="text-lg font-bold">Bulk Healthcheck</h2>+ <h2 className="text-lg font-bold">{t("bulkHealthcheck")}</h2></div>- <p className="text-sm text-text-muted mb-4">- Test all configured proxies against a target URL to find which ones work.- </p>+ <p className="text-sm text-text-muted mb-4">{t("bulkHealthcheckDesc")}</p><div className="flex items-center gap-3 mb-4"><inputtype="text"@@ -190,7 +191,7 @@ export default function GlobalConfigTab() {disabled={testing}onClick={runHealthcheck}>- {testing ? "Testing..." : "Healthcheck All"}+ {testing ? t("healthcheckTesting") : t("healthcheckAll")}</Button></div>@@ -203,20 +204,20 @@ export default function GlobalConfigTab() {{testing && !results && (<div className="flex items-center gap-2 text-sm text-text-muted py-2"><span className="material-symbols-outlined animate-spin text-lg">refresh</span>- Testing all proxies in parallel...+ {t("healthcheckTestingAll")}</div>)}{summary && (<div className="flex items-center gap-4 mb-3 text-sm"><span className="text-text-muted">- Total: <strong>{summary.total}</strong>+ {t("healthcheckTotal")}: <strong>{summary.total}</strong></span><span className="text-emerald-400">- Working: <strong>{summary.working}</strong>+ {t("healthcheckWorking")}: <strong>{summary.working}</strong></span><span className="text-red-400">- Failed: <strong>{summary.failed}</strong>+ {t("healthcheckFailedLabel")}: <strong>{summary.failed}</strong></span></div>)}@@ -226,9 +227,15 @@ export default function GlobalConfigTab() {<table className="w-full text-xs"><thead><tr className="bg-black/5 dark:bg-white/5">- <th className="text-left px-3 py-2 font-medium text-text-muted">Status</th>- <th className="text-left px-3 py-2 font-medium text-text-muted">Proxy URL</th>- <th className="text-right px-3 py-2 font-medium text-text-muted">Latency</th>+ <th className="text-left px-3 py-2 font-medium text-text-muted">+ {t("healthcheckStatus")}+ </th>+ <th className="text-left px-3 py-2 font-medium text-text-muted">+ {t("healthcheckProxyUrl")}+ </th>+ <th className="text-right px-3 py-2 font-medium text-text-muted">+ {t("healthcheckLatency")}+ </th></tr></thead><tbody>diff --git a/src/i18n/messages/ar.json b/src/i18n/messages/ar.jsonindex ee619b695e..07286291a5 100644--- a/src/i18n/messages/ar.json+++ b/src/i18n/messages/ar.json@@ -4667,6 +4667,18 @@"globalProxy": "الوكيل العالمي","globalProxyDesc": "قم بتكوين وكيل خارجي عالمي لجميع مكالمات API. يمكن للموفرين الفرديين والمجموعات والمفاتيح تجاوز هذا.","noGlobalProxy": "لم يتم تكوين وكيل عالمي",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "عالمي","configure": "تكوين","globalSystemPrompt": "موجه النظام العالمي",diff --git a/src/i18n/messages/az.json b/src/i18n/messages/az.jsonindex 26b4ec2091..0c42d0553f 100644--- a/src/i18n/messages/az.json+++ b/src/i18n/messages/az.json@@ -4667,6 +4667,18 @@"globalProxy": "Global Proxy","globalProxyDesc": "Configure a global outbound proxy for all API calls. Individual providers, combos, and keys can override this.","noGlobalProxy": "No global proxy configured",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "Configure","globalSystemPrompt": "Global System Prompt",diff --git a/src/i18n/messages/bg.json b/src/i18n/messages/bg.jsonindex 4383347848..dd192da310 100644--- a/src/i18n/messages/bg.json+++ b/src/i18n/messages/bg.json@@ -4667,6 +4667,18 @@"globalProxy": "Глобален прокси","globalProxyDesc": "Конфигурирайте глобален изходящ прокси за всички извиквания на API. Индивидуалните доставчици, комбинации и ключове могат да отменят това.","noGlobalProxy": "Няма конфигуриран глобален прокси",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Глобален","configure": "Конфигуриране","globalSystemPrompt": "Глобална системна подкана",diff --git a/src/i18n/messages/bn.json b/src/i18n/messages/bn.jsonindex f37f1f22fb..d9ed9cc074 100644--- a/src/i18n/messages/bn.json+++ b/src/i18n/messages/bn.json@@ -4667,6 +4667,18 @@"globalProxy": "Global Proxy","globalProxyDesc": "Configure a global outbound proxy for all API calls. Individual providers, combos, and keys can override this.","noGlobalProxy": "No global proxy configured",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "Configure","globalSystemPrompt": "Global System Prompt",diff --git a/src/i18n/messages/cs.json b/src/i18n/messages/cs.jsonindex 90945932ab..724f840844 100644--- a/src/i18n/messages/cs.json+++ b/src/i18n/messages/cs.json@@ -4667,6 +4667,18 @@"globalProxy": "Globální Proxy","globalProxyDesc": "Nastavte globální odchozí proxy pro všechna API volání. Jednotliví poskytovatelé, komba a klíče mohou toto přepsat.","noGlobalProxy": "Není nastavena globální proxy",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Globální","configure": "Nastavit","globalSystemPrompt": "Globální systémový Prompt",diff --git a/src/i18n/messages/da.json b/src/i18n/messages/da.jsonindex 7e6d2b02be..5f8927dec8 100644--- a/src/i18n/messages/da.json+++ b/src/i18n/messages/da.json@@ -4667,6 +4667,18 @@"globalProxy": "Global proxy","globalProxyDesc": "Konfigurer en global udgående proxy for alle API-kald. Individuelle udbydere, kombinationer og nøgler kan tilsidesætte dette.","noGlobalProxy": "Ingen global proxy konfigureret",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Globalt","configure": "Konfigurer","globalSystemPrompt": "Global System Prompt",diff --git a/src/i18n/messages/de.json b/src/i18n/messages/de.jsonindex 021e0fbf15..40ab3258c5 100644--- a/src/i18n/messages/de.json+++ b/src/i18n/messages/de.json@@ -4672,6 +4672,18 @@"globalProxy": "Globaler Proxy","globalProxyDesc": "Konfigurieren Sie einen globalen ausgehenden Proxy für alle API-Aufrufe. Einzelne Anbieter, Kombinationen und Schlüssel können dies außer Kraft setzen.","noGlobalProxy": "Kein globaler Proxy konfiguriert",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "Konfigurieren","globalSystemPrompt": "Globale Systemaufforderung",diff --git a/src/i18n/messages/en.json b/src/i18n/messages/en.jsonindex 4c5970ae5b..6dc5021573 100644--- a/src/i18n/messages/en.json+++ b/src/i18n/messages/en.json@@ -4166,7 +4166,6 @@"enableConnection": "Enable connection","reauthenticateConnection": "Re-authenticate this connection","proxyConfig": "Proxy config",- "healthcheckFailed": "Failed to run healthcheck","aliasExistsAlert": "Alias \"{alias}\" already exists. Please use a different model or edit existing alias.","openRouterAnyModelHint": "OpenRouter supports any model. Add models and create aliases for quick access.","modelIdFromOpenRouter": "Model ID (from OpenRouter)",@@ -4861,6 +4860,8 @@"homeQuickStartDesc": "Show the Quick Start panel on the Home page.","homeProviderTopology": "Provider Topology","homeProviderTopologyDesc": "Show the Provider Topology on the Home page.",+ "endpointTokenSaver": "Token Saver",+ "endpointTokenSaverDesc": "Show the Token Saver panel on the Endpoint page.","sidebarVisibilityToggle": "Show Sidebar Items","enableCache": "Enable Cache","cacheTTL": "Cache TTL",@@ -4978,6 +4979,8 @@"evictions": "Evictions","loadingCacheStats": "Loading cache stats…","globalProxy": "Global Proxy",+ "globalProxyDesc": "Configure a global outbound proxy for all API calls. Individual providers, combos, and keys can override this.",+ "noGlobalProxy": "No global proxy configured","proxyPool": "Proxy Pool","freePool": "Free Pool","proxyDocumentation": "Proxy Documentation",@@ -4985,6 +4988,18 @@"proxyPoolTab": "Proxy Pool","freePoolTab": "Free Pool","proxyDocumentationTab": "Documentation",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","proxyDocumentationScopeTitle": "Proxy scope resolution","proxyDocumentationScopeDescBefore": "OmniRoute resolves the outbound proxy in priority order: ","proxyDocumentationScopeOrder": "combo → account → provider → global",diff --git a/src/i18n/messages/es.json b/src/i18n/messages/es.jsonindex 00236642d5..b7c723b79e 100644--- a/src/i18n/messages/es.json+++ b/src/i18n/messages/es.json@@ -4667,6 +4667,18 @@"globalProxy": "Proxy global","globalProxyDesc": "Configure un proxy saliente global para todas las llamadas API. Los proveedores individuales, los combos y las claves pueden anular esto.","noGlobalProxy": "No hay ningún proxy global configurado",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Mundial","configure": "Configurar","globalSystemPrompt": "Aviso del sistema global",diff --git a/src/i18n/messages/fa.json b/src/i18n/messages/fa.jsonindex 9f432b51f6..e63222c405 100644--- a/src/i18n/messages/fa.json+++ b/src/i18n/messages/fa.json@@ -4667,6 +4667,18 @@"globalProxy": "Global Proxy","globalProxyDesc": "Configure a global outbound proxy for all API calls. Individual providers, combos, and keys can override this.","noGlobalProxy": "No global proxy configured",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "Configure","globalSystemPrompt": "Global System Prompt",diff --git a/src/i18n/messages/fi.json b/src/i18n/messages/fi.jsonindex 35f6665b60..0a64950627 100644--- a/src/i18n/messages/fi.json+++ b/src/i18n/messages/fi.json@@ -4667,6 +4667,18 @@"globalProxy": "Globaali välityspalvelin","globalProxyDesc": "Määritä yleinen lähtevä välityspalvelin kaikille API-kutsuille. Yksittäiset palveluntarjoajat, yhdistelmät ja avaimet voivat ohittaa tämän.","noGlobalProxy": "Globaalia välityspalvelinta ei ole määritetty",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Maailmanlaajuinen","configure": "Määritä","globalSystemPrompt": "Globaali järjestelmäkehote",diff --git a/src/i18n/messages/fr.json b/src/i18n/messages/fr.jsonindex 69720040d6..0608dd4d07 100644--- a/src/i18n/messages/fr.json+++ b/src/i18n/messages/fr.json@@ -4667,6 +4667,18 @@"globalProxy": "Proxy mondial","globalProxyDesc": "Configurez un proxy sortant global pour tous les appels d'API. Les fournisseurs individuels, les combos et les clés peuvent remplacer cela.","noGlobalProxy": "Aucun proxy global configuré",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Mondial","configure": "Configurer","globalSystemPrompt": "Invite système globale",diff --git a/src/i18n/messages/gu.json b/src/i18n/messages/gu.jsonindex f93d0ff0fb..7ce47a97fe 100644--- a/src/i18n/messages/gu.json+++ b/src/i18n/messages/gu.json@@ -4667,6 +4667,18 @@"globalProxy": "Global Proxy","globalProxyDesc": "Configure a global outbound proxy for all API calls. Individual providers, combos, and keys can override this.","noGlobalProxy": "No global proxy configured",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "Configure","globalSystemPrompt": "Global System Prompt",diff --git a/src/i18n/messages/he.json b/src/i18n/messages/he.jsonindex 57c4225222..286d7b6a5b 100644--- a/src/i18n/messages/he.json+++ b/src/i18n/messages/he.json@@ -4667,6 +4667,18 @@"globalProxy": "פרוקסי גלובלי","globalProxyDesc": "הגדר פרוקסי יוצא גלובלי עבור כל קריאות ה-API. ספקים בודדים, שילובים ומפתחות יכולים לעקוף זאת.","noGlobalProxy": "לא הוגדר פרוקסי גלובלי",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "גלובלי","configure": "הגדר","globalSystemPrompt": "הודעת מערכת גלובלית",diff --git a/src/i18n/messages/hi.json b/src/i18n/messages/hi.jsonindex 78b76fec26..58e51963aa 100644--- a/src/i18n/messages/hi.json+++ b/src/i18n/messages/hi.json@@ -4667,6 +4667,18 @@"globalProxy": "वैश्विक प्रॉक्सी","globalProxyDesc": "सभी एपीआई कॉल के लिए वैश्विक आउटबाउंड प्रॉक्सी कॉन्फ़िगर करें। व्यक्तिगत प्रदाता, कॉम्बो और कुंजियाँ इसे ओवरराइड कर सकती हैं।","noGlobalProxy": "कोई वैश्विक प्रॉक्सी कॉन्फ़िगर नहीं की गई",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "वैश्विक","configure": "कॉन्फ़िगर करें","globalSystemPrompt": "ग्लोबल सिस्टम प्रॉम्प्ट",diff --git a/src/i18n/messages/hu.json b/src/i18n/messages/hu.jsonindex 722a9fabcf..03db64abeb 100644--- a/src/i18n/messages/hu.json+++ b/src/i18n/messages/hu.json@@ -4667,6 +4667,18 @@"globalProxy": "Globális proxy","globalProxyDesc": "Konfiguráljon egy globális kimenő proxyt az összes API-híváshoz. Az egyes szolgáltatók, kombinációk és kulcsok ezt felülírhatják.","noGlobalProxy": "Nincs konfigurálva globális proxy",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Globális","configure": "Konfigurálás","globalSystemPrompt": "Globális rendszerprompt",diff --git a/src/i18n/messages/id.json b/src/i18n/messages/id.jsonindex d94ccffee1..7b11386cb1 100644--- a/src/i18n/messages/id.json+++ b/src/i18n/messages/id.json@@ -4667,6 +4667,18 @@"globalProxy": "Proksi Global","globalProxyDesc": "Konfigurasikan proksi keluar global untuk semua panggilan API. Penyedia individual, kombo, dan kunci dapat mengesampingkan hal ini.","noGlobalProxy": "Tidak ada proksi global yang dikonfigurasi",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "Konfigurasikan","globalSystemPrompt": "Perintah Sistem Global",diff --git a/src/i18n/messages/in.json b/src/i18n/messages/in.jsonindex a5b65a7157..6d2c395b2d 100644--- a/src/i18n/messages/in.json+++ b/src/i18n/messages/in.json@@ -4667,6 +4667,18 @@"globalProxy": "Global Proxy","globalProxyDesc": "Configure a global outbound proxy for all API calls. Individual providers, combos, and keys can override this.","noGlobalProxy": "No global proxy configured",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "Configure","globalSystemPrompt": "Global System Prompt",diff --git a/src/i18n/messages/it.json b/src/i18n/messages/it.jsonindex 21368b4f6d..88ab53c4c9 100644--- a/src/i18n/messages/it.json+++ b/src/i18n/messages/it.json@@ -4667,6 +4667,18 @@"globalProxy": "Procura globale","globalProxyDesc": "Configura un proxy in uscita globale per tutte le chiamate API. Singoli provider, combinazioni e chiavi possono sovrascrivere questo aspetto.","noGlobalProxy": "Nessun proxy globale configurato",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Globale","configure": "Configura","globalSystemPrompt": "Prompt del sistema globale",diff --git a/src/i18n/messages/ja.json b/src/i18n/messages/ja.jsonindex e19b88c771..f2921360f9 100644--- a/src/i18n/messages/ja.json+++ b/src/i18n/messages/ja.json@@ -4667,6 +4667,18 @@"globalProxy": "グローバルプロキシ","globalProxyDesc": "すべての API 呼び出しに対してグローバル送信プロキシを構成します。個々のプロバイダー、コンボ、およびキーはこれをオーバーライドできます。","noGlobalProxy": "グローバル プロキシが構成されていません",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "グローバル","configure": "設定する","globalSystemPrompt": "グローバル システム プロンプト",diff --git a/src/i18n/messages/ko.json b/src/i18n/messages/ko.jsonindex 5133f5d6c4..fdec653c25 100644--- a/src/i18n/messages/ko.json+++ b/src/i18n/messages/ko.json@@ -4667,6 +4667,18 @@"globalProxy": "글로벌 프록시","globalProxyDesc": "모든 API 호출에 대해 글로벌 아웃바운드 프록시를 구성합니다. 개별 공급자, 콤보 및 키가 이를 재정의할 수 있습니다.","noGlobalProxy": "글로벌 프록시가 구성되지 않았습니다.",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "글로벌","configure": "구성","globalSystemPrompt": "글로벌 시스템 프롬프트",diff --git a/src/i18n/messages/mr.json b/src/i18n/messages/mr.jsonindex 897a2ac33a..bb4ed9e102 100644--- a/src/i18n/messages/mr.json+++ b/src/i18n/messages/mr.json@@ -4667,6 +4667,18 @@"globalProxy": "Global Proxy","globalProxyDesc": "Configure a global outbound proxy for all API calls. Individual providers, combos, and keys can override this.","noGlobalProxy": "No global proxy configured",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "Configure","globalSystemPrompt": "Global System Prompt",diff --git a/src/i18n/messages/ms.json b/src/i18n/messages/ms.jsonindex 2cec551cd1..f90dd6db3d 100644--- a/src/i18n/messages/ms.json+++ b/src/i18n/messages/ms.json@@ -4667,6 +4667,18 @@"globalProxy": "Proksi Global","globalProxyDesc": "Konfigurasikan proksi keluar global untuk semua panggilan API. Pembekal individu, kombo dan kunci boleh mengatasi perkara ini.","noGlobalProxy": "Tiada proksi global dikonfigurasikan",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "Konfigurasikan","globalSystemPrompt": "Gesaan Sistem Global",diff --git a/src/i18n/messages/nl.json b/src/i18n/messages/nl.jsonindex 92c9533b2e..f03801d00a 100644--- a/src/i18n/messages/nl.json+++ b/src/i18n/messages/nl.json@@ -4667,6 +4667,18 @@"globalProxy": "Mondiale proxy","globalProxyDesc": "Configureer een globale uitgaande proxy voor alle API-aanroepen. Individuele providers, combo's en sleutels kunnen dit overschrijven.","noGlobalProxy": "Geen globale proxy geconfigureerd",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Globaal","configure": "Configureer","globalSystemPrompt": "Globale systeemprompt",diff --git a/src/i18n/messages/no.json b/src/i18n/messages/no.jsonindex 27846e0764..b97efd106b 100644--- a/src/i18n/messages/no.json+++ b/src/i18n/messages/no.json@@ -4667,6 +4667,18 @@"globalProxy": "Global proxy","globalProxyDesc": "Konfigurer en global utgående proxy for alle API-kall. Individuelle leverandører, kombinasjoner og nøkler kan overstyre dette.","noGlobalProxy": "Ingen global proxy er konfigurert",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Globalt","configure": "Konfigurer","globalSystemPrompt": "Global systemforespørsel",diff --git a/src/i18n/messages/phi.json b/src/i18n/messages/phi.jsonindex adf6df0c78..c33c56cdd2 100644--- a/src/i18n/messages/phi.json+++ b/src/i18n/messages/phi.json@@ -4667,6 +4667,18 @@"globalProxy": "Pandaigdigang Proxy","globalProxyDesc": "Mag-configure ng pandaigdigang papalabas na proxy para sa lahat ng tawag sa API. Maaaring i-override ito ng mga indibidwal na provider, combo, at key.","noGlobalProxy": "Walang na-configure na pandaigdigang proxy",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "I-configure","globalSystemPrompt": "Global System Prompt",diff --git a/src/i18n/messages/pl.json b/src/i18n/messages/pl.jsonindex d9bb5020f6..f5c6eb0377 100644--- a/src/i18n/messages/pl.json+++ b/src/i18n/messages/pl.json@@ -4667,6 +4667,18 @@"globalProxy": "Globalny pełnomocnik","globalProxyDesc": "Skonfiguruj globalny wychodzący serwer proxy dla wszystkich wywołań API. Poszczególni dostawcy, kombinacje i klucze mogą to zastąpić.","noGlobalProxy": "Nie skonfigurowano globalnego serwera proxy",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Globalny","configure": "Skonfiguruj","globalSystemPrompt": "Monit systemu globalnego",diff --git a/src/i18n/messages/pt-BR.json b/src/i18n/messages/pt-BR.jsonindex 30adc6ad2c..74e635cc2a 100644--- a/src/i18n/messages/pt-BR.json+++ b/src/i18n/messages/pt-BR.json@@ -5962,6 +5962,18 @@"globalProxy": "Proxy Global","globalProxyDesc": "Configure um proxy de saída global para todas as chamadas de API. Provedores individuais, combos e chaves podem sobrescrever.","noGlobalProxy": "Nenhum proxy global configurado",+ "bulkHealthcheck": "Verificação de integridade em massa",+ "bulkHealthcheckDesc": "Teste todos os proxies configurados contra uma URL de destino para encontrar quais funcionam.",+ "healthcheckTesting": "Testando...",+ "healthcheckAll": "Verificar todos",+ "healthcheckFailed": "Falha ao executar a verificação de integridade",+ "healthcheckTestingAll": "Testando todos os proxies em paralelo...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Funcionando",+ "healthcheckFailedLabel": "Falharam",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "URL do proxy",+ "healthcheckLatency": "Latência","globalLabel": "Global","configure": "Configurar","globalSystemPrompt": "Prompt de Sistema Global",@@ -6772,13 +6784,15 @@"vercelRelayFreeTierNote": "Relays são endpoints de proxy leves implantados no plano gratuito da Vercel para contornar limitações de rede local/região.","vercelRelayDeploying": "Implantando...","vercelRelayDeploy": "Implantar",- "homePinProviderQuotaToHome": "Pin Information to Home Page",- "homeProviderQuotaLimits": "Provider Quota Limits",- "homeProviderQuotaLimitsDesc": "Pin the Provider Quota status container (with Refresh All button) to the top of the Home page.",- "homeQuickStart": "Quick Start",- "homeQuickStartDesc": "Show the Quick Start panel on the Home page.",- "homeProviderTopology": "Provider Topology",- "homeProviderTopologyDesc": "Show the Provider Topology on the Home page.",+ "homePinProviderQuotaToHome": "Fixar informações na página inicial",+ "homeProviderQuotaLimits": "Limites de cota dos provedores",+ "homeProviderQuotaLimitsDesc": "Fixe o painel de status de cotas dos provedores (com botão Atualizar tudo) no topo da página inicial.",+ "homeQuickStart": "Início rápido",+ "homeQuickStartDesc": "Mostrar o painel de início rápido na página inicial.",+ "homeProviderTopology": "Topologia dos provedores",+ "homeProviderTopologyDesc": "Mostrar a topologia dos provedores na página inicial.",+ "endpointTokenSaver": "Token Saver",+ "endpointTokenSaverDesc": "Mostrar o painel Token Saver na página Endpoint.","proxyGlobalConfigTab": "Configuração Global","proxyPoolTab": "Pool de Proxy","freePoolTab": "Pool Gratuito",diff --git a/src/i18n/messages/pt.json b/src/i18n/messages/pt.jsonindex 7c7166f217..285b6b1c49 100644--- a/src/i18n/messages/pt.json+++ b/src/i18n/messages/pt.json@@ -4667,6 +4667,18 @@"globalProxy": "Procurador global","globalProxyDesc": "Configure um proxy de saída global para todas as chamadas de API. Provedores individuais, combos e chaves podem substituir isso.","noGlobalProxy": "Nenhum proxy global configurado",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Globais","configure": "Configurar","globalSystemPrompt": "Alerta do sistema global",diff --git a/src/i18n/messages/ro.json b/src/i18n/messages/ro.jsonindex 0f7ff1492a..31537eadba 100644--- a/src/i18n/messages/ro.json+++ b/src/i18n/messages/ro.json@@ -4667,6 +4667,18 @@"globalProxy": "Proxy global","globalProxyDesc": "Configurați un proxy global de ieșire pentru toate apelurile API. Furnizorii individuali, combo-urile și cheile pot suprascrie acest lucru.","noGlobalProxy": "Nu a fost configurat niciun proxy global",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "Configurați","globalSystemPrompt": "Global System Prompt",diff --git a/src/i18n/messages/ru.json b/src/i18n/messages/ru.jsonindex 37f752d4e4..fa07b693ae 100644--- a/src/i18n/messages/ru.json+++ b/src/i18n/messages/ru.json@@ -4780,13 +4780,15 @@"modelsDevInfoOrder": "Переопределение пользователя → models.dev → LiteLLM → Жёстко заданное значение по умолчанию","systemTheme": "Системная тема","debugToggle": "Включить режим отладки",- "homePinProviderQuotaToHome": "Pin Information to Home Page",- "homeProviderQuotaLimits": "Provider Quota Limits",- "homeProviderQuotaLimitsDesc": "Pin the Provider Quota status container (with Refresh All button) to the top of the Home page.",- "homeQuickStart": "Quick Start",- "homeQuickStartDesc": "Show the Quick Start panel on the Home page.",- "homeProviderTopology": "Provider Topology",- "homeProviderTopologyDesc": "Show the Provider Topology on the Home page.",+ "homePinProviderQuotaToHome": "Закрепить информацию на главной странице",+ "homeProviderQuotaLimits": "Лимиты квот провайдеров",+ "homeProviderQuotaLimitsDesc": "Закрепить контейнер статуса квот провайдеров (с кнопкой обновить все) вверху главной страницы.",+ "homeQuickStart": "Быстрый старт",+ "homeQuickStartDesc": "Показывать панель быстрого старта на главной странице.",+ "homeProviderTopology": "Топология провайдеров",+ "homeProviderTopologyDesc": "Показывать топологию провайдеров на главной странице.",+ "endpointTokenSaver": "Token Saver",+ "endpointTokenSaverDesc": "Показывать панель Token Saver на странице Endpoint.","sidebarVisibilityToggle": "Показывать элементы боковой панели","enableCache": "Включить кеш","cacheTTL": "Срок жизни кэша",@@ -4904,6 +4906,18 @@"globalProxy": "Глобальный прокси","globalProxyDesc": "Настройте глобальный исходящий прокси-сервер для всех вызовов API. Отдельные поставщики, комбинации и ключи могут переопределить это.","noGlobalProxy": "Глобальный прокси не настроен",+ "bulkHealthcheck": "Массовая проверка здоровья",+ "bulkHealthcheckDesc": "Проверьте все настроенные прокси по целевому URL, чтобы определить рабочие.",+ "healthcheckTesting": "Проверка...",+ "healthcheckAll": "Проверить все",+ "healthcheckFailed": "Не удалось выполнить проверку здоровья",+ "healthcheckTestingAll": "Проверка всех прокси параллельно...",+ "healthcheckTotal": "Всего",+ "healthcheckWorking": "Работают",+ "healthcheckFailedLabel": "Ошибки",+ "healthcheckStatus": "Статус",+ "healthcheckProxyUrl": "URL прокси",+ "healthcheckLatency": "Задержка","globalLabel": "Глобальный","configure": "Настроить","globalSystemPrompt": "Глобальная системная подсказка",diff --git a/src/i18n/messages/sk.json b/src/i18n/messages/sk.jsonindex d16fd32630..9c040cef29 100644--- a/src/i18n/messages/sk.json+++ b/src/i18n/messages/sk.json@@ -4667,6 +4667,18 @@"globalProxy": "Globálny proxy","globalProxyDesc": "Nakonfigurujte globálny výstupný proxy server pre všetky volania API. Jednotliví poskytovatelia, kombá a kľúče to môžu prepísať.","noGlobalProxy": "Nie je nakonfigurovaný žiadny globálny server proxy",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "globálne","configure": "Konfigurovať","globalSystemPrompt": "Výzva globálneho systému",diff --git a/src/i18n/messages/sv.json b/src/i18n/messages/sv.jsonindex c5b8745214..48013c2a23 100644--- a/src/i18n/messages/sv.json+++ b/src/i18n/messages/sv.json@@ -4667,6 +4667,18 @@"globalProxy": "Global proxy","globalProxyDesc": "Konfigurera en global utgående proxy för alla API-anrop. Enskilda leverantörer, kombinationer och nycklar kan åsidosätta detta.","noGlobalProxy": "Ingen global proxy konfigurerad",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "Konfigurera","globalSystemPrompt": "Global System Prompt",diff --git a/src/i18n/messages/sw.json b/src/i18n/messages/sw.jsonindex c199a12d8d..f8d4d7b8d4 100644--- a/src/i18n/messages/sw.json+++ b/src/i18n/messages/sw.json@@ -4667,6 +4667,18 @@"globalProxy": "Global Proxy","globalProxyDesc": "Configure a global outbound proxy for all API calls. Individual providers, combos, and keys can override this.","noGlobalProxy": "No global proxy configured",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "Configure","globalSystemPrompt": "Global System Prompt",diff --git a/src/i18n/messages/ta.json b/src/i18n/messages/ta.jsonindex 5a3315d5b2..72fd5bf605 100644--- a/src/i18n/messages/ta.json+++ b/src/i18n/messages/ta.json@@ -4667,6 +4667,18 @@"globalProxy": "Global Proxy","globalProxyDesc": "Configure a global outbound proxy for all API calls. Individual providers, combos, and keys can override this.","noGlobalProxy": "No global proxy configured",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "Configure","globalSystemPrompt": "Global System Prompt",diff --git a/src/i18n/messages/te.json b/src/i18n/messages/te.jsonindex 603d1a182c..6201b47cd9 100644--- a/src/i18n/messages/te.json+++ b/src/i18n/messages/te.json@@ -4667,6 +4667,18 @@"globalProxy": "Global Proxy","globalProxyDesc": "Configure a global outbound proxy for all API calls. Individual providers, combos, and keys can override this.","noGlobalProxy": "No global proxy configured",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "Configure","globalSystemPrompt": "Global System Prompt",diff --git a/src/i18n/messages/th.json b/src/i18n/messages/th.jsonindex 006f8f5a5e..19fbfdf9c9 100644--- a/src/i18n/messages/th.json+++ b/src/i18n/messages/th.json@@ -4667,6 +4667,18 @@"globalProxy": "พร็อกซีทั่วโลก","globalProxyDesc": "กำหนดค่าพร็อกซีขาออกส่วนกลางสำหรับการเรียก API ทั้งหมด ผู้ให้บริการแต่ละราย คอมโบ และคีย์สามารถแทนที่สิ่งนี้ได้","noGlobalProxy": "ไม่มีการกำหนดค่าพร็อกซีส่วนกลาง",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "ทั่วโลก","configure": "กำหนดค่า","globalSystemPrompt": "พร้อมท์ระบบทั่วโลก",diff --git a/src/i18n/messages/tr.json b/src/i18n/messages/tr.jsonindex 3d96ceebbe..3559ef09d6 100644--- a/src/i18n/messages/tr.json+++ b/src/i18n/messages/tr.json@@ -4667,6 +4667,18 @@"globalProxy": "Genel Proxy","globalProxyDesc": "Tüm API çağrıları için genel bir çıkış proxy'si yapılandırın. Bireysel sağlayıcılar, kombolar ve anahtarlar bunu geçersiz kılabilir.","noGlobalProxy": "Genel proxy yapılandırılmadı",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Genel","configure": "Yapılandır","globalSystemPrompt": "Genel Sistem İstemi",diff --git a/src/i18n/messages/uk-UA.json b/src/i18n/messages/uk-UA.jsonindex 02e4690448..5395be658c 100644--- a/src/i18n/messages/uk-UA.json+++ b/src/i18n/messages/uk-UA.json@@ -4664,6 +4664,18 @@"globalProxy": "Глобальний проксі","globalProxyDesc": "Налаштуйте глобальний вихідний проксі для всіх викликів API. Окремі постачальники, комбінації та ключі можуть замінити це.","noGlobalProxy": "Глобальний проксі не налаштовано",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Глобальний","configure": "Налаштувати","globalSystemPrompt": "Глобальна системна підказка",diff --git a/src/i18n/messages/ur.json b/src/i18n/messages/ur.jsonindex b7ecaccb2f..8d18fa89f8 100644--- a/src/i18n/messages/ur.json+++ b/src/i18n/messages/ur.json@@ -4667,6 +4667,18 @@"globalProxy": "Global Proxy","globalProxyDesc": "Configure a global outbound proxy for all API calls. Individual providers, combos, and keys can override this.","noGlobalProxy": "No global proxy configured",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Global","configure": "Configure","globalSystemPrompt": "Global System Prompt",diff --git a/src/i18n/messages/vi.json b/src/i18n/messages/vi.jsonindex 483be90816..bbd742b065 100644--- a/src/i18n/messages/vi.json+++ b/src/i18n/messages/vi.json@@ -4667,6 +4667,18 @@"globalProxy": "Proxy toàn cầu","globalProxyDesc": "Định cấu hình proxy gửi đi toàn cầu cho tất cả lệnh gọi API. Các nhà cung cấp, tổ hợp và khóa riêng lẻ có thể ghi đè điều này.","noGlobalProxy": "Không có proxy toàn cầu nào được định cấu hình",+ "bulkHealthcheck": "Bulk Healthcheck",+ "bulkHealthcheckDesc": "Test all configured proxies against a target URL to find which ones work.",+ "healthcheckTesting": "Testing...",+ "healthcheckAll": "Healthcheck All",+ "healthcheckFailed": "Failed to run healthcheck",+ "healthcheckTestingAll": "Testing all proxies in parallel...",+ "healthcheckTotal": "Total",+ "healthcheckWorking": "Working",+ "healthcheckFailedLabel": "Failed",+ "healthcheckStatus": "Status",+ "healthcheckProxyUrl": "Proxy URL",+ "healthcheckLatency": "Latency","globalLabel": "Toàn cầu","configure": "Cấu hình","globalSystemPrompt": "Lời nhắc hệ thống toàn cầu",diff --git a/src/i18n/messages/zh-CN.json b/src/i18n/messages/zh-CN.jsonindex 068cb97577..702847a75e 100644--- a/src/i18n/messages/zh-CN.json+++ b/src/i18n/messages/zh-CN.json@@ -4788,13 +4788,15 @@"modelsDevInfoOrder": "用户覆盖 → models.dev → LiteLLM → 硬编码默认值","systemTheme": "系统主题","debugToggle": "启用调试模式",- "homePinProviderQuotaToHome": "Pin Information to Home Page",- "homeProviderQuotaLimits": "Provider Quota Limits",- "homeProviderQuotaLimitsDesc": "Pin the Provider Quota status container (with Refresh All button) to the top of the Home page.",- "homeQuickStart": "Quick Start",- "homeQuickStartDesc": "Show the Quick Start panel on the Home page.",- "homeProviderTopology": "Provider Topology",- "homeProviderTopologyDesc": "Show the Provider Topology on the Home page.",+ "homePinProviderQuotaToHome": "固定到首页的信息",+ "homeProviderQuotaLimits": "提供商配额限制",+ "homeProviderQuotaLimitsDesc": "将提供商配额状态容器(含全部刷新按钮)固定到首页顶部。",+ "homeQuickStart": "快速开始",+ "homeQuickStartDesc": "在首页显示快速开始面板。",+ "homeProviderTopology": "提供商拓扑",+ "homeProviderTopologyDesc": "在首页显示提供商拓扑。",+ "endpointTokenSaver": "Token Saver",+ "endpointTokenSaverDesc": "在 Endpoint 页面显示 Token Saver 面板。","sidebarVisibilityToggle": "显示侧边栏项目","enableCache": "启用缓存","cacheTTL": "缓存生存时间",@@ -4912,6 +4914,18 @@"globalProxy": "全局代理","globalProxyDesc": "为所有 API 调用配置全局出站代理。单独的提供商、组合和键可以覆盖此设置。","noGlobalProxy": "没有配置全局代理",+ "bulkHealthcheck": "批量健康检查",+ "bulkHealthcheckDesc": "针对目标 URL 测试所有已配置代理,找出可用代理。",+ "healthcheckTesting": "测试中...",+ "healthcheckAll": "全部健康检查",+ "healthcheckFailed": "运行健康检查失败",+ "healthcheckTestingAll": "正在并行测试所有代理...",+ "healthcheckTotal": "总数",+ "healthcheckWorking": "可用",+ "healthcheckFailedLabel": "失败",+ "healthcheckStatus": "状态",+ "healthcheckProxyUrl": "代理 URL",+ "healthcheckLatency": "延迟","globalLabel": "全局","configure": "配置","globalSystemPrompt": "全局系统提示",diff --git a/src/shared/constants/homeWidgets.ts b/src/shared/constants/homeWidgets.tsindex f12599bcd8..67f477e944 100644--- a/src/shared/constants/homeWidgets.ts+++ b/src/shared/constants/homeWidgets.ts@@ -1,5 +1,6 @@/**- * Settings keys for widgets that can be pinned / shown on the Home page.+ * Settings keys for widgets that can be pinned / shown from Appearance settings.*/export const PIN_PROVIDER_QUOTA_TO_HOME_KEY = "pinProviderQuotaToHome";+export const SHOW_TOKEN_SAVER_ON_ENDPOINT_KEY = "showTokenSaverOnEndpoint";diff --git a/src/shared/validation/schemas.ts b/src/shared/validation/schemas.tsindex 07020923dc..0dc056c414 100644--- a/src/shared/validation/schemas.ts+++ b/src/shared/validation/schemas.ts@@ -751,6 +751,7 @@ export const updateSettingsSchema = z.object({pinProviderQuotaToHome: z.boolean().optional(),showQuickStartOnHome: z.boolean().optional(),showProviderTopologyOnHome: z.boolean().optional(),+ showTokenSaverOnEndpoint: z.boolean().optional(),bruteForceProtection: z.boolean().optional(),hiddenSidebarItems: z.array(z.enum(HIDEABLE_SIDEBAR_ITEM_IDS)).optional(),comboConfigMode: z.enum(COMBO_CONFIG_MODES).optional(),diff --git a/src/shared/validation/settingsSchemas.ts b/src/shared/validation/settingsSchemas.tsindex 88b7b9a945..09877b4ee1 100644--- a/src/shared/validation/settingsSchemas.ts+++ b/src/shared/validation/settingsSchemas.ts@@ -40,6 +40,7 @@ export const updateSettingsSchema = z.object({pinProviderQuotaToHome: z.boolean().optional(),showQuickStartOnHome: z.boolean().optional(),showProviderTopologyOnHome: z.boolean().optional(),+ showTokenSaverOnEndpoint: z.boolean().optional(),localOnlyManageScopeBypassEnabled: z.boolean().optional(),localOnlyManageScopeBypassPrefixes: z.array(z.string().max(200)).optional(),customBannedSignals: z.array(z.string().max(200)).optional(),diff --git a/src/types/settings.ts b/src/types/settings.tsindex 52a46b16aa..f5af082fcc 100644--- a/src/types/settings.ts+++ b/src/types/settings.ts@@ -34,6 +34,7 @@ export interface Settings {pinProviderQuotaToHome?: boolean;showQuickStartOnHome?: boolean;showProviderTopologyOnHome?: boolean;+ showTokenSaverOnEndpoint?: boolean;hiddenSidebarItems?: HideableSidebarItemId[];sidebarSectionOrder?: SidebarSectionId[];sidebarItemOrder?: SidebarItemOrder;diff --git a/tests/unit/home-page-pin-settings-schema.test.ts b/tests/unit/appearance-widget-settings-schema.test.tssimilarity index 81%rename from tests/unit/home-page-pin-settings-schema.test.tsrename to tests/unit/appearance-widget-settings-schema.test.tsindex ed7c2b2fa4..e4eb5a2de1 100644--- a/tests/unit/home-page-pin-settings-schema.test.ts+++ b/tests/unit/appearance-widget-settings-schema.test.ts@@ -3,11 +3,12 @@ import assert from "node:assert/strict";import { updateSettingsSchema } from "../../src/shared/validation/settingsSchemas.ts";-test("home page pin settings are accepted by the settings PATCH schema", () => {+test("appearance widget visibility settings are accepted by the settings PATCH schema", () => {const validation = updateSettingsSchema.safeParse({pinProviderQuotaToHome: true,showQuickStartOnHome: false,showProviderTopologyOnHome: true,+ showTokenSaverOnEndpoint: false,});assert.equal(validation.success, true);@@ -15,9 +16,10 @@ test("home page pin settings are accepted by the settings PATCH schema", () => {assert.equal(validation.data.pinProviderQuotaToHome, true);assert.equal(validation.data.showQuickStartOnHome, false);assert.equal(validation.data.showProviderTopologyOnHome, true);+ assert.equal(validation.data.showTokenSaverOnEndpoint, false);});-test("home page pin settings default to undefined when not provided", () => {+test("appearance widget visibility settings default to undefined when not provided", () => {const validation = updateSettingsSchema.safeParse({});assert.equal(validation.success, true);@@ -25,11 +27,13 @@ test("home page pin settings default to undefined when not provided", () => {assert.equal(validation.data.pinProviderQuotaToHome, undefined);assert.equal(validation.data.showQuickStartOnHome, undefined);assert.equal(validation.data.showProviderTopologyOnHome, undefined);+ assert.equal(validation.data.showTokenSaverOnEndpoint, undefined);});-test("home page pin settings reject non-boolean values", () => {+test("appearance widget visibility settings reject non-boolean values", () => {const validation = updateSettingsSchema.safeParse({pinProviderQuotaToHome: "yes",+ showTokenSaverOnEndpoint: "no",});assert.equal(validation.success, false);