Repository navigation
Commit 7ced338
feat(cache): split Client/CacheClientBound into capability interfaces
Decompose cache.Client and cache.CacheClientBound into IntentReader,
IntentWriter, RunningStore, and InstanceLifecycle capability
interfaces (recomposed via embedding), regenerate mocks per
capability, and narrow read-only consumers (forEachIntent,
populateSensitivePathIndex) to the bound reader interface.
Make config-server's no-op writes explicit via a standalone
noopIntentWriter composed with *ConfigServerCache in
Server.createCacheClient, instead of burying no-ops inside
ConfigServerCache's own methods.
Also extract LocalCache.decodeIntent to dedup repeated decode logic,
and relocate config-server's ImportConfigAdapter implementation
(documentImporter/mergeConfigBlobs) to pkg/tree/importer/configserver
alongside its sibling tree importers.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 86921e1 commit 7ced338
13 files changed
Lines changed: 925 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments