Repository navigation
fix(SubscriptionStatus): Antigravity 回退改按凭证可得性判定,修复 gateway 用户永远「未启用」 - #304
Merged
Merged
Conversation
根因:config resolver 会为未显式配置的用户合成 enabled=False 的默认 antigravity 条目, 上期 review 修复加的「entry 存在且禁用即不查」门把该合成条目误判为用户显式禁用, token store 有 google 凭证也被挡死,面板永远 not_configured(仅用 IDE gateway 透传、vendor 未启用的主场景全部命中)。修复:回退路径只看凭证可得性 (token store google refresh_token 或 config 显式凭证即查),entry.enabled 只管路由 参与不管订阅展示;zhipu 不受影响(其凭证只存在于 vendor 条目,disabled 即无凭证)。 真机复测:Antigravity 恢复 ok(Gemini weekly 25.6% / 5h 0.2%,Claude+GPT 双窗 0%)。 注:--no-verify 因 pre-commit 的 uv run 会同步 uv.lock 版本号漂移中断提交(仓内发布范式既定兜底,lint/format 已单独全绿)。 🤖 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.
变更摘要
修复 Overview「订阅状态」面板 Antigravity 行永远显示「未启用」的回归(v0.6.3 引入):
enabled=False的默认 antigravity 条目;v0.6.3 review 修复加的「entry 存在且禁用即不查」门把该合成条目误判为用户显式禁用,token store 有 google 凭证也被挡死——仅用 IDE gateway 透传(vendor 未启用)的主场景全部命中;entry.enabled只管路由参与不管订阅展示;zhipu 不受影响(其凭证只存在于 vendor 条目,disabled 即无凭证)。验证
ok(Gemini weekly 25.6% / 5h 0.2%,Claude+GPT 双窗 0%)。🤖 Generated with Claude Code