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

Function staticSources

packages/core/sdk/src/executor.ts:1368–1374  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1366 ConnectionName.make(source.id === EXECUTOR_SOURCE_ID ? "coreTools" : "static");
1367
1368 const staticSources = (): readonly StaticSourceDecl[] => {
1369 const byId = new Map<string, StaticSourceDecl>();
1370 for (const entry of staticTools.values()) {
1371 if (!byId.has(entry.source.id)) byId.set(entry.source.id, entry.source);
1372 }
1373 return [...byId.values()];
1374 };
1375
1376 const staticSourceToIntegration = (source: StaticSourceDecl): Integration => ({
1377 slug: IntegrationSlug.make(source.id),

Callers 2

integrationsListFunction · 0.85
integrationsGetFunction · 0.85

Calls 2

valuesMethod · 0.80
setMethod · 0.80

Tested by

no test coverage detected