()
| 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(); |
no test coverage detected