Repository navigation
v0.9.5
🚀 Coding Usage v0.9.5 更新说明 / Release Notes
🇨🇳 中文
invalid_grant不再立即终止客户端遍历:按 RFC 6749 它也可能表示「令牌由另一个候选客户端签发」,立即终止会把活登录误判成死登录;现在全部候选失败、至少一次invalid_grant且没有候选因网络未获答复才判凭据被拒,401/403 重试分支也用同一分类- 修复 Antigravity 新版安装下额度卡报「登录凭据已失效」的问题:新版(appx 式布局)不再写
~/.gemini/<flavour>/bin/agentapi.bat,以它为锚点的客户端发现扫到零个 OAuth 候选,刷新一次都没尝试就被判失败;现在直接从标准安装目录(%LOCALAPPDATA%\Programs/%PROGRAMFILES%,含_布局)读 IDE bundle,实测刷新成功、额度正常返回 - 额度卡的刷新失败文案与「凭据被拒」分开:只有 Google 明确回
invalid_grant(令牌真失效)才提示重新登录;找不到客户端或刷新服务不可达时显示「无法刷新凭据,登录本身可能仍有效」,不再误导重登录
🇬🇧 English
invalid_grantno longer stops the client walk early: per RFC 6749 it can also mean "the token was issued to another candidate client", and stopping there would sentence a live login to death; the login is declared rejected only when every candidate fails with at least oneinvalid_grantand no candidate was left unanswered by the network, and the 401/403 retry branch applies the same classification- Fix the Antigravity quota card reporting a dead login on current installs: the appx-style layout no longer writes
~/.gemini/<flavour>/bin/agentapi.bat, so launcher-anchored discovery found zero OAuth candidates and every refresh was declared failed without a single attempt; the IDE bundle is now also read straight from the standard install roots (%LOCALAPPDATA%\Programs/%PROGRAMFILES%,_layout included) — measured on this machine: refresh succeeds and the quota returns - The card now separates a probe-side refresh failure from a rejected credential: re-login is advised only when Google itself answers
invalid_grant(a truly dead token); a missing client or unreachable refresh service reads as "could not refresh, the sign-in itself may still be valid" instead of misleading re-login advice
安装包见下方 Release 附件:Windows(NSIS 安装版 / 便携版)、macOS(dmg / zip,未签名,首次打开请右键 App →「打开」)、Linux(AppImage,chmod +x 后运行)。
Installers are attached below: Windows (NSIS installer / portable), macOS (dmg / zip, unsigned — right-click the App → Open on first launch) and Linux (AppImage, chmod +x then run).