Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
docs(i18n): sync documentation updates to 33 languages
diegosouzapwd33c0ed1b5e6
diff --git a/docs/i18n/ar/CHANGELOG.md b/docs/i18n/ar/CHANGELOG.mdindex 707fafc00d..5b645c2808 100644--- a/docs/i18n/ar/CHANGELOG.md+++ b/docs/i18n/ar/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### التوثيق@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/ar/CONTRIBUTING.md b/docs/i18n/ar/CONTRIBUTING.mdindex dad29072a9..c8f2546366 100644--- a/docs/i18n/ar/CONTRIBUTING.md+++ b/docs/i18n/ar/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/bg/CHANGELOG.md b/docs/i18n/bg/CHANGELOG.mdindex 1627c5610f..b2a6af0db6 100644--- a/docs/i18n/bg/CHANGELOG.md+++ b/docs/i18n/bg/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Документация@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/bg/CONTRIBUTING.md b/docs/i18n/bg/CONTRIBUTING.mdindex d8ca1b5451..eec084a543 100644--- a/docs/i18n/bg/CONTRIBUTING.md+++ b/docs/i18n/bg/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/cs/CHANGELOG.md b/docs/i18n/cs/CHANGELOG.mdindex 16b32f44d2..0d94ccb897 100644--- a/docs/i18n/cs/CHANGELOG.md+++ b/docs/i18n/cs/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Dokumentace@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/cs/CONTRIBUTING.md b/docs/i18n/cs/CONTRIBUTING.mdindex 4dc8ebcd8b..b571e9fa41 100644--- a/docs/i18n/cs/CONTRIBUTING.md+++ b/docs/i18n/cs/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/da/CHANGELOG.md b/docs/i18n/da/CHANGELOG.mdindex 454de29c0b..0b6a695157 100644--- a/docs/i18n/da/CHANGELOG.md+++ b/docs/i18n/da/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Dokumentation@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/da/CONTRIBUTING.md b/docs/i18n/da/CONTRIBUTING.mdindex 6696f6590d..be06b2acd2 100644--- a/docs/i18n/da/CONTRIBUTING.md+++ b/docs/i18n/da/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/de/CHANGELOG.md b/docs/i18n/de/CHANGELOG.mdindex 3ca7ace498..3f0d3699a8 100644--- a/docs/i18n/de/CHANGELOG.md+++ b/docs/i18n/de/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Dokumentation@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/de/CONTRIBUTING.md b/docs/i18n/de/CONTRIBUTING.mdindex 0eb7c2b589..e88ad93191 100644--- a/docs/i18n/de/CONTRIBUTING.md+++ b/docs/i18n/de/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/es/CHANGELOG.md b/docs/i18n/es/CHANGELOG.mdindex cd53a8be90..f8a341ba79 100644--- a/docs/i18n/es/CHANGELOG.md+++ b/docs/i18n/es/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Documentación@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/es/CONTRIBUTING.md b/docs/i18n/es/CONTRIBUTING.mdindex 087cafb359..69862e2608 100644--- a/docs/i18n/es/CONTRIBUTING.md+++ b/docs/i18n/es/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/fi/CHANGELOG.md b/docs/i18n/fi/CHANGELOG.mdindex ce2cdd451a..9b6e1a207d 100644--- a/docs/i18n/fi/CHANGELOG.md+++ b/docs/i18n/fi/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Dokumentaatio@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/fi/CONTRIBUTING.md b/docs/i18n/fi/CONTRIBUTING.mdindex 693e4a85a8..3ffc754df3 100644--- a/docs/i18n/fi/CONTRIBUTING.md+++ b/docs/i18n/fi/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/fr/CHANGELOG.md b/docs/i18n/fr/CHANGELOG.mdindex a8ae0a85c0..f13cfcacef 100644--- a/docs/i18n/fr/CHANGELOG.md+++ b/docs/i18n/fr/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Documentation@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/fr/CONTRIBUTING.md b/docs/i18n/fr/CONTRIBUTING.mdindex 1ce8bd2aa5..085ed77481 100644--- a/docs/i18n/fr/CONTRIBUTING.md+++ b/docs/i18n/fr/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/he/CHANGELOG.md b/docs/i18n/he/CHANGELOG.mdindex 967510c9e2..1732bdbfcc 100644--- a/docs/i18n/he/CHANGELOG.md+++ b/docs/i18n/he/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### תיעוד@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/he/CONTRIBUTING.md b/docs/i18n/he/CONTRIBUTING.mdindex 1d6523770d..b5bbc26d95 100644--- a/docs/i18n/he/CONTRIBUTING.md+++ b/docs/i18n/he/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/hi/CHANGELOG.md b/docs/i18n/hi/CHANGELOG.mdindex eee98f2856..11fc14f87c 100644--- a/docs/i18n/hi/CHANGELOG.md+++ b/docs/i18n/hi/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### दस्तावेज़@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/hi/CONTRIBUTING.md b/docs/i18n/hi/CONTRIBUTING.mdindex bef52f3fd5..53bfde34ae 100644--- a/docs/i18n/hi/CONTRIBUTING.md+++ b/docs/i18n/hi/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/hu/CHANGELOG.md b/docs/i18n/hu/CHANGELOG.mdindex d59abe697c..1d924a8a9a 100644--- a/docs/i18n/hu/CHANGELOG.md+++ b/docs/i18n/hu/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Dokumentáció@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/hu/CONTRIBUTING.md b/docs/i18n/hu/CONTRIBUTING.mdindex aac1ea8676..7b2c38b355 100644--- a/docs/i18n/hu/CONTRIBUTING.md+++ b/docs/i18n/hu/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/id/CHANGELOG.md b/docs/i18n/id/CHANGELOG.mdindex e5e448104b..ff4650fa1a 100644--- a/docs/i18n/id/CHANGELOG.md+++ b/docs/i18n/id/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Dokumentasi@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/id/CONTRIBUTING.md b/docs/i18n/id/CONTRIBUTING.mdindex 37f6abc168..9e91a194be 100644--- a/docs/i18n/id/CONTRIBUTING.md+++ b/docs/i18n/id/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/in/CHANGELOG.md b/docs/i18n/in/CHANGELOG.mdindex 3ffdaa81f1..c4bad2725e 100644--- a/docs/i18n/in/CHANGELOG.md+++ b/docs/i18n/in/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### दस्तावेज़@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/in/CONTRIBUTING.md b/docs/i18n/in/CONTRIBUTING.mdindex 568ac7aefa..978e6f9102 100644--- a/docs/i18n/in/CONTRIBUTING.md+++ b/docs/i18n/in/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/it/CHANGELOG.md b/docs/i18n/it/CHANGELOG.mdindex df4265a435..5db247da18 100644--- a/docs/i18n/it/CHANGELOG.md+++ b/docs/i18n/it/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Documentazione@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/it/CONTRIBUTING.md b/docs/i18n/it/CONTRIBUTING.mdindex 30d54511b0..840fc1798f 100644--- a/docs/i18n/it/CONTRIBUTING.md+++ b/docs/i18n/it/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/ja/CHANGELOG.md b/docs/i18n/ja/CHANGELOG.mdindex d419278479..d9ecfba34c 100644--- a/docs/i18n/ja/CHANGELOG.md+++ b/docs/i18n/ja/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### ドキュメント@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/ja/CONTRIBUTING.md b/docs/i18n/ja/CONTRIBUTING.mdindex 6f13b83106..04cb61503b 100644--- a/docs/i18n/ja/CONTRIBUTING.md+++ b/docs/i18n/ja/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/ko/CHANGELOG.md b/docs/i18n/ko/CHANGELOG.mdindex d3e554bd2a..610b46da1d 100644--- a/docs/i18n/ko/CHANGELOG.md+++ b/docs/i18n/ko/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### 문서@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/ko/CONTRIBUTING.md b/docs/i18n/ko/CONTRIBUTING.mdindex f12c46021c..73eab5de7b 100644--- a/docs/i18n/ko/CONTRIBUTING.md+++ b/docs/i18n/ko/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/ms/CHANGELOG.md b/docs/i18n/ms/CHANGELOG.mdindex 6e8c3204c9..ec0c4316e5 100644--- a/docs/i18n/ms/CHANGELOG.md+++ b/docs/i18n/ms/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Dokumentasi@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/ms/CONTRIBUTING.md b/docs/i18n/ms/CONTRIBUTING.mdindex b2643e51f8..9feaf89dcd 100644--- a/docs/i18n/ms/CONTRIBUTING.md+++ b/docs/i18n/ms/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/nl/CHANGELOG.md b/docs/i18n/nl/CHANGELOG.mdindex 9cdf92d54c..9fce68eaa4 100644--- a/docs/i18n/nl/CHANGELOG.md+++ b/docs/i18n/nl/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Documentatie@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/nl/CONTRIBUTING.md b/docs/i18n/nl/CONTRIBUTING.mdindex c52a8a530d..648f016d45 100644--- a/docs/i18n/nl/CONTRIBUTING.md+++ b/docs/i18n/nl/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/no/CHANGELOG.md b/docs/i18n/no/CHANGELOG.mdindex 253913c6f9..b9609f694c 100644--- a/docs/i18n/no/CHANGELOG.md+++ b/docs/i18n/no/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Dokumentasjon@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/no/CONTRIBUTING.md b/docs/i18n/no/CONTRIBUTING.mdindex a4224446ca..eaca20de07 100644--- a/docs/i18n/no/CONTRIBUTING.md+++ b/docs/i18n/no/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/phi/CHANGELOG.md b/docs/i18n/phi/CHANGELOG.mdindex ab4ac2bd28..82b079a069 100644--- a/docs/i18n/phi/CHANGELOG.md+++ b/docs/i18n/phi/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Dokumentasyon@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/phi/CONTRIBUTING.md b/docs/i18n/phi/CONTRIBUTING.mdindex 3962eb34cd..aeff7434df 100644--- a/docs/i18n/phi/CONTRIBUTING.md+++ b/docs/i18n/phi/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/pl/CHANGELOG.md b/docs/i18n/pl/CHANGELOG.mdindex 475d5e1329..afb24699ba 100644--- a/docs/i18n/pl/CHANGELOG.md+++ b/docs/i18n/pl/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Dokumentacja@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/pl/CONTRIBUTING.md b/docs/i18n/pl/CONTRIBUTING.mdindex be754dda06..c2dc1efbe1 100644--- a/docs/i18n/pl/CONTRIBUTING.md+++ b/docs/i18n/pl/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/pt-BR/CHANGELOG.md b/docs/i18n/pt-BR/CHANGELOG.mdindex 0935f08c8c..cb839bbfc4 100644--- a/docs/i18n/pt-BR/CHANGELOG.md+++ b/docs/i18n/pt-BR/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Documentação@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/pt-BR/CONTRIBUTING.md b/docs/i18n/pt-BR/CONTRIBUTING.mdindex a4c20a23dd..716190afc9 100644--- a/docs/i18n/pt-BR/CONTRIBUTING.md+++ b/docs/i18n/pt-BR/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/pt/CHANGELOG.md b/docs/i18n/pt/CHANGELOG.mdindex e41de8df14..58bb5d2f96 100644--- a/docs/i18n/pt/CHANGELOG.md+++ b/docs/i18n/pt/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Documentação@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/pt/CONTRIBUTING.md b/docs/i18n/pt/CONTRIBUTING.mdindex f9e795fb5e..a4bf24ad60 100644--- a/docs/i18n/pt/CONTRIBUTING.md+++ b/docs/i18n/pt/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/ro/CHANGELOG.md b/docs/i18n/ro/CHANGELOG.mdindex f5bdef2931..7c30ac0fb4 100644--- a/docs/i18n/ro/CHANGELOG.md+++ b/docs/i18n/ro/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Documentație@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/ro/CONTRIBUTING.md b/docs/i18n/ro/CONTRIBUTING.mdindex 37efdb630f..45cbf696bb 100644--- a/docs/i18n/ro/CONTRIBUTING.md+++ b/docs/i18n/ro/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/ru/CHANGELOG.md b/docs/i18n/ru/CHANGELOG.mdindex 6f5338d250..06b4bd070e 100644--- a/docs/i18n/ru/CHANGELOG.md+++ b/docs/i18n/ru/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Документация@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/ru/CONTRIBUTING.md b/docs/i18n/ru/CONTRIBUTING.mdindex bfe5ecd6b8..3894a6eb07 100644--- a/docs/i18n/ru/CONTRIBUTING.md+++ b/docs/i18n/ru/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/sk/CHANGELOG.md b/docs/i18n/sk/CHANGELOG.mdindex c1d0e38e54..6360715c09 100644--- a/docs/i18n/sk/CHANGELOG.md+++ b/docs/i18n/sk/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Dokumentácia@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/sk/CONTRIBUTING.md b/docs/i18n/sk/CONTRIBUTING.mdindex 7a110c90c0..a596f5df76 100644--- a/docs/i18n/sk/CONTRIBUTING.md+++ b/docs/i18n/sk/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/sv/CHANGELOG.md b/docs/i18n/sv/CHANGELOG.mdindex 9fdc082321..0241e02756 100644--- a/docs/i18n/sv/CHANGELOG.md+++ b/docs/i18n/sv/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Dokumentation@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/sv/CONTRIBUTING.md b/docs/i18n/sv/CONTRIBUTING.mdindex cb4831ad4f..73a49e8094 100644--- a/docs/i18n/sv/CONTRIBUTING.md+++ b/docs/i18n/sv/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/th/CHANGELOG.md b/docs/i18n/th/CHANGELOG.mdindex 4edef9a421..da032535e8 100644--- a/docs/i18n/th/CHANGELOG.md+++ b/docs/i18n/th/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### เอกสาร@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/th/CONTRIBUTING.md b/docs/i18n/th/CONTRIBUTING.mdindex 1d325782fa..281ed8ac0c 100644--- a/docs/i18n/th/CONTRIBUTING.md+++ b/docs/i18n/th/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/tr/CHANGELOG.md b/docs/i18n/tr/CHANGELOG.mdindex 09ef3c02f0..0e723fd9f8 100644--- a/docs/i18n/tr/CHANGELOG.md+++ b/docs/i18n/tr/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Belgeler@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/tr/CONTRIBUTING.md b/docs/i18n/tr/CONTRIBUTING.mdindex aa232086f3..61e64dce4a 100644--- a/docs/i18n/tr/CONTRIBUTING.md+++ b/docs/i18n/tr/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/uk-UA/CHANGELOG.md b/docs/i18n/uk-UA/CHANGELOG.mdindex 1c1ce154b6..e6e30a2056 100644--- a/docs/i18n/uk-UA/CHANGELOG.md+++ b/docs/i18n/uk-UA/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Документація@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/uk-UA/CONTRIBUTING.md b/docs/i18n/uk-UA/CONTRIBUTING.mdindex 14f8d23738..b9c7ce524d 100644--- a/docs/i18n/uk-UA/CONTRIBUTING.md+++ b/docs/i18n/uk-UA/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/vi/CHANGELOG.md b/docs/i18n/vi/CHANGELOG.mdindex 036914ad92..81cd44f421 100644--- a/docs/i18n/vi/CHANGELOG.md+++ b/docs/i18n/vi/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### Tài liệu@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/vi/CONTRIBUTING.md b/docs/i18n/vi/CONTRIBUTING.mdindex 083a0632df..432812dd74 100644--- a/docs/i18n/vi/CONTRIBUTING.md+++ b/docs/i18n/vi/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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 conversiondiff --git a/docs/i18n/zh-CN/CHANGELOG.md b/docs/i18n/zh-CN/CHANGELOG.mdindex 643cb2926d..6adfc93a11 100644--- a/docs/i18n/zh-CN/CHANGELOG.md+++ b/docs/i18n/zh-CN/CHANGELOG.md@@ -4,11 +4,18 @@----## [Unreleased]---+## [3.5.3] - 2026-04-05++### Fixed++- **Middleware:** Resolved infinite redirect loop on dashboard for fresh instances when requireLogin is disabled.++---+## [3.5.2] — 2026-04-05### ✨ New Features@@ -1406,7 +1413,7 @@ OmniRoute now automatically refreshes model lists for connected providers every#### 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.+- **#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.---@@ -1528,7 +1535,7 @@ OmniRoute now automatically refreshes model lists for connected providers every- **#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\\...`+- **#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### 文档@@ -1550,7 +1557,9 @@ OmniRoute now automatically refreshes model lists for connected providers every- **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 `\n` prefix** — `CACHE_TAG_PATTERN` in `comboAgentMiddleware.ts` updated to match both literal `\n` (backslash-n) and actual newline U+000A that `combo.ts` streaming injects around the `<omniModel>` tag after fix #515. Fixes #531.+- **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@@ -1570,9 +1579,10 @@ OmniRoute now automatically refreshes model lists for connected providers every— 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 `\n` in `tagContent` so injected JSON string is valid (#515)+- **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`.+ 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@@ -2121,7 +2131,7 @@ OmniRoute now automatically refreshes model lists for connected providers every### 🐛 Bug Fixes-- **fix(ci)**: Remove word "any" from comments in `openai-responses.ts` and `chatCore.ts` that were failing the t11 `\bany\b` budget check (false positive from regex counting comments)+- **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)### 🔧 Workflowdiff --git a/docs/i18n/zh-CN/CONTRIBUTING.md b/docs/i18n/zh-CN/CONTRIBUTING.mdindex 1918063907..2ff36f4849 100644--- a/docs/i18n/zh-CN/CONTRIBUTING.md+++ b/docs/i18n/zh-CN/CONTRIBUTING.md@@ -137,7 +137,7 @@ npm run test:protocols:e2e# Ecosystem compatibility testsnpm run test:ecosystem-# Coverage (55% min statements/lines/functions; 60% branches)+# Coverage (60% min statements/lines/functions/branches)npm run test:coveragenpm run coverage:report@@ -149,10 +149,22 @@ npm run checkCoverage 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/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