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

Function writeGoalReport

src/index.js:1030–1035  ·  view source on GitHub ↗
(directory, sessionID, job)

Source from the content-addressed store, hash-verified

1028}
1029function isLoopCommandName(name) {
1030 return name === "loop" || name === "loop-stop" || name === "loop-remove" || name === "loop-clear" || name === "loop-status" || name === "loop-logs" || name === "loop-help" || name === "loop-now" || name === "loop-pause" || name === "loop-resume" || name === "loop-doctor" || name === "loop-init" || name === "loop-export" || name === "loop-goal" || name === "loop-goal-status" || name === "loop-goal-pause" || name === "loop-goal-resume" || name === "loop-goal-clear" || name === "loop-goal-done" || name === "loop-goal-complete" || name === "loop-goal-blocked" || isPreset(name);
1031}
1032function commandArgsText(args) {
1033 if (args === undefined || args === null)
1034 return "";
1035 if (typeof args === "string")
1036 return args;
1037 if (Array.isArray(args))
1038 return args.map(commandArgsText).join(" ");

Callers 4

setGoalCompleteFunction · 0.85
setGoalBlockedFunction · 0.85
setGoalProgressFunction · 0.85
finalizeActiveRunFunction · 0.85

Calls 4

isGoalJobFunction · 0.85
goalReportPathFunction · 0.85
ensureDirFunction · 0.85
goalReportTextFunction · 0.85

Tested by

no test coverage detected