Expand description
SQLite connection setup with PRAGMAs and 0600 permissions.
v1.0.76: opens (or creates) the database file. The sqlite-vec extension
was REMOVED; vector similarity is now computed in pure Rust over the
memory_embeddings(memory_id, embedding BLOB, source) table. WAL/journal
PRAGMAs and 0600 file permissions on Unix are unchanged.
Functionsยง
- ensure_
db_ ready - Ensures the database file exists and the schema is at the current version.
- ensure_
schema - open_ro
- open_rw
- register_
vec_ extension - v1.0.76: no-op stub. Kept for source compatibility with callers that
still call
register_vec_extension()during auto-init. The actual extension registration is gone; the function is now a marker that the LLM-only build does not need any vector extension.