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

Function staticSourceToIntegration

packages/core/sdk/src/executor.ts:1376–1384  ·  view source on GitHub ↗
(source: StaticSourceDecl)

Source from the content-addressed store, hash-verified

1374 };
1375
1376 const staticSourceToIntegration = (source: StaticSourceDecl): Integration => ({
1377 slug: IntegrationSlug.make(source.id),
1378 name: source.name,
1379 description: source.name,
1380 kind: source.kind,
1381 canRemove: source.canRemove ?? false,
1382 canRefresh: source.canRefresh ?? false,
1383 authMethods: [],
1384 });
1385
1386 const staticToolToTool = (entry: StaticTools): Tool => ({
1387 address: ToolAddress.make(`${entry.source.id}.${entry.tool.name}`),

Callers 1

integrationsGetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected