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

Function appendLoopLog

src/index.js:536–541  ·  view source on GitHub ↗
(directory, line, extra = {})

Source from the content-addressed store, hash-verified

534 continue;
535 const currentChanged = baseHas !== currentHas || !stateValuesEqual(baseJob?.[key], currentJob?.[key]);
536 const sameResult = intendedHas === currentHas && stateValuesEqual(intendedJob?.[key], currentJob?.[key]);
537 if (currentChanged && !sameResult)
538 continue;
539 if (intendedHas)
540 merged[key] = structuredClone(intendedJob[key]);
541 else
542 delete merged[key];
543 }
544 return merged;

Callers 14

startHeartbeatFunction · 0.85
ensureBranchFunction · 0.85
scheduleIdleWorkFunction · 0.85
startWatchdogFunction · 0.85
scheduleDueWorkFunction · 0.85
setGoalCompleteFunction · 0.85
setGoalBlockedFunction · 0.85
setGoalProgressFunction · 0.85
runGoalChecksFunction · 0.85
finalizeActiveRunFunction · 0.85
fireActionFunction · 0.85
maybeRunDueJobsFunction · 0.85

Calls 2

ensureDirFunction · 0.85
stateDirFunction · 0.85

Tested by

no test coverage detected