MCPcopy Create free account
hub / github.com/backnotprop/plannotator / importEmbeddedRuntime

Function importEmbeddedRuntime

apps/opencode-plugin/index.ts:222–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

220};
221
222async function importEmbeddedRuntime(): Promise<EmbeddedRuntimeModule> {
223 const builtPath = path.join(moduleDir, "embedded.js");
224 if (existsSync(builtPath)) {
225 return await import(pathToFileURL(builtPath).href) as EmbeddedRuntimeModule;
226 }
227 const sourceSpecifier = "./embedded";
228 return await import(sourceSpecifier) as EmbeddedRuntimeModule;
229}
230
231async function runPlanReview(input: {
232 client: any;

Callers 2

runPlanReviewFunction · 0.85
PlannotatorPluginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected