//! TaskLens vault core.
//!
//! Everything that reads or writes vault files lives here so the desktop app
//! (through Tauri IPC) and the CLI (used by browser development and, later, by
//! agent tooling) can never disagree about vault semantics.
pub mod agent;
pub mod brief;
pub mod db;
pub mod dispatch;
pub mod extension;
pub mod frontmatter;
pub mod git;
pub mod mcp;
pub mod settings;
pub mod vault;
pub use brief::{task_brief, TaskBrief};
pub use frontmatter::Document;
pub use vault::{
append_body_item, create_note, delete_body_line, read_note, rename_note, replace_section,
save_note, scan, search, set_body_line, toggle_checkbox, trash_note, update_frontmatter,
NoteContent, NoteEntry, SearchHit, VaultError,
};