MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / installDefaultExecutorWebBaseUrl

Function installDefaultExecutorWebBaseUrl

apps/cli/src/main.ts:419–428  ·  view source on GitHub ↗
(baseUrl: string)

Source from the content-addressed store, hash-verified

417 });
418
419const installDefaultExecutorWebBaseUrl = (baseUrl: string): (() => void) => {
420 if (process.env.EXECUTOR_WEB_BASE_URL !== undefined) {
421 return () => {};
422 }
423
424 process.env.EXECUTOR_WEB_BASE_URL = baseUrl;
425 return () => {
426 delete process.env.EXECUTOR_WEB_BASE_URL;
427 };
428};
429
430const cleanupPointer = (input: { hostname: string; scopeId: string; port: number }) =>
431 Effect.gen(function* () {

Callers 2

runForegroundSessionFunction · 0.85
runDaemonSessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected