Skip to content

Add burn rate formatting, per-row tooltips, and background-service docs - #10

Open
norris-shelton wants to merge 3 commits into
sivchari:mainfrom
norris-shelton:feature/burn-rate-tooltips
Open

Add burn rate formatting, per-row tooltips, and background-service docs#10
norris-shelton wants to merge 3 commits into
sivchari:mainfrom
norris-shelton:feature/burn-rate-tooltips

Conversation

@norris-shelton

@norris-shelton norris-shelton commented Jun 19, 2026

Copy link
Copy Markdown

This PR improves the readability of the status bar menu and fixes a stale tooltip issue.

  • Burn rate values are now abbreviated for readability — a raw figure like 201165 token/min displays as 201.2k tokens/min, matching the existing token-count formatting style.
  • Each detail row now shows a contextual tooltip on hover instead of the leftover Loading... placeholder text. Tooltips surface extra detail already present in the ccusage data that wasn't being displayed: the token breakdown (input / output / cache write / cache read) behind the total, cost-per-hour alongside cost and burn rate, the session's models and time span, and projection details.
  • Also removes the --live flag from the ccusage invocation, which was causing the command to hang/stream rather than return a single snapshot.
  • No new dependencies; all tooltip data comes from fields already returned by the existing ccusage blocks --json --active call.

-Also includes the documentation changes originally in #9: background-service setup instructions (macOS Launch Agent + Linux systemd), a CLAUDE.md for AI-assisted development, and a .gitignore update for JetBrains IDEs. (#9 closed in favor of this combined PR.)

norris-shelton and others added 3 commits February 26, 2026 12:11
Add documentation for running ccowl as a background service using macOS
Launch Agent and Linux systemd. Also add CLAUDE.md for AI-assisted
development and update .gitignore for JetBrains IDEs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ccusage 20.0.5 removed the --live option, causing "Unknown blocks
option '--live'" and a Failed to Fetch Data state. The app polls every
5s anyway, so --live was redundant.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Abbreviate burn rate (e.g. 201.2k tokens/min) via formatBurnRate
- Show contextual tooltip per menu row (token breakdown, cost/hour,
  models, projection) instead of stale Loading placeholders
@norris-shelton norris-shelton changed the title Feature/burn rate tooltips Add burn rate formatting, per-row tooltips, and background-service docs Jun 19, 2026
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