v2.1.0 - `get smart --amend`
Toki v2.1.0
get smart --amend makes Toki more useful when you are actively switching between AI coding tools. This release adds recommendations, local usage/event history, DND-aware notifications, session tracking, and a calmer menu bar experience when your quotas are tapped out.
Highlights
- Smart recommendations: Toki now suggests which account to use based on live remaining quota.
- Best Claude account switch: For Claude Code accounts discovered through
claude-swap, Toki can switch to the recommended inactive account. - Break suggestions when quota is empty: When every tracked quota-bearing provider is exhausted, Toki rotates through ten small break suggestions and shows one in the menu bar.
- DND and notification history: Low-quota/session alerts are recorded locally and respect DND/cooldowns so Toki does not spam you.
- Usage history: Toki stores bounded local history so recent quota movement is visible without opening provider tools.
- Session mode: Start a focused coding session and Toki tracks quota burn from the session start.
- Cleaner popover: Accounts, History, Events, and Settings are separated into tabs, with a compact top overview row.
Added
- Smart recommendation state and UI for selecting the healthiest available account.
- One-click best-account switching for Claude Code via
claude-swap. - Local event history for low quota, recovery, DND changes, session warnings, notification delivery, and account switching.
- DND mode and notification cooldown controls.
- Local usage history retention in
~/.toki/usage-state.json. - Session mode with burn tracking and warning events.
- Settings controls for notification, DND, thresholds, cooldown, retention, and menu bar display mode.
- Menu bar display modes for smart, lowest, Claude, Codex, combined, and account-count views.
- Exhausted-quota break suggestions with menu bar text/emoji.
- Clearer Claude Code
extra_usagedisplay asExtra.
Changed
- The popover now uses tabs for Accounts, History, Events, and Settings.
- The overview row now shows
Use,Lowest, andStatusto save vertical space. - Menu bar entries now support a lightweight text/emoji leading marker for special states.
- App version is now
2.1.0; bundle build is now6.
Fixed
- Fixed tab hit targets so the full tab segment is clickable.
- Fixed a refresh cache edge case where startup
Refreshingplaceholders could be reused instead of fetching Claude data. - Fixed DND/cooldown event handling so suppressed events do not spam history.
- Fixed notification audit accuracy so an event is marked delivered only after macOS accepts the notification request.
Validation
swift buildscripts/build-app.shplutil -p .build/Toki.app/Contents/Info.plist