Repository navigation
feat(collector): collect Antigravity CLI quota and usage - #62
Merged
Merged
Conversation
The thinking route has no separate rate, so normalize it to the legacy Opus 4.6 model and add its official rates. Drop the long-context surcharge claim from the pricing guide, since neither Google pricing page lists a 200K tier for Gemini 4 Argon or Gemini 3.8 Flash. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
问题
Meterleaf 只能采集 Claude Code 与 Codex 的本机记录,Antigravity CLI(agy,Google AI Ultra 订阅)的额度和用量看不到,价格表也只覆盖了其中的 Claude Opus 5.5。
结果
agy来源。~/.gemini/antigravity-cli/conversations/*.db中每次生成的 token 用量,四个计量桶互斥,思考 token 作为输出子集,缺失字段保留未知。按文件游标增量读取,重复同步不重复入账。2026-10-30.2,新增以下型号:gemini-4-argon与gemini-3.8-flash,含促销期及促销结束后的价格分段。claude-sonnet-5-5。gpt-oss-120b,按 Vertex AI Model Garden 托管价。claude-opus-4-6。agy 的claude-opus-4-6-thinking归一到该型号,思考 token 按输出计价。docs/collector.md与docs/pricing.md已同步。验证
bun run typecheck通过,bun test tests593 个全部通过。bun run build:collector构建的采集器,对本机真实缓存和 40 个会话库做了scan和两次sync,推送到隔离的本地服务:🤖 Generated with Claude Code