[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
-
難度 2/5 1-3 小時 新手友好度 68/100
community-scripts/ProxmoxVE#17396 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
mattpocock/skills#1099 ·
-
package-update
難度 2/5 1-3 小時 新手友好度 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 88/100
-
help wanted new command
難度 2/5 1-3 小時 新手友好度 72/100
tldr-pages/tldr#24151 ·