How to delete MiMo-Code session history, and what you lose
one SQLite file holds every session, using OpenCode's schema
MiMo-Code (mimo) stores every session, message, and part in one SQLite database.
Where the sessions are
~/.local/share/mimocode/mimocode.db
${XDG_DATA_HOME}/mimocode/mimocode.db
Three tables carry a conversation: session, message joined by session_id, and part joined by message_id (or session_v2 and session_message).
How to delete it
With mimo closed, removing the database removes the entire history:
rm ~/.local/share/mimocode/mimocode.db
Delete one session with deja
deja delete <id> --dry-run deja delete <id>
deja delete calls mimo session delete <id> and then forgets deja's copy of the session.
Keeping it searchable instead
deja reads this database through sqlite3 — along with the other forty-six agents' histories on the machine — into one local index:
curl -fsSL https://raw.githubusercontent.com/vshulcz/deja-vu/main/install.sh | sh deja "mimo session about the retry budget"
Where every agent keeps its history · Memory for MiMo-Code · The MiMo-Code format
Found this useful? Star deja-vu on GitHub.