github lbjlaq/Antigravity-Manager v5.0.0-beta.3
Antigravity Tools v5.0.0-beta.3

pre-release3 hours ago
  • [macOS Mini View Deadlock Elimination & Foreground Cascading Jump Prevention] (Fixes #3744, Ref PR #3747, Ref #3748):
    • Cross-Thread Deadlock & Zero-Visible-Window Hang Eradication: Dispatched switch_to_main_window strictly onto the native OS UI thread (app.run_on_main_thread), immediately executing show(), unminimize(), and set_focus() in exit_lightweight_mode for macOS to permanently eliminate the Mini window freeze and unopenable main console caused by cross-thread AppKit synchronization and WebKit message loop starvation. (Fixes #3744, Ref PR #3747)
    • Unified Accessory Activation Policy for Mini View: Replaced the flawed policy where ActivationPolicy::Regular was retained if the main window was still alive in the background/docked/on another Space. Opening Mini now consistently enforces ActivationPolicy::Accessory, preventing macOS AppKit from activating the entire application and pulling the background main console forward or triggering jarring cross-Space jumps. (Fixes #3744, Ref #3748)
    • Adaptive Regular Policy Restoration on Mini Dismissal & Refocus: Encapsulated hide_mini_window to safely restore ActivationPolicy::Regular upon blur, tray click, or close when the main console remains alive (is_visible() || is_minimized()), while maintaining Regular dynamically when the main window regains focus. (Ref #3748)
  • [Tray Left-Click Action Preference & Multilingual i18n Localization] (Ref #3748):
    • Tray Left-Click Behavior Preference: Added a tray_click_action setting in General Settings supporting toggle between "Mini Floating Window" and "Main Console" to accommodate user workflow preferences. (Ref #3748)
    • Compact Pill Card UI & 12-Locale Completeness: Aligned with the minimalist design guidelines using compact pill-shaped toggle cards and localized strings across all 12 supported language dictionaries. (Ref #3748)
  • [Mini View Square Corner Rectification & Native Rounded Transparency] (Ref #3748):
    • CSS Box-Shadow Redundancy Stripping: Removed redundant outer shadow-2xl CSS boxes in desktop mode, delegating window shadow entirely to the native macOS NSWindow ("shadow": true) to eliminate horizontal cut lines and 90-degree squared artifacts at window boundaries (y = 360px). (Ref #3748)
    • Explicit Rounded Bounds & Root Overflow Clipping: Added rounded-t-2xl to the header and rounded-b-2xl to the footer, set #root to overflow: hidden !important in Mini mode, and ensured ::-webkit-scrollbar-corner transparency to completely expose smooth native rounded corners. (Ref #3748)
  • [QoS Expiry Probing DashMap Self-Deadlock Elimination & Safe Phase Separation] (Fixes #3749, PR #3751, Thanks to @cubelikeplayDaniel):
    • Two-Phase Read-Write Decoupling: Introduced take_expired_jails_for_probing() in qos_guardian.rs. Phase 1 captures a read-only snapshot Vec<(String, usize)> of expired jailed accounts via states.iter() and cleanly terminates iteration to release shard read locks; Phase 2 safely transitions each account to Probing state using write locks, completely eradicating DashMap shard self-deadlocks that caused port 8045 to freeze and become unresponsive. (Fixes #3749, PR #3751, Thanks to @cubelikeplayDaniel)
    • Deadlock-Resistant Regression Test: Added test_take_expired_jails_for_probing_does_not_deadlock with a 5-second timeout safeguard running in a dedicated OS thread to guarantee state transition correctness and prevent future concurrency deadlocks. (Fixes #3749, PR #3751)
  • [Official Hub Egress Baseline Upgrade to 2.24.0 & Headless Async Fingerprint Sync] (Fixes #3750, PR #3751, Thanks to @cubelikeplayDaniel):
    • Official Hub Baseline Upgrade: Elevated OFFICIAL_HUB_VERSION to 2.24.0 and OFFICIAL_HUB_CL to 1000335682 in constants.rs, satisfying upstream Google Cloud Code version and Piper CL verification gates for the gemini-4-argon family, eliminating 404 NOT_FOUND upstream rejections and instantaneous 0.326ms whole-pool 503 circuit-breaker trips. (Fixes #3750, PR #3751, Thanks to @cubelikeplayDaniel)
    • Headless Asynchronous Hub Manifest Discovery: Dispatched non-blocking background tasks during headless daemon and GUI initialization to invoke detect_and_update_hub_fingerprint(), ensuring headless Docker deployments without local IDEs dynamically synchronize official release manifests. (Fixes #3750, PR #3751)
    • Dynamic QoS Probing User-Agent: Replaced the hardcoded legacy User-Agent in synthetic health-check probes with get_current_hub_user_agent(), ensuring full compliance across all egress HTTP traffic. (Fixes #3750, PR #3751)
  • [Argon Quota Foolproof Isolation & False Inheritance Elimination] (Fixes #3745, Ref PR #3747, Thanks to @cubelikeplayDaniel):
    • Removal of Quota Borrowing Fallback: Removed the fallback in quota.rs that borrowed general Gemini quota when an account lacked a dedicated Argon group, strictly requiring an official independent Argon quota group. (Fixes #3745, Ref PR #3747, Thanks to @cubelikeplayDaniel)
    • In-Memory Pool Sanitization Defense: In token_manager.rs (load_single_account, get_available_models_from_json, and live quota refresh), thoroughly stripped all Argon variants from model_quotas, available_models, and model_limits when an account lacks dedicated Argon group authorization, preventing unauthorized accounts from usurping quota and causing 503 circuit-breaker trips. (Fixes #3745, Ref PR #3747)
    • Frontend Quota Card Precision: Refined hasArgon in quotaDisplay.ts to display cards only when real quota_groups contain an Argon group, eradicating synthetic false 5H rolling quotas generated by fallbackModels. (Fixes #3745)
    • Adaptive Retry Boundary Alignment: Guaranteed in common.rs that fast account rotation (50ms) for hard quota depletion applies exclusively to round 1, transitioning smoothly into standard backoff on subsequent rounds. (Fixes #3745)

  • [macOS 悬浮窗唤起死锁根除与前台级联跳出修复] (Fixes #3744, Ref PR #3747, Ref #3748):
    • 跨线程死锁与 0-可见窗口挂起修复: 将 switch_to_main_window 统一调度到操作系统原生 UI 主线程 (app.run_on_main_thread) 执行,在 exit_lightweight_mode 中针对 macOS 立即执行 show()、unminimize() 与 set_focus(),根治因跨线程 AppKit 调度与 WebView2/WebKit 消息循环悬空导致的悬浮窗卡死及主控制台无法打开的问题。(Fixes #3744, Ref PR #3747)
    • 唤起 Mini 统一收敛至 Accessory 附属模式: 移除原先主窗口未彻底销毁(在后台/最小化到 Dock/其他 Space)时保留 Regular 策略的缺陷逻辑,唤起 Mini 时统一设为 ActivationPolicy::Accessory,彻底消除 AppKit 激活 Mini 视窗时伴随整个应用激活而将后台主控制台强制拉至前台、展开最小化或触发跨 Space 屏幕跳跃的顽疾。(Fixes #3744, Ref #3748)
    • 收起 Mini 与主窗口重聚自适应恢复: 封装 hide_mini_window 统一视窗收起流程,在失焦自动收起、点击托盘切换或手动关闭 Mini 时,若主控制台原本处于存活态(is_visible() || is_minimized()),精准恢复 Regular 策略;并在主控制台重新获得焦点时保证 Regular 实时在线。(Ref #3748)
  • [托盘左键行为偏好配置与多国语言支持] (Ref #3748):
    • 通用设置托盘单击偏好: 在通用设置中新增托盘单击行为偏好配置 tray_click_action(支持「Mini 悬浮窗」与「主控制台」两种交互偏好,默认 Mini 悬浮窗),满足不同用户的桌面交互习惯。(Ref #3748)
    • 紧凑胶囊卡片交互与多国语言完备: 遵循极简设计规范,采用紧凑胶囊卡片布局,对齐通用设置视觉标准,并同步补全全部 12 国语言字典。(Ref #3748)
  • [Mini 悬浮窗底部背景直角消除与真圆角透明治理] (Ref #3748):
    • 移除冗余 CSS box-shadow: 在桌面端模式下移除最外层容器冗余的 shadow-2xl,完全由系统原生 NSWindow 绘制透明窗体阴影("shadow": true),根治内部 CSS 阴影向下溢出在视窗边界(y = 360px)被截断形成的水平平切线与 90 度直角阴影。(Ref #3748)
    • 首尾两栏显式圆角与根视窗溢出截断: 顶栏显式追加 rounded-t-2xl,底栏追加 rounded-b-2xl,杜绝 WebKit 亚像素渲染及 backdrop-filter 在容器边缘轻微溢流的问题;并将 Mini 模式下的 #root 设为 overflow: hidden !important,补全 ::-webkit-scrollbar-corner 透明规则,彻底透出桌面原生平滑圆角。(Ref #3748)
  • [QoS 到期巡检 DashMap 自死锁修复与安全读写分离] (Fixes #3749, PR #3751, Thanks to @cubelikeplayDaniel):
    • 两阶段解耦与安全读写分离: 在 qos_guardian.rs 中新增 take_expired_jails_for_probing(),Phase 1 通过只读迭代器收集所有已到期小黑屋账号快照 Vec<(String, usize)>,彻底退出迭代并释放 DashMap 分片读锁;Phase 2 逐个安全原子置换为 Probing 状态并释放写锁,彻底消除后台巡检线程同线程读写自死锁导致代理端口 8045 假死挂死的问题。(Fixes #3749, PR #3751, Thanks to @cubelikeplayDaniel)
    • 并发防死锁回归专项测试: 增加 test_take_expired_jails_for_probing_does_not_deadlock 单元测试,在独立子线程与 5 秒超时保护下执行到期提取与状态置换验证,杜绝并发死锁回归。(Fixes #3749, PR #3751)
  • [官方 Hub 出站基准升级至 2.24.0 与 Headless 异步探测注入] (Fixes #3750, PR #3751, Thanks to @cubelikeplayDaniel):
    • 内置稳态基准提升: 将 constants.rs 中的内置稳态基准升级至官方 Antigravity 2.24.0(OFFICIAL_HUB_VERSION = "2.24.0",OFFICIAL_HUB_CL = "1000335682"),满足 Google 上游新一代 gemini-4-argon 系列模型的客户端版本门控,杜绝因陈旧指纹触发 404 NOT_FOUND 进而导致全账号池 0.326ms 熔断 503 报错。(Fixes #3750, PR #3751, Thanks to @cubelikeplayDaniel)
    • Headless 异步探测远程清单: 在 Headless 与桌面启动流程中派发后台异步任务调用 detect_and_update_hub_fingerprint(),确保无本地 IDE 的纯 Docker 容器在启动后即自动同步官方最新更新清单。(Fixes #3750, PR #3751)
    • 合成测速探针 UA 动态化: 将 token_manager.rs 中的测速探针硬编码 UA 替换为 crate::modules::hub_version::get_current_hub_user_agent(),确保出站指纹全链路合规统一。(Fixes #3750, PR #3751)
  • [Argon 配额防呆隔离与虚假继承消除] (Fixes #3745, Ref PR #3747, Thanks to @cubelikeplayDaniel):
    • 移除降级借额逻辑: 在 quota.rs 中移除 Argon 模型在缺少专属分组时借用通用 Gemini 配额的降级逻辑,严格要求命中官方 Argon 独立配额组。(Fixes #3745, Ref PR #3747, Thanks to @cubelikeplayDaniel)
    • 内存账号池全链路清理防呆: 在 token_manager.rs 的 load_single_account、get_available_models_from_json 以及实时配额刷新逻辑中,若账号未分配 Argon 专属分组,彻底从 model_quotas、available_models 和 model_limits 中清理,防止无权账号冒领配额并规避调度器 503 熔断。(Fixes #3745, Ref PR #3747)
    • 前端配额卡片精准解耦: 在 quotaDisplay.ts 中修正 hasArgon 判定,仅在真实 quota_groups 中存在 Argon 分组时展示卡片,杜绝 fallbackModels 注入虚假 5H 滚动配额。(Fixes #3745)
    • 自适应重试策略边界对齐: 在 common.rs 中确保硬配额快速轮换(50ms)仅在第一轮重试生效,第二轮平滑进入温和指数退避。(Fixes #3745)

What's Changed

Full Changelog: v5.0.0-beta.2...v5.0.0-beta.3

Don't miss a new Antigravity-Manager release

NewReleases is sending notifications on new releases.