ai-data-workflow-logic 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-data-workflow-logic",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "private": false,
5
5
  "description": "EagerDataFlow-backed AI Data Workflow RunGraph helpers",
6
6
  "type": "module",
package/src/index.ts CHANGED
@@ -209,6 +209,9 @@ function configReusePolicy(config: AIDataWorkflowNodeConfig): AIWorkflowReusePol
209
209
  }
210
210
 
211
211
  function nodeTypeForEagerNode(node: EagerDataFlowNodePlan): AIWorkflowNodeType {
212
+ if ('config' in node && (node.config.node_type === 'manual' || node.config.nodeType === 'manual')) {
213
+ return 'manual';
214
+ }
212
215
  if ('type' in node && node.type === 'manual') return 'manual';
213
216
  if (node.tag === 'SinkNode') return 'effect';
214
217
  if (node.tag === 'SubFlowNode') return 'subflow';