From ac680222338d354f421e6592c8e17927cdabdd30 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Tue, 10 Mar 2026 12:53:47 -0300 Subject: [PATCH] =?UTF-8?q?feat(release):=20v2.2.3=20=E2=80=94=20bug=20fix?= =?UTF-8?q?es=20from=20community=20PRs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(google-cli): remove fake projectId fallback causing permission/verification errors (#285) - antigravity.ts, openai-to-gemini.ts, geminiHelper.ts - Throws clear error instead of silently sending with random project IDs fix(claude): extend empty tool name filter to all message roles (#288) - Pass 1.4 now covers all roles, not just assistant - Filters tool_result with missing tool_use_id - Filters top-level body.tools with empty names - Explicit @swc/helpers COPY in Dockerfile runner-base stage --- CHANGELOG.md | 12 ++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ee3ead795..d7b8aba408 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- +## [2.2.3] โ€” 2026-03-10 + +> ### ๐Ÿ› Bug Fixes ยท ๐Ÿ”ง Reliability + +### Bug Fixes + +- **Antigravity/Gemini CLI: remove fake projectId fallback (#285)** โ€” OmniRoute was generating random fallback project IDs (e.g. `useful-fuze-a04c5`) when OAuth credentials lacked a real GCP `projectId`. This caused confusing `Permission denied on resource project` and `Verify your account` errors from Google. Now throws a clear actionable error: _reconnect OAuth so OmniRoute can load your real Cloud Code project_. Affects `antigravity.ts`, `openai-to-gemini.ts`, `geminiHelper.ts`. +- **Claude Code: filter empty-named tool_use blocks across all message roles (#288)** โ€” Pass 1.4 only filtered empty tool names from `assistant` messages. Extended to all roles (user, system). Also filters `tool_result` blocks missing `tool_use_id`, and top-level `body.tools` declarations with empty names. Prevents `Invalid input[x].name: empty string` 400 errors from Claude API. +- **Docker: explicit @swc/helpers copy (#288)** โ€” Added `COPY --from=builder /app/node_modules/@swc/helpers` to Dockerfile `runner-base` stage. The standalone tracer doesn't always include this package, causing runtime `MODULE_NOT_FOUND` crashloops. + +--- + ## [2.2.2] โ€” 2026-03-10 > ### โœจ New Features ยท ๐Ÿ”€ Model Aliases diff --git a/package-lock.json b/package-lock.json index 4a70dbb346..0d7a9c736b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "omniroute", - "version": "2.2.2", + "version": "2.2.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "omniroute", - "version": "2.2.2", + "version": "2.2.3", "hasInstallScript": true, "license": "MIT", "workspaces": [ diff --git a/package.json b/package.json index 8f4a3833b3..d85397e53e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "omniroute", - "version": "2.2.2", + "version": "2.2.3", "description": "Smart AI Router with auto fallback โ€” route to FREE & cheap models, zero downtime. Works with Cursor, Cline, Claude Desktop, Codex, and any OpenAI-compatible tool.", "type": "module", "bin": {