MCPcopy
hub / github.com/rohitg00/agentmemory / toolCallSetFor

Function toolCallSetFor

plugin/opencode/agentmemory-capture.ts:86–90  ·  view source on GitHub ↗
(sid: string)

Source from the content-addressed store, hash-verified

84}
85
86function toolCallSetFor(sid: string): Set<string> {
87 let s = seenToolCallIds.get(sid);
88 if (!s) { s = new Set<string>(); seenToolCallIds.set(sid, s); }
89 return s;
90}
91
92function pruneSessionMaps(sid: string): void {
93 stashedFiles.delete(sid);

Callers 1

AgentmemoryCapturePluginFunction · 0.85

Calls 2

getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected