Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

fix(lint): replace as any with Record<string,unknown> in OAuthModal — passes check:any-budget:t11

diegosouzapw1c10cfe4bccb
diff --git a/CHANGELOG.md b/CHANGELOG.md
index aebd18988e..9f4574912e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,16 @@
# Changelog
+## [2.3.10] - 2026-03-12
+
+### Fixed
+
+- **Lint**: Fix `check:any-budget:t11` failure — replace `as any` with `as Record<string, unknown>` in OAuthModal.tsx (3 occurrences)
+
+### Docs
+
+- **CLI-TOOLS.md**: Complete guide for all 11 CLI tools (claude, codex, gemini, opencode, cline, kilocode, continue, kiro-cli, cursor, droid, openclaw)
+- **i18n**: CLI-TOOLS.md synced to 30 languages with translated title + intro
+
## [2.3.8] - 2026-03-12
## [2.3.9] - 2026-03-12
diff --git a/package.json b/package.json
index fe420991f5..22cfef982b 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "omniroute",
- "version": "2.3.9",
+ "version": "2.3.10",
"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": {
diff --git a/src/shared/components/OAuthModal.tsx b/src/shared/components/OAuthModal.tsx
index 244b759a5e..cfd81087aa 100644
--- a/src/shared/components/OAuthModal.tsx
+++ b/src/shared/components/OAuthModal.tsx
@@ -90,7 +90,8 @@ export default function OAuthModal({
if (!res.ok) {
const errMsg =
typeof data.error === "object" && data.error !== null
- ? (data.error as any).message || JSON.stringify(data.error)
+ ? ((data.error as Record<string, unknown>).message as string) ||
+ JSON.stringify(data.error)
: data.error || "Exchange failed";
throw new Error(errMsg);
}
@@ -189,7 +190,8 @@ export default function OAuthModal({
if (!res.ok) {
const errMsg =
typeof data.error === "object" && data.error !== null
- ? (data.error as any).message || JSON.stringify(data.error)
+ ? ((data.error as Record<string, unknown>).message as string) ||
+ JSON.stringify(data.error)
: data.error || "Request failed";
throw new Error(errMsg);
}
@@ -296,7 +298,8 @@ export default function OAuthModal({
if (!res.ok) {
const errMsg =
typeof data.error === "object" && data.error !== null
- ? (data.error as any).message || JSON.stringify(data.error)
+ ? ((data.error as Record<string, unknown>).message as string) ||
+ JSON.stringify(data.error)
: data.error || "Authorization failed";
throw new Error(errMsg);
}