[Bug]: usage/credits indicator missing in bottom-left + /usage does nothing
还没有人认领这个 Issue。
评估
调研方向
首先跟踪桌面应用中的 /usage 斜杠命令入口点,以及左下角侧边栏中的使用情况指示器。使用 %APPDATA%\Command Code\app-state.json 及其 accountCache 概览,确认账户、额度、订阅和使用情况数据可用。完成的标准是 /usage 能够返回预期的指标,并且额度/使用情况指示器在 Windows 上重新可见。
由索引模型根据 Issue 内容生成。
描述
GUI version
0.1.30
Operating system
Windows
Reproduction steps
- Open the Command Code desktop app (0.1.30, Windows).
- Look at the bottom-left corner of the sidebar -> the credits/usage indicator that used to be there is gone.
- Type /usage in the chat input and press Enter -> nothing happens: no overlay, no output, no error message.
Reproduces 100% of the time.
Expected behavior
The bottom-left credits/usage indicator should be visible again, and /usage should display credits, plan, and usage metrics (per the slash-command reference).
Actual behavior
- The credits/usage indicator that used to sit in the bottom-left corner is no longer shown.
- Typing /usage in the chat input does nothing at all.
This is not an account, billing or login problem. %APPDATA%\Command Code\app-state.json contains a fresh, successful account fetch:
- accountCache.result.success = true
- accountCache.fetchedAt = 2026-09-17T01:15:54+08:00
- overview contains user, identity, credits, subscription, usage, windowLimits
- subscription.status = "active", subscription.planId = "individual-goat"
- credits.monthlyCredits is populated; windowLimits.fiveHour and .weekly are populated
It is not a setting I can turn back on either:
- "cmdc config list" (the full settings registry) has no key for a usage/credits display.
- %APPDATA%\Command Code\app-state.json has no related toggle (appState = threads / model / permissionMode / projects / ..., nothing usage-related).
I also confirmed 0.1.30 is the newest release of this repo (published 2026-09-16), so there is nothing to update to.
Screenshots, recordings, or sanitized logs
No response
Safety check
- I removed credentials and private project information from this report.
- 主要语言
- Shell
- 星标
- 80
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CommandCodeAI/desktop 的其他 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/desktop#94 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/desktop#66 · 1 条评论 · 2 个 reaction ·
-
bug
难度 3/5 1-2 天 新手友好度 55/100
CommandCodeAI/desktop#100 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 48/100
CommandCodeAI/desktop#99 ·
-
[Bug]: Copying a text selection in chat replaces the clipboard with the entire session transcript 未关闭bug
难度 3/5 1-2 天 新手友好度 76/100
CommandCodeAI/desktop#98 · 1 条评论 ·
查看 CommandCodeAI/desktop 的全部 Issue
相似的 Issue
-
package-update
难度 2/5 1-3 小时 新手友好度 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 条评论 ·
-
help wanted new command
难度 2/5 1-3 小时 新手友好度 72/100
tldr-pages/tldr#24151 ·
-
PacReq: Rune IDE 未关闭package request
难度 2/5 1-3 小时 新手友好度 68/100
pacstall/pacstall-programs#9402 ·
-
[BUG] ci: the first prefetch-images.sh call runs before shard.txt exists, so it is always a no-op 未关闭bug github-actions
难度 2/5 1-3 小时 新手友好度 82/100
-
update-request
难度 2/5 1-3 小时 新手友好度 72/100
msys2/MINGW-packages#31768 ·