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

Function resetCachedMCState

src/services/compact/cachedMicrocompact.ts:99–104  ·  view source on GitHub ↗
(state: CachedMCState)

Source from the content-addressed store, hash-verified

97export function markToolsSentToAPI(_state: CachedMCState): void {}
98
99export function resetCachedMCState(state: CachedMCState): void {
100 state.pinnedEdits.length = 0
101 state.registeredTools.clear()
102 state.toolOrder.length = 0
103 state.deletedRefs.clear()
104}

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected