MCPcopy
hub / github.com/lightningpixel/modly / resolveSource

Function resolveSource

src/areas/workflows/workflowRunStore.ts:148–151  ·  view source on GitHub ↗
(sourceId: string)

Source from the content-addressed store, hash-verified

146 const ext = getWorkflowExtension(node.data.extensionId ?? '', allExtensions)
147
148 const resolveSource = (sourceId: string): NodeOutput | undefined => {
149 const realId = resolveDataSource(sourceId, workflow.edges, nodeMap)
150 return realId ? nodeOutputs.get(realId) : undefined
151 }
152
153 let nodeInputPath: string | undefined
154 let nodeInputText: string | undefined

Callers 1

executeExtensionNodeFunction · 0.85

Calls 1

resolveDataSourceFunction · 0.90

Tested by

no test coverage detected