//! Filesystem-backed persistence stores (ARCHITECTURE §5, §9.2). //! //! L2 ships [`FsProjectStore`], implementing the domain [`ProjectStore`] port: //! the known-projects **registry** and the **workspace** are stored as plain //! JSON files in the app data directory (machine-local, outside any project). mod background_task; mod context; mod embedder; mod live_state; mod memory; mod permission; mod profile; mod project; mod skill; mod template; mod vector; mod window_state; pub use background_task::{BackgroundTaskReconcileReport, FsBackgroundTaskStore}; pub use context::IdeaiContextStore; #[cfg(feature = "vector-onnx")] pub use embedder::OnnxEmbedder; #[cfg(feature = "vector-http")] pub use embedder::{detect_ollama, HttpEmbedder, DEFAULT_LOCAL_EMBED_ENDPOINT}; pub use embedder::{ embedder_from_profile, onnx_model_is_cached, EmbedderEnvProbe, FsEmbedderPromptStore, HashEmbedder, OnnxModelInfo, StubEmbedder, DEFAULT_OLLAMA_BASE_URL, ONNX_CACHE_SUBDIR, RECOMMENDED_ONNX_MODELS, VECTOR_HTTP_ENABLED, VECTOR_ONNX_ENABLED, }; pub use live_state::FsLiveStateStore; pub use memory::{index_token_size, FsMemoryStore, NaiveMemoryRecall}; pub use permission::FsPermissionStore; pub use profile::{FsEmbedderProfileStore, FsProfileStore}; pub use project::FsProjectStore; pub use skill::FsSkillStore; pub use template::FsTemplateStore; pub use vector::{should_use_vector, AdaptiveMemoryRecall, VectorMemoryRecall}; pub use window_state::FsWindowStateStore;