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

Function originFromInput

packages/core/sdk/src/core-tools.ts:450–457  ·  view source on GitHub ↗
(
  origin: typeof ConnectionInputOriginInput.Type,
)

Source from the content-addressed store, hash-verified

448});
449
450const originFromInput = (
451 origin: typeof ConnectionInputOriginInput.Type,
452): ConnectionInputOrigin => ({
453 from: {
454 provider: ProviderKey.make(origin.from.provider),
455 id: ProviderItemId.make(origin.from.id),
456 },
457});
458
459const createConnectionInputFromTool = (
460 input: typeof ConnectionCreateInput.Type,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected