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

Function watchChanged

src/index.js:722–729  ·  view source on GitHub ↗
(directory, job)

Source from the content-addressed store, hash-verified

720 const separator = model.indexOf("/");
721 if (separator > 0)
722 return { providerID: model.slice(0, separator), modelID: model.slice(separator + 1) };
723 return;
724 }
725 const providerID = model?.providerID;
726 const modelID = model?.modelID || model?.id;
727 if (typeof providerID !== "string" || typeof modelID !== "string")
728 return;
729 return { providerID, modelID };
730}
731function updateSessionExecutionContext(info) {
732 const sessionID = info?.sessionID || info?.id;

Callers 1

maybeRunDueJobsFunction · 0.85

Calls 1

snapshotPathsFunction · 0.85

Tested by

no test coverage detected