Skip to content

feat(overview): cache in/out tokens table, roomier tables#535

Merged
iamtoruk merged 2 commits into
mainfrom
feat/overview-cache
Jun 20, 2026
Merged

feat(overview): cache in/out tokens table, roomier tables#535
iamtoruk merged 2 commits into
mainfrom
feat/overview-cache

Conversation

@iamtoruk

Copy link
Copy Markdown
Member

Two tweaks to the codeburn overview command:

  • Cache in / cache out in a table. New Tokens breakdown table (Input / Output / Cache in / Cache out / Total, each with a share %), so cache write/read are shown clearly in a table instead of crammed into the Totals line.
  • Roomier tables. Table cell padding widened from 1 to 2 spaces so columns aren't congested.
Tokens
┌─────────────┬──────────┬─────────┐
│  Type       │  Tokens  │  Share  │
├─────────────┼──────────┼─────────┤
│  Input      │   24.7M  │     1%  │
│  Output     │   22.2M  │     1%  │
│  Cache in   │   75.7M  │     2%  │
│  Cache out  │   3.80B  │    97%  │
│  Total      │   3.92B  │   100%  │
└─────────────┴──────────┴─────────┘

Cache in = tokens written to cache; cache out = tokens read from cache. Tests pass (overview + full suite); tsc clean.

iamtoruk added 2 commits June 20, 2026 19:06
Add a Tokens breakdown table (Input / Output / Cache in / Cache out /
Total with share %) so cache write/read are shown clearly instead of
crammed into the Totals line, and widen table cell padding to 2 spaces so
columns aren't congested.
Render token counts as full thousands-grouped integers (e.g.
3,926,923,819) instead of abbreviated M/B, so the roomy tables read like
a precise statement. Update the overview test to match.
@iamtoruk iamtoruk merged commit 98befc1 into main Jun 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant