CommandCodeAI / CommandCodeAI/command-code
/usage should work while command code is actively working
還沒有人認領這個 Issue。
- 主要語言
- 沒有語言資料
- 星號
- 4k
- 分支
- 350
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 /usage 命令的進入點開始,追蹤作用中工作執行期間使用量的記錄方式。使用長時間執行的工作重現問題,然後驗證 /usage 會回報截至最後一個已完成請求的使用量,而不必等待工作完成。
由索引模型根據 Issue 內容生成。
評估
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100