github lbjlaq/Antigravity-Manager v4.9.7-beta.7
Antigravity Tools v4.9.7-beta.7

pre-release4 hours ago
  • [Align Claude Code 2.1.293 Termination State Machine & Eliminate Hangs and Truncation] (PR #3634, Ref #3633, Thanks to @cubelikeplayDaniel):
    • Unbuffered Streaming & Official SSE Keep-Alive: Removed frontend blocking Peek for streaming requests to initiate immediate SSE streams upon HTTP 200, dispatching official standard SSE ping frames (event: ping) during idle windows to eradicate downstream 300s/5-minute watchdog freezes. (PR #3634, Thanks to @cubelikeplayDaniel)
    • Preserve Tool Result Loops via Context Folding: In the Gemini target role normalization phase, seamlessly fold system injected text like <system-reminder> into prior functionResponse outputs to avoid dangling trailing user turns that break Gemini tool execution state machines. (PR #3634, Thanks to @cubelikeplayDaniel)
    • Termination State Awareness & Immediate Disconnect: Implemented is_terminal() to sense message_stop, closing downstream connections within milliseconds after the termination frame to block out-of-order upstream frame poisoning; completely removed synthetic empty completions and pseudo-clean cutoffs, faithfully propagating errors to activate client native retries. (PR #3634, Thanks to @cubelikeplayDaniel)
    • Error Code Normalization & Retry-After Clamping: Normalized status 529 to 429 and 403 to 503 to prevent false 10~30 minute overload locks or forced logouts; safely clamped Retry-After within [1, 12] seconds to eradicate extreme delay freezes. (PR #3634, Thanks to @cubelikeplayDaniel)
  • [Standalone Exclusive Support for Language Server Hot-Switch without Window Restarts] (Fixes #3637, Thanks to @rassvetpublic-spec):
    • Standalone Exclusive Hot-Switch Gate: Targeted language server hot-switching specifically to Antigravity Standalone (>= 2.0.0) clients (write credentials → kill language_server subprocess → re-assert authoritative credentials). Leveraged the parent host supervisor to respawn the child and reload new credentials without closing the main window, eliminating window flashing and preserving unsaved buffers and terminal sessions. (Fixes #3637, Thanks to @rassvetpublic-spec)
    • IDE & Error Fallback Safety Net (Risky Path Replacement): IDE variants retain full restart due to hard dependencies on Extension Host in-memory contexts and SQLite single-writer locks; additionally, if Standalone fails to find child processes or times out during respawn, smoothly falls back to full restart. (Fixes #3637)
  • [Token Stats Dashboard Persistence, Granular Ranges, Cost Metrics & Heatmap UX] (Ref PR #3638, Thanks to @zepeng-jin):
    • Dashboard Preferences Persistence: Automatically saves and restores user dashboard preferences (dashboard mode, time granularity, chart type, dimension, and metric) via localStorage across page reloads. (Ref PR #3638, Thanks to @zepeng-jin)
    • Granular Time Ranges: Added ISO calendar weekly aggregation range (past 12 weeks labeled with Wxx), alongside standardized Hourly (24 hours), Daily (14 days), and All (all-time history). (Ref PR #3638, Thanks to @zepeng-jin)
    • Cost Metrics & Heatmap Visual Tuning: Added dynamic toggling between Token throughput and estimated cost ($ USD) on trend charts, equipped overview cards with cost metrics, and enlarged heatmap cells to 16px with 5px gap for improved readability. (Ref PR #3638, Thanks to @zepeng-jin)
  • [Self-Contained Page Entrance Transitions & Card Micro-Interactions] (PR #3636, Thanks to @cubelikeplayDaniel):
    • Self-Contained Smooth Page Entrances: Decoupled from global Router exit transitions by applying self-contained entry animations across 7 core pages (Dashboard, Accounts, Token Stats, API Proxy, Settings, Security, and Monitor), eradicating route switching jitter, flicker, and blank screens. (PR #3636, Thanks to @cubelikeplayDaniel)
    • Decoupled Scroll Viewport & GPU Acceleration: Retained native fluid scroll calculation while equipping inner animated containers with hardware-accelerated synthesis to prevent Layout Thrashing. (PR #3636, Thanks to @cubelikeplayDaniel)
    • Card & Button Tactile Feedback: Unified subtle hover elevation on cards and tactile tap scale on buttons, disabling SVG tween recalculations in charts during page mount to avoid main thread contention. (PR #3636, Thanks to @cubelikeplayDaniel)

  • [对齐 Claude Code 2.1.293 终结状态机并消除假死与截断] (PR #3634, Ref #3633, Thanks to @cubelikeplayDaniel):
    • 流式预读免阻塞与官方 SSE 心跳保活: 移除流式请求前端阻塞式 Peek,HTTP 200 建立后直接推流,并在空闲期下发官方标准 SSE ping 保活帧(event: ping),彻底根治下游客户端 300s/5 分钟硬超时假死。 (PR #3634, Thanks to @cubelikeplayDaniel)
    • 保全工具回执轮次闭环与上下文折叠: 针对 Gemini 目标角色归一化阶段,将伴随的 <system-reminder> 等系统注入提醒文本无缝折叠入前序 functionResponse 的输出中,杜绝在回执后产生悬挂的独立 user 轮次,避免打断 Gemini 工具调用状态机。 (PR #3634, Thanks to @cubelikeplayDaniel)
    • 终结状态机感知与即时断流: 引入 is_terminal() 感知 message_stop,发出终结帧后毫秒级关闭下游连接,严禁上游越界多余数据帧投毒;彻底移除空回复伪造与断流伪造正常收尾,异常如实向底层透传以激活客户端原生自动重试。 (PR #3634, Thanks to @cubelikeplayDaniel)
    • 规范化错误码与收敛 Retry-After: 将 529 规范映射为 429、403 映射为 503,杜绝客户端误触发长达 10~30 分钟过载冷冻或退出至登录页;将 Retry-After 安全收敛至 [1, 12] 秒内,彻底解决超大等待时间冻结 CLI 的问题。 (PR #3634, Thanks to @cubelikeplayDaniel)
    • 原生经典版独占支持语言服务热切号: 将热切号机制精准限定于原生经典版(Standalone >= 2.0.0),检测到运行中经典版时优先执行语言服务热切号(先写凭据 → 终止 language_server 子进程 → 补写权威凭据),利用宿主守护进程原地重建子进程重载新凭据,彻底杜绝主窗口关闭重启、消除窗口闪烁并完整保留未保存缓冲区与终端会话。 (Fixes #3637, Thanks to @rassvetpublic-spec)
    • IDE 款与异常场景平滑回退安全机制 (Risky Path Replacement): IDE 款因强依赖 Extension Host 内存上下文与 SQLite (state.vscdb) 单写者锁,保持完整重启以防状态残缺;同时原生版若未检测到语言服务子进程、终止失败或重建超时时,自动平滑回退到原本的完整重启机制,确保零残状态。 (Fixes #3637)
  • [Token 统计看板偏好记忆、时间粒度细分、金额维度与热力图体验升级] (Ref PR #3638, Thanks to @zepeng-jin):
    • 看板偏好状态持久化: 通过 localStorage 自动记忆用户的看板偏好设置(看板模式、时间粒度、图表类型、分组维度与指标选择),页面刷新或切回时自适应还原。 (Ref PR #3638, Thanks to @zepeng-jin)
    • 时间统计范围细化: 新增自然周 (Weekly) 聚合范围(过去 12 周,以 Wxx 标示横坐标),并规范 Hourly(24 小时)、Daily(14 天)与 All(全量历史)时间尺度。 (Ref PR #3638, Thanks to @zepeng-jin)
    • 金额维度与热力图体验调优: 趋势图新增 Token 吞吐与预估金额 ($ USD) 动态切换,热力图与排行榜同步增加金额概览;热力图网格格子放大至 16px、间距扩展至 5px,提升交互与可读性。 (Ref PR #3638, Thanks to @zepeng-jin)
  • [全站核心页面自洽入场动效与卡片微交互触觉反馈] (PR #3636, Thanks to @cubelikeplayDaniel):
    • 全站核心页面自洽平滑入场: 解耦全局 Router 模式,在仪表盘、账号管理、Token 统计、网关中转、设置、安全及实时监控等 7 大核心页面应用轻量自洽入场动效,根治路由跳变重排闪烁与白屏。 (PR #3636, Thanks to @cubelikeplayDaniel)
    • 滚动视口与 GPU 硬件加速解耦: 保持原生流畅滚动条计算,为内层动效容器配置硬件加速合成,杜绝页面切换 Layout Thrashing。 (PR #3636, Thanks to @cubelikeplayDaniel)
    • 卡片与按钮微交互触觉反馈: 统一卡片 hover 微浮动与操作按钮 tap 触觉缩放,图表标记规避 SVG 补间计算争抢动画主线程。 (PR #3636, Thanks to @cubelikeplayDaniel)

What's Changed

  • feat(ui): 全站核心页面自洽入场动效与卡片微交互触觉反馈 (方案B) by @cubelikeplayDaniel in #3636
  • fix(proxy): 对齐 Claude Code 2.1.293 终结状态机并消除断流重试风暴与无尽计时悬挂 (Fixes #3633) by @cubelikeplayDaniel in #3634

Full Changelog: v4.9.7-beta.6...v4.9.7-beta.7

Don't miss a new Antigravity-Manager release

NewReleases is sending notifications on new releases.