-
[Fix Quota Refresh
RwLockSelf-Deadlock, Add/health?deep=1Readiness Probe & UnixSIGTERMGraceful Shutdown] (Fixes #4103, Fixes #4104, Ref #2200, PR #4105, PR #4110, Thanks to @koeria, @d7do7e):-
Eliminate
build_cache_snapshotWrite-Read Self-Deadlock: AddedOfficialModelCatalog::resolved_background_model_from_state(state)to derive background models from the already-held&LiveCatalogStateinstead of re-enteringlive_recommended_store().read()under a write lock insync_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=1and/api/health?deep=1with non-blocking catalog lock probing (try_health_check) while preserving legacy/healthbehavior; added UnixSIGTERMhandling in headless mode to shut down cleanly without mutatinggui_config.json. (Ref #2200, Ref #4103, Ref #4104, PR #4110, Thanks to @d7do7e)
-
Eliminate
-
[Resolve macOS Keychain Modal Popups &
changeAclDeadlocks 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 (nocdhash:), and non-passphrase Decrypt ACL explicitly trusting/usr/bin/security(viaSecTrustedApplicationCopyData) or<ANY>before spawning/usr/bin/securitywith a 5s timeout; unified passive reads through the same preflight with 60s caching so foreigncdhash:/teamid:items and locked keychains incur zero prompts/subprocesses while staying synced withagyCLI 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-Uupdates on sub-3.9KB writes with silent delete +/usr/bin/security -iadd (-A) to eliminateSSKey::changeAcldeadlocks on emptyChangeACLwhile preservingapple-tool:interop (falling back to native FFI for larger payloads); prioritized localacp_token.jsonfor ACP reads and guarded host Keychain access whenGEMINI_HOMEis set. (Fixes #4043, PR #4097, PR #4111, PR #4114, Thanks to @zainulhasan, @cubelikeplayDaniel)
-
Silent FFI Unlock/ACL Preflight & Strict Decrypt ACL Check: Serialized macOS Keychain calls under
-
[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/denywith $O(1)$ zero-allocationwildcard_match) and globalModelAccountBinding(exclusive/prioritywith 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)
-
Account Model Access & Specificity-Aware Binding: Added per-account
-
[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_configupdates, synchronized headless hot-reload state, and keptuseConfigStorein sync after dedicated proxy/security mutations to prevent stale overwrites. (Ref #4064, Ref #820, PR #4109, Thanks to @d7do7e)
-
Config Persistence & Store Parity: Serialized concurrent config writes, preserved dedicated fields across generic
-
[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/jpgtoimage/jpeg, and ensured Antigravity IDE log directories exist across macOS, Windows, and Linux. (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
-
[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)
-
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
-
[Deduplicate Shared 2-Group Quota Display & Fix
Neon / CarbonFlagship Badge] (Ref #4048, Ref #4050):-
Remove Synthetic 3rd Quota Card on Shared Pools & Fix Flagship Badge: Stopped cloning
Gemini Modelsbuckets into a duplicate 3rdGemini 4 Carbon / Neonquota 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 sharedgemini-4-neon/gemini-4-carbonmodels into theGeminigroup's supported-model list and protection shield; addedformatFlagshipBadgeLabelso Pro/Ultra capability badges extract only flagship codenames (Neon / Carbon) instead of mistakenly showingHydrogen. (Ref #4048, Ref #4050)
-
Remove Synthetic 3rd Quota Card on Shared Pools & Fix Flagship Badge: Stopped cloning
-
[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 updatedAGENTS.mdand.github/PULL_REQUEST_TEMPLATE.md. (Ref #4043, Ref #4103, Ref #4104, PR #4114)
-
Automated Regression & Governance Hardening: Enabled a 13-module offline critical-path Rust test gate (
-
[修复配额刷新
RwLock自死锁、新增/health?deep=1深度健康检查与 UnixSIGTERM优雅退出] (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 服务端新增 UnixSIGTERM信号处理,实现无痕优雅关闭且不篡改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 子进程,又与agyCLI / 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)
-
静默 FFI 预检与精确 Decrypt ACL 校验: 通过
-
[账号级别模型准入名单与全局模型定向绑定] (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):
-
[剪贴板图片兼容净化与跨平台 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)
-
多模态图片鲁棒性增强与启动日志目录保障: 支持剪贴板/微信 BMP 图片内存转码为 PNG、放宽 JPEG/PNG 尾部 EXIF/填充校验、剥离 Base64 内 RFC 2045 空白并归一化
- [Dashboard 问候语与账号池刷新、无障碍体验与动效/暗色样式优化] (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)
-
消除共享池克隆的第 3 组配额卡片与旗舰徽标错显: 上游仅下发 2 组配额(
- [CI 关键路径 Rust 回归门禁与重复 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