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

latest release: v5.0.0
pre-release4 hours ago
  • [Disabled Model Variant Ingestion Filtering, Baseline Gatekeeping & False Quota Badge Elimination] (Fixes #3735, Ref #3737):
    • Official Model Struct Ingestion of disabled Flag: Added the disabled: Option<bool> field and is_disabled(&self) helper to OfficialModelInfo to accurately capture models flagged with disabled: true from Google's fetchAvailableModels upstream response. (Fixes #3735)
    • Baseline Gatekeeping & Normalization Guard: Intercepted -disabled and _disabled suffixes at the very top of is_model_compliant_with_baseline; returned None in normalize_to_standard_id for disabled models to prevent mapping gemini-4-argon-disabled into the active gemini-4-argon dispatch bucket. (Fixes #3735)
    • Strict Quota Parsing & Account Pool Ingestion Sanitization: Thoroughly skipped is_disabled() and -disabled entries during fetchAvailableModels parsing in quota.rs and local account ingestion in TokenManager (load_single_account, get_available_models_from_json), preventing staged/locked models from entering the active candidate pool. (Fixes #3735, Ref #3737)
    • Elimination of False Frontend Badges & Quota Displays: Filtered out -disabled models in isSupportedDisplayModel, getGroupQuotaSummaries, and hasArgon evaluation in quotaDisplay.ts, ensuring Argon badges and quota progress bars are only activated when an account possesses a genuine, non-disabled Argon model or an official Argon quota group, eradicating false quota illusions. (Fixes #3735)
  • [Mini View Main Window Wakeup Deadlock Elimination, Native Main Thread Scheduling & Lightweight Mode Black Screen Prevention] (Ref #3733, Ref #3738, Ref #3741):
    • Native Main Thread Scheduling & Win32 Deadlock Elimination: Introduced switch_to_main_window and hide_mini_view commands in the Rust backend, dispatching main window reconstruction and reactivation (exit_lightweight_mode) fully onto the OS native UI main thread (app.run_on_main_thread), completely eliminating Win32 message loop deadlocks and spinlock hangs when creating windows cross-thread on Windows. (Ref #3733, Ref #3738, Ref #3741)
    • Mini View & Main Console Switching Race Condition Elimination: When activating the main console, atomically hidden unpinned Mini views and reset active states in the Rust backend first, preventing frontend multi-stage awaits from freezing due to WebView2 suspension. (Ref #3733, Ref #3738)
    • Full-Chain ACL Capability Permissions Completion: Added missing permissions including core:window:allow-hide, allow-set-focus, allow-unminimize, and allow-close for both main and mini windows in capabilities/default.json, preventing foreground window control operations from being blocked by Tauri's ACL subsystem. (Ref #3738)
    • Lightweight Mode Seamless Fade-in on Render Ready: Kept main window invisible by default (visible: false) during reconstruction, fading in and focusing smoothly only after ThemeManager mounts theme and configurations, completely eliminating black screen/white frame flickers before WebView2 paints the React DOM. (Ref #3733, Ref #3738)

  • [官方禁用模型严格过滤、基准线拦截门禁与虚假配额展示清理] (Fixes #3735, Ref #3737):
    • 官方模型结构体补齐 disabled 字段: 在 OfficialModelInfo 中补齐 disabled: Option<bool> 字段与 is_disabled(&self) 判定方法,准确捕获 Google 上游 fetchAvailableModels 中带有 disabled: true 标记的条目。(Fixes #3735)
    • 基准线与归一化门禁拦截禁用变体: 在 is_model_compliant_with_baseline 判定中置顶拦截 -disabled / _disabled 模型变体;并在 normalize_to_standard_id 中对禁用模型返回 None,杜绝将 gemini-4-argon-disabled 误归一化为可调度的 gemini-4-argon 标准计费桶。(Fixes #3735)
    • 配额解析与账号池加载严格防渗透: 在 quota.rs 解析 quota_response.models 响应及 TokenManager 读入本地账号文件(load_single_account、get_available_models_from_json)时,双向剔除 is_disabled() 及 -disabled 变体,防止未开放灰度模型渗入可用模型列表。(Fixes #3735, Ref #3737)
    • 前端配额卡片与能力徽章虚假展示治理: 在 isSupportedDisplayModel、getGroupQuotaSummaries 及 hasArgon 聚合逻辑中全面过滤 -disabled 标记,仅当账号真正具备未禁用 Argon 模型或官方 Argon 独立配额组时才激活 Argon 徽章与卡片,彻底根除因残留标记误借普通 Gemini 周配额导致的虚假展示。(Fixes #3735)
  • [Mini 视窗唤醒主控制台死锁消除、原生主线程调度与轻量模式防黑屏] (Ref #3733, Ref #3738, Ref #3741):
    • 主线程调度与死锁根除: 在后端引入 switch_to_main_window 与 hide_mini_view 命令,将主窗口重建及激活(exit_lightweight_mode)全量调度至系统原生 UI 主线程(app.run_on_main_thread),彻底消除 Windows 下跨线程创建窗口导致的 Win32 消息循环死锁与自旋挂起。(Ref #3733, Ref #3738, Ref #3741)
    • Mini 视窗与主控制台切换竞态消除: 呼出主控制台时,先在 Rust 后端原子化隐藏未置顶的 Mini 视窗并重置活跃态,避免前端多段 await 因 WebView2 挂起导致假死。(Ref #3733, Ref #3738)
    • 全链路 ACL 能力权限补全: 在 capabilities/default.json 中为 main 与 mini 窗口补齐 core:window:allow-hide、allow-set-focus、allow-unminimize、allow-close 等权限,防止前台窗口控制被底层 ACL 拦截。(Ref #3738)
    • 轻量模式首屏渲染就绪无感淡入: 重建主控制台窗口时默认保持 visible: false 静默装载,待 ThemeManager 首屏主题与配置挂载就绪后自动淡入并对焦,彻底根除 WebView2 绘制 React DOM 前的黑底白框闪烁。(Ref #3733, Ref #3738)

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

Don't miss a new Antigravity-Manager release

NewReleases is sending notifications on new releases.