2026-05-12 09:26:08 -04:00
{
"name" : "9router" ,
# v0.5.50 (2026-08-05)
## Features
- **Providers**: add TokenRouter (300+ models via OpenAI-compatible gateway) with
exact per-model pricing for 110 models and `reasoning_effort` thinking config
- **Providers**: add Self-hosted STT / TTS / Embedding — point 9Router at your own
OpenAI-compatible speech and embedding servers (whisper.cpp, faster-whisper,
Kokoro-FastAPI, llama-server, vLLM, Infinity). Unlike the named cloud providers
these read `baseUrl` per connection, so one provider can front several machines
- **Combos**: default-enable vision/audio capacity adapter (auto-routes to a
vision/audio-capable model when the target lacks that capability, falling back
to `oc/mimo-v2.5-free`), wired into chat handler routing
- **Endpoint**: auto-provision a "Default Key" for first-time users so `/v1`
works without a manual dashboard step
- **Codex**: support GPT-5.6 Max/Ultra reasoning-level overrides (cx/ routes only)
- **Qoder**: support PAT (Personal Access Token) connections end-to-end, alongside
OAuth device flow
- **CLI tools**: add OpenDesign (manalkaff/opendesign) support
- **Headroom**: report effective payload savings (tool schema/history bytes broken
out, byte-savings % reflects actual outbound reduction)
- **Ollama**: Cloud quota tracker (session + weekly) + proactive background OAuth
token refresh scheduler for all providers
## Fixes
- **Providers**: remove Qwen (OAuth flow stopped working reliably)
- **Passthrough**: detect codex-tui/Codex Desktop as native Codex client — they
were falling through to the translator and losing fields like `reasoning.summary`
- **OAuth**: scope antigravity header fixes to loadCodeAssist/onboardUser only
- **OAuth**: keep `open` external in the build so xAI/Grok token refresh works on
Windows
- **OAuth**: declare missing `searchParams` in register-session handler (was a
500 instead of JSON on error)
- **DB**: `ENABLE_REQUEST_LOGS` env var now overrides the UI setting correctly;
observability defaults to off (opt-in)
- **Translator**: preserve Codex Responses Lite tool use across chat-native
OpenAI-compatible providers
- **Translator**: don't drop image-only user messages in `prepareClaudeRequest`
- **Translator**: drop JSON Schema keywords Gemini rejects (`uniqueItems`,
`contains`, `multipleOf`, `unevaluatedProperties`, `unevaluatedItems`,
`contentSchema`)
- **Claude**: remove global header cache that leaked one client's identity
headers onto another client/account sharing the server; gate `anthropic-beta`
by model instead
- **Antigravity**: drop retired Gemini 3.0 quota tiers, show Gemini 3.6 Flash
usage bars
- **Cloudflare AI**: declare API key authentication (dashboard showed "No
connections" despite an active key)
- **GitHub Copilot**: hold monthly-exhausted accounts until UTC month reset
instead of only cooling down 120s
- **CodeBuddy**: dodge Tencent CN content filter, add usage tracking, normalize
codebuddy-intl messages
- **Usage**: stop losing cached prompt tokens in the forced-SSE→JSON path
- **Grok CLI**: display the public subscription tier from the OAuth token claim
- **Providers**: count apikey connections for Ollama free-tier card; free-tier/
apikey providers without `authModes` now default to apikey (were treated
oauth-only)
- **Build**: include static/public assets in standalone output (login page hung
on 404s when run via PM2)
- **Server**: support IntelliJ IDEA OpenAI-compatible clients over HTTP (h2c
upgrade handling)
- **Auth**: redirect already-logged-in sessions away from `/login`
- **CLI tools**: enable Apply button for dynamic OpenAI/Anthropic-compatible
provider connections
- **CLI**: include complete API artifacts in the CLI package
- **TTS**: a bare self-hosted model name is the MODEL, not the voice — `kokoro`
was parsed as a voice against a default model, 404ing or synthesising with the
wrong one
endpoint that drops packets never returns headers, so the request previously
hung indefinitely
2026-08-05 05:49:14 -04:00
"version" : "0.5.50" ,
2026-05-12 09:26:08 -04:00
"description" : "9Router CLI - Start and manage 9Router server" ,
"bin" : {
"9router" : "./cli.js"
} ,
"files" : [
"cli.js" ,
"src" ,
"hooks" ,
"app" ,
"README.md" ,
"LICENSE"
] ,
"scripts" : {
2026-05-13 07:22:31 -04:00
"dev" : "nodemon -I --watch cli.js --watch src --watch hooks --ext js,json cli.js" ,
"build" : "node scripts/build-cli.js" ,
"pack:cli" : "npm run build && npm pack --pack-destination ../.." ,
2026-05-13 07:25:29 -04:00
"publish:cli" : "npm run build && npm publish" ,
2026-05-12 09:26:08 -04:00
"postinstall" : "node hooks/postinstall.js" ,
2026-05-13 07:22:31 -04:00
"prepublishOnly" : "npm run build"
2026-05-12 09:26:08 -04:00
} ,
"dependencies" : {
2026-05-13 07:22:31 -04:00
"enquirer" : "^2.4.1" ,
2026-05-12 09:26:08 -04:00
"node-forge" : "^1.3.3" ,
"node-machine-id" : "^1.1.12" ,
"react" : "19.2.1" ,
"react-dom" : "19.2.1"
} ,
"comment_sqlite" : "sql.js + better-sqlite3 are NOT bundled here. They are installed into ~/.9router/runtime/node_modules by hooks/postinstall.js (and re-checked at runtime by cli.js). This avoids Windows EBUSY errors when updating the global CLI, since native .node files no longer live under the locked install dir." ,
2026-05-13 04:30:33 -04:00
"comment_systray" : "systray2 is NOT bundled here. It is lazy-installed into ~/.9router/runtime/node_modules by hooks/postinstall.js on macOS/Linux only. Windows uses PowerShell NotifyIcon (zero binary). This avoids shipping unsigned Go binaries that trigger antivirus false positives (Kaspersky). We use the systray2 fork because the legacy systray@1.0.5 ships a 2017 x86_64 binary that fails on modern macOS dyld." ,
2026-05-12 09:26:08 -04:00
"engines" : {
"node" : ">=18.0.0"
} ,
"keywords" : [
"9router" ,
"cli" ,
"proxy" ,
"ai" ,
"api"
] ,
2026-05-13 07:22:31 -04:00
"license" : "MIT" ,
"devDependencies" : {
2026-05-14 22:30:31 -04:00
"esbuild" : "^0.25.12" ,
2026-05-13 07:22:31 -04:00
"nodemon" : "^3.1.14"
}
2026-05-12 09:26:08 -04:00
}