2026-01-04 21:58:59 -05:00
{
"name" : "9router-app" ,
# v0.5.2 (2026-06-17)
## Features
- **Combo Fusion strategy** — fans the prompt out to all member models in parallel, then a configurable judge model synthesizes one final answer (quorum-grace, anonymized sources, graceful degradation)
- **Per-combo strategy selector** — pick `fallback` / `round-robin` / `fusion` / `capacity` per combo (replaces the old round-robin toggle), with a judge picker for fusion
- **Capacity auto-switch** — reorders models per request so images/PDFs route to capable models first
- **Kiro headless API-key auth** (`ksk_`) + direct `claude↔kiro` route that avoids the lossy OpenAI two-hop pivot
- **Claude auto-ping** — warms the 5h quota window right after reset so a fresh window starts immediately (per-connection toggle)
## Fixes
- **Claude 429**: stop hammering the OAuth usage endpoint — cache resetAt, throttle quota refresh to 3 min, cool down after a 429 (chat unaffected)
- **Usage logs always empty**: missing `await` on `getAdapter()` in `getRecentLogs` made `/api/usage/logs` & `/api/usage/request-logs` return nothing
- **Executors**: strip params unsupported by the provider/model (drops deprecated `temperature` for claude-opus-4 → Anthropic 400)
- **Translator**: derive deterministic tool_call ids for gemini/antigravity → OpenAI so function call/response pair correctly (fixes tool-pairing 400s)
- **Antigravity**: strip `optional` from tool schemas before sending to Gemini
- **Claude-to-OpenAI**: handle OpenAI-format responses in the non-streaming path (e.g. xiaomi-tokenplan)
- **Usage views**: show edited connection names consistently across Providers & Quota Tracker
- **Security**: hardened reverse-proxy local-access trust
- **Security**: SSRF hardening on web fetch
## Internal
- Large **open-sse / translator refactor** (~40 commits): unified provider/model registry (LiteLLM-style `models[]` + `kind` field, 100 co-located registry files), single-sourced media/OAuth/refresh/token URLs, registry-based dispatch for usage & token-refresh, DRY translator concerns (buildUsage, encodeDataUri, finishReasonMap, chunkBuilder, reasoningDelta…), ESM-safe registry init, large-file splits, dead-code removal, and golden/no-regression test gates
2026-06-17 00:57:17 -04:00
"version" : "0.5.2" ,
2026-01-04 21:58:59 -05:00
"description" : "9Router web dashboard" ,
"private" : true ,
"scripts" : {
2026-06-14 10:54:35 -04:00
"dev" : "next dev --webpack --port 20127" ,
2026-05-14 22:30:31 -04:00
"build" : "next build --webpack" ,
"start" : "next start" ,
2026-06-15 07:18:04 -04:00
"dev:bun" : "bun --bun next dev --webpack --port 20127" ,
2026-05-14 22:30:31 -04:00
"build:bun" : "bun --bun next build --webpack" ,
2026-06-08 01:10:02 -04:00
"start:bun" : "bun ./.next/standalone/server.js" ,
"cli:pack" : "npm --prefix cli run pack:cli" ,
"cli:publish" : "npm --prefix cli run publish:cli"
2026-01-04 21:58:59 -05:00
} ,
"dependencies" : {
2026-05-13 22:54:52 -04:00
"@dnd-kit/core" : "^6.3.1" ,
"@dnd-kit/modifiers" : "^9.0.0" ,
"@dnd-kit/sortable" : "^10.0.0" ,
"@dnd-kit/utilities" : "^3.2.2" ,
2026-01-26 22:49:16 -05:00
"@monaco-editor/react" : "^4.7.0" ,
2026-06-18 03:58:00 -04:00
"@next/third-parties" : "^16.2.9" ,
2026-02-21 02:36:06 -05:00
"@xyflow/react" : "^12.10.1" ,
2026-01-09 05:29:11 -05:00
"bcryptjs" : "^3.0.3" ,
2026-03-11 06:00:49 -04:00
"confbox" : "^0.2.4" ,
2026-01-05 03:55:56 -05:00
"express" : "^5.2.1" ,
2026-01-04 21:58:59 -05:00
"fs" : "^0.0.1-security" ,
2026-01-05 03:55:56 -05:00
"http-proxy-middleware" : "^3.0.5" ,
2026-01-09 05:29:11 -05:00
"jose" : "^6.1.3" ,
2026-04-17 00:33:36 -04:00
"marked" : "^18.0.1" ,
2026-05-10 10:54:54 -04:00
"material-symbols" : "^0.44.6" ,
2026-01-26 22:49:16 -05:00
"monaco-editor" : "^0.55.1" ,
2026-02-01 21:17:15 -05:00
"next" : "^16.1.6" ,
2026-03-06 04:41:02 -05:00
"node-forge" : "^1.3.3" ,
2026-01-04 21:58:59 -05:00
"node-machine-id" : "^1.1.12" ,
2026-02-01 21:17:15 -05:00
"open" : "^11.0.0" ,
"ora" : "^9.1.0" ,
"react" : "19.2.4" ,
"react-dom" : "19.2.4" ,
2026-03-11 07:04:38 -04:00
"react-is" : "^16.13.1" ,
2026-02-21 02:36:06 -05:00
"recharts" : "^3.7.0" ,
2026-02-08 04:28:13 -05:00
"selfsigned" : "^5.5.0" ,
2026-02-01 21:17:15 -05:00
"socks-proxy-agent" : "^8.0.5" ,
2026-03-19 04:32:29 -04:00
"sql.js" : "^1.14.1" ,
2026-02-01 21:17:15 -05:00
"undici" : "^7.19.2" ,
2026-01-04 21:58:59 -05:00
"uuid" : "^13.0.0" ,
2026-02-01 21:17:15 -05:00
"zustand" : "^5.0.10"
2026-01-04 21:58:59 -05:00
} ,
2026-03-18 09:25:48 -04:00
"optionalDependencies" : {
"better-sqlite3" : "^12.6.2"
} ,
2026-05-09 06:48:20 -04:00
"comment_better_sqlite3" : "kept in optionalDependencies so npm install doesn't fail on systems without build tools — sql.js is used as fallback at runtime" ,
2026-01-04 21:58:59 -05:00
"devDependencies" : {
"@tailwindcss/postcss" : "^4.1.18" ,
"eslint" : "^9" ,
2026-02-01 21:17:15 -05:00
"eslint-config-next" : "16.1.6" ,
2026-02-24 23:40:50 -05:00
"postcss" : "^8.5.6" ,
2026-01-04 21:58:59 -05:00
"tailwindcss" : "^4"
}
2026-02-26 21:17:49 -05:00
}