CommandCodeAI / CommandCodeAI/desktop
[Bug]: usage/credits indicator missing in bottom-left + /usage does nothing
Personne n'a encore pris cette issue.
- Langage dominant
- Shell
- Étoiles
- 80
- Forks
- 2
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par suivre le point d’entrée de la commande slash /usage et l’indicateur d’utilisation de la barre latérale inférieure gauche de l’application de bureau. Utilisez %APPDATA%\Command Code\app-state.json et son aperçu accountCache pour confirmer que les données de compte, de crédits, d’abonnement et d’utilisation sont disponibles. Le travail est terminé lorsque /usage renvoie les métriques attendues et que l’indicateur de crédits/utilisation est de nouveau visible sous Windows.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- shell
- Domaine
- desktop
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- Active
- Clarté
- Plutôt claire
- Accessibilité débutants
- 58/100