- [Pipeline Convergence: Unified Terminal Handling, Auto-Heal, Budgets, Routing, Rotation, and Observability] (Ref #3763, #3751, #3735):
- Unified Four-Protocol Timeouts & Sunk Global Budget: Timeout policies and the 270s global request budget across all four protocols (Google Responses / Chat Completions / Claude / Gemini) are now uniformly managed by the pipeline stage; requests with exhausted budget are short-circuited immediately to prevent redundant upstream rotation. (Ref #3763, #3735)
- Stateful Rotation & Thinking Auto-Heal: Unified empty thinking recovery and stream protocol error event recognition; stateful retry evaluation combined with scheduling-mode in-place waiting prevents Claude livelocks and account pool cascading failures. (Ref #3751, #3763)
- Model Gate & Official Thinking Migration: Aligned with the 2026-10-29 official thinking migration (
thinkingLevelprioritized,thinkingBudgetfallback, explicitly disabled thinking falls back to lowest tier); egress platform fingerprint calibrated to 2.28.0 / CL 1008300195; model lists, agent configs, and UI selectors now strictly expose available model sets, retiring all Gemini < 3 models. (Ref #3751, #3763) - Proactive Flush on Exit & Trace Timeline: Active best-effort disk flush on exit; full-link stage timeline diagnostics and tracking for slow requests (≥25s). (Ref #3763)
- [Endpoint Streaming Real TTFT Closed-Loop Backfill & Negative Value Guard] (Ref #3763, #3751):
- Cross-Stage TTFT Probe Backfill: Added the
StreamTtftCapturecontainer mounted via Response extensions; on stream completion,monitor_middlewarebackfills the genuine clean TTFT captured from the first valid data chunk into request logs, thoroughly replacing the-1.000header placeholder. (Ref #3763) - UI Defenses & Graceful Degradation:
ProxyMonitorandRequestDetailModalnow filter out negative durations (<= 0) and fall back to effective endpoint attempt durations, resolving the-TTFT in tables and the-0.0010s(-0.0%) display glitch in details drawers. (Ref #3751, Ref #3763)
- Cross-Stage TTFT Probe Backfill: Added the
- [Dynamic Inbound Sanitization for Client CTF and Security Policy Prompts] (Fixes #3781, Thanks to @Ran-Xing):
- Adaptive Security Policy Stripping: Strips Antigravity-injected CTF and defensive security instructions via regex with dual-anchor adaptation (preserving adjacent
# Harnesschapter headers or closing ondefensive use cases.). (Fixes #3781, Thanks to @Ran-Xing) - Code Block Protection & Empty Block Pruning: Deep code block isolation (``` and
) ensures 100% exemption for user code; empty parts post-sanitization are physically purged, and emptysystemInstruction` objects are deregistered to prevent 400 Bad Request and avoid model refusal false positives. (Fixes #3781, Thanks to @Ran-Xing)
- Adaptive Security Policy Stripping: Strips Antigravity-injected CTF and defensive security instructions via regex with dual-anchor adaptation (preserving adjacent
- [Antigravity IDE 2.6.0+ Account Switching Fix & Background Orphan Cleanup] (Fixes #3778, Fixes #3770, Ref #3762, PR #3780, Thanks to @lbjlaq):
- Dual-Write Injection: Implemented simultaneous dual-write for Antigravity IDE (2.6.0+) into SQLite
state.vscdb, system Keyring (gemini:antigravity), and file fallbacks, resolving stale credential reads by the coreagylanguage service. (Fixes #3778, Fixes #3770, PR #3780, Thanks to @lbjlaq) - Language Server Process Recognition: Added
is_language_server_processrecognition insideis_helper_processand matched the--hubflag inmatches_target_clientto targetide. (PR #3780) - Orphan Process Cleanup: Expanded cross-platform
close_antigravitycalls tosweep_orphan_language_servers, terminating orphan backgroundagyprocesses during restart or account switching. (PR #3780, Ref #3762)
- Dual-Write Injection: Implemented simultaneous dual-write for Antigravity IDE (2.6.0+) into SQLite
- [Direct Account List Refresh upon QoS Jail Release] (Ref #3749, Ref #3768, PR #3782, Thanks to @wthsama):
- Decoupled Release from Quota Refresh: Releasing QoS jail now only resets local runtime QoS state instead of triggering remote
handleRefresh/refreshQuotacalls prone to 429 failures. (Ref #3768, PR #3782, Thanks to @wthsama) - Instant Local Feedback: Directly calls
useAccountStore.getState().fetchAccounts()to refresh the local account list, immediately clearing the jail badge and countdown while eliminating redundant quota queries in table views. (PR #3782, Thanks to @wthsama)
- Decoupled Release from Quota Refresh: Releasing QoS jail now only resets local runtime QoS state instead of triggering remote
- [流水线收敛:终态、自愈、预算、路由、轮换与观测统一] (Ref #3763, #3751, #3735):
- 四协议超时与全局预算统一下沉: 四大协议(Google Responses / Chat Completions / Claude / Gemini)超时处置与 270s 全局请求预算统一由 pipeline 接管,剩余预算不足时直接短路拦截,消除跨协议漂移与无效空转。(Ref #3763, #3735)
- 有状态轮换与思考自愈: 统一思考空回复原地自愈与流式错误事件识别;有状态重试裁决与调度模式原地等待判定收敛,彻底杜绝 Claude 活锁与号池雪崩。(Ref #3751, #3763)
- 模型门禁与官方思考迁移: 对齐 2026-10-29 官方思考迁移规则(
thinkingLevel优先、thinkingBudget兜底,显式关闭时降至最低档);出站指纹校准至 2.28.0 / CL 1008300195;列表、一键配置与 UI 仅暴露可用模型,下线 Gemini < 3 全量模型。(Ref #3751, #3763) - 退出主动刷盘与时间线留痕: 进程退出时主动尽力刷盘;支持阶段耗时时间线异常输出与 ≥25s 慢请求排查留痕。(Ref #3763)
- [端点流式真实 TTFT 闭环回填与防负数展示] (Ref #3763, #3751):
- [前置流水线动态清洗客户端 CTF 与安全策略提示词] (Fixes #3781, Thanks to @Ran-Xing):
- 安全策略自适应剥离: 在 System 轨与全文本轨中正则匹配并剥离 Antigravity 注入的 CTF/安全测试免责与防御声明,支持紧邻
# Harness章节(自然衔接标头)与以defensive use cases.闭合的双重自适应匹配。(Fixes #3781, Thanks to @Ran-Xing) - 代码块深度隔离与空 Block 自动修剪: 深度隔离代码块(``` 与行内
)确保正文代码 100% 豁免;清洗后空 Part 自动物理剔除,若systemInstruction` 变为空则物理注销,消除模型微调风控误拒答(False Positives)、节省上下文 Token,并杜绝 400 Bad Request。(Fixes #3781, Thanks to @Ran-Xing)
- 安全策略自适应剥离: 在 System 轨与全文本轨中正则匹配并剥离 Antigravity 注入的 CTF/安全测试免责与防御声明,支持紧邻
- [Antigravity IDE 2.6.0+ 切号失败与后台孤儿进程治理] (Fixes #3778, Fixes #3770, Ref #3762, PR #3780, Thanks to @lbjlaq):
- 全链路双写注入: 针对 Antigravity IDE (2.6.0+) 实施全链路双写,同时注入 SQLite
state.vscdb与系统 Keyring (gemini:antigravity) 及文件回退,解决核心后台 agy 语言服务继续读取旧凭据的问题。(Fixes #3778, Fixes #3770, PR #3780, Thanks to @lbjlaq) - 语言服务进程精确识别: 在
is_helper_process中纳入is_language_server_process,并在matches_target_client判定--hub启动参数精确绑定ide目标。(PR #3780) - 孤儿进程清理: 跨平台补全
close_antigravity对sweep_orphan_language_servers的调用,重启或切号时彻底终止后台孤儿 agy 进程。(PR #3780, Ref #3762)
- 全链路双写注入: 针对 Antigravity IDE (2.6.0+) 实施全链路双写,同时注入 SQLite
- [解除 QoS 小黑屋后直接重拉账号列表] (Ref #3749, Ref #3768, PR #3782, Thanks to @wthsama):
What's Changed
- perf(proxy,db): 消除多轮工具历史重放时工具签名 SQLite 同步重复写库与逐次全表修剪阻塞 (Ref #753) by @zepeng-jin in #3765
- perf(proxy): 签名读路径批量化、只读连接池与环境自适应缓存 (Ref #753, #3765) by @jeikl in #3774
- [DO NOT MERGE] fix(proxy): 首响应头并入统一首字延迟,四协议预算与重放护栏 by @jeikl in #3775
- test(proxy): 对齐思考签名/预算/图片用例到当前实现(承接 #3776) by @jeikl in #3777
- feat(ui): 支持界面与字体缩放及全局快捷键调节 by @nicolastinkl in #3766
- fix(integration): 修复 Antigravity IDE 2.6.0+ 切号失败与后台孤儿进程问题 (Fixes #3778, Fixes #3770, Ref #3762) by @lbjlaq in #3780
- fix(accounts): 解除 QoS 小黑屋后直接重拉账号列表,避免徽章残留 (Ref #3749, Ref #3768) by @wthsama in #3782
New Contributors
- @nicolastinkl made their first contribution in #3766
- @wthsama made their first contribution in #3782
Full Changelog: v5.0.1-beta.7...v5.0.1-beta.9