Skip to main content

Module cache_manager

Module cache_manager 

Source

Structs§

CacheManager
SHA-256 content-hash deduplication cache backed by SessionStore, with delta encoding for near-duplicate content and compaction awareness.
DedupHit
A dedup hit with the metadata regret tracking needs, returned by CacheManager::check_dedup_with_meta.
SliceHit
A ranged re-read of content the model already has, returned by CacheManager::check_slice_with_meta. The agent read a file in full earlier and is now reading lines start_line..=end_line of it.

Enums§

CacheResult
Outcome of a cache lookup in CacheManager.
ExpandResult
Result of resolving a dedup-ref prefix via CacheManager::expand_prefix.

Functions§

parse_ref_token
Split a ref token into its hex prefix and optional L<start>-<end> range. Accepts a1b2, ref:a1b2, §ref:a1b2§, §ref:a1b2:L40-80§.