## 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
63 lines
1.9 KiB
JSON
63 lines
1.9 KiB
JSON
{
|
|
"name": "9router-app",
|
|
"version": "0.5.50",
|
|
"description": "9Router web dashboard",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --port 20127",
|
|
"dev:webpack": "next dev --webpack --port 20127",
|
|
"build": "next build --webpack",
|
|
"postbuild": "node scripts/copy-standalone-assets.mjs",
|
|
"postbuild:bun": "node scripts/copy-standalone-assets.mjs",
|
|
"start": "next start --port 20127",
|
|
"dev:bun": "bun --bun next dev --webpack --port 20127",
|
|
"build:bun": "bun --bun next build --webpack",
|
|
"start:bun": "bun ./.next/standalone/server.js",
|
|
"cli:pack": "npm --prefix cli run pack:cli",
|
|
"cli:publish": "npm --prefix cli run publish:cli"
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@monaco-editor/react": "^4.7.0",
|
|
"@next/third-parties": "^16.2.9",
|
|
"@xyflow/react": "^12.10.1",
|
|
"bcryptjs": "^3.0.3",
|
|
"confbox": "^0.2.4",
|
|
"express": "^5.2.1",
|
|
"http-proxy-middleware": "^3.0.5",
|
|
"jose": "^6.1.3",
|
|
"marked": "^18.0.1",
|
|
"material-symbols": "^0.44.6",
|
|
"monaco-editor": "^0.55.1",
|
|
"next": "^16.1.6",
|
|
"node-forge": "^1.3.3",
|
|
"node-machine-id": "^1.1.12",
|
|
"open": "^11.0.0",
|
|
"ora": "^9.1.0",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"react-is": "^16.13.1",
|
|
"recharts": "^3.7.0",
|
|
"selfsigned": "^5.5.0",
|
|
"socks-proxy-agent": "^8.0.5",
|
|
"sql.js": "^1.14.1",
|
|
"undici": "^7.19.2",
|
|
"uuid": "^13.0.0",
|
|
"zustand": "^5.0.10"
|
|
},
|
|
"optionalDependencies": {
|
|
"better-sqlite3": "^12.6.2"
|
|
},
|
|
"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",
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.1.18",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.1.6",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^4"
|
|
}
|
|
}
|