/usage help text does not explain mixed metric scopes
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 72/100
- Issue 類型
- 文件
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- shell
- 領域
- cli, documentation
研究方向
找到 /usage 說明文字和 issue 中參照的文件,然後檢查命令輸出如何標示其各個區段。更新措辭,明確指出本機活動、目前工作階段指標和方案期間配額的範圍;確認說明文字和轉譯後的輸出不再將所有指標描述為工作階段使用量。
由索引模型根據 Issue 內容生成。
描述
Describe the bug
The /usage command help text says:
Display session usage metrics and statistics
However, the command output combines metrics with three different scopes:
Activity · last 180 days · N messagesis aggregated from local history across multiple saved CLI sessions.Changes,AI Credits,Tokens, and the per-model breakdown describe the current session.Plandescribes account/plan usage for the current quota period.
Calling all of this "session usage" is misleading. In a new session with only one user prompt, /usage can report hundreds of messages and show a six-month activity graph, making it appear that either the session boundary or message count is incorrect.
Affected version
GitHub Copilot CLI 1.0.81-11
Steps to reproduce the behavior
- Use Copilot CLI across multiple sessions.
- Start a new session and send one prompt.
- Run
/usage. - Observe that the help describes session metrics, while the output includes a 180-day, multi-session message count and chart plus plan-period quota usage.
Representative output:
Activity · last 180 days · 861 messages
...
Changes +0 -0
AI Credits 2.72 (22h 1m 8s)
Tokens ↑ 23.3k (11.8k cached) • ↓ 179
gpt-5.6-sol ↑ 23.3k (11.8k cached) • ↓ 179
Plan ... 0% used • resets in 27 days
200 / 200,000 AIC
Expected behavior
The help text and documentation should make the scopes explicit. For example:
Display local activity history, current-session usage metrics, and plan quota usage
Ideally, the rendered output would also label each section's scope (for example, Local activity, Current session, and Plan period) so users do not have to infer it.
Additional context
- Operating system: Windows
- CPU architecture: x86_64
- Shell: PowerShell
- The current documentation describes
/usageas showing "session statistics," including current-session AI Credits, duration, code edits, and token usage. It does not explain that the command also includes local multi-session activity and account/plan-period quota information.
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
github/copilot-cli 的其他 Issue
-
triage
難度 2/5 1-3 小時 新手友好度 72/100
github/copilot-cli#4848 ·
-
area:agents area:mcp
難度 2/5 1-3 小時 新手友好度 72/100
github/copilot-cli#4729 ·
-
triage
難度 2/5 1-3 小時 新手友好度 75/100
github/copilot-cli#4638 ·
-
Expose large_output_file_path on TaskShellProgress so clients can read complete shell-task output 未關閉area:tools
難度 2/5 1-3 小時 新手友好度 78/100
github/copilot-cli#4630 · 1 則留言 ·
-
Clarify startup message "No copilot-instructions.md found" to specify it means the repo-scoped file 未關閉area:context-memory
難度 1/5 1-3 小時 新手友好度 72/100
github/copilot-cli#4475 ·
查看 github/copilot-cli 的全部 Issue
相似的 Issue
-
package-update
難度 2/5 1-3 小時 新手友好度 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 則留言 ·
-
help wanted new command
難度 2/5 1-3 小時 新手友好度 72/100
tldr-pages/tldr#24151 ·
-
PacReq: Rune IDE 未關閉package request
難度 2/5 1-3 小時 新手友好度 68/100
pacstall/pacstall-programs#9402 ·
-
[BUG] ci: the first prefetch-images.sh call runs before shard.txt exists, so it is always a no-op 未關閉bug github-actions
難度 2/5 1-3 小時 新手友好度 82/100
-
update-request
難度 2/5 1-3 小時 新手友好度 72/100
msys2/MINGW-packages#31768 ·