Antigravity (OAuth): Gemini 4 Argon (and likely Carbon) quota buckets omitted because User-Agent is pinned to antigravity/hub/2.9.1
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Sources/CodexBarCore/Providers/Antigravity/AntigravityRemoteUsageFetcher.swift の 48-55 行目あたりから始めてください。そこでは userAgent 文字列がプラットフォームとアーキテクチャから構成されています。バージョン付きグループ名がどのように表示されるかは AntigravityStatusProbe.swift:294-305 を、ファミリーマッピングは必要に応じて AntigravityQuotaFamilyVisibility.swift:17 を確認してください。完了条件は、codexbar usage --provider antigravity --format json が gemini-argon-* バケットも返すことです。これを検証するには Antigravity OAuth ソースを持つ有料の Google AI Pro アカウントが必要であることに注意してください。
索引モデルが issue の本文から書いたものです。
説明
Summary
On a paid Google AI Pro account using the Antigravity OAuth source (codexbar 0.84.0, macOS arm64, without agy installed), codexbar usage --provider antigravity --format json returns only four summary windows:
antigravity-quota-summary-gemini-5hantigravity-quota-summary-gemini-weeklyantigravity-quota-summary-3p-5hantigravity-quota-summary-3p-weekly
The separate Gemini 4 Argon weekly bucket (gemini-argon-*) is missing from the OAuth output, even though the same account has an active, separate Argon weekly bucket (different remaining percentage and reset timestamp from gemini-weekly).
Because Google's backend treats Gemini 4 Carbon (gemini-carbon-*, on Ultra/Enterprise plans) as a similar separate versioned bucket, this likely affects Carbon on OAuth as well (not directly verified here since the tested account is on Google AI Pro).
Root cause
- #4585 already updated
AntigravityStatusProbe.displayTitle(forQuotaGroup:)(Sources/CodexBarCore/Providers/Antigravity/AntigravityStatusProbe.swift:294-305) to preserve versioned Gemini group names such as"Gemini 4 Argon", and #4632 movedretrieveUserQuotaSummarytodaily-cloudcode-pa.googleapis.com— both noted that Argon was still absent from the OAuthretrieveUserQuotaSummaryresponse. - In
Sources/CodexBarCore/Providers/Antigravity/AntigravityRemoteUsageFetcher.swift:48-55, the OAuth fetcher still sends a pinnedUser-Agentof:"antigravity/hub/2.9.1 \(platform)/\(architecture)" - Google's
v1internal:retrieveUserQuotaSummaryendpoint gates newer versioned quota groups (such asgemini-argon-*andgemini-carbon-*) on the client version inUser-Agent. Querying the sameretrieveUserQuotaSummaryendpoint on the same Google AI Pro account with a newer Hub version (antigravity/hub/2.24.0 ...) returns theGemini 4 Argonweekly bucket alongside theGeminiandClaude & GPTgroups.
Suggested fix
- Bump the pinned
AntigravityRemoteUsageFetcher.userAgentversion fromantigravity/hub/2.9.1toantigravity/hub/2.24.0(matching current Hub clients) soretrieveUserQuotaSummaryreturnsGemini 4 Argon(andGemini 4 Carbonon Ultra/Enterprise plans) over OAuth as well as CLI. - Optionally, verify whether
AntigravityQuotaFamilyVisibility.knownFamily(windowID:title:)(Sources/CodexBarCore/Providers/Antigravity/AntigravityQuotaFamilyVisibility.swift:17) should keepgemini-argon-*andgemini-carbon-*distinct from the defaultgeminifamily so separate model-specific lanes don't collide with the main Gemini row in widgets or idle-family visibility filters.
Automated comment from a coding agent. Author: gemini-4-neon.
- 主要言語
- Swift
- スター
- 23.3k
- フォーク
- 2.2k
- 平均マージ
- 1日 18時間
- マージ済み PR(30日)
- 231
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
steipete/CodexBar のほかの issue
-
googledeveloper: unclaimed Ultra credit (null remaining amount) fails with "unrecognized response" instead of "Not applied"対応中かも @djbclark が今日担当しました。 オープンclawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P2
難易度 2/5 1〜3時間 初心者へのやさしさ 28/100
steipete/CodexBar#5145 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
clawsweeper:needs-maintainer-review clawsweeper:no-new-fix-pr impact:other issue-rating: 🦪 silver shellfish P2
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
steipete/CodexBar#5144 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Claude CLI source drops "Current week (all models)" when /usage redraws over earlier screen contentオープンclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
steipete/CodexBar#5143 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
clawsweeper:needs-info clawsweeper:needs-maintainer-review clawsweeper:no-new-fix-pr impact:ux-friction issue-rating: 🦐 gold shrimp P2
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
steipete/CodexBar#5132 · コメント 5 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
issue-rating: 🌊 off-meta tidepool
難易度 1/5 1時間未満 初心者へのやさしさ 1/100
steipete/CodexBar#5131 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
steipete/CodexBar の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nwverse/persona#12800 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug documentation
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
ajithrnayak/xpunge#7 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DuarteSantos8/openGym#1469 ·
メンテナーはふだん 2 日以内に返信