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

Function goalStatusText

src/index.js:620–627  ·  view source on GitHub ↗
(job)

Source from the content-addressed store, hash-verified

618 return await new Promise((resolve) => {
619 const child = spawn(command, args, { cwd, shell: false, windowsHide: true });
620 const stdout = [];
621 const stderr = [];
622 const timer = setTimeout(() => {
623 try {
624 child.kill("SIGTERM");
625 } catch {}
626 }, timeoutMs);
627 child.stdout?.on("data", (data) => stdout.push(Buffer.from(data)));
628 child.stderr?.on("data", (data) => stderr.push(Buffer.from(data)));
629 child.on("error", (error) => {
630 clearTimeout(timer);

Callers 3

goalReportTextFunction · 0.85
statusGoalFunction · 0.85
statusLoopFunction · 0.85

Calls 1

isGoalJobFunction · 0.85

Tested by

no test coverage detected