@decaf-ts/integrations 0.8.0 → 0.9.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 (850) hide show
  1. package/README.md +4 -0
  2. package/dist/integrations.cjs +1 -1
  3. package/jest.config.cjs +1 -11
  4. package/lib/cjs/blob/azure/AzureBlobEnvironment.cjs +25 -0
  5. package/lib/cjs/blob/azure/AzureBlobEnvironment.cjs.map +1 -0
  6. package/lib/cjs/blob/azure/AzureBlobStoreService.cjs +52 -10
  7. package/lib/cjs/blob/azure/AzureBlobStoreService.cjs.map +1 -1
  8. package/lib/cjs/blob/azure/index.cjs +1 -0
  9. package/lib/cjs/blob/azure/index.cjs.map +1 -1
  10. package/lib/cjs/blob/core/BlobEnvironment.cjs +19 -0
  11. package/lib/cjs/blob/core/BlobEnvironment.cjs.map +1 -0
  12. package/lib/cjs/blob/core/BlobStoreService.cjs +6 -3
  13. package/lib/cjs/blob/core/BlobStoreService.cjs.map +1 -1
  14. package/lib/cjs/blob/core/index.cjs +1 -0
  15. package/lib/cjs/blob/core/index.cjs.map +1 -1
  16. package/lib/cjs/blob/gcp/GcsBlobEnvironment.cjs +26 -0
  17. package/lib/cjs/blob/gcp/GcsBlobEnvironment.cjs.map +1 -0
  18. package/lib/cjs/blob/gcp/GcsBlobStoreService.cjs +31 -2
  19. package/lib/cjs/blob/gcp/GcsBlobStoreService.cjs.map +1 -1
  20. package/lib/cjs/blob/gcp/index.cjs +1 -0
  21. package/lib/cjs/blob/gcp/index.cjs.map +1 -1
  22. package/lib/cjs/blob/ipfs/IpfsBlobEnvironment.cjs +30 -0
  23. package/lib/cjs/blob/ipfs/IpfsBlobEnvironment.cjs.map +1 -0
  24. package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs +37 -2
  25. package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs.map +1 -1
  26. package/lib/cjs/blob/ipfs/index.cjs +1 -0
  27. package/lib/cjs/blob/ipfs/index.cjs.map +1 -1
  28. package/lib/cjs/blob/local/LocalBlobEnvironment.cjs +22 -0
  29. package/lib/cjs/blob/local/LocalBlobEnvironment.cjs.map +1 -0
  30. package/lib/cjs/blob/local/LocalBlobStoreService.cjs +29 -2
  31. package/lib/cjs/blob/local/LocalBlobStoreService.cjs.map +1 -1
  32. package/lib/cjs/blob/local/index.cjs +1 -0
  33. package/lib/cjs/blob/local/index.cjs.map +1 -1
  34. package/lib/cjs/blob/memory/MemoryBlobEnvironment.cjs +21 -0
  35. package/lib/cjs/blob/memory/MemoryBlobEnvironment.cjs.map +1 -0
  36. package/lib/cjs/blob/memory/MemoryBlobStoreService.cjs +28 -2
  37. package/lib/cjs/blob/memory/MemoryBlobStoreService.cjs.map +1 -1
  38. package/lib/cjs/blob/memory/index.cjs +1 -0
  39. package/lib/cjs/blob/memory/index.cjs.map +1 -1
  40. package/lib/cjs/blob/s3/MinioBlobEnvironment.cjs +32 -0
  41. package/lib/cjs/blob/s3/MinioBlobEnvironment.cjs.map +1 -0
  42. package/lib/cjs/blob/s3/MinioBlobStoreService.cjs +45 -4
  43. package/lib/cjs/blob/s3/MinioBlobStoreService.cjs.map +1 -1
  44. package/lib/cjs/blob/s3/R2BlobEnvironment.cjs +32 -0
  45. package/lib/cjs/blob/s3/R2BlobEnvironment.cjs.map +1 -0
  46. package/lib/cjs/blob/s3/R2BlobStoreService.cjs +45 -4
  47. package/lib/cjs/blob/s3/R2BlobStoreService.cjs.map +1 -1
  48. package/lib/cjs/blob/s3/S3BlobEnvironment.cjs +32 -0
  49. package/lib/cjs/blob/s3/S3BlobEnvironment.cjs.map +1 -0
  50. package/lib/cjs/blob/s3/S3BlobStoreService.cjs +43 -310
  51. package/lib/cjs/blob/s3/S3BlobStoreService.cjs.map +1 -1
  52. package/lib/cjs/blob/s3/S3CompatibleBlobStoreService.cjs +327 -0
  53. package/lib/cjs/blob/s3/S3CompatibleBlobStoreService.cjs.map +1 -0
  54. package/lib/cjs/blob/s3/index.cjs +4 -0
  55. package/lib/cjs/blob/s3/index.cjs.map +1 -1
  56. package/lib/cjs/graph/engine/catalog/GraphBuiltInRegistrations.cjs +100 -0
  57. package/lib/cjs/graph/engine/catalog/GraphBuiltInRegistrations.cjs.map +1 -0
  58. package/lib/cjs/graph/engine/catalog/GraphCatalogueErrors.cjs +29 -0
  59. package/lib/cjs/graph/engine/catalog/GraphCatalogueErrors.cjs.map +1 -0
  60. package/lib/cjs/graph/engine/catalog/GraphNodeCatalogue.cjs +270 -0
  61. package/lib/cjs/graph/engine/catalog/GraphNodeCatalogue.cjs.map +1 -0
  62. package/lib/cjs/graph/engine/catalog/GraphNodeManifestResolver.cjs +169 -0
  63. package/lib/cjs/graph/engine/catalog/GraphNodeManifestResolver.cjs.map +1 -0
  64. package/lib/cjs/graph/engine/catalog/GraphNodeMethodRegistry.cjs +64 -0
  65. package/lib/cjs/graph/engine/catalog/GraphNodeMethodRegistry.cjs.map +1 -0
  66. package/lib/cjs/graph/engine/catalog/GraphNodeRegistration.cjs +17 -0
  67. package/lib/cjs/graph/engine/catalog/GraphNodeRegistration.cjs.map +1 -0
  68. package/lib/cjs/graph/engine/catalog/index.cjs +24 -0
  69. package/lib/cjs/graph/engine/catalog/index.cjs.map +1 -0
  70. package/lib/cjs/graph/engine/constants.cjs +2 -2
  71. package/lib/cjs/graph/engine/errors/GraphExecutionError.cjs +1 -0
  72. package/lib/cjs/graph/engine/errors/GraphExecutionError.cjs.map +1 -1
  73. package/lib/cjs/graph/engine/errors/GraphRunCancelledError.cjs +18 -0
  74. package/lib/cjs/graph/engine/errors/GraphRunCancelledError.cjs.map +1 -0
  75. package/lib/cjs/graph/engine/errors/index.cjs +1 -0
  76. package/lib/cjs/graph/engine/errors/index.cjs.map +1 -1
  77. package/lib/cjs/graph/engine/events/index.cjs +0 -1
  78. package/lib/cjs/graph/engine/events/index.cjs.map +1 -1
  79. package/lib/cjs/graph/engine/execution/BreakGraphNodeExecutor.cjs +2 -2
  80. package/lib/cjs/graph/engine/execution/BreakGraphNodeExecutor.cjs.map +1 -1
  81. package/lib/cjs/graph/engine/execution/CodeGraphNodeExecutor.cjs +10 -6
  82. package/lib/cjs/graph/engine/execution/CodeGraphNodeExecutor.cjs.map +1 -1
  83. package/lib/cjs/graph/engine/execution/GraphExecutionContext.cjs +30 -18
  84. package/lib/cjs/graph/engine/execution/GraphExecutionContext.cjs.map +1 -1
  85. package/lib/cjs/graph/engine/execution/GraphExecutionEngine.cjs +354 -73
  86. package/lib/cjs/graph/engine/execution/GraphExecutionEngine.cjs.map +1 -1
  87. package/lib/cjs/graph/engine/execution/GraphExecutionResult.cjs +3 -3
  88. package/lib/cjs/graph/engine/execution/GraphExecutionResult.cjs.map +1 -1
  89. package/lib/cjs/graph/engine/execution/LogGraphNodeExecutor.cjs +9 -6
  90. package/lib/cjs/graph/engine/execution/LogGraphNodeExecutor.cjs.map +1 -1
  91. package/lib/cjs/graph/engine/execution/SwitchGraphNodeExecutor.cjs +11 -10
  92. package/lib/cjs/graph/engine/execution/SwitchGraphNodeExecutor.cjs.map +1 -1
  93. package/lib/cjs/graph/engine/index.cjs +8 -11
  94. package/lib/cjs/graph/engine/index.cjs.map +1 -1
  95. package/lib/cjs/graph/engine/loops/ForeachGraphNodeExecutor.cjs +37 -12
  96. package/lib/cjs/graph/engine/loops/ForeachGraphNodeExecutor.cjs.map +1 -1
  97. package/lib/cjs/graph/engine/loops/UntilGraphNodeExecutor.cjs +38 -13
  98. package/lib/cjs/graph/engine/loops/UntilGraphNodeExecutor.cjs.map +1 -1
  99. package/lib/cjs/graph/engine/loops/WhileGraphNodeExecutor.cjs +38 -13
  100. package/lib/cjs/graph/engine/loops/WhileGraphNodeExecutor.cjs.map +1 -1
  101. package/lib/cjs/graph/engine/pinning/GraphPinningPolicy.cjs +2 -2
  102. package/lib/cjs/graph/engine/pinning/GraphPinningPolicy.cjs.map +1 -1
  103. package/lib/cjs/graph/engine/pinning/GraphPinningService.cjs +43 -14
  104. package/lib/cjs/graph/engine/pinning/GraphPinningService.cjs.map +1 -1
  105. package/lib/cjs/graph/engine/planning/GraphExecutionPlanEdge.cjs.map +1 -1
  106. package/lib/cjs/graph/engine/planning/GraphExecutionPlanner.cjs +79 -88
  107. package/lib/cjs/graph/engine/planning/GraphExecutionPlanner.cjs.map +1 -1
  108. package/lib/cjs/graph/engine/planning/index.cjs +0 -1
  109. package/lib/cjs/graph/engine/planning/index.cjs.map +1 -1
  110. package/lib/cjs/graph/engine/registry/GraphNodeExecutorRegistry.cjs +28 -15
  111. package/lib/cjs/graph/engine/registry/GraphNodeExecutorRegistry.cjs.map +1 -1
  112. package/lib/cjs/graph/engine/runs/GraphRunEventPublisher.cjs +69 -0
  113. package/lib/cjs/graph/engine/runs/GraphRunEventPublisher.cjs.map +1 -0
  114. package/lib/cjs/graph/engine/runs/GraphRunExecutor.cjs +291 -0
  115. package/lib/cjs/graph/engine/runs/GraphRunExecutor.cjs.map +1 -0
  116. package/lib/cjs/graph/engine/runs/GraphRunFingerprint.cjs +29 -0
  117. package/lib/cjs/graph/engine/runs/GraphRunFingerprint.cjs.map +1 -0
  118. package/lib/cjs/graph/engine/runs/GraphRunService.cjs +259 -0
  119. package/lib/cjs/graph/engine/runs/GraphRunService.cjs.map +1 -0
  120. package/lib/cjs/graph/engine/runs/InMemoryGraphRunEventStore.cjs +69 -0
  121. package/lib/cjs/graph/engine/runs/InMemoryGraphRunEventStore.cjs.map +1 -0
  122. package/lib/cjs/graph/engine/runs/InMemoryGraphRunStore.cjs +26 -0
  123. package/lib/cjs/graph/engine/runs/InMemoryGraphRunStore.cjs.map +1 -0
  124. package/lib/cjs/graph/engine/runs/index.cjs +26 -0
  125. package/lib/cjs/graph/engine/runs/index.cjs.map +1 -0
  126. package/lib/cjs/graph/engine/runs/ownership.cjs +34 -0
  127. package/lib/cjs/graph/engine/runs/ownership.cjs.map +1 -0
  128. package/lib/cjs/graph/engine/runs/types.cjs.map +1 -0
  129. package/lib/cjs/graph/engine/snapshots/GraphExecutionSnapshotMapper.cjs +2 -2
  130. package/lib/cjs/graph/engine/snapshots/GraphExecutionSnapshotMapper.cjs.map +1 -1
  131. package/lib/cjs/graph/engine/validation/GraphConnectionPolicyValidator.cjs +142 -0
  132. package/lib/cjs/graph/engine/validation/GraphConnectionPolicyValidator.cjs.map +1 -0
  133. package/lib/cjs/graph/engine/validation/GraphCredentialReferenceValidator.cjs +160 -0
  134. package/lib/cjs/graph/engine/validation/GraphCredentialReferenceValidator.cjs.map +1 -0
  135. package/lib/cjs/graph/engine/validation/GraphDefinitionValidator.cjs +6 -10
  136. package/lib/cjs/graph/engine/validation/GraphDefinitionValidator.cjs.map +1 -1
  137. package/lib/cjs/graph/engine/validation/GraphEdgeInstanceValidator.cjs +166 -0
  138. package/lib/cjs/graph/engine/validation/GraphEdgeInstanceValidator.cjs.map +1 -0
  139. package/lib/cjs/graph/engine/validation/GraphNodeInstanceValidator.cjs +86 -0
  140. package/lib/cjs/graph/engine/validation/GraphNodeInstanceValidator.cjs.map +1 -0
  141. package/lib/cjs/graph/engine/validation/GraphParameterValidator.cjs +423 -0
  142. package/lib/cjs/graph/engine/validation/GraphParameterValidator.cjs.map +1 -0
  143. package/lib/cjs/graph/engine/validation/GraphResolvedWorkflow.cjs +4 -0
  144. package/lib/cjs/graph/engine/validation/GraphResolvedWorkflow.cjs.map +1 -0
  145. package/lib/cjs/graph/engine/validation/GraphValidationErrors.cjs +50 -0
  146. package/lib/cjs/graph/engine/validation/GraphValidationErrors.cjs.map +1 -0
  147. package/lib/cjs/graph/engine/validation/GraphValidationIssue.cjs +4 -0
  148. package/lib/cjs/graph/engine/validation/GraphValidationIssue.cjs.map +1 -0
  149. package/lib/cjs/graph/engine/validation/GraphWorkflowDocumentValidator.cjs +478 -0
  150. package/lib/cjs/graph/engine/validation/GraphWorkflowDocumentValidator.cjs.map +1 -0
  151. package/lib/cjs/graph/engine/validation/index.cjs +12 -1
  152. package/lib/cjs/graph/engine/validation/index.cjs.map +1 -1
  153. package/lib/cjs/graph/index.cjs +4 -4
  154. package/lib/cjs/graph/log/GraphRunLogger.cjs +10 -6
  155. package/lib/cjs/graph/log/GraphRunLogger.cjs.map +1 -1
  156. package/lib/cjs/graph/log/LogParameters.cjs +13 -13
  157. package/lib/cjs/graph/log/LogParameters.cjs.map +1 -1
  158. package/lib/cjs/index.cjs +2 -2
  159. package/lib/cjs/nest/graph/GraphExecutionController.cjs +140 -16
  160. package/lib/cjs/nest/graph/GraphExecutionController.cjs.map +1 -1
  161. package/lib/cjs/nest/graph/GraphExecutionModule.cjs +94 -7
  162. package/lib/cjs/nest/graph/GraphExecutionModule.cjs.map +1 -1
  163. package/lib/cjs/nest/graph/GraphExecutionResultModel.cjs +11 -0
  164. package/lib/cjs/nest/graph/GraphExecutionResultModel.cjs.map +1 -1
  165. package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs +63 -61
  166. package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs.map +1 -1
  167. package/lib/cjs/nest/graph/GraphNodeCatalogueController.cjs +270 -0
  168. package/lib/cjs/nest/graph/GraphNodeCatalogueController.cjs.map +1 -0
  169. package/lib/cjs/nest/graph/GraphResultService.cjs +16 -1
  170. package/lib/cjs/nest/graph/GraphResultService.cjs.map +1 -1
  171. package/lib/cjs/nest/graph/GraphRunController.cjs +279 -0
  172. package/lib/cjs/nest/graph/GraphRunController.cjs.map +1 -0
  173. package/lib/cjs/nest/graph/GraphRunModel.cjs +83 -0
  174. package/lib/cjs/nest/graph/GraphRunModel.cjs.map +1 -0
  175. package/lib/cjs/nest/graph/GraphRunModelService.cjs +121 -0
  176. package/lib/cjs/nest/graph/GraphRunModelService.cjs.map +1 -0
  177. package/lib/cjs/nest/graph/GraphWorkflowBoundaryValidation.cjs +169 -0
  178. package/lib/cjs/nest/graph/GraphWorkflowBoundaryValidation.cjs.map +1 -0
  179. package/lib/cjs/nest/graph/GraphWorkflowController.cjs +162 -0
  180. package/lib/cjs/nest/graph/GraphWorkflowController.cjs.map +1 -0
  181. package/lib/cjs/nest/graph/GraphWorkflowDocumentLimits.cjs +12 -0
  182. package/lib/cjs/nest/graph/GraphWorkflowDocumentLimits.cjs.map +1 -0
  183. package/lib/cjs/nest/graph/GraphWorkflowErrors.cjs +23 -0
  184. package/lib/cjs/nest/graph/GraphWorkflowErrors.cjs.map +1 -0
  185. package/lib/cjs/nest/graph/GraphWorkflowModel.cjs +27 -1
  186. package/lib/cjs/nest/graph/GraphWorkflowModel.cjs.map +1 -1
  187. package/lib/cjs/nest/graph/GraphWorkflowService.cjs +211 -8
  188. package/lib/cjs/nest/graph/GraphWorkflowService.cjs.map +1 -1
  189. package/lib/cjs/nest/graph/index.cjs +8 -0
  190. package/lib/cjs/nest/graph/index.cjs.map +1 -1
  191. package/lib/cjs/nest/graph/main.cjs +22 -5
  192. package/lib/cjs/nest/graph/main.cjs.map +1 -1
  193. package/lib/cjs/nest/keycloakModule.cjs +3 -1
  194. package/lib/cjs/nest/keycloakModule.cjs.map +1 -1
  195. package/lib/cjs/secrets/aws/AwsSecretEnvironment.cjs +27 -0
  196. package/lib/cjs/secrets/aws/AwsSecretEnvironment.cjs.map +1 -0
  197. package/lib/cjs/secrets/aws/AwsSecretService.cjs +53 -19
  198. package/lib/cjs/secrets/aws/AwsSecretService.cjs.map +1 -1
  199. package/lib/cjs/secrets/aws/index.cjs +1 -0
  200. package/lib/cjs/secrets/aws/index.cjs.map +1 -1
  201. package/lib/cjs/secrets/azure/AzureKeyVaultSecretService.cjs +45 -16
  202. package/lib/cjs/secrets/azure/AzureKeyVaultSecretService.cjs.map +1 -1
  203. package/lib/cjs/secrets/azure/AzureSecretEnvironment.cjs +23 -0
  204. package/lib/cjs/secrets/azure/AzureSecretEnvironment.cjs.map +1 -0
  205. package/lib/cjs/secrets/azure/index.cjs +1 -0
  206. package/lib/cjs/secrets/azure/index.cjs.map +1 -1
  207. package/lib/cjs/secrets/core/ClientBasedSecretService.cjs +29 -0
  208. package/lib/cjs/secrets/core/ClientBasedSecretService.cjs.map +1 -0
  209. package/lib/cjs/secrets/core/SecretEnvironment.cjs +19 -0
  210. package/lib/cjs/secrets/core/SecretEnvironment.cjs.map +1 -0
  211. package/lib/cjs/secrets/core/index.cjs +2 -0
  212. package/lib/cjs/secrets/core/index.cjs.map +1 -1
  213. package/lib/cjs/secrets/gcp/GcpSecretEnvironment.cjs +25 -0
  214. package/lib/cjs/secrets/gcp/GcpSecretEnvironment.cjs.map +1 -0
  215. package/lib/cjs/secrets/gcp/GcpSecretManagerService.cjs +45 -17
  216. package/lib/cjs/secrets/gcp/GcpSecretManagerService.cjs.map +1 -1
  217. package/lib/cjs/secrets/gcp/index.cjs +1 -0
  218. package/lib/cjs/secrets/gcp/index.cjs.map +1 -1
  219. package/lib/cjs/secrets/model/ModelSecretEnvironment.cjs +21 -0
  220. package/lib/cjs/secrets/model/ModelSecretEnvironment.cjs.map +1 -0
  221. package/lib/cjs/secrets/model/ModelSecretService.cjs +29 -3
  222. package/lib/cjs/secrets/model/ModelSecretService.cjs.map +1 -1
  223. package/lib/cjs/secrets/model/index.cjs +1 -0
  224. package/lib/cjs/secrets/model/index.cjs.map +1 -1
  225. package/lib/cjs/secrets/onepassword/OnePasswordSecretEnvironment.cjs +24 -0
  226. package/lib/cjs/secrets/onepassword/OnePasswordSecretEnvironment.cjs.map +1 -0
  227. package/lib/cjs/secrets/onepassword/OnePasswordSecretService.cjs +34 -3
  228. package/lib/cjs/secrets/onepassword/OnePasswordSecretService.cjs.map +1 -1
  229. package/lib/cjs/secrets/onepassword/index.cjs +1 -0
  230. package/lib/cjs/secrets/onepassword/index.cjs.map +1 -1
  231. package/lib/cjs/secrets/vault/VaultSecretEnvironment.cjs +24 -0
  232. package/lib/cjs/secrets/vault/VaultSecretEnvironment.cjs.map +1 -0
  233. package/lib/cjs/secrets/vault/VaultSecretService.cjs +47 -16
  234. package/lib/cjs/secrets/vault/VaultSecretService.cjs.map +1 -1
  235. package/lib/cjs/secrets/vault/index.cjs +1 -0
  236. package/lib/cjs/secrets/vault/index.cjs.map +1 -1
  237. package/lib/cjs/sftp/aws/AwsSftpEnvironment.cjs +31 -0
  238. package/lib/cjs/sftp/aws/AwsSftpEnvironment.cjs.map +1 -0
  239. package/lib/cjs/sftp/aws/AwsSftpService.cjs +55 -5
  240. package/lib/cjs/sftp/aws/AwsSftpService.cjs.map +1 -1
  241. package/lib/cjs/sftp/core/SftpEnvironment.cjs +19 -0
  242. package/lib/cjs/sftp/core/SftpEnvironment.cjs.map +1 -0
  243. package/lib/cjs/sftp/core/SftpSource.cjs +10 -0
  244. package/lib/cjs/sftp/core/SftpSource.cjs.map +1 -1
  245. package/lib/cjs/sftp/core/index.cjs +1 -0
  246. package/lib/cjs/sftp/core/index.cjs.map +1 -1
  247. package/lib/cjs/sftp/index.cjs +3 -0
  248. package/lib/cjs/sftp/index.cjs.map +1 -1
  249. package/lib/cjs/sftp/ssh2/Ssh2SftpEnvironment.cjs +28 -0
  250. package/lib/cjs/sftp/ssh2/Ssh2SftpEnvironment.cjs.map +1 -0
  251. package/lib/cjs/sftp/ssh2/Ssh2SftpService.cjs +46 -5
  252. package/lib/cjs/sftp/ssh2/Ssh2SftpService.cjs.map +1 -1
  253. package/lib/cjs/shared/environmentValue.cjs +31 -0
  254. package/lib/cjs/shared/environmentValue.cjs.map +1 -0
  255. package/lib/esm/blob/azure/AzureBlobEnvironment.js +21 -0
  256. package/lib/esm/blob/azure/AzureBlobEnvironment.js.map +1 -0
  257. package/lib/esm/blob/azure/AzureBlobStoreService.js +51 -12
  258. package/lib/esm/blob/azure/AzureBlobStoreService.js.map +1 -1
  259. package/lib/esm/blob/azure/index.js +1 -0
  260. package/lib/esm/blob/azure/index.js.map +1 -1
  261. package/lib/esm/blob/core/BlobEnvironment.js +15 -0
  262. package/lib/esm/blob/core/BlobEnvironment.js.map +1 -0
  263. package/lib/esm/blob/core/BlobStoreService.js +6 -3
  264. package/lib/esm/blob/core/BlobStoreService.js.map +1 -1
  265. package/lib/esm/blob/core/index.js +1 -0
  266. package/lib/esm/blob/core/index.js.map +1 -1
  267. package/lib/esm/blob/gcp/GcsBlobEnvironment.js +22 -0
  268. package/lib/esm/blob/gcp/GcsBlobEnvironment.js.map +1 -0
  269. package/lib/esm/blob/gcp/GcsBlobStoreService.js +29 -3
  270. package/lib/esm/blob/gcp/GcsBlobStoreService.js.map +1 -1
  271. package/lib/esm/blob/gcp/index.js +1 -0
  272. package/lib/esm/blob/gcp/index.js.map +1 -1
  273. package/lib/esm/blob/ipfs/IpfsBlobEnvironment.js +26 -0
  274. package/lib/esm/blob/ipfs/IpfsBlobEnvironment.js.map +1 -0
  275. package/lib/esm/blob/ipfs/IpfsBlobStoreService.js +35 -3
  276. package/lib/esm/blob/ipfs/IpfsBlobStoreService.js.map +1 -1
  277. package/lib/esm/blob/ipfs/index.js +1 -0
  278. package/lib/esm/blob/ipfs/index.js.map +1 -1
  279. package/lib/esm/blob/local/LocalBlobEnvironment.js +18 -0
  280. package/lib/esm/blob/local/LocalBlobEnvironment.js.map +1 -0
  281. package/lib/esm/blob/local/LocalBlobStoreService.js +27 -3
  282. package/lib/esm/blob/local/LocalBlobStoreService.js.map +1 -1
  283. package/lib/esm/blob/local/index.js +1 -0
  284. package/lib/esm/blob/local/index.js.map +1 -1
  285. package/lib/esm/blob/memory/MemoryBlobEnvironment.js +17 -0
  286. package/lib/esm/blob/memory/MemoryBlobEnvironment.js.map +1 -0
  287. package/lib/esm/blob/memory/MemoryBlobStoreService.js +26 -3
  288. package/lib/esm/blob/memory/MemoryBlobStoreService.js.map +1 -1
  289. package/lib/esm/blob/memory/index.js +1 -0
  290. package/lib/esm/blob/memory/index.js.map +1 -1
  291. package/lib/esm/blob/s3/MinioBlobEnvironment.js +28 -0
  292. package/lib/esm/blob/s3/MinioBlobEnvironment.js.map +1 -0
  293. package/lib/esm/blob/s3/MinioBlobStoreService.js +42 -4
  294. package/lib/esm/blob/s3/MinioBlobStoreService.js.map +1 -1
  295. package/lib/esm/blob/s3/R2BlobEnvironment.js +28 -0
  296. package/lib/esm/blob/s3/R2BlobEnvironment.js.map +1 -0
  297. package/lib/esm/blob/s3/R2BlobStoreService.js +42 -4
  298. package/lib/esm/blob/s3/R2BlobStoreService.js.map +1 -1
  299. package/lib/esm/blob/s3/S3BlobEnvironment.js +28 -0
  300. package/lib/esm/blob/s3/S3BlobEnvironment.js.map +1 -0
  301. package/lib/esm/blob/s3/S3BlobStoreService.js +41 -311
  302. package/lib/esm/blob/s3/S3BlobStoreService.js.map +1 -1
  303. package/lib/esm/blob/s3/S3CompatibleBlobStoreService.js +322 -0
  304. package/lib/esm/blob/s3/S3CompatibleBlobStoreService.js.map +1 -0
  305. package/lib/esm/blob/s3/index.js +4 -0
  306. package/lib/esm/blob/s3/index.js.map +1 -1
  307. package/lib/esm/graph/engine/catalog/GraphBuiltInRegistrations.js +95 -0
  308. package/lib/esm/graph/engine/catalog/GraphBuiltInRegistrations.js.map +1 -0
  309. package/lib/esm/graph/engine/catalog/GraphCatalogueErrors.js +22 -0
  310. package/lib/esm/graph/engine/catalog/GraphCatalogueErrors.js.map +1 -0
  311. package/lib/esm/graph/engine/catalog/GraphNodeCatalogue.js +265 -0
  312. package/lib/esm/graph/engine/catalog/GraphNodeCatalogue.js.map +1 -0
  313. package/lib/esm/graph/engine/catalog/GraphNodeManifestResolver.js +162 -0
  314. package/lib/esm/graph/engine/catalog/GraphNodeManifestResolver.js.map +1 -0
  315. package/lib/esm/graph/engine/catalog/GraphNodeMethodRegistry.js +59 -0
  316. package/lib/esm/graph/engine/catalog/GraphNodeMethodRegistry.js.map +1 -0
  317. package/lib/esm/graph/engine/catalog/GraphNodeRegistration.js +12 -0
  318. package/lib/esm/graph/engine/catalog/GraphNodeRegistration.js.map +1 -0
  319. package/lib/esm/graph/engine/catalog/index.js +7 -0
  320. package/lib/esm/graph/engine/catalog/index.js.map +1 -0
  321. package/lib/esm/graph/engine/constants.js +2 -2
  322. package/lib/esm/graph/engine/errors/GraphExecutionError.js +1 -0
  323. package/lib/esm/graph/engine/errors/GraphExecutionError.js.map +1 -1
  324. package/lib/esm/graph/engine/errors/GraphRunCancelledError.js +13 -0
  325. package/lib/esm/graph/engine/errors/GraphRunCancelledError.js.map +1 -0
  326. package/lib/esm/graph/engine/errors/index.js +1 -0
  327. package/lib/esm/graph/engine/errors/index.js.map +1 -1
  328. package/lib/esm/graph/engine/events/GraphExecutionEventEmitter.js.map +1 -1
  329. package/lib/esm/graph/engine/events/GraphExecutionEventFactory.js.map +1 -1
  330. package/lib/esm/graph/engine/events/index.js +0 -1
  331. package/lib/esm/graph/engine/events/index.js.map +1 -1
  332. package/lib/esm/graph/engine/execution/BreakGraphNodeExecutor.js +2 -2
  333. package/lib/esm/graph/engine/execution/BreakGraphNodeExecutor.js.map +1 -1
  334. package/lib/esm/graph/engine/execution/CodeGraphNodeExecutor.js +10 -6
  335. package/lib/esm/graph/engine/execution/CodeGraphNodeExecutor.js.map +1 -1
  336. package/lib/esm/graph/engine/execution/GraphExecutionContext.js +28 -16
  337. package/lib/esm/graph/engine/execution/GraphExecutionContext.js.map +1 -1
  338. package/lib/esm/graph/engine/execution/GraphExecutionEngine.js +322 -41
  339. package/lib/esm/graph/engine/execution/GraphExecutionEngine.js.map +1 -1
  340. package/lib/esm/graph/engine/execution/GraphExecutionFrame.js.map +1 -1
  341. package/lib/esm/graph/engine/execution/GraphExecutionResult.js +3 -3
  342. package/lib/esm/graph/engine/execution/GraphExecutionResult.js.map +1 -1
  343. package/lib/esm/graph/engine/execution/LogGraphNodeExecutor.js +9 -6
  344. package/lib/esm/graph/engine/execution/LogGraphNodeExecutor.js.map +1 -1
  345. package/lib/esm/graph/engine/execution/SwitchGraphNodeExecutor.js +11 -10
  346. package/lib/esm/graph/engine/execution/SwitchGraphNodeExecutor.js.map +1 -1
  347. package/lib/esm/graph/engine/index.js +8 -11
  348. package/lib/esm/graph/engine/index.js.map +1 -1
  349. package/lib/esm/graph/engine/loops/ForeachGraphNodeExecutor.js +32 -7
  350. package/lib/esm/graph/engine/loops/ForeachGraphNodeExecutor.js.map +1 -1
  351. package/lib/esm/graph/engine/loops/UntilGraphNodeExecutor.js +32 -7
  352. package/lib/esm/graph/engine/loops/UntilGraphNodeExecutor.js.map +1 -1
  353. package/lib/esm/graph/engine/loops/WhileGraphNodeExecutor.js +32 -7
  354. package/lib/esm/graph/engine/loops/WhileGraphNodeExecutor.js.map +1 -1
  355. package/lib/esm/graph/engine/pinning/GraphPinningPolicy.js +2 -2
  356. package/lib/esm/graph/engine/pinning/GraphPinningPolicy.js.map +1 -1
  357. package/lib/esm/graph/engine/pinning/GraphPinningService.js +43 -14
  358. package/lib/esm/graph/engine/pinning/GraphPinningService.js.map +1 -1
  359. package/lib/esm/graph/engine/planning/GraphExecutionPlanEdge.js +3 -1
  360. package/lib/esm/graph/engine/planning/GraphExecutionPlanEdge.js.map +1 -1
  361. package/lib/esm/graph/engine/planning/GraphExecutionPlanner.js +79 -88
  362. package/lib/esm/graph/engine/planning/GraphExecutionPlanner.js.map +1 -1
  363. package/lib/esm/graph/engine/planning/index.js +0 -1
  364. package/lib/esm/graph/engine/planning/index.js.map +1 -1
  365. package/lib/esm/graph/engine/registry/GraphNodeExecutorRegistry.js +28 -15
  366. package/lib/esm/graph/engine/registry/GraphNodeExecutorRegistry.js.map +1 -1
  367. package/lib/esm/graph/engine/runs/GraphRunEventPublisher.js +64 -0
  368. package/lib/esm/graph/engine/runs/GraphRunEventPublisher.js.map +1 -0
  369. package/lib/esm/graph/engine/runs/GraphRunExecutor.js +286 -0
  370. package/lib/esm/graph/engine/runs/GraphRunExecutor.js.map +1 -0
  371. package/lib/esm/graph/engine/runs/GraphRunFingerprint.js +25 -0
  372. package/lib/esm/graph/engine/runs/GraphRunFingerprint.js.map +1 -0
  373. package/lib/esm/graph/engine/runs/GraphRunService.js +254 -0
  374. package/lib/esm/graph/engine/runs/GraphRunService.js.map +1 -0
  375. package/lib/esm/graph/engine/runs/InMemoryGraphRunEventStore.js +64 -0
  376. package/lib/esm/graph/engine/runs/InMemoryGraphRunEventStore.js.map +1 -0
  377. package/lib/esm/graph/engine/runs/InMemoryGraphRunStore.js +21 -0
  378. package/lib/esm/graph/engine/runs/InMemoryGraphRunStore.js.map +1 -0
  379. package/lib/esm/graph/engine/runs/index.js +9 -0
  380. package/lib/esm/graph/engine/runs/index.js.map +1 -0
  381. package/lib/esm/graph/engine/runs/ownership.js +30 -0
  382. package/lib/esm/graph/engine/runs/ownership.js.map +1 -0
  383. package/lib/esm/graph/engine/runs/types.js.map +1 -0
  384. package/lib/esm/graph/engine/snapshots/GraphExecutionSnapshotMapper.js +1 -1
  385. package/lib/esm/graph/engine/snapshots/GraphExecutionSnapshotMapper.js.map +1 -1
  386. package/lib/esm/graph/engine/validation/GraphConnectionPolicyValidator.js +137 -0
  387. package/lib/esm/graph/engine/validation/GraphConnectionPolicyValidator.js.map +1 -0
  388. package/lib/esm/graph/engine/validation/GraphCredentialReferenceValidator.js +155 -0
  389. package/lib/esm/graph/engine/validation/GraphCredentialReferenceValidator.js.map +1 -0
  390. package/lib/esm/graph/engine/validation/GraphDefinitionValidator.js +6 -10
  391. package/lib/esm/graph/engine/validation/GraphDefinitionValidator.js.map +1 -1
  392. package/lib/esm/graph/engine/validation/GraphEdgeInstanceValidator.js +161 -0
  393. package/lib/esm/graph/engine/validation/GraphEdgeInstanceValidator.js.map +1 -0
  394. package/lib/esm/graph/engine/validation/GraphNodeInstanceValidator.js +81 -0
  395. package/lib/esm/graph/engine/validation/GraphNodeInstanceValidator.js.map +1 -0
  396. package/lib/esm/graph/engine/validation/GraphParameterValidator.js +416 -0
  397. package/lib/esm/graph/engine/validation/GraphParameterValidator.js.map +1 -0
  398. package/lib/esm/graph/engine/validation/GraphResolvedWorkflow.js +2 -0
  399. package/lib/esm/graph/engine/validation/GraphResolvedWorkflow.js.map +1 -0
  400. package/lib/esm/graph/engine/validation/GraphValidationErrors.js +43 -0
  401. package/lib/esm/graph/engine/validation/GraphValidationErrors.js.map +1 -0
  402. package/lib/esm/graph/engine/validation/GraphValidationIssue.js +2 -0
  403. package/lib/esm/graph/engine/validation/GraphValidationIssue.js.map +1 -0
  404. package/lib/esm/graph/engine/validation/GraphWorkflowDocumentValidator.js +472 -0
  405. package/lib/esm/graph/engine/validation/GraphWorkflowDocumentValidator.js.map +1 -0
  406. package/lib/esm/graph/engine/validation/index.js +12 -1
  407. package/lib/esm/graph/engine/validation/index.js.map +1 -1
  408. package/lib/esm/graph/index.js +4 -4
  409. package/lib/esm/graph/log/GraphRunLogger.js +5 -1
  410. package/lib/esm/graph/log/GraphRunLogger.js.map +1 -1
  411. package/lib/esm/graph/log/LogParameters.js +1 -1
  412. package/lib/esm/graph/log/LogParameters.js.map +1 -1
  413. package/lib/esm/index.js +2 -2
  414. package/lib/esm/nest/graph/GraphExecutionController.js +143 -19
  415. package/lib/esm/nest/graph/GraphExecutionController.js.map +1 -1
  416. package/lib/esm/nest/graph/GraphExecutionModule.js +97 -10
  417. package/lib/esm/nest/graph/GraphExecutionModule.js.map +1 -1
  418. package/lib/esm/nest/graph/GraphExecutionResultModel.js +11 -0
  419. package/lib/esm/nest/graph/GraphExecutionResultModel.js.map +1 -1
  420. package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js +62 -62
  421. package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js.map +1 -1
  422. package/lib/esm/nest/graph/GraphNodeCatalogueController.js +261 -0
  423. package/lib/esm/nest/graph/GraphNodeCatalogueController.js.map +1 -0
  424. package/lib/esm/nest/graph/GraphResultService.js +16 -1
  425. package/lib/esm/nest/graph/GraphResultService.js.map +1 -1
  426. package/lib/esm/nest/graph/GraphRunController.js +270 -0
  427. package/lib/esm/nest/graph/GraphRunController.js.map +1 -0
  428. package/lib/esm/nest/graph/GraphRunModel.js +74 -0
  429. package/lib/esm/nest/graph/GraphRunModel.js.map +1 -0
  430. package/lib/esm/nest/graph/GraphRunModelService.js +112 -0
  431. package/lib/esm/nest/graph/GraphRunModelService.js.map +1 -0
  432. package/lib/esm/nest/graph/GraphWorkflowBoundaryValidation.js +164 -0
  433. package/lib/esm/nest/graph/GraphWorkflowBoundaryValidation.js.map +1 -0
  434. package/lib/esm/nest/graph/GraphWorkflowController.js +153 -0
  435. package/lib/esm/nest/graph/GraphWorkflowController.js.map +1 -0
  436. package/lib/esm/nest/graph/GraphWorkflowDocumentLimits.js +8 -0
  437. package/lib/esm/nest/graph/GraphWorkflowDocumentLimits.js.map +1 -0
  438. package/lib/esm/nest/graph/GraphWorkflowErrors.js +18 -0
  439. package/lib/esm/nest/graph/GraphWorkflowErrors.js.map +1 -0
  440. package/lib/esm/nest/graph/GraphWorkflowModel.js +27 -1
  441. package/lib/esm/nest/graph/GraphWorkflowModel.js.map +1 -1
  442. package/lib/esm/nest/graph/GraphWorkflowService.js +210 -8
  443. package/lib/esm/nest/graph/GraphWorkflowService.js.map +1 -1
  444. package/lib/esm/nest/graph/index.js +8 -0
  445. package/lib/esm/nest/graph/index.js.map +1 -1
  446. package/lib/esm/nest/graph/main.js +22 -5
  447. package/lib/esm/nest/graph/main.js.map +1 -1
  448. package/lib/esm/nest/keycloakModule.js +3 -1
  449. package/lib/esm/nest/keycloakModule.js.map +1 -1
  450. package/lib/esm/secrets/aws/AwsSecretEnvironment.js +23 -0
  451. package/lib/esm/secrets/aws/AwsSecretEnvironment.js.map +1 -0
  452. package/lib/esm/secrets/aws/AwsSecretService.js +39 -8
  453. package/lib/esm/secrets/aws/AwsSecretService.js.map +1 -1
  454. package/lib/esm/secrets/aws/index.js +1 -0
  455. package/lib/esm/secrets/aws/index.js.map +1 -1
  456. package/lib/esm/secrets/azure/AzureKeyVaultSecretService.js +30 -4
  457. package/lib/esm/secrets/azure/AzureKeyVaultSecretService.js.map +1 -1
  458. package/lib/esm/secrets/azure/AzureSecretEnvironment.js +19 -0
  459. package/lib/esm/secrets/azure/AzureSecretEnvironment.js.map +1 -0
  460. package/lib/esm/secrets/azure/index.js +1 -0
  461. package/lib/esm/secrets/azure/index.js.map +1 -1
  462. package/lib/esm/secrets/core/ClientBasedSecretService.js +24 -0
  463. package/lib/esm/secrets/core/ClientBasedSecretService.js.map +1 -0
  464. package/lib/esm/secrets/core/SecretEnvironment.js +15 -0
  465. package/lib/esm/secrets/core/SecretEnvironment.js.map +1 -0
  466. package/lib/esm/secrets/core/index.js +2 -0
  467. package/lib/esm/secrets/core/index.js.map +1 -1
  468. package/lib/esm/secrets/gcp/GcpSecretEnvironment.js +21 -0
  469. package/lib/esm/secrets/gcp/GcpSecretEnvironment.js.map +1 -0
  470. package/lib/esm/secrets/gcp/GcpSecretManagerService.js +30 -5
  471. package/lib/esm/secrets/gcp/GcpSecretManagerService.js.map +1 -1
  472. package/lib/esm/secrets/gcp/index.js +1 -0
  473. package/lib/esm/secrets/gcp/index.js.map +1 -1
  474. package/lib/esm/secrets/model/ModelSecretEnvironment.js +17 -0
  475. package/lib/esm/secrets/model/ModelSecretEnvironment.js.map +1 -0
  476. package/lib/esm/secrets/model/ModelSecretService.js +28 -5
  477. package/lib/esm/secrets/model/ModelSecretService.js.map +1 -1
  478. package/lib/esm/secrets/model/index.js +1 -0
  479. package/lib/esm/secrets/model/index.js.map +1 -1
  480. package/lib/esm/secrets/onepassword/OnePasswordSecretEnvironment.js +20 -0
  481. package/lib/esm/secrets/onepassword/OnePasswordSecretEnvironment.js.map +1 -0
  482. package/lib/esm/secrets/onepassword/OnePasswordSecretService.js +33 -5
  483. package/lib/esm/secrets/onepassword/OnePasswordSecretService.js.map +1 -1
  484. package/lib/esm/secrets/onepassword/index.js +1 -0
  485. package/lib/esm/secrets/onepassword/index.js.map +1 -1
  486. package/lib/esm/secrets/vault/VaultSecretEnvironment.js +20 -0
  487. package/lib/esm/secrets/vault/VaultSecretEnvironment.js.map +1 -0
  488. package/lib/esm/secrets/vault/VaultSecretService.js +33 -5
  489. package/lib/esm/secrets/vault/VaultSecretService.js.map +1 -1
  490. package/lib/esm/secrets/vault/index.js +1 -0
  491. package/lib/esm/secrets/vault/index.js.map +1 -1
  492. package/lib/esm/sftp/aws/AwsSftpEnvironment.js +27 -0
  493. package/lib/esm/sftp/aws/AwsSftpEnvironment.js.map +1 -0
  494. package/lib/esm/sftp/aws/AwsSftpService.js +52 -6
  495. package/lib/esm/sftp/aws/AwsSftpService.js.map +1 -1
  496. package/lib/esm/sftp/core/SftpEnvironment.js +15 -0
  497. package/lib/esm/sftp/core/SftpEnvironment.js.map +1 -0
  498. package/lib/esm/sftp/core/SftpSource.js +12 -2
  499. package/lib/esm/sftp/core/SftpSource.js.map +1 -1
  500. package/lib/esm/sftp/core/index.js +1 -0
  501. package/lib/esm/sftp/core/index.js.map +1 -1
  502. package/lib/esm/sftp/index.js +3 -0
  503. package/lib/esm/sftp/index.js.map +1 -1
  504. package/lib/esm/sftp/ssh2/Ssh2SftpEnvironment.js +24 -0
  505. package/lib/esm/sftp/ssh2/Ssh2SftpEnvironment.js.map +1 -0
  506. package/lib/esm/sftp/ssh2/Ssh2SftpService.js +43 -6
  507. package/lib/esm/sftp/ssh2/Ssh2SftpService.js.map +1 -1
  508. package/lib/esm/shared/environmentValue.js +25 -0
  509. package/lib/esm/shared/environmentValue.js.map +1 -0
  510. package/lib/types/blob/azure/AzureBlobEnvironment.d.cts +25 -0
  511. package/lib/types/blob/azure/AzureBlobEnvironment.d.mts +25 -0
  512. package/lib/types/blob/azure/AzureBlobStoreService.d.cts +1 -0
  513. package/lib/types/blob/azure/AzureBlobStoreService.d.mts +1 -0
  514. package/lib/types/blob/azure/index.d.cts +1 -0
  515. package/lib/types/blob/azure/index.d.mts +1 -0
  516. package/lib/types/blob/core/BlobEnvironment.d.cts +11 -0
  517. package/lib/types/blob/core/BlobEnvironment.d.mts +11 -0
  518. package/lib/types/blob/core/BlobStoreService.d.cts +6 -0
  519. package/lib/types/blob/core/BlobStoreService.d.mts +6 -0
  520. package/lib/types/blob/core/index.d.cts +1 -0
  521. package/lib/types/blob/core/index.d.mts +1 -0
  522. package/lib/types/blob/gcp/GcsBlobEnvironment.d.cts +17 -0
  523. package/lib/types/blob/gcp/GcsBlobEnvironment.d.mts +17 -0
  524. package/lib/types/blob/gcp/GcsBlobStoreService.d.cts +1 -0
  525. package/lib/types/blob/gcp/GcsBlobStoreService.d.mts +1 -0
  526. package/lib/types/blob/gcp/index.d.cts +1 -0
  527. package/lib/types/blob/gcp/index.d.mts +1 -0
  528. package/lib/types/blob/ipfs/IpfsBlobEnvironment.d.cts +24 -0
  529. package/lib/types/blob/ipfs/IpfsBlobEnvironment.d.mts +24 -0
  530. package/lib/types/blob/ipfs/IpfsBlobStoreService.d.cts +1 -0
  531. package/lib/types/blob/ipfs/IpfsBlobStoreService.d.mts +1 -0
  532. package/lib/types/blob/ipfs/index.d.cts +1 -0
  533. package/lib/types/blob/ipfs/index.d.mts +1 -0
  534. package/lib/types/blob/local/LocalBlobEnvironment.d.cts +15 -0
  535. package/lib/types/blob/local/LocalBlobEnvironment.d.mts +15 -0
  536. package/lib/types/blob/local/LocalBlobStoreService.d.cts +1 -0
  537. package/lib/types/blob/local/LocalBlobStoreService.d.mts +1 -0
  538. package/lib/types/blob/local/index.d.cts +1 -0
  539. package/lib/types/blob/local/index.d.mts +1 -0
  540. package/lib/types/blob/memory/MemoryBlobEnvironment.d.cts +14 -0
  541. package/lib/types/blob/memory/MemoryBlobEnvironment.d.mts +14 -0
  542. package/lib/types/blob/memory/MemoryBlobStoreService.d.cts +1 -0
  543. package/lib/types/blob/memory/MemoryBlobStoreService.d.mts +1 -0
  544. package/lib/types/blob/memory/index.d.cts +1 -0
  545. package/lib/types/blob/memory/index.d.mts +1 -0
  546. package/lib/types/blob/s3/MinioBlobEnvironment.d.cts +11 -0
  547. package/lib/types/blob/s3/MinioBlobEnvironment.d.mts +11 -0
  548. package/lib/types/blob/s3/MinioBlobStoreService.d.cts +4 -7
  549. package/lib/types/blob/s3/MinioBlobStoreService.d.mts +4 -7
  550. package/lib/types/blob/s3/R2BlobEnvironment.d.cts +11 -0
  551. package/lib/types/blob/s3/R2BlobEnvironment.d.mts +11 -0
  552. package/lib/types/blob/s3/R2BlobStoreService.d.cts +4 -7
  553. package/lib/types/blob/s3/R2BlobStoreService.d.mts +4 -7
  554. package/lib/types/blob/s3/S3BlobEnvironment.d.cts +26 -0
  555. package/lib/types/blob/s3/S3BlobEnvironment.d.mts +26 -0
  556. package/lib/types/blob/s3/S3BlobStoreService.d.cts +4 -24
  557. package/lib/types/blob/s3/S3BlobStoreService.d.mts +4 -24
  558. package/lib/types/blob/s3/S3CompatibleBlobStoreService.d.cts +30 -0
  559. package/lib/types/blob/s3/S3CompatibleBlobStoreService.d.mts +30 -0
  560. package/lib/types/blob/s3/index.d.cts +4 -0
  561. package/lib/types/blob/s3/index.d.mts +4 -0
  562. package/lib/types/graph/engine/catalog/GraphBuiltInRegistrations.d.cts +17 -0
  563. package/lib/types/graph/engine/catalog/GraphBuiltInRegistrations.d.mts +17 -0
  564. package/lib/types/graph/engine/catalog/GraphCatalogueErrors.d.cts +13 -0
  565. package/lib/types/graph/engine/catalog/GraphCatalogueErrors.d.mts +13 -0
  566. package/lib/types/graph/engine/catalog/GraphNodeCatalogue.d.cts +71 -0
  567. package/lib/types/graph/engine/catalog/GraphNodeCatalogue.d.mts +71 -0
  568. package/lib/types/graph/engine/catalog/GraphNodeManifestResolver.d.cts +42 -0
  569. package/lib/types/graph/engine/catalog/GraphNodeManifestResolver.d.mts +42 -0
  570. package/lib/types/graph/engine/catalog/GraphNodeMethodRegistry.d.cts +22 -0
  571. package/lib/types/graph/engine/catalog/GraphNodeMethodRegistry.d.mts +22 -0
  572. package/lib/types/graph/engine/catalog/GraphNodeRegistration.d.cts +68 -0
  573. package/lib/types/graph/engine/catalog/GraphNodeRegistration.d.mts +68 -0
  574. package/lib/types/graph/engine/catalog/index.d.cts +6 -0
  575. package/lib/types/graph/engine/catalog/index.d.mts +6 -0
  576. package/lib/types/graph/engine/constants.d.cts +2 -2
  577. package/lib/types/graph/engine/constants.d.mts +2 -2
  578. package/lib/types/graph/engine/errors/GraphRunCancelledError.d.cts +9 -0
  579. package/lib/types/graph/engine/errors/GraphRunCancelledError.d.mts +9 -0
  580. package/lib/types/graph/engine/errors/index.d.cts +1 -0
  581. package/lib/types/graph/engine/errors/index.d.mts +1 -0
  582. package/lib/types/graph/engine/events/GraphExecutionEventEmitter.d.cts +1 -1
  583. package/lib/types/graph/engine/events/GraphExecutionEventEmitter.d.mts +1 -1
  584. package/lib/types/graph/engine/events/GraphExecutionEventFactory.d.cts +1 -1
  585. package/lib/types/graph/engine/events/GraphExecutionEventFactory.d.mts +1 -1
  586. package/lib/types/graph/engine/events/GraphExecutionObserver.d.cts +1 -1
  587. package/lib/types/graph/engine/events/GraphExecutionObserver.d.mts +1 -1
  588. package/lib/types/graph/engine/events/index.d.cts +0 -1
  589. package/lib/types/graph/engine/events/index.d.mts +0 -1
  590. package/lib/types/graph/engine/execution/BreakGraphNodeExecutor.d.cts +2 -2
  591. package/lib/types/graph/engine/execution/BreakGraphNodeExecutor.d.mts +2 -2
  592. package/lib/types/graph/engine/execution/CodeGraphNodeExecutor.d.cts +2 -2
  593. package/lib/types/graph/engine/execution/CodeGraphNodeExecutor.d.mts +2 -2
  594. package/lib/types/graph/engine/execution/GraphExecutionContext.d.cts +28 -14
  595. package/lib/types/graph/engine/execution/GraphExecutionContext.d.mts +28 -14
  596. package/lib/types/graph/engine/execution/GraphExecutionEngine.d.cts +106 -23
  597. package/lib/types/graph/engine/execution/GraphExecutionEngine.d.mts +106 -23
  598. package/lib/types/graph/engine/execution/GraphExecutionFrame.d.cts +2 -1
  599. package/lib/types/graph/engine/execution/GraphExecutionFrame.d.mts +2 -1
  600. package/lib/types/graph/engine/execution/GraphExecutionResult.d.cts +3 -3
  601. package/lib/types/graph/engine/execution/GraphExecutionResult.d.mts +3 -3
  602. package/lib/types/graph/engine/execution/GraphNodeExecutor.d.cts +17 -9
  603. package/lib/types/graph/engine/execution/GraphNodeExecutor.d.mts +17 -9
  604. package/lib/types/graph/engine/execution/LogGraphNodeExecutor.d.cts +3 -3
  605. package/lib/types/graph/engine/execution/LogGraphNodeExecutor.d.mts +3 -3
  606. package/lib/types/graph/engine/execution/SwitchGraphNodeExecutor.d.cts +2 -2
  607. package/lib/types/graph/engine/execution/SwitchGraphNodeExecutor.d.mts +2 -2
  608. package/lib/types/graph/engine/index.d.cts +6 -9
  609. package/lib/types/graph/engine/index.d.mts +6 -9
  610. package/lib/types/graph/engine/loops/ConditionExpressionEvaluator.d.cts +1 -1
  611. package/lib/types/graph/engine/loops/ConditionExpressionEvaluator.d.mts +1 -1
  612. package/lib/types/graph/engine/loops/ForeachGraphNodeExecutor.d.cts +2 -2
  613. package/lib/types/graph/engine/loops/ForeachGraphNodeExecutor.d.mts +2 -2
  614. package/lib/types/graph/engine/loops/GraphConditionEvaluator.d.cts +1 -1
  615. package/lib/types/graph/engine/loops/GraphConditionEvaluator.d.mts +1 -1
  616. package/lib/types/graph/engine/loops/UntilGraphNodeExecutor.d.cts +2 -2
  617. package/lib/types/graph/engine/loops/UntilGraphNodeExecutor.d.mts +2 -2
  618. package/lib/types/graph/engine/loops/WhileGraphNodeExecutor.d.cts +2 -2
  619. package/lib/types/graph/engine/loops/WhileGraphNodeExecutor.d.mts +2 -2
  620. package/lib/types/graph/engine/pinning/GraphPinningService.d.cts +16 -5
  621. package/lib/types/graph/engine/pinning/GraphPinningService.d.mts +16 -5
  622. package/lib/types/graph/engine/planning/GraphExecutionPlan.d.cts +8 -4
  623. package/lib/types/graph/engine/planning/GraphExecutionPlan.d.mts +8 -4
  624. package/lib/types/graph/engine/planning/GraphExecutionPlanEdge.d.cts +9 -4
  625. package/lib/types/graph/engine/planning/GraphExecutionPlanEdge.d.mts +9 -4
  626. package/lib/types/graph/engine/planning/GraphExecutionPlanNode.d.cts +17 -9
  627. package/lib/types/graph/engine/planning/GraphExecutionPlanNode.d.mts +17 -9
  628. package/lib/types/graph/engine/planning/GraphExecutionPlanner.d.cts +21 -33
  629. package/lib/types/graph/engine/planning/GraphExecutionPlanner.d.mts +21 -33
  630. package/lib/types/graph/engine/planning/index.d.cts +0 -1
  631. package/lib/types/graph/engine/planning/index.d.mts +0 -1
  632. package/lib/types/graph/engine/registry/GraphNodeExecutorRegistry.d.cts +22 -8
  633. package/lib/types/graph/engine/registry/GraphNodeExecutorRegistry.d.mts +22 -8
  634. package/lib/types/graph/engine/runs/GraphRunEventPublisher.d.cts +26 -0
  635. package/lib/types/graph/engine/runs/GraphRunEventPublisher.d.mts +26 -0
  636. package/lib/types/graph/engine/runs/GraphRunExecutor.d.cts +75 -0
  637. package/lib/types/graph/engine/runs/GraphRunExecutor.d.mts +75 -0
  638. package/lib/types/graph/engine/runs/GraphRunFingerprint.d.cts +8 -0
  639. package/lib/types/graph/engine/runs/GraphRunFingerprint.d.mts +8 -0
  640. package/lib/types/graph/engine/runs/GraphRunService.d.cts +93 -0
  641. package/lib/types/graph/engine/runs/GraphRunService.d.mts +93 -0
  642. package/lib/types/graph/engine/runs/InMemoryGraphRunEventStore.d.cts +28 -0
  643. package/lib/types/graph/engine/runs/InMemoryGraphRunEventStore.d.mts +28 -0
  644. package/lib/types/graph/engine/runs/InMemoryGraphRunStore.d.cts +12 -0
  645. package/lib/types/graph/engine/runs/InMemoryGraphRunStore.d.mts +12 -0
  646. package/lib/types/graph/engine/runs/index.d.cts +8 -0
  647. package/lib/types/graph/engine/runs/index.d.mts +8 -0
  648. package/lib/types/graph/engine/runs/ownership.d.cts +25 -0
  649. package/lib/types/graph/engine/runs/ownership.d.mts +25 -0
  650. package/lib/types/graph/engine/runs/types.d.cts +83 -0
  651. package/lib/types/graph/engine/runs/types.d.mts +83 -0
  652. package/lib/types/graph/engine/types.d.cts +37 -12
  653. package/lib/types/graph/engine/types.d.mts +37 -12
  654. package/lib/types/graph/engine/validation/GraphConnectionPolicyValidator.d.cts +32 -0
  655. package/lib/types/graph/engine/validation/GraphConnectionPolicyValidator.d.mts +32 -0
  656. package/lib/types/graph/engine/validation/GraphCredentialReferenceValidator.d.cts +62 -0
  657. package/lib/types/graph/engine/validation/GraphCredentialReferenceValidator.d.mts +62 -0
  658. package/lib/types/graph/engine/validation/GraphDefinitionValidator.d.cts +11 -9
  659. package/lib/types/graph/engine/validation/GraphDefinitionValidator.d.mts +11 -9
  660. package/lib/types/graph/engine/validation/GraphEdgeInstanceValidator.d.cts +32 -0
  661. package/lib/types/graph/engine/validation/GraphEdgeInstanceValidator.d.mts +32 -0
  662. package/lib/types/graph/engine/validation/GraphNodeInstanceValidator.d.cts +37 -0
  663. package/lib/types/graph/engine/validation/GraphNodeInstanceValidator.d.mts +37 -0
  664. package/lib/types/graph/engine/validation/GraphParameterValidator.d.cts +92 -0
  665. package/lib/types/graph/engine/validation/GraphParameterValidator.d.mts +92 -0
  666. package/lib/types/graph/engine/validation/GraphResolvedWorkflow.d.cts +66 -0
  667. package/lib/types/graph/engine/validation/GraphResolvedWorkflow.d.mts +66 -0
  668. package/lib/types/graph/engine/validation/GraphValidationErrors.d.cts +34 -0
  669. package/lib/types/graph/engine/validation/GraphValidationErrors.d.mts +34 -0
  670. package/lib/types/graph/engine/validation/GraphValidationIssue.d.cts +39 -0
  671. package/lib/types/graph/engine/validation/GraphValidationIssue.d.mts +39 -0
  672. package/lib/types/graph/engine/validation/GraphWorkflowDocumentValidator.d.cts +162 -0
  673. package/lib/types/graph/engine/validation/GraphWorkflowDocumentValidator.d.mts +162 -0
  674. package/lib/types/graph/engine/validation/index.d.cts +12 -1
  675. package/lib/types/graph/engine/validation/index.d.mts +12 -1
  676. package/lib/types/graph/index.d.cts +4 -4
  677. package/lib/types/graph/index.d.mts +4 -4
  678. package/lib/types/graph/log/GraphRunLogger.d.cts +3 -1
  679. package/lib/types/graph/log/GraphRunLogger.d.mts +3 -1
  680. package/lib/types/index.d.cts +2 -2
  681. package/lib/types/index.d.mts +2 -2
  682. package/lib/types/nest/graph/GraphExecutionController.d.cts +83 -4
  683. package/lib/types/nest/graph/GraphExecutionController.d.mts +83 -4
  684. package/lib/types/nest/graph/GraphExecutionModule.d.cts +64 -0
  685. package/lib/types/nest/graph/GraphExecutionModule.d.mts +64 -0
  686. package/lib/types/nest/graph/GraphExecutionResultModel.d.cts +12 -0
  687. package/lib/types/nest/graph/GraphExecutionResultModel.d.mts +12 -0
  688. package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.cts +42 -28
  689. package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.mts +42 -28
  690. package/lib/types/nest/graph/GraphNodeCatalogueController.d.cts +70 -0
  691. package/lib/types/nest/graph/GraphNodeCatalogueController.d.mts +70 -0
  692. package/lib/types/nest/graph/GraphResultService.d.cts +12 -0
  693. package/lib/types/nest/graph/GraphResultService.d.mts +12 -0
  694. package/lib/types/nest/graph/GraphRunController.d.cts +87 -0
  695. package/lib/types/nest/graph/GraphRunController.d.mts +87 -0
  696. package/lib/types/nest/graph/GraphRunModel.d.cts +22 -0
  697. package/lib/types/nest/graph/GraphRunModel.d.mts +22 -0
  698. package/lib/types/nest/graph/GraphRunModelService.d.cts +21 -0
  699. package/lib/types/nest/graph/GraphRunModelService.d.mts +21 -0
  700. package/lib/types/nest/graph/GraphWorkflowBoundaryValidation.d.cts +28 -0
  701. package/lib/types/nest/graph/GraphWorkflowBoundaryValidation.d.mts +28 -0
  702. package/lib/types/nest/graph/GraphWorkflowController.d.cts +62 -0
  703. package/lib/types/nest/graph/GraphWorkflowController.d.mts +62 -0
  704. package/lib/types/nest/graph/GraphWorkflowDocumentLimits.d.cts +33 -0
  705. package/lib/types/nest/graph/GraphWorkflowDocumentLimits.d.mts +33 -0
  706. package/lib/types/nest/graph/GraphWorkflowErrors.d.cts +13 -0
  707. package/lib/types/nest/graph/GraphWorkflowErrors.d.mts +13 -0
  708. package/lib/types/nest/graph/GraphWorkflowModel.d.cts +19 -1
  709. package/lib/types/nest/graph/GraphWorkflowModel.d.mts +19 -1
  710. package/lib/types/nest/graph/GraphWorkflowService.d.cts +48 -1
  711. package/lib/types/nest/graph/GraphWorkflowService.d.mts +48 -1
  712. package/lib/types/nest/graph/index.d.cts +8 -0
  713. package/lib/types/nest/graph/index.d.mts +8 -0
  714. package/lib/types/nest/keycloakModule.d.cts +9 -1
  715. package/lib/types/nest/keycloakModule.d.mts +9 -1
  716. package/lib/types/secrets/aws/AwsSecretEnvironment.d.cts +21 -0
  717. package/lib/types/secrets/aws/AwsSecretEnvironment.d.mts +21 -0
  718. package/lib/types/secrets/aws/AwsSecretService.d.cts +4 -3
  719. package/lib/types/secrets/aws/AwsSecretService.d.mts +4 -3
  720. package/lib/types/secrets/aws/index.d.cts +1 -0
  721. package/lib/types/secrets/aws/index.d.mts +1 -0
  722. package/lib/types/secrets/azure/AzureKeyVaultSecretService.d.cts +4 -3
  723. package/lib/types/secrets/azure/AzureKeyVaultSecretService.d.mts +4 -3
  724. package/lib/types/secrets/azure/AzureSecretEnvironment.d.cts +14 -0
  725. package/lib/types/secrets/azure/AzureSecretEnvironment.d.mts +14 -0
  726. package/lib/types/secrets/azure/index.d.cts +1 -0
  727. package/lib/types/secrets/azure/index.d.mts +1 -0
  728. package/lib/types/secrets/core/ClientBasedSecretService.d.cts +20 -0
  729. package/lib/types/secrets/core/ClientBasedSecretService.d.mts +20 -0
  730. package/lib/types/secrets/core/SecretEnvironment.d.cts +11 -0
  731. package/lib/types/secrets/core/SecretEnvironment.d.mts +11 -0
  732. package/lib/types/secrets/core/index.d.cts +2 -0
  733. package/lib/types/secrets/core/index.d.mts +2 -0
  734. package/lib/types/secrets/gcp/GcpSecretEnvironment.d.cts +16 -0
  735. package/lib/types/secrets/gcp/GcpSecretEnvironment.d.mts +16 -0
  736. package/lib/types/secrets/gcp/GcpSecretManagerService.d.cts +4 -3
  737. package/lib/types/secrets/gcp/GcpSecretManagerService.d.mts +4 -3
  738. package/lib/types/secrets/gcp/index.d.cts +1 -0
  739. package/lib/types/secrets/gcp/index.d.mts +1 -0
  740. package/lib/types/secrets/model/ModelSecretEnvironment.d.cts +14 -0
  741. package/lib/types/secrets/model/ModelSecretEnvironment.d.mts +14 -0
  742. package/lib/types/secrets/model/ModelSecretService.d.cts +4 -3
  743. package/lib/types/secrets/model/ModelSecretService.d.mts +4 -3
  744. package/lib/types/secrets/model/ModelSecretServiceConfig.d.cts +2 -1
  745. package/lib/types/secrets/model/ModelSecretServiceConfig.d.mts +2 -1
  746. package/lib/types/secrets/model/index.d.cts +1 -0
  747. package/lib/types/secrets/model/index.d.mts +1 -0
  748. package/lib/types/secrets/onepassword/OnePasswordSecretEnvironment.d.cts +17 -0
  749. package/lib/types/secrets/onepassword/OnePasswordSecretEnvironment.d.mts +17 -0
  750. package/lib/types/secrets/onepassword/OnePasswordSecretService.d.cts +4 -3
  751. package/lib/types/secrets/onepassword/OnePasswordSecretService.d.mts +4 -3
  752. package/lib/types/secrets/onepassword/index.d.cts +1 -0
  753. package/lib/types/secrets/onepassword/index.d.mts +1 -0
  754. package/lib/types/secrets/vault/VaultSecretEnvironment.d.cts +17 -0
  755. package/lib/types/secrets/vault/VaultSecretEnvironment.d.mts +17 -0
  756. package/lib/types/secrets/vault/VaultSecretService.d.cts +4 -3
  757. package/lib/types/secrets/vault/VaultSecretService.d.mts +4 -3
  758. package/lib/types/secrets/vault/index.d.cts +1 -0
  759. package/lib/types/secrets/vault/index.d.mts +1 -0
  760. package/lib/types/sftp/aws/AwsSftpEnvironment.d.cts +24 -0
  761. package/lib/types/sftp/aws/AwsSftpEnvironment.d.mts +24 -0
  762. package/lib/types/sftp/aws/AwsSftpService.d.cts +1 -0
  763. package/lib/types/sftp/aws/AwsSftpService.d.mts +1 -0
  764. package/lib/types/sftp/core/SftpEnvironment.d.cts +11 -0
  765. package/lib/types/sftp/core/SftpEnvironment.d.mts +11 -0
  766. package/lib/types/sftp/core/SftpSource.d.cts +7 -0
  767. package/lib/types/sftp/core/SftpSource.d.mts +7 -0
  768. package/lib/types/sftp/core/index.d.cts +1 -0
  769. package/lib/types/sftp/core/index.d.mts +1 -0
  770. package/lib/types/sftp/index.d.cts +3 -0
  771. package/lib/types/sftp/index.d.mts +3 -0
  772. package/lib/types/sftp/ssh2/Ssh2SftpEnvironment.d.cts +21 -0
  773. package/lib/types/sftp/ssh2/Ssh2SftpEnvironment.d.mts +21 -0
  774. package/lib/types/sftp/ssh2/Ssh2SftpService.d.cts +1 -0
  775. package/lib/types/sftp/ssh2/Ssh2SftpService.d.mts +1 -0
  776. package/lib/types/shared/environmentValue.d.cts +16 -0
  777. package/lib/types/shared/environmentValue.d.mts +16 -0
  778. package/package.json +6 -16
  779. package/lib/cjs/graph/engine/events/GraphExecutionEvent.cjs +0 -4
  780. package/lib/cjs/graph/engine/events/GraphExecutionEvent.cjs.map +0 -1
  781. package/lib/cjs/graph/engine/planning/GraphRelationResolver.cjs +0 -172
  782. package/lib/cjs/graph/engine/planning/GraphRelationResolver.cjs.map +0 -1
  783. package/lib/cjs/graph/shared/GraphExecutionStateMapper.cjs +0 -97
  784. package/lib/cjs/graph/shared/GraphExecutionStateMapper.cjs.map +0 -1
  785. package/lib/cjs/graph/shared/constants.cjs +0 -99
  786. package/lib/cjs/graph/shared/constants.cjs.map +0 -1
  787. package/lib/cjs/graph/shared/index.cjs +0 -46
  788. package/lib/cjs/graph/shared/index.cjs.map +0 -1
  789. package/lib/cjs/graph/shared/nodes/agent.cjs +0 -110
  790. package/lib/cjs/graph/shared/nodes/agent.cjs.map +0 -1
  791. package/lib/cjs/graph/shared/nodes/base.cjs +0 -36
  792. package/lib/cjs/graph/shared/nodes/base.cjs.map +0 -1
  793. package/lib/cjs/graph/shared/nodes/category-styles.cjs +0 -38
  794. package/lib/cjs/graph/shared/nodes/category-styles.cjs.map +0 -1
  795. package/lib/cjs/graph/shared/nodes/flow-control.cjs +0 -630
  796. package/lib/cjs/graph/shared/nodes/flow-control.cjs.map +0 -1
  797. package/lib/cjs/graph/shared/nodes/index.cjs +0 -35
  798. package/lib/cjs/graph/shared/nodes/index.cjs.map +0 -1
  799. package/lib/cjs/graph/shared/nodes/triggers.cjs +0 -250
  800. package/lib/cjs/graph/shared/nodes/triggers.cjs.map +0 -1
  801. package/lib/cjs/graph/shared/types.cjs.map +0 -1
  802. package/lib/esm/graph/engine/events/GraphExecutionEvent.js +0 -2
  803. package/lib/esm/graph/engine/events/GraphExecutionEvent.js.map +0 -1
  804. package/lib/esm/graph/engine/planning/GraphRelationResolver.js +0 -167
  805. package/lib/esm/graph/engine/planning/GraphRelationResolver.js.map +0 -1
  806. package/lib/esm/graph/shared/GraphExecutionStateMapper.js +0 -91
  807. package/lib/esm/graph/shared/GraphExecutionStateMapper.js.map +0 -1
  808. package/lib/esm/graph/shared/constants.js +0 -135
  809. package/lib/esm/graph/shared/constants.js.map +0 -1
  810. package/lib/esm/graph/shared/index.js +0 -25
  811. package/lib/esm/graph/shared/index.js.map +0 -1
  812. package/lib/esm/graph/shared/nodes/agent.js +0 -101
  813. package/lib/esm/graph/shared/nodes/agent.js.map +0 -1
  814. package/lib/esm/graph/shared/nodes/base.js +0 -31
  815. package/lib/esm/graph/shared/nodes/base.js.map +0 -1
  816. package/lib/esm/graph/shared/nodes/category-styles.js +0 -34
  817. package/lib/esm/graph/shared/nodes/category-styles.js.map +0 -1
  818. package/lib/esm/graph/shared/nodes/flow-control.js +0 -621
  819. package/lib/esm/graph/shared/nodes/flow-control.js.map +0 -1
  820. package/lib/esm/graph/shared/nodes/index.js +0 -18
  821. package/lib/esm/graph/shared/nodes/index.js.map +0 -1
  822. package/lib/esm/graph/shared/nodes/triggers.js +0 -241
  823. package/lib/esm/graph/shared/nodes/triggers.js.map +0 -1
  824. package/lib/esm/graph/shared/types.js.map +0 -1
  825. package/lib/types/graph/engine/events/GraphExecutionEvent.d.cts +0 -6
  826. package/lib/types/graph/engine/events/GraphExecutionEvent.d.mts +0 -6
  827. package/lib/types/graph/engine/planning/GraphRelationResolver.d.cts +0 -62
  828. package/lib/types/graph/engine/planning/GraphRelationResolver.d.mts +0 -62
  829. package/lib/types/graph/shared/GraphExecutionStateMapper.d.cts +0 -66
  830. package/lib/types/graph/shared/GraphExecutionStateMapper.d.mts +0 -66
  831. package/lib/types/graph/shared/constants.d.cts +0 -120
  832. package/lib/types/graph/shared/constants.d.mts +0 -120
  833. package/lib/types/graph/shared/index.d.cts +0 -21
  834. package/lib/types/graph/shared/index.d.mts +0 -21
  835. package/lib/types/graph/shared/nodes/agent.d.cts +0 -44
  836. package/lib/types/graph/shared/nodes/agent.d.mts +0 -44
  837. package/lib/types/graph/shared/nodes/base.d.cts +0 -28
  838. package/lib/types/graph/shared/nodes/base.d.mts +0 -28
  839. package/lib/types/graph/shared/nodes/category-styles.d.cts +0 -8
  840. package/lib/types/graph/shared/nodes/category-styles.d.mts +0 -8
  841. package/lib/types/graph/shared/nodes/flow-control.d.cts +0 -163
  842. package/lib/types/graph/shared/nodes/flow-control.d.mts +0 -163
  843. package/lib/types/graph/shared/nodes/index.d.cts +0 -17
  844. package/lib/types/graph/shared/nodes/index.d.mts +0 -17
  845. package/lib/types/graph/shared/nodes/triggers.d.cts +0 -53
  846. package/lib/types/graph/shared/nodes/triggers.d.mts +0 -53
  847. package/lib/types/graph/shared/types.d.cts +0 -257
  848. package/lib/types/graph/shared/types.d.mts +0 -257
  849. /package/lib/cjs/graph/{shared → engine/runs}/types.cjs +0 -0
  850. /package/lib/esm/graph/{shared → engine/runs}/types.js +0 -0
@@ -1,35 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- /**
18
- * @module integrations/graph/nodes
19
- * @summary Production node kind declarations (DECAF-32 §22.2).
20
- * @description Canonical `@node`-decorated classes for the ALFRED-5 node kind
21
- * taxonomy. These are the framework's built-in node definitions — triggers
22
- * (§22.2.1), flow-control/utility nodes (§22.2.2–22.2.3), and the Agent node
23
- * (§21.3). The three loop kinds (`core.loop.foreach/while/until`) already have
24
- * built-in executors (§5.9) and are not redeclared here.
25
- *
26
- * Consumers (for-angular, ALFRED, etc.) import these declarations to populate
27
- * node palettes, registries, and reference snapshots.
28
- */
29
- __exportStar(require("./base.cjs"), exports);
30
- __exportStar(require("./category-styles.cjs"), exports);
31
- __exportStar(require("./triggers.cjs"), exports);
32
- __exportStar(require("./flow-control.cjs"), exports);
33
- __exportStar(require("./agent.cjs"), exports);
34
- //# sourceMappingURL=index.js.map
35
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph/shared/nodes/index.cjs","sourceRoot":"","sources":["graph/shared/nodes/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;GAWG;AACH,4CAA0B;AAC1B,uDAAqC;AACrC,gDAA8B;AAC9B,oDAAkC;AAClC,6CAA2B;AAC3B,iCAAiC"}
@@ -1,250 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GRAPH_TRIGGER_NODES = exports.ChatTriggerNode = exports.FormTriggerNode = exports.EventTriggerNode = exports.ScheduleTriggerNode = exports.WebhookTriggerNode = exports.ManualTriggerNode = void 0;
4
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
5
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
7
- r = Reflect.decorate(decorators, target, key, desc);
8
- else
9
- for (var i = decorators.length - 1; i >= 0; i--)
10
- if (d = decorators[i])
11
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
12
- return c > 3 && r && Object.defineProperty(target, key, r), r;
13
- };
14
- var __metadata = (this && this.__metadata) || function (k, v) {
15
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
16
- return Reflect.metadata(k, v);
17
- };
18
- /**
19
- * @module integrations/graph/nodes/triggers
20
- * @summary Production trigger node kind declarations (DECAF-32 §22.2.1).
21
- * @description Canonical `@node`-decorated classes for the six ALFRED-5 trigger
22
- * kinds. Triggers are metadata-only entrypoints: they define how a workflow
23
- * starts and produce a trigger payload on their `@output` ports. They have no
24
- * `@input` ports (nothing feeds a trigger) and no built-in executors — the
25
- * engine's execution model starts from workflow inputs (§5.8) and treats
26
- * trigger nodes as metadata-only entrypoints.
27
- */
28
- const decorator_validation_1 = require("@decaf-ts/decorator-validation");
29
- const ui_decorators_1 = require("@decaf-ts/ui-decorators");
30
- const graph_1 = require("@decaf-ts/ui-decorators/graph");
31
- /**
32
- * Manual trigger — user clicks Run; input form generated from `inputSchema`.
33
- */
34
- let ManualTriggerNode = class ManualTriggerNode extends decorator_validation_1.Model {
35
- };
36
- exports.ManualTriggerNode = ManualTriggerNode;
37
- __decorate([
38
- (0, decorator_validation_1.required)(),
39
- (0, ui_decorators_1.uielement)("textarea", { label: "Trigger payload", placeholder: "Manual trigger payload" }),
40
- (0, graph_1.output)({ handle: "payload" }),
41
- __metadata("design:type", Object)
42
- ], ManualTriggerNode.prototype, "payload", void 0);
43
- exports.ManualTriggerNode = ManualTriggerNode = __decorate([
44
- (0, graph_1.node)("core.trigger.manual", {
45
- kind: "core.trigger.manual",
46
- category: "Trigger",
47
- color: "#3b82f6",
48
- icon: "ti-hand-click",
49
- width: 96,
50
- height: 96,
51
- labels: ["trigger", "manual", "entrypoint"],
52
- metadata: {
53
- title: "Manual trigger",
54
- description: "Starts the workflow when the user clicks Run. The input form is generated from the trigger's input schema.",
55
- trigger: {
56
- type: "manual",
57
- inputSchema: {},
58
- },
59
- },
60
- }),
61
- (0, decorator_validation_1.model)()
62
- ], ManualTriggerNode);
63
- /**
64
- * Webhook trigger — HTTP request received; path/method/auth/responseMode config.
65
- */
66
- let WebhookTriggerNode = class WebhookTriggerNode extends decorator_validation_1.Model {
67
- };
68
- exports.WebhookTriggerNode = WebhookTriggerNode;
69
- __decorate([
70
- (0, decorator_validation_1.required)(),
71
- (0, ui_decorators_1.uielement)("textarea", { label: "Request payload", placeholder: "Webhook request body" }),
72
- (0, graph_1.output)({ handle: "payload" }),
73
- __metadata("design:type", Object)
74
- ], WebhookTriggerNode.prototype, "payload", void 0);
75
- exports.WebhookTriggerNode = WebhookTriggerNode = __decorate([
76
- (0, graph_1.node)("core.trigger.webhook", {
77
- kind: "core.trigger.webhook",
78
- category: "Trigger",
79
- color: "#0ea5e9",
80
- icon: "ti-webhook",
81
- width: 96,
82
- height: 96,
83
- labels: ["trigger", "webhook", "http"],
84
- metadata: {
85
- title: "Webhook trigger",
86
- description: "Starts the workflow when an HTTP request is received on the configured path and method.",
87
- trigger: {
88
- type: "webhook",
89
- path: "/webhook",
90
- method: "POST",
91
- auth: "none",
92
- responseMode: "onReceived",
93
- },
94
- },
95
- }),
96
- (0, decorator_validation_1.model)()
97
- ], WebhookTriggerNode);
98
- /**
99
- * Schedule trigger — cron-like schedule; timezone + payload config.
100
- */
101
- let ScheduleTriggerNode = class ScheduleTriggerNode extends decorator_validation_1.Model {
102
- };
103
- exports.ScheduleTriggerNode = ScheduleTriggerNode;
104
- __decorate([
105
- (0, decorator_validation_1.required)(),
106
- (0, ui_decorators_1.uielement)("textarea", { label: "Scheduled payload", placeholder: "Payload for the scheduled run" }),
107
- (0, graph_1.output)({ handle: "payload" }),
108
- __metadata("design:type", Object)
109
- ], ScheduleTriggerNode.prototype, "payload", void 0);
110
- exports.ScheduleTriggerNode = ScheduleTriggerNode = __decorate([
111
- (0, graph_1.node)("core.trigger.schedule", {
112
- kind: "core.trigger.schedule",
113
- category: "Trigger",
114
- color: "#6366f1",
115
- icon: "ti-calendar-time",
116
- width: 96,
117
- height: 96,
118
- labels: ["trigger", "schedule", "cron"],
119
- metadata: {
120
- title: "Schedule trigger",
121
- description: "Starts the workflow on a cron-like schedule with timezone support.",
122
- trigger: {
123
- type: "schedule",
124
- schedule: "0 * * * *",
125
- timezone: "UTC",
126
- },
127
- },
128
- }),
129
- (0, decorator_validation_1.model)()
130
- ], ScheduleTriggerNode);
131
- /**
132
- * Event trigger — internal event bus topic subscriber.
133
- */
134
- let EventTriggerNode = class EventTriggerNode extends decorator_validation_1.Model {
135
- };
136
- exports.EventTriggerNode = EventTriggerNode;
137
- __decorate([
138
- (0, decorator_validation_1.required)(),
139
- (0, ui_decorators_1.uielement)("textarea", { label: "Event payload", placeholder: "Event bus payload" }),
140
- (0, graph_1.output)({ handle: "payload" }),
141
- __metadata("design:type", Object)
142
- ], EventTriggerNode.prototype, "payload", void 0);
143
- exports.EventTriggerNode = EventTriggerNode = __decorate([
144
- (0, graph_1.node)("core.trigger.event", {
145
- kind: "core.trigger.event",
146
- category: "Trigger",
147
- color: "#8b5cf6",
148
- icon: "ti-broadcast",
149
- width: 96,
150
- height: 96,
151
- labels: ["trigger", "event", "bus"],
152
- metadata: {
153
- title: "Event trigger",
154
- description: "Starts the workflow when an event is published on the configured internal event bus topic.",
155
- trigger: {
156
- type: "event",
157
- topic: "default",
158
- },
159
- },
160
- }),
161
- (0, decorator_validation_1.model)()
162
- ], EventTriggerNode);
163
- /**
164
- * Form trigger — generated public/internal form; field definitions.
165
- */
166
- let FormTriggerNode = class FormTriggerNode extends decorator_validation_1.Model {
167
- };
168
- exports.FormTriggerNode = FormTriggerNode;
169
- __decorate([
170
- (0, decorator_validation_1.required)(),
171
- (0, ui_decorators_1.uielement)("textarea", { label: "Form submission", placeholder: "Form submission payload" }),
172
- (0, graph_1.output)({ handle: "payload" }),
173
- __metadata("design:type", Object)
174
- ], FormTriggerNode.prototype, "payload", void 0);
175
- exports.FormTriggerNode = FormTriggerNode = __decorate([
176
- (0, graph_1.node)("core.trigger.form", {
177
- kind: "core.trigger.form",
178
- category: "Trigger",
179
- color: "#ec4899",
180
- icon: "ti-forms",
181
- width: 96,
182
- height: 96,
183
- labels: ["trigger", "form", "public"],
184
- metadata: {
185
- title: "Form trigger",
186
- description: "Starts the workflow when a generated form is submitted. Field definitions drive the form schema.",
187
- trigger: {
188
- type: "form",
189
- fields: [],
190
- },
191
- },
192
- }),
193
- (0, decorator_validation_1.model)()
194
- ], FormTriggerNode);
195
- /**
196
- * Chat trigger — chat message entrypoint; message/sessionId/userId schema.
197
- */
198
- let ChatTriggerNode = class ChatTriggerNode extends decorator_validation_1.Model {
199
- };
200
- exports.ChatTriggerNode = ChatTriggerNode;
201
- __decorate([
202
- (0, decorator_validation_1.required)(),
203
- (0, ui_decorators_1.uielement)("input", { label: "Message", placeholder: "Incoming chat message" }),
204
- (0, graph_1.output)({ handle: "message" }),
205
- __metadata("design:type", String)
206
- ], ChatTriggerNode.prototype, "message", void 0);
207
- __decorate([
208
- (0, decorator_validation_1.required)(),
209
- (0, ui_decorators_1.uielement)("input", { label: "Session ID", placeholder: "Chat session identifier" }),
210
- (0, graph_1.output)({ handle: "sessionId" }),
211
- __metadata("design:type", String)
212
- ], ChatTriggerNode.prototype, "sessionId", void 0);
213
- __decorate([
214
- (0, decorator_validation_1.required)(),
215
- (0, ui_decorators_1.uielement)("input", { label: "User ID", placeholder: "Chat user identifier" }),
216
- (0, graph_1.output)({ handle: "userId" }),
217
- __metadata("design:type", String)
218
- ], ChatTriggerNode.prototype, "userId", void 0);
219
- exports.ChatTriggerNode = ChatTriggerNode = __decorate([
220
- (0, graph_1.node)("core.trigger.chat", {
221
- kind: "core.trigger.chat",
222
- category: "Trigger",
223
- color: "#14b8a6",
224
- icon: "ti-message-circle",
225
- width: 96,
226
- height: 96,
227
- labels: ["trigger", "chat", "entrypoint"],
228
- metadata: {
229
- title: "Chat trigger",
230
- description: "Starts the workflow when a chat message is received. Emits message, sessionId, and userId.",
231
- trigger: {
232
- type: "chat",
233
- },
234
- },
235
- }),
236
- (0, decorator_validation_1.model)()
237
- ], ChatTriggerNode);
238
- /**
239
- * All built-in trigger node constructors.
240
- */
241
- exports.GRAPH_TRIGGER_NODES = [
242
- ManualTriggerNode,
243
- WebhookTriggerNode,
244
- ScheduleTriggerNode,
245
- EventTriggerNode,
246
- FormTriggerNode,
247
- ChatTriggerNode,
248
- ];
249
- //# sourceMappingURL=triggers.js.map
250
- //# sourceMappingURL=triggers.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph/shared/nodes/triggers.cjs","sourceRoot":"","sources":["graph/shared/nodes/triggers.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI;IACjF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU;QAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;;QAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;gBAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,C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,SAAS,EAAE,WAAW,EAAE,sBAAsB,EAAE,CAAC;IAC7E,IAAA,cAAM,EAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IAC5B,UAAU,CAAC,aAAa,EAAE,MAAM,CAAC;CACpC,EAAE,eAAe,CAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;AAChD,0BAAA,eAAe,GAAG,UAAU,CAAC;IACzB,IAAA,YAAI,EAAC,mBAAmB,EAAE;QACtB,IAAI,EAAE,mBAAmB;QACzB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,mBAAmB;QACzB,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,CAAC;QACzC,QAAQ,EAAE;YACN,KAAK,EAAE,cAAc;YACrB,WAAW,EAAE,4FAA4F;YACzG,OAAO,EAAE;gBACL,IAAI,EAAE,MAAM;aACf;SACJ;KACJ,CAAC;IACF,IAAA,4BAAK,GAAE;CACV,EAAE,eAAe,CAAC,CAAC;AAEpB;;GAEG;AACU,QAAA,mBAAmB,GAAG;IAC/B,iBAAiB;IACjB,kBAAkB;IAClB,mBAAmB;IACnB,gBAAgB;IAChB,eAAe;IACf,eAAe;CAClB,CAAC;AACF,oCAAoC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph/shared/types.cjs","sourceRoot":"","sources":["graph/shared/types.js"],"names":[],"mappings":";;AACA,iCAAiC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=GraphExecutionEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphExecutionEvent.js","sourceRoot":"","sources":["../../../../../src/graph/engine/events/GraphExecutionEvent.ts"],"names":[],"mappings":""}
@@ -1,167 +0,0 @@
1
- import { graphDefinitionOf } from "@decaf-ts/ui-decorators/graph";
2
- import { GRAPH_WORKFLOW_BOUNDARY } from "./../constants.js";
3
- import { GraphPortError } from "./../errors/GraphPortError.js";
4
- import { GraphTopologyError } from "./../errors/GraphTopologyError.js";
5
- /**
6
- * Resolves raw workflow relation metadata into normalized execution edges.
7
- */
8
- export class GraphRelationResolver {
9
- /**
10
- * Resolves all relations of a workflow into execution edges.
11
- *
12
- * @param workflow - The workflow definition.
13
- * @returns Array of normalized edges.
14
- * @throws {GraphTopologyError} when an endpoint is unknown or ambiguous.
15
- * @throws {GraphPortError} when a referenced port is missing or unknown.
16
- */
17
- resolve(workflow) {
18
- const nodeIds = new Set(workflow.nodes.map((n) => n.id));
19
- const boundaryAliases = this.boundaryAliases(workflow);
20
- const inputPorts = this.portNames(workflow.inputs);
21
- const outputPorts = this.portNames(workflow.outputs);
22
- const nodePortMap = this.buildNodePortMap(workflow);
23
- const edges = [];
24
- for (const relation of workflow.relations ?? []) {
25
- const edge = this.resolveRelation(relation, nodeIds, boundaryAliases, inputPorts, outputPorts, nodePortMap);
26
- edges.push(edge);
27
- }
28
- return edges;
29
- }
30
- /**
31
- * Resolves a single relation into an edge.
32
- */
33
- resolveRelation(relation, nodeIds, boundaryAliases, inputPorts, outputPorts, nodePortMap) {
34
- const sourceNodeId = this.resolveEndpoint(relation.source, nodeIds, boundaryAliases);
35
- const targetNodeId = this.resolveEndpoint(relation.target, nodeIds, boundaryAliases);
36
- const sourcePort = relation.sourcePort;
37
- const targetPort = relation.targetPort;
38
- if (!sourcePort) {
39
- throw new GraphPortError(`Relation is missing sourcePort (source: ${String(relation.source)}, target: ${String(relation.target)})`, { relation });
40
- }
41
- if (!targetPort) {
42
- throw new GraphPortError(`Relation is missing targetPort (source: ${String(relation.source)}, target: ${String(relation.target)})`, { relation });
43
- }
44
- this.validatePort(sourceNodeId, sourcePort, true, boundaryAliases, inputPorts, outputPorts, nodePortMap);
45
- this.validatePort(targetNodeId, targetPort, false, boundaryAliases, inputPorts, outputPorts, nodePortMap);
46
- return {
47
- id: this.createEdgeId(sourceNodeId, sourcePort, targetNodeId, targetPort),
48
- sourceNodeId,
49
- sourcePort,
50
- targetNodeId,
51
- targetPort,
52
- label: relation.label,
53
- metadata: relation.metadata,
54
- };
55
- }
56
- /**
57
- * Resolves an endpoint (source or target) to a node id or the workflow boundary.
58
- */
59
- resolveEndpoint(endpoint, nodeIds, boundaryAliases) {
60
- const name = String(endpoint);
61
- if (boundaryAliases.has(name))
62
- return GRAPH_WORKFLOW_BOUNDARY;
63
- if (nodeIds.has(name))
64
- return name;
65
- throw new GraphTopologyError(`Unknown endpoint '${name}'`, { endpoint: name, knownNodes: Array.from(nodeIds) });
66
- }
67
- /**
68
- * Validates that a port exists on the given node or boundary.
69
- */
70
- validatePort(nodeId, port, isSource, boundaryAliases, inputPorts, outputPorts, nodePortMap) {
71
- if (nodeId === GRAPH_WORKFLOW_BOUNDARY) {
72
- const ports = isSource ? inputPorts : outputPorts;
73
- if (!ports.has(port)) {
74
- throw new GraphPortError(`Unknown ${isSource ? "input" : "output"} port '${port}' on workflow boundary`, { nodeId, port, isSource, available: Array.from(ports) });
75
- }
76
- return;
77
- }
78
- const nodePorts = nodePortMap.get(nodeId);
79
- if (!nodePorts) {
80
- throw new GraphTopologyError(`No port map for node '${nodeId}'`, {
81
- nodeId,
82
- });
83
- }
84
- const ports = isSource ? nodePorts.output : nodePorts.input;
85
- if (!ports.has(port)) {
86
- throw new GraphPortError(`Unknown ${isSource ? "output" : "input"} port '${port}' on node '${nodeId}'`, { nodeId, port, isSource, available: Array.from(ports) });
87
- }
88
- }
89
- /**
90
- * Builds the set of boundary aliases for a workflow.
91
- */
92
- boundaryAliases(workflow) {
93
- return new Set([
94
- GRAPH_WORKFLOW_BOUNDARY,
95
- "workflow",
96
- "graph",
97
- workflow.name,
98
- ]);
99
- }
100
- /**
101
- * Extracts port names from a list of port definitions.
102
- */
103
- portNames(ports) {
104
- return new Set((ports ?? []).map((p) => p.name));
105
- }
106
- /**
107
- * Builds a map of node id -> { input ports, output ports }.
108
- */
109
- buildNodePortMap(workflow) {
110
- const map = new Map();
111
- for (const nodeMeta of workflow.nodes ?? []) {
112
- const input = new Set();
113
- const output = new Set();
114
- const def = this.resolveNodeDefinition(nodeMeta);
115
- if (def) {
116
- for (const port of def.ports ?? []) {
117
- if (port.direction === "input")
118
- input.add(port.name);
119
- else
120
- output.add(port.name);
121
- }
122
- }
123
- map.set(nodeMeta.id, { input, output });
124
- }
125
- return map;
126
- }
127
- /**
128
- * Attempts to resolve a node's full definition from its metadata.
129
- *
130
- * Accepts either a decorated Model class/instance (resolved via
131
- * `graphDefinitionOf`) or a plain `GraphNodeDefinition`-shaped object
132
- * (useful for serialized workflows that inline node definitions).
133
- */
134
- resolveNodeDefinition(nodeMeta) {
135
- if (nodeMeta.node) {
136
- if (this.isRawDefinition(nodeMeta.node)) {
137
- return nodeMeta.node;
138
- }
139
- try {
140
- const def = graphDefinitionOf(nodeMeta.node);
141
- return def;
142
- }
143
- catch {
144
- return undefined;
145
- }
146
- }
147
- return undefined;
148
- }
149
- /**
150
- * Returns `true` when a value looks like a raw {@link GraphNodeDefinition}
151
- * (a plain object with a `ports` array and a `name` string).
152
- */
153
- isRawDefinition(value) {
154
- return (typeof value === "object" &&
155
- value !== null &&
156
- !Array.isArray(value) &&
157
- typeof value.name === "string" &&
158
- Array.isArray(value.ports));
159
- }
160
- /**
161
- * Creates a stable edge id from its endpoints and ports.
162
- */
163
- createEdgeId(sourceNodeId, sourcePort, targetNodeId, targetPort) {
164
- return `${sourceNodeId}:${sourcePort}->${targetNodeId}:${targetPort}`;
165
- }
166
- }
167
- //# sourceMappingURL=GraphRelationResolver.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphRelationResolver.js","sourceRoot":"","sources":["../../../../../src/graph/engine/planning/GraphRelationResolver.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,uBAAuB,EAAE,0BAAqB;AACvD,OAAO,EAAE,cAAc,EAAE,sCAAiC;AAC1D,O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AO,GAAG,CAAC;IACb,CAAC;IAED;;;;;;OAMG;IACK,qBAAqB,CAC3B,QAA2C;QAE3C,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC;YAClB,IAAI,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;gBACxC,OAAO,QAAQ,CAAC,IAEf,CAAC;YACJ,CAAC;YACD,IAAI,CAAC;gBACH,MAAM,GAAG,GAAG,iBAAiB,CAAC,QAAQ,CAAC,IAAW,CAAC,CAAC;gBACpD,OAAO,GAAU,CAAC;YACpB,CAAC;YAAC,MAAM,CAAC;gBACP,OAAO,SAAS,CAAC;YACnB,CAAC;QACH,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IAED;;;OAGG;IACK,eAAe,CAAC,KAAc;QACpC,OAAO,CACL,OAAO,KAAK,KAAK,QAAQ;YACzB,KAAK,KAAK,IAAI;YACd,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;YACrB,OAAQ,KAA4B,CAAC,IAAI,KAAK,QAAQ;YACtD,KAAK,CAAC,OAAO,CAAE,KAA6B,CAAC,KAAK,CAAC,CACpD,CAAC;IACJ,CAAC;IAED;;OAEG;IACK,YAAY,CAClB,YAAoB,EACpB,UAAkB,EAClB,YAAoB,EACpB,UAAkB;QAElB,OAAO,GAAG,YAAY,IAAI,UAAU,KAAK,YAAY,IAAI,UAAU,EAAE,CAAC;IACxE,CAAC;CACF"}
@@ -1,91 +0,0 @@
1
- import { GraphExecutionEventType, GraphExecutionStatus, GraphVisualState, } from "./constants.js";
2
- /**
3
- * Maps an engine execution {@link GraphExecutionStatus} to the shared visual
4
- * state. `CACHED` collapses onto {@link GraphVisualState.SUCCEEDED} for
5
- * rendering; `CANCELLED`/`PENDING`/`PLANNING` yield `IDLE`.
6
- *
7
- * @param status - The engine execution status, if any.
8
- * @returns The visual state for the node/edge.
9
- */
10
- export function mapExecutionStatus(status) {
11
- switch (status) {
12
- case GraphExecutionStatus.RUNNING:
13
- return GraphVisualState.RUNNING;
14
- case GraphExecutionStatus.SUCCEEDED:
15
- case GraphExecutionStatus.CACHED:
16
- return GraphVisualState.SUCCEEDED;
17
- case GraphExecutionStatus.FAILED:
18
- return GraphVisualState.FAILED;
19
- case GraphExecutionStatus.SKIPPED:
20
- return GraphVisualState.SKIPPED;
21
- case GraphExecutionStatus.PENDING:
22
- case GraphExecutionStatus.PLANNING:
23
- case GraphExecutionStatus.CANCELLED:
24
- default:
25
- return GraphVisualState.IDLE;
26
- }
27
- }
28
- /**
29
- * Derives the visual state for one node from its execution signals.
30
- *
31
- * Rules (DECAF-48 §4.4 / Req-5/Req-6):
32
- * - currently running → {@link GraphVisualState.RUNNING}
33
- * - failed → {@link GraphVisualState.FAILED}
34
- * - executed and succeeded (or from cache) → {@link GraphVisualState.SUCCEEDED}
35
- * - unexecuted and reachable with incomplete upstream deps → {@link GraphVisualState.BLOCKED}
36
- * - unexecuted with `runFailed` → {@link GraphVisualState.SKIPPED} (faded/disabled)
37
- * - otherwise → {@link GraphVisualState.IDLE}
38
- *
39
- * @param options - The node execution signals.
40
- * @returns The derived visual state.
41
- */
42
- export function deriveNodeVisualState(options) {
43
- if (options.running)
44
- return GraphVisualState.RUNNING;
45
- if (options.failed)
46
- return GraphVisualState.FAILED;
47
- if (options.executed && options.succeeded !== false) {
48
- return options.succeeded
49
- ? GraphVisualState.SUCCEEDED
50
- : GraphVisualState.FAILED;
51
- }
52
- const upstream = options.upstreamCount ?? 0;
53
- const completed = options.completedUpstreams ?? 0;
54
- if (upstream > 0 && completed < upstream)
55
- return GraphVisualState.BLOCKED;
56
- if (options.runFailed)
57
- return GraphVisualState.SKIPPED;
58
- return GraphVisualState.IDLE;
59
- }
60
- /**
61
- * Translates a {@link GraphExecutionEvent} into a node visual state when the
62
- * event carries enough information. Used by contract conformance checks and
63
- * engine-agnostic consumers that derive state from the shared event stream.
64
- *
65
- * @param event - The graph execution event.
66
- * @returns The corresponding {@link GraphVisualState}, or `IDLE` when the
67
- * event does not indicate a specific visual transition.
68
- */
69
- export function visualStateOfEvent(event) {
70
- if (event.status)
71
- return mapExecutionStatus(event.status);
72
- const payloadState = event.payload
73
- ?.state;
74
- if (payloadState)
75
- return payloadState;
76
- switch (event.type) {
77
- case GraphExecutionEventType.NODE_STARTED:
78
- case GraphExecutionEventType.EDGE_STATE_CHANGED:
79
- case GraphExecutionEventType.NODE_STATE_CHANGED:
80
- return GraphVisualState.RUNNING;
81
- case GraphExecutionEventType.NODE_COMPLETED:
82
- return GraphVisualState.SUCCEEDED;
83
- case GraphExecutionEventType.NODE_FAILED:
84
- return GraphVisualState.FAILED;
85
- case GraphExecutionEventType.NODE_SKIPPED:
86
- return GraphVisualState.SKIPPED;
87
- default:
88
- return GraphVisualState.IDLE;
89
- }
90
- }
91
- //# sourceMappingURL=GraphExecutionStateMapper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphExecutionStateMapper.js","sourceRoot":"","sources":["../../../../src/graph/shared/GraphExecutionStateMapper.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,GACjB,uBAAoB;AAErB;;;;;;;GAOG;AACH,MAAM,UAAU,kBAAkB,CAChC,MAA6B;IAE7B,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,oBAAoB,CAAC,OAAO;YAC/B,OAAO,gBAAgB,CAAC,OAAO,CAAC;QAClC,KAAK,oBAAoB,CAAC,SAAS,CAAC;QACpC,KAAK,oBAAoB,CAAC,MAAM;YAC9B,OAAO,gBAAgB,CAAC,SAAS,CAAC;QACpC,KAAK,oBAAoB,CAAC,MAAM;YAC9B,OAAO,gBAAgB,CAAC,MAAM,CAAC;QACjC,KAAK,oBAAoB,CAAC,OAAO;YAC/B,OAAO,gBAAgB,CAAC,OAAO,CAAC;QAClC,KAAK,oBAAoB,CAAC,OAAO,CAAC;QAClC,KAAK,oBAAoB,CAAC,QAAQ,CAAC;QACnC,KAAK,oBAAoB,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