Skip to content

v2.1.1 - agents, on-device insights, self-updates

Choose a tag to compare

@github-actions github-actions released this 12 Jul 11:03
d33ef22

Toki v2.1.1

get smart --amend --agents turns Toki into an "agents + usage + updates" companion. This release adds live discovery of your running coding agents with jump-to-session navigation, on-device AI usage summaries, OpenCode usage tracking, and an in-app self-updater - plus Homebrew install.

Highlights

  • Active coding agents: Toki discovers running Codex, Claude Code, Copilot CLI, OpenCode, and ChatGPT-hosted Codex sessions, showing runtime, working directory, and conversation title - with best-effort navigation straight to the hosting terminal tab or editor.
  • On-device AI insights: An AIInsightCard summarizes your usage across accounts in natural language using Apple Intelligence (macOS 26+), with a deterministic recommendation fallback on older systems.
  • OpenCode usage: Auto-detected from OpenCode's local SQLite database - today's spend, tokens, and all-time totals.
  • Self-updates: Automatic GitHub release checks with verified one-click DMG installation and a manual "Check now" in Settings.
  • Homebrew: Install with brew install --cask toki.

Added

  • Active-agent discovery for Codex, Claude Code, Copilot CLI, OpenCode, and ChatGPT-hosted Codex with runtime, terminal metadata, and working directory display.
  • Conversation title and project folder display for each agent, shown relative to home (~/Code/project).
  • Best-effort navigation to matching terminal tabs (iTerm2, Terminal, WezTerm) and editor-hosted sessions (VS Code, Cursor, ChatGPT) via bundle ID resolution.
  • On-device AI insight card using Apple Intelligence (macOS 26+) for natural-language account summaries, with a deterministic recommendation fallback and expandable suggestions.
  • Session recording banner with a live animated stopwatch while tracking is active.
  • OpenCode usage tracking from its local SQLite database (today's spend, tokens, all-time totals), auto-detected when available.
  • Automatic GitHub release checks and verified one-click DMG installation.
  • Six-hour update polling with a manual "Check now" action in Settings.
  • Privacy-safe rotating local diagnostics and an attached debug-report share action.
  • Config migration from name/provider/id to label/type with automatic migration and .bak backup.
  • In-app JSON config editor.
  • Optional aiInstructions config field for customizing the on-device LLM prompt.
  • Homebrew cask installation (brew install --cask toki).
  • Full-page settings view replacing the Settings tab.
  • Copilot provider entry (agent-detection only, no quota tracking).
  • OpenCode and Claude SVG logo resources.

Changed

  • Release bundles are ad-hoc signed so downloaded updates can be verified before installation.
  • Overview panel now uses a unified AIInsightCard replacing three separate stat blocks.
  • Account config format migrated to label/type; legacy configs load and convert automatically.
  • Provider logos switched to SVG assets with fallback marks for new providers.

Fixed

  • Pipe deadlock in subprocess runner: drain stdout and stderr before waitUntilExit.
  • Update download URL validation now enforces https scheme alongside host check.
  • Guarded FoundationModels behind canImport so release builds succeed on SDKs without the macOS 26 framework.

Install

  • Homebrew: brew install --cask toki
  • Direct: download Toki_2.1.1_universal.dmg below, open it, and drag Toki to Applications.