CommandCodeAI / CommandCodeAI/desktop

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

Abierto
#70 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

bug
Lenguaje dominante
Shell
Estrellas
80
Forks
2
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Empieza rastreando el punto de entrada del comando slash /usage y el indicador de uso de la barra lateral inferior izquierda de la aplicación de escritorio. Usa %APPDATA%\Command Code\app-state.json y su resumen accountCache como confirmación de que los datos de cuenta, créditos, suscripción y uso están disponibles. Se considera terminado cuando /usage responde con las métricas esperadas y el indicador de créditos/uso vuelve a estar visible en Windows.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
shell
Área
desktop
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Activo
Claridad
Bastante claro
Aptitud para principiantes
58/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.