Skip to content

Add peak hours indicator #14

Closed
aa333 wants to merge 4 commits intoCodeZeno:mainfrom
aa333:main
Closed

Add peak hours indicator #14
aa333 wants to merge 4 commits intoCodeZeno:mainfrom
aa333:main

Conversation

@aa333
Copy link
Copy Markdown

@aa333 aa333 commented Apr 16, 2026

изображение
  • Fix an issue where app would hang the explorer completely until process is killed
  • Add a new peak hours indicator with customizable intervals (supposedly 5am–11am PT, but its not set in stone)
  • Indicator is disabled by default
  • --diagnose flag will now show a console with stdout logs for easier debugging

First of all, thank you for the very useful widget! I can finally see my limits at a glance.
I had to fix a deadlock issue before I could use it, though. Also, since using Claude during peak hours apparently consume a larger share of the weekly budget, I wanted to be at least aware of that period, hence this little indicator.

See, for example, https://www.reddit.com/r/ClaudeAI/comments/1s7zwrn/claudes_peakhour_session_limits_explained_what/

@CodeZeno feel free to dsicard if it's out of scope. I can also extract the deadlock fix alone, or you can do it yourself.

owovouo added a commit to owovouo/Claude-Code-Usage-Monitor that referenced this pull request Apr 17, 2026
Fix non-reentrant mutex deadlock where MoveWindow dispatches WM_PAINT
synchronously, causing wnd_proc to re-enter lock_state() on the same thread.

Credit: aa333 (PR CodeZeno#14)
CodeZeno added a commit that referenced this pull request Apr 19, 2026
fix: resolve taskbar positioning deadlock

- Thanks to @owovouo and @aa333 for surfacing and working on this in PR #13 and PR #14
@CodeZeno
Copy link
Copy Markdown
Owner

@aa333 Thanks for the contributions, I have added the fix for the hanging app.
For the peak hours indicator, I still can not see any concrete comms on how it works and whether it is global or not so at this stage I would keep it out of scope.

@CodeZeno CodeZeno closed this Apr 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.

2 participants