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

Function fetchIntegrations

apps/cli/src/integrations.ts:24–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22// Honors DO_NOT_TRACK and EXECUTOR_DISABLE_INTEGRATIONS_FETCH inside the
23// layer.
24export const fetchIntegrations = (): void => {
25 const runtime = ManagedRuntime.make(
26 integrationsRegistryLayer({ userAgent: USER_AGENT, recurring: false }).pipe(
27 Layer.provide(FetchHttpClient.layer),
28 Layer.provide(BunFileSystem.layer),
29 ),
30 );
31 runtime.runFork(
32 Effect.ensuring(
33 refreshRegistry,
34 Effect.promise(() => runtime.dispose()),
35 ),
36 );
37};

Callers 1

main.tsFile · 0.90

Calls 1

disposeMethod · 0.80

Tested by

no test coverage detected