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

Function staticDeclToIntegration

packages/core/sdk/src/executor.ts:2063–2071  ·  view source on GitHub ↗
(integration: StaticIntegrationDecl)

Source from the content-addressed store, hash-verified

2061 };
2062
2063 const staticDeclToIntegration = (integration: StaticIntegrationDecl): Integration => ({
2064 slug: IntegrationSlug.make(integration.id),
2065 name: integration.name,
2066 description: integration.name,
2067 kind: integration.kind,
2068 canRemove: integration.canRemove ?? false,
2069 canRefresh: integration.canRefresh ?? false,
2070 authMethods: [],
2071 });
2072
2073 const staticToolToTool = (entry: StaticTools): Tool => ({
2074 address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`),

Callers 1

integrationsGetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected