Skip to content

v1.114.0

Choose a tag to compare

@Fighter90 Fighter90 released this 06 Jul 07:20
8969651

[1.114.0] — 2026-07-06

AI usage & cost meter in the sidebar (bottom-left). A compact USAGE section now sits at the bottom of the sidebar (a fixed bottom-left card if there's no sidebar; bottom-right in RTL) on every page. It shows your LLM token usage across 24h / 7d / 30d windows — each as <tokens> · <share%> with a green meter bar (share of all-time) — plus an estimated 24h-cost footer. Data is the read-only GET /api/usage rollup of data/llm-usage.jsonl (local only), the same source as the #/usage page; cost is an estimate and manual-mode runs are free and uncounted. Collapsible — the header toggles and the state persists.

  • New client widget public/js/lib/usage-hud.js (window.UsageHud) loaded from index.html, mounted into the sidebar above the version footer (fixed-corner fallback). CSP-safe (no inline handlers, static-constant gauge SVG); theme-aware + RTL-mirrored; hidden as a fixed overlay on mobile. No new server route — reuses the read-only usage rollup. Tests: tests/usage-hud.test.mjs (8). 3 new i18n keys ×16 (hud.title/hud.empty/hud.estimate).

New: none.