Skip to content

Commit 1629b91

Browse files
committed
docs: add 403 / VALIDATION_REQUIRED fix to v4.5.9 and collapse older changelogs
1 parent 00bb79d commit 1629b91

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,13 +448,18 @@ response = client.chat.completions.create(
448448
- **提前平滑刷新 (5分钟缓冲)**: 将 Token 主动刷新时机由临界 90 秒扩充至 300 秒(提前 5 分钟),有效防范网络高延迟击穿与临界过期掉登录态。
449449
- **原地退避确认 (Backoff Retry)**: OAuth 刷新层首次收到 `invalid_grant` 或中间层临时错误时自动执行 500ms 短暂退避并进行二次确认,杜绝代理节点抖动导致的误判。
450450
- **连续失败门禁机制**: 引入连续失败计数器,仅在连续 2 次以上独立确认为 `invalid_grant` 时才执行账号停用,成功时自动重置计数,彻底解决偶发网络抖动导致账号误停用的问题。
451+
- **[核心修复] 修复 403 / VALIDATION_REQUIRED 识别时序与死代码,支持动态提取验证链接 (403 Validation Block & URL Parsing Fix)**:
452+
- **执行时序重构**: 修复代理处理链中因重试策略提早 continue 导致 403 阻断处理逻辑被短路的缺陷,在遇到 403 阻断的瞬间即刻触发 `VALIDATION_REQUIRED` 判定与账号池剔除保护。
453+
- **链接自动提取与 UI 状态同步**: 深度解析 Google RPC 响应中的 `validation_url` / `appeal_url` 验证链接并持久化至本地索引,实时触发前端事件刷新,为故障账号打上 403 标签并提供快捷验证跳转入口。
454+
- **状态码精准回退**: 修正代理池账号全部轮换尝试完毕后一律写死 429 的问题,当上游为 403 / 401 权限问题时精准回传真实 HTTP 状态码。
455+
<details>
456+
<summary>显示历史版本演进 (v4.5.8 及更早)</summary>
457+
451458
* **v4.5.8 (2026-08-22)**:
452459
- **[核心修复] 归一化 Claude Agent SDK / CC GUI 身份标识 (Claude Agent SDK Identity Normalization)**:
453460
- **身份声明精准归一**: 自动将 Claude Agent SDK 客户端(如 CC GUI 等)注入的独立身份声明 (`"You are a Claude agent, built on Anthropic's Claude Agent SDK."`) 精确归一化为 Claude Code CLI 官方身份 (`"You are Claude Code, Anthropic's official CLI for Claude."`)。
454461
- **修复 503 拒答异常**: 彻底解决因上游服务对 Agent SDK 身份分类差异导致的 `RESOURCE_EXHAUSTED` / 503 异常中断,同时严格保留用户自定义 Prompt 内容不受影响。
455462
- *相关 PR*: 详见 [PR #3316](https://github.com/lbjlaq/Antigravity-Manager/pull/3316)
456-
<details>
457-
<summary>显示历史版本演进 (v4.5.7 及更早)</summary>
458463

459464
* **v4.5.7 (2026-08-20)**:
460465
- **[核心功能] 账号列表支持 5小时 / 7天周配额全局视图无缝切换 (5H/Weekly Quota Switcher)**:

README_EN.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,13 +437,18 @@ In clients that support OpenAI protocol (e.g., Cherry Studio), you can configure
437437
- **Proactive Buffer Window (5-Minute Buffer)**: Extended proactive token refresh window from 90s to 300s (5 minutes before expiry), effectively preventing high-latency network drops and critical token expiration.
438438
- **In-Place Backoff Confirmation (Backoff Retry)**: Added 500ms backoff retry on initial `invalid_grant` or transient proxy errors during OAuth refresh to avoid false positives caused by proxy node jitters.
439439
- **Consecutive Failure Threshold**: Introduced consecutive failure tracking that only disables an account after 2+ confirmed `invalid_grant` errors across cycles, resetting on success to eliminate accidental account deactivations.
440+
- **[Core Fix] 403 / VALIDATION_REQUIRED Processing Order & URL Extraction (403 Validation Block & URL Parsing Fix)**:
441+
- **Execution Timing Refactoring**: Fixed an issue where the 403 validation blocking logic was bypassed by early `continue` in retry backoff loops, ensuring `VALIDATION_REQUIRED` detection and account exclusion occur immediately upon receiving 403.
442+
- **Automatic URL Extraction & UI Sync**: Deeply parses `validation_url` / `appeal_url` links from Google RPC responses, persists them to local index, and emits real-time refresh events to display the 403 badge and quick validation button on affected accounts.
443+
- **Accurate Status Code Propagation**: Fixed the fallback status code which previously hardcoded `429` when all accounts were exhausted, correctly propagating `403 FORBIDDEN` and `401 UNAUTHORIZED`.
444+
<details>
445+
<summary>Show older changelog (v4.5.8 and earlier)</summary>
446+
440447
* **v4.5.8 (2026-08-22)**:
441448
- **[Core Fix] Normalize Claude Agent SDK / CC GUI Identity (Claude Agent SDK Identity Normalization)**:
442449
- **Identity Declaration Normalization**: Automatically normalizes standalone identity declarations injected by Claude Agent SDK clients (e.g., CC GUI) (`"You are a Claude agent, built on Anthropic's Claude Agent SDK."`) to the official Claude Code CLI identity (`"You are Claude Code, Anthropic's official CLI for Claude."`).
443450
- **Resolve 503 Rejection Errors**: Eliminates `RESOURCE_EXHAUSTED` / 503 errors caused by upstream Antigravity classifying Agent SDK identity differently from Claude Code CLI, while strictly keeping user-authored prompt contents intact.
444451
- *Related PR*: See [PR #3316](https://github.com/lbjlaq/Antigravity-Manager/pull/3316).
445-
<details>
446-
<summary>Show older changelog (v4.5.7 and earlier)</summary>
447452

448453
* **v4.5.7 (2026-08-20)**:
449454
- **[Core Feature] 5H / Weekly Quota View Switcher for Accounts (5H/Weekly Quota Switcher)**:

0 commit comments

Comments
 (0)