CommandCodeAI / CommandCodeAI/command-code
Display real-time session and context metrics to improve user awareness, cost control.
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 4k
- Forks
- 350
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit der Chat- und Sitzungsanzeige der TUI und verfolge dann die vorhandenen Antwortdaten pro Nachricht für Kontext-, Token-, Kosten- und Zeitwerte. Lege fest, wie Sitzungsgesamtwerte und Zeiten pro Schritt angezeigt werden sollen, und überprüfe, dass die Anzeige während eines Gesprächs aktualisiert wird und mit einer neuen Sitzung zurückgesetzt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 50/100