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