verdant-cache-runtime 0.2.0

Live cache runtime for the verdant agent-loop cache: content-addressed payload store + DDG
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! verdant-runtime — live cache runtime that the M1 MCP server consumes.
//!
//! Build sequence so far: step 2 lands the content-addressed object
//! store (`store`); step 3 lands the `LiveCache` surface that wraps the
//! store with a registry, file-root revalidation, and dirty invalidation
//! (`cache`). Step 4 (file revalidation path) is folded into the cache
//! module; step 5 wires `LiveCache` into the verdant-mcp `read` tool.

pub mod cache;
pub mod remote;
pub mod store;

pub use cache::{hash_file, CacheError, FileRoot, LiveCache, LookupOutcome};
pub use remote::{RemoteStore, RemoteStoreConfig};
pub use store::{FileRootSerde, FileStore, Key, Payload, PayloadMeta, Store, StoreError};