Skip to main content

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 remote;
11pub mod store;
12
13pub use cache::{
14    hash_file, hash_file_with_limit, hash_max_bytes, CacheError, FileHash, FileRoot, LiveCache,
15    LookupOutcome,
16};
17pub use remote::{RemoteStore, RemoteStoreConfig};
18pub use store::{FileRootSerde, FileStore, Key, Payload, PayloadMeta, Store, StoreError};