//! ThoughtSync's client core: the on-device SQLite store and the sync engine. //! //! Deliberately free of any UI framework. The desktop wraps it in Tauri commands; //! the Android client binds it through uniffi. Neither owns it, and a change to //! either must not require touching this crate — that separation is the whole point //! (see Scribe note 2730). It was already true before the split: every file here //! carried zero Tauri references, which is what made the extraction a move rather //! than a rewrite. //! //! - `local` — the source of truth. Works with no server and no account. //! - `sync` — entirely opt-in. Nothing in it runs until a server is linked. pub mod local; pub mod sync;