Skip to content

chore: version packages - #10

Merged
itsmbaqer merged 1 commit into
mainfrom
changeset-release/main
Sep 24, 2026
Merged

itsmbaqer merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

agents-dont-sleep@0.3.0

Minor Changes

  • #9 6a4455f Thanks @itsmbaqer! - Usage limits in the tray. The menu now shows how much of your Claude Code and Codex limits is left, with a section for each: the 5-hour window and the weekly window, each with a reset countdown. The text beside the tray icon shows the 5-hour window left per provider, e.g. C 46% · X 100%. It follows the tray label setting and is hidden when that is set to Off. A header shows ⚠ when that provider has under 20% left or can't be read.

    The app reads the login each tool already stores, from the macOS Keychain or ~/.claude/.credentials.json for Claude Code and from ~/.codex/auth.json for Codex. It asks each provider's usage endpoint every 5 minutes using the system curl, so the app ships no new network code. Tokens are passed to curl on stdin, so they never show in the process list. A provider that isn't signed in doesn't appear. On macOS, the first read may show a Keychain prompt; choose Always Allow.

    These endpoints are not public APIs and can change without notice. When a read fails, the menu says why (sign in again, run claude to refresh an expired token, offline) instead of showing numbers. After a rate limit it keeps the last reading and waits 15 minutes before asking again.

@itsmbaqer
itsmbaqer merged commit 9780790 into main Sep 24, 2026
3 checks passed
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