Repository navigation
docs(AntigravityGateway): 纠偏通道③覆盖范围——桌面 2.32.1 模型流不经 CLOUD_CODE_URL,模型级统计指引收敛至通道② - #299
Merged
Merged
Conversation
…型级统计指引收敛至通道②; 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更摘要
2026-11-16 桌面 Antigravity 2.32.1 + v0.6.2 真机验证(Issue #292)发现:
CLOUD_CODE_URL通道实际只接管控制面流量(loadCodeAssist/fetchUserInfo/fetchAvailableModels/cascadeNuxes等),模型调用流不经该 hook——Electron 主进程以硬编码常量LS_API_SERVER_URL='https://generativelanguage.googleapis.com'构造--api_server_url注入 language_server(app.asar内baseLsBaseArgs(),无 env / settings 覆写点),模型请求以/v1beta/models/{model}:generateContent直连 Google;Orca 托管agy_acp_serverruntime 二进制 0 处CLOUD_CODE_URL引用。本 PR 将文档口径对齐真机事实:docs/arch/config-reference.md§12:端点描述改为「Cloud Code v1internal 流量」,新增「覆盖范围」块(2026-11-16 实测结论 + 通道②指引)docs/guide/api-reference.md§14:补覆盖范围注意(控制面 only,unknown/ 0 token 属预期)docs/user-guide.md§4.8:方式 A / B 标注各自统计能力,模型级统计指引收敛至方式 B(GOOGLE_GEMINI_BASE_URL→/api/gemini)docs/research/antigravity-client-feasibility.md:文首新增真机修正块,§2 矩阵③行裁决更新docs/.agents/issue.md:登记 I-011(表因根因 / 处理方式 / 后续防范)动机
v0.6.2 用户报障「前端只见 Antigravity 调用次数,模型 / Token 指标全空」。三层取证(隔离实例 e2e、生产库、二进制 / asar 逆向)确认 proxy 侧 gateway / 记账 / Dashboard 渲染均无缺陷,属调研阶段引用的社区旧版逆向结论过时导致文档口径失真;模型级统计需明示走通道②。
验证
data:/ CRLF):model / tokens / session_key 全部落账,/api/dashboard/{summary,timeline,sessions}数据齐全,实机浏览器渲染 Overview 与 Sessions 正常(图例agy | antigravity、MODELS / TOKENS / CLIENT 列齐全)风险点
/api/gemini)为零代码既有能力,无需配套实现🤖 Generated with Claude Code