Skip to content

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

feat(i18n): add Azerbaijani (az 🇦🇿) language support

diegosouzapw6e392932c2a4
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a2e9cca014..fb16cdad7a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@
### Added
+- **feat(i18n):** add Azerbaijani (az / 🇦🇿) language support — new locale in `config/i18n.json` (source of truth), `src/i18n/messages/az.json` (UI strings), `docs/i18n/az/` (full documentation set), README language bar, docs i18n index, and both translation pipeline scripts (`generate-multilang.mjs`, `i18n_autotranslate.py`). Total supported languages: **42**.
- **feat(limits):** per-window quota cutoffs across all providers with usage data — operators can set per-quota-window thresholds (e.g. `session=95%, weekly=80%`) with cascading resolver (connection → provider default → global 98%) and zero-latency gate when nothing is configured. New migration 056, new `GET /api/providers/quota-windows` endpoint, and Dashboard › Limits cutoff modal. ([#2267](https://github.com/diegosouzapw/OmniRoute/pull/2267) — thanks @payne0420)
- **feat(api-keys):** configurable default rate limits via `DEFAULT_RATE_LIMIT_PER_DAY` env var — replaces hardcoded 1000/day fallback with Zod-validated configuration while preserving secure defaults for existing deployments. ([#2266](https://github.com/diegosouzapw/OmniRoute/pull/2266) — thanks @gleber)
- **feat(authz):** `managementPolicy` accepts API keys with `manage` scope — enables headless/programmatic management (provisioning providers, setting rate limits) without a browser session. ([#2265](https://github.com/diegosouzapw/OmniRoute/pull/2265) — thanks @gleber)
diff --git a/README.md b/README.md
index e4b62a38a3..da5787426a 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ _The most complete open-source AI proxy — **one endpoint**, **160+ providers**
<div align="">
-🌐 **Available in:** 🇺🇸 [English](README.md) | 🇧🇷 [Português (Brasil)](docs/i18n/pt-BR/README.md) | 🇪🇸 [Español](docs/i18n/es/README.md) | 🇫🇷 [Français](docs/i18n/fr/README.md) | 🇮🇹 [Italiano](docs/i18n/it/README.md) | 🇷🇺 [Русский](docs/i18n/ru/README.md) | 🇨🇳 [中文 (简体)](docs/i18n/zh-CN/README.md) | 🇩🇪 [Deutsch](docs/i18n/de/README.md) | 🇮🇳 [हिन्दी](docs/i18n/in/README.md) | 🇹🇭 [ไทย](docs/i18n/th/README.md) | 🇺🇦 [Українська](docs/i18n/uk-UA/README.md) | 🇸🇦 [العربية](docs/i18n/ar/README.md) | 🇯🇵 [日本語](docs/i18n/ja/README.md) | 🇻🇳 [Tiếng Việt](docs/i18n/vi/README.md) | 🇧🇬 [Български](docs/i18n/bg/README.md) | 🇩🇰 [Dansk](docs/i18n/da/README.md) | 🇫🇮 [Suomi](docs/i18n/fi/README.md) | 🇮🇱 [עברית](docs/i18n/he/README.md) | 🇭🇺 [Magyar](docs/i18n/hu/README.md) | 🇮🇩 [Bahasa Indonesia](docs/i18n/id/README.md) | 🇰🇷 [한국어](docs/i18n/ko/README.md) | 🇲🇾 [Bahasa Melayu](docs/i18n/ms/README.md) | 🇳🇱 [Nederlands](docs/i18n/nl/README.md) | 🇳🇴 [Norsk](docs/i18n/no/README.md) | 🇵🇹 [Português (Portugal)](docs/i18n/pt/README.md) | 🇷🇴 [Română](docs/i18n/ro/README.md) | 🇵🇱 [Polski](docs/i18n/pl/README.md) | 🇸🇰 [Slovenčina](docs/i18n/sk/README.md) | 🇸🇪 [Svenska](docs/i18n/sv/README.md) | 🇵🇭 [Filipino](docs/i18n/phi/README.md) | 🇨🇿 [Čeština](docs/i18n/cs/README.md)
+🌐 **Available in:** 🇺🇸 [English](README.md) | 🇧🇷 [Português (Brasil)](docs/i18n/pt-BR/README.md) | 🇪🇸 [Español](docs/i18n/es/README.md) | 🇫🇷 [Français](docs/i18n/fr/README.md) | 🇮🇹 [Italiano](docs/i18n/it/README.md) | 🇷🇺 [Русский](docs/i18n/ru/README.md) | 🇨🇳 [中文 (简体)](docs/i18n/zh-CN/README.md) | 🇩🇪 [Deutsch](docs/i18n/de/README.md) | 🇮🇳 [हिन्दी](docs/i18n/in/README.md) | 🇹🇭 [ไทย](docs/i18n/th/README.md) | 🇺🇦 [Українська](docs/i18n/uk-UA/README.md) | 🇸🇦 [العربية](docs/i18n/ar/README.md) | 🇦🇿 [Azərbaycan dili](docs/i18n/az/README.md) | 🇯🇵 [日本語](docs/i18n/ja/README.md) | 🇻🇳 [Tiếng Việt](docs/i18n/vi/README.md) | 🇧🇬 [Български](docs/i18n/bg/README.md) | 🇩🇰 [Dansk](docs/i18n/da/README.md) | 🇫🇮 [Suomi](docs/i18n/fi/README.md) | 🇮🇱 [עברית](docs/i18n/he/README.md) | 🇭🇺 [Magyar](docs/i18n/hu/README.md) | 🇮🇩 [Bahasa Indonesia](docs/i18n/id/README.md) | 🇰🇷 [한국어](docs/i18n/ko/README.md) | 🇲🇾 [Bahasa Melayu](docs/i18n/ms/README.md) | 🇳🇱 [Nederlands](docs/i18n/nl/README.md) | 🇳🇴 [Norsk](docs/i18n/no/README.md) | 🇵🇹 [Português (Portugal)](docs/i18n/pt/README.md) | 🇷🇴 [Română](docs/i18n/ro/README.md) | 🇵🇱 [Polski](docs/i18n/pl/README.md) | 🇸🇰 [Slovenčina](docs/i18n/sk/README.md) | 🇸🇪 [Svenska](docs/i18n/sv/README.md) | 🇵🇭 [Filipino](docs/i18n/phi/README.md) | 🇨🇿 [Čeština](docs/i18n/cs/README.md)
</div>
diff --git a/config/i18n.json b/config/i18n.json
index fe548c41ff..6e1492496b 100644
--- a/config/i18n.json
+++ b/config/i18n.json
@@ -13,6 +13,14 @@
"english": "Arabic",
"flag": "🇸🇦"
},
+ {
+ "code": "az",
+ "label": "AZ",
+ "name": "Azərbaycan dili",
+ "native": "Azərbaycan dili",
+ "english": "Azerbaijani",
+ "flag": "🇦🇿"
+ },
{
"code": "bg",
"label": "BG",
diff --git a/docs/i18n/README.md b/docs/i18n/README.md
index 7e8a95e592..5f204c7cf7 100644
--- a/docs/i18n/README.md
+++ b/docs/i18n/README.md
@@ -1,10 +1,11 @@
# 🌐 Multilingual Documentation — OmniRoute
-Translations of documentation into 39 languages. Code blocks remain in English.
+Translations of documentation into 40 languages. Code blocks remain in English.
---
- 🇸🇦 **العربية** (`ar`): [Docs Root](./ar/README.md)
+- 🇦🇿 **Azərbaycan dili** (`az`): [Docs Root](./az/README.md)
- 🇧🇬 **Български** (`bg`): [Docs Root](./bg/README.md)
- 🇧🇩 **বাংলা** (`bn`): [Docs Root](./bn/README.md)
- 🇨🇿 **Čeština** (`cs`): [Docs Root](./cs/README.md)
diff --git a/docs/i18n/az/CHANGELOG.md b/docs/i18n/az/CHANGELOG.md
new file mode 100644
index 0000000000..4e0dc7fdb9
--- /dev/null
+++ b/docs/i18n/az/CHANGELOG.md
@@ -0,0 +1,5666 @@
+# Changelog (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../CHANGELOG.md) · 🇸🇦 [ar](../ar/CHANGELOG.md) · 🇧🇬 [bg](../bg/CHANGELOG.md) · 🇧🇩 [bn](../bn/CHANGELOG.md) · 🇨🇿 [cs](../cs/CHANGELOG.md) · 🇩🇰 [da](../da/CHANGELOG.md) · 🇩🇪 [de](../de/CHANGELOG.md) · 🇪🇸 [es](../es/CHANGELOG.md) · 🇮🇷 [fa](../fa/CHANGELOG.md) · 🇫🇮 [fi](../fi/CHANGELOG.md) · 🇫🇷 [fr](../fr/CHANGELOG.md) · 🇮🇳 [gu](../gu/CHANGELOG.md) · 🇮🇱 [he](../he/CHANGELOG.md) · 🇮🇳 [hi](../hi/CHANGELOG.md) · 🇭🇺 [hu](../hu/CHANGELOG.md) · 🇮🇩 [id](../id/CHANGELOG.md) · 🇮🇹 [it](../it/CHANGELOG.md) · 🇯🇵 [ja](../ja/CHANGELOG.md) · 🇰🇷 [ko](../ko/CHANGELOG.md) · 🇮🇳 [mr](../mr/CHANGELOG.md) · 🇲🇾 [ms](../ms/CHANGELOG.md) · 🇳🇱 [nl](../nl/CHANGELOG.md) · 🇳🇴 [no](../no/CHANGELOG.md) · 🇵🇭 [phi](../phi/CHANGELOG.md) · 🇵🇱 [pl](../pl/CHANGELOG.md) · 🇵🇹 [pt](../pt/CHANGELOG.md) · 🇧🇷 [pt-BR](../pt-BR/CHANGELOG.md) · 🇷🇴 [ro](../ro/CHANGELOG.md) · 🇷🇺 [ru](../ru/CHANGELOG.md) · 🇸🇰 [sk](../sk/CHANGELOG.md) · 🇸🇪 [sv](../sv/CHANGELOG.md) · 🇰🇪 [sw](../sw/CHANGELOG.md) · 🇮🇳 [ta](../ta/CHANGELOG.md) · 🇮🇳 [te](../te/CHANGELOG.md) · 🇹🇭 [th](../th/CHANGELOG.md) · 🇹🇷 [tr](../tr/CHANGELOG.md) · 🇺🇦 [uk-UA](../uk-UA/CHANGELOG.md) · 🇵🇰 [ur](../ur/CHANGELOG.md) · 🇻🇳 [vi](../vi/CHANGELOG.md) · 🇨🇳 [zh-CN](../zh-CN/CHANGELOG.md)
+
+---
+
+## [Unreleased]
+
+## [3.8.0] — 2026-05-06
+
+### ✨ New Features
+
+- **feat(antigravity):** integrate Antigravity provider with dynamic `maxOutputTokens` calculation, identity fingerprinting overhaul, and Cloud Code envelope payload sanitization (#2055, #2063)
+- **feat(gemini-cli):** add custom projectId support for Gemini CLI transport (UI, DB, executor) (#1991)
+- **feat(providers):** add KIE media provider support with dynamic polling, text models, and expanded video models catalog
+- **feat(providers):** add Z.AI provider support with GLM quota handling and new quota labels
+- **feat(providers):** add 9 new free AI providers — LLM7, Lepton, Kluster, UncloseAI, BazaarLink, Completions, Enally, FreeTheAi (#2096)
+- **feat(providers):** batch delete provider connections via checkbox multi-select (#2094)
+- **feat(cursor):** full OpenAI parity — tool calls, streaming, and session management (#2082)
+- **feat(cli):** comprehensive CLI enhancement suite with 20+ new commands including `omniroute providers`, `omniroute combos`, `omniroute doctor` (#2074)
+- **feat(cli):** add modular CLI setup and provider management commands (#2046)
+- **feat(mcp):** add DeepSeek quota and limit monitoring feature (#2089)
+- **feat(circuit-breaker):** classify 429 errors and apply per-kind cooldowns (#2116)
+- **feat(multi):** manifest-aware tier routing — W1-W4 complete (#2014)
+- **feat(combos):** add reset-aware routing strategy for quota-based providers
+- **feat(combo):** add context_length input field to combo edit form (#2047)
+- **feat(chat):** dynamic tool limit detection with proactive truncation (#2061)
+- **feat(sse):** refresh Claude OAuth wire image to claude-cli/2.1.131 (#2011)
+- **feat(github):** add `targetFormat: openai-responses` to all GitHub models (#2122)
+- **feat(api):** allow configuration via API calls — open management routes to Bearer keys with manage scope (#2103)
+- **feat(api):** update API bridge proxy timeout to 600,000ms (#2019)
+- **feat(usage):** add service tier breakdown, codex fast service tier analytics, and account for fast tier
+- **feat(chat):** add `STREAM_READINESS_TIMEOUT_MS` and integrate into chat handling
+- **feat(combo):** add `fallbackDelayMs` to combo configuration and related settings
+- **feat(chat):** enhance error handling for semaphore capacity with fallback logic
+- **feat(qdrant):** embedding model discovery (#2086)
+- **feat(auth):** per-session sticky routing for Codex (#1887)
+- **feat(inworld):** enhance Inworld TTS support (#2123)
+
+### 🐛 Bug Fixes
+
+- **fix(pricing):** make `getPricingForModel` fully case-insensitive to ensure custom prices correctly reflect in new incoming requests cost calculations
+- **fix(gemini):** prevent `functionDeclarations` from being dropped by the sanitizer when `googleSearch` tool is present (#2077)
+- **fix(pollinations):** add `jsonMode: true` flag in the request transformation to enforce correct JSON structure from Pollinations API (#2109)
+- **fix(docker):** update Dockerfile to copy `/docs` directory during build ensuring API catalog availability at runtime (#2083)
+- **fix(docker):** include OpenAPI spec in runtime image (#2007)
+- **fix(providers):** strip OpenAI-specific fields in Kiro translator to prevent 400 errors (#2037)
+- **fix(kiro):** normalize tool-use payloads to prevent 400 errors from agents (#2104)
+- **fix(kiro):** merge adjacent user history turns after role normalization (#2105)
+- **fix(ui):** resolve text contrast issues for zero-config warning banner in light mode (#2050)
+- **fix(core):** inject global system prompt correctly into downstream chat completions pipeline (#2080)
+- **fix(core):** restore Claude Code adaptive thinking defaults and resolve audio transcription CORS regression
+- **fix(routing):** add missing v1beta rewrites to next.config to resolve 404 on Gemini models endpoint (#2102)
+- **fix(routing):** fix bare GPT-5.5 routing for Codex-only installations (#2054)
+- **fix(routing):** add fuzzy auto-combo routing for `auto/*` model prefix (#2010)
+- **fix(cache):** optimize cache_control preservation logic and explicitly align tool schema with upstream Claude Code expectations
+- **fix(db):** preserve legacy SQLite database path on Windows to prevent data loss (#1973)
+- **fix(db):** reduce hot-path persistence overhead (#2039)
+- **fix(db):** resolve migration conflict by renumbering overlapping migration entries (#2041)
+- **fix(settings):** resolve model alias persistence double stringification preventing UI updates (#2018)
+- **fix(routing):** dynamically filter bare model auto-resolution by active provider connections to prevent dead-routing (#2029)
+- **fix(embeddings):** add Google Gemini embeddings compatibility via OpenAI-compatible endpoint mapping (#2006)
+- **fix(sse):** prevent Claude OAuth multi-account correlation via metadata.user_id (#2053)
+- **fix(sse):** prevent Claude Code identity cloak overrides and fix fallback resilience (#2053)
+- **fix(sse):** classify hour quota errors as QUOTA_EXHAUSTED (#2119)
+- **fix(sse):** fix CC-compatible streaming bridge (#2118)
+- **fix(antigravity):** sanitize Claude Cloud Code payloads (#2090)
+- **fix(antigravity):** add duplex half for streaming bodies
+- **fix(antigravity):** align identity protocol and behavior with official AM
+- **fix(chatgpt-web):** plumb proxy through to native tls-client (#2022, #2023)
+- **fix(codex):** expose native model IDs in catalog (#2012)
+- **fix(glm):** add dedicated coding transport (#2087)
+- **fix(compression):** support Responses input and expand Spanish compression rules (#2028)
+- **fix(catalog):** auto-calculate combo context_length from target model limits (#2030)
+- **fix(api):** fix usage analytics and API key identity (#2008, #2092)
+- **fix(api-key):** allow Unicode letters in API key name validation (#1996)
+- **fix(auth):** allow bootstrap without password (#2048)
+- **fix(proxy):** clean up proxy page redundancy and fix 1proxy sync empty body error (#2052)
+- **fix(dashboard):** resolve Unknown plan display in Provider Limits
+- **fix(usage):** add extensible CURRENCY_SYMBOLS mapping for deepseek currencies
+- **fix(runtime):** harden timer handling and model pricing fallback
+- **fix(i18n):** complete Simplified Chinese translations (#2115)
+- **fix(mitm):** add Linux cert install and skip sudo password when root (#1999)
+- **fix(mitm):** prevent stub from loading at runtime via bypass module
+- **fix:** remove Anthropic-Beta header from non-Anthropic providers to fix identity contamination (#1989)
+- **fix(cli):** resolve .env loading failure for global npm installations
+- **fix(export):** exclude telemetry/usage-history tables from JSON config backups by default to prevent unbounded file growth (#2125)
+- **fix:** Follow OpenAI specification, handle throttling in batch and fix UI (#2045)
+
+### Сигурност
+
+- **fix(security):** remediate CodeQL vulnerabilities (ReDoS, cryptographic bias, stack trace exposure, and weak password hashing) (#216, #215, #211, #208, #206, #210)
+- **fix(security):** remediate regex validation backtracking path in core compression cleanup (#1990)
+- **fix(core):** harden input handling and stabilization for prompt compression edge cases
+
+### Документация
+
+- **docs:** add competitive marketing tables and SEO/AEO optimizations to README (#2091)
+- **docs:** refresh providers, model catalogs, and docs for v3.8.0 (#2088)
+- **docs:** update Claude MD and update GLM-CN max context to 200k (#2027)
+- **docs(env):** add `GITLAB_DUO_OAUTH_CLIENT_ID` to `.env.example` (#2031)
+
+### 🧹 Chores & Maintenance
+
+- **chore(providers):** prune redundant local provider icon assets in favor of `@lobehub/icons` web fonts (#1992)
+- **chore(providers):** remove deprecated models (#2033)
+- **deps:** bump `fast-uri` from 3.1.0 to 3.1.2 (#2078)
+- **deps:** bump `hono` from 4.12.14 to 4.12.18 (#2079)
+- **ci:** skip SonarCloud scan on main pushes to optimize CI time
+- **test:** stabilize cooldown abort coverage case in integration testing
+
+### 🏆 v3.8.0 Community Contributors
+
+Thank you to all **38 community contributors** who made v3.8.0 possible! 🎉
+
+| Contributor | PRs | Contributions |
+| :--------------------------------------------------------- | :-: | :------------------------------------------------------------ |
+| [@oyi77](https://github.com/oyi77) | 7 | #2010, #2014, #2041, #2052, #2061, #2074, #2091, #2094, #2096 |
+| [@backryun](https://github.com/backryun) | 4 | #1992, #2033, #2088, #2123 |
+| [@dhaern](https://github.com/dhaern) | 4 | #2028, #2039, #2087, #2090 |
+| [@Tentoxa](https://github.com/Tentoxa) | 2 | #2011, #2053 |
+| [@wauputr4](https://github.com/wauputr4) | 2 | #2009, #2046 |
+| [@payne0420](https://github.com/payne0420) | 1 | #2082 |
+| [@Tr0sT](https://github.com/Tr0sT) | 1 | #2012 |
+| [@AveryanAlex](https://github.com/AveryanAlex) | 1 | #2008 |
+| [@nickwizard](https://github.com/nickwizard) | 1 | #1991 |
+| [@rodrigogbbr-stack](https://github.com/rodrigogbbr-stack) | 1 | #1996 |
+| [@NekoMonci12](https://github.com/NekoMonci12) | 1 | #1999 |
+| [@congvc-dev](https://github.com/congvc-dev) | 1 | #2004 |
+| [@tatsster](https://github.com/tatsster) | 1 | #2007 |
+| [@xssdem](https://github.com/xssdem) | 1 | #2023 |
+| [@bypanghu](https://github.com/bypanghu) | 1 | #2027 |
+| [@herjarsa](https://github.com/herjarsa) | 1 | #2030 |
+| [@wucm667](https://github.com/wucm667) | 1 | #2031 |
+| [@hartmark](https://github.com/hartmark) | 1 | #2045 |
+| [@ddarkr](https://github.com/ddarkr) | 1 | #2047 |
+| [@tces1](https://github.com/tces1) | 1 | #2048 |
+| [@guanbear](https://github.com/guanbear) | 1 | #2054 |
+| [@Gi99lin](https://github.com/Gi99lin) | 1 | #2055 |
+| [@ivan-mezentsev](https://github.com/ivan-mezentsev) | 1 | #2063 |
+| [@JxnLexn](https://github.com/JxnLexn) | 1 | #2019 |
+| [@yoviarpauzi](https://github.com/yoviarpauzi) | 1 | #2092 |
+| [@rafacpti23](https://github.com/rafacpti23) | 1 | #2086 |
+| [@gleber](https://github.com/gleber) | 1 | #2103 |
+| [@rilham97](https://github.com/rilham97) | 1 | #2104 |
+| [@Gioxaa](https://github.com/Gioxaa) | 1 | #2105 |
+| [@boa-z](https://github.com/boa-z) | 1 | #2115 |
+| [@eleata](https://github.com/eleata) | 1 | #2116 |
+| [@rdself](https://github.com/rdself) | 1 | #2118 |
+| [@clousky2020](https://github.com/clousky2020) | 1 | #2119 |
+| [@abhinavjnu](https://github.com/abhinavjnu) | 1 | #2122 |
+| [@HoaPham98](https://github.com/HoaPham98) | 1 | #2089 |
+| [@05dunski](https://github.com/05dunski) | 1 | #1978 (cherry-picked) |
+
+## [3.7.9] — 2026-05-03
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+
+- **feat(compression):** major upgrade to Caveman and RTK compression pipelines (#1876, #1889):
+ - Add RTK tool-output compression, stacked Caveman + RTK pipelines, compression combo assignments, dashboard context pages, MCP management tools, and language-aware Caveman rule packs.
+ - Expand RTK parity with a 39-filter catalog, RTK-style JSON DSL stages, inline verify/benchmark coverage, trust-gated custom filters, expanded command detection, and redacted raw-output recovery.
+ - Expose rule intensities, track USD savings, unify config validation, and persist MCP savings.
+ - Expand Caveman parity and MCP metadata compression.
+- **feat(provider):** update Jina AI model catalog to support Embeddings and Rerank natively (#1874 — thanks @backryun)
+- **feat(provider):** add NanoGPT image generation provider (#1899 — thanks @Aculeasis)
+- **feat(ui):** move proxy configuration to dedicated System → Proxy page (#1907 — thanks @oyi77)
+- **feat(ui):** add K/M/B/T cost shortener utility (#1902 — thanks @oyi77)
+- **feat(providers):** implement bulk paste for extra API keys (#1916 — thanks @0xtbug)
+- **feat(analytics):** usage history API key backfill + dark mode pricing (#1896 — thanks @Gi99lin)
+- **feat(logs):** show RTK and Caveman compression token savings accurately in request log UI (#1923 — thanks @emdash)
+- **feat(routing):** auto-skip exhausted quota accounts (Issue #1952)
+- **feat(docs):** docs site overhaul (#1976 — thanks @oyi77)
+- **feat(db):** consolidate all database settings into SystemStorageTab (closes #1935) (#1947 — thanks @oyi77)
+- **feat(sse):** codex 429 mid-task failover with account rotation (#1888 — thanks @smartenok-ops)
+- **feat(auto-assessment):** add auto-assessment engine for combo self-healing (#1918 — thanks @oyi77)
+- **feat(usage):** DeepSeek V4 native cache token extraction (#1930 — thanks @smartenok-ops)
+- **feat(cost):** enhance cost formatting and add Codex GPT-5.5 pricing support (#1944 — thanks @JxnLexn)
+
+### 🐛 Bug Fixes
+
+- **fix(auth):** implement session affinity sticky routing logic
+- **fix(dashboard):** derive display base URL from origin instead of hardcoding localhost (#1960 — thanks @jeanfbrito)
+- **fix(proxy):** use credentials.connectionId instead of non-existent credentials.id for image proxy resolution (#1929 — thanks @Aculeasis)
+- **fix(routing):** codex bare-name disambiguation + family-native fallback (#1933 — thanks @smartenok-ops)
+- **fix(infrastructure):** move wreq-js to optionalDependencies and add Node 25/26 to secure runtime policy (#1924)
+- **fix(providers):** resolve ChatGPT Web authentication failure by aligning TLS fingerprint User-Agent strings (#1925)
+- **fix(mitm):** support root user for MITM sudo handling (#1948 — thanks @NekoMonci12)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941, #1945)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+- **fix(mcp):** reclassify MCP endpoints to ensure API key authentication works even when dashboard auth is enabled (#1970)
+- **fix(providers):** allow local OpenAI-compatible endpoints (like Ollama) to be added without an API key (fixes #1893)
+- **fix(providers):** bypass AgentRouter unauthorized_client_error by spoofing Claude CLI headers via Anthropic endpoints (fixes #1921)
+- **fix(copilot):** emit compatible reasoning text deltas (#1919 — thanks @ivan-mezentsev)
+- **fix(api-manager):** show validation errors inline in modals, not behind (#1920 — thanks @andrewmunsell)
+- **fix(compression):** align seeded standard savings combo with stacked default, preserve stacked defaults, and secure metadata routes.
+- **fix(gemini-cli):** separate Cloud Code transport from Antigravity (#1869 — thanks @dhaern)
+- **fix(codex):** map prompt field to input array for Cursor compatibility (fixes #1872)
+- **fix(core):** align stream parameter default to false per strict OpenAI spec (fixes #1873)
+- **fix(ui):** restore Next.js CSP `unsafe-eval` in production `script-src` to fix unresponsive Onboarding button (fixes #1883)
+- **fix(proxy):** globally strip `prompt_cache_retention` in `BaseExecutor` to prevent upstream 400 errors from strict endpoints like droid/gemini-2-pro (fixes #1884)
+- **fix(ui):** include `isOpen` dependency in `EditConnectionModal` state sync to ensure `maxConcurrent` is properly hydrated when reopening the modal (fixes #1859)
+- **fix(security):** remediate 4 polynomial-redos CodeQL alerts in compression regexes by bounding repetitions and removing overlapping quantifiers
+- **fix(codex):** flatten Chat Completions tool format to Codex Responses format in `normalizeCodexTools` — prevents `Missing required parameter: tools[0].name` upstream errors (#1914 — thanks @tranduykhanh030)
+- **fix(proxy):** add proxy-aware execution context to image generation route — proxy settings are now correctly applied for image providers behind restricted networks (#1904 — thanks @Aculeasis)
+- **fix(translator):** inject `properties: {}` into zero-argument MCP tool schemas during Anthropic→OpenAI translation — prevents 400 errors from OpenAI strict schema validation (#1898 — thanks @bryceIT)
+- **fix(codex):** sanitize raw responses input (#1895 — thanks @dhaern)
+- **fix(combos):** align strategy contracts (#1892 — thanks @dhaern)
+- **fix(combos):** fix combo provider breaker profile handling (#1891 — thanks @rdself)
+- **fix(migrations):** duplicate-column no-op fix (#1886 — thanks @smartenok-ops)
+- **fix(auth):** per-connection OAuth refresh mutex (#1885 — thanks @smartenok-ops)
+- **fix(auth):** require dashboard management auth for compression preview
+
+### 🔄 Updates
+
+- **chore(provider):** Add reka models list (#1956 — thanks @backryun)
+- **chore(model):** Update new models, Delete Deprecated models (#1949 — thanks @backryun)
+
+### Документация
+
+- **docs(compression):** document RTK+Caveman stacked savings ranges
+
+### 🏆 Release Attribution & Retroactive Credits
+
+- **@payne0420** (PR #1828 / #1839) — Implementation of the **Rate Limit Watchdog** and environment overrides. (This feature was manually backported to v3.7.8, causing the automatic GitHub Release notes to omit the author's credit).
+
+---
+
+## [3.7.8] — 2026-05-01
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** add Grok 4.3 and Xiaomi Mimo TTS provider (#1837)
+- **feat(core):** implement Rate Limit Watchdog with environment override capability to detect and reset stalled queues (#1839)
+- **feat(providers):** add muse-spark-web provider with multiple models and reasoning support (#1843)
+- **feat(1proxy):** integrate 1proxy free proxy marketplace with dashboard management and new MCP tools (closes #1788) (#1847)
+
+### 🐛 Bug Fixes
+
+- **fix(codex):** sanitize Responses replay state to prevent internal assistant commentary from leaking (#1868 — thanks @dhaern)
+- **fix(cli):** add capture-backed Gemini CLI fingerprint (#1866)
+- **fix(ui):** hide combo compression controls when the global setting is disabled (#1840)
+- **fix(db):** tolerate missing request_detail_logs table for legacy deployments (#1848)
+- **fix(core):** remove unneeded \`store\` payload parameter for providers lacking support (closes #1841)
+- **fix(core):** ensure safeOutboundFetch and A2A routers return 503 Service Unavailable when security guardrails are triggered
+- **fix(usage):** correct Unix seconds vs milliseconds parsing logic for Kiro AI quota reset (closes #1849)
+- **fix(ui):** apply robust NaN handling, ensure 24h consistency, and fix missing hour slots in Compression Analytics (closes #1844)
+- **fix(ui):** implement short number formatting for token consumption metrics on cache pages to prevent overflow (closes #1842)
+- **fix(combo):** stabilize provider routing at 500+ connections by bounding semaphore queues and adjusting circuit breaker tracking (closes #1846) (#1854)
+- **fix(maritalk):** update Maritalk model list, use Authorization Key header, and align with latest API endpoints (#1856)
+- **fix(grok-web):** stabilize tool calling (bash, readFile, webSearch) and response parsing by mapping native Grok intents to standard OpenAI payloads (#1857)
+- **fix(providers):** correctly map and expose the Upstage embedding and chat model catalogs (#1855)
+- **fix(executor):** apply proper urlSuffix and custom authHeaders for unknown registry-based providers in DefaultExecutor (closes #1846) (#1861)
+
+### 🛠️ Maintenance
+
+- **fix(workflow):** build docker images on version tags (#1838)
+
+---
+
+## [3.7.7] — 2026-04-30
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **Prompt Compression Pipeline:** Implemented a multi-phase prompt compression engine including `lite` (whitespace/duplication collapse), `aggressive` (summarization, tool compression), and `ultra` modes (heuristic pruning and SLM stub) (#1633, #1738, #1739, #1741)
+- **Compression Dashboard & Analytics:** Added a compression settings UI, real-time log viewer, pipeline statistics tracking, and interactive playground preview (#1756)
+- **Compression Caching & MCP:** Added caching-aware strategy adjustments to the compression pipeline, alongside new MCP tools for status and configuration (#1758)
+- **Analytics Custom Filters:** Added custom date range selection, API key filtering, and NULL key analytics backfilling to the Costs Dashboard (#1830)
+
+### 🐛 Bug Fixes
+
+- **Combo Routing:** Fixed an issue where Gemini `-preview` models were incorrectly normalized to their canonical names, causing 404 errors during combo routing (#1834)
+- **Codex Native Passthrough:** Added support for Cursor 5.5 sending `messages` arrays to the `responses/compact` endpoint, preventing upstream rejections with empty requests (#1832)
+- **Rate-limit Watchdog:** Implemented a new rate-limit watchdog with environment override capabilities and Stage Tracing to prevent and diagnose silent wedges (#1828)
+- **Encryption Resiliency:** Prevent sending encrypted tokens to providers by returning null on decryption failure (#763d353)
+- **i18n & Locales:** Fixed OpenCode baseUrl locale placeholders and added compression keys across 32 languages
+- **Startup Stability:** Hardened resilience integration server startup logic (#9aa89b17)
+
+### 🛠️ Maintenance
+
+- **Tests & Docs:** Expanded the test suite with 61 unit/integration tests for the compression pipeline and updated `AGENTS.md`
+- **Workflow:** Fixed the changelog extraction logic to accurately capture GitHub release descriptions
+
+---
+
+## [3.7.6] — 2026-04-30
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(api-keys):** add rename support in the permissions modal — editable key name field with validation (#1796)
+- **feat(chatgpt-web):** support `thinking_effort` parameter (Standard/Extended) for thinking-capable models (#1821)
+- **feat(dashboard):** implement remaining v3.7.6 dashboard features — Costs overview, Translator pipeline, and Endpoint tabs improvements
+- **feat(tools):** inject fallback tool names to prevent upstream 400 errors on providers that require tool names (#1775)
+- **feat(db):** auto-restore probe-failed database on startup to prevent data loss after failed upgrades (#1810)
+- **feat(analytics):** add cost-based usage insights and activity streaks in the analytics dashboard
+
+### Сигурност
+
+- **fix(security):** resolve ReDoS vulnerability in Codex executor regex patterns (#1797, #1789)
+
+### 🐛 Bug Fixes
+
+- **fix(stability):** resolve codex input validation, enable combo circuit breaker, and fix broken unit tests (#1804, #1805)
+- **fix(stability):** safely cast inputs to strings before calling `.trim()` to avoid crashes on numeric fields in proxy modal (#1825)
+- **fix(stability):** clear active requests and recover providers after connection failures (#1824)
+- **fix(xiaomi-mimo):** update models to V2.5, fix Token Plan validation and default region (#1823)
+- **fix(codex):** omit compact client metadata to prevent upstream rejections (#1822)
+- **fix(dashboard):** fix endpoint visibility, A2A status display, and API catalog consistency (#1806)
+- **fix(analytics):** use pure SQL aggregations — no history rows loaded into memory (#1802)
+- **fix(dashboard):** correct `loadPresets` ReferenceError in CostOverviewTab
+- **fix(mitm):** enforce transparent interception on port 443 only
+
+### 🧹 Chores
+
+- **chore(workflow):** mandate implementation plan generation in `/resolve-issues` workflow before coding
+- **chore(release):** expand contributor credits to 155 PRs across full project history
+
+### 🏆 Community Contributors Acknowledgment
+
+We identified that **155 community PRs** across the entire project history (from inception through v3.7.5) were manually integrated into release branches but closed instead of properly merged through GitHub, preventing contributors from receiving merge credit on their profiles. We sincerely apologize for this oversight and have since updated our workflows to ensure this never happens again.
+
+**The following contributors had their code and ideas integrated across multiple releases without proper merge credit. Thank you for your invaluable contributions to OmniRoute:**
+
+| Contributor | PRs (Total) | All Contributions |
+| :----------------------------------------------------------- | :---------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| [@rdself](https://github.com/rdself) | 28 | #542, #705, #717, #737, #738, #841, #851, #853, #875, #880, #888, #891, #903, #904, #974, #1069, #1089, #1196, #1267, #1272, #1299, #1300, #1356, #1357, #1441, #1443, #1549, #1742 |
+| [@oyi77](https://github.com/oyi77) | 27 | #644, #672, #700, #850, #859, #862, #868, #874, #881, #883, #908, #926, #931, #983, #990, #1019, #1020, #1021, #1103, #1281, #1286, #1363, #1368, #1377, #1411, #1689, #1717 |
+| [@clousky2020](https://github.com/clousky2020) | 15 | #1244, #1323, #1365, #1366, #1408, #1442, #1484, #1595, #1598, #1599, #1611, #1618, #1620, #1621, #1644 |
+| [@benzntech](https://github.com/benzntech) | 8 | #158, #1264, #1435, #1436, #1437, #1440, #1444, #1677 |
+| [@kang-heewon](https://github.com/kang-heewon) | 5 | #530, #854, #884, #1235, #1574 |
+| [@herjarsa](https://github.com/herjarsa) | 4 | #1472, #1474, #1477, #1480 |
+| [@backryun](https://github.com/backryun) | 4 | #1358, #1609, #1627, #1722 |
+| [@tombii](https://github.com/tombii) | 4 | #708, #856, #900, #1013 |
+| [@christopher-s](https://github.com/christopher-s) | 3 | #868, #885, #992 |
+| [@zen0bit](https://github.com/zen0bit) | 3 | #561, #650, #912 |
+| [@k0valik](https://github.com/k0valik) | 3 | #554, #587, #596 |
+| [@zhangqiang8vip](https://github.com/zhangqiang8vip) | 2 | #470, #575 |
+| [@wlfonseca](https://github.com/wlfonseca) | 2 | #997, #1016 |
+| [@RaviTharuma](https://github.com/RaviTharuma) | 2 | #1188, #1277 |
+| [@prakersh](https://github.com/prakersh) | 2 | #419, #480 |
+| [@payne0420](https://github.com/payne0420) | 2 | #1593, #1670 |
+| [@only4copilot](https://github.com/only4copilot) | 2 | #855, #1039 |
+| [@jay77721](https://github.com/jay77721) | 2 | #581, #582 |
+| [@hijak](https://github.com/hijak) | 2 | #295, #578 |
+| [@hartmark](https://github.com/hartmark) | 2 | #1494, #1500 |
+| [@defhouse](https://github.com/defhouse) | 2 | #906, #946 |
+| [@xiaoge1688](https://github.com/xiaoge1688) | 1 | #1304 |
+| [@xandr0s](https://github.com/xandr0s) | 1 | #1376 |
+| [@willbnu](https://github.com/willbnu) | 1 | #882 |
+| [@slewis3600](https://github.com/slewis3600) | 1 | #1624 |
+| [@sergey-v9](https://github.com/sergey-v9) | 1 | #594 |
+| [@razllivan](https://github.com/razllivan) | 1 | #987 |
+| [@nmime](https://github.com/nmime) | 1 | #1271 |
+| [@Moutia-Ben-Yahia](https://github.com/Moutia-Ben-Yahia) | 1 | #1663 |
+| [@Mind-Dragon](https://github.com/Mind-Dragon) | 1 | #467 |
+| [@mercs2910](https://github.com/mercs2910) | 1 | #1001 |
+| [@MAINER4IK](https://github.com/MAINER4IK) | 1 | #196 |
+| [@luandiasrj](https://github.com/luandiasrj) | 1 | #996 |
+| [@knopki](https://github.com/knopki) | 1 | #1434 |
+| [@kfiramar](https://github.com/kfiramar) | 1 | #389 |
+| [@ken2190](https://github.com/ken2190) | 1 | #166 |
+| [@keith8496](https://github.com/keith8496) | 1 | #569 |
+| [@jonesfernandess](https://github.com/jonesfernandess) | 1 | #1118 |
+| [@JasonLandbridge](https://github.com/JasonLandbridge) | 1 | #1626 |
+| [@i1hwan](https://github.com/i1hwan) | 1 | #1386 |
+| [@Gorchakov-Pressure](https://github.com/Gorchakov-Pressure) | 1 | #754 |
+| [@foxy1402](https://github.com/foxy1402) | 1 | #934 |
+| [@dt418](https://github.com/dt418) | 1 | #896 |
+| [@dhaern](https://github.com/dhaern) | 1 | #1647 |
+| [@DavyMassoneto](https://github.com/DavyMassoneto) | 1 | #211 |
+| [@dail45](https://github.com/dail45) | 1 | #1413 |
+| [@congvc-dev](https://github.com/congvc-dev) | 1 | #1569 |
+| [@be0hhh](https://github.com/be0hhh) | 1 | #1581 |
+| [@andruwa13](https://github.com/andruwa13) | 1 | #1457 |
+| [@AndrewDragonIV](https://github.com/AndrewDragonIV) | 1 | #898 |
+| [@AndersonFirmino](https://github.com/AndersonFirmino) | 1 | #362 |
+| [@alexsvdk](https://github.com/alexsvdk) | 1 | #1280 |
+| [@abhinavjnu](https://github.com/abhinavjnu) | 1 | #550 |
+
+---
+
+## [3.7.5] — 2026-04-29
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(tunnels):** integrate native ngrok tunnel support with dashboard UI parity (#1753)
+
+### 🐛 Bug Fixes
+
+- **fix(dashboard):** add manual 'Clear All' button to terminate stalled long-running requests in Active Requests panel (#1799)
+- **fix(schema):** remove empty string values from optional tool parameters to prevent upstream validation errors (#1674)
+- **fix(providers):** ensure proper streaming cleanup and semaphore release to prevent stalls with nanoGPT (#1781)
+- **fix(db):** wrap quota_snapshots access in try/catch to gracefully handle pending database migrations (#1784)
+- **feat(providers):** add support for glm-cn (BigModel) provider (#1770)
+- **fix(grok-web):** fix Grok validator and cookie parsing (#1793)
+- **fix(antigravity):** scrub internal OmniRoute headers (#1794)
+- **fix(chatgpt-web):** restore validator + expand model catalog to ChatGPT Plus tier (#1792)
+- **fix(codex):** stabilize Copilot responses replay state (#1791)
+- **fix(antigravity):** cap Claude bridge output tokens (#1785)
+- **fix(schema):** strip `default` properties from tool-call JSON schemas during egress to prevent injection errors (#1782)
+- **fix(db):** add `quota_snapshots` table to core DB schema initialization to prevent startup failures on fresh installs
+- **fix(models):** apply blocked providers filter to non-chat catalog models (image, embedding, audio, etc.) (#1752)
+- **fix(antigravity):** stabilize streaming payload parsing and deduplicate usage/model metadata refreshes (#1748)
+- **fix(antigravity):** normalize Gemini bridge payloads — sanitize tool names, cap output tokens, and fix thinking budget (#1769)
+- **fix(sse):** propagate AbortSignal to pre-fetch semaphore and rate-limit awaits to prevent memory leaks (#1771)
+- **fix(models):** fix model sync import handling — separate synced models from custom models to prevent data loss (#1755)
+- **fix(codex):** improve VS Code Copilot /responses reasoning and tool follow-ups (#1750)
+- **fix(memory):** resolve build issues and implement memory UPSERT logic to prevent duplicate entries (#1763)
+- **fix(kiro):** support organization IDC OAuth with regional endpoints and refresh (#1754)
+- **fix(combo):** include 429 in provider circuit breaker to stop infinite retry loops on exhausted quotas (#1767)
+- **fix(claude):** respect client-set thinking/effort params — only inject adaptive thinking and high effort when the client hasn't explicitly set them, preventing forced quota drain on Claude Max accounts (#1761)
+- **fix(blackbox-web):** correct cookie name and populate session/subscription fields (#1776)
+- **fix(codex):** align client identity metadata (#1778)
+- **fix(claude):** fix support for claude-cli using Gemini provider (#1779)
+- **test(reasoning-cache):** isolate DB state using mkdtempSync to prevent 401 middleware errors
+
+### 🛠️ Maintenance
+
+- **chore(docs):** add MseeP.ai security assessment badge to README (#1727)
+- **chore(xiaomi):** update Xiaomi provider model list (#1759)
+- **chore(db):** move DB health endpoint to management API (#1757)
+- **chore(ui):** speed up endpoint initial render with background task loading (#1760)
+- **chore(workflows):** add strict PR contributor credit policy to prevent future merge credit loss
+
+---
+
+## [3.7.4] — 2026-04-28
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(ui):** add endpoint tunnel visibility settings (#1743)
+- **feat(cli):** refresh CLI fingerprint provider profiles (#1746)
+- **feat(proxy):** implement bulk proxy import via pipe-delimited parser with update-or-create (upsert) logic and real-time preview table
+- **feat(pwa):** add fullscreen installable PWA with manifest, service worker, and cross-platform app icons (#1728)
+
+### Сигурност
+
+- **security:** replace insecure `Math.random` with `crypto.getRandomValues` for fallback UUID generation to resolve CodeQL CWE-338 finding (#182)
+
+### 🐛 Bug Fixes
+
+- **fix(cc-compatible):** fix CC-compatible relay format and UI copy (#1742)
+- **fix(codex):** normalize max reasoning effort for Codex routing (#1744)
+- **fix(claude-code):** fix Claude Code gateway config helper (#1745)
+- **fix(db):** reconcile legacy `create_reasoning_cache` migration tracking to prevent version shadowing on `032` and resolve startup warnings (#1734)
+- **fix(db):** intercept `007` migration to use idempotent `IF NOT EXISTS` logic via `PRAGMA table_info`, preventing syntax crashes on fresh installs (#1733)
+- **fix(cc-compatible):** preserve Claude Code system skeleton to prevent request rejection by strict compatible upstream providers (#1740)
+
+- **fix(providers):** add API key validation for image-only providers and fix Stability AI requests to use `multipart/form-data` instead of JSON (#1726)
+- **fix(codex):** preserve `previous_response_id` and `conversation_id` fields when input array is empty to prevent schema validation errors (#1729)
+- **fix(searxng):** bypass UI validation block when `apiKeyOptional` is true and fix typing errors in provider dashboard to allow saving search providers without credentials (#1721)
+- **fix(proxy):** disable HTTP keep-alive and pipelining in Undici proxy dispatcher to prevent "Socket hang up" rotation failures
+- **stream:** correctly identify `thought` and `error` blocks in Antigravity/Gemini SSE streams to prevent premature 502 timeouts (#1725, #1705)
+
+### 🛠️ Maintenance
+
+- **workflow:** add phase 4 release monitoring instructions to `/generate-release` workflow
+- **test:** fix typescript compilation errors in unit tests to keep CI typecheck pipeline fully green
+- **test:** update responses store expectations for empty input arrays
+
+---
+
+## [3.7.3] — 2026-04-28
+
+### 🐛 Bug Fixes
+
+- **fix(claude):** strip existing billing headers from system array before injecting to prevent Anthropic prompt cache misses — stacked `x-anthropic-billing-header` blocks invalidated prefix matching, causing ~100% cache_create instead of cache_read (#1712)
+- **fix(claude):** strip `output_config.format` for non-Anthropic Claude-compatible providers during passthrough — third-party Claude endpoints (MiniMax, DeepSeek via aggregators) reject structured output fields with 400 errors (#1719)
+- **fix(combo):** set terminal error state on response quality validation failure — prevents misleading `ALL_ACCOUNTS_INACTIVE` 503 when the real issue is response quality validation (#1707, #1710)
+- **fix(combo):** treat combo fallback as target-level orchestration — all non-ok responses (including generic 400s) now fall through to the next target instead of being terminal; removes complex bad-request allowlist regex (#1713)
+- **fix(codex):** restore namespace MCP tools and hosted-tool whitelist — regression from #1581 that silently dropped all MCP tool groups and Responses-API hosted tools (#1715)
+- **fix(codex):** add neutral instructions for bare chat requests — Codex Responses backend rejects requests without `instructions`, making Codex unusable for normal chat (#1709)
+- **fix(proxy):** wrap proxy assignment queries in try-catch for missing `proxy_assignments` table — Electron installs where migration 004 hasn't run no longer crash with `no such table` error (#1706)
+- **fix(migration):** improve Windows file URL path resolution in migration runner — adds direct URL path extraction and `process.cwd()` fallback for CI-built bundles with leaked build-time paths (#1704)
+- **fix(ui):** fix light mode active request payload modal — add missing `--color-card` theme token, use opaque `bg-surface` instead of translucent `bg-card/70`, add backdrop blur (#1714)
+
+### 🔄 Updates
+
+- **chore(image-models):** refresh image generation model registry — replace stale FLUX aliases with FLUX Kontext / FLUX.2 mappings, remove deprecated FLUX Redux/Depth/Canny variants (#1722)
+
+---
+
+## [3.7.2] — 2026-04-28
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(authz):** introduce centralized proxy-based authz pipeline and lifecycle policy (#1632)
+- **feat(logs):** configure call log pipeline artifacts (#1650)
+- **feat(network):** add guarded remote image fetch utility
+- **feat(codex):** enable native Codex websocket responses on beta-gated models (#1658)
+- **feat(muse-spark-web):** continue the same meta.ai conversation across turns (#1673)
+
+### 🐛 Bug Fixes
+
+- **fix(responses):** sanitize empty string placeholders from tool-call optional arguments in stream delta accumulation to avoid breaking strict clients (#1674)
+- **fix(codex):** prevent unexpected protocol leakage and fabricated instructions on bare chat completion requests without tools (#1686)
+- **fix(executors):** truncate tools array to 128 items max in GitHub Copilot and OpenCode executors to mitigate 400 Bad Request errors from upstream (#1687)
+- **fix:** add body-read timeout to prevent stuck pending requests (#1680)
+- **fix(rate-limit):** replace unsupported Bottleneck `maxWait` option with job-level `expiration` to prevent indefinite queue stalls (#1694)
+- **fix(sse):** sanitize OpenAI tool schemas for strict upstream validators — strips null from enum arrays, normalizes tuple items, filters invalid required keys (#1692)
+- **fix(stream):** fail zombie SSE streams before accepting response — returns 504 instead of hanging indefinitely, enables combo fallback (#1693)
+- **fix(combo):** complete context truncation hotfix — cache getCombos() with 10s TTL, pass allCombosData to resolveComboTargets() for nested combo resolution, consolidate duplicated context overflow regex patterns (#1685)
+- **fix(codex):** raise default quota threshold from 90% to 99% to avoid premature account blocking when usable quota remains (#1697)
+- **fix(memory):** use `user` role for GLM/ZAI/Qianfan providers — providers with strict role constraints (no `system` role) now correctly receive memory context as a `user` message instead of a `system` message, preventing 422 validation errors (#1701)
+- **fix(oauth):** target specific connection by ID on re-auth token exchange — prevents duplicate account creation when re-authenticating an existing OAuth connection (#1702 — thanks @namhhitvn)
+- **feat(email-privacy):** integrate email visibility toggle in RequestLoggerV2 — log detail modal now respects global email privacy state, hiding email addresses by default (#1700 — thanks @namhhitvn)
+- **fix(combo):** trigger fallback on Anthropic `Invalid signature in thinking block` errors instead of returning 400 directly (#1696)
+- **fix:** combo retry loop stops immediately on client disconnect (499) (#1681)
+- **fix(search):** support optional bearer auth for SearXNG (#1683)
+- **fix(vision):** respect native GPT vision support — prevents VisionBridge from intercepting models that already handle images natively (#1678)
+- **fix(qwen):** use `security.auth` format instead of `modelProviders` for Qwen Code config generation (#1677)
+- **fix(codex):** remove stale websocket transport lookup that caused fallback errors (#1676)
+- **fix(chatgpt-web):** bound tls-client native deadlocks so requests never hang forever (#1664)
+- **fix(codex):** default gpt-5.5 to HTTP transport instead of WebSocket (#1660)
+- **fix(codex):** [urgent] fix gpt-5.5 websocket transport and model labels (#1656)
+- **fix(grokweb):** update Request and Response Specifications (#1655)
+- **fix(blackbox-web):** set isPremium flag to true to enable premium model access (#1661)
+- **fix(core):** avoid OpenAI stream options for Anthropic-compatible providers (#1654)
+- **fix(electron):** resolve MCP server start failure on Windows (#1662)
+- **fix(electron):** make Windows smoke test non-blocking (continue-on-error), pre-create userData dir for Windows + stream logs in CI, and add --no-sandbox and sandbox env for CI smoke tests
+- **fix(codex):** fix `getWreqWebsocket` ReferenceError causing 502 on all Codex requests (#1652, #1653)
+- **fix(codex):** default `store` to `false` — Codex OAuth backend rejects `store=true` (#1635)
+- **fix(db):** add post-migration guards for missing `batches` table and `combos.sort_order` column on DB upgrades (#1648, #1657)
+- **fix(db):** renumber duplicate migration `032` to prevent collision
+- **fix(perplexity-web):** update API version and user-agent to match upstream requirements (#1666)
+- **fix(docker):** copy SQLite migration files and explicitly trace in standalone build (#1665)
+- **fix(muse-spark-web):** update to Meta's Ecto-era persisted query — fixes 502 `Unknown type "RewriteOptionsInput"` after Meta retired the Abra mutation (#1668)
+- **fix(dev):** enable Turbopack by default and repair Codex CORS headers (#1669)
+- **fix(authz):** restore `REQUIRE_API_KEY` support in clientApi policy
+- **fix(auth):** align fallback API key format with test setup
+
+### 🛠️ Maintenance
+
+- **build(prepublish):** make Next.js build bundler configurable (webpack/turbopack)
+- **ci:** align sonar analysis scope
+- **ci:** stabilize release branch checks
+- **ci:** remove expired advanced security scans job
+
+### 🧪 Tests
+
+- **test:** fix TypeScript configuration errors in plan3-p0.test.ts
+- **test:** fix implicit any types across test suites
+- **test:** disable type checking in flaky unit tests
+- **test:** fix failing tests due to recent refactors
+- **fix(tests):** align integration tests with authz pipeline refactor
+- **fix(tests):** align test assertions with v3.7.2 source code changes
+- **fix(tests):** CORS test now checks object body instead of entire file
+- **fix(e2e):** fix E2E flakiness and implicit any type errors
+
+---
+
+## [3.7.1] — 2026-04-26
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Add GPT-5.5 support to the Codex provider — includes 1.05M context window, tool calling, vision, and reasoning capabilities with proper pricing entries across `cx` and `openai` providers. Refactors `splitCodexReasoningSuffix()` into a shared helper for cleaner effort-level parsing (#1617 — thanks @Zhaba1337228).
+- **feat(cli):** Add `omniroute reset-encrypted-columns` recovery command — nulls encrypted credential columns (`api_key`, `access_token`, `refresh_token`, `id_token`) in `provider_connections` while preserving provider metadata, giving users affected by #1622 a clean recovery path without losing configurations.
+- **feat(i18n):** Expand locale coverage with nine new language packs (Bengali, Farsi, Gujarati, Indonesian, Marathi, Swahili, Tamil, Telugu, Urdu), bringing total language support from 32 to 41 locales.
+
+### 🐛 Bug Fixes
+
+- **fix(rate-limit):** Add per-model rate limiting for GitHub Copilot provider — a 429 on one model (e.g. `gpt-5.1-codex-max`) no longer locks the entire connection, matching the existing Gemini per-model quota pattern (#1624 — thanks @slewis3600).
+- **fix(cli-tools):** Preserve existing OpenCode configuration (MCP servers, custom providers, comments) when saving OmniRoute settings — uses `jsonc-parser` for tree-preserving edits instead of destructive JSON roundtrip. Fix API key clipboard copy to use raw keys instead of masked placeholders. Add theme-aware OpenCode light/dark SVG logos (#1626 — thanks @JasonLandbridge).
+- **fix(cli-tools):** Fix OpenCode guide step 3 `{{baseUrl}}` double-brace placeholder to use ICU-style `{baseUrl}` across all 41 locales, restoring next-intl interpolation (#1626).
+- **fix(codex):** Make `wreq-js` native module import lazy and optional to prevent server crash on startup when the platform-specific binary is missing — affects pnpm installs, Docker Alpine, macOS ARM, and Windows (#1612, #1613, #1616).
+- **fix(i18n):** Add 14 missing translation keys (`logs.runningRequests`, `logs.model`, `logs.provider`, `logs.account`, `logs.elapsed`, `logs.count`, `logs.payloads`, etc.) for the Active Requests panel across all locales. Replace 83 placeholder values in usage/evals namespace. Add 5 missing health namespace keys for rate limit status.
+- **fix(encryption):** Prevent `STORAGE_ENCRYPTION_KEY` from being silently regenerated during `npm install -g` upgrades, which made all previously-encrypted provider credentials permanently unrecoverable due to AES-GCM auth-tag mismatch (#1622).
+- **fix(startup):** Add decrypt-probe diagnostic at server bootstrap — if `STORAGE_ENCRYPTION_KEY` doesn't match encrypted credentials in the database, a prominent warning is logged directing users to restore the key or use the new recovery command.
+- **fix(cli-tools):** Allow `null` API key values in `cliModelConfigSchema` to prevent 400 Bad Request errors when saving cloud-based CLI tool configurations. Fix error handling across all 10 ToolCard components to safely extract messages from structured error objects, preventing React Error #31 crashes.
+- **fix(docker):** Set `NPM_CONFIG_LEGACY_PEER_DEPS=true` in the Docker builder layer before `npm ci` and remove duplicate `postinstallSupport.mjs` COPY instruction — fixes container image build failures introduced in v3.7.0 (#1630 — thanks @rdself).
+- **fix(antigravity):** Hide deprecated Gemini-routed Claude 4.5 models from public catalogs and model lists. Legacy `gemini-claude-*` aliases now silently resolve to current Claude 4.6 equivalents. Replace dynamic reverse-alias generation with an explicit allowlist for predictable model visibility (#1631 — thanks @backryun).
+- **fix(types):** Add explicit type annotations to sync-env test helpers and dynamic import casts to satisfy `typecheck:noimplicit:core` CI gate.
+- **fix(reasoning):** Implement Reasoning Replay Cache — hybrid memory/SQLite persistence for `reasoning_content` in multi-turn tool-calling flows. Automatically captures reasoning from DeepSeek V4, Kimi K2, Qwen-Thinking, and GLM models and re-injects it on follow-up turns to prevent HTTP 400 errors from strict reasoning-content validation. Includes dashboard telemetry tab, REST API, and 21 unit tests (#1628 — thanks @JasonLandbridge).
+- **fix(postinstall):** Extend postinstall native module repair to cover `wreq-js` — detects missing platform-specific `.node` binaries inside `app/node_modules/wreq-js/rust/` and copies them from the root install. Fixes global `pnpm` installs on macOS arm64 where the standalone app directory only contained Linux binaries (#1634 — thanks @MarcosT96).
+- **fix(migration):** Prevent compat-renamed migration slots from shadowing new migrations at the same version number. After rewriting `028_provider_connection_max_concurrent` → `029`, the runner now verifies the old version slot is clear, ensuring `028_create_files_and_batches` runs on v3.6.x → v3.7.x upgrades. Adds `batches` table as a physical schema sentinel for upgrade recovery (#1637 — thanks @V8-Software).
+- **fix(registry):** Route GitHub Copilot GPT 5.4/5.5 models through the Responses API (`targetFormat: "openai-responses"`). Fixes `gpt-5.4-mini` and `gpt-5.4` being rejected on `/chat/completions` by GitHub (#1641 — thanks @dhaern).
+- **fix(usage):** Correct MiniMax token plan quota display — the newer `/v1/token_plan/remains` endpoint reports used counts, not remaining counts. Rounds floating-point percentage artifacts in Provider Limits UI (#1642 — thanks @CruxExperts).
+- **fix(codex):** Lazy-load `wreq-js` WebSocket transport via `createRequire` instead of top-level import. Server boots cleanly when native module is unavailable and returns 503 only when Codex WebSocket is actually requested. Fixes #1612 (#1640 — thanks @dendyadinirwana).
+- **fix(electron):** Package Electron runtime dependencies into `resources/app/node_modules/` via separate `extraResources` FileSet. Adds cross-platform packaged app smoke test script and CI integration to prevent future regressions. Closes #1636 (#1639 — thanks @prateek).
+- **feat(account-fallback):** Add model-level daily quota lockout. When a provider returns 429 with `quota_exhausted`, cooldown is set to tomorrow 00:00 instead of exponential backoff. Detects daily quota patterns via `isDailyQuotaExhausted()` in chat handler (#1644 — thanks @clousky2020).
+- **fix(codex):** Use per-conversation `session_id`/`conversation_id` from client body as `prompt_cache_key` instead of account-wide `workspaceId`. The official Codex CLI uses `conversation_id` (a unique UUID per session); using the shared `workspaceId` capped cache hit-rate at ~49%. Includes 10 unit tests (#1643).
+- **fix(claude):** Stabilize billing header fingerprint to prevent Anthropic prompt-cache prefix invalidation. The fingerprint was derived from the first user message text, which changes every turn, mutating `system[]` and forcing ~100% `cache_create`. Now uses a stable per-day hash, preserving ~96% `cache_read` hit rate (#1638).
+- **fix(transport):** Harden GitHub and Kiro streaming — thread `clientHeaders` through `BaseExecutor.buildHeaders()` to eliminate mutable singleton state race condition on concurrent requests. Remove redundant `[DONE]` stripping TransformStream from GitHub executor. Add defensive `parseToolInput()` for malformed Kiro tool call arguments. Hoist `TextEncoder`/`TextDecoder` to module singletons and use zero-copy `subarray()` (#1645 — thanks @dhaern).
+- **fix(transport):** Prevent memory bloat and database exhaustion from large, fragmented streaming responses. Implemented `ByteQueue` in `kiro.ts` for zero-copy binary accumulation, refactored `antigravity.ts` for incremental SSE parsing, and enforced a strict 512KB tiered truncation limit (`MAX_CALL_LOG_ARTIFACT_BYTES`) on stream request logs and call artifacts (#1647).
+- **chore(ci):** Update build environment dependencies — bump Node to `24.15.0`, `actions/checkout@v6`, `docker/build-push-action@v7`, pin `actions/setup-python` to major tag (#1646 — thanks @backryun).
+
+### Документация
+
+- **docs(env):** Add `OMNIROUTE_ALLOW_PRIVATE_PROVIDER_URLS` to `.env.example` with documentation for LM Studio and other local provider use cases (#1623).
+
+---
+
+## [3.7.0] — 2026-04-26
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+- **feat(providers):** Add CrofAI as a built-in API-key provider with quota/usage monitoring wired into the dashboard Limits page (#1604, #1606).
+- **feat(skills):** Add workspace-scoped built-in skills (`file_read`, `file_write`, `http_request`, `eval_code`, `execute_command`) with real sandbox execution via Docker, replacing stub responses. Browser skills now fail explicitly when runtime is not configured.
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **feat(provider):** add ChatGPT Web (Plus/Pro) session provider (#1593)
+- **feat(provider):** add Baidu Qianfan chat provider (#1582)
+- **feat(codex):** support GPT-5.5 responses websocket (#1573)
+- **feat(sse):** Codex CLI image_generation + DALL-E-style image route (#1544)
+- **feat(dashboard):** Complete the reconciled v3.7.0 dashboard task set: MCP cache tools and count, video endpoint visibility, provider taxonomy, upstream proxy visibility, provider count badges, costs overview, eval suite management, Custom CLI builder, ACP-focused Agents copy, Translator stream transformer, logs convergence, learned rate-limit health cards, docs expansion, and active request payload inspection.
+- **feat(mcp):** Register `omniroute_cache_stats` and `omniroute_cache_flush` across MCP schemas, server registration, handlers, docs, and tests.
+- **feat(providers):** Complete the v3.7.0 provider onboarding wave with self-hosted/local providers (`lm-studio`, `vllm`, `lemonade`, `llamafile`, `triton`, `docker-model-runner`, `xinference`, `oobabooga`), OpenAI-compatible gateways (`glhf`, `cablyai`, `thebai`, `fenayai`, `empower`, `poe`), enterprise providers (`datarobot`, `azure-openai`, `azure-ai`, `bedrock`, `watsonx`, `oci`, `sap`), specialty providers (`clarifai`, `modal`, `reka`, `nous-research`, `nlpcloud`, `petals`, `vertex-partner`), `amazon-q`, GitLab/GitLab Duo, and Chutes.ai.
+- **feat(providers):** Add Cloudflare Workers AI integration and UI support for robust backend execution.
+- **feat(telemetry):** Implement proactive public IP capture from client headers (`x-forwarded-for`, `x-real-ip`, etc.) within `safeLogEvents` for accurate database observability.
+- **feat(audio):** Add AWS Polly as an audio speech provider with SigV4 request signing, static engine catalog, provider validation, managed-provider UI coverage, and sanitization for AWS secret/session fields.
+- **feat(search):** Add You.com search provider support with dashboard discovery, validation, livecrawl option handling, and search handler normalization.
+- **feat(video):** Add RunwayML task-based video generation support, task polling, provider catalog metadata, validation, and dashboard/model-list coverage.
+- **feat(providers):** Add search functionality to the providers dashboard with i18n support. (#1511 — thanks @th-ch)
+- **feat(providers):** Register 6 new models in the opencode-go provider catalog. (#1510 — thanks @kang-heewon)
+- **feat(providers):** Add ModelScope provider (Chinese AI marketplace) with Kimi K2.5, GLM-5, and Step-3.5-Flash integration. (#1430 — thanks @clousky2020)
+- **feat(providers):** Add LM Studio as an OpenAI-compatible local provider for self-hosted model inference.
+- **feat(providers):** Add Grok 4.3 thinking model support for xAI web executor requests.
+- **feat(core):** Implement provider-level Circuit Breaker to prevent cascading failures across connections, enforcing a 10-minute cooldown after 5 consecutive transient failures. (#1430)
+- **feat(core):** Add daily quota exhaustion lock to detect "quota exceeded" signals and lock the specific model until midnight. (#1430)
+- **feat(core):** Auto-inject `stream_options.include_usage = true` for OpenAI format streams to guarantee token usage is reported correctly during streaming. (#1423)
+- **feat(core):** Add OpenAI Batch Processing API support — submit, monitor, and manage batch jobs through the proxy with full lifecycle tracking.
+- **feat(vision-bridge):** Add automatic image description fallback for non-vision models via `VisionBridgeGuardrail` (priority 5). Intercepts image-bearing requests to non-vision models, extracts descriptions via a configurable vision model (default: gpt-4o-mini), and replaces images with text before forwarding. Fails open on any error. (#1476)
+- **feat(dashboard):** Introduce real-time model status badges with countdown timers in the provider detail and combo panel interfaces. (#1430)
+- **feat(dashboard):** Add Batch/File management data grid with full i18n translations for batch processing workflows. (#1479)
+- **feat(usage):** MiniMax + MiniMax-CN quota tracking in provider limits dashboard. (#1516)
+- **feat(providers):** Fix OpenRouter remote discovery and unify managed model sync. (#1521)
+- **feat(providers):** Implement provider and account-level concurrency cap enforcement (`maxConcurrent`) using robust semaphore mechanisms. (#1524)
+- **feat(core):** Implement Hermes CLI config generation and message content stripping. (#1475)
+- **feat(combos):** Add expert combo configuration mode for advanced routing controls. (#1547)
+- **feat(providers):** Register Codex auto review and expand icon coverage.
+- **feat(tunnels):** Add Tailscale tunnel management routes and runtime helpers for install, login, daemon start, enable/disable, and health checks.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(chatgpt-web):** Fix empty-file race in `tlsFetchStreaming` where `waitForFile` accepted zero-byte files, silently degrading streaming requests to buffered mode. Replaced with `waitForContent` requiring `file.size > 0` with early exit on request settlement. (#1597 — thanks @trader-payne)
+- **fix(chatgpt-web):** Fix stale NextAuth session-token cookies surviving rotation shape changes (unchunked↔chunked). `mergeRefreshedCookie` now drops all session-token family members via `SESSION_TOKEN_FAMILY_RE` before appending the refreshed set, preventing auth failures from dual cookie submission. (#1597 — thanks @trader-payne)
+- **fix(codex):** WebSocket memory retention and weekly limit handling (#1581)
+- **fix(providers):** Default models list logic (#1577)
+- **fix(ui):** Dashboard endpoint URL hydration respects `NEXT_PUBLIC_BASE_URL` when behind a reverse proxy (#1579)
+- **fix(providers):** Restore strict PascalCase header masquerading for Claude Code to resolve HTTP 429 upstream errors (#1556)
+- **fix(sse):** make Responses passthrough robust for size-sensitive clients (#1580)
+- **fix(codex):** update client version for gpt-5.5 (#1578)
+- **fix(vision-bridge):** force GPT-family image fallback (#1571)
+- **fix(claude):** skip adaptive thinking defaults for unsupported models (#1563)
+- **fix(claude):** preserve tool_result adjacency in native and CC-compatible paths (#1555)
+- **fix(reasoning):** Preserve OpenAI Chat Completions `reasoning_effort` through assistant-prefill requests and label OpenAI request protocols explicitly as `OpenAI-Chat` or `OpenAI-Responses`. (#1550)
+- **fix(codex):** Fix Codex auto-review model routing so review traffic resolves to the intended configured model. (#1551)
+- **fix(resilience):** Route HTTP 429 cooldowns through runtime settings so cooldown behavior follows the configured resilience profile. (#1548)
+- **fix(providers):** Normalize Anthropic header keys to lowercase in the provider registry to avoid duplicate or case-variant upstream headers. (#1527)
+- **fix(providers):** Preserve audio, embedding, rerank, image, video, and OpenAI-compatible alias metadata when `/v1/models` merges static and discovered catalogs.
+- **fix(providers):** Discover Azure OpenAI deployments from resource endpoints using `api-key` auth and configurable API versions.
+- **fix(providers):** Keep local OpenAI-style providers authless when no API key is configured, including the Lemonade Server default endpoint.
+- **fix(translator):** Preserve Antigravity default system instructions and caller-provided system prompts as separate Gemini `systemInstruction` parts instead of concatenating them.
+- **fix(security):** Sanitize provider-specific AWS secrets and session tokens from provider management API responses.
+- **fix(release):** Resolve combo prefixing, Electron packaging, CLI auth, and release-branch integration regressions. (#1471, #1492, #1496, #1497, #1486)
+- **fix(providers):** Resolve 400 errors for GLM and Antigravity Claude adapter during request translation by scoping prompt caching to compatible Anthropic endpoints and flattening system instructions. (#1514, #1520, #1522)
+- **fix(core):** Strip `reasoning_content` from OpenAI format messages for non-reasoning models to prevent upstream HTTP 400 validation errors. (#1505)
+- **fix(sse):** Map Claude `output_config/thinking` to OpenAI `reasoning_effort` for proper Antigravity tool translation. (#1528)
+- **fix(combo):** Fallback to next model on all-accounts-rate-limited (HTTP 503/429) to maintain high availability. (#1523)
+- **fix(api):** Harden batch and file endpoints for auth and recovery to prevent schema state collisions.
+- **fix(ui):** Add missing UI wiring for "Add Memory" and "Import" buttons on the `/dashboard/memory` page. (#1506)
+- **fix(ui):** Prevent Dark Mode FOUC (Flash of Unstyled Content) by injecting a synchronous theme initialization script into the root `layout.tsx`.
+- **fix(ui):** Fix mobile layout text overflow in provider and combo cards, and enable touch-friendly reordering arrows across all combo strategies.
+- **fix(core):** Add periodic runtime log rotation checks to prevent disk exhaustion in long-running instances. (#1504 — thanks @ether-btc)
+- **fix(build):** Resolve missing `process` module in webpack client build for pino-abstract-transport. (#1509 — thanks @hartmark)
+- **fix(ui):** Add dark mode support for native dropdown `<option>` elements on Linux/Windows, resolving invisible text in settings and combo builders (#1488)
+- **fix(batch):** Add batch item dispatching to specific handlers based on URL to support embeddings and other modalities (#1495 — thanks @hartmark)
+- **fix(dashboard):** Correct TOML round-trip corruption in Codex config serializer by dequoting keys and preserving array/boolean structures properly. (#1438 — thanks @benzntech)
+- **fix(security):** Resolve CodeQL alert 164 (ReDoS in extraction) and 163 (incomplete URL sanitization). (#163, #164)
+- **fix(providers):** Add optional chaining to connection object before accessing `providerSpecificData`, preventing runtime errors when the connection is null/undefined.
+- **fix(codex):** Preserve namespace MCP tools forwarded to Codex Responses API, preventing tool name stripping during translation. (#1483)
+- **fix(codex):** Deduplicate case-variant `anthropic-version` header in Claude Code patch to prevent duplicate header injection. (#1481)
+- **fix(fallback):** Use shared `CircuitBreaker` instead of undefined constants, fixing runtime errors in provider failure handling. (#1485)
+- **fix(fallback):** Merge new provider failure threshold fields (`providerFailureThreshold`, `providerFailureWindowMs`, `providerCooldownMs`) into resilience profiles.
+- **fix(fallback):** Remove 429 from `PROVIDER_FAILURE_ERROR_CODES` — rate limits are already handled by model-level and account-level locks; including them in the provider-wide circuit breaker caused premature cooldown.
+- **fix(sse):** Enable tool calling for GPT OSS and DeepSeek Reasoner models. (#1455)
+- **fix(encryption):** Return null on decryption failure to prevent sending encrypted tokens to providers. (#1462)
+- **fix(combo):** Resolve cross-provider thinking 400 errors and HTTP clipboard issues during combo routing. (#1444)
+- **fix(core):** Resolve skills, memory, and encryption system issues affecting startup and runtime stability. (#1456)
+- **fix(core):** Fix model ID parsing for providers with slashes in model names — use `indexOf`/`substring` instead of `split` to handle models like `modelscope/moonshotai/Kimi-K2.5`.
+- **fix(core):** Fix reference counting in `ModelStatusContext` — changed `registeredModels` from `Set` to `Map<string, number>` to prevent polling stop when one component unmounts while others still track the same model.
+- **fix(security):** Prompt injection guard failures now return an explicit 500 response instead of silently passing through (fail-closed policy).
+- **fix(security):** Encryption now derives new keys from a secret-based salt while falling back to the legacy static-salt key during decryption, preserving existing stored credentials.
+- **fix(combo):** Resolve context truncation bug in combo routing to prevent incomplete execution states. (#1517)
+- **fix(compression):** Implement bidirectional tool_pair cleaning for anthropic inputs (fixes #1592).
+- **fix:** Resolve v3.7.0 stabilization issues including dashboard navigation routing, ProxyRegistryManager component layout, and models API response merging (#1566, #1560, #1559).
+- **fix(cli):** Preserve TOML integer/boolean types in Codex config round-trip to prevent `tui.model_availability_nux` validation errors.
+- **fix(tailscale):** Support sudo auth prompts and live daemon socket detection for non-root tunnel management.
+- **fix(dashboard):** Stabilize usage tab loading and refresh behavior to prevent empty state flashes.
+- **fix(i18n):** Translate 519 untranslated pt-BR keys and add missing Windsurf/Cline/Kimi docs keys.
+- **fix(i18n):** Add missing dashboard message keys across all 30 locales.
+- **fix(cli):** Align OpenCode config preview and add multi-model selection (#1602).
+- **fix(security):** Harden management API auth and OpenAPI try-proxy endpoint.
+- **fix(security):** Resolve vulnerability scan findings for auth-guarded routes.
+
+### ♻️ Refactoring
+
+- **refactor(fallback):** Make provider failure thresholds configurable via `PROVIDER_PROFILES` instead of hardcoded constants, supporting different failure tolerance per provider type. (#1449)
+- **refactor(resilience):** Unify resilience controls across the codebase for consistent circuit breaker and fallback behavior. (#1449)
+- **refactor(core):** Implement shared path utilities, add custom date formatting, improve type safety, and unify database imports across modules.
+- **refactor(security):** Harden backup archive creation by switching to `execFileSync`, validate ACP agent IDs, expand shared CORS handling.
+- **refactor(release):** Remove obsolete agent workflow playbooks and the stale compiled `src/lib/dataPaths.js` artifact. (#1541)
+
+### 🧪 Tests
+
+- **test(providers):** Add targeted coverage for AWS Polly SigV4 speech/validation, Azure OpenAI deployment discovery, Lemonade local discovery, provider dashboard taxonomy, managed provider catalog behavior, and merged `/v1/models` alias metadata.
+- **test(catalog):** Add v3.7.0 catalog coverage for Pollinations text models, Perplexity Sonar via Puter, and NVIDIA free-model alias resolution.
+- **test(vision-bridge):** Add 51 unit tests covering all VisionBridge spec scenarios (VB-S01 through VB-S10), including helper functions for `callVisionModel`, `extractImageParts`, `replaceImageParts`, and `resolveImageAsDataUri`.
+- **test(batch-api):** Isolate batch API unit tests with temp `DATA_DIR` to prevent schema state collisions.
+- **test(settings-api):** Add test harness with `createSettingsApiHarness` function for proper temp directory setup and storage reset between tests.
+- **test(security):** Update prompt injection test for fail-closed policy alignment.
+- **test(core):** Restore local test fixes for encryption and resilience modules.
+- **test(next):** Align transpile package expectations for the Next.js standalone build.
+- **test(ci):** Fix CI-only test failures from environment differences — clear `INITIAL_PASSWORD` and `JWT_SECRET` in integration tests, handle `XDG_CONFIG_HOME` for guide-settings tests.
+
+### Документация
+
+- **docs:** Update the root changelog with all release-branch changes through 2026-04-24, including PRs #1544, #1555, #1551, #1550, #1548, #1547, #1541, #1538, #1536, and #1527.
+- **docs:** Fix broken README and localized documentation links. (#1536)
+- **docs:** Add dashboard docs coverage for current API endpoints, management APIs, ACP, MCP tools, provider onboarding, and v3.7.0 task reconciliation.
+- **docs:** Add Arch Linux AUR install notes for community package support. (#1478)
+- **docs(i18n):** Improve Ukrainian (uk-UA) translation quality — full Ukrainian translation for README, SECURITY, A2A-SERVER, API_REFERENCE, AUTO-COMBO, and USER_GUIDE documents. Fix mixed Latin/Cyrillic typos, translate model table entries, and standardize section headers.
+
+### 🛠️ Maintenance
+
+- **chore:** Add `.tmp/` to `.gitignore` to keep local build/test artifacts out of release diffs. (#1538)
+- **chore(release):** Clarify release version parity and changelog segregation rules for generated release workflows.
+
+### 📦 Dependencies
+
+- **deps:** Bump the development group with 4 updates. (#1464)
+- **deps:** Bump the production group with 4 updates. (#1463)
+- **deps:** Update `@lobehub/icons` to `5.5.4`, add explicit `[email protected]` for Recharts, pin npm installs to skip unused peer auto-installs, and override Electron's transitive `@xmldom/xmldom` to `0.9.10` so audit findings stay closed.
+
+---
+
+## [3.6.9] — 2026-04-19
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Mark Qwen OAuth provider as deprecated following the upstream free tier shutdown on 2026-04-15. Adds deprecation warning to CLI tool UI and rewrites `saveQwenConfig` to inject OmniRoute as a multi-provider (openai, anthropic, gemini) via `.qwen/settings.json` and `.qwen/.env` (#1437)
+- **feat(cc-compatible):** Align Claude Code-compatible request shape with the official Claude CLI protocol, including proper system skeleton and request normalization (#1411)
+- **feat(skills):** Provider-aware marketplace UX with scored AUTO injection and memory pipeline hardening. Skills now show relevance scores and can automatically inject context into requests (#1411)
+- **feat(claude-code):** Update Claude Code obfuscation to version 2.1.114, centralize hardcoded version strings, and use standard logger (#1403)
+- **feat(cli-tools):** Add direct configuration file generation and override support for Qwen Code local settings (#1394)
+- **feat(providers):** Derive Claude CLI model defaults dynamically from provider registry to stay current with upstream API changes (#1393)
+- **feat(core):** Implement persistent API key, backup pruning, and GPU optimization (#1350, #1367, #1369)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(cli-tools):** Prevent masked API keys (`sk-31c4****8600`) from being written to CLI tool config files. The dashboard UI now passes `key.id` to the backend, which resolves the unmasked key from the database via a new `resolveApiKey()` helper. Fixes auth failures across all CLI tools (Claude, Codex, Cline, Kilo, Droid, OpenClaw, Antigravity) (#1435)
+- **fix(cc-compatible):** Trim the default Claude Code-compatible system prompt skeleton from a multi-paragraph instruction set down to a single identifier line, reducing redundant token usage since Claude Code already injects its own extensive system context (#1433)
+- **fix(security):** Resolve SSRF environment static evaluation bug where the outbound URL guard could be bypassed via computed expressions (#1427)
+- **fix(auth):** Reload fresh token state and unify expiry persistence to prevent stale credentials from causing cascading auth failures
+- **fix(core):** Stabilization fixes for token refresh, usage translation, and testing infrastructure
+- **fix(api):** Stop sending unsupported parameters to Gemini and Codex upstream APIs, preventing 400 Bad Request errors
+- **fix(skills):** Optimize AUTO scoring algorithm and include Responses API input context for more accurate skill relevance matching (#1418)
+- **fix(responses):** Preserve reasoning content when translating Chat Completions format to Responses API format, preventing loss of chain-of-thought data (#1414)
+- **fix(cc-compatible):** Add Claude CLI system skeleton for OpenAI-format inputs to ensure consistent behavior when CC-compatible providers receive OpenAI-style payloads
+- **fix(providers):** Add `ref` to `GEMINI_UNSUPPORTED_SCHEMA_KEYS` to fix 400 errors from Gemini CLI when tool schemas contain JSON Schema `$ref` fields
+- **fix(codex):** Prevent proactive token refresh from consuming valid tokens and strip the unsupported `background` parameter from upstream requests
+- **fix(providers):** Fix `usage.prompt_tokens` under-reporting when translating Claude caching responses to OpenAI format (#1426)
+- **fix(core):** Fix token refresh resilience for Codex providers. Unrecoverable OAuth refresh errors (`token_expired` and `invalid_token`) now correctly mark the connection as invalid to prompt user re-authentication, rather than silently failing (#1415)
+- **fix(providers):** Fix Gemini tool calling by removing the unsupported `additionalProperties` schema field, resolving 400 errors during complex tool invocations (#1421)
+- **fix(providers):** Remove arbitrary user thought signature injection in Gemini responses to comply with updated API constraints (#1410)
+- **fix(providers):** Fix Gemini API part count mismatch for streaming responses (#1412)
+- **fix(codex):** Respect `openaiStoreEnabled` setting during native passthrough for Responses API to prevent unsupported upstream arguments (#1432)
+- **fix(ui):** Makes dropdown text visible in dark mode within the Combo Builder modal (#1409)
+- **fix(chatcore):** Apply proactive compression before provider translation to prevent token limit errors in combo routes (#1406)
+- **fix(claude-code):** Scope thinking stripping to executor boundaries to prevent issues with normal API requests (#1401)
+- **fix(claude-code):** Scope obfuscation logic to CLI clients only and fix associated test assertions
+- **fix(mitm):** Resolve MITM not working when connecting Antigravity (#1399)
+- **fix(security):** Resolve CodeQL password hash alert and fix TruffleHog CI failure (#161)
+- **fix(combo):** Fallback to the next model when all provider accounts return a 503 rate-limited signal instead of aborting the routing sequence (#1398)
+- **fix(codex):** Strip server-generated IDs from response items in input to prevent 404 lookup errors in multi-turn Codex Conversations (#1397)
+- **fix(codex):** Optimize Chat Completions paths by converting `system` to `developer` roles instead of hoisting them into instructions, enabling prompt caching for system messages on GPT-5 models (#1400)
+- **fix(providers):** Resolve Claude passthrough corruption (#1359), Kimi-k2 reasoning header rejections (#1360), thinking parameter leaks (#1361), and Ollama proxy redirect drops (#1381)
+- **fix(core):** Proxy lookup in key validation respects the new ProxyRegistry environments, and proxy contexts correctly inherit downwards during token refresh preventing expiration loops (#1384, #1390)
+- **fix(providers):** Treat upstream legacy validation HTTP 5xx responses as a valid bypass for Qoder PAT tokens to prevent false negative invalidation (#1391)
+- **fix(electron):** Resolve type error in Header electronAPI properties
+- **fix(security):** Resolve CodeQL security alerts including safe prototype bindings (#151, #152, #154, #155-159)
+- **fix(tsc):** Silence `baseUrl` deprecation warnings for TypeScript 5.5+ configurations
+
+### 🧪 Tests
+
+- **test(core):** Resolve typescript strictness complaints and fix combo-routing-engine test regression
+- **test(core):** Resolve remaining strict type errors across all unit test files
+- **test(providers):** Fix provider service assertion for anthropic-compatible header format
+- **test(codex):** Align codex passthrough assertions with explicit store retention policy
+- **test(codex):** Fix store assertion for codex responses
+- **test(cli):** Resolve strict null checks in Qoder unit tests
+
+### 🛠️ Maintenance
+
+- **chore:** Sync infrastructure with docker postinstall components and secondary CodeQL analysis rules
+- **chore:** Enforce contributor credit rule in review-prs workflow
+- **chore:** Fix TS errors and update review-prs workflow for improved automation
+- **ci:** Allow manual CI dispatch for release branches
+- **ci:** Shard long-running test suites and relax timeouts for stability
+- **ci:** Restore release v3.6.9 build pipeline and fix flaky tests
+- **docs:** Update generate-release workflow to use full changelog for PR body
+- **docs:** Enforce PR merge instead of manual close in workflows
+
+---
+
+## [3.6.8] — 2026-04-17
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **feat(providers):** Support `xhigh` reasoning tier exclusively on Claude models that expose it (#1356)
+- **feat(providers):** Add CC Compatible connection-level 1M context toggle (#1357)
+- **feat(core):** Add full support for Node.js 24 LTS (Krypton) environments with continuous integration coverage (#1340)
+- **feat(dashboard):** Display Antigravity credit balance in dashboard Limits & Quotas (#1338)
+- **feat(i18n):** Add internationalization support for combo features and dashboard components; sync translations across 31 keys (#1318)
+- **feat(providers):** Add Claude Opus 4.7 to Claude Code OAuth models natively with extended context and caching (#1347)
+- **feat(core):** Add stopSequences support and expand tool definitions to include Google Search capabilities
+- **feat(auth):** Enforce dashboard session authentication on all management API routes, preventing unauthenticated access to configuration endpoints
+- **feat(runtime):** Add hot-reloadable guardrails and model diagnostics for real-time rule evaluation without restarts
+- **feat(core):** Add payload rules, tag-based routing, and scheduled budget systems for fine-grained request governance
+- **feat(providers):** Expose Antigravity preview model aliases and Gemini CLI onboarding flow for first-time setup
+- **feat(antigravity):** Add client model aliases and thoughtSignature bypass modes for Antigravity OAuth connections
+- **feat(providers):** Expand image provider registry with extended model support including SD3.5, FLUX, and DALL-E 3 HD configurations
+- **feat(combos):** Add new routing strategies and full i18n support for agent features section across 31 languages
+
+### Сигурност
+
+- **security:** Resolve 18 GitHub CodeQL scan alerts including ReDoS, incomplete sanitization, and bad HTML filtering regexp patterns
+- **fix(auth):** Seal privilege escalation vector by enforcing JWT session checking exclusively on `/api/keys` management endpoints (#1353)
+- **fix(providers):** Resolve Codex token refresh race condition via mutex `getAccessToken` preventing `refresh_token_reused` Auth0 revocations
+
+### 🔧 Maintenance & Architecture
+
+- **refactor(core):** Split CLI runner and decouple migration engine for extensibility (#1358)
+- **refactor(audit):** Rewire audit dashboard from dead in-memory `configAudit` store to live SQLite `audit_log` table — 331+ hidden compliance entries now visible in `/dashboard/audit`
+- **build(deps):** Bump `softprops/action-gh-release` from v2 to v3
+- **ci:** Bump GitHub Actions CI node-version to Node.js 24 natively
+- **fix(types):** Resolve TypeScript compilation errors in `claudeCodeCompatible.ts` (type predicates, `cache_control` index access) and `proxyFetch.ts` (`signal` nullability)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(context):** Scale reserved context tokens dynamically using a 15% sliding window for smaller models
+- **test(core):** Replace unit test with integration test for proactive context compression to align with isolated runner rules (#1378)
+- **fix(services):** Pass origin provider to refreshWithRetry to avoid tripping the generic "unknown" circuit breaker (fixes Codex accounts erroneously disabling)
+- **fix(db):** Prevent native module ABI load crashes from assuming database corruption and skipping databases
+- **fix(db):** Increase mass-migration threshold from 5 to 50 pending migrations to protect legacy users upgrading node
+- **fix(db):** Prevent migration runner safety aborts from triggering on fresh `DATA_DIR` installations by detecting new databases (#1328)
+- **fix(mcp):** Checkpoint and close MCP audit SQLite database safely on process signals and shutdown (#1348)
+- **fix(mcp):** Fully decouple MCP audit SQLite connection caching via globalThis to fix unhandled teardown in standalone Next.js chunks (#1349)
+- **fix(cli):** Avoid creating app router directory during postinstall initialization on non-built source trees (#1351)
+- **fix(codex):** Correctly translate `system` role to `developer` in input array to unlock GPT-5 automatic prompt caching (#1346)
+- **fix(core):** Pass client headers to executor in chatCore (#1335)
+- **fix(providers):** Separate test batch calls and ignore unknown connections
+- **fix(providers):** Add grok-web SSO cookie validation handler (#1334)
+- **fix(db):** Preserve key_value settings (dashboard passwords, saved aliases) across DB heuristic recreation cycles (#1333)
+- **fix(routing):** Allow combo fallback to cascade context overflow 400 errors instead of immediate aborts (#1331)
+- **fix(core):** Resolve thinking leaks, consecutive roles, and missing thoughtSignatures for Antigravity translator (#1316)
+- **fix(translator):** Only apply thoughtSignature to the first `functionCall` part in Gemini parallel tool calls, preventing duplicate signatures
+- **fix(providers):** Default to batch testing execution blocks for web, search, and audio modalities to prevent connection timeouts
+- **fix(cli):** Resolve Node 22 TS entrypoint incompatibility by using esbuild compilation (#1315)
+- **fix(chat):** Preserve max_output_tokens for Responses API targets in chatCore sanitization (#1313)
+- **fix(api):** API Manager usage stats showing 0 for all registered keys (#1310)
+- **fix(api):** Support image-only models in catalog and allow authless search providers to bypass validation requirements
+- **fix(routes):** Require prompts for media generation requests (`/images`, `/videos`, `/music`), returning 400 on missing payloads
+- **fix(dashboard):** Auto-scroll ActivityHeatmap to show current date (#1309)
+- **fix(dashboard):** Restore horizontal layout with `w-max` wrapper in heatmap components
+- **fix(i18n):** Update `nodeIncompatibleHint` to recommend Node 24 LTS across all 31 languages
+- **fix(i18n):** Add Chinese i18n support to remaining dashboard components (`Loading.tsx`, `DataTable`, etc.)
+- **fix(requestLogger):** Add missing `cacheSource` and `tps` columns to i18n log detail views
+
+## [3.6.6] — 2026-04-15
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **feat(storage):** Add database backup cleanup controls, UI management, and customizable retention period env vars (#1304)
+- **feat(providers):** Add Freepik Pikaso image generation provider with support for cookie/subscription-based auth modes (#1277)
+- **feat(providers): Add Perplexity Web (Session) Provider** — Routes through Perplexity's internal SSE API using a session cookie, giving native proxy access without separate API costs to GPT-5.4, Claude Opus, Gemini 3.1 Pro, and Nemotron via preferences mapping (#1289)
+- **feat(api): Sync Tokens & V1 WebSocket Bridge** — Dedicated sync token storage, issuance, revocation, and bundle download routes backed by stable config bundle versioning with ETag support. Exposes `/v1/ws` WebSocket upgrade route and a custom Next.js server bridge (`scripts/v1-ws-bridge.mjs`) so OpenAI-compatible WebSocket traffic can be proxied through the gateway. Compliance auditing expanded with structured metadata, pagination, request context, auth/provider credential events, and SSRF-blocked validation logging. New migrations: `024_create_sync_tokens.sql`. New modules: `syncTokens.ts`, `src/lib/sync/bundle.ts`, `src/lib/sync/tokens.ts`, `src/lib/ws/handshake.ts`, `src/lib/apiBridgeServer.ts`, `src/lib/compliance/providerAudit.ts`.
+- **feat(models): GLM Thinking Preset & Hybrid Token Counting** — GLM Thinking (`glmt`) registered as a first-class provider preset with shared GLM model metadata, pricing, per-connection usage sync, dashboard support, and `maxTokens: 65536 / thinkingBudgetTokens: 24576` request defaults with 900s extended timeout. Provider-side `/messages/count_tokens` endpoint used when a Claude-compatible upstream supports it; gracefully falls back to estimation on missing models, missing credentials, or upstream failures. Startup seeding of default model aliases (`src/lib/modelAliasSeed.ts`) normalizes common cross-proxy model dialects so canonical slash-based model IDs are not misrouted. New file `open-sse/config/glmProvider.ts`.
+- **feat(core): Hardened Outbound Provider Calls & Cooldown Retries** — Guarded outbound fetch helpers (`src/shared/network/safeOutboundFetch.ts`, `src/shared/network/outboundUrlGuard.ts`) blocking private/local URLs with configurable retry, timeout normalisation, and route-level status propagation for provider validation and model discovery. Cooldown-aware chat retries (`src/sse/services/cooldownAwareRetry.ts`) with configurable `requestRetry` and `maxRetryIntervalSec` settings and model-scoped cooldown responses. Improved rate-limit learning from headers and error bodies so short upstream lockouts can recover automatically. Runtime environment validation (`src/lib/env/runtimeEnv.ts`) checks env at startup. Pollinations now requires an API key. Antigravity and Codex header handling aligned via `open-sse/config/antigravityUpstream.ts` and `open-sse/config/codexClient.ts`. Gemini tool names restored in translated responses; synthetic Claude text block injected when upstream SSE completes empty.
+- **feat(logs):** Add TPS (Tokens Per Second) metric to log details modal metadata grid (#1182)
+- **feat(memory+skills):** Full-featured Memory & Skills systems with FTS5 SQLite search, dynamic UI pagination, backend observability, and extensive test coverage (#1228)
+- **feat(bailian-quota):** Add Alibaba Coding Plan quota monitoring, multi-window quota extraction, and UI credential validation (#1235)
+- **feat(storage): Call Log Storage Refactor** — Extracted heavy request/response JSON payloads from the core SQLite database (`storage.sqlite`) into filesystem artifacts stored within `DATA_DIR/call_logs`. This massively reduces WAL bloat and eliminates `SQLITE_FULL` crashes on high-traffic nodes (#1307).
+- **feat(providers): Add Grok Web (Subscription) Provider** — Routes through the xAI web interface for subscription users via cookie session mapping (#1295).
+- **feat(api): Advanced Media Support** — Extends OpenAI generic proxy layer to natively support `image`, `embeddings`, `audio-transcriptions`, and `audio-speech` workflows (#1297).
+- **feat(cli-tools): Qwen Code CLI Integration** — Full integration for Qwen Code local execution mapping, model resolution, and dynamic API key fetching (#1266, #1263).
+- **feat(oauth):** Supports `cursor-agent` CLI as a native Cursor credential source alongside the standard configuration (#1258).
+- **feat(models):** Custom and imported models now merge correctly into filter lists for all available global providers (#1191).
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(providers):** match correct endpoint api.xiaomimimo.com for Xiaomi MiMo (#1303)
+- **fix(core):** strip provider alias routing prefix from payload for custom endpoints to fix Azure OpenAI 400 errors (#1261)
+- **fix(core):** ProxyFetch Undici dispatcher automatically bypasses LAN/local addresses, preventing fetch failures on internal OpenRouter requests (#1254)
+- **fix(core):** Gemini thought stream signature detection upgraded to use native part.thought boolean, preventing reasoning text leaks (#1298)
+- **deps:** bump hono from 4.12.12 to 4.12.14 to resolve CVE SSR HTML injection vulnerability (#1306, #59)
+- **deps:** update dompurify to 3.4.0 in frontend overrides mitigating XSS HTML Injection (CVE-XYZ / Dependabot #60)
+- **test:** Disable SQLite automatic backups during continuous integration (CI) tests to resolve E2E timeout issues limiting runner scaling (#24481475058)
+- **feat(core): Proactive Context Compression** — `chatCore` now proactively compresses oversized message contexts before hitting upstream providers to dramatically reduce `context_length_exceeded` errors. Employs binary-search message pruning with structural integrity guarantees tracking explicit `tool_use` boundaries ensuring truncated tool inputs drop paired outputs appropriately (#1292, #1293)
+
+- **fix(cli):** Resolve codex routing config parsing by strictly quoting section keys array, enforcing responses wire_api with fallback, and standardizing select-model button positioning mirroring Claude UI
+- **fix(providers):** Correct Lobehub provider icons rendering by removing unsupported local references ensuring local SVG/PNG fallback mechanism invokes natively
+- **fix(db):** Implement Database migration tracking safety abort safeguards (pre-migration backups via `VACUUM INTO` and mass renumbering warnings) to protect existing database structures on startup upgrades (#1281)
+- **fix(dashboard):** Cleaned up target codex `config.toml` structure preventing recursive section rendering by enforcing quotes on section dot paths and mapping correct UI `OMNIROUTE_API_KEY` names.
+- **fix(mcp):** Add dedicated explicit timeout constraint overrides for search handlers (#1280)
+- **fix(crypto):** Add validation guard to encryption layer to surface clear UI errors when cryptographic environment variables are missing, replacing raw Node.js TypeErrors. Legacy env vars `OMNIROUTE_CRYPT_KEY` and `OMNIROUTE_API_KEY_BASE64` now also accepted as fallbacks (#1165)
+- **fix(providers):** Update Pollinations provider definition to require API keys and specify their new limited pollen/hour free tier (#1177)
+- **Streaming `\n\n` Artifact Fix (#1211):** Changed `<omniModel>` tag-stripping regex from `?` to `*` quantifier across `combo.ts`, `comboAgentMiddleware.ts`, and `contextHandoff.ts` to greedily strip all accumulated JSON-escaped newline sequences surrounding the tag. This prevents literal `\n\n` prefix artifacts from appearing in consumer streaming responses
+- **E2E Combo Test Locator:** Fixed Playwright strict-mode violation in `combo-unification.spec.ts` by replacing ambiguous `getByRole` locator with a compound filter locator for the "All" strategy tab
+- **fix(cc-compatible):** Trim beta flags and preserve cache passthrough for third-party HTTP proxy compatibility (#1230)
+- **fix(providers):** Update Xiaomi MiMo endpoints to the live token-plan, migrating away from dead API URLs (#1238)
+- **fix:** Forward client `x-initiator` header to GitHub Copilot upstream to accurately distinguish agent vs user turns (#1227)
+- **fix:** Resolve backlog bugs including streaming edge cases, unhandled rejections, and quota parse failures (#1206, #1220, #1231, #1175, #1187, #1218, #1202)
+- **fix(tests):** Resolve memory migration and skills route pagination bugs arising from PR overlaps
+- **fix(i18n):** Add missing Chinese i18n support to dashboard components (`DataTable`, `EmptyState`, etc), update `en.json/zh-CN.json` routing keys, and natively resolve JSX defaults via `next-intl` (#1274)
+
+### 🔧 Internal Improvements
+
+- **Compliance Audit Expansion:** `src/lib/compliance/index.ts` expanded with structured metadata, pagination support, request context enrichment, and new `providerAudit.ts` module logging auth and provider credential events, SSRF-blocked validation attempts, and provider CRUD operations
+- **Config Sync Bundle:** `src/lib/sync/bundle.ts` exports `buildConfigBundle()` generating a versioned JSON snapshot of settings, provider connections, nodes, model aliases, combos, and API keys (passwords redacted) with ETag support for bandwidth-efficient polling
+- **Codex Client Constants:** Centralized `CODEX_CLIENT_VERSION`, `CODEX_USER_AGENT_PLATFORM`, and pattern-validated env overrides (`CODEX_CLIENT_VERSION`, `CODEX_USER_AGENT`) in `open-sse/config/codexClient.ts`
+- **Antigravity Upstream Constants:** `open-sse/config/antigravityUpstream.ts` consolidates all Antigravity base URLs and model/fetchAvailableModels discovery path builders
+- **Model Alias Seed:** `src/lib/modelAliasSeed.ts` seeds 30+ cross-proxy model dialect aliases (e.g. `openai/gpt-5` → `gpt-5`, `anthropic/claude-opus-4-6` → `cc/claude-opus-4-6`) at startup via idempotent `upsert`
+- **Test Coverage:** 15+ new unit test suites covering sync routes, WebSocket bridge, compliance index, GLM provider config, cooldown-aware retry, safe outbound fetch, stream utilities, Codex executor, provider validation branches, model cross-proxy compatibility, and model alias seeding
+- **TypeScript Migration:** Finalized migration of remaining JS tests (`proxy-load` and `testFromFile`) to TypeScript ES modules, ensuring a fully synchronized TS stack.
+- **Reliability & Resilience:** Added exponential backoff to `models.dev` auto-sync to combat transient network failures, raised interval floor to 1 hour, and added LKGP debug logging for enhanced observability during routing. (#1286)
+
+---
+
+## [3.6.5] — 2026-04-13
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Antigravity AI Credits Fallback:** Automatically retries with `GOOGLE_ONE_AI` credit injection when free-tier quota is exhausted. Per-account credit balance (5-hour TTL) is cached from SSE `remainingCredits` and exposed as a numeric badge in the Provider Usage dashboard (#1190 — thanks @sFaxsy)
+- **Claude Code Native Parity:** Full header/body signing parity with the Claude Code 2.1.87 OAuth client — CCH xxHash64 body signing with singleton WASM initialization promise (fixing race conditions), dynamic per-request fingerprint, bidirectional TitleCase ↔ lowercase tool name remapping (14 tools), API constraint enforcement (`temperature=1` for thinking, max 4 `cache_control` blocks, auto-inject ephemeral on last user message), and optional ZWJ obfuscation. Wired into `BaseExecutor` for automatic CCH signing on all `anthropic-compatible-cc-*` providers and into `chatCore` for synchronous parity pipeline steps (#1188 — thanks @RaviTharuma)
+- **Per-Connection Codex Defaults:** Codex Fast Service Tier and Reasoning Effort settings are now per-connection instead of a single global toggle. Existing connections are migrated automatically on startup via an idempotent backfill migration (#1176 — thanks @rdself)
+- **Cursor Usage Dashboard:** New `getCursorUsage()` fetches quotas from Cursor's `/api/usage`, `/api/auth/me`, and `/api/subscription` endpoints. Displays standard requests, on-demand usage, and per-plan limits (Free/Pro/Business/Team). Client version bumped to `3.1.0` and `x-cursor-user-agent` header added for parity
+- **Database Health Check System:** Automated periodic SQLite integrity monitoring via `runDbHealthCheck()` — detects orphan quota/domain rows, broken combo references, stale snapshots, and invalid JSON state. Runs every 6 hours (configurable via `OMNIROUTE_DB_HEALTHCHECK_INTERVAL_MS`), with auto-repair and pre-repair backup. Exposed as **MCP tool #18** (`omniroute_db_health_check`) with Zod schemas and `autoRepair` option. Dashboard panel in Health page with status card, issue count, repaired count, and one-click repair button
+- **OpenAI Responses API Store Opt-In:** Per-connection `openaiStoreEnabled` flag controls whether the `store` field is preserved or forced to `false` on Codex Responses API requests. When enabled, `previous_response_id`, `prompt_cache_key`, `session_id`, and `conversation_id` fields are round-tripped through the Chat Completions → Responses translation, enabling multi-turn context caching on supported providers
+- **Email Privacy Toggle (Combos Page):** Global email visibility toggle (`EmailPrivacyToggle`) added to the Combos page header with responsive layout, tooltip guidance, and per-connection label masking via `pickDisplayValue()`. All combo builder options, provider connection lists, and quota screens now respect the global privacy state from `emailPrivacyStore`
+- **skills.sh Integration:** Added `skills.sh` as an external skill provider. Users can now search, browse, and install agent skills directly from a new "skills.sh" tab in the Skills dashboard. Includes backend API resolvers, frontend implementation with search/install states, and a dedicated unit test suite (#1223 — thanks @RaviTharuma)
+- **Stabilization Settings:** Added persistence support for `lkgpEnabled` and `backgroundDegradation` settings, integrated into `instrumentation-node.ts` for improved lifecycle awareness (#1212)
+- **xxhash-wasm dependency:** Added `xxhash-wasm@^1.1.0` for CCH signing (xxHash64 with seed `0x6E52736AC806831E`)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Codex `stream: false` via Combo (ALL_ACCOUNTS_INACTIVE):** Fixed a critical bug where Codex combos returned `ALL_ACCOUNTS_INACTIVE` or empty content when the client sent `stream: false`. Root cause was triple: (1) `CodexExecutor.transformRequest()` mutated `body.stream` in-place to `true`, contaminating the combo's quality check which skipped validation thinking it was streaming; (2) the non-stream SSE parser used the wrong format (Chat Completions instead of Responses API) for Codex SSE output; (3) combo quality validation read the mutated `body.stream` instead of the client's original intent. Fixed by: cloning the body via `structuredClone()` in CodexExecutor, detecting Codex/Responses SSE format in the non-stream fallback path (with auto-translation back to Chat Completions), and capturing `clientRequestedStream` before the combo loop
+- **Gemini CLI Tool Schema Rejection:** Fixed 400 Bad Request errors from the Google API by strictly filtering non-standard vendor extensions (starting with `x-`) and `deprecated` fields from tool parameter schemas (#1206)
+- **SOCKS5 Proxy Interop (Node.js 22):** Resolved `invalid onRequestStart method` crashes caused by `undici` version mismatches between dispatchers and the built-in fetch. Hardened `proxyFetch.ts` to strictly use the library's fetch implementation for custom dispatchers (#1219)
+- **Search Cache Coalescing with TTL=0:** Fixed a bug where providers configured with `cacheTTLMs: 0` (caching explicitly disabled) still had concurrent requests coalesced and returned `{ cached: true }`. Now each call gets its own independent upstream fetch (#1178 — thanks @sjhddh)
+- **Antigravity Credit Cache Alignment (PR #1190):** Reconciled `accountId` derivation between `AntigravityExecutor.collectStreamToResponse` and `getAntigravityUsage` to use consistent cache keys (`email || sub || "unknown"`). Previously, SSE-parsed credit balances could be written under a different key than the one read by the usage dashboard, causing stale/missing credit badges
+- **Non-streaming reasoning_content Duplication:** Fixed clients rendering duplicated reasoning panels when both `reasoning_content` and visible `content` were present in non-streaming responses. `responseSanitizer` now strips `reasoning_content` from messages that already have visible text content, preserving it only for reasoning-only messages
+- **Streaming Regression Fix:** Hardened the `sanitize` TransformStream in the combo engine to strip both literal and JSON-escaped newline sequences, eliminating leading `\n\n` prefixes in assistant responses (#1211)
+- **Gemini Empty Choice Fix:** Ensured initial assistant deltas always include an empty `content: ""` string to satisfy strict OpenAI client requirements and prevent empty choice responses in tools (#1209)
+- **Gemini Tools Sanitizer Deduplication:** Extracted shared tool conversion logic into `buildGeminiTools()` helper (`geminiToolsSanitizer.ts`), eliminating duplicate implementations between `openai-to-gemini.ts` and `claude-to-gemini.ts`. The new helper correctly handles `web_search` / `web_search_preview` tool types by emitting `googleSearch` tools with priority over function declarations
+- **Qwen/Qoder Thinking+Tool_Choice Conflict:** Added `sanitizeQwenThinkingToolChoice()` to both `DefaultExecutor` (for Qwen provider) and `QoderExecutor` to prevent provider-side 400 errors when clients send `tool_choice` alongside thinking/reasoning parameters that are mutually exclusive upstream
+- **API Key Deletion Orphan Cleanup:** Deleting an API key now also removes associated `domain_budgets` and `domain_cost_history` rows, preventing orphan data accumulation
+- **CC-compatible test assertion:** Fixed pre-existing test that expected no `cache_control` on system blocks — the billing header system block now carries `cache_control: { type: "ephemeral" }` per PR #1188 design
+- **Codex Combo Smoke Test False Positives:** Fixed combo tests incorrectly reporting `ERROR` for valid Codex streaming responses when `response.output` is empty but text deltas were emitted. The summary now falls back to accumulated delta text (#1176 — thanks @rdself)
+- **Electron Builder Version Mismatch:** Fixed Electron desktop startup failures on Windows packaged builds caused by native modules (`better-sqlite3`) being under `app.asar.unpacked` while helpers were in `app/node_modules`. `resolveServerNodePath()` now merges both locations with deduplication and existence checks (#1172 — thanks @backryun)
+
+### 🔧 Internal Improvements
+
+- **SSE Parser: Responses API Non-Stream Conversion:** Added full `parseSSEToResponsesOutput()` implementation in `sseParser.ts` (255+ lines) — reconstructs complete Responses API objects from SSE event streams, handling `response.output_text.delta/done`, `response.reasoning_summary_text.delta/done`, `response.function_call_arguments.delta/done`, and terminal events. Used by the new chatCore non-stream fallback path for Codex
+- **Cursor Executor Version Sync:** Updated Cursor client User-Agent to `3.1.0` and centralized version constants (`CURSOR_CLIENT_VERSION`, `CURSOR_USER_AGENT`) for consistent fingerprinting across executor, usage fetcher, and OAuth flows
+- **Responses API Translator Parity:** `convertResponsesApiFormat()` now accepts credentials and passes them through to the translator, enabling store-aware field propagation. Round-trip preservation of `previous_response_id`, `prompt_cache_key`, `session_id`, and `conversation_id` fields
+- **Provider Schema Validation:** Added `openaiStoreEnabled` boolean validation to `providerSpecificData` Zod schema
+- **Combo Error Response Normalization:** Empty combo targets now return 404 (`comboModelNotFoundResponse`) instead of generic 503, improving client-side error differentiation
+- **Dependency Updates:** Bumps `typescript-eslint` to `8.58.2` (dev), `axios` to `1.15.0` (prod), and `next` to `16.2.2` (prod) (#1224, #1225)
+
+### ⚠️ Breaking Changes
+
+- **`DELETE /api/settings/codex-service-tier` removed:** This endpoint no longer exists. Codex Service Tier configuration has moved to per-connection `providerSpecificData.requestDefaults`. Existing connections are migrated automatically on first startup after upgrade. Any external scripts or integrations that call this endpoint should be updated — use `PUT /api/providers/:id` with `providerSpecificData.requestDefaults.serviceTier` instead (#1176).
+- **CCH signing on CC-compatible providers:** All requests to `anthropic-compatible-cc-*` providers now include an xxHash64 integrity token (`cch=...`) in the billing header. Providers that do not validate CCH will ignore it (no behavioral change), but any custom middleware inspecting the billing header should expect a 5-character hex token instead of the `00000` placeholder
+
+---
+
+## [3.6.4] — 2026-04-12
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Combo Builder v2 (Wizard UI):** Completely redesigned the combo creation/editing interface as a multi-stage wizard with stages: Basics → Steps → Strategy → Review. The builder fetches provider, model, and connection metadata via a new `GET /api/combos/builder/options` endpoint, enabling precise provider/model/account selection with duplicate detection and automatic next-connection suggestion. Heavy UI components (`ModelSelectModal`, `ProxyConfigModal`, `ModelRoutingSection`) are now lazily loaded via `next/dynamic` for faster initial page render
+- **Combo Step Architecture (Schema v2):** Introduced a structured step model (`ComboModelStep`, `ComboRefStep`) replacing the legacy flat string/object combo entries. Steps carry explicit `id`, `kind`, `providerId`, `connectionId`, `weight`, and `label` fields, enabling pinned-account routing, cross-combo references, and per-step metrics. All combo CRUD operations normalize entries through the new `src/lib/combos/steps.ts` module. Zod schemas updated with `comboModelStepInputSchema` and `comboRefStepInputSchema` unions
+- **Composite Tiers System:** Added tiered model routing via `config.compositeTiers` — each tier maps a named stage to a specific combo step with optional fallback chains. Includes comprehensive validation (`src/lib/combos/compositeTiers.ts`) ensuring step existence, preventing circular fallback, and validating default tier references. Zod schema enforcement blocks composite tiers on global defaults (concrete combos only)
+- **Model Capabilities Registry:** Created `src/lib/modelCapabilities.ts` providing `getResolvedModelCapabilities()` — a unified resolver that merges static specs, provider registry data, and live-synced capabilities into a single `ResolvedModelCapabilities` object covering tool calling, reasoning, vision, context window, thinking budget, modalities, and model lifecycle metadata
+- **Observability Module:** Extracted health and telemetry payload construction into `src/lib/monitoring/observability.ts` with `buildHealthPayload()`, `buildTelemetryPayload()`, and `buildSessionsSummary()` builders. The health endpoint now returns session activity, quota monitor status, and per-provider breakdowns alongside existing system metrics
+- **Session & Quota Monitor Dashboard:** Added live Session Activity and Quota Monitors panels to the Health dashboard, showing active session counts, sticky-bound sessions, per-API-key breakdowns, and top session details alongside quota monitor alerting/exhausted/error status with per-provider drill-down
+- **Combo Health Per-Target Analytics:** The combo-health API now resolves per-target metrics using the new `resolveNestedComboTargets()` function, providing step-level success rates, latency, and historical usage breakdowns per execution key — enabling per-account, per-connection health visibility
+- **Auto-Combo → Combos Unification:** Merged the separate `/dashboard/auto-combo` page into the main `/dashboard/combos` page. Auto/LKGP combos are now managed alongside all other combos with a new strategy filter tabs system (All / Intelligent / Deterministic). The old auto-combo route redirects to `/dashboard/combos?filter=intelligent`. Removed the `auto-combo` sidebar entry, consolidating navigation into the single `Combos` item
+- **Intelligent Routing Panel (`IntelligentComboPanel`):** New inline panel (371 lines) within the combos page that shows real-time provider scores, 6-factor scoring breakdown (quota, health, cost, latency, task fitness, stability), mode pack selector, incident mode status, and excluded providers for `auto`/`lkgp` combos — replacing the former standalone auto-combo dashboard
+- **Builder Intelligent Step (`BuilderIntelligentStep`):** New conditional wizard step (280 lines) that appears in the Builder v2 flow only when `strategy=auto` or `strategy=lkgp` is selected. Exposes candidate pool selection, mode pack presets, router sub-strategy selector, exploration rate slider, budget cap, and collapsible advanced scoring weights configuration
+- **Intelligent Routing Module (`intelligentRouting.ts`):** Extracted strategy categorization and filtering logic into a dedicated shared module (210 lines) with `getStrategyCategory()`, `isIntelligentStrategy()`, `filterCombosByStrategyCategory()`, `normalizeIntelligentRoutingFilter()`, and `normalizeIntelligentRoutingConfig()` utility functions
+- **LKGP Standalone Strategy:** Implemented `lkgp` (Last Known Good Provider) as a fully functional standalone combo strategy. Previously, `lkgp` as a combo strategy silently fell through to `priority` ordering — the LKGP lookup only ran inside the `auto` engine. Now `strategy: "lkgp"` correctly queries the LKGP state, moves the last successful provider to the top of the target list, and saves the LKGP state after each successful request. Falls back to priority ordering when no LKGP state exists
+- **Unified Routing Rules & Model Aliases:** Consolidated the routing rules and model alias management controls into the Settings page, reducing fragmentation across the dashboard
+
+### ⚡ Performance
+
+- **Middleware Lazy Loading:** Refactored `src/proxy.ts` to lazy-import `apiAuth`, `db/settings`, and `modelSyncScheduler` modules, reducing middleware cold-start overhead. Added inline `isPublicApiRoute()` to avoid loading the full auth module for public routes
+- **E2E Auth Bypass:** Added `NEXT_PUBLIC_OMNIROUTE_E2E_MODE` environment flag to bypass authentication gates for dashboard and management API routes during Playwright E2E test runs
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **P2C Credential Selection:** Implemented Power-of-Two-Choices (P2C) connection scoring in `src/sse/services/auth.ts` with quota headroom awareness, error/recency penalties, and forced/excluded connection support. The new `getProviderCredentialsWithQuotaPreflight()` function integrates quota preflight checks directly into credential selection, eliminating the separate Codex-only preflight path
+- **Fixed-Account Combo Steps:** Combo steps with explicit `connectionId` now correctly bypass provider-level model cooldowns and circuit breakers, preventing a single account failure from blocking pinned-connection routing for the same model
+- **Combo Metrics Per-Target Tracking:** Extended `comboMetrics.ts` to track `byTarget` metrics keyed by execution path, recording per-step `provider`, `providerId`, `connectionId`, and `label` alongside existing per-model aggregates
+- **Call Logs Schema Expansion:** Added `requested_model`, `request_type`, `tokens_cache_read`, `tokens_cache_creation`, `tokens_reasoning`, `combo_step_id`, and `combo_execution_key` columns to `call_logs` with auto-migration. Added composite index `idx_cl_combo_target` for efficient per-target historical queries
+- **Quota Monitor Enrichment:** Expanded `quotaMonitor.ts` with full lifecycle state tracking (`status`, `startedAt`, `lastPolledAt`, `consecutiveFailures`, `totalPolls`, `totalAlerts`), ISO-formatted snapshots via `getQuotaMonitorSnapshots()`, and sorted summary via `getQuotaMonitorSummary()`
+- **Codex Quota Fetcher Hardening:** Improved `codexQuotaFetcher.ts` with safer connection registration and quota fetch error handling
+- **LKGP Save Refactored to Async/Await:** Replaced fire-and-forget `.then()` chain for LKGP persistence after successful combo routing with proper `async/await` + `try/catch`, preventing unhandled promise rejections and ensuring LKGP state is reliably saved before the response is returned
+- **Duplicate `auto` in Combo Strategy Schema:** Removed duplicate `"auto"` entry from `comboStrategySchema` (was listed on both line 104 and 108). Harmless to Zod runtime but cleaned up to avoid confusion. Schema now has exactly 13 unique strategy values
+- **Legacy Combo Refs Normalization:** Fixed combo step normalization to preserve legacy string combo references during CRUD operations, preventing data loss when editing combos created before the v2 step architecture
+
+### Сигурност
+
+- **Auth Bypass on Backup Routes (Critical):** Added `isAuthenticated` guards to `/api/db-backups/exportAll` (full database export) and `/api/db-backups` (list, create, and restore backups) — both were previously accessible without authentication
+- **Auth Guard on Translator Save:** Added `isAuthenticated` guard to `/api/translator/save` for defense-in-depth consistency
+- **API Key Secret Hardening:** Removed the hardcoded `"omniroute-default-insecure-api-key-secret"` fallback from `apiKey.ts` — the function now fails fast if `API_KEY_SECRET` is unset, relying on the startup validator to auto-generate it
+- **NPM Tarball Leak Fix:** Added `app/.env*` to `.npmignore` to prevent the working `.env` file from being shipped inside the npm tarball distribution
+- **Electron Builder CVE Fix:** Bumped `electron-builder` to 26.8.1 to resolve `tar` CVEs in the desktop build pipeline
+
+### 🔧 Maintenance & Infrastructure
+
+- **DB Migration 021:** Added `combo_call_log_targets` migration for `combo_step_id` and `combo_execution_key` columns in call_logs
+- **Combo CRUD Normalization:** `db/combos.ts` now normalizes all stored combo entries through the step normalization pipeline on read, ensuring consistent step IDs and kind annotations regardless of when the combo was created
+- **Playwright Config:** Updated Playwright configuration and `run-next-playwright.mjs` script for improved E2E test orchestration
+- **Build Script:** Updated `build-next-isolated.mjs` with additional reliability improvements
+- **Auto-Combo UI Cleanup:** Deleted `AutoComboModal.tsx` (161 lines), replaced `auto-combo/page.tsx` (478→5 lines) with a server-side redirect to `/dashboard/combos?filter=intelligent`
+- **Sidebar Consolidation:** Removed `"auto-combo"` from `HIDEABLE_SIDEBAR_ITEM_IDS` and `PRIMARY_SIDEBAR_ITEMS` — `normalizeHiddenSidebarItems()` silently discards any stale `"auto-combo"` entries in user settings
+- **Schema Cleanup:** Removed obsolete `createAutoComboSchema` from `schemas.ts`. Exported `comboStrategySchema` for direct use in test and filter modules
+- **A2A Agent Card Update:** Renamed skill ID from `auto-combo` to `intelligent-routing` with updated description referencing the unified combos dashboard
+- **Builder Draft Refactor:** Extended `builderDraft.ts` with dynamic stage list generation via `getComboBuilderStages()` and `isIntelligentBuilderStrategy()`. Stage navigation (`getNextComboBuilderStage`, `getPreviousComboBuilderStage`, `canAccessComboBuilderStage`) now accepts options to conditionally include/skip the `intelligent` wizard step
+- **i18n Consolidation:** Removed the standalone `"autoCombo"` i18n block (22 keys) from all 30 language files. Migrated keys into the `"combos"` block with new additions for filter tabs, intelligent panel, and builder step labels
+
+### 🧪 Tests
+
+- **16 New Test Suites:** Added comprehensive test coverage including:
+ - `combo-builder-draft.test.mjs` (186 lines) — Builder draft step construction and validation
+ - `combo-builder-options-route.test.mjs` (228 lines) — Builder options API endpoint
+ - `combo-health-route.test.mjs` (266 lines) — Combo health analytics with per-target metrics
+ - `combo-routes-composite-tiers.test.mjs` (157 lines) — Composite tiers API integration
+ - `composite-tiers-validation.test.mjs` (131 lines) — Composite tier validation rules
+ - `db-combos-crud.test.mjs` — Combo CRUD with step normalization
+ - `db-core-init.test.mjs` (129 lines) — DB initialization and column migrations
+ - `model-capabilities-registry.test.mjs` (105 lines) — Model capabilities resolution
+ - `observability-payloads.test.mjs` (165 lines) — Health/telemetry payload construction
+ - `openapi-spec-route.test.mjs` — OpenAPI spec generation
+ - `proxy-e2e-mode.test.mjs` (74 lines) — E2E mode auth bypass
+ - `quota-monitor.test.mjs` — Quota monitor lifecycle state
+ - `run-next-playwright.test.mjs` (119 lines) — Playwright runner script
+ - `sse-auth.test.mjs` (154 lines) — P2C credential selection and quota preflight
+ - `telemetry-summary-route.test.mjs` (35 lines) — Telemetry summary endpoint
+ - Plus updates to 12 existing test files for compatibility with new step architecture
+- **Auto-Combo Unification Tests:**
+ - `autocombo-unification.test.mjs` (156 lines) — Strategy categorization, schema deduplication, sidebar cleanup, and routing strategies metadata validation
+ - `combo-unification.spec.ts` (189 lines) — Playwright E2E tests for filter tabs, intelligent panel rendering, redirect from old route, sidebar entry removal, and Builder v2 intelligent step flow
+ - 3 new LKGP standalone tests in `combo-routing-engine.test.mjs` — Validates LKGP provider prioritization, fallback to priority when no state exists, and LKGP state persistence after successful requests
+ - Updated `combo-builder-draft.test.mjs` with intelligent stage navigation tests
+ - Updated `sidebar-visibility.test.mjs` to reflect `auto-combo` removal
+
+---
+
+## [3.6.3] — 2026-04-11
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **OpenAI-Compatible Loose Validation:** Empty API keys can now be naturally submitted and saved for any `openai-compatible-*` providers (e.g. Pollinations, localized routes) directly in the UI instead of blocking save actions (#1152)
+- **Cloudflare Configuration:** Updated the provider schema and UI integration for Cloudflare AI to officially expose and support the backend `accountId` field securely without overrides (#1150)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Vertex JSON Validation Crash:** Prevented `invalid character in header` crashes inside the `/validate` endpoint by creating a native authentication parser that correctly handles Google Identity Service Account JSON flows prior to pinging endpoints (#1153)
+- **Extraneous Payload Rejection:** Globally prevented upstream `400 Bad Request` execution crashes by stripping the non-standard `prompt_cache_retention` attribute forcibly attached by Cursor/Cline IDE engines when targeting strict OpenAI/Anthropic routes (#1154)
+- **Reasoning Content Drop:** Prevented pure reasoning packets, common in advanced fallback models like DeepSeek, from being aborted mid-stream by explicitly adjusting the `Empty Content (502)` circuit breakers to acknowledge `reasoning_content` states as valid (#1155)
+- **Desktop Windows Build Crash:** Fixed `better_sqlite3.node is not a valid Win32 application` preventing OmniRoute Desktop from launching on Windows by properly removing the ABI-mismatched sqlite cache from Next.js standalone and falling back to the cross-compiled Electron equivalent during packager build steps (#1163)
+- **Login Visual Security:** Removed the raw fallback hash dump that artificially rendered underneath the login modal in Docker instances missing `OMNIROUTE_API_KEY_BASE64` flags (#1148)
+
+### 🔧 Maintenance & Dependencies
+
+- **Dependabot Updates:** Safely bumped GitHub Actions `docker/build-push-action` to v7 and `actions/download-artifact` to v8
+- **Electron Updates:** Upgraded desktop wrapper core to Electron `41.2.0` and `electron-builder` to `26.8.1`, incorporating essential V8/Chromium security patches
+- **NPM Package Groups:** Updated `production` and `development` NPM groups to securely handle minor audit warnings and keep toolchains modern
+- **CI/CD Reliability:** Fixed persistent `Snyk` token-absence failures on automated pull requests by appropriately bypassing on dependabot actions
+
+## [3.6.2] — 2026-04-11
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **33 New API Key Providers:** Massive provider expansion adding DeepInfra, Vercel AI Gateway, Lambda AI, SambaNova, nScale, OVHcloud AI, Baseten, PublicAI, Moonshot AI, Meta Llama API, v0 (Vercel), Morph, Featherless AI, FriendliAI, LlamaGate, Galadriel, Weights & Biases Inference, Volcengine, AI21 Labs, Venice.ai, Codestral, Upstage, Maritalk, Xiaomi MiMo, Inference.net, NanoGPT, Predibase, Bytez, Heroku AI, Databricks, Snowflake Cortex, and GigaChat (Sber). OmniRoute now supports **100+ providers** (4 Free + 8 OAuth + 91 API Key + Custom compatible)
+- **Global Email Privacy Toggle:** Added a persistent eye-icon toggle button across all dashboard pages (Providers, Usage Limits, Playground) that reveals or hides masked email addresses. Toggle state is stored in localStorage and synced globally via Zustand store
+- **Documentation Refresh:** Updated README, ARCHITECTURE, FEATURES, AGENTS.md, and API_REFERENCE for v3.6.2 with accurate provider counts (100+), new executor list, and system API documentation
+- **Uninstall Guide:** Created comprehensive `docs/guides/UNINSTALL.md` covering clean uninstallation for all deployment methods (npm, Docker, Electron, source)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **PDF Attachments:** Unlocked deep string object parsing (`geminiHelper`) ensuring Gemini translation successfully passes complex PDF payloads from OpenAI-compatible streams without dropping them silently (#993)
+- **SkillsMP Engine:** Corrected object extraction path mappings inside the API router to fix UI marketplace rendering under Docker/Standalone Node isolated deployments (#988)
+
+---
+
+## [3.6.1] — 2026-04-10
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **OAuth Env Repair Action:** Added a "Repair env" button to the OAuth Providers dashboard that detects and restores missing OAuth client IDs from `.env.example` — with timestamped backup and append-only safety. Includes full 33-language i18n support and sanitized API responses (#1116, by @yart)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **i18n: Missing Provider Keys:** Added missing `filterModels`, `modelsActive`, `showModel`, `hideModel` keys across all 32 locale files, fixing runtime `MISSING_MESSAGE` errors in the providers UI. Also cleaned up duplicate keys in `en.json` (#1111, by @rilham97)
+- **GPT-5.4 Routing:** Added missing `targetFormat: "openai-responses"` to `gpt-5.4` and `gpt-5.4-mini` models in both the Codex and GitHub Copilot providers, fixing `[400]: model not accessible via /chat/completions` errors (#1114, by @ask33r)
+
+---
+
+## [3.6.0] — 2026-04-10
+
+### ✨ New Features & Analytics
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Combo Smoke Test:** Raised the default token budget to 2048 to prevent truncation of thinking models during preflight checks, and fully randomized the arithmetic probe prompt to bypass deterministic caching from upstream relays (#1105)
+
+### 🐛 Bug Fixes & Compliance
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **DB Bloat / Row Limits:** Added `CALL_LOGS_TABLE_MAX_ROWS` and `PROXY_LOGS_TABLE_MAX_ROWS` (default: 100,000) to the backend DB compliance cleaner to prevent runaway SQLite growth. Limits are enforced automatically on the TTL cycle (#1104, fixes #1101)
+- **HTML Error Handling:** The router now correctly identifies unexpected HTML responses (e.g. `<!DOCTYPE html>`) sent by upstream providers (like Azure/Copilot) instead of throwing obscure `Unexpected token '<'` JSON parse errors, bubbling up a clean 502 Bad Gateway (#1104, fixes #1066)
+- **Android/Termux SQLite Native Support:** `better-sqlite3` is now correctly built from source with cross-compilation flags in ARM64 local Termux deployments without failing on missing prebuilt binaries (#1107)
+
+---
+
+## [3.5.9] — 2026-04-09
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Persistent Combo Ordering:** Drag combo cards by handle to reorder them in the dashboard; order is persisted to SQLite via a new `sort_order` column and `POST /api/combos/reorder` endpoint. Includes DB migration `020_combo_sort_order.sql` and JSON import preservation (#1095)
+- **Sidebar Group Reorder:** Moved "Logs" before "Health" in the System section and "Limits & Quotas" after "Cache" in the Primary section for a more logical navigation flow (#1095)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Stream Failure Surfacing:** Upstream `response.failed` events (e.g. Codex rate-limit errors) are now properly surfaced as non-200 errors instead of being silently swallowed as empty 200 OK streams. Rate-limit failures return HTTP 429 (#1098, closes #1093)
+- **Upstream Model Preservation:** The Responses-to-OpenAI stream translator now preserves the actual upstream model (e.g. `gpt-5.4`) instead of hardcoding a `gpt-4` fallback (#1098, closes #1094)
+- **Docker EXDEV Fix:** `build-next-isolated.mjs` now falls back from `fs.rename()` to `cp/rm` when Docker buildx raises `EXDEV` (cross-device link), unblocking the Docker image publish workflow (#1097)
+- **macOS CLI Path Resolution:** `cliRuntime.ts` resolves symlink parents with `fs.realpath()` to handle macOS `/var` → `/private/var` chains, preventing false `symlink_escape` rejections (#1097)
+- **Request Log Token Layout:** Split token badges into separate Input (Total In, Cache Read, Cache Write) and Output (Total Out, Reasoning) groups for clearer readability; renamed "Time" label to "Completed Time" (#1096)
+
+---
+
+## [3.5.8] — 2026-04-09
+
+### ✨ New Features & Analytics
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Analytics Layout Redesign:** Replaced flat metrics with a responsive `CompactStatGrid`, grouping data visually across sections (#1089)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Build Core:** Force Turbopack cleanup via Prepbulish script to prevent Next.js 16 app/ routing conflicts on runtime.
+- **Provider Quarantine:** Introduces model/provider circuit-breakers with adaptive TTL exponential backoff for recurring upstream errors (#1090)
+- **Oauth Keep-Alive:** Safely protects authenticated active accounts against spontaneous dropping from router due to transient token refresh failures (#1085)
+
+### 🔒 Security & Maintenance
+
+- **Dependabot:** bumped axios from 1.14.0 to 1.15.0 addressing SSRF flags (#1088)
+
+---
+
+## [3.5.7] — 2026-04-09
+
+### 🐛 Bug Fixes & Security
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Turbopack Standalone Chunks:** Fixed a critical bug in `scripts/prepublish.mjs` where Turbopack chunks missing from the `.next/standalone` trace resulted in a `500 ChunkLoadError` (e.g., `_not-found` page crash) during production deployments via NPM or Docker. Standalone chunks are now explicitly copied and correctly stripped of Turbopack hashes.
+
+---
+
+## [3.5.6] — 2026-04-09
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Email Privacy Masking:** OAuth account emails are now masked in the provider dashboard (e.g. `di*****@g****.com`) to prevent accidental exposure when sharing screenshots. Full address visible on hover via `title` attribute (#1025).
+- **OpenRouter & GitHub in Embedding/Image Registries:** OpenRouter (3 embedding models, 4 image models) and GitHub Models (2 embedding models via Azure inference) are now first-class entries in the provider registries, enabling their use for `/v1/embeddings` and `/v1/images/generations` (#960).
+- **Model Visibility Toggle & Search Filter:** The provider page model list now includes a real-time search/filter bar and a per-model visibility toggle (👁 icon). Hidden models are grayed out and excluded from the `/v1/models` catalog. An active-count badge (`N/M active`) shows at a glance how many models are enabled (#750).
+- **Chinese Localization (zh-CN):** Added missing translations for Context Relay, Memory, LKGP, and Models.dev sync features, while standardizing terminology across the application (#1079).
+- **Environment Auto-Sync:** Added `sync-env.mjs` to auto-generate and append `.env` from `.env.example` during installation, automatically generating cryptographic secrets on first run.
+- **Source Mode Dashboard Update:** Fixed real-time Source (git-checkout) updating in the dashboard, enabling secure, real-time update pipelines for non-NPM installations.
+
+### 🐛 Bug Fixes & Security
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Hardcoded Secret Cleanup:** Removed 12 hardcoded OAuth credential fallbacks from the source code, forcing secure reliance on environment variables and resolving static analysis security alerts.
+- **Next.js Security Patch:** Bumped `next` from 16.2.2 to 16.2.3 to resolve critical RSC deserialization RCE vulnerability (SNYK-JS-NEXT-15954202).
+- **Memory/Cache UI Crash:** Added null-safety guards (`?? 0`) to `.toLocaleString()` calls in Memory and Cache dashboard pages, preventing `TypeError` crashes when database tables are empty or contain null numeric values (#1083).
+- **WebSearch tool_choice Translation:** Fixed OpenAI-to-Claude translator dropping `tool_choice` objects with `type: "function"` as-is, which Claude rejects. Now properly maps all OpenAI `tool_choice` variants (`function`, `required`, `none`) to Claude-compatible format (`tool`, `any`, `auto`), fixing "Did 0 searches" in Claude Code WebSearch (#1072).
+- **Provider Validation baseUrl Override:** Added `baseUrl` passthrough from frontend validation requests to the backend validation endpoint. Chinese-site users of Alibaba Coding Plan (bailian-coding-plan) can now validate API keys against their custom Base URL instead of always hitting the international endpoint (#1078).
+- **Minimax Auth Header:** Switched Minimax provider from `x-api-key` to `Authorization: Bearer` header format, matching the current API spec (#1076).
+- **Native Fetch Fallback:** Added graceful fallback to native `fetch` when the `undici` dispatcher fails, improving resilience in environments where undici is unavailable (#1054).
+- **EPIPE Flood Fix:** Added circuit-breaker logic to prevent EPIPE errors from creating a feedback loop that fills logs at GB/s (#1006).
+- **Qoder PAT Validation:** Improved Qoder Personal Access Token validation with actionable error messages that guide users to the correct token format (#966).
+- **CI/CD Pipeline:** Fixed `check:docs-sync` failure by syncing OpenAPI version to 3.5.6 and finalizing CHANGELOG release heading. Commented out `DATA_DIR` in `.env.example` to prevent E2E test failures in CI runners lacking root permissions.
+
+### 🌍 i18n
+
+- **Auto Language Generation (CI):** Added CI pipeline to auto-generate missing language files and strings via `feat(CI,i18n)` workflow, covering 30+ locales (#1071).
+
+---
+
+## [3.5.5] — 2026-04-08
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Node.js 24 Compatibility Warning:** Added a proactive version incompatibility warning on the login page to guide users to the stable Node.js 22 LTS, preventing native sqlite binding crashes.
+- **Context Relay Combo Strategy:** Added the new `context-relay` combo strategy with priority-style routing, structured handoff summary generation once quota usage reaches the warning threshold, and handoff injection after the next real account switch.
+- **Global Context Relay Defaults:** Added global Settings defaults plus combo-level configuration for `handoffThreshold`, `handoffModel`, and `handoffProviders`, so new or unconfigured combos can inherit the feature consistently.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Proxy Connection Healthchecks:** Applied proxy resolution per connection in the sweeping loop (`tokenHealthCheck.ts`) and global provider validation sweeps, resolving Node 22 bypass and improving proxy stability (#1051, #1056, #1061).
+- **Security Vulnerability Remediation:** Resolved multiple CodeQL scanning alerts including SSRF in model sync, insecure randomness in web crypto (`generateSessionId`), and incomplete URL sanitization.
+- **Context Relay Typing & Synchronization:** Reverted out-of-scope test breakages and resolved `handoffProvider` and response `input` extraction payload typing.
+- **Legacy OpenAI-Compatible Responses Routing:** Fixed legacy/imported OpenAI-compatible providers (for example `openai-compatible-sp-openai`) incorrectly routing Chat Completions traffic to `/chat/completions` when the real provider node was configured as `apiType: "responses"`. OmniRoute now treats `providerSpecificData.apiType` as authoritative across routing, executors, and translator tools, avoiding false empty-content failures during combo/provider smoke tests (#1069).
+- **Gemini PDF Attachment Integration:** Fixed payload generation and format for parsing `inline_data` and generic base64 sources for deep Gemini PDF routing (#993, #1021).
+- **Vercel AI SDK Fallbacks:** Mapped `max_output_tokens` to `max_tokens` for strict OpenAI-compatible providers, resolving errors from standard AI agents and frameworks (#994).
+- **External Auth & UI Reliability:** Handled null `state` failures in Cline OAuth exchange (#1016), added 3rd-party 400 error patterns to combo fallback (#1024), and resolved desktop sidebar layout and popover overflows (#1039, #1001).
+- **Context Relay In-Flight Deduplication:** Prevented duplicate handoff generation for the same session/combo while an earlier summary request is still in flight.
+- **Context Relay Provider Gating:** Aligned runtime behavior with configuration so explicit `handoffProviders` exclusions, including an empty array, now disable handoff generation as expected.
+
+### 🛠️ Maintenance & Dependabot
+
+- **Updated Sub-dependencies:** Bumped `hono` to `4.12.12` and `@hono/node-server` to `1.19.13` to patch critical security gaps (#1063, #1064, #1067, #1068).
+
+### Документация
+
+- **Documentation Synchronization:** Updated system documentation (README, Architecture, Features, Tools, Troubleshooting) and synced `i18n` configurations to match the v3.5.5 context relay patterns and proxy troubleshooting steps.
+- **Context Relay Delivery Notes:** Documented the current architecture, runtime flow, and Codex-focused scope in the feature docs, changelog, and agent guidance.
+
+---
+
+## [3.5.4] — 2026-04-07
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Detailed Token Tracking:** Added granular token breakdown columns (cache read, cache write, reasoning) to call logs with proper null vs zero distinction. Includes DB migration 018 and 5-label UI display per provider capability (#1017 — thanks @rdself).
+- **Legacy JSON Config Import/Export:** Restored JSON-based settings export and import for migration from legacy 9router configurations. Security-hardened with Zero-Trust redaction of passwords and `requireLogin` fields, and automatic pre-import database backups (#1012 — thanks @luandiasrj).
+- **Non-Stream Aliases:** Added API support for explicit non-streaming aliases (`non_stream`, `disable_stream`, `disable_streaming`, `streaming=false`), normalized at the boundary before provider translation (#1036 — thanks @wlfonseca).
+- **Russian Dashboard Localization:** Comprehensive Russian translation for the dashboard UI, including fixes for 2 Ukrainian locale keys (#1003 — thanks @mercs2910).
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Anthropic Streaming Input Undercount:** Fixed a critical bug where Anthropic streaming `prompt_tokens` only reported non-cached tokens (e.g., `in=3` when actual total was 113,616). Cache tokens are now summed into prompt_tokens during streaming (#1017).
+- **Built-in Responses API Tool Types:** Preserved built-in Responses API tools (`web_search`, `file_search`, `computer`, `code_interpreter`, `image_generation`) from being silently stripped by the empty-name tool filter — these tools carry no `.name` field (#1014 — thanks @rdself).
+- **Cursor/Codex Responses Compatibility:** Fixed empty output in Cursor when using Codex models by hoisting system input items to `instructions`, sanitizing invalid tool names, and detecting Responses-format payloads on chat/completions endpoint (#1002 — thanks @mercs2910).
+- **OAuth Token Expiry Display:** Fixed OAuth connections showing "expired" badge even with valid tokens by reading `tokenExpiresAt` (updated on refresh) instead of `expiresAt` (original grant timestamp) (#1032 — thanks @tombii).
+- **Codex Fast-Tier Copy:** Corrected dashboard settings copy from `service_tier=fast` to `service_tier=priority`, matching the actual Codex wire format (#1045 — thanks @kfiramar).
+- **macOS Desktop App Startup:** Stabilized packaged macOS app launch by excluding desktop artifacts from the standalone bundle and improving launch path detection (#1004 — thanks @mercs2910).
+- **macOS Sidebar Layout:** Fixed macOS traffic light overlap, sidebar spacing, and button overflow in the Electron desktop app (#1001 — thanks @mercs2910).
+
+### ⚡ Performance
+
+- **Analytics Page Load:** Dramatically reduced analytics page load times (30s→1-2s for 50K entries) via date-filtered DB queries, parallel `Promise.all()` cost calculations, and merged 6 COUNT queries into a single CASE WHEN aggregate (#1038 — thanks @oyi77).
+
+### 🔒 Security & Dependencies
+
+- **Node Base Image:** Upgraded Docker base from `22-bookworm-slim` to `22.22.2-trixie-slim` (#1011 — Snyk).
+- **Production Dependencies:** Bumped 5 production dependencies (#1044 — Dependabot).
+- **Vite:** Bumped from 8.0.3 to 8.0.5 (#1031 — Dependabot).
+- **Development Dependencies:** Bumped 4 development dependencies (#1030 — Dependabot).
+
+### 🧪 Tests
+
+- **Token Accounting Tests:** Added 18 new unit tests covering detailed token breakdown, null vs zero semantics, per-provider token extraction, and Anthropic streaming input fix (#1017).
+- **Built-in Tool Tests:** Added 3 new test cases for built-in Responses API tool type preservation (#1014).
+- **ChatCore Sanitization:** Updated sanitization tests to accommodate Responses format detection (PR #1002) and built-in tool preservation (PR #1014).
+
+### 🛠️ Maintenance
+
+- **PR Workflow:** Updated `/review-prs` workflow to merge PRs into the release branch (`release/vX.Y.Z`) instead of directly into `main`, ensuring proper pre-release staging.
+
+### Coverage
+
+- **2537 tests, 2532 passing** — Statement coverage: 91.95%, Branch coverage: 78.79%, Function coverage: 93.19%
+
+## [3.5.3] - 2026-04-07
+
+### Сигурност
+
+- **Vulnerabilities:** Fully remediated 12 High-Severity CodeQL vulnerabilities by migrating from Math.random to `crypto.randomUUID()`, wrapping SSE injection points with aggressive backslash escaping, sanitizing trailing HTTP fragments, and enforcing rigid SSRF HTTP verification schemes across internal routes.
+- **Dependencies:** Upgraded Next.js to `^16.2.2` and Vite to `>=8.0.5` resolving critical DoS, arbitrary file reads and CSRF vectors in the build/server environments.
+
+### Fixed
+
+- **E2E Stability:** Eliminated extreme CI unreliability and transient test timeouts (Playwright) by propagating internal standalone `_next/static` assets properly and refactoring deep UI interactions inside defensive `expect().toPass()` loops.
+- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.
+- **Core Fallbacks:** Preserved primary failure contexts and enhanced Edge-case error handling pipelines across chat and fallback loops.
+- **Proxy/Hooks:** Optimized local git hooks, normalized token coverage endpoints into `/coverage`, and guarded GLM region lookups.
+
+### 🛠️ Maintenance
+
+- **CI/CD Stabilization:** Prevented random GitHub Runner freezes by decoupling sharded processes, adjusting test concurrencies, unref-ing active connections on server teardown, and strictly capping job timeout durations.
+
+### Документация
+
+- **I18n Engine:** Synchronized and pushed deep Machine Translation updates across all 32 natively-supported languages (682 translation nodes aligned).
+
+### Coverage
+
+- **Testing:** Consolidated the workspace test coverage framework hitting 92.1% statement line coverage, with new rigid unit-tests matching API key policies and tool scopes.
+
+---
+
+## [3.5.2] — 2026-04-05
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Qoder API Native Integration:** Completely refactored the Qoder Executor to bypass the legacy COSY AES/RSA encryption algorithm, routing directly into the native DashScope OpenAi-compatible URL. Eliminates complex dependencies on Node `crypto` modules while improving stream fidelity.
+- **Resilience Engine Overhaul:** Integrated context overflow graceful fallbacks, proactive OAuth token detection, and empty-content emission prevention (#990).
+- **Context-Optimized Routing Strategy:** Added new intelligent routing capability to natively maximize context windows in automated combo deployments (#990).
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Responses API Stream Corruption:** Fixed deep-cloning corruption where Anthropic/OpenAI translation boundaries stripped `response.` specific SSE prefixes from streaming boundaries (#992).
+- **Claude Cache Passthrough Alignment:** Aligned CC-Compatible cache markers consistently with upstream Client Pass-Through mode preserving prompt caching.
+- **Turbopack Memory Leak:** Pinned Next.js to strict `16.0.10` preventing memory leaks and build staleness from recent upstream Turbopack hashed module regressions (#987).
+
+---
+
+## [3.5.1] — 2026-04-04
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Models.dev Integration:** Integrated models.dev as the authoritative runtime source for model pricing, capabilities, and specifications, overriding hardcoded prices. Includes a settings UI to manage sync intervals, translation strings for all 30 languages, and robust test coverage.
+- **Provider Native Capabilities:** Added support for declaring and checking native API features (e.g. `systemInstructions_supported`) preventing failures by sanitizing invalid roles. Currently configured for Gemini Base and Antigravity OAuth providers.
+- **API Provider Advanced Settings:** Added per-connection custom `User-Agent` overrides for API-key provider connections. The override is stored in `providerSpecificData.customUserAgent` and now applies to validation probes and upstream execution requests.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Qwen OAuth Reliability:** Resolved a series of OAuth integration issues including a 400 Bad Request blocker on expired tokens, fallback generation for parsing OIDC `access_token` properties when `id_token` is omitted, model catalog discovery errors, and strict filtering of `X-Dashscope-*` headers to avoid 400 rejection from OpenAI-compatible endpoints.
+
+## [3.5.0] — 2026-04-03
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Auto-Combo & Routing:** Completed native CRUD lifecycle integration for the advanced Auto-Combo engine (#955).
+- **Core Operations:** Fixed missing translations for new native Auto-Combos options (#955).
+- **Security Validation:** Disabled SQLite auto-backup tasks natively during unit test CI execution to explicitly resolve Node 22 Event Loop hanging memory leaks (#956).
+- **Ecosystem Proxies:** Completed explicit integration mapping model synchronization schedulers, OAuth cycles, and Token Check refreshes safely through OmniRoute's native system upstream proxies (#953).
+- **MCP Extensibility:** Added and successfully registered the new `omniroute_web_search` MCP framework tool out of beta into production schemas (#951).
+- **Tokens Buffer Logic:** Added runtime configuration limits extending configurable input/output token buffers for precise Usage Tracking metrics (#959).
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **CodeQL Remediation:** Fully resolved and secured critical string indexing operations preventing Server-Side Request Forgery (SSRF) arrays indexing heuristics alongside polynomial algorithmic backtracking (ReDoS) inside deep proxy dispatcher modules.
+- **Crypto Hashes:** Replaced weak unverified legacy OAuth 1.0 hashes with robust HMAC-SHA-256 standard validation primitives ensuring tight access controls.
+- **API Boundary Protection:** Correctly verified and mapped structural route protections enforcing strict `isAuthenticated()` middleware logic covering newer dynamic endpoints targeting settings manipulation and native skills loading.
+- **CLI Ecosystem Compat:** Resolved broken native runtime parser bindings crashing `where` environment detectors strictly over `.cmd/.exe` edge cases gracefully for external plugins (#969).
+- **Cache Architecture:** Refactored exact Analytics and System Settings dashboard parameters layout structure caching to maintain stable re-hydration persistence cycles resolving visual unaligned state flashes (#952).
+- **Claude Caching Standards:** Normalized and accurately strictly preserved critical ephemeral block markers `ephemeral` caching TTL orders for downstream nodes enforcing standard compatible CC requests mapping cleanly without dropped metrics (#948).
+- **Internal Aliases Auth:** Simplified internal runtime mappings normalizing Codex credential payload lookups inside global translation parameters resolving 401 unauthenticated drops (#958).
+
+### 🛠️ Maintenance
+
+- **UI Discoverability:** Correctly adjusted layout categorizations explicitly separating free tier providers logic improving UX sorting flows inside the general API registry pages (#950).
+- **Deployment Topology:** Unified Docker deployment artifacts ensuring the root `fly.toml` matches expected cloud instance parameters out-of-the-box natively handling automated deployments scaling properly.
+- **Development Tooling:** Decoupled `LKGP` runtime parameters into explicit DB layer abstraction caching utilities ensuring strict test isolation coverage for core caching layers safely.
+
+---
+
+## [3.4.9] — 2026-04-03
+
+### Features & Refactoring
+
+- **Dashboard Auto-Combo Panel:** Completely refactored the `/dashboard/auto-combo` UI to seamlessly integrate with native Dashboard Cards and standardized visual padding/headers. Added dynamic visual progress bars mapping model selection weight mechanisms.
+- **Settings Routing Sync:** Fully exposed advanced routing `priority` and `weighted` schema targets internally inside global settings fallback lists.
+
+### Bug Fixes
+
+- **Memory & Skills Locale Nodes:** Resolved empty rendering tags for Memory and Skills options directly inside global settings views by wiring all `settings.*` mapping values internally into `en.json` (also mapped implicitly for cross-translation tools).
+
+### Internal Integrations
+
+- Integrated PR #946 — fix: preserve Claude Code compatibility in responses conversion
+- Integrated PR #944 — fix(gemini): preserve thought signatures across antigravity tool calls
+- Integrated PR #943 — fix: restore GitHub Copilot body
+- Integrated PR #942 — Fix cc-compatible cache markers
+- Integrated PR #941 — refactor(auth): improve NVIDIA alias lookup + add LKGP error logging
+- Integrated PR #939 — Restore Claude OAuth localhost callback handling
+- _(Note: PR #934 was omitted from 3.4.9 cycle to prevent core conflict regressions)_
+
+---
+
+## [3.4.8] — 2026-04-03
+
+### Сигурност
+
+- Fully remediated all outstanding Github Advanced Security (CodeQL) findings and Dependabot alerts.
+- Fixed insecure randomness vulnerabilities by migrating from `Math.random` to `crypto.randomUUID()`.
+- Secured shell commands in automated scripts from string injection.
+- Migrated vulnerable catastrophic backtracking RegEx parsing patterns in chat/translation pipelines.
+- Enhanced output sanitization controls inside React UI components and Server Sent Events (SSE) tag injection.
+
+---
+
+## [3.4.7] — 2026-04-03
+
+### Функции
+
+- Added `Cryptography` node to Monitoring and MCP health checks (#798)
+- Hardened model-catalog route permissions mapping (`/models`) (#781)
+
+### Bug Fixes
+
+- Fixed Claude OAuth token refreshes failing to preserve cache contexts (#937)
+- Fixed CC-Compatible provider errors rendering cached models unreachable (#937)
+- Fixed GitHub Executor errors related to invalid context arrays (#937)
+- Fixed NPM-installed CLI tools healthcheck failures on Windows (#935)
+- Fixed payload translation dropping valid content due to invalid API fields (#927)
+- Fixed runtime crash in Node 25 regarding API key execution (#867)
+- Fixed MCP standalone module-resolution (`ERR_MODULE_NOT_FOUND`) via `esbuild` (#936)
+- Fixed NVIDIA NIM routing credential resolution alias mismatch (#931)
+
+### Сигурност
+
+- Added safe strict input boundary protection against raw `shell: true` remote-code execution injections.
+
+---
+
+## [3.4.6] - 2026-04-02
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Providers:** Registered new image, video, and audio generation providers from the community-requested list (#926).
+- **Dashboard UI:** Added standalone sidebar navigation for the new Memory and Skills modules (#926).
+- **i18n:** Added translation strings and layout mappings across 30 languages for the Memory and Skills namespaces.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Resilience:** Prevented the proxy Circuit Breaker from becoming stuck in an OPEN state indefinitely by handling direct transitions to CLOSED state inside fallback combo paths (#930).
+- **Protocol Translation:** Patched the streaming transformer to sanitize response blocks based on the expected _source_ protocol rather than the provider _target_ protocol, fixing Anthropics models wrapped in OpenAI payloads crashing Claude Code (#929).
+- **API Specs & Gemini:** Fixed `thought_signature` parsing in `openai-to-gemini` and `claude-to-gemini` translators, preventing HTTP 400 errors across all Gemini 3 API tool-calls.
+- **Providers:** Cleaned up non-OpenAI-compatible endpoints preventing valid upstream connections (#926).
+- **Cache Trends:** Fixed an invalid property mapping data mismatch causing Cache Trends UI charts to crash, and extracted redundant cache metric widgets (#926).
+
+---
+
+## [3.4.5] - 2026-04-02
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **CLIProxyAPI Ecosystem Integration:** Added the `cliproxyapi` executor with built-in module-level caching and proxy routing. Introduced a comprehensive Version Manager service to automatically test health, download binaries from GitHub, spawn isolated background processes, and cleanly manage the lifecycle of external CLI tools directly through the UI. Includes DB tables for proxy configuration to enable automatic SSRF-gated cross-routing of external OpenAI requests via the local CLI tool layer (#914, #915, #916).
+- **Qoder PAT Support:** Integrated Personal Access Tokens (PAT) support directly via the local `qodercli` transport instead of legacy remote `.cn` browser configurations (#913).
+- **Gemini 3.1 Pro Preview (GitHub):** Added `gemini-3.1-pro-preview` canonical explicit model support natively into the GitHub Copilot provider while preserving older routing aliases (#924).
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **GitHub Copilot Token Stability:** Repaired the Copilot token refresh loop where stale tokens weren't deep-merged into DB, and removed `reasoning_text` fields that were fatally breaking downstream Anthropic block conversions for multi-turn chats (#923).
+- **Global Timeout Matrix:** Centralized and parameterized request timeouts explicitly from `REQUEST_TIMEOUT_MS` to prevent hidden (~300s) default fetch buffers prematurely cutting off long-lived SSE streaming responses from heavy reasoning models (#918).
+- **Cloudflare Quick Tunnels State:** Fixed a severe state inconsistency where restarted OmniRoute instances erroneously showed destroyed tunnels as active, and defaulted cloudflared tunneling to `HTTP/2` to eliminate UDP receive buffer log spam (#925).
+- **i18n Translation Overhaul (Czech & Hindi):** Fixed Hindi code from DEPRECATED `in.json` to canonical `hi.json`, overhauled Czech text mappings, extracted `untranslatable-keys.json` to fix CI/CD false-positive validations, and generated comprehensive `I18N.md` docs to guide translators (#912).
+- **Tokens Provider Recovery:** Fixed Qwen losing specific `resourceUrl` endpoints after automatic health-check token refreshes because of missing DB deep merges (#917).
+- **CC Compatible UX & Streaming:** Unified the Add CC/OpenAI/Anthropic compatible actions around the Anthropic UI treatment, forced CC-compatible upstream requests to use SSE while still returning streaming or non-streaming responses based on the client request, removed CC model-list configuration/import support in favor of an explicit unsupported-model-listing error, and made CC-compatible Available Models mirror the OAuth Claude Code registry list (#921).
+
+---
+
+## [3.4.4] - 2026-04-02
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Responses API Token Reporting:** Emit `response.completed` with correct `input_tokens`/`output_tokens` fields for Codex CLI clients, fixing token usage display (#909 — thanks @christopher-s).
+- **SQLite WAL Checkpoint on Shutdown:** Flush WAL changes into the primary database file during graceful shutdown/restart, preventing data loss on Docker container stops (#905 — thanks @rdself).
+- **Graceful Shutdown Signal:** Changed `/api/restart` and `/api/shutdown` routes from `process.exit(0)` to `process.kill(SIGTERM)`, ensuring the shutdown handler runs before exit.
+- **Docker Stop Grace Period:** Added `stop_grace_period: 40s` to Docker Compose files and `--stop-timeout 40` to Docker run examples.
+
+### 🛠️ Maintenance
+
+- Closed 5 resolved/not-a-bug issues (#872, #814, #816, #890, #877).
+- Triaged 6 issues with needs-info requests (#892, #887, #886, #865, #895, #870).
+- Responded to CLI detection tracking issue (#863) with contributor guidance.
+
+---
+
+## [3.4.3] - 2026-04-02
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Antigravity Memory & Skills:** Completed remote memory and skills injection for the Antigravity provider at the proxy network level.
+- **Claude Code Compatibility:** Built a natively hidden compatibility bridge for Claude Code, passing tools and formatting through cleanly.
+- **Web Search MCP:** Added the `omniroute_web_search` tool with the `execute:search` scope.
+- **Cache Components:** Implemented dynamic cache components utilizing TDD.
+- **UI & Customization:** Added custom favicon support, appearance tabs, wired whitelabeling to the sidebar, and added Windsurf guide steps across all 33 languages.
+- **Log Retention:** Unified request log retention and artifacts natively.
+- **Model Enhancements:** Added explicit `contextLength` for all opencode-zen models.
+- **i18n & translations:** Integrated 33 language translations natively, including placeholder CI validations and Chinese documentation updates (#873, #869).
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Qwen OAuth Mapping:** Reverted `id_token` reliance to `access_token` and enabled dynamic `resource_url` API endpoint injection for proper regional routing (#900).
+- **Model Sync Engine:** Stored the strict internal Provider ID in `getCustomModels()` sync routines instead of the UI Channel Alias format, preventing SQLite catalog insertion failures (#903).
+- **Claude Code & Codex:** Standardized non-streaming blank responses to Anthropic-formatted `(empty response)` to prevent CLI proxy crashes (#866).
+- **CC Compatible Routing:** Resolved duplicate `/v1` endpoint collision during path concatenation for generic Claude Code gateways (#904).
+- **Antigravity Dashboards:** Blocked unlimited quota models from falsely registering as exhausted `100% Usage` limit states in the Provider Usage UI (#857).
+- **Claude Image Passthrough:** Fixed Claude models missing image block passthroughs (#898).
+- **Gemini CLI Routing:** Resolved 403 authorization lockouts and content accumulation issues by refreshing the project ID via `loadCodeAssist` (#868).
+- **Antigravity Stability:** Corrected model access lists, enforced 404 lockouts, fixed 429 cascades locking out standard connections, and capped `gemini-3.1-pro` output tokens (#885).
+- **Provider Sync Cadence:** Repaired the provider limits synchronization cadence via the internal scheduler (#888).
+- **Dashboard Optimization:** Resolved `/dashboard/limits` UI freezing when processing 70+ accounts via chunk parallelization (#784).
+- **SSRF Hardening:** Enforced strict SSRF IP range filtering and blocked the `::1` loopback interface.
+- **MIME Types:** Standardized `mime_type` to snake_case to match Gemini API specifications.
+- **CI Stabilization:** Fixed failing analytics/settings Playwright selectors and request assertions so GitHub Actions E2E runs pass reliably across localized UIs and switch-based controls.
+- **Deterministic Tests:** Removed date-sensitive quota fixtures from Copilot usage tests and aligned idempotency/model catalog tests with the merged runtime behavior.
+- **MCP Type Hardening:** Removed zero-budget explicit `any` regressions from the MCP server tool registration path.
+- **Model Sync Engine:** Bypassed destructive `replace` overrides when the provider's auto-sync yields an empty model list, maintaining stability for dynamic catalogs (#899).
+
+### 🛠️ Maintenance
+
+- **Pipeline Logging:** Refined pipeline logging artifacts and enforce retention caps (#880).
+- **AGENTS.md Overhaul:** Condensed from 297→153 lines. Added build/test/style guidelines, code workflows (Prettier, TypeScript, ESLint), and trimmed verbose tables (#882).
+- **Release Branch Integration:** Consolidated the active feature branches into `release/v3.4.2` on top of current `main` and validated the branch with lint, unit, coverage, build, and CI-mode E2E runs.
+- **Testing:** Added vitest configuration for component testing and Playwright specs for settings toggles.
+- **Doc Updates:** Expanded root readmes, translated chinese documents natively, and cleaned up obsolete files.
+
+## [3.4.1] - 2026-03-31
+
+> [!WARNING]
+> **BREAKING CHANGE: request logging, retention, and logging environment variables have been redesigned.**
+> On the first startup after upgrading, OmniRoute archives legacy request logs from `DATA_DIR/logs/`, legacy `DATA_DIR/call_logs/`, and `DATA_DIR/log.txt` into `DATA_DIR/log_archives/*.zip`, then removes the deprecated layout and switches to the new unified artifact format under `DATA_DIR/call_logs/`.
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **.ENV Migration Utility:** Included `scripts/migrate-env.mjs` to seamlessly migrate `<v3.3` configurations to `v3.4.x` strict security validation constraints (FASE-01), repairing startup crashes caused by short `JWT_SECRET` instances.
+- **Kiro AI Cache Optimization:** Implemented deterministic `conversationId` generation (uuidv5) to enable AWS Builder ID Prompt Caching properly across invocations (#814).
+- **Dashboard UI Restoration & Consolidation:** Resolved sidebar logic omitting the Debug section, and cleared Nextjs routing warnings by moving standalone `/dashboard/mcp` and `/dashboard/a2a` pages explicitly into embedded Endpoint Proxy UI components.
+- **Unified Request Log Artifacts:** Request logging now stores one SQLite index row plus one JSON artifact per request under `DATA_DIR/call_logs/`, with optional pipeline capture embedded in the same file.
+- **Language:** Improved the Chinese translation (#855)
+- **Opencode-Zen Models:** Added 4 free models to opencode-zen registry (#854)
+- **Tests:** Added unit and E2E tests for settings toggles and bug fixes (#850)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **429 Quota Parsing:** Parsed long quota reset times from error bodies to honor correct backoffs and prevent rate-limited account bans (#859)
+- **Prompt Caching:** Preserved client `cache_control` headers for all Claude-protocol providers (like Minimax, GLM, and Bailian), correctly recognizing caching support (#856)
+- **Model Sync Logs:** Reduced log spam by recording `sync-models` only when the channel actually modifies the list (#853)
+- **Provider Quota & Token Parsing:** Switched Antigravity limits to use `retrieveUserQuota` natively and correctly mapped Claude token refresh payloads to URL-encoded forms (#862)
+- **Rate-Limiting Stability:** Universalized the 429 Retry-After parsing architecture to cap provider-induced cooldowns at 24 hours max (#862)
+- **Dashboard Limit Rendering:** Re-architected `/dashboard/limits` quota mapping to render immediately inside chunks, fixing a major UI freezing delay on accounts exceeding 70 active connections (#784)
+- **QWEN OAuth Authorization:** Mapped the OIDC `id_token` as the primary API Bearer token for Dashscope requests, fixing immediate 401 Unauthorized errors after connecting accounts or refreshing tokens (#864)
+- **ZAI API Stability:** Hardened Server-Sent Events compiler to gracefully fallback to empty strings when DeepSeek providers stream mathematically null content during reasoning phases (#871)
+- **Claude Code/Codex Translations:** Protected non-streaming payload conversions against empty responses from upstream Codex tools, avoiding catastrophic TypeErrors (#866)
+- **NVIDIA NIM Rendering:** Conditionally stripped identical provider prefixes dynamically pushed by audio models, eliminating duplicate `nim/nim` tag structures throwing 404 on the Media Playground (#872)
+
+### ⚠️ Breaking Changes
+
+- **Request Log Layout:** Removed the old multi-file `DATA_DIR/logs/` request log sessions and the `DATA_DIR/log.txt` summary file. New requests are written as single JSON artifacts in `DATA_DIR/call_logs/YYYY-MM-DD/`.
+- **Logging Environment Variables:** Replaced `LOG_*`, `ENABLE_REQUEST_LOGS`, `CALL_LOGS_MAX`, `CALL_LOG_PAYLOAD_MODE`, and `PROXY_LOG_MAX_ENTRIES` with the new `APP_LOG_*` and `CALL_LOG_RETENTION_DAYS` configuration model.
+- **Pipeline Toggle Setting:** Replaced the legacy `detailed_logs_enabled` setting with `call_log_pipeline_enabled`. New pipeline details are embedded inside the request artifact instead of being stored as separate `request_detail_logs` records.
+
+### 🛠️ Maintenance
+
+- **Legacy Request Log Upgrade Backup:** Upgrades now archive old `data/logs/`, legacy `data/call_logs/`, and `data/log.txt` layouts into `DATA_DIR/log_archives/*.zip` before removing the deprecated structure.
+- **Streaming Usage Persistence:** Streaming requests now write a single `usage_history` row on completion instead of emitting a duplicate in-progress usage row with empty status metadata.
+- **Logging Follow-up Cleanup:** Pipeline logs no longer capture `SOURCE REQUEST`, request artifact entries now honor `CALL_LOG_MAX_ENTRIES`, and application log archives now honor `APP_LOG_MAX_FILES`.
+
+---
+
+## [3.4.0] - 2026-03-31
+
+### Функции
+
+- **Subscription Utilization Analytics:** Added quota snapshot time-series tracking, Provider Utilization and Combo Health tabs with recharts visualizations, and corresponding API endpoints (#847)
+- **SQLite Backup Control:** New `OMNIROUTE_DISABLE_AUTO_BACKUP` env flag to disable automatic SQLite backups (#846)
+- **Model Registry Update:** Injected `gpt-5.4-mini` into the Codex provider's array of models (#756)
+- **Provider Limit Tracking:** Track and display when provider rate limits were last refreshed per account (#843)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Qwen Auth Routing:** Re-routed Qwen OAuth completions from the DashScope API to the Web Inference API (`chat.qwen.ai`), resolving authorization failures (#844, #807, #832)
+- **Qwen Auto-Retry Loop:** Added targeted 429 Quota Exceeded backoff handling inside `chatCore` protecting burst requests
+- **Codex OAuth Fallback:** Modern browser popup blocking no longer traps the user; it automatically falls back to manual URL entry (#808)
+- **Claude Token Refresh:** Anthropic's strict `application/json` boundaries are now respected during token generation instead of encoded URLs (#836)
+- **Codex Messages Schema:** Stripped purist `messages` injects from native passthrough requests to avoid structural rejections from the ChatGPT upstream (#806)
+- **CLI Detection Size Limit:** Safely bumped the Node binary scanning upper bound from 100MB to 350MB, allowing heavy standalone tools like Claude Code (229MB) and OpenCode (153MB) to be correctly detected by the VPS runtime (#809)
+- **CLI Runtime Environment:** Restored ability for CLI configurations to respect user override paths (`CLI_{PROVIDER}_BIN`) bypassing strict path-bound discovery rules
+- **Nvidia Header Conflicts:** Removed `prompt_cache_key` properties from upstream headers when calling non-Anthropic providers (#848)
+- **Codex Fast Tier Toggle:** Restored Codex service tier toggle contrast in light mode (#842)
+- **Test Infrastructure:** Updated `t28-model-catalog-updates` test that incorrectly expected the outdated DashScope endpoint for the Qwen native registry
+
+---
+
+## [3.3.9] - 2026-03-31
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Custom Provider Rotation:** Integrated `getRotatingApiKey` internally inside DefaultExecutor, ensuring `extraApiKeys` rotation triggers correctly for custom and compatible upstream providers (#815)
+
+---
+
+## [3.3.8] - 2026-03-30
+
+### Функции
+
+- **Models API Filtering:** Endpoint `/v1/models` now dynamically filters its list based on the permissions tied to the `Authorization: Bearer <token>` when restricted access is on (#781)
+- **Qoder Integration:** Native integration for Qoder AI natively replacing the legacy iFlow platform mappings (#660)
+- **Prompt Cache Tracking:** Added tracking capabilities and frontend visualization (Stats card) for semantic and prompt caching in the Dashboard UI
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Cache Dashboard Sizing:** Improved the UI layout sizes and context headers for the advanced cache pages (#835)
+- **Debug Sidebar Visibility:** Fixed an issue where the debug toggle wouldn't correctly show/hide sidebar debug details (#834)
+- **Gemini Model Prefixing:** Modified the namespace fallback to properly route via `gemini-cli/` instead of `gc/` to respect upstream specs (#831)
+- **OpenRouter Sync:** Improved compatibility synchronization to automatically ingest the available models catalog correctly from OpenRouter (#830)
+- **Streaming Payloads Mapping:** Reserialization of reasoning fields natively resolves conflict alias paths when output is streaming to edge devices
+
+---
+
+## [3.3.7] - 2026-03-30
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **OpenCode Config:** Restructured generated `opencode.json` to use the `@ai-sdk/openai-compatible` record-based schema with `options` and `models` as object maps instead of flat arrays, fixing config validation failures (#816)
+- **i18n Missing Keys:** Added missing `cloudflaredUrlNotice` translation key across all 30 language files to prevent `MISSING_MESSAGE` console errors in the Endpoint page (#823)
+
+---
+
+## [3.3.6] - 2026-03-30
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Token Accounting:** Included prompt cache tokens safely in historical usage inputs calculations for correct quota deductions (PR #822)
+- **Combo Test Probes:** Fixed combo testing logic false negatives by resolving parsing for reasoning-only responses and enabled massive parallelization via Promise.all (PR #828)
+- **Docker Quick Tunnels:** Embedded required ca-certificates inside the base runtime container to resolve Cloudflared TLS startup failures, and surfaced stdout network errors replacing generic exit codes (PR #829)
+
+---
+
+## [3.3.5] - 2026-03-30
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Gemini Quota Tracking:** Added real-time Gemini CLI quota tracking via the `retrieveUserQuota` API (PR #825)
+- **Cache Dashboard:** Enhanced the Cache Dashboard to display prompt cache metrics, 24h trends, and estimated cost savings (PR #824)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **User Experience:** Removed invasive auto-opening OAuth modal loops on barren provider detailed pages (PR #820)
+- **Dependency Updates:** Bumped and locked down dependencies for development and production trees including Next.js 16.2.1, Recharts, and TailwindCSS 4.2.2 (PR #826, #827)
+
+---
+
+## [3.3.4] - 2026-03-30
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **A2A Workflows:** Added deterministic FSM orchestrator for multi-step agent workflows.
+- **Graceful Degradation:** Added a new multi-layer fallback framework to preserve core functionality during partial system outages.
+- **Config Audit:** Added an audit trail with diff detection to track changes and enable configuration rollbacks.
+- **Provider Health:** Added provider expiration tracking with proactive UI alerts for expiring API keys.
+- **Adaptive Routing:** Added an adaptive volume and complexity detector to override routing strategies dynamically based on load.
+- **Provider Diversity:** Implemented provider diversity scoring via Shannon entropy to improve load distribution.
+- **Auto-Disable Bounds:** Added an Auto-Disable Banned Accounts setting toggle to the Resilience dashboard.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Codex & Claude Compatibility:** Fixed UI fallbacks, patched Codex non-streaming integration issues, and resolved CLI runtime detection on Windows.
+- **Release Automation:** Expanded permissions required for the Electron App build in GitHub Actions.
+- **Cloudflare Runtime:** Addressed correct runtime isolation exit codes for Cloudflared tunnel components.
+
+### 🧪 Tests
+
+- **Test Suite Updates:** Expanded test coverage for volume detectors, provider diversity, configuration audit, and FSM.
+
+---
+
+## [3.3.3] - 2026-03-29
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **CI/CD Reliability:** Patched GitHub Actions to stable dependency versions (`actions/checkout@v4`, `actions/upload-artifact@v4`) to mitigate unannounced builder environment deprecations.
+- **Image Fallbacks:** Replaced arbitrary fallback chains in `ProviderIcon.tsx` with explicit asset validation to prevent UI loading `<Image>` components for files that don't exist, eliminating `404` errors in dashboard console logs (#745).
+- **Admin Updater:** Dynamic source-installation detection for the dashboard Updater. Safely disables the `Update Now` button when OmniRoute is built locally rather than through npm, prompting for `git pull` (#743).
+- **Update ERESOLVE Error:** Injected `package.json` overrides for `react`/`react-dom` and enabled `--legacy-peer-deps` within the internal automatic updater scripts to resolve breaking dependency tree conflicts with `@lobehub/ui`.
+
+---
+
+## [3.3.2] - 2026-03-29
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Cloudflare Tunnels:** Cloudflare Quick Tunnel integration with dashboard controls (PR #772).
+- **Diagnostics:** Semantic cache bypass for combo live tests (PR #773).
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Streaming Stability:** Apply `FETCH_TIMEOUT_MS` to streaming requests' initial `fetch()` call to prevent 300s Node.js TCP timeout causing silent task failures (#769).
+- **i18n:** Add missing `windsurf` and `copilot` entries to `toolDescriptions` across all 33 locale files (#748).
+- **GLM Coding Audit:** Complete provider audit fixing ReDoS vulnerabilities, context window sizing (128k/16k), and model registry syncing (PR #778).
+
+---
+
+## [3.3.1] - 2026-03-29
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **OpenAI Codex:** Fallback processing fix for `type: "text"` elements carrying null or empty datasets that caused 400 rejection (#742).
+- **Opencode:** Update schema alignment to singular `provider` to match official spec (#774).
+- **Gemini CLI:** Inject missing end-user quota headers preventing 403 authorization lockouts (#775).
+- **DB Recovery:** Refactor multipart payload imports into raw binary buffered arrays to bypass reverse proxy max body limits (#770).
+
+---
+
+## [3.3.0] - 2026-03-29
+
+### ✨ Enhancements & Refactoring
+
+- **Release Stabilization** — Finalized v3.2.9 release (combo diagnostics, quality gates, Gemini tool fix) and created missing git tag. Consolidated all staged changes into a single atomic release commit.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Auto-Update Test** — Fixed `buildDockerComposeUpdateScript` test assertion to match unexpanded shell variable references (`$TARGET_TAG`, `${TARGET_TAG#v}`) in the generated deploy script, aligning with the refactored template from v3.2.8.
+- **Circuit Breaker Test** — Hardened `combo-circuit-breaker.test.mjs` by injecting `maxRetries: 0` to prevent retry inflation from skewing failure count assertions during breaker state transitions.
+
+---
+
+## [3.2.9] - 2026-03-29
+
+### ✨ Enhancements & Refactoring
+
+- **Combo Diagnostics** — Introduced a live test bypass flag (`forceLiveComboTest`) allowing administrators to execute real upstream health checks that bypass all local circuit-breaker and cooldown state mechanisms, enabling precise diagnostics during rolling outages (PR #759)
+- **Quality Gates** — Added automated response quality validation for combos and officially integrated `claude-4.6` model support into the core routing schemas (PR #762)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Tool Definition Validation** — Repaired Gemini API integration by normalizing enum types inside tool definitions, preventing upstream HTTP 400 parameter errors (PR #760)
+
+---
+
+## [3.2.8] - 2026-03-29
+
+### ✨ Enhancements & Refactoring
+
+- **Docker Auto-Update UI** — Integrated a detached background update process for Docker Compose deployments. The Dashboard UI now seamlessly tracks update lifecycle events combining JSON REST responses with SSE streaming progress overlays for robust cross-environment reliability.
+- **Cache Analytics** — Repaired zero-metrics visualization mapping by migrating Semantic Cache telemetry logs directly into the centralized tracking SQLite module.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Authentication Logic** — Fixed a bug where saving dashboard settings or adding models failed with a 401 Unauthorized error when `requireLogin` was disabled. API endpoints now correctly evaluate the global authentication toggle. Resolved global redirection by reactivating `src/middleware.ts`.
+- **CLI Tool Detection (Windows)** — Prevented fatal initialization exceptions during CLI environment detection by catching `cross-spawn` ENOENT errors correctly. Adds explicit detection paths for `\AppData\Local\droid\droid.exe`.
+- **Codex Native Passthrough** — Normalized model translation parameters preventing context poisoning in proxy pass-through mode, enforcing generic `store: false` constraints explicitly for all Codex-originated requests.
+- **SSE Token Reporting** — Normalized provider tool-call chunk `finish_reason` detection, fixing 0% Usage analytics for stream-only responses missing strict `<DONE>` indicators.
+- **DeepSeek <think> Tags** — Implemented an explicit `<think>` extraction mapping inside `responsesHandler.ts`, ensuring DeepSeek reasoning streams map equivalently to native Anthropic `<thinking>` structures.
+
+---
+
+## [3.2.7] - 2026-03-29
+
+### Fixed
+
+- **Seamless UI Updates**: The "Update Now" feature on the Dashboard now provides live, transparent feedback using Server-Sent Events (SSE). It performs package installation, native module rebuilds (better-sqlite3), and PM2 restarts reliably while showing real-time loaders instead of silently hanging.
+
+---
+
+## [3.2.6] — 2026-03-29
+
+### ✨ Enhancements & Refactoring
+
+- **API Key Reveal (#740)** — Added a scoped API key copy flow in the Api Manager, protected by the `ALLOW_API_KEY_REVEAL` environment variable.
+- **Sidebar Visibility Controls (#739)** — Admins can now hide any sidebar navigation link via the Appearance settings to reduce visual clutter.
+- **Strict Combo Testing (#735)** — Hardened the combo health check endpoint to require live text responses from models instead of just soft reachability signals.
+- **Streamed Detailed Logs (#734)** — Switched detailed request logging for SSE streams to reconstruct the final payload, saving immense amounts of SQLite database size and significantly cleaning up the UI.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **OpenCode Go MiniMax Auth (#733)** — Corrected the authentication header logic for `minimax` models on OpenCode Go to use `x-api-key` instead of standard bearer tokens across the `/messages` protocol.
+
+---
+
+## [3.2.5] — 2026-03-29
+
+### ✨ Enhancements & Refactoring
+
+- **Void Linux Deployment Support (#732)** — Integrated `xbps-src` packaging template and instructions to natively compile and install OmniRoute with `better-sqlite3` bindings via cross-compilation target.
+
+## [3.2.4] — 2026-03-29
+
+### ✨ Enhancements & Refactoring
+
+- **Qoder AI Migration (#660)** — Completely migrated the legacy `iFlow` core provider onto `Qoder AI` maintaining stable API routing capabilities.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Gemini Tools HTTP 400 Payload Invalid Argument (#731)** — Prevented `thoughtSignature` array injections inside standard Gemini `functionCall` sequences blocking agentic routing flows.
+
+---
+
+## [3.2.3] — 2026-03-29
+
+### ✨ Enhancements & Refactoring
+
+- **Provider Limits Quota UI (#728)** — Normalized quota limit logic and data labeling inside the Limits interface.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Core Routing Schemas & Leaks** — Expanded `comboStrategySchema` to natively support `fill-first` and `p2c` strategies to unblock complex combo editing natively.
+- **Thinking Tags Extraction (CLI)** — Restructured CLI token responses sanitizer RegEx capturing model reasoning structures inside streams avoiding broken `<thinking>` extractions breaking response text output format.
+- **Strict Format Enforcements** — Hardened pipeline sanitization execution making it universally apply to translation mode targets.
+
+---
+
+## [3.2.2] — 2026-03-29
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Four-Stage Request Log Pipeline (#705)** — Refactored log persistence to save comprehensive payloads at four distinct pipeline stages: Client Request, Translated Provider Request, Provider Response, and Translated Client Response. Introduced `streamPayloadCollector` for robust SSE stream truncation and payload serialization.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Mobile UI Fixes (#659)** — Prevented table components on the dashboard from breaking the layout on narrow viewports by adding proper horizontal scrolling and overflow containment to `DashboardLayout`.
+- **Claude Prompt Cache Fixes (#708)** — Ensured `cache_control` blocks in Claude-to-Claude fallback loops are faithfully preserved and passed safely back to Anthropic models.
+- **Gemini Tool Definitions (#725)** — Fixed schema translation errors when declaring simple `object` parameter types for Gemini function calling.
+
+## [3.2.1] — 2026-03-29
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Global Fallback Provider (#689)** — When all combo models are exhausted (502/503), OmniRoute now attempts a configurable global fallback model before returning the error. Set `globalFallbackModel` in settings to enable.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Fix #721** — Fixed context pinning bypass during tool-call responses. Non-streaming tagging used wrong JSON path (`json.messages` → `json.choices[0].message`). Streaming injection now triggers on `finish_reason` chunks for tool-call-only streams. `injectModelTag()` now appends synthetic pin messages for non-string content.
+- **Fix #709** — Confirmed already fixed (v3.1.9) — `system-info.mjs` creates directories recursively. Closed.
+- **Fix #707** — Confirmed already fixed (v3.1.9) — empty tool name sanitization in `chatCore.ts`. Closed.
+
+### 🧪 Tests
+
+- Added 6 unit tests for context pinning with tool-call responses (null content, array content, roundtrip, re-injection)
+
+## [3.2.0] — 2026-03-28
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Cache Management UI** — Added a dedicated semantic caching dashboard at \`/dashboard/cache\` with targeted API invalidation and 31-language i18n support (PR #701 by @oyi77)
+- **GLM Quota Tracking** — Added real-time usage and session quota tracking for the GLM Coding (Z.AI) provider (PR #698 by @christopher-s)
+- **Detailed Log Payloads** — Wired full four-stage pipeline payload capturing (original, translated, provider-response, streamed-deltas) directly into the UI (PR #705 by @rdself)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Fix #708** — Prevented token bleeding for Claude Code users routing through OmniRoute by correctly preserving native \`cache_control\` headers during Claude-to-Claude passthrough (PR #708 by @tombii)
+- **Fix #719** — Setup internal auth boundaries for \`ModelSyncScheduler\` to prevent unauthenticated daemon failures on startup (PR #719 by @rdself)
+- **Fix #718** — Rebuilt badge rendering in Provider Limits UI preventing bad quota boundaries overlap (PR #718 by @rdself)
+- **Fix #704** — Fixed Combo Fallbacks breaking on HTTP 400 content-policy errors preventing model-rotation dead-routing (PR #704 by @rdself)
+
+### 🔒 Security & Dependencies
+
+- Bumped \`path-to-regexp\` to \`8.4.0\` resolving dependabot vulnerabilities (PR #715)
+
+## [3.1.10] — 2026-03-28
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Fix #706** — Fixed icon fallback rendering caused by Tailwind V4 `font-sans` override by applying `!important` to `.material-symbols-outlined`.
+- **Fix #703** — Fixed GitHub Copilot broken streams by enabling `responses` to `openai` format translation for any custom models leveraging `apiFormat: "responses"`.
+- **Fix #702** — Replaced flat-rate usage tracking with accurate DB pricing calculations for both streaming and non-streaming responses.
+- **Fix #716** — Cleaned up Claude tool-call translation state, correctly parsing streaming arguments and preventing OpenAI `tool_calls` chunks from repeating the `id` field.
+
+## [3.1.9] — 2026-03-28
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Schema Coercion** — Auto-coerce string-encoded numeric JSON Schema constraints (e.g. `"minimum": "1"`) to proper types, preventing 400 errors from Cursor, Cline, and other clients sending malformed tool schemas.
+- **Tool Description Sanitization** — Ensure tool descriptions are always strings; converts `null`, `undefined`, or numeric descriptions to empty strings before sending to providers.
+- **Clear All Models Button** — Added i18n translations for the "Clear All Models" provider action across all 30 languages.
+- **Codex Auth Export** — Added Codex `auth.json` export and apply-local buttons for seamless CLI integration.
+- **Windsurf BYOK Notes** — Added official limitation warnings to the Windsurf CLI tool card documenting BYOK constraints.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Fix #709** — `system-info.mjs` no longer crashes when the output directory doesn't exist (added `mkdirSync` with recursive flag).
+- **Fix #710** — A2A `TaskManager` singleton now uses `globalThis` to prevent state leakage across Next.js API route recompilations in dev mode. E2E test suite updated to handle 401 gracefully.
+- **Fix #711** — Added provider-specific `max_tokens` cap enforcement for upstream requests.
+- **Fix #605 / #592** — Strip `proxy_` prefix from tool names in non-streaming Claude responses; fixed LongCat validation URL.
+- **Call Logs Max Cap** — Upgraded `getMaxCallLogs()` with caching layer, env var support (`CALL_LOGS_MAX`), and DB settings integration.
+
+### 🧪 Tests
+
+- Test suite expanded from 964 → 1027 tests (63 new tests)
+- Added `schema-coercion.test.mjs` — 9 tests for numeric field coercion and tool description sanitization
+- Added `t40-opencode-cli-tools-integration.test.mjs` — OpenCode/Windsurf CLI integration tests
+- Enhanced feature-tests branch with comprehensive coverage tooling
+
+### 📁 New Files
+
+| File | Purpose |
+| -------------------------------------------------------- | ----------------------------------------------------------- |
+| `open-sse/translator/helpers/schemaCoercion.ts` | Schema coercion and tool description sanitization utilities |
+| `tests/unit/schema-coercion.test.mjs` | Unit tests for schema coercion |
+| `tests/unit/t40-opencode-cli-tools-integration.test.mjs` | CLI tool integration tests |
+| `COVERAGE_PLAN.md` | Test coverage planning document |
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Claude Prompt Caching Passthrough** — Fixed cache_control markers being stripped in Claude passthrough mode (Claude → OmniRoute → Claude), which caused Claude Code users to deplete their Anthropic API quota 5-10x faster than direct connections. OmniRoute now preserves client's cache_control markers when sourceFormat and targetFormat are both Claude, ensuring prompt caching works correctly and dramatically reducing token consumption.
+
+## [3.1.8] - 2026-03-27
+
+### 🐛 Bug Fixes & Features
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Platform Core:** Implemented global state handling for Hidden Models & Combos preventing them from cluttering the catalog or leaking into connected MCP agents (#681).
+- **Stability:** Patched streaming crashes related to the native Antigravity provider integration failing due to unhandled undefined state arrays (#684).
+- **Localization Sync:** Deployed a fully overhauled `i18n` synchronizer detecting missing nested JSON properties and retro-fitting 30 locales sequentially (#685).## [3.1.7] - 2026-03-27
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Streaming Stability:** Fixed `hasValuableContent` returning `undefined` for empty chunks in SSE streams (#676).
+- **Tool Calling:** Fixed an issue in `sseParser.ts` where non-streaming Claude responses with multiple tool calls dropped the `id` of subsequent tool calls due to incorrect index-based deduplication (#671).
+
+---
+
+## [3.1.6] — 2026-03-27
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Claude Native Tool Name Restoration** — Tool names like `TodoWrite` are no longer prefixed with `proxy_` in Claude passthrough responses (both streaming and non-streaming). Includes unit test coverage (PR #663 by @coobabm)
+- **Clear All Models Alias Cleanup** — "Clear All Models" button now also removes associated model aliases, preventing ghost models in the UI (PR #664 by @rdself)
+
+---
+
+## [3.1.5] — 2026-03-27
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Backoff Auto-Decay** — Rate-limited accounts now auto-recover when their cooldown window expires, fixing a deadlock where high `backoffLevel` permanently deprioritized accounts (PR #657 by @brendandebeasi)
+
+### 🌍 i18n
+
+- **Chinese translation overhaul** — Comprehensive rewrite of `zh-CN.json` with improved accuracy (PR #658 by @only4copilot)
+
+---
+
+## [3.1.4] — 2026-03-27
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Streaming Override Fix** — Explicit `stream: true` in request body now takes priority over `Accept: application/json` header. Clients sending both will correctly receive SSE streaming responses (#656)
+
+### 🌍 i18n
+
+- **Czech string improvements** — Refined terminology across `cs.json` (PR #655 by @zen0bit)
+
+---
+
+## [3.1.3] — 2026-03-26
+
+### 🌍 i18n & Community
+
+- **~70 missing translation keys** added to `en.json` and 12 languages (PR #652 by @zen0bit)
+- **Czech documentation updated** — CLI-TOOLS, API_REFERENCE, VM_DEPLOYMENT guides (PR #652)
+- **Translation validation scripts** — `check_translations.py` and `validate_translation.py` for CI/QA (PR #651 by @zen0bit)
+
+---
+
+## [3.1.2] — 2026-03-26
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Critical: Tool Calling Regression** — Fixed `proxy_Bash` errors by disabling the `proxy_` tool name prefix in the Claude passthrough path. Tools like `Bash`, `Read`, `Write` were being renamed to `proxy_Bash`, `proxy_Read`, etc., causing Claude to reject them (#618)
+- **Kiro Account Ban Documentation** — Documented as upstream AWS anti-fraud false positive, not an OmniRoute issue (#649)
+
+### 🧪 Tests
+
+- **936 tests, 0 failures**
+
+---
+
+## [3.1.1] — 2026-03-26
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Vision Capability Metadata**: Added `capabilities.vision`, `input_modalities`, and `output_modalities` to `/v1/models` entries for vision-capable models (PR #646)
+- **Gemini 3.1 Models**: Added `gemini-3.1-pro-preview` and `gemini-3.1-flash-lite-preview` to the Antigravity provider (#645)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Ollama Cloud 401 Error**: Fixed incorrect API base URL — changed from `api.ollama.com` to official `ollama.com/v1/chat/completions` (#643)
+- **Expired Token Retry**: Added bounded retry with exponential backoff (5→10→20 min) for expired OAuth connections instead of permanently skipping them (PR #647)
+
+### 🧪 Tests
+
+- **936 tests, 0 failures**
+
+---
+
+## [3.1.0] — 2026-03-26
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **GitHub Issue Templates**: Added standardized bug report, feature request, and config/proxy issue templates (#641)
+- **Clear All Models**: Added a "Clear All Models" button to the provider detail page with i18n support in 29 languages (#634)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Locale Conflict (`in.json`)**: Renamed the Hindi locale file from `in.json` (Indonesian ISO code) to `hi.json` to fix translation conflicts in Weblate (#642)
+- **Codex Empty Tool Names**: Moved tool name sanitization before the native Codex passthrough, fixing 400 errors from upstream providers when tools had empty names (#637)
+- **Streaming Newline Artifacts**: Added `collapseExcessiveNewlines` to the response sanitizer, collapsing runs of 3+ consecutive newlines from thinking models into a standard double newline (#638)
+- **Claude Reasoning Effort**: Converted OpenAI `reasoning_effort` param to Claude's native `thinking` budget block across all request paths, including automatic `max_tokens` adjustment (#627)
+- **Qwen Token Refresh**: Implemented proactive pre-expiry OAuth token refreshes (5-minute buffer) to prevent requests from failing when using short-lived tokens (#631)
+
+### 🧪 Tests
+
+- **936 tests, 0 failures** (+10 tests since 3.0.9)
+
+---
+
+## [3.0.9] — 2026-03-26
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **NaN tokens in Claude Code / client responses (#617):**
+ - `sanitizeUsage()` now cross-maps `input_tokens`→`prompt_tokens` and `output_tokens`→`completion_tokens` before the whitelist filter, fixing responses showing NaN/0 token counts when providers return Claude-style usage field names
+
+### Сигурност
+
+- Updated `yaml` package to fix stack overflow vulnerability (GHSA-48c2-rrv3-qjmp)
+
+### 📋 Issue Triage
+
+- Closed #613 (Codestral — resolved with Custom Provider workaround)
+- Commented on #615 (OpenCode dual-endpoint — workaround provided, tracked as feature request)
+- Commented on #618 (tool call visibility — requesting v3.0.9 test)
+- Commented on #627 (effort level — already supported)
+
+---
+
+## [3.0.8] — 2026-03-25
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Translation Failures for OpenAI-format Providers in Claude CLI (#632):**
+ - Handle `reasoning_details[]` array format from StepFun/OpenRouter — converts to `reasoning_content`
+ - Handle `reasoning` field alias from some providers → normalized to `reasoning_content`
+ - Cross-map usage field names: `input_tokens`↔`prompt_tokens`, `output_tokens`↔`completion_tokens` in `filterUsageForFormat`
+ - Fix `extractUsage` to accept both `input_tokens`/`output_tokens` and `prompt_tokens`/`completion_tokens` as valid usage fields
+ - Applied to both streaming (`sanitizeStreamingChunk`, `openai-to-claude.ts` translator) and non-streaming (`sanitizeMessage`) paths
+
+---
+
+## [3.0.7] — 2026-03-25
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Antigravity Token Refresh:** Fixed `client_secret is missing` error for npm-installed users — the `clientSecretDefault` was empty in providerRegistry, causing Google to reject token refresh requests (#588)
+- **OpenCode Zen Models:** Added `modelsUrl` to the OpenCode Zen registry entry so "Import from /models" works correctly (#612)
+- **Streaming Artifacts:** Fixed excessive newlines left in responses after thinking-tag signature stripping (#626)
+- **Proxy Fallback:** Added automatic retry without proxy when SOCKS5 relay fails
+- **Proxy Test:** Test endpoint now resolves real credentials from DB via proxyId
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Playground Account/Key Selector:** Persistent, always-visible dropdown to select specific provider accounts/keys for testing — fetches all connections at startup and filters by selected provider
+- **CLI Tools Dynamic Models:** Model selection now dynamically fetches from `/v1/models` API — providers like Kiro now show their full model catalog
+- **Antigravity Model List:** Updated with Claude Sonnet 4.5, Claude Sonnet 4, GPT 5, GPT 5 Mini; enabled `passthroughModels` for dynamic model access (#628)
+
+### 🔧 Maintenance
+
+- Merged PR #625 — Provider Limits light mode background fix
+
+---
+
+## [3.0.6] — 2026-03-25
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Limits/Proxy:** Fixed Codex limit fetching for accounts behind SOCKS5 proxies — token refresh now runs inside proxy context
+- **CI:** Fixed integration test `v1/models` assertion failure in CI environments without provider connections
+- **Settings:** Proxy test button now shows success/failure results immediately (previously hidden behind health data)
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Playground:** Added Account selector dropdown — test specific connections individually when a provider has multiple accounts
+
+### 🔧 Maintenance
+
+- Merged PR #623 — LongCat API base URL path correction
+
+---
+
+## [3.0.5] — 2026-03-25
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Limits UI:** Added tag grouping feature to the connections dashboard to improve visual organization for accounts with custom tags.
+
+---
+
+## [3.0.4] — 2026-03-25
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Streaming:** Fixed `TextDecoder` state corruption inside combo `sanitize` TransformStream which caused SSE garbled output matching multibyte characters (PR #614)
+- **Providers UI:** Safely render HTML tags inside provider connection error tooltips using `dangerouslySetInnerHTML`
+- **Proxy Settings:** Added missing `username` and `password` payload body properties allowing authenticated proxies to be successfully verified from the Dashboard.
+- **Provider API:** Bound soft exception returns to `getCodexUsage` preventing API HTTP 500 failures when token fetch fails
+
+---
+
+## [3.0.3] — 2026-03-25
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Auto-Sync Models:** Added a UI toggle and `sync-models` endpoint to automatically synchronise model lists per provider using a scheduled interval scheduler (PR #597)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Timeouts:** Elevated default proxies `FETCH_TIMEOUT_MS` and `STREAM_IDLE_TIMEOUT_MS` to 10 minutes to properly support deep reasoning models (like o1) without aborting requests (Fixes #609)
+- **CLI Tool Detection:** Improved cross-platform detection handling NVM paths, Windows `PATHEXT` (preventing `.cmd` wrappers issue), and custom NPM prefixes (PR #598)
+- **Streaming Logs:** Implemented `tool_calls` delta accumulation in streaming response logs so function calls are tracked and persisted accurately in DB (PR #603)
+- **Model Catalog:** Removed auth exemption, properly hiding `comfyui` and `sdwebui` models when no provider is explicitly configured (PR #599)
+
+### 🌐 Translations
+
+- **cs:** Improved Czech translation strings across the app (PR #601)
+
+## [3.0.2] — 2026-03-25
+
+### 🚀 Enhancements & Features
+
+#### feat(ui): Connection Tag Grouping
+
+- Added a Tag/Group field to `EditConnectionModal` (stored in `providerSpecificData.tag`) without requiring DB schema migrations.
+- Connections in the provider view now dynamically group by tag with visual dividers.
+- Untagged connections appear first without a header, followed by tagged groups in alphabetical order.
+- The tag grouping automatically applies to the Codex/Copilot/Antigravity Limits section since toggles exist inside connection rows.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+#### fix(ui): Proxy Management UI Stabilization
+
+- **Missing badges on connection cards:** Fixed by using `resolveProxyForConnection()` rather than static mapping.
+- **Test Connection disabled in saved mode:** Enabled the Test button by resolving proxy config from the saved list.
+- **Config Modal freezing:** Added `onClose()` calls after save/clear to prevent the UI from freezing.
+- **Double usage counting:** `ProxyRegistryManager` now loads usage eagerly on mount with deduplication by `scope` + `scopeId`. Usage counts were replaced with a Test button displaying IP/latency inline.
+
+#### fix(translator): `function_call` prefix stripping
+
+- Repaired an incomplete fix from PR #607 where only `tool_use` blocks stripped Claude's `proxy_` tool prefix. Now, clients using the OpenAI Responses API format will also correctly receive tool tools without the `proxy_` prefix.
+
+---
+
+## [3.0.1] — 2026-03-25
+
+### 🔧 Hotfix Patch — Critical Bug Fixes
+
+Three critical regressions reported by users after the v3.0.0 launch have been resolved.
+
+#### fix(translator): strip `proxy_` prefix in non-streaming Claude responses (#605)
+
+The `proxy_` prefix added by Claude OAuth was only stripped from **streaming** responses. In **non-streaming** mode, `translateNonStreamingResponse` had no access to the `toolNameMap`, causing clients to receive mangled tool names like `proxy_read_file` instead of `read_file`.
+
+**Fix:** Added optional `toolNameMap` parameter to `translateNonStreamingResponse` and applied prefix stripping in the Claude `tool_use` block handler. `chatCore.ts` now passes the map through.
+
+#### fix(validation): add LongCat specialty validator to skip /models probe (#592)
+
+LongCat AI does not expose `GET /v1/models`. The generic `validateOpenAICompatibleProvider` validator fell through to a chat-completions fallback only if `validationModelId` was set, which LongCat doesn't configure. This caused provider validation to fail with a misleading error on add/save.
+
+**Fix:** Added `longcat` to the specialty validators map, probing `/chat/completions` directly and treating any non-auth response as a pass.
+
+#### fix(translator): normalize object tool schemas for Anthropic (#595)
+
+MCP tools (e.g. `pencil`, `computer_use`) forward tool definitions with `{type:"object"}` but without a `properties` field. Anthropic's API rejects these with: `object schema missing properties`.
+
+**Fix:** In `openai-to-claude.ts`, inject `properties: {}` as a safe default when `type` is `"object"` and `properties` is absent.
+
+---
+
+### 🔀 Community PRs Merged (2)
+
+| PR | Author | Summary |
+| -------- | ------- | -------------------------------------------------------------------------- |
+| **#589** | @flobo3 | docs(i18n): fix Russian translation for Playground and Testbed |
+| **#591** | @rdself | fix(ui): improve Provider Limits light mode contrast and plan tier display |
+
+---
+
+### ✅ Issues Resolved
+
+`#592` `#595` `#605`
+
+---
+
+### 🧪 Tests
+
+- **926 tests, 0 failures** (unchanged from v3.0.0)
+
+---
+
+## [3.0.0] — 2026-03-24
+
+### 🎉 OmniRoute v3.0.0 — The Free AI Gateway, Now with 67+ Providers
+
+> **The biggest release ever.** From 36 providers in v2.9.5 to **67+ providers** in v3.0.0 — with MCP Server, A2A Protocol, auto-combo engine, Provider Icons, Registered Keys API, 926 tests, and contributions from **12 community members** across **10 merged PRs**.
+>
+> Consolidated from v3.0.0-rc.1 through rc.17 (17 release candidates over 3 days of intense development).
+
+---
+
+### 🆕 New Providers (+31 since v2.9.5)
+
+| Provider | Alias | Tier | Notes |
+| ----------------------------- | --------------- | ----------- | --------------------------------------------------------------------------- |
+| **OpenCode Zen** | `opencode-zen` | Free | 3 models via `opencode.ai/zen/v1` (PR #530 by @kang-heewon) |
+| **OpenCode Go** | `opencode-go` | Paid | 4 models via `opencode.ai/zen/go/v1` (PR #530 by @kang-heewon) |
+| **LongCat AI** | `lc` | Free | 50M tokens/day (Flash-Lite) + 500K/day (Chat/Thinking) during public beta |
+| **Pollinations AI** | `pol` | Free | No API key needed — GPT-5, Claude, Gemini, DeepSeek V3, Llama 4 (1 req/15s) |
+| **Cloudflare Workers AI** | `cf` | Free | 10K Neurons/day — ~150 LLM responses or 500s Whisper audio, edge inference |
+| **Scaleway AI** | `scw` | Free | 1M free tokens for new accounts — EU/GDPR compliant (Paris) |
+| **AI/ML API** | `aiml` | Free | $0.025/day free credits — 200+ models via single endpoint |
+| **Puter AI** | `pu` | Free | 500+ models (GPT-5, Claude Opus 4, Gemini 3 Pro, Grok 4, DeepSeek V3) |
+| **Alibaba Cloud (DashScope)** | `ali` | Paid | International + China endpoints via `alicode`/`alicode-intl` |
+| **Alibaba Coding Plan** | `bcp` | Paid | Alibaba Model Studio with Anthropic-compatible API |
+| **Kimi Coding (API Key)** | `kmca` | Paid | Dedicated API-key-based Kimi access (separate from OAuth) |
+| **MiniMax Coding** | `minimax` | Paid | International endpoint |
+| **MiniMax (China)** | `minimax-cn` | Paid | China-specific endpoint |
+| **Z.AI (GLM-5)** | `zai` | Paid | Zhipu AI next-gen GLM models |
+| **Vertex AI** | `vertex` | Paid | Google Cloud — Service Account JSON or OAuth access_token |
+| **Ollama Cloud** | `ollamacloud` | Paid | Ollama's hosted API service |
+| **Synthetic** | `synthetic` | Paid | Passthrough models gateway |
+| **Kilo Gateway** | `kg` | Paid | Passthrough models gateway |
+| **Perplexity Search** | `pplx-search` | Paid | Dedicated search-grounded endpoint |
+| **Serper Search** | `serper-search` | Paid | Web search API integration |
+| **Brave Search** | `brave-search` | Paid | Brave Search API integration |
+| **Exa Search** | `exa-search` | Paid | Neural search API integration |
+| **Tavily Search** | `tavily-search` | Paid | AI search API integration |
+| **NanoBanana** | `nb` | Paid | Image generation API |
+| **ElevenLabs** | `el` | Paid | Text-to-speech voice synthesis |
+| **Cartesia** | `cartesia` | Paid | Ultra-fast TTS voice synthesis |
+| **PlayHT** | `playht` | Paid | Voice cloning and TTS |
+| **Inworld** | `inworld` | Paid | AI character voice chat |
+| **SD WebUI** | `sdwebui` | Self-hosted | Stable Diffusion local image generation |
+| **ComfyUI** | `comfyui` | Self-hosted | ComfyUI local workflow node-based generation |
+| **GLM Coding** | `glm` | Paid | BigModel/Zhipu coding-specific endpoint |
+
+**Total: 67+ providers** (4 Free, 8 OAuth, 55 API Key) + unlimited OpenAI/Anthropic-Compatible custom providers.
+
+---
+
+### ✨ Major Features
+
+#### 🔑 Registered Keys Provisioning API (#464)
+
+Auto-generate and issue OmniRoute API keys programmatically with per-provider and per-account quota enforcement.
+
+| Endpoint | Method | Description |
+| ------------------------------- | ------------ | ------------------------------------------------ |
+| `/api/v1/registered-keys` | `POST` | Issue a new key — raw key returned **once only** |
+| `/api/v1/registered-keys` | `GET` | List registered keys (masked) |
+| `/api/v1/registered-keys/{id}` | `GET/DELETE` | Get metadata / Revoke |
+| `/api/v1/quotas/check` | `GET` | Pre-validate quota before issuing |
+| `/api/v1/providers/{id}/limits` | `GET/PUT` | Configure per-provider issuance limits |
+| `/api/v1/accounts/{id}/limits` | `GET/PUT` | Configure per-account issuance limits |
+| `/api/v1/issues/report` | `POST` | Report quota events to GitHub Issues |
+
+**Security:** Keys stored as SHA-256 hashes. Raw key shown once on creation, never retrievable again.
+
+#### 🎨 Provider Icons via @lobehub/icons (#529)
+
+130+ provider logos using `@lobehub/icons` React components (SVG). Fallback chain: **Lobehub SVG → existing PNG → generic icon**. Applied across Dashboard, Providers, and Agents pages with standardized `ProviderIcon` component.
+
+#### 🔄 Model Auto-Sync Scheduler (#488)
+
+Auto-refreshes model lists for connected providers every **24 hours**. Runs on server startup. Configurable via `MODEL_SYNC_INTERVAL_HOURS`.
+
+#### 🔀 Per-Model Combo Routing (#563)
+
+Map model name patterns (glob) to specific combos for automatic routing:
+
+- `claude-sonnet*` → code-combo, `gpt-4o*` → openai-combo, `gemini-*` → google-combo
+- New `model_combo_mappings` table with glob-to-regex matching
+- Dashboard UI section: "Model Routing Rules" with inline add/edit/toggle/delete
+
+#### 🧭 API Endpoints Dashboard
+
+Interactive catalog, webhooks management, OpenAPI viewer — all in one tabbed page at `/dashboard/endpoint`.
+
+#### 🔍 Web Search Providers
+
+5 new search provider integrations: **Perplexity Search**, **Serper**, **Brave Search**, **Exa**, **Tavily** — enabling grounded AI responses with real-time web data.
+
+#### 📊 Search Analytics
+
+New tab in `/dashboard/analytics` — provider breakdown, cache hit rate, cost tracking. API: `GET /api/v1/search/analytics`.
+
+#### 🛡️ Per-API-Key Rate Limits (#452)
+
+`max_requests_per_day` and `max_requests_per_minute` columns with in-memory sliding-window enforcement returning HTTP 429.
+
+#### 🎵 Media Playground
+
+Full media generation playground at `/dashboard/media`: Image Generation, Video, Music, Audio Transcription (2GB upload limit), and Text-to-Speech.
+
+---
+
+### 🔒 Security & CI/CD
+
+- **CodeQL remediation** — Fixed 10+ alerts: 6 polynomial-redos, 1 insecure-randomness (`Math.random()` → `crypto.randomUUID()`), 1 shell-command-injection
+- **Route validation** — Zod schemas + `validateBody()` on **176/176 API routes** — CI enforced
+- **CVE fix** — dompurify XSS vulnerability (GHSA-v2wj-7wpq-c8vv) resolved via npm overrides
+- **Flatted** — Bumped 3.3.3 → 3.4.2 (CWE-1321 prototype pollution)
+- **Docker** — Upgraded `docker/setup-buildx-action` v3 → v4
+
+---
+
+### 🐛 Bug Fixes (40+)
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+#### OAuth & Auth
+
+- **#537** — Gemini CLI OAuth: clear actionable error when `GEMINI_OAUTH_CLIENT_SECRET` missing in Docker
+- **#549** — CLI settings routes now resolve real API key from `keyId` (not masked strings)
+- **#574** — Login no longer freezes after skipping wizard password setup
+- **#506** — Cross-platform `machineId` rewritten (Windows REG.exe → macOS ioreg → Linux → hostname fallback)
+
+#### Providers & Routing
+
+- **#536** — LongCat AI: fixed `baseUrl` and `authHeader`
+- **#535** — Pinned model override: `body.model` correctly set to `pinnedModel`
+- **#570** — Unprefixed Claude models now resolve to Anthropic provider
+- **#585** — `<omniModel>` internal tags no longer leak to clients in SSE streaming
+- **#493** — Custom provider model naming no longer mangled by prefix stripping
+- **#490** — Streaming + context cache protection via `TransformStream` injection
+- **#511** — `<omniModel>` tag injected into first content chunk (not after `[DONE]`)
+
+#### CLI & Tools
+
+- **#527** — Claude Code + Codex loop: `tool_result` blocks now converted to text
+- **#524** — OpenCode config saved correctly (XDG_CONFIG_HOME, TOML format)
+- **#522** — API Manager: removed misleading "Copy masked key" button
+- **#546** — `--version` returning `unknown` on Windows (PR by @k0valik)
+- **#544** — Secure CLI tool detection via known installation paths (PR by @k0valik)
+- **#510** — Windows MSYS2/Git-Bash paths normalized automatically
+- **#492** — CLI detects `mise`/`nvm`-managed Node when `app/server.js` missing
+
+#### Streaming & SSE
+
+- **PR #587** — Revert `resolveDataDir` import in responsesTransformer for Cloudflare Workers compat (@k0valik)
+- **PR #495** — Bottleneck 429 infinite wait: drop waiting jobs on rate limit (@xandr0s)
+- **#483** — Stop trailing `data: null` after `[DONE]` signal
+- **#473** — Zombie SSE streams: timeout reduced 300s → 120s for faster fallback
+
+#### Media & Transcription
+
+- **Transcription** — Deepgram `video/mp4` → `audio/mp4` MIME mapping, auto language detection, punctuation
+- **TTS** — `[object Object]` error display fixed for ElevenLabs-style nested errors
+- **Upload limits** — Media transcription increased to 2GB (nginx `client_max_body_size 2g` + `maxDuration=300`)
+
+---
+
+### 🔧 Infrastructure & Improvements
+
+#### Sub2api Gap Analysis (T01–T15 + T23–T42)
+
+- **T01** — `requested_model` column in call logs (migration 009)
+- **T02** — Strip empty text blocks from nested `tool_result.content`
+- **T03** — Parse `x-codex-5h-*` / `x-codex-7d-*` quota headers
+- **T04** — `X-Session-Id` header for external sticky routing
+- **T05** — Rate-limit DB persistence with dedicated API
+- **T06** — Account deactivated → permanent block (1-year cooldown)
+- **T07** — X-Forwarded-For IP validation (`extractClientIp()`)
+- **T08** — Per-API-key session limits with sliding-window enforcement
+- **T09** — Codex vs Spark rate-limit scopes (separate pools)
+- **T10** — Credits exhausted → distinct 1h cooldown fallback
+- **T11** — `max` reasoning effort → 131072 budget tokens
+- **T12** — MiniMax M2.7 pricing entries
+- **T13** — Stale quota display fix (reset window awareness)
+- **T14** — Proxy fast-fail TCP check (≤2s, cached 30s)
+- **T15** — Array content normalization for Anthropic
+- **T23** — Intelligent quota reset fallback (header extraction)
+- **T24** — `503` cooldown + `406` mapping
+- **T25** — Provider validation fallback
+- **T29** — Vertex AI Service Account JWT auth
+- **T33** — Thinking level to budget conversion
+- **T36** — `403` vs `429` error classification
+- **T38** — Centralized model specifications (`modelSpecs.ts`)
+- **T39** — Endpoint fallback for `fetchAvailableModels`
+- **T41** — Background task auto-redirect to flash models
+- **T42** — Image generation aspect ratio mapping
+
+#### Other Improvements
+
+- **Per-model upstream custom headers** — via configuration UI (PR #575 by @zhangqiang8vip)
+- **Model context length** — configurable in model metadata (PR #578 by @hijak)
+- **Model prefix stripping** — option to remove provider prefix from model names (PR #582 by @jay77721)
+- **Gemini CLI deprecation** — marked deprecated with Google OAuth restriction warning
+- **YAML parser** — replaced custom parser with `js-yaml` for correct OpenAPI spec parsing
+- **ZWS v5** — HMR leak fix (485 DB connections → 1, memory 2.4GB → 195MB)
+- **Log export** — New JSON export button on dashboard with time range dropdown
+- **Update notification banner** — dashboard homepage shows when new versions are available
+
+---
+
+### 🌐 i18n & Documentation
+
+- **30 languages** at 100% parity — 2,788 missing keys synced
+- **Czech** — Full translation: 22 docs, 2,606 UI strings (PR by @zen0bit)
+- **Chinese (zh-CN)** — Complete retranslation (PR by @only4copilot)
+- **VM Deployment Guide** — Translated to English as source document
+- **API Reference** — Added `/v1/embeddings` and `/v1/audio/speech` endpoints
+- **Provider count** — Updated from 36+/40+/44+ to **67+** across README and all 30 i18n READMEs
+
+---
+
+### 🔀 Community PRs Merged (10)
+
+| PR | Author | Summary |
+| -------- | --------------- | -------------------------------------------------------------------- |
+| **#587** | @k0valik | fix(sse): revert resolveDataDir import for Cloudflare Workers compat |
+| **#582** | @jay77721 | feat(proxy): model name prefix stripping option |
+| **#581** | @jay77721 | fix(npm): link electron-release to npm-publish workflow |
+| **#578** | @hijak | feat: configurable context length in model metadata |
+| **#575** | @zhangqiang8vip | feat: per-model upstream headers, compat PATCH, chat alignment |
+| **#562** | @coobabm | fix: MCP session management, Claude passthrough, detectFormat |
+| **#561** | @zen0bit | fix(i18n): Czech translation corrections |
+| **#555** | @k0valik | fix(sse): centralized `resolveDataDir()` for path resolution |
+| **#546** | @k0valik | fix(cli): `--version` returning `unknown` on Windows |
+| **#544** | @k0valik | fix(cli): secure CLI tool detection via installation paths |
+| **#542** | @rdself | fix(ui): light mode contrast CSS theme variables |
+| **#530** | @kang-heewon | feat: OpenCode Zen + Go providers with `OpencodeExecutor` |
+| **#512** | @zhangqiang8vip | feat: per-protocol model compatibility (`compatByProtocol`) |
+| **#497** | @zhangqiang8vip | fix: dev-mode HMR resource leaks (ZWS v5) |
+| **#495** | @xandr0s | fix: Bottleneck 429 infinite wait (drop waiting jobs) |
+| **#494** | @zhangqiang8vip | feat: MiniMax developer→system role fix |
+| **#480** | @prakersh | fix: stream flush usage extraction |
+| **#479** | @prakersh | feat: Codex 5.3/5.4 and Anthropic pricing entries |
+| **#475** | @only4copilot | feat(i18n): improved Chinese translation |
+
+**Thank you to all contributors!** 🙏
+
+---
+
+### 📋 Issues Resolved (50+)
+
+`#452` `#458` `#462` `#464` `#466` `#473` `#474` `#481` `#483` `#487` `#488` `#489` `#490` `#491` `#492` `#493` `#506` `#508` `#509` `#510` `#511` `#513` `#520` `#521` `#522` `#524` `#525` `#527` `#529` `#531` `#532` `#535` `#536` `#537` `#541` `#546` `#549` `#563` `#570` `#574` `#585`
+
+---
+
+### 🧪 Tests
+
+- **926 tests, 0 failures** (up from 821 in v2.9.5)
+- +105 new tests covering: model-combo mappings, registered keys, OpencodeExecutor, Bailian provider, route validation, error classification, aspect ratio mapping, and more
+
+---
+
+### 📦 Database Migrations
+
+| Migration | Description |
+| --------- | --------------------------------------------------------------------- |
+| **008** | `registered_keys`, `provider_key_limits`, `account_key_limits` tables |
+| **009** | `requested_model` column in `call_logs` |
+| **010** | `model_combo_mappings` table for per-model combo routing |
+
+---
+
+### ⬆️ Upgrading from v2.9.5
+
+```bash
+# npm
+npm install -g [email protected]
+
+# Docker
+docker pull diegosouzapw/omniroute:3.0.0
+
+# Migrations run automatically on first startup
+```
+
+> **Breaking changes:** None. All existing configurations, combos, and API keys are preserved.
+> Database migrations 008-010 run automatically on startup.
+
+---
+
+## [3.0.0-rc.17] — 2026-03-24
+
+### 🔒 Security & CI/CD
+
+- **CodeQL remediation** — Fixed 10+ alerts:
+ - 6 polynomial-redos in `provider.ts` / `chatCore.ts` (replaced `(?:^|/)` alternation patterns with segment-based matching)
+ - 1 insecure-randomness in `acp/manager.ts` (`Math.random()` → `crypto.randomUUID()`)
+ - 1 shell-command-injection in `prepublish.mjs` (`JSON.stringify()` path escaping)
+- **Route validation** — Added Zod schemas + `validateBody()` to 5 routes missing validation:
+ - `model-combo-mappings` (POST, PUT), `webhooks` (POST, PUT), `openapi/try` (POST)
+ - CI `check:route-validation:t06` now passes: **176/176 routes validated**
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **#585** — `<omniModel>` internal tags no longer leak to clients in SSE responses. Added outbound sanitization `TransformStream` in `combo.ts`
+
+### ⚙️ Infrastructure
+
+- **Docker** — Upgraded `docker/setup-buildx-action` from v3 → v4 (Node.js 20 deprecation fix)
+- **CI cleanup** — Deleted 150+ failed/cancelled workflow runs
+
+### 🧪 Tests
+
+- Test suite: **926 tests, 0 failures** (+3 new)
+
+---
+
+## [3.0.0-rc.16] — 2026-03-24
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- Increased media transcription limits
+- Added Model Context Length to registry metadata
+- Added per-model upstream custom headers via configuration UI
+- Fixed multiple bugs, Zod valiadation for patches, and resolved various community issues.
+
+## [3.0.0-rc.15] — 2026-03-24
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **#563** — Per-model Combo Routing: map model name patterns (glob) to specific combos for automatic routing
+ - New `model_combo_mappings` table (migration 010) with pattern, combo_id, priority, enabled
+ - `resolveComboForModel()` DB function with glob-to-regex matching (case-insensitive, `*` and `?` wildcards)
+ - `getComboForModel()` in `model.ts`: augments `getCombo()` with model-pattern fallback
+ - `chat.ts`: routing decision now checks model-combo mappings before single-model handling
+ - API: `GET/POST /api/model-combo-mappings`, `GET/PUT/DELETE /api/model-combo-mappings/:id`
+ - Dashboard: "Model Routing Rules" section added to Combos page with inline add/edit/toggle/delete
+ - Examples: `claude-sonnet*` → code-combo, `gpt-4o*` → openai-combo, `gemini-*` → google-combo
+
+### 🌐 i18n
+
+- **Full i18n Sync**: 2,788 missing keys added across 30 language files — all languages now at 100% parity with `en.json`
+- **Agents page i18n**: OpenCode Integration section fully internationalized (title, description, scanning, download labels)
+- **6 new keys** added to `agents` namespace for OpenCode section
+
+### 🎨 UI/UX
+
+- **Provider Icons**: 16 missing provider icons added (3 copied, 2 downloaded, 11 SVG created)
+- **SVG fallback**: `ProviderIcon` component updated with 4-tier strategy: Lobehub → PNG → SVG → Generic icon
+- **Agents fingerprinting**: Synced with CLI tools — added droid, openclaw, copilot, opencode to fingerprint list (14 total)
+
+### Сигурност
+
+- **CVE fix**: Resolved dompurify XSS vulnerability (GHSA-v2wj-7wpq-c8vv) via npm overrides forcing `dompurify@^3.3.2`
+- `npm audit` now reports **0 vulnerabilities**
+
+### 🧪 Tests
+
+- Test suite: **923 tests, 0 failures** (+15 new model-combo mapping tests)
+
+---
+
+## [3.0.0-rc.14] — 2026-03-23
+
+### 🔀 Community PRs Merged
+
+| PR | Author | Summary |
+| -------- | -------- | -------------------------------------------------------------------------------------------- |
+| **#562** | @coobabm | fix(ux): MCP session management, Claude passthrough normalization, OAuth modal, detectFormat |
+| **#561** | @zen0bit | fix(i18n): Czech translation corrections — HTTP method names and documentation updates |
+
+### 🧪 Tests
+
+- Test suite: **908 tests, 0 failures**
+
+---
+
+## [3.0.0-rc.13] — 2026-03-23
+
+### 🔧 Bug Fixes
+
+- **config:** resolve real API key from `keyId` in CLI settings routes (`codex-settings`, `droid-settings`, `kilo-settings`) to prevent writing masked strings (#549)
+
+---
+
+## [3.0.0-rc.12] — 2026-03-23
+
+### 🔀 Community PRs Merged
+
+| PR | Author | Summary |
+| -------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| **#546** | @k0valik | fix(cli): `--version` returning `unknown` on Windows — use `JSON.parse(readFileSync)` instead of ESM import |
+| **#555** | @k0valik | fix(sse): centralized `resolveDataDir()` for path resolution in credentials, autoCombo, responses logger, and request logger |
+| **#544** | @k0valik | fix(cli): secure CLI tool detection via known installation paths (8 tools) with symlink validation, file-type checks, size bounds, minimal env in healthcheck |
+| **#542** | @rdself | fix(ui): improve light mode contrast — add missing CSS theme variables (`bg-primary`, `bg-subtle`, `text-primary`) and fix dark-only colors in log detail |
+
+### 🔧 Bug Fixes
+
+- **TDZ fix in `cliRuntime.ts`** — `validateEnvPath` was used before initialization at module startup by `getExpectedParentPaths()`. Reordered declarations to fix `ReferenceError`.
+- **Build fixes** — Added `pino` and `pino-pretty` to `serverExternalPackages` to prevent Turbopack from breaking Pino's internal worker loading.
+
+### 🧪 Tests
+
+- Test suite: **905 tests, 0 failures**
+
+---
+
+## [3.0.0-rc.10] — 2026-03-23
+
+### 🔧 Bug Fixes
+
+- **#509 / #508** — Electron build regression: downgraded Next.js from `16.1.x` to `16.0.10` to eliminate Turbopack module-hashing instability that caused blank screens in the Electron desktop bundle.
+- **Unit test fixes** — Corrected two stale test assertions (`nanobanana-image-handler` aspect ratio/resolution, `thinking-budget` Gemini `thinkingConfig` field mapping) that had drifted after recent implementation changes.
+- **#541** — Responded to user feedback about installation complexity; no code changes required.
+
+---
+
+## [3.0.0-rc.9] — 2026-03-23
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **T29** — Vertex AI SA JSON Executor: implemented using the `jose` library to handle JWT/Service Account auth, along with configurable regions in the UI and automatic partner model URL building.
+- **T42** — Image generation aspect ratio mapping: created `sizeMapper` logic for generic OpenAI formats (`size`), added native `imagen3` handling, and updated NanoBanana endpoints to utilize mapped aspect ratios automatically.
+- **T38** — Centralized model specifications: `modelSpecs.ts` created for limits and parameters per model.
+
+### 🔧 Improvements
+
+- **T40** — OpenCode CLI tools integration: native `opencode-zen` and `opencode-go` integration completed in earlier PR.
+
+---
+
+## [3.0.0-rc.8] — 2026-03-23
+
+### 🔧 Bug Fixes & Improvements (Fallback, Quota & Budget)
+
+- **T24** — `503` cooldown await fix + `406` mapping: mapped `406 Not Acceptable` to `503 Service Unavailable` with proper cooldown intervals.
+- **T25** — Provider validation fallback: graceful fallback to standard validation models when a specific `validationModelId` is not present.
+- **T36** — `403` vs `429` provider handling refinement: extracted into `errorClassifier.ts` to properly segregate hard permissions failures (`403`) from rate limits (`429`).
+- **T39** — Endpoint Fallback for `fetchAvailableModels`: implemented a tri-tier mechanism (`/models` -> `/v1/models` -> local generic catalog) + `list_models_catalog` MCP tool updates to reflect `source` and `warning`.
+- **T33** — Thinking level to budget conversion: translates qualitative thinking levels into precise budget allocations.
+- **T41** — Background task auto redirect: routes heavy background evaluation tasks to flash/efficient models automatically.
+- **T23** — Intelligent quota reset fallback: accurately extracts `x-ratelimit-reset` / `retry-after` header values or maps static cooldowns.
+
+---
+
+## [3.0.0-rc.7] — 2026-03-23 _(What's New vs v2.9.5 — will be released as v3.0.0)_
+
+> **Upgrade from v2.9.5:** 16 issues resolved · 2 community PRs merged · 2 new providers · 7 new API endpoints · 3 new features · DB migration 008+009 · 832 tests passing · 15 sub2api gap improvements (T01–T15 complete).
+
+### 🆕 New Providers
+
+| Provider | Alias | Tier | Notes |
+| ---------------- | -------------- | ---- | -------------------------------------------------------------- |
+| **OpenCode Zen** | `opencode-zen` | Free | 3 models via `opencode.ai/zen/v1` (PR #530 by @kang-heewon) |
+| **OpenCode Go** | `opencode-go` | Paid | 4 models via `opencode.ai/zen/go/v1` (PR #530 by @kang-heewon) |
+
+Both providers use the new `OpencodeExecutor` with multi-format routing (`/chat/completions`, `/messages`, `/responses`, `/models/{model}:generateContent`).
+
+---
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+#### 🔑 Registered Keys Provisioning API (#464)
+
+Auto-generate and issue OmniRoute API keys programmatically with per-provider and per-account quota enforcement.
+
+| Endpoint | Method | Description |
+| ------------------------------------- | --------- | ------------------------------------------------ |
+| `/api/v1/registered-keys` | `POST` | Issue a new key — raw key returned **once only** |
+| `/api/v1/registered-keys` | `GET` | List registered keys (masked) |
+| `/api/v1/registered-keys/{id}` | `GET` | Get key metadata |
+| `/api/v1/registered-keys/{id}` | `DELETE` | Revoke a key |
+| `/api/v1/registered-keys/{id}/revoke` | `POST` | Revoke (for clients without DELETE support) |
+| `/api/v1/quotas/check` | `GET` | Pre-validate quota before issuing |
+| `/api/v1/providers/{id}/limits` | `GET/PUT` | Configure per-provider issuance limits |
+| `/api/v1/accounts/{id}/limits` | `GET/PUT` | Configure per-account issuance limits |
+| `/api/v1/issues/report` | `POST` | Report quota events to GitHub Issues |
+
+**DB — Migration 008:** Three new tables: `registered_keys`, `provider_key_limits`, `account_key_limits`.
+**Security:** Keys stored as SHA-256 hashes. Raw key shown once on creation, never retrievable again.
+**Quota types:** `maxActiveKeys`, `dailyIssueLimit`, `hourlyIssueLimit` per provider and per account.
+**Idempotency:** `idempotency_key` field prevents duplicate issuance. Returns `409 IDEMPOTENCY_CONFLICT` if key was already used.
+**Budget per key:** `dailyBudget` / `hourlyBudget` — limits how many requests a key can route per window.
+**GitHub reporting:** Optional. Set `GITHUB_ISSUES_REPO` + `GITHUB_ISSUES_TOKEN` to auto-create GitHub issues on quota exceeded or issuance failures.
+
+#### 🎨 Provider Icons — @lobehub/icons (#529)
+
+All provider icons in the dashboard now use `@lobehub/icons` React components (130+ providers with SVG).
+Fallback chain: **Lobehub SVG → existing `/providers/{id}.png` → generic icon**. Uses a proper React `ErrorBoundary` pattern.
+
+#### 🔄 Model Auto-Sync Scheduler (#488)
+
+OmniRoute now automatically refreshes model lists for connected providers every **24 hours**.
+
+- Runs on server startup via the existing `/api/sync/initialize` hook
+- Configurable via `MODEL_SYNC_INTERVAL_HOURS` environment variable
+- Covers 16 major providers
+- Records last sync time in the settings database
+
+---
+
+### 🔧 Bug Fixes
+
+#### OAuth & Auth
+
+- **#537 — Gemini CLI OAuth:** Clear actionable error when `GEMINI_OAUTH_CLIENT_SECRET` is missing in Docker/self-hosted deployments. Previously showed cryptic `client_secret is missing` from Google. Now provides specific `docker-compose.yml` and `~/.omniroute/.env` instructions.
+
+#### Providers & Routing
+
+- **#536 — LongCat AI:** Fixed `baseUrl` (`api.longcat.chat/openai`) and `authHeader` (`Authorization: Bearer`).
+- **#535 — Pinned model override:** `body.model` is now correctly set to `pinnedModel` when context-cache protection is active.
+- **#532 — OpenCode Go key validation:** Now uses the `zen/v1` test endpoint (`testKeyBaseUrl`) — same key works for both tiers.
+
+#### CLI & Tools
+
+- **#527 — Claude Code + Codex loop:** `tool_result` blocks are now converted to text instead of dropped, stopping infinite tool-result loops.
+- **#524 — OpenCode config save:** Added `saveOpenCodeConfig()` handler (XDG_CONFIG_HOME aware, writes TOML).
+- **#521 — Login stuck:** Login no longer freezes after skipping password setup — redirects correctly to onboarding.
+- **#522 — API Manager:** Removed misleading "Copy masked key" button (replaced with a lock icon tooltip).
+- **#532 — OpenCode Go config:** Guide settings handler now handles `opencode` toolId.
+
+#### Developer Experience
+
+- **#489 — Antigravity:** Missing `googleProjectId` returns a structured 422 error with reconnect guidance instead of a cryptic crash.
+- **#510 — Windows paths:** MSYS2/Git-Bash paths (`/c/Program Files/...`) are now normalized to `C:\Program Files\...` automatically.
+- **#492 — CLI startup:** `omniroute` CLI now detects `mise`/`nvm`-managed Node when `app/server.js` is missing and shows targeted fix instructions.
+
+---
+
+### 📖 Documentation Updates
+
+- **#513** — Docker password reset: `INITIAL_PASSWORD` env var workaround documented
+- **#520** — pnpm: `pnpm approve-builds better-sqlite3` step documented
+
+---
+
+### ✅ Issues Resolved in v3.0.0
+
+`#464` `#488` `#489` `#492` `#510` `#513` `#520` `#521` `#522` `#524` `#527` `#529` `#532` `#535` `#536` `#537`
+
+---
+
+### 🔀 Community PRs Merged
+
+| PR | Author | Summary |
+| -------- | ------------ | ---------------------------------------------------------------------- |
+| **#530** | @kang-heewon | OpenCode Zen + Go providers with `OpencodeExecutor` and improved tests |
+
+---
+
+## [3.0.0-rc.7] - 2026-03-23
+
+### 🔧 Improvements (sub2api Gap Analysis — T05, T08, T09, T13, T14)
+
+- **T05** — Rate-limit DB persistence: `setConnectionRateLimitUntil()`, `isConnectionRateLimited()`, `getRateLimitedConnections()` in `providers.ts`. The existing `rate_limited_until` column is now exposed as a dedicated API — OAuth token refresh must NOT touch this field to prevent rate-limit loops.
+- **T08** — Per-API-key session limit: `max_sessions INTEGER DEFAULT 0` added to `api_keys` via auto-migration. `sessionManager.ts` gains `registerKeySession()`, `unregisterKeySession()`, `checkSessionLimit()`, and `getActiveSessionCountForKey()`. Callers in `chatCore.js` can enforce the limit and decrement on `req.close`.
+- **T09** — Codex vs Spark rate-limit scopes: `getCodexModelScope()` and `getCodexRateLimitKey()` in `codex.ts`. Standard models (`gpt-5.x-codex`, `codex-mini`) get scope `"codex"`; spark models (`codex-spark*`) get scope `"spark"`. Rate-limit keys should be `${accountId}:${scope}` so exhausting one pool doesn't block the other.
+- **T13** — Stale quota display fix: `getEffectiveQuotaUsage(used, resetAt)` returns `0` when the reset window has passed; `formatResetCountdown(resetAt)` returns a human-readable countdown string (e.g. `"2h 35m"`). Both exported from `providers.ts` + `localDb.ts` for dashboard consumption.
+- **T14** — Proxy fast-fail: new `src/lib/proxyHealth.ts` with `isProxyReachable(proxyUrl, timeoutMs=2000)` (TCP check, ≤2s instead of 30s timeout), `getCachedProxyHealth()`, `invalidateProxyHealth()`, and `getAllProxyHealthStatuses()`. Results cached 30s by default; configurable via `PROXY_FAST_FAIL_TIMEOUT_MS` / `PROXY_HEALTH_CACHE_TTL_MS`.
+
+### 🧪 Tests
+
+- Test suite: **832 tests, 0 failures**
+
+---
+
+## [3.0.0-rc.6] - 2026-03-23
+
+### 🔧 Bug Fixes & Improvements (sub2api Gap Analysis — T01–T15)
+
+- **T01** — `requested_model` column in `call_logs` (migration 009): track which model the client originally requested vs the actual routed model. Enables fallback rate analytics.
+- **T02** — Strip empty text blocks from nested `tool_result.content`: prevents Anthropic 400 errors (`text content blocks must be non-empty`) when Claude Code chains tool results.
+- **T03** — Parse `x-codex-5h-*` / `x-codex-7d-*` headers: `parseCodexQuotaHeaders()` + `getCodexResetTime()` extract Codex quota windows for precise cooldown scheduling instead of generic 5-min fallback.
+- **T04** — `X-Session-Id` header for external sticky routing: `extractExternalSessionId()` in `sessionManager.ts` reads `x-session-id` / `x-omniroute-session` headers with `ext:` prefix to avoid collision with internal SHA-256 session IDs. Nginx-compatible (hyphenated header).
+- **T06** — Account deactivated → permanent block: `isAccountDeactivated()` in `accountFallback.ts` detects 401 deactivation signals and applies a 1-year cooldown to prevent retrying permanently dead accounts.
+- **T07** — X-Forwarded-For IP validation: new `src/lib/ipUtils.ts` with `extractClientIp()` and `getClientIpFromRequest()` — skips `unknown`/non-IP entries in `X-Forwarded-For` chains (Nginx/proxy-forwarded requests).
+- **T10** — Credits exhausted → distinct fallback: `isCreditsExhausted()` in `accountFallback.ts` returns 1h cooldown with `creditsExhausted` flag, distinct from generic 429 rate limiting.
+- **T11** — `max` reasoning effort → 131072 budget tokens: `EFFORT_BUDGETS` and `THINKING_LEVEL_MAP` updated; reverse mapping now returns `"max"` for full-budget responses. Unit test updated.
+- **T12** — MiniMax M2.7 pricing entries added: `minimax-m2.7`, `MiniMax-M2.7`, `minimax-m2.7-highspeed` added to pricing table (sub2api PR #1120). M2.5/GLM-4.7/GLM-5/Kimi pricing already existed.
+- **T15** — Array content normalization: `normalizeContentToString()` helper in `openai-to-claude.ts` correctly collapses array-formatted system/tool messages to string before sending to Anthropic.
+
+### 🧪 Tests
+
+- Test suite: **832 tests, 0 failures** (unchanged from rc.5)
+
+---
+
+## [3.0.0-rc.5] - 2026-03-22
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **#464** — Registered Keys Provisioning API: auto-issue API keys with per-provider & per-account quota enforcement
+ - `POST /api/v1/registered-keys` — issue keys with idempotency support
+ - `GET /api/v1/registered-keys` — list (masked) registered keys
+ - `GET /api/v1/registered-keys/{id}` — get key metadata
+ - `DELETE /api/v1/registered-keys/{id}` / `POST ../{id}/revoke` — revoke keys
+ - `GET /api/v1/quotas/check` — pre-validate before issuing
+ - `PUT /api/v1/providers/{id}/limits` — set provider issuance limits
+ - `PUT /api/v1/accounts/{id}/limits` — set account issuance limits
+ - `POST /api/v1/issues/report` — optional GitHub issue reporting
+ - DB migration 008: `registered_keys`, `provider_key_limits`, `account_key_limits` tables
+
+---
+
+## [3.0.0-rc.4] - 2026-03-22
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **#530 (PR)** — OpenCode Zen and OpenCode Go providers added (by @kang-heewon)
+ - New `OpencodeExecutor` with multi-format routing (`/chat/completions`, `/messages`, `/responses`)
+ - 7 models across both tiers
+
+---
+
+## [3.0.0-rc.3] - 2026-03-22
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **#529** — Provider icons now use [@lobehub/icons](https://github.com/lobehub/lobe-icons) with graceful PNG fallback and a `ProviderIcon` component (130+ providers supported)
+- **#488** — Auto-update model lists every 24h via `modelSyncScheduler` (configurable via `MODEL_SYNC_INTERVAL_HOURS`)
+
+### 🔧 Bug Fixes
+
+- **#537** — Gemini CLI OAuth: now shows clear actionable error when `GEMINI_OAUTH_CLIENT_SECRET` is missing in Docker/self-hosted deployments
+
+---
+
+## [3.0.0-rc.2] - 2026-03-22
+
+### 🔧 Bug Fixes
+
+- **#536** — LongCat AI key validation: fixed baseUrl (`api.longcat.chat/openai`) and authHeader (`Authorization: Bearer`)
+- **#535** — Pinned model override: `body.model` is now set to `pinnedModel` when context-cache protection detects a pinned model
+- **#524** — OpenCode config now saved correctly: added `saveOpenCodeConfig()` handler (XDG_CONFIG_HOME aware, writes TOML)
+
+---
+
+## [3.0.0-rc.1] - 2026-03-22
+
+### 🔧 Bug Fixes
+
+- **#521** — Login no longer gets stuck after skipping password setup (redirects to onboarding)
+- **#522** — API Manager: Removed misleading "Copy masked key" button (replaced with lock icon tooltip)
+- **#527** — Claude Code + Codex superpowers loop: `tool_result` blocks now converted to text instead of dropped
+- **#532** — OpenCode GO API key validation now uses the correct `zen/v1` endpoint (`testKeyBaseUrl`)
+- **#489** — Antigravity: missing `googleProjectId` returns structured 422 error with reconnect guidance
+- **#510** — Windows: MSYS2/Git-Bash paths (`/c/Program Files/...`) are now normalized to `C:\Program Files\...`
+- **#492** — `omniroute` CLI now detects `mise`/`nvm` when `app/server.js` is missing and shows targeted fix
+
+### Документация
+
+- **#513** — Docker password reset: `INITIAL_PASSWORD` env var workaround documented
+- **#520** — pnpm: `pnpm approve-builds better-sqlite3` documented
+
+### ✅ Closed Issues
+
+#489, #492, #510, #513, #520, #521, #522, #525, #527, #532
+
+---
+
+## [2.9.5] — 2026-03-22
+
+> Sprint: New OpenCode providers, embedding credentials fix, CLI masked key bug, CACHE_TAG_PATTERN fix.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **CLI tools save masked API key to config files** — `claude-settings`, `cline-settings`, and `openclaw-settings` POST routes now accept a `keyId` param and resolve the real API key from DB before writing to disk. `ClaudeToolCard` updated to send `keyId` instead of the masked display string. Fixes #523, #526.
+- **Custom embedding providers: `No credentials` error** — `/v1/embeddings` now tracks `credentialsProviderId` separately from the routing prefix, so credentials are fetched from the matching provider node ID rather than the public prefix string. Fixes a regression where `google/gemini-embedding-001` and similar custom-provider models would always fail with a credentials error. Fixes #532-related. (PR #528 by @jacob2826)
+- **Context cache protection regex misses `
+` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `
+` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.
+
+### ✨ New Providers
+
+- **OpenCode Zen** — Free tier gateway at `opencode.ai/zen/v1` with 3 models: `minimax-m2.5-free`, `big-pickle`, `gpt-5-nano`
+- **OpenCode Go** — Subscription service at `opencode.ai/zen/go/v1` with 4 models: `glm-5`, `kimi-k2.5`, `minimax-m2.7` (Claude format), `minimax-m2.5` (Claude format)
+- Both providers use the new `OpencodeExecutor` which routes dynamically to `/chat/completions`, `/messages`, `/responses`, or `/models/{model}:generateContent` based on the requested model. (PR #530 by @kang-heewon)
+
+---
+
+## [2.9.4] — 2026-03-21
+
+> Sprint: Bug fixes — preserve Codex prompt cache key, fix tagContent JSON escaping, sync expired token status to DB.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(translator)**: Preserve `prompt_cache_key` in Responses API → Chat Completions translation (#517)
+ — The field is a cache-affinity signal used by Codex; stripping it was preventing prompt cache hits.
+ Fixed in `openai-responses.ts` and `responsesApiHelper.ts`.
+
+- **fix(combo)**: Escape `
+` in `tagContent` so injected JSON string is valid (#515)
+ — Template literal newlines (U+000A) are not allowed unescaped inside JSON string values.
+ Replaced with `\n` literal sequences in `open-sse/services/combo.ts`.
+
+- **fix(usage)**: Sync expired token status back to DB on live auth failure (#491)
+ — When the Limits & Quotas live check returns 401/403, the connection `testStatus` is now updated
+ to `"expired"` in the database so the Providers page reflects the same degraded state.
+ Fixed in `src/app/api/usage/[connectionId]/route.ts`.
+
+---
+
+## [2.9.3] — 2026-03-21
+
+> Sprint: Add 5 new free AI providers — LongCat, Pollinations, Cloudflare AI, Scaleway, AI/ML API.
+
+### ✨ New Providers
+
+- **feat(providers/longcat)**: Add LongCat AI (`lc/`) — 50M tokens/day free (Flash-Lite) + 500K/day (Chat/Thinking) during public beta. OpenAI-compatible, standard Bearer auth.
+- **feat(providers/pollinations)**: Add Pollinations AI (`pol/`) — no API key required. Proxies GPT-5, Claude, Gemini, DeepSeek V3, Llama 4 (1 req/15s free). Custom executor handles optional auth.
+- **feat(providers/cloudflare-ai)**: Add Cloudflare Workers AI (`cf/`) — 10K Neurons/day free (~150 LLM responses or 500s Whisper audio). 50+ models on global edge. Custom executor builds dynamic URL with `accountId` from credentials.
+- **feat(providers/scaleway)**: Add Scaleway Generative APIs (`scw/`) — 1M free tokens for new accounts. EU/GDPR compliant (Paris). Qwen3 235B, Llama 3.1 70B, Mistral Small 3.2.
+- **feat(providers/aimlapi)**: Add AI/ML API (`aiml/`) — $0.025/day free credit, 200+ models (GPT-4o, Claude, Gemini, Llama) via single aggregator endpoint.
+
+### 🔄 Provider Updates
+
+- **feat(providers/together)**: Add `hasFree: true` + 3 permanently free model IDs: `Llama-3.3-70B-Instruct-Turbo-Free`, `Llama-Vision-Free`, `DeepSeek-R1-Distill-Llama-70B-Free`
+- **feat(providers/gemini)**: Add `hasFree: true` + `freeNote` (1,500 req/day, no credit card needed, aistudio.google.com)
+- **chore(providers/gemini)**: Rename display name to `Gemini (Google AI Studio)` for clarity
+
+### ⚙️ Infrastructure
+
+- **feat(executors/pollinations)**: New `PollinationsExecutor` — omits `Authorization` header when no API key provided
+- **feat(executors/cloudflare-ai)**: New `CloudflareAIExecutor` — dynamic URL construction requires `accountId` in provider credentials
+- **feat(executors)**: Register `pollinations`, `pol`, `cloudflare-ai`, `cf` executor mappings
+
+### Документация
+
+- **docs(readme)**: Expanded free combo stack to 11 providers ($0 forever)
+- **docs(readme)**: Added 4 new free provider sections (LongCat, Pollinations, Cloudflare AI, Scaleway) with model tables
+- **docs(readme)**: Updated pricing table with 4 new free tier rows
+- **docs(i18n/pt-BR)**: Updated pricing table + added LongCat/Pollinations/Cloudflare AI/Scaleway sections in Portuguese
+- **docs(new-features/ai)**: 10 task spec files + master implementation plan in `docs/new-features/ai/`
+
+### 🧪 Tests
+
+- Test suite: **821 tests, 0 failures** (unchanged)
+
+---
+
+## [2.9.2] — 2026-03-21
+
+> Sprint: Fix media transcription (Deepgram/HuggingFace Content-Type, language detection) and TTS error display.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(transcription)**: Deepgram and HuggingFace audio transcription now correctly map `video/mp4` → `audio/mp4` and other media MIME types via new `resolveAudioContentType()` helper. Previously, uploading `.mp4` files consistently returned "No speech detected" because Deepgram was receiving `Content-Type: video/mp4`.
+- **fix(transcription)**: Added `detect_language=true` to Deepgram requests — auto-detects audio language (Portuguese, Spanish, etc.) instead of defaulting to English. Fixes non-English transcriptions returning empty or garbage results.
+- **fix(transcription)**: Added `punctuate=true` to Deepgram requests for higher-quality transcription output with correct punctuation.
+- **fix(tts)**: `[object Object]` error display in Text-to-Speech responses fixed in both `audioSpeech.ts` and `audioTranscription.ts`. The `upstreamErrorResponse()` function now correctly extracts nested string messages from providers like ElevenLabs that return `{ error: { message: "...", status_code: 401 } }` instead of a flat error string.
+
+### 🧪 Tests
+
+- Test suite: **821 tests, 0 failures** (unchanged)
+
+### Triaged Issues
+
+- **#508** — Tool call format regression: requested proxy logs and provider chain info (`needs-info`)
+- **#510** — Windows CLI healthcheck path: requested shell/Node version info (`needs-info`)
+- **#485** — Kiro MCP tool calls: closed as external Kiro issue (not OmniRoute)
+- **#442** — Baseten /models endpoint: closed (documented manual workaround)
+- **#464** — Key provisioning API: acknowledged as roadmap item
+
+---
+
+## [2.9.1] — 2026-03-21
+
+> Sprint: Fix SSE omniModel data loss, merge per-protocol model compatibility.
+
+### Bug Fixes
+
+- **#511** — Critical: `<omniModel>` tag was sent after `finish_reason:stop` in SSE streams, causing data loss. Tag is now injected into the first non-empty content chunk, guaranteeing delivery before SDKs close the connection.
+
+### Merged PRs
+
+- **PR #512** (@zhangqiang8vip): Per-protocol model compatibility — `normalizeToolCallId` and `preserveOpenAIDeveloperRole` can now be configured per client protocol (OpenAI, Claude, Responses API). New `compatByProtocol` field in model config with Zod validation.
+
+### Triaged Issues
+
+- **#510** — Windows CLI healthcheck_failed: requested PATH/version info
+- **#509** — Turbopack Electron regression: upstream Next.js bug, documented workarounds
+- **#508** — macOS black screen: suggested `--disable-gpu` workaround
+
+---
+
+## [2.9.0] — 2026-03-20
+
+> Sprint: Cross-platform machineId fix, per-API-key rate limits, streaming context cache, Alibaba DashScope, search analytics, ZWS v5, and 8 issues closed.
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **feat(search)**: Search Analytics tab in `/dashboard/analytics` — provider breakdown, cache hit rate, cost tracking. New API: `GET /api/v1/search/analytics` (#feat/search-provider-routing)
+- **feat(provider)**: Alibaba Cloud DashScope added with custom endpoint path validation — configurable `chatPath` and `modelsPath` per node (#feat/custom-endpoint-paths)
+- **feat(api)**: Per-API-key request-count limits — `max_requests_per_day` and `max_requests_per_minute` columns with in-memory sliding-window enforcement returning HTTP 429 (#452)
+- **feat(dev)**: ZWS v5 — HMR leak fix (485 DB connections → 1), memory 2.4GB → 195MB, `globalThis` singletons, Edge Runtime warning fix (@zhangqiang8vip)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(#506)**: Cross-platform `machineId` — `getMachineIdRaw()` rewritten with try/catch waterfall (Windows REG.exe → macOS ioreg → Linux file read → hostname → `os.hostname()`). Eliminates `process.platform` branching that Next.js bundler dead-code-eliminated, fixing `'head' is not recognized` on Windows. Also fixes #466.
+- **fix(#493)**: Custom provider model naming — removed incorrect prefix stripping in `DefaultExecutor.transformRequest()` that mangled org-scoped model IDs like `zai-org/GLM-5-FP8`.
+- **fix(#490)**: Streaming + context cache protection — `TransformStream` intercepts SSE to inject `<omniModel>` tag before `[DONE]` marker, enabling context cache protection for streaming responses.
+- **fix(#458)**: Combo schema validation — `system_message`, `tool_filter_regex`, `context_cache_protection` fields now pass Zod validation on save.
+- **fix(#487)**: KIRO MITM card cleanup — removed ZWS_README, generified `AntigravityToolCard` to use dynamic tool metadata.
+
+### 🧪 Tests
+
+- Added Anthropic-format tools filter unit tests (PR #397) — 8 regression tests for `tool.name` without `.function` wrapper
+- Test suite: **821 tests, 0 failures** (up from 813)
+
+### 📋 Issues Closed (8)
+
+- **#506** — Windows machineId `head` not recognized (fixed)
+- **#493** — Custom provider model naming (fixed)
+- **#490** — Streaming context cache (fixed)
+- **#452** — Per-API-key request limits (implemented)
+- **#466** — Windows login failure (same root cause as #506)
+- **#504** — MITM inactive (expected behavior)
+- **#462** — Gemini CLI PSA (resolved)
+- **#434** — Electron app crash (duplicate of #402)
+
+## [2.8.9] — 2026-03-20
+
+> Sprint: Merge community PRs, fix KIRO MITM card, dependency updates.
+
+### Merged PRs
+
+- **PR #498** (@Sajid11194): Fix Windows machine ID crash (`undefined\REG.exe`). Replaces `node-machine-id` with native OS registry queries. **Closes #486.**
+- **PR #497** (@zhangqiang8vip): Fix dev-mode HMR resource leaks — 485 leaked DB connections → 1, memory 2.4GB → 195MB. `globalThis` singletons, Edge Runtime warning fix, Windows test stability. (+1168/-338 across 22 files)
+- **PRs #499-503** (Dependabot): GitHub Actions updates — `docker/build-push-action@7`, `actions/checkout@6`, `peter-evans/dockerhub-description@5`, `docker/setup-qemu-action@4`, `docker/login-action@4`.
+
+### Bug Fixes
+
+- **#505** — KIRO MITM card now displays tool-specific instructions (`api.anthropic.com`) instead of Antigravity-specific text.
+- **#504** — Responded with UX clarification (MITM "Inactive" is expected behavior when proxy is not running).
+
+---
+
+## [2.8.8] — 2026-03-20
+
+> Sprint: Fix OAuth batch test crash, add "Test All" button to individual provider pages.
+
+### Bug Fixes
+
+- **OAuth batch test crash** (ERR_CONNECTION_REFUSED): Replaced sequential for-loop with 5-connection concurrency limit + 30s per-connection timeout via `Promise.race()` + `Promise.allSettled()`. Prevents server crash when testing large OAuth provider groups (~30+ connections).
+
+### Функции
+
+- **"Test All" button on provider pages**: Individual provider pages (e.g., `/providers/codex`) now show a "Test All" button in the Connections header when there are 2+ connections. Uses `POST /api/providers/test-batch` with `{mode: "provider", providerId}`. Results displayed in a modal with pass/fail summary and per-connection diagnosis.
+
+---
+
+## [2.8.7] — 2026-03-20
+
+> Sprint: Merge PR #495 (Bottleneck 429 drop), fix #496 (custom embedding providers), triage features.
+
+### Bug Fixes
+
+- **Bottleneck 429 infinite wait** (PR #495 by @xandr0s): On 429, `limiter.stop({ dropWaitingJobs: true })` immediately fails all queued requests so upstream callers can trigger fallback. Limiter is deleted from Map so next request creates a fresh instance.
+- **Custom embedding models unresolvable** (#496): `POST /v1/embeddings` now resolves custom embedding models from ALL provider_nodes (not just localhost). Enables models like `google/gemini-embedding-001` added via dashboard.
+
+### Issues Responded
+
+- **#452** — Per-API-key request-count limits (acknowledged, on roadmap)
+- **#464** — Auto-issue API keys with provider/account limits (needs more detail)
+- **#488** — Auto-update model lists (acknowledged, on roadmap)
+- **#496** — Custom embedding provider resolution (fixed)
+
+---
+
+## [2.8.6] — 2026-03-20
+
+> Sprint: Merge PR #494 (MiniMax role fix), fix KIRO MITM dashboard, triage 8 issues.
+
+### Функции
+
+- **MiniMax developer→system role fix** (PR #494 by @zhangqiang8vip): Per-model `preserveDeveloperRole` toggle. Adds "Compatibility" UI in providers page. Fixes 422 "role param error" for MiniMax and similar gateways.
+- **roleNormalizer**: `normalizeDeveloperRole()` now accepts `preserveDeveloperRole` parameter with tri-state behavior (undefined=keep, true=keep, false=convert).
+- **DB**: New `getModelPreserveOpenAIDeveloperRole()` and `mergeModelCompatOverride()` in `models.ts`.
+
+### Bug Fixes
+
+- **KIRO MITM dashboard** (#481/#487): `CLIToolsPageClient` now routes any `configType: "mitm"` tool to `AntigravityToolCard` (MITM Start/Stop controls). Previously only Antigravity was hardcoded.
+- **AntigravityToolCard generic**: Uses `tool.image`, `tool.description`, `tool.id` instead of hardcoded Antigravity values. Guards against missing `defaultModels`.
+
+### Cleanup
+
+- Removed `ZWS_README_V2.md` (development-only docs from PR #494).
+
+### Issues Triaged (8)
+
+- **#487** — Closed (KIRO MITM fixed in this release)
+- **#486** — needs-info (Windows REG.exe PATH issue)
+- **#489** — needs-info (Antigravity projectId missing, OAuth reconnect needed)
+- **#492** — needs-info (missing app/server.js on mise-managed Node)
+- **#490** — Acknowledged (streaming + context cache blocking, fix planned)
+- **#491** — Acknowledged (Codex auth state inconsistency)
+- **#493** — Acknowledged (Modal provider model name prefix, workaround provided)
+- **#488** — Feature request backlog (auto-update model lists)
+
+---
+
+## [2.8.5] — 2026-03-19
+
+> Sprint: Fix zombie SSE streams, context cache first-turn, KIRO MITM, and triage 5 external issues.
+
+### Bug Fixes
+
+- **Zombie SSE Streams** (#473): Reduce `STREAM_IDLE_TIMEOUT_MS` from 300s → 120s for faster combo fallback when providers hang mid-stream. Configurable via env var.
+- **Context Cache Tag** (#474): Fix `injectModelTag()` to handle first-turn requests (no assistant messages) — context cache protection now works from the very first response.
+- **KIRO MITM** (#481): Change KIRO `configType` from `guide` → `mitm` so the dashboard renders MITM Start/Stop controls.
+- **E2E Test** (CI): Fix `providers-bailian-coding-plan.spec.ts` — dismiss pre-existing modal overlay before clicking Add API Key button.
+
+### Closed Issues
+
+- #473 — Zombie SSE streams bypass combo fallback
+- #474 — Context cache `<omniModel>` tag missing on first turn
+- #481 — MITM for KIRO not activatable from dashboard
+- #468 — Gemini CLI remote server (superseded by #462 deprecation)
+- #438 — Claude unable to write files (external CLI issue)
+- #439 — AppImage doesn't work (documented libfuse2 workaround)
+- #402 — ARM64 DMG "damaged" (documented xattr -cr workaround)
+- #460 — CLI not runnable on Windows (documented PATH fix)
+
+---
+
+## [2.8.4] — 2026-03-19
+
+> Sprint: Gemini CLI deprecation, VM guide i18n fix, dependabot security fix, provider schema expansion.
+
+### Функции
+
+- **Gemini CLI Deprecation** (#462): Mark `gemini-cli` provider as deprecated with warning — Google restricts third-party OAuth usage from March 2026
+- **Provider Schema** (#462): Expand Zod validation with `deprecated`, `deprecationReason`, `hasFree`, `freeNote`, `authHint`, `apiHint` optional fields
+
+### Bug Fixes
+
+- **VM Guide i18n** (#471): Add `VM_DEPLOYMENT_GUIDE.md` to i18n translation pipeline, regenerate all 30 locale translations from English source (were stuck in Portuguese)
+
+### Сигурност
+
+- **deps**: Bump `flatted` 3.3.3 → 3.4.2 — fixes CWE-1321 prototype pollution (#484, @dependabot)
+
+### Closed Issues
+
+- #472 — Model Aliases regression (fixed in v2.8.2)
+- #471 — VM guide translations broken
+- #483 — Trailing `data: null` after `[DONE]` (fixed in v2.8.3)
+
+### Merged PRs
+
+- #484 — deps: bump flatted from 3.3.3 to 3.4.2 (@dependabot)
+
+---
+
+## [2.8.3] — 2026-03-19
+
+> Sprint: Czech i18n, SSE protocol fix, VM guide translation.
+
+### Функции
+
+- **Czech Language** (#482): Full Czech (cs) i18n — 22 docs, 2606 UI strings, language switcher updates (@zen0bit)
+- **VM Deployment Guide**: Translated from Portuguese to English as the source document (@zen0bit)
+
+### Bug Fixes
+
+- **SSE Protocol** (#483): Stop sending trailing `data: null` after `[DONE]` signal — fixes `AI_TypeValidationError` in strict AI SDK clients (Zod-based validators)
+
+### Merged PRs
+
+- #482 — Add Czech language + Fix VM_DEPLOYMENT_GUIDE.md English source (@zen0bit)
+
+---
+
+## [2.8.2] — 2026-03-19
+
+> Sprint: 2 merged PRs, model aliases routing fix, log export, and issue triage.
+
+### Функции
+
+- **Log Export**: New Export button on `/dashboard/logs` with time range dropdown (1h, 6h, 12h, 24h). Downloads JSON of request/proxy/call logs via `/api/logs/export` API (#user-request)
+
+### Bug Fixes
+
+- **Model Aliases Routing** (#472): Settings → Model Aliases now correctly affect provider routing, not just format detection. Previously `resolveModelAlias()` output was only used for `getModelTargetFormat()` but the original model ID was sent to the provider
+- **Stream Flush Usage** (#480): Usage data from the last SSE event in the buffer is now correctly extracted during stream flush (merged from @prakersh)
+
+### Merged PRs
+
+- #480 — Extract usage from remaining buffer in flush handler (@prakersh)
+- #479 — Add missing Codex 5.3/5.4 and Anthropic model ID pricing entries (@prakersh)
+
+---
+
+## [2.8.1] — 2026-03-19
+
+> Sprint: Five community PRs — streaming call log fixes, Kiro compatibility, cache token analytics, Chinese translation, and configurable tool call IDs.
+
+### Функции
+
+- **feat(logs)**: Call log response content now correctly accumulated from raw provider chunks (OpenAI/Claude/Gemini) before translation, fixing empty response payloads in streaming mode (#470, @zhangqiang8vip)
+- **feat(providers)**: Per-model configurable 9-char tool call ID normalization (Mistral-style) — only models with the option enabled get truncated IDs (#470)
+- **feat(api)**: Key PATCH API expanded to support `allowedConnections`, `name`, `autoResolve`, `isActive`, and `accessSchedule` fields (#470)
+- **feat(dashboard)**: Response-first layout in request log detail UI (#470)
+- **feat(i18n)**: Improved Chinese (zh-CN) translation — complete retranslation (#475, @only4copilot)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(kiro)**: Strip injected `model` field from request body — Kiro API rejects unknown top-level fields (#478, @prakersh)
+- **fix(usage)**: Include cache read + cache creation tokens in usage history input totals for accurate analytics (#477, @prakersh)
+- **fix(callLogs)**: Support Claude format usage fields (`input_tokens`/`output_tokens`) alongside OpenAI format, include all cache token variants (#476, @prakersh)
+
+---
+
+## [2.8.0] — 2026-03-19
+
+> Sprint: Bailian Coding Plan provider with editable base URLs, plus community contributions for Alibaba Cloud and Kimi Coding.
+
+### Функции
+
+- **feat(providers)**: Added Bailian Coding Plan (`bailian-coding-plan`) — Alibaba Model Studio with Anthropic-compatible API. Static catalog of 8 models including Qwen3.5 Plus, Qwen3 Coder, MiniMax M2.5, GLM 5, and Kimi K2.5. Includes custom auth validation (400=valid, 401/403=invalid) (#467, @Mind-Dragon)
+- **feat(admin)**: Editable default URL in Provider Admin create/edit flows — users can configure custom base URLs per connection. Persisted in `providerSpecificData.baseUrl` with Zod schema validation rejecting non-http(s) schemes (#467)
+
+### 🧪 Tests
+
+- Added 30+ unit tests and 2 e2e scenarios for Bailian Coding Plan provider covering auth validation, schema hardening, route-level behavior, and cross-layer integration
+
+---
+
+## [2.7.10] — 2026-03-19
+
+> Sprint: Two new community-contributed providers (Alibaba Cloud Coding, Kimi Coding API-key) and Docker pino fix.
+
+### Функции
+
+- **feat(providers)**: Added Alibaba Cloud Coding Plan support with two OpenAI-compatible endpoints — `alicode` (China) and `alicode-intl` (International), each with 8 models (#465, @dtk1985)
+- **feat(providers)**: Added dedicated `kimi-coding-apikey` provider path — API-key-based Kimi Coding access is no longer forced through OAuth-only `kimi-coding` route. Includes registry, constants, models API, config, and validation test (#463, @Mind-Dragon)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(docker)**: Added missing `split2` dependency to Docker image — `pino-abstract-transport` requires it at runtime but it was not being copied into the standalone container, causing `Cannot find module 'split2'` crashes (#459)
+
+---
+
+## [2.7.9] — 2026-03-18
+
+> Sprint: Codex responses subpath passthrough natively supported, Windows MITM crash fixed, and Combos agent schemas adjusted.
+
+### Функции
+
+- **feat(codex)**: Native responses subpath passthrough for Codex — natively routes `POST /v1/responses/compact` to Codex upstream, maintaining Claude Code compatibility without stripping the `/compact` suffix (#457)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(combos)**: Zod schemas (`updateComboSchema` and `createComboSchema`) now include `system_message`, `tool_filter_regex`, and `context_cache_protection`. Fixes bug where agent-specific settings created via the dashboard were silently discarded by the backend validation layer (#458)
+- **fix(mitm)**: Kiro MITM profile crash on Windows fixed — `node-machine-id` failed due to missing `REG.exe` env, and the fallback threw a fatal `crypto is not defined` error. Fallback now safely and correctly imports crypto (#456)
+
+---
+
+## [2.7.8] — 2026-03-18
+
+> Sprint: Budget save bug + combo agent features UI + omniModel tag security fix.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(budget)**: "Save Limits" no longer returns 422 — `warningThreshold` is now correctly sent as fraction (0–1) instead of percentage (0–100) (#451)
+- **fix(combos)**: `<omniModel>` internal cache tag is now stripped before forwarding requests to providers, preventing cache session breaks (#454)
+
+### Функции
+
+- **feat(combos)**: Agent Features section added to combo create/edit modal — expose `system_message` override, `tool_filter_regex`, and `context_cache_protection` directly from the dashboard (#454)
+
+---
+
+## [2.7.7] — 2026-03-18
+
+> Sprint: Docker pino crash, Codex CLI responses worker fix, package-lock sync.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(docker)**: `pino-abstract-transport` and `pino-pretty` now explicitly copied in Docker runner stage — Next.js standalone trace misses these peer deps, causing `Cannot find module pino-abstract-transport` crash on startup (#449)
+- **fix(responses)**: Remove `initTranslators()` from `/v1/responses` route — was crashing Next.js worker with `the worker has exited` uncaughtException on Codex CLI requests (#450)
+
+### 🔧 Maintenance
+
+- **chore(deps)**: `package-lock.json` now committed on every version bump to ensure Docker `npm ci` uses exact dependency versions
+
+---
+
+## [2.7.5] — 2026-03-18
+
+> Sprint: UX improvements and Windows CLI healthcheck fix.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(ux)**: Show default password hint on login page — new users now see `"Default password: 123456"` below the password input (#437)
+- **fix(cli)**: Claude CLI and other npm-installed tools now correctly detected as runnable on Windows — spawn uses `shell:true` to resolve `.cmd` wrappers via PATHEXT (#447)
+
+---
+
+## [2.7.4] — 2026-03-18
+
+> Sprint: Search Tools dashboard, i18n fixes, Copilot limits, Serper validation fix.
+
+### Функции
+
+- **feat(search)**: Add Search Playground (10th endpoint), Search Tools page with Compare Providers/Rerank Pipeline/Search History, local rerank routing, auth guards on search API (#443 by @Regis-RCR)
+ - New route: `/dashboard/search-tools`
+ - Sidebar entry under Debug section
+ - `GET /api/search/providers` and `GET /api/search/stats` with auth guards
+ - Local provider_nodes routing for `/v1/rerank`
+ - 30+ i18n keys in search namespace
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(search)**: Fix Brave news normalizer (was returning 0 results), enforce max_results truncation post-normalization, fix Endpoints page fetch URL (#443 by @Regis-RCR)
+- **fix(analytics)**: Localize analytics day/date labels — replace hardcoded Portuguese strings with `Intl.DateTimeFormat(locale)` (#444 by @hijak)
+- **fix(copilot)**: Correct GitHub Copilot account type display, filter misleading unlimited quota rows from limits dashboard (#445 by @hijak)
+- **fix(providers)**: Stop rejecting valid Serper API keys — treat non-4xx responses as valid authentication (#446 by @hijak)
+
+---
+
+## [2.7.3] — 2026-03-18
+
+> Sprint: Codex direct API quota fallback fix.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(codex)**: Block weekly-exhausted accounts in direct API fallback (#440)
+ - `resolveQuotaWindow()` prefix matching: `"weekly"` now matches `"weekly (7d)"` cache keys
+ - `applyCodexWindowPolicy()` enforces `useWeekly`/`use5h` toggles correctly
+ - 4 new regression tests (766 total)
+
+---
+
+## [2.7.2] — 2026-03-18
+
+> Sprint: Light mode UI contrast fixes.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(logs)**: Fix light mode contrast in request logs filter buttons and combo badge (#378)
+ - Error/Success/Combo filter buttons now readable in light mode
+ - Combo row badge uses stronger violet in light mode
+
+---
+
+## [2.7.1] — 2026-03-17
+
+> Sprint: Unified web search routing (POST /v1/search) with 5 providers + Next.js 16.1.7 security fixes (6 CVEs).
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **feat(search)**: Unified web search routing — `POST /v1/search` with 5 providers (Serper, Brave, Perplexity, Exa, Tavily)
+ - Auto-failover across providers, 6,500+ free searches/month
+ - In-memory cache with request coalescing (configurable TTL)
+ - Dashboard: Search Analytics tab in `/dashboard/analytics` with provider breakdown, cache hit rate, cost tracking
+ - New API: `GET /api/v1/search/analytics` for search request statistics
+ - DB migration: `request_type` column on `call_logs` for non-chat request tracking
+ - Zod validation (`v1SearchSchema`), auth-gated, cost recorded via `recordCost()`
+
+### Сигурност
+
+- **deps**: Next.js 16.1.6 → 16.1.7 — fixes 6 CVEs:
+ - **Critical**: CVE-2026-29057 (HTTP request smuggling via http-proxy)
+ - **High**: CVE-2026-27977, CVE-2026-27978 (WebSocket + Server Actions)
+ - **Medium**: CVE-2026-27979, CVE-2026-27980, CVE-2026-jcc7
+
+### 📁 New Files
+
+| File | Purpose |
+| ---------------------------------------------------------------- | ------------------------------------------ |
+| `open-sse/handlers/search.ts` | Search handler with 5-provider routing |
+| `open-sse/config/searchRegistry.ts` | Provider registry (auth, cost, quota, TTL) |
+| `open-sse/services/searchCache.ts` | In-memory cache with request coalescing |
+| `src/app/api/v1/search/route.ts` | Next.js route (POST + GET) |
+| `src/app/api/v1/search/analytics/route.ts` | Search stats API |
+| `src/app/(dashboard)/dashboard/analytics/SearchAnalyticsTab.tsx` | Analytics dashboard tab |
+| `src/lib/db/migrations/007_search_request_type.sql` | DB migration |
+| `tests/unit/search-registry.test.mjs` | 277 lines of unit tests |
+
+---
+
+## [2.7.0] — 2026-03-17
+
+> Sprint: ClawRouter-inspired features — toolCalling flag, multilingual intent detection, benchmark-driven fallback, request deduplication, pluggable RouterStrategy, Grok-4 Fast + GLM-5 + MiniMax M2.5 + Kimi K2.5 pricing.
+
+### ✨ New Models & Pricing
+
+- **feat(pricing)**: xAI Grok-4 Fast — `$0.20/$0.50 per 1M tokens`, 1143ms p50 latency, tool calling supported
+- **feat(pricing)**: xAI Grok-4 (standard) — `$0.20/$1.50 per 1M tokens`, reasoning flagship
+- **feat(pricing)**: GLM-5 via Z.AI — `$0.5/1M`, 128K output context
+- **feat(pricing)**: MiniMax M2.5 — `$0.30/1M input`, reasoning + agentic tasks
+- **feat(pricing)**: DeepSeek V3.2 — updated pricing `$0.27/$1.10 per 1M`
+- **feat(pricing)**: Kimi K2.5 via Moonshot API — direct Moonshot API access
+- **feat(providers)**: Z.AI provider added (`zai` alias) — GLM-5 family with 128K output
+
+### 🧠 Routing Intelligence
+
+- **feat(registry)**: `toolCalling` flag per model in provider registry — combos can now prefer/require tool-calling capable models
+- **feat(scoring)**: Multilingual intent detection for AutoCombo scoring — PT/ZH/ES/AR script/language patterns influence model selection per request context
+- **feat(fallback)**: Benchmark-driven fallback chains — real latency data (p50 from `comboMetrics`) used to re-order fallback priority dynamically
+- **feat(dedup)**: Request deduplication via content-hash — 5-second idempotency window prevents duplicate provider calls from retrying clients
+- **feat(router)**: Pluggable `RouterStrategy` interface in `autoCombo/routerStrategy.ts` — custom routing logic can be injected without modifying core
+
+### 🔧 MCP Server Improvements
+
+- **feat(mcp)**: 2 new advanced tool schemas: `omniroute_get_provider_metrics` (p50/p95/p99 per provider) and `omniroute_explain_route` (routing decision explanation)
+- **feat(mcp)**: MCP tool auth scopes updated — `metrics:read` scope added for provider metrics tools
+- **feat(mcp)**: `omniroute_best_combo_for_task` now accepts `languageHint` parameter for multilingual routing
+
+### 📊 Observability
+
+- **feat(metrics)**: `comboMetrics.ts` extended with real-time latency percentile tracking per provider/account
+- **feat(health)**: Health API (`/api/monitoring/health`) now returns per-provider `p50Latency` and `errorRate` fields
+- **feat(usage)**: Usage history migration for per-model latency tracking
+
+### 🗄️ DB Migrations
+
+- **feat(migrations)**: New column `latency_p50` in `combo_metrics` table — zero-breaking, safe for existing users
+
+### 🐛 Bug Fixes / Closures
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **close(#411)**: better-sqlite3 hashed module resolution on Windows — fixed in v2.6.10 (f02c5b5)
+- **close(#409)**: GitHub Copilot chat completions fail with Claude models when files attached — fixed in v2.6.9 (838f1d6)
+- **close(#405)**: Duplicate of #411 — resolved
+
+## [2.6.10] — 2026-03-17
+
+> Windows fix: better-sqlite3 prebuilt download without node-gyp/Python/MSVC (#426).
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(install/#426)**: On Windows, `npm install -g omniroute` used to fail with `better_sqlite3.node is not a valid Win32 application` because the bundled native binary was compiled for Linux. Adds **Strategy 1.5** to `scripts/postinstall.mjs`: uses `@mapbox/node-pre-gyp install --fallback-to-build=false` (bundled within `better-sqlite3`) to download the correct prebuilt binary for the current OS/arch without requiring any build tools (no node-gyp, no Python, no MSVC). Falls back to `npm rebuild` only if the download fails. Adds platform-specific error messages with clear manual fix instructions.
+
+---
+
+## [2.6.9] — 2026-03-17
+
+> CI fixes (t11 any-budget), bug fix #409 (file attachments via Copilot+Claude), release workflow correction.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `any` budget check (false positive from regex counting comments)
+- **fix(chatCore)**: Normalize unsupported content part types before forwarding to providers (#409 — Cursor sends `{type:"file"}` when `.md` files are attached; Copilot and other OpenAI-compat providers reject with "type has to be either 'image_url' or 'text'"; fix converts `file`/`document` blocks to `text` and drops unknown types)
+
+### 🔧 Workflow
+
+- **chore(generate-release)**: Add ATOMIC COMMIT RULE — version bump (`npm version patch`) MUST happen before committing feature files to ensure tag always points to a commit containing all version changes together
+
+---
+
+## [2.6.8] — 2026-03-17
+
+> Sprint: Combo as Agent (system prompt + tool filter), Context Caching Protection, Auto-Update, Detailed Logs, MITM Kiro IDE.
+
+### 🗄️ DB Migrations (zero-breaking — safe for existing users)
+
+- **005_combo_agent_fields.sql**: `ALTER TABLE combos ADD COLUMN system_message TEXT DEFAULT NULL`, `tool_filter_regex TEXT DEFAULT NULL`, `context_cache_protection INTEGER DEFAULT 0`
+- **006_detailed_request_logs.sql**: New `request_detail_logs` table with 500-entry ring-buffer trigger, opt-in via settings toggle
+
+### Функции
+
+- **feat(combo)**: System Message Override per Combo (#399 — `system_message` field replaces or injects system prompt before forwarding to provider)
+- **feat(combo)**: Tool Filter Regex per Combo (#399 — `tool_filter_regex` keeps only tools matching pattern; supports OpenAI + Anthropic formats)
+- **feat(combo)**: Context Caching Protection (#401 — `context_cache_protection` tags responses with `<omniModel>provider/model</omniModel>` and pins model for session continuity)
+- **feat(settings)**: Auto-Update via Settings (#320 — `GET /api/system/version` + `POST /api/system/update` — checks npm registry and updates in background with pm2 restart)
+- **feat(logs)**: Detailed Request Logs (#378 — captures full pipeline bodies at 4 stages: client request, translated request, provider response, client response — opt-in toggle, 64KB trim, 500-entry ring-buffer)
+- **feat(mitm)**: MITM Kiro IDE profile (#336 — `src/mitm/targets/kiro.ts` targets api.anthropic.com, reuses existing MITM infrastructure)
+
+---
+
+## [2.6.7] — 2026-03-17
+
+> Sprint: SSE improvements, local provider_nodes extensions, proxy registry, Claude passthrough fixes.
+
+### Функции
+
+- **feat(health)**: Background health check for local `provider_nodes` with exponential backoff (30s→300s) and `Promise.allSettled` to avoid blocking (#423, @Regis-RCR)
+- **feat(embeddings)**: Route `/v1/embeddings` to local `provider_nodes` — `buildDynamicEmbeddingProvider()` with hostname validation (#422, @Regis-RCR)
+- **feat(audio)**: Route TTS/STT to local `provider_nodes` — `buildDynamicAudioProvider()` with SSRF protection (#416, @Regis-RCR)
+- **feat(proxy)**: Proxy registry, management APIs, and quota-limit generalization (#429, @Regis-RCR)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(sse)**: Strip Claude-specific fields (`metadata`, `anthropic_version`) when target is OpenAI-compat (#421, @prakersh)
+- **fix(sse)**: Extract Claude SSE usage (`input_tokens`, `output_tokens`, cache tokens) in passthrough stream mode (#420, @prakersh)
+- **fix(sse)**: Generate fallback `call_id` for tool calls with missing/empty IDs (#419, @prakersh)
+- **fix(sse)**: Claude-to-Claude passthrough — forward body completely untouched, no re-translation (#418, @prakersh)
+- **fix(sse)**: Filter orphaned `tool_result` items after Claude Code context compaction to avoid 400 errors (#417, @prakersh)
+- **fix(sse)**: Skip empty-name tool calls in Responses API translator to prevent `placeholder_tool` infinite loops (#415, @prakersh)
+- **fix(sse)**: Strip empty text content blocks before translation (#427, @prakersh)
+- **fix(api)**: Add `refreshable: true` to Claude OAuth test config (#428, @prakersh)
+
+### 📦 Dependencies
+
+- Bump `vitest`, `@vitest/*` and related devDependencies (#414, @dependabot)
+
+---
+
+## [2.6.6] — 2026-03-17
+
+> Hotfix: Turbopack/Docker compatibility — remove `node:` protocol from all `src/` imports.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(build)**: Removed `node:` protocol prefix from `import` statements in 17 files under `src/`. The `node:fs`, `node:path`, `node:url`, `node:os` etc. imports caused `Ecmascript file had an error` on Turbopack builds (Next.js 15 Docker) and on upgrades from older npm global installs. Affected files: `migrationRunner.ts`, `core.ts`, `backup.ts`, `prompts.ts`, `dataPaths.ts`, and 12 others in `src/app/api/` and `src/lib/`.
+- **chore(workflow)**: Updated `generate-release.md` to make Docker Hub sync and dual-VPS deploy **mandatory** steps in every release.
+
+---
+
+## [2.6.5] — 2026-03-17
+
+> Sprint: reasoning model param filtering, local provider 404 fix, Kilo Gateway provider, dependency bumps.
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **feat(api)**: Added **Kilo Gateway** (`api.kilo.ai`) as a new API Key provider (alias `kg`) — 335+ models, 6 free models, 3 auto-routing models (`kilo-auto/frontier`, `kilo-auto/balanced`, `kilo-auto/free`). Passthrough models supported via `/api/gateway/models` endpoint. (PR #408 by @Regis-RCR)
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(sse)**: Strip unsupported parameters for reasoning models (o1, o1-mini, o1-pro, o3, o3-mini). Models in the `o1`/`o3` family reject `temperature`, `top_p`, `frequency_penalty`, `presence_penalty`, `logprobs`, `top_logprobs`, and `n` with HTTP 400. Parameters are now stripped at the `chatCore` layer before forwarding. Uses a declarative `unsupportedParams` field per model and a precomputed O(1) Map for lookup. (PR #412 by @Regis-RCR)
+- **fix(sse)**: Local provider 404 now results in a **model-only lockout (5 seconds)** instead of a connection-level lockout (2 minutes). When a local inference backend (Ollama, LM Studio, oMLX) returns 404 for an unknown model, the connection remains active and other models continue working immediately. Also fixes a pre-existing bug where `model` was not passed to `markAccountUnavailable()`. Local providers detected via hostname (`localhost`, `127.0.0.1`, `::1`, extensible via `LOCAL_HOSTNAMES` env var). (PR #410 by @Regis-RCR)
+
+### 📦 Dependencies
+
+- `better-sqlite3` 12.6.2 → 12.8.0
+- `undici` 7.24.2 → 7.24.4
+- `https-proxy-agent` 7 → 8
+- `agent-base` 7 → 8
+
+---
+
+## [2.6.4] — 2026-03-17
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(providers)**: Removed non-existent model names across 5 providers:
+ - **gemini / gemini-cli**: removed `gemini-3.1-pro/flash` and `gemini-3-*-preview` (don't exist in Google API v1beta); replaced with `gemini-2.5-pro`, `gemini-2.5-flash`, `gemini-2.0-flash`, `gemini-1.5-pro/flash`
+ - **antigravity**: removed `gemini-3.1-pro-high/low` and `gemini-3-flash` (invalid internal aliases); replaced with real 2.x models
+ - **github (Copilot)**: removed `gemini-3-flash-preview` and `gemini-3-pro-preview`; replaced with `gemini-2.5-flash`
+ - **nvidia**: corrected `nvidia/llama-3.3-70b-instruct` → `meta/llama-3.3-70b-instruct` (NVIDIA NIM uses `meta/` namespace for Meta models); added `nvidia/llama-3.1-70b-instruct` and `nvidia/llama-3.1-405b-instruct`
+- **fix(db/combo)**: Updated `free-stack` combo on remote DB: removed `qw/qwen3-coder-plus` (expired refresh token), corrected `nvidia/llama-3.3-70b-instruct` → `nvidia/meta/llama-3.3-70b-instruct`, corrected `gemini/gemini-3.1-flash` → `gemini/gemini-2.5-flash`, added `if/deepseek-v3.2`
+
+---
+
+## [2.6.3] — 2026-03-16
+
+> Sprint: zod/pino hash-strip baked into build pipeline, Synthetic provider added, VPS PM2 path corrected.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(build)**: Turbopack hash-strip now runs at **compile time** for ALL packages — not just `better-sqlite3`. Step 5.6 in `prepublish.mjs` walks every `.js` in `app/.next/server/` and strips the 16-char hex suffix from any hashed `require()`. Fixes `zod-dcb22c...`, `pino-...`, etc. MODULE_NOT_FOUND on global npm installs. Closes #398
+- **fix(deploy)**: PM2 on both VPS was pointing to stale git-clone directories. Reconfigured to `app/server.js` in the npm global package. Updated `/deploy-vps` workflow to use `npm pack + scp` (npm registry rejects 299MB packages).
+
+### Функции
+
+- **feat(provider)**: Synthetic ([synthetic.new](https://synthetic.new)) — privacy-focused OpenAI-compatible inference. `passthroughModels: true` for dynamic HuggingFace model catalog. Initial models: Kimi K2.5, MiniMax M2.5, GLM 4.7, DeepSeek V3.2. (PR #404 by @Regis-RCR)
+
+### 📋 Issues Closed
+
+- **close #398**: npm hash regression — fixed by compile-time hash-strip in prepublish
+- **triage #324**: Bug screenshot without steps — requested reproduction details
+
+---
+
+## [2.6.2] — 2026-03-16
+
+> Sprint: module hashing fully fixed, 2 PRs merged (Anthropic tools filter + custom endpoint paths), Alibaba Cloud DashScope provider added, 3 stale issues closed.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(build)**: Extended webpack `externals` hash-strip to cover ALL `serverExternalPackages`, not just `better-sqlite3`. Next.js 16 Turbopack hashes `zod`, `pino`, and every other server-external package into names like `zod-dcb22c6336e0bc69` that don't exist in `node_modules` at runtime. A HASH_PATTERN regex catch-all now strips the 16-char suffix and falls back to the base package name. Also added `NEXT_PRIVATE_BUILD_WORKER=0` in `prepublish.mjs` to reinforce webpack mode, plus a post-build scan that reports any remaining hashed refs. (#396, #398, PR #403)
+- **fix(chat)**: Anthropic-format tool names (`tool.name` without `.function` wrapper) were silently dropped by the empty-name filter introduced in #346. LiteLLM proxies requests with `anthropic/` prefix in Anthropic Messages API format, causing all tools to be filtered and Anthropic to return `400: tool_choice.any may only be specified while providing tools`. Fixed by falling back to `tool.name` when `tool.function.name` is absent. Added 8 regression unit tests. (PR #397)
+
+### Функции
+
+- **feat(api)**: Custom endpoint paths for OpenAI-compatible provider nodes — configure `chatPath` and `modelsPath` per node (e.g. `/v4/chat/completions`) in the provider connection UI. Includes a DB migration (`003_provider_node_custom_paths.sql`) and URL path sanitization (no `..` traversal, must start with `/`). (PR #400)
+- **feat(provider)**: Alibaba Cloud DashScope added as OpenAI-compatible provider. International endpoint: `dashscope-intl.aliyuncs.com/compatible-mode/v1`. 12 models: `qwen-max`, `qwen-plus`, `qwen-turbo`, `qwen3-coder-plus/flash`, `qwq-plus`, `qwq-32b`, `qwen3-32b`, `qwen3-235b-a22b`. Auth: Bearer API key.
+
+### 📋 Issues Closed
+
+- **close #323**: Cline connection error `[object Object]` — fixed in v2.3.7; instructed user to upgrade from v2.2.9
+- **close #337**: Kiro credit tracking — implemented in v2.5.5 (#381); pointed user to Dashboard → Usage
+- **triage #402**: ARM64 macOS DMG damaged — requested macOS version, exact error, and advised `xattr -d com.apple.quarantine` workaround
+
+---
+
+## [2.6.1] — 2026-03-15
+
+> Critical startup fix: v2.6.0 global npm installs crashed with a 500 error due to a Turbopack/webpack module-name hashing bug in the Next.js 16 instrumentation hook.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(build)**: Force `better-sqlite3` to always be required by its exact package name in the webpack server bundle. Next.js 16 compiled the instrumentation hook into a separate chunk and emitted `require('better-sqlite3-<hash>')` — a hashed module name that doesn't exist in `node_modules` — even though the package was listed in `serverExternalPackages`. Added an explicit `externals` function to the server webpack config so the bundler always emits `require('better-sqlite3')`, resolving the startup `500 Internal Server Error` on clean global installs. (#394, PR #395)
+
+### 🔧 CI
+
+- **ci**: Added `workflow_dispatch` to `npm-publish.yml` with version sync safeguard for manual triggers (#392)
+- **ci**: Added `workflow_dispatch` to `docker-publish.yml`, updated GitHub Actions to latest versions (#392)
+
+---
+
+## [2.6.0] - 2026-03-15
+
+> Issue resolution sprint: 4 bugs fixed, logs UX improved, Kiro credit tracking added.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(media)**: ComfyUI and SD WebUI no longer appear in the Media page provider list when unconfigured — fetches `/api/providers` on mount and hides local providers with no connections (#390)
+- **fix(auth)**: Round-robin no longer re-selects rate-limited accounts immediately after cooldown — `backoffLevel` is now used as primary sort key in the LRU rotation (#340)
+- **fix(oauth)**: Qoder (and other providers that redirect to their own UI) no longer leave the OAuth modal stuck at "Waiting for Authorization" — popup-closed detector auto-transitions to manual URL input mode (#344)
+- **fix(logs)**: Request log table is now readable in light mode — status badges, token counts, and combo tags use adaptive `dark:` color classes (#378)
+
+### Функции
+
+- **feat(kiro)**: Kiro credit tracking added to usage fetcher — queries `getUserCredits` from AWS CodeWhisperer endpoint (#337)
+
+### 🛠 Chores
+
+- **chore(tests)**: Aligned `test:plan3`, `test:fixes`, `test:security` to use same `tsx/esm` loader as `npm test` — eliminates module resolution false negatives in targeted runs (PR #386)
+
+---
+
+## [2.5.9] - 2026-03-15
+
+> Codex native passthrough fix + route body validation hardening.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(codex)**: Preserve native Responses API passthrough for Codex clients — avoids unnecessary translation mutations (PR #387)
+- **fix(api)**: Validate request bodies on pricing/sync and task-routing routes — prevents crashes from malformed inputs (PR #388)
+- **fix(auth)**: JWT secrets persist across restarts via `src/lib/db/secrets.ts` — eliminates 401 errors after pm2 restart (PR #388)
+
+---
+
+## [2.5.8] - 2026-03-15
+
+> Build fix: restore VPS connectivity broken by v2.5.7 incomplete publish.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(build)**: `scripts/prepublish.mjs` still used deprecated `--webpack` flag causing Next.js standalone build to fail silently — npm publish completed without `app/server.js`, breaking VPS deployment
+
+---
+
+## [2.5.7] - 2026-03-15
+
+> Media playground error handling fixes.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(media)**: Transcription "API Key Required" false positive when audio contains no speech (music, silence) — now shows "No speech detected" instead
+- **fix(media)**: `upstreamErrorResponse` in `audioTranscription.ts` and `audioSpeech.ts` now returns proper JSON (`{error:{message}}`), enabling correct 401/403 credential error detection in the MediaPageClient
+- **fix(media)**: `parseApiError` now handles Deepgram's `err_msg` field and detects `"api key"` in error messages for accurate credential error classification
+
+---
+
+## [2.5.6] - 2026-03-15
+
+> Critical security/auth fixes: Antigravity OAuth broken + JWT sessions lost after restart.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(oauth) #384**: Antigravity Google OAuth now correctly sends `client_secret` to the token endpoint. The fallback for `ANTIGRAVITY_OAUTH_CLIENT_SECRET` was an empty string, which is falsy — so `client_secret` was never included in the request, causing `"client_secret is missing"` errors for all users without a custom env var. Closes #383.
+- **fix(auth) #385**: `JWT_SECRET` is now persisted to SQLite (`namespace='secrets'`) on first generation and reloaded on subsequent starts. Previously, a new random secret was generated each process startup, invalidating all existing cookies/sessions after any restart or upgrade. Affects both `JWT_SECRET` and `API_KEY_SECRET`. Closes #382.
+
+---
+
+## [2.5.5] - 2026-03-15
+
+> Model list dedup fix, Electron standalone build hardening, and Kiro credit tracking.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(models) #380**: `GET /api/models` now includes provider aliases when building the active-provider filter — models for `claude` (alias `cc`) and `github` (alias `gh`) were always shown regardless of whether a connection was configured, because `PROVIDER_MODELS` keys are aliases but DB connections are stored under provider IDs. Fixed by expanding each active provider ID to also include its alias via `PROVIDER_ID_TO_ALIAS`. Closes #353.
+- **fix(electron) #379**: New `scripts/prepare-electron-standalone.mjs` stages a dedicated `/.next/electron-standalone` bundle before Electron packaging. Aborts with a clear error if `node_modules` is a symlink (electron-builder would ship a runtime dependency on the build machine). Cross-platform path sanitization via `path.basename`. By @kfiramar.
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **feat(kiro) #381**: Kiro credit balance tracking — usage endpoint now returns credit data for Kiro accounts by calling `codewhisperer.us-east-1.amazonaws.com/getUserCredits` (same endpoint Kiro IDE uses internally). Returns remaining credits, total allowance, renewal date, and subscription tier. Closes #337.
+
+## [2.5.4] - 2026-03-15
+
+> Logger startup fix, login bootstrap security fix, and dev HMR reliability improvement. CI infrastructure hardened.
+
+### 🐛 Bug Fixes (PRs #374, #375, #376 by @kfiramar)
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(logger) #376**: Restore pino transport logger path — `formatters.level` combined with `transport.targets` is rejected by pino. Transport-backed configs now strip the level formatter via `getTransportCompatibleConfig()`. Also corrects numeric level mapping in `/api/logs/console`: `30→info, 40→warn, 50→error` (was shifted by one).
+- **fix(login) #375**: Login page now bootstraps from the public `/api/settings/require-login` endpoint instead of the protected `/api/settings`. In password-protected setups, the pre-auth page was receiving a 401 and falling back to safe defaults unnecessarily. The public route now returns all bootstrap metadata (`requireLogin`, `hasPassword`, `setupComplete`) with a conservative 200 fallback on error.
+- **fix(dev) #374**: Add `localhost` and `127.0.0.1` to `allowedDevOrigins` in `next.config.mjs` — HMR websocket was blocked when accessing the app via loopback address, producing repeated cross-origin warnings.
+
+### 🔧 CI & Infrastructure
+
+- **ESLint OOM fix**: `eslint.config.mjs` now ignores `vscode-extension/**`, `electron/**`, `docs/**`, `app/.next/**`, and `clipr/**` — ESLint was crashing with a JS heap OOM by scanning VS Code binary blobs and compiled chunks.
+- **Unit test fix**: Removed stale `ALTER TABLE provider_connections ADD COLUMN "group"` from 2 test files — column is now part of the base schema (added in #373), causing `SQLITE_ERROR: duplicate column name` on every CI run.
+- **Pre-commit hook**: Added `npm run test:unit` to `.husky/pre-commit` — unit tests now block broken commits before they reach CI.
+
+## [2.5.3] - 2026-03-14
+
+> Critical bugfixes: DB schema migration, startup env loading, provider error state clearing, and i18n tooltip fix. Code quality improvements on top of each PR.
+
+### 🐛 Bug Fixes (PRs #369, #371, #372, #373 by @kfiramar)
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix(db) #373**: Add `provider_connections.group` column to base schema + backfill migration for existing databases — column was used in all queries but missing from schema definition
+- **fix(i18n) #371**: Replace non-existent `t("deleteConnection")` key with existing `providers.delete` key — fixes `MISSING_MESSAGE: providers.deleteConnection` runtime error on provider detail page
+- **fix(auth) #372**: Clear stale error metadata (`errorCode`, `lastErrorType`, `lastErrorSource`) from provider accounts after genuine recovery — previously, recovered accounts kept appearing as failed
+- **fix(startup) #369**: Unify env loading across `npm run start`, `run-standalone.mjs`, and Electron to respect `DATA_DIR/.env → ~/.omniroute/.env → ./.env` priority — prevents generating a new `STORAGE_ENCRYPTION_KEY` over an existing encrypted database
+
+### 🔧 Code Quality
+
+- Documented `result.success` vs `response?.ok` patterns in `auth.ts` (both intentional, now explained)
+- Normalized `overridePath?.trim()` in `electron/main.js` to match `bootstrap-env.mjs`
+- Added `preferredEnv` merge order comment in Electron startup
+
+> Codex account quota policy with auto-rotation, fast tier toggle, gpt-5.4 model, and analytics label fix.
+
+### ✨ New Features (PRs #366, #367, #368)
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Codex Quota Policy (PR #366)**: Per-account 5h/weekly quota window toggles in Provider dashboard. Accounts are automatically skipped when enabled windows reach 90% threshold and re-admitted after `resetAt`. Includes `quotaCache.ts` with side-effect free status getter.
+- **Codex Fast Tier Toggle (PR #367)**: Dashboard → Settings → Codex Service Tier. Default-off toggle injects `service_tier: "flex"` only for Codex requests, reducing cost ~80%. Full stack: UI tab + API endpoint + executor + translator + startup restore.
+- **gpt-5.4 Model (PR #368)**: Adds `cx/gpt-5.4` and `codex/gpt-5.4` to the Codex model registry. Regression test included.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix #356**: Analytics charts (Top Provider, By Account, Provider Breakdown) now display human-readable provider names/labels instead of raw internal IDs for OpenAI-compatible providers.
+
+> Major release: strict-random routing strategy, API key access controls, connection groups, external pricing sync, and critical bug fixes for thinking models, combo testing, and tool name validation.
+
+### ✨ New Features (PRs #363 & #365)
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Strict-Random Routing Strategy**: Fisher-Yates shuffle deck with anti-repeat guarantee and mutex serialization for concurrent requests. Independent decks per combo and per provider.
+- **API Key Access Controls**: `allowedConnections` (restrict which connections a key can use), `is_active` (enable/disable key with 403), `accessSchedule` (time-based access control), `autoResolve` toggle, rename keys via PATCH.
+- **Connection Groups**: Group provider connections by environment. Accordion view in Limits page with localStorage persistence and smart auto-switch.
+- **External Pricing Sync (LiteLLM)**: 3-tier pricing resolution (user overrides → synced → defaults). Opt-in via `PRICING_SYNC_ENABLED=true`. MCP tool `omniroute_sync_pricing`. 23 new tests.
+- **i18n**: 30 languages updated with strict-random strategy, API key management strings. pt-BR fully translated.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **fix #355**: Stream idle timeout increased from 60s to 300s — prevents aborting extended-thinking models (claude-opus-4-6, o3, etc.) during long reasoning phases. Configurable via `STREAM_IDLE_TIMEOUT_MS`.
+- **fix #350**: Combo test now bypasses `REQUIRE_API_KEY=true` using internal header, and uses OpenAI-compatible format universally. Timeout extended from 15s to 20s.
+- **fix #346**: Tools with empty `function.name` (forwarded by Claude Code) are now filtered before upstream providers receive them, preventing "Invalid input[N].name: empty string" errors.
+
+### 🗑️ Closed Issues
+
+- **#341**: Debug section removed — replacement is `/dashboard/logs` and `/dashboard/health`.
+
+> API Key Round-Robin support for multi-key provider setups, and confirmation of wildcard routing and quota window rolling already in place.
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **API Key Round-Robin (T07)**: Provider connections can now hold multiple API keys (Edit Connection → Extra API Keys). Requests rotate round-robin between primary + extra keys via `providerSpecificData.extraApiKeys[]`. Keys are held in-memory indexed per connection — no DB schema changes required.
+
+### 📝 Already Implemented (confirmed in audit)
+
+- **Wildcard Model Routing (T13)**: `wildcardRouter.ts` with glob-style wildcard matching (`gpt*`, `claude-?-sonnet`, etc.) is already integrated into `model.ts` with specificity ranking.
+- **Quota Window Rolling (T08)**: `accountFallback.ts:isModelLocked()` already auto-advances the window — if `Date.now() > entry.until`, lock is deleted immediately (no stale blocking).
+
+> UI polish, routing strategy additions, and graceful error handling for usage limits.
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Fill-First & P2C Routing Strategies**: Added `fill-first` (drain quota before moving on) and `p2c` (Power-of-Two-Choices low-latency selection) to combo strategy picker, with full guidance panels and color-coded badges.
+- **Free Stack Preset Models**: Creating a combo with the Free Stack template now auto-fills 7 best-in-class free provider models (Gemini CLI, Kiro, Qoder×2, Qwen, NVIDIA NIM, Groq). Users just activate the providers and get a $0/month combo out-of-the-box.
+- **Wider Combo Modal**: Create/Edit combo modal now uses `max-w-4xl` for comfortable editing of large combos.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Limits page HTTP 500 for Codex & GitHub**: `getCodexUsage()` and `getGitHubUsage()` now return a user-friendly message when the provider returns 401/403 (expired token), instead of throwing and causing a 500 error on the Limits page.
+- **MaintenanceBanner false-positive**: Banner no longer shows "Server is unreachable" spuriously on page load. Fixed by calling `checkHealth()` immediately on mount and removing stale `show`-state closure.
+- **Provider icon tooltips**: Edit (pencil) and delete icon buttons in the provider connection row now have native HTML tooltips — all 6 action icons are now self-documented.
+
+> Multiple improvements from community issue analysis, new provider support, bug fixes for token tracking, model routing, and streaming reliability.
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Task-Aware Smart Routing (T05)**: Automatic model selection based on request content type — coding → deepseek-chat, analysis → gemini-2.5-pro, vision → gpt-4o, summarization → gemini-2.5-flash. Configurable via Settings. New `GET/PUT/POST /api/settings/task-routing` API.
+- **HuggingFace Provider**: Added HuggingFace Router as an OpenAI-compatible provider with Llama 3.1 70B/8B, Qwen 2.5 72B, Mistral 7B, Phi-3.5 Mini.
+- **Vertex AI Provider**: Added Vertex AI (Google Cloud) provider with Gemini 2.5 Pro/Flash, Gemma 2 27B, Claude via Vertex.
+- **Playground File Uploads**: Audio upload for transcription, image upload for vision models (auto-detect by model name), inline image rendering for image generation results.
+- **Model Select Visual Feedback**: Already-added models in combo picker now show ✓ green badge — prevents duplicate confusion.
+- **Qwen Compatibility (PR #352)**: Updated User-Agent and CLI fingerprint settings for Qwen provider compatibility.
+- **Round-Robin State Management (PR #349)**: Enhanced round-robin logic to handle excluded accounts and maintain rotation state correctly.
+- **Clipboard UX (PR #360)**: Hardened clipboard operations with fallback for non-secure contexts; Claude tool normalization improvements.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Fix #302 — OpenAI SDK stream=False drops tool_calls**: T01 Accept header negotiation no longer forces streaming when `body.stream` is explicitly `false`. Was causing tool_calls to be silently dropped when using the OpenAI Python SDK in non-streaming mode.
+- **Fix #73 — Claude Haiku routed to OpenAI without provider prefix**: `claude-*` models sent without a provider prefix now correctly route to the `antigravity` (Anthropic) provider. Added `gemini-*`/`gemma-*` → `gemini` heuristic as well.
+- **Fix #74 — Token counts always 0 for Antigravity/Claude streaming**: The `message_start` SSE event which carries `input_tokens` was not being parsed by `extractUsage()`, causing all input token counts to drop. Input/output token tracking now works correctly for streaming responses.
+- **Fix #180 — Model import duplicates with no feedback**: `ModelSelectModal` now shows ✓ green highlight for models already in the combo, making it obvious they're already added.
+- **Media page generation errors**: Image results now render as `<img>` tags instead of raw JSON. Transcription results shown as readable text. Credential errors show an amber banner instead of silent failure.
+- **Token refresh button on provider page**: Manual token refresh UI added for OAuth providers.
+
+### 🔧 Improvements
+
+- **Provider Registry**: HuggingFace and Vertex AI added to `providerRegistry.ts` and `providers.ts` (frontend).
+- **Read Cache**: New `src/lib/db/readCache.ts` for efficient DB read caching.
+- **Quota Cache**: Improved quota cache with TTL-based eviction.
+
+### 📦 Dependencies
+
+- `dompurify` → 3.3.3 (PR #347)
+- `undici` → 7.24.2 (PR #348, #361)
+- `docker/setup-qemu-action` → v4 (PR #342)
+- `docker/setup-buildx-action` → v4 (PR #343)
+
+### 📁 New Files
+
+| File | Purpose |
+| --------------------------------------------- | --------------------------------------- |
+| `open-sse/services/taskAwareRouter.ts` | Task-aware routing logic (7 task types) |
+| `src/app/api/settings/task-routing/route.ts` | Task routing config API |
+| `src/app/api/providers/[id]/refresh/route.ts` | Manual OAuth token refresh |
+| `src/lib/db/readCache.ts` | Efficient DB read cache |
+| `src/shared/utils/clipboard.ts` | Hardened clipboard with fallback |
+
+## [2.4.1] - 2026-03-13
+
+### 🐛 Fix
+
+- **Combos modal: Free Stack visible and prominent** — Free Stack template was hidden (4th in 3-column grid). Fixed: moved to position 1, switched to 2x2 grid so all 4 templates are visible, green border + FREE badge highlight.
+
+## [2.4.0] - 2026-03-13
+
+> **Major release** — Free Stack ecosystem, transcription playground overhaul, 44+ providers, comprehensive free tier documentation, and UI improvements across the board.
+
+### Функции
+
+- **Combos: Free Stack template** — New 4th template "Free Stack ($0)" using round-robin across Kiro + Qoder + Qwen + Gemini CLI. Suggests the pre-built zero-cost combo on first use.
+- **Media/Transcription: Deepgram as default** — Deepgram (Nova 3, $200 free) is now the default transcription provider. AssemblyAI ($50 free) and Groq Whisper (free forever) shown with free credit badges.
+- **README: "Start Free" section** — New early-README 5-step table showing how to set up zero-cost AI in minutes.
+- **README: Free Transcription Combo** — New section with Deepgram/AssemblyAI/Groq combo suggestion and per-provider free credit details.
+- **providers.ts: hasFree flag** — NVIDIA NIM, Cerebras, and Groq marked with hasFree badge and freeNote for the providers UI.
+- **i18n: templateFreeStack keys** — Free Stack combo template translated and synced to all 30 languages.
+
+## [2.3.16] - 2026-03-13
+
+### Документация
+
+- **README: 44+ Providers** — Updated all 3 occurrences of "36+ providers" to "44+" reflecting the actual codebase count (44 providers in providers.ts)
+- **README: New Section "🆓 Free Models — What You Actually Get"** — Added 7-provider table with per-model rate limits for: Kiro (Claude unlimited via AWS Builder ID), Qoder (5 models unlimited), Qwen (4 models unlimited), Gemini CLI (180K/mo), NVIDIA NIM (~40 RPM dev-forever), Cerebras (1M tok/day / 60K TPM), Groq (30 RPM / 14.4K RPD). Includes the \/usr/bin/bash Ultimate Free Stack combo recommendation.
+- **README: Pricing Table Updated** — Added Cerebras to API KEY tier, fixed NVIDIA from "1000 credits" to "dev-forever free", updated Qoder/Qwen model counts and names
+- **README: Qoder 8→5 models** (named: kimi-k2-thinking, qwen3-coder-plus, deepseek-r1, minimax-m2, kimi-k2)
+- **README: Qwen 3→4 models** (named: qwen3-coder-plus, qwen3-coder-flash, qwen3-coder-next, vision-model)
+
+## [2.3.15] - 2026-03-13
+
+### Функции
+
+- **Auto-Combo Dashboard (Tier Priority)**: Added `🏷️ Tier` as the 7th scoring factor label in the `/dashboard/auto-combo` factor breakdown display — all 7 Auto-Combo scoring factors are now visible.
+- **i18n — autoCombo section**: Added 20 new translation keys for the Auto-Combo dashboard (`title`, `status`, `modePack`, `providerScores`, `factorTierPriority`, etc.) to all 30 language files.
+
+## [2.3.14] - 2026-03-13
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Qoder OAuth (#339)**: Restored the valid default `clientSecret` — was previously an empty string, causing "Bad client credentials" on every connect attempt. The public credential is now the default fallback (overridable via `QODER_OAUTH_CLIENT_SECRET` env var).
+- **MITM server not found (#335)**: `prepublish.mjs` now compiles `src/mitm/*.ts` to JavaScript using `tsc` before copying to the npm bundle. Previously only raw `.ts` files were copied — meaning `server.js` never existed in npm/Volta global installs.
+- **GeminiCLI missing projectId (#338)**: Instead of throwing a hard 500 error when `projectId` is missing from stored credentials (e.g. after Docker restart), OmniRoute now logs a warning and attempts the request — returning a meaningful provider-side error instead of an OmniRoute crash.
+- **Electron version mismatch (#323)**: Synced `electron/package.json` version to `2.3.13` (was `2.0.13`) so the desktop binary version matches the npm package.
+
+### ✨ New Models (#334)
+
+- **Kiro**: `claude-sonnet-4`, `claude-opus-4.6`, `deepseek-v3.2`, `minimax-m2.1`, `qwen3-coder-next`, `auto`
+- **Codex**: `gpt5.4`
+
+### 🔧 Improvements
+
+- **Tier Scoring (API + Validation)**: Added `tierPriority` (weight `0.05`) to the `ScoringWeights` Zod schema and the `combos/auto` API route — the 7th scoring factor is now fully accepted by the REST API and validated on input. `stability` weight adjusted from `0.10` to `0.05` to keep total sum = `1.0`.
+
+### ✨ New Features
+
+- **feat(docs):** integrate multi-page documentation into OmniRoute dashboard (#1969)
+- **feat(settings):** add request body limit setting (#1968)
+- **feat(auth):** add Gemini CLI OAuth client secret default (#1974)
+- **feat(models):** expose models.dev context windows in /v1/models (#1972)
+- **fix(db):** resolve legacy encryption fallback causing re-encryption loops (#1941)
+- **fix(auth):** fix Codex assistant final_answer response sanitization (#1965)
+
+- **feat(providers):** Implement Image Generation and Editing capabilities for ChatGPT Web, including in-band chat image generation and caching (#1606).
+- **feat(ui):** Integrate OpenCode Zen/Go API tool logo SVG and polish API key copy-to-clipboard interactions (#1607).
+
+- **feat(providers):** Integrate AgentRouter as a new OpenAI-compatible passthrough provider with $200 free credits via sign-up (Issue #1572).
+- **feat(ui):** Implement on-demand per-model testing in the provider dashboard, allowing single-token diagnostic checks without triggering rate-limits (Issue #1532).
+
+- **Tiered Quota Scoring (Auto-Combo)**: Added `tierPriority` as a 7th scoring factor — accounts with Ultra/Pro tiers are now preferred over Free tiers when other factors are equal. New optional fields `accountTier` and `quotaResetIntervalSecs` on `ProviderCandidate`. All 4 mode packs updated (`ship-fast`, `cost-saver`, `quality-first`, `offline-friendly`).
+- **Intra-Family Model Fallback (T5)**: When a model is unavailable (404/400/403), OmniRoute now automatically falls back to sibling models from the same family before returning an error (`modelFamilyFallback.ts`).
+- **Configurable API Bridge Timeout**: `API_BRIDGE_PROXY_TIMEOUT_MS` env var lets operators tune the proxy timeout (default 30s). Fixes 504 errors on slow upstream responses. (#332)
+- **Star History**: Replaced star-history.com widget with starchart.cc (`?variant=adaptive`) in all 30 READMEs — adapts to light/dark theme, real-time updates.
+
+### 🐛 Bug Fixes
+
+- **fix(mitm):** Compile MITM utilities as NodeNext ESM during prepublish, copy the CommonJS MITM server into the standalone artifact, and resolve MITM data paths without relying on Next.js aliases in packaged runtime.
+- **fix(build):** Move the local `.tmp/wine32` Wine prefix out of the isolated Next.js build path so Windows Electron packaging artifacts cannot trigger `EACCES` scans during Node 24 builds.
+- **fix(build):** Copy the `wreq-js` native runtime directory into the isolated Next.js standalone output so packaged Playwright/E2E starts can load the instrumentation hook on Linux.
+- **fix(api):** Validate the Codex Responses websocket bridge and `/v1/batches` JSON payloads with Zod before use, keeping `request.json()` route validation green and returning explicit 400 responses for invalid bodies.
+- **fix(providers):** Add explicit typing to provider alias and category helpers so the strict `typecheck:noimplicit:core` CI gate passes.
+- **fix(ui):** Keep the upstream proxy provider detail page labeled with a fallback "Managed via Upstream Proxy Settings" management surface when translations are unavailable.
+- **fix(electron):** Harden the production desktop CSP by removing `unsafe-eval` outside development and adding object, base URI, form action, frame ancestor, and worker restrictions.
+- **fix(cli):** Replace shell-interpolated setup and privileged command execution paths with argument-based `spawn`/`execFile` helpers for database setup, Tailscale sudo commands, MITM DNS edits, and certificate install/uninstall flows.
+- **fix(ui):** Keep provider icons resilient by using direct `@lobehub/icons` components first, then local PNG/SVG fallbacks, avoiding the `@lobehub/ui` peer runtime in the dashboard.
+
+- **Auth — First-time password**: `INITIAL_PASSWORD` env var is now accepted when setting the first dashboard password. Uses `timingSafeEqual` for constant-time comparison, preventing timing attacks. (#333)
+- **README Truncation**: Fixed a missing `</details>` closing tag in the Troubleshooting section that caused GitHub to stop rendering everything below it (Tech Stack, Docs, Roadmap, Contributors).
+- **pnpm install**: Removed redundant `@swc/helpers` override from `package.json` that conflicted with the direct dependency, causing `EOVERRIDE` errors on pnpm. Added `pnpm.onlyBuiltDependencies` config.
+- **CLI Path Injection (T12)**: Added `isSafePath()` validator in `cliRuntime.ts` to block path traversal and shell metacharacters in `CLI_*_BIN` env vars.
+- **CI**: Regenerated `package-lock.json` after override removal to fix `npm ci` failures on GitHub Actions.
+
+### 🔧 Improvements
+
+- **Response Format (T1)**: `response_format` (json_schema/json_object) now injected as a system prompt for Claude, enabling structured output compatibility.
+- **429 Retry (T2)**: Intra-URL retry for 429 responses (2× attempts with 2s delay) before falling back to next URL.
+- **Gemini CLI Headers (T3)**: Added `User-Agent` and `X-Goog-Api-Client` fingerprint headers for Gemini CLI compatibility.
+- **Pricing Catalog (T9)**: Added `deepseek-3.1`, `deepseek-3.2`, and `qwen3-coder-next` pricing entries.
+
+### 📁 New Files
+
+| File | Purpose |
+| ------------------------------------------ | -------------------------------------------------------- |
+| `open-sse/services/modelFamilyFallback.ts` | Model family definitions and intra-family fallback logic |
+
+### Fixed
+
+- **KiloCode**: kilocode healthcheck timeout already fixed in v2.3.11
+- **OpenCode**: Add opencode to cliRuntime registry with 15s healthcheck timeout
+- **OpenClaw / Cursor**: Increase healthcheck timeout to 15s for slow-start variants
+- **VPS**: Install droid and openclaw npm packages; activate CLI_EXTRA_PATHS for kiro-cli
+- **cliRuntime**: Add opencode tool registration and increase timeout for continue
+
+## [2.3.11] - 2026-03-12
+
+### Fixed
+
+- **KiloCode healthcheck**: Increase `healthcheckTimeoutMs` from 4000ms to 15000ms — kilocode renders an ASCII logo banner on startup causing false `healthcheck_failed` on slow/cold-start environments
+
+## [2.3.10] - 2026-03-12
+
+### Fixed
+
+- **Lint**: Fix `check:any-budget:t11` failure — replace `as any` with `as Record<string, unknown>` in OAuthModal.tsx (3 occurrences)
+
+### Docs
+
+- **CLI-TOOLS.md**: Complete guide for all 11 CLI tools (claude, codex, gemini, opencode, cline, kilocode, continue, kiro-cli, cursor, droid, openclaw)
+- **i18n**: CLI-TOOLS.md synced to 30 languages with translated title + intro
+
+## [2.3.8] - 2026-03-12
+
+## [2.3.9] - 2026-03-12
+
+### Added
+
+- **/v1/completions**: New legacy OpenAI completions endpoint — accepts both `prompt` string and `messages` array, normalizes to chat format automatically
+- **EndpointPage**: Now shows all 3 OpenAI-compatible endpoint types: Chat Completions, Responses API, and Legacy Completions
+- **i18n**: Added `completionsLegacy/completionsLegacyDesc` to 30 language files
+
+### Fixed
+
+- **OAuthModal**: Fix `[object Object]` displayed on all OAuth connection errors — properly extract `.message` from error response objects in all 3 `throw new Error(data.error)` calls (exchange, device-code, authorize)
+- Affects Cline, Codex, GitHub, Qwen, Kiro, and all other OAuth providers
+
+## [2.3.7] - 2026-03-12
+
+### Fixed
+
+- **Cline OAuth**: Add `decodeURIComponent` before base64 decode so URL-encoded auth codes from the callback URL are parsed correctly, fixing "invalid or expired authorization code" errors on remote (LAN IP) setups
+- **Cline OAuth**: `mapTokens` now populates `name = firstName + lastName || email` so Cline accounts show real user names instead of "Account #ID"
+- **OAuth account names**: All OAuth exchange flows (exchange, poll, poll-callback) now normalize `name = email` when name is missing, so every OAuth account shows its email as the display label in the Providers dashboard
+- **OAuth account names**: Removed sequential "Account N" fallback in `db/providers.ts` — accounts with no email/name now use a stable ID-based label via `getAccountDisplayName()` instead of a sequential number that changes when accounts are deleted
+
+## [2.3.6] - 2026-03-12
+
+### Fixed
+
+- **Provider test batch**: Fixed Zod schema to accept `providerId: null` (frontend sends null for non-provider modes); was incorrectly returning "Invalid request" for all batch tests
+- **Provider test modal**: Fixed `[object Object]` display by normalizing API error objects to strings before rendering in `setTestResults` and `ProviderTestResultsView`
+- **i18n**: Added missing keys `cliTools.toolDescriptions.opencode`, `cliTools.toolDescriptions.kiro`, `cliTools.guides.opencode`, `cliTools.guides.kiro` to `en.json`
+- **i18n**: Synchronized 1111 missing keys across all 29 non-English language files using English values as fallbacks
+
+## [2.3.5] - 2026-03-11
+
+### Fixed
+
+- **@swc/helpers**: Added permanent `postinstall` fix to copy `@swc/helpers` into the standalone app's `node_modules` — prevents MODULE_NOT_FOUND crash on global npm installs
+
+## [2.3.4] - 2026-03-10
+
+### Added
+
+- Multiple provider integrations and dashboard improvements
diff --git a/docs/i18n/az/CLAUDE.md b/docs/i18n/az/CLAUDE.md
new file mode 100644
index 0000000000..2b2edbd58d
--- /dev/null
+++ b/docs/i18n/az/CLAUDE.md
@@ -0,0 +1,233 @@
+# CLAUDE.md — AI Agent Session Bootstrap (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../CLAUDE.md) · 🇸🇦 [ar](../ar/CLAUDE.md) · 🇧🇬 [bg](../bg/CLAUDE.md) · 🇧🇩 [bn](../bn/CLAUDE.md) · 🇨🇿 [cs](../cs/CLAUDE.md) · 🇩🇰 [da](../da/CLAUDE.md) · 🇩🇪 [de](../de/CLAUDE.md) · 🇪🇸 [es](../es/CLAUDE.md) · 🇮🇷 [fa](../fa/CLAUDE.md) · 🇫🇮 [fi](../fi/CLAUDE.md) · 🇫🇷 [fr](../fr/CLAUDE.md) · 🇮🇳 [gu](../gu/CLAUDE.md) · 🇮🇱 [he](../he/CLAUDE.md) · 🇮🇳 [hi](../hi/CLAUDE.md) · 🇭🇺 [hu](../hu/CLAUDE.md) · 🇮🇩 [id](../id/CLAUDE.md) · 🇮🇹 [it](../it/CLAUDE.md) · 🇯🇵 [ja](../ja/CLAUDE.md) · 🇰🇷 [ko](../ko/CLAUDE.md) · 🇮🇳 [mr](../mr/CLAUDE.md) · 🇲🇾 [ms](../ms/CLAUDE.md) · 🇳🇱 [nl](../nl/CLAUDE.md) · 🇳🇴 [no](../no/CLAUDE.md) · 🇵🇭 [phi](../phi/CLAUDE.md) · 🇵🇱 [pl](../pl/CLAUDE.md) · 🇵🇹 [pt](../pt/CLAUDE.md) · 🇧🇷 [pt-BR](../pt-BR/CLAUDE.md) · 🇷🇴 [ro](../ro/CLAUDE.md) · 🇷🇺 [ru](../ru/CLAUDE.md) · 🇸🇰 [sk](../sk/CLAUDE.md) · 🇸🇪 [sv](../sv/CLAUDE.md) · 🇰🇪 [sw](../sw/CLAUDE.md) · 🇮🇳 [ta](../ta/CLAUDE.md) · 🇮🇳 [te](../te/CLAUDE.md) · 🇹🇭 [th](../th/CLAUDE.md) · 🇹🇷 [tr](../tr/CLAUDE.md) · 🇺🇦 [uk-UA](../uk-UA/CLAUDE.md) · 🇵🇰 [ur](../ur/CLAUDE.md) · 🇻🇳 [vi](../vi/CLAUDE.md) · 🇨🇳 [zh-CN](../zh-CN/CLAUDE.md)
+
+---
+
+> Quick-start context for AI coding agents. For deep architecture details, see `AGENTS.md`.
+> For contribution workflow, see `CONTRIBUTING.md`.
+
+## Бърз старт
+
+```bash
+npm install # Install deps (auto-generates .env from .env.example)
+npm run dev # Dev server at http://localhost:20128
+npm run build # Production build (Next.js 16 standalone)
+npm run lint # ESLint (0 errors expected; warnings are pre-existing)
+npm run typecheck:core # TypeScript check (should be clean)
+npm run typecheck:noimplicit:core # Strict check (no implicit any)
+npm run test:coverage # Unit tests + coverage gate (60% min)
+npm run check # lint + test combined
+npm run check:cycles # Detect circular dependencies
+```
+
+### Running a Single Test
+
+```bash
+# Node.js native test runner (most tests)
+node --import tsx/esm --test tests/unit/your-file.test.mjs
+
+# Vitest (MCP server, autoCombo, cache)
+npm run test:vitest
+```
+
+---
+
+## Преглед
+
+**OmniRoute** — unified AI proxy/router. One endpoint, 100+ LLM providers, auto-fallback.
+
+| Layer | Location | Purpose |
+| --------------- | ------------------------ | ------------------------------------------ |
+| API Routes | `src/app/api/v1/` | Next.js App Router — entry points |
+| Handlers | `open-sse/handlers/` | Request processing (chat, embeddings, etc) |
+| Executors | `open-sse/executors/` | Provider-specific HTTP dispatch |
+| Translators | `open-sse/translator/` | Format conversion (OpenAI↔Claude↔Gemini) |
+| Services | `open-sse/services/` | Combo routing, rate limits, caching, etc |
+| Database | `src/lib/db/` | SQLite domain modules (22 files) |
+| Domain/Policy | `src/domain/` | Policy engine, cost rules, fallback logic |
+| MCP Server | `open-sse/mcp-server/` | 25 tools, 3 transports, 10 scopes |
+| A2A Server | `src/lib/a2a/` | JSON-RPC 2.0 agent protocol |
+| Skills | `src/lib/skills/` | Extensible skill framework |
+| Memory | `src/lib/memory/` | Persistent conversational memory |
+| UI Components | `src/shared/components/` | React components (Tailwind CSS v4) |
+| Provider Consts | `src/shared/constants/` | Provider registry (Zod-validated) |
+| Validation | `src/shared/validation/` | Zod v4 schemas |
+| Tests | `tests/` | Unit, integration, e2e, security, load |
+
+### Monorepo Layout
+
+```
+OmniRoute/ # Root package
+├── src/ # Next.js 16 app (TypeScript)
+├── open-sse/ # @omniroute/open-sse workspace (streaming engine)
+├── electron/ # Desktop app (Electron)
+├── tests/ # All test suites
+├── docs/ # Documentation
+└── bin/ # CLI entry point
+```
+
+---
+
+## Request Pipeline (Abbreviated)
+
+```
+Client → /v1/chat/completions (Next.js route)
+ → CORS → Zod validation → auth? → policy check → prompt injection guard
+ → handleChatCore() [open-sse/handlers/chatCore.ts]
+ → cache check → rate limit → combo routing?
+ → resolveComboTargets() → handleSingleModel() per target
+ → translateRequest() → getExecutor() → executor.execute()
+ → fetch() upstream → retry w/ backoff
+ → response translation → SSE stream or JSON
+```
+
+---
+
+## Key Conventions
+
+### Code Style
+
+- **2 spaces**, semicolons, double quotes, 100 char width, es5 trailing commas
+- **Imports**: external → internal (`@/`, `@omniroute/open-sse`) → relative
+- **Naming**: files=camelCase/kebab, components=PascalCase, constants=UPPER_SNAKE
+
+### Database Access
+
+- **Always** go through `src/lib/db/` domain modules
+- **Never** write raw SQL in routes or handlers
+- **Never** add logic to `src/lib/localDb.ts` (re-export layer only)
+- **Never** barrel-import from `localDb.ts` — import specific `db/` modules
+- DB singleton: `getDbInstance()` from `src/lib/db/core.ts` (WAL journaling)
+- Migrations: `src/lib/db/migrations/` — 21 versioned SQL files
+
+### Error Handling
+
+- try/catch with specific error types, log with pino context
+- Never swallow errors in SSE streams — use abort signals
+- Return proper HTTP status codes (4xx/5xx)
+
+### Сигурност
+
+- **Never** commit secrets/credentials
+- **Never** use `eval()`, `new Function()`, or implied eval
+- Validate all inputs with Zod schemas
+- Encrypt credentials at rest (AES-256-GCM)
+
+---
+
+## Common Modification Scenarios
+
+### Adding a New Provider
+
+1. Register in `src/shared/constants/providers.ts` (Zod-validated at load)
+2. Add executor in `open-sse/executors/` if custom logic needed
+3. Add translator in `open-sse/translator/` if non-OpenAI format
+4. Add OAuth config in `src/lib/oauth/constants/oauth.ts` if OAuth-based
+5. Register models in `open-sse/config/providerRegistry.ts`
+6. Write tests in `tests/unit/` (registration, translation, error handling)
+
+### Adding a New API Route
+
+1. Create directory under `src/app/api/v1/your-route/`
+2. Create `route.ts` with `GET`/`POST` handlers
+3. Follow pattern: CORS → Zod body validation → optional auth → handler delegation
+4. Handler goes in `open-sse/handlers/` (import from there, not inline)
+5. Add tests
+
+### Adding a New DB Module
+
+1. Create `src/lib/db/yourModule.ts`
+2. Import `getDbInstance` from `./core.ts`
+3. Export CRUD functions for your domain table(s)
+4. Add migration in `src/lib/db/migrations/` if new tables needed
+5. Re-export from `src/lib/localDb.ts` (add to the re-export list only)
+6. Write tests
+
+### Adding a New MCP Tool
+
+1. Add tool definition in `open-sse/mcp-server/tools/`
+2. Define Zod input schema + async handler
+3. Register in tool set (wired by `createMcpServer()`)
+4. Assign to appropriate scope(s)
+5. Write tests (tool invocation logged to `mcp_audit` table)
+
+### Adding a New A2A Skill
+
+1. Create skill in `src/lib/a2a/skills/`
+2. Skill receives task context (messages, metadata) → returns structured result
+3. Register in the DB-backed skill registry
+4. Write tests
+
+---
+
+## Testing Cheat Sheet
+
+| What | Command |
+| ----------------------- | ------------------------------------------------------- |
+| All tests | `npm run test:all` |
+| Unit tests | `npm run test:unit` |
+| Single file | `node --import tsx/esm --test tests/unit/file.test.mjs` |
+| Vitest (MCP, autoCombo) | `npm run test:vitest` |
+| E2E (Playwright) | `npm run test:e2e` |
+| Protocol E2E (MCP+A2A) | `npm run test:protocols:e2e` |
+| Ecosystem | `npm run test:ecosystem` |
+| Coverage gate | `npm run test:coverage` (60% min all metrics) |
+| Coverage report | `npm run coverage:report` |
+
+**PR rule**: If you change production code in `src/`, `open-sse/`, `electron/`, or `bin/`,
+you must include or update tests in the same PR.
+
+**Test layer preference**: unit first → integration (multi-module or DB state) → e2e (UI/workflow only). Encode bug reproductions as automated tests before or alongside the fix.
+
+---
+
+## Git Workflow
+
+```bash
+# Never commit directly to main
+git checkout -b feat/your-feature
+# ... make changes ...
+git commit -m "feat: describe your change"
+git push -u origin feat/your-feature
+```
+
+**Branch prefixes**: `feat/`, `fix/`, `refactor/`, `docs/`, `test/`, `chore/`
+
+**Commit format** ([Conventional Commits](https://www.conventionalcommits.org/)):
+
+```
+feat: add circuit breaker for provider calls
+fix: resolve JWT secret validation edge case
+docs: update AGENTS.md with pipeline internals
+test: add MCP tool unit tests
+refactor(db): consolidate rate limit tables
+```
+
+**Scopes**: `db`, `sse`, `oauth`, `dashboard`, `api`, `cli`, `docker`, `ci`, `mcp`, `a2a`,
+`memory`, `skills`.
+
+---
+
+## Environment
+
+- **Runtime**: Node.js ≥18 <24, ES Modules
+- **TypeScript**: 5.9, target ES2022, module esnext, resolution bundler
+- **Path aliases**: `@/*` → `src/`, `@omniroute/open-sse` → `open-sse/`
+- **Default port**: 20128 (API + dashboard on same port)
+- **Data directory**: `DATA_DIR` env var, defaults to `~/.omniroute/`
+- **Key env vars**: `PORT`, `JWT_SECRET`, `INITIAL_PASSWORD`, `REQUIRE_API_KEY`, `APP_LOG_LEVEL`
+
+---
+
+## Hard Rules (Never Violate)
+
+1. Never commit secrets or credentials
+2. Never add logic to `localDb.ts`
+3. Never use `eval()` / `new Function()` / implied eval
+4. Never commit directly to `main`
+5. Never write raw SQL in routes — use `src/lib/db/` modules
+6. Never silently swallow errors in SSE streams
+7. Always validate inputs with Zod schemas
+8. Always include tests when changing production code
+9. Coverage must stay ≥60% (statements, lines, functions, branches)
diff --git a/docs/i18n/az/CODE_OF_CONDUCT.md b/docs/i18n/az/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000000..e8c1a62cd0
--- /dev/null
+++ b/docs/i18n/az/CODE_OF_CONDUCT.md
@@ -0,0 +1,132 @@
+# Contributor Covenant Code of Conduct (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../CODE_OF_CONDUCT.md) · 🇸🇦 [ar](../ar/CODE_OF_CONDUCT.md) · 🇧🇬 [bg](../bg/CODE_OF_CONDUCT.md) · 🇧🇩 [bn](../bn/CODE_OF_CONDUCT.md) · 🇨🇿 [cs](../cs/CODE_OF_CONDUCT.md) · 🇩🇰 [da](../da/CODE_OF_CONDUCT.md) · 🇩🇪 [de](../de/CODE_OF_CONDUCT.md) · 🇪🇸 [es](../es/CODE_OF_CONDUCT.md) · 🇮🇷 [fa](../fa/CODE_OF_CONDUCT.md) · 🇫🇮 [fi](../fi/CODE_OF_CONDUCT.md) · 🇫🇷 [fr](../fr/CODE_OF_CONDUCT.md) · 🇮🇳 [gu](../gu/CODE_OF_CONDUCT.md) · 🇮🇱 [he](../he/CODE_OF_CONDUCT.md) · 🇮🇳 [hi](../hi/CODE_OF_CONDUCT.md) · 🇭🇺 [hu](../hu/CODE_OF_CONDUCT.md) · 🇮🇩 [id](../id/CODE_OF_CONDUCT.md) · 🇮🇹 [it](../it/CODE_OF_CONDUCT.md) · 🇯🇵 [ja](../ja/CODE_OF_CONDUCT.md) · 🇰🇷 [ko](../ko/CODE_OF_CONDUCT.md) · 🇮🇳 [mr](../mr/CODE_OF_CONDUCT.md) · 🇲🇾 [ms](../ms/CODE_OF_CONDUCT.md) · 🇳🇱 [nl](../nl/CODE_OF_CONDUCT.md) · 🇳🇴 [no](../no/CODE_OF_CONDUCT.md) · 🇵🇭 [phi](../phi/CODE_OF_CONDUCT.md) · 🇵🇱 [pl](../pl/CODE_OF_CONDUCT.md) · 🇵🇹 [pt](../pt/CODE_OF_CONDUCT.md) · 🇧🇷 [pt-BR](../pt-BR/CODE_OF_CONDUCT.md) · 🇷🇴 [ro](../ro/CODE_OF_CONDUCT.md) · 🇷🇺 [ru](../ru/CODE_OF_CONDUCT.md) · 🇸🇰 [sk](../sk/CODE_OF_CONDUCT.md) · 🇸🇪 [sv](../sv/CODE_OF_CONDUCT.md) · 🇰🇪 [sw](../sw/CODE_OF_CONDUCT.md) · 🇮🇳 [ta](../ta/CODE_OF_CONDUCT.md) · 🇮🇳 [te](../te/CODE_OF_CONDUCT.md) · 🇹🇭 [th](../th/CODE_OF_CONDUCT.md) · 🇹🇷 [tr](../tr/CODE_OF_CONDUCT.md) · 🇺🇦 [uk-UA](../uk-UA/CODE_OF_CONDUCT.md) · 🇵🇰 [ur](../ur/CODE_OF_CONDUCT.md) · 🇻🇳 [vi](../vi/CODE_OF_CONDUCT.md) · 🇨🇳 [zh-CN](../zh-CN/CODE_OF_CONDUCT.md)
+
+---
+
+## Our Pledge
+
+We as members, contributors, and leaders pledge to make participation in our
+community a harassment-free experience for everyone, regardless of age, body
+size, visible or invisible disability, ethnicity, sex characteristics, gender
+identity and expression, level of experience, education, socio-economic status,
+nationality, personal appearance, race, religion, or sexual identity
+and orientation.
+
+We pledge to act and interact in ways that contribute to an open, welcoming,
+diverse, inclusive, and healthy community.
+
+## Our Standards
+
+Examples of behavior that contributes to a positive environment for our
+community include:
+
+- Demonstrating empathy and kindness toward other people
+- Being respectful of differing opinions, viewpoints, and experiences
+- Giving and gracefully accepting constructive feedback
+- Accepting responsibility and apologizing to those affected by our mistakes,
+ and learning from the experience
+- Focusing on what is best not just for us as individuals, but for the
+ overall community
+
+Examples of unacceptable behavior include:
+
+- The use of sexualized language or imagery, and sexual attention or
+ advances of any kind
+- Trolling, insulting or derogatory comments, and personal or political attacks
+- Public or private harassment
+- Publishing others' private information, such as a physical or email
+ address, without their explicit permission
+- Other conduct which could reasonably be considered inappropriate in a
+ professional setting
+
+## Enforcement Responsibilities
+
+Community leaders are responsible for clarifying and enforcing our standards of
+acceptable behavior and will take appropriate and fair corrective action in
+response to any behavior that they deem inappropriate, threatening, offensive,
+or harmful.
+
+Community leaders have the right and responsibility to remove, edit, or reject
+comments, commits, code, wiki edits, issues, and other contributions that are
+not aligned to this Code of Conduct, and will communicate reasons for moderation
+decisions when appropriate.
+
+## Scope
+
+This Code of Conduct applies within all community spaces, and also applies when
+an individual is officially representing the community in public spaces.
+Examples of representing our community include using an official e-mail address,
+posting via an official social media account, or acting as an appointed
+representative at an online or offline event.
+
+## Enforcement
+
+Instances of abusive, harassing, or otherwise unacceptable behavior may be
+reported to the community leaders responsible for enforcement at
+.
+All complaints will be reviewed and investigated promptly and fairly.
+
+All community leaders are obligated to respect the privacy and security of the
+reporter of any incident.
+
+## Enforcement Guidelines
+
+Community leaders will follow these Community Impact Guidelines in determining
+the consequences for any action they deem in violation of this Code of Conduct:
+
+### 1. Correction
+
+**Community Impact**: Use of inappropriate language or other behavior deemed
+unprofessional or unwelcome in the community.
+
+**Consequence**: A private, written warning from community leaders, providing
+clarity around the nature of the violation and an explanation of why the
+behavior was inappropriate. A public apology may be requested.
+
+### 2. Warning
+
+**Community Impact**: A violation through a single incident or series
+of actions.
+
+**Consequence**: A warning with consequences for continued behavior. No
+interaction with the people involved, including unsolicited interaction with
+those enforcing the Code of Conduct, for a specified period of time. This
+includes avoiding interactions in community spaces as well as external channels
+like social media. Violating these terms may lead to a temporary or
+permanent ban.
+
+### 3. Temporary Ban
+
+**Community Impact**: A serious violation of community standards, including
+sustained inappropriate behavior.
+
+**Consequence**: A temporary ban from any sort of interaction or public
+communication with the community for a specified period of time. No public or
+private interaction with the people involved, including unsolicited interaction
+with those enforcing the Code of Conduct, is allowed during this period.
+Violating these terms may lead to a permanent ban.
+
+### 4. Permanent Ban
+
+**Community Impact**: Demonstrating a pattern of violation of community
+standards, including sustained inappropriate behavior, harassment of an
+individual, or aggression toward or disparagement of classes of individuals.
+
+**Consequence**: A permanent ban from any sort of public interaction within
+the community.
+
+## Attribution
+
+This Code of Conduct is adapted from the [Contributor Covenant][homepage],
+version 2.0, available at
+https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
+
+Community Impact Guidelines were inspired by [Mozilla's code of conduct
+enforcement ladder](https://github.com/mozilla/diversity).
+
+[homepage]: https://www.contributor-covenant.org
+
+For answers to common questions about this code of conduct, see the FAQ at
+https://www.contributor-covenant.org/faq. Translations are available at
+https://www.contributor-covenant.org/translations.
diff --git a/docs/i18n/az/CONTRIBUTING.md b/docs/i18n/az/CONTRIBUTING.md
new file mode 100644
index 0000000000..4d9aee0886
--- /dev/null
+++ b/docs/i18n/az/CONTRIBUTING.md
@@ -0,0 +1,311 @@
+# Contributing to OmniRoute (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../CONTRIBUTING.md) · 🇸🇦 [ar](../ar/CONTRIBUTING.md) · 🇧🇬 [bg](../bg/CONTRIBUTING.md) · 🇧🇩 [bn](../bn/CONTRIBUTING.md) · 🇨🇿 [cs](../cs/CONTRIBUTING.md) · 🇩🇰 [da](../da/CONTRIBUTING.md) · 🇩🇪 [de](../de/CONTRIBUTING.md) · 🇪🇸 [es](../es/CONTRIBUTING.md) · 🇮🇷 [fa](../fa/CONTRIBUTING.md) · 🇫🇮 [fi](../fi/CONTRIBUTING.md) · 🇫🇷 [fr](../fr/CONTRIBUTING.md) · 🇮🇳 [gu](../gu/CONTRIBUTING.md) · 🇮🇱 [he](../he/CONTRIBUTING.md) · 🇮🇳 [hi](../hi/CONTRIBUTING.md) · 🇭🇺 [hu](../hu/CONTRIBUTING.md) · 🇮🇩 [id](../id/CONTRIBUTING.md) · 🇮🇹 [it](../it/CONTRIBUTING.md) · 🇯🇵 [ja](../ja/CONTRIBUTING.md) · 🇰🇷 [ko](../ko/CONTRIBUTING.md) · 🇮🇳 [mr](../mr/CONTRIBUTING.md) · 🇲🇾 [ms](../ms/CONTRIBUTING.md) · 🇳🇱 [nl](../nl/CONTRIBUTING.md) · 🇳🇴 [no](../no/CONTRIBUTING.md) · 🇵🇭 [phi](../phi/CONTRIBUTING.md) · 🇵🇱 [pl](../pl/CONTRIBUTING.md) · 🇵🇹 [pt](../pt/CONTRIBUTING.md) · 🇧🇷 [pt-BR](../pt-BR/CONTRIBUTING.md) · 🇷🇴 [ro](../ro/CONTRIBUTING.md) · 🇷🇺 [ru](../ru/CONTRIBUTING.md) · 🇸🇰 [sk](../sk/CONTRIBUTING.md) · 🇸🇪 [sv](../sv/CONTRIBUTING.md) · 🇰🇪 [sw](../sw/CONTRIBUTING.md) · 🇮🇳 [ta](../ta/CONTRIBUTING.md) · 🇮🇳 [te](../te/CONTRIBUTING.md) · 🇹🇭 [th](../th/CONTRIBUTING.md) · 🇹🇷 [tr](../tr/CONTRIBUTING.md) · 🇺🇦 [uk-UA](../uk-UA/CONTRIBUTING.md) · 🇵🇰 [ur](../ur/CONTRIBUTING.md) · 🇻🇳 [vi](../vi/CONTRIBUTING.md) · 🇨🇳 [zh-CN](../zh-CN/CONTRIBUTING.md)
+
+---
+
+Thank you for your interest in contributing! This guide covers everything you need to get started.
+
+---
+
+## Development Setup
+
+### Prerequisites
+
+- **Node.js** >= 18 < 24 (recommended: 22 LTS)
+- **npm** 10+
+- **Git**
+
+### Clone & Install
+
+```bash
+git clone https://github.com/diegosouzapw/OmniRoute.git
+cd OmniRoute
+npm install
+```
+
+### Environment Variables
+
+```bash
+# Create your .env from the template
+cp .env.example .env
+
+# Generate required secrets
+echo "JWT_SECRET=$(openssl rand -base64 48)" >> .env
+echo "API_KEY_SECRET=$(openssl rand -hex 32)" >> .env
+```
+
+Key variables for development:
+
+| Variable | Development Default | Description |
+| ---------------------- | ------------------------ | --------------------- |
+| `PORT` | `20128` | Server port |
+| `NEXT_PUBLIC_BASE_URL` | `http://localhost:20128` | Base URL for frontend |
+| `JWT_SECRET` | (generate above) | JWT signing secret |
+| `INITIAL_PASSWORD` | `CHANGEME` | First login password |
+| `APP_LOG_LEVEL` | `info` | Log verbosity level |
+
+### Dashboard Settings
+
+The dashboard provides UI toggles for features that can also be configured via environment variables:
+
+| Setting Location | Toggle | Description |
+| ------------------- | ------------------ | ------------------------------ |
+| Settings → Advanced | Debug Mode | Enable debug request logs (UI) |
+| Settings → General | Sidebar Visibility | Show/hide sidebar sections |
+
+These settings are stored in the database and persist across restarts, overriding env var defaults when set.
+
+### Running Locally
+
+```bash
+# Development mode (hot reload)
+npm run dev
+
+# Production build
+npm run build
+npm run start
+
+# Common port configuration
+PORT=20128 NEXT_PUBLIC_BASE_URL=http://localhost:20128 npm run dev
+```
+
+Default URLs:
+
+- **Dashboard**: `http://localhost:20128/dashboard`
+- **API**: `http://localhost:20128/v1`
+
+---
+
+## Git Workflow
+
+> ⚠️ **NEVER commit directly to `main`.** Always use feature branches.
+
+```bash
+git checkout -b feat/your-feature-name
+# ... make changes ...
+git commit -m "feat: describe your change"
+git push -u origin feat/your-feature-name
+# Open a Pull Request on GitHub
+```
+
+### Branch Naming
+
+| Prefix | Purpose |
+| ----------- | ------------------------- |
+| `feat/` | New features |
+| `fix/` | Bug fixes |
+| `refactor/` | Code restructuring |
+| `docs/` | Documentation changes |
+| `test/` | Test additions/fixes |
+| `chore/` | Tooling, CI, dependencies |
+
+### Commit Messages
+
+Follow [Conventional Commits](https://www.conventionalcommits.org/):
+
+```
+feat: add circuit breaker for provider calls
+fix: resolve JWT secret validation edge case
+docs: update SECURITY.md with PII protection
+test: add observability unit tests
+refactor(db): consolidate rate limit tables
+```
+
+Scopes: `db`, `sse`, `oauth`, `dashboard`, `api`, `cli`, `docker`, `ci`, `mcp`, `a2a`, `memory`, `skills`.
+
+---
+
+## Running Tests
+
+```bash
+# All tests (unit + vitest + ecosystem + e2e)
+npm run test:all
+
+# Single test file (Node.js native test runner — most tests use this)
+node --import tsx/esm --test tests/unit/your-file.test.ts
+
+# Vitest (MCP server, autoCombo, cache)
+npm run test:vitest
+
+# E2E tests (requires Playwright)
+npm run test:e2e
+
+# Protocol clients E2E (MCP transports, A2A)
+npm run test:protocols:e2e
+
+# Ecosystem compatibility tests
+npm run test:ecosystem
+
+# Coverage (60% min statements/lines/functions/branches)
+npm run test:coverage
+npm run coverage:report
+
+# Lint + format check
+npm run lint
+npm run check
+```
+
+Coverage notes:
+
+- `npm run test:coverage` measures source coverage for the main unit test suite, excludes `tests/**`, and includes `open-sse/**`
+- Pull requests must keep the overall coverage gate at **60% or higher** for statements, lines, functions, and branches
+- If a PR changes production code in `src/`, `open-sse/`, `electron/`, or `bin/`, it must add or update automated tests in the same PR
+- `npm run coverage:report` prints the detailed file-by-file report from the latest coverage run
+- `npm run test:coverage:legacy` preserves the older metric for historical comparison
+- See `docs/ops/COVERAGE_PLAN.md` for the phased coverage improvement roadmap
+
+### Pull Request Requirements
+
+Before opening or merging a PR:
+
+- Run `npm run test:unit`
+- Run `npm run test:coverage`
+- Ensure the coverage gate stays at **60%+** for all metrics
+- Include the changed or added test files in the PR description when production code changed
+- Check the SonarQube result on the PR when the project secrets are configured in CI
+
+Current test status: **122 unit test files** covering:
+
+- Provider translators and format conversion
+- Rate limiting, circuit breaker, and resilience
+- Semantic cache, idempotency, progress tracking
+- Database operations and schema (21 DB modules)
+- OAuth flows and authentication
+- API endpoint validation (Zod v4)
+- MCP server tools and scope enforcement
+- Memory and Skills systems
+
+---
+
+## Code Style
+
+- **ESLint** — Run `npm run lint` before committing
+- **Prettier** — Auto-formatted via `lint-staged` on commit (2 spaces, semicolons, double quotes, 100 char width, es5 trailing commas)
+- **TypeScript** — All `src/` code uses `.ts`/`.tsx`; `open-sse/` uses `.ts`/`.js`; document with TSDoc (`@param`, `@returns`, `@throws`)
+- **No `eval()`** — ESLint enforces `no-eval`, `no-implied-eval`, `no-new-func`
+- **Zod validation** — Use Zod v4 schemas for all API input validation
+- **Naming**: Files = camelCase/kebab-case, components = PascalCase, constants = UPPER_SNAKE
+
+---
+
+## Project Structure
+
+```
+src/ # TypeScript (.ts / .tsx)
+├── app/ # Next.js 16 App Router
+│ ├── (dashboard)/ # Dashboard pages (23 sections)
+│ ├── api/ # API routes (51 directories)
+│ └── login/ # Auth pages (.tsx)
+├── domain/ # Policy engine (policyEngine, comboResolver, costRules, etc.)
+├── lib/ # Core business logic (.ts)
+│ ├── a2a/ # Agent-to-Agent v0.3 protocol server
+│ ├── acp/ # Agent Communication Protocol registry
+│ ├── compliance/ # Compliance policy engine
+│ ├── db/ # SQLite database layer (21 modules + 16 migrations)
+│ ├── memory/ # Persistent conversational memory
+│ ├── oauth/ # OAuth providers, services, and utilities
+│ ├── skills/ # Extensible skill framework
+│ ├── usage/ # Usage tracking and cost calculation
+│ └── localDb.ts # Re-export layer only — never add logic here
+├── middleware/ # Request middleware (promptInjectionGuard)
+├── mitm/ # MITM proxy (cert, DNS, target routing)
+├── shared/
+│ ├── components/ # React components (.tsx)
+│ ├── constants/ # Provider definitions (60+), MCP scopes, routing strategies
+│ ├── utils/ # Circuit breaker, sanitizer, auth helpers
+│ └── validation/ # Zod v4 schemas
+└── sse/ # SSE proxy pipeline
+
+open-sse/ # @omniroute/open-sse workspace
+├── executors/ # 14 provider-specific request executors
+├── handlers/ # 11 request handlers (chat, responses, embeddings, images, etc.)
+├── mcp-server/ # MCP server (25 tools, 3 transports, 10 scopes)
+├── services/ # 36+ services (combo, autoCombo, rateLimitManager, etc.)
+├── translator/ # Format translators (OpenAI ↔ Claude ↔ Gemini ↔ Responses ↔ Ollama)
+├── transformer/ # Responses API transformer
+└── utils/ # 22 utility modules (stream, TLS, proxy, logging)
+
+electron/ # Electron desktop app (cross-platform)
+
+tests/
+├── unit/ # Node.js test runner (122 test files)
+├── integration/ # Integration tests
+├── e2e/ # Playwright tests
+├── security/ # Security tests
+├── translator/ # Translator-specific tests
+└── load/ # Load tests
+
+docs/ # Documentation
+├── ARCHITECTURE.md # System architecture
+├── API_REFERENCE.md # All endpoints
+├── USER_GUIDE.md # Provider setup, CLI integration
+├── TROUBLESHOOTING.md # Common issues
+├── MCP-SERVER.md # MCP server (25 tools)
+├── A2A-SERVER.md # A2A agent protocol
+├── AUTO-COMBO.md # Auto-combo engine
+├── CLI-TOOLS.md # CLI tools integration
+├── COVERAGE_PLAN.md # Test coverage improvement plan
+├── openapi.yaml # OpenAPI specification
+└── adr/ # Architecture Decision Records
+```
+
+---
+
+## Adding a New Provider
+
+### Step 1: Register Provider Constants
+
+Add to `src/shared/constants/providers.ts` — Zod-validated at module load.
+
+### Step 2: Add Executor (if custom logic needed)
+
+Create executor in `open-sse/executors/your-provider.ts` extending the base executor.
+
+### Step 3: Add Translator (if non-OpenAI format)
+
+Create request/response translators in `open-sse/translator/`.
+
+### Step 4: Add OAuth Config (if OAuth-based)
+
+Add OAuth credentials in `src/lib/oauth/constants/oauth.ts` and service in `src/lib/oauth/services/`.
+
+### Step 5: Register Models
+
+Add model definitions in `open-sse/config/providerRegistry.ts`.
+
+### Step 6: Add Tests
+
+Write unit tests in `tests/unit/` covering at minimum:
+
+- Provider registration
+- Request/response translation
+- Error handling
+
+---
+
+## Pull Request Checklist
+
+- [ ] Tests pass (`npm test`)
+- [ ] Linting passes (`npm run lint`)
+- [ ] Build succeeds (`npm run build`)
+- [ ] TypeScript types added for new public functions and interfaces
+- [ ] No hardcoded secrets or fallback values
+- [ ] All inputs validated with Zod schemas
+- [ ] CHANGELOG updated (if user-facing change)
+- [ ] Documentation updated (if applicable)
+
+---
+
+## Releasing
+
+Releases are managed via the `/generate-release` workflow. When a new GitHub Release is created, the package is **automatically published to npm** via GitHub Actions.
+
+---
+
+## Getting Help
+
+- **Architecture**: See [`docs/architecture/ARCHITECTURE.md`](docs/architecture/ARCHITECTURE.md)
+- **API Reference**: See [`docs/reference/API_REFERENCE.md`](docs/reference/API_REFERENCE.md)
+- **Issues**: [github.com/diegosouzapw/OmniRoute/issues](https://github.com/diegosouzapw/OmniRoute/issues)
+- **ADRs**: See `docs/adr/` for architectural decision records
diff --git a/docs/i18n/az/GEMINI.md b/docs/i18n/az/GEMINI.md
new file mode 100644
index 0000000000..4041f6d11e
--- /dev/null
+++ b/docs/i18n/az/GEMINI.md
@@ -0,0 +1,25 @@
+# Security and Cleanliness Rules for AI Assistants (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../GEMINI.md) · 🇸🇦 [ar](../ar/GEMINI.md) · 🇧🇬 [bg](../bg/GEMINI.md) · 🇧🇩 [bn](../bn/GEMINI.md) · 🇨🇿 [cs](../cs/GEMINI.md) · 🇩🇰 [da](../da/GEMINI.md) · 🇩🇪 [de](../de/GEMINI.md) · 🇪🇸 [es](../es/GEMINI.md) · 🇮🇷 [fa](../fa/GEMINI.md) · 🇫🇮 [fi](../fi/GEMINI.md) · 🇫🇷 [fr](../fr/GEMINI.md) · 🇮🇳 [gu](../gu/GEMINI.md) · 🇮🇱 [he](../he/GEMINI.md) · 🇮🇳 [hi](../hi/GEMINI.md) · 🇭🇺 [hu](../hu/GEMINI.md) · 🇮🇩 [id](../id/GEMINI.md) · 🇮🇹 [it](../it/GEMINI.md) · 🇯🇵 [ja](../ja/GEMINI.md) · 🇰🇷 [ko](../ko/GEMINI.md) · 🇮🇳 [mr](../mr/GEMINI.md) · 🇲🇾 [ms](../ms/GEMINI.md) · 🇳🇱 [nl](../nl/GEMINI.md) · 🇳🇴 [no](../no/GEMINI.md) · 🇵🇭 [phi](../phi/GEMINI.md) · 🇵🇱 [pl](../pl/GEMINI.md) · 🇵🇹 [pt](../pt/GEMINI.md) · 🇧🇷 [pt-BR](../pt-BR/GEMINI.md) · 🇷🇴 [ro](../ro/GEMINI.md) · 🇷🇺 [ru](../ru/GEMINI.md) · 🇸🇰 [sk](../sk/GEMINI.md) · 🇸🇪 [sv](../sv/GEMINI.md) · 🇰🇪 [sw](../sw/GEMINI.md) · 🇮🇳 [ta](../ta/GEMINI.md) · 🇮🇳 [te](../te/GEMINI.md) · 🇹🇭 [th](../th/GEMINI.md) · 🇹🇷 [tr](../tr/GEMINI.md) · 🇺🇦 [uk-UA](../uk-UA/GEMINI.md) · 🇵🇰 [ur](../ur/GEMINI.md) · 🇻🇳 [vi](../vi/GEMINI.md) · 🇨🇳 [zh-CN](../zh-CN/GEMINI.md)
+
+---
+
+## 1. File Placement & Organization
+
+- **Test Files**: ALL unit tests, integration tests, ecosystem tests, or Vitest files MUST strictly be placed within the `tests/` directory (e.g., `tests/unit/`, `tests/integration/`). NEVER create test files in the project root (`/`).
+- **Scripts and Utilities**: ALL maintenance, debugging, generation, or experimental scripts (`.cjs`, `.mjs`, `.js`, `.ts`) MUST be placed strictly inside the `scripts/` directory or `scripts/scratch/` for temporary one-offs. NEVER dump loose scripts in the project root (`/`).
+
+**The Project Root MUST ONLY CONTAIN:**
+
+- Configuration files (`vitest.config.ts`, `next.config.mjs`, `eslint.config.mjs`, etc.)
+- Dependency files (`package.json`, `package-lock.json`)
+- Documentation files (`README.md`, `CHANGELOG.md`, `AGENTS.md`)
+- CI/CD files and ignore definitions (`.gitignore`, `.dockerignore`)
+
+When creating _any_ validation tests or one-off logic scripts, default to using `scripts/scratch/` or the `tests/unit/` directories according to your goals. Do not pollute the `/` root context.
+
+## 2. VPS Dashboard Credentials
+
+| Environment | URL | Password |
+| ----------- | ------------------------- | -------- |
+| Local VPS | http://192.168.0.15:20128 | 123456 |
diff --git a/docs/i18n/az/README.md b/docs/i18n/az/README.md
new file mode 100644
index 0000000000..b689d0a3cb
--- /dev/null
+++ b/docs/i18n/az/README.md
@@ -0,0 +1,2379 @@
+# 🚀 OmniRoute — The Free AI Gateway (Azərbaycan dili)
+
+🌐 **Languages:** 🇺🇸 [English](../../../README.md) · 🇸🇦 [ar](../ar/README.md) · 🇦🇿 [az](../az/README.md) · 🇧🇬 [bg](../bg/README.md) · 🇧🇩 [bn](../bn/README.md) · 🇨🇿 [cs](../cs/README.md) · 🇩🇰 [da](../da/README.md) · 🇩🇪 [de](../de/README.md) · 🇪🇸 [es](../es/README.md) · 🇮🇷 [fa](../fa/README.md) · 🇫🇮 [fi](../fi/README.md) · 🇫🇷 [fr](../fr/README.md) · 🇮🇳 [gu](../gu/README.md) · 🇮🇱 [he](../he/README.md) · 🇮🇳 [hi](../hi/README.md) · 🇭🇺 [hu](../hu/README.md) · 🇮🇩 [id](../id/README.md) · 🇮🇹 [it](../it/README.md) · 🇯🇵 [ja](../ja/README.md) · 🇰🇷 [ko](../ko/README.md) · 🇮🇳 [mr](../mr/README.md) · 🇲🇾 [ms](../ms/README.md) · 🇳🇱 [nl](../nl/README.md) · 🇳🇴 [no](../no/README.md) · 🇵🇭 [phi](../phi/README.md) · 🇵🇱 [pl](../pl/README.md) · 🇵🇹 [pt](../pt/README.md) · 🇧🇷 [pt-BR](../pt-BR/README.md) · 🇷🇴 [ro](../ro/README.md) · 🇷🇺 [ru](../ru/README.md) · 🇸🇰 [sk](../sk/README.md) · 🇸🇪 [sv](../sv/README.md) · 🇰🇪 [sw](../sw/README.md) · 🇮🇳 [ta](../ta/README.md) · 🇮🇳 [te](../te/README.md) · 🇹🇭 [th](../th/README.md) · 🇹🇷 [tr](../tr/README.md) · 🇺🇦 [uk-UA](../uk-UA/README.md) · 🇵🇰 [ur](../ur/README.md) · 🇻🇳 [vi](../vi/README.md) · 🇨🇳 [zh-CN](../zh-CN/README.md)
+
+---
+
+### Never stop coding. Smart routing to **FREE & low-cost AI models** with automatic fallback.
+
+_Your universal API proxy — one endpoint, 100+ providers, zero downtime. Now with **MCP Server (25 tools)**, **A2A Protocol**, **Memory/Skills Systems** & **Electron Desktop App**._
+
+**Chat Completions • Embeddings • Image Generation • Video • Music • Audio • Reranking • **Web Search** • MCP Server • A2A Protocol • 100% TypeScript**
+
+---
+
+<div align="center">
+
+[![npm version](https://img.shields.io/npm/v/omniroute?color=cb3837&logo=npm)](https://www.npmjs.com/package/omniroute)
+[![Docker Hub](https://img.shields.io/docker/v/diegosouzapw/omniroute?label=Docker%20Hub&logo=docker&color=2496ED)](https://hub.docker.com/r/diegosouzapw/omniroute)
+
+![NPM Downloads](https://img.shields.io/npm/dw/omniroute?label=npm%20down%20week&color=red)
+![NPM Downloads](https://img.shields.io/npm/dm/omniroute?label=npm%20down%20month&color=red)
+
+![NPM Downloads](https://img.shields.io/npm/d18m/omniroute?label=npm%20down%20year&color=red)
+![Docker Pulls](https://img.shields.io/docker/pulls/diegosouzapw/omniroute)
+![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/diegosouzapw/omniroute/total?style=flat&label=eletron%20donwloads&color=blue)
+
+[![stars](https://custom-icon-badges.demolab.com/github/stars/diegosouzapw/OmniRoute?logo=star&style=flat)](https://github.com/diegosouzapw/OmniRoute/stargazers)
+[![open issues](https://custom-icon-badges.demolab.com/github/issues-raw/diegosouzapw/OmniRoute?logo=issue)](https://github.com/diegosouzapw/OmniRoute/issues)
+[![license](https://custom-icon-badges.demolab.com/github/license/diegosouzapw/OmniRoute?logo=law)](https://github.com/diegosouzapw/OmniRoute/blob/main/LICENSE)
+[![last commit](https://custom-icon-badges.demolab.com/github/last-commit/diegosouzapw/OmniRoute?logo=history&logoColor=white)](https://github.com/diegosouzapw/OmniRoute/commits/main)
+[![total contributions](https://custom-icon-badges.demolab.com/badge/dynamic/json?logo=graph&logoColor=fff&color=blue&label=total%20contributions&query=%24.totalContributions&url=https%3A%2F%2Fstreak-stats.demolab.com%2F%3Fuser%3Ddiegosouzapw%26type%3Djson)](https://github.com/diegosouzapw)
+[![code size](https://custom-icon-badges.demolab.com/github/languages/code-size/diegosouzapw/OmniRoute?logo=file-code&logoColor=white)](https://github.com/diegosouzapw/OmniRoute)
+[![pr closed](https://custom-icon-badges.demolab.com/github/issues-pr-closed/diegosouzapw/OmniRoute?color=purple&logo=git-pull-request&logoColor=white)](https://github.com/diegosouzapw/OmniRoute/pulls?q=is%3Apr+is%3Aclosed)
+[![tag](https://custom-icon-badges.demolab.com/github/v/tag/diegosouzapw/OmniRoute?logo=tag&logoColor=white)](https://github.com/diegosouzapw/OmniRoute/tags)
+[![github streak](https://custom-icon-badges.demolab.com/badge/dynamic/json?logo=fire&logoColor=fff&color=orange&label=github%20streak&query=%24.currentStreak.length&suffix=%20days&url=https%3A%2F%2Fstreak-stats.demolab.com%2F%3Fuser%3Ddiegosouzapw%26type%3Djson)](https://github.com/diegosouzapw)
+[![followers](https://custom-icon-badges.demolab.com/github/followers/diegosouzapw?logo=person-add)](https://github.com/diegosouzapw?tab=followers)
+[![fork](https://custom-icon-badges.demolab.com/github/forks/diegosouzapw/OmniRoute?logo=fork)](https://github.com/diegosouzapw/OmniRoute/network/members)
+[![watch](https://custom-icon-badges.demolab.com/github/watchers/diegosouzapw/OmniRoute?logo=eye)](https://github.com/diegosouzapw/OmniRoute/watchers)
+
+[![License](https://img.shields.io/github/license/diegosouzapw/OmniRoute)](https://github.com/diegosouzapw/OmniRoute/blob/main/LICENSE)
+[![Website](https://img.shields.io/badge/Website-omniroute.online-blue?logo=google-chrome&logoColor=white)](https://omniroute.online)
+[![WhatsApp](https://img.shields.io/badge/WhatsApp-Community-25D366?logo=whatsapp&logoColor=white)](https://chat.whatsapp.com/JI7cDQ1GyaiDHhVBpLxf8b?mode=gi_t)
+
+[🌐 Website](https://omniroute.online) • [🚀 Quick Start](#-quick-start) • [💡 Features](#-key-features) • [📖 Docs](#-documentation) • [💰 Pricing](#-pricing-at-a-glance) • [💬 WhatsApp](https://chat.whatsapp.com/JI7cDQ1GyaiDHhVBpLxf8b?mode=gi_t)
+
+</div>
+
+🌐 **Available in:** 🇺🇸 [English](README.md) | 🇧🇷 [Português (Brasil)](docs/i18n/pt-BR/README.md) | 🇪🇸 [Español](docs/i18n/es/README.md) | 🇫🇷 [Français](docs/i18n/fr/README.md) | 🇮🇹 [Italiano](docs/i18n/it/README.md) | 🇷🇺 [Русский](docs/i18n/ru/README.md) | 🇨🇳 [中文 (简体)](docs/i18n/zh-CN/README.md) | 🇩🇪 [Deutsch](docs/i18n/de/README.md) | 🇮🇳 [हिन्दी](docs/i18n/in/README.md) | 🇹🇭 [ไทย](docs/i18n/th/README.md) | 🇺🇦 [Українська](docs/i18n/uk-UA/README.md) | 🇸🇦 [العربية](docs/i18n/ar/README.md) | 🇯🇵 [日本語](docs/i18n/ja/README.md) | 🇻🇳 [Tiếng Việt](docs/i18n/vi/README.md) | 🇧🇬 [Български](docs/i18n/bg/README.md) | 🇩🇰 [Dansk](docs/i18n/da/README.md) | 🇫🇮 [Suomi](docs/i18n/fi/README.md) | 🇮🇱 [עברית](docs/i18n/he/README.md) | 🇭🇺 [Magyar](docs/i18n/hu/README.md) | 🇮🇩 [Bahasa Indonesia](docs/i18n/id/README.md) | 🇰🇷 [한국어](docs/i18n/ko/README.md) | 🇲🇾 [Bahasa Melayu](docs/i18n/ms/README.md) | 🇳🇱 [Nederlands](docs/i18n/nl/README.md) | 🇳🇴 [Norsk](docs/i18n/no/README.md) | 🇵🇹 [Português (Portugal)](docs/i18n/pt/README.md) | 🇷🇴 [Română](docs/i18n/ro/README.md) | 🇵🇱 [Polski](docs/i18n/pl/README.md) | 🇸🇰 [Slovenčina](docs/i18n/sk/README.md) | 🇸🇪 [Svenska](docs/i18n/sv/README.md) | 🇵🇭 [Filipino](docs/i18n/phi/README.md) | 🇨🇿 [Čeština](docs/i18n/cs/README.md)
+
+---
+
+## 🖼️ Main Dashboard
+
+<div align="center">
+ <img src="./docs/screenshots/MainOmniRoute.png" alt="OmniRoute Dashboard" width="800"/>
+</div>
+
+---
+
+## 📸 Dashboard Preview
+
+<details>
+<summary><b>Click to see dashboard screenshots</b></summary>
+
+| Page | Screenshot |
+| -------------- | ------------------------------------------------- |
+| **Providers** | ![Providers](docs/screenshots/01-providers.png) |
+| **Combos** | ![Combos](docs/screenshots/02-combos.png) |
+| **Analytics** | ![Analytics](docs/screenshots/03-analytics.png) |
+| **Health** | ![Health](docs/screenshots/04-health.png) |
+| **Translator** | ![Translator](docs/screenshots/05-translator.png) |
+| **Settings** | ![Settings](docs/screenshots/06-settings.png) |
+| **CLI Tools** | ![CLI Tools](docs/screenshots/07-cli-tools.png) |
+| **Usage Logs** | ![Usage](docs/screenshots/08-usage.png) |
+| **Endpoints** | ![Endpoints](docs/screenshots/09-endpoint.png) |
+
+</details>
+
+---
+
+### 🤖 Free AI Provider for your favorite coding agents
+
+_Connect any AI-powered IDE or CLI tool through OmniRoute — free API gateway for unlimited coding._
+
+ <table>
+ <tr>
+ <td align="center" width="110">
+ <a href="https://github.com/openclaw/openclaw">
+ <img src="./public/providers/openclaw.png" alt="OpenClaw" width="48"/><br/>
+ <b>OpenClaw</b>
+ </a><br/>
+ <sub>⭐ 205K</sub>
+ </td>
+ <td align="center" width="110">
+ <a href="https://github.com/HKUDS/nanobot">
+ <img src="./public/providers/nanobot.png" alt="NanoBot" width="48"/><br/>
+ <b>NanoBot</b>
+ </a><br/>
+ <sub>⭐ 20.9K</sub>
+ </td>
+ <td align="center" width="110">
+ <a href="https://github.com/sipeed/picoclaw">
+ <img src="./public/providers/picoclaw.jpg" alt="PicoClaw" width="48"/><br/>
+ <b>PicoClaw</b>
+ </a><br/>
+ <sub>⭐ 14.6K</sub>
+ </td>
+ <td align="center" width="110">
+ <a href="https://github.com/zeroclaw-labs/zeroclaw">
+ <img src="./public/providers/zeroclaw.png" alt="ZeroClaw" width="48"/><br/>
+ <b>ZeroClaw</b>
+ </a><br/>
+ <sub>⭐ 9.9K</sub>
+ </td>
+ <td align="center" width="110">
+ <a href="https://github.com/nearai/ironclaw">
+ <img src="./public/providers/ironclaw.png" alt="IronClaw" width="48"/><br/>
+ <b>IronClaw</b>
+ </a><br/>
+ <sub>⭐ 2.1K</sub>
+ </td>
+ </tr>
+ <tr>
+ <td align="center" width="110">
+ <a href="https://github.com/anomalyco/opencode">
+ <img src="./public/providers/opencode.svg" alt="OpenCode" width="48"/><br/>
+ <b>OpenCode</b>
+ </a><br/>
+ <sub>⭐ 106K</sub>
+ </td>
+ <td align="center" width="110">
+ <a href="https://github.com/openai/codex">
+ <img src="./public/providers/codex.svg" alt="Codex CLI" width="48"/><br/>
+ <b>Codex CLI</b>
+ </a><br/>
+ <sub>⭐ 60.8K</sub>
+ </td>
+ <td align="center" width="110">
+ <a href="https://github.com/anthropics/claude-code">
+ <img src="./public/providers/claude.svg" alt="Claude Code" width="48"/><br/>
+ <b>Claude Code</b>
+ </a><br/>
+ <sub>⭐ 67.3K</sub>
+ </td>
+ <td align="center" width="110">
+ <a href="https://github.com/google-gemini/gemini-cli">
+ <img src="./public/providers/gemini-cli.svg" alt="Gemini CLI" width="48"/><br/>
+ <b>Gemini CLI</b>
+ </a><br/>
+ <sub>⭐ 94.7K</sub>
+ </td>
+ <td align="center" width="110">
+ <a href="https://github.com/Kilo-Org/kilocode">
+ <img src="./public/providers/kilocode.svg" alt="Kilo Code" width="48"/><br/>
+ <b>Kilo Code</b>
+ </a><br/>
+ <sub>⭐ 15.5K</sub>
+ </td>
+ </tr>
+ </table>
+
+<sub>📡 All agents connect via <code>http://localhost:20128/v1</code> or <code>http://cloud.omniroute.online/v1</code> — one config, unlimited models and quota</sub>
+
+---
+
+## 🤔 Why OmniRoute?
+
+**Stop wasting money and hitting limits:**
+
+- <img src="https://img.shields.io/badge/✗-e74c3c?style=flat-square" height="16"/> Subscription quota expires unused every month
+- <img src="https://img.shields.io/badge/✗-e74c3c?style=flat-square" height="16"/> Rate limits stop you mid-coding
+- <img src="https://img.shields.io/badge/✗-e74c3c?style=flat-square" height="16"/> Expensive APIs ($20-50/month per provider)
+- <img src="https://img.shields.io/badge/✗-e74c3c?style=flat-square" height="16"/> Manual switching between providers
+
+**OmniRoute solves this:**
+
+- ✅ **Maximize subscriptions** - Track quota, use every bit before reset
+- ✅ **Auto fallback** - Subscription → API Key → Cheap → Free, zero downtime
+- ✅ **Multi-account** - Round-robin between accounts per provider
+- ✅ **Universal** - Works with Claude Code, Codex, Gemini CLI, Cursor, Cline, OpenClaw, any CLI tool
+
+---
+
+## 📧 Support
+
+> 💬 **Join our community!** [WhatsApp Group](https://chat.whatsapp.com/JI7cDQ1GyaiDHhVBpLxf8b?mode=gi_t) — Get help, share tips, and stay updated.
+
+- **Website**: [omniroute.online](https://omniroute.online)
+- **GitHub**: [github.com/diegosouzapw/OmniRoute](https://github.com/diegosouzapw/OmniRoute)
+- **Issues**: [github.com/diegosouzapw/OmniRoute/issues](https://github.com/diegosouzapw/OmniRoute/issues)
+- **WhatsApp**: [Community Group](https://chat.whatsapp.com/JI7cDQ1GyaiDHhVBpLxf8b?mode=gi_t)
+- **Contributing**: See [CONTRIBUTING.md](CONTRIBUTING.md), open a PR, or pick a `good first issue`
+- **Original Project**: [9router by decolua](https://github.com/decolua/9router)
+
+### 🐛 Reporting a Bug?
+
+When opening an issue, please run the system-info command and attach the generated file:
+
+```bash
+npm run system-info
+```
+
+This generates a `system-info.txt` with your Node.js version, OmniRoute version, OS details, installed CLI tools (qoder, gemini, claude, codex, antigravity, droid, etc.), Docker/PM2 status, and system packages — everything we need to reproduce your issue quickly. Attach the file directly to your GitHub issue.
+
+---
+
+## 🔄 How It Works
+
+```
+┌─────────────┐
+│ Your CLI │ (Claude Code, Codex, Gemini CLI, OpenClaw, Cursor, Cline...)
+│ Tool │
+└──────┬──────┘
+ │ http://localhost:20128/v1
+ ↓
+┌─────────────────────────────────────────┐
+│ OmniRoute (Smart Router) │
+│ • Format translation (OpenAI ↔ Claude) │
+│ • Quota tracking + Embeddings + Images │
+│ • Auto token refresh │
+└──────┬──────────────────────────────────┘
+ │
+ ├─→ [Tier 1: SUBSCRIPTION] Claude Code, Codex, Gemini CLI
+ │ ↓ quota exhausted
+ ├─→ [Tier 2: API KEY] DeepSeek, Groq, xAI, Mistral, NVIDIA NIM, etc.
+ │ ↓ budget limit
+ ├─→ [Tier 3: CHEAP] GLM ($0.6/1M), MiniMax ($0.2/1M)
+ │ ↓ budget limit
+ └─→ [Tier 4: FREE] Qoder, Qwen, Kiro (unlimited)
+
+Result: Never stop coding, minimal cost
+```
+
+---
+
+## 🎯 What OmniRoute Solves — 30 Real Pain Points & Use Cases
+
+> **Every developer using AI tools faces these problems daily.** OmniRoute was built to solve them all — from cost overruns to regional blocks, from broken OAuth flows to protocol operations and enterprise observability.
+
+<details>
+<summary><b>💸 1. "I pay for an expensive subscription but still get interrupted by limits"</b></summary>
+
+Developers pay $20–200/month for Claude Pro, Codex Pro, or GitHub Copilot. Even paying, quota has a ceiling — 5h of usage, weekly limits, or per-minute rate limits. Mid-coding session, the provider stops responding and the developer loses flow and productivity.
+
+**How OmniRoute solves it:**
+
+- **Smart 4-Tier Fallback** — If subscription quota runs out, automatically redirects to API Key → Cheap → Free with zero manual intervention
+- **Provider Limits Tracking** — Cached quota snapshots refresh on a server-side schedule (default `PROVIDER_LIMITS_SYNC_INTERVAL_MINUTES=70`) with manual refresh available in the UI
+- **Multi-Account Support** — Multiple accounts per provider with auto round-robin — when one runs out, switches to the next
+- **Custom Combos** — Customizable fallback chains with 13 balancing strategies (priority, weighted, fill-first, round-robin, P2C, random, least-used, cost-optimized, strict-random, auto, lkgp, context-optimized, **context-relay**)
+- **Structured Combo Builder** — Build combos step-by-step with explicit provider + model + account selection, including repeated providers and fixed-account targets
+- **Quota-Aware P2C** — Power-of-two account selection now factors quota headroom, backoff, recent errors, and consecutive use
+- **Codex Business Quotas** — Business/Team workspace quota monitoring directly in the dashboard
+
+</details>
+
+<details>
+<summary><b>🔌 2. "I need to use multiple providers but each has a different API"</b></summary>
+
+OpenAI uses one format, Claude (Anthropic) uses another, Gemini yet another. If a dev wants to test models from different providers or fallback between them, they need to reconfigure SDKs, change endpoints, deal with incompatible formats. Custom providers (FriendLI, NIM) have non-standard model endpoints.
+
+**How OmniRoute solves it:**
+
+- **Unified Endpoint** — A single `http://localhost:20128/v1` serves as proxy for all 100+ providers
+- **Format Translation** — Automatic and transparent: OpenAI ↔ Claude ↔ Gemini ↔ Responses API
+- **Response Sanitization** — Strips non-standard fields (`x_groq`, `usage_breakdown`, `service_tier`) that break OpenAI SDK v1.83+
+- **Role Normalization** — Converts `developer` → `system` for non-OpenAI providers; `system` → `user` for GLM/ERNIE
+- **Think Tag Extraction** — Extracts `<think>` blocks from models like DeepSeek R1 into standardized `reasoning_content`
+- **Structured Output for Gemini** — `json_schema` → `responseMimeType`/`responseSchema` automatic conversion
+- **`stream` defaults to `false`** — Aligns with OpenAI spec, avoiding unexpected SSE in Python/Rust/Go SDKs
+
+</details>
+
+<details>
+<summary><b>🌐 3. "My AI provider blocks my region/country"</b></summary>
+
+Providers like OpenAI/Codex block access from certain geographic regions. Users get errors like `unsupported_country_region_territory` during OAuth and API connections. This is especially frustrating for developers from developing countries.
+
+**How OmniRoute solves it:**
+
+- **3-Level Proxy Config** — Configurable proxy at 3 levels: global (all traffic), per-provider (one provider only), and per-connection/key
+- **Color-Coded Proxy Badges** — Visual indicators: 🟢 global proxy, 🟡 provider proxy, 🔵 connection proxy, always showing the IP
+- **OAuth Token Exchange Through Proxy** — OAuth flow also goes through the proxy, solving `unsupported_country_region_territory`
+- **Connection Tests via Proxy** — Connection tests use the configured proxy (no more direct bypass)
+- **SOCKS5 Support** — Full SOCKS5 proxy support for outbound routing
+- **TLS Fingerprint Spoofing** — Browser-like TLS fingerprint via `wreq-js` to bypass bot detection
+- **🔏 CLI Fingerprint Matching** — Reorders headers and body fields to match native CLI binary signatures, drastically reducing account flagging risk. The proxy IP is preserved — you get both stealth **and** IP masking simultaneously
+
+</details>
+
+<details>
+<summary><b>🆓 4. "I want to use AI for coding but I have no money"</b></summary>
+
+Not everyone can pay $20–200/month for AI subscriptions. Students, devs from emerging countries, hobbyists, and freelancers need access to quality models at zero cost.
+
+**How OmniRoute solves it:**
+
+- **Free Tier Providers Built-in** — Native support for 100% free providers: Qoder (5 unlimited models via OAuth: kimi-k2-thinking, qwen3-coder-plus, deepseek-r1, minimax-m2, kimi-k2), Qwen (4 unlimited models: qwen3-coder-plus, qwen3-coder-flash, qwen3-coder-next, vision-model), Kiro (Claude + AWS Builder ID for free), Gemini CLI (180K tokens/month free)
+- **Ollama Cloud** — Cloud-hosted Ollama models at `api.ollama.com` with free "Light usage" tier; use `ollamacloud/<model>` prefix
+- **Free-Only Combos** — Chain `gc/gemini-3-flash → if/kimi-k2-thinking → qw/qwen3-coder-plus` = $0/month with zero downtime
+- **NVIDIA NIM Free Access** — ~40 RPM dev-forever free access to 70+ models at build.nvidia.com (transitioning from credits to pure rate limits)
+- **Cost Optimized Strategy** — Routing strategy that automatically chooses the cheapest available provider
+
+</details>
+
+<details>
+<summary><b>🔒 5. "I need to protect my AI gateway from unauthorized access"</b></summary>
+
+When exposing an AI gateway to the network (LAN, VPS, Docker), anyone with the address can consume the developer's tokens/quota. Without protection, APIs are vulnerable to misuse, prompt injection, and abuse.
+
+**How OmniRoute solves it:**
+
+- **API Key Management** — Generation, rotation, and scoping per provider with a dedicated `/dashboard/api-manager` page
+- **Model-Level Permissions** — Restrict API keys to specific models (`openai/*`, wildcard patterns), with Allow All/Restrict toggle
+- **API Endpoint Protection** — Require a key for `/v1/models` and block specific providers from the listing
+- **Auth Guard + CSRF Protection** — All dashboard routes protected with `withAuth` middleware + CSRF tokens
+- **Rate Limiter** — Per-IP rate limiting with configurable windows
+- **IP Filtering** — Allowlist/blocklist for access control
+- **Prompt Injection Guard** — Sanitization against malicious prompt patterns
+- **AES-256-GCM Encryption** — Credentials encrypted at rest
+
+</details>
+
+<details>
+<summary><b>🛑 6. "My provider went down and I lost my coding flow"</b></summary>
+
+AI providers can become unstable, return 5xx errors, or hit temporary rate limits. If a dev depends on a single provider, they're interrupted. Without circuit breakers, repeated retries can crash the application.
+
+**How OmniRoute solves it:**
+
+- **Request Queue & Pacing** — Per-connection request buckets smooth bursts before they hit upstream rate caps
+- **Connection Cooldown** — A single connection cools down after retryable failures with optional upstream `Retry-After` hints and exponential backoff
+- **Provider Circuit Breaker** — The provider only trips after fallback is exhausted and the provider request still fails with provider-wide transient errors; connection-scoped `429` rate limits stay in Connection Cooldown
+- **Wait For Cooldown** — The server can wait for the earliest connection cooldown to expire and retry the same client request automatically
+- **Anti-Thundering Herd** — Mutex + semaphore protection against concurrent retry storms
+- **Combo Fallback Chains** — If the primary provider fails, automatically falls through the chain with no intervention
+- **Health Dashboard** — Uptime monitoring, provider circuit breaker states, cooldowns, cache stats, p50/p95/p99 latency
+
+</details>
+
+<details>
+<summary><b>🔧 7. "Configuring each AI tool is tedious and repetitive"</b></summary>
+
+Developers use Cursor, Claude Code, Codex CLI, OpenClaw, Gemini CLI, Kilo Code... Each tool needs a different config (API endpoint, key, model). Reconfiguring when switching providers or models is a waste of time.
+
+**How OmniRoute solves it:**
+
+- **CLI Tools Dashboard** — Dedicated page with one-click setup for Claude Code, Codex CLI, OpenClaw, Kilo Code, Antigravity, Cline
+- **GitHub Copilot Config Generator** — Generates `chatLanguageModels.json` for VS Code with bulk model selection
+- **Onboarding Wizard** — Guided 4-step setup for first-time users
+- **One endpoint, all models** — Configure `http://localhost:20128/v1` once, access 100+ providers
+
+</details>
+
+<details>
+<summary><b>🔑 8. "Managing OAuth tokens from multiple providers is hell"</b></summary>
+
+Claude Code, Codex, Gemini CLI, Copilot — all use OAuth 2.0 with expiring tokens. Developers need to re-authenticate constantly, deal with `client_secret is missing`, `redirect_uri_mismatch`, and failures on remote servers. OAuth on LAN/VPS is particularly problematic.
+
+**How OmniRoute solves it:**
+
+- **Auto Token Refresh** — OAuth tokens refresh in background before expiration
+- **OAuth 2.0 (PKCE) Built-in** — Automatic flow for Claude Code, Codex, Gemini CLI, Copilot, Kiro, Qwen, Qoder
+- **Multi-Account OAuth** — Multiple accounts per provider via JWT/ID token extraction
+- **OAuth LAN/Remote Fix** — Private IP detection for `redirect_uri` + manual URL mode for remote servers
+- **OAuth Behind Nginx** — Uses `window.location.origin` for reverse proxy compatibility
+- **Remote OAuth Guide** — Step-by-step guide for Google Cloud credentials on VPS/Docker
+
+</details>
+
+<details>
+<summary><b>📊 9. "I don't know how much I'm spending or where"</b></summary>
+
+Developers use multiple paid providers but have no unified view of spending. Each provider has its own billing dashboard, but there's no consolidated view. Unexpected costs can pile up.
+
+**How OmniRoute solves it:**
+
+- **Cost Analytics Dashboard** — Per-token cost tracking and budget management per provider
+- **Budget Limits per Tier** — Spending ceiling per tier that triggers automatic fallback
+- **Per-Model Pricing Configuration** — Configurable prices per model
+- **Usage Statistics Per API Key** — Request count and last-used timestamp per key
+- **Analytics Dashboard** — Stat cards, model usage chart, provider table with success rates and latency
+
+</details>
+
+<details>
+<summary><b>🐛 10. "I can't diagnose errors and problems in AI calls"</b></summary>
+
+When a call fails, the dev doesn't know if it was a rate limit, expired token, wrong format, or provider error. Fragmented logs across different terminals. Without observability, debugging is trial-and-error.
+
+**How OmniRoute solves it:**
+
+- **Unified Logs Dashboard** — 4 tabs: Request Logs, Proxy Logs, Audit Logs, Console
+- **Console Log Viewer** — Real-time terminal-style viewer with color-coded levels, auto-scroll, search, filter
+- **SQLite Summary Logs** — Request and proxy log indexes stay queryable across restarts without loading large payload blobs into SQLite
+- **Translator Playground** — 4 debugging modes: Playground (format translation), Chat Tester (round-trip), Test Bench (batch), Live Monitor (real-time)
+- **Request Telemetry** — p50/p95/p99 latency + X-Request-Id tracing
+- **File-Based Detail Artifacts** — App logs rotate by size, retention days, and archive count; detailed request/response payloads live in `DATA_DIR/call_logs/` and rotate independently of SQLite summaries
+- **System Info Report** — `npm run system-info` generates `system-info.txt` with your full environment (Node version, OmniRoute version, OS, CLI tools, Docker/PM2 status). Attach it when reporting issues for instant triage.
+
+</details>
+
+<details>
+<summary><b>🏗️ 11. "Deploying and maintaining the gateway is complex"</b></summary>
+
+Installing, configuring, and maintaining an AI proxy across different environments (local, VPS, Docker, cloud) is labor-intensive. Problems like hardcoded paths, `EACCES` on directories, port conflicts, and cross-platform builds add friction.
+
+**How OmniRoute solves it:**
+
+- **npm global install** — `npm install -g omniroute && omniroute` — done
+- **Docker Multi-Platform** — AMD64 + ARM64 native (Apple Silicon, AWS Graviton, Raspberry Pi)
+- **Docker Compose Profiles** — `base` (no CLI tools) and `cli` (with Claude Code, Codex, OpenClaw)
+- **Electron Desktop App** — Native app for Windows/macOS/Linux with system tray, auto-start, offline mode
+- **Split-Port Mode** — API and Dashboard on separate ports for advanced scenarios (reverse proxy, container networking)
+- **Cloud Sync** — Config synchronization across devices via Cloudflare Workers
+- **DB Backups** — Automatic backup, restore, export and import of all settings, with `DISABLE_SQLITE_AUTO_BACKUP` for externally managed backups
+
+</details>
+
+<details>
+<summary><b>🌍 12. "The interface is English-only and my team doesn't speak English"</b></summary>
+
+Teams in non-English-speaking countries, especially in Latin America, Asia, and Europe, struggle with English-only interfaces. Language barriers reduce adoption and increase configuration errors.
+
+**How OmniRoute solves it:**
+
+- **Dashboard i18n — 30 Languages** — All 500+ keys translated including Arabic, Bulgarian, Danish, German, Spanish, Finnish, French, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Malay, Dutch, Norwegian, Polish, Portuguese (PT/BR), Romanian, Russian, Slovak, Swedish, Thai, Ukrainian, Vietnamese, Chinese, Filipino, English
+- **RTL Support** — Right-to-left support for Arabic and Hebrew
+- **Multi-Language READMEs** — 30 complete documentation translations
+- **Language Selector** — Globe icon in header for real-time switching
+
+</details>
+
+<details>
+<summary><b>🔄 13. "I need more than chat — I need embeddings, images, audio"</b></summary>
+
+AI isn't just chat completion. Devs need to generate images, transcribe audio, create embeddings for RAG, rerank documents, and moderate content. Each API has a different endpoint and format.
+
+**How OmniRoute solves it:**
+
+- **Embeddings** — `/v1/embeddings` with 6 providers and 9+ models
+- **Image Generation** — `/v1/images/generations` with 10 providers and 20+ models (OpenAI, xAI, Together, Fireworks, Nebius, Hyperbolic, NanoBanana, Antigravity, SD WebUI, ComfyUI)
+- **Text-to-Video** — `/v1/videos/generations` — ComfyUI (AnimateDiff, SVD) and SD WebUI
+- **Text-to-Music** — `/v1/music/generations` — ComfyUI (Stable Audio Open, MusicGen)
+- **Audio Transcription** — `/v1/audio/transcriptions` — Whisper + Nvidia NIM, HuggingFace, Qwen3
+- **Text-to-Speech** — `/v1/audio/speech` — ElevenLabs, Nvidia NIM, HuggingFace, Coqui, Tortoise, Qwen3, **Inworld**, **Cartesia**, **PlayHT**, + existing providers
+- **Moderations** — `/v1/moderations` — Content safety checks
+- **Reranking** — `/v1/rerank` — Document relevance reranking
+- **Responses API** — Full `/v1/responses` support for Codex
+
+</details>
+
+<details>
+<summary><b>🧪 14. "I have no way to test and compare quality across models"</b></summary>
+
+Developers want to know which model is best for their use case — code, translation, reasoning — but comparing manually is slow. No integrated eval tools exist.
+
+**How OmniRoute solves it:**
+
+- **LLM Evaluations** — Golden set testing with 10 pre-loaded cases covering greetings, math, geography, code generation, JSON compliance, translation, markdown, safety refusal
+- **4 Match Strategies** — `exact`, `contains`, `regex`, `custom` (JS function)
+- **Translator Playground Test Bench** — Batch testing with multiple inputs and expected outputs, cross-provider comparison
+- **Chat Tester** — Full round-trip with visual response rendering
+- **Live Monitor** — Real-time stream of all requests flowing through the proxy
+
+</details>
+
+<details>
+<summary><b>📈 15. "I need to scale without losing performance"</b></summary>
+
+As request volume grows, without caching the same questions generate duplicate costs. Without idempotency, duplicate requests waste processing. Per-provider rate limits must be respected.
+
+**How OmniRoute solves it:**
+
+- **Semantic Cache** — Two-tier cache (signature + semantic) reduces cost and latency
+- **Request Idempotency** — 5s deduplication window for identical requests
+- **Rate Limit Detection** — Per-provider RPM, min gap, and max concurrent tracking
+- **Request Queue & Pacing** — Configurable queue, pacing, and concurrency defaults in Settings → Resilience
+- **API Key Validation Cache** — 3-tier cache for production performance
+- **Health Dashboard with Telemetry** — p50/p95/p99 latency, cache stats, uptime
+
+</details>
+
+<details>
+<summary><b>🤖 16. "I want to control model behavior globally"</b></summary>
+
+Developers who want all responses in a specific language, with a specific tone, or want to limit reasoning tokens. Configuring this in every tool/request is impractical.
+
+**How OmniRoute solves it:**
+
+- **System Prompt Injection** — Global prompt applied to all requests
+- **Thinking Budget Validation** — Reasoning token allocation control per request (passthrough, auto, custom, adaptive)
+- **9 Routing Strategies** — Global strategies that determine how requests are distributed
+- **Wildcard Router** — `provider/*` patterns route dynamically to any provider
+- **Combo Enable/Disable Toggle** — Toggle combos directly from the dashboard
+- **Manual Combo Ordering** — Drag combo cards by handle and persist the order in SQLite
+- **Provider Toggle** — Enable/disable all connections for a provider with one click
+- **Blocked Providers** — Exclude specific providers from `/v1/models` listing
+
+</details>
+
+<details>
+<summary><b>🧰 17. "I need MCP tools as first-class product capabilities"</b></summary>
+
+Many AI gateways expose MCP only as a hidden implementation detail. Teams need a visible, manageable operation layer.
+
+**How OmniRoute solves it:**
+
+- MCP appears in the dashboard navigation and endpoint protocol tab
+- Dedicated MCP management page with process, tools, scopes, and audit
+- Built-in quick-start for `omniroute --mcp` and client onboarding
+
+</details>
+
+<details>
+<summary><b>🧠 18. "I need A2A orchestration with sync + stream task paths"</b></summary>
+
+Agent workflows need both direct replies and long-running streamed execution with lifecycle control.
+
+**How OmniRoute solves it:**
+
+- A2A JSON-RPC endpoint (`POST /a2a`) with `message/send` and `message/stream`
+- SSE streaming with terminal state propagation
+- Task lifecycle APIs for `tasks/get` and `tasks/cancel`
+
+</details>
+
+<details>
+<summary><b>🛰️ 19. "I need real MCP process health, not guessed status"</b></summary>
+
+Operational teams need to know if MCP is actually alive, not just whether an API is reachable.
+
+**How OmniRoute solves it:**
+
+- Runtime heartbeat file with PID, timestamps, transport, tool count, and scope mode
+- MCP status API combining heartbeat + recent activity
+- UI status cards for process/uptime/heartbeat freshness
+
+</details>
+
+<details>
+<summary><b>📋 20. "I need auditable MCP tool execution"</b></summary>
+
+When tools mutate config or trigger ops actions, teams need forensic traceability.
+
+**How OmniRoute solves it:**
+
+- SQLite-backed audit logging for MCP tool calls
+- Filters by tool, success/failure, API key, and pagination
+- Dashboard audit table + stats endpoints for automation
+
+</details>
+
+<details>
+<summary><b>🔐 21. "I need scoped MCP permissions per integration"</b></summary>
+
+Different clients should have least-privilege access to tool categories.
+
+**How OmniRoute solves it:**
+
+- 10 granular MCP scopes for controlled tool access
+- Scope enforcement and visibility in MCP management UI
+- Safe default posture for operational tooling
+
+</details>
+
+<details>
+<summary><b>⚙️ 22. "I need operational controls without redeploying"</b></summary>
+
+Teams need quick runtime changes during incidents or cost events.
+
+**How OmniRoute solves it:**
+
+- Switch combo activation directly from MCP dashboard
+- Tune queue, cooldown, breaker, and wait settings from the dedicated Resilience page
+- Review live provider breaker state from the Health dashboard
+
+</details>
+
+<details>
+<summary><b>🔄 23. "I need live A2A task lifecycle visibility and cancellation"</b></summary>
+
+Without lifecycle visibility, task incidents become hard to triage.
+
+**How OmniRoute solves it:**
+
+- Task listing/filtering by state/skill with pagination
+- Drill-down on task metadata, events, and artifacts
+- Task cancellation endpoint and UI action with confirmation
+
+</details>
+
+<details>
+<summary><b>🌊 24. "I need active stream metrics for A2A load"</b></summary>
+
+Streaming workflows require operational insight into concurrency and live connections.
+
+**How OmniRoute solves it:**
+
+- Active stream counters integrated into A2A status
+- Last task timestamp and per-state counts
+- A2A dashboard cards for real-time ops monitoring
+
+</details>
+
+<details>
+<summary><b>🪪 25. "I need standard agent discovery for clients"</b></summary>
+
+External clients and orchestrators need machine-readable metadata for onboarding.
+
+**How OmniRoute solves it:**
+
+- Agent Card exposed at `/.well-known/agent.json`
+- Capabilities and skills shown in management UI
+- A2A status API includes discovery metadata for automation
+
+</details>
+
+<details>
+<summary><b>🧭 26. "I need protocol discoverability in the product UX"</b></summary>
+
+If users cannot discover protocol surfaces, adoption and support quality drop.
+
+**How OmniRoute solves it:**
+
+- Consolidated **Endpoints** page with tabs for Proxy, MCP, A2A, and API Endpoints
+- Inline service status toggles (Online/Offline) for MCP and A2A
+- Links from overview to dedicated management tabs
+
+</details>
+
+<details>
+<summary><b>🧪 27. "I need end-to-end protocol validation with real clients"</b></summary>
+
+Mock tests are not enough to validate protocol compatibility before release.
+
+**How OmniRoute solves it:**
+
+- E2E suite that boots app and uses real MCP SDK client transport
+- A2A client tests for discovery, send, stream, get, and cancel flows
+- Cross-check assertions against MCP audit and A2A tasks APIs
+
+</details>
+
+<details>
+<summary><b>📡 28. "I need unified observability across all interfaces"</b></summary>
+
+Splitting observability by protocol creates blind spots and longer MTTR.
+
+**How OmniRoute solves it:**
+
+- Unified dashboards/logs/analytics in one product
+- Health + audit + request telemetry across OpenAI, MCP, and A2A layers
+- Operational APIs for status and automation
+
+</details>
+
+<details>
+<summary><b>💼 29. "I need one runtime for proxy + tools + agent orchestration"</b></summary>
+
+Running many separate services increases operational cost and failure modes.
+
+**How OmniRoute solves it:**
+
+- OpenAI-compatible proxy, MCP server, and A2A server in one stack
+- Shared auth, resilience, data store, and observability
+- Consistent policy model across all interaction surfaces
+
+</details>
+
+<details>
+<summary><b>🚀 30. "I need to ship agentic workflows without glue-code sprawl"</b></summary>
+
+Teams lose velocity when stitching multiple ad-hoc services and scripts.
+
+**How OmniRoute solves it:**
+
+- Unified endpoint strategy for clients and agents
+- Built-in protocol management UIs and smoke validation paths
+- Production-ready foundations (security, logging, resilience, backup)
+
+</details>
+
+<details>
+<summary><b>📚 31. "My long sessions crash with 'context_length_exceeded' limits"</b></summary>
+
+During deep debugging, long histories with tool results quickly exceed provider token windows, causing failed requests and orphaned context.
+
+**How OmniRoute solves it:**
+
+- **Proactive Context Compression** — Evaluates token budgets before the request hits upstream and proactively prunes old conversation history with a smart binary-search mechanism.
+- **Structural Integrity Guards** — Automatically tracks explicit `tool_use` definitions and ensures that if a tool input is truncated, its corresponding `tool_result` is also safely removed, preventing API validation errors.
+- **Multi-Layer Dropping** — Progressively drops system messages, regular messages, and finally enforces strict length limits without breaking conversational logic.
+
+</details>
+
+### Example Playbooks (Integrated Use Cases)
+
+**Playbook A: Maximize paid subscription + cheap backup**
+
+```txt
+Combo: "maximize-claude"
+ 1. cc/claude-opus-4-7
+ 2. glm/glm-4.7
+ 3. if/kimi-k2-thinking
+
+Monthly cost: $20 + small backup spend
+Outcome: higher quality, near-zero interruption
+```
+
+**Playbook B: Zero-cost coding stack**
+
+```txt
+Combo: "free-forever"
+ 1. gc/gemini-3-flash
+ 2. if/kimi-k2-thinking
+ 3. qw/qwen3-coder-plus
+
+Monthly cost: $0
+Outcome: stable free coding workflow
+```
+
+**Playbook C: 24/7 always-on fallback chain**
+
+```txt
+Combo: "always-on"
+ 1. cc/claude-opus-4-7
+ 2. cx/gpt-5.2-codex
+ 3. glm/glm-4.7
+ 4. minimax/MiniMax-M2.1
+ 5. if/kimi-k2-thinking
+
+Outcome: deep fallback depth for deadline-critical workloads
+```
+
+**Playbook D: Agent ops with MCP + A2A**
+
+```txt
+1) Start MCP transport (`omniroute --mcp`) for tool-driven operations
+2) Run A2A tasks via `message/send` and `message/stream`
+3) Observe via /dashboard/endpoint (MCP and A2A tabs)
+4) Toggle services via inline status controls
+```
+
+---
+
+## 🆓 Start Free — Zero Configuration Cost
+
+> Setup AI coding in minutes at **$0/month**. Connect these free accounts and use the built-in **Free Stack** combo.
+
+| Step | Action | Providers Unlocked |
+| ---- | -------------------------------------------------- | ------------------------------------------------------------------ |
+| 1 | Connect **Kiro** (AWS Builder ID OAuth) | Claude Sonnet 4.5, Haiku 4.5 — **unlimited** |
+| 2 | Connect **Qoder** (Google OAuth) | kimi-k2-thinking, qwen3-coder-plus, deepseek-r1... — **unlimited** |
+| 3 | Connect **Qwen** (Device Code) | qwen3-coder-plus, qwen3-coder-flash... — **unlimited** |
+| 4 | Connect **Gemini CLI** (Google OAuth) | gemini-3-flash, gemini-2.5-pro — **180K/mo free** |
+| 5 | `/dashboard/combos` → **Free Stack ($0)** template | Round-robin all free providers automatically |
+
+**Point any IDE/CLI to:** `http://localhost:20128/v1` · API Key: `any-string` · Done.
+
+> **Optional extra coverage (also free):** Groq API key (30 RPM free), NVIDIA NIM (40 RPM free, 70+ models), Cerebras (1M tok/day), LongCat API key (50M tokens/day!), Cloudflare Workers AI (10K Neurons/day, 50+ models).
+
+## Бърз старт
+
+### 1) Install and run
+
+```bash
+npm install -g omniroute
+omniroute
+```
+
+> **pnpm users:** Run `pnpm approve-builds -g` after install to enable native build scripts required by `better-sqlite3` and `@swc/core`:
+>
+> ```bash
+> pnpm install -g omniroute
+> pnpm approve-builds -g # Select all packages → approve
+> omniroute
+> ```
+
+Dashboard opens at `http://localhost:20128` and API base URL is `http://localhost:20128/v1`.
+
+#### Arch Linux (AUR)
+
+Arch Linux users can install the [AUR package](https://aur.archlinux.org/packages/omniroute-bin), which installs OmniRoute and provides a systemd user service:
+
+```bash
+yay -S omniroute-bin
+systemctl --user enable --now omniroute.service
+```
+
+| Command | Description |
+| ----------------------- | ----------------------------------------------------------- |
+| `omniroute` | Start server (`PORT=20128`, API and dashboard on same port) |
+| `omniroute --port 3000` | Set canonical/API port to 3000 |
+| `omniroute --mcp` | Start MCP server (stdio transport) |
+| `omniroute --no-open` | Don't auto-open browser |
+| `omniroute --help` | Show help |
+
+Optional split-port mode:
+
+```bash
+PORT=20128 DASHBOARD_PORT=20129 omniroute
+# API: http://localhost:20128/v1
+# Dashboard: http://localhost:20129
+```
+
+### 2) Uninstalling
+
+When you no longer need OmniRoute, we provide two quick scripts for a clean removal:
+
+| Command | Action |
+| ------------------------ | ----------------------------------------------------------------------------------- |
+| `npm run uninstall` | Removes the system app but **keeps your DB and configurations** in `~/.omniroute`. |
+| `npm run uninstall:full` | Removes the app AND permanently **erases all configurations, keys, and databases**. |
+
+> Note: To run these commands, navigate to the OmniRoute project folder (if you cloned it) and run them. Alternatively, if globally installed, you can simply run `npm uninstall -g omniroute`.
+
+### Long-Running Streaming Timeouts
+
+For most deployments, you only need:
+
+| Variable | Default | Purpose |
+| ------------------------ | ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
+| `REQUEST_TIMEOUT_MS` | `600000` | Shared baseline for upstream response-start timeout, hidden Undici timeouts, TLS fingerprint requests, and API bridge request/proxy timeouts |
+| `STREAM_IDLE_TIMEOUT_MS` | inherits `REQUEST_TIMEOUT_MS` | Maximum gap between streaming chunks before OmniRoute aborts the SSE stream |
+
+Backward compatibility is preserved: existing `FETCH_TIMEOUT_MS`, `API_BRIDGE_PROXY_TIMEOUT_MS`, and other per-layer timeout vars still work and override the shared baseline.
+
+For Claude Code-compatible upstreams (`anthropic-compatible-cc-*`), OmniRoute also derives the outbound `X-Stainless-Timeout` header from the resolved fetch timeout so provider-side read timeouts stay aligned with your env configuration.
+
+For third-party Claude Code-compatible reverse proxies, OmniRoute keeps the default
+`anthropic-beta` set conservative and, when `Client Cache Control` is left on `Auto`,
+only forwards client-provided `cache_control` markers. If the request does not include
+`cache_control`, OmniRoute does not inject bridge-owned markers.
+
+Advanced overrides are available if you need finer control:
+
+| Variable | Default | Purpose |
+| ---------------------------------------- | ------------------------------------------ | -------------------------------------------------------------------- |
+| `FETCH_TIMEOUT_MS` | inherits `REQUEST_TIMEOUT_MS` | Upstream response-start timeout used until response headers arrive |
+| `FETCH_HEADERS_TIMEOUT_MS` | inherits `FETCH_TIMEOUT_MS` | Undici time limit for receiving upstream response headers |
+| `FETCH_BODY_TIMEOUT_MS` | inherits `FETCH_TIMEOUT_MS` | Undici time limit between upstream body chunks (`0` disables it) |
+| `FETCH_CONNECT_TIMEOUT_MS` | `30000` | Undici TCP connect timeout |
+| `FETCH_KEEPALIVE_TIMEOUT_MS` | `4000` | Undici idle keep-alive socket timeout |
+| `TLS_CLIENT_TIMEOUT_MS` | inherits `FETCH_TIMEOUT_MS` | Timeout for TLS fingerprint requests made through `wreq-js` |
+| `API_BRIDGE_PROXY_TIMEOUT_MS` | inherits `REQUEST_TIMEOUT_MS` or `30000` | Timeout for `/v1` proxy forwarding from API port to dashboard port |
+| `API_BRIDGE_SERVER_REQUEST_TIMEOUT_MS` | `max(API_BRIDGE_PROXY_TIMEOUT_MS, 300000)` | Incoming request timeout on the API bridge server |
+| `API_BRIDGE_SERVER_HEADERS_TIMEOUT_MS` | `60000` | Incoming header timeout on the API bridge server |
+| `API_BRIDGE_SERVER_KEEPALIVE_TIMEOUT_MS` | `5000` | Keep-alive timeout on the API bridge server |
+| `API_BRIDGE_SERVER_SOCKET_TIMEOUT_MS` | `0` | Socket inactivity timeout on the API bridge server (`0` disables it) |
+
+For streaming requests, `FETCH_TIMEOUT_MS` only covers connection setup / waiting for the first upstream response. Once the stream is active, OmniRoute will only abort on an actual stall (`STREAM_IDLE_TIMEOUT_MS`) or Undici body inactivity (`FETCH_BODY_TIMEOUT_MS`).
+
+If you run OmniRoute behind Nginx, Caddy, Cloudflare, or another reverse proxy, make sure the proxy
+timeouts are also higher than your OmniRoute stream/fetch timeouts.
+
+### 2) Connect providers and create your API key
+
+1. Open Dashboard → `Providers` and connect at least one provider (OAuth or API key).
+2. Open Dashboard → `Endpoints` and create an API key.
+3. (Optional) Open Dashboard → `Combos` and set your fallback chain.
+
+### 3) Point your coding tool to OmniRoute
+
+```txt
+Base URL: http://localhost:20128/v1
+API Key: [copy from Endpoint page]
+Model: if/kimi-k2-thinking (or any provider/model prefix)
+```
+
+Works with Claude Code, Codex CLI, Gemini CLI, Cursor, Cline, OpenClaw, OpenCode, and OpenAI-compatible SDKs.
+
+### 4) Enable and validate protocols (v2.0)
+
+**MCP (for tool-driven operations):**
+
+```bash
+omniroute --mcp
+```
+
+Then connect your MCP client over `stdio` and test tools like:
+
+- `omniroute_get_health`
+- `omniroute_list_combos`
+
+**A2A (for agent-to-agent workflows):**
+
+```bash
+curl http://localhost:20128/.well-known/agent.json
+```
+
+```bash
+curl -X POST http://localhost:20128/a2a \
+ -H 'content-type: application/json' \
+ -d '{"jsonrpc":"2.0","id":"quickstart","method":"message/send","params":{"skill":"quota-management","messages":[{"role":"user","content":"Give me a short quota summary."}]}}'
+```
+
+### 5) Validate everything end-to-end (recommended)
+
+```bash
+npm run test:protocols:e2e
+```
+
+This suite validates real MCP and A2A client flows against a running app.
+
+### Alternative: run from source
+
+```bash
+cp .env.example .env
+npm install
+PORT=20128 DASHBOARD_PORT=20129 NEXT_PUBLIC_BASE_URL=http://localhost:20129 npm run dev
+```
+
+<details>
+<summary><b>Void Linux (`xbps-src` template)</b></summary>
+
+For Void Linux users, you can build a native package using `xbps-src`. Save this block as `srcpkgs/omniroute/template`:
+
+```bash
+# Template file for 'omniroute'
+pkgname=omniroute
+version=3.4.1
+revision=1
+hostmakedepends="nodejs python3 make"
+depends="openssl"
+short_desc="Universal AI gateway with smart routing for multiple LLM providers"
+maintainer="zenobit <[email protected]>"
+license="MIT"
+homepage="https://github.com/diegosouzapw/OmniRoute"
+distfiles="https://github.com/diegosouzapw/OmniRoute/archive/refs/tags/v${version}.tar.gz"
+checksum=009400afee90a9f32599d8fe734145cfd84098140b7287990183dde45ae2245b
+system_accounts="_omniroute"
+omniroute_homedir="/var/lib/omniroute"
+export NODE_ENV=production
+export npm_config_engine_strict=false
+export npm_config_loglevel=error
+export npm_config_fund=false
+export npm_config_audit=false
+
+do_build() {
+ # Determine target CPU arch for node-gyp
+ local _gyp_arch
+ case "$XBPS_TARGET_MACHINE" in
+ aarch64*) _gyp_arch=arm64 ;;
+ armv7*|armv6*) _gyp_arch=arm ;;
+ i686*) _gyp_arch=ia32 ;;
+ *) _gyp_arch=x64 ;;
+ esac
+
+ # 1) Install all deps – skip scripts (no network in do_build, native modules
+ # compiled separately below; better-sqlite3 is serverExternalPackage so
+ # Next.js does not execute it during next build)
+ NODE_ENV=development npm ci --ignore-scripts
+
+ # 2) Build the Next.js standalone bundle
+ npm run build
+
+ # 3) Copy static assets into standalone
+ cp -r .next/static .next/standalone/.next/static
+ [ -d public ] && cp -r public .next/standalone/public || true
+
+ # 4) Compile better-sqlite3 native binding for the target architecture.
+ # Use node-gyp directly so CC/CXX from xbps-src cross-toolchain are used
+ # without npm altering them.
+ local _node_gyp=/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
+ (cd node_modules/better-sqlite3 && node "$_node_gyp" rebuild --arch="$_gyp_arch")
+
+ # 5) Place the compiled binding into the standalone bundle
+ local _bs3_release=.next/standalone/node_modules/better-sqlite3/build/Release
+ mkdir -p "$_bs3_release"
+ cp node_modules/better-sqlite3/build/Release/better_sqlite3.node "$_bs3_release/"
+
+ # 6) Remove arch-specific sharp bundles – upstream sets images.unoptimized=true
+ # so sharp is not used at runtime; x64 .so files would break aarch64 strip
+ rm -rf .next/standalone/node_modules/@img
+
+ # 7) Copy pino runtime deps omitted by Next.js static analysis:
+ # pino-abstract-transport – required by pino's worker thread
+ # split2 – dep of pino-abstract-transport
+ # process-warning – dep of pino itself
+ for _mod in pino-abstract-transport split2 process-warning; do
+ cp -r "node_modules/$_mod" .next/standalone/node_modules/
+ done
+}
+
+do_check() {
+ npm run test:unit
+}
+
+do_install() {
+ vmkdir usr/lib/omniroute/.next
+
+ vcopy .next/standalone/. usr/lib/omniroute/.next/standalone
+
+ # Prevent removal of empty Next.js app router dirs by the post-install hook
+ for _d in \
+ .next/standalone/.next/server/app/dashboard \
+ .next/standalone/.next/server/app/dashboard/settings \
+ .next/standalone/.next/server/app/dashboard/providers; do
+ touch "${DESTDIR}/usr/lib/omniroute/${_d}/.keep"
+ done
+
+ cat > "${WRKDIR}/omniroute" <<'EOF'
+#!/bin/sh
+export PORT="${PORT:-20128}"
+export DATA_DIR="${DATA_DIR:-${XDG_DATA_HOME:-${HOME}/.local/share}/omniroute}"
+export APP_LOG_TO_FILE="${APP_LOG_TO_FILE:-false}"
+mkdir -p "${DATA_DIR}"
+exec node /usr/lib/omniroute/.next/standalone/server.js "$@"
+EOF
+ vbin "${WRKDIR}/omniroute"
+}
+
+post_install() {
+ vlicense LICENSE
+}
+```
+
+</details>
+
+---
+
+## 🐳 Docker
+
+OmniRoute is available as a public Docker image on [Docker Hub](https://hub.docker.com/r/diegosouzapw/omniroute).
+
+**Quick run:**
+
+```bash
+docker run -d \
+ --name omniroute \
+ --restart unless-stopped \
+ --stop-timeout 40 \
+ -p 20128:20128 \
+ -v omniroute-data:/app/data \
+ diegosouzapw/omniroute:latest
+```
+
+**With environment file:**
+
+```bash
+# Copy and edit .env first
+cp .env.example .env
+
+docker run -d \
+ --name omniroute \
+ --restart unless-stopped \
+ --stop-timeout 40 \
+ --env-file .env \
+ -p 20128:20128 \
+ -v omniroute-data:/app/data \
+ diegosouzapw/omniroute:latest
+```
+
+**Using Docker Compose:**
+
+```bash
+# Base profile (no CLI tools)
+docker compose --profile base up -d
+
+# CLI profile (Claude Code, Codex, OpenClaw built-in)
+docker compose --profile cli up -d
+```
+
+Dashboard support for Docker deployments now includes a one-click **Cloudflare Quick Tunnel** on `Dashboard → Endpoints`. The first enable downloads `cloudflared` only when needed, starts a temporary tunnel to your current `/v1` endpoint, and shows the generated `https://*.trycloudflare.com/v1` URL directly below your normal public URL.
+
+Notes:
+
+- Quick Tunnel URLs are temporary and change after every restart.
+- Quick Tunnels are not auto-restored after an OmniRoute or container restart. Re-enable them from the dashboard when needed.
+- Managed install currently supports Linux, macOS, and Windows on `x64` / `arm64`.
+- Managed Quick Tunnels default to HTTP/2 transport to avoid noisy QUIC UDP buffer warnings in constrained container environments. Set `CLOUDFLARED_PROTOCOL=quic` or `auto` if you want a different transport.
+- Docker images bundle system CA roots and pass them to managed `cloudflared`, which avoids TLS trust failures when the tunnel bootstraps inside the container.
+- SQLite runs in WAL mode. `docker stop` should be allowed to finish so OmniRoute can checkpoint the latest changes back into `storage.sqlite`.
+- The bundled Compose files already set a 40s stop grace period. If you run the image directly, keep `--stop-timeout 40` (or similar) so manual stops do not cut off shutdown cleanup.
+- Set `CLOUDFLARED_BIN=/absolute/path/to/cloudflared` if you want OmniRoute to use an existing binary instead of downloading one.
+
+**Using Docker Compose with Caddy (HTTPS Auto-TLS):**
+
+OmniRoute can be securely exposed using Caddy's automatic SSL provisioning. Ensure your domain's DNS A record points to your server's IP.
+
+```yaml
+services:
+ omniroute:
+ image: diegosouzapw/omniroute:latest
+ container_name: omniroute
+ restart: unless-stopped
+ volumes:
+ - omniroute-data:/app/data
+ environment:
+ - PORT=20128
+ - NEXT_PUBLIC_BASE_URL=https://your-domain.com
+
+ caddy:
+ image: caddy:latest
+ container_name: caddy
+ restart: unless-stopped
+ ports:
+ - "80:80"
+ - "443:443"
+ command: caddy reverse-proxy --from https://your-domain.com --to http://omniroute:20128
+
+volumes:
+ omniroute-data:
+```
+
+| Image | Tag | Size | Description |
+| ------------------------ | -------- | ------ | --------------------- |
+| `diegosouzapw/omniroute` | `latest` | ~250MB | Latest stable release |
+| `diegosouzapw/omniroute` | `3.6.2` | ~250MB | Current version |
+
+---
+
+## 🖥️ Desktop App — Offline & Always-On
+
+> 🆕 **NEW!** OmniRoute is now available as a **native desktop application** for Windows, macOS, and Linux.
+
+Run OmniRoute as a standalone desktop app — no terminal, no browser, no internet required for local models. The Electron-based app includes:
+
+- 🖥️ **Native Window** — Dedicated app window with system tray integration
+- 🔄 **Auto-Start** — Launch OmniRoute on system login
+- 🔔 **Native Notifications** — Get alerts for quota exhaustion or provider issues
+- ⚡ **One-Click Install** — NSIS (Windows), DMG (macOS), AppImage (Linux)
+- 🌐 **Offline Mode** — Works fully offline with bundled server
+
+### Бърз старт
+
+```bash
+# Development mode
+npm run electron:dev
+
+# Build for your platform
+npm run electron:build # Current platform
+npm run electron:build:win # Windows (.exe)
+npm run electron:build:mac # macOS (.dmg) — x64 & arm64
+npm run electron:build:linux # Linux (.AppImage)
+```
+
+### System Tray
+
+When minimized, OmniRoute lives in your system tray with quick actions:
+
+- Open dashboard
+- Change server port
+- Quit application
+
+📖 Full documentation: [`electron/README.md`](electron/README.md)
+
+---
+
+## 💰 Pricing at a Glance
+
+| Tier | Provider | Cost | Quota Reset | Best For |
+| ------------------- | --------------------------- | ------------------------- | ---------------- | --------------------------------- |
+| **💳 SUBSCRIPTION** | Claude Code (Pro) | $20/mo | 5h + weekly | Already subscribed |
+| | Codex (Plus/Pro) | $20-200/mo | 5h + weekly | OpenAI users |
+| | Gemini CLI | **FREE** | 180K/mo + 1K/day | Everyone! |
+| | GitHub Copilot | $10-19/mo | Monthly | GitHub users |
+| **🔑 API KEY** | NVIDIA NIM | **FREE** (dev forever) | ~40 RPM | 70+ open models |
+| | Cerebras | **FREE** (1M tok/day) | 60K TPM / 30 RPM | World's fastest |
+| | Groq | **FREE** (30 RPM) | 14.4K RPD | Ultra-fast Llama/Gemma |
+| | DeepSeek V3.2 | $0.27/$1.10 per 1M | None | Best price/quality reasoning |
+| | xAI Grok-4 Fast | **$0.20/$0.50 per 1M** 🆕 | None | Fastest + tool calling, ultralow |
+| | xAI Grok-4 (standard) | $0.20/$1.50 per 1M 🆕 | None | Reasoning flagship from xAI |
+| | Mistral | Free trial + paid | Rate limited | European AI |
+| | OpenRouter | Pay-per-use | None | 100+ models aggr. |
+| **💰 CHEAP** | GLM-5 (via Z.AI) 🆕 | $0.5/1M | Daily 10AM | 128K output, newest flagship |
+| | GLM-4.7 | $0.6/1M | Daily 10AM | Budget backup |
+| | MiniMax M2.5 🆕 | $0.3/1M input | 5-hour rolling | Reasoning + agentic tasks |
+| | MiniMax M2.1 | $0.2/1M | 5-hour rolling | Cheapest option |
+| | Kimi K2.5 (Moonshot API) 🆕 | Pay-per-use | None | Direct Moonshot API access |
+| | Kimi K2 | $9/mo flat | 10M tokens/mo | Predictable cost |
+| **🆓 FREE** | Qoder | **$0** | Unlimited | 5 models unlimited |
+| | Qwen | **$0** | Unlimited | 4 models unlimited |
+| | Kiro | **$0** | Unlimited | Claude Sonnet/Haiku (AWS Builder) |
+| | LongCat Flash-Lite 🆕 | **$0** (50M tok/day 🔥) | 1 RPS | Largest free quota on Earth |
+| | Pollinations AI 🆕 | **$0** (no key needed) | 1 req/15s | GPT-5, Claude, DeepSeek, Llama 4 |
+| | Cloudflare Workers AI 🆕 | **$0** (10K Neurons/day) | ~150 resp/day | 50+ models, global edge |
+| | Scaleway AI 🆕 | **$0** (1M tokens total) | Rate limited | EU/GDPR, Qwen3 235B, Llama 70B |
+
+> 🆕 **New models added (Mar 2026):** Grok-4 Fast family at $0.20/$0.50/M (benchmarked at 1143ms — 30% faster than Gemini 2.5 Flash), GLM-5 via Z.AI with 128K output, MiniMax M2.5 reasoning, DeepSeek V3.2 updated pricing, Kimi K2.5 via Moonshot direct API.
+
+**💡 $0 Combo Stack — The Complete Free Setup:**
+
+```
+# 🆓 Ultimate Free Stack 2026 — 11 Providers, $0 Forever
+Kiro (kr/) → Claude Sonnet/Haiku UNLIMITED
+Qoder (if/) → kimi-k2-thinking, qwen3-coder-plus, deepseek-r1 UNLIMITED
+LongCat Lite (lc/) → LongCat-Flash-Lite — 50M tokens/day 🔥
+Pollinations (pol/) → GPT-5, Claude, DeepSeek, Llama 4 — no key needed
+Qwen (qw/) → qwen3-coder-plus, qwen3-coder-flash, qwen3-coder-next UNLIMITED
+Gemini (gemini/) → Gemini 2.5 Flash — 1,500 req/day free API key
+Cloudflare AI (cf/) → Llama 70B, Gemma 3, Mistral — 10K Neurons/day
+Scaleway (scw/) → Qwen3 235B, Llama 70B — 1M free tokens (EU)
+Groq (groq/) → Llama/Gemma ultra-fast — 14.4K req/day
+NVIDIA NIM (nvidia/) → 70+ open models — 40 RPM forever
+Cerebras (cerebras/) → Llama/Qwen world-fastest — 1M tok/day
+```
+
+**Zero cost. Never stops coding.** Configure this as one OmniRoute combo and all fallbacks happen automatically — no manual switching ever.
+
+---
+
+---
+
+## 🆓 Free Models — What You Actually Get
+
+> All models below are **100% free with zero credit card required**. OmniRoute auto-routes between them when one quota runs out — combine them all for an unbreakable $0 combo.
+
+### 🔵 CLAUDE MODELS (via Kiro — AWS Builder ID)
+
+| Model | Prefix | Limit | Rate Limit |
+| ------------------- | ------ | ------------- | --------------------- |
+| `claude-sonnet-4.5` | `kr/` | **Unlimited** | No reported daily cap |
+| `claude-haiku-4.5` | `kr/` | **Unlimited** | No reported daily cap |
+| `claude-opus-4.6` | `kr/` | **Unlimited** | Latest Opus via Kiro |
+
+### 🟢 QODER MODELS (Free PAT via qodercli)
+
+| Model | Prefix | Limit | Rate Limit |
+| ------------------ | ------ | ------------- | --------------- |
+| `kimi-k2-thinking` | `if/` | **Unlimited** | No reported cap |
+| `qwen3-coder-plus` | `if/` | **Unlimited** | No reported cap |
+| `deepseek-r1` | `if/` | **Unlimited** | No reported cap |
+| `minimax-m2.1` | `if/` | **Unlimited** | No reported cap |
+| `kimi-k2` | `if/` | **Unlimited** | No reported cap |
+
+> Recommended connection method: **Personal Access Token + `qodercli`**. Browser OAuth is
+> experimental and disabled by default unless `QODER_OAUTH_*` environment variables are configured.
+
+### 🟡 QWEN MODELS (Device Code Auth)
+
+| Model | Prefix | Limit | Rate Limit |
+| ------------------- | ------ | ------------- | ------------------- |
+| `qwen3-coder-plus` | `qw/` | **Unlimited** | No reported cap |
+| `qwen3-coder-flash` | `qw/` | **Unlimited** | No reported cap |
+| `qwen3-coder-next` | `qw/` | **Unlimited** | No reported cap |
+| `vision-model` | `qw/` | **Unlimited** | Multimodal (images) |
+
+### 🟣 GEMINI CLI (Google OAuth)
+
+| Model | Prefix | Limit | Rate Limit |
+| ------------------------ | ------ | --------------------------- | ------------- |
+| `gemini-3-flash-preview` | `gc/` | **180K tok/month** + 1K/day | Monthly reset |
+| `gemini-2.5-pro` | `gc/` | 180K/month (shared pool) | High quality |
+
+### ⚫ NVIDIA NIM (Free API Key — build.nvidia.com)
+
+| Tier | Daily Limit | Rate Limit | Notes |
+| ---------- | ------------ | ----------- | ------------------------------------------------------ |
+| Free (Dev) | No token cap | **~40 RPM** | 70+ models; transitioning to pure rate limits mid-2025 |
+
+Popular free models: `moonshotai/kimi-k2.5` (Kimi K2.5), `z-ai/glm4.7` (GLM 4.7), `deepseek-ai/deepseek-v3.2` (DeepSeek V3.2), `nvidia/llama-3.3-70b-instruct`, `deepseek/deepseek-r1`
+
+### ⚪ CEREBRAS (Free API Key — inference.cerebras.ai)
+
+| Tier | Daily Limit | Rate Limit | Notes |
+| ---- | ----------------- | ---------------- | ------------------------------------------- |
+| Free | **1M tokens/day** | 60K TPM / 30 RPM | World's fastest LLM inference; resets daily |
+
+Available free: `llama-3.3-70b`, `llama-3.1-8b`, `deepseek-r1-distill-llama-70b`
+
+### 🔴 GROQ (Free API Key — console.groq.com)
+
+| Tier | Daily Limit | Rate Limit | Notes |
+| ---- | ------------- | ---------------- | ----------------------------------------- |
+| Free | **14.4K RPD** | 30 RPM per model | No credit card; 429 on limit, not charged |
+
+Available free: `llama-3.3-70b-versatile`, `gemma2-9b-it`, `mixtral-8x7b`, `whisper-large-v3`
+
+### 🔴 LONGCAT AI (Free API Key — longcat.chat) 🆕
+
+| Model | Prefix | Daily Free Quota | Notes |
+| ----------------------------- | ------ | ----------------- | ----------------------- |
+| `LongCat-Flash-Lite` | `lc/` | **50M tokens** 💥 | Largest free quota ever |
+| `LongCat-Flash-Chat` | `lc/` | 500K tokens | Multi-turn chat |
+| `LongCat-Flash-Thinking` | `lc/` | 500K tokens | Reasoning / CoT |
+| `LongCat-Flash-Thinking-2601` | `lc/` | 500K tokens | Jan 2026 version |
+| `LongCat-Flash-Omni-2603` | `lc/` | 500K tokens | Multimodal |
+
+> 100% free while in public beta. Sign up at [longcat.chat](https://longcat.chat) with email or phone. Resets daily 00:00 UTC.
+
+### 🟢 POLLINATIONS AI (No API Key Required) 🆕
+
+| Model | Prefix | Rate Limit | Provider Behind |
+| ---------- | ------ | ---------- | ------------------ |
+| `openai` | `pol/` | 1 req/15s | GPT-5 |
+| `claude` | `pol/` | 1 req/15s | Anthropic Claude |
+| `gemini` | `pol/` | 1 req/15s | Google Gemini |
+| `deepseek` | `pol/` | 1 req/15s | DeepSeek V3 |
+| `llama` | `pol/` | 1 req/15s | Meta Llama 4 Scout |
+| `mistral` | `pol/` | 1 req/15s | Mistral AI |
+
+> ✨ **Zero friction:** No signup, no API key. Add the Pollinations provider with an empty key field and it works immediately.
+
+### 🟠 CLOUDFLARE WORKERS AI (Free API Key — cloudflare.com) 🆕
+
+| Tier | Daily Neurons | Equivalent Usage | Notes |
+| ---- | ------------- | --------------------------------------- | ----------------------- |
+| Free | **10,000** | ~150 LLM resp / 500s audio / 15K embeds | Global edge, 50+ models |
+
+Popular free models: `@cf/meta/llama-3.3-70b-instruct`, `@cf/google/gemma-3-12b-it`, `@cf/openai/whisper-large-v3-turbo` (free audio!), `@cf/qwen/qwen2.5-coder-15b-instruct`
+
+> Requires API Token + Account ID from [dash.cloudflare.com](https://dash.cloudflare.com). Store Account ID in provider settings.
+
+### 🟣 SCALEWAY AI (1M Free Tokens — scaleway.com) 🆕
+
+| Tier | Free Quota | Location | Notes |
+| ---- | ------------- | ------------ | ----------------------------------- |
+| Free | **1M tokens** | 🇫🇷 Paris, EU | No credit card needed within limits |
+
+Available free: `qwen3-235b-a22b-instruct-2507` (Qwen3 235B!), `llama-3.1-70b-instruct`, `mistral-small-3.2-24b-instruct-2506`, `deepseek-v3-0324`
+
+> EU/GDPR compliant. Get API key at [console.scaleway.com](https://console.scaleway.com).
+
+> **💡 The Ultimate Free Stack (11 Providers, $0 Forever):**
+>
+> ```
+> Kiro (kr/) → Claude Sonnet/Haiku UNLIMITED
+> Qoder (if/) → kimi-k2-thinking, qwen3-coder-plus, deepseek-r1 UNLIMITED
+> LongCat Lite (lc/) → LongCat-Flash-Lite — 50M tokens/day 🔥
+> Pollinations (pol/) → GPT-5, Claude, DeepSeek, Llama 4 — no key needed
+> Qwen (qw/) → qwen3-coder models UNLIMITED
+> Gemini (gemini/) → Gemini 2.5 Flash — 1,500 req/day free
+> Cloudflare AI (cf/) → 50+ models — 10K Neurons/day
+> Scaleway (scw/) → Qwen3 235B, Llama 70B — 1M free tokens (EU)
+> Groq (groq/) → Llama/Gemma — 14.4K req/day ultra-fast
+> NVIDIA NIM (nvidia/) → 70+ open models — 40 RPM forever
+> Cerebras (cerebras/) → Llama/Qwen world-fastest — 1M tok/day
+> ```
+
+## 🎙️ Free Transcription Combo
+
+> Transcribe any audio/video for **$0** — Deepgram leads with $200 free, AssemblyAI $50 fallback, Groq Whisper as unlimited emergency backup.
+
+| Provider | Free Credits | Best Model | Rate Limit |
+| ----------------- | ---------------------- | -------------------------------------------- | ---------------------------- |
+| 🟢 **Deepgram** | **$200 free** (signup) | `nova-3` — best accuracy, 30+ languages | No RPM limit on free credits |
+| 🔵 **AssemblyAI** | **$50 free** (signup) | `universal-3-pro` — chapters, sentiment, PII | No RPM limit on free credits |
+| 🔴 **Groq** | **Free forever** | `whisper-large-v3` — OpenAI Whisper | 30 RPM (rate limited) |
+
+**Suggested combo in `/dashboard/combos`:**
+
+```
+Name: free-transcription
+Strategy: Priority
+Nodes:
+ [1] deepgram/nova-3 → uses $200 free first
+ [2] assemblyai/universal-3-pro → fallback when Deepgram credits run out
+ [3] groq/whisper-large-v3 → free forever, emergency fallback
+```
+
+Then in `/dashboard/media` → **Transcription** tab: upload any audio or video file → select your combo endpoint → get transcription in supported formats.
+
+## 💡 Key Features
+
+OmniRoute v3.6 is built as an operational platform, not just a relay proxy.
+
+### 🆕 New — v3.6.x Highlights (Apr 2026)
+
+| Feature | What It Does |
+| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
+| 🌐 **V1 WebSocket Bridge** | OpenAI-compatible WebSocket traffic upgraded and proxied via `/v1/ws` — full streaming over WS with session auth (API key or session cookie) |
+| 🔑 **Sync Tokens & Config Bundle** | Issue/revoke sync tokens for config sync endpoints. Config bundles versioned with ETag for bandwidth-efficient polling |
+| 🧠 **GLM Thinking (glmt) Preset** | GLM Thinking registered first-class: 65 536 max tokens, 24 576 thinking budget, 900s timeout, usage sync & pricing — Claude-compatible API |
+| 🔢 **Hybrid Token Counting** | Uses provider-side `/messages/count_tokens` when available; falls back to estimation — accurate usage tracking without guessing |
+| 🌱 **Model Alias Auto-Seed** | 30+ cross-proxy dialect aliases normalised at startup — no more routing mismatches |
+| 🛡️ **Safe Outbound Fetch** | All provider validation and model discovery go through a guarded fetch layer blocking private/local URLs with retry, timeout, and SSRF protection |
+| ⏳ **Wait For Cooldown** | Server-side chat retries when every candidate connection is cooling down; configurable `enabled`, `maxRetries`, and `maxRetryWaitSec` |
+| 🔍 **Runtime Env Validation** | Startup validates all env vars with Zod schemas — clear errors for missing secrets, invalid URLs, or wrong types |
+| 📋 **Compliance Audit Expansion** | Structured audit logs with pagination, request context, auth events, provider CRUD events, and SSRF-blocked validation logging |
+| 🔐 **TPS Log Metric** | Log details modal shows Tokens Per Second (TPS) — quick performance at-a-glance for every request |
+| 🗑️ **Uninstall / Full Uninstall** | `npm run uninstall` keeps data, `npm run uninstall:full` removes everything — clean removal for all install methods |
+| 🔧 **OAuth Env Repair** | One-click "Repair env" action for OAuth providers restores missing env vars and fixes broken auth state |
+| 🔒 **Graceful Electron Shutdown** | Electron `before-quit` shuts down Next.js gracefully, preventing SQLite WAL database locks on desktop close |
+| 👁️ **Model Visibility Toggle** | Per-model visibility toggle (👁 icon) with search filter and active-count badge (`N/M active`) on provider pages |
+| 📧 **Email Privacy Masking** | OAuth account emails masked (`di*****@g****.com`), full address visible on hover |
+| 🔗 **Context Relay Strategy** | Combo strategy preserving session continuity via structured handoff summaries when accounts rotate mid-conversation |
+| 🛡️ **Proxy Hardening** | Token health check, API key validation, and undici dispatcher all honor proxy config |
+| ⚠️ **Node.js 24 Login Warning** | Login page proactively detects incompatible Node.js versions and shows a clear warning banner |
+| 📎 **Gemini PDF Attachments** | PDF attachments correctly routed to Gemini via `inline_data` and generic base64 detection |
+| 🔒 **CodeQL Security Hardening** | Resolved SSRF, insecure randomness, polynomial ReDoS, and incomplete URL sanitization alerts |
+
+### 🆕 New — ClawRouter-Inspired Improvements (Mar 2026)
+
+| Feature | What It Does |
+| ------------------------------------ | ------------------------------------------------------------------------------------------- |
+| ⚡ **Grok-4 Fast Family** | xAI models at $0.20/$0.50/M — benchmarked 1143ms (30% faster than Gemini 2.5 Flash) |
+| 🧠 **GLM-5 via Z.AI** | 128K output context, $0.5/1M — newest flagship from the GLM family |
+| 🔮 **MiniMax M2.5** | Reasoning + agentic tasks at $0.30/1M — significant upgrade from M2.1 |
+| 🎯 **toolCalling Flag per Model** | Per-model `toolCalling: true/false` in registry — AutoCombo skips non-tool-capable models |
+| 🌍 **Multilingual Intent Detection** | PT/ZH/ES/AR keywords in AutoCombo scoring — better model selection for non-English content |
+| 📊 **Benchmark-Driven Fallbacks** | Real p95 latency from live requests feeds combo scoring — AutoCombo learns from actual data |
+| 🔁 **Request Deduplication** | Content-hash based dedup window — multi-agent safe, prevents duplicate charges |
+| 🔌 **Pluggable RouterStrategy** | Extensible `RouterStrategy` interface — add custom routing logic as plugins |
+
+### 🚀 Previous v2.0.9+ — Playground, CLI Fingerprints & ACP
+
+| Feature | What It Does |
+| ------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| 🎮 **Model Playground** | Dashboard page to test any model directly — provider/model/endpoint selectors, Monaco Editor, streaming, abort, timing |
+| 🔏 **CLI Fingerprint Matching** | Per-provider header/body ordering to match native CLI signatures — toggle per provider in Settings > Security. **Your proxy IP is preserved** |
+| 🤝 **ACP Support (Agent Client Protocol)** | CLI agent discovery (Codex, Claude, Goose, Gemini CLI, OpenClaw + 9 more), process spawner, `/api/acp/agents` endpoint |
+| 🤖 **ACP Agents Dashboard** | Debug › Agents page — grid of 14 agents with install status, version, custom agent form for any CLI tool. **OpenCode** users get a "Download opencode.json" button that auto-generates a ready-to-use config with all available models. |
+| 🔧 **Custom Model `apiFormat` Routing** | Custom models with `apiFormat: "responses"` now correctly route to the Responses API translator |
+| 🏢 **Codex Workspace Isolation** | Multiple Codex workspaces per email — OAuth correctly separates connections by workspace ID |
+| 🔄 **Electron Auto-Update** | Desktop app checks for updates + auto-install on restart |
+
+### 🤖 Agent & Protocol Operations (v2.0)
+
+| Feature | What It Does |
+| ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
+| 🔧 **MCP Server (25 tools)** | IDE/agent tools via 3 transports: stdio, SSE (`/api/mcp/sse`), Streamable HTTP (`/api/mcp/stream`). 18 core + 3 memory + 4 skill tools |
+| 🤝 **A2A Server (JSON-RPC + SSE)** | Agent-to-agent task execution with sync and streaming flows |
+| 🧭 **Consolidated Endpoints Page** | Tabbed management page with Endpoint Proxy, MCP, A2A, and API Endpoints tabs |
+| 🎚️ **Service Enable/Disable Toggles** | ON/OFF switches for MCP and A2A with settings persistence (default: OFF) |
+| 🛰️ **MCP Runtime Heartbeat** | Real process status (pid, uptime, heartbeat age, transport, scope mode) |
+| 📋 **MCP Audit Trail** | Filterable audit logs with success/failure and key attribution |
+| 🔐 **MCP Scope Enforcement** | 10 granular scope permissions for controlled tool access |
+| 📡 **A2A Task Lifecycle Management** | List/filter tasks, inspect events/artifacts, cancel running tasks |
+| 📋 **Agent Card Discovery** | `/.well-known/agent.json` for client auto-discovery |
+| 🧪 **Protocol E2E Test Harness** | Real MCP SDK + A2A client flows in `test:protocols:e2e` |
+| ⚙️ **Operational Controls** | Switch combos, tune resilience settings, and review breaker state from dedicated Health and Settings surfaces |
+
+### 🧠 Routing & Intelligence
+
+| Feature | What It Does |
+| ---------------------------------- | ------------------------------------------------------------------------ |
+| 🎯 **Smart 4-Tier Fallback** | Auto-route: Subscription → API Key → Cheap → Free |
+| 📊 **Real-Time Quota Tracking** | Live token count + reset countdown per provider |
+| 🔄 **Format Translation** | OpenAI ↔ Claude ↔ Gemini ↔ Responses with schema-safe conversions |
+| 👥 **Multi-Account Support** | Multiple accounts per provider with intelligent selection |
+| 🔄 **Auto Token Refresh** | OAuth tokens refresh automatically with retry |
+| 🎨 **Custom Combos** | 13 balancing strategies + fallback chain control |
+| 🔗 **Context Relay** | Session continuity handoffs when account rotation happens mid-session |
+| 🌐 **Wildcard Router** | `provider/*` dynamic routing |
+| 🧠 **Thinking Budget Controls** | Passthrough, auto, custom, and adaptive reasoning limits |
+| 🔀 **Model Aliases** | Built-in + custom model aliasing and migration safety |
+| ⚡ **Background Degradation** | Route low-priority background tasks to cheaper models |
+| 🧪 **Task-Aware Smart Routing** | Auto-select model by content type (coding/vision/analysis/summarization) |
+| 🔄 **A2A Agent Workflows** | Deterministic FSM orchestrator for stateful multi-step agent executions |
+| 🔀 **Adaptive Routing** | Dynamic strategy override based on token volume and prompt complexity |
+| 🎲 **Provider Diversity** | Shannon entropy scoring balancing auto-combo traffic distribution |
+| 💬 **System Prompt Injection** | Global behavior controls applied consistently |
+| 📄 **Responses API Compatibility** | Full `/v1/responses` support for Codex and advanced agentic workflows |
+
+### 🎵 Multi-Modal APIs
+
+| Feature | What It Does |
+| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| 🖼️ **Image Generation** | `/v1/images/generations` with cloud and local backends |
+| 📐 **Embeddings** | `/v1/embeddings` for search and RAG pipelines |
+| 🎤 **Audio Transcription** | `/v1/audio/transcriptions` — 7 providers (Deepgram Nova 3, AssemblyAI, Groq Whisper, HuggingFace, ElevenLabs, OpenAI, Azure), auto-language detection, MP4/MP3/WAV support |
+| 🔊 **Text-to-Speech** | `/v1/audio/speech` — 10 providers (ElevenLabs, OpenAI, Deepgram, Cartesia, PlayHT, HuggingFace, Nvidia NIM, Inworld, Coqui, Tortoise) with correct error messages |
+| 🎬 **Video Generation** | `/v1/videos/generations` (ComfyUI + SD WebUI workflows) |
+| 🎵 **Music Generation** | `/v1/music/generations` (ComfyUI workflows) |
+| 🛡️ **Moderations** | `/v1/moderations` safety checks |
+| 🔀 **Reranking** | `/v1/rerank` for relevance scoring |
+| 🔍 **Web Search** 🆕 | `/v1/search` — 5 providers (Serper, Brave, Perplexity, Exa, Tavily), 6,500+ free/month, auto-failover, cache |
+
+### 🛡️ Resilience, Security & Governance
+
+| Feature | What It Does |
+| ----------------------------------- | ------------------------------------------------------------------------------------------------------- |
+| 🔌 **Provider Circuit Breakers** | Provider-wide trip/recover after fallback exhaustion with configurable thresholds |
+| 🔒 **Daily Quota Lock** 🆕 | Detects exhaustion signals and locks routing for the specific model until midnight |
+| 🎯 **Endpoint-Aware Models** | Custom models declare supported endpoints + API format |
+| 🛡️ **Anti-Thundering Herd** | Mutex + semaphore protections on retry/rate events |
+| 🧠 **Semantic + Signature Cache** | Cost/latency reduction with two cache layers |
+| ⚡ **Request Idempotency** | Duplicate protection window |
+| 🔒 **TLS Fingerprint Spoofing** | Browser-like TLS fingerprint — **reduces bot detection and account flagging** |
+| 🔏 **CLI Fingerprint Matching** | Matches native CLI request signatures — **reduces ban risk while preserving proxy IP** |
+| 🌐 **IP Filtering** | Allowlist/blocklist control for exposed deployments |
+| 🚦 **Request Queue & Pacing** | Configurable per-connection request buckets for RPM, spacing, concurrency, and max wait |
+| 📉 **Graceful Degradation** | Multi-layer capability fallbacks protecting core gateway operations |
+| 📜 **Config Audit Trail** | Diff-based change tracking preventing operational drift with simple rollbacks |
+| ⏳ **Provider Health Sync** | Proactive token expiration monitoring triggering alerts before authorization failures |
+| ❄️ **Connection Cooldown** | Retryable 408/429/5xx failures cool down a single connection with optional upstream hints |
+| 🚪 **Auto-Disable Banned Accounts** | Permanently blocked token accounts can be disabled automatically |
+| 🔑 **API Key Management + Scoping** | Secure key issuance/rotation and model/provider controls |
+| 👁️ **Scoped API Key Reveal** 🆕 | Opt-in recovery of API keys via `ALLOW_API_KEY_REVEAL` |
+| 🛡️ **Protected `/models`** | Optional auth gating and provider hiding for model catalog |
+| 🛡️ **Safe Outbound Fetch** 🆕 | Guarded fetch for provider calls — blocks private/local URLs, retries, SSRF protection |
+| ⏳ **Wait For Cooldown** 🆕 | Auto-retry chat after connection cooldowns; configurable `enabled`, `maxRetries`, and `maxRetryWaitSec` |
+| 🔍 **Runtime Env Validation** 🆕 | Zod-based env schema validation at startup with actionable error messages |
+| 📋 **Compliance Audit v2** 🆕 | Pagination, request context, auth events, provider CRUD, and SSRF-blocked logging |
+
+### 📊 Observability & Analytics
+
+| Feature | What It Does |
+| -------------------------------- | ----------------------------------------------------- |
+| 📝 **Request + Proxy Logging** | Full request/response and proxy logging |
+| 📉 **Streamed Detailed Logs** | Reconstructs SSE payload streams cleanly into the UI |
+| 🏷️ **Real-Time Model Badges** 🆕 | Live model status and daily quota countdown timers |
+| 📋 **Unified Logs Dashboard** | Request, proxy, audit, and console views in one page |
+| 🔍 **Request Telemetry** | p50/p95/p99 latency and request tracing |
+| 🏥 **Health Dashboard** | Uptime, breaker states, lockouts, cache stats |
+| 💰 **Cost Tracking** | Budget controls and per-model pricing visibility |
+| 📈 **Analytics Visualizations** | Model/provider usage insights and trend views |
+| 🧪 **Evaluation Framework** | Golden set testing with configurable match strategies |
+| 📡 **Live Diagnostics** 🆕 | Semantic cache bypass for accurate combo live testing |
+| 🔐 **TPS Log Metric** 🆕 | Tokens Per Second badge in log details modal |
+
+### ☁️ Deployment & Platform
+
+| Feature | What It Does |
+| ------------------------------ | --------------------------------------------------------------------- |
+| 🌐 **Deploy Anywhere** | Localhost, VPS, Docker, Cloud environments |
+| 🚇 **Cloudflare Tunnel** 🆕 | One-click Quick Tunnel integration from the dashboard |
+| 🔑 **API Key Model Filtering** | Native /v1/models response filtered via assigned Bearer context roles |
+| ⚡ **Smart Cache Bypass** | Configurable TTL heuristics and forced refetch controls |
+| 🔄 **Backup/Restore** | Export/import and disaster recovery flows |
+| 🧙 **Onboarding Wizard** | First-run guided setup |
+| 🔧 **CLI Tools Dashboard** | One-click setup for popular coding tools |
+| 🎮 **Model Playground** | Test any provider/model/endpoint from the dashboard |
+| 🔏 **CLI Fingerprint Toggle** | Per-provider fingerprint matching in Settings > Security |
+| 🌐 **i18n (30 languages)** | Full dashboard + docs language support with RTL coverage |
+| 🧹 **Clear All Models** | One-click model list clearing in provider details |
+| 👁️ **Sidebar Controls** 🆕 | Hide components and integrations from Appearance Settings |
+| 📋 **Issue Templates** | Standardized GitHub templates for bugs and features |
+| 📂 **Custom Data Directory** | `DATA_DIR` override for storage location |
+| 🌐 **V1 WebSocket Bridge** 🆕 | OpenAI-compatible WebSocket traffic proxied via `/v1/ws` |
+| 🔑 **Sync Tokens & Bundle** 🆕 | Config sync tokens + versioned bundle endpoint with ETag support |
+
+### Feature Deep Dive
+
+#### Smart fallback with practical cost control
+
+```txt
+Combo: "my-coding-stack"
+ 1. cc/claude-opus-4-7
+ 2. nvidia/llama-3.3-70b
+ 3. glm/glm-4.7
+ 4. if/kimi-k2-thinking
+```
+
+When quota, rate, or health fails, OmniRoute automatically moves to the next candidate without manual switching.
+
+#### Protocol management that is visible and operable
+
+- MCP + A2A are discoverable in UI and docs (not hidden)
+- Protocol status APIs expose live operational data (`/api/mcp/*`, `/api/a2a/*`)
+- Dashboards include actions for day-2 ops (combo toggles, breaker resets, task cancellation)
+
+#### Translator + validation workflow
+
+The Translator area includes:
+
+- **Playground**: request transformation checks
+- **Chat Tester**: full request/response round-trip
+- **Test Bench**: multiple cases in one run
+- **Live Monitor**: real-time traffic view
+
+Plus protocol validation with real clients via `npm run test:protocols:e2e`.
+
+> 📖 **[MCP Server README](open-sse/mcp-server/README.md)** — Tool reference, IDE configs, and client examples
+>
+> 📖 **[A2A Server README](src/lib/a2a/README.md)** — Skills, JSON-RPC methods, streaming, and task lifecycle
+
+## 🧪 Evaluations (Evals)
+
+OmniRoute includes a built-in evaluation framework to test LLM response quality against a golden set. Access it via **Analytics → Evals** in the dashboard.
+
+### Built-in Golden Set
+
+The pre-loaded "OmniRoute Golden Set" contains test cases for:
+
+- Greetings, math, geography, code generation
+- JSON format compliance, translation, markdown generation
+- Safety refusal (harmful content), counting, boolean logic
+
+### Evaluation Strategies
+
+| Strategy | Description | Example |
+| ---------- | ------------------------------------------------ | -------------------------------- |
+| `exact` | Output must match exactly | `"4"` |
+| `contains` | Output must contain substring (case-insensitive) | `"Paris"` |
+| `regex` | Output must match regex pattern | `"1.*2.*3"` |
+| `custom` | Custom JS function returns true/false | `(output) => output.length > 10` |
+
+---
+
+## 📖 Setup Guide
+
+### Protocol Setup (MCP + A2A)
+
+<details>
+<summary><b>🧩 MCP Setup (Model Context Protocol)</b></summary>
+
+Start MCP transport in stdio mode:
+
+```bash
+omniroute --mcp
+```
+
+Recommended validation flow:
+
+1. Connect your MCP client over stdio.
+2. Run `omniroute_get_health`.
+3. Run `omniroute_list_combos`.
+4. Open `/dashboard/mcp` to confirm heartbeat, activity, and audit.
+
+Useful APIs for automation:
+
+- `GET /api/mcp/status`
+- `GET /api/mcp/tools`
+- `GET /api/mcp/audit`
+- `GET /api/mcp/audit/stats`
+
+</details>
+
+<details>
+<summary><b>🤝 A2A Setup (Agent2Agent)</b></summary>
+
+Discover the agent:
+
+```bash
+curl http://localhost:20128/.well-known/agent.json
+```
+
+Send a task:
+
+```bash
+curl -X POST http://localhost:20128/a2a \
+ -H 'content-type: application/json' \
+ -d '{"jsonrpc":"2.0","id":"setup-a2a","method":"message/send","params":{"skill":"quota-management","messages":[{"role":"user","content":"Summarize quota status."}]}}'
+```
+
+Manage lifecycle:
+
+- `GET /api/a2a/status`
+- `GET /api/a2a/tasks`
+- `GET /api/a2a/tasks/:id`
+- `POST /api/a2a/tasks/:id/cancel`
+
+Operational UI:
+
+- `/dashboard/a2a` for task/state/stream observability and smoke actions
+
+</details>
+
+<details>
+<summary><b>🧪 End-to-end protocol validation</b></summary>
+
+Validate both protocols with real clients:
+
+```bash
+npm run test:protocols:e2e
+```
+
+This verifies:
+
+- MCP SDK client connect/list/call
+- A2A discovery/send/stream/get/cancel
+- Cross-check data in MCP audit and A2A task management APIs
+
+</details>
+
+<details>
+<summary><b>💳 Subscription Providers</b></summary>
+
+### Claude Code (Pro/Max)
+
+```bash
+Dashboard → Providers → Connect Claude Code
+→ OAuth login → Auto token refresh
+→ 5-hour + weekly quota tracking
+
+Models:
+ cc/claude-opus-4-7
+ cc/claude-sonnet-4-5-20250929
+ cc/claude-haiku-4-5-20251001
+```
+
+**Pro Tip:** Use Opus for complex tasks, Sonnet for speed. OmniRoute tracks quota per model!
+
+### OpenAI Codex (Plus/Pro)
+
+```bash
+Dashboard → Providers → Connect Codex
+→ OAuth login (port 1455)
+→ 5-hour + weekly reset
+
+Models:
+ cx/gpt-5.2-codex
+ cx/gpt-5.1-codex-max
+```
+
+#### Codex Account Limit Management (5h + Weekly)
+
+Each Codex account now has policy toggles in `Dashboard -> Providers`:
+
+- `5h` (ON/OFF): enforce the 5-hour window threshold policy.
+- `Weekly` (ON/OFF): enforce the weekly window threshold policy.
+- Threshold behavior: when an enabled window reaches >=90% usage, that account is skipped.
+- Rotation behavior: OmniRoute routes to the next eligible Codex account automatically.
+- Reset behavior: when the provider `resetAt` time passes, the account becomes eligible again automatically.
+
+Scenarios:
+
+- `5h ON` + `Weekly ON`: account is skipped when either window reaches threshold.
+- `5h OFF` + `Weekly ON`: only weekly usage can block the account.
+- `5h ON` + `Weekly OFF`: only 5-hour usage can block the account.
+- `resetAt` passed: account re-enters rotation automatically (no manual re-enable).
+
+### Gemini CLI (FREE 180K/month!)
+
+```bash
+Dashboard → Providers → Connect Gemini CLI
+→ Google OAuth
+→ 180K completions/month + 1K/day
+
+Models:
+ gc/gemini-3-flash-preview
+ gc/gemini-2.5-pro
+```
+
+**Best Value:** Huge free tier! Use this before paid tiers.
+
+### GitHub Copilot
+
+```bash
+Dashboard → Providers → Connect GitHub
+→ OAuth via GitHub
+→ Monthly reset (1st of month)
+
+Models:
+ gh/gpt-5
+ gh/claude-4.5-sonnet
+ gh/gemini-3.1-pro-preview
+```
+
+</details>
+
+<details>
+<summary><b>🔑 API Key Providers</b></summary>
+
+### NVIDIA NIM (FREE developer access — 70+ models)
+
+1. Sign up: [build.nvidia.com](https://build.nvidia.com)
+2. Get free API key (1000 inference credits included)
+3. Dashboard → Add Provider → NVIDIA NIM:
+ - API Key: `nvapi-your-key`
+
+**Models:** `nvidia/llama-3.3-70b-instruct`, `nvidia/mistral-7b-instruct`, and 50+ more
+
+**Pro Tip:** OpenAI-compatible API — works seamlessly with OmniRoute's format translation!
+
+### DeepSeek
+
+1. Sign up: [platform.deepseek.com](https://platform.deepseek.com)
+2. Get API key
+3. Dashboard → Add Provider → DeepSeek
+
+**Models:** `deepseek/deepseek-chat`, `deepseek/deepseek-coder`
+
+### Groq (Free Tier Available!)
+
+1. Sign up: [console.groq.com](https://console.groq.com)
+2. Get API key (free tier included)
+3. Dashboard → Add Provider → Groq
+
+**Models:** `groq/llama-3.3-70b`, `groq/mixtral-8x7b`
+
+**Pro Tip:** Ultra-fast inference — best for real-time coding!
+
+### OpenRouter (100+ Models)
+
+1. Sign up: [openrouter.ai](https://openrouter.ai)
+2. Get API key
+3. Dashboard → Add Provider → OpenRouter
+
+**Models:** Access 100+ models from all major providers through a single API key.
+
+**Dashboard behavior:** OpenRouter models are managed from **Available Models**. Manual add, import, and auto-sync all update the same list.
+
+</details>
+
+<details>
+<summary><b>💰 Cheap Providers (Backup)</b></summary>
+
+### GLM-4.7 (Daily reset, $0.6/1M)
+
+1. Sign up: [Zhipu AI](https://open.bigmodel.cn/)
+2. Get API key from Coding Plan
+3. Dashboard → Add API Key:
+ - Provider: `glm`
+ - API Key: `your-key`
+
+**Use:** `glm/glm-4.7`
+
+**Pro Tip:** Coding Plan offers 3× quota at 1/7 cost! Reset daily 10:00 AM.
+
+### MiniMax M2.1 (5h reset, $0.20/1M)
+
+1. Sign up: [MiniMax](https://www.minimax.io/)
+2. Get API key
+3. Dashboard → Add API Key
+
+**Use:** `minimax/MiniMax-M2.1`
+
+**Pro Tip:** Cheapest option for long context (1M tokens)!
+
+### Kimi K2 ($9/month flat)
+
+1. Subscribe: [Moonshot AI](https://platform.moonshot.ai/)
+2. Get API key
+3. Dashboard → Add API Key
+
+**Use:** `kimi/kimi-latest`
+
+**Pro Tip:** Fixed $9/month for 10M tokens = $0.90/1M effective cost!
+
+</details>
+
+<details>
+<summary><b>🆓 FREE Providers (Emergency Backup)</b></summary>
+
+### Qoder (5 FREE models via OAuth)
+
+```bash
+Dashboard → Connect Qoder
+→ Qoder OAuth login
+→ Unlimited usage
+
+Models:
+ if/kimi-k2-thinking
+ if/qwen3-coder-plus
+ if/glm-4.7
+ if/minimax-m2
+ if/deepseek-r1
+```
+
+### Qwen (4 FREE models via Device Code)
+
+```bash
+Dashboard → Connect Qwen
+→ Device code authorization
+→ Unlimited usage
+
+Models:
+ qw/qwen3-coder-plus
+ qw/qwen3-coder-flash
+```
+
+### Kiro (Claude FREE)
+
+```bash
+Dashboard → Connect Kiro
+→ AWS Builder ID or Google/GitHub
+→ Unlimited usage
+
+Models:
+ kr/claude-sonnet-4.5
+ kr/claude-haiku-4.5
+```
+
+</details>
+
+<details>
+<summary><b>🎨 Create Combos</b></summary>
+
+### Example 1: Maximize Subscription → Cheap Backup
+
+```
+Dashboard → Combos → Create New
+
+Name: premium-coding
+Models:
+ 1. cc/claude-opus-4-7 (Subscription primary)
+ 2. glm/glm-4.7 (Cheap backup, $0.6/1M)
+ 3. minimax/MiniMax-M2.1 (Cheapest fallback, $0.20/1M)
+
+Use in CLI: premium-coding
+```
+
+### Example 2: Free-Only (Zero Cost)
+
+```
+Name: free-combo
+Models:
+ 1. gc/gemini-3-flash-preview (180K free/month)
+ 2. if/kimi-k2-thinking (unlimited)
+ 3. qw/qwen3-coder-plus (unlimited)
+
+Cost: $0 forever!
+```
+
+</details>
+
+<details>
+<summary><b>🔧 CLI Integration</b></summary>
+
+### Cursor IDE
+
+```
+Settings → Models → Advanced:
+ OpenAI API Base URL: http://localhost:20128/v1
+ OpenAI API Key: [from OmniRoute dashboard]
+ Model: cc/claude-opus-4-7
+```
+
+### Claude Code
+
+Use the **CLI Tools** page in the dashboard for one-click configuration, or edit `~/.claude/settings.json` manually.
+
+### Codex CLI
+
+```bash
+export OPENAI_BASE_URL="http://localhost:20128"
+export OPENAI_API_KEY="your-omniroute-api-key"
+
+codex "your prompt"
+```
+
+### OpenClaw
+
+**Option 1 — Dashboard (recommended):**
+
+```
+Dashboard → CLI Tools → OpenClaw → Select Model → Apply
+```
+
+**Option 2 — Manual:** Edit `~/.openclaw/openclaw.json`:
+
+```json
+{
+ "models": {
+ "providers": {
+ "omniroute": {
+ "baseUrl": "http://127.0.0.1:20128/v1",
+ "apiKey": "sk_omniroute",
+ "api": "openai-completions"
+ }
+ }
+ }
+}
+```
+
+> **Note:** OpenClaw only works with local OmniRoute. Use `127.0.0.1` instead of `localhost` to avoid IPv6 resolution issues.
+
+### Cline / Continue / RooCode
+
+```
+Settings → API Configuration:
+ Provider: OpenAI Compatible
+ Base URL: http://localhost:20128/v1
+ API Key: [from OmniRoute dashboard]
+ Model: if/kimi-k2-thinking
+```
+
+### OpenCode
+
+**Step 1:** Add OmniRoute as a custom provider:
+
+```bash
+opencode
+/connect
+# Select "Other" → Enter ID: "omniroute" → Enter your OmniRoute API key
+```
+
+**Step 2:** Create/edit `opencode.json` in your project root:
+
+```json
+{
+ "$schema": "https://opencode.ai/config.json",
+ "provider": {
+ "omniroute": {
+ "npm": "@ai-sdk/openai-compatible",
+ "name": "OmniRoute",
+ "options": {
+ "baseURL": "http://localhost:20128/v1"
+ },
+ "models": {
+ "cc/claude-sonnet-4-20250514": { "name": "Claude Sonnet 4" },
+ "gg/gemini-2.5-pro": { "name": "Gemini 2.5 Pro" },
+ "if/kimi-k2-thinking": { "name": "Kimi K2 (Free)" }
+ }
+ }
+ }
+}
+```
+
+**Step 3:** Select the model in OpenCode:
+
+```bash
+/models
+# Select any OmniRoute model from the list
+```
+
+> **Tip:** Add any model available in your OmniRoute `/v1/models` endpoint to the `models` section. Use the format `provider/model-id` from your OmniRoute dashboard.
+
+</details>
+
+---
+
+## Отстраняване на проблеми
+
+<details>
+<summary><b>Click to expand troubleshooting guide</b></summary>
+
+**"Language model did not provide messages"**
+
+- Provider quota exhausted → Check dashboard quota tracker
+- Solution: Use combo fallback or switch to cheaper tier
+
+**Rate limiting**
+
+- Subscription quota out → Fallback to GLM/MiniMax
+- Add combo: `cc/claude-opus-4-7 → glm/glm-4.7 → if/kimi-k2-thinking`
+
+**OAuth token expired**
+
+- Auto-refreshed by OmniRoute
+- If issues persist: Dashboard → Provider → Reconnect
+
+**High costs**
+
+- Check usage stats in Dashboard → Costs
+- Switch primary model to GLM/MiniMax
+- Use free tier (Gemini CLI, Qoder) for non-critical tasks
+
+**Dashboard/API ports are wrong**
+
+- `PORT` is the canonical base port (and API port by default)
+- `API_PORT` overrides only OpenAI-compatible API listener
+- `DASHBOARD_PORT` overrides only dashboard/Next.js listener
+- Set `NEXT_PUBLIC_BASE_URL` to your dashboard/public URL (for OAuth callbacks)
+
+**Cloud sync errors**
+
+- Verify `BASE_URL` points to your running instance
+- Verify `CLOUD_URL` points to your expected cloud endpoint
+- Keep `NEXT_PUBLIC_*` values aligned with server-side values
+
+**First login not working**
+
+- Check `INITIAL_PASSWORD` in `.env`
+- If unset, fallback password is `123456`
+
+**No request logs**
+
+- `call_logs` in SQLite stores summary metadata for the Request Logs table and analytics views
+- Detailed request/response payloads are written to `DATA_DIR/call_logs/` as one JSON artifact per request
+- Enable pipeline capture from Dashboard → Logs → Request Logs if you need detailed per-stage payloads
+- `Export Logs` reads the artifact files on demand, while `Export All` includes the `call_logs/` directory alongside `storage.sqlite`
+- Set `APP_LOG_TO_FILE=true` if you also want application console logs in `logs/application/app.log`
+- Adjust `APP_LOG_MAX_FILE_SIZE`, `APP_LOG_RETENTION_DAYS`, `APP_LOG_MAX_FILES`, and `CALL_LOG_MAX_ENTRIES` as needed
+
+**Connection test shows "Invalid" for OpenAI-compatible providers**
+
+- Many providers don't expose a `/models` endpoint
+- OmniRoute v1.0.6+ includes fallback validation via chat completions
+- Ensure base URL includes `/v1` suffix
+
+### 🔐 OAuth on a Remote Server
+
+<a name="oauth-on-a-remote-server"></a>
+<a name="oauth-em-servidor-remoto"></a>
+
+> **⚠️ Important for users running OmniRoute on a VPS, Docker, or any remote server**
+
+#### Why does Antigravity / Gemini CLI OAuth fail on remote servers?
+
+The **Antigravity** and **Gemini CLI** providers use **Google OAuth 2.0**. Google requires the `redirect_uri` in the OAuth flow to exactly match one of the pre-registered URIs in the app's Google Cloud Console.
+
+The OAuth credentials bundled in OmniRoute are registered **for `localhost` only**. When you access OmniRoute on a remote server (e.g. `https://omniroute.myserver.com`), Google rejects the authentication with:
+
+```
+Error 400: redirect_uri_mismatch
+```
+
+#### Solution: Configure your own OAuth credentials
+
+You need to create an **OAuth 2.0 Client ID** in Google Cloud Console with your server's URI.
+
+#### Step-by-step
+
+**1. Open Google Cloud Console**
+
+Go to: [https://console.cloud.google.com/apis/credentials](https://console.cloud.google.com/apis/credentials)
+
+**2. Create a new OAuth 2.0 Client ID**
+
+- Click **"+ Create Credentials"** → **"OAuth client ID"**
+- Application type: **"Web application"**
+- Name: anything you like (e.g. `OmniRoute Remote`)
+
+**3. Add Authorized Redirect URIs**
+
+In the **"Authorized redirect URIs"** field, add:
+
+```
+https://your-server.com/callback
+```
+
+> Replace `your-server.com` with your server's domain or IP (include the port if needed, e.g. `http://45.33.32.156:20128/callback`).
+
+**4. Save and copy the credentials**
+
+After creating, Google will show the **Client ID** and **Client Secret**.
+
+**5. Set environment variables**
+
+In your `.env` (or Docker environment variables):
+
+```bash
+# For Antigravity:
+ANTIGRAVITY_OAUTH_CLIENT_ID=your-client-id.apps.googleusercontent.com
+ANTIGRAVITY_OAUTH_CLIENT_SECRET=GOCSPX-your-secret
+
+# For Gemini CLI:
+GEMINI_OAUTH_CLIENT_ID=your-client-id.apps.googleusercontent.com
+GEMINI_OAUTH_CLIENT_SECRET=GOCSPX-your-secret
+GEMINI_CLI_OAUTH_CLIENT_SECRET=GOCSPX-your-secret
+```
+
+**6. Restart OmniRoute**
+
+```bash
+# npm:
+npm run dev
+
+# Docker:
+docker restart omniroute
+```
+
+**7. Try connecting again**
+
+Dashboard → Providers → Antigravity (or Gemini CLI) → OAuth
+
+Google will now redirect correctly to `https://your-server.com/callback`.
+
+---
+
+#### Temporary workaround (without custom credentials)
+
+If you don't want to set up your own credentials right now, you can still use the **manual URL flow**:
+
+1. OmniRoute opens the Google authorization URL
+2. After authorizing, Google tries to redirect to `localhost` (which fails on the remote server)
+3. **Copy the full URL** from your browser's address bar (even if the page doesn't load)
+4. Paste that URL into the field shown in the OmniRoute connection modal
+5. Click **"Connect"**
+
+> This works because the authorization code in the URL is valid regardless of whether the redirect page loaded.
+
+---
+
+<details>
+<summary><b>🇧🇷 Versão em Português</b></summary>
+
+#### Por que o OAuth do Antigravity / Gemini CLI falha em servidores remotos?
+
+Os provedores **Antigravity** e **Gemini CLI** usam **Google OAuth 2.0** para autenticação. O Google exige que a `redirect_uri` usada no fluxo OAuth seja **exatamente** uma das URIs pré-cadastradas no Google Cloud Console do aplicativo.
+
+As credenciais OAuth embutidas no OmniRoute estão cadastradas **apenas para `localhost`**. Quando você acessa o OmniRoute em um servidor remoto (ex: `https://omniroute.meuservidor.com`), o Google rejeita a autenticação com:
+
+```
+Error 400: redirect_uri_mismatch
+```
+
+#### Solução: Configure suas próprias credenciais OAuth
+
+Você precisa criar um **OAuth 2.0 Client ID** no Google Cloud Console com a URI do seu servidor.
+
+#### Passo a passo
+
+**1. Acesse o Google Cloud Console**
+
+Abra: [https://console.cloud.google.com/apis/credentials](https://console.cloud.google.com/apis/credentials)
+
+**2. Crie um novo OAuth 2.0 Client ID**
+
+- Clique em **"+ Create Credentials"** → **"OAuth client ID"**
+- Tipo de aplicativo: **"Web application"**
+- Nome: escolha qualquer nome (ex: `OmniRoute Remote`)
+
+**3. Adicione as Authorized Redirect URIs**
+
+No campo **"Authorized redirect URIs"**, adicione:
+
+```
+https://seu-servidor.com/callback
+```
+
+> Substitua `seu-servidor.com` pelo domínio ou IP do seu servidor (inclua a porta se necessário, ex: `http://45.33.32.156:20128/callback`).
+
+**4. Salve e copie as credenciais**
+
+Após criar, o Google mostrará o **Client ID** e o **Client Secret**.
+
+**5. Configure as variáveis de ambiente**
+
+No seu `.env` (ou nas variáveis de ambiente do Docker):
+
+```bash
+# Para Antigravity:
+ANTIGRAVITY_OAUTH_CLIENT_ID=seu-client-id.apps.googleusercontent.com
+ANTIGRAVITY_OAUTH_CLIENT_SECRET=GOCSPX-seu-secret
+
+# Para Gemini CLI:
+GEMINI_OAUTH_CLIENT_ID=seu-client-id.apps.googleusercontent.com
+GEMINI_OAUTH_CLIENT_SECRET=GOCSPX-seu-secret
+GEMINI_CLI_OAUTH_CLIENT_SECRET=GOCSPX-seu-secret
+```
+
+**6. Reinicie o OmniRoute**
+
+```bash
+# Se usando npm:
+npm run dev
+
+# Se usando Docker:
+docker restart omniroute
+```
+
+**7. Tente conectar novamente**
+
+Dashboard → Providers → Antigravity (ou Gemini CLI) → OAuth
+
+Agora o Google redirecionará corretamente para `https://seu-servidor.com/callback` e a autenticação funcionará.
+
+---
+
+#### Workaround temporário (sem configurar credenciais próprias)
+
+Se não quiser criar credenciais próprias agora, ainda é possível usar o fluxo **manual de URL**:
+
+1. O OmniRoute abrirá a URL de autorização do Google
+2. Após você autorizar, o Google tentará redirecionar para `localhost` (que falha no servidor remoto)
+3. **Copie a URL completa** da barra de endereço do seu browser (mesmo que a página não carregue)
+4. Cole essa URL no campo que aparece no modal de conexão do OmniRoute
+5. Clique em **"Connect"**
+
+> Este workaround funciona porque o código de autorização na URL é válido independente do redirect ter carregado ou não.
+
+</details>
+
+---
+
+</details>
+
+## 🛠️ Tech Stack
+
+<details>
+<summary><b>Click to expand tech stack details</b></summary>
+
+- **Runtime**: Node.js 18–22 LTS (⚠️ Node.js 24+ is **not supported** — `better-sqlite3` native binaries are incompatible)
+- **Language**: TypeScript 5.9 — **100% TypeScript** across `src/` and `open-sse/` (zero `any` in core modules since v2.0)
+- **Framework**: Next.js 16 + React 19 + Tailwind CSS 4
+- **Database**: better-sqlite3 (SQLite) + LowDB (JSON legacy) — domain state, proxy logs, MCP audit, routing decisions, memory, skills
+- **Schemas**: Zod (MCP tool I/O validation, API contracts)
+- **Protocols**: MCP (stdio/HTTP) + A2A v0.3 (JSON-RPC 2.0 + SSE)
+- **Streaming**: Server-Sent Events (SSE)
+- **Auth**: OAuth 2.0 (PKCE) + JWT + API Keys + MCP Scoped Authorization
+- **Testing**: Node.js test runner + Vitest (900+ tests including unit, integration, E2E)
+- **CI/CD**: GitHub Actions (auto npm publish + Docker Hub on release)
+- **Website**: [omniroute.online](https://omniroute.online)
+- **Package**: [npmjs.com/package/omniroute](https://www.npmjs.com/package/omniroute)
+- **Docker**: [hub.docker.com/r/diegosouzapw/omniroute](https://hub.docker.com/r/diegosouzapw/omniroute)
+- **Resilience**: Circuit breaker, exponential backoff, anti-thundering herd, TLS spoofing, auto-combo self-healing
+
+</details>
+
+---
+
+## Документация
+
+| Document | Description |
+| --------------------------------------------------------------------- | --------------------------------------------------- |
+| [User Guide](docs/guides/USER_GUIDE.md) | Providers, combos, CLI integration, deployment |
+| [API Reference](docs/reference/API_REFERENCE.md) | All endpoints with examples |
+| [MCP Server](open-sse/mcp-server/README.md) | 25 MCP tools, IDE configs, Python/TS/Go clients |
+| [A2A Server](src/lib/a2a/README.md) | JSON-RPC 2.0 protocol, skills, streaming, task mgmt |
+| [Auto-Combo Engine](docs/routing/AUTO-COMBO.md) | 6-factor scoring, mode packs, self-healing |
+| [Context Relay](docs/features/context-relay.md) | Session handoff strategy for account rotation |
+| [Troubleshooting](docs/guides/TROUBLESHOOTING.md) | Common problems and solutions |
+| [Architecture](docs/architecture/ARCHITECTURE.md) | System architecture and internals |
+| [Codebase Documentation](docs/architecture/CODEBASE_DOCUMENTATION.md) | Beginner-friendly codebase walkthrough |
+| [Uninstall Guide](docs/guides/UNINSTALL.md) | Clean removal for all install methods |
+| [Environment Config](docs/reference/ENVIRONMENT.md) | Complete `.env` variables and references |
+| [Contributing](CONTRIBUTING.md) | Development setup and guidelines |
+| [OpenAPI Spec](docs/reference/openapi.yaml) | OpenAPI 3.0 specification |
+| [Security Policy](SECURITY.md) | Vulnerability reporting and security practices |
+| [VM Deployment](docs/ops/VM_DEPLOYMENT_GUIDE.md) | Complete guide: VM + nginx + Cloudflare setup |
+| [Features Gallery](docs/guides/FEATURES.md) | Visual dashboard tour with screenshots |
+| [Release Checklist](docs/ops/RELEASE_CHECKLIST.md) | Pre-release validation steps |
+
+---
+
+## 🗺️ Roadmap
+
+OmniRoute has **218+ features planned** across multiple development phases. Here are the key areas:
+
+| Category | Planned Features | Highlights |
+| ----------------------------- | ---------------- | ----------------------------------------------------------------------------------------------------- |
+| 🧠 **Routing & Intelligence** | 25+ | Lowest-latency routing, tag-based routing, quota preflight, quota-aware P2C, step-based combo routing |
+| 🔒 **Security & Compliance** | 20+ | SSRF hardening, credential cloaking, rate-limit per endpoint, management key scoping |
+| 📊 **Observability** | 15+ | OpenTelemetry integration, real-time quota monitoring, combo target health, cost tracking per model |
+| 🔄 **Provider Integrations** | 20+ | Dynamic model registry, connection cooldowns, multi-account Codex, Copilot quota parsing |
+| ⚡ **Performance** | 15+ | Dual cache layer, prompt cache, response cache, streaming keepalive, batch API |
+| 🌐 **Ecosystem** | 10+ | WebSocket API, config hot-reload, distributed config store, commercial mode |
+
+### 🔜 Coming Soon
+
+- 🔗 **OpenCode Integration** — Native provider support for the OpenCode AI coding IDE
+- 🔗 **TRAE Integration** — Full support for the TRAE AI development framework
+- 📦 **Batch API** — Asynchronous batch processing for bulk requests
+- 🎯 **Tag-Based Routing** — Route requests based on custom tags and metadata
+- 💰 **Lowest-Cost Strategy** — Automatically select the cheapest available provider
+
+> 📝 Full feature specifications available in [`docs/new-features/`](docs/new-features/) (217 detailed specs)
+
+---
+
+## 👥 Contributors
+
+[![Contributors](https://contrib.rocks/image?repo=diegosouzapw/OmniRoute&max=100&columns=20&anon=1)](https://github.com/diegosouzapw/OmniRoute/graphs/contributors)
+
+### How to Contribute
+
+1. Fork the repository
+2. Create your feature branch (`git checkout -b feature/amazing-feature`)
+3. Commit your changes (`git commit -m 'Add amazing feature'`)
+4. Push to the branch (`git push origin feature/amazing-feature`)
+5. Open a Pull Request
+
+See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
+
+### Releasing a New Version
+
+```bash
+# Create a release — npm publish happens automatically
+gh release create v2.0.0 --title "v2.0.0" --generate-notes
+```
+
+---
+
+## 📊 Star History
+
+<a href="https://www.star-history.com/?repos=diegosouzapw%2Fomniroute&type=date&legend=top-left">
+ <picture>
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=diegosouzapw/omniroute&type=date&theme=dark&legend=top-left" />
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=diegosouzapw/omniroute&type=date&legend=top-left" />
+ <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=diegosouzapw/omniroute&type=date&legend=top-left" />
+ </picture>
+</a>
+
+## 🌍 StarMapper
+
+<a href="https://starmapper.bruniaux.com/diegosouzapw/omniroute">
+ <picture>
+ <source media="(prefers-color-scheme: dark)" srcset="https://starmapper.bruniaux.com/api/map-image/diegosouzapw/omniroute?theme=dark" />
+ <source media="(prefers-color-scheme: light)" srcset="https://starmapper.bruniaux.com/api/map-image/diegosouzapw/omniroute?theme=light" />
+ <img alt="StarMapper" src="https://starmapper.bruniaux.com/api/map-image/diegosouzapw/omniroute" />
+ </picture>
+</a>
+
+## 🙏 Acknowledgments
+
+Special thanks to **[9router](https://github.com/decolua/9router)** by **[decolua](https://github.com/decolua)** — the original project that inspired this fork. OmniRoute builds upon that incredible foundation with additional features, multi-modal APIs, and a full TypeScript rewrite.
+
+Special thanks to **[CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI)** — the original Go implementation that inspired this JavaScript port.
+
+---
+
+## Лиценз
+
+MIT License - see [LICENSE](LICENSE) for details.
+
+---
+
+<div align="center">
+ <sub>Built with ❤️ for developers who code 24/7</sub>
+ <br/>
+ <sub><a href="https://omniroute.online">omniroute.online</a></sub>
+</div>
+<!-- GitHub Discussions enabled for community Q&A -->
diff --git a/docs/i18n/az/SECURITY.md b/docs/i18n/az/SECURITY.md
new file mode 100644
index 0000000000..ae034a7da3
--- /dev/null
+++ b/docs/i18n/az/SECURITY.md
@@ -0,0 +1,179 @@
+# Security Policy (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../SECURITY.md) · 🇸🇦 [ar](../ar/SECURITY.md) · 🇧🇬 [bg](../bg/SECURITY.md) · 🇧🇩 [bn](../bn/SECURITY.md) · 🇨🇿 [cs](../cs/SECURITY.md) · 🇩🇰 [da](../da/SECURITY.md) · 🇩🇪 [de](../de/SECURITY.md) · 🇪🇸 [es](../es/SECURITY.md) · 🇮🇷 [fa](../fa/SECURITY.md) · 🇫🇮 [fi](../fi/SECURITY.md) · 🇫🇷 [fr](../fr/SECURITY.md) · 🇮🇳 [gu](../gu/SECURITY.md) · 🇮🇱 [he](../he/SECURITY.md) · 🇮🇳 [hi](../hi/SECURITY.md) · 🇭🇺 [hu](../hu/SECURITY.md) · 🇮🇩 [id](../id/SECURITY.md) · 🇮🇹 [it](../it/SECURITY.md) · 🇯🇵 [ja](../ja/SECURITY.md) · 🇰🇷 [ko](../ko/SECURITY.md) · 🇮🇳 [mr](../mr/SECURITY.md) · 🇲🇾 [ms](../ms/SECURITY.md) · 🇳🇱 [nl](../nl/SECURITY.md) · 🇳🇴 [no](../no/SECURITY.md) · 🇵🇭 [phi](../phi/SECURITY.md) · 🇵🇱 [pl](../pl/SECURITY.md) · 🇵🇹 [pt](../pt/SECURITY.md) · 🇧🇷 [pt-BR](../pt-BR/SECURITY.md) · 🇷🇴 [ro](../ro/SECURITY.md) · 🇷🇺 [ru](../ru/SECURITY.md) · 🇸🇰 [sk](../sk/SECURITY.md) · 🇸🇪 [sv](../sv/SECURITY.md) · 🇰🇪 [sw](../sw/SECURITY.md) · 🇮🇳 [ta](../ta/SECURITY.md) · 🇮🇳 [te](../te/SECURITY.md) · 🇹🇭 [th](../th/SECURITY.md) · 🇹🇷 [tr](../tr/SECURITY.md) · 🇺🇦 [uk-UA](../uk-UA/SECURITY.md) · 🇵🇰 [ur](../ur/SECURITY.md) · 🇻🇳 [vi](../vi/SECURITY.md) · 🇨🇳 [zh-CN](../zh-CN/SECURITY.md)
+
+---
+
+## Reporting Vulnerabilities
+
+If you discover a security vulnerability in OmniRoute, please report it responsibly:
+
+1. **DO NOT** open a public GitHub issue
+2. Use [GitHub Security Advisories](https://github.com/diegosouzapw/OmniRoute/security/advisories/new)
+3. Include: description, reproduction steps, and potential impact
+
+## Response Timeline
+
+| Stage | Target |
+| ------------------- | --------------------------- |
+| Acknowledgment | 48 hours |
+| Triage & Assessment | 5 business days |
+| Patch Release | 14 business days (critical) |
+
+## Supported Versions
+
+| Version | Support Status |
+| ------- | -------------- |
+| 3.6.x | ✅ Active |
+| 3.5.x | ✅ Security |
+| < 3.5.0 | ❌ Unsupported |
+
+---
+
+## Security Architecture
+
+OmniRoute implements a multi-layered security model:
+
+```
+Request → CORS → API Key Auth → Prompt Injection Guard → Input Sanitizer → Rate Limiter → Circuit Breaker → Provider
+```
+
+### 🔐 Authentication & Authorization
+
+| Feature | Implementation |
+| -------------------- | ---------------------------------------------------------- |
+| **Dashboard Login** | Password-based auth with JWT tokens (HttpOnly cookies) |
+| **API Key Auth** | HMAC-signed keys with CRC validation |
+| **OAuth 2.0 + PKCE** | Secure provider auth (Claude, Codex, Gemini, Cursor, etc.) |
+| **Token Refresh** | Automatic OAuth token refresh before expiry |
+| **Secure Cookies** | `AUTH_COOKIE_SECURE=true` for HTTPS environments |
+| **MCP Scopes** | 10 granular scopes for MCP tool access control |
+
+### 🛡️ Encryption at Rest
+
+All sensitive data stored in SQLite is encrypted using **AES-256-GCM** with scrypt key derivation:
+
+- API keys, access tokens, refresh tokens, and ID tokens
+- Versioned format: `enc:v1:<iv>:<ciphertext>:<authTag>`
+- Passthrough mode (plaintext) when `STORAGE_ENCRYPTION_KEY` is not set
+
+```bash
+# Generate encryption key:
+STORAGE_ENCRYPTION_KEY=$(openssl rand -hex 32)
+```
+
+### 🧠 Prompt Injection Guard
+
+Middleware that detects and blocks prompt injection attacks in LLM requests:
+
+| Pattern Type | Severity | Example |
+| ------------------- | -------- | ---------------------------------------------- |
+| System Override | High | "ignore all previous instructions" |
+| Role Hijack | High | "you are now DAN, you can do anything" |
+| Delimiter Injection | Medium | Encoded separators to break context boundaries |
+| DAN/Jailbreak | High | Known jailbreak prompt patterns |
+| Instruction Leak | Medium | "show me your system prompt" |
+
+Configure via dashboard (Settings → Security) or `.env`:
+
+```env
+INPUT_SANITIZER_ENABLED=true
+INPUT_SANITIZER_MODE=block # warn | block | redact
+```
+
+### 🔒 PII Redaction
+
+Automatic detection and optional redaction of personally identifiable information:
+
+| PII Type | Pattern | Replacement |
+| ------------- | --------------------- | ------------------ |
+| Email | `[email protected]` | `[EMAIL_REDACTED]` |
+| CPF (Brazil) | `123.456.789-00` | `[CPF_REDACTED]` |
+| CNPJ (Brazil) | `12.345.678/0001-00` | `[CNPJ_REDACTED]` |
+| Credit Card | `4111-1111-1111-1111` | `[CC_REDACTED]` |
+| Phone | `+55 11 99999-9999` | `[PHONE_REDACTED]` |
+| SSN (US) | `123-45-6789` | `[SSN_REDACTED]` |
+
+```env
+PII_REDACTION_ENABLED=true
+```
+
+### 🌐 Network Security
+
+| Feature | Description |
+| ------------------------ | ---------------------------------------------------------------- |
+| **CORS** | Configurable origin control (`CORS_ORIGIN` env var, default `*`) |
+| **IP Filtering** | Allowlist/blocklist IP ranges in dashboard |
+| **Rate Limiting** | Per-provider rate limits with automatic backoff |
+| **Anti-Thundering Herd** | Mutex + per-connection locking prevents cascading 502s |
+| **TLS Fingerprint** | Browser-like TLS fingerprint spoofing to reduce bot detection |
+| **CLI Fingerprint** | Per-provider header/body ordering to match native CLI signatures |
+
+### 🔌 Resilience & Availability
+
+| Feature | Description |
+| ----------------------- | ------------------------------------------------------------------ |
+| **Circuit Breaker** | 3-state (Closed → Open → Half-Open) per provider, SQLite-persisted |
+| **Request Idempotency** | 5-second dedup window for duplicate requests |
+| **Exponential Backoff** | Automatic retry with increasing delays |
+| **Health Dashboard** | Real-time provider health monitoring |
+
+### 📋 Compliance
+
+| Feature | Description |
+| ------------------ | ----------------------------------------------------------- |
+| **Log Retention** | Automatic cleanup after `CALL_LOG_RETENTION_DAYS` |
+| **No-Log Opt-out** | Per API key `noLog` flag disables request logging |
+| **Audit Log** | Administrative actions tracked in `audit_log` table |
+| **MCP Audit** | SQLite-backed audit logging for all MCP tool calls |
+| **Zod Validation** | All API inputs validated with Zod v4 schemas at module load |
+
+---
+
+## Required Environment Variables
+
+All secrets must be set before starting the server. The server will **fail fast** if they are missing or weak.
+
+```bash
+# REQUIRED — server will not start without these:
+JWT_SECRET=$(openssl rand -base64 48) # min 32 chars
+API_KEY_SECRET=$(openssl rand -hex 32) # min 16 chars
+
+# RECOMMENDED — enables encryption at rest:
+STORAGE_ENCRYPTION_KEY=$(openssl rand -hex 32)
+```
+
+The server actively rejects known-weak values like `changeme`, `secret`, or `password`.
+
+---
+
+## Docker Security
+
+- Use non-root user in production
+- Mount secrets as read-only volumes
+- Never copy `.env` files into Docker images
+- Use `.dockerignore` to exclude sensitive files
+- Set `AUTH_COOKIE_SECURE=true` when behind HTTPS
+
+```bash
+docker run -d \
+ --name omniroute \
+ --restart unless-stopped \
+ --read-only \
+ -p 20128:20128 \
+ -v omniroute-data:/app/data \
+ -e JWT_SECRET="$(openssl rand -base64 48)" \
+ -e API_KEY_SECRET="$(openssl rand -hex 32)" \
+ -e STORAGE_ENCRYPTION_KEY="$(openssl rand -hex 32)" \
+ diegosouzapw/omniroute:latest
+```
+
+---
+
+## Dependencies
+
+- Run `npm audit` regularly
+- Keep dependencies updated
+- The project uses `husky` + `lint-staged` for pre-commit checks
+- CI pipeline runs ESLint security rules on every push
+- Provider constants validated at module load via Zod (`src/shared/validation/providerSchema.ts`)
diff --git a/docs/i18n/az/docs/architecture/ARCHITECTURE.md b/docs/i18n/az/docs/architecture/ARCHITECTURE.md
new file mode 100644
index 0000000000..645bdc8eee
--- /dev/null
+++ b/docs/i18n/az/docs/architecture/ARCHITECTURE.md
@@ -0,0 +1,891 @@
+# OmniRoute Architecture (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/ARCHITECTURE.md) · 🇸🇦 [ar](../../ar/docs/ARCHITECTURE.md) · 🇧🇬 [bg](../../bg/docs/ARCHITECTURE.md) · 🇧🇩 [bn](../../bn/docs/ARCHITECTURE.md) · 🇨🇿 [cs](../../cs/docs/ARCHITECTURE.md) · 🇩🇰 [da](../../da/docs/ARCHITECTURE.md) · 🇩🇪 [de](../../de/docs/ARCHITECTURE.md) · 🇪🇸 [es](../../es/docs/ARCHITECTURE.md) · 🇮🇷 [fa](../../fa/docs/ARCHITECTURE.md) · 🇫🇮 [fi](../../fi/docs/ARCHITECTURE.md) · 🇫🇷 [fr](../../fr/docs/ARCHITECTURE.md) · 🇮🇳 [gu](../../gu/docs/ARCHITECTURE.md) · 🇮🇱 [he](../../he/docs/ARCHITECTURE.md) · 🇮🇳 [hi](../../hi/docs/ARCHITECTURE.md) · 🇭🇺 [hu](../../hu/docs/ARCHITECTURE.md) · 🇮🇩 [id](../../id/docs/ARCHITECTURE.md) · 🇮🇹 [it](../../it/docs/ARCHITECTURE.md) · 🇯🇵 [ja](../../ja/docs/ARCHITECTURE.md) · 🇰🇷 [ko](../../ko/docs/ARCHITECTURE.md) · 🇮🇳 [mr](../../mr/docs/ARCHITECTURE.md) · 🇲🇾 [ms](../../ms/docs/ARCHITECTURE.md) · 🇳🇱 [nl](../../nl/docs/ARCHITECTURE.md) · 🇳🇴 [no](../../no/docs/ARCHITECTURE.md) · 🇵🇭 [phi](../../phi/docs/ARCHITECTURE.md) · 🇵🇱 [pl](../../pl/docs/ARCHITECTURE.md) · 🇵🇹 [pt](../../pt/docs/ARCHITECTURE.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/ARCHITECTURE.md) · 🇷🇴 [ro](../../ro/docs/ARCHITECTURE.md) · 🇷🇺 [ru](../../ru/docs/ARCHITECTURE.md) · 🇸🇰 [sk](../../sk/docs/ARCHITECTURE.md) · 🇸🇪 [sv](../../sv/docs/ARCHITECTURE.md) · 🇰🇪 [sw](../../sw/docs/ARCHITECTURE.md) · 🇮🇳 [ta](../../ta/docs/ARCHITECTURE.md) · 🇮🇳 [te](../../te/docs/ARCHITECTURE.md) · 🇹🇭 [th](../../th/docs/ARCHITECTURE.md) · 🇹🇷 [tr](../../tr/docs/ARCHITECTURE.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/ARCHITECTURE.md) · 🇵🇰 [ur](../../ur/docs/ARCHITECTURE.md) · 🇻🇳 [vi](../../vi/docs/ARCHITECTURE.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/ARCHITECTURE.md)
+
+---
+
+_Last updated: 2026-04-15_
+
+## Executive Summary
+
+OmniRoute is a local AI routing gateway and dashboard built on Next.js.
+It provides a single OpenAI-compatible endpoint (`/v1/*`) and routes traffic across multiple upstream providers with translation, fallback, token refresh, and usage tracking.
+
+Core capabilities:
+
+- OpenAI-compatible API surface for CLI/tools (100+ providers, 16 executors)
+- Request/response translation across provider formats
+- Model combo fallback (multi-model sequence)
+- Structured combo steps (`provider + model + connection`) with runtime ordering by `compositeTiers`
+- Account-level fallback (multi-account per provider)
+- Quota preflight and quota-aware P2C account selection in the main chat path
+- OAuth + API-key provider connection management (13 OAuth modules)
+- Embedding generation via `/v1/embeddings` (6 providers, 9 models)
+- Image generation via `/v1/images/generations` (10+ providers, 20+ models)
+- Audio transcription via `/v1/audio/transcriptions` (7 providers)
+- Text-to-speech via `/v1/audio/speech` (10 providers)
+- Video generation via `/v1/videos/generations` (ComfyUI + SD WebUI)
+- Music generation via `/v1/music/generations` (ComfyUI)
+- Web search via `/v1/search` (5 providers)
+- Moderations via `/v1/moderations`
+- Reranking via `/v1/rerank`
+- Think tag parsing (`<think>...</think>`) for reasoning models
+- Response sanitization for strict OpenAI SDK compatibility
+- Role normalization (developer→system, system→user) for cross-provider compatibility
+- Structured output conversion (json_schema → Gemini responseSchema)
+- Local persistence for providers, keys, aliases, combos, settings, pricing (26 DB modules)
+- Usage/cost tracking and request logging
+- Optional cloud sync for multi-device/state sync
+- IP allowlist/blocklist for API access control
+- Thinking budget management (passthrough/auto/custom/adaptive)
+- Global system prompt injection
+- Session tracking and fingerprinting
+- Per-account enhanced rate limiting with provider-specific profiles
+- Circuit breaker pattern for provider resilience
+- Anti-thundering herd protection with mutex locking
+- Signature-based request deduplication cache
+- Domain layer: cost rules, fallback policy, lockout policy
+- Context Relay: session handoff summaries for account rotation continuity
+- Domain state persistence (SQLite write-through cache for fallbacks, budgets, lockouts, circuit breakers)
+- Policy engine for centralized request evaluation (lockout → budget → fallback)
+- Request telemetry with p50/p95/p99 latency aggregation
+- Combo target telemetry and historical combo target health via `combo_execution_key` / `combo_step_id`
+- Correlation ID (X-Request-Id) for end-to-end tracing
+- Compliance audit logging with opt-out per API key
+- Eval framework for LLM quality assurance
+- Health dashboard with real-time provider circuit breaker status
+- MCP Server (25 tools) with 3 transports (stdio/SSE/Streamable HTTP)
+- A2A Server (JSON-RPC 2.0 + SSE) with skills and task lifecycle
+- Memory system (extraction, injection, retrieval, summarization)
+- Skills system (registry, executor, sandbox, built-in skills)
+- MITM proxy with certificate management and DNS handling
+- Prompt injection guard middleware
+- ACP (Agent Communication Protocol) registry
+- Modular OAuth providers (13 individual modules under `src/lib/oauth/providers/`)
+- Uninstall/full-uninstall scripts
+- OAuth environment repair action
+- WebSocket bridge for OpenAI-compatible WS clients (`/v1/ws`)
+- Sync token management (issue/revoke, ETag-versioned config bundle download)
+- GLM Thinking (`glmt`) first-class provider preset
+- Hybrid token counting (provider-side `/messages/count_tokens` with estimation fallback)
+- Model alias auto-seeding (30+ cross-proxy dialect normalizations at startup)
+- Safe outbound fetch with SSRF guard, private URL blocking, and configurable retry
+- Cooldown-aware chat retries with configurable `requestRetry` and `maxRetryIntervalSec`
+- Runtime environment validation with Zod at startup
+- Compliance audit v2 with pagination, provider CRUD events, and SSRF-blocked validation logging
+
+Primary runtime model:
+
+- Next.js app routes under `src/app/api/*` implement both dashboard APIs and compatibility APIs
+- A shared SSE/routing core in `src/sse/*` + `open-sse/*` handles provider execution, translation, streaming, fallback, and usage
+
+## Scope and Boundaries
+
+### In Scope
+
+- Local gateway runtime
+- Dashboard management APIs
+- Provider authentication and token refresh
+- Request translation and SSE streaming
+- Local state + usage persistence
+- Optional cloud sync orchestration
+
+### Out of Scope
+
+- Cloud service implementation behind `NEXT_PUBLIC_CLOUD_URL`
+- Provider SLA/control plane outside local process
+- External CLI binaries themselves (Claude CLI, Codex CLI, etc.)
+
+## Dashboard Surface (Current)
+
+Main pages under `src/app/(dashboard)/dashboard/`:
+
+- `/dashboard` — quick start + provider overview
+- `/dashboard/endpoint` — endpoint proxy + MCP + A2A + API endpoint tabs
+- `/dashboard/providers` — provider connections and credentials
+- `/dashboard/combos` — combo strategies, templates, step-based builder, model routing rules, manual persisted ordering
+- `/dashboard/costs` — cost aggregation and pricing visibility
+- `/dashboard/analytics` — usage analytics, evaluations, combo target health
+- `/dashboard/limits` — quota/rate controls
+- `/dashboard/cli-tools` — CLI onboarding, runtime detection, config generation
+- `/dashboard/agents` — detected ACP agents + custom agent registration
+- `/dashboard/media` — image/video/music playground
+- `/dashboard/search-tools` — search provider testing and history
+- `/dashboard/health` — uptime, circuit breakers, rate limits, quota-monitored sessions
+- `/dashboard/logs` — request/proxy/audit/console logs
+- `/dashboard/settings` — system settings tabs (general, routing, combo defaults, etc.)
+- `/dashboard/api-manager` — API key lifecycle and model permissions
+
+## High-Level System Context
+
+```mermaid
+flowchart LR
+ subgraph Clients[Developer Clients]
+ C1[Claude Code]
+ C2[Codex CLI]
+ C3[OpenClaw / Droid / Cline / Continue / Roo]
+ C4[Custom OpenAI-compatible clients]
+ BROWSER[Browser Dashboard]
+ end
+
+ subgraph Router[OmniRoute Local Process]
+ API[V1 Compatibility API\n/v1/*]
+ DASH[Dashboard + Management API\n/api/*]
+ CORE[SSE + Translation Core\nopen-sse + src/sse]
+ DB[(storage.sqlite)]
+ UDB[(usage tables + log artifacts)]
+ end
+
+ subgraph Upstreams[Upstream Providers]
+ P1[OAuth Providers\nClaude/Codex/Gemini/Qwen/Qoder/GitHub/Kiro/Cursor/Antigravity]
+ P2[API Key Providers\nOpenAI/Anthropic/OpenRouter/GLM/Kimi/MiniMax\nDeepSeek/Groq/xAI/Mistral/Perplexity\nTogether/Fireworks/Cerebras/Cohere/NVIDIA]
+ P3[Compatible Nodes\nOpenAI-compatible / Anthropic-compatible]
+ end
+
+ subgraph Cloud[Optional Cloud Sync]
+ CLOUD[Cloud Sync Endpoint\nNEXT_PUBLIC_CLOUD_URL]
+ end
+
+ C1 --> API
+ C2 --> API
+ C3 --> API
+ C4 --> API
+ BROWSER --> DASH
+
+ API --> CORE
+ DASH --> DB
+ CORE --> DB
+ CORE --> UDB
+
+ CORE --> P1
+ CORE --> P2
+ CORE --> P3
+
+ DASH --> CLOUD
+```
+
+## Core Runtime Components
+
+## 1) API and Routing Layer (Next.js App Routes)
+
+Main directories:
+
+- `src/app/api/v1/*` and `src/app/api/v1beta/*` for compatibility APIs
+- `src/app/api/*` for management/configuration APIs
+- Next rewrites in `next.config.mjs` map `/v1/*` to `/api/v1/*`
+
+Important compatibility routes:
+
+- `src/app/api/v1/chat/completions/route.ts`
+- `src/app/api/v1/messages/route.ts`
+- `src/app/api/v1/responses/route.ts`
+- `src/app/api/v1/models/route.ts` — includes custom models with `custom: true`
+- `src/app/api/v1/embeddings/route.ts` — embedding generation (6 providers)
+- `src/app/api/v1/images/generations/route.ts` — image generation (4+ providers incl. Antigravity/Nebius)
+- `src/app/api/v1/messages/count_tokens/route.ts`
+- `src/app/api/v1/providers/[provider]/chat/completions/route.ts` — dedicated per-provider chat
+- `src/app/api/v1/providers/[provider]/embeddings/route.ts` — dedicated per-provider embeddings
+- `src/app/api/v1/providers/[provider]/images/generations/route.ts` — dedicated per-provider images
+- `src/app/api/v1beta/models/route.ts`
+- `src/app/api/v1beta/models/[...path]/route.ts`
+
+Management domains:
+
+- Auth/settings: `src/app/api/auth/*`, `src/app/api/settings/*`
+- Providers/connections: `src/app/api/providers*`
+- Provider nodes: `src/app/api/provider-nodes*`
+- Custom models: `src/app/api/provider-models` (GET/POST/DELETE)
+- Model catalog: `src/app/api/models/route.ts` (GET)
+- Proxy config: `src/app/api/settings/proxy` (GET/PUT/DELETE) + `src/app/api/settings/proxy/test` (POST)
+- OAuth: `src/app/api/oauth/*`
+- Keys/aliases/combos/pricing: `src/app/api/keys*`, `src/app/api/models/alias`, `src/app/api/combos*`, `src/app/api/pricing`
+- Usage: `src/app/api/usage/*`
+- Sync/cloud: `src/app/api/sync/*`, `src/app/api/cloud/*`
+- CLI tooling helpers: `src/app/api/cli-tools/*`
+- IP filter: `src/app/api/settings/ip-filter` (GET/PUT)
+- Thinking budget: `src/app/api/settings/thinking-budget` (GET/PUT)
+- System prompt: `src/app/api/settings/system-prompt` (GET/PUT)
+- Sessions: `src/app/api/sessions` (GET)
+- Rate limits: `src/app/api/rate-limits` (GET)
+- Resilience: `src/app/api/resilience` (GET/PATCH) — request queue, connection cooldown, provider breaker, wait-for-cooldown config
+- Resilience reset: `src/app/api/resilience/reset` (POST) — reset provider breakers
+- Cache stats: `src/app/api/cache/stats` (GET/DELETE)
+- Telemetry: `src/app/api/telemetry/summary` (GET)
+- Budget: `src/app/api/usage/budget` (GET/POST)
+- Fallback chains: `src/app/api/fallback/chains` (GET/POST/DELETE)
+- Compliance audit: `src/app/api/compliance/audit-log` (GET, with pagination + structured metadata)
+- Evals: `src/app/api/evals` (GET/POST), `src/app/api/evals/[suiteId]` (GET)
+- Policies: `src/app/api/policies` (GET/POST)
+- Sync tokens: `src/app/api/sync/tokens` (GET/POST), `src/app/api/sync/tokens/[id]` (GET/DELETE)
+- Config bundle: `src/app/api/sync/bundle` (GET, ETag-versioned snapshot of settings/providers/combos/keys)
+- WebSocket: `src/app/api/v1/ws/route.ts` — Upgrade handler for OpenAI-compatible WS clients
+
+## 2) SSE + Translation Core
+
+Main flow modules:
+
+- Entry: `src/sse/handlers/chat.ts`
+- Core orchestration: `open-sse/handlers/chatCore.ts`
+- Provider execution adapters: `open-sse/executors/*`
+- Format detection/provider config: `open-sse/services/provider.ts`
+- Model parse/resolve: `src/sse/services/model.ts`, `open-sse/services/model.ts`
+- Account fallback logic: `open-sse/services/accountFallback.ts`
+- Translation registry: `open-sse/translator/index.ts`
+- Stream transformations: `open-sse/utils/stream.ts`, `open-sse/utils/streamHandler.ts`
+- Usage extraction/normalization: `open-sse/utils/usageTracking.ts`
+- Think tag parser: `open-sse/utils/thinkTagParser.ts`
+- Embedding handler: `open-sse/handlers/embeddings.ts`
+- Embedding provider registry: `open-sse/config/embeddingRegistry.ts`
+- Image generation handler: `open-sse/handlers/imageGeneration.ts`
+- Image provider registry: `open-sse/config/imageRegistry.ts`
+- Response sanitization: `open-sse/handlers/responseSanitizer.ts`
+- Role normalization: `open-sse/services/roleNormalizer.ts`
+
+Services (business logic):
+
+- Account selection/scoring: `open-sse/services/accountSelector.ts`
+- Context lifecycle management: `open-sse/services/contextManager.ts`
+- IP filter enforcement: `open-sse/services/ipFilter.ts`
+- Session tracking: `open-sse/services/sessionManager.ts`
+- Request deduplication: `open-sse/services/signatureCache.ts`
+- System prompt injection: `open-sse/services/systemPrompt.ts`
+- Thinking budget management: `open-sse/services/thinkingBudget.ts`
+- Wildcard model routing: `open-sse/services/wildcardRouter.ts`
+- Rate limit management: `open-sse/services/rateLimitManager.ts`
+- Circuit breaker: `open-sse/services/circuitBreaker.ts`
+- Context handoff: `open-sse/services/contextHandoff.ts` — handoff summary generation and injection for context-relay strategy
+- Codex quota fetcher: `open-sse/services/codexQuotaFetcher.ts` — fetches Codex quota for context-relay handoff decisions
+- Cooldown-aware retry: `src/sse/services/cooldownAwareRetry.ts` — per-model cooldown retries with configurable `requestRetry` / `maxRetryIntervalSec`
+- Safe outbound fetch: `src/shared/network/safeOutboundFetch.ts` — guarded provider/model fetch with SSRF guard, private-URL blocking, retry, and timeout
+- Outbound URL guard: `src/shared/network/outboundUrlGuard.ts` — validates provider URLs against private/localhost CIDR ranges
+- Provider request defaults: `open-sse/services/providerRequestDefaults.ts` — provider-level `maxTokens`, `temperature`, `thinkingBudgetTokens` defaults
+- GLM provider constants: `open-sse/config/glmProvider.ts` — shared GLM models, quota URLs, GLMT timeout/defaults
+- Antigravity upstream: `open-sse/config/antigravityUpstream.ts` — base URL and discovery path constants
+- Codex client constants: `open-sse/config/codexClient.ts` — versioned user-agent and client-version values
+- Model alias seed: `src/lib/modelAliasSeed.ts` — seeds 30+ cross-proxy dialect aliases at startup
+
+Domain layer modules:
+
+- Cost rules/budgets: `src/lib/domain/costRules.ts`
+- Fallback policy: `src/lib/domain/fallbackPolicy.ts`
+- Combo resolver: `src/lib/domain/comboResolver.ts`
+- Lockout policy: `src/lib/domain/lockoutPolicy.ts`
+- Policy engine: `src/domain/policyEngine.ts` — centralized lockout → budget → fallback evaluation
+- Error codes catalog: `src/lib/domain/errorCodes.ts`
+- Request ID: `src/lib/domain/requestId.ts`
+- Fetch timeout: `src/lib/domain/fetchTimeout.ts`
+- Request telemetry: `src/lib/domain/requestTelemetry.ts`
+- Compliance/audit: `src/lib/domain/compliance/index.ts`
+- Eval runner: `src/lib/domain/evalRunner.ts`
+- Domain state persistence: `src/lib/db/domainState.ts` — SQLite CRUD for fallback chains, budgets, cost history, lockout state, circuit breakers
+
+OAuth provider modules (13 individual files under `src/lib/oauth/providers/`):
+
+- Registry index: `src/lib/oauth/providers/index.ts`
+- Individual providers: `claude.ts`, `codex.ts`, `gemini.ts`, `antigravity.ts`, `qoder.ts`, `qwen.ts`, `kimi-coding.ts`, `github.ts`, `kiro.ts`, `cursor.ts`, `kilocode.ts`, `cline.ts`
+- Thin wrapper: `src/lib/oauth/providers.ts` — re-exports from individual modules
+
+## 3) Persistence Layer
+
+Primary state DB (SQLite):
+
+- Core infra: `src/lib/db/core.ts` (better-sqlite3, migrations, WAL)
+- Re-export facade: `src/lib/localDb.ts` (thin compatibility layer for callers)
+- file: `${DATA_DIR}/storage.sqlite` (or `$XDG_CONFIG_HOME/omniroute/storage.sqlite` when set, else `~/.omniroute/storage.sqlite`)
+- entities (tables + KV namespaces): providerConnections, providerNodes, modelAliases, combos, apiKeys, settings, pricing, **customModels**, **proxyConfig**, **ipFilter**, **thinkingBudget**, **systemPrompt**
+
+Usage persistence:
+
+- facade: `src/lib/usageDb.ts` (decomposed modules in `src/lib/usage/*`)
+- SQLite tables in `storage.sqlite`: `usage_history`, `call_logs`, `proxy_logs`
+- optional file artifacts remain for compatibility/debug (`${DATA_DIR}/log.txt`, `${DATA_DIR}/call_logs/`, `<repo>/logs/...`)
+- legacy JSON files are migrated to SQLite by startup migrations when present
+
+Domain State DB (SQLite):
+
+- `src/lib/db/domainState.ts` — CRUD operations for domain state
+- Tables (created in `src/lib/db/core.ts`): `domain_fallback_chains`, `domain_budgets`, `domain_cost_history`, `domain_lockout_state`, `domain_circuit_breakers`
+- Write-through cache pattern: in-memory Maps are authoritative at runtime; mutations are written synchronously to SQLite; state is restored from DB on cold start
+
+## 4) Auth + Security Surfaces
+
+- Dashboard cookie auth: `src/proxy.ts`, `src/app/api/auth/login/route.ts`
+- API key generation/verification: `src/shared/utils/apiKey.ts`
+- Provider secrets persisted in `providerConnections` entries
+- Outbound proxy support via `open-sse/utils/proxyFetch.ts` (env vars) and `open-sse/utils/networkProxy.ts` (configurable per-provider or global)
+- SSRF / outbound URL guard: `src/shared/network/outboundUrlGuard.ts` — blocks private/loopback/link-local ranges for all provider calls
+- Runtime env validation: `src/lib/env/runtimeEnv.ts` — Zod schema for all environment variables, surfaced as startup errors/warnings
+- Sync tokens: `src/lib/db/syncTokens.ts` — scoped tokens for config bundle download endpoints; backed by `sync_tokens` SQLite table (migration `024_create_sync_tokens.sql`)
+- WebSocket handshake auth: `src/lib/ws/handshake.ts` — validates WS upgrade requests via API key or session cookie
+
+## 5) Cloud Sync
+
+- Scheduler init: `src/lib/initCloudSync.ts`, `src/shared/services/initializeCloudSync.ts`, `src/shared/services/modelSyncScheduler.ts`
+- Periodic task: `src/shared/services/cloudSyncScheduler.ts`
+- Periodic task: `src/shared/services/modelSyncScheduler.ts`
+- Control route: `src/app/api/sync/cloud/route.ts`
+
+## Request Lifecycle (`/v1/chat/completions`)
+
+```mermaid
+sequenceDiagram
+ autonumber
+ participant Client as CLI/SDK Client
+ participant Route as /api/v1/chat/completions
+ participant Chat as src/sse/handlers/chat
+ participant Core as open-sse/handlers/chatCore
+ participant Model as Model Resolver
+ participant Auth as Credential Selector
+ participant Exec as Provider Executor
+ participant Prov as Upstream Provider
+ participant Stream as Stream Translator
+ participant Usage as usageDb
+
+ Client->>Route: POST /v1/chat/completions
+ Route->>Chat: handleChat(request)
+ Chat->>Model: parse/resolve model or combo
+
+ alt Combo model
+ Chat->>Chat: iterate combo models (handleComboChat)
+ end
+
+ Chat->>Auth: getProviderCredentials(provider)
+ Auth-->>Chat: active account + tokens/api key
+
+ Chat->>Core: handleChatCore(body, modelInfo, credentials)
+ Core->>Core: detect source format
+ Core->>Core: translate request to target format
+ Core->>Exec: execute(provider, transformedBody)
+ Exec->>Prov: upstream API call
+ Prov-->>Exec: SSE/JSON response
+ Exec-->>Core: response + metadata
+
+ alt 401/403
+ Core->>Exec: refreshCredentials()
+ Exec-->>Core: updated tokens
+ Core->>Exec: retry request
+ end
+
+ Core->>Stream: translate/normalize stream to client format
+ Stream-->>Client: SSE chunks / JSON response
+
+ Stream->>Usage: extract usage + persist history/log
+```
+
+## Combo + Account Fallback Flow
+
+```mermaid
+flowchart TD
+ A[Incoming model string] --> B{Is combo name?}
+ B -- Yes --> C[Load combo models sequence]
+ B -- No --> D[Single model path]
+
+ C --> E[Try model N]
+ E --> F[Resolve provider/model]
+ D --> F
+
+ F --> G[Select account credentials]
+ G --> H{Credentials available?}
+ H -- No --> I[Return provider unavailable]
+ H -- Yes --> J[Execute request]
+
+ J --> K{Success?}
+ K -- Yes --> L[Return response]
+ K -- No --> M{Fallback-eligible error?}
+
+ M -- No --> N[Return error]
+ M -- Yes --> O[Mark account unavailable cooldown]
+ O --> P{Another account for provider?}
+ P -- Yes --> G
+ P -- No --> Q{In combo with next model?}
+ Q -- Yes --> E
+ Q -- No --> R[Return all unavailable]
+```
+
+Fallback decisions are driven by `open-sse/services/accountFallback.ts` using status codes and error-message heuristics. Combo routing adds one extra guard: provider-scoped 400s such as upstream content-block and role-validation failures are treated as model-local failures so later combo targets can still run.
+
+## OAuth Onboarding and Token Refresh Lifecycle
+
+```mermaid
+sequenceDiagram
+ autonumber
+ participant UI as Dashboard UI
+ participant OAuth as /api/oauth/[provider]/[action]
+ participant ProvAuth as Provider Auth Server
+ participant DB as localDb
+ participant Test as /api/providers/[id]/test
+ participant Exec as Provider Executor
+
+ UI->>OAuth: GET authorize or device-code
+ OAuth->>ProvAuth: create auth/device flow
+ ProvAuth-->>OAuth: auth URL or device code payload
+ OAuth-->>UI: flow data
+
+ UI->>OAuth: POST exchange or poll
+ OAuth->>ProvAuth: token exchange/poll
+ ProvAuth-->>OAuth: access/refresh tokens
+ OAuth->>DB: createProviderConnection(oauth data)
+ OAuth-->>UI: success + connection id
+
+ UI->>Test: POST /api/providers/[id]/test
+ Test->>Exec: validate credentials / optional refresh
+ Exec-->>Test: valid or refreshed token info
+ Test->>DB: update status/tokens/errors
+ Test-->>UI: validation result
+```
+
+Refresh during live traffic is executed inside `open-sse/handlers/chatCore.ts` via executor `refreshCredentials()`.
+
+## Cloud Sync Lifecycle (Enable / Sync / Disable)
+
+```mermaid
+sequenceDiagram
+ autonumber
+ participant UI as Endpoint Page UI
+ participant Sync as /api/sync/cloud
+ participant DB as localDb
+ participant Cloud as External Cloud Sync
+ participant Claude as ~/.claude/settings.json
+
+ UI->>Sync: POST action=enable
+ Sync->>DB: set cloudEnabled=true
+ Sync->>DB: ensure API key exists
+ Sync->>Cloud: POST /sync/{machineId} (providers/aliases/combos/keys)
+ Cloud-->>Sync: sync result
+ Sync->>Cloud: GET /{machineId}/v1/verify
+ Sync-->>UI: enabled + verification status
+
+ UI->>Sync: POST action=sync
+ Sync->>Cloud: POST /sync/{machineId}
+ Cloud-->>Sync: remote data
+ Sync->>DB: update newer local tokens/status
+ Sync-->>UI: synced
+
+ UI->>Sync: POST action=disable
+ Sync->>DB: set cloudEnabled=false
+ Sync->>Cloud: DELETE /sync/{machineId}
+ Sync->>Claude: switch ANTHROPIC_BASE_URL back to local (if needed)
+ Sync-->>UI: disabled
+```
+
+Periodic sync is triggered by `CloudSyncScheduler` when cloud is enabled.
+
+## Data Model and Storage Map
+
+```mermaid
+erDiagram
+ SETTINGS ||--o{ PROVIDER_CONNECTION : controls
+ PROVIDER_NODE ||--o{ PROVIDER_CONNECTION : backs_compatible_provider
+ PROVIDER_CONNECTION ||--o{ USAGE_ENTRY : emits_usage
+
+ SETTINGS {
+ boolean cloudEnabled
+ number stickyRoundRobinLimit
+ boolean requireLogin
+ string password_hash
+ string fallbackStrategy
+ json rateLimitDefaults
+ json providerProfiles
+ }
+
+ PROVIDER_CONNECTION {
+ string id
+ string provider
+ string authType
+ string name
+ number priority
+ boolean isActive
+ string apiKey
+ string accessToken
+ string refreshToken
+ string expiresAt
+ string testStatus
+ string lastError
+ string rateLimitedUntil
+ json providerSpecificData
+ }
+
+ PROVIDER_NODE {
+ string id
+ string type
+ string name
+ string prefix
+ string apiType
+ string baseUrl
+ }
+
+ MODEL_ALIAS {
+ string alias
+ string targetModel
+ }
+
+ COMBO {
+ string id
+ string name
+ string[] models
+ }
+
+ API_KEY {
+ string id
+ string name
+ string key
+ string machineId
+ }
+
+ USAGE_ENTRY {
+ string provider
+ string model
+ number prompt_tokens
+ number completion_tokens
+ string connectionId
+ string timestamp
+ }
+
+ CUSTOM_MODEL {
+ string id
+ string name
+ string providerId
+ }
+
+ PROXY_CONFIG {
+ string global
+ json providers
+ }
+
+ IP_FILTER {
+ string mode
+ string[] allowlist
+ string[] blocklist
+ }
+
+ THINKING_BUDGET {
+ string mode
+ number customBudget
+ string effortLevel
+ }
+
+ SYSTEM_PROMPT {
+ boolean enabled
+ string prompt
+ string position
+ }
+```
+
+Physical storage files:
+
+- primary runtime DB: `${DATA_DIR}/storage.sqlite`
+- request log lines: `${DATA_DIR}/log.txt` (compat/debug artifact)
+- structured call payload archives: `${DATA_DIR}/call_logs/`
+- optional translator/request debug sessions: `<repo>/logs/...`
+
+## Deployment Topology
+
+```mermaid
+flowchart LR
+ subgraph LocalHost[Developer Host]
+ CLI[CLI Tools]
+ Browser[Dashboard Browser]
+ end
+
+ subgraph ContainerOrProcess[OmniRoute Runtime]
+ Next[Next.js Server\nPORT=20128]
+ Core[SSE Core + Executors]
+ MainDB[(storage.sqlite)]
+ UsageDB[(usage tables + log artifacts)]
+ end
+
+ subgraph External[External Services]
+ Providers[AI Providers]
+ SyncCloud[Cloud Sync Service]
+ end
+
+ CLI --> Next
+ Browser --> Next
+ Next --> Core
+ Next --> MainDB
+ Core --> MainDB
+ Core --> UsageDB
+ Core --> Providers
+ Next --> SyncCloud
+```
+
+## Module Mapping (Decision-Critical)
+
+### Route and API Modules
+
+- `src/app/api/v1/*`, `src/app/api/v1beta/*`: compatibility APIs
+- `src/app/api/v1/providers/[provider]/*`: dedicated per-provider routes (chat, embeddings, images)
+- `src/app/api/providers*`: provider CRUD, validation, testing
+- `src/app/api/provider-nodes*`: custom compatible node management
+- `src/app/api/provider-models`: custom model management (CRUD)
+- `src/app/api/models/route.ts`: model catalog API (aliases + custom models)
+- `src/app/api/oauth/*`: OAuth/device-code flows
+- `src/app/api/keys*`: local API key lifecycle
+- `src/app/api/models/alias`: alias management
+- `src/app/api/combos*`: fallback combo management
+- `src/app/api/pricing`: pricing overrides for cost calculation
+- `src/app/api/settings/proxy`: proxy configuration (GET/PUT/DELETE)
+- `src/app/api/settings/proxy/test`: outbound proxy connectivity test (POST)
+- `src/app/api/usage/*`: usage and logs APIs
+- `src/app/api/sync/*` + `src/app/api/cloud/*`: cloud sync and cloud-facing helpers
+- `src/app/api/cli-tools/*`: local CLI config writers/checkers
+- `src/app/api/settings/ip-filter`: IP allowlist/blocklist (GET/PUT)
+- `src/app/api/settings/thinking-budget`: thinking token budget config (GET/PUT)
+- `src/app/api/settings/system-prompt`: global system prompt (GET/PUT)
+- `src/app/api/sessions`: active session listing (GET)
+- `src/app/api/rate-limits`: per-account rate limit status (GET)
+- `src/app/api/sync/tokens`: sync token CRUD (GET/POST)
+- `src/app/api/sync/tokens/[id]`: sync token get/delete (GET/DELETE)
+- `src/app/api/sync/bundle`: config bundle download (GET, ETag versioning)
+- `src/app/api/v1/ws`: WebSocket upgrade handler for OpenAI-compatible WS clients
+
+### Routing and Execution Core
+
+- `src/sse/handlers/chat.ts`: request parse, combo handling, account selection loop
+- `open-sse/handlers/chatCore.ts`: translation, executor dispatch, retry/refresh handling, stream setup
+- `open-sse/executors/*`: provider-specific network and format behavior
+
+### Translation Registry and Format Converters
+
+- `open-sse/translator/index.ts`: translator registry and orchestration
+- Request translators: `open-sse/translator/request/*`
+- Response translators: `open-sse/translator/response/*`
+- Format constants: `open-sse/translator/formats.ts`
+
+### Persistence
+
+- `src/lib/db/*`: persistent config/state and domain persistence on SQLite
+- `src/lib/localDb.ts`: compatibility re-export for DB modules
+- `src/lib/usageDb.ts`: usage history/call logs facade on top of SQLite tables
+
+## Provider Executor Coverage (Strategy Pattern)
+
+Each provider has a specialized executor extending `BaseExecutor` (in `open-sse/executors/base.ts`), which provides URL building, header construction, retry with exponential backoff, credential refresh hooks, and the `execute()` orchestration method.
+
+| Executor | Provider(s) | Special Handling |
+| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
+| `DefaultExecutor` | OpenAI, Claude, Gemini, Qwen, OpenRouter, GLM, Kimi, MiniMax, DeepSeek, Groq, xAI, Mistral, Perplexity, Together, Fireworks, Cerebras, Cohere, NVIDIA, etc. | Dynamic URL/header config per provider |
+| `AntigravityExecutor` | Google Antigravity | Custom project/session IDs, Retry-After parsing |
+| `CliProxyApiExecutor` | CLIProxyAPI-compatible providers | Custom auth and protocol handling |
+| `CloudflareAiExecutor` | Cloudflare Workers AI | Account ID injection, Neurons-based usage tracking |
+| `CodexExecutor` | OpenAI Codex | Injects system instructions, forces reasoning effort |
+| `CursorExecutor` | Cursor IDE | ConnectRPC protocol, Protobuf encoding, request signing via checksum |
+| `GithubExecutor` | GitHub Copilot | Copilot token refresh, VSCode-mimicking headers |
+| `GeminiCLIExecutor` | Gemini CLI | Google OAuth token refresh cycle |
+| `KiroExecutor` | AWS CodeWhisperer/Kiro | AWS EventStream binary format → SSE conversion |
+| `OpenCodeExecutor` | OpenCode | AI SDK compatible provider setup |
+| `PollinationsExecutor` | Pollinations AI | No API key required, rate-limited requests |
+| `PuterExecutor` | Puter | Browser-based provider integration |
+| `QoderExecutor` | Qoder AI | PAT and OAuth support, multi-model free tier |
+| `VertexExecutor` | Google Vertex AI | Service account auth, region-based endpoints |
+
+All other providers (including custom compatible nodes) use the `DefaultExecutor`.
+
+## Provider Compatibility Matrix
+
+| Provider | Format | Auth | Stream | Non-Stream | Token Refresh | Usage API |
+| ---------------- | ---------------- | --------------------- | ---------------- | ---------- | ------------- | ------------------ |
+| Claude | claude | API Key / OAuth | ✅ | ✅ | ✅ | ⚠️ Admin only |
+| Gemini | gemini | API Key / OAuth | ✅ | ✅ | ✅ | ⚠️ Cloud Console |
+| Gemini CLI | gemini-cli | OAuth | ✅ | ✅ | ✅ | ⚠️ Cloud Console |
+| Antigravity | antigravity | OAuth | ✅ | ✅ | ✅ | ✅ Full quota API |
+| OpenAI | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| Codex | openai-responses | OAuth | ✅ forced | ❌ | ✅ | ✅ Rate limits |
+| GitHub Copilot | openai | OAuth + Copilot Token | ✅ | ✅ | ✅ | ✅ Quota snapshots |
+| Cursor | cursor | Custom checksum | ✅ | ✅ | ❌ | ❌ |
+| Kiro | kiro | AWS SSO OIDC | ✅ (EventStream) | ❌ | ✅ | ✅ Usage limits |
+| Qwen | openai | OAuth | ✅ | ✅ | ✅ | ⚠️ Per request |
+| Qoder | openai | OAuth / PAT | ✅ | ✅ | ✅ | ⚠️ Per request |
+| Kilo Code | openai | OAuth | ✅ | ✅ | ✅ | ❌ |
+| Cline | openai | OAuth | ✅ | ✅ | ✅ | ❌ |
+| Kimi Coding | openai | OAuth | ✅ | ✅ | ✅ | ❌ |
+| OpenRouter | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| GLM/Kimi/MiniMax | claude | API Key | ✅ | ✅ | ❌ | ❌ |
+| DeepSeek | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| Groq | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| xAI (Grok) | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| Mistral | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| Perplexity | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| Together AI | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| Fireworks AI | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| Cerebras | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| Cohere | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| NVIDIA NIM | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| Cloudflare AI | openai | API Token + Acct ID | ✅ | ✅ | ❌ | ❌ |
+| Pollinations | openai | None (no key) | ✅ | ✅ | ❌ | ❌ |
+| Scaleway AI | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| LongCat | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| Ollama Cloud | openai | API Key (optional) | ✅ | ✅ | ❌ | ❌ |
+| HuggingFace | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| Nebius | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| SiliconFlow | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| Hyperbolic | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+| Vertex AI | gemini | Service Account | ✅ | ✅ | ✅ | ⚠️ Cloud Console |
+| Puter | openai | API Key | ✅ | ✅ | ❌ | ❌ |
+
+## Format Translation Coverage
+
+Detected source formats include:
+
+- `openai`
+- `openai-responses`
+- `claude`
+- `gemini`
+
+Target formats include:
+
+- OpenAI chat/Responses
+- Claude
+- Gemini/Gemini-CLI/Antigravity envelope
+- Kiro
+- Cursor
+
+Translations use **OpenAI as the hub format** — all conversions go through OpenAI as intermediate:
+
+```
+Source Format → OpenAI (hub) → Target Format
+```
+
+Translations are selected dynamically based on source payload shape and provider target format.
+
+Additional processing layers in the translation pipeline:
+
+- **Response sanitization** — Strips non-standard fields from OpenAI-format responses (both streaming and non-streaming) to ensure strict SDK compliance
+- **Role normalization** — Converts `developer` → `system` for non-OpenAI targets; merges `system` → `user` for models that reject the system role (GLM, ERNIE)
+- **Think tag extraction** — Parses `<think>...</think>` blocks from content into `reasoning_content` field
+- **Structured output** — Converts OpenAI `response_format.json_schema` to Gemini's `responseMimeType` + `responseSchema`
+
+## Supported API Endpoints
+
+| Endpoint | Format | Handler |
+| -------------------------------------------------- | ------------------ | ------------------------------------------------------------------- |
+| `POST /v1/chat/completions` | OpenAI Chat | `src/sse/handlers/chat.ts` |
+| `POST /v1/messages` | Claude Messages | Same handler (auto-detected) |
+| `POST /v1/responses` | OpenAI Responses | `open-sse/handlers/responsesHandler.ts` |
+| `POST /v1/embeddings` | OpenAI Embeddings | `open-sse/handlers/embeddings.ts` |
+| `GET /v1/embeddings` | Model listing | API route |
+| `POST /v1/images/generations` | OpenAI Images | `open-sse/handlers/imageGeneration.ts` |
+| `GET /v1/images/generations` | Model listing | API route |
+| `POST /v1/providers/{provider}/chat/completions` | OpenAI Chat | Dedicated per-provider with model validation |
+| `POST /v1/providers/{provider}/embeddings` | OpenAI Embeddings | Dedicated per-provider with model validation |
+| `POST /v1/providers/{provider}/images/generations` | OpenAI Images | Dedicated per-provider with model validation |
+| `POST /v1/messages/count_tokens` | Claude Token Count | API route |
+| `GET /v1/models` | OpenAI Models list | API route (chat + embedding + image + custom models) |
+| `GET /api/models/catalog` | Catalog | All models grouped by provider + type |
+| `POST /v1beta/models/*:streamGenerateContent` | Gemini native | API route |
+| `GET/PUT/DELETE /api/settings/proxy` | Proxy Config | Network proxy configuration |
+| `POST /api/settings/proxy/test` | Proxy Connectivity | Proxy health/connectivity test endpoint |
+| `GET/POST/DELETE /api/provider-models` | Provider Models | Provider model metadata backing custom and managed available models |
+
+## Bypass Handler
+
+The bypass handler (`open-sse/utils/bypassHandler.ts`) intercepts known "throwaway" requests from Claude CLI — warmup pings, title extractions, and token counts — and returns a **fake response** without consuming upstream provider tokens. This is triggered only when `User-Agent` contains `claude-cli`.
+
+## Request Logging and Artifacts
+
+The older file-based request logger (`open-sse/utils/requestLogger.ts`) is retained only for
+legacy compatibility. The current runtime contract uses:
+
+- `APP_LOG_TO_FILE=true` for application and audit logs written under `<repo>/logs/`
+- SQLite-backed call log records in `call_logs`
+- `${DATA_DIR}/call_logs/YYYY-MM-DD/...` artifacts when the call log pipeline is enabled
+
+## Failure Modes and Resilience
+
+## 1) Account/Provider Availability
+
+- connection cooldown on retryable upstream failures
+- account fallback before failing request
+- combo model fallback when current model/provider path is exhausted
+
+## 2) Token Expiry
+
+- pre-check and refresh with retry for refreshable providers
+- 401/403 retry after refresh attempt in core path
+
+## 3) Stream Safety
+
+- disconnect-aware stream controller
+- translation stream with end-of-stream flush and `[DONE]` handling
+- usage estimation fallback when provider usage metadata is missing
+
+## 4) Cloud Sync Degradation
+
+- sync errors are surfaced but local runtime continues
+- scheduler has retry-capable logic, but periodic execution currently calls single-attempt sync by default
+
+## 5) Data Integrity
+
+- SQLite schema migrations and auto-upgrade hooks at startup
+- legacy JSON → SQLite migration compatibility path
+
+## 6) SSRF / Outbound URL Guard
+
+- `src/shared/network/outboundUrlGuard.ts` blocks all private/loopback/link-local target URLs before they reach provider executors
+- Provider model discovery and validation routes use `src/shared/network/safeOutboundFetch.ts` which applies the guard before every outbound request
+- Guard errors surface as `URL_GUARD_BLOCKED` with HTTP 422 and are logged to the compliance audit trail via `providerAudit.ts`
+
+## Observability and Operational Signals
+
+Runtime visibility sources:
+
+- console logs from `src/sse/utils/logger.ts`
+- per-request usage aggregates in SQLite (`usage_history`, `call_logs`, `proxy_logs`)
+- four-stage detailed payload captures in SQLite (`request_detail_logs`) when `settings.detailed_logs_enabled=true`
+- textual request status log in `log.txt` (optional/compat)
+- optional application log files under `logs/` when `APP_LOG_TO_FILE=true`
+- optional request artifacts under `${DATA_DIR}/call_logs/` when the call log pipeline is enabled
+- dashboard usage endpoints (`/api/usage/*`) for UI consumption
+
+Detailed request payload capture stores up to four JSON payload stages per routed call:
+
+- raw request received from the client
+- translated request actually sent upstream
+- provider response reconstructed as JSON; streamed responses are compacted to the final summary plus stream metadata
+- final client response returned by OmniRoute; streamed responses are stored in the same compact summary form
+
+## Security-Sensitive Boundaries
+
+- JWT secret (`JWT_SECRET`) secures dashboard session cookie verification/signing
+- Initial password bootstrap (`INITIAL_PASSWORD`) should be explicitly configured for first-run provisioning
+- API key HMAC secret (`API_KEY_SECRET`) secures generated local API key format
+- Provider secrets (API keys/tokens) are persisted in local DB and should be protected at filesystem level
+- Cloud sync endpoints rely on API key auth + machine id semantics
+
+## Environment and Runtime Matrix
+
+Environment variables actively used by code:
+
+- App/auth: `JWT_SECRET`, `INITIAL_PASSWORD`
+- Storage: `DATA_DIR`
+- Compatible node behavior: `ALLOW_MULTI_CONNECTIONS_PER_COMPAT_NODE`
+- Optional storage base override (Linux/macOS when `DATA_DIR` unset): `XDG_CONFIG_HOME`
+- Security hashing: `API_KEY_SECRET`, `MACHINE_ID_SALT`
+- Logging: `APP_LOG_TO_FILE`, `APP_LOG_RETENTION_DAYS`, `CALL_LOG_RETENTION_DAYS`
+- Sync/cloud URLing: `NEXT_PUBLIC_BASE_URL`, `NEXT_PUBLIC_CLOUD_URL`
+- Outbound proxy: `HTTP_PROXY`, `HTTPS_PROXY`, `ALL_PROXY`, `NO_PROXY` and lowercase variants
+- SOCKS5 feature flags: `ENABLE_SOCKS5_PROXY`, `NEXT_PUBLIC_ENABLE_SOCKS5_PROXY`
+- Platform/runtime helpers (not app-specific config): `APPDATA`, `NODE_ENV`, `PORT`, `HOSTNAME`
+
+## Known Architectural Notes
+
+1. `usageDb` and `localDb` share the same base directory policy (`DATA_DIR` -> `XDG_CONFIG_HOME/omniroute` -> `~/.omniroute`) with legacy file migration.
+2. `/api/v1/route.ts` delegates to the same unified catalog builder used by `/api/v1/models` (`src/app/api/v1/models/catalog.ts`) to avoid semantic drift.
+3. Request logger writes full headers/body when enabled; treat log directory as sensitive.
+4. Cloud behavior depends on correct `NEXT_PUBLIC_BASE_URL` and cloud endpoint reachability.
+5. The `open-sse/` directory is published as the `@omniroute/open-sse` **npm workspace package**. Source code imports it via `@omniroute/open-sse/...` (resolved by Next.js `transpilePackages`). File paths in this document still use the directory name `open-sse/` for consistency.
+6. Charts in the dashboard use **Recharts** (SVG-based) for accessible, interactive analytics visualizations (model usage bar charts, provider breakdown tables with success rates).
+7. E2E tests use **Playwright** (`tests/e2e/`), run via `npm run test:e2e`. Unit tests use **Node.js test runner** (`tests/unit/`), run via `npm run test:unit`. Source code under `src/` is **TypeScript** (`.ts`/`.tsx`); the `open-sse/` workspace remains JavaScript (`.js`).
+8. Settings page is organized into 7 tabs: General, Appearance, AI, Security, Routing, Resilience, Advanced. The Resilience page only configures request queue, connection cooldown, provider breaker, and wait-for-cooldown behavior; live breaker runtime state is shown on the Health page.
+9. **Context Relay** strategy (`context-relay`) is split across two layers: `combo.ts` decides if a handoff should be generated, `chat.ts` injects the handoff after account resolution. Handoff data lives in `context_handoffs` SQLite table. This split is intentional because only `chat.ts` knows whether the actual account changed.
+10. **Proxy enforcement** is now comprehensive: `tokenHealthCheck.ts` resolves proxy per connection, `/api/providers/validate` uses `runWithProxyContext`, and `proxyFetch.ts` uses `undici.fetch()` to maintain dispatcher compatibility on Node 22.
+11. **Node.js runtime policy detection**: `/api/settings/require-login` returns `nodeVersion` and `nodeCompatible` fields. The login page renders a warning banner when the runtime falls outside the supported secure Node.js lines.
+
+## Operational Verification Checklist
+
+- Build from source: `npm run build`
+- Build Docker image: `docker build -t omniroute .`
+- Start service and verify:
+- `GET /api/settings`
+- `GET /api/v1/models`
+- CLI target base URL should be `http://<host>:20128/v1` when `PORT=20128`
diff --git a/docs/i18n/az/docs/architecture/CODEBASE_DOCUMENTATION.md b/docs/i18n/az/docs/architecture/CODEBASE_DOCUMENTATION.md
new file mode 100644
index 0000000000..71ccfc1fad
--- /dev/null
+++ b/docs/i18n/az/docs/architecture/CODEBASE_DOCUMENTATION.md
@@ -0,0 +1,591 @@
+# omniroute — Codebase Documentation (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/CODEBASE_DOCUMENTATION.md) · 🇸🇦 [ar](../../ar/docs/CODEBASE_DOCUMENTATION.md) · 🇧🇬 [bg](../../bg/docs/CODEBASE_DOCUMENTATION.md) · 🇧🇩 [bn](../../bn/docs/CODEBASE_DOCUMENTATION.md) · 🇨🇿 [cs](../../cs/docs/CODEBASE_DOCUMENTATION.md) · 🇩🇰 [da](../../da/docs/CODEBASE_DOCUMENTATION.md) · 🇩🇪 [de](../../de/docs/CODEBASE_DOCUMENTATION.md) · 🇪🇸 [es](../../es/docs/CODEBASE_DOCUMENTATION.md) · 🇮🇷 [fa](../../fa/docs/CODEBASE_DOCUMENTATION.md) · 🇫🇮 [fi](../../fi/docs/CODEBASE_DOCUMENTATION.md) · 🇫🇷 [fr](../../fr/docs/CODEBASE_DOCUMENTATION.md) · 🇮🇳 [gu](../../gu/docs/CODEBASE_DOCUMENTATION.md) · 🇮🇱 [he](../../he/docs/CODEBASE_DOCUMENTATION.md) · 🇮🇳 [hi](../../hi/docs/CODEBASE_DOCUMENTATION.md) · 🇭🇺 [hu](../../hu/docs/CODEBASE_DOCUMENTATION.md) · 🇮🇩 [id](../../id/docs/CODEBASE_DOCUMENTATION.md) · 🇮🇹 [it](../../it/docs/CODEBASE_DOCUMENTATION.md) · 🇯🇵 [ja](../../ja/docs/CODEBASE_DOCUMENTATION.md) · 🇰🇷 [ko](../../ko/docs/CODEBASE_DOCUMENTATION.md) · 🇮🇳 [mr](../../mr/docs/CODEBASE_DOCUMENTATION.md) · 🇲🇾 [ms](../../ms/docs/CODEBASE_DOCUMENTATION.md) · 🇳🇱 [nl](../../nl/docs/CODEBASE_DOCUMENTATION.md) · 🇳🇴 [no](../../no/docs/CODEBASE_DOCUMENTATION.md) · 🇵🇭 [phi](../../phi/docs/CODEBASE_DOCUMENTATION.md) · 🇵🇱 [pl](../../pl/docs/CODEBASE_DOCUMENTATION.md) · 🇵🇹 [pt](../../pt/docs/CODEBASE_DOCUMENTATION.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/CODEBASE_DOCUMENTATION.md) · 🇷🇴 [ro](../../ro/docs/CODEBASE_DOCUMENTATION.md) · 🇷🇺 [ru](../../ru/docs/CODEBASE_DOCUMENTATION.md) · 🇸🇰 [sk](../../sk/docs/CODEBASE_DOCUMENTATION.md) · 🇸🇪 [sv](../../sv/docs/CODEBASE_DOCUMENTATION.md) · 🇰🇪 [sw](../../sw/docs/CODEBASE_DOCUMENTATION.md) · 🇮🇳 [ta](../../ta/docs/CODEBASE_DOCUMENTATION.md) · 🇮🇳 [te](../../te/docs/CODEBASE_DOCUMENTATION.md) · 🇹🇭 [th](../../th/docs/CODEBASE_DOCUMENTATION.md) · 🇹🇷 [tr](../../tr/docs/CODEBASE_DOCUMENTATION.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/CODEBASE_DOCUMENTATION.md) · 🇵🇰 [ur](../../ur/docs/CODEBASE_DOCUMENTATION.md) · 🇻🇳 [vi](../../vi/docs/CODEBASE_DOCUMENTATION.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/CODEBASE_DOCUMENTATION.md)
+
+---
+
+> A comprehensive, beginner-friendly guide to the **omniroute** multi-provider AI proxy router.
+
+---
+
+## 1. What Is omniroute?
+
+omniroute is a **proxy router** that sits between AI clients (Claude CLI, Codex, Cursor IDE, etc.) and AI providers (Anthropic, Google, OpenAI, AWS, GitHub, etc.). It solves one big problem:
+
+> **Different AI clients speak different "languages" (API formats), and different AI providers expect different "languages" too.** omniroute translates between them automatically.
+
+Think of it like a universal translator at the United Nations — any delegate can speak any language, and the translator converts it for any other delegate.
+
+---
+
+## 2. Architecture Overview
+
+```mermaid
+graph LR
+ subgraph Clients
+ A[Claude CLI]
+ B[Codex]
+ C[Cursor IDE]
+ D[OpenAI-compatible]
+ end
+
+ subgraph omniroute
+ E[Handler Layer]
+ F[Translator Layer]
+ G[Executor Layer]
+ H[Services Layer]
+ end
+
+ subgraph Providers
+ I[Anthropic Claude]
+ J[Google Gemini]
+ K[OpenAI / Codex]
+ L[GitHub Copilot]
+ M[AWS Kiro]
+ N[Antigravity]
+ O[Cursor API]
+ end
+
+ A --> E
+ B --> E
+ C --> E
+ D --> E
+ E --> F
+ F --> G
+ G --> I
+ G --> J
+ G --> K
+ G --> L
+ G --> M
+ G --> N
+ G --> O
+ H -.-> E
+ H -.-> G
+```
+
+### Core Principle: Hub-and-Spoke Translation
+
+All format translation passes through **OpenAI format as the hub**:
+
+```
+Client Format → [OpenAI Hub] → Provider Format (request)
+Provider Format → [OpenAI Hub] → Client Format (response)
+```
+
+This means you only need **N translators** (one per format) instead of **N²** (every pair).
+
+---
+
+## 3. Project Structure
+
+```
+omniroute/
+├── open-sse/ ← Core proxy library (portable, framework-agnostic)
+│ ├── index.js ← Main entry point, exports everything
+│ ├── config/ ← Configuration & constants
+│ ├── executors/ ← Provider-specific request execution
+│ ├── handlers/ ← Request handling orchestration
+│ ├── services/ ← Business logic (auth, models, fallback, usage)
+│ ├── translator/ ← Format translation engine
+│ │ ├── request/ ← Request translators (8 files)
+│ │ ├── response/ ← Response translators (7 files)
+│ │ └── helpers/ ← Shared translation utilities (6 files)
+│ └── utils/ ← Utility functions
+├── src/ ← Application layer (Express/Worker runtime)
+│ ├── app/ ← Web UI, API routes, middleware
+│ ├── lib/ ← Database, auth, and shared library code
+│ ├── mitm/ ← Man-in-the-middle proxy utilities
+│ ├── models/ ← Database models
+│ ├── shared/ ← Shared utilities (wrappers around open-sse)
+│ ├── sse/ ← SSE endpoint handlers
+│ └── store/ ← State management
+├── data/ ← Runtime data (credentials, logs)
+│ └── provider-credentials.json (external credentials override, gitignored)
+└── tester/ ← Test utilities
+```
+
+---
+
+## 4. Module-by-Module Breakdown
+
+### 4.1 Config (`open-sse/config/`)
+
+The **single source of truth** for all provider configuration.
+
+| File | Purpose |
+| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `constants.ts` | `PROVIDERS` object with base URLs, OAuth credentials (defaults), headers, and default system prompts for every provider. Also defines `HTTP_STATUS`, `ERROR_TYPES`, `COOLDOWN_MS`, `BACKOFF_CONFIG`, and `SKIP_PATTERNS`. |
+| `credentialLoader.ts` | Loads external credentials from `data/provider-credentials.json` and merges them over the hardcoded defaults in `PROVIDERS`. Keeps secrets out of source control while maintaining backwards compatibility. |
+| `providerModels.ts` | Central model registry: maps provider aliases → model IDs. Functions like `getModels()`, `getProviderByAlias()`. |
+| `codexInstructions.ts` | System instructions injected into Codex requests (editing constraints, sandbox rules, approval policies). |
+| `defaultThinkingSignature.ts` | Default "thinking" signatures for Claude and Gemini models. |
+| `ollamaModels.ts` | Schema definition for local Ollama models (name, size, family, quantization). |
+
+#### Credential Loading Flow
+
+```mermaid
+flowchart TD
+ A["App starts"] --> B["constants.ts defines PROVIDERS\nwith hardcoded defaults"]
+ B --> C{"data/provider-credentials.json\nexists?"}
+ C -->|Yes| D["credentialLoader reads JSON"]
+ C -->|No| E["Use hardcoded defaults"]
+ D --> F{"For each provider in JSON"}
+ F --> G{"Provider exists\nin PROVIDERS?"}
+ G -->|No| H["Log warning, skip"]
+ G -->|Yes| I{"Value is object?"}
+ I -->|No| J["Log warning, skip"]
+ I -->|Yes| K["Merge clientId, clientSecret,\ntokenUrl, authUrl, refreshUrl"]
+ K --> F
+ H --> F
+ J --> F
+ F -->|Done| L["PROVIDERS ready with\nmerged credentials"]
+ E --> L
+```
+
+---
+
+### 4.2 Executors (`open-sse/executors/`)
+
+Executors encapsulate **provider-specific logic** using the **Strategy Pattern**. Each executor overrides base methods as needed.
+
+```mermaid
+classDiagram
+ class BaseExecutor {
+ +buildUrl(model, stream, options)
+ +buildHeaders(credentials, stream, body)
+ +transformRequest(body, model, stream, credentials)
+ +execute(url, options)
+ +shouldRetry(status, error)
+ +refreshCredentials(credentials, log)
+ }
+
+ class DefaultExecutor {
+ +refreshCredentials()
+ }
+
+ class AntigravityExecutor {
+ +buildUrl()
+ +buildHeaders()
+ +transformRequest()
+ +shouldRetry()
+ +refreshCredentials()
+ }
+
+ class CursorExecutor {
+ +buildUrl()
+ +buildHeaders()
+ +transformRequest()
+ +parseResponse()
+ +generateChecksum()
+ }
+
+ class KiroExecutor {
+ +buildUrl()
+ +buildHeaders()
+ +transformRequest()
+ +parseEventStream()
+ +refreshCredentials()
+ }
+
+ BaseExecutor <|-- DefaultExecutor
+ BaseExecutor <|-- AntigravityExecutor
+ BaseExecutor <|-- CursorExecutor
+ BaseExecutor <|-- KiroExecutor
+ BaseExecutor <|-- CodexExecutor
+ BaseExecutor <|-- GeminiCLIExecutor
+ BaseExecutor <|-- GithubExecutor
+```
+
+| Executor | Provider | Key Specializations |
+| ---------------- | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------- |
+| `base.ts` | — | Abstract base: URL building, headers, retry logic, credential refresh |
+| `default.ts` | Claude, Gemini, OpenAI, GLM, Kimi, MiniMax | Generic OAuth token refresh for standard providers |
+| `antigravity.ts` | Google Cloud Code | Project/session ID generation, multi-URL fallback, custom retry parsing from error messages ("reset after 2h7m23s") |
+| `cursor.ts` | Cursor IDE | **Most complex**: SHA-256 checksum auth, Protobuf request encoding, binary EventStream → SSE response parsing |
+| `codex.ts` | OpenAI Codex | Injects system instructions, manages thinking levels, removes unsupported parameters |
+| `gemini-cli.ts` | Google Gemini CLI | Custom URL building (`streamGenerateContent`), Google OAuth token refresh |
+| `github.ts` | GitHub Copilot | Dual token system (GitHub OAuth + Copilot token), VSCode header mimicking |
+| `kiro.ts` | AWS CodeWhisperer | AWS EventStream binary parsing, AMZN event frames, token estimation |
+| `index.ts` | — | Factory: maps provider name → executor class, with default fallback |
+
+---
+
+### 4.3 Handlers (`open-sse/handlers/`)
+
+The **orchestration layer** — coordinates translation, execution, streaming, and error handling.
+
+| File | Purpose |
+| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `chatCore.ts` | **Central orchestrator** (~600 lines). Handles the complete request lifecycle: format detection → translation → executor dispatch → streaming/non-streaming response → token refresh → error handling → usage logging. |
+| `responsesHandler.ts` | Adapter for OpenAI's Responses API: converts Responses format → Chat Completions → sends to `chatCore` → converts SSE back to Responses format. |
+| `embeddings.ts` | Embedding generation handler: resolves embedding model → provider, dispatches to provider API, returns OpenAI-compatible embedding response. Supports 6+ providers. |
+| `imageGeneration.ts` | Image generation handler: resolves image model → provider, supports OpenAI-compatible, Gemini-image (Antigravity), and fallback (Nebius) modes. Returns base64 or URL images. |
+
+#### Request Lifecycle (chatCore.ts)
+
+```mermaid
+sequenceDiagram
+ participant Client
+ participant chatCore
+ participant Translator
+ participant Executor
+ participant Provider
+
+ Client->>chatCore: Request (any format)
+ chatCore->>chatCore: Detect source format
+ chatCore->>chatCore: Check bypass patterns
+ chatCore->>chatCore: Resolve model & provider
+ chatCore->>Translator: Translate request (source → OpenAI → target)
+ chatCore->>Executor: Get executor for provider
+ Executor->>Executor: Build URL, headers, transform request
+ Executor->>Executor: Refresh credentials if needed
+ Executor->>Provider: HTTP fetch (streaming or non-streaming)
+
+ alt Streaming
+ Provider-->>chatCore: SSE stream
+ chatCore->>chatCore: Pipe through SSE transform stream
+ Note over chatCore: Transform stream translates<br/>each chunk: target → OpenAI → source
+ chatCore-->>Client: Translated SSE stream
+ else Non-streaming
+ Provider-->>chatCore: JSON response
+ chatCore->>Translator: Translate response
+ chatCore-->>Client: Translated JSON
+ end
+
+ alt Error (401, 429, 500...)
+ chatCore->>Executor: Retry with credential refresh
+ chatCore->>chatCore: Account fallback logic
+ end
+```
+
+---
+
+### 4.4 Services (`open-sse/services/`)
+
+Business logic that supports the handlers and executors.
+
+| File | Purpose |
+| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `provider.ts` | **Format detection** (`detectFormat`): analyzes request body structure to identify Claude/OpenAI/Gemini/Antigravity/Responses formats (includes `max_tokens` heuristic for Claude). Also: URL building, header building, thinking config normalization. Supports `openai-compatible-*` and `anthropic-compatible-*` dynamic providers. |
+| `model.ts` | Model string parsing (`claude/model-name` → `{provider: "claude", model: "model-name"}`), alias resolution with collision detection, input sanitization (rejects path traversal/control chars), and model info resolution with async alias getter support. |
+| `accountFallback.ts` | Rate-limit handling: exponential backoff (1s → 2s → 4s → max 2min), account cooldown management, error classification (which errors trigger fallback vs. not). |
+| `tokenRefresh.ts` | OAuth token refresh for **every provider**: Google (Gemini, Antigravity), Claude, Codex, Qwen, Qoder, GitHub (OAuth + Copilot dual-token), Kiro (AWS SSO OIDC + Social Auth). Includes in-flight promise deduplication cache and retry with exponential backoff. |
+| `combo.ts` | **Combo models**: chains of fallback models. If model A fails with a fallback-eligible error, try model B, then C, etc. Returns actual upstream status codes. |
+| `usage.ts` | Fetches quota/usage data from provider APIs (GitHub Copilot quotas, Antigravity model quotas, Codex rate limits, Kiro usage breakdowns, Claude settings). |
+| `accountSelector.ts` | Smart account selection with scoring algorithm: considers priority, health status, round-robin position, and cooldown state to pick the optimal account for each request. |
+| `contextManager.ts` | Request context lifecycle management: creates and tracks per-request context objects with metadata (request ID, timestamps, provider info) for debugging and logging. |
+| `ipFilter.ts` | IP-based access control: supports allowlist and blocklist modes. Validates client IP against configured rules before processing API requests. |
+| `sessionManager.ts` | Session tracking with client fingerprinting: tracks active sessions using hashed client identifiers, monitors request counts, and provides session metrics. |
+| `signatureCache.ts` | Request signature-based deduplication cache: prevents duplicate requests by caching recent request signatures and returning cached responses for identical requests within a time window. |
+| `systemPrompt.ts` | Global system prompt injection: prepends or appends a configurable system prompt to all requests, with per-provider compatibility handling. |
+| `thinkingBudget.ts` | Reasoning token budget management: supports passthrough, auto (strip thinking config), custom (fixed budget), and adaptive (complexity-scaled) modes for controlling thinking/reasoning tokens. |
+| `wildcardRouter.ts` | Wildcard model pattern routing: resolves wildcard patterns (e.g., `*/claude-*`) to concrete provider/model pairs based on availability and priority. |
+
+#### Token Refresh Deduplication
+
+```mermaid
+sequenceDiagram
+ participant R1 as Request 1
+ participant R2 as Request 2
+ participant Cache as refreshPromiseCache
+ participant OAuth as OAuth Provider
+
+ R1->>Cache: getAccessToken("gemini", token)
+ Cache->>Cache: No in-flight promise
+ Cache->>OAuth: Start refresh
+ R2->>Cache: getAccessToken("gemini", token)
+ Cache->>Cache: Found in-flight promise
+ Cache-->>R2: Return existing promise
+ OAuth-->>Cache: New access token
+ Cache-->>R1: New access token
+ Cache-->>R2: Same access token (shared)
+ Cache->>Cache: Delete cache entry
+```
+
+#### Account Fallback State Machine
+
+```mermaid
+stateDiagram-v2
+ [*] --> Active
+ Active --> Error: Request fails (401/429/500)
+ Error --> Cooldown: Apply backoff
+ Cooldown --> Active: Cooldown expires
+ Active --> Active: Request succeeds (reset backoff)
+
+ state Error {
+ [*] --> ClassifyError
+ ClassifyError --> ShouldFallback: Rate limit / Auth / Transient
+ ClassifyError --> NoFallback: 400 Bad Request
+ }
+
+ state Cooldown {
+ [*] --> ExponentialBackoff
+ ExponentialBackoff: Level 0 = 1s
+ ExponentialBackoff: Level 1 = 2s
+ ExponentialBackoff: Level 2 = 4s
+ ExponentialBackoff: Max = 2min
+ }
+```
+
+#### Combo Model Chain
+
+```mermaid
+flowchart LR
+ A["Request with\ncombo model"] --> B["Model A"]
+ B -->|"2xx Success"| C["Return response"]
+ B -->|"429/401/500"| D{"Fallback\neligible?"}
+ D -->|Yes| E["Model B"]
+ D -->|No| F["Return error"]
+ E -->|"2xx Success"| C
+ E -->|"429/401/500"| G{"Fallback\neligible?"}
+ G -->|Yes| H["Model C"]
+ G -->|No| F
+ H -->|"2xx Success"| C
+ H -->|"Fail"| I["All failed →\nReturn last status"]
+```
+
+---
+
+### 4.5 Translator (`open-sse/translator/`)
+
+The **format translation engine** using a self-registering plugin system.
+
+#### Архитектура
+
+```mermaid
+graph TD
+ subgraph "Request Translation"
+ A["Claude → OpenAI"]
+ B["Gemini → OpenAI"]
+ C["Antigravity → OpenAI"]
+ D["OpenAI Responses → OpenAI"]
+ E["OpenAI → Claude"]
+ F["OpenAI → Gemini"]
+ G["OpenAI → Kiro"]
+ H["OpenAI → Cursor"]
+ end
+
+ subgraph "Response Translation"
+ I["Claude → OpenAI"]
+ J["Gemini → OpenAI"]
+ K["Kiro → OpenAI"]
+ L["Cursor → OpenAI"]
+ M["OpenAI → Claude"]
+ N["OpenAI → Antigravity"]
+ O["OpenAI → Responses"]
+ end
+```
+
+| Directory | Files | Description |
+| ------------ | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `request/` | 8 translators | Convert request bodies between formats. Each file self-registers via `register(from, to, fn)` on import. |
+| `response/` | 7 translators | Convert streaming response chunks between formats. Handles SSE event types, thinking blocks, tool calls. |
+| `helpers/` | 6 helpers | Shared utilities: `claudeHelper` (system prompt extraction, thinking config), `geminiHelper` (parts/contents mapping), `openaiHelper` (format filtering), `toolCallHelper` (ID generation, missing response injection), `maxTokensHelper`, `responsesApiHelper`. |
+| `index.ts` | — | Translation engine: `translateRequest()`, `translateResponse()`, state management, registry. |
+| `formats.ts` | — | Format constants: `OPENAI`, `CLAUDE`, `GEMINI`, `ANTIGRAVITY`, `KIRO`, `CURSOR`, `OPENAI_RESPONSES`. |
+
+#### Key Design: Self-Registering Plugins
+
+```javascript
+// Each translator file calls register() on import:
+import { register } from "../index.js";
+register("claude", "openai", translateClaudeToOpenAI);
+
+// The index.js imports all translator files, triggering registration:
+import "./request/claude-to-openai.js"; // ← self-registers
+```
+
+---
+
+### 4.6 Utils (`open-sse/utils/`)
+
+| File | Purpose |
+| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| `error.ts` | Error response building (OpenAI-compatible format), upstream error parsing, Antigravity retry-time extraction from error messages, SSE error streaming. |
+| `stream.ts` | **SSE Transform Stream** — the core streaming pipeline. Two modes: `TRANSLATE` (full format translation) and `PASSTHROUGH` (normalize + extract usage). Handles chunk buffering, usage estimation, content length tracking. Per-stream encoder/decoder instances avoid shared state. |
+| `streamHelpers.ts` | Low-level SSE utilities: `parseSSELine` (whitespace-tolerant), `hasValuableContent` (filters empty chunks for OpenAI/Claude/Gemini), `fixInvalidId`, `formatSSE` (format-aware SSE serialization with `perf_metrics` cleanup). |
+| `usageTracking.ts` | Token usage extraction from any format (Claude/OpenAI/Gemini/Responses), estimation with separate tool/message char-per-token ratios, buffer addition (2000 tokens safety margin), format-specific field filtering, console logging with ANSI colors. |
+| `requestLogger.ts` | Legacy file-based request logging helper kept for compatibility. Current deployments should prefer `APP_LOG_TO_FILE` for application logs and the call log pipeline for persisted request artifacts. |
+| `bypassHandler.ts` | Intercepts specific patterns from Claude CLI (title extraction, warmup, count) and returns fake responses without calling any provider. Supports both streaming and non-streaming. Intentionally limited to Claude CLI scope. |
+| `networkProxy.ts` | Resolves outbound proxy URL for a given provider with precedence: provider-specific config → global config → environment variables (`HTTPS_PROXY`/`HTTP_PROXY`/`ALL_PROXY`). Supports `NO_PROXY` exclusions. Caches config for 30s. |
+
+#### SSE Streaming Pipeline
+
+```mermaid
+flowchart TD
+ A["Provider SSE stream"] --> B["TextDecoder\n(per-stream instance)"]
+ B --> C["Buffer lines\n(split on newline)"]
+ C --> D["parseSSELine()\n(trim whitespace, parse JSON)"]
+ D --> E{"Mode?"}
+ E -->|TRANSLATE| F["translateResponse()\ntarget → OpenAI → source"]
+ E -->|PASSTHROUGH| G["fixInvalidId()\nnormalize chunk"]
+ F --> H["hasValuableContent()\nfilter empty chunks"]
+ G --> H
+ H -->|"Has content"| I["extractUsage()\ntrack token counts"]
+ H -->|"Empty"| J["Skip chunk"]
+ I --> K["formatSSE()\nserialize + clean perf_metrics"]
+ K --> L["TextEncoder\n(per-stream instance)"]
+ L --> M["Enqueue to\nclient stream"]
+
+ style A fill:#f9f,stroke:#333
+ style M fill:#9f9,stroke:#333
+```
+
+#### Request Logger Session Structure
+
+```
+logs/
+└── claude_gemini_claude-sonnet_20260208_143045/
+ ├── 1_req_client.json ← Raw client request
+ ├── 2_req_source.json ← After initial conversion
+ ├── 3_req_openai.json ← OpenAI intermediate format
+ ├── 4_req_target.json ← Final target format
+ ├── 5_res_provider.txt ← Provider SSE chunks (streaming)
+ ├── 5_res_provider.json ← Provider response (non-streaming)
+ ├── 6_res_openai.txt ← OpenAI intermediate chunks
+ ├── 7_res_client.txt ← Client-facing SSE chunks
+ └── 6_error.json ← Error details (if any)
+```
+
+---
+
+### 4.7 Application Layer (`src/`)
+
+| Directory | Purpose |
+| ------------- | ---------------------------------------------------------------------- |
+| `src/app/` | Web UI, API routes, Express middleware, OAuth callback handlers |
+| `src/lib/` | Database access (`localDb.ts`, `usageDb.ts`), authentication, shared |
+| `src/mitm/` | Man-in-the-middle proxy utilities for intercepting provider traffic |
+| `src/models/` | Database model definitions |
+| `src/shared/` | Wrappers around open-sse functions (provider, stream, error, etc.) |
+| `src/sse/` | SSE endpoint handlers that wire the open-sse library to Express routes |
+| `src/store/` | Application state management |
+
+#### Notable API Routes
+
+| Route | Methods | Purpose |
+| --------------------------------------------- | --------------- | ------------------------------------------------------------------------------------- |
+| `/api/provider-models` | GET/POST/DELETE | CRUD for custom models per provider |
+| `/api/models/catalog` | GET | Aggregated catalog of all models (chat, embedding, image, custom) grouped by provider |
+| `/api/settings/proxy` | GET/PUT/DELETE | Hierarchical outbound proxy configuration (`global/providers/combos/keys`) |
+| `/api/settings/proxy/test` | POST | Validates proxy connectivity and returns public IP/latency |
+| `/v1/providers/[provider]/chat/completions` | POST | Dedicated per-provider chat completions with model validation |
+| `/v1/providers/[provider]/embeddings` | POST | Dedicated per-provider embeddings with model validation |
+| `/v1/providers/[provider]/images/generations` | POST | Dedicated per-provider image generation with model validation |
+| `/api/settings/ip-filter` | GET/PUT | IP allowlist/blocklist management |
+| `/api/settings/thinking-budget` | GET/PUT | Reasoning token budget configuration (passthrough/auto/custom/adaptive) |
+| `/api/settings/system-prompt` | GET/PUT | Global system prompt injection for all requests |
+| `/api/sessions` | GET | Active session tracking and metrics |
+| `/api/rate-limits` | GET | Per-account rate limit status |
+
+---
+
+## 5. Key Design Patterns
+
+### 5.1 Hub-and-Spoke Translation
+
+All formats translate through **OpenAI format as the hub**. Adding a new provider only requires writing **one pair** of translators (to/from OpenAI), not N pairs.
+
+### 5.2 Executor Strategy Pattern
+
+Each provider has a dedicated executor class inheriting from `BaseExecutor`. The factory in `executors/index.ts` selects the right one at runtime.
+
+### 5.3 Self-Registering Plugin System
+
+Translator modules register themselves on import via `register()`. Adding a new translator is just creating a file and importing it.
+
+### 5.4 Account Fallback with Exponential Backoff
+
+When a provider returns 429/401/500, the system can switch to the next account, applying exponential cooldowns (1s → 2s → 4s → max 2min).
+
+### 5.5 Combo Model Chains
+
+A "combo" groups multiple `provider/model` strings. If the first fails, fallback to the next automatically.
+
+### 5.6 Stateful Streaming Translation
+
+Response translation maintains state across SSE chunks (thinking block tracking, tool call accumulation, content block indexing) via the `initState()` mechanism.
+
+### 5.7 Usage Safety Buffer
+
+A 2000-token buffer is added to reported usage to prevent clients from hitting context window limits due to overhead from system prompts and format translation.
+
+---
+
+## 6. Supported Formats
+
+| Format | Direction | Identifier |
+| ----------------------- | --------------- | ------------------ |
+| OpenAI Chat Completions | source + target | `openai` |
+| OpenAI Responses API | source + target | `openai-responses` |
+| Anthropic Claude | source + target | `claude` |
+| Google Gemini | source + target | `gemini` |
+| Google Gemini CLI | target only | `gemini-cli` |
+| Antigravity | source + target | `antigravity` |
+| AWS Kiro | target only | `kiro` |
+| Cursor | target only | `cursor` |
+
+---
+
+## 7. Supported Providers
+
+| Provider | Auth Method | Executor | Key Notes |
+| ------------------------ | ---------------------- | ----------- | --------------------------------------------- |
+| Anthropic Claude | API key or OAuth | Default | Uses `x-api-key` header |
+| Google Gemini | API key or OAuth | Default | Uses `x-goog-api-key` header |
+| Google Gemini CLI | OAuth | GeminiCLI | Uses `streamGenerateContent` endpoint |
+| Antigravity | OAuth | Antigravity | Multi-URL fallback, custom retry parsing |
+| OpenAI | API key | Default | Standard Bearer auth |
+| Codex | OAuth | Codex | Injects system instructions, manages thinking |
+| GitHub Copilot | OAuth + Copilot token | Github | Dual token, VSCode header mimicking |
+| Kiro (AWS) | AWS SSO OIDC or Social | Kiro | Binary EventStream parsing |
+| Cursor IDE | Checksum auth | Cursor | Protobuf encoding, SHA-256 checksums |
+| Qwen | OAuth | Default | Standard auth |
+| Qoder | OAuth (Basic + Bearer) | Default | Dual auth header |
+| OpenRouter | API key | Default | Standard Bearer auth |
+| GLM, Kimi, MiniMax | API key | Default | Claude-compatible, use `x-api-key` |
+| `openai-compatible-*` | API key | Default | Dynamic: any OpenAI-compatible endpoint |
+| `anthropic-compatible-*` | API key | Default | Dynamic: any Claude-compatible endpoint |
+
+---
+
+## 8. Data Flow Summary
+
+### Streaming Request
+
+```mermaid
+flowchart LR
+ A["Client"] --> B["detectFormat()"]
+ B --> C["translateRequest()\nsource → OpenAI → target"]
+ C --> D["Executor\nbuildUrl + buildHeaders"]
+ D --> E["fetch(providerURL)"]
+ E --> F["createSSEStream()\nTRANSLATE mode"]
+ F --> G["parseSSELine()"]
+ G --> H["translateResponse()\ntarget → OpenAI → source"]
+ H --> I["extractUsage()\n+ addBuffer"]
+ I --> J["formatSSE()"]
+ J --> K["Client receives\ntranslated SSE"]
+ K --> L["logUsage()\nsaveRequestUsage()"]
+```
+
+### Non-Streaming Request
+
+```mermaid
+flowchart LR
+ A["Client"] --> B["detectFormat()"]
+ B --> C["translateRequest()\nsource → OpenAI → target"]
+ C --> D["Executor.execute()"]
+ D --> E["translateResponse()\ntarget → OpenAI → source"]
+ E --> F["Return JSON\nresponse"]
+```
+
+### Bypass Flow (Claude CLI)
+
+```mermaid
+flowchart LR
+ A["Claude CLI request"] --> B{"Match bypass\npattern?"}
+ B -->|"Title/Warmup/Count"| C["Generate fake\nOpenAI response"]
+ B -->|"No match"| D["Normal flow"]
+ C --> E["Translate to\nsource format"]
+ E --> F["Return without\ncalling provider"]
+```
diff --git a/docs/i18n/az/docs/cloudflare-zero-trust-guide.md b/docs/i18n/az/docs/cloudflare-zero-trust-guide.md
new file mode 100644
index 0000000000..94c3d250a6
--- /dev/null
+++ b/docs/i18n/az/docs/cloudflare-zero-trust-guide.md
@@ -0,0 +1,106 @@
+# Guia Completo: Cloudflare Tunnel & Zero Trust (Split-Port) (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/cloudflare-zero-trust-guide.md) · 🇪🇸 [es](../../es/docs/cloudflare-zero-trust-guide.md) · 🇫🇷 [fr](../../fr/docs/cloudflare-zero-trust-guide.md) · 🇩🇪 [de](../../de/docs/cloudflare-zero-trust-guide.md) · 🇮🇹 [it](../../it/docs/cloudflare-zero-trust-guide.md) · 🇷🇺 [ru](../../ru/docs/cloudflare-zero-trust-guide.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/cloudflare-zero-trust-guide.md) · 🇯🇵 [ja](../../ja/docs/cloudflare-zero-trust-guide.md) · 🇰🇷 [ko](../../ko/docs/cloudflare-zero-trust-guide.md) · 🇸🇦 [ar](../../ar/docs/cloudflare-zero-trust-guide.md) · 🇮🇳 [hi](../../hi/docs/cloudflare-zero-trust-guide.md) · 🇮🇳 [in](../../in/docs/cloudflare-zero-trust-guide.md) · 🇹🇭 [th](../../th/docs/cloudflare-zero-trust-guide.md) · 🇻🇳 [vi](../../vi/docs/cloudflare-zero-trust-guide.md) · 🇮🇩 [id](../../id/docs/cloudflare-zero-trust-guide.md) · 🇲🇾 [ms](../../ms/docs/cloudflare-zero-trust-guide.md) · 🇳🇱 [nl](../../nl/docs/cloudflare-zero-trust-guide.md) · 🇵🇱 [pl](../../pl/docs/cloudflare-zero-trust-guide.md) · 🇸🇪 [sv](../../sv/docs/cloudflare-zero-trust-guide.md) · 🇳🇴 [no](../../no/docs/cloudflare-zero-trust-guide.md) · 🇩🇰 [da](../../da/docs/cloudflare-zero-trust-guide.md) · 🇫🇮 [fi](../../fi/docs/cloudflare-zero-trust-guide.md) · 🇵🇹 [pt](../../pt/docs/cloudflare-zero-trust-guide.md) · 🇷🇴 [ro](../../ro/docs/cloudflare-zero-trust-guide.md) · 🇭🇺 [hu](../../hu/docs/cloudflare-zero-trust-guide.md) · 🇧🇬 [bg](../../bg/docs/cloudflare-zero-trust-guide.md) · 🇸🇰 [sk](../../sk/docs/cloudflare-zero-trust-guide.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/cloudflare-zero-trust-guide.md) · 🇮🇱 [he](../../he/docs/cloudflare-zero-trust-guide.md) · 🇵🇭 [phi](../../phi/docs/cloudflare-zero-trust-guide.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/cloudflare-zero-trust-guide.md) · 🇨🇿 [cs](../../cs/docs/cloudflare-zero-trust-guide.md) · 🇹🇷 [tr](../../tr/docs/cloudflare-zero-trust-guide.md)
+
+---
+
+Este guia documenta o padrão ouro de infraestrutura de rede para proteger o **OmniRoute** e expor sua aplicação de forma segura para a internet, **sem abrir nenhuma porta (Zero Inbound)**.
+
+## O que foi feito na sua VM?
+
+Nós ativamos o OmniRoute em modo **Split-Port** através do PM2:
+
+- **Porta \`20128\`:** Roda **apenas a API** `/v1`.
+- **Porta \`20129\`:** Roda **apenas o Dashboard** Administrativo visual.
+
+Além disso, o serviço interno exige \`REQUIRE_API_KEY=true\`, o que significa que nenhum agente pode consumir os endpoints da API sem enviar um "Bearer Token" legítimo gerado na aba API Keys do Painel.
+
+Isso nos permite criar duas regras completamente independentes na rede. É aqui que entra o **Cloudflare Tunnel (cloudflared)**.
+
+---
+
+## 1. Como Criar o Túnel na Cloudflare
+
+O utilitário \`cloudflared\` já está instalado na sua máquina. Siga os passos na nuvem:
+
+1. Acesse seu painel **Cloudflare Zero Trust** (One.dash.cloudflare.com).
+2. No menu à esquerda, vá em **Networks > Tunnels**.
+3. Clique em **Add a Tunnel**, escolha **Cloudflared** e dê o nome \`OmniRoute-VM\`.
+4. Ele vai gerar um comando na tela chamado "Install and run a connector". **Você só precisa copiar o Token (a string longa após `--token`)**.
+5. Logue via SSH na sua máquina virtual (ou Terminal do Proxmox) e execute:
+ \`\`\`bash
+ # Inicia e amarra o túnel permanentemente à sua conta
+ cloudflared service install SEU_TOKEN_GIGANTE_AQUI
+ \`\`\`
+
+---
+
+## 2. Configurando o Roteamento (Public Hostnames)
+
+Ainda na tela do Tunnel recém-criado, vá para a aba **Public Hostnames** e adicione as **duas** rotas, aproveitando a separação que fizemos:
+
+### Rota 1: API Segura (Limitada)
+
+- **Subdomain:** \`api\`
+- **Domain:** \`seuglobal.com.br\` (escolha seu domínio real)
+- **Service Type:** \`HTTP\`
+- **URL:** \`127.0.0.1:20128\` _(Porta interna da API)_
+
+### Rota 2: Painel Zero Trust (Fechado)
+
+- **Subdomain:** \`omniroute\` ou \`painel\`
+- **Domain:** \`seuglobal.com.br\`
+- **Service Type:** \`HTTP\`
+- **URL:** \`127.0.0.1:20129\` _(Porta interna do App/Visual)_
+
+Neste momento, a conectividade "Física" está resolvida. Agora vamos blindar de verdade.
+
+---
+
+## 3. Blindando o Painel com Zero Trust (Access)
+
+Nenhuma senha local protege melhor o seu painel do que remover totalmente o acesso a ele da internet aberta.
+
+1. No painel Zero Trust, vá em **Access > Applications > Add an application**.
+2. Selecione **Self-hosted**.
+3. Em **Application name**, coloque \`Painel OmniRoute\`.
+4. Em **Application domain**, coloque \`omniroute.seuglobal.com.br\` (O mesmo que você fez na "Rota 2").
+5. Clique em **Next**.
+6. Em **Rule action**, escolha \`Allow\`. Em nome da Rule coloque \`Admin Apenas\`.
+7. Em **Include**, no seletor de "Selector" escolha \`Emails\` e digite o seu email, por exemplo \`[email protected]\`.
+8. Salve (`Add application`).
+
+> **O que isso fez:** Se você tentar abrir \`omniroute.seuglobal.com.br\`, não cai mais na sua aplicação OmniRoute! Cai numa tela elegante da Cloudflare pedindo para digitar seu email. Somente se você (ou o email que você botou) for digitado lá, ele recebe no Outlook/Gmail um código de 6 dígitos temporário que libera o túnel até a porta \`20129\`.
+
+---
+
+## 4. Limitando e Protegendo a API com Rate Limit (WAF)
+
+O Dashboard do Zero Trust não se aplica à rota da API (\`api.seuglobal.com.br\`), porque é um acesso programático via ferramentas automatizadas (agentes) sem navegador. Para ele, usaremos o Firewall principal (WAF) da Cloudflare.
+
+1. Acesse o **Painel Normal** da Cloudflare (dash.cloudflare.com) e entre no seu Domínio.
+2. No menu esquerdo, vá em **Security > WAF > Rate limiting rules**.
+3. Clique em **Create rule**.
+4. **Name:** \`Anti-Abuso OmniRoute API\`
+5. **If incoming requests match...**
+ - Escolha em Field: \`Hostname\`
+ - Operator: \`equals\`
+ - Value: \`api.seuglobal.com.br\`
+6. Em **With the same characteristics:** Mantenha \`IP\`.
+7. Nos limites (Limit):
+ - **When requests exceed:** \`50\`
+ - **Period:** \`1 minute\`
+8. No final, em **Action**: \`Block\` (Bloquear) e decida se o bloqueio dura por 1 minuto ou 1 hora.
+9. **Deploy**.
+
+> **O que isso fez:** Ninguém pode mandar mais de 50 requisições num período de 60 segundos na sua URL de API. Como você roda vários agentes e os consumos por trás já batem rate limit e já rastreiam tokens, isso é apenas uma medida na Borda da Internet (Edge Layer) que protege sua Instância On-Premises de cair por estresse térmico antes mesmo do tráfego descer pelo túnel.
+
+---
+
+## Finalização
+
+1. A sua VM **não possui nenhuma porta exposta** em `/etc/ufw`.
+2. O OmniRoute só conversa HTTPS saindo (\`cloudflared\`) e não recebendo TCP direto do mundo.
+3. Seus requets pro OpenAI são ofuscados porque configuramos eles globalmente pra passar em um Proxy SOCKS5 (A nuvem não liga pro SOCKS5 porque ela vem Inbound).
+4. Seu painel web tem 2-Factor com Email.
+5. Sua API está ratelimitada na borda pela Cloudflare e só trafega Bearer Tokens.
diff --git a/docs/i18n/az/docs/features/context-relay.md b/docs/i18n/az/docs/features/context-relay.md
new file mode 100644
index 0000000000..c59fc4f180
--- /dev/null
+++ b/docs/i18n/az/docs/features/context-relay.md
@@ -0,0 +1,130 @@
+# Context Relay (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../../docs/features/context-relay.md) · 🇪🇸 [es](../../../es/docs/features/context-relay.md) · 🇫🇷 [fr](../../../fr/docs/features/context-relay.md) · 🇩🇪 [de](../../../de/docs/features/context-relay.md) · 🇮🇹 [it](../../../it/docs/features/context-relay.md) · 🇷🇺 [ru](../../../ru/docs/features/context-relay.md) · 🇨🇳 [zh-CN](../../../zh-CN/docs/features/context-relay.md) · 🇯🇵 [ja](../../../ja/docs/features/context-relay.md) · 🇰🇷 [ko](../../../ko/docs/features/context-relay.md) · 🇸🇦 [ar](../../../ar/docs/features/context-relay.md) · 🇮🇳 [hi](../../../hi/docs/features/context-relay.md) · 🇮🇳 [in](../../../in/docs/features/context-relay.md) · 🇹🇭 [th](../../../th/docs/features/context-relay.md) · 🇻🇳 [vi](../../../vi/docs/features/context-relay.md) · 🇮🇩 [id](../../../id/docs/features/context-relay.md) · 🇲🇾 [ms](../../../ms/docs/features/context-relay.md) · 🇳🇱 [nl](../../../nl/docs/features/context-relay.md) · 🇵🇱 [pl](../../../pl/docs/features/context-relay.md) · 🇸🇪 [sv](../../../sv/docs/features/context-relay.md) · 🇳🇴 [no](../../../no/docs/features/context-relay.md) · 🇩🇰 [da](../../../da/docs/features/context-relay.md) · 🇫🇮 [fi](../../../fi/docs/features/context-relay.md) · 🇵🇹 [pt](../../../pt/docs/features/context-relay.md) · 🇷🇴 [ro](../../../ro/docs/features/context-relay.md) · 🇭🇺 [hu](../../../hu/docs/features/context-relay.md) · 🇧🇬 [bg](../../../bg/docs/features/context-relay.md) · 🇸🇰 [sk](../../../sk/docs/features/context-relay.md) · 🇺🇦 [uk-UA](../../../uk-UA/docs/features/context-relay.md) · 🇮🇱 [he](../../../he/docs/features/context-relay.md) · 🇵🇭 [phi](../../../phi/docs/features/context-relay.md) · 🇧🇷 [pt-BR](../../../pt-BR/docs/features/context-relay.md) · 🇨🇿 [cs](../../../cs/docs/features/context-relay.md) · 🇹🇷 [tr](../../../tr/docs/features/context-relay.md)
+
+---
+
+`context-relay` is a combo strategy that keeps session continuity when the active account
+rotates before the conversation is finished.
+
+The current runtime behaves like priority routing for model selection, then adds a
+handoff layer on top:
+
+- before the active account is exhausted, OmniRoute generates a compact structured summary
+- after authentication selects a different account for the same session, OmniRoute injects
+ that summary as a system message into the next request
+- once the handoff is consumed successfully, it is removed from storage
+
+## When To Use It
+
+Use `context-relay` when all of the following are true:
+
+- the combo is expected to rotate between multiple accounts of the same provider
+- losing short-term conversational continuity would hurt task quality
+- the provider exposes enough quota information to predict an approaching account limit
+
+This is most useful for long-running coding or research sessions that may outlive a single
+account window.
+
+## Runtime Flow
+
+The current behavior is intentionally split across two runtime layers.
+
+### 0% to 84% quota used
+
+No handoff is generated. Requests behave like normal priority routing.
+
+### 85% to 94% quota used
+
+If the active provider is enabled in `handoffProviders`, OmniRoute generates a structured
+handoff summary in the background before the account is fully exhausted.
+
+Important details:
+
+- the default warning threshold is `0.85`
+- the hard stop for generation is `0.95`
+- only one in-flight handoff generation is allowed per `sessionId + comboName`
+- if an active handoff already exists for that session/combo, no duplicate summary is generated
+
+### 95% or more quota used
+
+No new handoff is generated. At this point the system is already in or near exhaustion and
+the runtime avoids scheduling another summary request.
+
+### After account rotation
+
+When the next request for the same session resolves to a different authenticated account,
+OmniRoute prepends the stored handoff as a system message. Injection happens only after the
+real account switch is known.
+
+## Handoff Payload
+
+The persisted handoff payload is stored in `context_handoffs` and includes:
+
+- `sessionId`
+- `comboName`
+- `fromAccount`
+- `summary`
+- `keyDecisions`
+- `taskProgress`
+- `activeEntities`
+- `messageCount`
+- `model`
+- `warningThresholdPct`
+- `generatedAt`
+- `expiresAt`
+
+The summary model is instructed to return a JSON object with this structure:
+
+```json
+{
+ "summary": "Dense summary of what matters for continuity",
+ "keyDecisions": ["Decision 1", "Decision 2"],
+ "taskProgress": "What is done, what is pending, and the next step",
+ "activeEntities": ["fileA.ts", "feature X", "provider Y"]
+}
+```
+
+At injection time, OmniRoute converts that payload into a `<context_handoff>` system
+message so the next account can continue with the correct local context.
+
+## Конфигурация
+
+`context-relay` supports these config fields:
+
+- `handoffThreshold`: warning threshold for summary generation, default `0.85`
+- `handoffModel`: optional model override used only for summary generation
+- `handoffProviders`: allowlist of providers allowed to trigger handoff generation
+
+Global defaults can be configured in Settings, and combo-specific values can override them
+in the Combos page.
+
+## Architectural Note
+
+The current implementation does not use a standalone `handleContextRelayCombo` handler.
+
+Instead:
+
+- `open-sse/services/combo.ts` decides whether a successful turn should generate a handoff
+- `src/sse/handlers/chat.ts` injects the handoff only after authentication resolves the
+ actual account used for the request
+
+This split is intentional in the current codebase because the combo loop alone does not know
+whether the request stayed on the same account or actually switched accounts.
+
+## Limitations
+
+- Effective runtime support is currently centered on `codex` quota rotation.
+- `handoffProviders` is already modeled as a config surface, but real handoff generation
+ still depends on provider-specific quota plumbing.
+- The summary is intentionally compact and recent-history based; it is not a full transcript
+ replay mechanism.
+- Handoffs are scoped by `sessionId + comboName` and expire automatically.
+- If the session does not switch accounts, the stored handoff is not injected.
+
+## Recommended Usage Pattern
+
+- use multiple accounts from the same provider
+- keep stable `sessionId` values across the session
+- set `handoffThreshold` early enough to leave room for the background summary request
+- treat the feature as continuity assistance, not as a replacement for persistent memory
diff --git a/docs/i18n/az/docs/frameworks/A2A-SERVER.md b/docs/i18n/az/docs/frameworks/A2A-SERVER.md
new file mode 100644
index 0000000000..9f7065d71d
--- /dev/null
+++ b/docs/i18n/az/docs/frameworks/A2A-SERVER.md
@@ -0,0 +1,200 @@
+# OmniRoute A2A Server Documentation (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/A2A-SERVER.md) · 🇸🇦 [ar](../../ar/docs/A2A-SERVER.md) · 🇧🇬 [bg](../../bg/docs/A2A-SERVER.md) · 🇧🇩 [bn](../../bn/docs/A2A-SERVER.md) · 🇨🇿 [cs](../../cs/docs/A2A-SERVER.md) · 🇩🇰 [da](../../da/docs/A2A-SERVER.md) · 🇩🇪 [de](../../de/docs/A2A-SERVER.md) · 🇪🇸 [es](../../es/docs/A2A-SERVER.md) · 🇮🇷 [fa](../../fa/docs/A2A-SERVER.md) · 🇫🇮 [fi](../../fi/docs/A2A-SERVER.md) · 🇫🇷 [fr](../../fr/docs/A2A-SERVER.md) · 🇮🇳 [gu](../../gu/docs/A2A-SERVER.md) · 🇮🇱 [he](../../he/docs/A2A-SERVER.md) · 🇮🇳 [hi](../../hi/docs/A2A-SERVER.md) · 🇭🇺 [hu](../../hu/docs/A2A-SERVER.md) · 🇮🇩 [id](../../id/docs/A2A-SERVER.md) · 🇮🇹 [it](../../it/docs/A2A-SERVER.md) · 🇯🇵 [ja](../../ja/docs/A2A-SERVER.md) · 🇰🇷 [ko](../../ko/docs/A2A-SERVER.md) · 🇮🇳 [mr](../../mr/docs/A2A-SERVER.md) · 🇲🇾 [ms](../../ms/docs/A2A-SERVER.md) · 🇳🇱 [nl](../../nl/docs/A2A-SERVER.md) · 🇳🇴 [no](../../no/docs/A2A-SERVER.md) · 🇵🇭 [phi](../../phi/docs/A2A-SERVER.md) · 🇵🇱 [pl](../../pl/docs/A2A-SERVER.md) · 🇵🇹 [pt](../../pt/docs/A2A-SERVER.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/A2A-SERVER.md) · 🇷🇴 [ro](../../ro/docs/A2A-SERVER.md) · 🇷🇺 [ru](../../ru/docs/A2A-SERVER.md) · 🇸🇰 [sk](../../sk/docs/A2A-SERVER.md) · 🇸🇪 [sv](../../sv/docs/A2A-SERVER.md) · 🇰🇪 [sw](../../sw/docs/A2A-SERVER.md) · 🇮🇳 [ta](../../ta/docs/A2A-SERVER.md) · 🇮🇳 [te](../../te/docs/A2A-SERVER.md) · 🇹🇭 [th](../../th/docs/A2A-SERVER.md) · 🇹🇷 [tr](../../tr/docs/A2A-SERVER.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/A2A-SERVER.md) · 🇵🇰 [ur](../../ur/docs/A2A-SERVER.md) · 🇻🇳 [vi](../../vi/docs/A2A-SERVER.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/A2A-SERVER.md)
+
+---
+
+> Agent-to-Agent Protocol v0.3 — OmniRoute as an intelligent routing agent
+
+## Agent Discovery
+
+```bash
+curl http://localhost:20128/.well-known/agent.json
+```
+
+Returns the Agent Card describing OmniRoute's capabilities, skills, and authentication requirements.
+
+---
+
+## Authentication
+
+All `/a2a` requests require an API key via the `Authorization` header:
+
+```
+Authorization: Bearer YOUR_OMNIROUTE_API_KEY
+```
+
+If no API key is configured on the server, authentication is bypassed.
+
+---
+
+## JSON-RPC 2.0 Methods
+
+### `message/send` — Synchronous Execution
+
+Sends a message to a skill and waits for the complete response.
+
+```bash
+curl -X POST http://localhost:20128/a2a \
+ -H "Content-Type: application/json" \
+ -H "Authorization: Bearer YOUR_KEY" \
+ -d '{
+ "jsonrpc": "2.0",
+ "id": "1",
+ "method": "message/send",
+ "params": {
+ "skill": "smart-routing",
+ "messages": [{"role": "user", "content": "Write a hello world in Python"}],
+ "metadata": {"model": "auto", "combo": "fast-coding"}
+ }
+ }'
+```
+
+**Response:**
+
+```json
+{
+ "jsonrpc": "2.0",
+ "id": "1",
+ "result": {
+ "task": { "id": "uuid", "state": "completed" },
+ "artifacts": [{ "type": "text", "content": "..." }],
+ "metadata": {
+ "routing_explanation": "Selected claude-sonnet via provider \"anthropic\" (latency: 1200ms, cost: $0.003)",
+ "cost_envelope": { "estimated": 0.005, "actual": 0.003, "currency": "USD" },
+ "resilience_trace": [
+ { "event": "primary_selected", "provider": "anthropic", "timestamp": "..." }
+ ],
+ "policy_verdict": { "allowed": true, "reason": "within budget and quota limits" }
+ }
+ }
+}
+```
+
+### `message/stream` — SSE Streaming
+
+Same as `message/send` but returns Server-Sent Events for real-time streaming.
+
+```bash
+curl -N -X POST http://localhost:20128/a2a \
+ -H "Content-Type: application/json" \
+ -H "Authorization: Bearer YOUR_KEY" \
+ -d '{
+ "jsonrpc": "2.0",
+ "id": "1",
+ "method": "message/stream",
+ "params": {
+ "skill": "smart-routing",
+ "messages": [{"role": "user", "content": "Explain quantum computing"}]
+ }
+ }'
+```
+
+**SSE Events:**
+
+```
+data: {"jsonrpc":"2.0","method":"message/stream","params":{"task":{"id":"...","state":"working"},"chunk":{"type":"text","content":"..."}}}
+
+: heartbeat 2026-03-03T17:00:00Z
+
+data: {"jsonrpc":"2.0","method":"message/stream","params":{"task":{"id":"...","state":"completed"},"metadata":{...}}}
+```
+
+### `tasks/get` — Query Task Status
+
+```bash
+curl -X POST http://localhost:20128/a2a \
+ -H "Content-Type: application/json" \
+ -H "Authorization: Bearer YOUR_KEY" \
+ -d '{"jsonrpc":"2.0","id":"2","method":"tasks/get","params":{"taskId":"TASK_UUID"}}'
+```
+
+### `tasks/cancel` — Cancel a Task
+
+```bash
+curl -X POST http://localhost:20128/a2a \
+ -H "Content-Type: application/json" \
+ -H "Authorization: Bearer YOUR_KEY" \
+ -d '{"jsonrpc":"2.0","id":"3","method":"tasks/cancel","params":{"taskId":"TASK_UUID"}}'
+```
+
+---
+
+## Available Skills
+
+| Skill | Description |
+| :----------------- | :------------------------------------------------------------------------------------------------------------------------------ |
+| `smart-routing` | Routes prompts through OmniRoute's intelligent pipeline. Returns response with routing explanation, cost, and resilience trace. |
+| `quota-management` | Answers natural-language queries about provider quotas, suggests free combos, and provides quota rankings. |
+
+---
+
+## Task Lifecycle
+
+```
+submitted → working → completed
+ → failed
+ → cancelled
+```
+
+- Tasks expire after 5 minutes (configurable)
+- Terminal states: `completed`, `failed`, `cancelled`
+- Event log tracks every state transition
+
+---
+
+## Error Codes
+
+| Code | Meaning |
+| :----- | :----------------------------- |
+| -32700 | Parse error (invalid JSON) |
+| -32600 | Invalid request / Unauthorized |
+| -32601 | Method or skill not found |
+| -32602 | Invalid params |
+| -32603 | Internal error |
+
+---
+
+## Integration Examples
+
+### Python (requests)
+
+```python
+import requests
+
+resp = requests.post("http://localhost:20128/a2a", json={
+ "jsonrpc": "2.0", "id": "1",
+ "method": "message/send",
+ "params": {
+ "skill": "smart-routing",
+ "messages": [{"role": "user", "content": "Hello"}]
+ }
+}, headers={"Authorization": "Bearer YOUR_KEY"})
+
+result = resp.json()["result"]
+print(result["artifacts"][0]["content"])
+print(result["metadata"]["routing_explanation"])
+```
+
+### TypeScript (fetch)
+
+```typescript
+const resp = await fetch("http://localhost:20128/a2a", {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ Authorization: "Bearer YOUR_KEY",
+ },
+ body: JSON.stringify({
+ jsonrpc: "2.0",
+ id: "1",
+ method: "message/send",
+ params: {
+ skill: "smart-routing",
+ messages: [{ role: "user", content: "Hello" }],
+ },
+ }),
+});
+const { result } = await resp.json();
+console.log(result.metadata.routing_explanation);
+```
diff --git a/docs/i18n/az/docs/frameworks/MCP-SERVER.md b/docs/i18n/az/docs/frameworks/MCP-SERVER.md
new file mode 100644
index 0000000000..0f7cf403b4
--- /dev/null
+++ b/docs/i18n/az/docs/frameworks/MCP-SERVER.md
@@ -0,0 +1,87 @@
+# OmniRoute MCP Server Documentation (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/MCP-SERVER.md) · 🇸🇦 [ar](../../ar/docs/MCP-SERVER.md) · 🇧🇬 [bg](../../bg/docs/MCP-SERVER.md) · 🇧🇩 [bn](../../bn/docs/MCP-SERVER.md) · 🇨🇿 [cs](../../cs/docs/MCP-SERVER.md) · 🇩🇰 [da](../../da/docs/MCP-SERVER.md) · 🇩🇪 [de](../../de/docs/MCP-SERVER.md) · 🇪🇸 [es](../../es/docs/MCP-SERVER.md) · 🇮🇷 [fa](../../fa/docs/MCP-SERVER.md) · 🇫🇮 [fi](../../fi/docs/MCP-SERVER.md) · 🇫🇷 [fr](../../fr/docs/MCP-SERVER.md) · 🇮🇳 [gu](../../gu/docs/MCP-SERVER.md) · 🇮🇱 [he](../../he/docs/MCP-SERVER.md) · 🇮🇳 [hi](../../hi/docs/MCP-SERVER.md) · 🇭🇺 [hu](../../hu/docs/MCP-SERVER.md) · 🇮🇩 [id](../../id/docs/MCP-SERVER.md) · 🇮🇹 [it](../../it/docs/MCP-SERVER.md) · 🇯🇵 [ja](../../ja/docs/MCP-SERVER.md) · 🇰🇷 [ko](../../ko/docs/MCP-SERVER.md) · 🇮🇳 [mr](../../mr/docs/MCP-SERVER.md) · 🇲🇾 [ms](../../ms/docs/MCP-SERVER.md) · 🇳🇱 [nl](../../nl/docs/MCP-SERVER.md) · 🇳🇴 [no](../../no/docs/MCP-SERVER.md) · 🇵🇭 [phi](../../phi/docs/MCP-SERVER.md) · 🇵🇱 [pl](../../pl/docs/MCP-SERVER.md) · 🇵🇹 [pt](../../pt/docs/MCP-SERVER.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/MCP-SERVER.md) · 🇷🇴 [ro](../../ro/docs/MCP-SERVER.md) · 🇷🇺 [ru](../../ru/docs/MCP-SERVER.md) · 🇸🇰 [sk](../../sk/docs/MCP-SERVER.md) · 🇸🇪 [sv](../../sv/docs/MCP-SERVER.md) · 🇰🇪 [sw](../../sw/docs/MCP-SERVER.md) · 🇮🇳 [ta](../../ta/docs/MCP-SERVER.md) · 🇮🇳 [te](../../te/docs/MCP-SERVER.md) · 🇹🇭 [th](../../th/docs/MCP-SERVER.md) · 🇹🇷 [tr](../../tr/docs/MCP-SERVER.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/MCP-SERVER.md) · 🇵🇰 [ur](../../ur/docs/MCP-SERVER.md) · 🇻🇳 [vi](../../vi/docs/MCP-SERVER.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/MCP-SERVER.md)
+
+---
+
+> Model Context Protocol server with 16 intelligent tools
+
+## Инсталиране
+
+OmniRoute MCP is built-in. Start it with:
+
+```bash
+omniroute --mcp
+```
+
+Or via the open-sse transport:
+
+```bash
+# HTTP streamable transport (port 20130)
+omniroute --dev # MCP auto-starts on /mcp endpoint
+```
+
+## IDE Configuration
+
+See [IDE Configs](integrations/ide-configs.md) for Antigravity, Cursor, Copilot, and Claude Desktop setup.
+
+---
+
+## Essential Tools (8)
+
+| Tool | Description |
+| :------------------------------ | :--------------------------------------- |
+| `omniroute_get_health` | Gateway health, circuit breakers, uptime |
+| `omniroute_list_combos` | All configured combos with models |
+| `omniroute_get_combo_metrics` | Performance metrics for a specific combo |
+| `omniroute_switch_combo` | Switch active combo by ID/name |
+| `omniroute_check_quota` | Quota status per provider or all |
+| `omniroute_route_request` | Send a chat completion through OmniRoute |
+| `omniroute_cost_report` | Cost analytics for a time period |
+| `omniroute_list_models_catalog` | Full model catalog with capabilities |
+
+## Advanced Tools (8)
+
+| Tool | Description |
+| :--------------------------------- | :---------------------------------------------------------- |
+| `omniroute_simulate_route` | Dry-run routing simulation with fallback tree |
+| `omniroute_set_budget_guard` | Session budget with degrade/block/alert actions |
+| `omniroute_set_resilience_profile` | Apply conservative/balanced/aggressive preset |
+| `omniroute_test_combo` | Live-test all models in a combo via a real upstream request |
+| `omniroute_get_provider_metrics` | Detailed metrics for one provider |
+| `omniroute_best_combo_for_task` | Task-fitness recommendation with alternatives |
+| `omniroute_explain_route` | Explain a past routing decision |
+| `omniroute_get_session_snapshot` | Full session state: costs, tokens, errors |
+
+## Authentication
+
+MCP tools are authenticated via API key scopes. Each tool requires specific scopes:
+
+| Scope | Tools |
+| :------------- | :----------------------------------------------- |
+| `read:health` | get_health, get_provider_metrics |
+| `read:combos` | list_combos, get_combo_metrics |
+| `write:combos` | switch_combo |
+| `read:quota` | check_quota |
+| `write:route` | route_request, simulate_route, test_combo |
+| `read:usage` | cost_report, get_session_snapshot, explain_route |
+| `write:config` | set_budget_guard, set_resilience_profile |
+| `read:models` | list_models_catalog, best_combo_for_task |
+
+## Audit Logging
+
+Every tool call is logged to `mcp_tool_audit` with:
+
+- Tool name, arguments, result
+- Duration (ms), success/failure
+- API key hash, timestamp
+
+## Files
+
+| File | Purpose |
+| :------------------------------------------- | :------------------------------------------ |
+| `open-sse/mcp-server/server.ts` | MCP server creation + 16 tool registrations |
+| `open-sse/mcp-server/transport.ts` | Stdio + HTTP transport |
+| `open-sse/mcp-server/auth.ts` | API key + scope validation |
+| `open-sse/mcp-server/audit.ts` | Tool call audit logging |
+| `open-sse/mcp-server/tools/advancedTools.ts` | 8 advanced tool handlers |
diff --git a/docs/i18n/az/docs/guides/FEATURES.md b/docs/i18n/az/docs/guides/FEATURES.md
new file mode 100644
index 0000000000..3ab88be342
--- /dev/null
+++ b/docs/i18n/az/docs/guides/FEATURES.md
@@ -0,0 +1,270 @@
+# OmniRoute — Dashboard Features Gallery (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/FEATURES.md) · 🇸🇦 [ar](../../ar/docs/FEATURES.md) · 🇧🇬 [bg](../../bg/docs/FEATURES.md) · 🇧🇩 [bn](../../bn/docs/FEATURES.md) · 🇨🇿 [cs](../../cs/docs/FEATURES.md) · 🇩🇰 [da](../../da/docs/FEATURES.md) · 🇩🇪 [de](../../de/docs/FEATURES.md) · 🇪🇸 [es](../../es/docs/FEATURES.md) · 🇮🇷 [fa](../../fa/docs/FEATURES.md) · 🇫🇮 [fi](../../fi/docs/FEATURES.md) · 🇫🇷 [fr](../../fr/docs/FEATURES.md) · 🇮🇳 [gu](../../gu/docs/FEATURES.md) · 🇮🇱 [he](../../he/docs/FEATURES.md) · 🇮🇳 [hi](../../hi/docs/FEATURES.md) · 🇭🇺 [hu](../../hu/docs/FEATURES.md) · 🇮🇩 [id](../../id/docs/FEATURES.md) · 🇮🇹 [it](../../it/docs/FEATURES.md) · 🇯🇵 [ja](../../ja/docs/FEATURES.md) · 🇰🇷 [ko](../../ko/docs/FEATURES.md) · 🇮🇳 [mr](../../mr/docs/FEATURES.md) · 🇲🇾 [ms](../../ms/docs/FEATURES.md) · 🇳🇱 [nl](../../nl/docs/FEATURES.md) · 🇳🇴 [no](../../no/docs/FEATURES.md) · 🇵🇭 [phi](../../phi/docs/FEATURES.md) · 🇵🇱 [pl](../../pl/docs/FEATURES.md) · 🇵🇹 [pt](../../pt/docs/FEATURES.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/FEATURES.md) · 🇷🇴 [ro](../../ro/docs/FEATURES.md) · 🇷🇺 [ru](../../ru/docs/FEATURES.md) · 🇸🇰 [sk](../../sk/docs/FEATURES.md) · 🇸🇪 [sv](../../sv/docs/FEATURES.md) · 🇰🇪 [sw](../../sw/docs/FEATURES.md) · 🇮🇳 [ta](../../ta/docs/FEATURES.md) · 🇮🇳 [te](../../te/docs/FEATURES.md) · 🇹🇭 [th](../../th/docs/FEATURES.md) · 🇹🇷 [tr](../../tr/docs/FEATURES.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/FEATURES.md) · 🇵🇰 [ur](../../ur/docs/FEATURES.md) · 🇻🇳 [vi](../../vi/docs/FEATURES.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/FEATURES.md)
+
+---
+
+Visual guide to every section of the OmniRoute dashboard.
+
+---
+
+## 🔌 Providers
+
+Manage AI provider connections: OAuth providers (Claude Code, Codex, Gemini CLI), API key providers (Groq, DeepSeek, OpenRouter), and free providers (Qoder, Qwen, Kiro). Kiro accounts include credit balance tracking — remaining credits, total allowance, and renewal date visible in Dashboard → Usage.
+
+![Providers Dashboard](screenshots/01-providers.png)
+
+---
+
+## 🎨 Combos
+
+Create model routing combos with 13 strategies: priority, weighted, round-robin, random, least-used, cost-optimized, strict-random, auto, fill-first, p2c, lkgp, context-optimized, and **context-relay**. Each combo chains multiple models with automatic fallback and includes quick templates and readiness checks.
+
+Recent combo improvements:
+
+- **Structured combo builder** — create each step by selecting provider, model, and exact account/connection
+- **Repeated provider support** — reuse the same provider many times in one combo as long as the `(provider, model, connection)` tuple is unique
+- **Combo target health** — analytics and health surfaces now distinguish individual combo targets/steps instead of collapsing everything into model strings
+- **Composite tier ordering** — `defaultTier -> fallbackTier` now influences runtime execution/fallback order for top-level combo steps
+
+![Combos Dashboard](screenshots/02-combos.png)
+
+---
+
+## 📊 Analytics
+
+Comprehensive usage analytics with token consumption, cost estimates, activity heatmaps, weekly distribution charts, and per-provider breakdowns.
+
+![Analytics Dashboard](screenshots/03-analytics.png)
+
+---
+
+## 🏥 System Health
+
+Real-time monitoring: uptime, memory, version, latency percentiles (p50/p95/p99), cache statistics, provider circuit breaker states, active quota-monitored sessions, and combo target health.
+
+![Health Dashboard](screenshots/04-health.png)
+
+---
+
+## 🔧 Translator Playground
+
+Four modes for debugging API translations: **Playground** (format converter), **Chat Tester** (live requests), **Test Bench** (batch tests), and **Live Monitor** (real-time stream).
+
+![Translator Playground](screenshots/05-translator.png)
+
+---
+
+## 🎮 Model Playground _(v2.0.9+)_
+
+Test any model directly from the dashboard. Select provider, model, and endpoint, write prompts with Monaco Editor, stream responses in real-time, abort mid-stream, and view timing metrics.
+
+---
+
+## 🎨 Themes _(v2.0.5+)_
+
+Customizable color themes for the entire dashboard. Choose from 7 preset colors (Coral, Blue, Red, Green, Violet, Orange, Cyan) or create a custom theme by picking any hex color. Supports light, dark, and system mode.
+
+---
+
+## ⚙️ Settings
+
+Comprehensive settings panel with tabs:
+
+- **General** — System storage, backup management (export/import database)
+- **Appearance** — Theme selector (dark/light/system), color theme presets and custom colors, health log visibility, sidebar item visibility controls
+- **Security** — API endpoint protection, custom provider blocking, IP filtering, session info
+- **Routing** — Model aliases, background task degradation
+- **Resilience** — Rate limit persistence, circuit breaker tuning, auto-disable banned accounts, provider expiration monitoring, **Context Relay** handoff threshold and summary model configuration
+- **Advanced** — Configuration overrides, configuration audit trail, fallback degradation mode
+
+![Settings Dashboard](screenshots/06-settings.png)
+
+---
+
+## 🔧 CLI Tools
+
+One-click configuration for AI coding tools: Claude Code, Codex CLI, Gemini CLI, OpenClaw, Kilo Code, Antigravity, Cline, Continue, Cursor, and Factory Droid. Features automated config apply/reset, connection profiles, and model mapping.
+
+![CLI Tools Dashboard](screenshots/07-cli-tools.png)
+
+---
+
+## 🤖 CLI Agents _(v2.0.11+)_
+
+Dashboard for discovering and managing CLI agents. Shows a grid of 14 built-in agents (Codex, Claude, Goose, Gemini CLI, OpenClaw, Aider, OpenCode, Cline, Qwen Code, ForgeCode, Amazon Q, Open Interpreter, Cursor CLI, Warp) with:
+
+- **Installation status** — Installed / Not Found with version detection
+- **Protocol badges** — stdio, HTTP, etc.
+- **Custom agents** — Register any CLI tool via form (name, binary, version command, spawn args)
+- **CLI Fingerprint Matching** — Per-provider toggle to match native CLI request signatures, reducing ban risk while preserving proxy IP
+
+---
+
+## 🔗 Context Relay _(v3.5.5+)_
+
+A combo strategy that preserves session continuity when account rotation happens mid-conversation. Before the active account is exhausted, OmniRoute generates a structured handoff summary in the background. After the next request resolves to a different account, the summary is injected as a system message so the new account continues with full context.
+
+Configurable via combo-level or global settings:
+
+- **Handoff Threshold** — Quota usage percentage that triggers summary generation (default 85%)
+- **Max Messages For Summary** — How much recent history to condense
+- **Summary Model** — Optional override model for generating the handoff summary
+
+Currently supports Codex account rotation. See [Context Relay documentation](features/context-relay.md).
+
+---
+
+## 🛡️ Proxy Hardening _(v3.5.5+)_
+
+Comprehensive proxy configuration enforcement across the entire request pipeline:
+
+- **Token Health Check** — Background OAuth refresh now resolves proxy config per connection, preventing failures in proxy-required environments
+- **API Key Validation** — Provider key validation (`POST /api/providers/validate`) routes through `runWithProxyContext`, honoring provider-level and global proxy settings
+- **undici Dispatcher Fix** — Proxy dispatchers use undici's own fetch implementation instead of Node's built-in fetch, resolving `invalid onRequestStart method` errors on Node.js 22
+- **Node.js Version Detection** — Login page proactively detects incompatible Node.js versions (24+) and displays a warning banner with instructions to use Node 22 LTS
+
+---
+
+## 📧 Email Privacy Masking _(v3.5.6+)_
+
+OAuth account emails are now masked in the provider dashboard (e.g. `di*****@g****.com`) to prevent accidental exposure when sharing screenshots or recording demos. The full email address remains accessible via hover tooltip (`title` attribute).
+
+---
+
+## 👁️ Model Visibility Toggle _(v3.5.6+)_
+
+The provider page model list now includes:
+
+- **Real-time search/filter bar** — Quickly find specific models
+- **Per-model visibility toggle** (👁 icon) — Hidden models are grayed out and excluded from the `/v1/models` catalog
+- **Active-count badge** (`N/M active`) — Shows at a glance how many models are enabled vs total
+
+---
+
+## 🔧 OAuth Env Repair _(v3.6.1+)_
+
+One-click "Repair env" action for OAuth providers that restores missing environment variables and fixes broken auth state. Accessible from `Dashboard → Providers → [OAuth Provider] → Repair env`. Automatically detects and repairs:
+
+- Missing OAuth client credentials
+- Corrupted env file entries
+- Backup path sanitization
+
+---
+
+## 🗑️ Uninstall / Full Uninstall _(v3.6.2+)_
+
+Clean removal scripts for all installation methods:
+
+| Command | Action |
+| ------------------------ | ----------------------------------------------------------------------------------- |
+| `npm run uninstall` | Removes the system app but **keeps your DB and configurations** in `~/.omniroute`. |
+| `npm run uninstall:full` | Removes the app AND permanently **erases all configurations, keys, and databases**. |
+
+---
+
+## 🖼️ Media _(v2.0.3+)_
+
+Generate images, videos, and music from the dashboard. Supports OpenAI, xAI, Together, Hyperbolic, SD WebUI, ComfyUI, AnimateDiff, Stable Audio Open, and MusicGen.
+
+---
+
+## 📝 Request Logs
+
+Real-time request logging with filtering by provider, model, account, and API key. Shows status codes, token usage, latency, and response details.
+
+![Usage Logs](screenshots/08-usage.png)
+
+---
+
+## 🌐 API Endpoint
+
+Your unified API endpoint with capability breakdown: Chat Completions, Responses API, Embeddings, Image Generation, Reranking, Audio Transcription, Text-to-Speech, Moderations, and registered API keys. Cloudflare Quick Tunnel integration and cloud proxy support for remote access.
+
+![Endpoint Dashboard](screenshots/09-endpoint.png)
+
+---
+
+## 🔑 API Key Management
+
+Create, scope, and revoke API keys. Each key can be restricted to specific models/providers with full access or read-only permissions. Visual key management with usage tracking.
+
+---
+
+## 📋 Audit Log
+
+Administrative action tracking with filtering by action type, actor, target, IP address, and timestamp. Full security event history.
+
+---
+
+## 🖥️ Desktop Application
+
+Native Electron desktop app for Windows, macOS, and Linux. Run OmniRoute as a standalone application with system tray integration, offline support, auto-update, and one-click install.
+
+Key features:
+
+- Server readiness polling (no blank screen on cold start)
+- System tray with port management
+- Content Security Policy
+- Single-instance lock
+- Auto-update on restart
+- Platform-conditional UI (macOS traffic lights, Windows/Linux default titlebar)
+- Hardened Electron build packaging — symlinked `node_modules` in the standalone bundle is detected and rejected before packaging, preventing runtime dependency on the build machine (v2.5.5+)
+- **Graceful shutdown** — Electron `before-quit` shuts down Next.js cleanly, preventing SQLite WAL database locks (v3.6.2+)
+
+📖 See [`electron/README.md`](../electron/README.md) for full documentation.
+
+---
+
+## 🌐 V1 WebSocket Bridge _(v3.6.6+)_
+
+OmniRoute now supports **OpenAI-compatible WebSocket clients** via the `/v1/ws` upgrade endpoint. The custom `scripts/v1-ws-bridge.mjs` server wraps Next.js and upgrades WS connections to full bidirectional streaming sessions. Authentication uses the same API key or session cookie as HTTP requests.
+
+Key behaviours:
+
+- WS upgrade validated by `src/lib/ws/handshake.ts` before the connection is established
+- Streams terminated cleanly on session close or upstream error
+- Works alongside the existing HTTP+SSE streaming path simultaneously
+
+---
+
+## 🔑 Sync Tokens & Config Bundle _(v3.6.6+)_
+
+Multi-device and external operator access is now possible via **scoped sync tokens**:
+
+- **`POST /api/sync/tokens`** — Issue a new sync token (scoped, with optional expiry)
+- **`DELETE /api/sync/tokens/:id`** — Revoke a token
+- **`GET /api/sync/bundle`** — Download a versioned, ETag-keyed JSON snapshot of all non-sensitive settings (passwords redacted)
+
+The config bundle is built by `src/lib/sync/bundle.ts`. Consumers compare the `ETag` response header to detect changes without re-downloading the full payload.
+
+---
+
+## 🧠 GLM Thinking Preset _(v3.6.6+)_
+
+**GLM Thinking (`glmt`)** is now a registered first-class provider: 65 536 max output tokens, 24 576 thinking budget, 900 s default timeout, Claude-compatible API format, and shared usage sync with the GLM family.
+
+**Hybrid token counting** also lands in v3.6.6: when a Claude-compatible provider exposes `/messages/count_tokens`, OmniRoute calls it before large requests with graceful estimation fallback.
+
+---
+
+## 🛡️ Safe Outbound Fetch & SSRF Guard _(v3.6.6+)_
+
+All provider validation and model discovery calls now go through a two-layer outbound guard:
+
+1. **URL guard** (`src/shared/network/outboundUrlGuard.ts`) — Blocks private/loopback/link-local IP ranges before the socket is opened.
+2. **Safe fetch wrapper** (`src/shared/network/safeOutboundFetch.ts`) — Applies the URL guard, normalises timeouts, and retries transient errors with exponential backoff.
+
+Guard violations surface as HTTP 422 (`URL_GUARD_BLOCKED`) and are written to the compliance audit log via `providerAudit.ts`.
+
+---
+
+## 🔄 Cooldown-Aware Retries _(v3.6.6+)_
+
+Chat requests now **automatically retry** when an upstream provider returns a model-scoped cooldown. Configurable via `REQUEST_RETRY` (default: 2) and `MAX_RETRY_INTERVAL_SEC` (default: 30 s). Rate-limit header learning improved across `x-ratelimit-reset-requests`, `x-ratelimit-reset-tokens`, and `Retry-After` — per-model cooldown state is visible in the Resilience dashboard.
+
+---
+
+## 📋 Compliance Audit v2 _(v3.6.6+)_
+
+The audit log has been expanded with cursor-based pagination, request context enrichment (request ID, user agent, IP), structured auth events, provider CRUD events with diff context, and SSRF-blocked validation logging. New events emitted by `src/lib/compliance/providerAudit.ts`.
diff --git a/docs/i18n/az/docs/guides/I18N.md b/docs/i18n/az/docs/guides/I18N.md
new file mode 100644
index 0000000000..e72d17e859
--- /dev/null
+++ b/docs/i18n/az/docs/guides/I18N.md
@@ -0,0 +1,441 @@
+# i18n — Internationalization Guide (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/I18N.md) · 🇸🇦 [ar](../../ar/docs/I18N.md) · 🇧🇬 [bg](../../bg/docs/I18N.md) · 🇧🇩 [bn](../../bn/docs/I18N.md) · 🇨🇿 [cs](../../cs/docs/I18N.md) · 🇩🇰 [da](../../da/docs/I18N.md) · 🇩🇪 [de](../../de/docs/I18N.md) · 🇪🇸 [es](../../es/docs/I18N.md) · 🇮🇷 [fa](../../fa/docs/I18N.md) · 🇫🇮 [fi](../../fi/docs/I18N.md) · 🇫🇷 [fr](../../fr/docs/I18N.md) · 🇮🇳 [gu](../../gu/docs/I18N.md) · 🇮🇱 [he](../../he/docs/I18N.md) · 🇮🇳 [hi](../../hi/docs/I18N.md) · 🇭🇺 [hu](../../hu/docs/I18N.md) · 🇮🇩 [id](../../id/docs/I18N.md) · 🇮🇹 [it](../../it/docs/I18N.md) · 🇯🇵 [ja](../../ja/docs/I18N.md) · 🇰🇷 [ko](../../ko/docs/I18N.md) · 🇮🇳 [mr](../../mr/docs/I18N.md) · 🇲🇾 [ms](../../ms/docs/I18N.md) · 🇳🇱 [nl](../../nl/docs/I18N.md) · 🇳🇴 [no](../../no/docs/I18N.md) · 🇵🇭 [phi](../../phi/docs/I18N.md) · 🇵🇱 [pl](../../pl/docs/I18N.md) · 🇵🇹 [pt](../../pt/docs/I18N.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/I18N.md) · 🇷🇴 [ro](../../ro/docs/I18N.md) · 🇷🇺 [ru](../../ru/docs/I18N.md) · 🇸🇰 [sk](../../sk/docs/I18N.md) · 🇸🇪 [sv](../../sv/docs/I18N.md) · 🇰🇪 [sw](../../sw/docs/I18N.md) · 🇮🇳 [ta](../../ta/docs/I18N.md) · 🇮🇳 [te](../../te/docs/I18N.md) · 🇹🇭 [th](../../th/docs/I18N.md) · 🇹🇷 [tr](../../tr/docs/I18N.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/I18N.md) · 🇵🇰 [ur](../../ur/docs/I18N.md) · 🇻🇳 [vi](../../vi/docs/I18N.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/I18N.md)
+
+---
+
+OmniRoute supports **30 languages** with full dashboard UI translation, translated documentation, and RTL support for Arabic and Hebrew.
+
+## Quick Reference
+
+| Task | Command |
+| ---------------------- | --------------------------------------------------------------------------------------- |
+| Generate translations | `node scripts/i18n/generate-multilang.mjs messages` |
+| Translate docs (LLM) | `python3 scripts/i18n_autotranslate.py --api-url <url> --api-key <key> --model <model>` |
+| Validate a locale | `python3 scripts/validate_translation.py quick -l cs` |
+| Check code keys | `python3 scripts/check_translations.py` |
+| Generate QA report | `node scripts/i18n/generate-qa-checklist.mjs` |
+| Visual QA (Playwright) | `node scripts/i18n/run-visual-qa.mjs` |
+
+## Архитектура
+
+### Source of Truth
+
+- **UI strings**: `src/i18n/messages/en.json` (English source, ~2800 keys)
+- **Locale files**: `src/i18n/messages/{locale}.json` (30 translations)
+- **Framework**: `next-intl` with cookie-based locale resolution
+- **Config**: `src/i18n/config.ts` — defines all 30 locales, language names, flags
+
+### Runtime Flow
+
+1. User selects language → `NEXT_LOCALE` cookie set
+2. `src/i18n/request.ts` resolves locale: cookie → `Accept-Language` header → fallback `en`
+3. Dynamic import loads `messages/{locale}.json`
+4. Components use `useTranslations("namespace")` and `t("key")`
+
+### Supported Locales
+
+| Code | Language | RTL | Google Translate Code |
+| ------- | -------------------- | --- | --------------------- |
+| `ar` | العربية | Yes | `ar` |
+| `bg` | Български | No | `bg` |
+| `cs` | Čeština | No | `cs` |
+| `da` | Dansk | No | `da` |
+| `de` | Deutsch | No | `de` |
+| `es` | Español | No | `es` |
+| `fi` | Suomi | No | `fi` |
+| `fr` | Français | No | `fr` |
+| `he` | עברית | Yes | `iw` |
+| `hi` | हिन्दी | No | `hi` |
+| `hu` | Magyar | No | `hu` |
+| `id` | Bahasa Indonesia | No | `id` |
+| `it` | Italiano | No | `it` |
+| `ja` | 日本語 | No | `ja` |
+| `ko` | 한국어 | No | `ko` |
+| `ms` | Bahasa Melayu | No | `ms` |
+| `nl` | Nederlands | No | `nl` |
+| `no` | Norsk | No | `no` |
+| `phi` | Filipino | No | `tl` |
+| `pl` | Polski | No | `pl` |
+| `pt` | Português (Portugal) | No | `pt` |
+| `pt-BR` | Português (Brasil) | No | `pt` |
+| `ro` | Română | No | `ro` |
+| `ru` | Русский | No | `ru` |
+| `sk` | Slovenčina | No | `sk` |
+| `sv` | Svenska | No | `sv` |
+| `th` | ไทย | No | `th` |
+| `tr` | Türkçe | No | `tr` |
+| `uk-UA` | Українська | No | `uk` |
+| `vi` | Tiếng Việt | No | `vi` |
+| `zh-CN` | 中文 (简体) | No | `zh-CN` |
+
+## Adding a New Language
+
+### 1. Register the Locale
+
+Edit `src/i18n/config.ts`:
+
+```ts
+// Add to LOCALES array
+"xx",
+// Add to LANGUAGES array
+{ code: "xx", label: "XX", name: "Language Name", flag: "🏳️" },
+```
+
+### 2. Add to Generator
+
+Edit `scripts/i18n/generate-multilang.mjs` — add entry to `LOCALE_SPECS`:
+
+```js
+{
+ code: "xx",
+ googleTl: "xx",
+ label: "XX",
+ flag: "🏳️",
+ languageName: "Language Name",
+ readmeName: "Language Name",
+ docsName: "Language Name",
+},
+```
+
+### 3. Generate Initial Translation
+
+```bash
+node scripts/i18n/generate-multilang.mjs messages
+```
+
+This creates `src/i18n/messages/xx.json` auto-translated from `en.json` via Google Translate.
+
+### 4. Review & Fix Auto-Translations
+
+Auto-translations are a starting point. Review manually for:
+
+- Technical accuracy
+- Context-appropriate terminology
+- Proper handling of placeholders (`{count}`, `{value}`, etc.)
+
+### 5. Validate
+
+```bash
+python3 scripts/validate_translation.py quick -l xx
+python3 scripts/validate_translation.py diff common -l xx
+```
+
+### 6. Generate Translated Documentation
+
+```bash
+node scripts/i18n/generate-multilang.mjs docs
+```
+
+## Auto-Translation Pipeline
+
+### generate-multilang.mjs (Google Translate)
+
+**Primary auto-translation engine** — uses Google Translate free API to generate translations for UI strings, READMEs, and documentation.
+
+```bash
+node scripts/i18n/generate-multilang.mjs [messages|readme|docs|all]
+```
+
+| Mode | What it does |
+| ---------- | ----------------------------------------------------------------------------- |
+| `messages` | Translates missing keys in `src/i18n/messages/{locale}.json` from `en.json` |
+| `readme` | Translates `README.md` into all locales as `README.{code}.md` in project root |
+| `docs` | Translates `DOC_SOURCE_FILES` into `docs/i18n/{locale}/{docName}` |
+| `all` | Runs all three modes |
+
+**Features:**
+
+- **Text protection**: Masks code blocks (` ``` `), inline code (`` ` ``), markdown links/images (`[text](url)`), HTML tags, tables, and ICU placeholders (`{count}`, `{value}`, `{total}`, etc.) before translation, then restores them
+- **Chunked batching**: Joins multiple strings with `__OMNIROUTE_I18N_SEPARATOR__` delimiters to minimize API calls (max 1800 chars per request)
+- **In-memory cache**: Avoids redundant API calls for repeated strings within a session
+- **Retry logic**: Exponential backoff (up to 5 attempts with 300ms × attempt delay) for 429/5xx errors
+- **Timeout**: 20 seconds per request
+- **Skip existing**: If target file already exists, it is NOT overwritten
+
+**Important behaviors:**
+
+- `docs/i18n/README.md` is **regenerated** each run — it's an auto-generated index of all docs
+- Root `README.{code}.md` files are only created if they don't exist (skips locales in `EXISTING_README_CODES`)
+- Language bars (`🌐 **Languages:** ...`) are automatically inserted/updated in all translated docs
+
+### i18n_autotranslate.py (LLM-based)
+
+**Secondary translator** — uses any OpenAI-compatible LLM API (including OmniRoute itself) to translate existing `docs/i18n/` markdown files. Best for polishing or re-translating docs with better quality than Google Translate.
+
+```bash
+python3 scripts/i18n_autotranslate.py \
+ --api-url http://localhost:20128/v1 \
+ --api-key sk-your-key \
+ --model gpt-4o
+```
+
+**Features:**
+
+- Scans `docs/i18n/` markdown files for English paragraphs
+- Skips code blocks, tables, and already-translated content
+- Sends paragraphs to LLM with technical translation system prompt
+- Supports all 30 languages
+
+## Validation & QA
+
+### validate_translation.py
+
+**Translation validator** — compares any locale JSON against `en.json` and reports issues.
+
+```bash
+# Quick check (counts only)
+python3 scripts/validate_translation.py quick -l cs
+# Output:
+# Missing: 0
+# Untranslated: 0
+# Ignored (UNTRANSLATABLE_KEYS): 236
+
+# Detailed diff by category
+python3 scripts/validate_translation.py diff common -l cs
+python3 scripts/validate_translation.py diff settings -l cs
+
+# Export to CSV
+python3 scripts/validate_translation.py csv -l cs > report.csv
+
+# Export to Markdown
+python3 scripts/validate_translation.py md -l cs > report.md
+
+# Full report (default)
+python3 scripts/validate_translation.py -l cs
+```
+
+**Detects:**
+
+- **Missing keys** — keys in `en.json` but not in locale file
+- **Extra keys** — keys in locale file but not in `en.json`
+- **Untranslated keys** — keys where locale value equals English source (excluding allowlist)
+- **Placeholder mismatches** — ICU placeholders that don't match between source and translation
+
+**Exit codes:**
+| Code | Meaning |
+|------|---------|
+| 0 | OK |
+| 1 | Generic error |
+| 2 | Missing strings (hard error) |
+| 3 | Untranslated warning (soft) |
+
+**Environment:** Set `TRANSLATION_LANG=cs` or use `-l cs` flag.
+
+### check_translations.py
+
+**Code-to-JSON key checker** — scans `src/**/*.tsx` and `src/**/*.ts` for `useTranslations()` calls and verifies all referenced keys exist in `en.json`.
+
+```bash
+# Basic check
+python3 scripts/check_translations.py
+
+# Verbose output
+python3 scripts/check_translations.py --verbose
+
+# Auto-fix (adds missing keys to en.json)
+python3 scripts/check_translations.py --fix
+```
+
+### generate-qa-checklist.mjs
+
+**Static analysis QA** — scans Next.js page files for i18n risk metrics and generates a Markdown report.
+
+```bash
+node scripts/i18n/generate-qa-checklist.mjs
+```
+
+**Checks:**
+
+- Fixed-width class usage (overflow risk)
+- Directional left/right classes (RTL risk)
+- Clipping-prone patterns
+- Locale parity (missing/extra keys vs `en.json`)
+- README language selector bars in priority locales (`es`, `fr`, `de`, `ja`, `ar`)
+
+**Output:** `docs/reports/i18n-qa-checklist-{date}.md`
+
+### run-visual-qa.mjs
+
+**Visual QA via Playwright** — takes screenshots of all dashboard routes in multiple locales and viewports, then evaluates page health.
+
+```bash
+# Default: es, fr, de, ja, ar on localhost:20128
+node scripts/i18n/run-visual-qa.mjs
+
+# Custom base URL and locales
+QA_BASE_URL=http://staging.example.com QA_LOCALES=de,fr node scripts/i18n/run-visual-qa.mjs
+
+# Custom routes
+QA_ROUTES=/dashboard/settings,/dashboard/providers node scripts/i18n/run-visual-qa.mjs
+```
+
+**Detects:**
+
+- Text overflow
+- Element clipping
+- RTL layout mismatches
+
+**Output:** `docs/reports/i18n-visual-qa-{date}.md` + JSON report
+
+## Managing Untranslatable Keys
+
+### untranslatable-keys.json
+
+**File:** `scripts/i18n/untranslatable-keys.json`
+
+Allowlist of keys that should remain identical to English source. Used by `validate_translation.py` to avoid false-positive "untranslated" warnings.
+
+```json
+{
+ "description": "Keys that should remain untranslated...",
+ "keys": [
+ "common.model",
+ "common.oauth",
+ "health.cpu",
+ ...
+ ]
+}
+```
+
+**What belongs here:**
+
+- Brand/product names: `landing.brandName`, `common.social-github`
+- Technical terms/acronyms: `health.cpu`, `mcpDashboard.pid`, `settings.ai`
+- ICU/format strings: `apiManager.modelsCount`, `health.millisecondsShort`
+- Placeholder values: `providers.openaiBaseUrlPlaceholder`, `cliTools.baseUrlPlaceholder`
+- Protocol names: `common.http`, `common.oauth`, `providers.oauth2Label`
+- Navigation sections: `sidebar.primarySection`, `sidebar.cliSection`
+
+**To add a key:** Edit the `keys` array in `scripts/i18n/untranslatable-keys.json` and re-run validation.
+
+## CI Integration
+
+### GitHub Actions (`.github/workflows/ci.yml`)
+
+The CI pipeline validates all locales on every push and PR:
+
+1. **`i18n-matrix` job** — dynamically discovers all locale files (excluding `en.json`)
+2. **`i18n` job** — runs `validate_translation.py quick -l '<lang>'` for each locale in parallel
+3. **`ci-summary` job** — aggregates results into a dashboard summary
+
+```yaml
+# i18n-matrix: discovers languages
+LANGS=$(ls src/i18n/messages/*.json | xargs -n1 basename | sed 's/.json$//' | grep -v '^en$')
+
+# i18n: validates each language
+python3 scripts/validate_translation.py quick -l '${{ matrix.lang }}'
+```
+
+**Dashboard output:**
+
+```
+## 🌍 Translations
+| Metric | Value |
+|--------|------|
+| Languages checked | 30 |
+| Total untranslated | 0 |
+
+✅ All translations complete
+```
+
+## File Structure
+
+```
+src/i18n/
+├── config.ts # Locale definitions (30 locales, RTL config)
+├── request.ts # Runtime locale resolution
+└── messages/
+ ├── en.json # Source of truth (~2800 keys)
+ ├── cs.json # Czech translation
+ ├── de.json # German translation
+ └── ... # 30 locale files total
+
+scripts/
+├── i18n/
+│ ├── generate-multilang.mjs # Auto-translation engine (Google Translate, 888 lines)
+│ ├── generate-qa-checklist.mjs # Static analysis QA
+│ ├── run-visual-qa.mjs # Playwright visual QA
+│ └── untranslatable-keys.json # Allowlist for validation (236 keys)
+├── validate_translation.py # Translation validator
+├── check_translations.py # Code-to-JSON key checker
+└── i18n_autotranslate.py # LLM-based doc translator
+
+.github/workflows/
+└── ci.yml # i18n validation in CI matrix
+
+docs/
+├── I18N.md # This file — i18n toolchain documentation
+├── i18n/
+│ ├── README.md # Auto-generated language index
+│ ├── cs/ # Czech docs
+│ │ └── docs/
+│ │ ├── I18N.md # Czech translation of this file
+│ │ └── ...
+│ ├── de/ # German docs
+│ └── ... # 30 locale directories
+└── reports/
+ ├── i18n-qa-checklist-*.md # Static analysis reports
+ └── i18n-visual-qa-*.md # Visual QA reports
+```
+
+## Best Practices
+
+### When Editing Translations
+
+1. **Always edit `en.json` first** — it's the source of truth
+2. **Run `generate-multilang.mjs messages`** to propagate new keys to all locales
+3. **Review auto-translations** — Google Translate is a starting point, not final
+4. **Validate before committing** — `python3 scripts/validate_translation.py quick -l <lang>`
+5. **Update `untranslatable-keys.json`** if a key should remain in English
+
+### Placeholder Safety
+
+- ICU placeholders (`{count}`, `{value}`, `{total}`, `{seconds}`) must be preserved exactly
+- Plural formats (`{count, plural, one {# model} other {# models}}`) must maintain structure
+- The validator detects placeholder mismatches automatically
+
+### Adding New Translation Keys in Code
+
+```tsx
+// Use namespaced keys
+const t = useTranslations("settings");
+t("cacheSettings"); // maps to settings.cacheSettings in JSON
+
+// Run check_translations.py to verify keys exist
+python3 scripts/check_translations.py --verbose
+```
+
+### RTL Considerations
+
+- Arabic (`ar`) and Hebrew (`he`) are RTL locales
+- Avoid hardcoded `left`/`right` CSS — use `start`/`end` logical properties
+- Visual QA catches RTL layout mismatches via `run-visual-qa.mjs`
+
+## Known Issues & History
+
+### `in.json` → `hi.json` Fix
+
+The generator originally used `code: "in"` (deprecated Google Translate code) for Hindi instead of the correct ISO 639-1 `hi`. This created an orphaned `in.json` duplicate of `hi.json`. Fixed by changing `code: "in"` to `code: "hi"` in `generate-multilang.mjs` and removing the orphaned file.
+
+### `docs/i18n/README.md` Is Auto-Generated
+
+The `docs/i18n/README.md` file is completely regenerated by `generate-multilang.mjs docs`. Any manual edits will be lost. Use `docs/guides/I18N.md` (this file) for hand-written documentation that should persist.
+
+### External Untranslatable Keys List
+
+The `untranslatable-keys.json` allowlist was moved from an inline Python set in `validate_translation.py` to an external JSON file for easier maintenance. The validator loads it at runtime.
+
+### `generate-multilang.mjs` Hindi Code Fix
+
+The generator originally used `code: "in"` (deprecated Google Translate code) for Hindi instead of the correct ISO 639-1 `hi`. This was introduced in upstream commit `952b0b22c` by `diegosouzapw`. Fixed by changing `code: "in"` to `code: "hi"` in the `LOCALE_SPECS` array and removing the orphaned `in.json` file.
+
+### `validate_translation.py` Ignored Count Output
+
+The `quick` check now displays the count of ignored keys from `untranslatable-keys.json`:
+
+```
+Missing: 0
+Untranslated: 0
+Ignored (UNTRANSLATABLE_KEYS): 236
+```
diff --git a/docs/i18n/az/docs/guides/TROUBLESHOOTING.md b/docs/i18n/az/docs/guides/TROUBLESHOOTING.md
new file mode 100644
index 0000000000..84d2d262bc
--- /dev/null
+++ b/docs/i18n/az/docs/guides/TROUBLESHOOTING.md
@@ -0,0 +1,341 @@
+# Troubleshooting (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/TROUBLESHOOTING.md) · 🇸🇦 [ar](../../ar/docs/TROUBLESHOOTING.md) · 🇧🇬 [bg](../../bg/docs/TROUBLESHOOTING.md) · 🇧🇩 [bn](../../bn/docs/TROUBLESHOOTING.md) · 🇨🇿 [cs](../../cs/docs/TROUBLESHOOTING.md) · 🇩🇰 [da](../../da/docs/TROUBLESHOOTING.md) · 🇩🇪 [de](../../de/docs/TROUBLESHOOTING.md) · 🇪🇸 [es](../../es/docs/TROUBLESHOOTING.md) · 🇮🇷 [fa](../../fa/docs/TROUBLESHOOTING.md) · 🇫🇮 [fi](../../fi/docs/TROUBLESHOOTING.md) · 🇫🇷 [fr](../../fr/docs/TROUBLESHOOTING.md) · 🇮🇳 [gu](../../gu/docs/TROUBLESHOOTING.md) · 🇮🇱 [he](../../he/docs/TROUBLESHOOTING.md) · 🇮🇳 [hi](../../hi/docs/TROUBLESHOOTING.md) · 🇭🇺 [hu](../../hu/docs/TROUBLESHOOTING.md) · 🇮🇩 [id](../../id/docs/TROUBLESHOOTING.md) · 🇮🇹 [it](../../it/docs/TROUBLESHOOTING.md) · 🇯🇵 [ja](../../ja/docs/TROUBLESHOOTING.md) · 🇰🇷 [ko](../../ko/docs/TROUBLESHOOTING.md) · 🇮🇳 [mr](../../mr/docs/TROUBLESHOOTING.md) · 🇲🇾 [ms](../../ms/docs/TROUBLESHOOTING.md) · 🇳🇱 [nl](../../nl/docs/TROUBLESHOOTING.md) · 🇳🇴 [no](../../no/docs/TROUBLESHOOTING.md) · 🇵🇭 [phi](../../phi/docs/TROUBLESHOOTING.md) · 🇵🇱 [pl](../../pl/docs/TROUBLESHOOTING.md) · 🇵🇹 [pt](../../pt/docs/TROUBLESHOOTING.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/TROUBLESHOOTING.md) · 🇷🇴 [ro](../../ro/docs/TROUBLESHOOTING.md) · 🇷🇺 [ru](../../ru/docs/TROUBLESHOOTING.md) · 🇸🇰 [sk](../../sk/docs/TROUBLESHOOTING.md) · 🇸🇪 [sv](../../sv/docs/TROUBLESHOOTING.md) · 🇰🇪 [sw](../../sw/docs/TROUBLESHOOTING.md) · 🇮🇳 [ta](../../ta/docs/TROUBLESHOOTING.md) · 🇮🇳 [te](../../te/docs/TROUBLESHOOTING.md) · 🇹🇭 [th](../../th/docs/TROUBLESHOOTING.md) · 🇹🇷 [tr](../../tr/docs/TROUBLESHOOTING.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/TROUBLESHOOTING.md) · 🇵🇰 [ur](../../ur/docs/TROUBLESHOOTING.md) · 🇻🇳 [vi](../../vi/docs/TROUBLESHOOTING.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/TROUBLESHOOTING.md)
+
+---
+
+Common problems and solutions for OmniRoute.
+
+---
+
+## Quick Fixes
+
+| Problem | Solution |
+| --------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| First login not working | Set `INITIAL_PASSWORD` in `.env` (no hardcoded default) |
+| Dashboard opens on wrong port | Set `PORT=20128` and `NEXT_PUBLIC_BASE_URL=http://localhost:20128` |
+| No logs written to disk | Set `APP_LOG_TO_FILE=true` and verify call log capture is enabled |
+| EACCES: permission denied | Set `DATA_DIR=/path/to/writable/dir` to override `~/.omniroute` |
+| Routing strategy not saving | Update to v1.4.11+ (Zod schema fix for settings persistence) |
+| Login crash / blank page | Check Node.js version — see [Node.js Compatibility](#nodejs-compatibility) below |
+| `dlopen` / `slice is not valid mach-o file` (macOS) | Run `cd $(npm root -g)/omniroute/app && npm rebuild better-sqlite3 && omniroute` — see [macOS native module rebuild](#macos-native-module-rebuild) below |
+| Proxy "fetch failed" | Ensure proxy config is set at the correct level — see [Proxy Issues](#proxy-issues) below |
+
+---
+
+## Node.js Compatibility
+
+<a name="nodejs-compatibility"></a>
+
+### Login page crashes or shows "Module self-registration" error
+
+**Cause:** You are running a Node.js version outside OmniRoute's approved secure runtime floor. The most common case is running an older Node 20, 22, or 24 patch level that falls below the patched security floor OmniRoute requires.
+
+**Symptoms:**
+
+- Login page shows a blank screen or a server error
+- Console shows `Error: Module did not self-register` or similar native binding errors
+- The login page shows an **orange warning banner** with your Node version if the runtime is outside the supported secure policy
+
+**Fix:**
+
+1. Install a supported Node.js LTS release (recommended: Node.js 24.x):
+ ```bash
+ nvm install 24
+ nvm use 24
+ ```
+2. Verify your version: `node --version` should show `v24.0.0` or newer on the 24.x LTS line
+3. Reinstall OmniRoute: `npm install -g omniroute`
+4. Restart: `omniroute`
+
+> **Supported secure versions:** `>=20.20.2 <21`, `>=22.22.2 <23`, or `>=24.0.0 <25`. Node.js 24.x LTS (Krypton) is fully supported.
+
+### macOS: `dlopen` / "slice is not valid mach-o file"
+
+<a name="macos-native-module-rebuild"></a>
+
+**Cause:** After a global `npm install -g omniroute`, the `better-sqlite3` native binary inside the package may have been compiled for a different architecture or Node.js ABI than what is running locally. This is common on macOS (both Apple Silicon and Intel) when the pre-built binary does not match your environment.
+
+**Symptoms:**
+
+- Server fails immediately on startup with a `dlopen` error
+- Error contains `slice is not valid mach-o file`
+- Full example:
+
+```
+dlopen(/Users/<user>/.nvm/versions/node/v24.14.1/lib/node_modules/omniroute/app/node_modules/better-sqlite3/build/Release/better_sqlite3.node, 0x0001): tried: '...' (slice is not valid mach-o file)
+```
+
+**Fix — rebuild for your local environment (no Node.js downgrade required):**
+
+```bash
+cd $(npm root -g)/omniroute/app
+npm rebuild better-sqlite3
+omniroute
+```
+
+> **Note:** This recompiles the native binding against your local Node.js version and CPU architecture, resolving the binary mismatch. The officially supported range is **`>=20.20.2 <21`, `>=22.22.2 <23`, or `>=24.0.0 <25`** (`engines` field in `package.json`). Node.js 24.x LTS (Krypton) is fully supported with `better-sqlite3` v12.x.
+
+---
+
+## Proxy Issues
+
+<a name="proxy-issues"></a>
+
+### Provider validation shows "fetch failed"
+
+**Cause:** The API key validation endpoint (`POST /api/providers/validate`) was previously bypassing proxy configuration, causing failures in environments that require proxy routing.
+
+**Fix (v3.5.5+):** This is now fixed. Provider validation routes through `runWithProxyContext`, honoring provider-level and global proxy settings automatically.
+
+### Token health check fails with "fetch failed"
+
+**Cause:** Background OAuth token refresh was not resolving proxy configuration per connection.
+
+**Fix (v3.5.5+):** The token health check scheduler now resolves proxy config per connection before attempting refresh. Update to v3.5.5+.
+
+### SOCKS5 proxy returns "invalid onRequestStart method"
+
+**Cause:** On Node.js 22, the undici@8 dispatcher is incompatible with Node's built-in `fetch()` implementation.
+
+**Fix (v3.5.5+):** OmniRoute now uses undici's own `fetch()` function when a proxy dispatcher is active, ensuring consistent behavior. Update to v3.5.5+.
+
+---
+
+## Provider Issues
+
+### "Language model did not provide messages"
+
+**Cause:** Provider quota exhausted.
+
+**Fix:**
+
+1. Check dashboard quota tracker
+2. Use a combo with fallback tiers
+3. Switch to cheaper/free tier
+
+### Rate Limiting
+
+**Cause:** Subscription quota exhausted.
+
+**Fix:**
+
+- Add fallback: `cc/claude-opus-4-6 → glm/glm-4.7 → if/kimi-k2-thinking`
+- Use GLM/MiniMax as cheap backup
+
+### OAuth Token Expired
+
+OmniRoute auto-refreshes tokens. If issues persist:
+
+1. Dashboard → Provider → Reconnect
+2. Delete and re-add the provider connection
+
+---
+
+## Cloud Issues
+
+### Cloud Sync Errors
+
+1. Verify `BASE_URL` points to your running instance (e.g., `http://localhost:20128`)
+2. Verify `CLOUD_URL` points to your cloud endpoint (e.g., `https://omniroute.dev`)
+3. Keep `NEXT_PUBLIC_*` values aligned with server-side values
+
+### Cloud `stream=false` Returns 500
+
+**Symptom:** `Unexpected token 'd'...` on cloud endpoint for non-streaming calls.
+
+**Cause:** Upstream returns SSE payload while client expects JSON.
+
+**Workaround:** Use `stream=true` for cloud direct calls. Local runtime includes SSE→JSON fallback.
+
+### Cloud Says Connected but "Invalid API key"
+
+1. Create a fresh key from local dashboard (`/api/keys`)
+2. Run cloud sync: Enable Cloud → Sync Now
+3. Old/non-synced keys can still return `401` on cloud
+
+---
+
+## Docker Issues
+
+### CLI Tool Shows Not Installed
+
+1. Check runtime fields: `curl http://localhost:20128/api/cli-tools/runtime/codex | jq`
+2. For portable mode: use image target `runner-cli` (bundled CLIs)
+3. For host mount mode: set `CLI_EXTRA_PATHS` and mount host bin directory as read-only
+4. If `installed=true` and `runnable=false`: binary was found but failed healthcheck
+
+### Quick Runtime Validation
+
+```bash
+curl -s http://localhost:20128/api/cli-tools/codex-settings | jq '{installed,runnable,commandPath,runtimeMode,reason}'
+curl -s http://localhost:20128/api/cli-tools/claude-settings | jq '{installed,runnable,commandPath,runtimeMode,reason}'
+curl -s http://localhost:20128/api/cli-tools/openclaw-settings | jq '{installed,runnable,commandPath,runtimeMode,reason}'
+```
+
+---
+
+## Cost Issues
+
+### High Costs
+
+1. Check usage stats in Dashboard → Usage
+2. Switch primary model to GLM/MiniMax
+3. Use free tier (Gemini CLI, Qoder) for non-critical tasks
+4. Set cost budgets per API key: Dashboard → API Keys → Budget
+
+---
+
+## Debugging
+
+### Enable Log Files
+
+Set `APP_LOG_TO_FILE=true` in your `.env` file. Application logs are written under `logs/`.
+Request artifacts are stored under `${DATA_DIR}/call_logs/` when the call log pipeline is
+enabled in settings.
+
+### Check Provider Health
+
+```bash
+# Health dashboard
+http://localhost:20128/dashboard/health
+
+# API health check
+curl http://localhost:20128/api/monitoring/health
+```
+
+### Runtime Storage
+
+- Main state: `${DATA_DIR}/storage.sqlite` (providers, combos, aliases, keys, settings)
+- Usage: SQLite tables in `storage.sqlite` (`usage_history`, `call_logs`, `proxy_logs`) + optional `${DATA_DIR}/call_logs/`
+- Application logs: `<repo>/logs/...` (when `APP_LOG_TO_FILE=true`)
+- Call log artifacts: `${DATA_DIR}/call_logs/YYYY-MM-DD/...` when the call log pipeline is enabled
+
+---
+
+## Circuit Breaker Issues
+
+### Provider stuck in OPEN state
+
+When a provider's circuit breaker is OPEN, requests are blocked until the cooldown expires.
+
+**Fix:**
+
+1. Go to **Dashboard → Settings → Resilience**
+2. Check the circuit breaker card for the affected provider
+3. Click **Reset All** to clear all breakers, or wait for the cooldown to expire
+4. Verify the provider is actually available before resetting
+
+### Provider keeps tripping the circuit breaker
+
+If a provider repeatedly enters OPEN state:
+
+1. Check **Dashboard → Health → Provider Health** for the failure pattern
+2. Go to **Settings → Resilience → Provider Profiles** and increase the failure threshold
+3. Check if the provider has changed API limits or requires re-authentication
+4. Review latency telemetry — high latency may cause timeout-based failures
+
+---
+
+## Audio Transcription Issues
+
+### "Unsupported model" error
+
+- Ensure you're using the correct prefix: `deepgram/nova-3` or `assemblyai/best`
+- Verify the provider is connected in **Dashboard → Providers**
+
+### Transcription returns empty or fails
+
+- Check supported audio formats: `mp3`, `wav`, `m4a`, `flac`, `ogg`, `webm`
+- Verify file size is within provider limits (typically < 25MB)
+- Check provider API key validity in the provider card
+
+---
+
+## Translator Debugging
+
+Use **Dashboard → Translator** to debug format translation issues:
+
+| Mode | When to Use |
+| ---------------- | -------------------------------------------------------------------------------------------- |
+| **Playground** | Compare input/output formats side by side — paste a failing request to see how it translates |
+| **Chat Tester** | Send live messages and inspect the full request/response payload including headers |
+| **Test Bench** | Run batch tests across format combinations to find which translations are broken |
+| **Live Monitor** | Watch real-time request flow to catch intermittent translation issues |
+
+### Common format issues
+
+- **Thinking tags not appearing** — Check if the target provider supports thinking and the thinking budget setting
+- **Tool calls dropping** — Some format translations may strip unsupported fields; verify in Playground mode
+- **System prompt missing** — Claude and Gemini handle system prompts differently; check translation output
+- **SDK returns raw string instead of object** — Fixed in v1.1.0: response sanitizer now strips non-standard fields (`x_groq`, `usage_breakdown`, etc.) that cause OpenAI SDK Pydantic validation failures
+- **GLM/ERNIE rejects `system` role** — Fixed in v1.1.0: role normalizer automatically merges system messages into user messages for incompatible models
+- **`developer` role not recognized** — Fixed in v1.1.0: automatically converted to `system` for non-OpenAI providers
+- **`json_schema` not working with Gemini** — Fixed in v1.1.0: `response_format` is now converted to Gemini's `responseMimeType` + `responseSchema`
+
+---
+
+## Resilience Settings
+
+### Auto rate-limit not triggering
+
+- Auto rate-limit only applies to API key providers (not OAuth/subscription)
+- Verify **Settings → Resilience → Provider Profiles** has auto-rate-limit enabled
+- Check if the provider returns `429` status codes or `Retry-After` headers
+
+### Tuning exponential backoff
+
+Provider profiles support these settings:
+
+- **Base delay** — Initial wait time after first failure (default: 1s)
+- **Max delay** — Maximum wait time cap (default: 30s)
+- **Multiplier** — How much to increase delay per consecutive failure (default: 2x)
+
+### Anti-thundering herd
+
+When many concurrent requests hit a rate-limited provider, OmniRoute uses mutex + auto rate-limiting to serialize requests and prevent cascading failures. This is automatic for API key providers.
+
+---
+
+## Optional RAG / LLM failure taxonomy (16 problems)
+
+Some OmniRoute users place the gateway in front of RAG or agent stacks. In those setups it is common to see a strange pattern: OmniRoute looks healthy (providers up, routing profiles ok, no rate limit alerts) but the final answer is still wrong.
+
+In practice these incidents usually come from the downstream RAG pipeline, not from the gateway itself.
+
+If you want a shared vocabulary to describe those failures you can use the WFGY ProblemMap, an external MIT license text resource that defines sixteen recurring RAG / LLM failure patterns. At a high level it covers:
+
+- retrieval drift and broken context boundaries
+- empty or stale indexes and vector stores
+- embedding versus semantic mismatch
+- prompt assembly and context window issues
+- logic collapse and overconfident answers
+- long chain and agent coordination failures
+- multi agent memory and role drift
+- deployment and bootstrap ordering problems
+
+The idea is simple:
+
+1. When you investigate a bad response, capture:
+ - user task and request
+ - route or provider combo in OmniRoute
+ - any RAG context used downstream (retrieved documents, tool calls, etc)
+2. Map the incident to one or two WFGY ProblemMap numbers (`No.1` … `No.16`).
+3. Store the number in your own dashboard, runbook, or incident tracker next to the OmniRoute logs.
+4. Use the corresponding WFGY page to decide whether you need to change your RAG stack, retriever, or routing strategy.
+
+Full text and concrete recipes live here (MIT license, text only):
+
+[WFGY ProblemMap README](https://github.com/onestardao/WFGY/blob/main/ProblemMap/README.md)
+
+You can ignore this section if you do not run RAG or agent pipelines behind OmniRoute.
+
+---
+
+## Still Stuck?
+
+- **GitHub Issues**: [github.com/diegosouzapw/OmniRoute/issues](https://github.com/diegosouzapw/OmniRoute/issues)
+- **Architecture**: See [`docs/architecture/ARCHITECTURE.md`](ARCHITECTURE.md) for internal details
+- **API Reference**: See [`docs/reference/API_REFERENCE.md`](API_REFERENCE.md) for all endpoints
+- **Health Dashboard**: Check **Dashboard → Health** for real-time system status
+- **Translator**: Use **Dashboard → Translator** to debug format issues
diff --git a/docs/i18n/az/docs/guides/UNINSTALL.md b/docs/i18n/az/docs/guides/UNINSTALL.md
new file mode 100644
index 0000000000..dd4831b895
--- /dev/null
+++ b/docs/i18n/az/docs/guides/UNINSTALL.md
@@ -0,0 +1,157 @@
+# OmniRoute — Uninstall Guide (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/UNINSTALL.md) · 🇸🇦 [ar](../../ar/docs/UNINSTALL.md) · 🇧🇬 [bg](../../bg/docs/UNINSTALL.md) · 🇧🇩 [bn](../../bn/docs/UNINSTALL.md) · 🇨🇿 [cs](../../cs/docs/UNINSTALL.md) · 🇩🇰 [da](../../da/docs/UNINSTALL.md) · 🇩🇪 [de](../../de/docs/UNINSTALL.md) · 🇪🇸 [es](../../es/docs/UNINSTALL.md) · 🇮🇷 [fa](../../fa/docs/UNINSTALL.md) · 🇫🇮 [fi](../../fi/docs/UNINSTALL.md) · 🇫🇷 [fr](../../fr/docs/UNINSTALL.md) · 🇮🇳 [gu](../../gu/docs/UNINSTALL.md) · 🇮🇱 [he](../../he/docs/UNINSTALL.md) · 🇮🇳 [hi](../../hi/docs/UNINSTALL.md) · 🇭🇺 [hu](../../hu/docs/UNINSTALL.md) · 🇮🇩 [id](../../id/docs/UNINSTALL.md) · 🇮🇹 [it](../../it/docs/UNINSTALL.md) · 🇯🇵 [ja](../../ja/docs/UNINSTALL.md) · 🇰🇷 [ko](../../ko/docs/UNINSTALL.md) · 🇮🇳 [mr](../../mr/docs/UNINSTALL.md) · 🇲🇾 [ms](../../ms/docs/UNINSTALL.md) · 🇳🇱 [nl](../../nl/docs/UNINSTALL.md) · 🇳🇴 [no](../../no/docs/UNINSTALL.md) · 🇵🇭 [phi](../../phi/docs/UNINSTALL.md) · 🇵🇱 [pl](../../pl/docs/UNINSTALL.md) · 🇵🇹 [pt](../../pt/docs/UNINSTALL.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/UNINSTALL.md) · 🇷🇴 [ro](../../ro/docs/UNINSTALL.md) · 🇷🇺 [ru](../../ru/docs/UNINSTALL.md) · 🇸🇰 [sk](../../sk/docs/UNINSTALL.md) · 🇸🇪 [sv](../../sv/docs/UNINSTALL.md) · 🇰🇪 [sw](../../sw/docs/UNINSTALL.md) · 🇮🇳 [ta](../../ta/docs/UNINSTALL.md) · 🇮🇳 [te](../../te/docs/UNINSTALL.md) · 🇹🇭 [th](../../th/docs/UNINSTALL.md) · 🇹🇷 [tr](../../tr/docs/UNINSTALL.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/UNINSTALL.md) · 🇵🇰 [ur](../../ur/docs/UNINSTALL.md) · 🇻🇳 [vi](../../vi/docs/UNINSTALL.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/UNINSTALL.md)
+
+---
+
+This guide covers how to cleanly remove OmniRoute from your system.
+
+---
+
+## Quick Uninstall (v3.6.2+)
+
+OmniRoute provides two built-in scripts for clean removal:
+
+### Keep Your Data
+
+```bash
+npm run uninstall
+```
+
+This removes the OmniRoute application but **preserves** your database, configurations, API keys, and provider settings in `~/.omniroute/`. Use this if you plan to reinstall later and want to keep your setup.
+
+### Full Removal
+
+```bash
+npm run uninstall:full
+```
+
+This removes the application **and permanently erases** all data:
+
+- Database (`storage.sqlite`)
+- Provider configurations and API keys
+- Backup files
+- Log files
+- All files in the `~/.omniroute/` directory
+
+> ⚠️ **Warning:** `npm run uninstall:full` is irreversible. All your provider connections, combos, API keys, and usage history will be permanently deleted.
+
+---
+
+## Manual Uninstall
+
+### NPM Global Install
+
+```bash
+# Remove the global package
+npm uninstall -g omniroute
+
+# (Optional) Remove data directory
+rm -rf ~/.omniroute
+```
+
+### pnpm Global Install
+
+```bash
+pnpm uninstall -g omniroute
+rm -rf ~/.omniroute
+```
+
+### Docker
+
+```bash
+# Stop and remove the container
+docker stop omniroute
+docker rm omniroute
+
+# Remove the volume (deletes all data)
+docker volume rm omniroute-data
+
+# (Optional) Remove the image
+docker rmi diegosouzapw/omniroute:latest
+```
+
+### Docker Compose
+
+```bash
+# Stop and remove containers
+docker compose down
+
+# Also remove volumes (deletes all data)
+docker compose down -v
+```
+
+### Electron Desktop App
+
+**Windows:**
+
+- Open `Settings → Apps → OmniRoute → Uninstall`
+- Or run the NSIS uninstaller from the install directory
+
+**macOS:**
+
+- Drag `OmniRoute.app` from `/Applications` to Trash
+- Remove data: `rm -rf ~/Library/Application Support/omniroute`
+
+**Linux:**
+
+- Remove the AppImage file
+- Remove data: `rm -rf ~/.omniroute`
+
+### Source Install (git clone)
+
+```bash
+# Remove the cloned directory
+rm -rf /path/to/omniroute
+
+# (Optional) Remove data directory
+rm -rf ~/.omniroute
+```
+
+---
+
+## Data Directories
+
+OmniRoute stores data in the following locations by default:
+
+| Platform | Default Path | Override |
+| ------------- | ----------------------------- | ------------------------- |
+| Linux | `~/.omniroute/` | `DATA_DIR` env var |
+| macOS | `~/.omniroute/` | `DATA_DIR` env var |
+| Windows | `%APPDATA%/omniroute/` | `DATA_DIR` env var |
+| Docker | `/app/data/` (mounted volume) | `DATA_DIR` env var |
+| XDG-compliant | `$XDG_CONFIG_HOME/omniroute/` | `XDG_CONFIG_HOME` env var |
+
+### Files in the data directory
+
+| File/Directory | Description |
+| -------------------- | ------------------------------------------------- |
+| `storage.sqlite` | Main database (providers, combos, settings, keys) |
+| `storage.sqlite-wal` | SQLite write-ahead log (temporary) |
+| `storage.sqlite-shm` | SQLite shared memory (temporary) |
+| `call_logs/` | Request payload archives |
+| `backups/` | Automatic database backups |
+| `log.txt` | Legacy request log (optional) |
+
+---
+
+## Verify Complete Removal
+
+After uninstalling, verify there are no remaining files:
+
+```bash
+# Check for global npm package
+npm list -g omniroute 2>/dev/null
+
+# Check for data directory
+ls -la ~/.omniroute/ 2>/dev/null
+
+# Check for running processes
+pgrep -f omniroute
+```
+
+If any process is still running, stop it:
+
+```bash
+pkill -f omniroute
+```
diff --git a/docs/i18n/az/docs/guides/USER_GUIDE.md b/docs/i18n/az/docs/guides/USER_GUIDE.md
new file mode 100644
index 0000000000..08237ae382
--- /dev/null
+++ b/docs/i18n/az/docs/guides/USER_GUIDE.md
@@ -0,0 +1,966 @@
+# User Guide (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/USER_GUIDE.md) · 🇸🇦 [ar](../../ar/docs/USER_GUIDE.md) · 🇧🇬 [bg](../../bg/docs/USER_GUIDE.md) · 🇧🇩 [bn](../../bn/docs/USER_GUIDE.md) · 🇨🇿 [cs](../../cs/docs/USER_GUIDE.md) · 🇩🇰 [da](../../da/docs/USER_GUIDE.md) · 🇩🇪 [de](../../de/docs/USER_GUIDE.md) · 🇪🇸 [es](../../es/docs/USER_GUIDE.md) · 🇮🇷 [fa](../../fa/docs/USER_GUIDE.md) · 🇫🇮 [fi](../../fi/docs/USER_GUIDE.md) · 🇫🇷 [fr](../../fr/docs/USER_GUIDE.md) · 🇮🇳 [gu](../../gu/docs/USER_GUIDE.md) · 🇮🇱 [he](../../he/docs/USER_GUIDE.md) · 🇮🇳 [hi](../../hi/docs/USER_GUIDE.md) · 🇭🇺 [hu](../../hu/docs/USER_GUIDE.md) · 🇮🇩 [id](../../id/docs/USER_GUIDE.md) · 🇮🇹 [it](../../it/docs/USER_GUIDE.md) · 🇯🇵 [ja](../../ja/docs/USER_GUIDE.md) · 🇰🇷 [ko](../../ko/docs/USER_GUIDE.md) · 🇮🇳 [mr](../../mr/docs/USER_GUIDE.md) · 🇲🇾 [ms](../../ms/docs/USER_GUIDE.md) · 🇳🇱 [nl](../../nl/docs/USER_GUIDE.md) · 🇳🇴 [no](../../no/docs/USER_GUIDE.md) · 🇵🇭 [phi](../../phi/docs/USER_GUIDE.md) · 🇵🇱 [pl](../../pl/docs/USER_GUIDE.md) · 🇵🇹 [pt](../../pt/docs/USER_GUIDE.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/USER_GUIDE.md) · 🇷🇴 [ro](../../ro/docs/USER_GUIDE.md) · 🇷🇺 [ru](../../ru/docs/USER_GUIDE.md) · 🇸🇰 [sk](../../sk/docs/USER_GUIDE.md) · 🇸🇪 [sv](../../sv/docs/USER_GUIDE.md) · 🇰🇪 [sw](../../sw/docs/USER_GUIDE.md) · 🇮🇳 [ta](../../ta/docs/USER_GUIDE.md) · 🇮🇳 [te](../../te/docs/USER_GUIDE.md) · 🇹🇭 [th](../../th/docs/USER_GUIDE.md) · 🇹🇷 [tr](../../tr/docs/USER_GUIDE.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/USER_GUIDE.md) · 🇵🇰 [ur](../../ur/docs/USER_GUIDE.md) · 🇻🇳 [vi](../../vi/docs/USER_GUIDE.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/USER_GUIDE.md)
+
+---
+
+Complete guide for configuring providers, creating combos, integrating CLI tools, and deploying OmniRoute.
+
+---
+
+## Table of Contents
+
+- [Pricing at a Glance](#-pricing-at-a-glance)
+- [Use Cases](#-use-cases)
+- [Provider Setup](#-provider-setup)
+- [CLI Integration](#-cli-integration)
+- [Deployment](#-deployment)
+- [Available Models](#-available-models)
+- [Advanced Features](#-advanced-features)
+
+---
+
+## 💰 Pricing at a Glance
+
+| Tier | Provider | Cost | Quota Reset | Best For |
+| ------------------- | ----------------- | ----------- | ---------------- | -------------------- |
+| **💳 SUBSCRIPTION** | Claude Code (Pro) | $20/mo | 5h + weekly | Already subscribed |
+| | Codex (Plus/Pro) | $20-200/mo | 5h + weekly | OpenAI users |
+| | Gemini CLI | **FREE** | 180K/mo + 1K/day | Everyone! |
+| | GitHub Copilot | $10-19/mo | Monthly | GitHub users |
+| **🔑 API KEY** | DeepSeek | Pay per use | None | Cheap reasoning |
+| | Groq | Pay per use | None | Ultra-fast inference |
+| | xAI (Grok) | Pay per use | None | Grok 4 reasoning |
+| | Mistral | Pay per use | None | EU-hosted models |
+| | Perplexity | Pay per use | None | Search-augmented |
+| | Together AI | Pay per use | None | Open-source models |
+| | Fireworks AI | Pay per use | None | Fast FLUX images |
+| | Cerebras | Pay per use | None | Wafer-scale speed |
+| | Cohere | Pay per use | None | Command R+ RAG |
+| | NVIDIA NIM | Pay per use | None | Enterprise models |
+| **💰 CHEAP** | GLM-4.7 | $0.6/1M | Daily 10AM | Budget backup |
+| | MiniMax M2.1 | $0.2/1M | 5-hour rolling | Cheapest option |
+| | Kimi K2 | $9/mo flat | 10M tokens/mo | Predictable cost |
+| **🆓 FREE** | Qoder | $0 | Unlimited | 8 models free |
+| | Qwen | $0 | Unlimited | 3 models free |
+| | Kiro | $0 | Unlimited | Claude free |
+
+**💡 Pro Tip:** Start with Gemini CLI (180K free/month) + Qoder (unlimited free) combo = $0 cost!
+
+---
+
+## 🎯 Use Cases
+
+### Case 1: "I have Claude Pro subscription"
+
+**Problem:** Quota expires unused, rate limits during heavy coding
+
+```
+Combo: "maximize-claude"
+ 1. cc/claude-opus-4-7 (use subscription fully)
+ 2. glm/glm-4.7 (cheap backup when quota out)
+ 3. if/kimi-k2-thinking (free emergency fallback)
+
+Monthly cost: $20 (subscription) + ~$5 (backup) = $25 total
+vs. $20 + hitting limits = frustration
+```
+
+### Case 2: "I want zero cost"
+
+**Problem:** Can't afford subscriptions, need reliable AI coding
+
+```
+Combo: "free-forever"
+ 1. gc/gemini-3-flash (180K free/month)
+ 2. if/kimi-k2-thinking (unlimited free)
+ 3. qw/qwen3-coder-plus (unlimited free)
+
+Monthly cost: $0
+Quality: Production-ready models
+```
+
+### Case 3: "I need 24/7 coding, no interruptions"
+
+**Problem:** Deadlines, can't afford downtime
+
+```
+Combo: "always-on"
+ 1. cc/claude-opus-4-7 (best quality)
+ 2. cx/gpt-5.2-codex (second subscription)
+ 3. glm/glm-4.7 (cheap, resets daily)
+ 4. minimax/MiniMax-M2.1 (cheapest, 5h reset)
+ 5. if/kimi-k2-thinking (free unlimited)
+
+Result: 5 layers of fallback = zero downtime
+Monthly cost: $20-200 (subscriptions) + $10-20 (backup)
+```
+
+### Case 4: "I want FREE AI in OpenClaw"
+
+**Problem:** Need AI assistant in messaging apps, completely free
+
+```
+Combo: "openclaw-free"
+ 1. if/glm-4.7 (unlimited free)
+ 2. if/minimax-m2.1 (unlimited free)
+ 3. if/kimi-k2-thinking (unlimited free)
+
+Monthly cost: $0
+Access via: WhatsApp, Telegram, Slack, Discord, iMessage, Signal...
+```
+
+---
+
+## 📖 Provider Setup
+
+### 🔐 Subscription Providers
+
+#### Claude Code (Pro/Max)
+
+```bash
+Dashboard → Providers → Connect Claude Code
+→ OAuth login → Auto token refresh
+→ 5-hour + weekly quota tracking
+
+Models:
+ cc/claude-opus-4-7
+ cc/claude-sonnet-4-5-20250929
+ cc/claude-haiku-4-5-20251001
+```
+
+**Pro Tip:** Use Opus for complex tasks, Sonnet for speed. OmniRoute tracks quota per model!
+
+#### OpenAI Codex (Plus/Pro)
+
+```bash
+Dashboard → Providers → Connect Codex
+→ OAuth login (port 1455)
+→ 5-hour + weekly reset
+
+Models:
+ cx/gpt-5.2-codex
+ cx/gpt-5.1-codex-max
+```
+
+#### Gemini CLI (FREE 180K/month!)
+
+```bash
+Dashboard → Providers → Connect Gemini CLI
+→ Google OAuth
+→ 180K completions/month + 1K/day
+
+Models:
+ gc/gemini-3-flash-preview
+ gc/gemini-2.5-pro
+```
+
+**Best Value:** Huge free tier! Use this before paid tiers.
+
+#### GitHub Copilot
+
+```bash
+Dashboard → Providers → Connect GitHub
+→ OAuth via GitHub
+→ Monthly reset (1st of month)
+
+Models:
+ gh/gpt-5
+ gh/claude-4.5-sonnet
+ gh/gemini-3.1-pro-preview
+```
+
+### 💰 Cheap Providers
+
+#### GLM-4.7 (Daily reset, $0.6/1M)
+
+1. Sign up: [Zhipu AI](https://open.bigmodel.cn/)
+2. Get API key from Coding Plan
+3. Dashboard → Add API Key: Provider: `glm`, API Key: `your-key`
+
+**Use:** `glm/glm-4.7` — **Pro Tip:** Coding Plan offers 3× quota at 1/7 cost! Reset daily 10:00 AM.
+
+#### MiniMax M2.1 (5h reset, $0.20/1M)
+
+1. Sign up: [MiniMax](https://www.minimax.io/)
+2. Get API key → Dashboard → Add API Key
+
+**Use:** `minimax/MiniMax-M2.1` — **Pro Tip:** Cheapest option for long context (1M tokens)!
+
+#### Kimi K2 ($9/month flat)
+
+1. Subscribe: [Moonshot AI](https://platform.moonshot.ai/)
+2. Get API key → Dashboard → Add API Key
+
+**Use:** `kimi/kimi-latest` — **Pro Tip:** Fixed $9/month for 10M tokens = $0.90/1M effective cost!
+
+### 🆓 FREE Providers
+
+#### Qoder (8 FREE models)
+
+```bash
+Dashboard → Connect Qoder → OAuth login → Unlimited usage
+
+Models: if/kimi-k2-thinking, if/qwen3-coder-plus, if/glm-4.7, if/minimax-m2, if/deepseek-r1
+```
+
+#### Qwen (3 FREE models)
+
+```bash
+Dashboard → Connect Qwen → Device code auth → Unlimited usage
+
+Models: qw/qwen3-coder-plus, qw/qwen3-coder-flash
+```
+
+#### Kiro (Claude FREE)
+
+```bash
+Dashboard → Connect Kiro → AWS Builder ID or Google/GitHub → Unlimited
+
+Models: kr/claude-sonnet-4.5, kr/claude-haiku-4.5
+```
+
+---
+
+## 🎨 Combos
+
+You can reorder combo cards directly in **Dashboard → Combos** by dragging the handle on each card. The order is stored in SQLite and restored on reload.
+
+### Example 1: Maximize Subscription → Cheap Backup
+
+```
+Dashboard → Combos → Create New
+
+Name: premium-coding
+Models:
+ 1. cc/claude-opus-4-7 (Subscription primary)
+ 2. glm/glm-4.7 (Cheap backup, $0.6/1M)
+ 3. minimax/MiniMax-M2.1 (Cheapest fallback, $0.20/1M)
+
+Use in CLI: premium-coding
+```
+
+### Example 2: Free-Only (Zero Cost)
+
+```
+Name: free-combo
+Models:
+ 1. gc/gemini-3-flash-preview (180K free/month)
+ 2. if/kimi-k2-thinking (unlimited)
+ 3. qw/qwen3-coder-plus (unlimited)
+
+Cost: $0 forever!
+```
+
+---
+
+## 🔧 CLI Integration
+
+### Cursor IDE
+
+```
+Settings → Models → Advanced:
+ OpenAI API Base URL: http://localhost:20128/v1
+ OpenAI API Key: [from omniroute dashboard]
+ Model: cc/claude-opus-4-7
+```
+
+### Claude Code
+
+Edit `~/.claude/config.json`:
+
+```json
+{
+ "anthropic_api_base": "http://localhost:20128/v1",
+ "anthropic_api_key": "your-omniroute-api-key"
+}
+```
+
+### Codex CLI
+
+```bash
+export OPENAI_BASE_URL="http://localhost:20128"
+export OPENAI_API_KEY="your-omniroute-api-key"
+codex "your prompt"
+```
+
+### OpenClaw
+
+Edit `~/.openclaw/openclaw.json`:
+
+```json
+{
+ "agents": {
+ "defaults": {
+ "model": { "primary": "omniroute/if/glm-4.7" }
+ }
+ },
+ "models": {
+ "providers": {
+ "omniroute": {
+ "baseUrl": "http://localhost:20128/v1",
+ "apiKey": "your-omniroute-api-key",
+ "api": "openai-completions",
+ "models": [{ "id": "if/glm-4.7", "name": "glm-4.7" }]
+ }
+ }
+ }
+}
+```
+
+**Or use Dashboard:** CLI Tools → OpenClaw → Auto-config
+
+### Cline / Continue / RooCode
+
+```
+Provider: OpenAI Compatible
+Base URL: http://localhost:20128/v1
+API Key: [from dashboard]
+Model: cc/claude-opus-4-7
+```
+
+---
+
+## Разгръщане
+
+### Global npm install (Recommended)
+
+```bash
+npm install -g omniroute
+
+# Create config directory
+mkdir -p ~/.omniroute
+
+# Create .env file (see .env.example)
+cp .env.example ~/.omniroute/.env
+
+# Start server
+omniroute
+# Or with custom port:
+omniroute --port 3000
+```
+
+The CLI automatically loads `.env` from `~/.omniroute/.env` or `./.env`.
+
+### Uninstalling
+
+When you no longer need OmniRoute, we provide two quick scripts for a clean removal:
+
+| Command | Action |
+| ------------------------ | ----------------------------------------------------------------------------------- |
+| `npm run uninstall` | Removes the system app but **keeps your DB and configurations** in `~/.omniroute`. |
+| `npm run uninstall:full` | Removes the app AND permanently **erases all configurations, keys, and databases**. |
+
+> Note: To run these commands, navigate to the OmniRoute project folder (if you cloned it) and run them. Alternatively, if globally installed, you can simply run `npm uninstall -g omniroute`.
+
+### VPS Deployment
+
+```bash
+git clone https://github.com/diegosouzapw/OmniRoute.git
+cd OmniRoute && npm install && npm run build
+
+export JWT_SECRET="your-secure-secret-change-this"
+export INITIAL_PASSWORD="your-password"
+export DATA_DIR="/var/lib/omniroute"
+export PORT="20128"
+export HOSTNAME="0.0.0.0"
+export NODE_ENV="production"
+export NEXT_PUBLIC_BASE_URL="http://localhost:20128"
+export API_KEY_SECRET="endpoint-proxy-api-key-secret"
+
+npm run start
+# Or: pm2 start npm --name omniroute -- start
+```
+
+### PM2 Deployment (Low Memory)
+
+For servers with limited RAM, use the memory limit option:
+
+```bash
+# With 512MB limit (default)
+pm2 start npm --name omniroute -- start
+
+# Or with custom memory limit
+OMNIROUTE_MEMORY_MB=512 pm2 start npm --name omniroute -- start
+
+# Or using ecosystem.config.js
+pm2 start ecosystem.config.js
+```
+
+Create `ecosystem.config.js`:
+
+```javascript
+module.exports = {
+ apps: [
+ {
+ name: "omniroute",
+ script: "npm",
+ args: "start",
+ env: {
+ NODE_ENV: "production",
+ OMNIROUTE_MEMORY_MB: "512",
+ JWT_SECRET: "your-secret",
+ INITIAL_PASSWORD: "your-password",
+ },
+ node_args: "--max-old-space-size=512",
+ max_memory_restart: "300M",
+ },
+ ],
+};
+```
+
+### Docker
+
+```bash
+# Build image (default = runner-cli with codex/claude/droid preinstalled)
+docker build -t omniroute:cli .
+
+# Portable mode (recommended)
+docker run -d --name omniroute -p 20128:20128 --env-file ./.env -v omniroute-data:/app/data omniroute:cli
+```
+
+For host-integrated mode with CLI binaries, see the Docker section in the main docs.
+
+### Void Linux (xbps-src)
+
+Void Linux users can package and install OmniRoute natively using the `xbps-src` cross-compilation framework. This automates the Node.js standalone build along with the required `better-sqlite3` native bindings.
+
+<details>
+<summary><b>View xbps-src template</b></summary>
+
+```bash
+# Template file for 'omniroute'
+pkgname=omniroute
+version=3.2.4
+revision=1
+hostmakedepends="nodejs python3 make"
+depends="openssl"
+short_desc="Universal AI gateway with smart routing for multiple LLM providers"
+maintainer="zenobit <[email protected]>"
+license="MIT"
+homepage="https://github.com/diegosouzapw/OmniRoute"
+distfiles="https://github.com/diegosouzapw/OmniRoute/archive/refs/tags/v${version}.tar.gz"
+checksum=009400afee90a9f32599d8fe734145cfd84098140b7287990183dde45ae2245b
+system_accounts="_omniroute"
+omniroute_homedir="/var/lib/omniroute"
+export NODE_ENV=production
+export npm_config_engine_strict=false
+export npm_config_loglevel=error
+export npm_config_fund=false
+export npm_config_audit=false
+
+do_build() {
+ # Determine target CPU arch for node-gyp
+ local _gyp_arch
+ case "$XBPS_TARGET_MACHINE" in
+ aarch64*) _gyp_arch=arm64 ;;
+ armv7*|armv6*) _gyp_arch=arm ;;
+ i686*) _gyp_arch=ia32 ;;
+ *) _gyp_arch=x64 ;;
+ esac
+
+ # 1) Install all deps – skip scripts
+ NODE_ENV=development npm ci --ignore-scripts
+
+ # 2) Build the Next.js standalone bundle
+ npm run build
+
+ # 3) Copy static assets into standalone
+ cp -r .next/static .next/standalone/.next/static
+ [ -d public ] && cp -r public .next/standalone/public || true
+
+ # 4) Compile better-sqlite3 native binding
+ local _node_gyp=/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
+ (cd node_modules/better-sqlite3 && node "$_node_gyp" rebuild --arch="$_gyp_arch")
+
+ # 5) Place the compiled binding into the standalone bundle
+ local _bs3_release=.next/standalone/node_modules/better-sqlite3/build/Release
+ mkdir -p "$_bs3_release"
+ cp node_modules/better-sqlite3/build/Release/better_sqlite3.node "$_bs3_release/"
+
+ # 6) Remove arch-specific sharp bundles
+ rm -rf .next/standalone/node_modules/@img
+
+ # 7) Copy pino runtime deps omitted by Next.js static analysis:
+ for _mod in pino-abstract-transport split2 process-warning; do
+ cp -r "node_modules/$_mod" .next/standalone/node_modules/
+ done
+}
+
+do_check() {
+ npm run test:unit
+}
+
+do_install() {
+ vmkdir usr/lib/omniroute/.next
+ vcopy .next/standalone/. usr/lib/omniroute/.next/standalone
+
+ # Prevent removal of empty Next.js app router dirs by the post-install hook
+ for _d in \
+ .next/standalone/.next/server/app/dashboard \
+ .next/standalone/.next/server/app/dashboard/settings \
+ .next/standalone/.next/server/app/dashboard/providers; do
+ touch "${DESTDIR}/usr/lib/omniroute/${_d}/.keep"
+ done
+
+ cat > "${WRKDIR}/omniroute" <<'EOF'
+#!/bin/sh
+export PORT="${PORT:-20128}"
+export DATA_DIR="${DATA_DIR:-${XDG_DATA_HOME:-${HOME}/.local/share}/omniroute}"
+export APP_LOG_TO_FILE="${APP_LOG_TO_FILE:-false}"
+mkdir -p "${DATA_DIR}"
+exec node /usr/lib/omniroute/.next/standalone/server.js "$@"
+EOF
+ vbin "${WRKDIR}/omniroute"
+}
+
+post_install() {
+ vlicense LICENSE
+}
+```
+
+</details>
+
+### Environment Variables
+
+| Variable | Default | Description |
+| --------------------------------------- | ------------------------------------ | --------------------------------------------------------------------------------------------------------- |
+| `JWT_SECRET` | `omniroute-default-secret-change-me` | JWT signing secret (**change in production**) |
+| `INITIAL_PASSWORD` | `123456` | First login password |
+| `DATA_DIR` | `~/.omniroute` | Data directory (db, usage, logs) |
+| `PORT` | framework default | Service port (`20128` in examples) |
+| `HOSTNAME` | framework default | Bind host (Docker defaults to `0.0.0.0`) |
+| `NODE_ENV` | runtime default | Set `production` for deploy |
+| `BASE_URL` | `http://localhost:20128` | Server-side internal base URL |
+| `CLOUD_URL` | `https://omniroute.dev` | Cloud sync endpoint base URL |
+| `API_KEY_SECRET` | `endpoint-proxy-api-key-secret` | HMAC secret for generated API keys |
+| `REQUIRE_API_KEY` | `false` | Enforce Bearer API key on `/v1/*` |
+| `ALLOW_API_KEY_REVEAL` | `false` | Allow Api Manager to copy full API keys on demand |
+| `PROVIDER_LIMITS_SYNC_INTERVAL_MINUTES` | `70` | Server-side refresh cadence for cached Provider Limits data; UI refresh buttons still trigger manual sync |
+| `DISABLE_SQLITE_AUTO_BACKUP` | `false` | Disable automatic SQLite snapshots before writes/import/restore; manual backups still work |
+| `APP_LOG_TO_FILE` | `true` | Enables application and audit log output to disk |
+| `AUTH_COOKIE_SECURE` | `false` | Force `Secure` auth cookie (behind HTTPS reverse proxy) |
+| `CLOUDFLARED_BIN` | unset | Use an existing `cloudflared` binary instead of managed download |
+| `CLOUDFLARED_PROTOCOL` | `http2` | Transport for managed Quick Tunnels (`http2`, `quic`, or `auto`) |
+| `OMNIROUTE_MEMORY_MB` | `512` | Node.js heap limit in MB |
+| `PROMPT_CACHE_MAX_SIZE` | `50` | Max prompt cache entries |
+| `SEMANTIC_CACHE_MAX_SIZE` | `100` | Max semantic cache entries |
+
+For the full environment variable reference, see the [README](../README.md).
+
+---
+
+## 📊 Available Models
+
+<details>
+<summary><b>View all available models</b></summary>
+
+**Claude Code (`cc/`)** — Pro/Max: `cc/claude-opus-4-7`, `cc/claude-sonnet-4-5-20250929`, `cc/claude-haiku-4-5-20251001`
+
+**Codex (`cx/`)** — Plus/Pro: `cx/gpt-5.2-codex`, `cx/gpt-5.1-codex-max`
+
+**Gemini CLI (`gc/`)** — FREE: `gc/gemini-3-flash-preview`, `gc/gemini-2.5-pro`
+
+**GitHub Copilot (`gh/`)**: `gh/gpt-5`, `gh/claude-4.5-sonnet`
+
+**GLM (`glm/`)** — $0.6/1M: `glm/glm-4.7`
+
+**MiniMax (`minimax/`)** — $0.2/1M: `minimax/MiniMax-M2.1`
+
+**Qoder (`if/`)** — FREE: `if/kimi-k2-thinking`, `if/qwen3-coder-plus`, `if/deepseek-r1`
+
+**Qwen (`qw/`)** — FREE: `qw/qwen3-coder-plus`, `qw/qwen3-coder-flash`
+
+**Kiro (`kr/`)** — FREE: `kr/claude-sonnet-4.5`, `kr/claude-haiku-4.5`
+
+**DeepSeek (`ds/`)**: `ds/deepseek-chat`, `ds/deepseek-reasoner`
+
+**Groq (`groq/`)**: `groq/llama-3.3-70b-versatile`, `groq/llama-4-maverick-17b-128e-instruct`
+
+**xAI (`xai/`)**: `xai/grok-4`, `xai/grok-4-0709-fast-reasoning`, `xai/grok-code-mini`
+
+**Mistral (`mistral/`)**: `mistral/mistral-large-2501`, `mistral/codestral-2501`
+
+**Perplexity (`pplx/`)**: `pplx/sonar-pro`, `pplx/sonar`
+
+**Together AI (`together/`)**: `together/meta-llama/Llama-3.3-70B-Instruct-Turbo`
+
+**Fireworks AI (`fireworks/`)**: `fireworks/accounts/fireworks/models/deepseek-v3p1`
+
+**Cerebras (`cerebras/`)**: `cerebras/llama-3.3-70b`
+
+**Cohere (`cohere/`)**: `cohere/command-r-plus-08-2024`
+
+**NVIDIA NIM (`nvidia/`)**: `nvidia/nvidia/llama-3.3-70b-instruct`
+
+</details>
+
+---
+
+## 🧩 Advanced Features
+
+### Custom Models
+
+Add any model ID to any provider without waiting for an app update:
+
+```bash
+# Via API
+curl -X POST http://localhost:20128/api/provider-models \
+ -H "Content-Type: application/json" \
+ -d '{"provider": "openai", "modelId": "gpt-4.5-preview", "modelName": "GPT-4.5 Preview"}'
+
+# List: curl http://localhost:20128/api/provider-models?provider=openai
+# Remove: curl -X DELETE "http://localhost:20128/api/provider-models?provider=openai&model=gpt-4.5-preview"
+```
+
+Or use Dashboard: **Providers → [Provider] → Custom Models**.
+
+Notes:
+
+- OpenRouter and OpenAI/Anthropic-compatible providers are managed from **Available Models** only. Manual add, import, and auto-sync all land in the same available-model list, so there is no separate Custom Models section for those providers.
+- The **Custom Models** section is intended for providers that do not expose managed available-model imports.
+
+### Dedicated Provider Routes
+
+Route requests directly to a specific provider with model validation:
+
+```bash
+POST http://localhost:20128/v1/providers/openai/chat/completions
+POST http://localhost:20128/v1/providers/openai/embeddings
+POST http://localhost:20128/v1/providers/fireworks/images/generations
+```
+
+The provider prefix is auto-added if missing. Mismatched models return `400`.
+
+### Network Proxy Configuration
+
+```bash
+# Set global proxy
+curl -X PUT http://localhost:20128/api/settings/proxy \
+ -d '{"global": {"type":"http","host":"proxy.example.com","port":"8080"}}'
+
+# Per-provider proxy
+curl -X PUT http://localhost:20128/api/settings/proxy \
+ -d '{"providers": {"openai": {"type":"socks5","host":"proxy.example.com","port":"1080"}}}'
+
+# Test proxy
+curl -X POST http://localhost:20128/api/settings/proxy/test \
+ -d '{"proxy":{"type":"socks5","host":"proxy.example.com","port":"1080"}}'
+```
+
+**Precedence:** Key-specific → Combo-specific → Provider-specific → Global → Environment.
+
+### Model Catalog API
+
+```bash
+curl http://localhost:20128/api/models/catalog
+```
+
+Returns models grouped by provider with types (`chat`, `embedding`, `image`).
+
+### Cloud Sync
+
+- Sync providers, combos, and settings across devices
+- Automatic background sync with timeout + fail-fast
+- Prefer server-side `BASE_URL`/`CLOUD_URL` in production
+
+### Cloudflare Quick Tunnel
+
+- Available in **Dashboard → Endpoints** for Docker and other self-hosted deployments
+- Creates a temporary `https://*.trycloudflare.com` URL that forwards to your current OpenAI-compatible `/v1` endpoint
+- First enable installs `cloudflared` only when needed; later restarts reuse the same managed binary
+- Quick Tunnels are not auto-restored after an OmniRoute or container restart; re-enable them from the dashboard when needed
+- Tunnel URLs are ephemeral and change every time you stop/start the tunnel
+- Managed Quick Tunnels default to HTTP/2 transport to avoid noisy QUIC UDP buffer warnings in constrained containers
+- Set `CLOUDFLARED_PROTOCOL=quic` or `auto` if you want to override the managed transport choice
+- Set `CLOUDFLARED_BIN` if you prefer using a preinstalled `cloudflared` binary instead of the managed download
+
+### LLM Gateway Intelligence (Phase 9)
+
+- **Semantic Cache** — Auto-caches non-streaming, temperature=0 responses (bypass with `X-OmniRoute-No-Cache: true`)
+- **Request Idempotency** — Deduplicates requests within 5s via `Idempotency-Key` or `X-Request-Id` header
+- **Progress Tracking** — Opt-in SSE `event: progress` events via `X-OmniRoute-Progress: true` header
+
+---
+
+### Translator Playground
+
+Access via **Dashboard → Translator**. Debug and visualize how OmniRoute translates API requests between providers.
+
+| Mode | Purpose |
+| ---------------- | -------------------------------------------------------------------------------------- |
+| **Playground** | Select source/target formats, paste a request, and see the translated output instantly |
+| **Chat Tester** | Send live chat messages through the proxy and inspect the full request/response cycle |
+| **Test Bench** | Run batch tests across multiple format combinations to verify translation correctness |
+| **Live Monitor** | Watch real-time translations as requests flow through the proxy |
+
+**Use cases:**
+
+- Debug why a specific client/provider combination fails
+- Verify that thinking tags, tool calls, and system prompts translate correctly
+- Compare format differences between OpenAI, Claude, Gemini, and Responses API formats
+
+---
+
+### Routing Strategies
+
+Configure via **Dashboard → Settings → Routing**.
+
+| Strategy | Description |
+| ------------------------------ | ------------------------------------------------------------------------------------------------ |
+| **Fill First** | Uses accounts in priority order — primary account handles all requests until unavailable |
+| **Round Robin** | Cycles through all accounts with a configurable sticky limit (default: 3 calls per account) |
+| **P2C (Power of Two Choices)** | Picks 2 random accounts and routes to the healthier one — balances load with awareness of health |
+| **Random** | Randomly selects an account for each request using Fisher-Yates shuffle |
+| **Least Used** | Routes to the account with the oldest `lastUsedAt` timestamp, distributing traffic evenly |
+| **Cost Optimized** | Routes to the account with the lowest priority value, optimizing for lowest-cost providers |
+
+#### External Sticky Session Header
+
+For external session affinity (for example, Claude Code/Codex agents behind reverse proxies), send:
+
+```http
+X-Session-Id: your-session-key
+```
+
+OmniRoute also accepts `x_session_id` and returns the effective session key in `X-OmniRoute-Session-Id`.
+
+If you use Nginx and send underscore-form headers, enable:
+
+```nginx
+underscores_in_headers on;
+```
+
+#### Wildcard Model Aliases
+
+Create wildcard patterns to remap model names:
+
+```
+Pattern: claude-sonnet-* → Target: cc/claude-sonnet-4-5-20250929
+Pattern: gpt-* → Target: gh/gpt-5.1-codex
+```
+
+Wildcards support `*` (any characters) and `?` (single character).
+
+#### Fallback Chains
+
+Define global fallback chains that apply across all requests:
+
+```
+Chain: production-fallback
+ 1. cc/claude-opus-4-7
+ 2. gh/gpt-5.1-codex
+ 3. glm/glm-4.7
+```
+
+---
+
+### Resilience & Circuit Breakers
+
+Configure via **Dashboard → Settings → Resilience**.
+
+OmniRoute implements provider-level resilience with five components:
+
+1. **Request Queue & Pacing** — System-level request shaping:
+ - **Requests Per Minute (RPM)** — Maximum requests per minute per account
+ - **Min Time Between Requests** — Minimum gap in milliseconds between requests
+ - **Max Concurrent Requests** — Maximum simultaneous requests per account
+
+2. **Connection Cooldown** — Per-auth-type configuration for a single connection after retryable failures:
+ - **Base Cooldown** — Default cooldown window for retryable upstream failures
+ - **Use Upstream Retry Hints** — Honors authoritative `Retry-After` or reset hints when provided
+ - **Max Backoff Steps** — Maximum exponential backoff level for repeated failures
+
+3. **Provider Circuit Breaker** — Tracks end-to-end provider failures and automatically opens the breaker when the configured threshold is reached:
+ - **Failure Threshold** — Consecutive provider failures before opening the breaker
+ - **Reset Timeout** — Time window before the provider is tested again
+ - **CLOSED** (Healthy) — Requests flow normally
+ - **OPEN** — Provider is temporarily blocked after repeated failures
+ - **HALF_OPEN** — Testing if provider has recovered
+
+ Connection-scoped `429` rate limits stay in **Connection Cooldown** and do not count toward the provider breaker.
+
+ The provider breaker runtime state is shown on **Dashboard → Health** only.
+
+4. **Wait For Cooldown** — If every candidate connection is already cooling down, OmniRoute can wait for the earliest cooldown and retry the same client request automatically.
+
+5. **Rate Limit Auto-Detection** — When upstream providers return explicit wait windows, those hints override the local connection cooldown when the setting is enabled.
+
+**Pro Tip:** Use the **Health** page to inspect and reset live provider breakers after an outage. The Resilience page only changes configuration.
+
+---
+
+### Database Export / Import
+
+Manage database backups in **Dashboard → Settings → System & Storage**.
+
+| Action | Description |
+| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
+| **Export Database** | Downloads the current SQLite database as a `.sqlite` file |
+| **Export All (.tar.gz)** | Downloads a full backup archive including: database, settings, combos, provider connections (no credentials), API key metadata |
+| **Import Database** | Upload a `.sqlite` file to replace the current database. A pre-import backup is automatically created unless `DISABLE_SQLITE_AUTO_BACKUP=true` |
+
+```bash
+# API: Export database
+curl -o backup.sqlite http://localhost:20128/api/db-backups/export
+
+# API: Export all (full archive)
+curl -o backup.tar.gz http://localhost:20128/api/db-backups/exportAll
+
+# API: Import database
+curl -X POST http://localhost:20128/api/db-backups/import \
+```
+
+**Import Validation:** The imported file is validated for integrity (SQLite pragma check), required tables (`provider_connections`, `provider_nodes`, `combos`, `api_keys`), and size (max 100MB).
+
+**Use Cases:**
+
+- Migrate OmniRoute between machines
+- Create external backups for disaster recovery
+- Share configurations between team members (export all → share archive)
+
+---
+
+### Settings Dashboard
+
+The settings page is organized into 6 tabs for easy navigation:
+
+| Tab | Contents |
+| -------------- | -------------------------------------------------------------------------------------------- |
+| **General** | System storage tools, appearance settings, theme controls, and per-item sidebar visibility |
+| **Security** | Login/Password settings, IP Access Control, API auth for `/models`, and Provider Blocking |
+| **Routing** | Global routing strategy (6 options), wildcard model aliases, fallback chains, combo defaults |
+| **Resilience** | Request queue, connection cooldown, provider breaker config, and wait-for-cooldown behavior |
+| **AI** | Thinking budget configuration, global system prompt injection, prompt cache stats |
+| **Advanced** | Global proxy configuration (HTTP/SOCKS5) |
+
+---
+
+### Costs & Budget Management
+
+Access via **Dashboard → Costs**.
+
+| Tab | Purpose |
+| ----------- | ---------------------------------------------------------------------------------------- |
+| **Budget** | Set spending limits per API key with daily/weekly/monthly budgets and real-time tracking |
+| **Pricing** | View and edit model pricing entries — cost per 1K input/output tokens per provider |
+
+```bash
+# API: Set a budget
+curl -X POST http://localhost:20128/api/usage/budget \
+ -H "Content-Type: application/json" \
+ -d '{"keyId": "key-123", "limit": 50.00, "period": "monthly"}'
+
+# API: Get current budget status
+curl http://localhost:20128/api/usage/budget
+```
+
+**Cost Tracking:** Every request logs token usage and calculates cost using the pricing table. View breakdowns in **Dashboard → Usage** by provider, model, and API key.
+
+---
+
+### Audio Transcription
+
+OmniRoute supports audio transcription via the OpenAI-compatible endpoint:
+
+```bash
+POST /v1/audio/transcriptions
+Authorization: Bearer your-api-key
+Content-Type: multipart/form-data
+
+# Example with curl
+curl -X POST http://localhost:20128/v1/audio/transcriptions \
+ -H "Authorization: Bearer your-api-key" \
+ -F "model=deepgram/nova-3"
+```
+
+Available providers: **Deepgram** (`deepgram/`), **AssemblyAI** (`assemblyai/`).
+
+Supported audio formats: `mp3`, `wav`, `m4a`, `flac`, `ogg`, `webm`.
+
+---
+
+### Combo Balancing Strategies
+
+Configure per-combo balancing in **Dashboard → Combos → Create/Edit → Strategy**.
+
+| Strategy | Description |
+| ------------------ | ------------------------------------------------------------------------ |
+| **Round-Robin** | Rotates through models sequentially |
+| **Priority** | Always tries the first model; falls back only on error |
+| **Random** | Picks a random model from the combo for each request |
+| **Weighted** | Routes proportionally based on assigned weights per model |
+| **Least-Used** | Routes to the model with the fewest recent requests (uses combo metrics) |
+| **Cost-Optimized** | Routes to the cheapest available model (uses pricing table) |
+
+Global combo defaults can be set in **Dashboard → Settings → Routing → Combo Defaults**.
+
+---
+
+### Health Dashboard
+
+Access via **Dashboard → Health**. Real-time system health overview with 6 cards:
+
+| Card | What It Shows |
+| --------------------- | ----------------------------------------------------------- |
+| **System Status** | Uptime, version, memory usage, data directory |
+| **Provider Health** | Global provider circuit breaker runtime state |
+| **Rate Limits** | Active connection cooldowns per account with remaining time |
+| **Active Lockouts** | Active model-scoped lockouts and temporary exclusions |
+| **Signature Cache** | Deduplication cache stats (active keys, hit rate) |
+| **Latency Telemetry** | p50/p95/p99 latency aggregation per provider |
+
+**Pro Tip:** The Health page auto-refreshes every 10 seconds. Use the circuit breaker card to identify which providers are experiencing issues.
+
+---
+
+## 🖥️ Desktop Application (Electron)
+
+OmniRoute is available as a native desktop application for Windows, macOS, and Linux.
+
+### Инсталиране
+
+```bash
+# From the electron directory:
+cd electron
+npm install
+
+# Development mode (connect to running Next.js dev server):
+npm run dev
+
+# Production mode (uses standalone build):
+npm start
+```
+
+### Building Installers
+
+```bash
+cd electron
+npm run build # Current platform
+npm run build:win # Windows (.exe NSIS)
+npm run build:mac # macOS (.dmg universal)
+npm run build:linux # Linux (.AppImage)
+```
+
+Output → `electron/dist-electron/`
+
+### Key Features
+
+| Feature | Description |
+| --------------------------- | ---------------------------------------------------- |
+| **Server Readiness** | Polls server before showing window (no blank screen) |
+| **System Tray** | Minimize to tray, change port, quit from tray menu |
+| **Port Management** | Change server port from tray (auto-restarts server) |
+| **Content Security Policy** | Restrictive CSP via session headers |
+| **Single Instance** | Only one app instance can run at a time |
+| **Offline Mode** | Bundled Next.js server works without internet |
+
+### Environment Variables
+
+| Variable | Default | Description |
+| --------------------- | ------- | -------------------------------- |
+| `OMNIROUTE_PORT` | `20128` | Server port |
+| `OMNIROUTE_MEMORY_MB` | `512` | Node.js heap limit (64–16384 MB) |
+
+📖 Full documentation: [`electron/README.md`](../electron/README.md)
diff --git a/docs/i18n/az/docs/ops/COVERAGE_PLAN.md b/docs/i18n/az/docs/ops/COVERAGE_PLAN.md
new file mode 100644
index 0000000000..79a68dcaa6
--- /dev/null
+++ b/docs/i18n/az/docs/ops/COVERAGE_PLAN.md
@@ -0,0 +1,170 @@
+# Test Coverage Plan (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/COVERAGE_PLAN.md) · 🇸🇦 [ar](../../ar/docs/COVERAGE_PLAN.md) · 🇧🇬 [bg](../../bg/docs/COVERAGE_PLAN.md) · 🇧🇩 [bn](../../bn/docs/COVERAGE_PLAN.md) · 🇨🇿 [cs](../../cs/docs/COVERAGE_PLAN.md) · 🇩🇰 [da](../../da/docs/COVERAGE_PLAN.md) · 🇩🇪 [de](../../de/docs/COVERAGE_PLAN.md) · 🇪🇸 [es](../../es/docs/COVERAGE_PLAN.md) · 🇮🇷 [fa](../../fa/docs/COVERAGE_PLAN.md) · 🇫🇮 [fi](../../fi/docs/COVERAGE_PLAN.md) · 🇫🇷 [fr](../../fr/docs/COVERAGE_PLAN.md) · 🇮🇳 [gu](../../gu/docs/COVERAGE_PLAN.md) · 🇮🇱 [he](../../he/docs/COVERAGE_PLAN.md) · 🇮🇳 [hi](../../hi/docs/COVERAGE_PLAN.md) · 🇭🇺 [hu](../../hu/docs/COVERAGE_PLAN.md) · 🇮🇩 [id](../../id/docs/COVERAGE_PLAN.md) · 🇮🇹 [it](../../it/docs/COVERAGE_PLAN.md) · 🇯🇵 [ja](../../ja/docs/COVERAGE_PLAN.md) · 🇰🇷 [ko](../../ko/docs/COVERAGE_PLAN.md) · 🇮🇳 [mr](../../mr/docs/COVERAGE_PLAN.md) · 🇲🇾 [ms](../../ms/docs/COVERAGE_PLAN.md) · 🇳🇱 [nl](../../nl/docs/COVERAGE_PLAN.md) · 🇳🇴 [no](../../no/docs/COVERAGE_PLAN.md) · 🇵🇭 [phi](../../phi/docs/COVERAGE_PLAN.md) · 🇵🇱 [pl](../../pl/docs/COVERAGE_PLAN.md) · 🇵🇹 [pt](../../pt/docs/COVERAGE_PLAN.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/COVERAGE_PLAN.md) · 🇷🇴 [ro](../../ro/docs/COVERAGE_PLAN.md) · 🇷🇺 [ru](../../ru/docs/COVERAGE_PLAN.md) · 🇸🇰 [sk](../../sk/docs/COVERAGE_PLAN.md) · 🇸🇪 [sv](../../sv/docs/COVERAGE_PLAN.md) · 🇰🇪 [sw](../../sw/docs/COVERAGE_PLAN.md) · 🇮🇳 [ta](../../ta/docs/COVERAGE_PLAN.md) · 🇮🇳 [te](../../te/docs/COVERAGE_PLAN.md) · 🇹🇭 [th](../../th/docs/COVERAGE_PLAN.md) · 🇹🇷 [tr](../../tr/docs/COVERAGE_PLAN.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/COVERAGE_PLAN.md) · 🇵🇰 [ur](../../ur/docs/COVERAGE_PLAN.md) · 🇻🇳 [vi](../../vi/docs/COVERAGE_PLAN.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/COVERAGE_PLAN.md)
+
+---
+
+Last updated: 2026-03-28
+
+## Baseline
+
+There are multiple coverage numbers depending on how the report is computed. For planning, only one of them is useful.
+
+| Metric | Scope | Statements / Lines | Branches | Functions | Notes |
+| -------------------- | ----------------------------------------------------- | -----------------: | -------: | --------: | --------------------------------------------------- |
+| Legacy | Old `npm run test:coverage` | 79.42% | 75.15% | 67.94% | Inflated: counts test files and excludes `open-sse` |
+| Diagnostic | Source-only, excluding tests and excluding `open-sse` | 68.16% | 63.55% | 64.06% | Useful only to isolate `src/**` |
+| Recommended baseline | Source-only, excluding tests and including `open-sse` | 56.95% | 66.05% | 57.80% | This is the project-wide baseline to improve |
+
+The recommended baseline is the number to optimize against.
+
+## Rules
+
+- Coverage targets apply to source files, not to `tests/**`.
+- `open-sse/**` is part of the product and must remain in scope.
+- New code should not reduce coverage in touched areas.
+- Prefer testing behavior and branch outcomes over implementation details.
+- Prefer temp SQLite databases and small fixtures over broad mocks for `src/lib/db/**`.
+
+## Current command set
+
+- `npm run test:coverage`
+ - Main source coverage gate for the unit test suite
+ - Generates `text-summary`, `html`, `json-summary`, and `lcov`
+- `npm run coverage:report`
+ - Detailed file-by-file report from the latest run
+- `npm run test:coverage:legacy`
+ - Historical comparison only
+
+## Milestones
+
+| Phase | Target | Focus |
+| ------- | ---------------------: | ------------------------------------------------- |
+| Phase 1 | 60% statements / lines | Quick wins and low-risk utility coverage |
+| Phase 2 | 65% statements / lines | DB and route foundations |
+| Phase 3 | 70% statements / lines | Provider validation and usage analytics |
+| Phase 4 | 75% statements / lines | `open-sse` translators and helpers |
+| Phase 5 | 80% statements / lines | `open-sse` handlers and executor branches |
+| Phase 6 | 85% statements / lines | Harder edge cases, branch debt, regression suites |
+| Phase 7 | 90% statements / lines | Final sweep, gap closure, strict ratchet |
+
+Branches and functions should ratchet upward with each phase, but the primary hard target is statements / lines.
+
+## Priority hotspots
+
+These files or areas offer the best return for the next phases:
+
+1. `open-sse/handlers`
+ - `chatCore.ts` at 7.57%
+ - Overall directory at 29.07%
+2. `open-sse/translator/request`
+ - Overall directory at 36.39%
+ - Many translators are still near single-digit coverage
+3. `open-sse/translator/response`
+ - Overall directory at 8.07%
+4. `open-sse/executors`
+ - Overall directory at 36.62%
+5. `src/lib/db`
+ - `models.ts` at 20.66%
+ - `registeredKeys.ts` at 34.46%
+ - `modelComboMappings.ts` at 36.25%
+ - `settings.ts` at 46.40%
+ - `webhooks.ts` at 33.33%
+6. `src/lib/usage`
+ - `usageHistory.ts` at 21.12%
+ - `usageStats.ts` at 9.56%
+ - `costCalculator.ts` at 30.00%
+7. `src/lib/providers`
+ - `validation.ts` at 41.16%
+8. Low-risk utility and API files for early gains
+ - `src/shared/utils/upstreamError.ts`
+ - `src/shared/utils/apiAuth.ts`
+ - `src/lib/api/errorResponse.ts`
+ - `src/app/api/settings/require-login/route.ts`
+ - `src/app/api/providers/[id]/models/route.ts`
+
+## Execution checklist
+
+### Phase 1: 56.95% -> 60%
+
+- [x] Fix coverage metric so it reflects source code instead of test files
+- [x] Keep a legacy coverage script for comparison
+- [x] Record the baseline and hotspots in-repo
+- [ ] Add focused tests for low-risk utilities:
+ - `src/shared/utils/upstreamError.ts`
+ - `src/shared/utils/fetchTimeout.ts`
+ - `src/lib/api/errorResponse.ts`
+ - `src/shared/utils/apiAuth.ts`
+ - `src/lib/display/names.ts`
+- [ ] Add route tests for:
+ - `src/app/api/settings/require-login/route.ts`
+ - `src/app/api/providers/[id]/models/route.ts`
+
+### Phase 2: 60% -> 65%
+
+- [ ] Add DB-backed tests for:
+ - `src/lib/db/modelComboMappings.ts`
+ - `src/lib/db/settings.ts`
+ - `src/lib/db/registeredKeys.ts`
+- [ ] Cover branch behavior in:
+ - `src/lib/providers/validation.ts`
+ - `src/app/api/v1/embeddings/route.ts`
+ - `src/app/api/v1/moderations/route.ts`
+
+### Phase 3: 65% -> 70%
+
+- [ ] Add usage analytics tests for:
+ - `src/lib/usage/usageHistory.ts`
+ - `src/lib/usage/usageStats.ts`
+ - `src/lib/usage/costCalculator.ts`
+- [ ] Expand route coverage for proxy management and settings branches
+
+### Phase 4: 70% -> 75%
+
+- [ ] Cover translator helpers and central translation paths:
+ - `open-sse/translator/index.ts`
+ - `open-sse/translator/helpers/*`
+ - `open-sse/translator/request/*`
+ - `open-sse/translator/response/*`
+
+### Phase 5: 75% -> 80%
+
+- [ ] Add handler-level tests for:
+ - `open-sse/handlers/chatCore.ts`
+ - `open-sse/handlers/responsesHandler.js`
+ - `open-sse/handlers/imageGeneration.js`
+ - `open-sse/handlers/embeddings.js`
+- [ ] Add executor branch coverage for provider-specific auth, retries, and endpoint overrides
+
+### Phase 6: 80% -> 85%
+
+- [ ] Merge more edge-case suites into the main coverage path
+- [ ] Increase function coverage for DB modules with weak constructor/helper coverage
+- [ ] Close branch gaps in `settings.ts`, `registeredKeys.ts`, `validation.ts`, and translator helpers
+
+### Phase 7: 85% -> 90%
+
+- [ ] Treat the remaining low-coverage files as blockers
+- [ ] Add regression tests for every uncovered production bug fixed during the push to 90%
+- [ ] Raise the coverage gate in CI only after the local baseline is stable for at least two consecutive runs
+
+## Ratchet policy
+
+Update `npm run test:coverage` thresholds only after the project actually exceeds the next milestone with a comfortable buffer.
+
+Recommended ratchet sequence:
+
+1. 55/60/55
+2. 60/62/58
+3. 65/64/62
+4. 70/66/66
+5. 75/70/72
+6. 80/75/78
+7. 85/80/84
+8. 90/85/88
+
+Order is `statements-lines / branches / functions`.
+
+## Known gap
+
+The current coverage command measures the main Node unit suite and includes source reached from it, including `open-sse`. It does not yet merge Vitest coverage into a single unified report. That merge is worth doing later, but it is not a blocker for starting the 60% -> 80% climb.
diff --git a/docs/i18n/az/docs/ops/FLY_IO_DEPLOYMENT_GUIDE.md b/docs/i18n/az/docs/ops/FLY_IO_DEPLOYMENT_GUIDE.md
new file mode 100644
index 0000000000..a6faa258bb
--- /dev/null
+++ b/docs/i18n/az/docs/ops/FLY_IO_DEPLOYMENT_GUIDE.md
@@ -0,0 +1,455 @@
+# OmniRoute Fly.io 部署指南 (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇸🇦 [ar](../../ar/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇧🇬 [bg](../../bg/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇧🇩 [bn](../../bn/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇨🇿 [cs](../../cs/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇩🇰 [da](../../da/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇩🇪 [de](../../de/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇪🇸 [es](../../es/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇮🇷 [fa](../../fa/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇫🇮 [fi](../../fi/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇫🇷 [fr](../../fr/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇮🇳 [gu](../../gu/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇮🇱 [he](../../he/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇮🇳 [hi](../../hi/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇭🇺 [hu](../../hu/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇮🇩 [id](../../id/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇮🇹 [it](../../it/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇯🇵 [ja](../../ja/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇰🇷 [ko](../../ko/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇮🇳 [mr](../../mr/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇲🇾 [ms](../../ms/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇳🇱 [nl](../../nl/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇳🇴 [no](../../no/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇵🇭 [phi](../../phi/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇵🇱 [pl](../../pl/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇵🇹 [pt](../../pt/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇷🇴 [ro](../../ro/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇷🇺 [ru](../../ru/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇸🇰 [sk](../../sk/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇸🇪 [sv](../../sv/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇰🇪 [sw](../../sw/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇮🇳 [ta](../../ta/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇮🇳 [te](../../te/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇹🇭 [th](../../th/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇹🇷 [tr](../../tr/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇵🇰 [ur](../../ur/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇻🇳 [vi](../../vi/docs/FLY_IO_DEPLOYMENT_GUIDE.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/FLY_IO_DEPLOYMENT_GUIDE.md)
+
+---
+
+本文档记录 OmniRoute 在 Fly.io 上的实际部署方法,适用于两类场景:
+
+- 首次把当前项目部署到 Fly.io
+- 后续代码更新后继续发布
+- 新项目参考同样流程部署
+
+本文基于当前项目已经验证通过的配置整理,应用名为 `omniroute`。
+
+---
+
+## 1. 部署目标
+
+- 平台:Fly.io
+- 部署方式:本地 `flyctl` 直接发布
+- 运行方式:使用仓库内现有 `Dockerfile` 和 `fly.toml`
+- 数据持久化:Fly Volume 挂载到 `/data`
+- 访问地址:`https://omniroute.fly.dev/`
+
+---
+
+## 2. 当前项目关键配置
+
+当前仓库中的 `fly.toml` 已确认包含以下关键项:
+
+```toml
+app = 'omniroute'
+primary_region = 'sin'
+
+[[mounts]]
+ source = 'data'
+ destination = '/data'
+
+[processes]
+ app = 'node run-standalone.mjs'
+
+[http_service]
+ internal_port = 20128
+
+[env]
+ TZ = "Asia/Shanghai"
+ HOST = "0.0.0.0"
+ HOSTNAME = "0.0.0.0"
+ BIND = "0.0.0.0"
+```
+
+说明:
+
+- `app = 'omniroute'` 决定实际部署到哪个 Fly 应用
+- `destination = '/data'` 决定持久卷挂载目录
+- 本项目必须让 `DATA_DIR=/data`,否则数据库和密钥会写到容器临时目录
+
+---
+
+## 3. 必备工具
+
+### 3.1 安装 Fly CLI
+
+Windows PowerShell:
+
+```powershell
+pwsh -Command "iwr https://fly.io/install.ps1 -useb | iex"
+```
+
+如果安装脚本在当前环境失败,也可以手动下载 `flyctl` 二进制并放到 `PATH` 中。
+
+### 3.2 登录 Fly 账号
+
+```powershell
+flyctl auth login
+```
+
+### 3.3 检查登录状态
+
+```powershell
+flyctl auth whoami
+flyctl version
+```
+
+---
+
+## 4. 首次部署当前项目
+
+### 4.1 获取代码并进入目录
+
+```powershell
+git clone https://github.com/xiaoge1688/OmniRoute.git
+cd OmniRoute
+```
+
+### 4.2 确认应用名
+
+打开 `fly.toml`,重点看这一行:
+
+```toml
+app = 'omniroute'
+```
+
+如果你准备部署到自己的新应用,可改成全局唯一名称,例如:
+
+```toml
+app = 'omniroute-yourname'
+```
+
+注意:
+
+- 控制台里要看的是与 `fly.toml` 里 `app` 一致的应用
+- 以前如果用过别的名字,例如 `oroute`,不要和 `omniroute` 混淆
+
+### 4.3 创建应用
+
+如果该应用尚不存在:
+
+```powershell
+flyctl apps create omniroute
+```
+
+如果你已经改成别的应用名,把 `omniroute` 替换成你的名字。
+
+### 4.4 首次部署
+
+```powershell
+flyctl deploy
+```
+
+---
+
+## 5. 必配参数
+
+本项目在 Fly.io 上建议至少配置以下参数。
+
+### 5.1 已验证使用的参数
+
+这些参数已经在当前 `omniroute` 应用上实际部署:
+
+- `API_KEY_SECRET`
+- `DATA_DIR`
+- `JWT_SECRET`
+- `MACHINE_ID_SALT`
+- `NEXT_PUBLIC_BASE_URL`
+- `STORAGE_ENCRYPTION_KEY`
+
+### 5.2 关于 `INITIAL_PASSWORD`
+
+当前项目没有设置 `INITIAL_PASSWORD`,因为本次部署按需求不使用它。
+
+如果不设置:
+
+- 启动日志会提示默认密码是 `CHANGEME`
+- 部署后应尽快在系统设置中修改登录密码
+
+如果你希望无人值守初始化后台密码,也可以后续补:
+
+- `INITIAL_PASSWORD`
+
+---
+
+## 6. 推荐参数说明
+
+### 6.1 Secrets 中设置
+
+建议放入 Fly Secrets:
+
+| 变量名 | 是否推荐 | 说明 |
+| ------------------------ | -------- | ------------------------------ |
+| `API_KEY_SECRET` | 必需 | API Key 生成与校验使用 |
+| `JWT_SECRET` | 必需 | 登录态和 JWT 签名使用 |
+| `STORAGE_ENCRYPTION_KEY` | 强烈推荐 | 加密存储敏感连接信息 |
+| `MACHINE_ID_SALT` | 推荐 | 生成稳定机器标识 |
+| `INITIAL_PASSWORD` | 可选 | 首次部署时直接指定后台初始密码 |
+| OAuth/API 私密凭证 | 按需 | 各类外部平台鉴权配置 |
+
+### 6.2 当前项目推荐值
+
+| 变量名 | 推荐值 |
+| ---------------------- | --------------------------- |
+| `DATA_DIR` | `/data` |
+| `NEXT_PUBLIC_BASE_URL` | `https://omniroute.fly.dev` |
+
+说明:
+
+- `DATA_DIR=/data` 非常关键,必须与 Fly Volume 挂载点一致
+- `NEXT_PUBLIC_BASE_URL` 用于调度器和前端回调等场景
+
+---
+
+## 7. 一键设置参数
+
+下面命令会生成安全随机值,并把当前项目需要的参数一次性写入 Fly Secrets。
+
+说明:
+
+- 不包含 `INITIAL_PASSWORD`
+- 适用于当前项目 `omniroute`
+
+```powershell
+$apiKeySecret = [Convert]::ToHexString((1..32 | ForEach-Object { Get-Random -Minimum 0 -Maximum 256 })).ToLower()
+$jwtSecret = [Convert]::ToHexString((1..64 | ForEach-Object { Get-Random -Minimum 0 -Maximum 256 })).ToLower()
+$machineIdSalt = [Convert]::ToHexString((1..32 | ForEach-Object { Get-Random -Minimum 0 -Maximum 256 })).ToLower()
+$storageKey = [Convert]::ToHexString((1..32 | ForEach-Object { Get-Random -Minimum 0 -Maximum 256 })).ToLower()
+
+flyctl secrets set `
+ API_KEY_SECRET=$apiKeySecret `
+ JWT_SECRET=$jwtSecret `
+ MACHINE_ID_SALT=$machineIdSalt `
+ STORAGE_ENCRYPTION_KEY=$storageKey `
+ DATA_DIR=/data `
+ NEXT_PUBLIC_BASE_URL=https://omniroute.fly.dev `
+ -a omniroute
+```
+
+如果你还要加初始密码:
+
+```powershell
+flyctl secrets set INITIAL_PASSWORD=你的强密码 -a omniroute
+```
+
+---
+
+## 8. 查看当前参数
+
+```powershell
+flyctl secrets list -a omniroute
+```
+
+如果控制台 `Secrets` 页面没有显示你期待的变量,先检查:
+
+- 看的应用是不是 `omniroute`
+- `fly.toml` 的 `app` 是否和控制台应用一致
+
+---
+
+## 9. 后续更新发布
+
+代码有更新后,发布步骤很简单:
+
+```powershell
+git pull
+flyctl deploy
+```
+
+如果只更新参数,不改代码:
+
+```powershell
+flyctl secrets set KEY=value -a omniroute
+```
+
+Fly 会自动滚动更新机器。
+
+### 9.1 跟踪原仓库更新并保留 fork 的 `fly.toml`
+
+如果当前仓库是 fork,并且你要同步上游 `https://github.com/diegosouzapw/OmniRoute` 的更新,推荐按下面流程执行。
+
+先确认远程:
+
+```powershell
+git remote -v
+```
+
+应至少包含:
+
+- `origin` 指向你自己的 fork
+- `upstream` 指向原仓库
+
+如果没有 `upstream`,先添加:
+
+```powershell
+git remote add upstream https://github.com/diegosouzapw/OmniRoute.git
+```
+
+同步上游前,先抓取最新提交和标签:
+
+```powershell
+git fetch upstream --tags
+```
+
+查看当前版本和上游标签:
+
+```powershell
+git describe --tags --always
+git show --no-patch --oneline v3.4.7
+```
+
+如果你想合并上游最新 `main`,并强制保留 fork 当前的 `fly.toml`,可按下面流程执行:
+
+```powershell
+git merge upstream/main
+git checkout HEAD~1 -- fly.toml
+git add -- fly.toml
+git commit -m "chore(deploy): keep fork fly.toml"
+git push origin main
+```
+
+说明:
+
+- `git merge upstream/main` 用于同步原仓库最新代码
+- `git checkout HEAD~1 -- fly.toml` 用于恢复合并前你 fork 自己的 `fly.toml`
+- 如果上游没有改 `fly.toml`,这一步不会带来额外差异
+- 如果上游改了 `fly.toml`,这一步能确保 Fly 应用名、挂载卷、区域等 fork 自定义部署配置不被覆盖
+
+如果你明确只想对齐某个发布标签,例如 `v3.4.7`,也可以先确认标签是否已经包含在 `upstream/main`:
+
+```powershell
+git merge-base --is-ancestor v3.4.7 upstream/main
+```
+
+返回成功表示 `upstream/main` 已经包含该版本,直接合并 `upstream/main` 即可。
+
+### 9.2 同步上游后的标准发布顺序
+
+同步原仓库完成后,推荐按下面顺序发布:
+
+1. `git fetch upstream --tags`
+2. `git merge upstream/main`
+3. 恢复 fork 的 `fly.toml`
+4. `git push origin main`
+5. `flyctl deploy`
+6. `flyctl status -a omniroute`
+7. `flyctl logs --no-tail -a omniroute`
+
+这就是当前项目升级到 `v3.4.7` 时使用的实际流程。
+
+---
+
+## 10. 发布后检查
+
+### 10.1 查看应用状态
+
+```powershell
+flyctl status -a omniroute
+```
+
+### 10.2 查看启动日志
+
+```powershell
+flyctl logs --no-tail -a omniroute
+```
+
+### 10.3 检查网站可访问
+
+```powershell
+try {
+ (Invoke-WebRequest -Uri "https://omniroute.fly.dev" -MaximumRedirection 5 -UseBasicParsing).StatusCode
+} catch {
+ if ($_.Exception.Response) {
+ $_.Exception.Response.StatusCode.value__
+ } else {
+ throw
+ }
+}
+```
+
+返回 `200` 说明站点已正常响应。
+
+---
+
+## 11. 成功标志
+
+部署成功后,日志里应看到类似内容:
+
+```text
+[bootstrap] Secrets persisted to: /data/server.env
+[DB] SQLite database ready: /data/storage.sqlite
+```
+
+这两个点很关键:
+
+- `/data/server.env` 说明运行时密钥落到了持久卷
+- `/data/storage.sqlite` 说明数据库写入持久卷
+
+如果你看到的是 `/app/data/...`,说明 `DATA_DIR` 没配对,需要立即修正。
+
+---
+
+## 12. 常见问题
+
+### 12.1 `Secrets` 页面是空的
+
+通常有两种原因:
+
+- 你还没执行 `flyctl secrets set`
+- 你打开的是另一个应用,例如 `oroute`,不是 `omniroute`
+
+### 12.2 `flyctl deploy` 报 `app not found`
+
+先创建应用:
+
+```powershell
+flyctl apps create omniroute
+```
+
+### 12.3 `fly.toml` 解析失败
+
+重点检查:
+
+- 注释里是否有乱码字符
+- TOML 引号和缩进是否正确
+
+### 12.4 数据没有持久化
+
+检查以下两点:
+
+- `fly.toml` 中是否存在 `destination = '/data'`
+- `DATA_DIR` 是否设置为 `/data`
+
+### 12.5 不设置 `INITIAL_PASSWORD` 是否能跑
+
+可以运行,但会回退到默认 `CHANGEME`。生产环境建议尽快修改后台密码。
+
+---
+
+## 13. 新项目复用建议
+
+如果以后是新项目照着这份文档部署,最少改这几项:
+
+1. 修改 `fly.toml` 里的 `app`
+2. 修改 `NEXT_PUBLIC_BASE_URL`
+3. 保持 `DATA_DIR=/data`
+4. 重新生成 `API_KEY_SECRET`、`JWT_SECRET`、`MACHINE_ID_SALT`、`STORAGE_ENCRYPTION_KEY`
+5. 首次部署后检查日志是否写入 `/data`
+
+不要直接复用旧项目的密钥。
+
+---
+
+## 14. 当前项目的最小发布清单
+
+当前项目后续最常用的命令如下:
+
+```powershell
+flyctl auth whoami
+flyctl status -a omniroute
+flyctl secrets list -a omniroute
+flyctl deploy
+flyctl logs --no-tail -a omniroute
+```
+
+如果只是正常发版,核心就是:
+
+```powershell
+flyctl deploy
+```
+
+如果是新环境首次部署,核心就是:
+
+1. `flyctl auth login`
+2. `flyctl apps create omniroute`
+3. `flyctl secrets set ... -a omniroute`
+4. `flyctl deploy`
+5. `flyctl logs --no-tail -a omniroute`
diff --git a/docs/i18n/az/docs/ops/RELEASE_CHECKLIST.md b/docs/i18n/az/docs/ops/RELEASE_CHECKLIST.md
new file mode 100644
index 0000000000..725dbb5c2e
--- /dev/null
+++ b/docs/i18n/az/docs/ops/RELEASE_CHECKLIST.md
@@ -0,0 +1,44 @@
+# Release Checklist (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/RELEASE_CHECKLIST.md) · 🇸🇦 [ar](../../ar/docs/RELEASE_CHECKLIST.md) · 🇧🇬 [bg](../../bg/docs/RELEASE_CHECKLIST.md) · 🇧🇩 [bn](../../bn/docs/RELEASE_CHECKLIST.md) · 🇨🇿 [cs](../../cs/docs/RELEASE_CHECKLIST.md) · 🇩🇰 [da](../../da/docs/RELEASE_CHECKLIST.md) · 🇩🇪 [de](../../de/docs/RELEASE_CHECKLIST.md) · 🇪🇸 [es](../../es/docs/RELEASE_CHECKLIST.md) · 🇮🇷 [fa](../../fa/docs/RELEASE_CHECKLIST.md) · 🇫🇮 [fi](../../fi/docs/RELEASE_CHECKLIST.md) · 🇫🇷 [fr](../../fr/docs/RELEASE_CHECKLIST.md) · 🇮🇳 [gu](../../gu/docs/RELEASE_CHECKLIST.md) · 🇮🇱 [he](../../he/docs/RELEASE_CHECKLIST.md) · 🇮🇳 [hi](../../hi/docs/RELEASE_CHECKLIST.md) · 🇭🇺 [hu](../../hu/docs/RELEASE_CHECKLIST.md) · 🇮🇩 [id](../../id/docs/RELEASE_CHECKLIST.md) · 🇮🇹 [it](../../it/docs/RELEASE_CHECKLIST.md) · 🇯🇵 [ja](../../ja/docs/RELEASE_CHECKLIST.md) · 🇰🇷 [ko](../../ko/docs/RELEASE_CHECKLIST.md) · 🇮🇳 [mr](../../mr/docs/RELEASE_CHECKLIST.md) · 🇲🇾 [ms](../../ms/docs/RELEASE_CHECKLIST.md) · 🇳🇱 [nl](../../nl/docs/RELEASE_CHECKLIST.md) · 🇳🇴 [no](../../no/docs/RELEASE_CHECKLIST.md) · 🇵🇭 [phi](../../phi/docs/RELEASE_CHECKLIST.md) · 🇵🇱 [pl](../../pl/docs/RELEASE_CHECKLIST.md) · 🇵🇹 [pt](../../pt/docs/RELEASE_CHECKLIST.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/RELEASE_CHECKLIST.md) · 🇷🇴 [ro](../../ro/docs/RELEASE_CHECKLIST.md) · 🇷🇺 [ru](../../ru/docs/RELEASE_CHECKLIST.md) · 🇸🇰 [sk](../../sk/docs/RELEASE_CHECKLIST.md) · 🇸🇪 [sv](../../sv/docs/RELEASE_CHECKLIST.md) · 🇰🇪 [sw](../../sw/docs/RELEASE_CHECKLIST.md) · 🇮🇳 [ta](../../ta/docs/RELEASE_CHECKLIST.md) · 🇮🇳 [te](../../te/docs/RELEASE_CHECKLIST.md) · 🇹🇭 [th](../../th/docs/RELEASE_CHECKLIST.md) · 🇹🇷 [tr](../../tr/docs/RELEASE_CHECKLIST.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/RELEASE_CHECKLIST.md) · 🇵🇰 [ur](../../ur/docs/RELEASE_CHECKLIST.md) · 🇻🇳 [vi](../../vi/docs/RELEASE_CHECKLIST.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/RELEASE_CHECKLIST.md)
+
+---
+
+Use this checklist before tagging or publishing a new OmniRoute release.
+
+## Version and Changelog
+
+1. Bump `package.json` version (`x.y.z`) in the release branch.
+2. Move release notes from `## [Unreleased]` in `CHANGELOG.md` to a dated section:
+ - `## [x.y.z] — YYYY-MM-DD`
+3. Keep `## [Unreleased]` as the first changelog section for upcoming work.
+4. Ensure the latest semver section in `CHANGELOG.md` equals `package.json` version.
+
+## API Docs
+
+1. Update `docs/reference/openapi.yaml`:
+ - `info.version` must equal `package.json` version.
+2. Validate endpoint examples if API contracts changed.
+
+## Runtime Docs
+
+1. Review `docs/architecture/ARCHITECTURE.md` for storage/runtime drift.
+2. Review `docs/guides/TROUBLESHOOTING.md` for env var and operational drift.
+3. Verify the release/runtime Node.js version still satisfies the supported secure floor:
+ - `>=20.20.2 <21` or `>=22.22.2 <23`
+ - `npm run check:node-runtime`
+4. Validate the npm publish artifact after building the standalone package:
+ - `npm run build:cli`
+ - `npm run check:pack-artifact`
+ - confirm no `app.__qa_backup`, `scripts/scratch`, `package-lock.json`, or other local residue
+5. Update localized docs if source docs changed significantly.
+
+## Automated Check
+
+Run the sync guard locally before opening PR:
+
+```bash
+npm run check:docs-sync
+```
+
+CI also runs this check in `.github/workflows/ci.yml` (lint job).
diff --git a/docs/i18n/az/docs/ops/VM_DEPLOYMENT_GUIDE.md b/docs/i18n/az/docs/ops/VM_DEPLOYMENT_GUIDE.md
new file mode 100644
index 0000000000..cfa40cd976
--- /dev/null
+++ b/docs/i18n/az/docs/ops/VM_DEPLOYMENT_GUIDE.md
@@ -0,0 +1,407 @@
+# OmniRoute — Deployment Guide on VM with Cloudflare (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/VM_DEPLOYMENT_GUIDE.md) · 🇸🇦 [ar](../../ar/docs/VM_DEPLOYMENT_GUIDE.md) · 🇧🇬 [bg](../../bg/docs/VM_DEPLOYMENT_GUIDE.md) · 🇧🇩 [bn](../../bn/docs/VM_DEPLOYMENT_GUIDE.md) · 🇨🇿 [cs](../../cs/docs/VM_DEPLOYMENT_GUIDE.md) · 🇩🇰 [da](../../da/docs/VM_DEPLOYMENT_GUIDE.md) · 🇩🇪 [de](../../de/docs/VM_DEPLOYMENT_GUIDE.md) · 🇪🇸 [es](../../es/docs/VM_DEPLOYMENT_GUIDE.md) · 🇮🇷 [fa](../../fa/docs/VM_DEPLOYMENT_GUIDE.md) · 🇫🇮 [fi](../../fi/docs/VM_DEPLOYMENT_GUIDE.md) · 🇫🇷 [fr](../../fr/docs/VM_DEPLOYMENT_GUIDE.md) · 🇮🇳 [gu](../../gu/docs/VM_DEPLOYMENT_GUIDE.md) · 🇮🇱 [he](../../he/docs/VM_DEPLOYMENT_GUIDE.md) · 🇮🇳 [hi](../../hi/docs/VM_DEPLOYMENT_GUIDE.md) · 🇭🇺 [hu](../../hu/docs/VM_DEPLOYMENT_GUIDE.md) · 🇮🇩 [id](../../id/docs/VM_DEPLOYMENT_GUIDE.md) · 🇮🇹 [it](../../it/docs/VM_DEPLOYMENT_GUIDE.md) · 🇯🇵 [ja](../../ja/docs/VM_DEPLOYMENT_GUIDE.md) · 🇰🇷 [ko](../../ko/docs/VM_DEPLOYMENT_GUIDE.md) · 🇮🇳 [mr](../../mr/docs/VM_DEPLOYMENT_GUIDE.md) · 🇲🇾 [ms](../../ms/docs/VM_DEPLOYMENT_GUIDE.md) · 🇳🇱 [nl](../../nl/docs/VM_DEPLOYMENT_GUIDE.md) · 🇳🇴 [no](../../no/docs/VM_DEPLOYMENT_GUIDE.md) · 🇵🇭 [phi](../../phi/docs/VM_DEPLOYMENT_GUIDE.md) · 🇵🇱 [pl](../../pl/docs/VM_DEPLOYMENT_GUIDE.md) · 🇵🇹 [pt](../../pt/docs/VM_DEPLOYMENT_GUIDE.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/VM_DEPLOYMENT_GUIDE.md) · 🇷🇴 [ro](../../ro/docs/VM_DEPLOYMENT_GUIDE.md) · 🇷🇺 [ru](../../ru/docs/VM_DEPLOYMENT_GUIDE.md) · 🇸🇰 [sk](../../sk/docs/VM_DEPLOYMENT_GUIDE.md) · 🇸🇪 [sv](../../sv/docs/VM_DEPLOYMENT_GUIDE.md) · 🇰🇪 [sw](../../sw/docs/VM_DEPLOYMENT_GUIDE.md) · 🇮🇳 [ta](../../ta/docs/VM_DEPLOYMENT_GUIDE.md) · 🇮🇳 [te](../../te/docs/VM_DEPLOYMENT_GUIDE.md) · 🇹🇭 [th](../../th/docs/VM_DEPLOYMENT_GUIDE.md) · 🇹🇷 [tr](../../tr/docs/VM_DEPLOYMENT_GUIDE.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/VM_DEPLOYMENT_GUIDE.md) · 🇵🇰 [ur](../../ur/docs/VM_DEPLOYMENT_GUIDE.md) · 🇻🇳 [vi](../../vi/docs/VM_DEPLOYMENT_GUIDE.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/VM_DEPLOYMENT_GUIDE.md)
+
+---
+
+Complete guide to install and configure OmniRoute on a VM (VPS) with domain managed via Cloudflare.
+
+---
+
+## Prerequisites
+
+| Item | Minimum | Recommended |
+| ---------- | ------------------------ | ---------------- |
+| **CPU** | 1 vCPU | 2 vCPU |
+| **RAM** | 1 GB | 2 GB |
+| **Disk** | 10 GB SSD | 25 GB SSD |
+| **OS** | Ubuntu 22.04 LTS | Ubuntu 24.04 LTS |
+| **Domain** | Registered on Cloudflare | — |
+| **Docker** | Docker Engine 24+ | Docker 27+ |
+
+**Tested providers**: Akamai (Linode), DigitalOcean, Vultr, Hetzner, AWS Lightsail.
+
+---
+
+## 1. Configure the VM
+
+### 1.1 Create the instance
+
+On your preferred VPS provider:
+
+- Choose Ubuntu 24.04 LTS
+- Select the minimum plan (1 vCPU / 1 GB RAM)
+- Set a strong root password or configure SSH key
+- Note the **public IP** (e.g., `203.0.113.10`)
+
+### 1.2 Connect via SSH
+
+```bash
+```
+
+### 1.3 Update the system
+
+```bash
+apt update && apt upgrade -y
+```
+
+### 1.4 Install Docker
+
+```bash
+# Install dependencies
+apt install -y ca-certificates curl gnupg
+
+# Add official Docker repository
+install -m 0755 -d /etc/apt/keyrings
+curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
+chmod a+r /etc/apt/keyrings/docker.gpg
+echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $ (. /etc/os-release && echo “$VERSION_CODENAME”) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
+apt update
+apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
+```
+
+### 1.5 Install nginx
+
+```bash
+apt install -y nginx
+```
+
+### 1.6 Configure Firewall (UFW)
+
+```bash
+ufw default deny incoming
+ufw default allow outgoing
+ufw allow 22/tcp # SSH
+ufw allow 80/tcp # HTTP (redirect)
+ufw allow 443/tcp # HTTPS
+ufw enable
+```
+
+> **Tip**: For maximum security, restrict ports 80 and 443 to Cloudflare IPs only. See the [Advanced Security](#advanced-security) section.
+
+---
+
+## 2. Install OmniRoute
+
+### 2.1 Create configuration directory
+
+```bash
+mkdir -p /opt/omniroute
+```
+
+### 2.2 Create environment variables file
+
+```bash
+cat > /opt/omniroute/.env << ‘EOF’
+# === Security ===
+JWT_SECRET=CHANGE-TO-A-UNIQUE-64-CHAR-SECRET-KEY
+INITIAL_PASSWORD=YourSecurePassword123!
+API_KEY_SECRET=REPLACE-WITH-ANOTHER-SECRET-KEY
+STORAGE_ENCRYPTION_KEY=REPLACE-WITH-THIRD-SECRET-KEY
+STORAGE_ENCRYPTION_KEY_VERSION=v1
+MACHINE_ID_SALT=CHANGE-TO-A-UNIQUE-SALT
+
+# === App ===
+PORT=20128
+NODE_ENV=production
+HOSTNAME=0.0.0.0
+DATA_DIR=/app/data
+STORAGE_DRIVER=sqlite
+APP_LOG_TO_FILE=true
+AUTH_COOKIE_SECURE=false
+REQUIRE_API_KEY=false
+
+# === Domain (change to your domain) ===
+BASE_URL=https://llms.seudominio.com
+NEXT_PUBLIC_BASE_URL=https://llms.seudominio.com
+
+# === Cloud Sync (optional) ===
+# CLOUD_URL=https://cloud.omniroute.online
+# NEXT_PUBLIC_CLOUD_URL=https://cloud.omniroute.online
+EOF
+```
+
+> ⚠️ **IMPORTANT**: Generate unique secret keys! Use `openssl rand -hex 32` for each key.
+
+### 2.3 Start the container
+
+```bash
+docker pull diegosouzapw/omniroute:latest
+
+docker run -d \
+ --name omniroute \
+ --restart unless-stopped \
+ --env-file /opt/omniroute/.env \
+ -p 20128:20128 \
+ -v omniroute-data:/app/data \
+ diegosouzapw/omniroute:latest
+```
+
+### 2.4 Verify that it is running
+
+```bash
+docker ps | grep omniroute
+docker logs omniroute --tail 20
+```
+
+It should display: `[DB] SQLite database ready` and `listening on port 20128`.
+
+---
+
+## 3. Configure nginx (Reverse Proxy)
+
+### 3.1 Generate SSL certificate (Cloudflare Origin)
+
+In the Cloudflare dashboard:
+
+1. Go to **SSL/TLS → Origin Server**
+2. Click **Create Certificate**
+3. Keep the defaults (15 years, \*.yourdomain.com)
+4. Copy the **Origin Certificate** and the **Private Key**
+
+```bash
+mkdir -p /etc/nginx/ssl
+
+# Paste the certificate
+nano /etc/nginx/ssl/origin.crt
+
+# Paste the private key
+nano /etc/nginx/ssl/origin.key
+
+chmod 600 /etc/nginx/ssl/origin.key
+```
+
+### 3.2 Nginx Configuration
+
+```bash
+cat > /etc/nginx/sites-available/omniroute << ‘NGINX’
+# Default server — blocks direct access via IP
+server {
+ listen 80 default_server;
+ listen [::]:80 default_server;
+ listen 443 ssl default_server;
+ listen [::]:443 ssl default_server;
+ ssl_certificate /etc/nginx/ssl/origin.crt;
+ ssl_certificate_key /etc/nginx/ssl/origin.key;
+ server_name _;
+ return 444;
+}
+
+# OmniRoute — HTTPS
+server {
+ listen 443 ssl;
+ listen [::]:443 ssl;
+ server_name llms.yourdomain.com; # Change to your domain
+
+ ssl_certificate /etc/nginx/ssl/origin.crt;
+ ssl_certificate_key /etc/nginx/ssl/origin.key;
+ ssl_protocols TLSv1.2 TLSv1.3;
+
+ client_max_body_size 100M;
+
+ location / {
+ proxy_pass http://127.0.0.1:20128;
+ proxy_set_header Host $host;
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Forwarded-Proto $scheme;
+
+ # WebSocket support
+ proxy_http_version 1.1;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header Connection “upgrade”;
+
+ # SSE (Server-Sent Events) — streaming AI responses
+ proxy_buffering off;
+ proxy_cache off;
+ proxy_read_timeout 600s;
+ proxy_send_timeout 600s;
+ }
+}
+
+# HTTP → HTTPS redirect
+server {
+ listen 80;
+ listen [::]:80;
+ server_name llms.yourdomain.com;
+ return 301 https://$server_name$request_uri;
+}
+NGINX
+```
+
+Keep reverse-proxy stream timeouts aligned with your OmniRoute timeout env vars. If you raise
+`FETCH_TIMEOUT_MS` / `STREAM_IDLE_TIMEOUT_MS`, raise `proxy_read_timeout` / `proxy_send_timeout`
+above the same threshold.
+
+### 3.3 Enable and Test
+
+```bash
+# Remove default configuration
+rm -f /etc/nginx/sites-enabled/default
+
+# Enable OmniRoute
+ln -sf /etc/nginx/sites-available/omniroute /etc/nginx/sites-enabled/omniroute
+
+# Test and reload
+nginx -t && systemctl reload nginx
+```
+
+---
+
+## 4. Configure Cloudflare DNS
+
+### 4.1 Add DNS record
+
+In the Cloudflare dashboard → DNS:
+
+| Type | Name | Content | Proxy |
+| ---- | ------ | ---------------------- | ---------- |
+| A | `llms` | `203.0.113.10` (VM IP) | ✅ Proxied |
+
+### 4.2 Configure SSL
+
+Under **SSL/TLS → Overview**:
+
+- Mode: **Full (Strict)**
+
+Under **SSL/TLS → Edge Certificates**:
+
+- Always Use HTTPS: ✅ On
+- Minimum TLS Version: TLS 1.2
+- Automatic HTTPS Rewrites: ✅ On
+
+### 4.3 Testing
+
+```bash
+curl -sI https://llms.seudominio.com/health
+# Should return HTTP/2 200
+```
+
+---
+
+## 5. Operations and Maintenance
+
+### Upgrade to a new version
+
+```bash
+docker pull diegosouzapw/omniroute:latest
+docker stop omniroute && docker rm omniroute
+docker run -d --name omniroute --restart unless-stopped \
+ --env-file /opt/omniroute/.env \
+ -p 20128:20128 \
+ -v omniroute-data:/app/data \
+ diegosouzapw/omniroute:latest
+```
+
+### View logs
+
+```bash
+docker logs -f omniroute # Real-time stream
+docker logs omniroute --tail 50 # Last 50 lines
+```
+
+### Manual database backup
+
+```bash
+# Copy data from the volume to the host
+docker cp omniroute:/app/data ./backup-$(date +%F)
+
+# Or compress the entire volume
+docker run --rm -v omniroute-data:/data -v $(pwd):/backup \
+ alpine tar czf /backup/omniroute-data-$(date +%F).tar.gz /data
+```
+
+### Restore from backup
+
+```bash
+docker stop omniroute
+docker run --rm -v omniroute-data:/data -v $(pwd):/backup \
+ alpine sh -c “rm -rf /data/* && tar xzf /backup/omniroute-data-YYYY-MM-DD.tar.gz -C /”
+docker start omniroute
+```
+
+---
+
+## 6. Advanced Security
+
+### Restrict nginx to Cloudflare IPs
+
+```bash
+cat > /etc/nginx/cloudflare-ips.conf << ‘CF’
+# Cloudflare IPv4 ranges — update periodically
+# https://www.cloudflare.com/ips-v4/
+set_real_ip_from 173.245.48.0/20;
+set_real_ip_from 103.21.244.0/22;
+set_real_ip_from 103.22.200.0/22;
+set_real_ip_from 103.31.4.0/22;
+set_real_ip_from 141.101.64.0/18;
+set_real_ip_from 108.162.192.0/18;
+set_real_ip_from 190.93.240.0/20;
+set_real_ip_from 188.114.96.0/20;
+set_real_ip_from 197.234.240.0/22;
+set_real_ip_from 198.41.128.0/17;
+set_real_ip_from 162.158.0.0/15;
+set_real_ip_from 104.16.0.0/13;
+set_real_ip_from 104.24.0.0/14;
+set_real_ip_from 172.64.0.0/13;
+set_real_ip_from 131.0.72.0/22;
+real_ip_header CF-Connecting-IP;
+CF
+```
+
+Add the following to `nginx.conf` inside the `http {}` block:
+
+```nginx
+include /etc/nginx/cloudflare-ips.conf;
+```
+
+### Install fail2ban
+
+```bash
+apt install -y fail2ban
+systemctl enable fail2ban
+systemctl start fail2ban
+
+# Check status
+fail2ban-client status sshd
+```
+
+### Block direct access to the Docker port
+
+```bash
+# Prevent direct external access to port 20128
+iptables -I DOCKER-USER -p tcp --dport 20128 -j DROP
+iptables -I DOCKER-USER -i lo -p tcp --dport 20128 -j ACCEPT
+
+# Persist the rules
+apt install -y iptables-persistent
+netfilter-persistent save
+```
+
+---
+
+## 7. Deploy to Cloudflare Workers (Optional)
+
+For remote access via Cloudflare Workers (without exposing the VM directly):
+
+```bash
+# In the local repository
+cd omnirouteCloud
+npm install
+npx wrangler login
+npx wrangler deploy
+```
+
+See the full documentation at [omnirouteCloud/README.md](../omnirouteCloud/README.md).
+
+---
+
+## Port Summary
+
+| Port | Service | Access |
+| ----- | ----------- | -------------------------- |
+| 22 | SSH | Public (with fail2ban) |
+| 80 | nginx HTTP | Redirect → HTTPS |
+| 443 | nginx HTTPS | Via Cloudflare Proxy |
+| 20128 | OmniRoute | Localhost only (via nginx) |
diff --git a/docs/i18n/az/docs/reference/API_REFERENCE.md b/docs/i18n/az/docs/reference/API_REFERENCE.md
new file mode 100644
index 0000000000..2b0049efc4
--- /dev/null
+++ b/docs/i18n/az/docs/reference/API_REFERENCE.md
@@ -0,0 +1,469 @@
+# API Reference (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/API_REFERENCE.md) · 🇸🇦 [ar](../../ar/docs/API_REFERENCE.md) · 🇧🇬 [bg](../../bg/docs/API_REFERENCE.md) · 🇧🇩 [bn](../../bn/docs/API_REFERENCE.md) · 🇨🇿 [cs](../../cs/docs/API_REFERENCE.md) · 🇩🇰 [da](../../da/docs/API_REFERENCE.md) · 🇩🇪 [de](../../de/docs/API_REFERENCE.md) · 🇪🇸 [es](../../es/docs/API_REFERENCE.md) · 🇮🇷 [fa](../../fa/docs/API_REFERENCE.md) · 🇫🇮 [fi](../../fi/docs/API_REFERENCE.md) · 🇫🇷 [fr](../../fr/docs/API_REFERENCE.md) · 🇮🇳 [gu](../../gu/docs/API_REFERENCE.md) · 🇮🇱 [he](../../he/docs/API_REFERENCE.md) · 🇮🇳 [hi](../../hi/docs/API_REFERENCE.md) · 🇭🇺 [hu](../../hu/docs/API_REFERENCE.md) · 🇮🇩 [id](../../id/docs/API_REFERENCE.md) · 🇮🇹 [it](../../it/docs/API_REFERENCE.md) · 🇯🇵 [ja](../../ja/docs/API_REFERENCE.md) · 🇰🇷 [ko](../../ko/docs/API_REFERENCE.md) · 🇮🇳 [mr](../../mr/docs/API_REFERENCE.md) · 🇲🇾 [ms](../../ms/docs/API_REFERENCE.md) · 🇳🇱 [nl](../../nl/docs/API_REFERENCE.md) · 🇳🇴 [no](../../no/docs/API_REFERENCE.md) · 🇵🇭 [phi](../../phi/docs/API_REFERENCE.md) · 🇵🇱 [pl](../../pl/docs/API_REFERENCE.md) · 🇵🇹 [pt](../../pt/docs/API_REFERENCE.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/API_REFERENCE.md) · 🇷🇴 [ro](../../ro/docs/API_REFERENCE.md) · 🇷🇺 [ru](../../ru/docs/API_REFERENCE.md) · 🇸🇰 [sk](../../sk/docs/API_REFERENCE.md) · 🇸🇪 [sv](../../sv/docs/API_REFERENCE.md) · 🇰🇪 [sw](../../sw/docs/API_REFERENCE.md) · 🇮🇳 [ta](../../ta/docs/API_REFERENCE.md) · 🇮🇳 [te](../../te/docs/API_REFERENCE.md) · 🇹🇭 [th](../../th/docs/API_REFERENCE.md) · 🇹🇷 [tr](../../tr/docs/API_REFERENCE.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/API_REFERENCE.md) · 🇵🇰 [ur](../../ur/docs/API_REFERENCE.md) · 🇻🇳 [vi](../../vi/docs/API_REFERENCE.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/API_REFERENCE.md)
+
+---
+
+Complete reference for all OmniRoute API endpoints.
+
+---
+
+## Table of Contents
+
+- [Chat Completions](#chat-completions)
+- [Embeddings](#embeddings)
+- [Image Generation](#image-generation)
+- [List Models](#list-models)
+- [Compatibility Endpoints](#compatibility-endpoints)
+- [Semantic Cache](#semantic-cache)
+- [Dashboard & Management](#dashboard--management)
+- [Request Processing](#request-processing)
+- [Authentication](#authentication)
+
+---
+
+## Chat Completions
+
+```bash
+POST /v1/chat/completions
+Authorization: Bearer your-api-key
+Content-Type: application/json
+
+{
+ "model": "cc/claude-opus-4-6",
+ "messages": [
+ {"role": "user", "content": "Write a function to..."}
+ ],
+ "stream": true
+}
+```
+
+### Custom Headers
+
+| Header | Direction | Description |
+| ------------------------ | --------- | ------------------------------------------------ |
+| `X-OmniRoute-No-Cache` | Request | Set to `true` to bypass cache |
+| `X-OmniRoute-Progress` | Request | Set to `true` for progress events |
+| `X-Session-Id` | Request | Sticky session key for external session affinity |
+| `x_session_id` | Request | Underscore variant also accepted (direct HTTP) |
+| `Idempotency-Key` | Request | Dedup key (5s window) |
+| `X-Request-Id` | Request | Alternative dedup key |
+| `X-OmniRoute-Cache` | Response | `HIT` or `MISS` (non-streaming) |
+| `X-OmniRoute-Idempotent` | Response | `true` if deduplicated |
+| `X-OmniRoute-Progress` | Response | `enabled` if progress tracking on |
+| `X-OmniRoute-Session-Id` | Response | Effective session ID used by OmniRoute |
+
+> Nginx note: if you rely on underscore headers (for example `x_session_id`), enable `underscores_in_headers on;`.
+
+---
+
+## Embeddings
+
+```bash
+POST /v1/embeddings
+Authorization: Bearer your-api-key
+Content-Type: application/json
+
+{
+ "model": "nebius/Qwen/Qwen3-Embedding-8B",
+ "input": "The food was delicious"
+}
+```
+
+Available providers: Nebius, OpenAI, Mistral, Together AI, Fireworks, NVIDIA, **OpenRouter**, **GitHub Models**.
+
+```bash
+# List all embedding models
+GET /v1/embeddings
+```
+
+---
+
+## Image Generation
+
+```bash
+POST /v1/images/generations
+Authorization: Bearer your-api-key
+Content-Type: application/json
+
+{
+ "model": "openai/gpt-image-2",
+ "prompt": "A beautiful sunset over mountains",
+ "size": "1024x1024"
+}
+```
+
+Available providers: OpenAI (GPT Image 2), xAI (Grok Image), Together AI (FLUX), Fireworks AI, Nebius (FLUX), Hyperbolic, NanoBanana, **OpenRouter**, SD WebUI (local), ComfyUI (local).
+
+```bash
+# List all image models
+GET /v1/images/generations
+```
+
+---
+
+## List Models
+
+```bash
+GET /v1/models
+Authorization: Bearer your-api-key
+
+→ Returns all chat, embedding, and image models + combos in OpenAI format
+```
+
+---
+
+## Compatibility Endpoints
+
+| Method | Path | Format |
+| ------ | --------------------------- | ---------------------- |
+| POST | `/v1/chat/completions` | OpenAI |
+| POST | `/v1/messages` | Anthropic |
+| POST | `/v1/responses` | OpenAI Responses |
+| POST | `/v1/embeddings` | OpenAI |
+| POST | `/v1/images/generations` | OpenAI |
+| GET | `/v1/models` | OpenAI |
+| POST | `/v1/messages/count_tokens` | Anthropic |
+| GET | `/v1beta/models` | Gemini |
+| POST | `/v1beta/models/{...path}` | Gemini generateContent |
+| POST | `/v1/api/chat` | Ollama |
+
+### Dedicated Provider Routes
+
+```bash
+POST /v1/providers/{provider}/chat/completions
+POST /v1/providers/{provider}/embeddings
+POST /v1/providers/{provider}/images/generations
+```
+
+The provider prefix is auto-added if missing. Mismatched models return `400`.
+
+---
+
+## Semantic Cache
+
+```bash
+# Get cache stats
+GET /api/cache/stats
+
+# Clear all caches
+DELETE /api/cache/stats
+```
+
+Response example:
+
+```json
+{
+ "semanticCache": {
+ "memorySize": 42,
+ "memoryMaxSize": 500,
+ "dbSize": 128,
+ "hitRate": 0.65
+ },
+ "idempotency": {
+ "activeKeys": 3,
+ "windowMs": 5000
+ }
+}
+```
+
+---
+
+## Dashboard & Management
+
+### Authentication
+
+| Endpoint | Method | Description |
+| ----------------------------- | ------- | --------------------- |
+| `/api/auth/login` | POST | Login |
+| `/api/auth/logout` | POST | Logout |
+| `/api/settings/require-login` | GET/PUT | Toggle login required |
+
+### Provider Management
+
+| Endpoint | Method | Description |
+| ---------------------------- | --------------------- | ---------------------------------------------- |
+| `/api/providers` | GET/POST | List / create providers |
+| `/api/providers/[id]` | GET/PUT/DELETE | Manage a provider |
+| `/api/providers/[id]/test` | POST | Test provider connection |
+| `/api/providers/[id]/models` | GET | List provider models |
+| `/api/providers/validate` | POST | Validate provider config |
+| `/api/provider-nodes*` | Various | Provider node management |
+| `/api/provider-models` | GET/POST/PATCH/DELETE | Custom models (add, update, hide/show, delete) |
+
+### OAuth Flows
+
+| Endpoint | Method | Description |
+| -------------------------------- | ------- | ----------------------- |
+| `/api/oauth/[provider]/[action]` | Various | Provider-specific OAuth |
+
+### Routing & Config
+
+| Endpoint | Method | Description |
+| --------------------- | -------- | ----------------------------- |
+| `/api/models/alias` | GET/POST | Model aliases |
+| `/api/models/catalog` | GET | All models by provider + type |
+| `/api/combos*` | Various | Combo management |
+| `/api/keys*` | Various | API key management |
+| `/api/pricing` | GET | Model pricing |
+
+### Usage & Analytics
+
+| Endpoint | Method | Description |
+| --------------------------- | ------ | -------------------- |
+| `/api/usage/history` | GET | Usage history |
+| `/api/usage/logs` | GET | Usage logs |
+| `/api/usage/request-logs` | GET | Request-level logs |
+| `/api/usage/[connectionId]` | GET | Per-connection usage |
+
+### Settings
+
+| Endpoint | Method | Description |
+| ------------------------------- | ------------- | ---------------------- |
+| `/api/settings` | GET/PUT/PATCH | General settings |
+| `/api/settings/proxy` | GET/PUT | Network proxy config |
+| `/api/settings/proxy/test` | POST | Test proxy connection |
+| `/api/settings/ip-filter` | GET/PUT | IP allowlist/blocklist |
+| `/api/settings/thinking-budget` | GET/PUT | Reasoning token budget |
+| `/api/settings/system-prompt` | GET/PUT | Global system prompt |
+
+### Monitoring
+
+| Endpoint | Method | Description |
+| ------------------------ | ---------- | ---------------------------------------------------------------------------------------------------- |
+| `/api/sessions` | GET | Active session tracking |
+| `/api/rate-limits` | GET | Per-account rate limits |
+| `/api/monitoring/health` | GET | Health check + provider summary (`catalogCount`, `configuredCount`, `activeCount`, `monitoredCount`) |
+| `/api/cache/stats` | GET/DELETE | Cache stats / clear |
+
+### Backup & Export/Import
+
+| Endpoint | Method | Description |
+| --------------------------- | ------ | --------------------------------------- |
+| `/api/db-backups` | GET | List available backups |
+| `/api/db-backups` | PUT | Create a manual backup |
+| `/api/db-backups` | POST | Restore from a specific backup |
+| `/api/db-backups/export` | GET | Download database as .sqlite file |
+| `/api/db-backups/import` | POST | Upload .sqlite file to replace database |
+| `/api/db-backups/exportAll` | GET | Download full backup as .tar.gz archive |
+
+### Cloud Sync
+
+| Endpoint | Method | Description |
+| ---------------------- | ------- | --------------------- |
+| `/api/sync/cloud` | Various | Cloud sync operations |
+| `/api/sync/initialize` | POST | Initialize sync |
+| `/api/cloud/*` | Various | Cloud management |
+
+### Tunnels
+
+| Endpoint | Method | Description |
+| -------------------------- | ------ | ----------------------------------------------------------------------- |
+| `/api/tunnels/cloudflared` | GET | Read Cloudflare Quick Tunnel install/runtime status for the dashboard |
+| `/api/tunnels/cloudflared` | POST | Enable or disable the Cloudflare Quick Tunnel (`action=enable/disable`) |
+
+### CLI Tools
+
+| Endpoint | Method | Description |
+| ---------------------------------- | ------ | ------------------- |
+| `/api/cli-tools/claude-settings` | GET | Claude CLI status |
+| `/api/cli-tools/codex-settings` | GET | Codex CLI status |
+| `/api/cli-tools/droid-settings` | GET | Droid CLI status |
+| `/api/cli-tools/openclaw-settings` | GET | OpenClaw CLI status |
+| `/api/cli-tools/runtime/[toolId]` | GET | Generic CLI runtime |
+
+CLI responses include: `installed`, `runnable`, `command`, `commandPath`, `runtimeMode`, `reason`.
+
+### ACP Agents
+
+| Endpoint | Method | Description |
+| ----------------- | ------ | -------------------------------------------------------- |
+| `/api/acp/agents` | GET | List all detected agents (built-in + custom) with status |
+| `/api/acp/agents` | POST | Add custom agent or refresh detection cache |
+| `/api/acp/agents` | DELETE | Remove a custom agent by `id` query param |
+
+GET response includes `agents[]` (id, name, binary, version, installed, protocol, isCustom) and `summary` (total, installed, notFound, builtIn, custom).
+
+### Resilience & Rate Limits
+
+| Endpoint | Method | Description |
+| ----------------------- | --------- | ---------------------------------------------------------------------------------- |
+| `/api/resilience` | GET/PATCH | Get/update request queue, connection cooldown, provider breaker, and wait settings |
+| `/api/resilience/reset` | POST | Reset provider circuit breakers |
+| `/api/rate-limits` | GET | Per-account rate limit status |
+| `/api/rate-limit` | GET | Global rate limit configuration |
+
+### Evals
+
+| Endpoint | Method | Description |
+| ------------ | -------- | --------------------------------- |
+| `/api/evals` | GET/POST | List eval suites / run evaluation |
+
+### Policies
+
+| Endpoint | Method | Description |
+| --------------- | --------------- | ----------------------- |
+| `/api/policies` | GET/POST/DELETE | Manage routing policies |
+
+### Compliance
+
+| Endpoint | Method | Description |
+| --------------------------- | ------ | ----------------------------- |
+| `/api/compliance/audit-log` | GET | Compliance audit log (last N) |
+
+### v1beta (Gemini-Compatible)
+
+| Endpoint | Method | Description |
+| -------------------------- | ------ | --------------------------------- |
+| `/v1beta/models` | GET | List models in Gemini format |
+| `/v1beta/models/{...path}` | POST | Gemini `generateContent` endpoint |
+
+These endpoints mirror Gemini's API format for clients that expect native Gemini SDK compatibility.
+
+### Internal / System APIs
+
+| Endpoint | Method | Description |
+| ------------------------ | ------ | ---------------------------------------------------- |
+| `/api/init` | GET | Application initialization check (used on first run) |
+| `/api/tags` | GET | Ollama-compatible model tags (for Ollama clients) |
+| `/api/restart` | POST | Trigger graceful server restart |
+| `/api/shutdown` | POST | Trigger graceful server shutdown |
+| `/api/system/env/repair` | POST | Repair OAuth provider environment variables |
+| `/api/system-info` | GET | Generate system diagnostics report |
+
+> **Note:** These endpoints are used internally by the system or for Ollama client compatibility. They are not typically called by end users.
+
+### OAuth Environment Repair _(v3.6.1+)_
+
+```bash
+POST /api/system/env/repair
+Content-Type: application/json
+
+{
+ "provider": "claude-code"
+}
+```
+
+Repairs missing or corrupted OAuth environment variables for a specific provider. Returns:
+
+```json
+{
+ "success": true,
+ "repaired": ["CLAUDE_CODE_OAUTH_CLIENT_ID", "CLAUDE_CODE_OAUTH_CLIENT_SECRET"],
+ "backupPath": "/home/user/.omniroute/backups/env-repair-2026-04-11.bak"
+}
+```
+
+---
+
+## Audio Transcription
+
+```bash
+POST /v1/audio/transcriptions
+Authorization: Bearer your-api-key
+Content-Type: multipart/form-data
+```
+
+Transcribe audio files using Deepgram or AssemblyAI.
+
+**Request:**
+
+```bash
+curl -X POST http://localhost:20128/v1/audio/transcriptions \
+ -H "Authorization: Bearer your-api-key" \
+ -F "model=deepgram/nova-3"
+```
+
+**Response:**
+
+```json
+{
+ "text": "Hello, this is the transcribed audio content.",
+ "task": "transcribe",
+ "language": "en",
+ "duration": 12.5
+}
+```
+
+**Supported providers:** `deepgram/nova-3`, `assemblyai/best`.
+
+**Supported formats:** `mp3`, `wav`, `m4a`, `flac`, `ogg`, `webm`.
+
+---
+
+## Ollama Compatibility
+
+For clients that use Ollama's API format:
+
+```bash
+# Chat endpoint (Ollama format)
+POST /v1/api/chat
+
+# Model listing (Ollama format)
+GET /api/tags
+```
+
+Requests are automatically translated between Ollama and internal formats.
+
+---
+
+## Telemetry
+
+```bash
+# Get latency telemetry summary (p50/p95/p99 per provider)
+GET /api/telemetry/summary
+```
+
+**Response:**
+
+```json
+{
+ "providers": {
+ "claudeCode": { "p50": 245, "p95": 890, "p99": 1200, "count": 150 },
+ "github": { "p50": 180, "p95": 620, "p99": 950, "count": 320 }
+ }
+}
+```
+
+---
+
+## Budget
+
+```bash
+# Get budget status for all API keys
+GET /api/usage/budget
+
+# Set or update a budget
+POST /api/usage/budget
+Content-Type: application/json
+
+{
+ "keyId": "key-123",
+ "limit": 50.00,
+ "period": "monthly"
+}
+```
+
+## Request Processing
+
+1. Client sends request to `/v1/*`
+2. Route handler calls `handleChat`, `handleEmbedding`, `handleAudioTranscription`, or `handleImageGeneration`
+3. Model is resolved (direct provider/model or alias/combo)
+4. Credentials selected from local DB with account availability filtering
+5. For chat: `handleChatCore` — format detection, translation, cache check, idempotency check
+6. Provider executor sends upstream request
+7. Response translated back to client format (chat) or returned as-is (embeddings/images/audio)
+8. Usage/logging recorded
+9. Fallback applies on errors according to combo rules
+
+Full architecture reference: [`ARCHITECTURE.md`](ARCHITECTURE.md)
+
+---
+
+## Authentication
+
+- Dashboard routes (`/dashboard/*`) use `auth_token` cookie
+- Login uses saved password hash; fallback to `INITIAL_PASSWORD`
+- `requireLogin` toggleable via `/api/settings/require-login`
+- `/v1/*` routes optionally require Bearer API key when `REQUIRE_API_KEY=true`
diff --git a/docs/i18n/az/docs/reference/CLI-TOOLS.md b/docs/i18n/az/docs/reference/CLI-TOOLS.md
new file mode 100644
index 0000000000..b81828ce0f
--- /dev/null
+++ b/docs/i18n/az/docs/reference/CLI-TOOLS.md
@@ -0,0 +1,398 @@
+# CLI Tools Setup Guide — OmniRoute (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/CLI-TOOLS.md) · 🇸🇦 [ar](../../ar/docs/CLI-TOOLS.md) · 🇧🇬 [bg](../../bg/docs/CLI-TOOLS.md) · 🇧🇩 [bn](../../bn/docs/CLI-TOOLS.md) · 🇨🇿 [cs](../../cs/docs/CLI-TOOLS.md) · 🇩🇰 [da](../../da/docs/CLI-TOOLS.md) · 🇩🇪 [de](../../de/docs/CLI-TOOLS.md) · 🇪🇸 [es](../../es/docs/CLI-TOOLS.md) · 🇮🇷 [fa](../../fa/docs/CLI-TOOLS.md) · 🇫🇮 [fi](../../fi/docs/CLI-TOOLS.md) · 🇫🇷 [fr](../../fr/docs/CLI-TOOLS.md) · 🇮🇳 [gu](../../gu/docs/CLI-TOOLS.md) · 🇮🇱 [he](../../he/docs/CLI-TOOLS.md) · 🇮🇳 [hi](../../hi/docs/CLI-TOOLS.md) · 🇭🇺 [hu](../../hu/docs/CLI-TOOLS.md) · 🇮🇩 [id](../../id/docs/CLI-TOOLS.md) · 🇮🇹 [it](../../it/docs/CLI-TOOLS.md) · 🇯🇵 [ja](../../ja/docs/CLI-TOOLS.md) · 🇰🇷 [ko](../../ko/docs/CLI-TOOLS.md) · 🇮🇳 [mr](../../mr/docs/CLI-TOOLS.md) · 🇲🇾 [ms](../../ms/docs/CLI-TOOLS.md) · 🇳🇱 [nl](../../nl/docs/CLI-TOOLS.md) · 🇳🇴 [no](../../no/docs/CLI-TOOLS.md) · 🇵🇭 [phi](../../phi/docs/CLI-TOOLS.md) · 🇵🇱 [pl](../../pl/docs/CLI-TOOLS.md) · 🇵🇹 [pt](../../pt/docs/CLI-TOOLS.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/CLI-TOOLS.md) · 🇷🇴 [ro](../../ro/docs/CLI-TOOLS.md) · 🇷🇺 [ru](../../ru/docs/CLI-TOOLS.md) · 🇸🇰 [sk](../../sk/docs/CLI-TOOLS.md) · 🇸🇪 [sv](../../sv/docs/CLI-TOOLS.md) · 🇰🇪 [sw](../../sw/docs/CLI-TOOLS.md) · 🇮🇳 [ta](../../ta/docs/CLI-TOOLS.md) · 🇮🇳 [te](../../te/docs/CLI-TOOLS.md) · 🇹🇭 [th](../../th/docs/CLI-TOOLS.md) · 🇹🇷 [tr](../../tr/docs/CLI-TOOLS.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/CLI-TOOLS.md) · 🇵🇰 [ur](../../ur/docs/CLI-TOOLS.md) · 🇻🇳 [vi](../../vi/docs/CLI-TOOLS.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/CLI-TOOLS.md)
+
+---
+
+This guide explains how to install and configure all supported AI coding CLI tools
+to use **OmniRoute** as the unified backend, giving you centralized key management,
+cost tracking, model switching, and request logging across every tool.
+
+---
+
+## How It Works
+
+```
+Claude / Codex / OpenCode / Cline / KiloCode / Continue / Kiro / Cursor / Copilot
+ │
+ ▼ (all point to OmniRoute)
+ http://YOUR_SERVER:20128/v1
+ │
+ ▼ (OmniRoute routes to the right provider)
+ Anthropic / OpenAI / Gemini / DeepSeek / Groq / Mistral / ...
+```
+
+**Benefits:**
+
+- One API key to manage all tools
+- Cost tracking across all CLIs in the dashboard
+- Model switching without reconfiguring every tool
+- Works locally and on remote servers (VPS)
+
+---
+
+## Supported Tools (Dashboard Source of Truth)
+
+The dashboard cards in `/dashboard/cli-tools` are generated from `src/shared/constants/cliTools.ts`.
+Current list (v3.0.0-rc.16):
+
+| Tool | ID | Command | Setup Mode | Install Method |
+| ------------------ | ------------- | ---------- | ---------- | -------------- |
+| **Claude Code** | `claude` | `claude` | env | npm |
+| **OpenAI Codex** | `codex` | `codex` | custom | npm |
+| **Factory Droid** | `droid` | `droid` | custom | bundled/CLI |
+| **OpenClaw** | `openclaw` | `openclaw` | custom | bundled/CLI |
+| **Cursor** | `cursor` | app | guide | desktop app |
+| **Cline** | `cline` | `cline` | custom | npm |
+| **Kilo Code** | `kilo` | `kilocode` | custom | npm |
+| **Continue** | `continue` | extension | guide | VS Code |
+| **Antigravity** | `antigravity` | internal | mitm | OmniRoute |
+| **GitHub Copilot** | `copilot` | extension | custom | VS Code |
+| **OpenCode** | `opencode` | `opencode` | guide | npm |
+| **Kiro AI** | `kiro` | app/cli | mitm | desktop/CLI |
+| **Qwen Code** | `qwen` | `qwen` | custom | npm |
+
+### CLI fingerprint sync (Agents + Settings)
+
+`/dashboard/agents` and `Settings > CLI Fingerprint` use `src/shared/constants/cliCompatProviders.ts`.
+This keeps provider IDs aligned with CLI cards and legacy IDs.
+
+| CLI ID | Fingerprint Provider ID |
+| ---------------------------------------------------------------------------------------------------- | ----------------------- |
+| `kilo` | `kilocode` |
+| `copilot` | `github` |
+| `claude` / `codex` / `antigravity` / `kiro` / `cursor` / `cline` / `opencode` / `droid` / `openclaw` | same ID |
+
+Legacy IDs still accepted for compatibility: `copilot`, `kimi-coding`, `qwen`.
+
+---
+
+## Step 1 — Get an OmniRoute API Key
+
+1. Open the OmniRoute dashboard → **API Manager** (`/dashboard/api-manager`)
+2. Click **Create API Key**
+3. Give it a name (e.g. `cli-tools`) and select all permissions
+4. Copy the key — you'll need it for every CLI below
+
+> Your key looks like: `sk-xxxxxxxxxxxxxxxx-xxxxxxxxx`
+
+---
+
+## Step 2 — Install CLI Tools
+
+All npm-based tools require Node.js 18+:
+
+```bash
+# Claude Code (Anthropic)
+npm install -g @anthropic-ai/claude-code
+
+# OpenAI Codex
+npm install -g @openai/codex
+
+# OpenCode
+npm install -g opencode-ai
+
+# Cline
+npm install -g cline
+
+# KiloCode
+npm install -g kilocode
+
+# Kiro CLI (Amazon — requires curl + unzip)
+apt-get install -y unzip # on Debian/Ubuntu
+curl -fsSL https://cli.kiro.dev/install | bash
+export PATH="$HOME/.local/bin:$PATH" # add to ~/.bashrc
+```
+
+**Verify:**
+
+```bash
+claude --version # 2.x.x
+codex --version # 0.x.x
+opencode --version # x.x.x
+cline --version # 2.x.x
+kilocode --version # x.x.x (or: kilo --version)
+kiro-cli --version # 1.x.x
+```
+
+---
+
+## Step 3 — Set Global Environment Variables
+
+Add to `~/.bashrc` (or `~/.zshrc`), then run `source ~/.bashrc`:
+
+```bash
+# OmniRoute Universal Endpoint
+export OPENAI_BASE_URL="http://localhost:20128/v1"
+export OPENAI_API_KEY="sk-your-omniroute-key"
+export ANTHROPIC_BASE_URL="http://localhost:20128/v1"
+export ANTHROPIC_API_KEY="sk-your-omniroute-key"
+export GEMINI_BASE_URL="http://localhost:20128/v1"
+export GEMINI_API_KEY="sk-your-omniroute-key"
+```
+
+> For a **remote server** replace `localhost:20128` with the server IP or domain,
+> e.g. `http://192.168.0.15:20128`.
+
+---
+
+## Step 4 — Configure Each Tool
+
+### Claude Code
+
+```bash
+# Via CLI:
+claude config set --global api-base-url http://localhost:20128/v1
+
+# Or create ~/.claude/settings.json:
+mkdir -p ~/.claude && cat > ~/.claude/settings.json << EOF
+{
+ "apiBaseUrl": "http://localhost:20128/v1",
+ "apiKey": "sk-your-omniroute-key"
+}
+EOF
+```
+
+**Test:** `claude "say hello"`
+
+---
+
+### OpenAI Codex
+
+```bash
+mkdir -p ~/.codex && cat > ~/.codex/config.yaml << EOF
+model: auto
+apiKey: sk-your-omniroute-key
+apiBaseUrl: http://localhost:20128/v1
+EOF
+```
+
+**Test:** `codex "what is 2+2?"`
+
+---
+
+### OpenCode
+
+```bash
+mkdir -p ~/.config/opencode && cat > ~/.config/opencode/config.toml << EOF
+[provider.openai]
+base_url = "http://localhost:20128/v1"
+api_key = "sk-your-omniroute-key"
+EOF
+```
+
+**Test:** `opencode`
+
+---
+
+### Cline (CLI or VS Code)
+
+**CLI mode:**
+
+```bash
+mkdir -p ~/.cline/data && cat > ~/.cline/data/globalState.json << EOF
+{
+ "apiProvider": "openai",
+ "openAiBaseUrl": "http://localhost:20128/v1",
+ "openAiApiKey": "sk-your-omniroute-key"
+}
+EOF
+```
+
+**VS Code mode:**
+Cline extension settings → API Provider: `OpenAI Compatible` → Base URL: `http://localhost:20128/v1`
+
+Or use the OmniRoute dashboard → **CLI Tools → Cline → Apply Config**.
+
+---
+
+### KiloCode (CLI or VS Code)
+
+**CLI mode:**
+
+```bash
+kilocode --api-base http://localhost:20128/v1 --api-key sk-your-omniroute-key
+```
+
+**VS Code settings:**
+
+```json
+{
+ "kilo-code.openAiBaseUrl": "http://localhost:20128/v1",
+ "kilo-code.apiKey": "sk-your-omniroute-key"
+}
+```
+
+Or use the OmniRoute dashboard → **CLI Tools → KiloCode → Apply Config**.
+
+---
+
+### Continue (VS Code Extension)
+
+Edit `~/.continue/config.yaml`:
+
+```yaml
+models:
+ - name: OmniRoute
+ provider: openai
+ model: auto
+ apiBase: http://localhost:20128/v1
+ apiKey: sk-your-omniroute-key
+ default: true
+```
+
+Restart VS Code after editing.
+
+---
+
+### Kiro CLI (Amazon)
+
+```bash
+# Login to your AWS/Kiro account:
+kiro-cli login
+
+# The CLI uses its own auth — OmniRoute is not needed as backend for Kiro CLI itself.
+# Use kiro-cli alongside OmniRoute for other tools.
+kiro-cli status
+```
+
+---
+
+### Qwen Code (Alibaba)
+
+Qwen Code supports OpenAI-compatible API endpoints via environment variables or `settings.json`.
+
+**Option 1: Environment variables (`~/.qwen/.env`)**
+
+```bash
+mkdir -p ~/.qwen && cat > ~/.qwen/.env << EOF
+OPENAI_API_KEY="sk-your-omniroute-key"
+OPENAI_BASE_URL="http://localhost:20128/v1"
+OPENAI_MODEL="auto"
+EOF
+```
+
+**Option 2: `settings.json` with model providers**
+
+```json
+// ~/.qwen/settings.json
+{
+ "env": {
+ "OPENAI_API_KEY": "sk-your-omniroute-key",
+ "OPENAI_BASE_URL": "http://localhost:20128/v1"
+ },
+ "modelProviders": {
+ "openai": [
+ {
+ "id": "omniroute-default",
+ "name": "OmniRoute (Auto)",
+ "envKey": "OPENAI_API_KEY",
+ "baseUrl": "http://localhost:20128/v1"
+ }
+ ]
+ }
+}
+```
+
+**Option 3: Inline CLI flags**
+
+```bash
+OPENAI_BASE_URL="http://localhost:20128/v1" \
+OPENAI_API_KEY="sk-your-omniroute-key" \
+OPENAI_MODEL="auto" \
+qwen
+```
+
+> For a **remote server** replace `localhost:20128` with the server IP or domain.
+
+**Test:** `qwen "say hello"`
+
+### Cursor (Desktop App)
+
+> **Note:** Cursor routes requests through its cloud. For OmniRoute integration,
+> enable **Cloud Endpoint** in OmniRoute Settings and use your public domain URL.
+
+Via GUI: **Settings → Models → OpenAI API Key**
+
+- Base URL: `https://your-domain.com/v1`
+- API Key: your OmniRoute key
+
+---
+
+## Dashboard Auto-Configuration
+
+The OmniRoute dashboard automates configuration for most tools:
+
+1. Go to `http://localhost:20128/dashboard/cli-tools`
+2. Expand any tool card
+3. Select your API key from the dropdown
+4. Click **Apply Config** (if tool is detected as installed)
+5. Or copy the generated config snippet manually
+
+---
+
+## Built-in Agents: Droid & OpenClaw
+
+**Droid** and **OpenClaw** are AI agents built directly into OmniRoute — no installation needed.
+They run as internal routes and use OmniRoute's model routing automatically.
+
+- Access: `http://localhost:20128/dashboard/agents`
+- Configure: same combos and providers as all other tools
+- No API key or CLI install required
+
+---
+
+## Available API Endpoints
+
+| Endpoint | Description | Use For |
+| -------------------------- | ----------------------------- | --------------------------- |
+| `/v1/chat/completions` | Standard chat (all providers) | All modern tools |
+| `/v1/responses` | Responses API (OpenAI format) | Codex, agentic workflows |
+| `/v1/completions` | Legacy text completions | Older tools using `prompt:` |
+| `/v1/embeddings` | Text embeddings | RAG, search |
+| `/v1/images/generations` | Image generation | GPT-Image, Flux, etc. |
+| `/v1/audio/speech` | Text-to-speech | ElevenLabs, OpenAI TTS |
+| `/v1/audio/transcriptions` | Speech-to-text | Deepgram, AssemblyAI |
+
+---
+
+## Отстраняване на проблеми
+
+| Error | Cause | Fix |
+| ------------------------- | ----------------------- | ------------------------------------------ |
+| `Connection refused` | OmniRoute not running | `pm2 start omniroute` |
+| `401 Unauthorized` | Wrong API key | Check in `/dashboard/api-manager` |
+| `No combo configured` | No active routing combo | Set up in `/dashboard/combos` |
+| `invalid model` | Model not in catalog | Use `auto` or check `/dashboard/providers` |
+| CLI shows "not installed" | Binary not in PATH | Check `which <command>` |
+| `kiro-cli: not found` | Not in PATH | `export PATH="$HOME/.local/bin:$PATH"` |
+
+---
+
+## Quick Setup Script (One Command)
+
+```bash
+# Install all CLIs and configure for OmniRoute (replace with your key and server URL)
+OMNIROUTE_URL="http://localhost:20128/v1"
+OMNIROUTE_KEY="sk-your-omniroute-key"
+
+npm install -g @anthropic-ai/claude-code @openai/codex opencode-ai cline kilocode @qwen-code/qwen-code
+
+# Kiro CLI
+apt-get install -y unzip 2>/dev/null; curl -fsSL https://cli.kiro.dev/install | bash
+
+# Write configs
+mkdir -p ~/.claude ~/.codex ~/.config/opencode ~/.continue
+
+cat > ~/.claude/settings.json <<< "{\"apiBaseUrl\":\"$OMNIROUTE_URL\",\"apiKey\":\"$OMNIROUTE_KEY\"}"
+cat > ~/.codex/config.yaml <<< "model: auto\napiKey: $OMNIROUTE_KEY\napiBaseUrl: $OMNIROUTE_URL"
+cat >> ~/.bashrc << EOF
+export OPENAI_BASE_URL="$OMNIROUTE_URL"
+export OPENAI_API_KEY="$OMNIROUTE_KEY"
+export ANTHROPIC_BASE_URL="$OMNIROUTE_URL"
+export ANTHROPIC_API_KEY="$OMNIROUTE_KEY"
+EOF
+
+source ~/.bashrc
+echo "✅ All CLIs installed and configured for OmniRoute"
+```
diff --git a/docs/i18n/az/docs/reference/ENVIRONMENT.md b/docs/i18n/az/docs/reference/ENVIRONMENT.md
new file mode 100644
index 0000000000..14eb688557
--- /dev/null
+++ b/docs/i18n/az/docs/reference/ENVIRONMENT.md
@@ -0,0 +1,669 @@
+# Environment Variables Reference (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/ENVIRONMENT.md) · 🇸🇦 [ar](../../ar/docs/ENVIRONMENT.md) · 🇧🇬 [bg](../../bg/docs/ENVIRONMENT.md) · 🇧🇩 [bn](../../bn/docs/ENVIRONMENT.md) · 🇨🇿 [cs](../../cs/docs/ENVIRONMENT.md) · 🇩🇰 [da](../../da/docs/ENVIRONMENT.md) · 🇩🇪 [de](../../de/docs/ENVIRONMENT.md) · 🇪🇸 [es](../../es/docs/ENVIRONMENT.md) · 🇮🇷 [fa](../../fa/docs/ENVIRONMENT.md) · 🇫🇮 [fi](../../fi/docs/ENVIRONMENT.md) · 🇫🇷 [fr](../../fr/docs/ENVIRONMENT.md) · 🇮🇳 [gu](../../gu/docs/ENVIRONMENT.md) · 🇮🇱 [he](../../he/docs/ENVIRONMENT.md) · 🇮🇳 [hi](../../hi/docs/ENVIRONMENT.md) · 🇭🇺 [hu](../../hu/docs/ENVIRONMENT.md) · 🇮🇩 [id](../../id/docs/ENVIRONMENT.md) · 🇮🇹 [it](../../it/docs/ENVIRONMENT.md) · 🇯🇵 [ja](../../ja/docs/ENVIRONMENT.md) · 🇰🇷 [ko](../../ko/docs/ENVIRONMENT.md) · 🇮🇳 [mr](../../mr/docs/ENVIRONMENT.md) · 🇲🇾 [ms](../../ms/docs/ENVIRONMENT.md) · 🇳🇱 [nl](../../nl/docs/ENVIRONMENT.md) · 🇳🇴 [no](../../no/docs/ENVIRONMENT.md) · 🇵🇭 [phi](../../phi/docs/ENVIRONMENT.md) · 🇵🇱 [pl](../../pl/docs/ENVIRONMENT.md) · 🇵🇹 [pt](../../pt/docs/ENVIRONMENT.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/ENVIRONMENT.md) · 🇷🇴 [ro](../../ro/docs/ENVIRONMENT.md) · 🇷🇺 [ru](../../ru/docs/ENVIRONMENT.md) · 🇸🇰 [sk](../../sk/docs/ENVIRONMENT.md) · 🇸🇪 [sv](../../sv/docs/ENVIRONMENT.md) · 🇰🇪 [sw](../../sw/docs/ENVIRONMENT.md) · 🇮🇳 [ta](../../ta/docs/ENVIRONMENT.md) · 🇮🇳 [te](../../te/docs/ENVIRONMENT.md) · 🇹🇭 [th](../../th/docs/ENVIRONMENT.md) · 🇹🇷 [tr](../../tr/docs/ENVIRONMENT.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/ENVIRONMENT.md) · 🇵🇰 [ur](../../ur/docs/ENVIRONMENT.md) · 🇻🇳 [vi](../../vi/docs/ENVIRONMENT.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/ENVIRONMENT.md)
+
+---
+
+> Complete reference for every environment variable recognized by OmniRoute.
+> For a quick-start template, see [`.env.example`](../.env.example).
+
+---
+
+## Table of Contents
+
+- [1. Required Secrets](#1-required-secrets)
+- [2. Storage & Database](#2-storage--database)
+- [3. Network & Ports](#3-network--ports)
+- [4. Security & Authentication](#4-security--authentication)
+- [5. Input Sanitization & PII Protection](#5-input-sanitization--pii-protection)
+- [6. Tool & Routing Policies](#6-tool--routing-policies)
+- [7. URLs & Cloud Sync](#7-urls--cloud-sync)
+- [8. Outbound Proxy](#8-outbound-proxy)
+- [9. CLI Tool Integration](#9-cli-tool-integration)
+- [10. Internal Agent & MCP Integrations](#10-internal-agent--mcp-integrations)
+- [11. OAuth Provider Credentials](#11-oauth-provider-credentials)
+- [12. Provider User-Agent Overrides](#12-provider-user-agent-overrides)
+- [13. CLI Fingerprint Compatibility](#13-cli-fingerprint-compatibility)
+- [14. API Key Providers](#14-api-key-providers)
+- [15. Timeout Settings](#15-timeout-settings)
+- [16. Logging](#16-logging)
+- [17. Memory Optimization](#17-memory-optimization)
+- [18. Pricing Sync](#18-pricing-sync)
+- [19. Model Sync (Dev)](#19-model-sync-dev)
+- [20. Provider-Specific Settings](#20-provider-specific-settings)
+- [21. Proxy Health](#21-proxy-health)
+- [22. Debugging](#22-debugging)
+- [23. GitHub Integration](#23-github-integration)
+- [Deployment Scenarios](#deployment-scenarios)
+- [Audit: Removed / Dead Variables](#audit-removed--dead-variables)
+
+---
+
+## 1. Required Secrets
+
+These **must** be set before the first run. Without them, the application will either refuse to start or operate with insecure defaults.
+
+| Variable | Required | Default | Source File | Description |
+| ------------------ | -------- | -------- | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
+| `JWT_SECRET` | **Yes** | _(none)_ | `src/lib/auth` | Signs/verifies all dashboard session cookies (JWT). Generate with `openssl rand -base64 48`. |
+| `API_KEY_SECRET` | **Yes** | _(none)_ | `src/lib/db/apiKeys.ts` | AES encryption key for API key values at rest in SQLite. Generate with `openssl rand -hex 32`. |
+| `INITIAL_PASSWORD` | **Yes** | `123456` | Bootstrap script | Sets the initial admin dashboard password. **Change before first use.** After login, change via Dashboard → Settings → Security. |
+
+### Generation Commands
+
+```bash
+# Generate all three secrets at once:
+echo "JWT_SECRET=$(openssl rand -base64 48)"
+echo "API_KEY_SECRET=$(openssl rand -hex 32)"
+echo "INITIAL_PASSWORD=$(openssl rand -base64 16)"
+```
+
+> [!CAUTION]
+> Never commit `.env` files with real secrets to version control. The `.gitignore` already excludes `.env`, but verify before pushing.
+
+---
+
+## 2. Storage & Database
+
+OmniRoute uses **SQLite** (via `better-sqlite3`) for all persistence. These variables control data location, encryption, and lifecycle.
+
+| Variable | Default | Source File | Description |
+| -------------------------------- | -------------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
+| `DATA_DIR` | `~/.omniroute/` | `src/lib/db/core.ts` | Root directory for SQLite DB, backups, and data files. Override for Docker volumes or custom paths. |
+| `STORAGE_ENCRYPTION_KEY` | _(empty = disabled)_ | `src/lib/db/encryption.ts` | AES key for full SQLite database encryption at rest. Generate with `openssl rand -hex 32`. |
+| `STORAGE_ENCRYPTION_KEY_VERSION` | `v1` | `scripts/bootstrap-env.mjs`, `electron/main.js` | Version label for the encryption key. Increment when performing key rotation to support decryption of old backups. |
+| `DISABLE_SQLITE_AUTO_BACKUP` | `false` | `src/lib/db/backup.ts` | When `true`, skips the automatic database backup that runs before migrations on every startup. |
+| `OMNIROUTE_CRYPT_KEY` | _(unset)_ | `src/lib/db/encryption.ts` | **Legacy alias** for `STORAGE_ENCRYPTION_KEY`. Accepted as a fallback when the primary variable is absent. |
+| `OMNIROUTE_API_KEY_BASE64` | _(unset)_ | `src/lib/db/encryption.ts` | **Legacy alias** (Base64-encoded form) accepted as a fallback. Decoded automatically before use. |
+
+### Scenarios
+
+| Scenario | Configuration |
+| --------------------- | -------------------------------------------------------------------------------- |
+| **Local development** | Leave all defaults. DB lives at `~/.omniroute/omniroute.db`. |
+| **Docker** | `DATA_DIR=/data` + mount a volume at `/data`. |
+| **Encrypted at rest** | Set `STORAGE_ENCRYPTION_KEY` + keep backups of the key! Losing it = losing data. |
+| **CI/Testing** | `DATA_DIR=/tmp/omniroute-test` — ephemeral, no encryption needed. |
+
+---
+
+## 3. Network & Ports
+
+| Variable | Default | Source File | Description |
+| --------------------- | ------------ | -------------------------- | -------------------------------------------------------------------------------------- |
+| `PORT` | `20128` | `src/lib/runtime/ports.ts` | Primary port for both Dashboard UI and API endpoints (single-port mode). |
+| `API_PORT` | _(unset)_ | `src/lib/runtime/ports.ts` | When set, serves the `/v1/*` proxy API on this separate port. |
+| `API_HOST` | `0.0.0.0` | `src/lib/runtime/ports.ts` | Bind address for the API port. |
+| `DASHBOARD_PORT` | _(unset)_ | `src/lib/runtime/ports.ts` | When set, serves the Dashboard UI on this separate port. |
+| `PROD_DASHBOARD_PORT` | `20130` | `docker-compose.prod.yml` | Host-side published port for the Dashboard in Docker production mode. |
+| `PROD_API_PORT` | `20131` | `docker-compose.prod.yml` | Host-side published port for the API in Docker production mode. |
+| `OMNIROUTE_PORT` | _(unset)_ | `src/lib/runtime/ports.ts` | Takes precedence over `PORT` when running inside Electron or other wrappers. |
+| `NODE_ENV` | `production` | Next.js core | Controls logging verbosity, caching, error detail exposure, and Next.js optimizations. |
+
+### Port Modes
+
+```
+┌─────────────────────────── Single Port (default) ──────────────────────────┐
+│ PORT=20128 │
+│ → Dashboard: http://localhost:20128 │
+│ → API: http://localhost:20128/v1/chat/completions │
+└─────────────────────────────────────────────────────────────────────────────┘
+
+┌─────────────────────────── Split Ports ─────────────────────────────────────┐
+│ DASHBOARD_PORT=20128 │
+│ API_PORT=20129 │
+│ API_HOST=0.0.0.0 │
+│ → Dashboard: http://localhost:20128 │
+│ → API: http://0.0.0.0:20129/v1/chat/completions │
+│ Use case: Expose API to LAN while restricting Dashboard to localhost. │
+└─────────────────────────────────────────────────────────────────────────────┘
+
+┌─────────────────────────── Docker Production ──────────────────────────────┐
+│ PROD_DASHBOARD_PORT=443 PROD_API_PORT=8443 │
+│ → Maps container ports to host ports in docker-compose.prod.yml. │
+└─────────────────────────────────────────────────────────────────────────────┘
+```
+
+---
+
+## 4. Security & Authentication
+
+| Variable | Default | Source File | Description |
+| ----------------------------- | --------------------- | ---------------------------------------- | --------------------------------------------------------------------------------------------------------- |
+| `MACHINE_ID_SALT` | `endpoint-proxy-salt` | `src/lib/auth` | Salt combined with hardware identifiers for machine fingerprinting. Change per-deployment for isolation. |
+| `AUTH_COOKIE_SECURE` | `false` | `src/lib/auth` | Sets the `Secure` flag on session cookies. **Must be `true`** when running behind HTTPS. |
+| `REQUIRE_API_KEY` | `false` | API middleware | When `true`, all `/v1/*` proxy requests must include a valid API key. |
+| `ALLOW_API_KEY_REVEAL` | `false` | Dashboard providers page | Allows revealing full API key values in the Dashboard UI. Security risk on shared instances. |
+| `NO_LOG_API_KEY_IDS` | _(empty)_ | `src/lib/compliance/index.ts` | Comma-separated API key IDs that bypass request logging (GDPR compliance). |
+| `MAX_BODY_SIZE_BYTES` | `10485760` (10 MB) | `src/shared/middleware/bodySizeGuard.ts` | Maximum allowed request body size. Rejects payloads exceeding this limit. |
+| `CORS_ORIGIN` | `*` | Next.js middleware | CORS `Access-Control-Allow-Origin` value. Restrict for production. |
+| `OUTBOUND_SSRF_GUARD_ENABLED` | `true` | `src/shared/network/outboundUrlGuard.ts` | Block provider calls targeting private/loopback/link-local IP ranges. Disable only in isolated test envs. |
+
+### Hardening Checklist
+
+```bash
+# Production security minimum:
+AUTH_COOKIE_SECURE=true # Requires HTTPS
+REQUIRE_API_KEY=true # Authenticate all proxy calls
+ALLOW_API_KEY_REVEAL=false # Never expose keys in UI
+CORS_ORIGIN=https://your.domain.com
+MAX_BODY_SIZE_BYTES=5242880 # 5 MB limit
+```
+
+---
+
+## 5. Input Sanitization & PII Protection
+
+OmniRoute provides a two-layer defense: request-side injection scanning and response-side PII stripping.
+
+### Request-Side: Prompt Injection Guard
+
+| Variable | Default | Source File | Description |
+| ------------------------- | --------- | ---------------------------------------- | ------------------------------------------------------------------------------------------- |
+| `INPUT_SANITIZER_ENABLED` | `false` | `src/middleware/promptInjectionGuard.ts` | Enable scanning of incoming messages for prompt injection patterns. |
+| `INPUT_SANITIZER_MODE` | `warn` | `src/middleware/promptInjectionGuard.ts` | `warn` = log only, `block` = reject request with 400, `redact` = strip suspicious patterns. |
+| `INJECTION_GUARD_MODE` | _(unset)_ | `src/middleware/promptInjectionGuard.ts` | Legacy alias for `INPUT_SANITIZER_MODE` — same behavior. |
+| `PII_REDACTION_ENABLED` | `false` | `src/middleware/promptInjectionGuard.ts` | Detect PII (emails, phones, SSNs) in incoming requests. |
+
+### Response-Side: PII Sanitizer
+
+| Variable | Default | Source File | Description |
+| -------------------------------- | -------- | ------------------------- | ----------------------------------------------------------------------- |
+| `PII_RESPONSE_SANITIZATION` | `false` | `src/lib/piiSanitizer.ts` | Scan LLM responses for leaked PII before returning to client. |
+| `PII_RESPONSE_SANITIZATION_MODE` | `redact` | `src/lib/piiSanitizer.ts` | `redact` = mask PII, `warn` = log only, `block` = drop entire response. |
+
+### Scenarios
+
+| Scenario | Configuration |
+| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
+| **Enterprise compliance** | `INPUT_SANITIZER_ENABLED=true`, `INPUT_SANITIZER_MODE=block`, `PII_REDACTION_ENABLED=true`, `PII_RESPONSE_SANITIZATION=true` |
+| **Monitoring only** | `INPUT_SANITIZER_ENABLED=true`, `INPUT_SANITIZER_MODE=warn` — logs but never blocks |
+| **Personal use** | Leave all disabled — zero overhead |
+
+---
+
+## 6. Tool & Routing Policies
+
+| Variable | Default | Source File | Description |
+| ------------------ | ---------- | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
+| `TOOL_POLICY_MODE` | `disabled` | `src/lib/toolPolicy.ts` | Controls LLM tool/function-calling access. `allowlist` = only listed tools, `denylist` = all except listed, `disabled` = no restrictions. |
+
+---
+
+## 7. URLs & Cloud Sync
+
+| Variable | Default | Source File | Description |
+| ----------------------- | ------------------------ | ------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
+| `BASE_URL` | `http://localhost:20128` | `src/lib/cloudSync.ts` | Server-side URL for internal sync jobs to call `/api/sync/cloud`. |
+| `CLOUD_URL` | _(empty)_ | `src/lib/cloudSync.ts` | Cloud relay endpoint URL (premium feature). |
+| `CLOUD_SYNC_TIMEOUT_MS` | `12000` | `src/lib/cloudSync.ts` | HTTP timeout for cloud sync requests. |
+| `NEXT_PUBLIC_BASE_URL` | `http://localhost:20128` | OAuth, Dashboard, sync | Public-facing URL for OAuth redirect_uri, Dashboard links. **Must match your public URL behind reverse proxy.** |
+| `NEXT_PUBLIC_CLOUD_URL` | _(empty)_ | Client-side | Client-side mirror of `CLOUD_URL`. |
+| `NEXT_PUBLIC_APP_URL` | _(unset)_ | `src/shared/services/cloudSyncScheduler.ts` | Legacy fallback for `NEXT_PUBLIC_BASE_URL`. |
+
+> [!IMPORTANT]
+> When deploying behind a reverse proxy (nginx, Caddy), `NEXT_PUBLIC_BASE_URL` **must** be set to your public URL (e.g., `https://omniroute.example.com`). Without this, OAuth callbacks will fail because the redirect_uri won't match.
+
+---
+
+## 8. Outbound Proxy
+
+Route upstream LLM provider calls through an HTTP or SOCKS5 proxy for egress control, geo-routing, or IP masking.
+
+| Variable | Default | Source File | Description |
+| --------------------------------- | --------- | -------------------- | ----------------------------------------------------------------------------------- |
+| `ENABLE_SOCKS5_PROXY` | `true` | `open-sse/executors` | Enable SOCKS5 proxy agent for upstream calls. |
+| `NEXT_PUBLIC_ENABLE_SOCKS5_PROXY` | `true` | Client-side | Client-side awareness of SOCKS5 availability. |
+| `HTTP_PROXY` | _(unset)_ | Node.js standard | HTTP proxy for upstream calls. |
+| `HTTPS_PROXY` | _(unset)_ | Node.js standard | HTTPS proxy for upstream calls. |
+| `ALL_PROXY` | _(unset)_ | Node.js standard | Universal proxy (supports `socks5://`). |
+| `NO_PROXY` | _(unset)_ | Node.js standard | Comma-separated hostnames/IPs to bypass the proxy. |
+| `ENABLE_TLS_FINGERPRINT` | `false` | `open-sse/executors` | Spoof TLS fingerprint using wreq-js (mimics Chrome 124). Counters JA3/JA4 blocking. |
+
+### Scenarios
+
+| Scenario | Configuration |
+| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
+| **SOCKS5 through SSH tunnel** | `ALL_PROXY=socks5://127.0.0.1:7890`, `ENABLE_SOCKS5_PROXY=true` |
+| **Corporate HTTP proxy** | `HTTP_PROXY=http://proxy.corp.com:3128`, `HTTPS_PROXY=http://proxy.corp.com:3128`, `NO_PROXY=localhost,internal.corp.com` |
+| **Anti-fingerprint** | `ENABLE_TLS_FINGERPRINT=true` — requires `wreq-js` (included) |
+
+---
+
+## 9. CLI Tool Integration
+
+Controls how OmniRoute discovers and launches CLI sidecars (Claude Code, Codex, etc.).
+
+| Variable | Default | Source File | Description |
+| ------------------------- | ---------- | ----------------------------------- | -------------------------------------------------------------------------- |
+| `CLI_MODE` | `auto` | `src/shared/services/cliRuntime.ts` | `auto` = search system PATH; `manual` = use explicit paths only. |
+| `CLI_EXTRA_PATHS` | _(unset)_ | `src/shared/services/cliRuntime.ts` | Additional PATH entries for CLI binary discovery (colon-separated). |
+| `CLI_CONFIG_HOME` | _(unset)_ | `src/shared/services/cliRuntime.ts` | Override home directory for reading CLI configs (`~/.claude`, `~/.codex`). |
+| `CLI_ALLOW_CONFIG_WRITES` | `false` | `src/shared/services/cliRuntime.ts` | Allow OmniRoute to write CLI config files (token refresh, session data). |
+| `CLI_CLAUDE_BIN` | `claude` | `src/shared/services/cliRuntime.ts` | Custom path to Claude CLI binary. |
+| `CLI_CODEX_BIN` | `codex` | `src/shared/services/cliRuntime.ts` | Custom path to Codex CLI binary. |
+| `CLI_DROID_BIN` | `droid` | `src/shared/services/cliRuntime.ts` | Custom path to Droid CLI binary. |
+| `CLI_OPENCLAW_BIN` | `openclaw` | `src/shared/services/cliRuntime.ts` | Custom path to OpenClaw CLI binary. |
+| `CLI_CURSOR_BIN` | `agent` | `src/shared/services/cliRuntime.ts` | Custom path to Cursor agent binary. |
+| `CLI_CLINE_BIN` | `cline` | `src/shared/services/cliRuntime.ts` | Custom path to Cline CLI binary. |
+| `CLI_CONTINUE_BIN` | `cn` | `src/shared/services/cliRuntime.ts` | Custom path to Continue CLI binary. |
+| `CLI_QODER_BIN` | `qoder` | `src/shared/services/cliRuntime.ts` | Custom path to Qoder CLI binary. |
+
+### Docker Example
+
+```bash
+# Mount host binaries into the container and tell OmniRoute where they are:
+CLI_EXTRA_PATHS=/host-cli/bin
+CLI_CONFIG_HOME=/root
+CLI_ALLOW_CONFIG_WRITES=true
+CLI_CLAUDE_BIN=/host-cli/bin/claude
+```
+
+---
+
+## 10. Internal Agent & MCP Integrations
+
+| Variable | Default | Source File | Description |
+| --------------------------------------- | ----------- | ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
+| `OMNIROUTE_BASE_URL` | auto-detect | `open-sse/mcp-server/server.ts` | Explicit URL for MCP/A2A tools to reach OmniRoute. Overrides localhost auto-detection. |
+| `OMNIROUTE_API_KEY` | _(unset)_ | MCP/A2A modules | API key for internal MCP tool and A2A skill calls. |
+| `OMNIROUTE_API_KEY_ID` | _(unset)_ | `open-sse/mcp-server/audit.ts` | Key ID for MCP audit log attribution. |
+| `ROUTER_API_KEY` | _(unset)_ | Legacy | Legacy alias for `OMNIROUTE_API_KEY`. |
+| `OMNIROUTE_MCP_ENFORCE_SCOPES` | `false` | `open-sse/mcp-server/server.ts` | Enforce scope-based access control on MCP tool calls. |
+| `OMNIROUTE_MCP_SCOPES` | _(all)_ | `open-sse/mcp-server/server.ts` | Comma-separated scopes: `admin`, `combos`, `health`, `models`, `routing`, `budget`, `metrics`, `pricing`, `memory`, `skills`. |
+| `MODEL_SYNC_INTERVAL_HOURS` | `24` | `src/shared/services/modelSyncScheduler.ts` | Model catalog sync interval in hours. |
+| `PROVIDER_LIMITS_SYNC_INTERVAL_MINUTES` | `70` | `src/server-init.ts` | Provider rate-limit and quota polling interval. |
+| `OMNIROUTE_DISABLE_BACKGROUND_SERVICES` | `false` | `src/instrumentation-node.ts` | Disable all background services (sync, pricing, model refresh). Useful for CI/test. |
+| `OMNIROUTE_BOOTSTRAPPED` | `false` | `src/app/(dashboard)/dashboard/page.tsx` | Set `true` by bootstrap script after initial setup. Controls setup wizard visibility. |
+| `OMNIROUTE_ALLOW_BODY_PROJECT_OVERRIDE` | `0` | `open-sse/executors/antigravity.ts` | Escape hatch: allow request body to override the Antigravity project field. |
+
+### OAuth CLI Bridge (Internal)
+
+| Variable | Default | Source File | Description |
+| ------------------- | ----------- | ------------------------------- | ----------------------------------------- |
+| `OMNIROUTE_SERVER` | auto-detect | `src/lib/oauth/config/index.ts` | Server URL for CLI↔OmniRoute auth bridge. |
+| `OMNIROUTE_TOKEN` | _(unset)_ | `src/lib/oauth/config/index.ts` | Auth token for CLI bridge. |
+| `OMNIROUTE_USER_ID` | `cli` | `src/lib/oauth/config/index.ts` | User ID for CLI bridge sessions. |
+| `SERVER_URL` | _(unset)_ | `src/lib/oauth/config/index.ts` | Legacy alias for `OMNIROUTE_SERVER`. |
+| `CLI_TOKEN` | _(unset)_ | `src/lib/oauth/config/index.ts` | Legacy alias for `OMNIROUTE_TOKEN`. |
+| `CLI_USER_ID` | _(unset)_ | `src/lib/oauth/config/index.ts` | Legacy alias for `OMNIROUTE_USER_ID`. |
+
+---
+
+## 11. OAuth Provider Credentials
+
+Built-in credentials for **localhost development**. For remote deployments, register your own at each provider's developer console.
+
+| Variable | Provider | Notes |
+| --------------------------------- | ----------------------- | --------------------------------------------------------------------------------- |
+| `CLAUDE_OAUTH_CLIENT_ID` | Claude Code (Anthropic) | Public client — no secret needed. |
+| `CLAUDE_CODE_REDIRECT_URI` | Claude Code | Override redirect URI. Default: `https://platform.claude.com/oauth/code/callback` |
+| `CODEX_OAUTH_CLIENT_ID` | Codex / OpenAI | Public client. |
+| `GEMINI_OAUTH_CLIENT_ID` | Gemini (Google) | Requires matching `_SECRET`. |
+| `GEMINI_OAUTH_CLIENT_SECRET` | Gemini (Google) | — |
+| `GEMINI_CLI_OAUTH_CLIENT_ID` | Gemini CLI | Usually same as Gemini. |
+| `GEMINI_CLI_OAUTH_CLIENT_SECRET` | Gemini CLI | — |
+| `QWEN_OAUTH_CLIENT_ID` | Qwen (Alibaba) | Public client. |
+| `KIMI_CODING_OAUTH_CLIENT_ID` | Kimi Coding (Moonshot) | Public client. |
+| `ANTIGRAVITY_OAUTH_CLIENT_ID` | Antigravity (Google) | Requires matching `_SECRET`. |
+| `ANTIGRAVITY_OAUTH_CLIENT_SECRET` | Antigravity (Google) | — |
+| `GITHUB_OAUTH_CLIENT_ID` | GitHub Copilot | Public client. |
+| `QODER_OAUTH_CLIENT_SECRET` | Qoder | — |
+| `QODER_OAUTH_AUTHORIZE_URL` | Qoder | Set to enable Qoder OAuth. |
+| `QODER_OAUTH_TOKEN_URL` | Qoder | — |
+| `QODER_OAUTH_USERINFO_URL` | Qoder | — |
+| `QODER_OAUTH_CLIENT_ID` | Qoder | — |
+| `QODER_PERSONAL_ACCESS_TOKEN` | Qoder | Direct API key fallback (bypasses OAuth). |
+| `QODER_CLI_WORKSPACE` | Qoder | Workspace ID for Qoder CLI. |
+| `OMNIROUTE_QODER_WORKSPACE` | Qoder | Alias for `QODER_CLI_WORKSPACE`. |
+
+> [!WARNING]
+> **Google OAuth** (Antigravity, Gemini CLI) credentials **only work on localhost**. For remote servers:
+>
+> 1. Go to [Google Cloud Console → Credentials](https://console.cloud.google.com/apis/credentials)
+> 2. Create an OAuth 2.0 Client ID (type: "Web application")
+> 3. Add your server URL as Authorized redirect URI
+> 4. Replace the credential values in `.env`.
+
+---
+
+## 12. Provider User-Agent Overrides
+
+Override the `User-Agent` header sent to each upstream provider. This is dynamically resolved at runtime by the executor base class:
+
+```
+process.env[`${PROVIDER_ID}_USER_AGENT`]
+```
+
+> **Source:** `open-sse/executors/base.ts` → `buildHeaders()`
+
+| Variable | Default Value | When to Update |
+| ------------------------ | --------------------------------------------- | ------------------------------------------------------------- |
+| `CLAUDE_USER_AGENT` | `claude-cli/2.1.121 (external, cli)` | When Anthropic releases a new CLI version |
+| `CODEX_USER_AGENT` | `codex-cli/0.125.0 (Windows 10.0.26100; x64)` | When OpenAI updates the Codex CLI |
+| `CODEX_CLIENT_VERSION` | `0.125.0` | Override Codex client version independently of full UA string |
+| `GITHUB_USER_AGENT` | `GitHubCopilotChat/0.45.1` | When GitHub Copilot Chat updates |
+| `ANTIGRAVITY_USER_AGENT` | `antigravity/1.107.0 darwin/arm64` | When Antigravity IDE updates |
+| `KIRO_USER_AGENT` | `AWS-SDK-JS/3.0.0 kiro-ide/1.0.0` | When Kiro IDE updates |
+| `QODER_USER_AGENT` | `Qoder-Cli` | When Qoder CLI updates |
+| `QWEN_USER_AGENT` | `QwenCode/0.15.3 (linux; x64)` | When Qwen Code updates |
+| `CURSOR_USER_AGENT` | `connect-es/1.6.1` | When Cursor updates |
+| `GEMINI_CLI_USER_AGENT` | `google-api-nodejs-client/10.3.0` | When Google API client updates |
+
+> [!TIP]
+> You can add User-Agent overrides for **any** provider using the pattern `{PROVIDER_ID}_USER_AGENT`. The executor dynamically constructs the env var name.
+
+---
+
+## 13. CLI Fingerprint Compatibility
+
+When enabled, OmniRoute reorders HTTP headers and JSON body fields to match the exact signature of official CLI tools. This reduces the risk of account flagging while preserving your proxy IP.
+
+**Source:** `open-sse/config/cliFingerprints.ts`, `open-sse/executors/base.ts`
+
+### Per-Provider
+
+| Variable | Effect |
+| -------------------------- | --------------------------------------- |
+| `CLI_COMPAT_CODEX=1` | Mimics Codex CLI request signature |
+| `CLI_COMPAT_CLAUDE=1` | Mimics Claude Code request signature |
+| `CLI_COMPAT_GITHUB=1` | Mimics GitHub Copilot request signature |
+| `CLI_COMPAT_ANTIGRAVITY=1` | Mimics Antigravity request signature |
+| `CLI_COMPAT_KIRO=1` | Mimics Kiro IDE request signature |
+| `CLI_COMPAT_CURSOR=1` | Mimics Cursor request signature |
+| `CLI_COMPAT_KIMI_CODING=1` | Mimics Kimi Coding request signature |
+| `CLI_COMPAT_KILOCODE=1` | Mimics Kilo Code request signature |
+| `CLI_COMPAT_CLINE=1` | Mimics Cline request signature |
+| `CLI_COMPAT_QWEN=1` | Mimics Qwen Code request signature |
+
+### Global
+
+| Variable | Effect |
+| ------------------ | --------------------------------------------------------------- |
+| `CLI_COMPAT_ALL=1` | Enable fingerprint compatibility for **all** providers at once. |
+
+> [!NOTE]
+> This feature works alongside the User-Agent overrides (§12). The fingerprint system handles header ordering and body field ordering, while User-Agent overrides handle the specific UA string. Both can be enabled independently.
+
+---
+
+## 14. API Key Providers
+
+API keys for providers that use direct authentication. **Preferred setup:** Dashboard → Providers → Add API Key.
+
+Setting via environment variables is an alternative for Docker or headless deployments.
+
+Recognized pattern: `{PROVIDER_ID}_API_KEY`
+
+| Variable | Provider |
+| -------------------- | ------------------- |
+| `DEEPSEEK_API_KEY` | DeepSeek |
+| `GROQ_API_KEY` | Groq |
+| `XAI_API_KEY` | xAI (Grok) |
+| `MISTRAL_API_KEY` | Mistral AI |
+| `PERPLEXITY_API_KEY` | Perplexity |
+| `TOGETHER_API_KEY` | Together AI |
+| `FIREWORKS_API_KEY` | Fireworks AI |
+| `CEREBRAS_API_KEY` | Cerebras |
+| `COHERE_API_KEY` | Cohere |
+| `NVIDIA_API_KEY` | NVIDIA NIM |
+| `NEBIUS_API_KEY` | Nebius (embeddings) |
+
+> [!TIP]
+> Keys set via the Dashboard are stored encrypted in SQLite and take precedence over environment variables.
+
+---
+
+## 15. Timeout Settings
+
+All values are in **milliseconds**. Centralized resolution in `src/shared/utils/runtimeTimeouts.ts`.
+
+### Timeout Hierarchy
+
+```
+REQUEST_TIMEOUT_MS (global override)
+├─→ FETCH_TIMEOUT_MS (upstream provider calls, default: 600000)
+│ ├─→ FETCH_HEADERS_TIMEOUT_MS (inherits from FETCH_TIMEOUT_MS)
+│ ├─→ FETCH_BODY_TIMEOUT_MS (inherits from FETCH_TIMEOUT_MS)
+│ ├─→ TLS_CLIENT_TIMEOUT_MS (inherits from FETCH_TIMEOUT_MS)
+│ ├── FETCH_CONNECT_TIMEOUT_MS (independent, default: 30000)
+│ └── FETCH_KEEPALIVE_TIMEOUT_MS (independent, default: 4000)
+├─→ STREAM_IDLE_TIMEOUT_MS (inherits from REQUEST_TIMEOUT_MS, default: 600000)
+└─→ API_BRIDGE_PROXY_TIMEOUT_MS (inherits from REQUEST_TIMEOUT_MS, default: 30000)
+ ├─→ API_BRIDGE_SERVER_REQUEST_TIMEOUT_MS (derived, default: 300000)
+ ├── API_BRIDGE_SERVER_HEADERS_TIMEOUT_MS (default: 60000)
+ ├── API_BRIDGE_SERVER_KEEPALIVE_TIMEOUT_MS (default: 5000)
+ └── API_BRIDGE_SERVER_SOCKET_TIMEOUT_MS (default: 0 = disabled)
+```
+
+| Variable | Default | Description |
+| ---------------------------------------- | -------------------- | ------------------------------------------------------------------------------------------- |
+| `REQUEST_TIMEOUT_MS` | _(unset)_ | Global shortcut — overrides both `FETCH_TIMEOUT_MS` and `STREAM_IDLE_TIMEOUT_MS` defaults. |
+| `FETCH_TIMEOUT_MS` | `600000` | Total HTTP request timeout for upstream provider calls. |
+| `STREAM_IDLE_TIMEOUT_MS` | `600000` | Max silence between SSE chunks before aborting. Extended-thinking models rarely pause >90s. |
+| `FETCH_HEADERS_TIMEOUT_MS` | = `FETCH_TIMEOUT_MS` | Time to receive response headers. |
+| `FETCH_BODY_TIMEOUT_MS` | = `FETCH_TIMEOUT_MS` | Time to receive the full response body. |
+| `FETCH_CONNECT_TIMEOUT_MS` | `30000` | TCP connection establishment timeout. |
+| `FETCH_KEEPALIVE_TIMEOUT_MS` | `4000` | Keep-alive socket idle timeout. |
+| `TLS_CLIENT_TIMEOUT_MS` | = `FETCH_TIMEOUT_MS` | TLS fingerprint proxy (wreq-js) timeout. |
+| `API_BRIDGE_PROXY_TIMEOUT_MS` | `30000` | Proxy hop timeout for `/v1` bridge requests. |
+| `API_BRIDGE_SERVER_REQUEST_TIMEOUT_MS` | `300000` | Overall server request timeout for the bridge. |
+| `API_BRIDGE_SERVER_HEADERS_TIMEOUT_MS` | `60000` | Time to send response headers via the bridge. |
+| `API_BRIDGE_SERVER_KEEPALIVE_TIMEOUT_MS` | `5000` | Bridge keep-alive idle timeout. |
+| `API_BRIDGE_SERVER_SOCKET_TIMEOUT_MS` | `0` | Raw socket timeout (0 = disabled). |
+| `SHUTDOWN_TIMEOUT_MS` | `30000` | Grace period on SIGTERM/SIGINT before force-exit. |
+
+### Scenarios
+
+| Scenario | Configuration |
+| -------------------------------- | ------------------------------------------------------ |
+| **Long-running code generation** | `REQUEST_TIMEOUT_MS=900000` (15 min) |
+| **Fast-fail for production API** | `API_BRIDGE_PROXY_TIMEOUT_MS=10000` |
+| **Extended thinking models** | `STREAM_IDLE_TIMEOUT_MS=300000` (5 min between chunks) |
+
+---
+
+## 16. Logging
+
+The logging system writes to both stdout and rotated log files. All configuration is read by `src/lib/logEnv.ts`.
+
+| Variable | Default | Description |
+| --------------------------- | -------------------------- | ---------------------------------------------------------------------------- |
+| `APP_LOG_LEVEL` | `info` | Minimum log level: `debug`, `info`, `warn`, `error`. |
+| `APP_LOG_FORMAT` | `text` | Output format: `text` (human-readable) or `json` (structured). |
+| `APP_LOG_TO_FILE` | `true` | Write logs to file alongside stdout. |
+| `APP_LOG_FILE_PATH` | `logs/application/app.log` | Log file path (relative to project root or `DATA_DIR`). |
+| `APP_LOG_MAX_FILE_SIZE` | `50M` | Max file size before rotation. Accepts: `50M`, `1G`, `512K`, or plain bytes. |
+| `APP_LOG_RETENTION_DAYS` | `7` | Days to keep rotated application log files. |
+| `APP_LOG_MAX_FILES` | `20` | Maximum rotated log file backups. |
+| `CALL_LOG_RETENTION_DAYS` | `7` | Days to keep request/call log entries in the database. |
+| `CALL_LOG_MAX_ENTRIES` | `10000` | Max call log entries in the in-memory buffer. |
+| `CALL_LOGS_TABLE_MAX_ROWS` | `100000` | Max rows in the `call_logs` SQLite table before pruning. |
+| `PROXY_LOGS_TABLE_MAX_ROWS` | `100000` | Max rows in the `proxy_logs` SQLite table before pruning. |
+
+---
+
+## 17. Memory Optimization
+
+| Variable | Default | Description |
+| -------------------------- | ------------------------------- | ---------------------------------------------------------------------- |
+| `OMNIROUTE_MEMORY_MB` | `256` (Docker) / system default | V8 heap limit. Sets `--max-old-space-size`. |
+| `PROMPT_CACHE_MAX_SIZE` | `50` | Max cached system prompt entries. |
+| `PROMPT_CACHE_MAX_BYTES` | `2097152` (2 MB) | Max total prompt cache size. |
+| `PROMPT_CACHE_TTL_MS` | `300000` (5 min) | Prompt cache entry TTL. |
+| `SEMANTIC_CACHE_MAX_SIZE` | `100` | Max cached temperature=0 responses. |
+| `SEMANTIC_CACHE_MAX_BYTES` | `4194304` (4 MB) | Max total semantic cache size. |
+| `SEMANTIC_CACHE_TTL_MS` | `1800000` (30 min) | Semantic cache entry TTL. |
+| `STREAM_HISTORY_MAX` | `50` | Max recent stream events in the Dashboard live view buffer. |
+| `CONTEXT_LENGTH_DEFAULT` | `128000` | Global fallback max context length for models without explicit config. |
+| `USAGE_TOKEN_BUFFER` | `100` | Extra token headroom reserved when tracking usage quotas. |
+
+### Low-RAM Docker Example
+
+```bash
+OMNIROUTE_MEMORY_MB=128
+PROMPT_CACHE_MAX_SIZE=20
+PROMPT_CACHE_MAX_BYTES=524288 # 512 KB
+SEMANTIC_CACHE_MAX_SIZE=25
+SEMANTIC_CACHE_MAX_BYTES=1048576 # 1 MB
+STREAM_HISTORY_MAX=10
+```
+
+---
+
+## 18. Pricing Sync
+
+Automatic model pricing data synchronization from external sources.
+
+| Variable | Default | Source File | Description |
+| ----------------------- | ------------- | ------------------------ | ----------------------------- |
+| `PRICING_SYNC_ENABLED` | `false` | `src/lib/pricingSync.ts` | Opt-in periodic pricing sync. |
+| `PRICING_SYNC_INTERVAL` | `86400` (24h) | `src/lib/pricingSync.ts` | Sync interval in seconds. |
+| `PRICING_SYNC_SOURCES` | `litellm` | `src/lib/pricingSync.ts` | Comma-separated data sources. |
+
+---
+
+## 19. Model Sync (Dev)
+
+| Variable | Default | Source File | Description |
+| -------------------------- | ------------- | -------------------------- | -------------------------------------------------------- |
+| `MODELS_DEV_SYNC_INTERVAL` | `86400` (24h) | `src/lib/modelsDevSync.ts` | Development-time model catalog sync interval in seconds. |
+
+---
+
+## 20. Provider-Specific Settings
+
+| Variable | Default | Source File | Description |
+| ----------------------------------------- | ------------------ | ------------------------------------------ | ------------------------------------------------------------------------------------- |
+| `OPENROUTER_CATALOG_TTL_MS` | `86400000` (24h) | `src/lib/catalog/openrouterCatalog.ts` | OpenRouter model catalog cache TTL. |
+| `NANOBANANA_POLL_TIMEOUT_MS` | `120000` | `open-sse/handlers/imageGeneration.ts` | Max wait for NanoBanana image generation jobs. |
+| `NANOBANANA_POLL_INTERVAL_MS` | `2500` | `open-sse/handlers/imageGeneration.ts` | NanoBanana job polling frequency. |
+| `CLOUDFLARE_ACCOUNT_ID` | _(unset)_ | `open-sse/executors/cloudflare-ai.ts` | Account ID for Cloudflare Workers AI. |
+| `CLOUDFLARED_BIN` | auto-detect | `src/lib/cloudflaredTunnel.ts` | Custom path to `cloudflared` binary. |
+| `SEARCH_CACHE_TTL_MS` | `300000` (5 min) | `open-sse/services/searchCache.ts` | TTL for search API (Perplexity, Brave, etc.) response caching. |
+| `ALLOW_MULTI_CONNECTIONS_PER_COMPAT_NODE` | `false` | `src/app/api/providers/route.ts` | Allow multiple simultaneous connections per OpenAI-compatible provider. |
+| `ENABLE_CC_COMPATIBLE_PROVIDER` | `false` | `src/shared/utils/featureFlags.ts` | Enable experimental Claude Code compatible provider endpoint. |
+| `CLIPROXYAPI_HOST` | `127.0.0.1` | `open-sse/executors/cliproxyapi.ts` | CLIProxyAPI bridge host (legacy integration). |
+| `CLIPROXYAPI_PORT` | `5544` | `open-sse/executors/cliproxyapi.ts` | CLIProxyAPI bridge port. |
+| `CLIPROXYAPI_CONFIG_DIR` | `~/.cli-proxy-api` | `src/lib/versionManager/processManager.ts` | CLIProxyAPI config directory. |
+| `LOCAL_HOSTNAMES` | _(empty)_ | `open-sse/config/providerRegistry.ts` | Comma-separated additional hostnames treated as "local" (Docker service names, etc.). |
+
+---
+
+## 21. Proxy Health
+
+| Variable | Default | Source File | Description |
+| ---------------------------- | ---------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
+| `PROXY_FAST_FAIL_TIMEOUT_MS` | `2000` | `src/lib/proxyHealth.ts` | Fast-fail health check timeout. |
+| `PROXY_HEALTH_CACHE_TTL_MS` | `30000` | `src/lib/proxyHealth.ts` | Health check result cache TTL. |
+| `RATE_LIMIT_MAX_WAIT_MS` | `120000` (2 min) | `open-sse/services/rateLimitManager.ts` | Max time to wait on a 429 before failing the request. |
+| `REQUEST_RETRY` | `2` | `src/sse/services/cooldownAwareRetry.ts` | Number of automatic retries on model-scoped cooldown responses before returning error to client. |
+| `MAX_RETRY_INTERVAL_SEC` | `30` | `src/sse/services/cooldownAwareRetry.ts` | Max backoff interval (seconds) between cooldown retries. Capped by this value regardless of upstream `Retry-After`. |
+
+---
+
+## 22. Debugging
+
+> [!CAUTION]
+> These variables produce **verbose output** and may leak sensitive data. **Never enable in production.**
+
+| Variable | Default | Source File | Description |
+| -------------------------------- | --------- | ----------------------------------------- | -------------------------------------------------------------- |
+| `CURSOR_PROTOBUF_DEBUG` | _(unset)_ | `open-sse/utils/cursorProtobuf.ts` | Set `1` to dump Cursor protobuf decode/encode details. |
+| `CURSOR_STREAM_DEBUG` | _(unset)_ | `open-sse/executors/cursor.ts` | Set `1` to dump raw Cursor SSE stream data. |
+| `DEBUG_RESPONSES_SSE_TO_JSON` | _(unset)_ | `open-sse/handlers/responseTranslator.ts` | Set `true` to log Responses API SSE→JSON translation details. |
+| `NEXT_PUBLIC_OMNIROUTE_E2E_MODE` | _(unset)_ | E2E test harness | Set `true` to enable E2E test mode (relaxed auth, test hooks). |
+
+---
+
+## 23. GitHub Integration
+
+Allow users to report issues directly from the Dashboard.
+
+| Variable | Default | Source File | Description |
+| --------------------- | --------- | --------------------------------------- | ------------------------------------------------------- |
+| `GITHUB_ISSUES_REPO` | _(unset)_ | `src/app/api/v1/issues/report/route.ts` | Repository in `owner/repo` format. |
+| `GITHUB_ISSUES_TOKEN` | _(unset)_ | `src/app/api/v1/issues/report/route.ts` | GitHub Personal Access Token with `issues:write` scope. |
+
+---
+
+## Deployment Scenarios
+
+### Minimal Local Development
+
+```bash
+JWT_SECRET=$(openssl rand -base64 48)
+API_KEY_SECRET=$(openssl rand -hex 32)
+INITIAL_PASSWORD=dev123
+PORT=20128
+NODE_ENV=development
+```
+
+### Docker Production
+
+```bash
+JWT_SECRET=<generated>
+API_KEY_SECRET=<generated>
+INITIAL_PASSWORD=<generated>
+STORAGE_ENCRYPTION_KEY=<generated>
+DATA_DIR=/data
+PORT=20128
+API_PORT=20129
+NODE_ENV=production
+AUTH_COOKIE_SECURE=true
+REQUIRE_API_KEY=true
+NEXT_PUBLIC_BASE_URL=https://omniroute.example.com
+BASE_URL=http://localhost:20128
+OMNIROUTE_MEMORY_MB=512
+CORS_ORIGIN=https://your-frontend.example.com
+```
+
+### Air-Gapped / CI
+
+```bash
+JWT_SECRET=test-jwt-secret-for-ci
+API_KEY_SECRET=test-api-key-secret-for-ci
+INITIAL_PASSWORD=testpass
+NODE_ENV=production
+OMNIROUTE_DISABLE_BACKGROUND_SERVICES=true
+APP_LOG_TO_FILE=false
+```
+
+### VPS with Reverse Proxy (nginx + Cloudflare)
+
+```bash
+JWT_SECRET=<generated>
+API_KEY_SECRET=<generated>
+STORAGE_ENCRYPTION_KEY=<generated>
+PORT=20128
+AUTH_COOKIE_SECURE=true
+REQUIRE_API_KEY=true
+NEXT_PUBLIC_BASE_URL=https://omniroute.example.com
+BASE_URL=http://127.0.0.1:20128
+CORS_ORIGIN=https://omniroute.example.com
+ENABLE_TLS_FINGERPRINT=true
+CLI_COMPAT_ALL=1
+```
+
+---
+
+## Audit: Removed / Dead Variables
+
+The following variables appeared in previous versions of `.env.example` but have **no runtime references** in the current codebase. They have been removed:
+
+| Variable | Reason |
+| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
+| `STORAGE_DRIVER=sqlite` | Never read by any source file. SQLite is the only supported driver — no selection needed. |
+| `INSTANCE_NAME=omniroute` | Present in old docs/env templates but unused at runtime. May return in a future multi-instance feature. |
+| `SQLITE_MAX_SIZE_MB=2048` | Not referenced in source code. Database size is not artificially limited. |
+| `SQLITE_CLEAN_LEGACY_FILES=true` | Not referenced in source code. Legacy cleanup was likely removed. |
+| `CLI_ROO_BIN` | Not registered in `src/shared/services/cliRuntime.ts`. |
+| `CLI_KIMI_CODING_BIN` | Not registered in `src/shared/services/cliRuntime.ts` (Kimi Coding uses OAuth, not a CLI binary). |
+| `IFLOW_OAUTH_CLIENT_ID` / `IFLOW_OAUTH_CLIENT_SECRET` | Not referenced anywhere in source code. |
+
+### Default Value Corrections
+
+| Variable | Old `.env.example` Value | Actual Code Default | Fixed |
+| ------------------------- | ------------------------ | ------------------- | ------------------------------------------------------ |
+| `APP_LOG_RETENTION_DAYS` | `90` | `7` | ✅ Removed misleading value; documented `7` as default |
+| `CALL_LOG_RETENTION_DAYS` | `90` | `7` | ✅ Removed misleading value; documented `7` as default |
diff --git a/docs/i18n/az/docs/routing/AUTO-COMBO.md b/docs/i18n/az/docs/routing/AUTO-COMBO.md
new file mode 100644
index 0000000000..02f9ab0e82
--- /dev/null
+++ b/docs/i18n/az/docs/routing/AUTO-COMBO.md
@@ -0,0 +1,67 @@
+# OmniRoute Auto-Combo Engine (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../../docs/AUTO-COMBO.md) · 🇸🇦 [ar](../../ar/docs/AUTO-COMBO.md) · 🇧🇬 [bg](../../bg/docs/AUTO-COMBO.md) · 🇧🇩 [bn](../../bn/docs/AUTO-COMBO.md) · 🇨🇿 [cs](../../cs/docs/AUTO-COMBO.md) · 🇩🇰 [da](../../da/docs/AUTO-COMBO.md) · 🇩🇪 [de](../../de/docs/AUTO-COMBO.md) · 🇪🇸 [es](../../es/docs/AUTO-COMBO.md) · 🇮🇷 [fa](../../fa/docs/AUTO-COMBO.md) · 🇫🇮 [fi](../../fi/docs/AUTO-COMBO.md) · 🇫🇷 [fr](../../fr/docs/AUTO-COMBO.md) · 🇮🇳 [gu](../../gu/docs/AUTO-COMBO.md) · 🇮🇱 [he](../../he/docs/AUTO-COMBO.md) · 🇮🇳 [hi](../../hi/docs/AUTO-COMBO.md) · 🇭🇺 [hu](../../hu/docs/AUTO-COMBO.md) · 🇮🇩 [id](../../id/docs/AUTO-COMBO.md) · 🇮🇹 [it](../../it/docs/AUTO-COMBO.md) · 🇯🇵 [ja](../../ja/docs/AUTO-COMBO.md) · 🇰🇷 [ko](../../ko/docs/AUTO-COMBO.md) · 🇮🇳 [mr](../../mr/docs/AUTO-COMBO.md) · 🇲🇾 [ms](../../ms/docs/AUTO-COMBO.md) · 🇳🇱 [nl](../../nl/docs/AUTO-COMBO.md) · 🇳🇴 [no](../../no/docs/AUTO-COMBO.md) · 🇵🇭 [phi](../../phi/docs/AUTO-COMBO.md) · 🇵🇱 [pl](../../pl/docs/AUTO-COMBO.md) · 🇵🇹 [pt](../../pt/docs/AUTO-COMBO.md) · 🇧🇷 [pt-BR](../../pt-BR/docs/AUTO-COMBO.md) · 🇷🇴 [ro](../../ro/docs/AUTO-COMBO.md) · 🇷🇺 [ru](../../ru/docs/AUTO-COMBO.md) · 🇸🇰 [sk](../../sk/docs/AUTO-COMBO.md) · 🇸🇪 [sv](../../sv/docs/AUTO-COMBO.md) · 🇰🇪 [sw](../../sw/docs/AUTO-COMBO.md) · 🇮🇳 [ta](../../ta/docs/AUTO-COMBO.md) · 🇮🇳 [te](../../te/docs/AUTO-COMBO.md) · 🇹🇭 [th](../../th/docs/AUTO-COMBO.md) · 🇹🇷 [tr](../../tr/docs/AUTO-COMBO.md) · 🇺🇦 [uk-UA](../../uk-UA/docs/AUTO-COMBO.md) · 🇵🇰 [ur](../../ur/docs/AUTO-COMBO.md) · 🇻🇳 [vi](../../vi/docs/AUTO-COMBO.md) · 🇨🇳 [zh-CN](../../zh-CN/docs/AUTO-COMBO.md)
+
+---
+
+> Self-managing model chains with adaptive scoring
+
+## How It Works
+
+The Auto-Combo Engine dynamically selects the best provider/model for each request using a **6-factor scoring function**:
+
+| Factor | Weight | Description |
+| :--------- | :----- | :---------------------------------------------- |
+| Quota | 0.20 | Remaining capacity [0..1] |
+| Health | 0.25 | Circuit breaker: CLOSED=1.0, HALF=0.5, OPEN=0.0 |
+| CostInv | 0.20 | Inverse cost (cheaper = higher score) |
+| LatencyInv | 0.15 | Inverse p95 latency (faster = higher) |
+| TaskFit | 0.10 | Model × task type fitness score |
+| Stability | 0.10 | Low variance in latency/errors |
+
+## Mode Packs
+
+| Pack | Focus | Key Weight |
+| :---------------------- | :----------- | :--------------- |
+| 🚀 **Ship Fast** | Speed | latencyInv: 0.35 |
+| 💰 **Cost Saver** | Economy | costInv: 0.40 |
+| 🎯 **Quality First** | Best model | taskFit: 0.40 |
+| 📡 **Offline Friendly** | Availability | quota: 0.40 |
+
+## Self-Healing
+
+- **Temporary exclusion**: Score < 0.2 → excluded for 5 min (progressive backoff, max 30 min)
+- **Circuit breaker awareness**: OPEN → auto-excluded; HALF_OPEN → probe requests
+- **Incident mode**: >50% OPEN → disable exploration, maximize stability
+- **Cooldown recovery**: After exclusion, first request is a "probe" with reduced timeout
+
+## Bandit Exploration
+
+5% of requests (configurable) are routed to random providers for exploration. Disabled in incident mode.
+
+## API
+
+```bash
+# Create auto-combo
+curl -X POST http://localhost:20128/api/combos/auto \
+ -H "Content-Type: application/json" \
+ -d '{"id":"my-auto","name":"Auto Coder","candidatePool":["anthropic","google","openai"],"modePack":"ship-fast"}'
+
+# List auto-combos
+curl http://localhost:20128/api/combos/auto
+```
+
+## Task Fitness
+
+30+ models scored across 6 task types (`coding`, `review`, `planning`, `analysis`, `debugging`, `documentation`). Supports wildcard patterns (e.g., `*-coder` → high coding score).
+
+## Files
+
+| File | Purpose |
+| :------------------------------------------- | :------------------------------------ |
+| `open-sse/services/autoCombo/scoring.ts` | Scoring function & pool normalization |
+| `open-sse/services/autoCombo/taskFitness.ts` | Model × task fitness lookup |
+| `open-sse/services/autoCombo/engine.ts` | Selection logic, bandit, budget cap |
+| `open-sse/services/autoCombo/selfHealing.ts` | Exclusion, probes, incident mode |
+| `open-sse/services/autoCombo/modePacks.ts` | 4 weight profiles |
+| `src/app/api/combos/auto/route.ts` | REST API |
diff --git a/docs/i18n/az/llm.txt b/docs/i18n/az/llm.txt
new file mode 100644
index 0000000000..9184a4f896
--- /dev/null
+++ b/docs/i18n/az/llm.txt
@@ -0,0 +1,515 @@
+# OmniRoute (Български)
+
+🌐 **Languages:** 🇺🇸 [English](../../../llm.txt) · 🇸🇦 [ar](../ar/llm.txt) · 🇧🇬 [bg](../bg/llm.txt) · 🇧🇩 [bn](../bn/llm.txt) · 🇨🇿 [cs](../cs/llm.txt) · 🇩🇰 [da](../da/llm.txt) · 🇩🇪 [de](../de/llm.txt) · 🇪🇸 [es](../es/llm.txt) · 🇮🇷 [fa](../fa/llm.txt) · 🇫🇮 [fi](../fi/llm.txt) · 🇫🇷 [fr](../fr/llm.txt) · 🇮🇳 [gu](../gu/llm.txt) · 🇮🇱 [he](../he/llm.txt) · 🇮🇳 [hi](../hi/llm.txt) · 🇭🇺 [hu](../hu/llm.txt) · 🇮🇩 [id](../id/llm.txt) · 🇮🇳 [in](../in/llm.txt) · 🇮🇹 [it](../it/llm.txt) · 🇯🇵 [ja](../ja/llm.txt) · 🇰🇷 [ko](../ko/llm.txt) · 🇮🇳 [mr](../mr/llm.txt) · 🇲🇾 [ms](../ms/llm.txt) · 🇳🇱 [nl](../nl/llm.txt) · 🇳🇴 [no](../no/llm.txt) · 🇵🇭 [phi](../phi/llm.txt) · 🇵🇱 [pl](../pl/llm.txt) · 🇵🇹 [pt](../pt/llm.txt) · 🇧🇷 [pt-BR](../pt-BR/llm.txt) · 🇷🇴 [ro](../ro/llm.txt) · 🇷🇺 [ru](../ru/llm.txt) · 🇸🇰 [sk](../sk/llm.txt) · 🇸🇪 [sv](../sv/llm.txt) · 🇰🇪 [sw](../sw/llm.txt) · 🇮🇳 [ta](../ta/llm.txt) · 🇮🇳 [te](../te/llm.txt) · 🇹🇭 [th](../th/llm.txt) · 🇹🇷 [tr](../tr/llm.txt) · 🇺🇦 [uk-UA](../uk-UA/llm.txt) · 🇵🇰 [ur](../ur/llm.txt) · 🇻🇳 [vi](../vi/llm.txt) · 🇨🇳 [zh-CN](../zh-CN/llm.txt)
+
+---
+
+> OmniRoute is a free, open-source AI Gateway that acts as a universal API proxy for multi-provider LLMs. It provides smart routing, automatic fallback, load balancing, and format translation across 177 AI providers — all through a single OpenAI-compatible endpoint. Includes a built-in MCP Server (37 tools), A2A v0.3 protocol, Memory/Skills systems, Cloud Agents (codex-cloud, devin, jules), Guardrails framework, and an Electron desktop app.
+
+## Overview
+
+OmniRoute solves the problem of managing multiple AI provider subscriptions, quotas, and rate limits. It sits between your AI-powered tools (IDE agents, CLI tools) and AI providers, routing requests intelligently through a 4-tier fallback system: Subscription → API Key → Cheap → Free.
+
+**Key value:** One endpoint (`http://localhost:20128/v1`), unlimited models, zero downtime, minimal cost.
+
+**Current version:** 3.8.0
+
+## Tech Stack
+
+- **Runtime:** Node.js `>=20.20.2 <21 || >=22.22.2 <23 || >=24.0.0 <27`, ES Modules (`"type": "module"`)
+- **Framework:** Next.js 16 (App Router) with TypeScript 5.9
+- **Database:** SQLite via better-sqlite3 (local, zero-config, 55 migrations)
+- **State management:** Zustand (client), SQLite (server persistence)
+- **UI:** React 19, Tailwind CSS 4, Recharts for analytics, @lobehub/icons for 130+ provider SVG icons
+- **Auth:** OAuth 2.0 (PKCE) for providers, bcrypt for local user auth
+- **Schemas:** Zod v4 for all API / MCP input validation
+- **Background jobs:** Custom token health check scheduler, 24h model auto-sync
+- **Streaming:** Server-Sent Events (SSE) for real-time proxy responses
+- **Proxy engine:** Custom pipeline with format translation, circuit breaker, rate limiting, auto-combo engine
+- **i18n:** next-intl with 40+ languages
+- **Desktop:** Electron (cross-platform: Windows, macOS, Linux)
+- **Package:** Published on npm (`omniroute`) and Docker Hub (`diegosouzapw/omniroute`)
+
+## Project Structure
+
+```
+/
+├── src/ # Main application source
+│ ├── app/ # Next.js App Router pages and API routes
+│ │ ├── (dashboard)/ # Dashboard UI pages
+│ │ │ └── dashboard/
+│ │ │ ├── agents/ # ACP Agents dashboard (CLI agent detection + custom agents)
+│ │ │ ├── analytics/ # Usage analytics and charts
+│ │ │ ├── api-manager/ # API key management
+│ │ │ ├── audit/ # Audit logs
+│ │ │ ├── auto-combo/ # Auto-combo engine dashboard
+│ │ │ ├── cache/ # Cache dashboard (semantic cache stats)
+│ │ │ ├── cli-tools/ # CLI tool configuration (Claude Code, Codex, Gemini CLI, etc.)
+│ │ │ ├── combos/ # Model combo management (14 strategies + 4 templates)
+│ │ │ ├── costs/ # Cost tracking per provider/model
+│ │ │ ├── endpoint/ # Unified: Endpoint Proxy, MCP, A2A, API Endpoints tabs
+│ │ │ ├── health/ # System health (uptime, circuit breakers, latency)
+│ │ │ ├── limits/ # Rate limits dashboard
+│ │ │ ├── logs/ # Request, Proxy, Audit, Console logs (tabbed)
+│ │ │ ├── media/ # Image/video/music generation + transcription
+│ │ │ ├── memory/ # Memory system dashboard
+│ │ │ ├── onboarding/ # Onboarding wizard
+│ │ │ ├── playground/ # Model playground (Monaco editor, streaming)
+│ │ │ ├── providers/ # Provider management (OAuth + API key + free)
+│ │ │ ├── search-tools/ # Search tools configuration
+│ │ │ ├── settings/ # Settings tabs (General, Appearance, Security, Routing, Resilience, Advanced)
+│ │ │ ├── skills/ # Skills system dashboard
+│ │ │ ├── translator/ # Format translator + debug tools
+│ │ │ └── usage/ # Usage history
+│ │ ├── api/ # REST API endpoints (51 route directories)
+│ │ │ ├── v1/ # OpenAI-compatible API (chat, completions, models, embeddings,
+│ │ │ │ # images, audio, videos, music, moderations, rerank, search,
+│ │ │ │ # responses, messages, registered-keys, quotas, accounts)
+│ │ │ ├── v1beta/ # Gemini-compatible API
+│ │ │ ├── a2a/ # A2A agent management API
+│ │ │ ├── acp/ # ACP agent management API
+│ │ │ ├── oauth/ # OAuth flows per provider
+│ │ │ ├── providers/ # Provider CRUD and batch testing
+│ │ │ ├── models/ # Dashboard model listing and aliases
+│ │ │ ├── combos/ # Combo CRUD (multi-model fallback chains)
+│ │ │ ├── memory/ # Memory system API
+│ │ │ ├── skills/ # Skills system API
+│ │ │ ├── evals/ # Eval runner API
+│ │ │ ├── mcp/ # MCP HTTP transport API
+│ │ │ ├── search/ # Search provider API
+│ │ │ ├── webhooks/ # Webhook management
+│ │ │ ├── tunnels/ # Cloudflare tunnel management
+│ │ │ └── ... # Other endpoints (usage, logs, health, settings, pricing, etc.)
+│ │ ├── landing/ # Landing page
+│ │ ├── login/ # Login page
+│ │ ├── forgot-password/ # Password recovery
+│ │ ├── status/ # Status page
+│ │ └── docs/ # In-app documentation
+│ ├── domain/ # Domain types and policy engine
+│ │ ├── policyEngine.ts # Central policy engine
+│ │ ├── comboResolver.ts # Combo resolution logic
+│ │ ├── costRules.ts # Cost calculation rules
+│ │ ├── degradation.ts # Graceful degradation
+│ │ ├── fallbackPolicy.ts # Fallback behavior
+│ │ ├── lockoutPolicy.ts # Account lockout logic
+│ │ ├── modelAvailability.ts # Model availability checks
+│ │ ├── providerExpiration.ts # Provider credential expiration
+│ │ ├── quotaCache.ts # Quota caching layer
+│ │ ├── configAudit.ts # Configuration auditing
+│ │ └── responses.ts # Domain response types
+│ ├── i18n/ # Internationalization
+│ │ └── messages/ # 40+ language JSON files
+│ ├── lib/ # Core libraries
+│ │ ├── a2a/ # Agent-to-Agent v0.3 protocol server
+│ │ │ ├── skills/ # A2A skills (quotaManagement, smartRouting)
+│ │ │ ├── taskManager.ts # Task lifecycle with TTL cleanup
+│ │ │ └── streaming.ts # SSE streaming for A2A
+│ │ ├── acp/ # Agent Communication Protocol registry and manager
+│ │ ├── compliance/ # Compliance policy engine
+│ │ ├── db/ # SQLite database layer (21 modules + migrations)
+│ │ │ ├── core.ts # Database initialization, connection, schema
+│ │ │ ├── providers.ts # Provider connection CRUD
+│ │ │ ├── models.ts # Model catalog management
+│ │ │ ├── combos.ts # Combo configuration
+│ │ │ ├── apiKeys.ts # API key management
+│ │ │ ├── settings.ts # Settings persistence
+│ │ │ ├── backup.ts # Database backup/restore
+│ │ │ ├── proxies.ts # Proxy registry
+│ │ │ ├── prompts.ts # Prompt templates
+│ │ │ ├── webhooks.ts # Webhook subscriptions
+│ │ │ ├── detailedLogs.ts # Detailed request logging
+│ │ │ ├── domainState.ts # Domain state persistence
+│ │ │ ├── registeredKeys.ts # Registered API keys with quotas
+│ │ │ ├── quotaSnapshots.ts # Quota snapshot history
+│ │ │ ├── modelComboMappings.ts # Model-to-combo mappings
+│ │ │ ├── cliToolState.ts # CLI tool state tracking
+│ │ │ ├── encryption.ts # Data encryption
+│ │ │ ├── readCache.ts # Read-through cache layer
+│ │ │ ├── secrets.ts # Secrets management
+│ │ │ ├── stateReset.ts # State reset utilities
+│ │ │ ├── migrationRunner.ts # Schema migration runner
+│ │ │ └── migrations/ # 16 SQL migration files
+│ │ ├── evals/ # Eval runner and scheduler
+│ │ ├── memory/ # Persistent conversational memory
+│ │ │ ├── extraction.ts # Memory extraction from conversations
+│ │ │ ├── injection.ts # Memory injection into context
+│ │ │ ├── retrieval.ts # Memory retrieval/search
+│ │ │ ├── store.ts # Memory persistence layer
+│ │ │ └── summarization.ts # Memory summarization
+│ │ ├── oauth/ # OAuth providers, services, and utilities
+│ │ │ ├── constants/ # Default OAuth credentials (overridable via env)
+│ │ │ ├── providers/ # Provider-specific OAuth configs
+│ │ │ ├── services/ # Provider-specific token exchange logic
+│ │ │ └── utils/ # PKCE, callback server, token helpers
+│ │ ├── plugins/ # Plugin system
+│ │ ├── skills/ # Extensible skill framework
+│ │ │ ├── registry.ts # Skill registration
+│ │ │ ├── executor.ts # Skill execution engine
+│ │ │ ├── sandbox.ts # Skill sandbox environment
+│ │ │ ├── builtin/ # Built-in skills
+│ │ │ ├── interception.ts # Skill request interception
+│ │ │ └── injection.ts # Skill context injection
+│ │ ├── usage/ # Usage tracking system
+│ │ │ ├── callLogs.ts # Call log persistence
+│ │ │ ├── costCalculator.ts # Cost calculation engine
+│ │ │ └── usageHistory.ts # Usage history queries
+│ │ ├── cloudSync.ts # Cloud sync via Cloudflare Workers
+│ │ ├── cloudflaredTunnel.ts # Cloudflare tunnel management
+│ │ ├── pricingSync.ts # LiteLLM pricing data sync
+│ │ ├── semanticCache.ts # Semantic caching layer
+│ │ ├── tokenHealthCheck.ts # Background OAuth token refresh scheduler
+│ │ ├── webhookDispatcher.ts # Webhook event dispatcher
+│ │ └── localDb.ts # Unified re-export layer for all DB modules
+│ ├── middleware/ # Request middleware
+│ │ └── promptInjectionGuard.ts # Prompt injection detection
+│ ├── mitm/ # MITM proxy capability
+│ │ ├── cert/ # Certificate management
+│ │ ├── dns/ # DNS handling
+│ │ ├── targets/ # Target routing
+│ │ └── manager.ts # MITM proxy manager
+│ ├── shared/ # Shared utilities, components, and constants
+│ │ ├── components/ # Reusable UI components (Card, Badge, Button, Modal, Sidebar, ProviderIcon, etc.)
+│ │ ├── constants/ # Provider definitions (160+), model lists, pricing, routing strategies, MCP scopes
+│ │ ├── contracts/ # Shared API contracts
+│ │ ├── hooks/ # React hooks
+│ │ ├── middleware/ # Shared middleware utilities
+│ │ ├── schemas/ # Shared Zod schemas
+│ │ ├── services/ # Shared services
+│ │ ├── types/ # Shared TypeScript types
+│ │ ├── validation/ # Zod schemas (settings, providers, routes)
+│ │ └── utils/ # Helpers (auth, CORS, error codes, machine ID)
+│ ├── sse/ # SSE proxy pipeline
+│ │ ├── services/ # Auth resolution, format translation, response handling
+│ │ └── middleware/ # Rate limiting, circuit breaker, caching, idempotency
+│ ├── store/ # Zustand client-side stores (theme, providers, etc.)
+│ └── types/ # TypeScript type definitions
+├── open-sse/ # Standalone SSE server (npm workspace)
+│ ├── config/ # Model registries (providerRegistry, embedding, image, audio, video,
+│ │ # music, rerank, moderation, search, CLI fingerprints, Ollama models)
+│ ├── executors/ # Provider-specific request executors (31 executors)
+│ │ ├── base.ts # Base executor with shared logic
+│ │ ├── default.ts # Default OpenAI-compatible executor
+│ │ ├── cursor.ts # Cursor IDE (protobuf + checksum)
+│ │ ├── codex.ts # OpenAI Codex CLI
+│ │ ├── antigravity.ts # Antigravity IDE
+│ │ ├── github.ts # GitHub Copilot
+│ │ ├── gemini-cli.ts # Gemini CLI
+│ │ ├── kiro.ts # Kiro AI
+│ │ ├── qoder.ts # Qoder AI
+│ │ ├── vertex.ts # Vertex AI (Service Account JSON)
+│ │ ├── cloudflare-ai.ts # Cloudflare Workers AI
+│ │ ├── opencode.ts # OpenCode Zen/Go
+│ │ ├── pollinations.ts # Pollinations AI
+│ │ └── puter.ts # Puter AI
+│ ├── handlers/ # Request handlers per API type (11 handlers)
+│ │ ├── chatCore.ts # Main chat completions handler
+│ │ ├── responsesHandler.ts # OpenAI Responses API handler
+│ │ ├── embeddings.ts # Embedding generation
+│ │ ├── imageGeneration.ts # Image generation (GPT-Image, FLUX, SD, etc.)
+│ │ ├── videoGeneration.ts # Video generation
+│ │ ├── musicGeneration.ts # Music generation
+│ │ ├── audioSpeech.ts # Text-to-speech
+│ │ ├── audioTranscription.ts # Speech-to-text (Whisper, Deepgram, AssemblyAI)
+│ │ ├── moderations.ts # Content moderation
+│ │ ├── rerank.ts # Reranking API
+│ │ └── search.ts # Web search API
+│ ├── mcp-server/ # Built-in MCP server (29 tools, 3 transports: stdio/SSE/streamable-HTTP)
+│ │ ├── server.ts # MCP server core (tool registration, scope enforcement)
+│ │ ├── tools/ # Tool implementations (advancedTools, memoryTools, skillTools)
+│ │ ├── schemas/ # Zod input schemas (tools, audit, a2a)
+│ │ ├── scopeEnforcement.ts # Scope-based access control (10 scopes)
+│ │ ├── audit.ts # Tool call audit logging
+│ │ ├── runtimeHeartbeat.ts # MCP runtime heartbeat
+│ │ └── httpTransport.ts # HTTP transport handler
+│ ├── services/ # 36+ service modules
+│ │ ├── combo.ts # Core routing engine
+│ │ ├── usage.ts # Usage tracking
+│ │ ├── tokenRefresh.ts # OAuth token refresh
+│ │ ├── rateLimitManager.ts # Rate limit management
+│ │ ├── accountFallback.ts # Multi-account fallback
+│ │ ├── sessionManager.ts # Session management
+│ │ ├── wildcardRouter.ts # Wildcard model routing
+│ │ ├── autoCombo/ # Auto-combo engine (6-factor scoring, bandit exploration)
+│ │ ├── intentClassifier.ts # Request intent classification
+│ │ ├── taskAwareRouter.ts # Task-aware routing
+│ │ ├── thinkingBudget.ts # Thinking budget management
+│ │ ├── contextManager.ts # Context window management
+│ │ ├── modelDeprecation.ts # Model deprecation handling
+│ │ ├── modelFamilyFallback.ts # Intra-family model fallback
+│ │ ├── emergencyFallback.ts # Emergency fallback
+│ │ ├── workflowFSM.ts # Workflow state machine
+│ │ ├── backgroundTaskDetector.ts # Background task detection
+│ │ ├── ipFilter.ts # IP-based access control
+│ │ ├── signatureCache.ts # CLI signature caching
+│ │ ├── volumeDetector.ts # Request volume detection
+│ │ ├── contextHandoff.ts # Context relay handoff generation and injection
+│ │ ├── codexQuotaFetcher.ts # Codex quota fetching for context-relay
+│ │ └── ... # Additional services (14 more modules)
+│ ├── transformer/ # Responses API transformer
+│ │ └── responsesTransformer.ts
+│ ├── translator/ # Format translators (OpenAI ↔ Claude ↔ Gemini ↔ Responses ↔ Ollama ↔ DeepSeek)
+│ │ ├── request/ # Request translators per provider
+│ │ ├── response/ # Response translators per provider
+│ │ ├── helpers/ # Translation helpers
+│ │ └── image/ # Image format translation
+│ └── utils/ # 22 utility modules (stream, TLS, proxy, logging, etc.)
+├── electron/ # Electron desktop app (cross-platform)
+│ ├── main.js # Electron main process
+│ ├── preload.js # Preload script (IPC bridge)
+│ └── assets/ # App icons and assets
+├── tests/ # Test suites
+│ ├── unit/ # 122 unit test files
+│ ├── integration/ # Integration tests
+│ ├── e2e/ # Playwright E2E tests
+│ ├── security/ # Security tests
+│ ├── translator/ # Translator-specific tests
+│ └── load/ # Load tests
+├── docs/ # Documentation
+│ ├── i18n/ # 30-language translated docs
+│ ├── ARCHITECTURE.md # Full architecture documentation
+│ ├── API_REFERENCE.md # API reference
+│ ├── USER_GUIDE.md # User guide
+│ ├── CODEBASE_DOCUMENTATION.md # Codebase overview
+│ ├── CLI-TOOLS.md # CLI tools integration guide
+│ ├── A2A-SERVER.md # A2A agent protocol documentation
+│ ├── AUTO-COMBO.md # Auto-combo engine (6-factor scoring)
+│ ├── MCP-SERVER.md # MCP server (29 tools)
+│ ├── TROUBLESHOOTING.md # Troubleshooting guide
+│ ├── VM_DEPLOYMENT_GUIDE.md # VPS deployment guide
+│ ├── openapi.yaml # OpenAPI specification
+│ └── screenshots/ # Dashboard screenshots
+├── bin/ # CLI entry points (omniroute, reset-password)
+├── scripts/ # Build and utility scripts
+└── .env.example # Environment variable template
+```
+
+## Key Features (v3.8.0)
+
+### Core Proxy
+- **177 AI providers** with automatic format translation
+- **4 provider categories**: Free (5), OAuth (14), API Key (123+), Self-Hosted (8+), Custom (OpenAI/Anthropic-compatible)
+- **14 routing strategies**: priority, weighted, round-robin, fill-first, p2c, random, least-used, cost-optimized, strict-random, auto, lkgp, context-optimized, context-relay, **reset-aware** (v3.8)
+- **4-tier fallback**: Subscription → API Key → Cheap → Free
+- **Context Relay strategy**: Session handoff summaries on account rotation for continuity
+- **Auto-combo engine**: Self-healing routing optimization with **9-factor scoring** (health/quota/costInv/latencyInv/taskFit/specificityMatch/stability/tierPriority/tierAffinity), bandit exploration, progressive cooldown
+- **Semantic caching** with cache hit/miss headers
+- **Idempotency** with configurable dedup window
+- **3-layer resilience**: Provider Circuit Breaker / Connection Cooldown / Model Lockout
+- **Provider Icons**: 130+ provider logos via `@lobehub/icons` (SVG) with PNG fallback
+- **Model Auto-Sync**: 24h scheduler refreshes model lists for 16 providers
+- **Registered Keys API**: Auto-provision API keys via `POST /api/v1/registered-keys` with quota enforcement
+- **Memory System**: Persistent conversational memory with extraction, injection, retrieval, and summarization
+- **Skills System**: Extensible skill framework with registry, executor, sandbox, built-in and custom skills
+- **Cloud Agents**: Codex Cloud, Devin, Jules — autonomous coding agents with task lifecycle management
+- **Guardrails Framework**: Hot-reloadable registry with vision-bridge, pii-masker, prompt-injection (priority-ordered)
+- **MITM Proxy**: Certificate management, DNS handling, and target routing
+- **Cloudflare Tunnels**: Managed tunnel creation for remote access
+- **Coverage gate**: 75% statements/lines/functions, 70% branches (measured ~82%)
+
+### Security
+- **Data Loss Prevention**: SQLite migration safety bounds abort startup on dangerous massive schema overrides. Pre-migration `VACUUM INTO` backups isolate rollback snapshots.
+- **CodeQL security**: Fixed 10+ CodeQL alerts (polynomial-redos, insecure-randomness, shell-injection, SSRF, incomplete URLs)
+- **Web Crypto session IDs**: `generateSessionId` uses `crypto.getRandomValues()` instead of `Math.random()`
+- **Route validation**: All API routes validated with Zod v4 schemas + `validateBody()`
+- **omniModel tag sanitization**: Internal `<omniModel>` tags never leak to clients in SSE streams
+- **TLS Fingerprint Spoofing** — Browser-like TLS fingerprint to reduce bot detection
+- **CLI Fingerprint Matching** — Per-provider request signature matching
+- **Prompt injection guard** — Request middleware detection
+- **Provider constants validated at module load** via Zod (`src/shared/validation/providerSchema.ts`)
+- **PII sanitizer** — Sensitive data scrubbing in logs
+
+### Dashboard Pages (23 sections)
+- **Providers** — OAuth, API key, and free provider management with ProviderIcon SVG icons
+- **Combos** — Multi-model combo builder with 4 templates (Free Stack, High Availability, Cost Saver, Balanced) + 14 strategies
+- **Auto-Combo** — Auto-combo engine dashboard with scoring metrics
+- **Analytics** — Token consumption, cost, heatmaps, distributions
+- **Health** — Uptime, memory, latency percentiles, circuit breakers
+- **Logs** — Request, Proxy, Audit, Console (tabbed)
+- **Audit** — Audit trail and compliance logging
+- **Costs** — Cost tracking per provider/model
+- **Limits** — Rate limit monitoring
+- **Cache** — Semantic cache statistics and management
+- **CLI Tools** — One-click configuration for 10+ AI CLI tools
+- **CLI Agents** — Grid of 14+ built-in agents with ProviderIcon and install detection + custom agent registration
+- **Playground** — Test any model with Monaco editor, streaming responses
+- **Media** — Image/video/music generation (GPT-Image, FLUX, etc.) + audio transcription (up to 2GB files)
+- **Search Tools** — Search provider configuration and testing
+- **Memory** — Memory system management and visualization
+- **Skills** — Skills framework management and execution
+- **Translator** — Format debugging: playground, chat tester, test bench, live monitor
+- **Settings** — General, Appearance (7 color themes), Security (TLS/CLI fingerprint, IP filter), Routing, Resilience, Advanced
+- **Endpoint** — Unified: Endpoint Proxy, MCP Server, A2A Server, API Endpoints (tabbed)
+- **Onboarding** — Setup wizard for new users
+- **Usage** — Usage history and analytics
+- **API Manager** — API key management with scoped permissions
+
+### Protocol Support
+- **OpenAI-compatible** — `/v1/chat/completions`, `/v1/models`, `/v1/embeddings`, `/v1/images/generations`, `/v1/audio/transcriptions`, `/v1/audio/speech`, `/v1/moderations`, `/v1/rerank`, `/v1/videos/generations`, `/v1/music/generations`
+- **Anthropic** — `/v1/messages`, `/v1/messages/count_tokens`
+- **OpenAI Responses** — `/v1/responses`
+- **Gemini** — `/v1beta/models`, `/v1beta/models/{...path}`
+- **Ollama** — `/v1/api/chat`, `/api/tags`
+- **Search** — `/v1/search` (Perplexity, Serper, Brave, Exa, Tavily)
+- **MCP** — 37-tool MCP server with scope-based auth (3 transports: stdio, SSE, streamable HTTP)
+- **A2A** — Agent-to-Agent v0.3 protocol (JSON-RPC 2.0, 5 skills: smart-routing, quota-management, provider-discovery, cost-analysis, health-report)
+- **ACP** — Agent Communication Protocol registry and manager
+
+### MCP Server (37 Tools)
+| Category | Tools |
+|------------|-------|
+| Core (30) | `get_health`, `list_combos`, `get_combo_metrics`, `switch_combo`, `check_quota`, `route_request`, `cost_report`, `list_models_catalog`, `web_search`, `simulate_route`, `set_budget_guard`, `set_routing_strategy`, `set_resilience_profile`, `test_combo`, `get_provider_metrics`, `best_combo_for_task`, `explain_route`, `get_session_snapshot`, `db_health_check`, `sync_pricing`, `cache_stats`, `cache_flush`, and advanced routing/diagnostics tools (see `docs/frameworks/MCP-SERVER.md` for full inventory) |
+| Memory (3) | `memory_search`, `memory_add`, `memory_clear` |
+| Skills (4) | `skills_list`, `skills_enable`, `skills_execute`, `skills_executions` |
+
+**MCP Auth Scopes (~13):** `read:health`, `read:combos`, `write:combos`, `read:quota`, `read:usage`, `read:models`, `execute:completions`, `execute:search`, `write:budget`, `write:resilience`, plus memory/skills scopes — full list in `docs/frameworks/MCP-SERVER.md`.
+
+### Provider Categories
+
+**Free Providers (5):** Qoder AI, Qwen Code (deprecated), Gemini CLI, Kiro AI, Windsurf
+
+**OAuth Providers (14):** Claude Code, Antigravity, OpenAI Codex, GitHub Copilot, Cursor IDE, Kimi Coding, Kilo Code, Cline, Qwen, Kiro, Qoder, Gemini, Windsurf, GitLab Duo
+
+**API Key Providers (48+):** OpenAI, Anthropic, Gemini (Google AI Studio), DeepSeek, Groq, xAI (Grok), Mistral, Perplexity, Together AI, Fireworks AI, Cerebras, Cohere, NVIDIA NIM, Nebius AI, SiliconFlow, Hyperbolic, HuggingFace, OpenRouter, Vertex AI, Cloudflare Workers AI, Scaleway AI, AI/ML API, Pollinations AI, Puter AI, LongCat AI, Alibaba Cloud (DashScope), Alibaba Intl, Alibaba (AliCode), Kimi, Kimi Coding (API Key), Minimax, Minimax (China), Blackbox AI, Synthetic, Kilo Gateway, Z.AI, GLM Coding, Deepgram, AssemblyAI, ElevenLabs, Cartesia, PlayHT, Inworld, NanoBanana, SD WebUI, ComfyUI, Ollama Cloud, Perplexity Search, Serper Search, Brave Search, Exa Search, Tavily Search, OpenCode Zen, OpenCode Go, Bailian Coding Plan
+
+**Custom Providers:** OpenAI-compatible (`openai-compatible-*`) and Anthropic-compatible (`anthropic-compatible-*`) with custom base URLs
+
+### Internationalization
+- 40+ languages for UI (all dashboard pages)
+- 40 translated documentation sets in docs/i18n/
+- Language switcher in documentation
+
+## Key Architectural Decisions
+
+1. **OpenAI-compatible API surface:** All incoming requests follow the OpenAI API format. This makes OmniRoute a drop-in replacement for any tool that supports custom OpenAI endpoints.
+
+2. **Provider abstraction via format translators:** Each AI provider has a translator in `open-sse/translator/` that converts between OpenAI format and the provider's native format transparently.
+
+3. **Connection-based provider model:** Providers are stored as "connections" in SQLite. Each connection has an `id`, `provider`, `authType` (oauth/apikey/free), `isActive` flag, and credentials. Multiple connections per provider for multi-account rotation.
+
+4. **Combo system for fallback:** Users create "combos" — ordered lists of `provider/model` pairs. The proxy tries each in order until one succeeds. Supports 14 strategies including auto-combo with self-healing and context-relay for session continuity.
+
+5. **SSE proxy pipeline:** The proxy pipeline is middleware-based: request → auth resolution → rate limiting → circuit breaker → format translation → upstream call → response translation → SSE streaming back to client.
+
+6. **SQLite for persistence:** All state (providers, combos, logs, settings, API keys, memory, skills) stored in a single SQLite database via 21 domain-specific modules. All DB operations go through `src/lib/db/` modules, never raw SQL in routes.
+
+7. **OAuth with PKCE:** OAuth flows use PKCE for security. Token refresh handled by background job (`tokenHealthCheck.ts`).
+
+8. **ProviderIcon component:** Unified icon system using `@lobehub/icons` (130+ SVG) with PNG fallback and generic icon fallback chain. Used on providers, dashboard, and agents pages.
+
+9. **DB architecture:** `localDb.ts` is a re-export layer only — real logic lives in 21 `src/lib/db/` modules with 16 SQL migrations.
+
+10. **Upstream headers:** Custom headers merged in executors after default auth; same header name replaces executor value. Forbidden header names in `src/shared/constants/upstreamHeaders.ts`.
+
+11. **Memory/Skills cross-cutting systems:** Memory and Skills affect the MCP tools, request pipeline, and A2A skills. Memory provides persistent context across sessions; Skills provide extensible tool execution with sandbox isolation.
+
+12. **Domain policy engine:** `src/domain/` contains policy engine modules (policyEngine, comboResolver, costRules, degradation, fallbackPolicy, lockoutPolicy, modelAvailability, providerExpiration, quotaCache, configAudit) that govern routing decisions independently from the pipeline.
+
+13. **Provider constants validated at load:** All provider definitions validated via Zod schemas at module load time (`src/shared/validation/providerSchema.ts`). Invalid providers fail fast.
+
+## Main Flows
+
+### Proxy Request Flow
+1. Client sends OpenAI-format request to `/v1/chat/completions`
+2. API key validation
+3. Model resolution: direct model or combo lookup
+4. For combos: iterate through models with selected strategy
+5. Auth resolution: get credentials for the target provider
+6. Format translation: OpenAI → provider native format
+7. CLI fingerprint matching (if enabled for provider)
+8. Upstream request with circuit breaker and rate limiting
+9. Response translation: provider → OpenAI format
+10. omniModel tag sanitization (strip internal tags)
+11. SSE streaming back to client
+12. Memory extraction (if memory system enabled)
+13. Usage logging and cost calculation
+
+### OAuth Flow
+1. Dashboard initiates `/api/oauth/[provider]/authorize`
+2. User completes OAuth login in browser
+3. Callback hits `/api/oauth/[provider]/exchange`
+4. Tokens stored as a provider connection in SQLite
+5. Background job refreshes tokens before expiry
+
+## Important Notes for LLMs
+
+1. **Two model endpoints exist:** `/api/models` (dashboard, all models) and `/v1/models` (OpenAI-compatible, active only).
+
+2. **Provider IDs vs aliases:** Providers have both an ID (`claude`, `github`) and a short alias (`cc`, `gh`). Models are referenced as `alias/model-name` (e.g., `cc/claude-opus-4-6`).
+
+3. **The `open-sse/` directory is a separate npm workspace** with its own config, handlers, executors, translators, and services.
+
+4. **Environment variables:** All configuration is in `.env` (from `.env.example`). Key vars: `PORT`, `NEXT_PUBLIC_BASE_URL`, `API_KEY`, `ADMIN_PASSWORD`.
+
+5. **Database layer:** Operations go through `src/lib/db/` modules (45+ domain-specific files, 55 migrations). `localDb.ts` is re-exports only — add new functions to the proper `db/*.ts` module.
+
+6. **Tests** use Node.js built-in test runner + Vitest. Run `npm test`. Vitest for MCP/autoCombo (`npm run test:vitest`). Playwright for E2E (`npm run test:e2e`). Coverage gate: 75% statements/lines/functions, 70% branches.
+
+7. **MCP and A2A pages are embedded as tabs inside `/dashboard/endpoint`**, not standalone routes.
+
+8. **ACP agents** are in `src/lib/acp/registry.ts` with detection cache. Custom agents stored via settings DB.
+
+9. **Auto-combo engine** in `open-sse/services/autoCombo/` — **9-factor scoring** (health 0.22, quota 0.17, costInv 0.17, latencyInv 0.13, taskFit 0.08, specificityMatch 0.08, stability 0.05, tierPriority 0.05, tierAffinity 0.05), 4 mode packs, bandit exploration, progressive cooldown.
+
+10. **Docker:** Dockerfile has two targets: `runner-base` and `runner-cli`. `docker-compose.yml` for dev (3 profiles), `docker-compose.prod.yml` for production (port 20130).
+
+11. **Electron desktop app** in `electron/` with main.js and preload.js. Build with `npm run electron:build` (supports Windows, macOS, Linux).
+
+12. **Pricing data** syncs from LiteLLM via `src/lib/pricingSync.ts`. Use `sync_pricing` MCP tool or API endpoint.
+
+13. **Memory system** in `src/lib/memory/` provides extraction, injection, retrieval, summarization, and persistent store. Exposed via MCP memory tools and `/api/memory/ API.
+
+14. **Skills system** in `src/lib/skills/` provides registry, executor, sandbox isolation, built-in skills, custom skill support, request interception, and context injection. Exposed via MCP skill tools and `/api/skills/` API.
+
+15. **Zod v4** is used for all validation. Import from `zod` package. Provider schemas validated at module load time.
+
+16. **Context Relay** strategy (`context-relay`) is split across two layers: `combo.ts` decides if a handoff should be generated after a successful turn; `chat.ts` injects the handoff only after account resolution. Handoff data lives in `context_handoffs` SQLite table. Config: `handoffThreshold`, `handoffModel`, `handoffProviders`.
+
+17. **Proxy enforcement** is now comprehensive: token health checks resolve proxy per connection, provider validation wraps in `runWithProxyContext`, and proxy dispatchers use `undici.fetch()` instead of the Node built-in `fetch()` to avoid dispatcher incompatibilities on Node 22.
+
+18. **Node.js 24+ compatibility**: The login page (`/api/settings/require-login`) detects the Node.js version and sends `nodeVersion`/`nodeCompatible` fields. The login UI renders a warning banner when `nodeCompatible` is false.
+
+19. **Cloud Agents** in `src/lib/cloudAgent/` — three external autonomous coding agents (Codex Cloud, Devin, Jules) with task lifecycle endpoints under `/api/v1/agents/tasks/`. Require management auth, not client auth.
+
+20. **Guardrails framework** in `src/lib/guardrails/` — hot-reloadable registry. Built-ins (priority-ordered): `vision-bridge` (5) → `pii-masker` (10) → `prompt-injection` (20). Fail-open model: exceptions never block traffic. Per-request opt-out via `x-omniroute-disabled-guardrails` header.
+
+21. **Authz pipeline** (`src/server/authz/`): every request is classified as `PUBLIC`, `CLIENT_API`, or `MANAGEMENT`, then run through policy + enforce stages. See `docs/architecture/AUTHZ_GUIDE.md`.
+
+22. **Three resilience layers** are distinct (do not conflate them):
+ - **Provider Circuit Breaker** (`src/shared/utils/circuitBreaker.ts`) — whole-provider scope.
+ - **Connection Cooldown** (`src/sse/services/auth.ts::markAccountUnavailable`) — one key/account scope.
+ - **Model Lockout** (`open-sse/services/accountFallback.ts`) — provider + connection + model scope.
+
+## v3.8.0 Highlights
+
+- **Cloud Agents** (Codex Cloud, Devin, Jules) with task lifecycle management and management-auth enforcement
+- **Guardrails framework**: hot-reloadable registry with vision-bridge, pii-masker, prompt-injection
+- **9-factor Auto-Combo scoring** (was 6-factor in earlier versions)
+- **`reset-aware` routing strategy** (14th strategy) — picks the account whose quota will reset soonest
+- **A2A protocol expanded to 5 skills**: smart-routing, quota-management, provider-discovery, cost-analysis, health-report
+- **MCP server expanded to 37 tools** (30 base + 3 memory + 4 skills) across ~13 scopes
+- **OAuth providers expanded to 14**: added Qwen, Kiro, Qoder, Gemini, Windsurf, GitLab Duo
+- **Coverage gate raised to 75/75/75/70** (was 60% across the board) — measured ~82%
+- **Reasoning replay** (`docs/routing/REASONING_REPLAY.md`) — capture and inspect provider reasoning streams
+- **Compliance + Evals + Webhooks** documentation introduced
+- **Stealth guide** (`docs/security/STEALTH_GUIDE.md`) — TLS / CLI fingerprint configuration
+- **Tunnels guide** (`docs/ops/TUNNELS_GUIDE.md`) — Cloudflare tunnel management
+- **Electron guide** (`docs/guides/ELECTRON_GUIDE.md`) — desktop app build + signing
+
+## Links
+
+- Repository: https://github.com/diegosouzapw/OmniRoute
+- Website: https://omniroute.online
+- npm: https://www.npmjs.com/package/omniroute
+- Docker Hub: https://hub.docker.com/r/diegosouzapw/omniroute
+- Documentation: See `/docs/` directory
+
+### Documentation Index
+
+- **Architecture & Reference**: `docs/architecture/ARCHITECTURE.md`, `docs/architecture/CODEBASE_DOCUMENTATION.md`, `docs/architecture/REPOSITORY_MAP.md`, `docs/reference/API_REFERENCE.md`, `docs/reference/PROVIDER_REFERENCE.md`, `docs/reference/openapi.yaml`
+- **Operator guides**: `docs/guides/USER_GUIDE.md`, `docs/reference/CLI-TOOLS.md`, `docs/guides/TROUBLESHOOTING.md`, `docs/ops/COVERAGE_PLAN.md`
+- **Protocols**: `docs/frameworks/MCP-SERVER.md`, `docs/frameworks/A2A-SERVER.md`, `docs/frameworks/AGENT_PROTOCOLS_GUIDE.md`, `docs/frameworks/CLOUD_AGENT.md`
+- **Routing & resilience**: `docs/routing/AUTO-COMBO.md`, `docs/architecture/RESILIENCE_GUIDE.md`
+- **Security**: `docs/architecture/AUTHZ_GUIDE.md`, `docs/security/GUARDRAILS.md`, `docs/security/COMPLIANCE.md`, `docs/security/STEALTH_GUIDE.md`
+- **Extensibility**: `docs/frameworks/SKILLS.md`, `docs/frameworks/MEMORY.md`, `docs/frameworks/EVALS.md`, `docs/frameworks/WEBHOOKS.md`, `docs/routing/REASONING_REPLAY.md`
+- **Platform**: `docs/guides/ELECTRON_GUIDE.md`, `docs/ops/TUNNELS_GUIDE.md`
+- **AI agents**: `CLAUDE.md`, `AGENTS.md`, `GEMINI.md`
diff --git a/scripts/i18n/generate-multilang.mjs b/scripts/i18n/generate-multilang.mjs
index ec4a6f3a61..d9340622af 100644
--- a/scripts/i18n/generate-multilang.mjs
+++ b/scripts/i18n/generate-multilang.mjs
@@ -150,6 +150,15 @@ const LOCALE_SPECS = [
readmeName: "العربية",
docsName: "العربية",
},
+ {
+ code: "az",
+ googleTl: "az",
+ label: "AZ",
+ flag: "🇦🇿",
+ languageName: "Azərbaycan dili",
+ readmeName: "Azərbaycan dili",
+ docsName: "Azərbaycan dili",
+ },
{
code: "ja",
googleTl: "ja",
diff --git a/scripts/i18n/i18n_autotranslate.py b/scripts/i18n/i18n_autotranslate.py
index e05749a3ea..1ff8c1c617 100755
--- a/scripts/i18n/i18n_autotranslate.py
+++ b/scripts/i18n/i18n_autotranslate.py
@@ -39,7 +39,7 @@ def get_language_name(lang_code):
"pt-BR": "Portuguese (Brazil)", "es": "Spanish", "fr": "French",
"it": "Italian", "ru": "Russian", "zh-CN": "Simplified Chinese",
"de": "German", "in": "Hindi", "th": "Thai", "uk-UA": "Ukrainian",
- "ar": "Arabic", "ja": "Japanese", "vi": "Vietnamese", "bg": "Bulgarian",
+ "ar": "Arabic", "az": "Azerbaijani", "ja": "Japanese", "vi": "Vietnamese", "bg": "Bulgarian",
"da": "Danish", "fi": "Finnish", "he": "Hebrew", "hu": "Hungarian",
"id": "Indonesian", "ko": "Korean", "ms": "Malay", "nl": "Dutch",
"no": "Norwegian", "pt": "Portuguese (Portugal)", "ro": "Romanian",
diff --git a/src/i18n/messages/az.json b/src/i18n/messages/az.json
new file mode 100644
index 0000000000..33abde2e32
--- /dev/null
+++ b/src/i18n/messages/az.json
@@ -0,0 +1,5436 @@
+{
+ "common": {
+ "save": "Save",
+ "cancel": "Cancel",
+ "delete": "Delete",
+ "loading": "Loading...",
+ "error": "An error occurred",
+ "success": "Success",
+ "confirm": "Are you sure?",
+ "refresh": "Refresh",
+ "close": "Close",
+ "add": "Add",
+ "edit": "Edit",
+ "search": "Search",
+ "back": "Back",
+ "next": "Next",
+ "submit": "Submit",
+ "reset": "Reset",
+ "copy": "Copy",
+ "copied": "Copied!",
+ "enabled": "Enabled",
+ "disabled": "Disabled",
+ "active": "Active",
+ "inactive": "Inactive",
+ "noData": "No data available",
+ "nothingHere": "Nothing here yet",
+ "configure": "Configure",
+ "manage": "Manage",
+ "name": "Name",
+ "actions": "Actions",
+ "status": "Status",
+ "type": "Type",
+ "model": "Model",
+ "models": "models",
+ "provider": "Provider",
+ "account": "Account",
+ "time": "Time",
+ "details": "Details",
+ "created": "Created",
+ "lastUsed": "Last Refreshed",
+ "loadMore": "Load More",
+ "noResults": "No results found",
+ "reloadPage": "Reload Page",
+ "connected": "Connected",
+ "disconnected": "Disconnected",
+ "notConfigured": "Not configured",
+ "testConnection": "Test Connection",
+ "enable": "Enable",
+ "disable": "Disable",
+ "columns": "Columns",
+ "newest": "Newest",
+ "oldest": "Oldest",
+ "all": "All",
+ "none": "None",
+ "yes": "Yes",
+ "no": "No",
+ "warning": "Warning",
+ "note": "Note",
+ "free": "Free",
+ "skipToContent": "Skip to content",
+ "maintenanceServerIssues": "Server is experiencing issues. Some features may be unavailable.",
+ "maintenanceServerUnreachable": "Server is unreachable. Reconnecting...",
+ "accept": "Accept",
+ "accountId": "Account ID",
+ "alias": "Alias",
+ "apiKeyId": "API Key ID",
+ "apiKeyName": "API Key Name",
+ "apiKeySecret": "API Key Secret",
+ "authorization": "Authorization",
+ "content-type": "Content Type",
+ "content-length": "Content Length",
+ "cookie": "Cookie",
+ "file": "File",
+ "host": "Host",
+ "id": "ID",
+ "import": "Import",
+ "limit": "Limit",
+ "offset": "Offset",
+ "open": "Open",
+ "origin": "Origin",
+ "promptTokens": "Prompt Tokens",
+ "completionTokens": "Completion Tokens",
+ "totalTokens": "Total Tokens",
+ "rawModel": "Raw Model",
+ "scope": "Scope",
+ "skill": "Skill",
+ "sortBy": "Sort By",
+ "sortOrder": "Sort Order",
+ "tab": "Tab",
+ "text": "Text",
+ "textarea": "Textarea",
+ "tool": "Tool",
+ "toolId": "Tool ID",
+ "web": "Web",
+ "whereUsed": "Where Used",
+ "whitelist": "Whitelist",
+ "blacklist": "Blacklist",
+ "resolve": "Resolve",
+ "force": "Force",
+ "base64url": "Base64 URL",
+ "hex": "Hex",
+ "range": "Range",
+ "component": "Component",
+ "redirect_uri": "Redirect URI",
+ "idempotency-key": "Idempotency Key",
+ "error_description": "Error Description",
+ "code": "Code",
+ "compatible": "Compatible",
+ "chat-completions": "Chat Completions",
+ "oauth": "OAuth",
+ "auth_token": "Auth Token",
+ "crypto": "Crypto",
+ "hours": "Hours",
+ "selfsigned": "Self-signed",
+ "proxy_id": "Proxy ID",
+ "proxyId": "Proxy ID",
+ "connectionId": "Connection ID",
+ "resolveConnectionId": "Resolve Connection ID",
+ "resolve_connection_id": "Resolve Connection ID",
+ "scope_id": "Scope ID",
+ "scopeId": "Scope ID",
+ "jwtSecret": "JWT Secret",
+ "keytar": "Keytar",
+ "better-sqlite3": "better-sqlite3",
+ "undici": "undici",
+ "builder-id": "Builder ID",
+ "musicDesc": "Music Description",
+ "musicGeneration": "Music Generation",
+ "idc": "IDC",
+ "cloud-status-changed": "Cloud status changed",
+ "where_used": "Where Used",
+ "windowMs": "Window (ms)",
+ "social-github": "GitHub",
+ "social-google": "Google",
+ "TOOL_ALLOWLIST": "Tool Allowlist",
+ "TOOL_DENYLIST": "Tool Denylist",
+ "Failed to save pricing": "Failed to save pricing",
+ "Failed to reset pricing": "Failed to reset pricing",
+ "apikey": "API Key",
+ "http": "HTTP",
+ "goToDashboard": "Go to Dashboard",
+ "checkSystemStatus": "Check System Status",
+ "selectModel": "Select Model",
+ "combos": "Combos",
+ "noModelsFound": "No models found",
+ "clear": "Clear",
+ "done": "Done",
+ "errorOccurred": "Error Occurred",
+ "comboDeleted": "Combo Deleted",
+ "hide": "Hide",
+ "creating": "Creating",
+ "comboCreated": "Combo Created",
+ "swapFormats": "Swap Formats",
+ "daysAgo": "Days Ago",
+ "retries": "Retries",
+ "errorDuringRestore": "Error During Restore",
+ "eventsAppearHint": "Events Appear Hint",
+ "noLockouts": "No Lockouts",
+ "webSearchDesc": "Web Search Desc",
+ "audioProvidersHeading": "Audio Providers Heading",
+ "cloudAgentProviders": "Cloud Agent Providers",
+ "minutesAgo": "Minutes Ago",
+ "a": "A",
+ "liveAutoRefreshing": "Live Auto Refreshing",
+ "webSearch": "Web Search",
+ "anthropicPrefixPlaceholder": "Anthropic Prefix Placeholder",
+ "addModelToCombo": "Add Model To Combo",
+ "failedToLoad": "Failed To Load",
+ "categoryMedia": "Category Media",
+ "enableCloud": "Enable Cloud",
+ "expirationBannerExpiringSoon": "Expiration Banner Expiring Soon",
+ "retry": "Retry",
+ "embeddings": "Embeddings",
+ "errorCount": "Error Count",
+ "backupReasonManual": "Backup Reason Manual",
+ "safeSearchModerate": "Safe Search Moderate",
+ "activeLimiters": "Active Limiters",
+ "a2aCardTitle": "A2A Card Title",
+ "cloudWorkerUnreachable": "Cloud Worker Unreachable",
+ "testFailed": "Test Failed",
+ "compatibleBaseUrlHint": "Compatible Base Url Hint",
+ "usageTracking": "Usage Tracking",
+ "disableCloudTitle": "Disable Cloud Title",
+ "noConnections": "No Connections",
+ "providerHealth": "Provider Health",
+ "confirmDbImport": "Confirm Db Import",
+ "notAvailableSymbol": "Not Available Symbol",
+ "backupsAvailable": "Backups Available",
+ "providerAuto": "Provider Auto",
+ "newProviderNamePlaceholder": "New Provider Name Placeholder",
+ "a2aQuickStartStep2": "A2A Quick Start Step2",
+ "ok": "Ok",
+ "available": "Available",
+ "noBackupYet": "No Backup Yet",
+ "more": "More",
+ "noCompatibleYet": "No Compatible Yet",
+ "multiProvider": "Multi Provider",
+ "repairEnvHint": "Repair Env Hint",
+ "disablingCloud": "Disabling Cloud",
+ "testBench": "Test Bench",
+ "valid": "Valid",
+ "cloudBenefitShare": "Cloud Benefit Share",
+ "mcpCardTitle": "Mcp Card Title",
+ "disableConfirm": "Disable Confirm",
+ "filters": "Filters",
+ "expirationBannerExpiredDesc": "Expiration Banner Expired Desc",
+ "saveComboDefaults": "Save Combo Defaults",
+ "cloudConnectedVerified": "Cloud Connected Verified",
+ "uptime": "Uptime",
+ "compatibleProdPlaceholder": "Compatible Prod Placeholder",
+ "fallbackChainsTitle": "Fallback Chains Title",
+ "oauthLabel": "Oauth Label",
+ "a2aCardDescription": "A2A Card Description",
+ "okShort": "Ok Short",
+ "maintenance": "Maintenance",
+ "formatConverter": "Format Converter",
+ "zedImportNetworkError": "Zed Import Network Error",
+ "apiKeyLabel": "Api Key Label",
+ "noModelsForProvider": "No Models For Provider",
+ "mcpCardDescription": "Mcp Card Description",
+ "apiTypeLabel": "Api Type Label",
+ "configuredProvidersLabel": "Configured Providers Label",
+ "maxRetriesLabel": "Max Retries Label",
+ "title": "Title",
+ "output": "Output",
+ "prefixHint": "Prefix Hint",
+ "skipWizard": "Skip Wizard",
+ "failedCount": "Failed Count",
+ "confirmDbImportDesc": "Confirm Db Import Desc",
+ "entries": "Entries",
+ "until": "Until",
+ "disableCombo": "Disable Combo",
+ "liveMonitorDescriptionPrefix": "Live Monitor Description Prefix",
+ "runningCount": "Running Count",
+ "noActiveConnectionsInGroup": "No Active Connections In Group",
+ "savedSuccessfully": "Saved Successfully",
+ "systemStorage": "System Storage",
+ "videoDesc": "Video Desc",
+ "maxResults": "Max Results",
+ "timeRangeMonth": "Time Range Month",
+ "testSummary": "Test Summary",
+ "failedSetPassword": "Failed Set Password",
+ "audio": "Audio",
+ "restore": "Restore",
+ "disableWarning": "Disable Warning",
+ "moderationsDesc": "Moderations Desc",
+ "providerHealthStatusAria": "Provider Health Status Aria",
+ "modelNamePlaceholder": "Model Name Placeholder",
+ "mcpQuickStartStep2": "Mcp Quick Start Step2",
+ "quickStart": "Quick Start",
+ "fullExportFailedWithError": "Full Export Failed With Error",
+ "loadingBackups": "Loading Backups",
+ "anthropicBaseUrlPlaceholder": "Anthropic Base Url Placeholder",
+ "description": "Description",
+ "noProviderFound": "No Provider Found",
+ "auto": "Auto",
+ "protocolsDescription": "Protocols Description",
+ "cloudSessionNote": "Cloud Session Note",
+ "advancedSettings": "Advanced Settings",
+ "defaultStrategy": "Default Strategy",
+ "purgeExpiredLogs": "Purge Expired Logs",
+ "justNow": "Just Now",
+ "providerTestFailed": "Provider Test Failed",
+ "openaiBaseUrlPlaceholder": "Openai Base Url Placeholder",
+ "image": "Image",
+ "failedCreateChain": "Failed Create Chain",
+ "importDatabase": "Import Database",
+ "allDataLocal": "All Data Local",
+ "sectionTitle": "Section Title",
+ "failedToggle": "Failed Toggle",
+ "editCombo": "Edit Combo",
+ "testResults": "Test Results",
+ "searchQuery": "Search Query",
+ "addCcCompatible": "Add CC Compatible",
+ "duplicate": "Duplicate",
+ "createCombo": "Create Combo",
+ "searchTypeWeb": "Search Type Web",
+ "addChain": "Add Chain",
+ "prefixLabel": "Prefix Label",
+ "listModelsDesc": "List Models Desc",
+ "databaseSize": "Database Size",
+ "chainCreated": "Chain Created",
+ "providerTestTimeout": "Provider Test Timeout",
+ "routingStrategy": "Routing Strategy",
+ "translateAction": "Translate Action",
+ "exportFailed": "Export Failed",
+ "connectedVerificationPending": "Connected Verification Pending",
+ "a2aQuickStartTitle": "A2A Quick Start Title",
+ "couldNotTest": "Could Not Test",
+ "testAllCompatible": "Test All Compatible",
+ "anthropicCompatibleName": "Anthropic Compatible Name",
+ "disabling": "Disabling",
+ "failedEnable": "Failed Enable",
+ "categoryUtility": "Category Utility",
+ "customUrlOptional": "Custom Url Optional",
+ "localProviders": "Local Providers",
+ "comboNamePlaceholder": "Combo Name Placeholder",
+ "memoryRss": "Memory Rss",
+ "disableProvider": "Disable Provider",
+ "welcomeDesc": "Welcome Desc",
+ "nameLabel": "Name Label",
+ "allOperational": "All Operational",
+ "backupNow": "Backup Now",
+ "providerMaxRetriesAria": "Provider Max Retries Aria",
+ "textToSpeechDesc": "Text To Speech Desc",
+ "machineId": "Machine Id",
+ "globalProxy": "Global Proxy",
+ "hitsMisses": "Hits Misses",
+ "testDesc": "Test Desc",
+ "chatDesc": "Chat Desc",
+ "importSuccess": "Import Success",
+ "chat": "Chat",
+ "a2aQuickStartStep1": "A2A Quick Start Step1",
+ "importFailed": "Import Failed",
+ "inputPlaceholder": "Input Placeholder",
+ "providerModelsTitle": "Provider Models Title",
+ "lastBackup": "Last Backup",
+ "yourEndpoint": "Your Endpoint",
+ "autoDisableThresholdDesc": "Auto Disable Threshold Desc",
+ "rerankDesc": "Rerank Desc",
+ "modelsPathPlaceholder": "Models Path Placeholder",
+ "noCombosYet": "No Combos Yet",
+ "connectedVerificationPendingWithError": "Connected Verification Pending With Error",
+ "comboDefaultsGuideHint1": "Combo Defaults Guide Hint1",
+ "enableCloudTitle": "Enable Cloud Title",
+ "configuredProvidersHint": "Configured Providers Hint",
+ "paused": "Paused",
+ "llmProviders": "Llm Providers",
+ "enableCombo": "Enable Combo",
+ "removeProviderOverrideAria": "Remove Provider Override Aria",
+ "nodeVersion": "Node Version",
+ "openai": "Openai",
+ "exportFailedWithError": "Export Failed With Error",
+ "proxyConfigured": "Proxy Configured",
+ "concurrencyPerModel": "Concurrency Per Model",
+ "protocolTasksLabel": "Protocol Tasks Label",
+ "oauthProviders": "Oauth Providers",
+ "lockedCount": "Locked Count",
+ "deleteChainConfirm": "Delete Chain Confirm",
+ "recentTranslations": "Recent Translations",
+ "zedImportButton": "Zed Import Button",
+ "responsesDesc": "Responses Desc",
+ "testedCount": "Tested Count",
+ "providersCommaSeparatedPlaceholder": "Providers Comma Separated Placeholder",
+ "signatureDefaults": "Signature Defaults",
+ "errorCreating": "Error Creating",
+ "timeRangeYear": "Time Range Year",
+ "compatibleLabel": "Compatible",
+ "cloudDisabledSuccess": "Cloud Disabled Success",
+ "deleteConfirm": "Delete Confirm",
+ "check": "Check",
+ "safeSearch": "Safe Search",
+ "protocolLastActivity": "Protocol Last Activity",
+ "openMcpDashboard": "Open Mcp Dashboard",
+ "testBenchTab": "Test Bench",
+ "chatPathLabel": "Chat Path Label",
+ "retryDelay": "Retry Delay",
+ "errorUpdating": "Error Updating",
+ "ideCliIntegrations": "Ide Cli Integrations",
+ "imageGeneration": "Image Generation",
+ "apiKeyRequired": "Api Key Required",
+ "resetAllTitle": "Reset All Title",
+ "connectionError": "Connection Error",
+ "modelName": "Model Name",
+ "apiKeyForCheck": "Api Key For Check",
+ "cloudRequestTimeout": "Cloud Request Timeout",
+ "showConfiguredOnly": "Show Configured Only",
+ "includeDomains": "Include Domains",
+ "promptCache": "Prompt Cache",
+ "cloudConnected": "Cloud Connected",
+ "deleteChain": "Delete Chain",
+ "chatPathPlaceholder": "Chat Path Placeholder",
+ "databasePath": "Database Path",
+ "usingLocalServer": "Using Local Server",
+ "globalComboConfig": "Global Combo Config",
+ "backupFailed": "Backup Failed",
+ "tabProtocols": "Tab Protocols",
+ "continue": "Continue",
+ "categorySearch": "Category Search",
+ "rateLimitStatus": "Rate Limit Status",
+ "repairEnvSuccess": "Repair Env Success",
+ "nameRequired": "Name Required",
+ "country": "Country",
+ "trackMetricsDesc": "Track Metrics Desc",
+ "durationSecondsShort": "Duration Seconds Short",
+ "formatConverterDescription": "Format Converter Description",
+ "cloudBenefitAccess": "Cloud Benefit Access",
+ "maxRetries": "Max Retries",
+ "queueTimeout": "Queue Timeout",
+ "addProvider": "Add Provider",
+ "realtime": "Realtime",
+ "totalTranslations": "Total Translations",
+ "protocolActiveStreamsLabel": "Protocol Active Streams Label",
+ "repairEnv": "Repair Env",
+ "modelsCount": "Models Count",
+ "viewBackups": "View Backups",
+ "responsesApi": "Responses Api",
+ "copyComboName": "Copy Combo Name",
+ "failures": "Failures",
+ "failedUpdate": "Failed Update",
+ "imageDesc": "Image Desc",
+ "failedCreate": "Failed Create",
+ "remainingOfLimit": "Remaining Of Limit",
+ "protocolsTitle": "Protocols Title",
+ "expirationBannerExpiringSoonDesc": "Expiration Banner Expiring Soon Desc",
+ "source": "Source",
+ "failed": "Failed",
+ "apiKeyMgmt": "Api Key Mgmt",
+ "mcpQuickStartStep1": "Mcp Quick Start Step1",
+ "runTest": "Run Test",
+ "loadingFallbackChains": "Loading Fallback Chains",
+ "healthy": "Healthy",
+ "version": "Version",
+ "saveBlockWeighted": "Save Block Weighted",
+ "zedImportNone": "Zed Import None",
+ "noBackupsYet": "No Backups Yet",
+ "noGlobalProxy": "No Global Proxy",
+ "noModels": "No Models",
+ "stickyLimit": "Sticky Limit",
+ "passedCount": "Passed Count",
+ "zedImportFailed": "Zed Import Failed",
+ "saving": "Saving",
+ "testAll": "Test All",
+ "globalProxyDesc": "Global Proxy Desc",
+ "latencyP99": "Latency P99",
+ "connectingToCloud": "Connecting To Cloud",
+ "responses": "Responses",
+ "errorDeleting": "Error Deleting",
+ "openaiPrefixPlaceholder": "Openai Prefix Placeholder",
+ "enterPassword": "Enter Password",
+ "openA2aDashboard": "Open A2A Dashboard",
+ "enableProvider": "Enable Provider",
+ "modeTest": "Mode Test",
+ "failedDeleteChain": "Failed Delete Chain",
+ "providerDesc": "Provider Desc",
+ "templateLoadHint": "Template Load Hint",
+ "lastFailure": "Last Failure",
+ "moveDown": "Move Down",
+ "providerLabel": "Provider Label",
+ "clearCacheFailed": "Clear Cache Failed",
+ "imagesGenerations": "Images Generations",
+ "repairEnvWorking": "Repair Env Working",
+ "millisecondsShort": "Milliseconds Short",
+ "globalLabel": "Global Label",
+ "failuresPlural": "Failures Plural",
+ "completionsLegacyDesc": "Completions Legacy Desc",
+ "searchProviders": "Search Providers",
+ "chatPathHint": "Chat Path Hint",
+ "defaultStrategyDesc": "Default Strategy Desc",
+ "latencyP95": "Latency P95",
+ "textToSpeech": "Text To Speech",
+ "searchType": "Search Type",
+ "messages": "Messages",
+ "aggregatorsGateways": "Aggregators Gateways",
+ "comboStrategyAria": "Combo Strategy Aria",
+ "input": "Input",
+ "testingConnection": "Testing Connection",
+ "excludeDomains": "Exclude Domains",
+ "webCookieProviders": "Web Cookie Providers",
+ "allTestsPassed": "All Tests Passed",
+ "openaiCompatibleName": "Openai Compatible Name",
+ "warningCostOptimizedPartialPricing": "Warning Cost Optimized Partial Pricing",
+ "comboDefaultsGuideTitle": "Combo Defaults Guide Title",
+ "hoursAgo": "Hours Ago",
+ "notAvailable": "Not Available",
+ "skipAndContinue": "Skip And Continue",
+ "moderations": "Moderations",
+ "proxyConfig": "Proxy Config",
+ "upstreamProxyProviders": "Upstream Proxy Providers",
+ "exportAll": "Export All",
+ "queuedCount": "Queued Count",
+ "resetAll": "Reset All",
+ "noTranslations": "No Translations",
+ "avgLatency": "Avg Latency",
+ "throttleStatus": "Throttle Status",
+ "backupRetentionDesc": "Backup Retention Desc",
+ "noCBData": "No Cb Data",
+ "chainDeleted": "Chain Deleted",
+ "timeLeft": "Time Left",
+ "expirationBannerExpired": "Expiration Banner Expired",
+ "language": "Language",
+ "invalidFileType": "Invalid File Type",
+ "monitoredProviders": "Monitored Providers",
+ "errors": "Errors",
+ "heap": "Heap",
+ "chatCompletions": "Chat Completions",
+ "exampleTemplatesHint": "Example Templates Hint",
+ "retryDelayLabel": "Retry Delay Label",
+ "audioTranscription": "Audio Transcription",
+ "fallbackChainsDesc": "Fallback Chains Desc",
+ "exampleTemplates": "Example Templates",
+ "connectionsCount": "Connections Count",
+ "modelsPathLabel": "Models Path Label",
+ "activeProvidersHint": "Active Providers Hint",
+ "activeLockouts": "Active Lockouts",
+ "invalid": "Invalid",
+ "skipPassword": "Skip Password",
+ "moveUp": "Move Up",
+ "timeRange": "Time Range",
+ "stickyLimitDesc": "Sticky Limit Desc",
+ "cloudBenefitEdge": "Cloud Benefit Edge",
+ "custom": "Custom",
+ "verifying": "Verifying",
+ "baseUrlLabel": "Base Url Label",
+ "setPassword": "Set Password",
+ "safeSearchStrict": "Safe Search Strict",
+ "noChangesSinceBackup": "No Changes Since Backup",
+ "modelsPathHint": "Models Path Hint",
+ "audioTranscriptions": "Audio Transcriptions",
+ "testCombo": "Test Combo",
+ "mcpQuickStartTitle": "Mcp Quick Start Title",
+ "comboUpdated": "Combo Updated",
+ "weighted": "Weighted",
+ "providers": "Providers",
+ "ccCompatibleLabel": "CC Compatible",
+ "noFallbackChainsDesc": "No Fallback Chains Desc",
+ "yesImport": "Yes Import",
+ "lockoutsAutoRefreshHint": "Lockouts Auto Refresh Hint",
+ "tabApis": "Tab Apis",
+ "sectionDescription": "Section Description",
+ "filter": "Filter",
+ "purgeLogsFailed": "Purge Logs Failed",
+ "latency": "Latency",
+ "testAllOAuth": "Test All O Auth",
+ "mcpQuickStartStep3": "Mcp Quick Start Step3",
+ "repairEnvFailed": "Repair Env Failed",
+ "zedImportHint": "Zed Import Hint",
+ "modelsAcrossEndpoints": "Models Across Endpoints",
+ "autoDisableBannedAccounts": "Auto Disable Banned Accounts",
+ "securityDesc": "Security Desc",
+ "listModels": "List Models",
+ "backupRestore": "Backup Restore",
+ "target": "Target",
+ "zedImportSuccess": "Zed Import Success",
+ "lastHeaderUpdate": "Last Header Update",
+ "categoryCore": "Category Core",
+ "noFallbackChains": "No Fallback Chains",
+ "noSearchProviders": "No Search Providers",
+ "autoBalance": "Auto Balance",
+ "noModelsYet": "No Models Yet",
+ "signatureFamily": "Signature Family",
+ "externalApiCalls": "External Api Calls",
+ "providerOverridesDesc": "Provider Overrides Desc",
+ "signatureTool": "Signature Tool",
+ "connectionFailed": "Connection Failed",
+ "activeLimitersPlural": "Active Limiters Plural",
+ "doneDesc": "Done Desc",
+ "down": "Down",
+ "noDataYet": "No Data Yet",
+ "activeProviders": "Active Providers",
+ "nameInvalid": "Name Invalid",
+ "skip": "Skip",
+ "createChain": "Create Chain",
+ "audioSpeech": "Audio Speech",
+ "cacheCleared": "Cache Cleared",
+ "searchTypeNews": "Search Type News",
+ "durationMillisecondsShort": "Duration Milliseconds Short",
+ "addOpenAICompatible": "Add Open Ai Compatible",
+ "chatTesterTab": "Chat Tester",
+ "queued": "Queued",
+ "domainPlaceholder": "Domain Placeholder",
+ "durationMinutesShort": "Duration Minutes Short",
+ "verifyingConnection": "Verifying Connection",
+ "imageProviders": "Image Providers",
+ "protocolToolsLabel": "Protocol Tools Label",
+ "queryPlaceholder": "Query Placeholder",
+ "videoGeneration": "Video Generation",
+ "timeRangeWeek": "Time Range Week",
+ "limitExhausted": "Limit Exhausted",
+ "failedDisable": "Failed Disable",
+ "inMemoryNote": "In Memory Note",
+ "compatibleHint": "Compatible Hint",
+ "errorShort": "Error Short",
+ "advancedHint": "Advanced Hint",
+ "restoreFailed": "Restore Failed",
+ "searchProvidersHeading": "Search Providers Heading",
+ "comboName": "Combo Name",
+ "autoDisableDescription": "Auto Disable Description",
+ "embeddingsDesc": "Embeddings Desc",
+ "operational": "Operational",
+ "testAllApiKey": "Test All Api Key",
+ "backupCreated": "Backup Created",
+ "errorDuringImport": "Error During Import",
+ "comboDefaultsGuideHint2": "Combo Defaults Guide Hint2",
+ "connecting": "Connecting",
+ "fillModelAndProviders": "Fill Model And Providers",
+ "syncing": "Syncing",
+ "resetConfirm": "Reset Confirm",
+ "trackMetrics": "Track Metrics",
+ "successful": "Successful",
+ "recovering": "Recovering",
+ "autoDisableThreshold": "Auto Disable Threshold",
+ "anthropic": "Anthropic",
+ "syncingData": "Syncing Data",
+ "cloudBenefitPorts": "Cloud Benefit Ports",
+ "compatibleProviders": "Compatible Providers",
+ "clearCache": "Clear Cache",
+ "reqs": "Reqs",
+ "addAnthropicCompatible": "Add Anthropic Compatible",
+ "apiKeyProviders": "Api Key Providers",
+ "tabsAria": "Tabs Aria",
+ "resetting": "Resetting",
+ "millisecondsAbbr": "Milliseconds Abbr",
+ "backupReasonPreRestore": "Backup Reason Pre Restore",
+ "disableCloud": "Disable Cloud",
+ "newProviderNameAria": "New Provider Name Aria",
+ "passwordsMismatch": "Passwords Mismatch",
+ "a2aQuickStartStep3": "A2A Quick Start Step3",
+ "liveMonitorDescriptionSuffix": "Live Monitor Description Suffix",
+ "failedAddProvider": "Failed Add Provider",
+ "addAtLeastOneProvider": "Add At Least One Provider",
+ "reasonSeparator": "Reason Separator",
+ "zedImporting": "Zed Importing",
+ "confirmPasswordPlaceholder": "Confirm Password Placeholder",
+ "whatYouGet": "What You Get",
+ "signatureSession": "Signature Session",
+ "errorCountNoCode": "Error Count No Code",
+ "testing": "Testing",
+ "providersCommaSeparated": "Providers Comma Separated",
+ "exportDatabase": "Export Database",
+ "hitRate": "Hit Rate",
+ "completionsLegacy": "Completions Legacy",
+ "removeModel": "Remove Model",
+ "timeRangeDay": "Time Range Day",
+ "cloudRequestFailed": "Cloud Request Failed",
+ "updatedAt": "Updated At",
+ "monitoredProvidersHint": "Monitored Providers Hint",
+ "connectionSuccessful": "Connection Successful",
+ "latencyP50": "Latency P50",
+ "logsDeleted": "Logs Deleted",
+ "chatTester": "Chat Tester",
+ "safeSearchOff": "Safe Search Off",
+ "nameHint": "Name Hint",
+ "debugToggle": "Debug Toggle",
+ "embedding": "Embedding",
+ "issuesLabel": "Issues Label",
+ "optionAny": "Option Any",
+ "maxNestingDepth": "Max Nesting Depth",
+ "rerank": "Rerank",
+ "checking": "Checking",
+ "getStarted": "Get Started",
+ "restoreSuccess": "Restore Success",
+ "issuesDetected": "Issues Detected",
+ "signatureCache": "Signature Cache",
+ "modelLockouts": "Model Lockouts",
+ "usingCloudProxy": "Using Cloud Proxy",
+ "loadingHealth": "Loading Health",
+ "providerOverrides": "Provider Overrides",
+ "audioTranscriptionDesc": "Audio Transcription Desc",
+ "learnedFromHeaders": "Learned From Headers",
+ "totalRequests": "Total Requests",
+ "cloudUnstableNote": "Cloud Unstable Note"
+ },
+ "sidebar": {
+ "home": "Home",
+ "dashboard": "Dashboard",
+ "providers": "Providers",
+ "combos": "Combos",
+ "usage": "Usage",
+ "analytics": "Analytics",
+ "costs": "Costs",
+ "health": "Health",
+ "proxy": "Proxy",
+ "limits": "Limits & Quotas",
+ "cliTools": "CLI Tools",
+ "media": "Media",
+ "settings": "Settings",
+ "translator": "Translator",
+ "playground": "Playground",
+ "searchTools": "Search Tools",
+ "agents": "Agents",
+ "cloudAgents": "Cloud Agents",
+ "memory": "Memory",
+ "skills": "Skills",
+ "docs": "Docs",
+ "issues": "Issues",
+ "endpoints": "Endpoints",
+ "apiManager": "API Manager",
+ "logs": "Logs",
+ "webhooks": "Webhooks",
+ "auditLog": "Audit Log",
+ "shutdown": "Shutdown",
+ "restart": "Restart",
+ "shutdownConfirm": "Shut down OmniRoute?",
+ "restartConfirm": "Restart OmniRoute?",
+ "version": "v{version}",
+ "debug": "Debug",
+ "system": "System",
+ "help": "Help",
+ "primarySection": "Main",
+ "cliSection": "CLI",
+ "debugSection": "Debug",
+ "systemSection": "System",
+ "helpSection": "Help",
+ "serverDisconnected": "Server Disconnected",
+ "serverDisconnectedMsg": "The proxy server has been stopped or is restarting.",
+ "expandSidebar": "Expand sidebar",
+ "collapseSidebar": "Collapse sidebar",
+ "themes": "Themes",
+ "presetColors": "Popular colors",
+ "createTheme": "Create theme",
+ "chooseColor": "Pick one color",
+ "themeCoral": "Coral",
+ "themeBlue": "Blue",
+ "themeRed": "Red",
+ "themeGreen": "Green",
+ "themeViolet": "Violet",
+ "themeOrange": "Orange",
+ "themeCyan": "Cyan",
+ "cliToolsShort": "Tools",
+ "cache": "Cache",
+ "cacheShort": "Cache",
+ "batch": "Batch Jobs",
+ "themeSystem": "Theme System",
+ "whitelabelingDesc": "Whitelabeling Desc",
+ "switchThemes": "Switch Themes",
+ "themeAccentDesc": "Theme Accent Desc",
+ "uploadFavicon": "Upload Favicon",
+ "themeDark": "Theme Dark",
+ "customLogoDesc": "Custom Logo Desc",
+ "sidebarVisibilityToggle": "Sidebar Visibility Toggle",
+ "themeAccent": "Theme Accent",
+ "resetFavicon": "Reset Favicon",
+ "whitelabeling": "Whitelabeling",
+ "darkMode": "Dark Mode",
+ "uploadLogo": "Upload Logo",
+ "themeLight": "Theme Light",
+ "appName": "App Name",
+ "appNameDesc": "App Name Desc",
+ "resetLogo": "Reset Logo",
+ "customFavicon": "Custom Favicon",
+ "hideHealthLogs": "Hide Health Logs",
+ "customLogo": "Custom Logo",
+ "appearance": "Appearance",
+ "themeSelectionAria": "Theme Selection Aria",
+ "themeCreate": "Theme Create",
+ "customFaviconDesc": "Custom Favicon Desc",
+ "logoPreview": "Logo Preview",
+ "themeCustom": "Theme Custom",
+ "hideHealthLogsDesc": "Hide Health Logs Desc",
+ "faviconPreview": "Favicon Preview",
+ "changelog": "Changelog",
+ "contextSection": "Context & Cache",
+ "contextCaveman": "Caveman",
+ "contextRtk": "RTK",
+ "contextCombos": "Compression Combos"
+ },
+ "webhooks": {
+ "title": "Webhooks",
+ "description": "Configure HTTP callbacks for system events.",
+ "configuredWebhooks": "Configured Webhooks",
+ "configuredWebhooksDesc": "Manage delivery endpoints, subscribed events, status, and test sends.",
+ "addWebhook": "Add Webhook",
+ "editWebhook": "Edit Webhook",
+ "name": "Name",
+ "namePlaceholder": "Production monitoring",
+ "unnamedWebhook": "Unnamed webhook",
+ "url": "Endpoint URL",
+ "events": "Events",
+ "allEvents": "All events",
+ "secret": "Secret",
+ "secretPlaceholder": "Leave blank to auto-generate a secret",
+ "secretEditPlaceholder": "Leave blank to keep the current secret",
+ "status": "Status",
+ "active": "Active",
+ "inactive": "Inactive",
+ "errored": "Errored",
+ "total": "Total",
+ "lastTriggered": "Last Triggered",
+ "actions": "Actions",
+ "enabled": "Enabled",
+ "enabledDesc": "Disabled webhooks remain saved but do not receive deliveries.",
+ "refresh": "Refresh",
+ "loading": "Loading webhooks...",
+ "never": "Never",
+ "failureCount": "{count, plural, =0 {no failures} one {# failure} other {# failures}}",
+ "testWebhook": "Send Test",
+ "testSuccess": "Test webhook sent successfully.",
+ "testFailed": "Test webhook failed.",
+ "saveSuccess": "Webhook saved successfully.",
+ "saveFailed": "Failed to save webhook.",
+ "loadFailed": "Failed to load webhooks.",
+ "delete": "Delete",
+ "deleteConfirm": "Are you sure you want to delete this webhook?",
+ "deleteSuccess": "Webhook deleted successfully.",
+ "deleteFailed": "Failed to delete webhook.",
+ "edit": "Edit",
+ "enable": "Enable",
+ "disable": "Disable",
+ "noWebhooks": "No webhooks configured yet.",
+ "signatureTitle": "Webhook Signatures",
+ "signatureDescription": "Each delivery includes an X-Webhook-Signature header signed with HMAC-SHA256 using the webhook secret. Verify the signature before trusting the payload."
+ },
+ "compliance": {
+ "auditTitle": "Audit",
+ "auditDescription": "Review compliance events and MCP tool calls from one operational view.",
+ "complianceTab": "Compliance",
+ "mcpTab": "MCP Audit",
+ "title": "Compliance Audit",
+ "description": "Policy, access, provider, and security events recorded by the compliance audit log.",
+ "eventType": "Event Type",
+ "eventTypePlaceholder": "Filter by action or event type",
+ "severity": "Severity",
+ "allSeverities": "All severities",
+ "info": "Info",
+ "warning": "Warning",
+ "critical": "Critical",
+ "sourceIp": "Source IP",
+ "userOrKey": "User / Key",
+ "action": "Action",
+ "result": "Result",
+ "details": "Details",
+ "timestamp": "Timestamp",
+ "from": "From",
+ "to": "To",
+ "refresh": "Refresh",
+ "export": "Export",
+ "clearFilters": "Clear filters",
+ "loading": "Loading audit events...",
+ "showing": "Showing {count} of {total} events",
+ "policyViolation": "Policy Violation",
+ "accessDenied": "Access Denied",
+ "injectionBlocked": "Injection Blocked",
+ "noEvents": "No compliance events recorded.",
+ "failedFetch": "Failed to fetch compliance audit log.",
+ "viewDetails": "View details",
+ "closeDetails": "Close details",
+ "notAvailable": "—",
+ "system": "system",
+ "previous": "Previous",
+ "next": "Next",
+ "mcpAudit": "MCP Audit",
+ "mcpAuditDesc": "Tool call audit entries recorded by the MCP server.",
+ "failedFetchMcpAudit": "Failed to fetch MCP audit log.",
+ "tool": "Tool",
+ "toolPlaceholder": "Filter by tool name",
+ "duration": "Duration",
+ "apiKey": "API Key",
+ "output": "Output",
+ "allResults": "All results",
+ "success": "Success",
+ "failure": "Failure",
+ "noMcpEvents": "No MCP audit events recorded."
+ },
+ "themesPage": {
+ "title": "Themes",
+ "description": "Choose a preset theme or create your own with a single color",
+ "presetColors": "Popular colors",
+ "customTheme": "Custom theme",
+ "customThemeDesc": "Click create theme and pick one color",
+ "createTheme": "Create theme",
+ "activePreset": "Active theme"
+ },
+ "header": {
+ "logout": "Logout",
+ "language": "Language",
+ "providers": "Providers",
+ "providerDescription": "Manage your AI provider connections",
+ "combos": "Combos",
+ "comboDescription": "Model combos with fallback",
+ "usage": "Usage & Analytics",
+ "usageDescription": "Monitor your API usage, token consumption, and request logs",
+ "analytics": "Analytics",
+ "analyticsDescription": "Charts, trends, and evaluation insights",
+ "cliTools": "CLI Tools",
+ "cliToolsDescription": "Configure CLI tools",
+ "home": "Home",
+ "homeDescription": "Welcome to OmniRoute",
+ "endpoint": "Endpoints",
+ "endpointDescription": "Manage proxy endpoints, MCP, A2A, and API endpoints",
+ "mcp": "MCP",
+ "mcpDescription": "Model Context Protocol server management and tools",
+ "a2a": "A2A",
+ "a2aDescription": "Agent-to-Agent protocol tasks and observability",
+ "settings": "Settings",
+ "settingsDescription": "Manage your preferences",
+ "openaiCompatible": "OpenAI Compatible",
+ "anthropicCompatible": "Anthropic Compatible",
+ "media": "Media",
+ "mediaDescription": "Generate images, videos, and music",
+ "themes": "Themes",
+ "themesDescription": "Choose a color theme for the whole dashboard panel"
+ },
+ "home": {
+ "quickStart": "Quick Start",
+ "quickStartDesc": "Get up and running in 4 steps. Connect providers, route models, monitor everything.",
+ "fullDocs": "Full Docs",
+ "step1Title": "1. Create API key",
+ "step1Desc": "Go to <endpoint>Endpoint</endpoint> -> Registered Keys. Generate one key per environment.",
+ "step2Title": "2. Connect providers",
+ "step2Desc": "Add accounts in <providers>Providers</providers>. Supports OAuth, API Key, and free tiers.",
+ "step3Title": "3. Point your client",
+ "step3Desc": "Set base URL to {url} in your IDE or API client.",
+ "step4Title": "4. Monitor & optimize",
+ "step4Desc": "Track tokens, cost and errors in <logs>Request Logs</logs> and <analytics>Analytics</analytics>.",
+ "providersOverview": "Providers Overview",
+ "configuredOf": "{configured} configured of {total} available providers",
+ "noModelsAvailable": "No models available for this provider.",
+ "configureFirst": "Configure a connection first in {providers}",
+ "configureProvider": "Configure Provider",
+ "modelAvailable": "{count} model available",
+ "modelsAvailable": "{count} models available",
+ "connectionsActive": "{count} connection active",
+ "connectionsActivePlural": "{count} connections active",
+ "copyModelName": "Copy model name",
+ "documentation": "Documentation",
+ "healthMonitor": "Health Monitor",
+ "reportIssue": "Report issue",
+ "activeError": "{active} active · {errors} error",
+ "oauthLabel": "OAuth",
+ "apiKeyLabel": "API Key",
+ "requestsShort": "{count} reqs",
+ "providerModelsTitle": "{provider} - Models",
+ "copiedModel": "Copied: {model}",
+ "aliasLabel": "alias",
+ "updateNow": "Update Now",
+ "updating": "Updating...",
+ "updateAvailableDesc": "A new version is available. Click to update.",
+ "updateStarted": "Update started..."
+ },
+ "analytics": {
+ "title": "Analytics",
+ "overviewDescription": "Monitor your API usage patterns, token consumption, costs, and activity trends across all providers and models.",
+ "evalsDescription": "Run evaluation suites to test and validate your LLM endpoints. Compare model quality, detect regressions, and benchmark latency.",
+ "overview": "Overview",
+ "evals": "Evals",
+ "utilization": "Utilization",
+ "utilizationDescription": "Provider quota usage trends and rate limit tracking",
+ "modelStatus": "Model Status",
+ "modelStatusCooldown": "Cooldown",
+ "modelStatusUnavailable": "Unavailable",
+ "modelStatusError": "Error",
+ "comboHealth": "Combo Health",
+ "comboHealthDescription": "Combo-level quota, usage distribution, and performance metrics",
+ "compressionAnalyticsTitle": "Compression Analytics",
+ "compressionAnalyticsDescription": "Compression analytics — token savings, mode breakdown, and provider stats."
+ },
+ "apiManager": {
+ "title": "API Keys",
+ "createKey": "Create API Key",
+ "key": "Key",
+ "revokeKey": "Revoke Key",
+ "revokeConfirm": "Are you sure you want to revoke this API key?",
+ "noKeys": "No API keys yet",
+ "noKeysDesc": "Create your first API key to authenticate requests to your endpoint",
+ "keyLabel": "Key Label",
+ "permissions": "Permissions",
+ "expiresAt": "Expires",
+ "never": "Never",
+ "revoke": "Revoke",
+ "showKey": "Show Key",
+ "hideKey": "Hide Key",
+ "copyKey": "Copy API Key",
+ "allModels": "All models",
+ "selectedModels": "Selected Models",
+ "readOnly": "Read Only",
+ "fullAccess": "Full Access",
+ "keyManagement": "API Key Management",
+ "keyManagementDesc": "Create and manage API keys for authenticating requests to your endpoint",
+ "totalKeys": "Total Keys",
+ "restricted": "Restricted",
+ "totalRequests": "Total Requests",
+ "modelsAvailable": "Models Available",
+ "registeredKeys": "Registered Keys",
+ "keysRegistered": "{count} keys registered",
+ "keyRegistered": "{count} key registered",
+ "keysSecurityNote": "Each key isolates usage tracking and can be revoked independently. Keys are masked after creation for security.",
+ "createFirstKey": "Create Your First Key",
+ "name": "Name",
+ "usage": "Usage",
+ "created": "Created",
+ "actions": "Actions",
+ "reqs": "reqs",
+ "neverUsed": "Never used",
+ "deleteConfirm": "Delete this API key?",
+ "usageTips": "Usage Tips",
+ "tipAuth": "Use API keys in the Authorization header as Bearer YOUR_KEY",
+ "tipSecure": "Keys are only shown once during creation — store them securely",
+ "tipSeparate": "Create separate keys for different clients or environments",
+ "tipRestrict": "Restrict keys to specific models for better security and cost control",
+ "keyName": "Key Name",
+ "keyNamePlaceholder": "e.g. Production Key",
+ "keyNameDesc": "Choose a descriptive name to identify this key's purpose",
+ "keyCreated": "API Key Created",
+ "keyCreatedSuccess": "Key created successfully!",
+ "keyCreatedNote": "Copy and store this key now — it won't be shown again.",
+ "done": "Done",
+ "savePermissions": "Save Permissions",
+ "autoResolve": "Auto-Resolve",
+ "autoResolveDesc": "Auto-resolve ambiguous model names to native provider for this API key.",
+ "keyActive": "Key Active",
+ "keyActiveDesc": "Enable or disable this API key. Disabled keys are immediately rejected with 403.",
+ "accessSchedule": "Access Schedule",
+ "accessScheduleDesc": "Restrict access to specific hours and days of the week.",
+ "scheduleFrom": "From",
+ "scheduleUntil": "Until",
+ "scheduleDays": "Days",
+ "scheduleTimezone": "Timezone",
+ "scheduleTimezoneHint": "Use IANA timezone names, e.g. America/New_York, Europe/Berlin",
+ "scheduleActive": "Schedule",
+ "disabled": "Disabled",
+ "daySun": "Sun",
+ "dayMon": "Mon",
+ "dayTue": "Tue",
+ "dayWed": "Wed",
+ "dayThu": "Thu",
+ "dayFri": "Fri",
+ "daySat": "Sat",
+ "allowAll": "Allow All",
+ "restrict": "Restrict",
+ "allowAllInfo": "This key can access all available models.",
+ "restrictInfo": "This key can access {selected} of {total} models.",
+ "selected": "{count} selected",
+ "all": "All",
+ "clear": "Clear",
+ "searchModels": "Search models by name or provider...",
+ "noModelsFound": "No models found",
+ "keyNameRequired": "Key name is required",
+ "keyNameTooLong": "Key name must be {max} characters or less",
+ "keyNameInvalid": "Key name can only contain letters, numbers, spaces, hyphens, and underscores",
+ "invalidKeyName": "Invalid key name",
+ "failedCreateKey": "Failed to create key",
+ "failedCreateKeyRetry": "Failed to create key. Please try again.",
+ "invalidKeyId": "Invalid key ID",
+ "failedDeleteKey": "Failed to delete key",
+ "failedDeleteKeyRetry": "Failed to delete key. Please try again.",
+ "invalidModelsSelection": "Invalid models selection",
+ "cannotSelectMoreThanModels": "Cannot select more than {max} models",
+ "failedUpdatePermissions": "Failed to update permissions",
+ "failedUpdatePermissionsRetry": "Failed to update permissions. Please try again.",
+ "unknownProvider": "unknown",
+ "copyMaskedKey": "Copy masked key",
+ "keyOnlyAvailableAtCreation": "Full key available only at creation time — copy it when you first create the key",
+ "modelsCount": "{count, plural, one {# model} other {# models}}",
+ "lastUsedOn": "Last: {date}",
+ "editPermissions": "Edit permissions",
+ "deleteKey": "Delete key",
+ "regenerateKey": "Regenerate key",
+ "regenerateConfirm": "Are you sure you want to regenerate this API key? The old key will be immediately invalidated.",
+ "failedRegenerateKey": "Failed to regenerate API key",
+ "failedRegenerateKeyRetry": "Failed to regenerate API key. Please try again.",
+ "model": "{count} model",
+ "models": "{count} models",
+ "permissionsTitle": "Permissions: {name}",
+ "allowAllDesc": "This key can access all available models.",
+ "restrictDesc": "This key can access {selectedCount} of {totalModels} models.",
+ "selectedCount": "{count} selected"
+ },
+ "auditLog": {
+ "title": "Audit Log",
+ "searchPlaceholder": "Search actions...",
+ "action": "Action",
+ "actor": "Actor",
+ "target": "Target",
+ "ipAddress": "IP Address",
+ "timestamp": "Timestamp",
+ "noEntries": "No audit entries found",
+ "filterByAction": "Filter by action...",
+ "filterByActor": "Filter by actor...",
+ "filterEntriesAria": "Filter audit log entries",
+ "filterByActionTypeAria": "Filter by action type",
+ "filterByActorAria": "Filter by actor",
+ "refreshAuditLogAria": "Refresh audit log",
+ "tableAria": "Audit log entries",
+ "failedFetchAuditLog": "Failed to fetch audit log",
+ "notAvailable": "—",
+ "description": "Administrative actions and security events",
+ "showing": "Showing {count} entries (offset {offset})",
+ "previous": "Previous"
+ },
+ "media": {
+ "title": "Media Playground",
+ "subtitle": "Generate images, videos, and music",
+ "model": "Model",
+ "prompt": "Prompt",
+ "generate": "Generate",
+ "generating": "Generating...",
+ "loadingModels": "Loading available models...",
+ "noModels": "No models available. Configure providers with media capabilities first.",
+ "error": "Generation Failed",
+ "result": "Result",
+ "imageDescription": "Generate images from text prompts using OpenAI, xAI, Together, Hyperbolic, SD WebUI, ComfyUI and more.",
+ "videoDescription": "Create videos with AnimateDiff, Stable Video Diffusion via ComfyUI or SD WebUI.",
+ "musicDescription": "Compose music using Stable Audio Open or MusicGen via ComfyUI."
+ },
+ "search": {
+ "searchQuery": "Search Query",
+ "searchResults": "Search Results",
+ "cachedResult": "Cached",
+ "searchCost": "Cost",
+ "searchTools": "Search Tools",
+ "searchToolsDesc": "Advanced search testing with provider comparison",
+ "compareProviders": "Compare Providers",
+ "rerankResults": "Rerank Results",
+ "searchHistory": "Search History",
+ "urlOverlap": "URL Overlap",
+ "noSearchProviders": "No search providers configured. Add providers in Settings.",
+ "noRerankModels": "No rerank model available",
+ "webSearch": "Web Search",
+ "provider": "Provider",
+ "searchType": "Search Type",
+ "maxResults": "Max Results",
+ "filters": "Filters",
+ "country": "Country",
+ "language": "Language",
+ "timeRange": "Time Range",
+ "includeDomains": "Include Domains",
+ "excludeDomains": "Exclude Domains",
+ "safeSearch": "Safe Search",
+ "safeSearchOff": "Off",
+ "safeSearchModerate": "Moderate",
+ "safeSearchStrict": "Strict",
+ "queryPlaceholder": "Enter search query...",
+ "providerAuto": "auto (cheapest)",
+ "searchTypeWeb": "web",
+ "searchTypeNews": "news",
+ "optionAny": "any",
+ "timeRangeDay": "Past day",
+ "timeRangeWeek": "Past week",
+ "timeRangeMonth": "Past month",
+ "timeRangeYear": "Past year",
+ "domainPlaceholder": "example.com",
+ "requestTimedOut": "Request timed out ({seconds}s)",
+ "networkError": "Network error",
+ "formatted": "Formatted",
+ "rawJson": "JSON",
+ "cacheMiss": "cache miss",
+ "cacheHit": "cache hit",
+ "latency": "Latency",
+ "cost": "Cost",
+ "results": "Results",
+ "rerank": "Rerank",
+ "rerankModel": "Rerank Model",
+ "positionDelta": "Position Change",
+ "emptyState": "Send a search query to see results"
+ },
+ "cliTools": {
+ "title": "CLI Tools",
+ "noActiveProviders": "No active providers",
+ "noActiveProvidersDesc": "Please add and connect providers first to configure CLI tools.",
+ "mapModels": "Map Models",
+ "testConnection": "Test Connection",
+ "connectionStatus": "Connection Status",
+ "configureEndpoint": "Configure Endpoint",
+ "instructions": "Instructions",
+ "modelMapping": "Model Mapping",
+ "baseUrl": "Base URL",
+ "apiKey": "API Key",
+ "configured": "Configured",
+ "notConfigured": "Not configured",
+ "notInstalled": "Not installed",
+ "custom": "Custom",
+ "unknown": "Unknown",
+ "lastSavedAt": "Last saved: {date}",
+ "never": "Never",
+ "justNow": "just now",
+ "minutesAgoShort": "{count}m ago",
+ "hoursAgoShort": "{count}h ago",
+ "daysAgoShort": "{count}d ago",
+ "monthsAgoShort": "{count}mo ago",
+ "yearsAgoShort": "{count}y ago",
+ "runtimeCheckFailed": "Runtime check failed",
+ "yourApiKeyPlaceholder": "your-api-key",
+ "modelPlaceholder": "provider/model-id",
+ "configurationSaved": "Configuration saved successfully.",
+ "failedToSave": "Failed to save configuration.",
+ "noApiKeysCreateOne": "No API keys - Create one in Keys page",
+ "defaultOmnirouteKey": "sk_omniroute (default)",
+ "selectModel": "Select Model",
+ "selectModelForAlias": "Select model for {alias}",
+ "selectModelForTool": "Select Model for {tool}",
+ "select": "Select",
+ "clear": "Clear",
+ "comingSoon": "Coming soon",
+ "checkingRuntime": "Checking runtime status...",
+ "guideOnlyIntegration": "Guide-only integration (no local runtime required)",
+ "cliRuntimeDetected": "CLI runtime detected and ready",
+ "cliFoundNotRunnable": "CLI found but not runnable{reason}",
+ "cliRuntimeNotDetected": "CLI runtime not detected",
+ "binary": "Binary",
+ "configPath": "Config path",
+ "configPathShort": "Config",
+ "failedCheckRuntimeStatus": "Failed to check runtime status.",
+ "copy": "Copy",
+ "copied": "Copied",
+ "copyConfig": "Copy Config",
+ "saveConfig": "Save Config",
+ "selectionSaved": "Selection saved",
+ "guide": "Guide",
+ "detected": "Detected",
+ "notReady": "Not ready",
+ "active": "Active",
+ "inactive": "Inactive",
+ "startMitm": "Start MITM",
+ "stopMitm": "Stop MITM",
+ "mitmStarted": "MITM started successfully!",
+ "mitmStopped": "MITM stopped successfully!",
+ "failedStart": "Failed to start MITM",
+ "failedStop": "Failed to stop MITM",
+ "saveMappings": "Save Mappings",
+ "mappingsSaved": "Mappings saved!",
+ "failedSaveMappings": "Failed to save mappings",
+ "howItWorks": "How it works:",
+ "antigravityHowWorksDesc": "Antigravity sends requests to Google's endpoint. MITM intercepts and redirects them to OmniRoute.",
+ "antigravityStep1": "1. Start MITM to route requests through OmniRoute.",
+ "antigravityStep2Prefix": "2. Add",
+ "antigravityStep2Suffix": "to your hosts file as 127.0.0.1.",
+ "antigravityStep3": "3. Open Antigravity and requests will be proxied.",
+ "mitmHowWorksDesc": "{toolName} sends requests to its provider endpoint. MITM intercepts and redirects them to OmniRoute.",
+ "mitmStep1": "1. Start MITM to route requests through OmniRoute.",
+ "mitmStep2Prefix": "2. Add",
+ "mitmStep2Suffix": "to your hosts file as 127.0.0.1.",
+ "mitmStep3": "3. Open {toolName} and requests will be proxied.",
+ "sudoPasswordRequiredTitle": "Sudo Password Required",
+ "sudoPasswordHint": "Administrator password is required to modify hosts file and system proxy settings.",
+ "enterSudoPassword": "Enter sudo password",
+ "sudoPasswordRequiredError": "Sudo password is required.",
+ "cancel": "Cancel",
+ "confirm": "Confirm",
+ "settingsApplied": "Settings applied successfully!",
+ "failedApplySettings": "Failed to apply settings",
+ "settingsReset": "Settings reset successfully!",
+ "failedResetSettings": "Failed to reset settings",
+ "backupRestored": "Backup restored!",
+ "failedRestore": "Failed to restore",
+ "checkingCli": "Checking {tool} CLI...",
+ "cliNotRunnable": "{tool} CLI installed but not runnable",
+ "cliNotInstalled": "{tool} CLI not installed",
+ "cliNotDetected": "{tool} CLI not detected",
+ "cliDetectedReady": "{tool} CLI detected and ready",
+ "cliFoundFailedHealthcheck": "{tool} CLI was found but failed runtime healthcheck{reason}.",
+ "installCliPrompt": "Please install {tool} CLI to use this feature.",
+ "installCodexPrompt": "Please install Codex CLI to use auto-apply feature.",
+ "hide": "Hide",
+ "howToInstall": "How to Install",
+ "installationGuide": "Installation Guide",
+ "platforms": "macOS / Linux / Windows:",
+ "afterInstallationRun": "After installation, run",
+ "toVerify": "to verify.",
+ "current": "Current",
+ "baseUrlPlaceholder": "https://.../v1",
+ "resetToDefault": "Reset to default",
+ "providerModelPlaceholder": "provider/model-id",
+ "apply": "Apply",
+ "reset": "Reset",
+ "manualConfig": "Manual Config",
+ "backups": "Backups",
+ "configBackups": "Config Backups",
+ "noBackupsYet": "No backups yet. Backups are created automatically before each Apply or Reset.",
+ "restore": "Restore",
+ "backupRestoredReloading": "Backup restored! Reloading status...",
+ "failedRestoreBackup": "Failed to restore backup",
+ "applied": "Applied!",
+ "failed": "Failed",
+ "resetDone": "Reset!",
+ "omnirouteConfiguredOpenAiCompatible": "OmniRoute is configured as OpenAI-compatible provider",
+ "provider": "Provider",
+ "model": "Model",
+ "providers": "Providers",
+ "auth": "Auth",
+ "noApiKeysAvailable": "No API keys available",
+ "usingDefaultOmniroute": "Using default: sk_omniroute",
+ "updateConfig": "Update Config",
+ "applyConfig": "Apply Config",
+ "noBackupsAvailable": "No backups available.",
+ "profileSaved": "Profile \"{name}\" saved!",
+ "failedSaveProfile": "Failed to save profile",
+ "profileActivated": "Profile activated!",
+ "failedActivateProfile": "Failed to activate profile",
+ "profiles": "Profiles",
+ "savedProfiles": "Saved Profiles",
+ "noProfilesYet": "No profiles saved yet. Save current config as a profile below.",
+ "activate": "Activate",
+ "deleteProfile": "Delete profile",
+ "profileNamePlaceholder": "Profile name (e.g. Personal Account)",
+ "saveCurrent": "Save Current",
+ "codexAuthNotePrefix": "Codex uses",
+ "codexAuthNoteMiddle": "with",
+ "codexAuthNoteSuffix": "Click \"Apply\" to auto-configure.",
+ "claudeManualConfiguration": "Claude CLI - Manual Configuration",
+ "codexManualConfiguration": "Codex CLI - Manual Configuration",
+ "droidManualConfiguration": "Factory Droid - Manual Configuration",
+ "openClawManualConfiguration": "Open Claw - Manual Configuration",
+ "clineManualConfiguration": "Cline Manual Configuration",
+ "kiloManualConfiguration": "Kilo Code Manual Configuration",
+ "whenToUseLabel": "When to use",
+ "openToolDocs": "Open tool docs",
+ "toolUseCases": {
+ "claude": "Use when you want strong planning workflows and long multi-file refactors with Claude Code.",
+ "codex": "Use when your team is standardized on OpenAI Codex CLI flows and profile-based auth.",
+ "droid": "Use when you need a lightweight terminal agent focused on fast coding and command execution loops.",
+ "openclaw": "Use when you want an Open Claw style coding agent but routed through OmniRoute policies.",
+ "cline": "Use when you configure coding agents inside editors and want guided setup with OmniRoute models.",
+ "kilo": "Use when your workflow depends on Kilo Code commands and fast iterative edits.",
+ "cursor": "Use when coding in Cursor and you need custom OpenAI-compatible models through OmniRoute.",
+ "continue": "Use when running Continue in IDEs and you need portable JSON-based provider configuration.",
+ "opencode": "Use when you prefer terminal-native agent runs and scripted automation via OpenCode.",
+ "kiro": "Use when integrating Kiro and controlling model routing centrally from OmniRoute.",
+ "windsurf": "Use when you want an AI-first IDE with Codeium/Windsurf models routed through OmniRoute.",
+ "antigravity": "Use when Antigravity/Kiro traffic must be intercepted through MITM and routed to OmniRoute.",
+ "copilot": "Use when you want Copilot chat style UX while enforcing OmniRoute keys and routing rules.",
+ "amp": "Use when you want Amp shorthand workflows but still need OmniRoute alias and routing rules enforcement.",
+ "qwen": "Use when you need Alibaba Qwen Code CLI for coding tasks.",
+ "hermes": "Use when you need a lightweight terminal-native AI assistant for quick tasks.",
+ "custom": "Use for custom tool implementations or generic OpenAI-compatible configurations."
+ },
+ "toolDescriptions": {
+ "antigravity": "Google Antigravity IDE with MITM",
+ "claude": "Anthropic Claude Code CLI",
+ "codex": "OpenAI Codex CLI",
+ "droid": "Factory Droid AI Assistant",
+ "openclaw": "Open Claw AI Assistant",
+ "cline": "Cline AI Coding Assistant CLI",
+ "kilo": "Kilo Code AI Assistant CLI",
+ "cursor": "Cursor AI Code Editor",
+ "continue": "Continue AI Assistant",
+ "opencode": "OpenCode AI coding agent (Terminal)",
+ "kiro": "Amazon Kiro — AI-powered IDE",
+ "windsurf": "Windsurf AI Code Editor",
+ "copilot": "GitHub Copilot AI Assistant",
+ "qwen": "Alibaba Qwen Code CLI",
+ "amp": "Sourcegraph Amp coding assistant CLI",
+ "hermes": "Hermes AI Terminal Assistant",
+ "custom": "Generic OpenAI-compatible CLI or SDK configuration generator"
+ },
+ "guides": {
+ "cursor": {
+ "notes": {
+ "0": "Requires Cursor Pro account to use this feature.",
+ "1": "Cursor routes requests through its own server, so local endpoint is not supported. Please enable Cloud Endpoint in Settings."
+ },
+ "steps": {
+ "1": {
+ "title": "Open Settings",
+ "desc": "Go to Settings -> Models"
+ },
+ "2": {
+ "title": "Enable OpenAI API",
+ "desc": "Enable \"OpenAI API key\" option"
+ },
+ "3": {
+ "title": "Base URL"
+ },
+ "4": {
+ "title": "API Key"
+ },
+ "5": {
+ "title": "Add Custom Model",
+ "desc": "Click \"View All Model\" -> \"Add Custom Model\""
+ },
+ "6": {
+ "title": "Select Model"
+ }
+ }
+ },
+ "continue": {
+ "steps": {
+ "1": {
+ "title": "Open Config",
+ "desc": "Open Continue configuration file"
+ },
+ "2": {
+ "title": "API Key"
+ },
+ "3": {
+ "title": "Select Model"
+ },
+ "4": {
+ "title": "Add Model Config",
+ "desc": "Add the following configuration to your models array:"
+ }
+ },
+ "notes": {
+ "0": "Continue uses JSON config file."
+ }
+ },
+ "opencode": {
+ "steps": {
+ "1": {
+ "title": "Install OpenCode",
+ "desc": "Install via npm: npm install -g opencode-ai"
+ },
+ "2": {
+ "title": "API Key"
+ },
+ "3": {
+ "title": "Set Base URL",
+ "desc": "opencode config set baseUrl {baseUrl}"
+ },
+ "4": {
+ "title": "Select Model"
+ },
+ "5": {
+ "title": "Use Thinking Variant",
+ "desc": "For thinking models, run with --variant high/low/max (example command below)."
+ }
+ },
+ "notes": {
+ "0": "OpenCode requires API key configuration.",
+ "1": "Set the base URL to your OmniRoute endpoint."
+ }
+ },
+ "kiro": {
+ "steps": {
+ "1": {
+ "title": "Open Kiro Settings",
+ "desc": "Go to Settings → AI Provider"
+ },
+ "2": {
+ "title": "Base URL",
+ "desc": "Paste your OmniRoute endpoint URL"
+ },
+ "3": {
+ "title": "API Key"
+ },
+ "4": {
+ "title": "Select Model"
+ }
+ },
+ "notes": {
+ "0": "Kiro requires Amazon account."
+ }
+ },
+ "windsurf": {
+ "steps": {
+ "1": {
+ "title": "Open AI Settings",
+ "desc": "Click the AI Settings icon in Windsurf or go to Settings"
+ },
+ "2": {
+ "title": "Add Custom Provider",
+ "desc": "Select \"Add custom provider\" (OpenAI-compatible)"
+ },
+ "3": {
+ "title": "Base URL",
+ "desc": "http://127.0.0.1:20128/v1"
+ },
+ "4": {
+ "title": "API Key",
+ "desc": "Select your OmniRoute API key"
+ },
+ "5": {
+ "title": "Select Model",
+ "desc": "Choose a model from the dropdown"
+ }
+ }
+ }
+ },
+ "autoConfiguredTab": "Auto-Configured",
+ "toolCategoriesDesc": "Configure AI coding assistants to route through OmniRoute",
+ "allToolsTab": "All Tools",
+ "guidedClientsTab": "Guided Clients",
+ "mitmClientsTab": "MITM Clients",
+ "customCliTab": "Custom CLI",
+ "toolCategories": "Tool Categories",
+ "visibleToolsCount": "{count} tools available"
+ },
+ "combos": {
+ "title": "Combos",
+ "description": "Create model combos with weighted routing and fallback support",
+ "createCombo": "Create Combo",
+ "editCombo": "Edit Combo",
+ "deleteCombo": "Delete Combo",
+ "noModels": "No models",
+ "noModelsYet": "No models added yet",
+ "addModel": "Add Model",
+ "addModelToCombo": "Add Model to Combo",
+ "routingStrategy": "Routing Strategy",
+ "maxRetries": "Max Retries",
+ "timeout": "Timeout (ms)",
+ "healthcheck": "Healthcheck",
+ "priority": "Priority",
+ "fallback": "Fallback",
+ "roundRobin": "Round Robin",
+ "random": "Random",
+ "leastLatency": "Least Latency",
+ "comboName": "Combo Name",
+ "comboNamePlaceholder": "my-combo",
+ "deleteConfirm": "Delete this combo?",
+ "noCombosYet": "No combos yet",
+ "comboCreated": "Combo created successfully",
+ "comboUpdated": "Combo updated successfully",
+ "comboDeleted": "Combo deleted",
+ "failedCreate": "Failed to create combo",
+ "failedUpdate": "Failed to update combo",
+ "errorCreating": "Error creating combo",
+ "errorUpdating": "Error updating combo",
+ "errorDeleting": "Error deleting combo",
+ "testFailed": "Test request failed",
+ "failedToggle": "Failed to toggle combo",
+ "testResults": "Test Results — {name}",
+ "resolvedBy": "Resolved by:",
+ "more": "+{count} more",
+ "reqs": "reqs",
+ "success": "success",
+ "proxyConfigured": "Proxy configured",
+ "copyComboName": "Copy combo name",
+ "enableCombo": "Enable combo",
+ "disableCombo": "Disable combo",
+ "testCombo": "Test combo",
+ "duplicate": "Duplicate",
+ "proxyConfig": "Proxy configuration",
+ "nameRequired": "Name is required",
+ "nameInvalid": "Only letters, numbers, -, _, / and . allowed",
+ "nameHint": "Letters, numbers, -, _, / and . allowed",
+ "priorityDesc": "Sequential fallback: tries model 1 first, then 2, etc.",
+ "weightedDesc": "Distributes traffic by weight percentage with fallback",
+ "roundRobinDesc": "Circular distribution: each request goes to the next model in rotation",
+ "contextRelay": "Context Relay",
+ "contextRelayDesc": "Preserves session continuity with handoff summaries when accounts rotate",
+ "randomDesc": "Uniform random selection, then fallback to remaining models",
+ "leastUsedDesc": "Picks the model with fewest requests, balancing load over time",
+ "costOptimizedDesc": "Routes to the cheapest model first based on pricing",
+ "resetAware": "Reset-Aware RR",
+ "resetAwareDesc": "Balances remaining quota against 5h and weekly resets, then round-robins similar scores",
+ "strictRandom": "Strict Random",
+ "strictRandomDesc": "Shuffle deck — uses each model once before reshuffling",
+ "models": "Models",
+ "autoBalance": "Auto-balance",
+ "advancedSettings": "Advanced Settings",
+ "retryDelay": "Retry Delay (ms)",
+ "concurrencyPerModel": "Concurrency / Model",
+ "queueTimeout": "Queue Timeout (ms)",
+ "contextRelayHandoffThreshold": "Handoff Threshold",
+ "contextRelayHandoffThresholdHelp": "When quota usage reaches this threshold, OmniRoute generates a structured handoff summary before the active account is exhausted.",
+ "contextRelayMaxMessages": "Max Messages For Summary",
+ "contextRelayMaxMessagesHelp": "Limits how much recent history is condensed into the relay summary.",
+ "contextRelaySummaryModel": "Summary Model",
+ "contextRelaySummaryModelHelp": "Optional override model used only for generating the handoff summary. Leave empty to reuse the active combo model.",
+ "contextRelayProviderNote": "Context Relay currently generates handoffs for Codex account rotation. Pair it with multiple accounts of the same provider for the best continuity.",
+ "advancedHint": "Leave empty to use global defaults. These override per-provider settings.",
+ "moveUp": "Move up",
+ "moveDown": "Move down",
+ "removeModel": "Remove",
+ "saving": "Saving...",
+ "weighted": "Weighted",
+ "leastUsed": "Least-Used",
+ "costOpt": "Cost-Opt",
+ "strategyGuideTitle": "How to use this strategy",
+ "strategyGuideWhen": "When to use",
+ "strategyGuideAvoid": "Avoid when",
+ "strategyGuideExample": "Example",
+ "strategyGuide": {
+ "priority": {
+ "when": "You have one preferred model and only want fallback on failure.",
+ "avoid": "You need request distribution across models.",
+ "example": "Primary coding model with cheaper backup for outages."
+ },
+ "weighted": {
+ "when": "You need controlled traffic split across models.",
+ "avoid": "You cannot maintain accurate weights over time.",
+ "example": "80% stable model + 20% canary model rollout."
+ },
+ "round-robin": {
+ "when": "You want predictable and even distribution.",
+ "avoid": "Models differ too much in latency or cost.",
+ "example": "Same model on multiple accounts to spread throughput."
+ },
+ "random": {
+ "when": "You want simple distribution with minimal setup.",
+ "avoid": "You need strict traffic guarantees.",
+ "example": "Quick prototyping with equivalent models."
+ },
+ "least-used": {
+ "when": "You want adaptive balancing based on live demand.",
+ "avoid": "Traffic is too low to benefit from usage balancing.",
+ "example": "Mixed workloads where one model often gets overloaded."
+ },
+ "cost-optimized": {
+ "when": "Cost reduction is your top priority.",
+ "avoid": "Pricing data is missing or outdated.",
+ "example": "Background or batch jobs where lower cost is preferred."
+ },
+ "reset-aware": {
+ "when": "You route across multiple accounts with quota telemetry and different reset windows.",
+ "avoid": "Quota telemetry is unavailable for most accounts.",
+ "example": "Prefer a 60% weekly account resetting tomorrow over an 80% account resetting later."
+ },
+ "strict-random": {
+ "when": "Use when you want perfectly even spread — each model used once before repeating.",
+ "avoid": "Avoid when models have different quality or latency and order matters.",
+ "example": "Example: Multiple accounts of the same model to distribute usage evenly."
+ },
+ "p2c": {
+ "when": "Use when you want low-latency selection using Power-of-Two-Choices algorithm.",
+ "avoid": "Avoid for small combos with 2 or fewer models — no benefit over round-robin.",
+ "example": "Example: High-throughput inference across 4+ equivalent model endpoints."
+ },
+ "context-relay": {
+ "when": "Use when long sessions must survive account rotation without losing the working context.",
+ "avoid": "Avoid when account switching is rare or when you do not want extra summarization requests.",
+ "example": "Example: Codex sessions that rotate across multiple accounts near quota exhaustion."
+ },
+ "fill-first": {
+ "when": "Use when you want to fully exhaust one provider's quota before moving to the next.",
+ "avoid": "Avoid when you need request-level load balancing across providers.",
+ "example": "Example: Use all $200 Deepgram credits before falling back to Groq."
+ },
+ "auto": {
+ "when": "Use when you need multi-factor scoring routing based on cost, latency, and quality.",
+ "avoid": "Avoid when you need strict priority ordering or historical persistence.",
+ "example": "Example: Balance requests across models with different strengths."
+ },
+ "lkgp": {
+ "when": "Use when you want to route based on historical success rates and performance.",
+ "avoid": "Avoid when historical data is limited or unreliable.",
+ "example": "Example: Route to models with a good track record on specific tasks."
+ },
+ "context-optimized": {
+ "when": "Use when you need to optimize context window usage across models.",
+ "avoid": "Avoid when models have similar context lengths or tasks are simple.",
+ "example": "Example: Distribute long conversations across models with larger context windows."
+ }
+ },
+ "advancedHelp": {
+ "maxRetries": "How many retries are attempted before failing a request.",
+ "retryDelay": "Initial wait between retries. Higher values reduce burst pressure.",
+ "timeout": "Maximum request duration before aborting.",
+ "healthcheck": "Skips unhealthy models/providers from routing decisions.",
+ "concurrencyPerModel": "Max simultaneous requests allowed per model in round-robin.",
+ "queueTimeout": "How long a request can wait in queue before timing out."
+ },
+ "templatesTitle": "Quick templates",
+ "templatesDescription": "Apply a starting profile, then adjust models and config.",
+ "templateApply": "Apply template",
+ "templateHighAvailability": "High availability",
+ "templateHighAvailabilityDesc": "Priority routing with health checks and safe retries.",
+ "templateCostSaver": "Cost saver",
+ "templateCostSaverDesc": "Cost-optimized routing for budget-first workloads.",
+ "templateBalanced": "Balanced load",
+ "templateBalancedDesc": "Least-used routing to spread demand over time.",
+ "usageGuideHide": "Hide",
+ "usageGuideDontShowAgain": "Don't show again",
+ "usageGuideShow": "Show guide",
+ "quickTestTitle": "Combo ready to validate",
+ "quickTestDescription": "Run a test now to confirm fallback and latency behavior.",
+ "testNow": "Test now",
+ "pricingCoverage": "Pricing coverage",
+ "pricingCoverageHint": "Cost-optimized works best when all combo models have pricing.",
+ "pricingAvailable": "Pricing available",
+ "pricingMissing": "No pricing",
+ "pricingAvailableShort": "priced",
+ "pricingMissingShort": "no-price",
+ "warningRoundRobinSingleModel": "Round-robin is most useful with at least 2 models.",
+ "warningCostOptimizedPartialPricing": "Only {priced} of {total} models have pricing. Routing may be partially cost-aware.",
+ "warningCostOptimizedNoPricing": "No pricing data found for this combo. Cost-optimized may route unexpectedly.",
+ "filterAll": "All",
+ "filterIntelligent": "Intelligent",
+ "filterDeterministic": "Deterministic",
+ "filterEmptyTitle": "No combos match this strategy filter.",
+ "filterEmptyIntelligentDescription": "Create an auto or LKGP combo to populate the intelligent routing dashboard.",
+ "filterEmptyDeterministicDescription": "Only auto and LKGP combos exist right now. Switch back to All or create a deterministic combo.",
+ "readinessTitle": "Ready to save?",
+ "readinessDescription": "Review the checklist before creating or updating this combo.",
+ "readinessCheckName": "Combo name is valid",
+ "readinessCheckModels": "At least one model is selected",
+ "readinessCheckWeights": "Weighted total is 100%",
+ "readinessCheckWeightsOptional": "Weight rule not required",
+ "readinessCheckPricing": "Pricing data is available",
+ "readinessCheckPricingOptional": "Pricing rule not required",
+ "saveBlockedTitle": "Save is blocked until the following items are fixed:",
+ "saveBlockName": "Define a combo name.",
+ "saveBlockModels": "Add at least one model.",
+ "saveBlockWeighted": "Set weights to 100% (current: {total}%).",
+ "saveBlockPricing": "Add pricing for at least one model or choose a different strategy.",
+ "recommendationsLabel": "Recommended setup",
+ "applyRecommendations": "Apply recommendations",
+ "recommendationsUpdated": "Recommendations updated for {strategy}.",
+ "recommendationsApplied": "Recommendations applied to this combo.",
+ "intelligentPanelTitle": "Intelligent Routing Dashboard",
+ "intelligentPanelDesc": "Real-time scoring and health status for this auto-routing combo.",
+ "statusOverview": "Status Overview",
+ "normalOperation": "Normal Operation",
+ "allProvidersHealthy": "Providers are reporting healthy routing conditions.",
+ "incidentMode": "Incident Mode",
+ "highCircuitBreakerRate": "High circuit breaker trip rate detected.",
+ "activeModePack": "Active Mode Pack",
+ "modePackUpdated": "Mode pack updated to {pack}.",
+ "modePackHint": "Switch presets to bias the routing engine without rebuilding the combo.",
+ "providerScores": "Provider Scores",
+ "allProvidersEvaluated": "No candidate pool configured. All active providers are evaluated at runtime.",
+ "excludedProviders": "Excluded Providers",
+ "excludedProvidersHint": "Providers with an OPEN circuit breaker are temporarily excluded from routing.",
+ "noExcludedProviders": "No providers are currently excluded.",
+ "cooldownMinutes": "Cooldown: {minutes}m",
+ "builderIntelligentTitle": "Intelligent Routing Configuration",
+ "builderIntelligentDesc": "Configure the multi-factor scoring engine for this auto-routing combo.",
+ "candidatePoolLabel": "Candidate Pool",
+ "candidatePoolHint": "Select which providers this engine should evaluate. Leave empty to use all active providers.",
+ "candidatePoolEmpty": "No active providers available yet.",
+ "candidatePoolAllProviders": "All providers",
+ "modePackLabel": "Mode Pack",
+ "routerStrategyLabel": "Router Strategy",
+ "strategyRules": "Rules (6-Factor Scoring)",
+ "explorationRateLabel": "Exploration Rate",
+ "explorationRateHint": "{percent}% of requests can explore non-optimal providers.",
+ "budgetCapLabel": "Budget Cap (USD / request)",
+ "budgetCapPlaceholder": "No limit",
+ "advancedWeightsTitle": "Advanced: Scoring Weights",
+ "weightQuota": "Quota",
+ "weightHealth": "Health",
+ "weightCostInv": "Cost",
+ "weightLatencyInv": "Latency",
+ "weightTaskFit": "Task Fit",
+ "weightStability": "Stability",
+ "weightTierPriority": "Tier",
+ "reviewIntelligentTitle": "Intelligent Routing Config",
+ "strategyRecommendations": {
+ "priority": {
+ "title": "Fail-safe baseline",
+ "description": "Use one primary model and keep fallback chain short and reliable.",
+ "tip1": "Put your most reliable model first.",
+ "tip2": "Keep 1-2 backup models with similar quality.",
+ "tip3": "Use safe retries to absorb transient provider failures."
+ },
+ "weighted": {
+ "title": "Controlled traffic split",
+ "description": "Great for canary rollouts and gradual migration between models.",
+ "tip1": "Start with conservative split like 90/10.",
+ "tip2": "Keep the total at 100% and auto-balance after changes.",
+ "tip3": "Monitor success and latency before increasing canary weight."
+ },
+ "round-robin": {
+ "title": "Predictable load sharing",
+ "description": "Best when models are equivalent and you need smooth distribution.",
+ "tip1": "Use at least 2 models.",
+ "tip2": "Set concurrency limits to avoid burst overload.",
+ "tip3": "Use queue timeout to fail fast under saturation."
+ },
+ "random": {
+ "title": "Quick spread with low setup",
+ "description": "Use when you need simple distribution without strict guarantees.",
+ "tip1": "Use models with similar latency profiles.",
+ "tip2": "Keep retries enabled to absorb random misses.",
+ "tip3": "Prefer this for experimentation, not strict SLAs."
+ },
+ "least-used": {
+ "title": "Adaptive balancing",
+ "description": "Routes to less-used models to reduce hotspots over time.",
+ "tip1": "Works better under continuous traffic.",
+ "tip2": "Combine with health checks for safer balancing.",
+ "tip3": "Track per-model usage to validate distribution gains."
+ },
+ "cost-optimized": {
+ "title": "Budget-first routing",
+ "description": "Routes to lower-cost models when pricing metadata is available.",
+ "tip1": "Ensure pricing coverage for all selected models.",
+ "tip2": "Keep a quality fallback for hard prompts.",
+ "tip3": "Use for batch/background jobs where cost is the main KPI."
+ },
+ "reset-aware": {
+ "title": "Reset-aware account rotation",
+ "description": "Balances remaining provider quota against reset timing.",
+ "tip1": "Use explicit account steps or account-tag routing for providers with quota telemetry.",
+ "tip2": "Tune session vs weekly weights when short-term exhaustion is more risky.",
+ "tip3": "Keep the tie band small so equivalent accounts still rotate fairly."
+ },
+ "strict-random": {
+ "title": "Shuffle deck distribution",
+ "description": "Each model is used exactly once per cycle before reshuffling.",
+ "tip1": "Use at least 2 models for meaningful distribution.",
+ "tip2": "Works best with equivalent-performance models.",
+ "tip3": "Ideal for load balancing across multiple API accounts."
+ },
+ "fill-first": {
+ "description": "Exhaust provider quotas sequentially before falling back.",
+ "tip1": "Use for quota-based routing with clear fallback chains.",
+ "tip2": "Set quotas accurately to avoid premature fallback.",
+ "tip3": "Works best with providers offering free tiers or credit buckets.",
+ "title": "Quota Exhaustion"
+ },
+ "auto": {
+ "description": "Route based on real-time scoring for cost, latency, quality, and health.",
+ "tip1": "Let the engine balance multiple factors automatically.",
+ "tip2": "Monitor which factors drive routing decisions in logs.",
+ "tip3": "Use for complex workloads where no single factor dominates.",
+ "title": "Multi-Factor Optimization"
+ },
+ "lkgp": {
+ "description": "Route based on historical performance and success patterns.",
+ "tip1": "Requires sufficient request history for accurate predictions.",
+ "tip2": "Good for workloads with consistent model performance patterns.",
+ "tip3": "Monitor prediction accuracy and adjust weights as needed.",
+ "title": "History-Based Routing"
+ },
+ "context-optimized": {
+ "description": "Optimize routing based on context window usage and token efficiency.",
+ "tip1": "Route long conversations to models with larger context windows.",
+ "tip2": "Monitor context utilization to avoid token waste.",
+ "tip3": "Best for conversational AI requiring extensive context retention.",
+ "title": "Context Optimization"
+ },
+ "context-relay": {
+ "description": "Best when account rotation is expected and the next account must inherit a simplified task summary.",
+ "tip1": "Use with providers rotating accounts for the same model family.",
+ "tip2": "Set handoff threshold below hard quota cutoffs for summary generation time.",
+ "tip3": "Only set a dedicated summary model if the primary is too expensive or unstable.",
+ "title": "Session Continuity Priority"
+ },
+ "p2c": {
+ "description": "Route to the provider with the lowest current load based on real-time metrics.",
+ "tip1": "Monitor provider health metrics for accurate load assessment.",
+ "tip2": "Works best with homogeneous provider pools.",
+ "tip3": "Adjust sensitivity to avoid oscillation during traffic spikes.",
+ "title": "Power of Two Choices"
+ }
+ },
+ "templateFreeStack": "Free Stack ($0)",
+ "templateFreeStackDesc": "Round-robin across all free providers: Kiro (Claude), Qoder (5 models), Qwen (4 models), Gemini CLI. Zero cost, never stops coding.",
+ "auto": "Intelligent Auto",
+ "autoDesc": "Self-healing smart routing pool with multi-factor scoring",
+ "lkgp": "LKGP Mode",
+ "lkgpDesc": "Prioritizes the last provider that successfully completed a request",
+ "wizardGuideTitle": "Getting Started with Combos",
+ "wizardGuideDesc": "Create model combos to route AI traffic intelligently",
+ "wizardGuideHint": "or click + Create Combo above",
+ "createFirstCombo": "Create Your First Combo",
+ "wizardStep1Title": "Name Your Combo",
+ "wizardStep1Desc": "Give your combo a unique name to identify it in routing rules",
+ "wizardStep2Title": "Add Models",
+ "wizardStep2Desc": "Select AI models and arrange their fallback priority order",
+ "wizardStep3Title": "Choose Strategy",
+ "wizardStep3Desc": "Pick how requests are distributed across your models - 14 strategies available",
+ "wizardStep4Title": "Review & Save",
+ "wizardStep4Desc": "Review your configuration and activate the combo",
+ "emailVisibilityStateOn": "On",
+ "emailVisibilityStateOff": "Off",
+ "reorderHandle": "Drag to reorder",
+ "failedReorder": "Failed to reorder models",
+ "builderFlowTitle": "Combo Builder Flow",
+ "builderStage": {
+ "basics": {
+ "label": "Basics",
+ "description": "Name and starting template"
+ },
+ "steps": {
+ "label": "Steps",
+ "description": "Provider, model, and account selection"
+ },
+ "strategy": {
+ "label": "Strategy",
+ "description": "Routing behavior and advanced settings"
+ },
+ "intelligent": {
+ "label": "Smart Routing",
+ "description": "Auto-routing candidate pool, presets, and scoring"
+ },
+ "review": {
+ "label": "Review",
+ "description": "Final validation before saving"
+ }
+ },
+ "builderStageVisited": "Stage completed",
+ "builderStageCurrent": "Current stage",
+ "builderStagePending": "Pending",
+ "builderStageLocked": "Locked — complete previous stage first",
+ "builderTitle": "Build a Combo",
+ "builderBrowseCatalog": "Browse catalog",
+ "builderProvider": "Provider",
+ "builderLoadingProviders": "Loading providers...",
+ "builderSelectProvider": "Select provider",
+ "builderModel": "Model",
+ "builderSelectModel": "Select model",
+ "builderProviderFirst": "Pick provider first",
+ "builderAccount": "Account",
+ "builderPreview": "Preview",
+ "builderAddStep": "Add step",
+ "builderDuplicateExact": "This exact provider/model/account step is already in the combo.",
+ "builderComboRef": "Combo Ref",
+ "builderAddComboRef": "Add combo reference",
+ "builderComboRefStep": "Add combo reference",
+ "builderPinnedAccount": "Pinned Account",
+ "builderLegacyEntry": "Legacy entry",
+ "reviewName": "Name",
+ "reviewStrategy": "Strategy",
+ "reviewSteps": "Steps",
+ "reviewAccounts": "Accounts",
+ "reviewProviders": "Providers",
+ "reviewComboRefs": "Combo References",
+ "reviewAdvanced": "Advanced Settings",
+ "reviewAgentFlags": "Agent Flags",
+ "reviewSequence": "Model Sequence",
+ "reviewNoSteps": "No steps configured",
+ "builderStagesDescription": "Complete each stage in order to define combos, build steps, select routing strategy, and review results.",
+ "builderStepsDescription": "Build each combo step in order: provider, model, then account. This allows reusing the same provider and model across different accounts.",
+ "selectProvider": "Select Provider",
+ "selectProviderPlaceholder": "Select a provider",
+ "selectModel": "Select Model",
+ "selectModelPlaceholder": "Select a provider first",
+ "selectAccount": "Select Account",
+ "selectComboToReference": "Select combo to reference",
+ "comboReference": "Combo Reference",
+ "addComboReference": "Add Combo Reference",
+ "addStepBeforeContinue": "Please add at least one step before proceeding to the next stage.",
+ "previewNextStep": "Preview next step",
+ "autoSelectAccount": "Automatically select account at runtime",
+ "modePackBalanced": "Balanced",
+ "modePackBudget": "Budget",
+ "modePackPerformance": "Performance",
+ "modePackCustom": "Custom",
+ "browseLegacyCatalog": "Browse legacy combo catalog",
+ "agentFeaturesTitle": "Agent Features",
+ "agentFeaturesDescription": "Enable advanced features for agents using this combo",
+ "agentFeaturesSystemMessageOverride": "Override system message",
+ "agentFeaturesSystemMessagePlaceholder": "You are an expert assistant...",
+ "agentFeaturesSystemMessageHint": "System message override for agents",
+ "agentFeaturesToolFilterRegex": "/regex-pattern/",
+ "agentFeaturesToolFilterHint": "Tool filter regex for agents",
+ "agentFeaturesContextCacheHint": "Enable in-context cache for agent tools",
+ "agentFeaturesContextCacheProtection": "Protect cache from agent tool mutations",
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
+ },
+ "costs": {
+ "title": "Costs",
+ "pageDescription": "Track spending, analyze trends, and manage your AI budget across all providers",
+ "overview": "Overview",
+ "budget": "Budget",
+ "totalCost": "Total Cost",
+ "breakdown": "Cost Breakdown",
+ "noData": "No cost data",
+ "byModel": "By Model",
+ "byProvider": "By Provider",
+ "range7d": "7 Days",
+ "range30d": "30 Days",
+ "range90d": "90 Days",
+ "rangeAll": "All Time",
+ "spend30d": "Spend 30D",
+ "activeModels": "Active Models",
+ "selectedWindow": "Selected Window",
+ "activeProviders": "Active Providers",
+ "overviewTitle": "Cost Overview",
+ "spend7d": "Spend 7D",
+ "avgCostPerRequest": "Avg Cost / Request",
+ "noCostDataDescription": "Start making requests to see cost data appear here. Costs are tracked automatically for all providers.",
+ "spendToday": "Spend Today",
+ "overviewLoadFailed": "Failed to load cost overview",
+ "overviewDescription": "Real-time spending breakdown across all connected providers and models",
+ "providerShare": "Provider Share",
+ "topProviders": "Top Providers",
+ "costTrend": "Cost Trend",
+ "noCostDataTitle": "No cost data yet",
+ "topModels": "Top Models",
+ "requestsInWindow": "Requests in Window",
+ "tokenUsage": "Token Usage",
+ "totalTokens": "Total Tokens",
+ "inputTokens": "Input Tokens",
+ "outputTokens": "Output Tokens",
+ "inputOutputRatio": "Input/Output Ratio",
+ "tokens": "tokens",
+ "routingEfficiency": "Routing Efficiency",
+ "fallbackCount": "Fallback Requests",
+ "fallbackRate": "Fallback Rate",
+ "modelCoverage": "Model Coverage",
+ "modelCoverageDesc": "% of requests with explicit model",
+ "outOfRequests": "out of {total} requests",
+ "costByApiKey": "Cost by API Key",
+ "costByAccount": "Cost by Account",
+ "apiKeyName": "API Key",
+ "account": "Account",
+ "requests": "Requests",
+ "cost": "Cost",
+ "dayStreak": "day streak",
+ "weeklyUsagePattern": "Weekly Usage Pattern",
+ "activityHeatmap": "Activity (365 days)",
+ "less": "Less",
+ "more": "More",
+ "monthlyForecast": "Monthly Forecast",
+ "forecastBasis": "Based on last {days} days",
+ "avgDailyCost": "Avg. daily cost",
+ "daysRemaining": "{days} days remaining",
+ "periodComparison": "Period Comparison",
+ "previousPeriod": "Previous Half",
+ "currentPeriod": "Current Half",
+ "exportCSV": "Export as CSV",
+ "exportJSON": "Export as JSON"
+ },
+ "endpoint": {
+ "title": "API Endpoint",
+ "available": "Available Endpoints",
+ "cloudProxy": "Cloud Proxy",
+ "disableConfirm": "Are you sure you want to disable cloud proxy?",
+ "baseUrl": "Base URL",
+ "apiKeyLabel": "API Key",
+ "registeredKeys": "Registered Keys",
+ "chatCompletions": "Chat Completions",
+ "responses": "Responses",
+ "listModels": "List Models",
+ "usingCloudProxy": "Using Cloud Proxy",
+ "usingLocalServer": "Using Local Server",
+ "machineId": "Machine ID: {id}...",
+ "disableCloud": "Disable Cloud",
+ "enableCloud": "Enable Cloud",
+ "modelsAcrossEndpoints": "{models} models across {endpoints} endpoints",
+ "loadingModels": "Loading available models...",
+ "chatDesc": "Streaming & non-streaming chat with all providers",
+ "embeddings": "Embeddings",
+ "embeddingsDesc": "Text embeddings for search & RAG pipelines",
+ "imageGeneration": "Image Generation",
+ "imageDesc": "Generate images from text prompts",
+ "rerank": "Rerank",
+ "rerankDesc": "Rerank documents by relevance to a query",
+ "audioTranscription": "Audio Transcription",
+ "audioTranscriptionDesc": "Transcribe audio files to text (Whisper)",
+ "textToSpeech": "Text to Speech",
+ "textToSpeechDesc": "Convert text to natural-sounding speech",
+ "musicGeneration": "Music Generation",
+ "musicDesc": "Generate music and audio tracks via ComfyUI (Stable Audio, MusicGen)",
+ "moderations": "Moderations",
+ "moderationsDesc": "Content moderation and safety classification",
+ "responsesDesc": "OpenAI Responses API for Codex and advanced agentic workflows",
+ "listModelsDesc": "List all available models across all connected providers",
+ "settingsApiDesc": "Read and modify OmniRoute configuration via API",
+ "settingsApi": "Settings API",
+ "categoryCore": "Core APIs",
+ "categoryMedia": "Media & Multi-Modal",
+ "categorySearch": "Search & Discovery",
+ "categoryUtility": "Utility & Management",
+ "webSearch": "Web Search",
+ "webSearchDesc": "Unified web search across multiple providers with automatic failover and caching",
+ "searchProvider": "Search Provider",
+ "searchProviderDesc": "This provider is used for web search via POST /v1/search. No model configuration needed — search providers are ready to use once an API key is connected.",
+ "enableCloudTitle": "Enable Cloud Proxy",
+ "whatYouGet": "What you will get",
+ "cloudBenefitAccess": "Access your API from anywhere in the world",
+ "cloudBenefitShare": "Share endpoint with your team easily",
+ "cloudBenefitPorts": "No need to open ports or configure firewall",
+ "cloudBenefitEdge": "Fast global edge network",
+ "cloudSessionNote": "Cloud will keep your auth session for 1 day. If not used, it will be automatically deleted.",
+ "cloudUnstableNote": "Cloud is currently unstable with Claude Code OAuth in some cases.",
+ "cloudConnected": "Cloud Proxy connected!",
+ "connectingToCloud": "Connecting to cloud...",
+ "verifyingConnection": "Verifying connection...",
+ "connecting": "Connecting...",
+ "verifying": "Verifying...",
+ "connected": "Connected!",
+ "disableCloudTitle": "Disable Cloud Proxy",
+ "disableWarning": "All auth sessions will be deleted from cloud.",
+ "syncingData": "Syncing latest data...",
+ "disablingCloud": "Disabling cloud...",
+ "syncing": "Syncing...",
+ "disabling": "Disabling...",
+ "cloudConnectedVerified": "Cloud Proxy connected and verified!",
+ "connectedVerificationPending": "Connected — verification pending",
+ "connectedVerificationPendingWithError": "Connected — verification pending: {error}",
+ "cloudDisabledSuccess": "Cloud disabled successfully",
+ "syncedSuccess": "Synced successfully",
+ "failedDisable": "Failed to disable cloud",
+ "failedEnable": "Failed to enable cloud",
+ "cloudRequestTimeout": "Cloud request timeout",
+ "cloudRequestFailed": "Cloud request failed",
+ "cloudWorkerUnreachable": "Could not reach cloud worker. Make sure the cloud service is running (npm run dev in /cloud).",
+ "connectionFailed": "Connection failed",
+ "syncFailed": "Failed to sync cloud data",
+ "cloudflaredTitle": "Cloudflare Quick Tunnel",
+ "cloudflaredDescription": "Create a Cloudflare Quick Tunnel for this endpoint.",
+ "cloudflaredUrlNotice": "Creates a temporary Cloudflare Quick Tunnel. The URL changes after every restart.",
+ "cloudflaredEnable": "Enable Tunnel",
+ "cloudflaredInstallAndEnable": "Install & Enable",
+ "cloudflaredDisable": "Stop Tunnel",
+ "cloudflaredRunning": "Running",
+ "cloudflaredStarting": "Starting",
+ "cloudflaredStoppedState": "Stopped",
+ "cloudflaredNotInstalled": "Not installed",
+ "cloudflaredUnsupported": "Unsupported",
+ "cloudflaredError": "Error",
+ "cloudflaredStarted": "Cloudflare tunnel started",
+ "cloudflaredStopped": "Cloudflare tunnel stopped",
+ "cloudflaredRequestFailed": "Failed to update Cloudflare tunnel",
+ "cloudflaredTemporaryNote": "Quick Tunnel URLs are temporary and will change after every restart.",
+ "cloudflaredUnsupportedNote": "This platform is not supported for managed installs. Install cloudflared manually or point CLOUDFLARED_BIN to an existing binary.",
+ "cloudflaredIdleNote": "Create a temporary Cloudflare Quick Tunnel for this endpoint.",
+ "cloudflaredLastError": "Last error: {error}",
+ "providerModelsTitle": "{provider} — Models",
+ "noModelsForProvider": "No models available for this provider.",
+ "chat": "Chat",
+ "embedding": "Embedding",
+ "image": "Image",
+ "custom": "custom",
+ "modelsCount": "{count, plural, one {# model} other {# models}}",
+ "sectionTitle": "Integration Surface",
+ "sectionDescription": "OpenAI-compatible APIs and operational protocol endpoints",
+ "tabApis": "OpenAI-compatible APIs",
+ "tabProtocols": "Protocols",
+ "tabsAria": "Endpoint sections",
+ "protocolsTitle": "Protocols",
+ "protocolsDescription": "MCP and A2A are first-class endpoints with dedicated observability and controls.",
+ "mcpCardTitle": "MCP Server",
+ "mcpCardDescription": "Model Context Protocol over stdio",
+ "a2aCardTitle": "A2A Server",
+ "a2aCardDescription": "Agent2Agent JSON-RPC endpoint",
+ "protocolToolsLabel": "Tools",
+ "protocolTasksLabel": "Tasks",
+ "protocolActiveStreamsLabel": "Active streams",
+ "protocolLastActivity": "Last activity",
+ "quickStart": "Quick Start",
+ "openMcpDashboard": "Open MCP management",
+ "openA2aDashboard": "Open A2A management",
+ "mcpQuickStartTitle": "MCP Quick Start",
+ "mcpQuickStartStep1": "Run the MCP server via `omniroute --mcp`.",
+ "mcpQuickStartStep2": "Configure your MCP client to connect over stdio transport.",
+ "mcpQuickStartStep3": "Invoke tools such as `omniroute_get_health` and `omniroute_list_combos`.",
+ "a2aQuickStartTitle": "A2A Quick Start",
+ "a2aQuickStartStep1": "Discover the agent card at `/.well-known/agent.json`.",
+ "a2aQuickStartStep2": "Send JSON-RPC requests to `POST /a2a` using `message/send` or `message/stream`.",
+ "a2aQuickStartStep3": "Track and control tasks using `tasks/get` and `tasks/cancel`.",
+ "completionsLegacy": "Completions (Legacy)",
+ "completionsLegacyDesc": "Legacy OpenAI text completions — accepts both prompt string and messages array format",
+ "videoGeneration": "Video Generation",
+ "videoDesc": "Generate videos using AI models like ComfyUI and Stable Video Diffusion.",
+ "tailscaleRequestFailed": "Failed to load Tailscale status",
+ "tailscaleEnableFailed": "Failed to enable Tailscale Funnel",
+ "tailscaleWaitingForLogin": "Complete the Tailscale login in the opened browser tab. OmniRoute will retry automatically.",
+ "tailscaleLoginTimedOut": "Timed out waiting for Tailscale login",
+ "tailscaleWaitingForFunnel": "Enable Funnel for this device in the opened browser tab. OmniRoute will keep polling.",
+ "tailscaleFunnelTimedOut": "Timed out waiting for Tailscale Funnel to be enabled",
+ "tailscaleStarted": "Tailscale Funnel enabled",
+ "tailscaleDisableFailed": "Failed to disable Tailscale Funnel",
+ "tailscaleStopped": "Tailscale Funnel disabled",
+ "tailscaleInstallFailed": "Failed to install Tailscale",
+ "tailscaleInstallProgress": "Working...",
+ "tailscaleInstalled": "Tailscale installed successfully",
+ "tailscaleRunning": "Running",
+ "tailscaleNeedsLogin": "Needs Login",
+ "tailscaleStoppedState": "Stopped",
+ "tailscaleNotInstalled": "Not installed",
+ "tailscaleUnsupported": "Unsupported",
+ "tailscaleError": "Error",
+ "tailscaleDisable": "Stop Funnel",
+ "tailscaleInstallAndEnable": "Install & Enable",
+ "tailscaleLoginAndEnable": "Login & Enable",
+ "tailscaleEnable": "Enable Funnel",
+ "tailscaleUrlNotice": "Uses your Tailscale .ts.net address. Login and Funnel approval may be required on first use.",
+ "tailscaleTitle": "Tailscale Funnel",
+ "tailscaleNeedsLoginHint": "Authenticate this machine with Tailscale, then enable Funnel.",
+ "tailscaleBinaryPath": "Binary: {path}",
+ "tailscaleLastError": "Last error: {error}",
+ "tailscaleInstallTitle": "Install Tailscale",
+ "tailscaleInstallIntro": "Installs Tailscale on this machine and prepares OmniRoute to enable Funnel.",
+ "tailscaleInstallPasswordHint": "On macOS and Linux, sudo may be required for the package install and daemon start.",
+ "tailscaleSudoPlaceholder": "Optional sudo password",
+ "tailscaleInstalling": "Installing",
+ "tailscaleSudoLabel": "Sudo Password (required on macOS/Linux)",
+ "ngrokTitle": "ngrok Tunnel",
+ "ngrokRunning": "Running",
+ "ngrokStarting": "Starting",
+ "ngrokStoppedState": "Stopped",
+ "ngrokNeedsAuth": "Needs Auth",
+ "ngrokNotInstalled": "Not installed",
+ "ngrokUnsupported": "Unsupported",
+ "ngrokError": "Error",
+ "ngrokEnable": "Enable Tunnel",
+ "ngrokDisable": "Stop Tunnel",
+ "ngrokUrlNotice": "Creates a public ngrok tunnel.",
+ "ngrokAuthTokenLabel": "Authtoken (Required if NGROK_AUTHTOKEN not set)",
+ "ngrokAuthTokenPlaceholder": "Enter your ngrok authtoken",
+ "ngrokLastError": "Last error: {error}",
+ "ngrokStarted": "ngrok tunnel started",
+ "ngrokStopped": "ngrok tunnel stopped",
+ "ngrokRequestFailed": "Failed to update ngrok tunnel"
+ },
+ "endpoints": {
+ "tabProxy": "Endpoint Proxy",
+ "tabApiEndpoints": "API Endpoints",
+ "apiEndpointsTitle": "API Endpoints",
+ "apiEndpointsDescription": "Backend API endpoints that can be consumed by other applications and services. This section will list all available REST APIs with documentation and testing capabilities.",
+ "comingSoon": "Coming Soon",
+ "plannedFeatures": "Planned Features",
+ "featureRestApi": "REST API endpoint catalog with interactive documentation",
+ "featureWebhooks": "Webhook configuration and event subscriptions",
+ "featureSwagger": "OpenAPI / Swagger spec auto-generation",
+ "featureAuth": "API key and OAuth scope management per endpoint"
+ },
+ "mcpDashboard": {
+ "loading": "Loading MCP dashboard...",
+ "activate": "activate",
+ "deactivate": "deactivate",
+ "confirmSwitchCombo": "Confirm {action} combo \"{combo}\"?",
+ "switchComboFailed": "Failed to switch combo state.",
+ "switchComboSuccess": "Combo \"{combo}\" updated.",
+ "confirmApplyProfile": "Apply resilience profile \"{profile}\"?",
+ "applyProfileFailed": "Failed to apply resilience profile.",
+ "applyProfileSuccess": "Profile \"{profile}\" applied.",
+ "confirmResetBreakers": "Reset all circuit breakers?",
+ "resetBreakersFailed": "Failed to reset circuit breakers.",
+ "resetBreakersSuccess": "Circuit breakers reset.",
+ "processStatus": "Process status",
+ "online": "Online",
+ "offline": "Offline",
+ "pid": "PID",
+ "sessionUptime": "Session uptime",
+ "lastHeartbeat": "Last heartbeat",
+ "activity24h": "Activity (24h)",
+ "totalCalls": "Total calls",
+ "successRate": "Success rate",
+ "avgLatency": "Avg latency",
+ "topTools": "Top tools",
+ "noToolCalls24h": "No tool calls in the last 24 hours.",
+ "runtimeDetails": "Runtime details",
+ "transport": "Transport",
+ "scopesEnforced": "Scopes enforced",
+ "yes": "yes",
+ "no": "no",
+ "lastCall": "Last call",
+ "heartbeatPath": "Heartbeat path",
+ "operationalControls": "Operational controls",
+ "switchCombo": "Switch combo",
+ "inactive": "inactive",
+ "active": "active",
+ "activateCombo": "Activate combo",
+ "deactivateCombo": "Deactivate combo",
+ "applyResilienceProfile": "Apply resilience profile",
+ "profileAggressive": "aggressive",
+ "profileBalanced": "balanced",
+ "profileConservative": "conservative",
+ "applyProfile": "Apply profile",
+ "resetCircuitBreakers": "Reset circuit breakers",
+ "resetCircuitBreakersHelp": "Clears current breaker state and failure counters for providers.",
+ "resetAllBreakers": "Reset all breakers",
+ "toolsAndScopes": "Tools and scopes",
+ "tableTool": "Tool",
+ "tableScopes": "Scopes",
+ "tablePhase": "Phase",
+ "tableAudit": "Audit",
+ "auditLog": "Audit log",
+ "auditSummary": "Calls: {total} | page {page} of {totalPages}",
+ "allTools": "All tools",
+ "allResults": "All results",
+ "success": "Success",
+ "failure": "Failure",
+ "apiKeyIdPlaceholder": "apiKeyId",
+ "loadingAuditEntries": "Loading audit entries...",
+ "noAuditEntriesForFilters": "No audit entries found for current filters.",
+ "tableTimestamp": "Timestamp",
+ "tableDuration": "Duration",
+ "tableResult": "Result",
+ "tableApiKey": "API key",
+ "failed": "failed",
+ "previous": "Previous",
+ "next": "Next",
+ "apiKeyId": "Api Key Id",
+ "offset": "Offset",
+ "limit": "Limit",
+ "tool": "Tool"
+ },
+ "a2aDashboard": {
+ "loading": "Loading A2A dashboard...",
+ "confirmCancelTask": "Cancel task {taskId}?",
+ "cancelTaskFailed": "Failed to cancel task.",
+ "cancelTaskSuccess": "Task {taskId} cancelled.",
+ "smokeSendFailed": "message/send smoke test failed.",
+ "smokeSendSuccessWithTask": "message/send ok (task {taskId}).",
+ "smokeSendSuccess": "message/send ok.",
+ "smokeStreamFailed": "message/stream smoke test failed.",
+ "smokeStreamSuccessWithTask": "message/stream ok (task {taskId}{stateSuffix}).",
+ "smokeStreamNoTaskId": "message/stream finished without task id.",
+ "health": "Health",
+ "ok": "ok",
+ "totalTasks": "Total tasks",
+ "activeStreams": "Active streams",
+ "lastTask": "Last task",
+ "taskStateOverview": "Task state overview",
+ "state": {
+ "submitted": "submitted",
+ "working": "working",
+ "completed": "completed",
+ "failed": "failed",
+ "cancelled": "cancelled"
+ },
+ "agentCard": "Agent card",
+ "version": "Version",
+ "url": "URL",
+ "capabilities": "Capabilities",
+ "agentCardNotAvailable": "Agent card not available.",
+ "quickValidation": "Quick validation",
+ "quickValidationDescription": "Executes smoke calls through the live `/a2a` endpoint.",
+ "runMessageSend": "Run message/send",
+ "runMessageStream": "Run message/stream",
+ "taskManagement": "Task management",
+ "taskSummary": "{total} tasks | page {page} of {totalPages}",
+ "allStates": "all",
+ "allSkills": "all skills",
+ "loadingTasks": "Loading tasks...",
+ "noTasksForFilters": "No tasks found for current filters.",
+ "tableTask": "Task",
+ "tableSkill": "Skill",
+ "tableState": "State",
+ "tableUpdated": "Updated",
+ "tableActions": "Actions",
+ "view": "View",
+ "cancel": "Cancel",
+ "previous": "Previous",
+ "next": "Next",
+ "taskDetail": "Task detail",
+ "close": "Close",
+ "metadata": "Metadata",
+ "events": "Events",
+ "artifacts": "Artifacts",
+ "tablePhase": "Table Phase",
+ "offset": "Offset",
+ "limit": "Limit",
+ "skill": "Skill"
+ },
+ "memory": {
+ "title": "Memory Management",
+ "description": "View and manage stored memory entries",
+ "memories": "Memories",
+ "totalEntries": "Total Entries",
+ "tokensUsed": "Tokens Used",
+ "hitRate": "Hit Rate",
+ "loading": "Loading memories...",
+ "noMemories": "No memories found",
+ "search": "Search memories...",
+ "allTypes": "All Types",
+ "export": "Export",
+ "import": "Import",
+ "addMemory": "Add Memory",
+ "type": "Type",
+ "key": "Key",
+ "content": "Content",
+ "created": "Created",
+ "actions": "Actions",
+ "delete": "Delete",
+ "factual": "Factual",
+ "episodic": "Episodic",
+ "procedural": "Procedural",
+ "semantic": "Semantic",
+ "a": "A"
+ },
+ "skills": {
+ "title": "Skills",
+ "description": "Manage and monitor AI skills",
+ "skillsTab": "Skills",
+ "executionsTab": "Executions",
+ "sandboxTab": "Sandbox",
+ "loading": "Loading skills...",
+ "noSkills": "No skills found",
+ "noExecutions": "No executions found",
+ "enabled": "Enabled",
+ "disabled": "Disabled",
+ "version": "Version",
+ "tableDescription": "Description",
+ "skill": "Skill",
+ "status": "Status",
+ "duration": "Duration",
+ "time": "Time",
+ "sandboxConfig": "Sandbox Configuration",
+ "cpuLimit": "CPU Limit",
+ "cpuLimitDesc": "Maximum execution time per skill",
+ "memoryLimit": "Memory Limit",
+ "memoryLimitDesc": "Maximum memory allocation",
+ "timeout": "Timeout",
+ "timeoutDesc": "Maximum wait time for response",
+ "networkAccess": "Network Access",
+ "networkAccessDesc": "Allow outbound network requests",
+ "mode": "Mode",
+ "q": "Q"
+ },
+ "health": {
+ "title": "System Health",
+ "description": "Real-time monitoring of your OmniRoute instance",
+ "healthy": "Healthy",
+ "degraded": "Degraded",
+ "down": "Down",
+ "uptime": "Uptime",
+ "memory": "Memory",
+ "memoryRss": "Memory (RSS)",
+ "heap": "Heap",
+ "cpu": "CPU",
+ "database": "Database",
+ "version": "Version",
+ "lastCheck": "Last Check",
+ "providerHealth": "Provider Health",
+ "systemMetrics": "System Metrics",
+ "tokenHealth": "Token Health",
+ "refreshAll": "Refresh All",
+ "checkNow": "Check Now",
+ "loadingHealth": "Loading health data...",
+ "failedToLoad": "Failed to load health data: {error}",
+ "retry": "Retry",
+ "allOperational": "All systems operational",
+ "issuesDetected": "System issues detected",
+ "updatedAt": "Updated {time}",
+ "latency": "Latency",
+ "latencyP50": "p50",
+ "latencyP95": "p95",
+ "latencyP99": "p99",
+ "millisecondsShort": "{value}ms",
+ "notAvailable": "—",
+ "totalRequests": "Total requests",
+ "noDataYet": "No data yet",
+ "promptCache": "Prompt Cache",
+ "entries": "Entries",
+ "hitRate": "Hit Rate",
+ "hitsMisses": "Hits / Misses",
+ "signatureCache": "Signature Cache",
+ "signatureDefaults": "Defaults",
+ "signatureTool": "Tool",
+ "signatureFamily": "Family",
+ "signatureSession": "Session",
+ "recovering": "Recovering",
+ "noCBData": "No circuit breaker data available. Make some requests first.",
+ "providerHealthStatusAria": "Provider health status",
+ "issuesLabel": "Issues Detected",
+ "operational": "Operational",
+ "providers": "Providers",
+ "configuredProvidersLabel": "Configured in dashboard",
+ "configuredProvidersHint": "Providers with credentials saved in /dashboard/providers, regardless of runtime state.",
+ "activeProviders": "{count} active",
+ "activeProvidersHint": "Configured providers currently enabled for routing requests.",
+ "monitoredProviders": "{count} monitored",
+ "monitoredProvidersHint": "Providers currently tracked by circuit-breaker health monitors.",
+ "healthyCount": "{count} healthy",
+ "nodeVersion": "Node {version}",
+ "failures": "{count} failure",
+ "failuresPlural": "{count} failures",
+ "lastFailure": "Last",
+ "rateLimitStatus": "Rate Limit Status",
+ "activeLimiters": "{count} active limiter",
+ "activeLimitersPlural": "{count} active limiters",
+ "queued": "Queued",
+ "queuedCount": "{count} queued",
+ "running": "running",
+ "runningCount": "{count} running",
+ "ok": "OK",
+ "activeLockouts": "Active Lockouts",
+ "resetConfirm": "Reset all circuit breakers to healthy state? This will clear all failure counts and restore all providers to operational status.",
+ "resetAllTitle": "Reset all circuit breakers to healthy state",
+ "resetting": "Resetting...",
+ "resetAll": "Reset All",
+ "until": "Until {time}",
+ "limitExhausted": "Exhausted",
+ "learnedFromHeaders": "Learned from headers",
+ "remainingOfLimit": "{remaining}/{limit} remaining",
+ "throttleStatus": "Throttle: {value}",
+ "lastHeaderUpdate": "Header update: {age}"
+ },
+ "telemetry": {
+ "title": "System Telemetry",
+ "description": "Rolling request, runtime, session, and memory signals from this OmniRoute process.",
+ "uptime": "Uptime",
+ "totalRequests": "Total Requests",
+ "avgLatency": "Avg Latency",
+ "errorRate": "Error Rate",
+ "activeConnections": "Active Connections",
+ "memoryUsage": "Memory Usage",
+ "latencyTrend": "Latency trend",
+ "throughputTrend": "Throughput trend",
+ "memoryTrend": "Memory trend",
+ "refresh": "Refresh",
+ "updatedAt": "Updated {time}",
+ "loadFailed": "Failed to load telemetry.",
+ "partialData": "Telemetry is partially available: {error}"
+ },
+ "mitm": {
+ "title": "MITM Proxy",
+ "description": "Transparent proxy for intercepting and routing client requests.",
+ "enable": "Enable MITM Proxy",
+ "enableDesc": "Start or stop the local interception process and DNS override.",
+ "status": "Status",
+ "running": "Running",
+ "stopped": "Stopped",
+ "start": "Start",
+ "stop": "Stop",
+ "refresh": "Refresh",
+ "port": "Proxy Port",
+ "apiKey": "Router API Key",
+ "apiKeyPlaceholder": "Optional; falls back to a local key",
+ "sudoPassword": "Sudo Password",
+ "cachedPassword": "Cached for this process",
+ "saveSettings": "Save Settings",
+ "settingsSaved": "MITM settings saved.",
+ "startedSuccess": "MITM proxy started.",
+ "stoppedSuccess": "MITM proxy stopped.",
+ "saveFailed": "Failed to update MITM settings.",
+ "loadFailed": "Failed to load MITM settings.",
+ "invalidPort": "Transparent MITM interception currently requires port 443.",
+ "certificate": "CA Certificate",
+ "certificateReady": "Certificate is available for client trust installation.",
+ "certificateMissing": "Certificate has not been generated yet.",
+ "available": "Available",
+ "missing": "Missing",
+ "downloadCert": "Download CA Certificate",
+ "regenerateCert": "Regenerate Certificate",
+ "regenerateConfirm": "This will invalidate existing client trust. Continue?",
+ "regenerateSuccess": "MITM certificate regenerated.",
+ "regenerateFailed": "Failed to regenerate MITM certificate.",
+ "targetRoutes": "Target Routes",
+ "interceptedRequests": "Intercepted Requests",
+ "activeConnections": "Active Connections",
+ "dnsConfigured": "DNS Configured",
+ "pid": "PID",
+ "lastIntercept": "Last Intercept",
+ "target": "Target",
+ "host": "Host",
+ "localPort": "Local Port",
+ "endpoints": "Endpoints",
+ "enabled": "Enabled",
+ "configured": "Configured",
+ "yes": "Yes",
+ "no": "No",
+ "noTargets": "No target routes configured."
+ },
+ "limits": {
+ "title": "Limits & Quotas",
+ "rateLimit": "Rate Limit",
+ "remaining": "Remaining",
+ "requestsPerMinute": "Requests/min",
+ "tokensPerMinute": "Tokens/min",
+ "dailyLimit": "Daily Limit"
+ },
+ "logs": {
+ "title": "Logs",
+ "requestLogs": "Request Logs",
+ "proxyLogs": "Proxy Logs",
+ "auditLog": "Audit Log",
+ "console": "Console",
+ "auditLogDesc": "Administrative actions and security events",
+ "loading": "Loading...",
+ "refresh": "Refresh",
+ "filterByAction": "Filter by action...",
+ "filterByActor": "Filter by actor...",
+ "filterEntriesAria": "Filter audit log entries",
+ "filterByActionTypeAria": "Filter by action type",
+ "filterByActorAria": "Filter by actor",
+ "refreshAuditLogAria": "Refresh audit log",
+ "tableAria": "Audit log entries",
+ "failedFetchAuditLog": "Failed to fetch audit log",
+ "showing": "Showing {count} entries (offset {offset})",
+ "search": "Search",
+ "timestamp": "Timestamp",
+ "action": "Action",
+ "actor": "Actor",
+ "target": "Target",
+ "details": "Details",
+ "ipAddress": "IP Address",
+ "notAvailable": "—",
+ "noEntries": "No audit log entries found",
+ "previous": "Previous",
+ "next": "Next",
+ "providerWarningTitle": "Provider Warnings",
+ "viewDetails": "View Details",
+ "eventMetadata": "Event Metadata",
+ "eventPayload": "Event Payload",
+ "requestId": "Request Id",
+ "providerWarningDesc": "Some providers returned warnings during request processing",
+ "a": "A",
+ "offset": "Offset",
+ "limit": "Limit",
+ "status": "Status",
+ "resourceType": "Resource Type",
+ "totalEntries": "Total Entries",
+ "tab": "Tab",
+ "auditModalSubtitle": "Event details and metadata",
+ "close": "Close",
+ "runningRequests": "Active Requests",
+ "runningRequestsDesc": "Real-time view of currently running upstream requests",
+ "model": "Model",
+ "provider": "Provider",
+ "account": "Account",
+ "elapsed": "Elapsed",
+ "count": "Count",
+ "payloads": "Payloads",
+ "viewPayloads": "View",
+ "activeCount": "{count} active",
+ "clientPayload": "Client Request Payload",
+ "upstreamPayload": "Upstream Provider Payload",
+ "upstreamNotSentYet": "Not sent to upstream yet",
+ "runningRequestDetailMeta": "Account: {account} — Elapsed: {elapsed}",
+ "export": "Export",
+ "exporting": "Exporting...",
+ "exportFailed": "Export failed",
+ "timeRange": "Time Range",
+ "lastNHours": "Last {hours}",
+ "defaultRange": "default",
+ "consoleViewer": {
+ "fetchFailed": "Failed to fetch logs",
+ "copyFailed": "Failed to copy log entry",
+ "copyLogEntry": "Copy log entry"
+ }
+ },
+ "onboarding": {
+ "welcome": "Welcome",
+ "security": "Security",
+ "test": "Test",
+ "ready": "Ready!",
+ "setPassword": "Set Password",
+ "addProvider": "Add your first provider",
+ "getStarted": "Get Started",
+ "skip": "Skip",
+ "skipWizard": "Skip wizard entirely",
+ "skipPassword": "Skip password setup",
+ "skipAndContinue": "Skip & Continue",
+ "passwordLabel": "Password",
+ "confirmPassword": "Confirm Password",
+ "enterPassword": "Enter password",
+ "confirmPasswordPlaceholder": "Confirm password",
+ "passwordsMismatch": "Passwords do not match",
+ "setupComplete": "Setup Complete!",
+ "goToDashboard": "Go to Dashboard →",
+ "welcomeDesc": "OmniRoute is your local AI API proxy. It routes requests to multiple AI providers with load balancing, failover, and usage tracking.",
+ "multiProvider": "Multi-Provider",
+ "usageTracking": "Usage Tracking",
+ "apiKeyMgmt": "API Key Mgmt",
+ "securityDesc": "Set a password to protect your dashboard, or skip for now.",
+ "providerDesc": "Connect your first AI provider. You can add more later.",
+ "apiKeyRequired": "API Key (required)",
+ "customUrlOptional": "Custom URL (optional)",
+ "testDesc": "Let's verify your provider connection works.",
+ "runTest": "Run Connection Test",
+ "testingConnection": "Testing connection...",
+ "connectionSuccessful": "Connection successful! Your provider is ready.",
+ "noProviderFound": "No provider found. You can add one from the dashboard later.",
+ "testFailed": "Test failed, but you can configure this later.",
+ "couldNotTest": "Could not test right now. You can test from the dashboard.",
+ "doneDesc": "You're all set! Your OmniRoute instance is configured and ready to proxy AI requests.",
+ "yourEndpoint": "Your endpoint:",
+ "continue": "Continue",
+ "retry": "Retry",
+ "failedSetPassword": "Failed to set password. Try again.",
+ "failedAddProvider": "Failed to add provider. Try again.",
+ "connectionError": "Connection error. Please try again.",
+ "provider": "Provider"
+ },
+ "providers": {
+ "title": "Providers",
+ "addProvider": "Add Provider",
+ "editProvider": "Edit Provider",
+ "deleteProvider": "Delete Provider",
+ "noProviders": "No providers configured",
+ "modelAvailability": "Model Availability",
+ "accounts": "Accounts",
+ "newAccount": "New Account",
+ "deleteConfirm": "Are you sure you want to delete this provider?",
+ "testing": "Testing...",
+ "testConnection": "Test Connection",
+ "testSuccess": "Connection successful",
+ "testFailed": "Connection failed",
+ "available": "Available",
+ "cooldown": "Cooldown",
+ "unavailable": "Unavailable",
+ "unknown": "Unknown",
+ "oauthLabel": "OAuth",
+ "compatibleLabel": "Compatible",
+ "chat": "Chat",
+ "responses": "Responses",
+ "messages": "Messages",
+ "oauthProviders": "OAuth Providers",
+ "freeProviders": "Free Providers",
+ "apiKeyProviders": "API Key Providers",
+ "compatibleProviders": "API Key Compatible Providers",
+ "testAll": "Test All",
+ "testAllOAuth": "Test all OAuth connections",
+ "testAllFree": "Test all Free connections",
+ "testAllApiKey": "Test all API Key connections",
+ "testAllCompatible": "Test all Compatible connections",
+ "connected": "{count} Connected",
+ "errorCount": "{count} Error ({code})",
+ "errorCountNoCode": "{count} Error",
+ "noConnections": "No connections",
+ "expiredBadge": "Expired",
+ "expiringSoonBadge": "Expiring Soon",
+ "freeTier": "Free Tier",
+ "freeTierAvailable": "Free tier available",
+ "deprecated": "Deprecated",
+ "deprecatedProvider": "This provider has been deprecated",
+ "disabled": "Disabled",
+ "enableProvider": "Enable provider",
+ "disableProvider": "Disable provider",
+ "testResults": "Test Results",
+ "noCompatibleYet": "No compatible providers added yet",
+ "compatibleHint": "Use the buttons above to add OpenAI or Anthropic compatible endpoints",
+ "addOpenAICompatible": "Add OpenAI Compatible",
+ "addAnthropicCompatible": "Add Anthropic Compatible",
+ "addNewProvider": "Add New Provider",
+ "backToProviders": "Back to Providers",
+ "configureNewProvider": "Configure a new AI provider to use with your applications.",
+ "providerLabel": "Provider",
+ "selectProvider": "Select a provider",
+ "selectedProvider": "Selected provider",
+ "authMethod": "Authentication Method",
+ "apiKeyLabel": "API Key",
+ "apiKeyRequired": "API Key is required",
+ "selectProviderRequired": "Please select a provider",
+ "enterApiKey": "Enter your API key",
+ "apiKeySecure": "Your API key will be encrypted and stored securely.",
+ "oauth2Connect": "Connect with OAuth2",
+ "oauth2Label": "OAuth2",
+ "oauth2Desc": "Connect your account using OAuth2 authentication.",
+ "displayName": "Display Name",
+ "displayNamePlaceholder": "e.g., Production API, Dev Environment",
+ "displayNameHint": "Optional. A friendly name to identify this configuration.",
+ "active": "Active",
+ "activeDescription": "Enable this provider for use in your applications",
+ "cancel": "Cancel",
+ "createProvider": "Create Provider",
+ "failedCreate": "Failed to create provider",
+ "errorOccurred": "An error occurred. Please try again.",
+ "modelStatus": "Model Status",
+ "showConfiguredOnly": "Configured only",
+ "allModelsOperational": "All models operational",
+ "modelsWithIssues": "{count} model(s) with issues",
+ "allModelsNormal": "All models are responding normally.",
+ "cooldownCleared": "Cooldown cleared for {model}",
+ "failedClearCooldown": "Failed to clear cooldown",
+ "loadingAvailability": "Loading model availability...",
+ "clearCooldown": "Clear",
+ "clearing": "Clearing...",
+ "until": "Until {time}",
+ "providerTestFailed": "Provider test failed",
+ "providerTestTimeout": "Provider test timed out — too many connections to test at once",
+ "modeTest": "{mode} Test",
+ "passedCount": "{count} passed",
+ "failedCount": "{count} failed",
+ "testedCount": "{count} tested",
+ "millisecondsAbbr": "{value}ms",
+ "okShort": "OK",
+ "errorShort": "ERROR",
+ "noActiveConnectionsInGroup": "No active connections found for this group.",
+ "allTestsPassed": "All {total} tests passed",
+ "testSummary": "{passed}/{total} passed, {failed} failed",
+ "nameLabel": "Name",
+ "prefixLabel": "Prefix",
+ "baseUrlLabel": "Base URL",
+ "apiTypeLabel": "API Type",
+ "prefixHint": "Required. Unique prefix for model names.",
+ "nameHint": "Required. A friendly label for this node.",
+ "baseUrlHint": "Required.  Provider API base URL.",
+ "anthropicPrefixPlaceholder": "ac-prod",
+ "openaiPrefixPlaceholder": "oc-prod",
+ "anthropicBaseUrlPlaceholder": "https://api.anthropic.com/v1",
+ "openaiBaseUrlPlaceholder": "https://api.openai.com/v1",
+ "validateConnection": "Validate Connection",
+ "validating": "Validating...",
+ "connectionValid": "Connection is valid!",
+ "connectionFailed": "Connection failed. Check URL and key.",
+ "testKeyLabel": "Test API Key",
+ "testKeyPlaceholder": "sk-... (for validation only)",
+ "providerNotFound": "Provider not found",
+ "deleteConnectionConfirm": "Delete this connection?",
+ "batchDeleteSelected": "Delete Selected ({count})",
+ "batchDeleteConfirm": "Delete {count} connection(s)? This action cannot be undone.",
+ "batchDeleteSuccess": "Deleted {count} connection(s)",
+ "failedSetAlias": "Failed to set alias",
+ "failedSaveConnection": "Failed to save connection",
+ "failedSaveConnectionRetry": "Failed to save connection. Please try again.",
+ "failedRetestConnection": "Failed to retest connection",
+ "deleteCompatibleNodeConfirm": "Delete this {type} Compatible node?",
+ "anthropicCompatibleDetails": "Anthropic Compatible Details",
+ "openaiCompatibleDetails": "OpenAI Compatible Details",
+ "messagesApi": "Messages API",
+ "responsesApi": "Responses API",
+ "embeddings": "Embeddings",
+ "audioTranscriptions": "Audio Transcriptions",
+ "audioSpeech": "Audio Speech",
+ "imagesGenerations": "Images Generations",
+ "chatCompletions": "Chat Completions",
+ "importingModels": "Importing...",
+ "importFromModels": "Import from /models",
+ "modelsImported": "{count} models imported",
+ "allModelsAlreadyImported": "All models already imported",
+ "noNewModelsToImport": "No new models to import — all models are already in the registry or custom models list",
+ "skippingExistingModels": "Skipping {count} existing models",
+ "autoSync": "Auto-Sync",
+ "autoSyncTooltip": "Automatically refresh model list every 24h (configurable via MODEL_SYNC_INTERVAL_HOURS)",
+ "autoSyncEnabled": "Auto-sync enabled — models will refresh periodically",
+ "autoSyncDisabled": "Auto-sync disabled",
+ "autoSyncToggleFailed": "Failed to toggle auto-sync",
+ "clearAllModels": "Clear All Models",
+ "clearAllModelsConfirm": "Are you sure you want to remove all models for this provider? This cannot be undone.",
+ "clearAllModelsSuccess": "All models cleared",
+ "clearAllModelsFailed": "Failed to clear models",
+ "addConnectionToImport": "Add a connection to enable importing.",
+ "noModelsConfigured": "No models configured",
+ "connectionCount": "{count} connection(s)",
+ "fetchingModels": "Fetching available models...",
+ "failedFetchModels": "Failed to fetch models",
+ "noModelsFound": "No models found",
+ "importFailed": "Import failed",
+ "noNewModelsAdded": "No new models were added.",
+ "adding": "Adding...",
+ "close": "Close",
+ "importingModelsTitle": "Importing Models",
+ "copyModel": "Copy model",
+ "filterModels": "Filter models...",
+ "modelsActive": "Active",
+ "showModel": "Show model",
+ "hideModel": "Hide model",
+ "removeModel": "Remove model",
+ "rateLimitProtected": "Protected",
+ "rateLimitUnprotected": "Unprotected",
+ "enableRateLimitProtection": "Click to enable rate limit protection",
+ "disableRateLimitProtection": "Click to disable rate limit protection",
+ "productionKey": "Production Key",
+ "enterNewApiKey": "Enter new API key",
+ "optional": "Optional",
+ "anthropicCompatibleName": "Anthropic Compatible",
+ "openaiCompatibleName": "OpenAI Compatible",
+ "failedImportModels": "Failed to import models",
+ "noModelsReturnedFromEndpoint": "No models returned from /models endpoint.",
+ "importingModelsProgress": "Importing {current} of {total} models...",
+ "foundModelsStartingImport": "Found {count} models. Starting import...",
+ "importingModelById": "Importing {modelId}...",
+ "importSuccessCount": "Successfully imported {count, plural, one {# model} other {# models}}!",
+ "noNewModelsAddedExisting": "No new models were added (all already exist).",
+ "importDoneCount": "✓ Done! {count, plural, one {# model imported.} other {# models imported.}}",
+ "unexpectedErrorOccurred": "An unexpected error occurred",
+ "connectionCountLabel": "{count, plural, one {# connection} other {# connections}}",
+ "messagesPath": "messages",
+ "responsesPath": "responses",
+ "chatCompletionsPath": "chat/completions",
+ "add": "Add",
+ "edit": "Edit",
+ "delete": "Delete",
+ "anthropic": "Anthropic",
+ "openai": "OpenAI",
+ "singleConnectionPerCompatible": "Only one connection is allowed per compatible node. Add another node if you need more connections.",
+ "connections": "Connections",
+ "providerProxyTitleConfigured": "Provider proxy: {host}",
+ "configured": "configured",
+ "providerProxyConfigureHint": "Configure proxy for all connections of this provider",
+ "providerProxy": "Provider Proxy",
+ "repairEnv": "Repair env",
+ "repairEnvWorking": "Repairing...",
+ "repairEnvHint": "Restore missing OAuth defaults into .env without overwriting existing values.",
+ "repairEnvSuccess": "OAuth defaults restored",
+ "repairEnvFailed": "Failed to repair .env",
+ "noConnectionsYet": "No connections yet",
+ "addFirstConnectionHint": "Add your first connection to get started",
+ "addConnection": "Add Connection",
+ "availableModels": "Available Models",
+ "builtInModels": "Built-in models",
+ "builtInModelsHint": "Registry models for this provider. Use the pencil to set compatibility options.",
+ "pageAutoRefresh": "Page will refresh automatically...",
+ "statusDisabled": "disabled",
+ "statusConnected": "connected",
+ "statusRuntimeIssue": "runtime issue",
+ "statusAuthFailed": "auth failed",
+ "statusRateLimited": "rate limited",
+ "statusNetworkIssue": "network issue",
+ "statusTestUnsupported": "test unsupported",
+ "statusUnavailable": "unavailable",
+ "statusFailed": "failed",
+ "statusError": "error",
+ "oauthAccount": "OAuth Account",
+ "errorTypeRuntime": "Local runtime",
+ "errorTypeUpstreamAuth": "Upstream auth",
+ "errorTypeMissingCredential": "Missing credential",
+ "errorTypeRefreshFailed": "Refresh failed",
+ "errorTypeTokenExpired": "Token expired",
+ "errorTypeRateLimited": "Rate limited",
+ "errorTypeUpstreamUnavailable": "Upstream unavailable",
+ "errorTypeNetworkError": "Network error",
+ "errorTypeTestUnsupported": "Test unsupported",
+ "errorTypeUpstreamError": "Upstream error",
+ "proxySourceGlobal": "Global",
+ "proxySourceProvider": "Provider",
+ "proxySourceKey": "Key",
+ "proxyConfiguredBySource": "Proxy ({source}): {host}",
+ "autoPriority": "Auto: {priority}",
+ "proxy": "Proxy",
+ "retestAuthentication": "Retest authentication",
+ "retest": "Retest",
+ "disableConnection": "Disable connection",
+ "enableConnection": "Enable connection",
+ "reauthenticateConnection": "Re-authenticate this connection",
+ "proxyConfig": "Proxy config",
+ "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)",
+ "openRouterModelPlaceholder": "anthropic/claude-3-opus",
+ "customModels": "Custom Models",
+ "customModelsHint": "Add model IDs not in the default list. These will be available for routing.",
+ "normalizeToolCallIdLabel": "Normalize tool call IDs to 9 characters (e.g. Mistral)",
+ "preserveDeveloperRoleLabel": "Keep OpenAI Responses developer role (do not map to system)",
+ "compatAdjustmentsTitle": "Compatibility",
+ "compatButtonLabel": "Compatibility",
+ "compatToolIdShort": "Tool ID 9",
+ "compatDeveloperShort": "Developer role",
+ "compatDoNotPreserveDeveloper": "Do not preserve developer role",
+ "compatBadgeNoPreserve": "No preserve",
+ "compatProtocolLabel": "Client request protocol",
+ "compatProtocolHint": "These options apply when OmniRoute detects this request shape (OpenAI Chat, Responses API, or Anthropic Messages).",
+ "compatProtocolOpenAI": "OpenAI Chat Completions",
+ "compatProtocolOpenAIResponses": "OpenAI Responses API",
+ "compatProtocolClaude": "Anthropic Messages",
+ "compatUpstreamHeadersLabel": "Extra upstream headers",
+ "compatUpstreamHeadersHint": "High-privilege setting — same trust level as editing provider API credentials; only trusted admins should use it. Merged after OmniRoute adds auth from the provider API key. If a custom header uses the same name as an existing one (e.g. Authorization), your value fully replaces the auto-generated header (including the Bearer token) — the upstream only sees what you typed, not the key from settings. Misconfiguration can cause 401 or broken upstream auth. One row per header (e.g. extra Authentication for some gateways). Hover or focus the value to preview. Saves on blur, outside click, or closing this panel.",
+ "compatUpstreamHeaderName": "Header name",
+ "compatUpstreamHeaderValue": "Value",
+ "compatUpstreamAddRow": "Add header",
+ "compatUpstreamRemoveRow": "Remove row",
+ "compatBadgeUpstreamHeaders": "Headers",
+ "perModelQuotaLabel": "Per-Model Quota",
+ "perModelQuotaDescription": "When enabled, 429/404 errors only lock the specific model, not the entire connection. Use for providers with per-model rate limits (e.g., ModelScope).",
+ "perModelQuotaToggle": "Per-Model Quota Toggle",
+ "modelId": "Model ID",
+ "customModelPlaceholder": "e.g. gpt-4.5-turbo",
+ "loading": "Loading...",
+ "removeCustomModel": "Remove custom model",
+ "noCustomModels": "No custom models added yet.",
+ "allSuggestedAliasesExist": "All suggested aliases already exist. Please choose a different model or remove conflicting aliases.",
+ "failedSaveCustomModel": "Failed to save custom model",
+ "modelAddedSuccess": "Model {modelId} added successfully",
+ "failedAddModelTryAgain": "Failed to add model. Please try again.",
+ "failedSaveImportedModel": "Failed to save imported model to custom database",
+ "failedImportModelsTryAgain": "Failed to import models. Please try again.",
+ "failedRemoveModelFromDatabase": "Failed to remove model from database",
+ "modelRemovedSuccess": "Model removed successfully",
+ "failedDeleteModelTryAgain": "Failed to delete model. Please try again.",
+ "compatibleModelsDescription": "Add {type}-compatible models manually or import them from the /models endpoint.",
+ "anthropicCompatibleModelPlaceholder": "claude-3-opus-20240229",
+ "openaiCompatibleModelPlaceholder": "gpt-4o",
+ "apiKeyValidationFailed": "API key validation failed. Please check your key and try again.",
+ "addProviderApiKeyTitle": "Add {provider} API Key",
+ "checking": "Checking...",
+ "check": "Check",
+ "valid": "Valid",
+ "invalid": "Invalid",
+ "creating": "Creating...",
+ "validationChecksAnthropicCompatible": "Validation checks {provider} by verifying the API key.",
+ "validationChecksOpenAiCompatible": "Validation checks {provider} via /models on your base URL.",
+ "priorityLabel": "Priority",
+ "saving": "Saving...",
+ "save": "Save",
+ "editConnection": "Edit Connection",
+ "accountName": "Account name",
+ "email": "Email",
+ "healthCheckMinutes": "Health Check (min)",
+ "healthCheckHint": "Proactive token refresh interval. 0 = disabled.",
+ "selectAllModels": "Select all",
+ "deselectAllModels": "Deselect all",
+ "modelsActiveCount": "{active}/{total} active",
+ "noModelsMatch": "No models match \"{filter}\"",
+ "groupLabel": "Environment",
+ "groupPlaceholder": "e.g. eKaizen, Personal",
+ "failedTestConnection": "Failed to test connection",
+ "failed": "Failed",
+ "leaveBlankKeepCurrentApiKey": "Leave blank to keep the current API key.",
+ "editCompatibleTitle": "Edit {type} Compatible",
+ "compatibleBaseUrlHint": "Root URL of your {type}-compatible API. Use Advanced Settings for custom endpoint paths.",
+ "apiKeyForCheck": "API Key (for Check)",
+ "compatibleProdPlaceholder": "{type} Compatible (Prod)",
+ "tokenRefreshed": "Token refreshed successfully",
+ "tokenRefreshFailed": "Token refresh failed",
+ "applyCodexAuthLocal": "Apply auth",
+ "exportCodexAuthFile": "Export auth",
+ "codexAuthAppliedLocal": "Codex auth.json applied locally",
+ "codexAuthApplyFailed": "Failed to apply Codex auth.json locally",
+ "codexAuthExported": "Codex auth.json exported",
+ "codexAuthExportFailed": "Failed to export Codex auth.json",
+ "advancedSettings": "Advanced Settings",
+ "chatPathLabel": "Chat Endpoint Path",
+ "chatPathPlaceholder": "/chat/completions",
+ "chatPathHint": "Custom chat path for providers with non-standard APIs (e.g. /v4/chat/completions)",
+ "modelsPathLabel": "Models Endpoint Path",
+ "modelsPathPlaceholder": "/models",
+ "modelsPathHint": "Custom models path for validation (e.g. /v4/models)",
+ "statusDeactivated": "Deactivated (Manual)",
+ "statusBanned": "Banned / Sandbox Violation",
+ "statusCreditsExhausted": "Insufficient Balance / Quota Exhausted",
+ "showEmails": "Show all emails",
+ "hideEmails": "Hide all emails",
+ "a": "A",
+ "accountConcurrencyCapHint": "Account Concurrency Cap Hint",
+ "accountConcurrencyCapLabel": "Account Concurrency Cap Label",
+ "accountIdHint": "Account Id Hint",
+ "accountIdLabel": "Account Id Label",
+ "accountIdPlaceholder": "Account Id Placeholder",
+ "addAnotherApiKey": "Add another API key or paste multiple keys",
+ "addCcCompatible": "Add CC Compatible",
+ "aggregatorsGateways": "Aggregators Gateways",
+ "enterpriseCloud": "Enterprise & Cloud",
+ "apiFormatLabel": "Api Format Label",
+ "apiKeyOptionalHint": "Api Key Optional Hint",
+ "apiKeyOptionalLabel": "Api Key Optional Label",
+ "apiRegionChina": "Api Region China",
+ "apiRegionHint": "Api Region Hint",
+ "apiRegionInternational": "Api Region International",
+ "apiRegionLabel": "Api Region Label",
+ "apikey": "Apikey",
+ "audio": "Audio",
+ "audioProvidersHeading": "Audio Providers Heading",
+ "cloudAgentProviders": "Cloud Agent Providers",
+ "audioShortLabel": "Audio Short Label",
+ "azureOpenAiBaseUrlHint": "Azure Open Ai Base Url Hint",
+ "bailianBaseUrlHint": "Bailian Base Url Hint",
+ "blackboxWebCookieHint": "Blackbox Web Cookie Hint",
+ "blackboxWebCookiePlaceholder": "Blackbox Web Cookie Placeholder",
+ "blockClaudeExtraUsageDescription": "Hide extra Claude usage rows reported by some providers when they duplicate primary token accounting.",
+ "blockClaudeExtraUsageLabel": "Block duplicate Claude usage rows",
+ "bulkPasteAdded": "{count, plural, one {1 key added} other {# keys added}}",
+ "bulkPasteDuplicatesIgnored": "{count, plural, one {1 duplicate skipped} other {# duplicates skipped}}",
+ "bulkPasteHint": "Paste one API key per line. Empty lines are ignored and duplicate keys are skipped.",
+ "ccCompatibleBaseUrlHint": "Base URL for a Claude Code-only relay. Do not include /messages.",
+ "ccCompatibleBaseUrlPlaceholder": "https://relay.example.com/v1",
+ "ccCompatibleChatPathHint": "Defaults to Claude Code's strict Messages API path. Change only if your relay documents a different path.",
+ "ccCompatibleContext1mDescription": "Adds the context-1m beta header when the selected Claude model supports it.",
+ "ccCompatibleContext1mLabel": "Enable 1M context beta",
+ "ccCompatibleDetailsTitle": "CC-compatible relay details",
+ "ccCompatibleLabel": "CC Compatible",
+ "ccCompatibleModelsDescription": "CC-compatible relays do not expose model listing. Add the Claude model IDs your relay accepts.",
+ "ccCompatibleNameHint": "Display name for this Claude Code-only relay.",
+ "ccCompatibleNamePlaceholder": "CC Relay Production",
+ "ccCompatiblePrefixHint": "Used in model aliases such as prefix/model-id.",
+ "ccCompatiblePrefixPlaceholder": "cc",
+ "ccCompatibleValidationHint": "Use this provider only for relays that serve Claude Code clients exclusively. OmniRoute rewrites any incoming request into the Claude Code-compatible wire format so those relays accept it. If you only want to use Claude Code CLI, or you are not sure what this relay type means, use a regular Anthropic-compatible provider instead.",
+ "claudeExtraUsageShort": "Extra usage",
+ "claudeExtraUsageToggleTitle": "Block Claude extra usage accounting for this connection",
+ "codex5hToggleTitle": "Track Codex 5-hour quota for this connection",
+ "codexFastServiceTierDescription": "Use the priority service tier for Codex requests when available.",
+ "codexFastServiceTierLabel": "Codex fast service tier",
+ "codexWeeklyToggleTitle": "Track Codex weekly quota for this connection",
+ "compatUpstreamHeaderNamePlaceholder": "Compat Upstream Header Name Placeholder",
+ "compatUpstreamHeaderValuePlaceholder": "Compat Upstream Header Value Placeholder",
+ "compatible": "Compatible",
+ "configuredCount": "Configured Count",
+ "consoleApiKeyOracleHint": "Console Api Key Oracle Hint",
+ "consoleApiKeyOracleLabel": "Console Api Key Oracle Label",
+ "consoleApiKeyOraclePlaceholder": "Console Api Key Oracle Placeholder",
+ "cpaModeDisabledTitle": "CLIProxyAPI compatibility mode is disabled",
+ "cpaModeEnabledTitle": "CLIProxyAPI compatibility mode is enabled",
+ "customUserAgentHint": "Custom User Agent Hint",
+ "customUserAgentLabel": "Custom User Agent Label",
+ "databricksBaseUrlHint": "Databricks Base Url Hint",
+ "defaultThinkingStrengthHint": "Used when a request does not specify reasoning effort.",
+ "defaultThinkingStrengthLabel": "Default thinking strength",
+ "deleteAllExtraApiKeys": "Delete all",
+ "excludedModelsHint": "Excluded Models Hint",
+ "excludedModelsLabel": "Excluded Models Label",
+ "excludedModelsPlaceholder": "Excluded Models Placeholder",
+ "expirationBannerExpired": "Expiration Banner Expired",
+ "expirationBannerExpiredDesc": "Expiration Banner Expired Desc",
+ "expirationBannerExpiringSoon": "Expiration Banner Expiring Soon",
+ "expirationBannerExpiringSoonDesc": "Expiration Banner Expiring Soon Desc",
+ "extraApiKeyMasked": "Key {index}: {prefix}••••{suffix}",
+ "extraApiKeysHint": "Extra Api Keys Hint",
+ "extraApiKeysLabel": "Extra Api Keys Label",
+ "googlePseInfo": "Google Pse Info",
+ "geminiCliProjectIdHint": "Your Google Cloud Project ID. Required for accounts with exceptions. Enter your GCP Project ID to use with Gemini CLI.",
+ "geminiCliProjectIdLabel": "Google Cloud Project ID",
+ "geminiCliProjectIdPlaceholder": "my-gcp-project-id",
+ "antigravityProjectIdHint": "Optional override for Antigravity Cloud Code requests. Leave blank to use the project discovered during Google OAuth.",
+ "antigravityProjectIdLabel": "Google Cloud Project ID",
+ "antigravityProjectIdPlaceholder": "my-gcp-project-id",
+ "grokWebCookieHint": "Grok Web Cookie Hint",
+ "grokWebCookiePlaceholder": "Grok Web Cookie Placeholder",
+ "herokuBaseUrlHint": "Heroku Base Url Hint",
+ "hideEmail": "Hide Email",
+ "imageProviders": "Image Providers",
+ "videoProviders": "Video Generation",
+ "embeddingRerankProviders": "Embeddings & Rerank",
+ "imagesShortLabel": "Images Short Label",
+ "llmProviders": "Llm Providers",
+ "localProviderApiKeyOptionalHint": "Local Provider Api Key Optional Hint",
+ "localProviderBaseUrlHint": "Local Provider Base Url Hint",
+ "localProviders": "Local Providers",
+ "maxConcurrentWholeNumberError": "Max Concurrent Whole Number Error",
+ "museSparkWebCookieHint": "Muse Spark Web Cookie Hint",
+ "museSparkWebCookiePlaceholder": "Muse Spark Web Cookie Placeholder",
+ "oauth": "Oauth",
+ "openCliTools": "Open Cli Tools",
+ "openSettings": "Open Settings",
+ "openaiResponsesStoreDescription": "Allow compatible Responses API requests to preserve stored response state.",
+ "openaiResponsesStoreLabel": "OpenAI Responses store",
+ "perplexitySearchSharedKeyInfo": "Perplexity Search Shared Key Info",
+ "perplexityWebCookieHint": "Perplexity Web Cookie Hint",
+ "perplexityWebCookiePlaceholder": "Perplexity Web Cookie Placeholder",
+ "personalAccessTokenLabel": "Personal Access Token Label",
+ "qoderPatHint": "Qoder Pat Hint",
+ "qoderPatPlaceholder": "Qoder Pat Placeholder",
+ "refreshOauthTokenTitle": "Refresh Oauth Token Title",
+ "regionHint": "Region Hint",
+ "regionLabel": "Region Label",
+ "removeThisKey": "Remove This Key",
+ "routingTagsHint": "Routing Tags Hint",
+ "routingTagsLabel": "Routing Tags Label",
+ "routingTagsPlaceholder": "Routing Tags Placeholder",
+ "search": "Search",
+ "searchEngineIdHint": "Search Engine Id Hint",
+ "searchEngineIdLabel": "Search Engine Id Label",
+ "searchEngineIdRequired": "Search Engine Id Required",
+ "searchProvider": "Search Provider",
+ "searchProviderDesc": "Search Provider Desc",
+ "searchProviders": "Search Providers",
+ "searchProvidersHeading": "Search Providers Heading",
+ "searxngBaseUrlHint": "Searxng Base Url Hint",
+ "searxngInfo": "Searxng Info",
+ "sessionCookieLabel": "Session Cookie Label",
+ "showEmail": "Show Email",
+ "snowflakeBaseUrlHint": "Snowflake Base Url Hint",
+ "supportedEndpointAudio": "Audio",
+ "supportedEndpointChat": "Chat",
+ "supportedEndpointEmbeddings": "Embeddings",
+ "supportedEndpointImages": "Images",
+ "supportedEndpointsLabel": "Supported endpoints",
+ "tagGroupHint": "Tag Group Hint",
+ "tagGroupLabel": "Tag Group Label",
+ "tagGroupPlaceholder": "Tag Group Placeholder",
+ "testModel": "Test Model",
+ "testingModel": "Testing Model",
+ "toggleOffShort": "Off",
+ "toggleOnShort": "On",
+ "tokenExpiredBadge": "Token Expired Badge",
+ "tokenExpiredTitle": "Token Expired Title",
+ "tokenExpiresSoonTitle": "Token Expires Soon Title",
+ "tokenShort": "Token Short",
+ "totalKeysRotating": "{count, plural, one {1 key rotating} other {# keys rotating}}",
+ "unhideModel": "Unhide Model",
+ "upstreamProxyProviders": "Upstream Proxy Providers",
+ "validationModelIdHint": "Validation Model Id Hint",
+ "validationModelIdLabel": "Validation Model Id Label",
+ "validationModelIdPlaceholder": "Validation Model Id Placeholder",
+ "vertexServiceAccountPlaceholder": "Vertex Service Account Placeholder",
+ "webCookieProviders": "Web Cookie Providers",
+ "weeklyShort": "Weekly Short",
+ "xiaomiMimoBaseUrlHint": "Xiaomi Mimo Base Url Hint",
+ "zedImportButton": "Zed Import Button",
+ "zedImportFailed": "Zed Import Failed",
+ "zedImportHint": "Zed Import Hint",
+ "zedImportNetworkError": "Zed Import Network Error",
+ "zedImportNone": "Zed Import None",
+ "zedImportSuccess": "Zed Import Success",
+ "zedImporting": "Zed Importing"
+ },
+ "settings": {
+ "title": "Settings",
+ "general": "General",
+ "security": "Security",
+ "appearance": "Appearance",
+ "routing": "Routing",
+ "cache": "Cache",
+ "resilience": "Resilience",
+ "systemPrompt": "System Prompt",
+ "thinkingBudget": "Thinking Budget",
+ "proxy": "Proxy",
+ "httpProxy": "HTTP Proxy",
+ "1proxy": "1proxy",
+ "proxySubTabsAria": "Proxy sections",
+ "requestBodyLimitTitle": "Request Body Limit",
+ "requestBodyLimitDescription": "Maximum API payload size accepted before a request body is parsed. Dedicated upload routes keep at least their built-in 100 MB limit.",
+ "requestBodyLimitInputLabel": "Request body limit in MB",
+ "requestBodyLimitEmptyError": "Enter a limit in MB",
+ "requestBodyLimitWholeNumberError": "Use a whole number",
+ "requestBodyLimitMinimumError": "Minimum is {min} MB",
+ "requestBodyLimitMaximumError": "Maximum is {max} MB",
+ "requestBodyLimitLoadFailed": "Failed to load request limit settings",
+ "requestBodyLimitSaveSuccess": "Request body limit saved",
+ "requestBodyLimitSaveFailed": "Failed to save request body limit",
+ "requestBodyLimitSaving": "Saving...",
+ "requestBodyLimitSave": "Save",
+ "requestBodyLimitCurrent": "Current: {value}",
+ "mitmProxy": "MITM Proxy",
+ "pricing": "Pricing",
+ "storage": "Storage",
+ "policies": "Policies",
+ "ipFilter": "IP Filter",
+ "comboDefaults": "Combo Defaults",
+ "fallbackChains": "Fallback Chains",
+ "changePassword": "Change Password",
+ "enablePassword": "Enable Password",
+ "darkMode": "Dark Mode",
+ "lightMode": "Light Mode",
+ "memoryTitle": "Memory",
+ "memoryDesc": "Persistent cross-session conversational memory",
+ "memoryEnabled": "Enable Memory",
+ "memoryEnabledDesc": "When enabled, OmniRoute will inject relevant past context.",
+ "maxTokens": "Max Tokens",
+ "retentionDays": "Retention",
+ "recent": "Recent",
+ "recentDesc": "Chronological window",
+ "semantic": "Semantic",
+ "semanticDesc": "Vector search",
+ "hybrid": "Hybrid",
+ "hybridDesc": "Recent + Semantic",
+ "skillsTitle": "Skills",
+ "skillsDesc": "Tools for models",
+ "skillsEnabled": "Enable Skills",
+ "skillsEnabledDesc": "Allows agents to trigger functions.",
+ "skillsComingSoon": "Skills marketplace coming soon.",
+ "memorySkillsTitle": "Memory & Skills",
+ "memorySkillsDesc": "Persistent context & capabilities",
+ "modelsDevTitle": "Model Database",
+ "modelsDevDesc": "Auto-sync pricing, capabilities & specs from models.dev",
+ "modelsDevEnabled": "Enable models.dev Sync",
+ "modelsDevEnabledDesc": "Fetch model pricing, capabilities, and specs from the open-source models.dev database",
+ "modelsDevInterval": "Sync Interval",
+ "syncNow": "Sync Now",
+ "syncing": "Syncing...",
+ "lastSync": "Last sync",
+ "never": "Never",
+ "justNow": "Just now",
+ "modelsDevStats": "Sync Statistics",
+ "modelsDevStatsDesc": "Current models.dev data coverage",
+ "providers": "Providers",
+ "modelsWithPricing": "Models with Pricing",
+ "capabilities": "Capabilities",
+ "lastSyncCount": "Last Sync Count",
+ "lastSyncFull": "Last full sync",
+ "modelsDevInfo": "How It Works",
+ "modelsDevInfoDesc": "models.dev is an open-source database of AI model specifications maintained by the SST/OpenCode team. It provides pricing, capabilities, context limits, and modalities for 4,000+ models across 100+ providers.",
+ "modelsDevInfoResolution": "Pricing resolution order (highest priority first):",
+ "modelsDevInfoOrder": "User Override → models.dev → LiteLLM → Hardcoded Default",
+ "systemTheme": "System Theme",
+ "debugToggle": "Enable Debug Mode",
+ "sidebarVisibilityToggle": "Show Sidebar Items",
+ "enableCache": "Enable Cache",
+ "cacheTTL": "Cache TTL",
+ "maxCacheSize": "Max Cache Size",
+ "clearCache": "Clear Cache",
+ "cacheCleared": "Cache cleared successfully",
+ "clearCacheFailed": "Failed to clear cache",
+ "cacheHits": "Cache Hits",
+ "cacheMisses": "Cache Misses",
+ "hitRate": "Hit Rate",
+ "cacheEntries": "Cache Entries",
+ "cacheSettings": "Cache Settings",
+ "semanticCache": "Semantic Cache",
+ "maxEntries": "Max Entries",
+ "ttlMinutes": "TTL (minutes)",
+ "promptCache": "Prompt Cache",
+ "strategy": "Strategy",
+ "preserveClientCache": "Preserve Client Cache",
+ "enabled": "Enabled",
+ "loading": "Loading...",
+ "saving": "Saving...",
+ "save": "Save",
+ "circuitBreaker": "Circuit Breaker",
+ "retryPolicy": "Retry Policy",
+ "maxRetries": "Max Retries",
+ "retryDelay": "Retry Delay",
+ "timeoutMs": "Timeout (ms)",
+ "enableSystemPrompt": "Enable System Prompt",
+ "systemPromptText": "System Prompt Text",
+ "autoDisableBannedAccounts": "Auto-Disable Banned Accounts",
+ "autoDisableDescription": "Permanently mark provider connections as deactivated if they return specific terminal ban signals (e.g. HTTP 403 'verify your account'). This removes them from the combo rotation.",
+ "autoDisableThreshold": "Ban Threshold",
+ "autoDisableThresholdDesc": "Consecutive ban signals required before permanent deactivation.",
+ "resilienceStructureTitle": "Resilience Structure",
+ "resilienceStructureDesc": "This page only configures behavior. Live breaker state is shown on the Health page. Combo-specific retry and round-robin slot control remain on combo settings.",
+ "enableThinking": "Enable Thinking",
+ "maxThinkingTokens": "Max Thinking Tokens",
+ "enableProxy": "Enable Proxy",
+ "proxyUrl": "Proxy URL",
+ "pricingRates": "Pricing Rates Format",
+ "currentPricing": "Current Pricing Overview",
+ "loadingPricing": "Loading pricing data...",
+ "noPricing": "No pricing data available",
+ "input": "Input",
+ "output": "Output",
+ "cached": "Cached",
+ "reasoning": "Reasoning",
+ "cacheCreation": "Cache Creation",
+ "customPricing": "Custom Pricing",
+ "databaseSize": "Database Size",
+ "backupDb": "Backup Database",
+ "restoreDb": "Restore Database",
+ "exportData": "Export Data",
+ "importData": "Import Data",
+ "clearData": "Clear All Data",
+ "clearDataConfirm": "This will permanently delete all data. Are you sure?",
+ "enableRequestLogs": "Enable Request Logs",
+ "logRetention": "Log Retention",
+ "ipWhitelist": "IP Whitelist",
+ "ipBlacklist": "IP Blacklist",
+ "addIP": "Add IP",
+ "savedSuccessfully": "Settings saved successfully",
+ "ai": "AI",
+ "advanced": "Advanced",
+ "localMode": "Local Mode — All data stored on your machine",
+ "settingsSectionsAria": "Settings sections",
+ "switchThemes": "Switch between light and dark themes",
+ "themeSelectionAria": "Theme selection",
+ "themeLight": "Light",
+ "themeDark": "Dark",
+ "themeSystem": "System",
+ "endpointTunnelVisibility": "Endpoint tunnel visibility",
+ "endpointTunnelVisibilityDesc": "Hide tunnel controls from the Endpoint page without changing tunnel state.",
+ "showCloudflareTunnel": "Cloudflare Quick Tunnel",
+ "showCloudflareTunnelDesc": "Show Cloudflare Quick Tunnel controls on the Endpoint page.",
+ "showTailscaleFunnel": "Tailscale Funnel",
+ "showTailscaleFunnelDesc": "Show Tailscale Funnel controls on the Endpoint page.",
+ "showNgrokTunnel": "ngrok Tunnel",
+ "showNgrokTunnelDesc": "Show ngrok Tunnel controls on the Endpoint page.",
+ "sidebarVisibility": "Hide sidebar items",
+ "sidebarVisibilityDesc": "Hide any sidebar navigation entry to reduce visual clutter without disabling any features",
+ "sidebarVisibilityHint": "Any sidebar section is hidden automatically when all of its entries are hidden",
+ "hideHealthLogs": "Hide Health Check Logs",
+ "hideHealthLogsDesc": "When ON, suppress [HealthCheck] messages in server console",
+ "themeAccent": "Theme color",
+ "themeAccentDesc": "Choose a preset color or create your own theme with one color",
+ "themeCreate": "Create theme",
+ "themeCustom": "Custom theme",
+ "themeBlue": "Blue",
+ "themeRed": "Red",
+ "themeGreen": "Green",
+ "themeViolet": "Violet",
+ "themeOrange": "Orange",
+ "themeCyan": "Cyan",
+ "whitelabeling": "Branding",
+ "whitelabelingDesc": "Customize the application name and logo",
+ "appName": "Application Name",
+ "appNameDesc": "Display name shown in sidebar and browser tab",
+ "customLogo": "Custom Logo URL",
+ "customLogoDesc": "URL to your custom logo image",
+ "uploadLogo": "Upload Logo",
+ "resetLogo": "Reset to Default",
+ "logoPreview": "Preview",
+ "customFavicon": "Browser Favicon",
+ "customFaviconDesc": "URL to your custom favicon (shown in browser tab)",
+ "uploadFavicon": "Upload Favicon",
+ "resetFavicon": "Reset Favicon",
+ "faviconPreview": "Favicon Preview",
+ "flushCache": "Flush Cache",
+ "flushing": "Flushing…",
+ "size": "Size",
+ "hits": "Hits",
+ "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",
+ "globalLabel": "Global",
+ "configure": "Configure",
+ "globalSystemPrompt": "Global System Prompt",
+ "systemPromptDesc": "Injected into all requests at proxy level",
+ "saved": "Saved",
+ "systemPromptPlaceholder": "Enter system prompt to inject into all requests...",
+ "systemPromptHint": "This prompt is prepended to the system message of every request. Use for global instructions, safety guidelines, or response formatting rules.",
+ "chars": "{count} chars",
+ "thinkingBudgetTitle": "Thinking Budget",
+ "thinkingBudgetDesc": "Control AI reasoning token usage across all requests",
+ "passthrough": "Passthrough",
+ "passthroughDesc": "No changes — client controls thinking budget",
+ "auto": "Auto Combo",
+ "autoDesc": "Self-healing smart routing pool (Performance optimized)",
+ "custom": "Custom",
+ "customDesc": "Set a fixed token budget for all requests",
+ "adaptive": "Adaptive",
+ "adaptiveDesc": "Scale budget based on request complexity",
+ "effortNone": "None (0 tokens)",
+ "effortLow": "Low (1K tokens)",
+ "effortMedium": "Medium (10K tokens)",
+ "effortHigh": "High (128K tokens)",
+ "tokenBudget": "Token Budget",
+ "tokens": "tokens",
+ "baseEffortLevel": "Base Effort Level",
+ "adaptiveHint": "Adaptive mode scales from this base level based on message count, tool usage, and prompt length.",
+ "requireLogin": "Require login",
+ "requireLoginDesc": "When ON, dashboard requires password. When OFF, access without login.",
+ "currentPassword": "Current Password",
+ "enterCurrentPassword": "Enter current password",
+ "newPassword": "New Password",
+ "enterNewPassword": "Enter new password",
+ "confirmPassword": "Confirm New Password",
+ "confirmPasswordPlaceholder": "Confirm new password",
+ "passwordsNoMatch": "Passwords do not match",
+ "passwordUpdated": "Password updated successfully",
+ "failedUpdatePassword": "Failed to update password",
+ "errorOccurred": "An error occurred",
+ "updatePassword": "Update Password",
+ "setPassword": "Set Password",
+ "apiEndpointProtection": "API Endpoint Protection",
+ "requireAuthModels": "Require API key for /models",
+ "requireAuthModelsDesc": "When ON, the /v1/models endpoint returns 404 for unauthenticated requests. Prevents model discovery by unauthorized users.",
+ "authModelHeading": "Active authorization model",
+ "authModelClient": "Client API endpoints (/v1/*, /chat/*, /responses/*, /codex/*, /messages/*) require a Bearer API key.",
+ "authModelManagement": "Management endpoints (/dashboard, /api/*) require a dashboard session or management credential.",
+ "authModelPublic": "Only login, health, and bootstrap routes are public.",
+ "bruteForceProtection": "Login brute-force protection",
+ "bruteForceProtectionDesc": "Throttle and lock /api/auth/login after repeated failures from the same IP.",
+ "corsAllowedOrigins": "CORS allowed origins",
+ "corsAllowedOriginsDesc": "Comma-separated list of browser origins permitted to call this server. Empty list = no browser CORS access (server-to-server still works). Use CORS_ALLOW_ALL=true env var only for development.",
+ "blockedProviders": "Blocked Providers",
+ "blockedProvidersDesc": "Hide specific providers from the /v1/models response. Blocked providers will not appear in model listings.",
+ "providersBlocked": "{count} provider(s) blocked from /models",
+ "blockProviderTitle": "Block {provider}",
+ "unblockProviderTitle": "Unblock {provider}",
+ "cliFingerprint": "CLI Fingerprint Matching",
+ "cliFingerprintDesc": "Match native CLI binary signatures when proxying requests. Reorders headers and body fields to look identical to the official CLI tools. Your proxy IP is preserved.",
+ "cliFingerprintEnabled": "{count} provider(s) with CLI fingerprint active",
+ "enableFingerprintTitle": "Enable fingerprint for {provider}",
+ "disableFingerprintTitle": "Disable fingerprint for {provider}",
+ "forcedFingerprintTitle": "Always enabled for {provider} — required for OAuth account safety; cannot be turned off.",
+ "forcedFingerprintBadge": "Required",
+ "routingStrategy": "Routing Strategy",
+ "routingAdvancedGuideTitle": "Advanced routing guidance",
+ "routingAdvancedGuideHint1": "Use Fill First for predictable priority, Round Robin for fairness, and P2C for latency resilience.",
+ "routingAdvancedGuideHint2": "If providers vary in quality/cost, start with Cost Opt for background work and Least Used for balanced wear.",
+ "fillFirst": "Fill First",
+ "fillFirstDesc": "Use accounts in priority order",
+ "roundRobin": "Round Robin",
+ "roundRobinDesc": "Cycle through all accounts",
+ "p2c": "P2C",
+ "p2cDesc": "Pick 2 random, use the healthier one",
+ "random": "Random",
+ "randomDesc": "Random account each request",
+ "leastUsed": "Least Used",
+ "leastUsedDesc": "Pick least recently used account",
+ "costOpt": "Cost Opt",
+ "costOptDesc": "Prefer cheapest available account",
+ "resetAware": "Reset-Aware RR",
+ "resetAwareDesc": "Prefer accounts with healthy remaining quota and nearer resets",
+ "strictRandom": "Strict Random",
+ "strictRandomDesc": "Shuffle deck — uses each account once before reshuffling",
+ "stickyLimit": "Sticky Limit",
+ "stickyLimitDesc": "Calls per account before switching",
+ "modelAliases": "Model Aliases",
+ "modelAliasesTitle": "Model Aliases",
+ "modelAliasesDesc": "Remap model names using exact matches or wildcard patterns.",
+ "addCustomAlias": "Add Custom Alias",
+ "deprecatedModelId": "Deprecated model ID",
+ "newModelId": "New model ID",
+ "customAliases": "Custom Aliases",
+ "builtInAliases": "Built-in Aliases",
+ "backgroundDegradationTitle": "Background Task Degradation",
+ "backgroundDegradationDesc": "Auto-detect background tasks (titles, summaries) and route to cheaper models",
+ "enableDegradation": "Enable Background Degradation",
+ "enableDegradationHint": "When enabled, background tasks like title generation and summarization are routed to cheaper models automatically",
+ "tasksDetected": "Tasks detected",
+ "degradationMap": "Model Degradation Map",
+ "premiumModel": "Premium model",
+ "cheapModel": "Cheap model",
+ "detectionPatterns": "Detection Patterns",
+ "newPattern": "e.g. \"generate a title\"",
+ "aliasPatternPlaceholder": "claude-sonnet-*",
+ "aliasTargetPlaceholder": "claude-sonnet-4-20250514",
+ "pattern": "Pattern",
+ "targetModel": "Target Model",
+ "add": "+ Add",
+ "session": "Session",
+ "sessionDetailsAria": "Session details",
+ "status": "Status",
+ "authenticated": "Authenticated",
+ "guest": "Guest",
+ "loginTime": "Login Time",
+ "sessionAge": "Session Age",
+ "browser": "Browser",
+ "clearLocalData": "Clear Local Data",
+ "logout": "Logout",
+ "clearLocalDataConfirm": "Clear all local data? This will reset your preferences.",
+ "unknown": "Unknown",
+ "systemActor": "system",
+ "ipAccessControl": "IP Access Control",
+ "ipAccessControlDesc": "Block or allow specific IP addresses",
+ "ipModeDisabled": "Disabled",
+ "ipModeBlacklist": "Blacklist",
+ "ipModeWhitelist": "Whitelist",
+ "ipModeWhitelistPriority": "WL Priority",
+ "addIpAddress": "Add IP Address",
+ "ipAddressPlaceholder": "192.168.1.0/24 or 10.0.*.*",
+ "block": "+ Block",
+ "allow": "+ Allow",
+ "blocked": "Blocked ({count})",
+ "allowed": "Allowed ({count})",
+ "temporaryBans": "Temporary Bans ({count})",
+ "minLeft": "{min}m left",
+ "auditLog": "Audit Log",
+ "searchAuditLogs": "Search audit logs...",
+ "failedLoadAuditLog": "Failed to load audit log",
+ "noAuditEvents": "No audit events found",
+ "action": "Action",
+ "actor": "Actor",
+ "details": "Details",
+ "time": "Time",
+ "fallbackChainsTitle": "Fallback Chains",
+ "fallbackChainsDesc": "Define provider fallback order per model",
+ "addChain": "+ Add Chain",
+ "modelName": "Model Name",
+ "modelNamePlaceholder": "claude-sonnet-4-20250514",
+ "providersCommaSeparated": "Providers (comma-separated, in priority order)",
+ "providersCommaSeparatedPlaceholder": "anthropic, openai, gemini",
+ "createChain": "Create Chain",
+ "noFallbackChains": "No Fallback Chains",
+ "noFallbackChainsDesc": "Create a chain to define provider fallback order for a model.",
+ "loadingFallbackChains": "Loading fallback chains...",
+ "deleteChainConfirm": "Delete fallback chain for \"{model}\"?",
+ "chainCreated": "Chain created for {model}",
+ "chainDeleted": "Chain deleted for {model}",
+ "failedCreateChain": "Failed to create chain",
+ "failedDeleteChain": "Failed to delete chain",
+ "deleteChain": "Delete chain",
+ "fillModelAndProviders": "Please fill model name and providers",
+ "addAtLeastOneProvider": "Add at least one provider",
+ "comboDefaultsTitle": "Combo Defaults",
+ "comboDefaultsGuideTitle": "How to tune combo defaults",
+ "comboDefaultsGuideHint1": "Keep retries low in low-latency flows; increase timeout only for long generation tasks.",
+ "comboDefaultsGuideHint2": "Use provider overrides when one provider needs different timeout/retry behavior than global defaults.",
+ "globalComboConfig": "Global combo configuration",
+ "defaultStrategy": "Default Strategy",
+ "defaultStrategyDesc": "Applied to new combos without explicit strategy",
+ "comboStrategyAria": "Combo strategy",
+ "priority": "Priority",
+ "weighted": "Weighted",
+ "contextRelay": "Context Relay",
+ "contextRelayDesc": "Priority-style routing with automatic context handoffs when account rotation happens",
+ "maxRetriesLabel": "Max Retries",
+ "retryDelayLabel": "Retry Delay (ms)",
+ "timeoutLabel": "Timeout (ms)",
+ "healthCheck": "Health Check",
+ "healthCheckDesc": "Pre-check provider availability",
+ "trackMetrics": "Track Metrics",
+ "trackMetricsDesc": "Record per-combo request metrics",
+ "providerOverrides": "Provider Overrides",
+ "providerOverridesDesc": "Override timeout and retries per provider. Provider settings override global defaults.",
+ "providerMaxRetriesAria": "{provider} max retries",
+ "providerTimeoutAria": "{provider} timeout ms",
+ "removeProviderOverrideAria": "Remove {provider} override",
+ "newProviderNamePlaceholder": "e.g. google, openai...",
+ "newProviderNameAria": "New provider name",
+ "retries": "retries",
+ "ms": "ms",
+ "saveComboDefaults": "Save Combo Defaults",
+ "maxNestingDepth": "Max Nesting Depth",
+ "concurrencyPerModel": "Concurrency / Model",
+ "queueTimeout": "Queue Timeout (ms)",
+ "contextRelayHandoffThreshold": "Handoff Threshold",
+ "contextRelayMaxMessages": "Max Messages For Summary",
+ "contextRelaySummaryModel": "Summary Model",
+ "contextRelayProviderNote": "Context Relay currently generates handoffs for Codex accounts and uses these values as global defaults for new or unconfigured combos.",
+ "providerProfiles": "Provider Profiles",
+ "providerProfilesDesc": "Separate resilience settings for OAuth (session-based) and API Key (metered) providers. OAuth providers have stricter thresholds due to lower rate limits.",
+ "oauthProviders": "OAuth Providers",
+ "apiKeyProviders": "API Key Providers",
+ "transientCooldown": "Transient Cooldown",
+ "rateLimitCooldown": "Rate Limit Cooldown",
+ "maxBackoffLevel": "Max Backoff Level",
+ "cbThreshold": "CB Threshold",
+ "cbResetTime": "CB Reset Time",
+ "rateLimiting": "Rate Limiting",
+ "rateLimitingDesc": "API Key providers are automatically rate-limited with safe defaults. Limits are learned from response headers and adapt over time.",
+ "defaultSafetyNet": "Default Safety Net",
+ "rpm": "RPM",
+ "minGap": "Min Gap",
+ "maxConcurrent": "Max Concurrent",
+ "activeLimiters": "Active Limiters",
+ "noActiveLimiters": "No active rate limiters yet.",
+ "reservoir": "Reservoir",
+ "running": "Running",
+ "queued": "Queued",
+ "circuitBreakers": "Circuit Breakers",
+ "breakerStateClosed": "Closed",
+ "breakerStateOpen": "Open",
+ "breakerStateHalfOpen": "Half-Open",
+ "tripped": "{count} tripped",
+ "healthy": "{count} healthy",
+ "resetAll": "Reset All",
+ "noCircuitBreakers": "No circuit breakers active yet. They are created automatically when requests flow through the combo pipeline.",
+ "failures": "{count} failure(s)",
+ "policiesLocked": "Policies & Locked Identifiers",
+ "allOperational": "All systems operational — no lockouts or tripped breakers",
+ "loadingPolicies": "Loading policies...",
+ "lockedIdentifiers": "Locked Identifiers",
+ "unlockedIdentifier": "Unlocked: {identifier}",
+ "sinceDate": "since {date}",
+ "forceUnlock": "Force Unlock",
+ "unlocking": "Unlocking...",
+ "failedUnlock": "Failed to unlock",
+ "failedLoadWithStatus": "Failed to load: {status}",
+ "failedLoadResilience": "Failed to load resilience status",
+ "saveFailed": "Save failed",
+ "resetFailed": "Reset failed",
+ "loadingResilience": "Loading resilience status...",
+ "retry": "Retry",
+ "systemStorage": "System & Storage",
+ "allDataLocal": "All data stored locally on your machine",
+ "databasePath": "Database Path",
+ "exportDatabase": "Export Database",
+ "exportAll": "Export All (.tar.gz)",
+ "importDatabase": "Import Database",
+ "confirmDbImport": "Confirm Database Import",
+ "confirmDbImportDesc": "This will replace all current data with the content from {file}. A backup will be created automatically before the import.",
+ "yesImport": "Yes, Import",
+ "lastBackup": "Last Backup",
+ "noBackupYet": "No backup yet",
+ "backupNow": "Backup Now",
+ "backupRestore": "Backup & Restore",
+ "viewBackups": "View Backups",
+ "hide": "Hide",
+ "backupRetentionDesc": "Database snapshots are created automatically before restore and every 15 minutes when data changes. Retention: 24 hourly + 30 daily backups with smart rotation.",
+ "loadingBackups": "Loading backups...",
+ "noBackupsYet": "No backups available yet. Backups will be created automatically when data changes.",
+ "backupsAvailable": "{count} backup(s) available",
+ "refresh": "Refresh",
+ "confirm": "Confirm?",
+ "yes": "Yes",
+ "no": "No",
+ "restore": "Restore",
+ "invalidFileType": "Invalid file type. Only .sqlite files are accepted.",
+ "exportFailed": "Export failed",
+ "exportFailedWithError": "Export failed: {error}",
+ "fullExportFailedWithError": "Full export failed: {error}",
+ "backupCreated": "Backup created: {file}",
+ "restoreSuccess": "Restored! {connections} connections, {nodes} nodes, {combos} combos, {apiKeys} API keys.",
+ "importSuccess": "Database imported! {connections} connections, {nodes} nodes, {combos} combos, {apiKeys} API keys.",
+ "minutesAgo": "{count}m ago",
+ "hoursAgo": "{count}h ago",
+ "daysAgo": "{count}d ago",
+ "backupReasonManual": "manual",
+ "backupReasonPreRestore": "pre-restore",
+ "connectionsCount": "{count, plural, one {# connection} other {# connections}}",
+ "noChangesSinceBackup": "No changes since last backup",
+ "backupFailed": "Backup failed",
+ "restoreFailed": "Restore failed",
+ "importFailed": "Import failed",
+ "errorDuringRestore": "An error occurred during restore",
+ "errorDuringImport": "An error occurred during import",
+ "modelPricing": "Model Pricing",
+ "modelPricingDesc": "Configure cost rates per model • All rates in $/1M tokens",
+ "registry": "Registry",
+ "priced": "Priced",
+ "searchProvidersModels": "Search providers or models...",
+ "showAll": "Show All",
+ "noProvidersMatch": "No providers match your search.",
+ "howPricingWorks": "How Pricing Works",
+ "cacheWrite": "Cache Write",
+ "unsaved": "unsaved",
+ "resetDefaults": "Reset Defaults",
+ "saveProvider": "Save Provider",
+ "model": "Model",
+ "models": "models",
+ "moreProviders": "{count} more providers",
+ "withPricing": "with pricing configured",
+ "policiesCircuitBreakers": "Policies & Circuit Breakers",
+ "activeIssuesDetected": "Active issues detected",
+ "off": "Off",
+ "resetPricingConfirm": "Reset all pricing for {provider} to defaults?",
+ "pricingDescInput": "Input: tokens sent to the model",
+ "pricingDescOutput": "Output: tokens generated",
+ "pricingDescCached": "Cached: reused input (~50% of input rate)",
+ "pricingDescReasoning": "Reasoning: thinking tokens (falls back to Output)",
+ "pricingDescCacheWrite": "Cache Write: creating cache entries (falls back to Input)",
+ "pricingDescFormula": "Cost = (input × input_rate) + (output × output_rate) + (cached × cached_rate) per million tokens.",
+ "pricingSettingsTitle": "Pricing Settings",
+ "totalModels": "Total Models",
+ "active": "Active",
+ "costCalculation": "Cost Calculation",
+ "costCalculationDesc": "Costs are calculated based on token usage and pricing rates configured for each model.",
+ "pricingFormat": "Pricing Format",
+ "pricingFormatDesc": "All rates are in $/1M tokens (dollars per million tokens).",
+ "tokenTypes": "Token Types",
+ "inputTokenDesc": "Standard prompt tokens",
+ "outputTokenDesc": "Completion/response tokens",
+ "cachedTokenDesc": "Cached input tokens (typically 50% of input rate)",
+ "reasoningTokenDesc": "Special reasoning/thinking tokens (fallback to output rate)",
+ "cacheCreationTokenDesc": "Tokens used to create cache entries (fallback to input rate)",
+ "customPricingNote": "You can override default pricing for specific models. Custom overrides take priority over auto-detected pricing.",
+ "editPricing": "Edit Pricing",
+ "viewFullDetails": "View Full Details",
+ "themeCoral": "Coral",
+ "adaptiveVolumeRouting": "Adaptive Volume Routing",
+ "adaptiveVolumeRoutingDesc": "Scale connections dynamically based on payload volume and throughput pressure.",
+ "lkgpToggleTitle": "Last Known Good Provider (LKGP)",
+ "lkgpToggleDesc": "When enabled, the router remembers which provider last served a successful response and tries it first on subsequent requests.",
+ "clearLkgpCache": "Clear LKGP Cache",
+ "lkgpCacheCleared": "LKGP cache cleared successfully",
+ "lkgpCacheClearFailed": "Failed to clear LKGP cache",
+ "days": "Days",
+ "lkgp": "LKGP Mode",
+ "lkgpDesc": "Last Known Good Provider (Predictable resilience)",
+ "maintenance": "Maintenance",
+ "purgeExpiredLogs": "Purge Expired Logs",
+ "purgeLogsFailed": "Failed to purge logs",
+ "contextOpt": "Context Optimized",
+ "contextOptDesc": "Routes based on context window requirements and conversation length",
+ "priorityDesc": "Sequential fallback - tries provider 1 first, then provider 2, and so on",
+ "weightedDesc": "Distributes traffic by percentage weights across providers",
+ "modelRoutingTitle": "Model Routing Rules",
+ "modelRoutingDesc": "Automatically route models to specific combos using glob patterns",
+ "addRule": "Add Rule",
+ "routeToCombo": "Route to Combo",
+ "selectCombo": "Select combo...",
+ "priorityHint": "Higher = checked first. Use 10+ for specific patterns.",
+ "patternHint": "Use * for any chars, ? for single char. Case-insensitive.",
+ "noRoutingRules": "No routing rules configured. Requests use the global combo by default.",
+ "routingRuleHint": "Add a rule like claude-opus* -> frontier-combo to automatically route requests.",
+ "deleteRoutingRule": "Delete this model routing rule?",
+ "exactMatchMode": "Exact Match",
+ "wildcardPatternMode": "Wildcard Pattern",
+ "exactMatchModeDesc": "Use exact aliases for deprecated or renamed model IDs.",
+ "wildcardPatternModeDesc": "Use wildcard aliases with * and ? when a family of models should map to one target.",
+ "noExactAliasesConfigured": "No exact-match aliases configured.",
+ "wildcardRulesTitle": "Wildcard Rules",
+ "noWildcardAliasesConfigured": "No wildcard aliases configured.",
+ "overview": "Overview",
+ "unknownError": "Unknown Error",
+ "pricingSourceLiteLLM": "LiteLLM (Community)",
+ "clearSyncedPricingConfirm": "Clear all synced pricing data? Provider defaults will be used instead.",
+ "clearSyncedPricingFailed": "Failed to clear synced pricing",
+ "pricingSourceUser": "User Override",
+ "pageDescription": "Manage application settings, model aliases, pricing, and routing rules",
+ "pricingSyncStatus": "Sync Status",
+ "whitelist": "Whitelist",
+ "syncDisabled": "Sync Disabled",
+ "pricingLoadFailed": "Failed to load pricing data",
+ "pricingSyncDescription": "Automatically sync model pricing from external sources to keep cost calculations accurate",
+ "clearSyncedPricingSuccess": "Synced pricing data cleared",
+ "clearSyncedPricingFailedWithReason": "Failed to clear pricing: {reason}",
+ "pricingSourceDefault": "Built-in Default",
+ "pricingSyncSuccess": "Pricing synced successfully",
+ "enableSyncError": "Failed to toggle pricing sync",
+ "syncEnabled": "Sync Enabled",
+ "blacklist": "Blacklist",
+ "pricingSourceModelsDev": "Models.dev",
+ "syncedModels": "Synced Models",
+ "budget": "Budget",
+ "pricingSyncTitle": "Pricing Sync",
+ "pricingResetFailedWithReason": "Failed to reset pricing: {reason}",
+ "tab": "Tab",
+ "pricingSavedProvider": "Pricing saved for {provider}",
+ "pricingSyncFailed": "Pricing sync failed",
+ "pricingSaveFailedWithReason": "Failed to save pricing: {reason}",
+ "pricingResetProvider": "Pricing reset for {provider}",
+ "nextSync": "Next Sync",
+ "pricingSyncFailedWithReason": "Pricing sync failed: {reason}",
+ "clearSyncedPricing": "Clear Synced Pricing",
+ "compressionTitle": "Prompt Compression",
+ "compressionDesc": "Reduce token usage by compressing prompts before sending to providers",
+ "compressionMode": "Compression Mode",
+ "compressionModeOff": "Off",
+ "compressionModeOffDesc": "No compression applied",
+ "compressionModeLite": "Lite",
+ "compressionModeLiteDesc": "Whitespace and blank line reduction",
+ "compressionModeStandard": "Standard (Caveman)",
+ "compressionModeStandardDesc": "Rule-based compression with 30+ patterns, preserves code blocks and URLs",
+ "compressionModeAggressive": "Aggressive",
+ "compressionModeAggressiveDesc": "Summarization + tool result compression + progressive aging for maximum savings",
+ "compressionModeUltra": "Ultra",
+ "compressionModeUltraDesc": "Heuristic token pruning with optional local SLM fallback",
+ "compressionAggressiveConfig": "Aggressive Engine Configuration",
+ "compressionAggressiveConfigDesc": "Fine-tune summarization, tool compression, and aging thresholds",
+ "compressionUltraConfig": "Ultra Engine Configuration",
+ "compressionUltraConfigDesc": "Fine-tune heuristic pruning, SLM fallback, and per-message thresholds",
+ "compressionUltraRate": "Keep Rate",
+ "compressionUltraMinScore": "Minimum Score Threshold",
+ "compressionUltraSlmFallback": "Fallback to Aggressive",
+ "compressionUltraModelPath": "SLM Model Path",
+ "compressionSummarizerEnabled": "Enable Summarizer",
+ "compressionMaxTokensPerMessage": "Max Tokens Per Message",
+ "compressionMinSavings": "Min Savings Threshold",
+ "compressionAgingThresholds": "Aging Thresholds",
+ "compressionAgingThresholdsDesc": "Number of recent messages kept at each aging tier (higher = more preserved)",
+ "compressionToolStrategies": "Tool Result Strategies",
+ "compressionToolStrategiesDesc": "Toggle compression strategies for different tool result types",
+ "compressionGeneral": "General Settings",
+ "compressionAutoTrigger": "Auto-Trigger Threshold",
+ "compressionCacheTTL": "Cache TTL",
+ "compressionPreserveSystem": "Preserve System Prompt",
+ "compressionCavemanConfig": "Caveman Engine Configuration",
+ "compressionCavemanConfigDesc": "Fine-tune the rule-based compression engine",
+ "compressionRoles": "Compress Message Roles",
+ "compressionRoleUser": "User",
+ "compressionRoleAssistant": "Assistant",
+ "compressionRoleSystem": "System",
+ "compressionMinLength": "Minimum Message Length",
+ "compressionSkipRules": "Skip Compression Rules",
+ "compressionSkipRulesDesc": "Click rules to skip them during compression",
+ "compressionPreservePatterns": "Preserve Patterns",
+ "compressionPreservePatternsDesc": "Regex patterns that are never compressed (one per line)",
+ "compressionLogTitle": "Compression Log",
+ "compressionLogEmpty": "No compressed requests yet. Compression stats will appear here when requests are processed with compression enabled.",
+ "minutes": "minutes",
+ "compressionModeRtk": "RTK",
+ "compressionModeRtkDesc": "Command-aware tool output filtering",
+ "compressionModeStacked": "Stacked",
+ "compressionModeStackedDesc": "RTK tool-output filtering followed by Caveman message compression",
+ "qdrantTitle": "Qdrant (Vector memory)",
+ "qdrantDesc": "Optional. Indexes semantic memories in an external vector database for faster retrieval.",
+ "qdrantStatusActive": "Active",
+ "qdrantStatusError": "Error",
+ "qdrantStatusDisabled": "Disabled",
+ "qdrantEnable": "Enable Qdrant",
+ "qdrantEnableDesc": "When enabled, semantic/hybrid strategy can use Qdrant to retrieve memories.",
+ "qdrantTesting": "Testing...",
+ "qdrantTestConnection": "Test connection",
+ "qdrantSaved": "Configuration saved",
+ "qdrantSaveError": "Failed to save configuration",
+ "qdrantHostHint": "Without port. Example: 127.0.0.1 or http://qdrant",
+ "qdrantPort": "Port",
+ "qdrantPortHint": "Qdrant default: 6333",
+ "qdrantCollectionHint": "Where memory points will be stored.",
+ "qdrantEmbeddingModel": "Embedding model",
+ "qdrantHelpTitle": "Quick setup help",
+ "qdrantHelpQuickTitle": "Quick setup (Qdrant + OpenRouter)",
+ "qdrantHelpStep1": "1. Host: Qdrant IP/URL, Port: 6333, Collection: omniroute_memory.",
+ "qdrantHelpStep2": "2. If using nvidia/llama-nemotron-embed-vl-1b-v2:free, use collection dimension 2048.",
+ "qdrantHelpStep3": "3. Model field: openrouter/nvidia/llama-nemotron-embed-vl-1b-v2:free.",
+ "qdrantHelpStep4": "4. Save, test connection, then test search.",
+ "qdrantEmbeddingQuickSelect": "Quick select from discovered models...",
+ "qdrantEmbeddingInputPlaceholder": "openai/text-embedding-3-small",
+ "qdrantEmbeddingHint": "Format: provider/model. The provider credential must be configured.",
+ "qdrantApiKeyPlaceholderKeep": "(leave empty to keep current key)",
+ "qdrantApiKeyPlaceholderOptional": "(leave empty if not used)",
+ "qdrantSaveHint": "Tip: edit host/port/collection/model and click Save. API key is optional.",
+ "qdrantSearchTestTitle": "Search test",
+ "qdrantSearchTestDesc": "Generates embedding and searches in Qdrant.",
+ "qdrantSearchPlaceholder": "Example: user preferences, history, etc",
+ "qdrantNoResults": "No results (or Qdrant is not configured).",
+ "qdrantCleanupTitle": "Retention and cleanup",
+ "qdrantCleanupDesc": "Removes expired and old points based on",
+ "searching": "Searching...",
+ "cleaning": "Cleaning...",
+ "cleanNow": "Clean now",
+ "optional": "Optional",
+ "current": "Current",
+ "remove": "Remove",
+ "search": "Search"
+ },
+ "contextRtk": {
+ "title": "RTK Engine",
+ "description": "Command-aware compression for tool output, terminal logs and build results.",
+ "enabled": "Enabled",
+ "intensity": "Intensity",
+ "intensityMinimal": "Minimal",
+ "intensityStandard": "Standard",
+ "intensityAggressive": "Aggressive",
+ "toolResults": "Tool results",
+ "assistantMessages": "Assistant messages",
+ "codeBlocks": "Code blocks",
+ "maxLines": "Max lines",
+ "maxChars": "Max chars",
+ "deduplicateThreshold": "Deduplicate threshold",
+ "customFilters": "Custom filters",
+ "trustProjectFilters": "Trust project filters",
+ "rawOutputRetention": "Raw output retention",
+ "rawOutputNever": "Never",
+ "rawOutputFailures": "Failures",
+ "rawOutputAlways": "Always",
+ "rawOutputMaxBytes": "Raw output max bytes",
+ "filterTesting": "Filter Testing",
+ "pasteOutput": "Paste tool output to test filtering...",
+ "run": "Run",
+ "result": "Result",
+ "previewEmpty": "Run a sample to preview RTK output.",
+ "detected": "Detected",
+ "tokensFiltered": "Tokens filtered",
+ "filtersActive": "Filters active",
+ "requests": "Requests",
+ "avgSavings": "Avg savings"
+ },
+ "contextCombos": {
+ "title": "Compression Combos",
+ "description": "Define how engines are combined for different routing scenarios.",
+ "createCombo": "Create Compression Combo",
+ "editCombo": "Edit",
+ "deleteCombo": "Delete",
+ "deleteConfirm": "Delete this compression combo?",
+ "pipeline": "Pipeline",
+ "addStep": "Add Step",
+ "removeStep": "Remove",
+ "name": "Name",
+ "descriptionField": "Description",
+ "languagePacks": "Language Packs",
+ "outputMode": "Output Mode",
+ "assignToRouting": "Assign to Routing Combos",
+ "noAssignments": "No routing combos available",
+ "default": "Default",
+ "setAsDefault": "Set as Default",
+ "save": "Save",
+ "cancel": "Cancel",
+ "enabled": "Enabled"
+ },
+ "contextCaveman": {
+ "title": "Caveman Engine",
+ "description": "Rule-based message compression, language packs, analytics and output mode controls.",
+ "requests": "Requests",
+ "tokensSaved": "Tokens saved",
+ "savingsPercent": "Savings %",
+ "avgLatency": "Avg latency",
+ "languagePacks": "Language Packs",
+ "languagePacksDesc": "Enable compression rules for specific languages.",
+ "enabled": "Enabled",
+ "autoDetect": "Auto-detect language",
+ "rulesCount": "{count} rules",
+ "analyticsTitle": "Compression Analytics",
+ "noAnalytics": "No compression analytics yet.",
+ "outputModeTitle": "Output Mode",
+ "outputModeDesc": "Instructs the LLM to respond in a terse, compact format.",
+ "autoClarity": "Auto-Clarity Bypass",
+ "bypassConditions": "Bypass conditions",
+ "bypassConditionsList": "security, irreversible, clarification, order-sensitive",
+ "preview": {
+ "lite": "Respond concise. Preserve technical terms, code, errors, URLs, and identifiers.",
+ "full": "Respond terse and compact. Preserve all technical substance.",
+ "ultra": "Respond ultra terse with common technical abbreviations. Preserve exact symbols."
+ }
+ },
+ "translator": {
+ "title": "Translator",
+ "metaTitle": "Translator Playground | OmniRoute",
+ "metaDescription": "Debug, test, and visualize API format translations between providers",
+ "playgroundTitle": "Translator Playground",
+ "playground": "Playground",
+ "realtime": "Real-Time Translation Activity",
+ "chatTester": "Chat Tester",
+ "testBench": "Test Bench",
+ "liveMonitor": "Live Monitor",
+ "modeDescriptionPlayground": "Paste any API request body and see how OmniRoute translates it between provider formats (OpenAI ↔ Claude ↔ Gemini ↔ Responses API)",
+ "modeDescriptionChatTester": "Send real chat requests through OmniRoute and inspect the full round-trip: input, translated request, provider response, and translated output.",
+ "modeDescriptionTestBench": "Run predefined scenarios and compare compatibility across providers and models.",
+ "modeDescriptionLiveMonitor": "Watch translation events in real time as requests flow through OmniRoute.",
+ "modeDescriptionFallback": "Debug, test, and visualize how OmniRoute translates API requests between providers.",
+ "recentTranslations": "Recent Translations",
+ "noTranslations": "No translations yet",
+ "source": "Source",
+ "target": "Target",
+ "time": "Time",
+ "model": "Model",
+ "status": "Status",
+ "latency": "Latency",
+ "totalTranslations": "Total Translations",
+ "successful": "Successful",
+ "errors": "Errors",
+ "avgLatency": "Avg Latency",
+ "millisecondsShort": "{value}ms",
+ "notAvailableSymbol": "—",
+ "liveAutoRefreshing": "Live — Auto-refreshing",
+ "paused": "Paused",
+ "eventsAppearHint": "Translation events appear here as requests flow through OmniRoute. Use any of these methods to generate events:",
+ "chatTesterTab": "Chat Tester tab",
+ "testBenchTab": "Test Bench tab",
+ "externalApiCalls": "External API calls",
+ "ideCliIntegrations": "IDE/CLI integrations",
+ "inMemoryNote": "Note: Events are stored in-memory and reset when the server restarts.",
+ "ok": "OK",
+ "errorShort": "ERR",
+ "formatConverter": "Format Converter",
+ "formatConverterDescription": "Paste or type a JSON request body. The translator will auto-detect the source format and convert it to the target format. Use this to debug how OmniRoute translates requests between formats (OpenAI ↔ Claude ↔ Gemini ↔ Responses API).",
+ "translationPathHubSpoke": "{source} → OpenAI (intermediate) → {target}",
+ "translationPathDirect": "{source} → {target} (direct translator)",
+ "translationPathPassthrough": "Same format — no translation needed",
+ "openaiIntermediatePanel": "OpenAI Intermediate",
+ "autoFeaturesTitle": "What OmniRoute does automatically",
+ "autoFeaturesCount": "8 features",
+ "featureReasoningCache": "Reasoning Cache",
+ "featureReasoningCacheDesc": "Re-injects cached reasoning_content for thinking-mode models (DeepSeek V4, Kimi K2, Qwen) when clients omit it from conversation history.",
+ "featureSchemaCoercion": "Schema Coercion",
+ "featureSchemaCoercionDesc": "Fixes broken tool schemas: adds missing additionalProperties, sanitizes long descriptions, normalizes nested objects.",
+ "featureRoleNormalization": "Role Normalization",
+ "featureRoleNormalizationDesc": "Maps developer→system for non-OpenAI targets. Maps system→user for models that don't support system role.",
+ "featureToolCallIds": "Tool Call ID Normalization",
+ "featureToolCallIdsDesc": "Generates unique tool_call IDs when missing. Normalizes to 9-char format for providers like Mistral.",
+ "featureMissingToolResponse": "Tool Response Injection",
+ "featureMissingToolResponseDesc": "Injects empty tool_result messages when clients send tool_calls without corresponding responses.",
+ "featureThinkingBudget": "Thinking Budget",
+ "featureThinkingBudgetDesc": "Automatically manages thinking config. Removes thinking parameters when the last message is not from the user.",
+ "featureDirectPaths": "Direct Translation Paths",
+ "featureDirectPathsDesc": "Some format pairs (Claude→Gemini) have direct translators that bypass the OpenAI hub, producing more accurate output.",
+ "featureImageMapping": "Image Size Mapping",
+ "featureImageMappingDesc": "Translates image dimension conventions between API formats (e.g., OpenAI detail levels → Gemini dimensions).",
+ "input": "Input",
+ "output": "Output",
+ "auto": "Auto",
+ "swapFormats": "Swap formats",
+ "translateAction": "Translate",
+ "clear": "Clear",
+ "inputPlaceholder": "Paste a request body here or select a template below...",
+ "exampleTemplates": "Example Templates",
+ "exampleTemplatesHint": "— Click to load",
+ "templateLoadHint": "Template loads the request in {format} format. Change Source Format to load in a different format.",
+ "compatibilityTester": "Compatibility Tester",
+ "compatibilityReport": "Compatibility Report",
+ "testBenchDescription": "Run predefined scenarios (Simple Chat, Tool Calling, etc.) to verify translation and provider compatibility. Select a source format and target provider, then run all tests to see a compatibility percentage. Use this to find which features work across providers.",
+ "targetProvider": "Target Provider",
+ "runAllTests": "Run All Tests",
+ "runTest": "Run Test",
+ "reRun": "Re-run",
+ "running": "Running...",
+ "passed": "passed",
+ "failed": "failed",
+ "passedIconLabel": "✅ Passed",
+ "chunks": "chunks",
+ "scenarioSimpleChat": "Simple Chat",
+ "scenarioToolCalling": "Tool Calling",
+ "scenarioMultiTurn": "Multi-turn",
+ "scenarioThinking": "Thinking",
+ "scenarioSystemPrompt": "System Prompt",
+ "scenarioStreaming": "Streaming",
+ "templateNames": {
+ "simple-chat": "Simple Chat",
+ "tool-calling": "Tool Calling",
+ "multi-turn": "Multi-turn",
+ "thinking": "Thinking",
+ "system-prompt": "System Prompt",
+ "streaming": "Streaming"
+ },
+ "templateDescriptions": {
+ "simple-chat": "Basic text message",
+ "tool-calling": "Function/tool invocation",
+ "multi-turn": "Conversation with history",
+ "thinking": "Extended thinking / reasoning",
+ "system-prompt": "Complex system instructions",
+ "streaming": "SSE streaming request"
+ },
+ "templatePayloads": {
+ "simpleChat": {
+ "system": "You are a helpful assistant.",
+ "userGreeting": "Hello! How are you today?"
+ },
+ "toolCalling": {
+ "userWeather": "What's the weather in São Paulo?",
+ "toolDescription": "Get current weather for a location",
+ "cityNameDescription": "City name"
+ },
+ "multiTurn": {
+ "system": "You are a coding assistant.",
+ "userInitial": "Write a function to sort an array in Python.",
+ "assistantExample": "Here's a simple sort function:\n\n```python\ndef sort_array(arr):\n return sorted(arr)\n```",
+ "userFollowUp": "Now make it sort in descending order."
+ },
+ "thinking": {
+ "question": "What is the sum of the first 100 prime numbers?"
+ },
+ "systemPrompt": {
+ "systemInstruction": "You are a senior software engineer specializing in distributed systems. Answer questions concisely using industry best practices. Always provide code examples when relevant. Format your responses using markdown.",
+ "question": "How do I implement a circuit breaker pattern?"
+ },
+ "streaming": {
+ "prompt": "Tell me a short story about a robot learning to paint."
+ }
+ },
+ "openaiCompatibleLabel": "OpenAI Compatible",
+ "anthropicCompatibleLabel": "Anthropic Compatible",
+ "noTemplateForFormat": "No template for this format",
+ "translationFailed": "Translation failed: {error}",
+ "pipelineDebugger": "Pipeline Debugger",
+ "translationPipeline": "Translation Pipeline",
+ "pipelineVisualization": "Pipeline visualization",
+ "pipelineVisualizationHint": "Send a message to see how your request flows through detection → translation → provider call.",
+ "chatTesterDescription": "Send messages as a specific client format and inspect each step of the translation pipeline.",
+ "chatTesterFlow": "Client Request → Format Detection → OpenAI Intermediate → Provider Format → Response",
+ "clickStepToInspect": "Click any step to inspect the data at that stage.",
+ "clientFormat": "Client Format",
+ "provider": "Provider",
+ "modelPlaceholder": "Select or type a model name...",
+ "sendMessageToSeePipeline": "Send a message to see the translation pipeline",
+ "chatMessageHintPrefix": "Your message will be formatted as a",
+ "chatMessageHintSuffix": "request, translated through the pipeline, and sent to the selected provider.",
+ "youWithFormat": "You ({format})",
+ "assistant": "Assistant",
+ "typeMessage": "Type a message...",
+ "send": "Send",
+ "clientRequest": "Client Request",
+ "clientRequestDescription": "The request body as your client would send it",
+ "formatDetected": "Format Detected",
+ "formatDetectedDescription": "OmniRoute auto-detects the API format from the request structure",
+ "openaiIntermediate": "OpenAI Intermediate",
+ "openaiIntermediateDescription": "All formats are first normalized to OpenAI format (the universal bridge)",
+ "providerFormat": "Provider Format",
+ "providerFormatDescription": "OpenAI format is translated to the provider's native format",
+ "providerResponse": "Provider Response",
+ "providerResponseRawDescription": "The raw response from the provider API",
+ "providerResponseSseDescription": "The raw SSE stream from the provider API",
+ "unexpectedError": "An unexpected error occurred",
+ "error": "Error",
+ "errorMessage": "Error: {message}",
+ "requestFailed": "Request failed",
+ "noTextExtracted": "(No text extracted)",
+ "liveMonitorMemoryNote": "Events are stored in memory and lost on restart.",
+ "liveMonitorMemoryCapNote": "Max 200 events retained.",
+ "eventSourcesLabel": "Event sources:",
+ "eventSourceTranslatorPage": "• Translator page (Chat Tester, Test Bench)",
+ "eventSourceMainPipeline": "• Main request pipeline (CLI/IDE/API traffic)",
+ "liveMonitorDescriptionPrefix": "Shows translation events as API calls flow through OmniRoute. Events come from the in-memory buffer (resets on restart). Use",
+ "liveMonitorDescriptionSuffix": ", or external API calls to generate events."
+ },
+ "usage": {
+ "title": "Usage",
+ "loggerTab": "Logger",
+ "proxyTab": "Proxy",
+ "budgetManagement": "Budget Management",
+ "budgetSaved": "Budget limits saved",
+ "budgetSaveFailed": "Failed to save budget",
+ "loadingBudgetData": "Loading budget data...",
+ "noApiKeysTitle": "No API Keys",
+ "noApiKeysDescription": "Add API keys first to set up budget limits.",
+ "apiKey": "API Key",
+ "todaysSpend": "Today's Spend",
+ "thisMonth": "This Month",
+ "setLimits": "Set Limits",
+ "dailyLimitUsd": "Daily Limit (USD)",
+ "monthlyLimitUsd": "Monthly Limit (USD)",
+ "warningThresholdPercent": "Warning Threshold (%)",
+ "dailyLimitPlaceholder": "e.g. 5.00",
+ "monthlyLimitPlaceholder": "e.g. 50.00",
+ "warningThresholdPlaceholder": "80",
+ "saveLimits": "Save Limits",
+ "budgetOk": "Budget OK — {remaining} remaining",
+ "budgetExceeded": "Budget exceeded — requests may be blocked",
+ "totalRequests": "Total requests",
+ "noDataYet": "No data yet",
+ "latency": "Latency",
+ "latencyP50": "p50",
+ "latencyP95": "p95",
+ "latencyP99": "p99",
+ "promptCache": "Prompt Cache",
+ "systemHealth": "System Health",
+ "entries": "Entries",
+ "activeCount": "{count} active",
+ "openCircuitBreakersDetected": "Open circuit breakers detected",
+ "hitRate": "Hit Rate",
+ "hitsMisses": "Hits / Misses",
+ "circuitBreakers": "Circuit Breakers",
+ "lockedIPs": "Locked IPs",
+ "lockoutsAutoRefreshHint": "Per-model rate limit locks • Auto-refresh 10s",
+ "lockedCount": "{count, plural, one {# locked} other {# locked}}",
+ "timeLeft": "{time} left",
+ "howItWorks": "How It Works",
+ "howItWorksSubtitle": "Learn how evaluations validate your LLM responses",
+ "define": "Define",
+ "defineStepDescription": "Create test cases with input prompts and expected output criteria using strategies like contains, regex, or exact match.",
+ "run": "Run",
+ "runStepDescription": "Execute test cases against your LLM endpoints through OmniRoute. Each case is sent as a real API request.",
+ "evaluate": "Evaluate",
+ "evaluateStepDescription": "Responses are compared against expected criteria. See pass/fail for each case with latency metrics and detailed feedback.",
+ "evalSuites": "Evaluation Suites",
+ "evalSuitesHint": "Click a suite to view test cases, then run to evaluate your LLM endpoints",
+ "evalsLoading": "Loading eval suites...",
+ "noEvalSuitesFound": "No Eval Suites Found",
+ "noEvalSuitesDescription": "Eval suites can be defined via the API or in code. They test model outputs against expected results using strategies like contains, regex, exact match, and custom functions.",
+ "columnCase": "Case",
+ "columnStatus": "Status",
+ "columnLatency": "Latency",
+ "columnDetails": "Details",
+ "columnModel": "Model",
+ "columnStrategy": "Strategy",
+ "columnExpected": "Expected",
+ "statsSuites": "Suites",
+ "statsTestCases": "Test Cases",
+ "statsModels": "Models",
+ "statsCoverage": "Coverage",
+ "statsStrategiesCount": "{count} strategies",
+ "evaluationStrategies": "Evaluation Strategies",
+ "modelsUnderTest": "Models Under Test",
+ "searchSuitesPlaceholder": "Search suites...",
+ "passSuffix": "pass",
+ "casesCount": "{count, plural, one {# case} other {# cases}}",
+ "runEval": "Run Eval",
+ "runAllSuites": "Run All",
+ "runAllRunning": "Running all...",
+ "runAllProgress": "Running {current}/{total}: {name}",
+ "runAllFailedSuites": "{count, plural, one {# suite failed} other {# suites failed}}",
+ "runAllCompleted": "Ran {suites} suites — {passed} passed, {failed} failed",
+ "runAllCompletedWithFailures": "Ran {completed} suites; {failedSuites} failed to complete",
+ "runningProgress": "Running {current}/{total}...",
+ "passRate": "pass rate",
+ "summaryBreakdown": "{passed} passed · {failed} failed · {total} total",
+ "passedIconLabel": "✅ Passed",
+ "failedIconLabel": "❌ Failed",
+ "resultPassed": "Passed",
+ "resultFailed": "Failed",
+ "expandResult": "Expand result details",
+ "collapseResult": "Collapse result details",
+ "detailsContains": "Contains: \"{term}\"",
+ "detailsRegex": "Regex: {pattern}",
+ "detailsExpected": "Expected: \"{expected}\"",
+ "expectedOutputLabel": "Expected Output",
+ "noResultsYet": "No results yet",
+ "testCasesCount": "Test Cases ({count})",
+ "noTestCasesDefined": "No test cases defined",
+ "runEvalHint": "Click \"Run Eval\" to execute all cases against your LLM endpoint. Each test sends a real request through OmniRoute.",
+ "notifyNoTestCases": "No test cases defined for this suite",
+ "notifyAllCasesPassed": "All {total} cases passed ✅",
+ "notifySomeCasesFailed": "{passed}/{total} passed, {failed} failed",
+ "notifyEvalRunFailed": "Eval run failed",
+ "notifyEvalTitle": "Eval: {name}",
+ "modelEvals": "Model Evaluations",
+ "evalsHeroDescription": "Test and validate your LLM endpoints by running predefined evaluation suites. Each suite contains test cases that send real prompts through OmniRoute and compare responses against expected criteria — helping you detect regressions, compare models, and ensure response quality across providers.",
+ "qualityValidation": "Quality Validation",
+ "modelComparison": "Model Comparison",
+ "regressionDetection": "Regression Detection",
+ "latencyBenchmarks": "Latency Benchmarks",
+ "modelLockouts": "Model Lockouts",
+ "noLockouts": "No models currently locked",
+ "activeSessions": "Active Sessions",
+ "noSessions": "No active sessions",
+ "sessionsHint": "Sessions appear as requests flow through the proxy",
+ "sessionsTrackedHint": "Tracked via request fingerprinting • Auto-refresh 5s",
+ "session": "Session",
+ "age": "Age",
+ "requests": "Requests",
+ "connection": "Connection",
+ "durationMillisecondsShort": "{value}ms",
+ "durationSecondsShort": "{value}s",
+ "durationMinutesShort": "{value}m",
+ "durationHoursShort": "{value}h",
+ "reasonSeparator": " - ",
+ "notAvailableSymbol": "-",
+ "providerLimits": "Provider Limits",
+ "noProviders": "No Providers Connected",
+ "connectProvidersForQuota": "Connect to providers with OAuth to track your API quota limits and usage.",
+ "accountsCount": "{count, plural, one {# account} other {# accounts}}",
+ "filteredFromCount": "(filtered from {count})",
+ "autoRefresh": "Auto-refresh",
+ "refreshAll": "Refresh All",
+ "loadingQuotas": "Loading...",
+ "account": "Account",
+ "modelQuotas": "Model Quotas",
+ "lastUsed": "Last Refreshed",
+ "actions": "Actions",
+ "refreshQuota": "Refresh quota",
+ "quotaThresholdLabel": "Cutoff",
+ "quotaThresholdInvalid": "Enter an integer 0–100, or leave blank to inherit the default.",
+ "quotaCutoffsColumnHelp": "Stop using this account when any window's remaining quota drops to its cutoff. Numbers match the dashboard bars (remaining %).",
+ "quotaCutoffsButtonDefault": "Default",
+ "quotaCutoffsButtonHelp": "Click to set per-window cutoffs for this account (in remaining %).",
+ "quotaCutoffsButtonDisabled": "Quota data hasn't loaded yet — refresh this row to enable cutoffs.",
+ "quotaCutoffsTitle": "Quota cutoffs — {name} ({provider})",
+ "quotaCutoffsExplainer": "Stop using this account when any window's REMAINING quota drops to the value below — same units as the dashboard bars. Empty inherits the resilience-settings default.",
+ "quotaCutoffsDefaultHint": "Default: stop at {default}% remaining",
+ "quotaCutoffsNoWindows": "This provider has no registered quota windows.",
+ "quotaCutoffsResetAll": "Reset all",
+ "today": "Today",
+ "tomorrow": "Tomorrow",
+ "dayTimeFormat": "{day}, {time}",
+ "inDuration": "in {duration}",
+ "notApplicable": "N/A",
+ "rawPlanWithValue": "Raw plan: {plan}",
+ "noPlanFromProvider": "No plan from provider",
+ "noQuotaData": "No quota data",
+ "ungrouped": "Ungrouped",
+ "viewFlat": "Flat",
+ "viewByEnvironment": "By Environment",
+ "noQuotaDataAvailable": "No quota data available",
+ "noAccountsForTierFilter": "No accounts found for tier filter",
+ "tierAll": "All",
+ "tierEnterprise": "Enterprise",
+ "tierTeam": "Team",
+ "tierBusiness": "Business",
+ "tierUltra": "Ultra",
+ "tierPro": "Pro",
+ "tierPlus": "Plus",
+ "tierFree": "Free",
+ "tierUnknown": "Unknown",
+ "suiteBuilderSaveFailed": "Failed to save suite",
+ "clone": "Clone",
+ "exportSuite": "Export",
+ "importSuite": "Import",
+ "suiteExported": "Suite exported",
+ "suiteExportFailed": "Failed to export suite",
+ "suiteImportReady": "Suite import loaded for review",
+ "suiteImportFailed": "Failed to import suite",
+ "suiteImportInvalid": "Invalid eval suite JSON",
+ "suiteBuilderCloneSuffix": "copy",
+ "suiteBuilderImportedSuite": "Imported Suite",
+ "scorecardTitle": "Scorecard",
+ "evalApiKey": "API Key",
+ "scorecardPassRate": "Pass Rate",
+ "targetTypeModel": "Model",
+ "actualOutputLabel": "Actual Output",
+ "evalTargetHint": "Select a model or combo to evaluate.",
+ "suiteBuilderDeleted": "Suite deleted successfully",
+ "suiteBuilderCaseCardHint": "Define the input prompt and expected output criteria.",
+ "nextResetUtc": "Next reset (UTC)",
+ "scorecardHint": "Aggregated pass rates across all evaluation suites.",
+ "suiteLatestRunsHint": "Most recent evaluation runs for this suite.",
+ "saving": "Saving",
+ "suiteBuilderCaseModelLabel": "Model (optional)",
+ "evalControlsTitle": "Evaluation Controls",
+ "suiteBuilderEditTitle": "Edit Eval Suite",
+ "suiteBuilderCaseStrategyLabel": "Validation Strategy",
+ "notifySelectDifferentCompareTarget": "Please select a different target for comparison",
+ "recentRunsHint": "Showing the most recent evaluation runs. Click a run to see detailed results.",
+ "evalCompareHint": "Optionally compare results against a second target.",
+ "suiteBuilderCaseInvalid": "This case has validation errors. Please fix before saving.",
+ "historyEmpty": "No evaluation history yet",
+ "suiteBuilderUpdated": "Suite updated successfully",
+ "resetInterval": "Reset Interval",
+ "suiteBuilderCreateTitle": "Create Eval Suite",
+ "activePeriodSpend": "Active Period Spend",
+ "evalApiKeyHint": "Select which API key to use for evaluation requests.",
+ "evalCompareOptional": "Compare (optional)",
+ "suiteBuilderDeleteFailed": "Failed to delete suite",
+ "suiteBuilderCaseSystemPromptPlaceholder": "Optional system instructions...",
+ "scorecardCases": "Cases",
+ "runCompletedWithScore": "Evaluation completed — {score}% pass rate",
+ "suiteBuilderCustomBadge": "Custom",
+ "targetSuiteDefaults": "Suite defaults",
+ "suiteBuilderDeleteConfirm": "Are you sure you want to delete this suite? This action cannot be undone.",
+ "suiteBuilderNameLabel": "Suite Name",
+ "scorecardSuites": "Suites",
+ "evalCompareTarget": "Compare Target",
+ "suiteBuilderCaseModelPlaceholder": "e.g. gpt-4o-mini",
+ "evalControlsHint": "Configure your evaluation target and API key, then run suites to validate model quality.",
+ "recentRunsTitle": "Recent Runs",
+ "suiteBuilderCaseSystemPromptLabel": "System Prompt",
+ "suiteBuilderCaseExpectedPlaceholder": "e.g. def fibonacci",
+ "suiteBuilderCaseExpectedPlaceholderContains": "e.g. def fibonacci",
+ "suiteBuilderCaseExpectedPlaceholderExact": "Paste the exact expected response",
+ "suiteBuilderCaseExpectedPlaceholderRegex": "e.g. ^\\\\s*\\\\{.*\\\\}\\\\s*$",
+ "suiteBuilderCaseExpectedHintRegex": "Use a JavaScript regular expression without wrapping slashes.",
+ "suiteBuilderNamePlaceholder": "e.g. Coding Quality Suite",
+ "suiteBuilderAddCase": "Add Case",
+ "cancel": "Cancel",
+ "evalTarget": "Target",
+ "suiteBuilderCaseNameLabel": "Case Name",
+ "weeklyLimitUsd": "Weekly Limit (USD)",
+ "suiteBuilderCaseUserPromptPlaceholder": "e.g. Write a fibonacci function in Python",
+ "suiteBuilderNameRequired": "Suite name is required",
+ "suiteBuilderCaseUserPromptLabel": "User Prompt",
+ "daily": "Daily",
+ "resultErrorLabel": "Error",
+ "suiteBuilderBuiltInBadge": "Built-in",
+ "suiteBuilderCaseCardTitle": "Test Case",
+ "suiteBuilderDuplicateCase": "Duplicate",
+ "weeklyLimitPlaceholder": "e.g. 50.00",
+ "suiteBuilderCaseTagsHint": "Comma-separated tags for organizing test cases.",
+ "notifyEvalRunFailedWithReason": "Evaluation failed: {reason}",
+ "weekly": "Weekly",
+ "runEvalRunning": "Running evaluation...",
+ "delete": "Delete",
+ "resetTimeUtc": "Reset Time (UTC)",
+ "evalApiKeyAuto": "Auto (use default)",
+ "suiteBuilderDescriptionPlaceholder": "Optional description of what this suite tests...",
+ "targetComparisonTitle": "Target Comparison",
+ "save": "Save",
+ "suiteBuilderCreated": "Suite created successfully",
+ "suiteLatestRuns": "Latest Runs",
+ "suiteBuilderCaseExpectedLabel": "Expected Value",
+ "historyLatency": "Latency",
+ "suiteBuilderCaseTagsPlaceholder": "e.g. coding, python",
+ "targetTypeCombo": "Combo",
+ "scorecardPassed": "Passed",
+ "suiteBuilderCaseTagsLabel": "Tags",
+ "suiteBuilderNewSuite": "New Suite",
+ "notifyEvalLoadFailed": "Failed to load evaluation data",
+ "notConfigured": "Not Configured",
+ "suiteBuilderCaseNamePlaceholder": "e.g. Python fibonacci test",
+ "intervalLabel": "Interval",
+ "suiteBuilderCreateAction": "Create Suite",
+ "suiteBuilderCasesHint": "Each case sends a prompt and validates the response.",
+ "suiteBuilderUpdatedAt": "Updated",
+ "errorBadge": "Error",
+ "suiteBuilderCasesTitle": "Test Cases",
+ "edit": "Edit",
+ "monthly": "Monthly",
+ "suiteBuilderCasesRequired": "At least one test case is required",
+ "weeklyLimitSummary": "Weekly budget limit summary",
+ "suiteBuilderDescriptionLabel": "Description",
+ "targetComparisonHint": "Side-by-side comparison of evaluation results between targets.",
+ "compareCompletedWithScore": "Comparison completed — {score}% pass rate",
+ "staleQuotaTooltip": "Last refresh failed — showing cached data"
+ },
+ "modals": {
+ "waitingAuth": "Waiting for Authorization",
+ "verificationUrl": "Verification URL",
+ "yourCode": "Your Code",
+ "remoteAccess": "Remote access:",
+ "connectedSuccess": "Connected Successfully!",
+ "connectionFailed": "Connection Failed",
+ "chooseAuthMethod": "Choose your authentication method:",
+ "awsBuilderId": "AWS Builder ID",
+ "awsIamIdentity": "AWS IAM Identity Center",
+ "googleAccount": "Google Account",
+ "githubAccount": "GitHub Account",
+ "importToken": "Import Token",
+ "pasteToken": "Paste refresh token from Kiro IDE.",
+ "awsRegion": "AWS Region",
+ "autoDetecting": "Auto-detecting tokens...",
+ "readingFromCache": "Reading from AWS SSO cache",
+ "readingFromCursor": "Reading from Cursor IDE database",
+ "initializing": "Initializing...",
+ "pricingConfig": "Pricing Configuration",
+ "loadingPricing": "Loading pricing data...",
+ "pricingRatesFormat": "Pricing Rates Format",
+ "noPricingData": "No pricing data available",
+ "noModelsFound": "No models found"
+ },
+ "loggers": {
+ "allProviders": "All Providers",
+ "allModels": "All Models",
+ "allAccounts": "All Accounts",
+ "allApiKeys": "All API Keys",
+ "allTypes": "All Types",
+ "allLevels": "All Levels",
+ "modelAZ": "Model A-Z",
+ "modelZA": "Model Z-A",
+ "loadingLogs": "Loading logs...",
+ "loadingProxyLogs": "Loading proxy logs...",
+ "noLogEntries": "No log entries found",
+ "noPayloadData": "No payload data available for this log entry.",
+ "proxyEvent": "Proxy Event",
+ "proxy": "Proxy",
+ "level": "Level",
+ "directNative": "Direct (native)",
+ "combo": "Combo",
+ "inputTokens": "I:",
+ "outputTokens": "O:"
+ },
+ "stats": {
+ "usageOverview": "Usage Overview",
+ "outputTokens": "Output Tokens",
+ "totalCost": "Total Cost",
+ "usageByModel": "Usage by Model",
+ "usageByAccount": "Usage by Account",
+ "failedToLoad": "Failed to load usage statistics.",
+ "tokenHealth": "Token Health",
+ "totalOAuth": "Total OAuth",
+ "healthy": "Healthy",
+ "warning": "Warning",
+ "errored": "Errored",
+ "lastCheck": "Last check",
+ "noData": "No data",
+ "share": "Share",
+ "unableToLoad": "Unable to load system metrics",
+ "product": "Product",
+ "resources": "Resources",
+ "company": "Company"
+ },
+ "auth": {
+ "welcome": "Welcome",
+ "signIn": "Sign in",
+ "enterPassword": "Enter your password to continue",
+ "password": "Password",
+ "unifiedProxy": "Unified AI API Proxy",
+ "unifiedAiApiProxy": "Unified AI API Proxy",
+ "unifiedAiApiProxyDesc": "Route requests to multiple AI providers through a single endpoint. Load balancing, failover, and usage tracking built in.",
+ "passwordNotEnabled": "Password protection is not enabled",
+ "loading": "Loading...",
+ "invalidPassword": "Invalid password",
+ "errorOccurredRetry": "An error occurred. Please try again.",
+ "configureInstance": "Let's get your OmniRoute instance configured",
+ "runOnboardingWizard": "Run the onboarding wizard to set up your password and connect your first AI provider.",
+ "startOnboarding": "Start Onboarding",
+ "secureYourInstance": "Secure Your Instance",
+ "setPasswordDescription": "Set a password to protect your dashboard and secure your API endpoints from unauthorized access.",
+ "configurePassword": "Configure Password",
+ "continue": "Continue",
+ "windowWillClose": "This window will close automatically...",
+ "closeTabNow": "You can close this tab now.",
+ "copyUrlManual": "Please copy the URL from the address bar and paste it in the application.",
+ "accessDeniedDescription": "You don't have permission to access this resource. Check your API key or contact the administrator.",
+ "goToDashboard": "Go to Dashboard",
+ "featureMultiProviderTitle": "Multi-Provider",
+ "featureMultiProviderDesc": "OpenAI, Anthropic, Google, and more",
+ "featureLoadBalancingTitle": "Load Balancing",
+ "featureLoadBalancingDesc": "Distribute requests intelligently",
+ "featureUsageTrackingTitle": "Usage Tracking",
+ "featureUsageTrackingDesc": "Monitor costs and tokens",
+ "resetPassword": "Reset Password",
+ "resetDescription": "Choose a method to recover access to your dashboard",
+ "stopServer": "Stop the OmniRoute server",
+ "processing": "Processing...",
+ "pleaseWait": "Please wait while we complete the authorization.",
+ "authSuccess": "Authorization Successful!",
+ "copyUrl": "Copy This URL",
+ "accessDenied": "Access Denied",
+ "methodCliTitle": "Method 1: CLI Reset",
+ "methodCliDescription": "Run the following command on the server where OmniRoute is running:",
+ "methodCliHint": "This will prompt you to set a new password. The server must be stopped first.",
+ "methodManualTitle": "Method 2: Manual Reset",
+ "methodManualDescription": "Delete the password from the database and set a new one on startup:",
+ "setPasswordInYour": "Set a new password in your",
+ "fileLabelSuffix": "file:",
+ "newPasswordPlaceholder": "your_new_password",
+ "deleteSettingsFile": "Delete",
+ "orRemovePasswordHashField": "or remove the passwordHash field",
+ "restartServerWithNewPassword": "Restart the server - it will use the new password",
+ "backToLogin": "Back to Login",
+ "forgotPassword": "Forgot password?",
+ "defaultPasswordHint": "Default password: CHANGEME (unless INITIAL_PASSWORD was set)",
+ "Authorization": "Authorization",
+ "Content-Disposition": "Content-Disposition",
+ "waitingForAuthorization": "Waiting for authorization...",
+ "waitingForGoogleAuthorization": "Waiting for Google authorization...",
+ "waitingForOpenAIAuthorization": "Waiting for OpenAI authorization...",
+ "waitingForAntigravityAuthorization": "Waiting for Antigravity authorization...",
+ "waitingForQoderAuthorization": "Waiting for Qoder authorization...",
+ "exchangingCodeForTokens": "Exchanging code for tokens...",
+ "nodeIncompatibleTitle": "Incompatible Node.js Version",
+ "nodeIncompatibleDesc": "You are running Node.js {version}, which is outside OmniRoute's supported secure runtime policy. Use a patched Node.js 20.x or 22.x LTS release.",
+ "nodeIncompatibleFixLabel": "Fix: install a patched Node.js 22 LTS release",
+ "nodeIncompatibleHint": "OmniRoute requires Node.js 20.20.2+ (20.x LTS), 22.22.2+ (22.x LTS) or 24.0.0+ (24.x LTS). Node 24 LTS is recommended."
+ },
+ "landing": {
+ "brandName": "OmniRoute",
+ "navigateHome": "Navigate to home",
+ "toggleMenu": "Toggle menu",
+ "featuresLink": "Features",
+ "docsLink": "Docs",
+ "github": "GitHub",
+ "versionLive": "v1.0 is now live",
+ "oneEndpoint": "One Endpoint for",
+ "allProviders": "All AI Providers",
+ "heroDescription": "AI endpoint proxy with web dashboard - A JavaScript port of CLIProxyAPI. Works seamlessly with Claude Code, OpenAI Codex, Cline, RooCode, and other CLI tools.",
+ "getStarted": "Get Started",
+ "viewOnGithub": "View on GitHub",
+ "powerfulFeatures": "Powerful Features",
+ "featuresSubtitle": "Everything you need to manage your AI infrastructure in one place, built for scale.",
+ "featureUnifiedEndpointTitle": "Unified Endpoint",
+ "featureUnifiedEndpointDesc": "Access all providers via a single standard API URL.",
+ "featureEasySetupTitle": "Easy Setup",
+ "featureEasySetupDesc": "Get up and running in minutes with npx command.",
+ "featureModelFallbackTitle": "Model Fallback",
+ "featureModelFallbackDesc": "Automatically switch providers on failure or high latency.",
+ "featureUsageTrackingTitle": "Usage Tracking",
+ "featureUsageTrackingDesc": "Detailed analytics and cost monitoring across all models.",
+ "featureOAuthApiKeysTitle": "OAuth & API Keys",
+ "featureOAuthApiKeysDesc": "Securely manage credentials in one vault.",
+ "featureCloudSyncTitle": "Cloud Sync",
+ "featureCloudSyncDesc": "Sync your configurations across devices instantly.",
+ "featureCliSupportTitle": "CLI Support",
+ "featureCliSupportDesc": "Works with Claude Code, Codex, Cline, Cursor, and more.",
+ "featureDashboardTitle": "Dashboard",
+ "featureDashboardDesc": "Visual dashboard for real-time traffic analysis.",
+ "howItWorks": "How OmniRoute Works",
+ "howItWorksDescription": "Data flows seamlessly from your application through our intelligent routing layer to the best provider for the job.",
+ "howItWorksStep1Title": "1. CLI & SDKs",
+ "howItWorksStep1Description": "Your requests start from your favorite tools or our unified SDK. Just change the base URL.",
+ "howItWorksStep2Title": "2. OmniRoute Hub",
+ "howItWorksStep2Description": "Our engine analyzes the prompt, checks provider health, and routes for lowest latency or cost.",
+ "howItWorksStep3Title": "3. AI Providers",
+ "howItWorksStep3Description": "The request is fulfilled by OpenAI, Anthropic, Gemini, or others instantly.",
+ "getStartedIn30Seconds": "Get Started in 30 Seconds",
+ "getStartedDescription": "Install OmniRoute, configure your providers via web dashboard, and start routing AI requests.",
+ "installOmniRoute": "Install OmniRoute",
+ "installStepDescription": "Run npx command to start the server instantly",
+ "openDashboard": "Open Dashboard",
+ "openDashboardStepDescription": "Configure providers and API keys via web interface",
+ "routeRequests": "Route Requests",
+ "routeRequestsStepDescription": "Point your CLI tools to {endpoint}",
+ "terminal": "terminal",
+ "copy": "Copy",
+ "copied": "✓ Copied",
+ "startingOmniRoute": "Starting OmniRoute...",
+ "serverRunningOnLabel": "Server running on",
+ "dashboardLabel": "Dashboard",
+ "readyToRoute": "Ready to route! ✓",
+ "configureProvidersNote": "📝 Configure providers in dashboard or use environment variables",
+ "dataLocation": "Data Location:",
+ "dataLocationMacLinux": " macOS/Linux:",
+ "dataLocationWindows": " Windows:",
+ "product": "Product",
+ "dashboardLink": "Dashboard",
+ "changelog": "Changelog",
+ "resources": "Resources",
+ "documentation": "Documentation",
+ "npm": "NPM",
+ "legal": "Legal",
+ "mitLicense": "MIT License",
+ "footerTagline": "The unified endpoint for AI generation. Connect, route, and manage your AI providers with ease.",
+ "copyright": "© {year} OmniRoute. All rights reserved.",
+ "flowToolClaudeCode": "Claude Code",
+ "flowToolOpenAICodex": "OpenAI Codex",
+ "flowToolCline": "Cline",
+ "flowToolCursor": "Cursor",
+ "flowProviderOpenAI": "OpenAI",
+ "flowProviderAnthropic": "Anthropic",
+ "flowProviderGemini": "Gemini",
+ "flowProviderGithubCopilot": "GitHub Copilot",
+ "interactiveDiagram": "Interactive diagram visible on desktop",
+ "ctaTitle": "Ready to Simplify Your AI Infrastructure?",
+ "ctaDescription": "Join developers who are streamlining their AI integrations with OmniRoute. Open source and free to start.",
+ "startFree": "Start Free",
+ "readDocumentation": "Read Documentation"
+ },
+ "docs": {
+ "title": "Documentation",
+ "quickStart": "Quick Start",
+ "deploymentGuides": "Deployment Guides",
+ "features": "Features",
+ "supportedProviders": "Supported Providers",
+ "supportedProvidersToc": "Providers",
+ "commonUseCases": "Common Use Cases",
+ "clientCompatibility": "Client Compatibility",
+ "protocolsToc": "Protocols",
+ "apiReference": "API Reference",
+ "managementApiReference": "Management API Reference",
+ "managementApiDescription": "Automation endpoints for proxy registry, scope assignments, and legacy proxy migration.",
+ "method": "Method",
+ "path": "Path",
+ "notes": "Notes",
+ "modelPrefixes": "Model Prefixes",
+ "prefix": "Prefix",
+ "troubleshooting": "Troubleshooting",
+ "supportsChat": "Supports both chat and responses endpoints.",
+ "oauthAutoRefresh": "OAuth connection with automatic token refresh.",
+ "fullStreaming": "Full streaming support for all models.",
+ "docsLabel": "Docs",
+ "docsHeroDescription": "AI gateway for multi-provider LLMs. One endpoint for OpenAI, Anthropic, Gemini, GitHub Copilot, Claude Code, Cursor, and 20+ more providers.",
+ "openDashboard": "Open Dashboard",
+ "endpointPage": "Endpoint Page",
+ "github": "GitHub",
+ "reportIssue": "Report Issue",
+ "onThisPage": "On this page",
+ "documentationVersion": "Documentation - v{version}",
+ "quickStartStep1Title": "1. Install and run",
+ "quickStartStep1Prefix": "Run",
+ "quickStartStep1Middle": "or clone from GitHub and run",
+ "quickStartStep2Title": "2. Create API key",
+ "quickStartStep2Text": "Go to Endpoint -> Registered Keys. Generate one key per environment.",
+ "quickStartStep3Title": "3. Connect providers",
+ "quickStartStep3Text": "Add provider accounts via OAuth login, API key, or free-tier auto-connect.",
+ "quickStartStep4Title": "4. Set client base URL",
+ "quickStartStep4Prefix": "Point your IDE or API client to",
+ "quickStartStep4Suffix": "Use provider prefix, for example",
+ "deploySetupTitle": "Setup Guide",
+ "deploySetupText": "Step-by-step installation, environment configuration, and first-run walkthrough for OmniRoute.",
+ "deployElectronTitle": "Electron Desktop",
+ "deployElectronText": "Run OmniRoute as a native desktop application on Windows, macOS, and Linux.",
+ "deployDockerTitle": "Docker",
+ "deployDockerText": "Containerized deployment with Docker Compose; ready for production stacks and Kubernetes.",
+ "deployVmTitle": "Virtual Machine",
+ "deployVmText": "Self-host on any Linux VM. Includes systemd unit, log rotation, and backup tooling.",
+ "deployFlyTitle": "Fly.io",
+ "deployFlyText": "Deploy to Fly.io edge runtime with one fly.toml and a single deploy command.",
+ "deployPwaTitle": "PWA",
+ "deployPwaText": "Install OmniRoute as a Progressive Web App on Android, iOS, and desktop browsers.",
+ "deployTermuxTitle": "Termux (Android)",
+ "deployTermuxText": "Run OmniRoute headless on Android via Termux. Access the dashboard from your mobile browser.",
+ "featureRoutingTitle": "Multi-Provider Routing",
+ "featureRoutingText": "Route requests to 30+ AI providers through a single OpenAI-compatible endpoint. Supports chat, responses, audio, and image APIs.",
+ "featureCombosTitle": "Combos and Balancing",
+ "featureCombosText": "Create model combos with fallback chains and balancing strategies: round-robin, priority, random, least-used, and cost-optimized.",
+ "featureUsageTitle": "Usage and Cost Tracking",
+ "featureUsageText": "Real-time token counting, cost calculation per provider/model, and detailed usage breakdown by API key and account.",
+ "featureAnalyticsTitle": "Analytics Dashboard",
+ "featureAnalyticsText": "Visual analytics with charts for requests, tokens, errors, latency, costs, and model popularity over time.",
+ "featureHealthTitle": "Health Monitoring",
+ "featureHealthText": "Live health checks, provider status, circuit breaker states, and automatic rate limit detection with exponential backoff.",
+ "featureCliTitle": "CLI Tools",
+ "featureCliText": "Manage IDE configurations, export/import backups, discover codex profiles, and configure settings from the dashboard.",
+ "featureSecurityTitle": "Security and Policies",
+ "featureSecurityText": "API key authentication, IP filtering, prompt injection guard, domain policies, session management, and audit logging.",
+ "featureCloudSyncTitle": "Cloud Sync",
+ "featureCloudSyncText": "Sync your configuration to Cloudflare Workers for remote access with encrypted credentials and automatic failover.",
+ "providersAcrossConnectionTypes": "{count} providers across three connection types.",
+ "manageProviders": "Manage Providers",
+ "providersCount": "{count} providers",
+ "providerTypeFree": "Free Tier",
+ "providerTypeOAuth": "OAuth",
+ "providerTypeApiKey": "API Key",
+ "useCaseSingleEndpointTitle": "Single endpoint for many providers",
+ "useCaseSingleEndpointText": "Point clients to one base URL and route by model prefix (for example: gh/, cc/, kr/, openai/).",
+ "useCaseFallbackTitle": "Fallback and model switching with combos",
+ "useCaseFallbackText": "Create combo models in Dashboard and keep client config stable while providers rotate internally.",
+ "useCaseUsageVisibilityTitle": "Usage, cost and debug visibility",
+ "useCaseUsageVisibilityText": "Track tokens and cost by provider, account, and API key in Usage and Analytics tabs.",
+ "clientCherryStudioTitle": "Cherry Studio",
+ "baseUrlLabel": "Base URL",
+ "chatEndpointLabel": "Chat endpoint",
+ "modelRecommendationLabel": "Model recommendation: explicit prefix",
+ "clientCodexTitle": "Codex / GitHub Copilot Models",
+ "clientCodexBullet1": "Use model IDs with",
+ "clientCodexBullet2": "Codex-family models auto-route to",
+ "clientCodexBullet3": "Non-Codex models continue on",
+ "clientCursorTitle": "Cursor IDE",
+ "clientCursorBullet1": "Use",
+ "clientCursorBullet1Suffix": "prefix for Cursor models.",
+ "clientCursorBullet2": "OAuth connection - login from the Providers page.",
+ "clientClaudeTitle": "Claude Code / Antigravity",
+ "clientClaudeBullet1Prefix": "Use",
+ "clientClaudeBullet1Middle": "(Claude) or",
+ "clientClaudeBullet1Suffix": "(Antigravity) prefix.",
+ "clientWindsurfTitle": "Windsurf",
+ "clientWindsurfBullet1": "Use OmniRoute as an OpenAI-compatible base URL and keep explicit provider prefixes for deterministic routing.",
+ "clientWindsurfBullet2": "Point models to `/v1/chat/completions` for general traffic and preserve `/v1/responses` for Codex-style flows.",
+ "clientWindsurfBullet3": "Use Dashboard -> CLI Tools for a ready-made Windsurf configuration guide.",
+ "clientClineTitle": "Cline",
+ "clientClineBullet1": "Cline works best with explicit provider/model prefixes so the router never has to guess the backend.",
+ "clientClineBullet2": "Use `/v1/chat/completions` for general models and reuse the same OmniRoute base URL across different accounts.",
+ "clientClineBullet3": "Use the Providers dashboard to validate OAuth/API key before debugging Cline runtime issues.",
+ "clientKimiTitle": "Kimi Coding",
+ "clientKimiBullet1": "Use OmniRoute as a stable base URL while rotating accounts or provider combos underneath.",
+ "clientKimiBullet2": "Prefer prefixed models in coding flows so fallback and audit trail remain explicit.",
+ "clientKimiBullet3": "Use `/v1/responses` when you want native Responses-style routing for tool-using clients.",
+ "protocolsTitle": "Protocols: MCP & A2A",
+ "protocolsDescription": "OmniRoute exposes two operational protocols in addition to OpenAI-compatible APIs: MCP for tool execution and A2A for agent-to-agent workflows.",
+ "protocolMcpTitle": "MCP (Model Context Protocol)",
+ "protocolMcpDesc": "Use MCP over stdio to let clients discover and call OmniRoute tools with audit visibility.",
+ "protocolMcpStep1": "Start MCP transport with `omniroute --mcp`.",
+ "protocolMcpStep2": "Point your MCP client to stdio transport.",
+ "protocolMcpStep3": "Call `omniroute_get_health` and `omniroute_list_combos` to validate connectivity.",
+ "protocolA2aTitle": "A2A (Agent2Agent)",
+ "protocolA2aDesc": "Use A2A JSON-RPC to submit tasks synchronously or via SSE streaming.",
+ "protocolA2aStep1": "Read `/.well-known/agent.json` for agent discovery.",
+ "protocolA2aStep2": "Send `message/send` or `message/stream` requests to `POST /a2a`.",
+ "protocolA2aStep3": "Manage task lifecycle with `tasks/get` and `tasks/cancel`.",
+ "protocolTroubleshootingTitle": "Protocol Troubleshooting",
+ "protocolTroubleshooting1": "If MCP status is offline, verify the stdio process is running and heartbeat file is updating.",
+ "protocolTroubleshooting2": "If A2A tasks stay in `working`, inspect `/api/a2a/tasks/:id` and stream events for terminal state.",
+ "protocolTroubleshooting3": "Use `/dashboard/mcp` and `/dashboard/a2a` for operational controls and audit visibility.",
+ "endpointChatNote": "OpenAI-compatible chat endpoint (default).",
+ "endpointResponsesNote": "Responses API endpoint (Codex, o-series).",
+ "endpointModelsNote": "Model catalog for all connected providers.",
+ "endpointAudioNote": "Audio transcription (Deepgram, AssemblyAI).",
+ "endpointSpeechNote": "Text-to-speech generation (ElevenLabs, OpenAI TTS).",
+ "endpointEmbeddingsNote": "Text embedding generation (OpenAI, Cohere, Voyage).",
+ "endpointImagesNote": "Image generation (NanoBanana).",
+ "endpointRewriteChatNote": "Rewrite helper for clients without /v1.",
+ "endpointRewriteResponsesNote": "Rewrite helper for Responses without /v1.",
+ "endpointRewriteModelsNote": "Rewrite helper for model discovery without /v1.",
+ "mgmtProxiesListNote": "List saved proxy registry items (supports pagination).",
+ "mgmtProxiesCreateNote": "Create a reusable proxy item in the registry.",
+ "mgmtProxiesHealthNote": "Get 24h/rolling health metrics per saved proxy from proxy logs.",
+ "mgmtProxiesBulkAssignNote": "Assign or clear one proxy across many scope IDs in one request.",
+ "mgmtAssignmentsListNote": "List proxy assignments by scope, scope_id, or proxy_id.",
+ "mgmtAssignmentsUpdateNote": "Assign or clear proxy for global/provider/account/combo scope.",
+ "mgmtLegacyMigrationNote": "Import legacy proxyConfig maps into registry assignments.",
+ "modelPrefixesDescriptionStart": "Use the provider prefix before the model name to route to a specific provider. Example:",
+ "modelPrefixesDescriptionEnd": "routes to GitHub Copilot.",
+ "provider": "Provider",
+ "type": "Type",
+ "troubleshootingModelRouting": "If the client fails with model routing, use explicit provider/model (for example: gh/gpt-5.1-codex).",
+ "troubleshootingAmbiguousModels": "If you receive ambiguous model errors, pick a provider prefix instead of a bare model ID.",
+ "troubleshootingCodexFamily": "For GitHub Codex-family models, keep model as gh/codex-model; router selects /responses automatically.",
+ "troubleshootingTestConnection": "Use Dashboard > Providers > Test Connection before testing from IDEs or external clients.",
+ "troubleshootingCircuitBreaker": "If a provider shows circuit breaker open, wait for the cooldown or check Health page for details.",
+ "troubleshootingOAuth": "For OAuth providers, re-authenticate if tokens expire. Check the provider card status indicator.",
+ "endpointCompletionsNote": "Legacy completions endpoint for text generation.",
+ "endpointModerationsNote": "Content moderation and safety classification.",
+ "endpointRerankNote": "Document reranking for retrieval-augmented generation (Cohere, Jina).",
+ "endpointSearchNote": "Web search with 5 providers (Serper, Brave, Exa, Tavily, Perplexity).",
+ "endpointSearchAnalyticsNote": "Analytics and metrics for search requests.",
+ "endpointVideoNote": "Video generation (ComfyUI, SD WebUI workflows).",
+ "endpointMusicNote": "Music generation via ComfyUI workflows.",
+ "endpointMessagesNote": "Anthropic-native messages endpoint.",
+ "endpointCountTokensNote": "Count tokens for a given message payload.",
+ "endpointFilesNote": "File upload for multimodal inputs.",
+ "endpointBatchesNote": "Batch processing for bulk API requests.",
+ "endpointWsNote": "WebSocket endpoint for real-time streaming.",
+ "mgmtProvidersListNote": "List all registered provider connections.",
+ "mgmtProvidersCreateNote": "Create a new provider connection.",
+ "mgmtProvidersUpdateNote": "Update an existing provider connection.",
+ "mgmtProvidersDeleteNote": "Delete a provider connection.",
+ "mgmtProvidersTestNote": "Test connectivity and authentication for a provider.",
+ "mgmtProvidersModelsNote": "List available models for a specific provider.",
+ "mgmtSettingsGetNote": "Retrieve current application settings.",
+ "mgmtSettingsUpdateNote": "Update application settings.",
+ "mgmtPayloadRulesGetNote": "Get payload transformation rules.",
+ "mgmtPayloadRulesUpdateNote": "Update payload transformation rules.",
+ "mcpToolsTitle": "MCP Tools",
+ "mcpToolsDescription": "OmniRoute exposes {count} tools via Model Context Protocol for agent orchestration.",
+ "mcpToolsCount": "{count} tools",
+ "mcpToolsToc": "MCP Tools",
+ "mcpToolsRoutingTitle": "Routing & Discovery",
+ "mcpToolsRoutingDesc": "Health checks, combo management, quota monitoring, cost reporting, and model catalog access.",
+ "mcpToolsOperationsTitle": "Operations & Strategy",
+ "mcpToolsOperationsDesc": "Route simulation, budget guards, strategy switching, resilience profiles, and provider metrics.",
+ "mcpToolsCacheTitle": "Cache Management",
+ "mcpToolsCacheDesc": "View cache statistics and flush semantic or signature caches.",
+ "mcpToolsCompressionTitle": "Compression Engines",
+ "mcpToolsCompressionDesc": "Configure RTK/Brotli compression, swap engines, and inspect compression analytics by combo.",
+ "mcpToolsOneProxyTitle": "1Proxy / Tunnels",
+ "mcpToolsOneProxyDesc": "Manage outbound proxies, rotate residential IPs, and inspect proxy health.",
+ "mcpToolsMemoryTitle": "Memory",
+ "mcpToolsMemoryDesc": "Search, add, and clear persistent conversational memory entries.",
+ "mcpToolsSkillsTitle": "Skills",
+ "mcpToolsSkillsDesc": "List, enable, execute, and monitor custom skill executions.",
+ "featureAutoComboTitle": "Auto-Combo",
+ "featureAutoComboText": "Automatically create optimized combos based on your connected providers, usage patterns, and model capabilities.",
+ "featureSearchTitle": "Web Search",
+ "featureSearchText": "Integrated web search with 5 providers (Serper, Brave, Exa, Tavily, Perplexity) including analytics and cost tracking.",
+ "featureMemoryTitle": "Memory System",
+ "featureMemoryText": "Persistent conversational memory with extraction, injection, retrieval, and summarization across sessions.",
+ "featureSkillsTitle": "Skills Framework",
+ "featureSkillsText": "Extensible skill system with built-in and custom skills, sandbox execution, request interception, and context injection.",
+ "featureAcpTitle": "Agent Communication",
+ "featureAcpText": "Agent Communication Protocol (ACP) registry for managing agent-to-agent workflows and tool orchestration.",
+ "protocolAcpTitle": "ACP (Agent Communication)",
+ "protocolAcpDesc": "Register and manage agents via the ACP registry for inter-agent communication and tool sharing.",
+ "protocolAcpStep1": "Navigate to Dashboard → Agents to view registered ACP agents.",
+ "protocolAcpStep2": "Register new agents with capabilities and endpoint configuration.",
+ "protocolAcpStep3": "Use CLI Tools to configure agent communication channels."
+ },
+ "legal": {
+ "privacyPolicy": "Privacy Policy",
+ "termsOfService": "Terms of Service",
+ "providerConfigurations": "Provider configurations",
+ "apiKeys": "API keys",
+ "usageLogs": "Usage logs",
+ "applicationSettings": "Application settings",
+ "viewExportAnalytics": "View and export usage analytics",
+ "clearHistory": "Clear usage history at any time",
+ "configureRetention": "Configure log retention policies",
+ "backupRestore": "Back up and restore your database",
+ "privacyMetadataTitle": "Privacy Policy | OmniRoute",
+ "privacyMetadataDescription": "Privacy policy for the OmniRoute AI API proxy router.",
+ "termsMetadataTitle": "Terms of Service | OmniRoute",
+ "termsMetadataDescription": "Terms of service for the OmniRoute AI API proxy router.",
+ "backToHome": "Back to home",
+ "lastUpdated": "Last updated: {date}",
+ "policyLastUpdatedDate": "February 13, 2026",
+ "listSeparator": "-",
+ "questionsVisit": "Questions? Visit our",
+ "githubRepository": "GitHub repository",
+ "privacySection1Title": "1. Local-First Architecture",
+ "privacySection1Text": "OmniRoute is designed as a local-first application. All data processing and storage occurs entirely on your machine. There is no centralized server collecting your information.",
+ "privacySection2Title": "2. Data We Store",
+ "privacyDataStoredIn": "The following data is stored locally in",
+ "privacyDataProviderConfigurationsDesc": "connection URLs, provider types, and priority settings",
+ "privacyDataApiKeysDesc": "encrypted and stored locally for authenticating with AI providers",
+ "privacyDataUsageLogsDesc": "request counts, token usage, model names, timestamps, and response times",
+ "privacyDataApplicationSettingsDesc": "theme preferences, routing strategy, and combo configurations",
+ "privacySection3Title": "3. No Telemetry",
+ "privacySection3Text": "OmniRoute does not collect telemetry, analytics, or crash reports. No data is sent to us or any third party. Your usage patterns, API calls, and configurations remain entirely private.",
+ "privacySection4Title": "4. Third-Party AI Providers",
+ "privacySection4Text": "When you make API calls through OmniRoute, your requests are forwarded to the AI providers you have configured (for example: OpenAI, Anthropic, Google). These providers have their own privacy policies that govern how they handle your data. Please review:",
+ "privacyOpenAiPolicy": "OpenAI Privacy Policy",
+ "privacyAnthropicPolicy": "Anthropic Privacy Policy",
+ "privacyGooglePolicy": "Google Privacy Policy",
+ "privacySection5Title": "5. Cloud Sync (Optional)",
+ "privacySection5Text": "If you enable the optional cloud sync feature, provider configurations and API keys may be transmitted to a configured cloud endpoint. This feature is disabled by default and requires explicit opt-in.",
+ "privacySection6Title": "6. Logging",
+ "privacyLoggingIntro": "Request logs can be configured through the dashboard settings. You can:",
+ "privacySection7Title": "7. Your Rights",
+ "privacySection7TextStart": "Since all data is stored locally, you have full control. You can delete your data at any time by removing the",
+ "privacySection7TextEnd": "directory or using the database backup and restore features in the dashboard.",
+ "termsSection1Title": "1. Overview",
+ "termsSection1Text": "OmniRoute is a local-first AI API proxy router that operates entirely on your machine. It routes requests to multiple AI providers with load balancing, failover, and usage tracking.",
+ "termsSection2Title": "2. User Responsibilities",
+ "termsResponsibilityApiKeys": "You are solely responsible for managing your own API keys and credentials for third-party AI providers (OpenAI, Anthropic, Google, etc.).",
+ "termsResponsibilityCompliance": "You must comply with the terms of service of each AI provider whose API you access through OmniRoute.",
+ "termsResponsibilitySecurity": "You are responsible for the security of your local OmniRoute installation, including setting a password and restricting network access.",
+ "termsSection3Title": "3. How It Works",
+ "termsSection3Text": "OmniRoute acts as an intermediary proxy. API calls sent to OmniRoute are translated and forwarded to your configured AI providers. OmniRoute does not modify the content of your requests or responses beyond the necessary protocol translation.",
+ "termsSection4Title": "4. Data Handling",
+ "termsDataStoredLocally": "All data is stored locally on your machine in a SQLite database.",
+ "termsNoTransmission": "OmniRoute does not transmit any data to external servers unless you explicitly enable cloud sync features.",
+ "termsDataLocationText": "Usage logs, API keys, and configuration are stored in",
+ "termsSection5Title": "5. Disclaimer",
+ "termsSection5Text": "OmniRoute is provided \"as is\" without warranty of any kind. We are not responsible for any costs incurred through API usage, service disruptions, or data loss. Always maintain backups of your configuration.",
+ "termsSection6Title": "6. Open Source",
+ "termsSection6Text": "OmniRoute is open-source software. You are free to inspect, modify, and distribute it under the terms of its license."
+ },
+ "agents": {
+ "title": "CLI Agents",
+ "description": "Discover installed CLI agents on your system. Add custom agents for auto-detection.",
+ "refresh": "Refresh",
+ "installed": "Installed",
+ "notFound": "Not Found",
+ "builtIn": "Built-in",
+ "custom": "Custom",
+ "remove": "Remove",
+ "addCustomAgent": "Add Custom Agent",
+ "addCustomAgentDesc": "Register any CLI tool for detection. It will be scanned automatically on refresh.",
+ "agentName": "Agent Name",
+ "binaryName": "Binary Name",
+ "versionCommand": "Version Command",
+ "spawnArgs": "Spawn Args",
+ "addAgent": "Add Agent",
+ "scanning": "Scanning system for CLI agents...",
+ "opencodeIntegration": "OpenCode Integration",
+ "opencodeDetected": "opencode {version} detected",
+ "opencodeDesc": "Generate a ready-to-use {configFile} with your OmniRoute base URL and all available models — drop it in your project root and run {command}.",
+ "downloadConfig": "Download {file}",
+ "downloaded": "Downloaded!",
+ "setupGuideTitle": "Setup guide",
+ "openCliTools": "Open CLI Tools",
+ "setupGuideDetectCliTitle": "Detect installed CLIs",
+ "setupGuideDetectCliDesc": "Click Refresh after installing or updating a CLI so OmniRoute can rescan binaries and versions.",
+ "setupGuideCustomAgentTitle": "Register custom binary",
+ "setupGuideCustomAgentDesc": "Use Add Custom Agent when your CLI is not in the built-in list. Provide binary name and version command.",
+ "setupGuideCommandMissingTitle": "Fix 'command not found'",
+ "setupGuideCommandMissingDesc": "Ensure the CLI command exists in PATH, open a new terminal session, and rerun Refresh.",
+ "cliToolsRedirectTitle": "Looking to configure your IDE?",
+ "cliToolsRedirectDesc": "If you want to point Claude Code, Cursor, Codex, or any IDE at OmniRoute as a proxy, go to CLI Tools instead. This page is for the reverse — using local CLI binaries as execution targets that OmniRoute can spawn and route requests through.",
+ "spawnArgsPlaceholder": "e.g., --quiet, --json, --no-auto-commits",
+ "binaryNamePlaceholder": "e.g., my-agent or /usr/local/bin/llm-cli",
+ "versionCommandPlaceholder": "e.g., my-agent --version",
+ "architectureTitle": "How Agent Targets Work",
+ "flowLocalBinary": "3 · CLI process with its own auth",
+ "flowOmniRoute": "1 · Request arrives at OmniRoute",
+ "agentNamePlaceholder": "e.g., My Custom Agent",
+ "architectureDescription": "When a request arrives, OmniRoute can spawn a local CLI binary (e.g., claude, codex, goose) and pipe the request through it. The CLI processes the request using its own credentials and returns the result back through OmniRoute.",
+ "flowExecute": "4 · Response returned to client",
+ "flowSpawn": "2 · OmniRoute spawns local binary",
+ "cliToolsRedirectCta": "Go to CLI Tools →",
+ "comparisonTitle": "CLI Tools vs Agent Targets — What's the Difference?",
+ "comparisonCliToolsLabel": "CLI Tools page",
+ "comparisonCliToolsTitle": "Your IDE sends requests through OmniRoute",
+ "comparisonCliToolsDesc": "Configure Claude Code, Codex, Cursor, and other IDEs to use OmniRoute as their API base URL. OmniRoute acts as a proxy, routing requests to your configured providers.",
+ "comparisonAgentsLabel": "This page (Agent Targets)",
+ "comparisonAgentsTitle": "OmniRoute sends requests into local CLI tools",
+ "comparisonAgentsDesc": "OmniRoute can spawn local CLI binaries (claude, codex, goose) as execution backends. The CLI tool processes the request using its own authentication and returns the result.",
+ "comparisonSummary": "In short: CLI Tools = you configure tools to point at OmniRoute. Agent Targets = OmniRoute uses tools as its endpoints.",
+ "agentUseCaseHint": "Can be used as an execution target via ACP protocol",
+ "flowDiagramClient": "Client App",
+ "flowDiagramClientDesc": "SDK, API, or upstream service",
+ "flowDiagramOmniRoute": "OmniRoute",
+ "flowDiagramOmniRouteDesc": "Receives request and selects target",
+ "flowDiagramSpawn": "Spawn Process",
+ "flowDiagramSpawnDesc": "Launches CLI binary via stdio",
+ "flowDiagramCli": "CLI Agent",
+ "flowDiagramCliDesc": "Processes with own auth/model",
+ "fingerprintSettingsHint": "CLI Fingerprint matching (disguise requests as specific CLI tools) can be configured in",
+ "settingsRoutingLink": "Settings/Routing",
+ "openSettings": "Settings"
+ },
+ "cloudAgents": {
+ "title": "Cloud Agents",
+ "description": "Manage autonomous coding agents (Jules, Devin, Codex Cloud)",
+ "loading": "Loading tasks...",
+ "aboutTitle": "About Cloud Agents",
+ "aboutDescription": "Cloud agents are remote AI coding assistants that can execute tasks autonomously. They work differently from local CLI agents - you interact with them through OmniRoute's API.",
+ "howItWorksTitle": "How it works:",
+ "howItWorksDesc": "Create a task → Agent analyzes and proposes a plan → You approve → Agent executes → Results returned",
+ "newTaskTitle": "Create New Task",
+ "newTaskDescription": "Start a new task with a cloud agent",
+ "selectAgent": "Select Agent",
+ "taskDescription": "Task Description",
+ "taskDescriptionPlaceholder": "Describe what you want the agent to do...",
+ "startTask": "Start Task",
+ "tasks": "Tasks",
+ "taskDetail": "Task Detail",
+ "noTasks": "No tasks yet. Create one to get started.",
+ "untitledTask": "Untitled Task",
+ "created": "Created",
+ "conversation": "Conversation",
+ "result": "Result",
+ "error": "Error",
+ "planReady": "Plan Ready for Approval",
+ "approvePlan": "Approve Plan",
+ "rejectPlan": "Reject & Cancel",
+ "sendMessagePlaceholder": "Send a message to the agent...",
+ "cancel": "Cancel",
+ "delete": "Delete",
+ "selectTaskPrompt": "Select a task to view details",
+ "statusPending": "Pending",
+ "statusRunning": "Running",
+ "statusWaitingApproval": "Waiting Approval",
+ "statusCompleted": "Completed",
+ "statusFailed": "Failed",
+ "statusCancelled": "Cancelled"
+ },
+ "templateNames": {
+ "simple-chat": "Simple Chat",
+ "streaming": "Streaming",
+ "system-prompt": "System Prompt",
+ "thinking": "Thinking",
+ "tool-calling": "Tool Calling",
+ "multi-turn": "Multi-turn"
+ },
+ "templateDescriptions": {
+ "simple-chat": "Basic chat template with system message",
+ "streaming": "Template for streaming responses",
+ "system-prompt": "Template with custom system prompt",
+ "thinking": "Template with reasoning/thinking budget",
+ "tool-calling": "Template for tool/function calling",
+ "multi-turn": "Template for multi-turn conversations"
+ },
+ "templatePayloads": {
+ "simpleChat": {
+ "system": "You are a helpful AI assistant.",
+ "userGreeting": "Hello! How can I help you today?"
+ },
+ "streaming": {
+ "prompt": "Write a story about"
+ },
+ "systemPrompt": {
+ "question": "What is the meaning of life?",
+ "systemInstruction": "Provide a thoughtful, philosophical answer."
+ },
+ "thinking": {
+ "question": "Explain quantum computing"
+ },
+ "toolCalling": {
+ "cityNameDescription": "The name of the city to get weather for",
+ "toolDescription": "Get current weather for a location",
+ "userWeather": "What's the weather in Tokyo?"
+ },
+ "multiTurn": {
+ "system": "You are a helpful assistant.",
+ "assistantExample": "I'd be happy to help you with that.",
+ "userInitial": "I need help with",
+ "userFollowUp": "Can you elaborate on that?"
+ }
+ },
+ "cache": {
+ "title": "Cache Management",
+ "description": "Monitor provider prompt cache efficiency and local semantic response reuse.",
+ "refresh": "Refresh",
+ "clearAll": "Clear Semantic Cache",
+ "memoryEntries": "Memory Entries",
+ "memoryEntriesSub": "In-memory LRU",
+ "dbEntries": "DB Entries",
+ "dbEntriesSub": "Persisted (SQLite)",
+ "cacheHits": "Cache Hits",
+ "cacheHitsSub": "of {total} total",
+ "tokensSaved": "Tokens Saved",
+ "tokensSavedSub": "Estimated from hits",
+ "hitRate": "Hit Rate",
+ "performance": "Cache Performance",
+ "autoRefresh": "Auto-refreshes every {seconds}s",
+ "hits": "Hits",
+ "misses": "Misses",
+ "total": "Total",
+ "behavior": "Cache Behavior",
+ "behaviorDeterministic": "Only non-streaming requests with temperature=0 are cached.",
+ "behaviorBypass": "Bypass with header {header}.",
+ "behaviorTwoTier": "Two-tier storage: in-memory LRU (fast) + SQLite (persistent across restarts).",
+ "behaviorTtl": "Default TTL: 30 minutes. Configure via {envVar}.",
+ "idempotency": "Idempotency Layer",
+ "activeDedupKeys": "Active Dedup Keys",
+ "dedupWindow": "Dedup Window",
+ "clearSuccess": "Semantic cache cleared. {count} entries removed.",
+ "clearError": "Failed to clear cache.",
+ "unavailable": "Cache unavailable",
+ "unavailableDesc": "Could not fetch cache statistics. Make sure the server is running.",
+ "promptCache": "Prompt Cache (Provider-Side)",
+ "semanticCache": "Semantic Cache",
+ "promptCacheSectionDesc": "Shows provider-side prompt caching activity from usage history so you can see where cache control is active and how much input reuse you are getting.",
+ "promptTrendDesc": "Hourly request volume, cache coverage, and cache read volume across the last 24 hours.",
+ "cachedRequests": "Cached Requests",
+ "cachedRequests24h": "Cached Requests (24h)",
+ "cacheHitRate": "Cache Hit Rate",
+ "cacheRate": "Cache Rate",
+ "cacheRateDesc": "of total requests",
+ "cachedTokens": "Cache Read Tokens",
+ "cacheCreationTokens": "Cache Write Tokens",
+ "cacheMetrics": "Prompt Cache Metrics",
+ "withCacheControl": "With Cache Control",
+ "cachedTokensRead": "Read from cache",
+ "cacheCreationWrite": "Written to cache",
+ "cacheReuseRatio": "Cache Reuse Ratio",
+ "cacheReuseRatioDesc": "Cache read tokens / Total input tokens",
+ "estCostSaved": "Est. Cost Saved",
+ "lastUpdated": "Last updated",
+ "hoursTracked": "hours tracked",
+ "busiestHour": "Busiest Hour",
+ "peakCacheRate": "Peak Cache Rate",
+ "trendHour": "Hour",
+ "activityVolume": "Activity",
+ "requestsShort": "reqs",
+ "inputShort": "In",
+ "cachedShort": "Cached",
+ "writeShort": "Write",
+ "resetting": "Resetting...",
+ "resetMetrics": "Reset Metrics",
+ "byProvider": "Breakdown by Provider",
+ "providerCacheRateDesc": "Each provider exposes total input tokens, cache read tokens, and cache write tokens so you can verify the reuse ratio against raw totals.",
+ "provider": "Provider",
+ "requests": "Requests",
+ "inputTokens": "Total Input Tokens",
+ "cachedTokensCol": "Cache Read",
+ "cacheCreation": "Cache Write",
+ "trend24h": "Cache Trend (24h)",
+ "peakCached": "Peak cached",
+ "cached": "Cached",
+ "overview": "Overview",
+ "entries": "Entries",
+ "semanticCacheSectionDesc": "OmniRoute's own deterministic response cache. When enabled, repeated non-streaming temperature=0 requests can be served locally without hitting the upstream provider.",
+ "semanticCacheDisabledDesc": "Semantic cache is disabled. OmniRoute will skip local response reuse until you turn it back on in Settings.",
+ "semanticEntriesDesc": "Persisted semantic cache records currently stored in SQLite. Provider-side prompt cache activity is not listed here.",
+ "searchEntries": "Search entries...",
+ "search": "Search",
+ "loading": "Loading...",
+ "entriesLoadError": "Failed to load semantic cache entries.",
+ "noEntries": "No cache entries found",
+ "noPromptCacheData": "No provider-side prompt cache activity has been recorded yet.",
+ "noTrendData": "No prompt cache activity has been recorded over the last 24 hours.",
+ "signature": "Signature",
+ "model": "Model",
+ "created": "Created",
+ "expires": "Expires",
+ "actions": "Actions",
+ "deduplicatedRequests": "Deduplicated Requests",
+ "savedCalls": "Saved API Calls",
+ "totalProcessed": "Total Requests Processed",
+ "disabled": "Disabled",
+ "totalRequests": "Total Requests",
+ "reasoningCache": "Reasoning Replay",
+ "reasoningCacheDesc": "Preserves model thinking for multi-turn tool calling flows",
+ "reasoningEntries": "Active Entries",
+ "reasoningReplayRate": "Replay Rate",
+ "reasoningReplays": "Total Replays",
+ "reasoningCharsCached": "Characters Cached",
+ "reasoningMisses": "Cache Misses",
+ "reasoningByProvider": "By Provider",
+ "reasoningByModel": "By Model",
+ "reasoningRecentEntries": "Recent Entries",
+ "reasoningToolCallId": "Tool Call ID",
+ "reasoningChars": "Characters",
+ "reasoningAge": "Age",
+ "reasoningView": "View",
+ "reasoningDetail": "Reasoning Content",
+ "reasoningBehavior": "Behavior",
+ "reasoningBehaviorCapture": "Captures reasoning_content from streaming responses",
+ "reasoningBehaviorReplay": "Re-injects on next turn when client omits it",
+ "reasoningBehaviorFallback": "Memory-first with SQLite fallback for crash recovery",
+ "reasoningBehaviorTtl": "TTL: 2 hours | Max entries: 2,000 (memory)",
+ "reasoningBehaviorModels": "Supported: DeepSeek, Kimi, Qwen-Thinking, GLM",
+ "reasoningClearAll": "Clear Reasoning Cache",
+ "reasoningClearSuccess": "Cleared {count} reasoning cache entries",
+ "reasoningClearError": "Failed to clear reasoning cache",
+ "reasoningNoData": "No reasoning entries cached yet. Entries appear when thinking models use tool calling."
+ },
+ "proxyConfigModal": {
+ "levelGlobal": "Global",
+ "levelProvider": "Provider",
+ "levelCombo": "Combo",
+ "levelKey": "Key",
+ "levelDirect": "Direct (no proxy)",
+ "titleGlobal": "Global Proxy Configuration",
+ "titleLevel": "{level} Proxy — {label}",
+ "loading": "Loading proxy configuration...",
+ "inheritingFrom": "Inheriting from",
+ "source": "Source",
+ "savedProxy": "Saved Proxy",
+ "custom": "Custom",
+ "selectSavedProxyPlaceholder": "Select saved proxy...",
+ "proxyType": "Proxy Type",
+ "host": "Host",
+ "hostPlaceholder": "1.2.3.4 or proxy.example.com",
+ "port": "Port",
+ "authOptional": "Authentication (optional)",
+ "username": "Username",
+ "usernamePlaceholder": "Username",
+ "password": "Password",
+ "passwordPlaceholder": "Password",
+ "connected": "Connected",
+ "ip": "IP:",
+ "connectionFailed": "Connection failed",
+ "testConnection": "Test connection",
+ "clear": "Clear",
+ "cancel": "Cancel",
+ "save": "Save",
+ "errorSelectSavedProxy": "Please select a saved proxy first.",
+ "errorSelectProxyFirst": "Please select a proxy first.",
+ "errorProxyNotFound": "Selected proxy not found.",
+ "errorClearSavedProxy": "Failed to clear saved proxy",
+ "errorSaveProxy": "Failed to save proxy configuration",
+ "errorClearProxy": "Failed to clear proxy configuration",
+ "errorSocks5Hidden": "SOCKS5 is configured but hidden because NEXT_PUBLIC_ENABLE_SOCKS5_PROXY=false."
+ },
+ "oauthModal": {
+ "title": "Connect {providerName}",
+ "waiting": "Waiting for authorization",
+ "completeAuthInPopup": "Complete authorization in popup.",
+ "popupClosedHint": "If the popup closed without redirecting back (e.g. Qoder), this dialog will auto-switch to manual URL entry mode.",
+ "popupBlocked": "Popup blocked? Enter URL manually",
+ "deviceCodeVisitUrl": "Visit the URL below and enter code:",
+ "deviceCodeVerificationUrl": "Verification URL",
+ "deviceCodeYourCode": "Your code",
+ "deviceCodeWaiting": "Waiting for authorization...",
+ "googleOAuthWarning": "Remote access + Google OAuth: Default credentials only accept redirects to <code>localhost</code>. After authorizing, your browser will try to open <code>localhost</code> — copy that full URL and paste it below. For fully remote use without this manual step, <a>configure your own OAuth credentials</a>.",
+ "remoteAccessInfo": "Remote access: Since you're accessing OmniRoute remotely, after authorization you'll see an error page (localhost not found). This is normal — just copy the full URL from your browser address bar and paste it below.",
+ "step1OpenUrl": "Step 1: Open this URL in your browser",
+ "copy": "Copy",
+ "step2PasteCallback": "Step 2: Paste callback URL or authorization code here",
+ "step2Hint": "After authorization, paste the full callback URL. For Claude Code and Cline, you can also paste the authentication code directly, e.g. <code>code#state</code>.",
+ "connect": "Connect",
+ "cancel": "Cancel",
+ "success": "Connection successful!",
+ "successMessage": "Your {providerName} account has been connected.",
+ "done": "Done",
+ "error": "Connection failed",
+ "tryAgain": "Try again"
+ },
+ "cursorAuthModal": {
+ "title": "Connect Cursor IDE",
+ "autoDetecting": "Auto-detecting tokens...",
+ "readingFromCursor": "Reading from Cursor IDE or cursor-agent",
+ "tokensAutoDetected": "Tokens successfully auto-detected from Cursor IDE!",
+ "cursorNotDetected": "Cursor IDE not detected. Please manually paste your token.",
+ "accessToken": "Access Token",
+ "required": "*",
+ "accessTokenPlaceholder": "Access token will auto-populate...",
+ "machineId": "Machine ID",
+ "optional": "(optional)",
+ "machineIdPlaceholder": "Machine ID will auto-populate...",
+ "importing": "Importing...",
+ "importToken": "Import Token",
+ "cancel": "Cancel",
+ "errorAutoDetect": "Unable to auto-detect tokens",
+ "errorAutoDetectFailed": "Auto-detect tokens failed",
+ "errorEnterToken": "Please enter access token",
+ "errorImportFailed": "Import failed"
+ },
+ "pricingModal": {
+ "title": "Pricing Configuration",
+ "loading": "Loading pricing data...",
+ "pricingRatesFormat": "Pricing Rates Format",
+ "ratesDescription": "All rates are in <strong>dollars per million tokens</strong> ($/1M tokens). Example: Input rate of 2.50 means $2.50 per 1,000,000 input tokens.",
+ "model": "Model",
+ "input": "Input",
+ "output": "Output",
+ "cached": "Cached",
+ "reasoning": "Reasoning",
+ "cacheCreation": "Cache Creation",
+ "noPricingData": "No pricing data available",
+ "resetToDefaults": "Reset to defaults",
+ "cancel": "Cancel",
+ "saving": "Saving...",
+ "saveChanges": "Save changes",
+ "resetConfirm": "Reset all pricing to defaults? This cannot be undone.",
+ "errorSaveFailed": "Failed to save pricing",
+ "errorResetFailed": "Failed to reset pricing"
+ },
+ "proxyRegistry": {
+ "title": "Proxy Registry",
+ "description": "Store reusable proxies and track assignments.",
+ "importLegacy": "Import Legacy",
+ "bulkAssign": "Bulk Assign",
+ "addProxy": "Add Proxy",
+ "loading": "Loading proxies...",
+ "noProxies": "No saved proxies yet.",
+ "tableName": "Name",
+ "tableEndpoint": "Endpoint",
+ "tableStatus": "Status",
+ "tableHealth": "Health (24h)",
+ "tableUsage": "Usage",
+ "tableActions": "Actions",
+ "test": "Test",
+ "edit": "Edit",
+ "delete": "Delete",
+ "modalCreateTitle": "Create Proxy",
+ "modalEditTitle": "Edit Proxy",
+ "labelName": "Name",
+ "labelType": "Type",
+ "labelHost": "Host",
+ "labelPort": "Port",
+ "labelUsername": "Username",
+ "labelPassword": "Password",
+ "labelRegion": "Region",
+ "labelStatus": "Status",
+ "labelNotes": "Notes",
+ "usernamePlaceholderEdit": "Leave blank to keep current username",
+ "passwordPlaceholderEdit": "Leave blank to keep current password",
+ "statusActive": "Active",
+ "statusInactive": "Inactive",
+ "cancel": "Cancel",
+ "save": "Save",
+ "bulkModalTitle": "Bulk Proxy Assignment",
+ "bulkLabelScope": "Scope",
+ "bulkLabelProxy": "Proxy",
+ "bulkClearAssignment": "(Clear assignment)",
+ "bulkLabelScopeIds": "Scope IDs (comma or newline separated)",
+ "bulkScopeIdsPlaceholder": "provider-openai,provider-anthropic",
+ "bulkApply": "Apply",
+ "errorLoadFailed": "Failed to load proxy registry",
+ "errorNameHostRequired": "Name and host are required",
+ "errorSaveFailed": "Failed to save proxy",
+ "errorDeleteFailed": "Failed to delete proxy",
+ "errorForceDeleteConfirm": "This proxy is still assigned. Force delete and remove all assignments?",
+ "errorMigrateFailed": "Failed to migrate legacy proxy config",
+ "errorBulkFailed": "Failed to execute bulk assignment",
+ "success": "✓",
+ "failure": "✗",
+ "failed": "Failed",
+ "successRate": "{rate}% success",
+ "avgLatency": "{latency}ms average",
+ "assignmentsCount": "{count} assignments",
+ "noData": "—",
+ "testSuccess": "✓ {ip}",
+ "testLatency": "{latency}ms",
+ "testFailure": "✗ {error}",
+ "bulkImport": "Bulk Import",
+ "bulkImportTitle": "Bulk Import Proxies",
+ "bulkImportDescription": "Paste proxy profiles using pipe-delimited format. One proxy per line. Existing proxies (same host + port) will be updated.",
+ "bulkImportParse": "Parse",
+ "bulkImportImport": "Import {count} Proxies",
+ "bulkImportImporting": "Importing...",
+ "bulkImportParsed": "{count} proxies parsed",
+ "bulkImportSkipped": "{count} lines skipped",
+ "bulkImportParseErrors": "{count} errors",
+ "bulkImportNoValidEntries": "No valid entries found. Check the format and try again.",
+ "bulkImportSuccess": "Import complete: {created} created, {updated} updated, {failed} failed",
+ "bulkImportErrorLine": "Line {line}: {reason}",
+ "bulkImportMaxExceeded": "Maximum 100 proxies per import",
+ "bulkImportPreview": "Preview",
+ "bulkImportErrorMissingName": "Missing NAME",
+ "bulkImportErrorMissingHost": "Missing HOST",
+ "bulkImportErrorInvalidPort": "Invalid PORT (must be 1-65535)",
+ "bulkImportErrorInvalidType": "Invalid TYPE (use http, https, or socks5)",
+ "bulkImportErrorInvalidStatus": "Invalid STATUS (use active or inactive)"
+ },
+ "playground": {
+ "title": "Model Playground",
+ "description": "Test any model directly from the dashboard. Select provider, model, and endpoint type, then send a request to see the raw response.",
+ "endpoint": "Endpoint",
+ "provider": "Provider",
+ "model": "Model",
+ "accountKey": "Account / Key",
+ "autoAccounts": "Auto ({count} accounts)",
+ "noAccounts": "No accounts",
+ "send": "Send",
+ "cancel": "Cancel",
+ "audioFile": "Audio File",
+ "attachImages": "Attach Images (Vision)",
+ "multipartFormData": "multipart/form-data",
+ "upToImages": "Up to 4 images",
+ "selectAudioFile": "Select audio file for transcription (mp3, wav, m4a, ogg, flac…)",
+ "clearAll": "Clear All",
+ "request": "Request",
+ "response": "Response",
+ "transcription": "Transcription",
+ "copy": "Copy",
+ "resetToDefault": "Reset to default",
+ "downloadAudio": "Download audio",
+ "copyText": "Copy text",
+ "transcriptionHint": "Transcription uses multipart/form-data. Upload the audio file above — the JSON below controls extra parameters (model, language).",
+ "imagesGenerated": "Generated {count} images",
+ "generatedImage": "Generated image {index}",
+ "save": "Save",
+ "endpointOptions": {
+ "chat": "Chat completions",
+ "responses": "Responses",
+ "images": "Image generation",
+ "embeddings": "Embeddings",
+ "speech": "Text-to-speech",
+ "transcription": "Audio transcription",
+ "video": "Video generation",
+ "music": "Music generation",
+ "rerank": "Rerank",
+ "search": "Web search"
+ }
+ },
+ "requestLogger": {
+ "recording": "Recording",
+ "paused": "Paused",
+ "pipelineLogsOn": "Pipeline logs on",
+ "pipelineLogsOff": "Pipeline logs off",
+ "updatingPipelineLogs": "Updating pipeline logs...",
+ "updatePipelineFailed": "Failed to update pipeline logging",
+ "capturePipeline": "Capture pipeline payloads for new requests",
+ "searchPlaceholder": "Search models, providers, accounts, API keys, combos...",
+ "allProviders": "All providers",
+ "allModels": "All models",
+ "allAccounts": "All accounts",
+ "allApiKeys": "All API keys",
+ "total": "Total",
+ "ok": "Success",
+ "err": "Error",
+ "combo": "Combo",
+ "keys": "Keys",
+ "shown": "Shown",
+ "sortNewest": "Newest",
+ "sortOldest": "Oldest",
+ "sortTokensDesc": "Tokens ↓",
+ "sortTokensAsc": "Tokens ↑",
+ "sortDurationDesc": "Duration ↓",
+ "sortDurationAsc": "Duration ↑",
+ "sortStatusDesc": "Status ↓",
+ "sortStatusAsc": "Status ↑",
+ "sortModelAsc": "Model A-Z",
+ "sortModelDesc": "Model Z-A",
+ "sortLogs": "Sort logs",
+ "refresh": "Refresh",
+ "columnsLabel": "Columns",
+ "cacheSem": "SEM",
+ "cacheUp": "UP",
+ "semantic": "Semantic",
+ "upstream": "Upstream",
+ "semanticCacheHit": "Semantic cache hit (served by OmniRoute)",
+ "upstreamResponse": "Upstream provider response",
+ "noApiKey": "No API key",
+ "requestedRoutedTitle": "Requested {requested}, routed as {routed}",
+ "statusFilters": {
+ "all": "All",
+ "error": "Error",
+ "success": "Success",
+ "combo": "Combo"
+ },
+ "columns": {
+ "status": "Status",
+ "cacheSource": "Cache Source",
+ "model": "Model",
+ "requested": "Requested",
+ "provider": "Provider",
+ "protocol": "Request Protocol",
+ "account": "Account",
+ "apiKey": "API Key",
+ "combo": "Combo",
+ "tokens": "Tokens",
+ "compressed": "Compression",
+ "tps": "TPS",
+ "duration": "Duration",
+ "time": "Time"
+ },
+ "loadingLogs": "Loading logs...",
+ "noLogs": "No logs yet. Make some API calls to see them here.",
+ "noMatchingLogs": "No logs matching current filters.",
+ "callLogsInfo": "Call logs are also saved as JSON files to {dataDir} and rotated based on {retentionDays} and {maxEntries}."
+ },
+ "proxyLogger": {
+ "filterAll": "All",
+ "filterErrors": "Errors",
+ "filterSuccess": "Success",
+ "filterTimeout": "Timeout",
+ "colStatus": "Status",
+ "colProxy": "Proxy",
+ "colTls": "TLS",
+ "colType": "Type",
+ "colLevel": "Level",
+ "colProvider": "Provider",
+ "colTarget": "Target",
+ "colLatency": "Latency",
+ "colPublicIp": "Public IP",
+ "colTime": "Time",
+ "recording": "Recording",
+ "paused": "Paused",
+ "searchPlaceholder": "Search host, provider, target, IP...",
+ "allTypes": "All Types",
+ "allLevels": "All Levels",
+ "allProviders": "All Providers",
+ "total": "total",
+ "ok": "OK",
+ "err": "ERR",
+ "timeoutShort": "TMO",
+ "direct": "direct",
+ "newest": "Newest",
+ "oldest": "Oldest",
+ "latencyDesc": "Latency ↓",
+ "latencyAsc": "Latency ↑",
+ "refresh": "Refresh",
+ "columns": "Columns",
+ "loadingProxyLogs": "Loading proxy logs...",
+ "noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
+ "noMatchingLogs": "No logs match the current filters.",
+ "tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "endpointOptions": {
+ "speech": "Speech",
+ "search": "Search",
+ "images": "Images",
+ "chat": "Chat",
+ "music": "Music",
+ "responses": "Responses",
+ "rerank": "Rerank",
+ "video": "Video",
+ "embeddings": "Embeddings",
+ "transcription": "Transcription"
+ },
+ "toolDescriptions": {
+ "cline": "Cline",
+ "openclaw": "Openclaw",
+ "droid": "Droid",
+ "codex": "Codex",
+ "claude": "Claude",
+ "kilo": "Kilo"
+ }
+}