//! Semantic memory engine with pure-Rust embeddings and git-backed storage.
//!
//! This crate provides the library core for `memory-mcp`, an MCP server that
//! stores and retrieves memories using vector similarity search. Embeddings
//! are computed on-device via candle (BERT inference) with no C/C++ FFI.
/// Token resolution, OAuth device flow, and credential storage backends.
/// Embedding backends for computing vector representations of text.
/// Error types used throughout the crate.
/// HNSW vector index for approximate nearest-neighbour search.
/// Git-backed memory repository — read, write, sync, and diff operations.
/// MCP server implementation — tool handlers for the memory protocol.
/// Domain types: memories, scopes, metadata, validation, and application state.