verdant_runtime/lib.rs
1//! verdant-runtime — live cache runtime that the M1 MCP server consumes.
2//!
3//! Build sequence so far: step 2 lands the content-addressed object
4//! store (`store`); step 3 lands the `LiveCache` surface that wraps the
5//! store with a registry, file-root revalidation, and dirty invalidation
6//! (`cache`). Step 4 (file revalidation path) is folded into the cache
7//! module; step 5 wires `LiveCache` into the verdant-mcp `read` tool.
8
9pub mod cache;
10pub mod cas;
11pub mod remote;
12pub mod store;
13pub mod tree;
14
15pub use cache::{
16 fingerprint_file, hash_file, hash_file_with_limit, hash_max_bytes, stat_fingerprint,
17 tool_result_key, CacheError, FileHash, FileRoot, LiveCache, LookupOutcome,
18};
19pub use remote::{RemoteStore, RemoteStoreConfig};
20pub use store::{FileRootSerde, FileStore, Key, Payload, PayloadMeta, Store, StoreError};