- [Per-UserToken Model Access Control,
GET /v1/quota, 429/403 Failover Hardening &/healthReadiness] (Fixes #1817, Fixes #470, Fixes #2235, Fixes #2355, Fixes #2338, Fixes #2312, Fixes #2183, Fixes #3204, Fixes #3213, PR #4124, PR #4133, PR #4134, PR #4135, PR #4143, PR #4144, PR #4146, Thanks to @UnnamedPeople-Chin, @cubelikeplayDaniel):- Wildcard UserToken Model Allow/Deny Rules &
count_tokensMapping Check: Added per-token model allowlists and blocklists (Allow/Deny/All) with wildcard matching, and updated Claude/v1/messages/count_tokensto resolvestate.custom_mappingbefore enforcing token model access so restricted tokens cannot probe denied target models through aliases. (Fixes #1817, PR #4146, Thanks to @UnnamedPeople-Chin, @cubelikeplayDaniel) - Multi-Account 429 Rotation & Location-403 In-Memory Guard: Wired
scheduling_allows_grace(mode, pool_size)into OpenAI Chat Completions, Responses, and Gemini handlers so multi-accountBalanceandPerformanceFirstmodes rotate immediately on 429 instead of pausing inGraceRetry; introducedForbiddenApplyResult::Skippedso location-unsupported 403s do not clear sticky sessions or poison in-memoryforbidden_models; classifiedINSUFFICIENT_G1_CREDITS_BALANCE429s as hard quota exhaustion for immediate failover. (Fixes #3213, Fixes #3204, PR #4124, Thanks to @UnnamedPeople-Chin, @cubelikeplayDaniel) - Programmatic
/v1/quota,503on Stopped/health, and Audio/Monitor Polish: AddedGET /v1/quotafor programmatic quota inspection; returned503on public/healthand/healthzwhen the proxy is stopped and allowed loading/editing account proxy pool bindings while stopped; hardened audio transcription model validation, capacity rotation, and thought/refusal filtering, logged upstream account emails on non-200 monitor entries, and tagged Claudecount_tokensasoffline-estimate. (Fixes #470, Fixes #2235, Fixes #2183, Fixes #2312, Fixes #2355, Fixes #2338, PR #4133, PR #4134, PR #4135, PR #4143, PR #4144, Thanks to @UnnamedPeople-Chin)
- Wildcard UserToken Model Allow/Deny Rules &
- [Cross-Protocol Thinking Mode Mapping, Client Compatibility & Single-Channel Pipeline Guardrails] (Fixes #4137, Ref #4019, Ref #3937, Ref #4129, Ref #4130, PR #4129, PR #4131, PR #4138, PR #4140, Thanks to @cubelikeplayDaniel, @charzhou):
- Configurable Thinking Mode Mapping & Effort Precedence: Added configurable cross-protocol thinking mode mapping and dynamic tier overrides, unified client thinking parameter compatibility across omitted
thinking.typeand level/budget paths, and honored mid-conversationsystemoutput_config.effortoverrides over top-level fallbacks. (Fixes #4137, Ref #4019, Ref #3937, PR #4129, PR #4138, PR #4140, Thanks to @cubelikeplayDaniel, @charzhou) - Single-Channel Turn Enforcement & CUA Cleanup: Enforced cross-protocol single-channel turn discipline and stripped extraneous CUA
::browser-completeclauses. (Ref #4130, PR #4131, Thanks to @cubelikeplayDaniel)
- Configurable Thinking Mode Mapping & Effort Precedence: Added configurable cross-protocol thinking mode mapping and dynamic tier overrides, unified client thinking parameter compatibility across omitted
- [Account Tags, Granular Quota Sorting, Dual
storage.jsonResolution, WSL Sync & Refresh Hygiene] (Fixes #3039, Fixes #3115, Fixes #3258, Fixes #2340, Fixes #3173, Fixes #3199, Fixes #4121, Ref #3985, Ref #3993, Ref #3990, Ref #4120, PR #4122, PR #4125, PR #4126, PR #4132, PR #4136, PR #4139, PR #4142, PR #4145, Thanks to @UnnamedPeople-Chin, @zainulhasan, @koeria):- Account Tags & Quota Sorting: Added alias search, multi-tag saving, quick tag editing, and dashboard tag display alongside granular model and 5H/Weekly quota sorting across pages. (Fixes #3039, PR #4139, PR #4145, Thanks to @UnnamedPeople-Chin)
- Cross-Platform Device/OAuth Fixes & Background Refresh Controls: Resolved
storage.jsonacross Classic/IDE installs and fresh directories, synced credentials to WSL root-user home, preserved mapped OAuth ports for remote NAS flows, scoped post-action quota refreshes, closed silent-mode leaks with jittered batch polling, deduplicated warmup series, and preserved maximized/fullscreen window states on restore. (Fixes #3115, Fixes #3258, Fixes #2340, Fixes #4121, Fixes #3199, Fixes #3173, Ref #3985, Ref #3993, Ref #3990, Ref #4120, PR #4122, PR #4125, PR #4126, PR #4132, PR #4136, PR #4142, Thanks to @UnnamedPeople-Chin, @zainulhasan, @koeria)
- [Native Headless Release Artifacts & CI Test Compilation Decoupling] (Ref #4043, Ref #4103, Ref #4104, Ref #4114, PR #4062, PR #4116, Thanks to @r4p0, @zainulhasan):
- [UserToken 模型黑白名单、
GET /v1/quota端点、429/403 故障转移加固与/health状态对齐] (Fixes #1817, Fixes #470, Fixes #2235, Fixes #2355, Fixes #2338, Fixes #2312, Fixes #2183, Fixes #3204, Fixes #3213, PR #4124, PR #4133, PR #4134, PR #4135, PR #4143, PR #4144, PR #4146, Thanks to @UnnamedPeople-Chin, @cubelikeplayDaniel):- 细粒度 UserToken 模型准入与
count_tokens映射校验: 为每个代理令牌新增通配符模型白名单/黑名单(Allow/Deny/All),并在 Claude/v1/messages/count_tokens入口同步解析custom_mapping后执行模型准入校验,防止受限令牌通过自定义别名探测禁用目标模型。(Fixes #1817, PR #4146, Thanks to @UnnamedPeople-Chin, @cubelikeplayDaniel) - 多账号 429 快速轮换与出口 IP 地区 403 内存守卫: 将
scheduling_allows_grace(mode, pool_size)接入 OpenAI Chat Completions、Responses 与 Gemini 处理器,使多账号Balance与PerformanceFirst模式遭遇 429 时立即切号而不再原地GraceRetry;新增ForbiddenApplyResult::Skipped,避免出口 IP 地区限制 403 清空粘性会话或污染内存forbidden_models;同时将INSUFFICIENT_G1_CREDITS_BALANCE归类为硬配额耗尽以快速避让。(Fixes #3213, Fixes #3204, PR #4124, Thanks to @UnnamedPeople-Chin, @cubelikeplayDaniel) - 新增
/v1/quota接口、停服/health返回 503 与音频/监控加固: 新增GET /v1/quota编程式配额查询接口;代理停服时公开/health与/healthz返回503并支持停服状态下加载与编辑账号代理绑定;音频转写补充模型校验、容量错误切号及思考/拒答片段过滤,非 200 日志补全上游账号邮箱记录,Claudecount_tokens标记为offline-estimate。(Fixes #470, Fixes #2235, Fixes #2183, Fixes #2312, Fixes #2355, Fixes #2338, PR #4133, PR #4134, PR #4135, PR #4143, PR #4144, Thanks to @UnnamedPeople-Chin)
- 细粒度 UserToken 模型准入与
- [跨协议思考模式映射、参数兼容与单通道流水线加固] (Fixes #4137, Ref #4019, Ref #3937, Ref #4129, Ref #4130, PR #4129, PR #4131, PR #4138, PR #4140, Thanks to @cubelikeplayDaniel, @charzhou):
- 可配置思考模式映射与多客户端兼容: 新增跨协议思考模式映射与动态档位覆盖面板,统一兼容客户端省略
thinking.type及多协议推理强度参数,并优先采纳对话中途system控制消息中的output_config.effort。(Fixes #4137, Ref #4019, Ref #3937, PR #4129, PR #4138, PR #4140, Thanks to @cubelikeplayDaniel, @charzhou) - 单通道轮次守卫与 CUA 标记清洗: 强化跨协议单通道回合规范并清洗冗余的 CUA
::browser-complete子句,避免客户端过早截断工具调用或回复流。(Ref #4130, PR #4131, Thanks to @cubelikeplayDaniel)
- 可配置思考模式映射与多客户端兼容: 新增跨协议思考模式映射与动态档位覆盖面板,统一兼容客户端省略
- [账号标签与配额排序增强、双端
storage.json兼容、WSL 同步与后台刷新优化] (Fixes #3039, Fixes #3115, Fixes #3258, Fixes #2340, Fixes #3173, Fixes #3199, Fixes #4121, Ref #3985, Ref #3993, Ref #3990, Ref #4120, PR #4122, PR #4125, PR #4126, PR #4132, PR #4136, PR #4139, PR #4142, PR #4145, Thanks to @UnnamedPeople-Chin, @zainulhasan, @koeria):- 账号管理与配额维度升级: 支持别名搜索、多标签保存、快捷编辑及仪表盘标签展示;账号页与列表新增按细粒度模型与 5H/Weekly 窗口配额排序。(Fixes #3039, PR #4139, PR #4145, Thanks to @UnnamedPeople-Chin)
- 跨环境凭据、OAuth、窗口状态与后台调度修复: 兼容 Classic/IDE 双端及全新目录的
storage.json解析,支持 WSL root 用户目录凭据同步与远程 NAS OAuth 回调端口保持;按操作范围精准收敛配额刷新并封堵静默模式泄漏、抖动批量轮询、预热系列去重以及恢复主窗口时保留最大化/全屏状态。(Fixes #3115, Fixes #3258, Fixes #2340, Fixes #4121, Fixes #3199, Fixes #3173, Ref #3985, Ref #3993, Ref #3990, Ref #4120, PR #4122, PR #4125, PR #4126, PR #4132, PR #4136, PR #4142, Thanks to @UnnamedPeople-Chin, @zainulhasan, @koeria)
- [原生 Headless 安装产物与 CI 回归构建解耦] (Ref #4043, Ref #4103, Ref #4104, Ref #4114, PR #4062, PR #4116, Thanks to @r4p0, @zainulhasan):
What's Changed
- fix(ci): decouple Rust lib test compilation from 5-minute regression execution timeout (Ref #4043, Ref #4103, Ref #4104, Ref #4114) by @zainulhasan in #4116
- feat(release): 新增原生 Headless 服务端构建产物与一键安装脚本 by @r4p0 in #4062
- fix(proxy): classify INSUFFICIENT_G1_CREDITS_BALANCE as hard QuotaExhausted for immediate rotation (Fixes #3204) by @UnnamedPeople-Chin in #4124
- fix(oauth,web): preserve mapped port, broadcast callback completion, and support remote NAS flow (Fixes #3199) by @UnnamedPeople-Chin in #4125
- fix(warmup): deduplicate model series, await single-account warmup, and honor proxy/validation guards (Fixes #3173) by @UnnamedPeople-Chin in #4126
- fix(desktop): sync account credentials to WSL root-user home (Fixes #4121) by @koeria in #4122
- feat(proxy,ui): add configurable cross-protocol thinking mode mapping and dynamic tier override (Ref #4019, Ref #3937) by @cubelikeplayDaniel in #4129
- fix(proxy,claude): honor mid-conversation system output_config.effort over top-level fallback (Fixes #4137) by @charzhou in #4138
- fix(pipeline): enforce single-channel turn rule and strip CUA ::browser-complete clauses (Ref #4130) by @cubelikeplayDaniel in #4131
- fix(account,proxy): scope post-action quota refreshes, close silent-mode leaks, and jitter batch polling (Ref #3990, Ref #4120) by @zainulhasan in #4132
- fix(proxy-pool): support loading and editing account proxy bindings when proxy service is stopped (Fixes #2183) by @UnnamedPeople-Chin in #4133
- fix(proxy,monitor): record upstream account email on non-200 logs and tag Claude count_tokens as offline-estimate (Fixes #2355, Fixes #2338) by @UnnamedPeople-Chin in #4134
- fix(proxy,audio): validate transcription models, rotate on capacity errors, and filter thought/refusal outputs (Fixes #2312) by @UnnamedPeople-Chin in #4135
- fix(window,tray): preserve maximized and fullscreen state when restoring main window (Ref #3985, Ref #3993) by @UnnamedPeople-Chin in #4136
- feat(accounts,ui): add granular model and window (5H/Weekly) quota sorting across pages by @UnnamedPeople-Chin in #4139
- fix(proxy): unify cross-protocol client thinking parameter compatibility (Ref #4019, Ref #3937, Ref #4129) by @cubelikeplayDaniel in #4140
- fix(device): resolve storage.json across dual Classic/IDE installs and fresh directories (Fixes #3115, Fixes #3258, Fixes #2340) by @UnnamedPeople-Chin in #4142
- fix(proxy,ui): return 503 on public /health and /healthz when proxy service is stopped (Fixes #2235) by @UnnamedPeople-Chin in #4143
- feat(proxy): add GET /v1/quota endpoint for programmatic quota inspection (Fixes #470) by @UnnamedPeople-Chin in #4144
- feat(accounts): support alias search, multi-tag saving, quick tag editing, and dashboard tag display (Fixes #3039) by @UnnamedPeople-Chin in #4145
- feat(user-token): add per-token model allowlist and blocklist with wildcard support (Fixes #1817) by @UnnamedPeople-Chin in #4146
New Contributors
Full Changelog: v5.0.5-beta.7...v5.0.5-beta.8