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

Function createCachedMCState

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

Source from the content-addressed store, hash-verified

49}
50
51export function createCachedMCState(): CachedMCState {
52 return {
53 registeredTools: new Set(),
54 toolOrder: [],
55 toolGroups: [],
56 sentToAPI: new Set(),
57 deletedRefs: new Set(),
58 pinnedEdits: [],
59 }
60}
61
62export function registerToolResult(
63 state: CachedMCState,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected