CommandCodeAI / CommandCodeAI/desktop

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

Ouverte
#70 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

bug
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
  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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. 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

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.