Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Database Schema

SQLite database at ~/Library/Application Support/recall/recall.db.

commands

ColumnTypeDescription
idINTEGER PKAuto-increment
descriptionTEXT NOT NULLHuman-readable label
commandTEXT NOT NULLShell command
aliasesTEXT NOT NULL DEFAULT ‘’Space/comma-separated tags
created_atINTEGER NOT NULLUnix timestamp (seconds)
updated_atINTEGER NOT NULLUnix timestamp (seconds)
use_countINTEGER NOT NULL DEFAULT 0Times copied
last_usedINTEGERUnix timestamp of last copy, or NULL

embeddings

ColumnTypeDescription
command_idINTEGER PK FK→commands(id)Cascade delete
vectorBLOB NOT NULL384-dim float32 vector, little-endian

Migrations

Migrations run at app startup via idempotent ALTER TABLE ... ADD COLUMN (silently ignores duplicate column errors):

ALTER TABLE commands ADD COLUMN use_count INTEGER NOT NULL DEFAULT 0;
ALTER TABLE commands ADD COLUMN last_used INTEGER;