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

Function toast

src/index.js:437–439  ·  view source on GitHub ↗
(client, message, variant = "info")

Source from the content-addressed store, hash-verified

435 if (error?.code === "ENOENT")
436 return { version: 4, jobs: [] };
437 const transient = error instanceof SyntaxError || isRetriableStateWriteError(error);
438 if (!transient || attempt === attempts - 1)
439 break;
440 await delay(25 * (attempt + 1));
441 }
442 }

Callers 15

compactSessionFunction · 0.85
ensureBranchFunction · 0.85
createCheckpointFunction · 0.85
scheduleIdleWorkFunction · 0.85
scheduleDueWorkFunction · 0.85
runGoalChecksFunction · 0.85
finalizeActiveRunFunction · 0.85
fireActionFunction · 0.85
maybeRunDueJobsFunction · 0.85
addLoopFunction · 0.85
stopLoopFunction · 0.85
updateJobStateFunction · 0.85

Calls 1

sdkCallFunction · 0.85

Tested by

no test coverage detected