MCPcopy Create free account
hub / github.com/ByBrawe/opencode-loop / clearActiveRun

Function clearActiveRun

src/index.js:992–996  ·  view source on GitHub ↗
(sessionID)

Source from the content-addressed store, hash-verified

990 handledCommandEvents.delete(entryKey);
991}
992function consumeHandled(sessionID, name, args) {
993 const key = commandKey(sessionID, name, args);
994 const entry = handledCommands.get(key);
995 if (!entry || now() - entry.time >= COMMAND_DEDUPE_MS) {
996 handledCommands.delete(key);
997 return false;
998 }
999 if (entry.pending <= 1)

Callers 3

finalizeActiveRunFunction · 0.85
maybeRunDueJobsFunction · 0.85
stopLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected