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

Function sameLoopDefinition

src/index.js:1367–1374  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

1365 if (job.lastGoalChecks?.length) {
1366 lines.push("## Latest checks", "");
1367 for (const item of job.lastGoalChecks)
1368 lines.push(`- ${item.command}: exit ${item.code}`);
1369 lines.push("");
1370 }
1371 if (job.goalProgress?.length) {
1372 lines.push("## Progress", "");
1373 for (const item of job.goalProgress)
1374 lines.push(`- ${item.time}: ${item.summary}${item.next ? ` Next: ${item.next}` : ""}`);
1375 lines.push("");
1376 }
1377 return lines.join(`

Callers 1

addLoopFunction · 0.85

Calls 1

Tested by

no test coverage detected