feat(cli): show credits and Kilo Pass in sidebar footer#11729
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 822ca1748a
ℹ️ 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".
822ca17 to
5013930
Compare
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (5 files)
Previous Review Summaries (6 snapshots, latest commit 0b808fc)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 0b808fc)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Fix these issues in Kilo Cloud Files Reviewed (5 files)
Previous review (commit feb0844)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Fix these issues in Kilo Cloud Files Reviewed (5 files)
Previous review (commit cc73bec)Status: No Issues Found | Recommendation: Merge Files Reviewed (5 files)
Previous review (commit 2c36953)Status: 1 Issue Found | Recommendation: Address before merge Overview
Fix these issues in Kilo Cloud Issue Details (click to expand)WARNING
Files Reviewed (5 files)
Previous review (commit 1bae269)Status: 1 Issue Found | Recommendation: Address before merge Overview
Fix these issues in Kilo Cloud Issue Details (click to expand)WARNING
Files Reviewed (5 files)
Previous reviewStatus: 2 Issues Found | Recommendation: Address before merge Overview
Fix these issues in Kilo Cloud Issue Details (click to expand)WARNING
Files Reviewed (5 files)
Reviewed by gpt-5.4-20260305 · Input: 51.9K · Output: 5.8K · Cached: 213.5K Review guidance: REVIEW.md from base branch |
309c40c to
1bae269
Compare
1bae269 to
2c36953
Compare
2c36953 to
cc73bec
Compare
|
How often does this refresh? We used to have this in the old extension, but removed it because we felt it was hammering the backend too much. |
|
Currently every minute, but we can increase the interval |
|
I will remove the timer and update based on events only like session turn end, /teams change, and load. |
cc73bec to
feb0844
Compare
feb0844 to
0b808fc
Compare
0b808fc to
6058164
Compare
Context
Show the user's remaining Kilo credits and Kilo Pass usage in the CLI sidebar footer so balance state is visible in the TUI without opening another surface.
Implementation
Adds a Kilo balance refresh helper and wires the sidebar footer to render account credit balance plus Kilo Pass period usage and reset date when profile data includes those fields.
Screenshots / Video
Balance.CLI.mov
How to Test
Manual/local verification
bun test ./test/kilocode/sidebar-footer.test.tsfrompackages/opencode/passed: 3 tests, 0 failures.bun turbo typecheckpassed.Reviewer test steps
Checklist