MCPcopy
hub / github.com/Doorman11991/smallcode / reset

Method reset

src/tools/dedup.js:135–139  ·  view source on GitHub ↗

Reset all state. Call between agent runs.

()

Source from the content-addressed store, hash-verified

133
134 /** Reset all state. Call between agent runs. */
135 reset() {
136 this.recent = [];
137 this.hits = 0;
138 this.misses = 0;
139 }
140
141 /** Snapshot stats for logging. */
142 stats() {

Callers 8

e2e_offline.jsFile · 0.45
tdd_state.test.jsFile · 0.45
resetDedupFunction · 0.45
resetIdempotentWriteSetFunction · 0.45
_executeToolMethod · 0.45
runAgentLoopFunction · 0.45
executeToolFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected