How to delete Orca session history, and what you lose

one SQLite database at agent-session-journal.db holds every recorded session

Orca persists every recorded session in one SQLite database under its application data directory.

Where the sessions are

~/Library/Application Support/orca/agent-session-journal.db
${XDG_CONFIG_HOME:-~/.config}/orca/agent-session-journal.db
%APPDATA%/orca/agent-session-journal.db

Session metadata lives in agent_session_records and journal items live in journal_rows.

How to delete it

deja delete does not take orca sessions because the database is shared across all recorded sessions. With Orca closed, remove the database file:

rm ~/Library/Application\ Support/orca/agent-session-journal.db

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 "orca session about the build"

Where every agent keeps its history · Memory for Orca · The Orca format

Found this useful? Star deja-vu on GitHub.