Skip to content

feat(macos): Cursor usage indicator + Cursor/Claude switcher - #2

Open
fenix1851 wants to merge 1 commit into
lapurryt:mainfrom
fenix1851:feat/macos-cursor-menubar
Open

feat(macos): Cursor usage indicator + Cursor/Claude switcher#2
fenix1851 wants to merge 1 commit into
lapurryt:mainfrom
fenix1851:feat/macos-cursor-menubar

Conversation

@fenix1851

Copy link
Copy Markdown

Summary

  • Add a macOS rumps indicator for Cursor plan usage (totalPercentUsed / Auto / API / on-demand) using the local session token from state.vscdb.
  • Add a unified menu bar (macos/menubar.py) with a drop-down radio switcher between Cursor and Claude Code; last source is remembered under ~/.config/limitschecker/source.
  • Document env vars and the Cursor pool semantics (avoid treating includedSpend/limit as the main bar).

Test plan

  • python3 -m venv .venv && .venv/bin/pip install rumps
  • .venv/bin/python macos/menubar.py with Cursor signed in — panel shows Cursor · Total … · Auto … · API …
  • Switch to Claude Code in the menu — panel prefix becomes Claude · … (needs Claude Code logged in / Keychain token)
  • Quit and relaunch — last selected source is restored
  • Optional: .venv/bin/python macos/cursor_limitschecker.py still works standalone

Read Cursor plan pools from the local session DB and expose a unified
rumps menu bar that toggles between Cursor and Claude Code.
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