#![doc = include_str!("../README.md")]
pub const VERSION: u32 = 1;
mod model;
mod retrieval;
#[cfg(any(feature = "client", feature = "local"))]
mod secrets;
pub mod server;
mod store;
#[cfg(feature = "tool")]
mod tool;
pub use model::{
MemoryAccess, MemoryCandidate, MemoryImportReport, MemoryKey, MemoryLimits, MemoryRecord,
MemoryScan, MemorySource, normalize_identity,
};
pub use server::protocol::RemoteRole;
#[cfg(feature = "local")]
pub use store::LocalMemoryStore;
#[cfg(all(feature = "client", feature = "local"))]
pub use store::SelectedMemoryStore;
pub use store::{MemoryError, MemoryStore};
#[cfg(feature = "client")]
pub use store::{RemoteClientError, RemoteMemoryClient, RemoteToken};
#[cfg(feature = "tool")]
pub use tool::{MemoryTool, MutationAuthorizer};
#[cfg(test)]
mod tests;