[Bug]: usage/credits indicator missing in bottom-left + /usage does nothing

Aperta
#70 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
shell
Ambito
desktop

Direzione di ricerca

Inizia tracciando il punto di ingresso del comando slash /usage e l’indicatore di utilizzo nella barra laterale in basso a sinistra dell’app desktop. Usa %APPDATA%\Command Code\app-state.json e la relativa panoramica accountCache come conferma che i dati dell’account, dei crediti, dell’abbonamento e dell’utilizzo siano disponibili. Il lavoro è completato quando /usage risponde con le metriche previste e l’indicatore di crediti/utilizzo è nuovamente visibile su Windows.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
GUI version

0.1.30

Operating system

Windows

Reproduction steps
  1. Open the Command Code desktop app (0.1.30, Windows).
  2. Look at the bottom-left corner of the sidebar -> the credits/usage indicator that used to be there is gone.
  3. 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
  1. The credits/usage indicator that used to sit in the bottom-left corner is no longer shown.
  2. 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.
Lingua principale
Shell
Stelle
80
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CommandCodeAI/desktop

Tutte le issue di CommandCodeAI/desktop

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.