✨ New Features
- Model Deprecation Auto-Forward — 10+ built-in aliases for legacy Gemini, Claude, and OpenAI models with custom alias management via Settings → Routing
- Background Task Smart Degradation — Auto-detect background requests (titles, summaries) via 19 patterns and reroute to cheaper models (opt-in, off by default)
- Rate Limit Persistence — Learned rate limits from API headers persisted to SQLite (60s debounce, 24h staleness filter) — survives restarts
- thinkingLevel String Conversion —
"high","medium","low","none"converted to numeric token budgets - Claude -thinking Model Auto-Injection — Models ending with
-thinkingsuffix get thinking params auto-injected - Gemini 3.0/3.1 Model Registry — Explicit distinction between 3.0 Preview and 3.1 variants
- Token Refresh Circuit Breaker — 5 consecutive failures → 30min cooldown + 30s timeout per attempt
🧪 Tests
- 40+ new tests across 3 files (total: 561 tests, 0 failures)
📦 Install
npm install -g omniroute@1.7.3