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

Function publishLocalServerManifest

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

Source from the content-addressed store, hash-verified

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