- [Fix Primary Daily Endpoint Jitter Leading to Sandbox Fallback Endpoint Poisoning] (Fixes #3827, PR #3833, Thanks to @modded-soldier-9):
- Sandbox Endpoint Isolation & Anti-Leapfrog Priority Partitioning: Introduced sandbox endpoint detection and partitioned sorting so
daily-cloudcode-pa.sandbox.googleapis.comnever leapfrogs primary Daily endpoints due to health stats; eliminates accidental account poisoning and false 504 Gateway Timeouts triggered when non-US proxies receive 400 (User location is not supported) from sandbox endpoints. (Fixes #3827, PR #3833, Thanks to @modded-soldier-9) - Sandbox 400 Degradation & Extended Cooldown: Reclassified sandbox 400 errors as eligible for next-endpoint rotation with an enforced minimum 300-second cooldown penalty, preventing repetitive fallback cascades.
- Sandbox Endpoint Isolation & Anti-Leapfrog Priority Partitioning: Introduced sandbox endpoint detection and partitioned sorting so
- [Fix Classic Client Credential Sync Missing Fallback Files and State Dual-Write] (Fixes #3829, PR #3834, Thanks to @modded-soldier-9):
- Unified Credential Dual-Write across Classic and IDE Modes: Fixed an issue where switching accounts in Classic mode (
target_ide == "classic") prompted for re-authentication on desktop restart; unified the fallback credential writer (jetski-standalone-oauth-token) to apply seamlessly across both Classic and IDE runtimes. (Fixes #3829, PR #3834, Thanks to @modded-soldier-9) - Safe SQLite Atomic Backup and State Ingestion: When
state.vscdbis present in the Classic data directory, atomically backs up the database and dual-writes the authentication token andserviceMachineIdto maintain strict state parity.
- Unified Credential Dual-Write across Classic and IDE Modes: Fixed an issue where switching accounts in Classic mode (
- [Enterprise & GCP Vertex AI Project ID Management and Auto-Discovery] (Fixes #3823):
- Visual GCP Project ID Configuration & Persistence: Added a dedicated Project ID setting within the Account Details modal, allowing users to inspect, manually set, or modify the linked Google Cloud Project ID for Enterprise/GCP accounts, synchronously persisted to local credentials and gateway memory.
- One-Click Auto-Fetch Project ID: Implemented the
auto_fetch_account_project_idcommand with an "Auto Fetch" button in the GUI, automatically queryingloadCodeAssistto discover and associate the account's upstreamcloudaicompanionProject. - Proxy Pool Integration & Timeout Hardening: Relaxed the query timeout from an aggressive 3 seconds to 12 seconds and routed requests through the global
ProxyPool, ensuring high reliability across proxies and international latency variations. - Precise Enterprise Tier Classification: Fixed an issue where the built-in standard client key (
antigravity_enterprise) or legacyis_gcp_tosflags mistakenly caused personal accounts to be classified asENTERPRISE, strictly reserving the tier for trueantigravity_gcpclients and authoritative subscription levels. - Comprehensive 12-Language i18n: Added complete translations for the Project ID controls, descriptions, placeholders, and status toasts across 12 languages (AR, EN, ES, JA, KO, MY, PT, RU, TR, VI, ZH, ZH-TW).
- [Fix Responses Protocol Multimodal Sliding Window Ingress Guard, Payload Audit Redaction, and Token Estimation] (PR #3830, Thanks to @mclinyeshi):
- Bypass Cumulative Image Byte Interception when Sliding Window is Active: Fixed an issue where enabling the multimodal sliding freshness window (
enable_sliding_window = true) still triggered an ingress HTTP 400 rejection if historical, unpruned images accumulated beyond 32MB; cumulative payload limits are now cleanly deferred to pipeline sliding window pruning while retaining single-image limits (>20MB), preventing multimodal Agent sessions (e.g. Codex) from being falsely blocked at entry. (PR #3830, Thanks to @mclinyeshi) - Comprehensive Responses Base64 Image Audit Redaction: In simple audit mode, recursively sanitized inline Data URLs,
input_imageblocks, andfunction_call_outputimages into lightweight placeholders ([base64 image: xxx bytes]), preventing SQLite database bloating and UI sluggishness during multiround image inspection tasks. (PR #3830, Thanks to @mclinyeshi) - Responses Multimodal Visual Token Estimation: Added native Responses payload parsing in
PipelineTokenEstimator, correctly converting multimodal images into visual tokens and preventing token underestimation from skewing pipeline timeout budgets. (PR #3830, Thanks to @mclinyeshi)
- Bypass Cumulative Image Byte Interception when Sliding Window is Active: Fixed an issue where enabling the multimodal sliding freshness window (
- [Fix Long-Context Conversations Mistakenly Triggering Cowork Auto-Compaction & Experiment Matrix] (Fixes #3821, Ref #3826, PR #3835, PR #3836, Thanks to @cubelikeplayDaniel):
- Align Configured Auto-Compaction Guard with Tool Turn Ingress: Removed the one-size-fits-all 1M exemption and premature tool interruptions, ensuring authentic Cowork sessions containing tool results trigger self-healing auto-compaction strictly per GUI-configured
effective_threshold; resolved an issue where upload budgets were clipped by TTFT offsets for large payloads. (Fixes #3821, Ref #3826, PR #3835, Thanks to @cubelikeplayDaniel) - Full-Chain 10-Case Dual-Track Control Experiment Matrix: Added
test_cowork_10_control_experiment_matrixunit tests thoroughly asserting 5 oversize clipping conditions and 5 safe passthrough conditions, ensuring gateway guards stay 100% consistent with configuration thresholds. (Fixes #3821, Ref #3826, PR #3836, Thanks to @cubelikeplayDaniel)
- Align Configured Auto-Compaction Guard with Tool Turn Ingress: Removed the one-size-fits-all 1M exemption and premature tool interruptions, ensuring authentic Cowork sessions containing tool results trigger self-healing auto-compaction strictly per GUI-configured
- [主端点偶发抖动沙箱降级抢占导致的端点毒化修复] (Fixes #3827, PR #3833, Thanks to @modded-soldier-9):
- 沙箱端点隔离与防抢占排序: 在上游端点调度中引入沙箱端点探测与分区保护机制,确保
daily-cloudcode-pa.sandbox.googleapis.com永不因统计权重抢占 Daily 主端点,根除跨区 IP 触发 400(User location is not supported)后导致的整号熔断与 504 误判问题。(Fixes #3827, PR #3833, Thanks to @modded-soldier-9) - 沙箱 400 容错与长冷却降级: 沙箱端点返回 400 时允许继续轮询下一个健康端点,并自动施加至少 300 秒长冷却惩罚,避免次级端点连续抖动。
- 沙箱端点隔离与防抢占排序: 在上游端点调度中引入沙箱端点探测与分区保护机制,确保
- [经典版一键切号遗漏本地降级凭据及状态双写修复] (Fixes #3829, PR #3834, Thanks to @modded-soldier-9):
- 经典版与 IDE 凭据双写平权: 修复在 Antigravity 经典版(
classic)下一键切号后重启客户端再次提示需登录认证的问题;统一经典版与 IDE 版的本地降级凭据(jetski-standalone-oauth-token)写入逻辑。(Fixes #3829, PR #3834, Thanks to @modded-soldier-9) - 本地 SQLite 状态安全双写与原子备份: 若经典版用户数据目录中存在
state.vscdb,执行原子备份并在数据库中安全注入 token 与serviceMachineId,实现状态严格双写。
- 经典版与 IDE 凭据双写平权: 修复在 Antigravity 经典版(
- [企业与 GCP Vertex AI Project ID 智能绑定与一键自动获取] (Fixes #3823):
- GCP Project ID 可视化管理与持久化: 在账号详情弹窗中新增 Project ID 设置项,支持为企业及 GCP 账号查看、手动配置或更换绑定的 Google Cloud 项目 ID,并原子更新至账号凭据存储与代理调度器。
- 一键自动请求获取 Project ID: 新增
auto_fetch_account_project_id命令与前端「自动获取」按钮,调用上游loadCodeAssist自动嗅探并关联账号真实的cloudaicompanionProject,极大简化企业账号接入流程。 - 健壮的代理池链路与超时优化: 优化 Project ID 获取逻辑,将原 3 秒过短硬编码超时放宽至 12 秒,并全面接入全局代理池(
ProxyPool),确保网络抖动与跨国出口代理环境下 100% 稳定解析。 - 等级识别精准校准: 修复企业号识别中误将内置标准客户端(
antigravity_enterprise)或历史遗留is_gcp_tos脏标记当作企业号导致普通账号被误标为ENTERPRISE的缺陷,严格按官方antigravity_gcp客户端及权威套餐返回收敛。 - 12 种主流语言多语言补齐: 为 Project ID 字段、提示说明与自动获取状态(获取中/成功/失败)补齐了中英日繁韩西葡俄土越阿缅等全量 12 种语言本地化翻译。
- [修复 Responses 协议多模态滑窗入口误杀、简要日志脱敏与 Token 估算] (PR #3830, Thanks to @mclinyeshi):
- 滑窗启用时豁免入口多图硬拦截: 修复在开启多模态滑动窗口(
enable_sliding_window = true)时,网关入口因未裁剪的历史累计图片超过 32MB 硬上限而提前返回 400 阻断的缺陷;现在开启滑窗时安全放行累积历史图片(单张 >20MB 校验仍然生效),统一交由后续管线滑动窗口执行裁剪,避免 Codex 等多模态 Agent 长对话误杀。(PR #3830, Thanks to @mclinyeshi) - 补齐 Responses 简要日志 Base64 脱敏: 在简要日志(simple)审计模式下,对
/v1/responses的input_image、内联 Data URL 以及工具输出(function_call_output)递归执行 Base64 占位脱敏([base64 image: xxx bytes]),彻底解决长程看图任务导致本地数据库膨胀与前端视图卡顿的问题。(PR #3830, Thanks to @mclinyeshi) - 补齐 Responses 协议视觉 Token 估算: 在管线 Token 估算器中补齐 Responses 格式分支,正确识别多模态图片并按视觉 Token 标准统一折算,防止多模态请求 Token 估算失真影响管线超时预算。(PR #3830, Thanks to @mclinyeshi)
- 滑窗启用时豁免入口多图硬拦截: 修复在开启多模态滑动窗口(
- [修复普通长文本对话误触发 Cowork 自动压缩与对照实验矩阵] (Fixes #3821, Ref #3826, PR #3835, PR #3836, Thanks to @cubelikeplayDaniel):
- 对齐配置自愈门禁与工具轮次放行: 移除 1M 模型一刀切硬豁免与工具中途阻断,确保包含工具返回的真实 Cowork 会话在超限时能够按配置的有效阈值(
effective_threshold)精准触发自愈压缩;修复大请求体上传预算计算中的首字节倒扣截断缺陷。(Fixes #3821, Ref #3826, PR #3835, Thanks to @cubelikeplayDaniel) - 全链路 10 次双轨对照实验矩阵: 新增
test_cowork_10_control_experiment_matrix单元测试,全面覆盖 5 次超大截断与 5 次安全放行矩阵,保障 Cowork 门禁与配置阈值契约一致性。(Fixes #3821, Ref #3826, PR #3836, Thanks to @cubelikeplayDaniel)
- 对齐配置自愈门禁与工具轮次放行: 移除 1M 模型一刀切硬豁免与工具中途阻断,确保包含工具返回的真实 Cowork 会话在超限时能够按配置的有效阈值(
What's Changed
- fix(claude): 修复普通长文本对话误触发 Cowork 自动压缩 400 假限额报错 (Ref #3821) by @cubelikeplayDaniel in #3828
- fix(proxy,responses): 修复 Responses 协议多模态滑窗入口误杀、简要日志 Base64 膨胀与 Token 估算异常 by @mclinyeshi in #3830
- Revert "fix(claude): 修复普通长文本对话误触发 Cowork 自动压缩 400 假限额报错 (Ref #3821)" by @cubelikeplayDaniel in #3831
- fix(claude): 移除1M豁免并放行工具轮次确保Cowork按配置阈值自愈压缩 (Fixes #3821, #3826) by @cubelikeplayDaniel in #3835
- test(claude): 补充Cowork自动压缩与防误杀10次双轨对照实验矩阵单测 (Fixes #3821, Ref #3826) by @cubelikeplayDaniel in #3836
- fix(proxy/upstream): 修复主端点偶发抖动沙箱降级抢占导致的端点毒化 (Fixes #3827) by @modded-soldier-9 in #3833
- fix(desktop/integration): 修复经典版切号遗漏本地降级凭据及状态双写导致重新认证 (Fixes #3829) by @modded-soldier-9 in #3834
New Contributors
- @mclinyeshi made their first contribution in #3830
Full Changelog: v5.0.3-beta.1...v5.0.3-beta.2