01
Usage OpenCode keeps, surfaced
OpenCode records everything in a local database (~/.local/share/opencode); AgentPeek reads it on your Mac and shows monthly token and spend totals with token volume in the by-day chart. No network call, no sign-in. OpenCode reports no quota percentage, so AgentPeek shows the totals themselves, and monthly, weekly, and daily spend caps alert you when crossed.
02
Sessions you can answer from the notch
OpenCode sessions (the desktop app included) appear with live state, tool activity, and transcripts. Permission prompts surface in the notch: allow with ⌘ A, deny with ⌘ N, with Always Allow where OpenCode supports it. Questions flag the session for attention, and the composer sends follow-up prompts into resumable sessions.
03
Setup and routes
AgentPeek installs a managed plugin at ~/.config/opencode/plugins/agentpeek.js, repairable from Doctor. Quick Routes opens the OpenCode plugins folder, config, and logs without the .config-or-.opencode guessing game.