CommandCodeAI / CommandCodeAI/command-code
Display real-time session and context metrics to improve user awareness, cost control.
未關閉
還沒有人認領這個 Issue。
- 主要語言
- 沒有語言資料
- 星號
- 4k
- 分支
- 350
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Feature Description
The TUI should display the following information in a visible and accessible section (e.g., below the chat box or at the top):
Context Usage
- Current context usage vs total available context (e.g., 12K / 32K tokens)
Token Metrics
- Total input tokens
- Total output tokens
- Cached tokens (if applicable)
Cost Tracking
- Total cost incurred during the session (in $)
Time metrics
- Total time elapsed for each step/message in a conversation
- Time elapsed since the session started or last reset
Use Case
- Helps users monitor context limits
- Improves cost transparency and control
- Enables users to decide when to start a fresh session instead of continuing with an overloaded one
Additional Context
No response
How important is this to you?
None
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 TUI 的聊天和工作階段顯示開始,然後追蹤現有的逐則訊息回應資料,以取得內容、權杖、成本和時間值。定義應如何顯示工作階段總計和每個步驟的耗時,並驗證顯示內容會在對話過程中更新,且在新的工作階段開始時重設。
由索引模型根據 Issue 內容生成。
評估
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 50/100