Skip to content

v0.11.0 — Phone notifications + on-pace band

Choose a tag to compare

@ZeuLeg ZeuLeg released this 06 Jun 19:25
· 35 commits to main since this release

New features

Phone notifications (ntfy.sh + shell command)

Get notified on your phone when:

  • 5h session or 7d weekly reaches 90% (high usage warning)
  • Limit reached (~100%) — with reset time
  • Quota resets — new window starts

Open Notifications… from the tray menu to configure:

  • ntfy topic: enter a topic name, subscribe to the same topic in the ntfy app on your phone
  • Shell command: run any command on notification (supports {message}, {event}, {percent}, {quota} placeholders)
  • Toggle each event type on/off independently

Zero-config: if ntfy/shell fields are left empty, only Windows balloons fire (existing behavior).

Grey on-pace band in the taskbar widget

The progress bars now show a grey ±5% band centered at the expected (linear-pace) usage for the current time window. This is the visual equivalent of the existing ▲/•/▼ pace glyph:

  • Fill ends left of band → under pace (green ▼)
  • Fill ends within band → on pace (yellow •)
  • Fill ends right of band (band disappears) → ahead of pace (red ▲)

Changes

  • New: src/Infra/Settings.cs — JSON settings in LocalAppData/ClaudeUsageMonitor/settings.json
  • New: src/Polling/NotificationEvaluator.cs — stateful edge-trigger event evaluator (tested)
  • New: src/App/Notifier.cs — balloon + ntfy HTTP POST + shell command dispatch
  • New: src/Ui/NotificationsDialog.cs — settings dialog
  • Changed: src/Ui/TaskbarWidget.cs — grey on-pace band in DrawSolidBar
  • Changed: src/App/MainForm.cs — removed MaybeAlert, wired evaluator/notifier, added menu item