Repository navigation
Peras 0.4.0
Peras v0.4.0
Peras 0.4.0 adds a macOS menu bar app for watching Claude Code and Codex usage and controlling pauses. The CLI, hooks and SwiftBar menu remain free and MIT-licensed.
What's new
- The Peras app: usage and reset times for each agent, pause controls, weekly pacing, a keyboard shortcut, a pinned panel, setup checks and a weekly recap with a private-by-default share image. SwiftBar is optional.
- The signed app costs €4.99, with app updates included in the purchase, at peras.vertias.eu/app. Download updates through your purchase downloads. This GitHub release has notes only; no app ZIP is attached.
peras agents onadds both agents' saved usage beside your prompt when useful context changes.peras usageandperas usage --jsonprovide it on request.- Safer hooks keep pause and resume controls separate from hook bookkeeping. Runtime updates stage a complete copy before replacement.
- Usage reminders have one owner, and late-day Extras end no later than midnight or the weekly reset.
Install or upgrade
Node 18 or later is required. Set up either provider or both:
npx peras-cli setup
npx peras-cli codex setupFor Codex, review and trust the hooks in /hooks. Restart open agent sessions after setup or an upgrade.
Existing installations:
peras updateOn macOS 13 or later, download and unzip the purchased app, then install it:
peras menubar install --native --app ~/Downloads/Peras.appThe installer checks and opens the app before moving Peras's SwiftBar plugin aside. The CLI and hooks also work without a menu. Use peras menubar install for the free SwiftBar menu.
With the app installed, ordinary updates target its own 0.x line. To move to another line, download its matching app and run:
peras update --app ~/Downloads/Peras.appBuild the app yourself
The app source is MIT-licensed. See Build the app yourself for the requirements and npm run build:app instructions.
Going back to 0.3
Quit the app before installing 0.3.2, refresh the hooks you use, and reinstall the SwiftBar menu:
peras menubar quit
npm install --global peras-cli@0.3.2
peras setup
peras codex setup
peras menubar installRun only the provider setup commands you need, then restart agent sessions. The app removes its login item when it encounters the older runtime. Existing rules, manual pauses and usage history retain their compatible formats.
Known limits
- Built for macOS 13 or later, Apple silicon and Intel. macOS 13 and Intel execution remain untested.
- Usage is account-wide. Other sessions can contribute to observed increases and per-prompt limits; project attribution is an estimate.
- Hooks are a guard, not a security boundary. Default failures can let work proceed; strict failure handling is optional for supported Claude Code versions. Pauses do not cancel requests already in flight or cover tools outside the providers' supported hooks.
spend the last of your week on purpose.