Skip to content

v2.1.0 - `get smart --amend`

Choose a tag to compare

@github-actions github-actions released this 11 Jul 14:58
1682869

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_usage display as Extra.

Changed

  • The popover now uses tabs for Accounts, History, Events, and Settings.
  • The overview row now shows Use, Lowest, and Status to 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 now 6.

Fixed

  • Fixed tab hit targets so the full tab segment is clickable.
  • Fixed a refresh cache edge case where startup Refreshing placeholders 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 build
  • scripts/build-app.sh
  • plutil -p .build/Toki.app/Contents/Info.plist