feat(usage): include ZCode activity - #7877
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
There was a problem hiding this comment.
One finding on the web usage provider presentation: the new ZCode mark does not carry its declared brand tone, unlike the two existing provider marks.
Posted via Macroscope — UI Consistency
e4cda62 to
739df49
Compare
|
All code-side checks are green on latest HEAD |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 739df49a2c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 739df49. Configure here.
ApprovabilityVerdict: Skipped Macroscope did not run approvability analysis for this PR. Macroscope could not determine whether this PR modifies its approvability configuration, so the PR was not approved automatically. A PR that may change the rules that govern approval is never approved automatically. |
a6eb97a to
1da2c7e
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ee01b7bd6c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
One consistency issue found in the web usage UI: the time-breakdown table's empty-state cell still assumes two providers.
Posted via Macroscope — UI Consistency
|
UI consistency finding (could not be anchored inline because the file is unchanged in this PR):
The header row of that table renders {breakdownPeriods.length === 0 ? (
<tr>
- <td colSpan={5} className="py-6 text-center text-muted-foreground">
+ <td
+ colSpan={PROVIDER_ORDER.length + 3}
+ className="py-6 text-center text-muted-foreground"
+ >
No activity in this window.
</td>Posted via Macroscope — UI Consistency |
|
Fixed the outstanding time-breakdown empty-state |
68e59d0 to
5f72a30
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5f72a3038c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Problem
T3 Code's Usage page only scans Codex and Claude Code history, so usage recorded by ZCode is missing from provider totals, charts, and model breakdowns.
What changed
~/.zcode/cli/db/db.sqlitemodel_usagerows read-onlyVerification
git diff --checkpassedThe before/after screenshots are intentionally omitted because the available captures contain private local usage totals.
Built with Codex (GPT-5).
Merge order
This PR and #7904 independently target the current v4 usage contract and therefore both introduce v5. Whichever merges second must be rebased and advance the combined contract version before it is ready to merge.