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