mori-cli 0.2.0

mori — the git for cognition. Compile context with the Locus SDK and keep it in a per-repo SurrealKV file.
//! Mori is a git-shaped interface over Locus memory.
//!
//! Context goes in as documents, chats, notes, or raw STTP. The Locus SDK
//! compiles the non-STTP forms. Persistence is an embedded SurrealKV file
//! opened for one command and dropped when that command finishes.

mod compile;
mod excerpt;
mod memory;
mod repo;
mod stage;
mod stash;

pub use compile::{compile_context, detect_kind, CompiledContext};
pub use excerpt::{view_hits, MatchPattern, ViewOptions, ViewedHit};
pub use memory::{BranchInfo, Memory, MergeOutcome, RebaseOutcome, Recalled};
pub use repo::{find_repo, init_repo, Repo};
pub use stage::{normalize_tags, read_source, ContextKind, StageIndex, StagedContext};
pub use stash::{Stash, StashEntry};