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

Function publishLocalServerManifest

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

Source from the content-addressed store, hash-verified

422 });
423
424const publishLocalServerManifest = (input: {
425 readonly kind: ExecutorLocalServerKind;
426 readonly connection: ExecutorServerConnection;
427}): Effect.Effect<void, PlatformError, FileSystem.FileSystem | PlatformPath.Path> =>
428 Effect.gen(function* () {
429 const manifest = yield* makeLocalServerManifest(input);
430 yield* writeLocalServerManifest(manifest);
431 });
432
433const installDefaultExecutorWebBaseUrl = (baseUrl: string): (() => void) => {
434 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