@decaf-ts/as-graph 0.0.0-stage → 0.2.0

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 (1190) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +523 -2
  3. package/assets/i18n/en.json +683 -0
  4. package/dist/as-graph.cjs +2 -0
  5. package/dist/as-graph.cjs.map +1 -0
  6. package/dist/as-graph.js +2 -0
  7. package/dist/as-graph.js.map +1 -0
  8. package/lib/cjs/engine/auth/GraphAuth.cjs +130 -0
  9. package/lib/cjs/engine/auth/GraphAuth.cjs.map +1 -0
  10. package/lib/cjs/engine/auth/GraphAuthValidator.cjs +79 -0
  11. package/lib/cjs/engine/auth/GraphAuthValidator.cjs.map +1 -0
  12. package/lib/cjs/engine/auth/GraphNamespace.cjs +104 -0
  13. package/lib/cjs/engine/auth/GraphNamespace.cjs.map +1 -0
  14. package/lib/cjs/engine/auth/index.cjs +25 -0
  15. package/lib/cjs/engine/auth/index.cjs.map +1 -0
  16. package/lib/cjs/engine/catalog/GraphBuiltInRegistrations.cjs +57 -0
  17. package/lib/cjs/engine/catalog/GraphBuiltInRegistrations.cjs.map +1 -0
  18. package/lib/cjs/engine/catalog/GraphCatalogueErrors.cjs +29 -0
  19. package/lib/cjs/engine/catalog/GraphCatalogueErrors.cjs.map +1 -0
  20. package/lib/cjs/engine/catalog/GraphNodeCatalogue.cjs +331 -0
  21. package/lib/cjs/engine/catalog/GraphNodeCatalogue.cjs.map +1 -0
  22. package/lib/cjs/engine/catalog/GraphNodeManifestResolver.cjs +192 -0
  23. package/lib/cjs/engine/catalog/GraphNodeManifestResolver.cjs.map +1 -0
  24. package/lib/cjs/engine/catalog/GraphNodeMethodRegistry.cjs +64 -0
  25. package/lib/cjs/engine/catalog/GraphNodeMethodRegistry.cjs.map +1 -0
  26. package/lib/cjs/engine/catalog/GraphNodeRegistration.cjs +17 -0
  27. package/lib/cjs/engine/catalog/GraphNodeRegistration.cjs.map +1 -0
  28. package/lib/cjs/engine/catalog/index.cjs +27 -0
  29. package/lib/cjs/engine/catalog/index.cjs.map +1 -0
  30. package/lib/cjs/engine/constants.cjs +78 -0
  31. package/lib/cjs/engine/constants.cjs.map +1 -0
  32. package/lib/cjs/engine/decorators.cjs +4 -0
  33. package/lib/cjs/engine/decorators.cjs.map +1 -0
  34. package/lib/cjs/engine/errors/GraphBreakSignal.cjs +37 -0
  35. package/lib/cjs/engine/errors/GraphBreakSignal.cjs.map +1 -0
  36. package/lib/cjs/engine/errors/GraphCycleError.cjs +20 -0
  37. package/lib/cjs/engine/errors/GraphCycleError.cjs.map +1 -0
  38. package/lib/cjs/engine/errors/GraphExecutionError.cjs +28 -0
  39. package/lib/cjs/engine/errors/GraphExecutionError.cjs.map +1 -0
  40. package/lib/cjs/engine/errors/GraphInputError.cjs +20 -0
  41. package/lib/cjs/engine/errors/GraphInputError.cjs.map +1 -0
  42. package/lib/cjs/engine/errors/GraphLoopLimitError.cjs +20 -0
  43. package/lib/cjs/engine/errors/GraphLoopLimitError.cjs.map +1 -0
  44. package/lib/cjs/engine/errors/GraphPinningError.cjs +20 -0
  45. package/lib/cjs/engine/errors/GraphPinningError.cjs.map +1 -0
  46. package/lib/cjs/engine/errors/GraphPortError.cjs +20 -0
  47. package/lib/cjs/engine/errors/GraphPortError.cjs.map +1 -0
  48. package/lib/cjs/engine/errors/GraphRunCancelledError.cjs +18 -0
  49. package/lib/cjs/engine/errors/GraphRunCancelledError.cjs.map +1 -0
  50. package/lib/cjs/engine/errors/GraphStoreError.cjs +20 -0
  51. package/lib/cjs/engine/errors/GraphStoreError.cjs.map +1 -0
  52. package/lib/cjs/engine/errors/GraphTopologyError.cjs +20 -0
  53. package/lib/cjs/engine/errors/GraphTopologyError.cjs.map +1 -0
  54. package/lib/cjs/engine/errors/GraphWorkflowErrors.cjs +23 -0
  55. package/lib/cjs/engine/errors/GraphWorkflowErrors.cjs.map +1 -0
  56. package/lib/cjs/engine/errors/index.cjs +33 -0
  57. package/lib/cjs/engine/errors/index.cjs.map +1 -0
  58. package/lib/cjs/engine/events/GraphExecutionEventEmitter.cjs +40 -0
  59. package/lib/cjs/engine/events/GraphExecutionEventEmitter.cjs.map +1 -0
  60. package/lib/cjs/engine/events/GraphExecutionEventFactory.cjs +45 -0
  61. package/lib/cjs/engine/events/GraphExecutionEventFactory.cjs.map +1 -0
  62. package/lib/cjs/engine/events/GraphExecutionObserver.cjs +4 -0
  63. package/lib/cjs/engine/events/GraphExecutionObserver.cjs.map +1 -0
  64. package/lib/cjs/engine/events/index.cjs +26 -0
  65. package/lib/cjs/engine/events/index.cjs.map +1 -0
  66. package/lib/cjs/engine/execution/CodeSandboxEvaluator.cjs +4 -0
  67. package/lib/cjs/engine/execution/CodeSandboxEvaluator.cjs.map +1 -0
  68. package/lib/cjs/engine/execution/GraphExecutionContext.cjs +159 -0
  69. package/lib/cjs/engine/execution/GraphExecutionContext.cjs.map +1 -0
  70. package/lib/cjs/engine/execution/GraphExecutionEngine.cjs +1042 -0
  71. package/lib/cjs/engine/execution/GraphExecutionEngine.cjs.map +1 -0
  72. package/lib/cjs/engine/execution/GraphExecutionFrame.cjs +50 -0
  73. package/lib/cjs/engine/execution/GraphExecutionFrame.cjs.map +1 -0
  74. package/lib/cjs/engine/execution/GraphExecutionResult.cjs +30 -0
  75. package/lib/cjs/engine/execution/GraphExecutionResult.cjs.map +1 -0
  76. package/lib/cjs/engine/execution/GraphNodeExecutor.cjs +4 -0
  77. package/lib/cjs/engine/execution/GraphNodeExecutor.cjs.map +1 -0
  78. package/lib/cjs/engine/execution/IsolatedVmCodeSandboxEvaluator.cjs +574 -0
  79. package/lib/cjs/engine/execution/IsolatedVmCodeSandboxEvaluator.cjs.map +1 -0
  80. package/lib/cjs/engine/execution/index.cjs +30 -0
  81. package/lib/cjs/engine/execution/index.cjs.map +1 -0
  82. package/lib/cjs/engine/index.cjs +84 -0
  83. package/lib/cjs/engine/index.cjs.map +1 -0
  84. package/lib/cjs/engine/loops/ConditionExpressionEvaluator.cjs +87 -0
  85. package/lib/cjs/engine/loops/ConditionExpressionEvaluator.cjs.map +1 -0
  86. package/lib/cjs/engine/loops/GraphConditionEvaluator.cjs +87 -0
  87. package/lib/cjs/engine/loops/GraphConditionEvaluator.cjs.map +1 -0
  88. package/lib/cjs/engine/loops/GraphLoopExecutionContext.cjs +16 -0
  89. package/lib/cjs/engine/loops/GraphLoopExecutionContext.cjs.map +1 -0
  90. package/lib/cjs/engine/loops/index.cjs +26 -0
  91. package/lib/cjs/engine/loops/index.cjs.map +1 -0
  92. package/lib/cjs/engine/pinning/GraphPinningDependencyResolver.cjs +28 -0
  93. package/lib/cjs/engine/pinning/GraphPinningDependencyResolver.cjs.map +1 -0
  94. package/lib/cjs/engine/pinning/GraphPinningMetadata.cjs +20 -0
  95. package/lib/cjs/engine/pinning/GraphPinningMetadata.cjs.map +1 -0
  96. package/lib/cjs/engine/pinning/GraphPinningPolicy.cjs +34 -0
  97. package/lib/cjs/engine/pinning/GraphPinningPolicy.cjs.map +1 -0
  98. package/lib/cjs/engine/pinning/GraphPinningService.cjs +220 -0
  99. package/lib/cjs/engine/pinning/GraphPinningService.cjs.map +1 -0
  100. package/lib/cjs/engine/pinning/index.cjs +27 -0
  101. package/lib/cjs/engine/pinning/index.cjs.map +1 -0
  102. package/lib/cjs/engine/planning/GraphExecutionPlan.cjs +4 -0
  103. package/lib/cjs/engine/planning/GraphExecutionPlan.cjs.map +1 -0
  104. package/lib/cjs/engine/planning/GraphExecutionPlanEdge.cjs +4 -0
  105. package/lib/cjs/engine/planning/GraphExecutionPlanEdge.cjs.map +1 -0
  106. package/lib/cjs/engine/planning/GraphExecutionPlanLayer.cjs +4 -0
  107. package/lib/cjs/engine/planning/GraphExecutionPlanLayer.cjs.map +1 -0
  108. package/lib/cjs/engine/planning/GraphExecutionPlanNode.cjs +4 -0
  109. package/lib/cjs/engine/planning/GraphExecutionPlanNode.cjs.map +1 -0
  110. package/lib/cjs/engine/planning/GraphExecutionPlanner.cjs +212 -0
  111. package/lib/cjs/engine/planning/GraphExecutionPlanner.cjs.map +1 -0
  112. package/lib/cjs/engine/planning/GraphTopology.cjs +57 -0
  113. package/lib/cjs/engine/planning/GraphTopology.cjs.map +1 -0
  114. package/lib/cjs/engine/planning/index.cjs +29 -0
  115. package/lib/cjs/engine/planning/index.cjs.map +1 -0
  116. package/lib/cjs/engine/registry/GraphNodeExecutorRegistry.cjs +100 -0
  117. package/lib/cjs/engine/registry/GraphNodeExecutorRegistry.cjs.map +1 -0
  118. package/lib/cjs/engine/registry/GraphNodeExecutorResolver.cjs +59 -0
  119. package/lib/cjs/engine/registry/GraphNodeExecutorResolver.cjs.map +1 -0
  120. package/lib/cjs/engine/registry/index.cjs +25 -0
  121. package/lib/cjs/engine/registry/index.cjs.map +1 -0
  122. package/lib/cjs/engine/runs/GraphRunConverters.cjs +58 -0
  123. package/lib/cjs/engine/runs/GraphRunConverters.cjs.map +1 -0
  124. package/lib/cjs/engine/runs/GraphRunEventPublisher.cjs +69 -0
  125. package/lib/cjs/engine/runs/GraphRunEventPublisher.cjs.map +1 -0
  126. package/lib/cjs/engine/runs/GraphRunExecutor.cjs +291 -0
  127. package/lib/cjs/engine/runs/GraphRunExecutor.cjs.map +1 -0
  128. package/lib/cjs/engine/runs/GraphRunFingerprint.cjs +29 -0
  129. package/lib/cjs/engine/runs/GraphRunFingerprint.cjs.map +1 -0
  130. package/lib/cjs/engine/runs/GraphRunService.cjs +272 -0
  131. package/lib/cjs/engine/runs/GraphRunService.cjs.map +1 -0
  132. package/lib/cjs/engine/runs/InMemoryGraphRunEventStore.cjs +69 -0
  133. package/lib/cjs/engine/runs/InMemoryGraphRunEventStore.cjs.map +1 -0
  134. package/lib/cjs/engine/runs/InMemoryGraphRunStore.cjs +26 -0
  135. package/lib/cjs/engine/runs/InMemoryGraphRunStore.cjs.map +1 -0
  136. package/lib/cjs/engine/runs/index.cjs +29 -0
  137. package/lib/cjs/engine/runs/index.cjs.map +1 -0
  138. package/lib/cjs/engine/runs/ownership.cjs +34 -0
  139. package/lib/cjs/engine/runs/ownership.cjs.map +1 -0
  140. package/lib/cjs/engine/runs/types.cjs +4 -0
  141. package/lib/cjs/engine/runs/types.cjs.map +1 -0
  142. package/lib/cjs/engine/services/GraphEnvironment.cjs +32 -0
  143. package/lib/cjs/engine/services/GraphEnvironment.cjs.map +1 -0
  144. package/lib/cjs/engine/services/GraphRunModelService.cjs +95 -0
  145. package/lib/cjs/engine/services/GraphRunModelService.cjs.map +1 -0
  146. package/lib/cjs/engine/services/GraphWorkflowService.cjs +290 -0
  147. package/lib/cjs/engine/services/GraphWorkflowService.cjs.map +1 -0
  148. package/lib/cjs/engine/snapshots/GraphExecutionSnapshotMapper.cjs +53 -0
  149. package/lib/cjs/engine/snapshots/GraphExecutionSnapshotMapper.cjs.map +1 -0
  150. package/lib/cjs/engine/snapshots/index.cjs +24 -0
  151. package/lib/cjs/engine/snapshots/index.cjs.map +1 -0
  152. package/lib/cjs/engine/store/GraphCachedValue.cjs +4 -0
  153. package/lib/cjs/engine/store/GraphCachedValue.cjs.map +1 -0
  154. package/lib/cjs/engine/store/GraphValueKey.cjs +4 -0
  155. package/lib/cjs/engine/store/GraphValueKey.cjs.map +1 -0
  156. package/lib/cjs/engine/store/GraphValueModel.cjs +96 -0
  157. package/lib/cjs/engine/store/GraphValueModel.cjs.map +1 -0
  158. package/lib/cjs/engine/store/GraphValueRepository.cjs +244 -0
  159. package/lib/cjs/engine/store/GraphValueRepository.cjs.map +1 -0
  160. package/lib/cjs/engine/store/index.cjs +28 -0
  161. package/lib/cjs/engine/store/index.cjs.map +1 -0
  162. package/lib/cjs/engine/types.cjs +4 -0
  163. package/lib/cjs/engine/types.cjs.map +1 -0
  164. package/lib/cjs/engine/validation/GraphConnectionPolicyValidator.cjs +142 -0
  165. package/lib/cjs/engine/validation/GraphConnectionPolicyValidator.cjs.map +1 -0
  166. package/lib/cjs/engine/validation/GraphCredentialReferenceValidator.cjs +160 -0
  167. package/lib/cjs/engine/validation/GraphCredentialReferenceValidator.cjs.map +1 -0
  168. package/lib/cjs/engine/validation/GraphEdgeInstanceValidator.cjs +166 -0
  169. package/lib/cjs/engine/validation/GraphEdgeInstanceValidator.cjs.map +1 -0
  170. package/lib/cjs/engine/validation/GraphLooseNodeValidation.cjs +36 -0
  171. package/lib/cjs/engine/validation/GraphLooseNodeValidation.cjs.map +1 -0
  172. package/lib/cjs/engine/validation/GraphNodeInstanceValidator.cjs +86 -0
  173. package/lib/cjs/engine/validation/GraphNodeInstanceValidator.cjs.map +1 -0
  174. package/lib/cjs/engine/validation/GraphParameterValidator.cjs +465 -0
  175. package/lib/cjs/engine/validation/GraphParameterValidator.cjs.map +1 -0
  176. package/lib/cjs/engine/validation/GraphPortSchemaResolver.cjs +58 -0
  177. package/lib/cjs/engine/validation/GraphPortSchemaResolver.cjs.map +1 -0
  178. package/lib/cjs/engine/validation/GraphResolvedWorkflow.cjs +4 -0
  179. package/lib/cjs/engine/validation/GraphResolvedWorkflow.cjs.map +1 -0
  180. package/lib/cjs/engine/validation/GraphValidationErrors.cjs +50 -0
  181. package/lib/cjs/engine/validation/GraphValidationErrors.cjs.map +1 -0
  182. package/lib/cjs/engine/validation/GraphValidationIssue.cjs +4 -0
  183. package/lib/cjs/engine/validation/GraphValidationIssue.cjs.map +1 -0
  184. package/lib/cjs/engine/validation/GraphValueValidator.cjs +52 -0
  185. package/lib/cjs/engine/validation/GraphValueValidator.cjs.map +1 -0
  186. package/lib/cjs/engine/validation/GraphWorkflowBoundaryValidation.cjs +171 -0
  187. package/lib/cjs/engine/validation/GraphWorkflowBoundaryValidation.cjs.map +1 -0
  188. package/lib/cjs/engine/validation/GraphWorkflowDocumentLimits.cjs +12 -0
  189. package/lib/cjs/engine/validation/GraphWorkflowDocumentLimits.cjs.map +1 -0
  190. package/lib/cjs/engine/validation/GraphWorkflowDocumentValidator.cjs +518 -0
  191. package/lib/cjs/engine/validation/GraphWorkflowDocumentValidator.cjs.map +1 -0
  192. package/lib/cjs/engine/validation/index.cjs +39 -0
  193. package/lib/cjs/engine/validation/index.cjs.map +1 -0
  194. package/lib/cjs/index.cjs +31 -0
  195. package/lib/cjs/index.cjs.map +1 -0
  196. package/lib/cjs/log/GraphRunLogger.cjs +184 -0
  197. package/lib/cjs/log/GraphRunLogger.cjs.map +1 -0
  198. package/lib/cjs/log/LogParameters.cjs +115 -0
  199. package/lib/cjs/log/LogParameters.cjs.map +1 -0
  200. package/lib/cjs/nest/graph/GraphExecutionModule.cjs +295 -0
  201. package/lib/cjs/nest/graph/GraphExecutionModule.cjs.map +1 -0
  202. package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs +113 -0
  203. package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs.map +1 -0
  204. package/lib/cjs/nest/graph/GraphNodeCatalogueController.cjs +288 -0
  205. package/lib/cjs/nest/graph/GraphNodeCatalogueController.cjs.map +1 -0
  206. package/lib/cjs/nest/graph/GraphRunController.cjs +307 -0
  207. package/lib/cjs/nest/graph/GraphRunController.cjs.map +1 -0
  208. package/lib/cjs/nest/graph/GraphWorkflowController.cjs +188 -0
  209. package/lib/cjs/nest/graph/GraphWorkflowController.cjs.map +1 -0
  210. package/lib/cjs/nest/graph/index.cjs +30 -0
  211. package/lib/cjs/nest/graph/index.cjs.map +1 -0
  212. package/lib/cjs/nest/index.cjs +28 -0
  213. package/lib/cjs/nest/index.cjs.map +1 -0
  214. package/lib/cjs/node/agents/agent/node.cjs +121 -0
  215. package/lib/cjs/node/agents/agent/node.cjs.map +1 -0
  216. package/lib/cjs/node/base.cjs +138 -0
  217. package/lib/cjs/node/base.cjs.map +1 -0
  218. package/lib/cjs/node/boundary/input/node.cjs +70 -0
  219. package/lib/cjs/node/boundary/input/node.cjs.map +1 -0
  220. package/lib/cjs/node/boundary/output/node.cjs +73 -0
  221. package/lib/cjs/node/boundary/output/node.cjs.map +1 -0
  222. package/lib/cjs/node/flow/break/node.cjs +80 -0
  223. package/lib/cjs/node/flow/break/node.cjs.map +1 -0
  224. package/lib/cjs/node/flow/error-boundary/node.cjs +143 -0
  225. package/lib/cjs/node/flow/error-boundary/node.cjs.map +1 -0
  226. package/lib/cjs/node/flow/human-approval/node.cjs +94 -0
  227. package/lib/cjs/node/flow/human-approval/node.cjs.map +1 -0
  228. package/lib/cjs/node/flow/if/node.cjs +130 -0
  229. package/lib/cjs/node/flow/if/node.cjs.map +1 -0
  230. package/lib/cjs/node/flow/loop/foreach/node.cjs +247 -0
  231. package/lib/cjs/node/flow/loop/foreach/node.cjs.map +1 -0
  232. package/lib/cjs/node/flow/loop/loop-metadata.cjs +83 -0
  233. package/lib/cjs/node/flow/loop/loop-metadata.cjs.map +1 -0
  234. package/lib/cjs/node/flow/loop/until/node.cjs +195 -0
  235. package/lib/cjs/node/flow/loop/until/node.cjs.map +1 -0
  236. package/lib/cjs/node/flow/loop/while/node.cjs +191 -0
  237. package/lib/cjs/node/flow/loop/while/node.cjs.map +1 -0
  238. package/lib/cjs/node/flow/switch/node.cjs +256 -0
  239. package/lib/cjs/node/flow/switch/node.cjs.map +1 -0
  240. package/lib/cjs/node/index.cjs +158 -0
  241. package/lib/cjs/node/index.cjs.map +1 -0
  242. package/lib/cjs/node/manifests.cjs +260 -0
  243. package/lib/cjs/node/manifests.cjs.map +1 -0
  244. package/lib/cjs/node/triggers/chat/node.cjs +82 -0
  245. package/lib/cjs/node/triggers/chat/node.cjs.map +1 -0
  246. package/lib/cjs/node/triggers/event/node.cjs +67 -0
  247. package/lib/cjs/node/triggers/event/node.cjs.map +1 -0
  248. package/lib/cjs/node/triggers/form/node.cjs +80 -0
  249. package/lib/cjs/node/triggers/form/node.cjs.map +1 -0
  250. package/lib/cjs/node/triggers/manual/node.cjs +71 -0
  251. package/lib/cjs/node/triggers/manual/node.cjs.map +1 -0
  252. package/lib/cjs/node/triggers/schedule/node.cjs +80 -0
  253. package/lib/cjs/node/triggers/schedule/node.cjs.map +1 -0
  254. package/lib/cjs/node/triggers/webhook/node.cjs +84 -0
  255. package/lib/cjs/node/triggers/webhook/node.cjs.map +1 -0
  256. package/lib/cjs/node/utility/code/node.cjs +223 -0
  257. package/lib/cjs/node/utility/code/node.cjs.map +1 -0
  258. package/lib/cjs/node/utility/delay/node.cjs +81 -0
  259. package/lib/cjs/node/utility/delay/node.cjs.map +1 -0
  260. package/lib/cjs/node/utility/log/node.cjs +98 -0
  261. package/lib/cjs/node/utility/log/node.cjs.map +1 -0
  262. package/lib/cjs/node/utility/map/node.cjs +75 -0
  263. package/lib/cjs/node/utility/map/node.cjs.map +1 -0
  264. package/lib/cjs/node/utility/utility-log/node.cjs +96 -0
  265. package/lib/cjs/node/utility/utility-log/node.cjs.map +1 -0
  266. package/lib/cjs/ram/GraphRunEventModel.cjs +134 -0
  267. package/lib/cjs/ram/GraphRunEventModel.cjs.map +1 -0
  268. package/lib/cjs/ram/GraphRunEventStore.cjs +141 -0
  269. package/lib/cjs/ram/GraphRunEventStore.cjs.map +1 -0
  270. package/lib/cjs/ram/GraphRunStore.cjs +98 -0
  271. package/lib/cjs/ram/GraphRunStore.cjs.map +1 -0
  272. package/lib/cjs/ram/index.cjs +57 -0
  273. package/lib/cjs/ram/index.cjs.map +1 -0
  274. package/lib/cjs/shared/graph/GraphExecutionStateMapper.cjs +97 -0
  275. package/lib/cjs/shared/graph/GraphExecutionStateMapper.cjs.map +1 -0
  276. package/lib/cjs/shared/graph/GraphResolution.cjs +21 -0
  277. package/lib/cjs/shared/graph/GraphResolution.cjs.map +1 -0
  278. package/lib/cjs/shared/graph/GraphRunModel.cjs +140 -0
  279. package/lib/cjs/shared/graph/GraphRunModel.cjs.map +1 -0
  280. package/lib/cjs/shared/graph/GraphWorkflowModel.cjs +66 -0
  281. package/lib/cjs/shared/graph/GraphWorkflowModel.cjs.map +1 -0
  282. package/lib/cjs/shared/graph/auth.cjs +106 -0
  283. package/lib/cjs/shared/graph/auth.cjs.map +1 -0
  284. package/lib/cjs/shared/graph/catalog/GraphConnectionPolicy.cjs +24 -0
  285. package/lib/cjs/shared/graph/catalog/GraphConnectionPolicy.cjs.map +1 -0
  286. package/lib/cjs/shared/graph/catalog/GraphCredentialReference.cjs +19 -0
  287. package/lib/cjs/shared/graph/catalog/GraphCredentialReference.cjs.map +1 -0
  288. package/lib/cjs/shared/graph/catalog/GraphCredentialRequirement.cjs +20 -0
  289. package/lib/cjs/shared/graph/catalog/GraphCredentialRequirement.cjs.map +1 -0
  290. package/lib/cjs/shared/graph/catalog/GraphDynamicPortRule.cjs +42 -0
  291. package/lib/cjs/shared/graph/catalog/GraphDynamicPortRule.cjs.map +1 -0
  292. package/lib/cjs/shared/graph/catalog/GraphIconReference.cjs +26 -0
  293. package/lib/cjs/shared/graph/catalog/GraphIconReference.cjs.map +1 -0
  294. package/lib/cjs/shared/graph/catalog/GraphManifestCompiler.cjs +390 -0
  295. package/lib/cjs/shared/graph/catalog/GraphManifestCompiler.cjs.map +1 -0
  296. package/lib/cjs/shared/graph/catalog/GraphNodeCapability.cjs +34 -0
  297. package/lib/cjs/shared/graph/catalog/GraphNodeCapability.cjs.map +1 -0
  298. package/lib/cjs/shared/graph/catalog/GraphNodeDisplayManifest.cjs +15 -0
  299. package/lib/cjs/shared/graph/catalog/GraphNodeDisplayManifest.cjs.map +1 -0
  300. package/lib/cjs/shared/graph/catalog/GraphNodeManifest.cjs +33 -0
  301. package/lib/cjs/shared/graph/catalog/GraphNodeManifest.cjs.map +1 -0
  302. package/lib/cjs/shared/graph/catalog/GraphNodeManifestSerialization.cjs +65 -0
  303. package/lib/cjs/shared/graph/catalog/GraphNodeManifestSerialization.cjs.map +1 -0
  304. package/lib/cjs/shared/graph/catalog/GraphNodeMethodManifest.cjs +40 -0
  305. package/lib/cjs/shared/graph/catalog/GraphNodeMethodManifest.cjs.map +1 -0
  306. package/lib/cjs/shared/graph/catalog/GraphNodePolicyManifest.cjs +18 -0
  307. package/lib/cjs/shared/graph/catalog/GraphNodePolicyManifest.cjs.map +1 -0
  308. package/lib/cjs/shared/graph/catalog/GraphParameterBase.cjs +4 -0
  309. package/lib/cjs/shared/graph/catalog/GraphParameterBase.cjs.map +1 -0
  310. package/lib/cjs/shared/graph/catalog/GraphParameterDefinition.cjs +40 -0
  311. package/lib/cjs/shared/graph/catalog/GraphParameterDefinition.cjs.map +1 -0
  312. package/lib/cjs/shared/graph/catalog/GraphParameterOption.cjs +26 -0
  313. package/lib/cjs/shared/graph/catalog/GraphParameterOption.cjs.map +1 -0
  314. package/lib/cjs/shared/graph/catalog/GraphParameterValidation.cjs +72 -0
  315. package/lib/cjs/shared/graph/catalog/GraphParameterValidation.cjs.map +1 -0
  316. package/lib/cjs/shared/graph/catalog/GraphPortManifest.cjs +32 -0
  317. package/lib/cjs/shared/graph/catalog/GraphPortManifest.cjs.map +1 -0
  318. package/lib/cjs/shared/graph/catalog/GraphPortManifestElement.cjs +19 -0
  319. package/lib/cjs/shared/graph/catalog/GraphPortManifestElement.cjs.map +1 -0
  320. package/lib/cjs/shared/graph/catalog/GraphResourceLocatorMode.cjs +30 -0
  321. package/lib/cjs/shared/graph/catalog/GraphResourceLocatorMode.cjs.map +1 -0
  322. package/lib/cjs/shared/graph/catalog/GraphValueSchema.cjs +36 -0
  323. package/lib/cjs/shared/graph/catalog/GraphValueSchema.cjs.map +1 -0
  324. package/lib/cjs/shared/graph/catalog/GraphValueSchemaDerivation.cjs +186 -0
  325. package/lib/cjs/shared/graph/catalog/GraphValueSchemaDerivation.cjs.map +1 -0
  326. package/lib/cjs/shared/graph/catalog/GraphVisibilityExpression.cjs +70 -0
  327. package/lib/cjs/shared/graph/catalog/GraphVisibilityExpression.cjs.map +1 -0
  328. package/lib/cjs/shared/graph/catalog/index.cjs +43 -0
  329. package/lib/cjs/shared/graph/catalog/index.cjs.map +1 -0
  330. package/lib/cjs/shared/graph/category-styles.cjs +38 -0
  331. package/lib/cjs/shared/graph/category-styles.cjs.map +1 -0
  332. package/lib/cjs/shared/graph/constants.cjs +333 -0
  333. package/lib/cjs/shared/graph/constants.cjs.map +1 -0
  334. package/lib/cjs/shared/graph/decorators.cjs +205 -0
  335. package/lib/cjs/shared/graph/decorators.cjs.map +1 -0
  336. package/lib/cjs/shared/graph/document/GraphDecoratedWorkflowCompiler.cjs +407 -0
  337. package/lib/cjs/shared/graph/document/GraphDecoratedWorkflowCompiler.cjs.map +1 -0
  338. package/lib/cjs/shared/graph/document/GraphEdgeInstance.cjs +4 -0
  339. package/lib/cjs/shared/graph/document/GraphEdgeInstance.cjs.map +1 -0
  340. package/lib/cjs/shared/graph/document/GraphEndpoint.cjs +39 -0
  341. package/lib/cjs/shared/graph/document/GraphEndpoint.cjs.map +1 -0
  342. package/lib/cjs/shared/graph/document/GraphErrorBoundaryConfiguration.cjs +4 -0
  343. package/lib/cjs/shared/graph/document/GraphErrorBoundaryConfiguration.cjs.map +1 -0
  344. package/lib/cjs/shared/graph/document/GraphFlowBuilder.cjs +771 -0
  345. package/lib/cjs/shared/graph/document/GraphFlowBuilder.cjs.map +1 -0
  346. package/lib/cjs/shared/graph/document/GraphJsonValue.cjs +103 -0
  347. package/lib/cjs/shared/graph/document/GraphJsonValue.cjs.map +1 -0
  348. package/lib/cjs/shared/graph/document/GraphLoopConfiguration.cjs +4 -0
  349. package/lib/cjs/shared/graph/document/GraphLoopConfiguration.cjs.map +1 -0
  350. package/lib/cjs/shared/graph/document/GraphNodeBinding.cjs +35 -0
  351. package/lib/cjs/shared/graph/document/GraphNodeBinding.cjs.map +1 -0
  352. package/lib/cjs/shared/graph/document/GraphNodeDerivation.cjs +153 -0
  353. package/lib/cjs/shared/graph/document/GraphNodeDerivation.cjs.map +1 -0
  354. package/lib/cjs/shared/graph/document/GraphNodeInstance.cjs +4 -0
  355. package/lib/cjs/shared/graph/document/GraphNodeInstance.cjs.map +1 -0
  356. package/lib/cjs/shared/graph/document/GraphValueTemplate.cjs +97 -0
  357. package/lib/cjs/shared/graph/document/GraphValueTemplate.cjs.map +1 -0
  358. package/lib/cjs/shared/graph/document/GraphWorkflowDocument.cjs +27 -0
  359. package/lib/cjs/shared/graph/document/GraphWorkflowDocument.cjs.map +1 -0
  360. package/lib/cjs/shared/graph/document/GraphWorkflowDocumentBuilder.cjs +439 -0
  361. package/lib/cjs/shared/graph/document/GraphWorkflowDocumentBuilder.cjs.map +1 -0
  362. package/lib/cjs/shared/graph/document/GraphWorkflowDocumentReader.cjs +119 -0
  363. package/lib/cjs/shared/graph/document/GraphWorkflowDocumentReader.cjs.map +1 -0
  364. package/lib/cjs/shared/graph/document/GraphWorkflowDocumentSerializer.cjs +82 -0
  365. package/lib/cjs/shared/graph/document/GraphWorkflowDocumentSerializer.cjs.map +1 -0
  366. package/lib/cjs/shared/graph/document/GraphWorkflowUiState.cjs +4 -0
  367. package/lib/cjs/shared/graph/document/GraphWorkflowUiState.cjs.map +1 -0
  368. package/lib/cjs/shared/graph/document/index.cjs +37 -0
  369. package/lib/cjs/shared/graph/document/index.cjs.map +1 -0
  370. package/lib/cjs/shared/graph/index.cjs +39 -0
  371. package/lib/cjs/shared/graph/index.cjs.map +1 -0
  372. package/lib/cjs/shared/graph/overrides/Metadata.cjs +23 -0
  373. package/lib/cjs/shared/graph/overrides/Metadata.cjs.map +1 -0
  374. package/lib/cjs/shared/graph/overrides/Rendering.cjs +4 -0
  375. package/lib/cjs/shared/graph/overrides/Rendering.cjs.map +1 -0
  376. package/lib/cjs/shared/graph/overrides/index.cjs +24 -0
  377. package/lib/cjs/shared/graph/overrides/index.cjs.map +1 -0
  378. package/lib/cjs/shared/graph/overrides/overrides.cjs +20 -0
  379. package/lib/cjs/shared/graph/overrides/overrides.cjs.map +1 -0
  380. package/lib/cjs/shared/graph/reader.cjs +392 -0
  381. package/lib/cjs/shared/graph/reader.cjs.map +1 -0
  382. package/lib/cjs/shared/graph/registry.cjs +67 -0
  383. package/lib/cjs/shared/graph/registry.cjs.map +1 -0
  384. package/lib/cjs/shared/graph/snapshot.cjs +4 -0
  385. package/lib/cjs/shared/graph/snapshot.cjs.map +1 -0
  386. package/lib/cjs/shared/graph/types.cjs +7 -0
  387. package/lib/cjs/shared/graph/types.cjs.map +1 -0
  388. package/lib/cjs/shared/index.cjs +30 -0
  389. package/lib/cjs/shared/index.cjs.map +1 -0
  390. package/lib/cjs/shared/ui/GraphNodeView.cjs +114 -0
  391. package/lib/cjs/shared/ui/GraphNodeView.cjs.map +1 -0
  392. package/lib/cjs/shared/ui/GraphRunView.cjs +96 -0
  393. package/lib/cjs/shared/ui/GraphRunView.cjs.map +1 -0
  394. package/lib/cjs/shared/ui/GraphWorkflowView.cjs +78 -0
  395. package/lib/cjs/shared/ui/GraphWorkflowView.cjs.map +1 -0
  396. package/lib/cjs/shared/ui/constants.cjs +73 -0
  397. package/lib/cjs/shared/ui/constants.cjs.map +1 -0
  398. package/lib/cjs/shared/ui/index.cjs +32 -0
  399. package/lib/cjs/shared/ui/index.cjs.map +1 -0
  400. package/lib/cjs/shared/ui/types.cjs +4 -0
  401. package/lib/cjs/shared/ui/types.cjs.map +1 -0
  402. package/lib/esm/engine/auth/GraphAuth.js +123 -0
  403. package/lib/esm/engine/auth/GraphAuth.js.map +1 -0
  404. package/lib/esm/engine/auth/GraphAuthValidator.js +74 -0
  405. package/lib/esm/engine/auth/GraphAuthValidator.js.map +1 -0
  406. package/lib/esm/engine/auth/GraphNamespace.js +93 -0
  407. package/lib/esm/engine/auth/GraphNamespace.js.map +1 -0
  408. package/lib/esm/engine/auth/index.js +8 -0
  409. package/lib/esm/engine/auth/index.js.map +1 -0
  410. package/lib/esm/engine/catalog/GraphBuiltInRegistrations.js +52 -0
  411. package/lib/esm/engine/catalog/GraphBuiltInRegistrations.js.map +1 -0
  412. package/lib/esm/engine/catalog/GraphCatalogueErrors.js +22 -0
  413. package/lib/esm/engine/catalog/GraphCatalogueErrors.js.map +1 -0
  414. package/lib/esm/engine/catalog/GraphNodeCatalogue.js +322 -0
  415. package/lib/esm/engine/catalog/GraphNodeCatalogue.js.map +1 -0
  416. package/lib/esm/engine/catalog/GraphNodeManifestResolver.js +185 -0
  417. package/lib/esm/engine/catalog/GraphNodeManifestResolver.js.map +1 -0
  418. package/lib/esm/engine/catalog/GraphNodeMethodRegistry.js +59 -0
  419. package/lib/esm/engine/catalog/GraphNodeMethodRegistry.js.map +1 -0
  420. package/lib/esm/engine/catalog/GraphNodeRegistration.js +12 -0
  421. package/lib/esm/engine/catalog/GraphNodeRegistration.js.map +1 -0
  422. package/lib/esm/engine/catalog/index.js +10 -0
  423. package/lib/esm/engine/catalog/index.js.map +1 -0
  424. package/lib/esm/engine/constants.js +82 -0
  425. package/lib/esm/engine/constants.js.map +1 -0
  426. package/lib/esm/engine/decorators.js +2 -0
  427. package/lib/esm/engine/decorators.js.map +1 -0
  428. package/lib/esm/engine/errors/GraphBreakSignal.js +32 -0
  429. package/lib/esm/engine/errors/GraphBreakSignal.js.map +1 -0
  430. package/lib/esm/engine/errors/GraphCycleError.js +15 -0
  431. package/lib/esm/engine/errors/GraphCycleError.js.map +1 -0
  432. package/lib/esm/engine/errors/GraphExecutionError.js +23 -0
  433. package/lib/esm/engine/errors/GraphExecutionError.js.map +1 -0
  434. package/lib/esm/engine/errors/GraphInputError.js +15 -0
  435. package/lib/esm/engine/errors/GraphInputError.js.map +1 -0
  436. package/lib/esm/engine/errors/GraphLoopLimitError.js +15 -0
  437. package/lib/esm/engine/errors/GraphLoopLimitError.js.map +1 -0
  438. package/lib/esm/engine/errors/GraphPinningError.js +15 -0
  439. package/lib/esm/engine/errors/GraphPinningError.js.map +1 -0
  440. package/lib/esm/engine/errors/GraphPortError.js +15 -0
  441. package/lib/esm/engine/errors/GraphPortError.js.map +1 -0
  442. package/lib/esm/engine/errors/GraphRunCancelledError.js +13 -0
  443. package/lib/esm/engine/errors/GraphRunCancelledError.js.map +1 -0
  444. package/lib/esm/engine/errors/GraphStoreError.js +15 -0
  445. package/lib/esm/engine/errors/GraphStoreError.js.map +1 -0
  446. package/lib/esm/engine/errors/GraphTopologyError.js +15 -0
  447. package/lib/esm/engine/errors/GraphTopologyError.js.map +1 -0
  448. package/lib/esm/engine/errors/GraphWorkflowErrors.js +18 -0
  449. package/lib/esm/engine/errors/GraphWorkflowErrors.js.map +1 -0
  450. package/lib/esm/engine/errors/index.js +16 -0
  451. package/lib/esm/engine/errors/index.js.map +1 -0
  452. package/lib/esm/engine/events/GraphExecutionEventEmitter.js +35 -0
  453. package/lib/esm/engine/events/GraphExecutionEventEmitter.js.map +1 -0
  454. package/lib/esm/engine/events/GraphExecutionEventFactory.js +40 -0
  455. package/lib/esm/engine/events/GraphExecutionEventFactory.js.map +1 -0
  456. package/lib/esm/engine/events/GraphExecutionObserver.js +2 -0
  457. package/lib/esm/engine/events/GraphExecutionObserver.js.map +1 -0
  458. package/lib/esm/engine/events/index.js +9 -0
  459. package/lib/esm/engine/events/index.js.map +1 -0
  460. package/lib/esm/engine/execution/CodeSandboxEvaluator.js +18 -0
  461. package/lib/esm/engine/execution/CodeSandboxEvaluator.js.map +1 -0
  462. package/lib/esm/engine/execution/GraphExecutionContext.js +154 -0
  463. package/lib/esm/engine/execution/GraphExecutionContext.js.map +1 -0
  464. package/lib/esm/engine/execution/GraphExecutionEngine.js +1037 -0
  465. package/lib/esm/engine/execution/GraphExecutionEngine.js.map +1 -0
  466. package/lib/esm/engine/execution/GraphExecutionFrame.js +45 -0
  467. package/lib/esm/engine/execution/GraphExecutionFrame.js.map +1 -0
  468. package/lib/esm/engine/execution/GraphExecutionResult.js +26 -0
  469. package/lib/esm/engine/execution/GraphExecutionResult.js.map +1 -0
  470. package/lib/esm/engine/execution/GraphNodeExecutor.js +2 -0
  471. package/lib/esm/engine/execution/GraphNodeExecutor.js.map +1 -0
  472. package/lib/esm/engine/execution/IsolatedVmCodeSandboxEvaluator.js +533 -0
  473. package/lib/esm/engine/execution/IsolatedVmCodeSandboxEvaluator.js.map +1 -0
  474. package/lib/esm/engine/execution/index.js +13 -0
  475. package/lib/esm/engine/execution/index.js.map +1 -0
  476. package/lib/esm/engine/index.js +67 -0
  477. package/lib/esm/engine/index.js.map +1 -0
  478. package/lib/esm/engine/loops/ConditionExpressionEvaluator.js +82 -0
  479. package/lib/esm/engine/loops/ConditionExpressionEvaluator.js.map +1 -0
  480. package/lib/esm/engine/loops/GraphConditionEvaluator.js +82 -0
  481. package/lib/esm/engine/loops/GraphConditionEvaluator.js.map +1 -0
  482. package/lib/esm/engine/loops/GraphLoopExecutionContext.js +11 -0
  483. package/lib/esm/engine/loops/GraphLoopExecutionContext.js.map +1 -0
  484. package/lib/esm/engine/loops/index.js +9 -0
  485. package/lib/esm/engine/loops/index.js.map +1 -0
  486. package/lib/esm/engine/pinning/GraphPinningDependencyResolver.js +23 -0
  487. package/lib/esm/engine/pinning/GraphPinningDependencyResolver.js.map +1 -0
  488. package/lib/esm/engine/pinning/GraphPinningMetadata.js +15 -0
  489. package/lib/esm/engine/pinning/GraphPinningMetadata.js.map +1 -0
  490. package/lib/esm/engine/pinning/GraphPinningPolicy.js +29 -0
  491. package/lib/esm/engine/pinning/GraphPinningPolicy.js.map +1 -0
  492. package/lib/esm/engine/pinning/GraphPinningService.js +215 -0
  493. package/lib/esm/engine/pinning/GraphPinningService.js.map +1 -0
  494. package/lib/esm/engine/pinning/index.js +10 -0
  495. package/lib/esm/engine/pinning/index.js.map +1 -0
  496. package/lib/esm/engine/planning/GraphExecutionPlan.js +2 -0
  497. package/lib/esm/engine/planning/GraphExecutionPlan.js.map +1 -0
  498. package/lib/esm/engine/planning/GraphExecutionPlanEdge.js +9 -0
  499. package/lib/esm/engine/planning/GraphExecutionPlanEdge.js.map +1 -0
  500. package/lib/esm/engine/planning/GraphExecutionPlanLayer.js +2 -0
  501. package/lib/esm/engine/planning/GraphExecutionPlanLayer.js.map +1 -0
  502. package/lib/esm/engine/planning/GraphExecutionPlanNode.js +2 -0
  503. package/lib/esm/engine/planning/GraphExecutionPlanNode.js.map +1 -0
  504. package/lib/esm/engine/planning/GraphExecutionPlanner.js +203 -0
  505. package/lib/esm/engine/planning/GraphExecutionPlanner.js.map +1 -0
  506. package/lib/esm/engine/planning/GraphTopology.js +52 -0
  507. package/lib/esm/engine/planning/GraphTopology.js.map +1 -0
  508. package/lib/esm/engine/planning/index.js +12 -0
  509. package/lib/esm/engine/planning/index.js.map +1 -0
  510. package/lib/esm/engine/registry/GraphNodeExecutorRegistry.js +91 -0
  511. package/lib/esm/engine/registry/GraphNodeExecutorRegistry.js.map +1 -0
  512. package/lib/esm/engine/registry/GraphNodeExecutorResolver.js +50 -0
  513. package/lib/esm/engine/registry/GraphNodeExecutorResolver.js.map +1 -0
  514. package/lib/esm/engine/registry/index.js +8 -0
  515. package/lib/esm/engine/registry/index.js.map +1 -0
  516. package/lib/esm/engine/runs/GraphRunConverters.js +53 -0
  517. package/lib/esm/engine/runs/GraphRunConverters.js.map +1 -0
  518. package/lib/esm/engine/runs/GraphRunEventPublisher.js +64 -0
  519. package/lib/esm/engine/runs/GraphRunEventPublisher.js.map +1 -0
  520. package/lib/esm/engine/runs/GraphRunExecutor.js +286 -0
  521. package/lib/esm/engine/runs/GraphRunExecutor.js.map +1 -0
  522. package/lib/esm/engine/runs/GraphRunFingerprint.js +25 -0
  523. package/lib/esm/engine/runs/GraphRunFingerprint.js.map +1 -0
  524. package/lib/esm/engine/runs/GraphRunService.js +267 -0
  525. package/lib/esm/engine/runs/GraphRunService.js.map +1 -0
  526. package/lib/esm/engine/runs/InMemoryGraphRunEventStore.js +64 -0
  527. package/lib/esm/engine/runs/InMemoryGraphRunEventStore.js.map +1 -0
  528. package/lib/esm/engine/runs/InMemoryGraphRunStore.js +21 -0
  529. package/lib/esm/engine/runs/InMemoryGraphRunStore.js.map +1 -0
  530. package/lib/esm/engine/runs/index.js +12 -0
  531. package/lib/esm/engine/runs/index.js.map +1 -0
  532. package/lib/esm/engine/runs/ownership.js +30 -0
  533. package/lib/esm/engine/runs/ownership.js.map +1 -0
  534. package/lib/esm/engine/runs/types.js +2 -0
  535. package/lib/esm/engine/runs/types.js.map +1 -0
  536. package/lib/esm/engine/services/GraphEnvironment.js +28 -0
  537. package/lib/esm/engine/services/GraphEnvironment.js.map +1 -0
  538. package/lib/esm/engine/services/GraphRunModelService.js +86 -0
  539. package/lib/esm/engine/services/GraphRunModelService.js.map +1 -0
  540. package/lib/esm/engine/services/GraphWorkflowService.js +280 -0
  541. package/lib/esm/engine/services/GraphWorkflowService.js.map +1 -0
  542. package/lib/esm/engine/snapshots/GraphExecutionSnapshotMapper.js +48 -0
  543. package/lib/esm/engine/snapshots/GraphExecutionSnapshotMapper.js.map +1 -0
  544. package/lib/esm/engine/snapshots/index.js +7 -0
  545. package/lib/esm/engine/snapshots/index.js.map +1 -0
  546. package/lib/esm/engine/store/GraphCachedValue.js +2 -0
  547. package/lib/esm/engine/store/GraphCachedValue.js.map +1 -0
  548. package/lib/esm/engine/store/GraphValueKey.js +7 -0
  549. package/lib/esm/engine/store/GraphValueKey.js.map +1 -0
  550. package/lib/esm/engine/store/GraphValueModel.js +87 -0
  551. package/lib/esm/engine/store/GraphValueModel.js.map +1 -0
  552. package/lib/esm/engine/store/GraphValueRepository.js +233 -0
  553. package/lib/esm/engine/store/GraphValueRepository.js.map +1 -0
  554. package/lib/esm/engine/store/index.js +11 -0
  555. package/lib/esm/engine/store/index.js.map +1 -0
  556. package/lib/esm/engine/types.js +2 -0
  557. package/lib/esm/engine/types.js.map +1 -0
  558. package/lib/esm/engine/validation/GraphConnectionPolicyValidator.js +137 -0
  559. package/lib/esm/engine/validation/GraphConnectionPolicyValidator.js.map +1 -0
  560. package/lib/esm/engine/validation/GraphCredentialReferenceValidator.js +155 -0
  561. package/lib/esm/engine/validation/GraphCredentialReferenceValidator.js.map +1 -0
  562. package/lib/esm/engine/validation/GraphEdgeInstanceValidator.js +161 -0
  563. package/lib/esm/engine/validation/GraphEdgeInstanceValidator.js.map +1 -0
  564. package/lib/esm/engine/validation/GraphLooseNodeValidation.js +32 -0
  565. package/lib/esm/engine/validation/GraphLooseNodeValidation.js.map +1 -0
  566. package/lib/esm/engine/validation/GraphNodeInstanceValidator.js +81 -0
  567. package/lib/esm/engine/validation/GraphNodeInstanceValidator.js.map +1 -0
  568. package/lib/esm/engine/validation/GraphParameterValidator.js +458 -0
  569. package/lib/esm/engine/validation/GraphParameterValidator.js.map +1 -0
  570. package/lib/esm/engine/validation/GraphPortSchemaResolver.js +53 -0
  571. package/lib/esm/engine/validation/GraphPortSchemaResolver.js.map +1 -0
  572. package/lib/esm/engine/validation/GraphResolvedWorkflow.js +2 -0
  573. package/lib/esm/engine/validation/GraphResolvedWorkflow.js.map +1 -0
  574. package/lib/esm/engine/validation/GraphValidationErrors.js +43 -0
  575. package/lib/esm/engine/validation/GraphValidationErrors.js.map +1 -0
  576. package/lib/esm/engine/validation/GraphValidationIssue.js +2 -0
  577. package/lib/esm/engine/validation/GraphValidationIssue.js.map +1 -0
  578. package/lib/esm/engine/validation/GraphValueValidator.js +47 -0
  579. package/lib/esm/engine/validation/GraphValueValidator.js.map +1 -0
  580. package/lib/esm/engine/validation/GraphWorkflowBoundaryValidation.js +166 -0
  581. package/lib/esm/engine/validation/GraphWorkflowBoundaryValidation.js.map +1 -0
  582. package/lib/esm/engine/validation/GraphWorkflowDocumentLimits.js +8 -0
  583. package/lib/esm/engine/validation/GraphWorkflowDocumentLimits.js.map +1 -0
  584. package/lib/esm/engine/validation/GraphWorkflowDocumentValidator.js +512 -0
  585. package/lib/esm/engine/validation/GraphWorkflowDocumentValidator.js.map +1 -0
  586. package/lib/esm/engine/validation/index.js +22 -0
  587. package/lib/esm/engine/validation/index.js.map +1 -0
  588. package/lib/esm/index.js +14 -0
  589. package/lib/esm/index.js.map +1 -0
  590. package/lib/esm/log/GraphRunLogger.js +179 -0
  591. package/lib/esm/log/GraphRunLogger.js.map +1 -0
  592. package/lib/esm/log/LogParameters.js +111 -0
  593. package/lib/esm/log/LogParameters.js.map +1 -0
  594. package/lib/esm/nest/graph/GraphExecutionModule.js +287 -0
  595. package/lib/esm/nest/graph/GraphExecutionModule.js.map +1 -0
  596. package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js +106 -0
  597. package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js.map +1 -0
  598. package/lib/esm/nest/graph/GraphNodeCatalogueController.js +279 -0
  599. package/lib/esm/nest/graph/GraphNodeCatalogueController.js.map +1 -0
  600. package/lib/esm/nest/graph/GraphRunController.js +298 -0
  601. package/lib/esm/nest/graph/GraphRunController.js.map +1 -0
  602. package/lib/esm/nest/graph/GraphWorkflowController.js +179 -0
  603. package/lib/esm/nest/graph/GraphWorkflowController.js.map +1 -0
  604. package/lib/esm/nest/graph/index.js +13 -0
  605. package/lib/esm/nest/graph/index.js.map +1 -0
  606. package/lib/esm/nest/index.js +11 -0
  607. package/lib/esm/nest/index.js.map +1 -0
  608. package/lib/esm/node/agents/agent/node.js +112 -0
  609. package/lib/esm/node/agents/agent/node.js.map +1 -0
  610. package/lib/esm/node/base.js +132 -0
  611. package/lib/esm/node/base.js.map +1 -0
  612. package/lib/esm/node/boundary/input/node.js +61 -0
  613. package/lib/esm/node/boundary/input/node.js.map +1 -0
  614. package/lib/esm/node/boundary/output/node.js +64 -0
  615. package/lib/esm/node/boundary/output/node.js.map +1 -0
  616. package/lib/esm/node/flow/break/node.js +71 -0
  617. package/lib/esm/node/flow/break/node.js.map +1 -0
  618. package/lib/esm/node/flow/error-boundary/node.js +134 -0
  619. package/lib/esm/node/flow/error-boundary/node.js.map +1 -0
  620. package/lib/esm/node/flow/human-approval/node.js +85 -0
  621. package/lib/esm/node/flow/human-approval/node.js.map +1 -0
  622. package/lib/esm/node/flow/if/node.js +121 -0
  623. package/lib/esm/node/flow/if/node.js.map +1 -0
  624. package/lib/esm/node/flow/loop/foreach/node.js +238 -0
  625. package/lib/esm/node/flow/loop/foreach/node.js.map +1 -0
  626. package/lib/esm/node/flow/loop/loop-metadata.js +78 -0
  627. package/lib/esm/node/flow/loop/loop-metadata.js.map +1 -0
  628. package/lib/esm/node/flow/loop/until/node.js +186 -0
  629. package/lib/esm/node/flow/loop/until/node.js.map +1 -0
  630. package/lib/esm/node/flow/loop/while/node.js +182 -0
  631. package/lib/esm/node/flow/loop/while/node.js.map +1 -0
  632. package/lib/esm/node/flow/switch/node.js +247 -0
  633. package/lib/esm/node/flow/switch/node.js.map +1 -0
  634. package/lib/esm/node/index.js +140 -0
  635. package/lib/esm/node/index.js.map +1 -0
  636. package/lib/esm/node/manifests.js +256 -0
  637. package/lib/esm/node/manifests.js.map +1 -0
  638. package/lib/esm/node/triggers/chat/node.js +73 -0
  639. package/lib/esm/node/triggers/chat/node.js.map +1 -0
  640. package/lib/esm/node/triggers/event/node.js +58 -0
  641. package/lib/esm/node/triggers/event/node.js.map +1 -0
  642. package/lib/esm/node/triggers/form/node.js +71 -0
  643. package/lib/esm/node/triggers/form/node.js.map +1 -0
  644. package/lib/esm/node/triggers/manual/node.js +62 -0
  645. package/lib/esm/node/triggers/manual/node.js.map +1 -0
  646. package/lib/esm/node/triggers/schedule/node.js +71 -0
  647. package/lib/esm/node/triggers/schedule/node.js.map +1 -0
  648. package/lib/esm/node/triggers/webhook/node.js +75 -0
  649. package/lib/esm/node/triggers/webhook/node.js.map +1 -0
  650. package/lib/esm/node/utility/code/node.js +213 -0
  651. package/lib/esm/node/utility/code/node.js.map +1 -0
  652. package/lib/esm/node/utility/delay/node.js +72 -0
  653. package/lib/esm/node/utility/delay/node.js.map +1 -0
  654. package/lib/esm/node/utility/log/node.js +89 -0
  655. package/lib/esm/node/utility/log/node.js.map +1 -0
  656. package/lib/esm/node/utility/map/node.js +66 -0
  657. package/lib/esm/node/utility/map/node.js.map +1 -0
  658. package/lib/esm/node/utility/utility-log/node.js +87 -0
  659. package/lib/esm/node/utility/utility-log/node.js.map +1 -0
  660. package/lib/esm/ram/GraphRunEventModel.js +123 -0
  661. package/lib/esm/ram/GraphRunEventModel.js.map +1 -0
  662. package/lib/esm/ram/GraphRunEventStore.js +131 -0
  663. package/lib/esm/ram/GraphRunEventStore.js.map +1 -0
  664. package/lib/esm/ram/GraphRunStore.js +88 -0
  665. package/lib/esm/ram/GraphRunStore.js.map +1 -0
  666. package/lib/esm/ram/index.js +39 -0
  667. package/lib/esm/ram/index.js.map +1 -0
  668. package/lib/esm/shared/graph/GraphExecutionStateMapper.js +91 -0
  669. package/lib/esm/shared/graph/GraphExecutionStateMapper.js.map +1 -0
  670. package/lib/esm/shared/graph/GraphResolution.js +17 -0
  671. package/lib/esm/shared/graph/GraphResolution.js.map +1 -0
  672. package/lib/esm/shared/graph/GraphRunModel.js +131 -0
  673. package/lib/esm/shared/graph/GraphRunModel.js.map +1 -0
  674. package/lib/esm/shared/graph/GraphWorkflowModel.js +57 -0
  675. package/lib/esm/shared/graph/GraphWorkflowModel.js.map +1 -0
  676. package/lib/esm/shared/graph/auth.js +97 -0
  677. package/lib/esm/shared/graph/auth.js.map +1 -0
  678. package/lib/esm/shared/graph/catalog/GraphConnectionPolicy.js +20 -0
  679. package/lib/esm/shared/graph/catalog/GraphConnectionPolicy.js.map +1 -0
  680. package/lib/esm/shared/graph/catalog/GraphCredentialReference.js +13 -0
  681. package/lib/esm/shared/graph/catalog/GraphCredentialReference.js.map +1 -0
  682. package/lib/esm/shared/graph/catalog/GraphCredentialRequirement.js +16 -0
  683. package/lib/esm/shared/graph/catalog/GraphCredentialRequirement.js.map +1 -0
  684. package/lib/esm/shared/graph/catalog/GraphDynamicPortRule.js +36 -0
  685. package/lib/esm/shared/graph/catalog/GraphDynamicPortRule.js.map +1 -0
  686. package/lib/esm/shared/graph/catalog/GraphIconReference.js +22 -0
  687. package/lib/esm/shared/graph/catalog/GraphIconReference.js.map +1 -0
  688. package/lib/esm/shared/graph/catalog/GraphManifestCompiler.js +386 -0
  689. package/lib/esm/shared/graph/catalog/GraphManifestCompiler.js.map +1 -0
  690. package/lib/esm/shared/graph/catalog/GraphNodeCapability.js +28 -0
  691. package/lib/esm/shared/graph/catalog/GraphNodeCapability.js.map +1 -0
  692. package/lib/esm/shared/graph/catalog/GraphNodeDisplayManifest.js +11 -0
  693. package/lib/esm/shared/graph/catalog/GraphNodeDisplayManifest.js.map +1 -0
  694. package/lib/esm/shared/graph/catalog/GraphNodeManifest.js +27 -0
  695. package/lib/esm/shared/graph/catalog/GraphNodeManifest.js.map +1 -0
  696. package/lib/esm/shared/graph/catalog/GraphNodeManifestSerialization.js +57 -0
  697. package/lib/esm/shared/graph/catalog/GraphNodeManifestSerialization.js.map +1 -0
  698. package/lib/esm/shared/graph/catalog/GraphNodeMethodManifest.js +34 -0
  699. package/lib/esm/shared/graph/catalog/GraphNodeMethodManifest.js.map +1 -0
  700. package/lib/esm/shared/graph/catalog/GraphNodePolicyManifest.js +14 -0
  701. package/lib/esm/shared/graph/catalog/GraphNodePolicyManifest.js.map +1 -0
  702. package/lib/esm/shared/graph/catalog/GraphParameterBase.js +2 -0
  703. package/lib/esm/shared/graph/catalog/GraphParameterBase.js.map +1 -0
  704. package/lib/esm/shared/graph/catalog/GraphParameterDefinition.js +34 -0
  705. package/lib/esm/shared/graph/catalog/GraphParameterDefinition.js.map +1 -0
  706. package/lib/esm/shared/graph/catalog/GraphParameterOption.js +21 -0
  707. package/lib/esm/shared/graph/catalog/GraphParameterOption.js.map +1 -0
  708. package/lib/esm/shared/graph/catalog/GraphParameterValidation.js +65 -0
  709. package/lib/esm/shared/graph/catalog/GraphParameterValidation.js.map +1 -0
  710. package/lib/esm/shared/graph/catalog/GraphPortManifest.js +26 -0
  711. package/lib/esm/shared/graph/catalog/GraphPortManifest.js.map +1 -0
  712. package/lib/esm/shared/graph/catalog/GraphPortManifestElement.js +15 -0
  713. package/lib/esm/shared/graph/catalog/GraphPortManifestElement.js.map +1 -0
  714. package/lib/esm/shared/graph/catalog/GraphResourceLocatorMode.js +24 -0
  715. package/lib/esm/shared/graph/catalog/GraphResourceLocatorMode.js.map +1 -0
  716. package/lib/esm/shared/graph/catalog/GraphValueSchema.js +30 -0
  717. package/lib/esm/shared/graph/catalog/GraphValueSchema.js.map +1 -0
  718. package/lib/esm/shared/graph/catalog/GraphValueSchemaDerivation.js +178 -0
  719. package/lib/esm/shared/graph/catalog/GraphValueSchemaDerivation.js.map +1 -0
  720. package/lib/esm/shared/graph/catalog/GraphVisibilityExpression.js +65 -0
  721. package/lib/esm/shared/graph/catalog/GraphVisibilityExpression.js.map +1 -0
  722. package/lib/esm/shared/graph/catalog/index.js +26 -0
  723. package/lib/esm/shared/graph/catalog/index.js.map +1 -0
  724. package/lib/esm/shared/graph/category-styles.js +34 -0
  725. package/lib/esm/shared/graph/category-styles.js.map +1 -0
  726. package/lib/esm/shared/graph/constants.js +354 -0
  727. package/lib/esm/shared/graph/constants.js.map +1 -0
  728. package/lib/esm/shared/graph/decorators.js +194 -0
  729. package/lib/esm/shared/graph/decorators.js.map +1 -0
  730. package/lib/esm/shared/graph/document/GraphDecoratedWorkflowCompiler.js +401 -0
  731. package/lib/esm/shared/graph/document/GraphDecoratedWorkflowCompiler.js.map +1 -0
  732. package/lib/esm/shared/graph/document/GraphEdgeInstance.js +2 -0
  733. package/lib/esm/shared/graph/document/GraphEdgeInstance.js.map +1 -0
  734. package/lib/esm/shared/graph/document/GraphEndpoint.js +33 -0
  735. package/lib/esm/shared/graph/document/GraphEndpoint.js.map +1 -0
  736. package/lib/esm/shared/graph/document/GraphErrorBoundaryConfiguration.js +2 -0
  737. package/lib/esm/shared/graph/document/GraphErrorBoundaryConfiguration.js.map +1 -0
  738. package/lib/esm/shared/graph/document/GraphFlowBuilder.js +766 -0
  739. package/lib/esm/shared/graph/document/GraphFlowBuilder.js.map +1 -0
  740. package/lib/esm/shared/graph/document/GraphJsonValue.js +94 -0
  741. package/lib/esm/shared/graph/document/GraphJsonValue.js.map +1 -0
  742. package/lib/esm/shared/graph/document/GraphLoopConfiguration.js +2 -0
  743. package/lib/esm/shared/graph/document/GraphLoopConfiguration.js.map +1 -0
  744. package/lib/esm/shared/graph/document/GraphNodeBinding.js +30 -0
  745. package/lib/esm/shared/graph/document/GraphNodeBinding.js.map +1 -0
  746. package/lib/esm/shared/graph/document/GraphNodeDerivation.js +143 -0
  747. package/lib/esm/shared/graph/document/GraphNodeDerivation.js.map +1 -0
  748. package/lib/esm/shared/graph/document/GraphNodeInstance.js +2 -0
  749. package/lib/esm/shared/graph/document/GraphNodeInstance.js.map +1 -0
  750. package/lib/esm/shared/graph/document/GraphValueTemplate.js +88 -0
  751. package/lib/esm/shared/graph/document/GraphValueTemplate.js.map +1 -0
  752. package/lib/esm/shared/graph/document/GraphWorkflowDocument.js +23 -0
  753. package/lib/esm/shared/graph/document/GraphWorkflowDocument.js.map +1 -0
  754. package/lib/esm/shared/graph/document/GraphWorkflowDocumentBuilder.js +433 -0
  755. package/lib/esm/shared/graph/document/GraphWorkflowDocumentBuilder.js.map +1 -0
  756. package/lib/esm/shared/graph/document/GraphWorkflowDocumentReader.js +103 -0
  757. package/lib/esm/shared/graph/document/GraphWorkflowDocumentReader.js.map +1 -0
  758. package/lib/esm/shared/graph/document/GraphWorkflowDocumentSerializer.js +75 -0
  759. package/lib/esm/shared/graph/document/GraphWorkflowDocumentSerializer.js.map +1 -0
  760. package/lib/esm/shared/graph/document/GraphWorkflowUiState.js +2 -0
  761. package/lib/esm/shared/graph/document/GraphWorkflowUiState.js.map +1 -0
  762. package/lib/esm/shared/graph/document/index.js +20 -0
  763. package/lib/esm/shared/graph/document/index.js.map +1 -0
  764. package/lib/esm/shared/graph/index.js +22 -0
  765. package/lib/esm/shared/graph/index.js.map +1 -0
  766. package/lib/esm/shared/graph/overrides/Metadata.js +20 -0
  767. package/lib/esm/shared/graph/overrides/Metadata.js.map +1 -0
  768. package/lib/esm/shared/graph/overrides/Rendering.js +2 -0
  769. package/lib/esm/shared/graph/overrides/Rendering.js.map +1 -0
  770. package/lib/esm/shared/graph/overrides/index.js +7 -0
  771. package/lib/esm/shared/graph/overrides/index.js.map +1 -0
  772. package/lib/esm/shared/graph/overrides/overrides.js +17 -0
  773. package/lib/esm/shared/graph/overrides/overrides.js.map +1 -0
  774. package/lib/esm/shared/graph/reader.js +376 -0
  775. package/lib/esm/shared/graph/reader.js.map +1 -0
  776. package/lib/esm/shared/graph/registry.js +59 -0
  777. package/lib/esm/shared/graph/registry.js.map +1 -0
  778. package/lib/esm/shared/graph/snapshot.js +2 -0
  779. package/lib/esm/shared/graph/snapshot.js.map +1 -0
  780. package/lib/esm/shared/graph/types.js +2 -0
  781. package/lib/esm/shared/graph/types.js.map +1 -0
  782. package/lib/esm/shared/index.js +13 -0
  783. package/lib/esm/shared/index.js.map +1 -0
  784. package/lib/esm/shared/ui/GraphNodeView.js +107 -0
  785. package/lib/esm/shared/ui/GraphNodeView.js.map +1 -0
  786. package/lib/esm/shared/ui/GraphRunView.js +90 -0
  787. package/lib/esm/shared/ui/GraphRunView.js.map +1 -0
  788. package/lib/esm/shared/ui/GraphWorkflowView.js +72 -0
  789. package/lib/esm/shared/ui/GraphWorkflowView.js.map +1 -0
  790. package/lib/esm/shared/ui/constants.js +69 -0
  791. package/lib/esm/shared/ui/constants.js.map +1 -0
  792. package/lib/esm/shared/ui/index.js +15 -0
  793. package/lib/esm/shared/ui/index.js.map +1 -0
  794. package/lib/esm/shared/ui/types.js +2 -0
  795. package/lib/esm/shared/ui/types.js.map +1 -0
  796. package/lib/types/engine/auth/GraphAuth.d.cts +84 -0
  797. package/lib/types/engine/auth/GraphAuth.d.mts +84 -0
  798. package/lib/types/engine/auth/GraphAuthValidator.d.cts +57 -0
  799. package/lib/types/engine/auth/GraphAuthValidator.d.mts +57 -0
  800. package/lib/types/engine/auth/GraphNamespace.d.cts +38 -0
  801. package/lib/types/engine/auth/GraphNamespace.d.mts +38 -0
  802. package/lib/types/engine/auth/index.d.cts +7 -0
  803. package/lib/types/engine/auth/index.d.mts +7 -0
  804. package/lib/types/engine/catalog/GraphBuiltInRegistrations.d.cts +26 -0
  805. package/lib/types/engine/catalog/GraphBuiltInRegistrations.d.mts +26 -0
  806. package/lib/types/engine/catalog/GraphCatalogueErrors.d.cts +13 -0
  807. package/lib/types/engine/catalog/GraphCatalogueErrors.d.mts +13 -0
  808. package/lib/types/engine/catalog/GraphNodeCatalogue.d.cts +86 -0
  809. package/lib/types/engine/catalog/GraphNodeCatalogue.d.mts +86 -0
  810. package/lib/types/engine/catalog/GraphNodeManifestResolver.d.cts +57 -0
  811. package/lib/types/engine/catalog/GraphNodeManifestResolver.d.mts +57 -0
  812. package/lib/types/engine/catalog/GraphNodeMethodRegistry.d.cts +22 -0
  813. package/lib/types/engine/catalog/GraphNodeMethodRegistry.d.mts +22 -0
  814. package/lib/types/engine/catalog/GraphNodeRegistration.d.cts +68 -0
  815. package/lib/types/engine/catalog/GraphNodeRegistration.d.mts +68 -0
  816. package/lib/types/engine/catalog/index.d.cts +9 -0
  817. package/lib/types/engine/catalog/index.d.mts +9 -0
  818. package/lib/types/engine/constants.d.cts +79 -0
  819. package/lib/types/engine/constants.d.mts +79 -0
  820. package/lib/types/engine/decorators.d.cts +6 -0
  821. package/lib/types/engine/decorators.d.mts +6 -0
  822. package/lib/types/engine/errors/GraphBreakSignal.d.cts +28 -0
  823. package/lib/types/engine/errors/GraphBreakSignal.d.mts +28 -0
  824. package/lib/types/engine/errors/GraphCycleError.d.cts +12 -0
  825. package/lib/types/engine/errors/GraphCycleError.d.mts +12 -0
  826. package/lib/types/engine/errors/GraphExecutionError.d.cts +19 -0
  827. package/lib/types/engine/errors/GraphExecutionError.d.mts +19 -0
  828. package/lib/types/engine/errors/GraphInputError.d.cts +12 -0
  829. package/lib/types/engine/errors/GraphInputError.d.mts +12 -0
  830. package/lib/types/engine/errors/GraphLoopLimitError.d.cts +12 -0
  831. package/lib/types/engine/errors/GraphLoopLimitError.d.mts +12 -0
  832. package/lib/types/engine/errors/GraphPinningError.d.cts +12 -0
  833. package/lib/types/engine/errors/GraphPinningError.d.mts +12 -0
  834. package/lib/types/engine/errors/GraphPortError.d.cts +12 -0
  835. package/lib/types/engine/errors/GraphPortError.d.mts +12 -0
  836. package/lib/types/engine/errors/GraphRunCancelledError.d.cts +9 -0
  837. package/lib/types/engine/errors/GraphRunCancelledError.d.mts +9 -0
  838. package/lib/types/engine/errors/GraphStoreError.d.cts +12 -0
  839. package/lib/types/engine/errors/GraphStoreError.d.mts +12 -0
  840. package/lib/types/engine/errors/GraphTopologyError.d.cts +12 -0
  841. package/lib/types/engine/errors/GraphTopologyError.d.mts +12 -0
  842. package/lib/types/engine/errors/GraphWorkflowErrors.d.cts +14 -0
  843. package/lib/types/engine/errors/GraphWorkflowErrors.d.mts +14 -0
  844. package/lib/types/engine/errors/index.d.cts +15 -0
  845. package/lib/types/engine/errors/index.d.mts +15 -0
  846. package/lib/types/engine/events/GraphExecutionEventEmitter.d.cts +26 -0
  847. package/lib/types/engine/events/GraphExecutionEventEmitter.d.mts +26 -0
  848. package/lib/types/engine/events/GraphExecutionEventFactory.d.cts +29 -0
  849. package/lib/types/engine/events/GraphExecutionEventFactory.d.mts +29 -0
  850. package/lib/types/engine/events/GraphExecutionObserver.d.cts +17 -0
  851. package/lib/types/engine/events/GraphExecutionObserver.d.mts +17 -0
  852. package/lib/types/engine/events/index.d.cts +8 -0
  853. package/lib/types/engine/events/index.d.mts +8 -0
  854. package/lib/types/engine/execution/CodeSandboxEvaluator.d.cts +84 -0
  855. package/lib/types/engine/execution/CodeSandboxEvaluator.d.mts +84 -0
  856. package/lib/types/engine/execution/GraphExecutionContext.d.cts +94 -0
  857. package/lib/types/engine/execution/GraphExecutionContext.d.mts +94 -0
  858. package/lib/types/engine/execution/GraphExecutionEngine.d.cts +352 -0
  859. package/lib/types/engine/execution/GraphExecutionEngine.d.mts +352 -0
  860. package/lib/types/engine/execution/GraphExecutionFrame.d.cts +50 -0
  861. package/lib/types/engine/execution/GraphExecutionFrame.d.mts +50 -0
  862. package/lib/types/engine/execution/GraphExecutionResult.d.cts +13 -0
  863. package/lib/types/engine/execution/GraphExecutionResult.d.mts +13 -0
  864. package/lib/types/engine/execution/GraphNodeExecutor.d.cts +31 -0
  865. package/lib/types/engine/execution/GraphNodeExecutor.d.mts +31 -0
  866. package/lib/types/engine/execution/IsolatedVmCodeSandboxEvaluator.d.cts +160 -0
  867. package/lib/types/engine/execution/IsolatedVmCodeSandboxEvaluator.d.mts +160 -0
  868. package/lib/types/engine/execution/index.d.cts +12 -0
  869. package/lib/types/engine/execution/index.d.mts +12 -0
  870. package/lib/types/engine/index.d.cts +60 -0
  871. package/lib/types/engine/index.d.mts +60 -0
  872. package/lib/types/engine/loops/ConditionExpressionEvaluator.d.cts +36 -0
  873. package/lib/types/engine/loops/ConditionExpressionEvaluator.d.mts +36 -0
  874. package/lib/types/engine/loops/GraphConditionEvaluator.d.cts +42 -0
  875. package/lib/types/engine/loops/GraphConditionEvaluator.d.mts +42 -0
  876. package/lib/types/engine/loops/GraphLoopExecutionContext.d.cts +15 -0
  877. package/lib/types/engine/loops/GraphLoopExecutionContext.d.mts +15 -0
  878. package/lib/types/engine/loops/index.d.cts +8 -0
  879. package/lib/types/engine/loops/index.d.mts +8 -0
  880. package/lib/types/engine/pinning/GraphPinningDependencyResolver.d.cts +21 -0
  881. package/lib/types/engine/pinning/GraphPinningDependencyResolver.d.mts +21 -0
  882. package/lib/types/engine/pinning/GraphPinningMetadata.d.cts +14 -0
  883. package/lib/types/engine/pinning/GraphPinningMetadata.d.mts +14 -0
  884. package/lib/types/engine/pinning/GraphPinningPolicy.d.cts +20 -0
  885. package/lib/types/engine/pinning/GraphPinningPolicy.d.mts +20 -0
  886. package/lib/types/engine/pinning/GraphPinningService.d.cts +70 -0
  887. package/lib/types/engine/pinning/GraphPinningService.d.mts +70 -0
  888. package/lib/types/engine/pinning/index.d.cts +9 -0
  889. package/lib/types/engine/pinning/index.d.mts +9 -0
  890. package/lib/types/engine/planning/GraphExecutionPlan.d.cts +25 -0
  891. package/lib/types/engine/planning/GraphExecutionPlan.d.mts +25 -0
  892. package/lib/types/engine/planning/GraphExecutionPlanEdge.d.cts +26 -0
  893. package/lib/types/engine/planning/GraphExecutionPlanEdge.d.mts +26 -0
  894. package/lib/types/engine/planning/GraphExecutionPlanLayer.d.cts +13 -0
  895. package/lib/types/engine/planning/GraphExecutionPlanLayer.d.mts +13 -0
  896. package/lib/types/engine/planning/GraphExecutionPlanNode.d.cts +28 -0
  897. package/lib/types/engine/planning/GraphExecutionPlanNode.d.mts +28 -0
  898. package/lib/types/engine/planning/GraphExecutionPlanner.d.cts +61 -0
  899. package/lib/types/engine/planning/GraphExecutionPlanner.d.mts +61 -0
  900. package/lib/types/engine/planning/GraphTopology.d.cts +23 -0
  901. package/lib/types/engine/planning/GraphTopology.d.mts +23 -0
  902. package/lib/types/engine/planning/index.d.cts +11 -0
  903. package/lib/types/engine/planning/index.d.mts +11 -0
  904. package/lib/types/engine/registry/GraphNodeExecutorRegistry.d.cts +44 -0
  905. package/lib/types/engine/registry/GraphNodeExecutorRegistry.d.mts +44 -0
  906. package/lib/types/engine/registry/GraphNodeExecutorResolver.d.cts +26 -0
  907. package/lib/types/engine/registry/GraphNodeExecutorResolver.d.mts +26 -0
  908. package/lib/types/engine/registry/index.d.cts +7 -0
  909. package/lib/types/engine/registry/index.d.mts +7 -0
  910. package/lib/types/engine/runs/GraphRunConverters.d.cts +6 -0
  911. package/lib/types/engine/runs/GraphRunConverters.d.mts +6 -0
  912. package/lib/types/engine/runs/GraphRunEventPublisher.d.cts +26 -0
  913. package/lib/types/engine/runs/GraphRunEventPublisher.d.mts +26 -0
  914. package/lib/types/engine/runs/GraphRunExecutor.d.cts +75 -0
  915. package/lib/types/engine/runs/GraphRunExecutor.d.mts +75 -0
  916. package/lib/types/engine/runs/GraphRunFingerprint.d.cts +8 -0
  917. package/lib/types/engine/runs/GraphRunFingerprint.d.mts +8 -0
  918. package/lib/types/engine/runs/GraphRunService.d.cts +101 -0
  919. package/lib/types/engine/runs/GraphRunService.d.mts +101 -0
  920. package/lib/types/engine/runs/InMemoryGraphRunEventStore.d.cts +28 -0
  921. package/lib/types/engine/runs/InMemoryGraphRunEventStore.d.mts +28 -0
  922. package/lib/types/engine/runs/InMemoryGraphRunStore.d.cts +12 -0
  923. package/lib/types/engine/runs/InMemoryGraphRunStore.d.mts +12 -0
  924. package/lib/types/engine/runs/index.d.cts +11 -0
  925. package/lib/types/engine/runs/index.d.mts +11 -0
  926. package/lib/types/engine/runs/ownership.d.cts +25 -0
  927. package/lib/types/engine/runs/ownership.d.mts +25 -0
  928. package/lib/types/engine/runs/types.d.cts +83 -0
  929. package/lib/types/engine/runs/types.d.mts +83 -0
  930. package/lib/types/engine/services/GraphEnvironment.d.cts +40 -0
  931. package/lib/types/engine/services/GraphEnvironment.d.mts +40 -0
  932. package/lib/types/engine/services/GraphRunModelService.d.cts +37 -0
  933. package/lib/types/engine/services/GraphRunModelService.d.mts +37 -0
  934. package/lib/types/engine/services/GraphWorkflowService.d.cts +102 -0
  935. package/lib/types/engine/services/GraphWorkflowService.d.mts +102 -0
  936. package/lib/types/engine/snapshots/GraphExecutionSnapshotMapper.d.cts +10 -0
  937. package/lib/types/engine/snapshots/GraphExecutionSnapshotMapper.d.mts +10 -0
  938. package/lib/types/engine/snapshots/index.d.cts +6 -0
  939. package/lib/types/engine/snapshots/index.d.mts +6 -0
  940. package/lib/types/engine/store/GraphCachedValue.d.cts +20 -0
  941. package/lib/types/engine/store/GraphCachedValue.d.mts +20 -0
  942. package/lib/types/engine/store/GraphValueKey.d.cts +18 -0
  943. package/lib/types/engine/store/GraphValueKey.d.mts +18 -0
  944. package/lib/types/engine/store/GraphValueModel.d.cts +33 -0
  945. package/lib/types/engine/store/GraphValueModel.d.mts +33 -0
  946. package/lib/types/engine/store/GraphValueRepository.d.cts +89 -0
  947. package/lib/types/engine/store/GraphValueRepository.d.mts +89 -0
  948. package/lib/types/engine/store/index.d.cts +10 -0
  949. package/lib/types/engine/store/index.d.mts +10 -0
  950. package/lib/types/engine/types.d.cts +231 -0
  951. package/lib/types/engine/types.d.mts +231 -0
  952. package/lib/types/engine/validation/GraphConnectionPolicyValidator.d.cts +32 -0
  953. package/lib/types/engine/validation/GraphConnectionPolicyValidator.d.mts +32 -0
  954. package/lib/types/engine/validation/GraphCredentialReferenceValidator.d.cts +62 -0
  955. package/lib/types/engine/validation/GraphCredentialReferenceValidator.d.mts +62 -0
  956. package/lib/types/engine/validation/GraphEdgeInstanceValidator.d.cts +32 -0
  957. package/lib/types/engine/validation/GraphEdgeInstanceValidator.d.mts +32 -0
  958. package/lib/types/engine/validation/GraphLooseNodeValidation.d.cts +21 -0
  959. package/lib/types/engine/validation/GraphLooseNodeValidation.d.mts +21 -0
  960. package/lib/types/engine/validation/GraphNodeInstanceValidator.d.cts +38 -0
  961. package/lib/types/engine/validation/GraphNodeInstanceValidator.d.mts +38 -0
  962. package/lib/types/engine/validation/GraphParameterValidator.d.cts +120 -0
  963. package/lib/types/engine/validation/GraphParameterValidator.d.mts +120 -0
  964. package/lib/types/engine/validation/GraphPortSchemaResolver.d.cts +39 -0
  965. package/lib/types/engine/validation/GraphPortSchemaResolver.d.mts +39 -0
  966. package/lib/types/engine/validation/GraphResolvedWorkflow.d.cts +66 -0
  967. package/lib/types/engine/validation/GraphResolvedWorkflow.d.mts +66 -0
  968. package/lib/types/engine/validation/GraphValidationErrors.d.cts +34 -0
  969. package/lib/types/engine/validation/GraphValidationErrors.d.mts +34 -0
  970. package/lib/types/engine/validation/GraphValidationIssue.d.cts +39 -0
  971. package/lib/types/engine/validation/GraphValidationIssue.d.mts +39 -0
  972. package/lib/types/engine/validation/GraphValueValidator.d.cts +27 -0
  973. package/lib/types/engine/validation/GraphValueValidator.d.mts +27 -0
  974. package/lib/types/engine/validation/GraphWorkflowBoundaryValidation.d.cts +29 -0
  975. package/lib/types/engine/validation/GraphWorkflowBoundaryValidation.d.mts +29 -0
  976. package/lib/types/engine/validation/GraphWorkflowDocumentLimits.d.cts +33 -0
  977. package/lib/types/engine/validation/GraphWorkflowDocumentLimits.d.mts +33 -0
  978. package/lib/types/engine/validation/GraphWorkflowDocumentValidator.d.cts +165 -0
  979. package/lib/types/engine/validation/GraphWorkflowDocumentValidator.d.mts +165 -0
  980. package/lib/types/engine/validation/index.d.cts +21 -0
  981. package/lib/types/engine/validation/index.d.mts +21 -0
  982. package/lib/types/index.d.cts +13 -0
  983. package/lib/types/index.d.mts +13 -0
  984. package/lib/types/log/GraphRunLogger.d.cts +96 -0
  985. package/lib/types/log/GraphRunLogger.d.mts +96 -0
  986. package/lib/types/log/LogParameters.d.cts +7 -0
  987. package/lib/types/log/LogParameters.d.mts +7 -0
  988. package/lib/types/nest/graph/GraphExecutionModule.d.cts +134 -0
  989. package/lib/types/nest/graph/GraphExecutionModule.d.mts +134 -0
  990. package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.cts +76 -0
  991. package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.mts +76 -0
  992. package/lib/types/nest/graph/GraphNodeCatalogueController.d.cts +118 -0
  993. package/lib/types/nest/graph/GraphNodeCatalogueController.d.mts +118 -0
  994. package/lib/types/nest/graph/GraphRunController.d.cts +118 -0
  995. package/lib/types/nest/graph/GraphRunController.d.mts +118 -0
  996. package/lib/types/nest/graph/GraphWorkflowController.d.cts +88 -0
  997. package/lib/types/nest/graph/GraphWorkflowController.d.mts +88 -0
  998. package/lib/types/nest/graph/index.d.cts +12 -0
  999. package/lib/types/nest/graph/index.d.mts +12 -0
  1000. package/lib/types/nest/index.d.cts +10 -0
  1001. package/lib/types/nest/index.d.mts +10 -0
  1002. package/lib/types/node/agents/agent/node.d.cts +51 -0
  1003. package/lib/types/node/agents/agent/node.d.mts +51 -0
  1004. package/lib/types/node/base.d.cts +131 -0
  1005. package/lib/types/node/base.d.mts +131 -0
  1006. package/lib/types/node/boundary/input/node.d.cts +20 -0
  1007. package/lib/types/node/boundary/input/node.d.mts +20 -0
  1008. package/lib/types/node/boundary/output/node.d.cts +20 -0
  1009. package/lib/types/node/boundary/output/node.d.mts +20 -0
  1010. package/lib/types/node/flow/break/node.d.cts +22 -0
  1011. package/lib/types/node/flow/break/node.d.mts +22 -0
  1012. package/lib/types/node/flow/error-boundary/node.d.cts +40 -0
  1013. package/lib/types/node/flow/error-boundary/node.d.mts +40 -0
  1014. package/lib/types/node/flow/human-approval/node.d.cts +32 -0
  1015. package/lib/types/node/flow/human-approval/node.d.mts +32 -0
  1016. package/lib/types/node/flow/if/node.d.cts +34 -0
  1017. package/lib/types/node/flow/if/node.d.mts +34 -0
  1018. package/lib/types/node/flow/loop/foreach/node.d.cts +43 -0
  1019. package/lib/types/node/flow/loop/foreach/node.d.mts +43 -0
  1020. package/lib/types/node/flow/loop/loop-metadata.d.cts +61 -0
  1021. package/lib/types/node/flow/loop/loop-metadata.d.mts +61 -0
  1022. package/lib/types/node/flow/loop/until/node.d.cts +38 -0
  1023. package/lib/types/node/flow/loop/until/node.d.mts +38 -0
  1024. package/lib/types/node/flow/loop/while/node.d.cts +37 -0
  1025. package/lib/types/node/flow/loop/while/node.d.mts +37 -0
  1026. package/lib/types/node/flow/switch/node.d.cts +47 -0
  1027. package/lib/types/node/flow/switch/node.d.mts +47 -0
  1028. package/lib/types/node/index.d.cts +90 -0
  1029. package/lib/types/node/index.d.mts +90 -0
  1030. package/lib/types/node/manifests.d.cts +23 -0
  1031. package/lib/types/node/manifests.d.mts +23 -0
  1032. package/lib/types/node/triggers/chat/node.d.cts +29 -0
  1033. package/lib/types/node/triggers/chat/node.d.mts +29 -0
  1034. package/lib/types/node/triggers/event/node.d.cts +22 -0
  1035. package/lib/types/node/triggers/event/node.d.mts +22 -0
  1036. package/lib/types/node/triggers/form/node.d.cts +24 -0
  1037. package/lib/types/node/triggers/form/node.d.mts +24 -0
  1038. package/lib/types/node/triggers/manual/node.d.cts +23 -0
  1039. package/lib/types/node/triggers/manual/node.d.mts +23 -0
  1040. package/lib/types/node/triggers/schedule/node.d.cts +24 -0
  1041. package/lib/types/node/triggers/schedule/node.d.mts +24 -0
  1042. package/lib/types/node/triggers/webhook/node.d.cts +24 -0
  1043. package/lib/types/node/triggers/webhook/node.d.mts +24 -0
  1044. package/lib/types/node/utility/code/node.d.cts +101 -0
  1045. package/lib/types/node/utility/code/node.d.mts +101 -0
  1046. package/lib/types/node/utility/delay/node.d.cts +28 -0
  1047. package/lib/types/node/utility/delay/node.d.mts +28 -0
  1048. package/lib/types/node/utility/log/node.d.cts +32 -0
  1049. package/lib/types/node/utility/log/node.d.mts +32 -0
  1050. package/lib/types/node/utility/map/node.d.cts +24 -0
  1051. package/lib/types/node/utility/map/node.d.mts +24 -0
  1052. package/lib/types/node/utility/utility-log/node.d.cts +32 -0
  1053. package/lib/types/node/utility/utility-log/node.d.mts +32 -0
  1054. package/lib/types/ram/GraphRunEventModel.d.cts +34 -0
  1055. package/lib/types/ram/GraphRunEventModel.d.mts +34 -0
  1056. package/lib/types/ram/GraphRunEventStore.d.cts +64 -0
  1057. package/lib/types/ram/GraphRunEventStore.d.mts +64 -0
  1058. package/lib/types/ram/GraphRunStore.d.cts +39 -0
  1059. package/lib/types/ram/GraphRunStore.d.mts +39 -0
  1060. package/lib/types/ram/index.d.cts +34 -0
  1061. package/lib/types/ram/index.d.mts +34 -0
  1062. package/lib/types/shared/graph/GraphExecutionStateMapper.d.cts +66 -0
  1063. package/lib/types/shared/graph/GraphExecutionStateMapper.d.mts +66 -0
  1064. package/lib/types/shared/graph/GraphResolution.d.cts +59 -0
  1065. package/lib/types/shared/graph/GraphResolution.d.mts +59 -0
  1066. package/lib/types/shared/graph/GraphRunModel.d.cts +32 -0
  1067. package/lib/types/shared/graph/GraphRunModel.d.mts +32 -0
  1068. package/lib/types/shared/graph/GraphWorkflowModel.d.cts +29 -0
  1069. package/lib/types/shared/graph/GraphWorkflowModel.d.mts +29 -0
  1070. package/lib/types/shared/graph/auth.d.cts +40 -0
  1071. package/lib/types/shared/graph/auth.d.mts +40 -0
  1072. package/lib/types/shared/graph/catalog/GraphConnectionPolicy.d.cts +16 -0
  1073. package/lib/types/shared/graph/catalog/GraphConnectionPolicy.d.mts +16 -0
  1074. package/lib/types/shared/graph/catalog/GraphCredentialReference.d.cts +13 -0
  1075. package/lib/types/shared/graph/catalog/GraphCredentialReference.d.mts +13 -0
  1076. package/lib/types/shared/graph/catalog/GraphCredentialRequirement.d.cts +14 -0
  1077. package/lib/types/shared/graph/catalog/GraphCredentialRequirement.d.mts +14 -0
  1078. package/lib/types/shared/graph/catalog/GraphDynamicPortRule.d.cts +45 -0
  1079. package/lib/types/shared/graph/catalog/GraphDynamicPortRule.d.mts +45 -0
  1080. package/lib/types/shared/graph/catalog/GraphIconReference.d.cts +19 -0
  1081. package/lib/types/shared/graph/catalog/GraphIconReference.d.mts +19 -0
  1082. package/lib/types/shared/graph/catalog/GraphManifestCompiler.d.cts +23 -0
  1083. package/lib/types/shared/graph/catalog/GraphManifestCompiler.d.mts +23 -0
  1084. package/lib/types/shared/graph/catalog/GraphNodeCapability.d.cts +18 -0
  1085. package/lib/types/shared/graph/catalog/GraphNodeCapability.d.mts +18 -0
  1086. package/lib/types/shared/graph/catalog/GraphNodeDisplayManifest.d.cts +40 -0
  1087. package/lib/types/shared/graph/catalog/GraphNodeDisplayManifest.d.mts +40 -0
  1088. package/lib/types/shared/graph/catalog/GraphNodeManifest.d.cts +45 -0
  1089. package/lib/types/shared/graph/catalog/GraphNodeManifest.d.mts +45 -0
  1090. package/lib/types/shared/graph/catalog/GraphNodeManifestSerialization.d.cts +22 -0
  1091. package/lib/types/shared/graph/catalog/GraphNodeManifestSerialization.d.mts +22 -0
  1092. package/lib/types/shared/graph/catalog/GraphNodeMethodManifest.d.cts +27 -0
  1093. package/lib/types/shared/graph/catalog/GraphNodeMethodManifest.d.mts +27 -0
  1094. package/lib/types/shared/graph/catalog/GraphNodePolicyManifest.d.cts +46 -0
  1095. package/lib/types/shared/graph/catalog/GraphNodePolicyManifest.d.mts +46 -0
  1096. package/lib/types/shared/graph/catalog/GraphParameterBase.d.cts +17 -0
  1097. package/lib/types/shared/graph/catalog/GraphParameterBase.d.mts +17 -0
  1098. package/lib/types/shared/graph/catalog/GraphParameterDefinition.d.cts +119 -0
  1099. package/lib/types/shared/graph/catalog/GraphParameterDefinition.d.mts +119 -0
  1100. package/lib/types/shared/graph/catalog/GraphParameterOption.d.cts +19 -0
  1101. package/lib/types/shared/graph/catalog/GraphParameterOption.d.mts +19 -0
  1102. package/lib/types/shared/graph/catalog/GraphParameterValidation.d.cts +46 -0
  1103. package/lib/types/shared/graph/catalog/GraphParameterValidation.d.mts +46 -0
  1104. package/lib/types/shared/graph/catalog/GraphPortManifest.d.cts +42 -0
  1105. package/lib/types/shared/graph/catalog/GraphPortManifest.d.mts +42 -0
  1106. package/lib/types/shared/graph/catalog/GraphPortManifestElement.d.cts +14 -0
  1107. package/lib/types/shared/graph/catalog/GraphPortManifestElement.d.mts +14 -0
  1108. package/lib/types/shared/graph/catalog/GraphResourceLocatorMode.d.cts +27 -0
  1109. package/lib/types/shared/graph/catalog/GraphResourceLocatorMode.d.mts +27 -0
  1110. package/lib/types/shared/graph/catalog/GraphValueSchema.d.cts +85 -0
  1111. package/lib/types/shared/graph/catalog/GraphValueSchema.d.mts +85 -0
  1112. package/lib/types/shared/graph/catalog/GraphValueSchemaDerivation.d.cts +24 -0
  1113. package/lib/types/shared/graph/catalog/GraphValueSchemaDerivation.d.mts +24 -0
  1114. package/lib/types/shared/graph/catalog/GraphVisibilityExpression.d.cts +35 -0
  1115. package/lib/types/shared/graph/catalog/GraphVisibilityExpression.d.mts +35 -0
  1116. package/lib/types/shared/graph/catalog/index.d.cts +25 -0
  1117. package/lib/types/shared/graph/catalog/index.d.mts +25 -0
  1118. package/lib/types/shared/graph/category-styles.d.cts +8 -0
  1119. package/lib/types/shared/graph/category-styles.d.mts +8 -0
  1120. package/lib/types/shared/graph/constants.d.cts +640 -0
  1121. package/lib/types/shared/graph/constants.d.mts +640 -0
  1122. package/lib/types/shared/graph/decorators.d.cts +118 -0
  1123. package/lib/types/shared/graph/decorators.d.mts +118 -0
  1124. package/lib/types/shared/graph/document/GraphDecoratedWorkflowCompiler.d.cts +56 -0
  1125. package/lib/types/shared/graph/document/GraphDecoratedWorkflowCompiler.d.mts +56 -0
  1126. package/lib/types/shared/graph/document/GraphEdgeInstance.d.cts +15 -0
  1127. package/lib/types/shared/graph/document/GraphEdgeInstance.d.mts +15 -0
  1128. package/lib/types/shared/graph/document/GraphEndpoint.d.cts +34 -0
  1129. package/lib/types/shared/graph/document/GraphEndpoint.d.mts +34 -0
  1130. package/lib/types/shared/graph/document/GraphErrorBoundaryConfiguration.d.cts +14 -0
  1131. package/lib/types/shared/graph/document/GraphErrorBoundaryConfiguration.d.mts +14 -0
  1132. package/lib/types/shared/graph/document/GraphFlowBuilder.d.cts +277 -0
  1133. package/lib/types/shared/graph/document/GraphFlowBuilder.d.mts +277 -0
  1134. package/lib/types/shared/graph/document/GraphJsonValue.d.cts +41 -0
  1135. package/lib/types/shared/graph/document/GraphJsonValue.d.mts +41 -0
  1136. package/lib/types/shared/graph/document/GraphLoopConfiguration.d.cts +30 -0
  1137. package/lib/types/shared/graph/document/GraphLoopConfiguration.d.mts +30 -0
  1138. package/lib/types/shared/graph/document/GraphNodeBinding.d.cts +47 -0
  1139. package/lib/types/shared/graph/document/GraphNodeBinding.d.mts +47 -0
  1140. package/lib/types/shared/graph/document/GraphNodeDerivation.d.cts +59 -0
  1141. package/lib/types/shared/graph/document/GraphNodeDerivation.d.mts +59 -0
  1142. package/lib/types/shared/graph/document/GraphNodeInstance.d.cts +52 -0
  1143. package/lib/types/shared/graph/document/GraphNodeInstance.d.mts +52 -0
  1144. package/lib/types/shared/graph/document/GraphValueTemplate.d.cts +75 -0
  1145. package/lib/types/shared/graph/document/GraphValueTemplate.d.mts +75 -0
  1146. package/lib/types/shared/graph/document/GraphWorkflowDocument.d.cts +53 -0
  1147. package/lib/types/shared/graph/document/GraphWorkflowDocument.d.mts +53 -0
  1148. package/lib/types/shared/graph/document/GraphWorkflowDocumentBuilder.d.cts +146 -0
  1149. package/lib/types/shared/graph/document/GraphWorkflowDocumentBuilder.d.mts +146 -0
  1150. package/lib/types/shared/graph/document/GraphWorkflowDocumentReader.d.cts +62 -0
  1151. package/lib/types/shared/graph/document/GraphWorkflowDocumentReader.d.mts +62 -0
  1152. package/lib/types/shared/graph/document/GraphWorkflowDocumentSerializer.d.cts +17 -0
  1153. package/lib/types/shared/graph/document/GraphWorkflowDocumentSerializer.d.mts +17 -0
  1154. package/lib/types/shared/graph/document/GraphWorkflowUiState.d.cts +49 -0
  1155. package/lib/types/shared/graph/document/GraphWorkflowUiState.d.mts +49 -0
  1156. package/lib/types/shared/graph/document/index.d.cts +19 -0
  1157. package/lib/types/shared/graph/document/index.d.mts +19 -0
  1158. package/lib/types/shared/graph/index.d.cts +21 -0
  1159. package/lib/types/shared/graph/index.d.mts +21 -0
  1160. package/lib/types/shared/graph/overrides/Metadata.d.cts +43 -0
  1161. package/lib/types/shared/graph/overrides/Metadata.d.mts +43 -0
  1162. package/lib/types/shared/graph/overrides/Rendering.d.cts +8 -0
  1163. package/lib/types/shared/graph/overrides/Rendering.d.mts +8 -0
  1164. package/lib/types/shared/graph/overrides/index.d.cts +6 -0
  1165. package/lib/types/shared/graph/overrides/index.d.mts +6 -0
  1166. package/lib/types/shared/graph/overrides/overrides.d.cts +1 -0
  1167. package/lib/types/shared/graph/overrides/overrides.d.mts +1 -0
  1168. package/lib/types/shared/graph/reader.d.cts +75 -0
  1169. package/lib/types/shared/graph/reader.d.mts +75 -0
  1170. package/lib/types/shared/graph/registry.d.cts +40 -0
  1171. package/lib/types/shared/graph/registry.d.mts +40 -0
  1172. package/lib/types/shared/graph/snapshot.d.cts +36 -0
  1173. package/lib/types/shared/graph/snapshot.d.mts +36 -0
  1174. package/lib/types/shared/graph/types.d.cts +297 -0
  1175. package/lib/types/shared/graph/types.d.mts +297 -0
  1176. package/lib/types/shared/index.d.cts +12 -0
  1177. package/lib/types/shared/index.d.mts +12 -0
  1178. package/lib/types/shared/ui/GraphNodeView.d.cts +48 -0
  1179. package/lib/types/shared/ui/GraphNodeView.d.mts +48 -0
  1180. package/lib/types/shared/ui/GraphRunView.d.cts +88 -0
  1181. package/lib/types/shared/ui/GraphRunView.d.mts +88 -0
  1182. package/lib/types/shared/ui/GraphWorkflowView.d.cts +18 -0
  1183. package/lib/types/shared/ui/GraphWorkflowView.d.mts +18 -0
  1184. package/lib/types/shared/ui/constants.d.cts +55 -0
  1185. package/lib/types/shared/ui/constants.d.mts +55 -0
  1186. package/lib/types/shared/ui/index.d.cts +14 -0
  1187. package/lib/types/shared/ui/index.d.mts +14 -0
  1188. package/lib/types/shared/ui/types.d.cts +200 -0
  1189. package/lib/types/shared/ui/types.d.mts +200 -0
  1190. package/package.json +158 -4
@@ -0,0 +1,88 @@
1
+ import type { GraphWorkflowDocument } from "../../shared/graph/index.d.mts";
2
+ import { DecafRequestContext } from "@decaf-ts/for-nest";
3
+ import type { GraphWorkflowValidationResult } from "../..//index.d.mts";
4
+ import { GraphWorkflowService } from "../../engine/services/GraphWorkflowService.d.mts";
5
+ import type { GraphWorkflowDocumentLimits } from "../../engine/validation/GraphWorkflowDocumentLimits.d.mts";
6
+ /** DI token for {@link GraphWorkflowControllerOptions}. */
7
+ export declare const GRAPH_WORKFLOW_OPTIONS = "GRAPH_WORKFLOW_OPTIONS";
8
+ /** Options for the workflow persistence HTTP API (DECAF-50 §4.10): authentication mode and document resource limits. */
9
+ export interface GraphWorkflowControllerOptions {
10
+ /**
11
+ * `"required"` rejects unauthenticated calls with `401` (default,
12
+ * SAA-595 secure-defaults alignment); `"optional"` tolerates
13
+ * anonymous/system callers for standalone module runs (DECAF-48 §4.15)
14
+ * while still enforcing ownership between distinct users — pair it with an
15
+ * explicit `allowAnonymousAccess` decision.
16
+ */
17
+ auth?: "required" | "optional";
18
+ /**
19
+ * Explicit DECAF-48 §4.15 standalone tolerance: when `true`, anonymous
20
+ * callers are tolerated on owned workflows. Defaults to `false` —
21
+ * ownership checks fail closed for absent identities (SAA-595 F3).
22
+ */
23
+ allowAnonymousAccess?: boolean;
24
+ /** Backend-enforced resource limits (DECAF-50 §4.16). */
25
+ limits?: GraphWorkflowDocumentLimits;
26
+ }
27
+ /** Response of a successful workflow save: persisted identity and timestamp. */
28
+ export interface GraphWorkflowSaveResponse {
29
+ workflowId: string;
30
+ name?: string;
31
+ savedAt: string;
32
+ }
33
+ /**
34
+ * Canonical workflow document persistence endpoints (DECAF-50 §4.10):
35
+ *
36
+ * - `PUT /graph/workflows/{workflowId}` — validate and persist a canonical
37
+ * document (or a `{ document, editor, metadata }` snapshot wrapper, whose
38
+ * editor state is preserved verbatim for lossless round trips).
39
+ * - `GET /graph/workflows/{workflowId}` — load the canonical document;
40
+ * legacy persisted snapshots are converted losslessly on the read path.
41
+ * - `POST /graph/workflows/validate` — run boundary validation and return
42
+ * structured issues (`code`, `path`, `nodeId`, `edgeId`, `message`,
43
+ * safe `details`).
44
+ *
45
+ * @class GraphWorkflowController
46
+ */
47
+ export declare class GraphWorkflowController {
48
+ private readonly workflowService;
49
+ private readonly requestContext?;
50
+ private readonly options;
51
+ constructor(workflowService: GraphWorkflowService, requestContext?: DecafRequestContext | undefined, options?: GraphWorkflowControllerOptions);
52
+ /**
53
+ * Enforces the configured authentication mode: `auth` defaults to
54
+ * `"required"` (SAA-595 secure-defaults alignment) and rejects
55
+ * unauthenticated calls with `401`; `"optional"` admits anonymous
56
+ * requests for standalone module runs (DECAF-48 §4.15).
57
+ */
58
+ private requireAuthenticatedContext;
59
+ /**
60
+ * Saves a workflow: a canonical `{ document, ... }` wrapper body is stored
61
+ * as a legacy-transition snapshot, a bare document body as the canonical
62
+ * document.
63
+ *
64
+ * @param {string} workflowId - Workflow id path parameter.
65
+ * @param {unknown} body - Bare `GraphWorkflowDocument` or canonical snapshot wrapper.
66
+ * @return {Promise<GraphWorkflowSaveResponse>} The saved workflow's id, name, and timestamp.
67
+ * @throws {HttpException} The mapped graph-workflow HTTP error (400/403/409 per the service contract).
68
+ */
69
+ saveWorkflow(workflowId: string, body: unknown): Promise<GraphWorkflowSaveResponse>;
70
+ /**
71
+ * Returns a workflow's canonical document.
72
+ *
73
+ * @param {string} workflowId - Workflow id path parameter.
74
+ * @return {Promise<GraphWorkflowDocument>} The stored canonical document.
75
+ * @throws {HttpException} The mapped graph-workflow HTTP error (404 for unknown/undocumented workflows, 403 for foreign owners).
76
+ */
77
+ getWorkflow(workflowId: string): Promise<GraphWorkflowDocument>;
78
+ /**
79
+ * Validates a workflow document against the boundary gate without persisting.
80
+ *
81
+ * @param {unknown} body - Bare `GraphWorkflowDocument` or canonical snapshot wrapper.
82
+ * @return {Promise<GraphWorkflowValidationResult>} Structured validation result.
83
+ * @throws {HttpException} 401 without an authenticated context.
84
+ */
85
+ validateWorkflow(body: unknown): Promise<GraphWorkflowValidationResult>;
86
+ private isCanonicalWrapper;
87
+ private documentOf;
88
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Barrel re-exporting the NestJS graph integration (controllers and module).
3
+ *
4
+ * Nest-agnostic backend services and models live outside this folder (in
5
+ * `../engine/services` and `../shared/graph`) and are re-exported from the
6
+ * standard `@decaf-ts/as-graph` entrypoint.
7
+ */
8
+ export * from "./GraphWorkflowController.d.cts";
9
+ export * from "./GraphRunController.d.cts";
10
+ export * from "./GraphExecutorRegistryFactory.d.cts";
11
+ export * from "./GraphNodeCatalogueController.d.cts";
12
+ export * from "./GraphExecutionModule.d.cts";
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Barrel re-exporting the NestJS graph integration (controllers and module).
3
+ *
4
+ * Nest-agnostic backend services and models live outside this folder (in
5
+ * `../engine/services` and `../shared/graph`) and are re-exported from the
6
+ * standard `@decaf-ts/as-graph` entrypoint.
7
+ */
8
+ export * from "./GraphWorkflowController.d.mts";
9
+ export * from "./GraphRunController.d.mts";
10
+ export * from "./GraphExecutorRegistryFactory.d.mts";
11
+ export * from "./GraphNodeCatalogueController.d.mts";
12
+ export * from "./GraphExecutionModule.d.mts";
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @module as-graph/nest
3
+ * @summary NestJS graph backend wiring sub-entry.
4
+ * @description Exposes the NestJS controllers and dynamic module that host the
5
+ * graph execution engine over HTTP/SSE. Nest-agnostic services and models live
6
+ * in the standard `@decaf-ts/as-graph` export (engine/shared), not here. Backend
7
+ * consumers import from `@decaf-ts/as-graph/nest`; the engine itself is
8
+ * framework-free and lives in the standard `@decaf-ts/as-graph` export.
9
+ */
10
+ export * from "./graph/index.d.cts";
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @module as-graph/nest
3
+ * @summary NestJS graph backend wiring sub-entry.
4
+ * @description Exposes the NestJS controllers and dynamic module that host the
5
+ * graph execution engine over HTTP/SSE. Nest-agnostic services and models live
6
+ * in the standard `@decaf-ts/as-graph` export (engine/shared), not here. Backend
7
+ * consumers import from `@decaf-ts/as-graph/nest`; the engine itself is
8
+ * framework-free and lives in the standard `@decaf-ts/as-graph` export.
9
+ */
10
+ export * from "./graph/index.d.mts";
@@ -0,0 +1,51 @@
1
+ import { GraphNode } from "../../base.d.cts";
2
+ import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../../../engine/types.d.cts";
3
+ /** Inputs accepted by the agent node. */
4
+ export type AgentNodeInput = Record<string, unknown>;
5
+ /** Outputs produced by the agent node. */
6
+ export interface AgentNodeOutput {
7
+ response: string;
8
+ actions: unknown[];
9
+ }
10
+ /**
11
+ * Agent node — an AI agent that orchestrates a model, memory, and workspace.
12
+ *
13
+ * The agent has:
14
+ * - `@input` port on the **left**: `prompt` (the task prompt; supports
15
+ * placeholder expressions like `{{ $input.something }}` per §22.4).
16
+ * - `@output` ports on the **right**: `response` (the agent's output), `actions`
17
+ * (any actions the agent decided to take).
18
+ * - `@connection` ports on the **bottom**: `model` (LLM), `memory` (memory
19
+ * store), `workspace` (workspace/context). Each connection has a distinct
20
+ * category color.
21
+ *
22
+ * The node is rectangular (not rounded) to visually distinguish it from
23
+ * regular processing nodes. The `color` and `icon` are omitted from `@node()`
24
+ * so they are resolved from the `"Agent"` category style.
25
+ */
26
+ export declare class AgentNode extends GraphNode<AgentNodeInput, AgentNodeOutput> {
27
+ /**
28
+ * Placeholder production implementation: echoes the (placeholder-resolved)
29
+ * `prompt` input as the response and reports no actions.
30
+ *
31
+ * @param {GraphNodeExecutionRequest<AgentNodeInput>} request - Execution request carrying the resolved `prompt`.
32
+ * @return {GraphExecutionValues} The `response`/`actions` output values.
33
+ */
34
+ execute(request: GraphNodeExecutionRequest<AgentNodeInput>): GraphExecutionValues;
35
+ /** Task prompt; supports placeholder expressions like `{{ $input.brief }}` (§22.4). */
36
+ prompt: string;
37
+ /** Output carrying the agent's textual response. */
38
+ response: string;
39
+ /** Output carrying any actions the agent decided to take. */
40
+ actions: unknown[];
41
+ /** Structural connection to the LLM backing this agent. */
42
+ model: unknown;
43
+ /** Structural connection to the agent's memory store. */
44
+ memory: unknown;
45
+ /** Structural connection to the agent's workspace/context. */
46
+ workspace: unknown;
47
+ }
48
+ /**
49
+ * All built-in agent node constructors.
50
+ */
51
+ export declare const GRAPH_AGENT_NODES: readonly [typeof AgentNode];
@@ -0,0 +1,51 @@
1
+ import { GraphNode } from "../../base.d.mts";
2
+ import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../../../engine/types.d.mts";
3
+ /** Inputs accepted by the agent node. */
4
+ export type AgentNodeInput = Record<string, unknown>;
5
+ /** Outputs produced by the agent node. */
6
+ export interface AgentNodeOutput {
7
+ response: string;
8
+ actions: unknown[];
9
+ }
10
+ /**
11
+ * Agent node — an AI agent that orchestrates a model, memory, and workspace.
12
+ *
13
+ * The agent has:
14
+ * - `@input` port on the **left**: `prompt` (the task prompt; supports
15
+ * placeholder expressions like `{{ $input.something }}` per §22.4).
16
+ * - `@output` ports on the **right**: `response` (the agent's output), `actions`
17
+ * (any actions the agent decided to take).
18
+ * - `@connection` ports on the **bottom**: `model` (LLM), `memory` (memory
19
+ * store), `workspace` (workspace/context). Each connection has a distinct
20
+ * category color.
21
+ *
22
+ * The node is rectangular (not rounded) to visually distinguish it from
23
+ * regular processing nodes. The `color` and `icon` are omitted from `@node()`
24
+ * so they are resolved from the `"Agent"` category style.
25
+ */
26
+ export declare class AgentNode extends GraphNode<AgentNodeInput, AgentNodeOutput> {
27
+ /**
28
+ * Placeholder production implementation: echoes the (placeholder-resolved)
29
+ * `prompt` input as the response and reports no actions.
30
+ *
31
+ * @param {GraphNodeExecutionRequest<AgentNodeInput>} request - Execution request carrying the resolved `prompt`.
32
+ * @return {GraphExecutionValues} The `response`/`actions` output values.
33
+ */
34
+ execute(request: GraphNodeExecutionRequest<AgentNodeInput>): GraphExecutionValues;
35
+ /** Task prompt; supports placeholder expressions like `{{ $input.brief }}` (§22.4). */
36
+ prompt: string;
37
+ /** Output carrying the agent's textual response. */
38
+ response: string;
39
+ /** Output carrying any actions the agent decided to take. */
40
+ actions: unknown[];
41
+ /** Structural connection to the LLM backing this agent. */
42
+ model: unknown;
43
+ /** Structural connection to the agent's memory store. */
44
+ memory: unknown;
45
+ /** Structural connection to the agent's workspace/context. */
46
+ workspace: unknown;
47
+ }
48
+ /**
49
+ * All built-in agent node constructors.
50
+ */
51
+ export declare const GRAPH_AGENT_NODES: readonly [typeof AgentNode];
@@ -0,0 +1,131 @@
1
+ /**
2
+ * @module as-graph/nodes/base
3
+ * @summary Base class for backend graph node declarations.
4
+ * @description `GraphNode` is the single authoritative backend representation of
5
+ * a built-in node kind (DECAF-50 §4.26 R2-1): the `@node`-decorated class
6
+ * carries both the published manifest metadata and the executable behaviour via
7
+ * the **instance** `execute` method. The catalogue derives each kind's executor
8
+ * from the class, so there is exactly one authority per node kind.
9
+ *
10
+ * `execute` is an instance method by CTO ruling: node behaviour configuration
11
+ * lives on the instance (decorated properties, config hydrated from the workflow
12
+ * document), so a node reads its own state through `this` instead of hardcoded
13
+ * workflow values. The only class-level helper kept is `applyMetadata`, which is
14
+ * genuinely stateless (it reads the class's own metadata).
15
+ */
16
+ import { Model } from "@decaf-ts/decorator-validation";
17
+ import type { GraphNodeInstance, NodeMetadataChange } from "../shared/graph/index.d.cts";
18
+ import type { GraphExecutionContext } from "../engine/execution/GraphExecutionContext.d.cts";
19
+ import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../engine/types.d.cts";
20
+ /**
21
+ * Flattens a canonical {@link GraphNodeInstance} into the configuration object a
22
+ * node class hydrates from.
23
+ *
24
+ * The node's own `metadata` supplies defaults first and the executing
25
+ * `parameters` override them (matching the pre-existing built-in registration
26
+ * hydration order), with the persisted user-defined `state` overriding both and the
27
+ * loop configuration appended when present. The state is applied last so a
28
+ * `@state()` value always wins over a same-named parameter, and `execute` reads
29
+ * it via `this.*` unchanged. The resulting object is what {@link GraphNode}'s
30
+ * constructor feeds to `Model.fromModel`.
31
+ *
32
+ * @param instance - The canonical node instance from the workflow document.
33
+ * @returns The flattened node configuration, or `undefined` when there is none.
34
+ */
35
+ export declare function graphNodeConfig(instance?: GraphNodeInstance): Record<string, unknown> | undefined;
36
+ /**
37
+ * Constructor shape of a built-in backend node class.
38
+ *
39
+ * Nodes are instantiated by the built-in registration before execution so their
40
+ * instance `execute` method can run against hydrated instance state. `INPUT`
41
+ * defaults to `unknown` and `OUTPUT` defaults to `INPUT` (DECAF-50 §4.26), so a
42
+ * node that does not transform its payload declares only one type argument and
43
+ * boundary nodes use `void` on the appropriate side.
44
+ */
45
+ export interface GraphNodeClass<INPUT = unknown, OUTPUT = INPUT> {
46
+ /** Node kind discriminator declared via the `@node` decorator. */
47
+ readonly kind?: string;
48
+ /**
49
+ * Creates a fresh node instance for execution, hydrating its decorated
50
+ * configuration properties from `config`.
51
+ */
52
+ instantiate(config?: Record<string, unknown>): GraphNode<INPUT, OUTPUT>;
53
+ }
54
+ /**
55
+ * Base class for the built-in backend node kinds.
56
+ *
57
+ * Extends `Model` so the `@node`/`@uielement` decorators and the manifest
58
+ * compiler keep working unchanged. Concrete kinds override the instance `execute`
59
+ * method; the default throws so a kind that forgets to implement behaviour fails
60
+ * fast rather than silently producing no output.
61
+ *
62
+ * @typeParam INPUT - The shape of the node's input values (`void` for input
63
+ * boundary nodes, which receive no upstream data).
64
+ * @typeParam OUTPUT - The shape of the node's output values (`void` for output
65
+ * boundary nodes, which terminate the stream). Defaults to `INPUT`.
66
+ */
67
+ export declare abstract class GraphNode<INPUT = unknown, OUTPUT = INPUT> extends Model {
68
+ /**
69
+ * Hydrates the node instance from its flattened configuration.
70
+ *
71
+ * Every concrete node class is `@model()`-decorated, so the global model
72
+ * builder already runs `Model.fromModel` on construction. Declaring the
73
+ * constructor on the base class makes that contract explicit and uniform for
74
+ * **all** node kinds: a node's decorated configuration properties
75
+ * (`@input`/`@uielement`/`@prop`) are populated from `arg`, so `execute` can
76
+ * read `this.*` without a separate hydration step.
77
+ *
78
+ * @param arg - The flattened node configuration (see
79
+ * {@link graphNodeConfig}).
80
+ */
81
+ protected constructor(arg?: Record<string, unknown>);
82
+ /**
83
+ * Phantom marker tying the `OUTPUT` type parameter to the class (it has no
84
+ * runtime footprint; `execute` returns the generic value map).
85
+ */
86
+ protected readonly graphNodeOutput?: OUTPUT;
87
+ /**
88
+ * Executes the node's behaviour against the request inputs and run context.
89
+ *
90
+ * This is an instance method so a node can read its own hydrated configuration
91
+ * (`this.*`) rather than hardcoded workflow values.
92
+ *
93
+ * @param _request - The node execution request (inputs, parameters,
94
+ * credentials, metadata).
95
+ * @param _context - The run-scoped execution context.
96
+ * @returns The node's output values keyed by port name.
97
+ * @throws {GraphExecutionError} when the kind does not implement `execute`.
98
+ */
99
+ execute(_request: GraphNodeExecutionRequest<INPUT>, _context: GraphExecutionContext): GraphExecutionValues | Promise<GraphExecutionValues>;
100
+ /**
101
+ * Applies a metadata patch to this node class, returning the resulting
102
+ * ports, size, and data patches.
103
+ *
104
+ * The default implementation returns `null` (no changes). Concrete node
105
+ * kinds that support dynamic metadata override this to compute their own
106
+ * ports and size from the metadata — the caller (renderer) simply relays
107
+ * the result to the diagram model.
108
+ *
109
+ * Kept `static` by CTO ruling: unlike `execute`, this helper is genuinely
110
+ * stateless — it operates purely on the class's own metadata and carries no
111
+ * per-execution instance state.
112
+ *
113
+ * @param _meta - The metadata patch (node-kind-specific, e.g.
114
+ * `SwitchNodeMetadata`).
115
+ * @returns The computed change, or `null` when the node kind does not
116
+ * support dynamic metadata.
117
+ */
118
+ static applyMetadata(_meta: unknown): NodeMetadataChange | null;
119
+ /**
120
+ * Creates a fresh instance of the concrete node class.
121
+ *
122
+ * Node classes may declare a protected constructor (the `@model()`
123
+ * decorator narrows it), so callers cannot use `new NodeClass()` directly.
124
+ * This inherited static factory performs the instantiation from inside the
125
+ * class, where the constructor is accessible.
126
+ *
127
+ * @param config - The flattened node configuration to hydrate from.
128
+ * @returns A new instance of the concrete node class.
129
+ */
130
+ static instantiate(config?: Record<string, unknown>): GraphNode;
131
+ }
@@ -0,0 +1,131 @@
1
+ /**
2
+ * @module as-graph/nodes/base
3
+ * @summary Base class for backend graph node declarations.
4
+ * @description `GraphNode` is the single authoritative backend representation of
5
+ * a built-in node kind (DECAF-50 §4.26 R2-1): the `@node`-decorated class
6
+ * carries both the published manifest metadata and the executable behaviour via
7
+ * the **instance** `execute` method. The catalogue derives each kind's executor
8
+ * from the class, so there is exactly one authority per node kind.
9
+ *
10
+ * `execute` is an instance method by CTO ruling: node behaviour configuration
11
+ * lives on the instance (decorated properties, config hydrated from the workflow
12
+ * document), so a node reads its own state through `this` instead of hardcoded
13
+ * workflow values. The only class-level helper kept is `applyMetadata`, which is
14
+ * genuinely stateless (it reads the class's own metadata).
15
+ */
16
+ import { Model } from "@decaf-ts/decorator-validation";
17
+ import type { GraphNodeInstance, NodeMetadataChange } from "../shared/graph/index.d.mts";
18
+ import type { GraphExecutionContext } from "../engine/execution/GraphExecutionContext.d.mts";
19
+ import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../engine/types.d.mts";
20
+ /**
21
+ * Flattens a canonical {@link GraphNodeInstance} into the configuration object a
22
+ * node class hydrates from.
23
+ *
24
+ * The node's own `metadata` supplies defaults first and the executing
25
+ * `parameters` override them (matching the pre-existing built-in registration
26
+ * hydration order), with the persisted user-defined `state` overriding both and the
27
+ * loop configuration appended when present. The state is applied last so a
28
+ * `@state()` value always wins over a same-named parameter, and `execute` reads
29
+ * it via `this.*` unchanged. The resulting object is what {@link GraphNode}'s
30
+ * constructor feeds to `Model.fromModel`.
31
+ *
32
+ * @param instance - The canonical node instance from the workflow document.
33
+ * @returns The flattened node configuration, or `undefined` when there is none.
34
+ */
35
+ export declare function graphNodeConfig(instance?: GraphNodeInstance): Record<string, unknown> | undefined;
36
+ /**
37
+ * Constructor shape of a built-in backend node class.
38
+ *
39
+ * Nodes are instantiated by the built-in registration before execution so their
40
+ * instance `execute` method can run against hydrated instance state. `INPUT`
41
+ * defaults to `unknown` and `OUTPUT` defaults to `INPUT` (DECAF-50 §4.26), so a
42
+ * node that does not transform its payload declares only one type argument and
43
+ * boundary nodes use `void` on the appropriate side.
44
+ */
45
+ export interface GraphNodeClass<INPUT = unknown, OUTPUT = INPUT> {
46
+ /** Node kind discriminator declared via the `@node` decorator. */
47
+ readonly kind?: string;
48
+ /**
49
+ * Creates a fresh node instance for execution, hydrating its decorated
50
+ * configuration properties from `config`.
51
+ */
52
+ instantiate(config?: Record<string, unknown>): GraphNode<INPUT, OUTPUT>;
53
+ }
54
+ /**
55
+ * Base class for the built-in backend node kinds.
56
+ *
57
+ * Extends `Model` so the `@node`/`@uielement` decorators and the manifest
58
+ * compiler keep working unchanged. Concrete kinds override the instance `execute`
59
+ * method; the default throws so a kind that forgets to implement behaviour fails
60
+ * fast rather than silently producing no output.
61
+ *
62
+ * @typeParam INPUT - The shape of the node's input values (`void` for input
63
+ * boundary nodes, which receive no upstream data).
64
+ * @typeParam OUTPUT - The shape of the node's output values (`void` for output
65
+ * boundary nodes, which terminate the stream). Defaults to `INPUT`.
66
+ */
67
+ export declare abstract class GraphNode<INPUT = unknown, OUTPUT = INPUT> extends Model {
68
+ /**
69
+ * Hydrates the node instance from its flattened configuration.
70
+ *
71
+ * Every concrete node class is `@model()`-decorated, so the global model
72
+ * builder already runs `Model.fromModel` on construction. Declaring the
73
+ * constructor on the base class makes that contract explicit and uniform for
74
+ * **all** node kinds: a node's decorated configuration properties
75
+ * (`@input`/`@uielement`/`@prop`) are populated from `arg`, so `execute` can
76
+ * read `this.*` without a separate hydration step.
77
+ *
78
+ * @param arg - The flattened node configuration (see
79
+ * {@link graphNodeConfig}).
80
+ */
81
+ protected constructor(arg?: Record<string, unknown>);
82
+ /**
83
+ * Phantom marker tying the `OUTPUT` type parameter to the class (it has no
84
+ * runtime footprint; `execute` returns the generic value map).
85
+ */
86
+ protected readonly graphNodeOutput?: OUTPUT;
87
+ /**
88
+ * Executes the node's behaviour against the request inputs and run context.
89
+ *
90
+ * This is an instance method so a node can read its own hydrated configuration
91
+ * (`this.*`) rather than hardcoded workflow values.
92
+ *
93
+ * @param _request - The node execution request (inputs, parameters,
94
+ * credentials, metadata).
95
+ * @param _context - The run-scoped execution context.
96
+ * @returns The node's output values keyed by port name.
97
+ * @throws {GraphExecutionError} when the kind does not implement `execute`.
98
+ */
99
+ execute(_request: GraphNodeExecutionRequest<INPUT>, _context: GraphExecutionContext): GraphExecutionValues | Promise<GraphExecutionValues>;
100
+ /**
101
+ * Applies a metadata patch to this node class, returning the resulting
102
+ * ports, size, and data patches.
103
+ *
104
+ * The default implementation returns `null` (no changes). Concrete node
105
+ * kinds that support dynamic metadata override this to compute their own
106
+ * ports and size from the metadata — the caller (renderer) simply relays
107
+ * the result to the diagram model.
108
+ *
109
+ * Kept `static` by CTO ruling: unlike `execute`, this helper is genuinely
110
+ * stateless — it operates purely on the class's own metadata and carries no
111
+ * per-execution instance state.
112
+ *
113
+ * @param _meta - The metadata patch (node-kind-specific, e.g.
114
+ * `SwitchNodeMetadata`).
115
+ * @returns The computed change, or `null` when the node kind does not
116
+ * support dynamic metadata.
117
+ */
118
+ static applyMetadata(_meta: unknown): NodeMetadataChange | null;
119
+ /**
120
+ * Creates a fresh instance of the concrete node class.
121
+ *
122
+ * Node classes may declare a protected constructor (the `@model()`
123
+ * decorator narrows it), so callers cannot use `new NodeClass()` directly.
124
+ * This inherited static factory performs the instantiation from inside the
125
+ * class, where the constructor is accessible.
126
+ *
127
+ * @param config - The flattened node configuration to hydrate from.
128
+ * @returns A new instance of the concrete node class.
129
+ */
130
+ static instantiate(config?: Record<string, unknown>): GraphNode;
131
+ }
@@ -0,0 +1,20 @@
1
+ import { GraphNode } from "../../base.d.cts";
2
+ import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../../../engine/types.d.cts";
3
+ /** Outputs produced by the workflow input value boundary node. */
4
+ export interface GraphInputValueOutput {
5
+ value: unknown;
6
+ }
7
+ /**
8
+ * Workflow input value boundary node: a reusable value node whose single `value` output may feed multiple targets.
9
+ */
10
+ export declare class GraphInputValueNode extends GraphNode<void, GraphInputValueOutput> {
11
+ /**
12
+ * Returns the `value` supplied by the run caller's input map (null when absent).
13
+ *
14
+ * @param {GraphNodeExecutionRequest<void>} request - Execution request carrying the workflow input values.
15
+ * @return {GraphExecutionValues} The `value` output.
16
+ */
17
+ execute(request: GraphNodeExecutionRequest<void>): GraphExecutionValues;
18
+ /** Output feeding the value to one or more downstream targets. */
19
+ value: unknown;
20
+ }
@@ -0,0 +1,20 @@
1
+ import { GraphNode } from "../../base.d.mts";
2
+ import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../../../engine/types.d.mts";
3
+ /** Outputs produced by the workflow input value boundary node. */
4
+ export interface GraphInputValueOutput {
5
+ value: unknown;
6
+ }
7
+ /**
8
+ * Workflow input value boundary node: a reusable value node whose single `value` output may feed multiple targets.
9
+ */
10
+ export declare class GraphInputValueNode extends GraphNode<void, GraphInputValueOutput> {
11
+ /**
12
+ * Returns the `value` supplied by the run caller's input map (null when absent).
13
+ *
14
+ * @param {GraphNodeExecutionRequest<void>} request - Execution request carrying the workflow input values.
15
+ * @return {GraphExecutionValues} The `value` output.
16
+ */
17
+ execute(request: GraphNodeExecutionRequest<void>): GraphExecutionValues;
18
+ /** Output feeding the value to one or more downstream targets. */
19
+ value: unknown;
20
+ }
@@ -0,0 +1,20 @@
1
+ import { GraphNode } from "../../base.d.cts";
2
+ import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../../../engine/types.d.cts";
3
+ /** Inputs accepted by the workflow output value boundary node. */
4
+ export type GraphOutputValueInput = Record<string, unknown>;
5
+ /**
6
+ * Workflow output value boundary node: receives the final workflow value on its
7
+ * `value` input and produces no outputs.
8
+ */
9
+ export declare class GraphOutputValueNode extends GraphNode<GraphOutputValueInput, void> {
10
+ /**
11
+ * No-op sink: the engine captures the workflow output from the `value`
12
+ * input before this node executes, so execution produces no outputs.
13
+ *
14
+ * @param {GraphNodeExecutionRequest<GraphOutputValueInput>} _request - Execution request (unused; the engine reads the `value` input).
15
+ * @return {GraphExecutionValues} An empty output map.
16
+ */
17
+ execute(request: GraphNodeExecutionRequest<GraphOutputValueInput>): GraphExecutionValues;
18
+ /** Input receiving the final workflow result captured by the engine. */
19
+ value: unknown;
20
+ }
@@ -0,0 +1,20 @@
1
+ import { GraphNode } from "../../base.d.mts";
2
+ import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../../../engine/types.d.mts";
3
+ /** Inputs accepted by the workflow output value boundary node. */
4
+ export type GraphOutputValueInput = Record<string, unknown>;
5
+ /**
6
+ * Workflow output value boundary node: receives the final workflow value on its
7
+ * `value` input and produces no outputs.
8
+ */
9
+ export declare class GraphOutputValueNode extends GraphNode<GraphOutputValueInput, void> {
10
+ /**
11
+ * No-op sink: the engine captures the workflow output from the `value`
12
+ * input before this node executes, so execution produces no outputs.
13
+ *
14
+ * @param {GraphNodeExecutionRequest<GraphOutputValueInput>} _request - Execution request (unused; the engine reads the `value` input).
15
+ * @return {GraphExecutionValues} An empty output map.
16
+ */
17
+ execute(request: GraphNodeExecutionRequest<GraphOutputValueInput>): GraphExecutionValues;
18
+ /** Input receiving the final workflow result captured by the engine. */
19
+ value: unknown;
20
+ }
@@ -0,0 +1,22 @@
1
+ import { GraphNode } from "../../base.d.cts";
2
+ import type { GraphExecutionContext } from "../../../engine/execution/GraphExecutionContext.d.cts";
3
+ import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../../../engine/types.d.cts";
4
+ /** Inputs accepted by the break node. */
5
+ export type BreakFlowInput = Record<string, unknown>;
6
+ /**
7
+ * Break flow-control node: breaks out of the enclosing loop by throwing a `GraphBreakSignal` the loop catches.
8
+ */
9
+ export declare class BreakFlowNode extends GraphNode<BreakFlowInput, void> {
10
+ /**
11
+ * Always throws a {@link GraphBreakSignal} carrying the `value` input; the
12
+ * enclosing loop node catches it and terminates early. Never returns.
13
+ *
14
+ * @param {GraphNodeExecutionRequest<BreakFlowInput>} request - Execution request carrying the optional carried `value`.
15
+ * @param {GraphExecutionContext} _context - Execution context (unused).
16
+ * @return {GraphExecutionValues} Never returns; always throws.
17
+ * @throws {GraphBreakSignal} With the `value` input as carried details.
18
+ */
19
+ execute(request: GraphNodeExecutionRequest<BreakFlowInput>, _context: GraphExecutionContext): GraphExecutionValues;
20
+ /** Value carried on the break signal into the loop's collected results. */
21
+ value: unknown;
22
+ }
@@ -0,0 +1,22 @@
1
+ import { GraphNode } from "../../base.d.mts";
2
+ import type { GraphExecutionContext } from "../../../engine/execution/GraphExecutionContext.d.mts";
3
+ import type { GraphExecutionValues, GraphNodeExecutionRequest } from "../../../engine/types.d.mts";
4
+ /** Inputs accepted by the break node. */
5
+ export type BreakFlowInput = Record<string, unknown>;
6
+ /**
7
+ * Break flow-control node: breaks out of the enclosing loop by throwing a `GraphBreakSignal` the loop catches.
8
+ */
9
+ export declare class BreakFlowNode extends GraphNode<BreakFlowInput, void> {
10
+ /**
11
+ * Always throws a {@link GraphBreakSignal} carrying the `value` input; the
12
+ * enclosing loop node catches it and terminates early. Never returns.
13
+ *
14
+ * @param {GraphNodeExecutionRequest<BreakFlowInput>} request - Execution request carrying the optional carried `value`.
15
+ * @param {GraphExecutionContext} _context - Execution context (unused).
16
+ * @return {GraphExecutionValues} Never returns; always throws.
17
+ * @throws {GraphBreakSignal} With the `value` input as carried details.
18
+ */
19
+ execute(request: GraphNodeExecutionRequest<BreakFlowInput>, _context: GraphExecutionContext): GraphExecutionValues;
20
+ /** Value carried on the break signal into the loop's collected results. */
21
+ value: unknown;
22
+ }