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

Function stashFor

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

Source from the content-addressed store, hash-verified

72const startContextCache = new Map<string, string>();
73
74function stashFor(sid: string): Set<string> {
75 let s = stashedFiles.get(sid);
76 if (!s) { s = new Set<string>(); stashedFiles.set(sid, s); }
77 return s;
78}
79
80function subtaskSetFor(sid: string): Set<string> {
81 let s = seenSubtaskIds.get(sid);

Callers 1

AgentmemoryCapturePluginFunction · 0.85

Calls 2

getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected