CommandCodeAI / CommandCodeAI/command-code
/usage should work while command code is actively working
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- Sem dados de linguagem
- Estrelas
- 4k
- Forks
- 350
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Summary
/usage cannot be checked while command code is actively running a task. This makes it hard to monitor usage during long-running tasks, which is when usage information is most useful.
Expected Behavior
i should be able to run /usage while command code is working and see the usage that has already been recorded.
the currently in-flight request does not need to be included. it could simply show usage through the last completed request.
Actual Behavior
while command code is actively working, i cannot use /usage to check my current usage. i have to wait until the task/turn finishes before i can see it.
for long-running tasks this means i cannot tell how much of my usage limit has already been consumed while deciding whether to let the task continue or interrupt it.
Steps to reproduce the issue
- start command code
- give it a task that takes a while to complete
- while command code is still actively working, try to run /usage
- /usage does not immediately show the current recorded usage
- wait for the active task to finish
- /usage can then be checked normally
Command Code Version
1.26.0
Operating System
macOS
Terminal/IDE
ghostty
Shell
zsh
Session file (optional)
No response
Fix prompt (optional)
No response
Additional context
OS: macOS Tahoe 26.6.1
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Comece no ponto de entrada do comando /usage e acompanhe como o uso é registrado enquanto uma tarefa ativa está em execução. Reproduza o problema com uma tarefa de longa duração e, em seguida, verifique se /usage relata o uso até a última solicitação concluída sem esperar a tarefa terminar.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Domínio
- cli
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Pouca atividade
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 52/100