Skip to content

Add time/token progress bars to watch --view limits - #21

Merged
coldhighsun merged 1 commit into
mainfrom
feat/watch-limits-progress-bars
Sep 15, 2026
Merged

coldhighsun merged 1 commit into
mainfrom
feat/watch-limits-progress-bars

Conversation

@coldhighsun

Copy link
Copy Markdown
Owner

Summary

  • Adds Time Progress and Token Progress bars to watch --view limits, showing how far each window has elapsed and how close it is to its token budget.
  • Since Claude's own UI only ever shows a usage percentage (never the underlying token limit), the budget is derived once from a manually entered percentage (--session-token-progress/--week-token-progress, or an interactive prompt) combined with the tokens counted so far, then persisted and tracked live without asking again.
  • The r recalibration hotkey now lets you re-enter all four values (both reset times and both usage percentages) in one pass.
  • Updates the README (English + Chinese) with the new options and a screenshot, and flags the WPF project as still work-in-progress / not ready for use.

Test plan

  • dotnet build AIUsageMonitor.slnx succeeds with 0 warnings/errors
  • Manually run dotnet run --project src/AIUsageMonitor.Cli -- watch --view limits in a real terminal and verify the four prompts, the progress bars, and the r recalibration flow

Adds Time Progress and Token Progress columns to the limits view, showing
how far each window has elapsed and how close it is to its token budget.
Since Claude only ever shows a usage percentage, the token budget is
derived once from a manually entered percentage and the tokens counted so
far, then persisted and tracked live. New --session-token-progress /
--week-token-progress options (and the r-key recalibration prompt) accept
that percentage. Documents both in the README with a screenshot, and flags
the WPF project as not yet ready for use.
@coldhighsun
coldhighsun merged commit f4e556c into main Sep 15, 2026
4 checks passed
@coldhighsun
coldhighsun deleted the feat/watch-limits-progress-bars branch September 15, 2026 06:28
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