pub fn detect_capabilities(db: &Connection) -> CapabilitiesExpand description
Detect available capabilities by probing the database and filesystem.
Checks performed:
- fts5:
items_ftsvirtual table present insqlite_master - vectors:
vec_version()SQL function is callable (sqlite-vec loaded) - semantic:
MiniLMmodel+tokenizer files available on disk binary_cache:.bones/cache/events.binexists with validBNCHmagic- triage:
itemstable queryable (petgraph is always compiled in)
All probes are infallible — errors are logged at debug! and treated as
capability absent.
§Arguments
db— An openSQLiteprojection database connection.