mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 22:03:45 +00:00
Added /tokens slash command to TUI that displays session-wide token statistics. Key changes: - Fixed SessionManager to accumulate token usage instead of storing only last event - Added cumulative token tracking to TUI renderer alongside per-request totals - Implemented slash command infrastructure with /tokens autocomplete support - Fixed file autocompletion that was missing from Tab key handling - Clean minimal display format showing input/output/reasoning/cache/tool counts The /tokens command shows: Total usage input: 1,234 output: 567 reasoning: 89 cache read: 100 cache write: 50 tool calls: 2 |
||
|---|---|---|
| .. | ||
| 2025-08-09-14-27-17-display-tool-metrics-analysis.md | ||
| 2025-08-09-14-27-17-display-tool-metrics.md | ||
| 2025-08-09-23-33-17-missing-thinking-tokens-analysis.md | ||
| 2025-08-09-23-33-17-missing-thinking-tokens.md | ||
| 2025-08-10-14-40-44-tui-double-buffer-analysis.md | ||
| 2025-08-10-14-40-44-tui-double-buffer.md | ||
| 2025-08-11-02-00-00-agent-tui-ctrl-c-display-artifact-analysis.md | ||
| 2025-08-11-02-00-00-agent-tui-ctrl-c-display-artifact.md | ||
| 20250811-114520-agent-tui-interrupted-message-esc-analysis.md | ||
| 20250811-114520-agent-tui-interrupted-message-esc.md | ||
| 20250811-122302-tui-garbled-output-fix-analysis.md | ||
| 20250811-122302-tui-garbled-output-fix.md | ||
| 20250811-150336-token-usage-tracking-analysis.md | ||
| 20250811-150336-token-usage-tracking.md | ||