Skip to content

🧪 [Beta] Antigravity Tools v5.0.5-beta.6

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 28 Nov 03:57
· 11 commits to main since this release
  • [Fix Quota Refresh RwLock Self-Deadlock, Add /health?deep=1 Readiness Probe & Unix SIGTERM Graceful Shutdown] (Fixes #4103, Fixes #4104, Ref #2200, PR #4105, PR #4110, Thanks to @koeria, @d7do7e):
    • Eliminate build_cache_snapshot Write-Read Self-Deadlock: Added OfficialModelCatalog::resolved_background_model_from_state(state) to derive background models from the already-held &LiveCatalogState instead of re-entering live_recommended_store().read() under a write lock in sync_live_catalog / remove_live_account, backed by a 5s timeout-bounded entry-point regression test. (Fixes #4103, Fixes #4104, PR #4105, Thanks to @koeria)
    • Non-Breaking Deep Readiness Check & Headless Graceful Shutdown: Added /health?deep=1 and /api/health?deep=1 with non-blocking catalog lock probing (try_health_check) while preserving legacy /health behavior; added Unix SIGTERM handling in headless mode to shut down cleanly without mutating gui_config.json. (Ref #2200, Ref #4103, Ref #4104, PR #4110, Thanks to @d7do7e)
  • [Resolve macOS Keychain Modal Popups & changeAcl Deadlocks with Silent FFI Preflight & apple-tool: Interop] (Fixes #4043, Ref #4087, PR #4097, PR #4111, PR #4114, Thanks to @zainulhasan, @cubelikeplayDaniel):
    • Silent FFI Unlock/ACL Preflight & Strict Decrypt ACL Check: Serialized macOS Keychain calls under ScopedNoKeychainUi (SecKeychainSetUserInteractionAllowed(0)), preflighting unlocked keychain status, apple-tool:-only PartitionID (no cdhash:), and non-passphrase Decrypt ACL explicitly trusting /usr/bin/security (via SecTrustedApplicationCopyData) or <ANY> before spawning /usr/bin/security with a 5s timeout; unified passive reads through the same preflight with 60s caching so foreign cdhash:/teamid: items and locked keychains incur zero prompts/subprocesses while staying synced with agy CLI and Antigravity 2.0. (Fixes #4043, Ref #4087, PR #4097, PR #4111, PR #4114, Thanks to @zainulhasan, @cubelikeplayDaniel)
    • Delete-Then-Add Writes (No -U) & ACP Credential Isolation: Replaced -U updates on sub-3.9KB writes with silent delete + /usr/bin/security -i add (-A) to eliminate SSKey::changeAcl deadlocks on empty ChangeACL while preserving apple-tool: interop (falling back to native FFI for larger payloads); prioritized local acp_token.json for ACP reads and guarded host Keychain access when GEMINI_HOME is set. (Fixes #4043, PR #4097, PR #4111, PR #4114, Thanks to @zainulhasan, @cubelikeplayDaniel)
  • [Per-Account Model Access Allow/Deny Rules & Global Model-to-Account Binding] (Fixes #4004, PR #4021, Thanks to @cubelikeplayDaniel):
    • Account Model Access & Specificity-Aware Binding: Added per-account ModelAccessRule (all / allow / deny with $O(1)$ zero-allocation wildcard_match) and global ModelAccountBinding (exclusive / priority with specificity-first arbitration), alongside account-detail access controls, shield status badges, and a Model-Account Binding manager in proxy settings. (Fixes #4004, PR #4021, Thanks to @cubelikeplayDaniel)
  • [Serialized Config Writes, Dedicated-Field Preservation & Headless Hot-Reload Sync] (Ref #4064, Ref #820, PR #4109, Thanks to @d7do7e):
    • Config Persistence & Store Parity: Serialized concurrent config writes, preserved dedicated fields across generic save_config updates, synchronized headless hot-reload state, and kept useConfigStore in sync after dedicated proxy/security mutations to prevent stale overwrites. (Ref #4064, Ref #820, PR #4109, Thanks to @d7do7e)
  • [Clipboard Image Sanitization & Cross-Platform IDE Log Directory Preflight] (Fixes #4106, Fixes #4057, PR #4112, Thanks to @cubelikeplayDaniel):
    • Multimodal Image Resilience & Log Directory Creation: Added in-memory BMP-to-PNG transcoding for clipboard/WeChat images, relaxed trailing EXIF/padding checks for JPEG/PNG, stripped RFC 2045 whitespace from base64 payloads, normalized image/jpg to image/jpeg, and ensured Antigravity IDE log directories exist across macOS, Windows, and Linux. (Fixes #4106, Fixes #4057, PR #4112, Thanks to @cubelikeplayDaniel)
  • [Dashboard Greeting & Pool Refresh Sync, Accessibility & Reduced-Motion Dark Surface Polish] (Ref #3617, Ref #3619, Ref #3768, Ref #3189, PR #4099, PR #4100, PR #4101, Thanks to @UnnamedPeople-Chin):
    • UI & Accessibility Improvements: Fixed localized Dashboard greetings, synced client target tabs and full-pool refresh, improved keyboard semantics and contrast across navbar, native dialogs, toasts, and quota cards, honored prefers-reduced-motion, and unified dark surface CSS tokens. (Ref #3617, Ref #3619, Ref #3768, Ref #3189, PR #4099, PR #4100, PR #4101, Thanks to @UnnamedPeople-Chin)
  • [Deduplicate Shared 2-Group Quota Display & Fix Neon / Carbon Flagship Badge] (Ref #4048, Ref #4050):
    • Remove Synthetic 3rd Quota Card on Shared Pools & Fix Flagship Badge: Stopped cloning Gemini Models buckets into a duplicate 3rd Gemini 4 Carbon / Neon quota card when upstream returns only 2 shared groups (Gemini Models + Claude and GPT models), rendering the 3rd card only when a genuine dedicated flagship quota group is returned while folding shared gemini-4-neon / gemini-4-carbon models into the Gemini group's supported-model list and protection shield; added formatFlagshipBadgeLabel so Pro/Ultra capability badges extract only flagship codenames (Neon / Carbon) instead of mistakenly showing Hydrogen. (Ref #4048, Ref #4050)
  • [Critical-Path Rust CI Regression Gate & Repeated-Issue Real-Device Verification Guardrails] (Ref #4043, Ref #4103, Ref #4104, PR #4114):
    • Automated Regression & Governance Hardening: Enabled a 13-module offline critical-path Rust test gate (--test-threads=1, 5m timeout) across Linux/Windows/macOS plus Linux admin/deep-health parity tests, added a PR real-device verification advisory for OS-coupled or repeatedly patched issues, and updated AGENTS.md and .github/PULL_REQUEST_TEMPLATE.md. (Ref #4043, Ref #4103, Ref #4104, PR #4114)

  • [修复配额刷新 RwLock 自死锁、新增 /health?deep=1 深度健康检查与 Unix SIGTERM 优雅退出] (Fixes #4103, Fixes #4104, Ref #2200, PR #4105, PR #4110, Thanks to @koeria, @d7do7e):
    • 消除 build_cache_snapshot 同线程读写自死锁: 新增 OfficialModelCatalog::resolved_background_model_from_state(state) 直接复用已持有的 &LiveCatalogState,避免 sync_live_catalog / remove_live_account 在持有 live_recommended_store 写锁期间重入读锁引发服务无响应,并补充真实入口 5 秒超时防死锁回归测试。(Fixes #4103, Fixes #4104, PR #4105, Thanks to @koeria)
    • 非破坏性深度就绪探针与 Headless 优雅退出: 为 /health?deep=1 与 /api/health?deep=1 新增非阻塞目录锁探测(try_health_check)等深度就绪检查(保留默认 /health 向后兼容);Headless 服务端新增 Unix SIGTERM 信号处理,实现无痕优雅关闭且不篡改 gui_config.json。(Ref #2200, Ref #4103, Ref #4104, PR #4110, Thanks to @d7do7e)
  • [macOS Keychain 弹窗与 changeAcl 死锁根治、静默 FFI 预检与 apple-tool: 分区互通] (Fixes #4043, Ref #4087, PR #4097, PR #4111, PR #4114, Thanks to @zainulhasan, @cubelikeplayDaniel):
    • 静默 FFI 预检与精确 Decrypt ACL 校验: 通过 ScopedNoKeychainUi(SecKeychainSetUserInteractionAllowed(0))互斥序列化读写,调用 /usr/bin/security 前先静默校验默认钥匙串已解锁、PartitionID 仅含 apple-tool: 且无 cdhash:、以及 Decrypt ACL 通过 SecTrustedApplicationCopyData 明确信任 /usr/bin/security(或 <ANY>)且无密码标记,并加 5 秒子进程超时保护;被动轮询复用同一安全预检与 60s 缓存,既对 cdhash:/teamid: 与锁钥匙串保持 0 弹窗、0 子进程,又与 agy CLI / Antigravity 2.0 实时同步。(Fixes #4043, Ref #4087, PR #4097, PR #4111, PR #4114, Thanks to @zainulhasan, @cubelikeplayDaniel)
    • 先删后增写入消除 -U 死锁与 ACP 凭据隔离: <=3.9KB 写入改为先静默删除旧条目再通过 /usr/bin/security -i 新增(不再传递 -U,彻底绕开空 ChangeACL 触发的 SSKey::changeAcl 死锁)以保住 apple-tool: 互通,大载荷平滑降级走原生 FFI;ACP 凭据优先读取本地 acp_token.json,并在 GEMINI_HOME 测试环境下严格隔离宿主机钥匙串。(Fixes #4043, PR #4097, PR #4111, PR #4114, Thanks to @zainulhasan, @cubelikeplayDaniel)
  • [账号级别模型准入名单与全局模型定向绑定] (Fixes #4004, PR #4021, Thanks to @cubelikeplayDaniel):
    • 细粒度账号模型准入与通配符路由仲裁: 新增账号级 ModelAccessRule(支持 all / allow / deny 及 $O(1)$ 零分配通配符匹配)与全局 ModelAccountBinding(支持专属独占 exclusive 与优先调度 priority,按通配符特异度与排他策略仲裁),并在账号详情、盾牌状态角标及代理路由设置中提供完整管理界面。(Fixes #4004, PR #4021, Thanks to @cubelikeplayDaniel)
  • [配置写入序列化、防旧配置覆盖与 Headless 热重载同步] (Ref #4064, Ref #820, PR #4109, Thanks to @d7do7e):
    • 配置持久化原子性与前后端状态同步: 序列化配置文件并发写入,防止通用 save_config 覆盖专用字段并同步 Headless 热重载状态;前端在代理/安全专用变更后同步更新 useConfigStore,消除陈旧状态回写覆盖。(Ref #4064, Ref #820, PR #4109, Thanks to @d7do7e)
  • [剪贴板图片兼容净化与跨平台 IDE 日志目录预建] (Fixes #4106, Fixes #4057, PR #4112, Thanks to @cubelikeplayDaniel):
    • 多模态图片鲁棒性增强与启动日志目录保障: 支持剪贴板/微信 BMP 图片内存转码为 PNG、放宽 JPEG/PNG 尾部 EXIF/填充校验、剥离 Base64 内 RFC 2045 空白并归一化 image/jpg;跨 macOS / Windows / Linux 预建 Antigravity IDE 日志目录以消除 ENOENT 启动报错。(Fixes #4106, Fixes #4057, PR #4112, Thanks to @cubelikeplayDaniel)
  • [Dashboard 问候语与账号池刷新、无障碍体验与动效/暗色样式优化] (Ref #3617, Ref #3619, Ref #3768, Ref #3189, PR #4099, PR #4100, PR #4101, Thanks to @UnnamedPeople-Chin):
    • 仪表盘与交互无障碍全面改进: 修复 Dashboard 本地化问候语、同步客户端目标 Tab 与全账号池刷新;提升导航栏、原生弹窗、Toast 与配额卡的键盘语义与对比度;尊重系统 prefers-reduced-motion 并统一暗色表面 CSS Token。(Ref #3617, Ref #3619, Ref #3768, Ref #3189, PR #4099, PR #4100, PR #4101, Thanks to @UnnamedPeople-Chin)
  • [共享 2 组配额去重展示与 Neon / Carbon 旗舰能力徽标修复] (Ref #4048, Ref #4050):
    • 消除共享池克隆的第 3 组配额卡片与旗舰徽标错显: 上游仅下发 2 组配额(Gemini Models + Claude and GPT models)时,不再复制第 1 组配额桶伪造重复的第 3 组 Gemini 4 Carbon / Neon 进度条,仅在上游真实返回独立第 3 组配额桶时才渲染第 3 组,并将共享池内的 gemini-4-neon / gemini-4-carbon 纳入 Gemini 组支持模型与保护状态判定;同时新增 formatFlagshipBadgeLabel 仅从旗舰模型提取代号,修复 Pro/Ultra 账号徽标被 Hydrogen 抢占误显的问题,准确展示 Neon / Carbon。(Ref #4048, Ref #4050)
  • [CI 关键路径 Rust 回归门禁与重复 PR 真机验证防线] (Ref #4043, Ref #4103, Ref #4104, PR #4114):
    • 防回归自动化门禁与工程规范加固: 在三端 CI 启用 13 个核心模块离线 Rust 回归测试门禁(--test-threads=1 + 5 分钟超时)及 Linux 管理端/深度健康检查测试,新增针对 OS 强耦合改动与重复修复 Issue 的 PR 真机验证提醒,并同步更新 AGENTS.md 与 PR 模板。(Ref #4043, Ref #4103, Ref #4104, PR #4114)

What's Changed

  • fix(models): avoid std RwLock write-read self-deadlock in build_cache_snapshot during quota refresh by @koeria in #4105
  • fix(integration): suppress legacy macOS Keychain prompts via SecKeychainSetUserInteractionAllowed and preserve apple-tool partition (Fixes #4043, Ref #4087) by @zainulhasan in #4097
  • fix(integration): eliminate Keychain modal popups, changeAcl deadlocks and isolate ACP credentials (Fixes #4043, Ref #4087, Ref #4097) by @cubelikeplayDaniel in #4111
  • fix(headless,health): handle Unix SIGTERM cleanly and add opt-in deep readiness probe (Ref #2200, Ref #4103, Ref #4104) by @d7do7e in #4110
  • fix(config,proxy,ui): serialize config writes, preserve dedicated fields, and sync headless hot-reload (Ref #4064, Ref #820) by @d7do7e in #4109
  • fix(dashboard,i18n): fix localized greeting, sync client target tabs, refresh full pool, and improve contrast by @UnnamedPeople-Chin in #4099
  • fix(ui,a11y): improve navbar, native dialog, toast, and quota card accessibility and contrast by @UnnamedPeople-Chin in #4100
  • fix(ui,a11y): honor prefers-reduced-motion, unify dark surface CSS, and add keyboard semantics by @UnnamedPeople-Chin in #4101
  • feat(proxy,accounts): 账号级别模型准入名单与全局模型定向绑定 (Fixes #4004) by @cubelikeplayDaniel in #4021
  • fix(proxy): sanitize clipboard images and ensure IDE log directory (Fixes #4106, Fixes #4057) by @cubelikeplayDaniel in #4112
  • fix(integration): restore deadlock-free macOS apple-tool Keychain interop with silent FFI preflight (Ref #4043, Ref #4097, Ref #4111) by @zainulhasan in #4114

New Contributors

Full Changelog: v5.0.5-beta.5...v5.0.5-beta.6