CommandCodeAI / CommandCodeAI/command-code
Show usage per API key
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 4k
- Forks
- 350
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
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 im Tab Usage der Command Code-Website und verfolge, wie die Gesamtnutzung geladen und dargestellt wird; verwende die referenzierte OpenCode Go-Implementierung zum Vergleich. Als erledigt gilt die Aufgabe, wenn Benutzer durch ihre ausgestellten API-Schlüssel wechseln und die Nutzung für den ausgewählten Schlüssel anzeigen können, während die Gesamtnutzung weiterhin verfügbar bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- analytics, api, frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100