CommandCodeAI / CommandCodeAI/desktop
[Bug]: usage/credits indicator missing in bottom-left + /usage does nothing
まだ誰も着手していません。
- 主要言語
- Shell
- スター
- 80
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、デスクトップアプリのスラッシュコマンド /usage のエントリポイントと、左下のサイドバーにある使用状況インジケーターを追跡します。%APPDATA%\Command Code\app-state.json と、その accountCache の概要を使用して、アカウント、クレジット、サブスクリプション、使用状況のデータが利用可能であることを確認します。/usage が期待されるメトリクスを返し、クレジット/使用状況インジケーターが Windows で再び表示されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- desktop
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 58/100