Track every released ccusage agent - #156
Merged
Merged
Conversation
Raise the bundled collector floor to 20.0.20, verify all released source IDs and native Gemini/Qwen/Grok accounting, and document source support. Use generic join/share copy instead of inferring an agent from its model. Co-authored-by: Codex <codex@openai.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reachedNext included review available in 38 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (27)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-authored-by: Codex <codex@openai.com>
This was referenced Sep 5, 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.
Straude already uses ccusage's unified collector, so the custom Gemini and Qwen readers proposed in #77 and #22 are redundant. However, the lockfile still uses ccusage 20.0.16, which lacks Grok Build CLI. Public guidance describes two collectors, and join/share pages incorrectly infer Claude Code or Codex from model names.
Success means every source in the released collector can pass through sync and submission, source-only installations work, token and cost totals stay intact, and shared profiles do not assign an agent from a model name.
This change raises the dependency and runtime floor to ccusage 20.0.20, keeps dynamic source IDs and the existing unified pipeline, and prepares Straude 0.1.31. It documents all 16 released sources and uses “AI coding” on join/share surfaces. Keeping one collector avoids duplicate parsing, pricing, and deduplication paths. Generic share wording avoids adding queries for an agent-spend breakdown the existing model data cannot establish.
Validation completed locally:
Native fixture tests use ccusage's official Node launcher so they include its executable-permission repair. An isolated copy reproduced EACCES at mode 0644 and succeeded through the launcher at mode 0755. This also passed the full CLI suite, CLI typecheck, and a second clean review.
Full GitHub CI passed on
d7de1a1: typecheck, build, web/CLI tests, real Supabase integration, and browser E2E. Vercel preview deployment also passed.Limits: ccusage 20.0.20 is the current npm release and includes 16 agents. Antigravity and ZCode exist only on upstream main; Mistral Vibe remains unsupported. The roadmap keeps these gaps explicit. Synthetic fixtures do not validate every upstream parser against live agent sessions or provider invoices. npm publication is pending renewed authentication; the current login returns E401.
Thanks to @nihalnihalani and @jqueguiner for suggesting broader agent support in #77 and #22. Those PRs can be closed as superseded after this lands, with Mistral's limit stated clearly.
Implementation and verification assisted by Codex.