Releases: beolatn/TokenUsage
Release list
1.5.0 - sub-labels, back button, log-scale bars, sticky header
What's new in v1.5.0
Context sub-labels under each section title
Every time range now shows a short label explaining exactly what it covers — "Rolling window · counts toward rate limit" under Last 5 Hour Session, the session start time under This Session, and "Calendar day · since midnight" under Today. No more guessing why the numbers differ.
← Back button in the glossary header
When the glossary is open, a Back button appears directly in the header. No need to hunt for the ? button to return to the data view.
Logarithmic minibar scale
The small bars next to each token value now use a log scale. All four token types (Input, Output, C.Write, C.Read) are visually readable even when they differ by several orders of magnitude.
Sticky header
The logo and header buttons stay pinned at the top when the panel is small or when you scroll down through the sections.
Bugfix: C.Write bar was invisible
The .au-bar-purple CSS class was missing. Cache Write bars now render correctly in purple across all sections.
New glossary entry: The three time views
Explains how Last 5 Hour Session, This Session, and Today are independent cuts through the same data and why they do not nest automatically.
GitHub artifact attestations
Release assets are now signed with GitHub's artifact attestation workflow. Build provenance is verifiable for main.js, styles.css, and manifest.json.
v1.4.1 — Logo, Help Panel, C.Write/C.Read split, Dashboard
What's new in v1.4.1
Logo header
"Token Usage" is now displayed as a styled logo — inline SVG bar chart (blue/purple) plus gradient text (blue to purple).
Help panel
A ? button in the sidebar header toggles between the data view and a built-in glossary. All 8 core concepts explained: Tokens, Input/Output, C.Write, C.Read, Reuse Factor, 5h Window, Models, Sessions. Includes an approximate cost reference table and a link to https://www.langeatn.de/docs/token-usage/
C.Write and C.Read as separate rows
Cache tokens split into two distinct rows across all sidebar sections:
- C.Write (purple) — cache creation, ~1.25x standard input price
- C.Read (amber) — cache reads, ~0.10x standard input price (10x cheaper)
Model distribution bar
Stacked percentage bar showing the model mix over the last 7 days (Haiku / Sonnet / Opus / Fable / Other).
Label updates
5h Windowis nowLast 5 Hour SessionModels (7d)is nowModels (last 7 days)
Full English throughout
All UI labels, notices, settings, report content, dashboard text, and command palette entries are in English.
Dashboard
Cache Efficiency section with 30-day line chart (C.Write purple, C.Read amber) and dynamic Reuse Factor interpretation.
Installation
Place main.js, manifest.json, and styles.css in <vault>/.obsidian/plugins/token-usage/ and restart Obsidian.
Or install via the Obsidian Community Plugin Directory.
1.0.2 - Obsidian Repo
Update due to Repo Error with Obsidian validation
1.0.1 - English UI
1.0.0 - initial release - German
Initial release — live Claude Code token usage tracking in Obsidian sidebar.