2026-05-12 09:26:08 -04:00
{
"name" : "9router" ,
# v0.5.20 (2026-07-07)
## Features
- **Thinking**: per-model thinking level picker on provider page — appends `(level)` suffix to copied model names for forced reasoning effort across all formats (openai, claude, gemini, deepseek, kimi, qwen, zai, minimax, hunyuan, step)
- **RTK**: add JS-native git-log filter (#2423)
- **Caveman**: add targeted upstream-aligned style rules (#2424)
- **i18n**: add Farsi (fa) language support (#2385)
## Fixes
- **Thinking**: strip `(level)` suffix from upstream `body.model` so providers no longer reject requests
- **Translator**: preserve developer instructions in openai-responses conversion (#2434)
- **count_tokens**: count structured Anthropic blocks (#2419)
- **Volcengine-ark**: clamp GLM-5 max_tokens to model output ceiling (#2428)
- **Kimi**: normalize reasoning_effort to backend enum (#2427)
- **Claude**: reconcile max_tokens vs thinking budget and lift per-model ceiling (#2381)
- **Kiro**: deliver system prompt natively, add Opus 4.5/4.7/4.8, tolerate dash version ids (#2366)
- **Headroom**: proxy dashboard through app (#2372)
- **MITM**: recover from stale lock file on server start
2026-07-07 05:29:11 -04:00
"version" : "0.5.20" ,
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
}