01
Native session, message, tool, and permission events
AgentPeek installs one managed module at ~/.config/mimocode/plugins/agentpeek.js. MiMo Code discovers that plugin from its config directory and emits session status, visible user and assistant messages, tool starts and completions, questions, errors, and deletes. AgentPeek never rewrites mimocode.json or its unknown user keys.
MiMo Code's current permission.ask plugin hook exposes one mutable status. AgentPeek can allow or deny that request once, without feedback or persistent allow.
02
Exact local conversations, tools, tokens, and recorded cost
AgentPeek reads MiMo Code's native session, message, and part rows from mimocode.db. Visible text parts build the conversation; private or ignored parts stay out. Persisted assistant-message counters supply input, output, reasoning, cache, request, and recorded USD cost totals for the current calendar month and by-day history.
This database exposes usage already recorded by the selected models. It does not expose a provider plan percentage or billing reset window, so AgentPeek does not invent one.
03
Direct Chat through mimo acp
The session composer launches mimo acp, loads the exact persisted session ID, sends the next prompt, streams assistant text and completed tools, and cancels work in flight. Native ACP permission options can be answered in the notch while AgentPeek owns that Direct Chat turn. Sessions already hosted by another ACP client remain view-only in AgentPeek.
04
Quick Routes follow MiMo Code's real roots
Quick Routes opens MiMo Code's plugins, configuration, logs, SQLite database, and data root. On macOS the defaults are ~/.config/mimocode for config and ~/Library/Application Support/mimocode for data. An absolute MIMOCODE_HOME moves them to config and data children; MIMOCODE_DB can select another database path.
