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

Function publishLocalServerManifest

apps/cli/src/main.ts:429–436  ·  view source on GitHub ↗
(input: {
  readonly kind: ExecutorLocalServerKind;
  readonly connection: ExecutorServerConnection;
})

Source from the content-addressed store, hash-verified

427 });
428
429const publishLocalServerManifest = (input: {
430 readonly kind: ExecutorLocalServerKind;
431 readonly connection: ExecutorServerConnection;
432}): Effect.Effect<void, PlatformError, FileSystem.FileSystem | PlatformPath.Path> =>
433 Effect.gen(function* () {
434 const manifest = yield* makeLocalServerManifest(input);
435 yield* writeLocalServerManifest(manifest);
436 });
437
438const installDefaultExecutorWebBaseUrl = (baseUrl: string): (() => void) => {
439 if (process.env.EXECUTOR_WEB_BASE_URL !== undefined) {

Callers 2

runForegroundSessionFunction · 0.85
runDaemonSessionFunction · 0.85

Calls 2

writeLocalServerManifestFunction · 0.90
makeLocalServerManifestFunction · 0.85

Tested by

no test coverage detected