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

Function getBridgeContext

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

Source from the content-addressed store, hash-verified

323 }
324
325 async function getBridgeContext(): Promise<OpenCodeBridgeContext> {
326 return {
327 sharingEnabled: await getSharingEnabled(),
328 shareBaseUrl: getShareBaseUrl(),
329 pasteApiUrl: getPasteApiUrl(),
330 agents: await getOpenCodeAgents(),
331 };
332 }
333
334 function getPlanTimeoutSeconds(): number | null {
335 const raw = process.env.PLANNOTATOR_PLAN_TIMEOUT_SECONDS?.trim();

Callers 2

PlannotatorPluginFunction · 0.85
executeFunction · 0.85

Calls 4

getSharingEnabledFunction · 0.85
getShareBaseUrlFunction · 0.85
getPasteApiUrlFunction · 0.85
getOpenCodeAgentsFunction · 0.85

Tested by

no test coverage detected