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

Function hasEmbeddedRuntime

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

Source from the content-addressed store, hash-verified

174}
175
176function hasEmbeddedRuntime(): boolean {
177 return typeof getBunRuntime()?.serve === "function";
178}
179
180function shouldUseEmbeddedRuntime(runtime: RuntimeMode): boolean {
181 return runtime !== "cli" && hasEmbeddedRuntime();

Callers 3

shouldUseEmbeddedRuntimeFunction · 0.85
runPlanReviewFunction · 0.85
PlannotatorPluginFunction · 0.85

Calls 1

getBunRuntimeFunction · 0.85

Tested by

no test coverage detected