MCPcopy Create free account
hub / github.com/freecodexyz/free-code / createCachedMCState

Function createCachedMCState

src/services/compact/cachedMicrocompact.ts:23–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23export function createCachedMCState(): CachedMCState {
24 return {
25 pinnedEdits: [],
26 registeredTools: new Set(),
27 toolOrder: [],
28 deletedRefs: new Set(),
29 }
30}
31
32export function isCachedMicrocompactEnabled(): boolean {
33 return getCachedMCConfig().enabled

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected