CommandCodeAI / CommandCodeAI/command-code
Show usage per API key
還沒有人認領這個 Issue。
- 主要語言
- 沒有語言資料
- 星號
- 4k
- 分支
- 350
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Summary
Allow users to see the usage of individual API keys in addition to the overall usage. This allows users to see which apps, services, agents are using or bleeding tokens.
Expected Behavior
When clicking the Usage tab on the Command Code website, there should be an option to cycle through a list of currently issued API keys, and display the usage for those keys only. OpenCode Go has a good implementation of this feature.
Actual Behavior
Only overall usage is displayed. This means someone who issued multiple API keys can not see which keys are using the most tokens. I can see I used 6 Kimi K2.7 calls yes, but from which of my agents??
Steps to reproduce the issue
Sign into Command Code
Click on Usage
Command Code Version
1.26.0
Operating System
Other
Terminal/IDE
ghostty
Shell
bash
Session file (optional)
No response
Fix prompt (optional)
No response
Additional context
This is a feature on the website, user dashboard. Not in the harness.
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 Command Code 網站的 Usage 分頁開始,追蹤整體用量如何載入及呈現;使用所參照的 OpenCode Go 實作進行比較。完成的標準是,使用者可以在其已簽發的 API 金鑰之間切換,並查看所選金鑰的用量,同時整體用量仍然可用。
由索引模型根據 Issue 內容生成。
評估
- 領域
- analytics, api, frontend
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 活躍
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100