@decaf-ts/integrations 0.10.8 → 0.11.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 (958) hide show
  1. package/README.md +77 -5
  2. package/dist/integrations.cjs +1 -1
  3. package/dist/integrations.cjs.map +1 -1
  4. package/dist/integrations.js +1 -1
  5. package/dist/integrations.js.map +1 -1
  6. package/docker/dragonfly-compose.yml +19 -0
  7. package/lib/cjs/blob/core/BlobStoreFactory.cjs +0 -4
  8. package/lib/cjs/blob/core/BlobStoreFactory.cjs.map +1 -1
  9. package/lib/cjs/feature-flags/EngineCapabilityFeatureFlag.service.cjs +214 -0
  10. package/lib/cjs/feature-flags/EngineCapabilityFeatureFlag.service.cjs.map +1 -0
  11. package/lib/cjs/feature-flags/index.cjs +1 -0
  12. package/lib/cjs/feature-flags/index.cjs.map +1 -1
  13. package/lib/cjs/index.cjs +3 -3
  14. package/lib/cjs/loader/ObjectLoader.cjs +95 -11
  15. package/lib/cjs/loader/ObjectLoader.cjs.map +1 -1
  16. package/lib/cjs/loader/assets.cjs +160 -0
  17. package/lib/cjs/loader/assets.cjs.map +1 -0
  18. package/lib/cjs/loader/config.cjs +241 -0
  19. package/lib/cjs/loader/config.cjs.map +1 -0
  20. package/lib/cjs/loader/families.cjs +27 -12
  21. package/lib/cjs/loader/families.cjs.map +1 -1
  22. package/lib/cjs/loader/index.cjs +3 -0
  23. package/lib/cjs/loader/index.cjs.map +1 -1
  24. package/lib/cjs/loader/nest.cjs +331 -0
  25. package/lib/cjs/loader/nest.cjs.map +1 -0
  26. package/lib/cjs/redis/RedisContextLock.cjs +185 -0
  27. package/lib/cjs/redis/RedisContextLock.cjs.map +1 -0
  28. package/lib/cjs/redis/RedisDispatch.cjs +132 -0
  29. package/lib/cjs/redis/RedisDispatch.cjs.map +1 -0
  30. package/lib/cjs/redis/RedisPaginator.cjs +95 -0
  31. package/lib/cjs/redis/RedisPaginator.cjs.map +1 -0
  32. package/lib/cjs/redis/RedisStatement.cjs +433 -0
  33. package/lib/cjs/redis/RedisStatement.cjs.map +1 -0
  34. package/lib/cjs/redis/adapter.cjs +709 -0
  35. package/lib/cjs/redis/adapter.cjs.map +1 -0
  36. package/lib/cjs/redis/constants.cjs +31 -0
  37. package/lib/cjs/redis/constants.cjs.map +1 -0
  38. package/lib/cjs/redis/handlers.cjs +27 -0
  39. package/lib/cjs/redis/handlers.cjs.map +1 -0
  40. package/lib/cjs/redis/index.cjs +36 -0
  41. package/lib/cjs/redis/index.cjs.map +1 -0
  42. package/lib/cjs/redis/serialization.cjs +63 -0
  43. package/lib/cjs/redis/serialization.cjs.map +1 -0
  44. package/lib/cjs/redis/types.cjs.map +1 -0
  45. package/lib/esm/blob/core/BlobStoreFactory.js +0 -4
  46. package/lib/esm/blob/core/BlobStoreFactory.js.map +1 -1
  47. package/lib/esm/feature-flags/EngineCapabilityFeatureFlag.service.js +203 -0
  48. package/lib/esm/feature-flags/EngineCapabilityFeatureFlag.service.js.map +1 -0
  49. package/lib/esm/feature-flags/index.js +1 -0
  50. package/lib/esm/feature-flags/index.js.map +1 -1
  51. package/lib/esm/index.js +3 -3
  52. package/lib/esm/loader/ObjectLoader.js +94 -11
  53. package/lib/esm/loader/ObjectLoader.js.map +1 -1
  54. package/lib/esm/loader/assets.js +155 -0
  55. package/lib/esm/loader/assets.js.map +1 -0
  56. package/lib/esm/loader/config.js +202 -0
  57. package/lib/esm/loader/config.js.map +1 -0
  58. package/lib/esm/loader/families.js +25 -10
  59. package/lib/esm/loader/families.js.map +1 -1
  60. package/lib/esm/loader/index.js +3 -0
  61. package/lib/esm/loader/index.js.map +1 -1
  62. package/lib/esm/loader/nest.js +292 -0
  63. package/lib/esm/loader/nest.js.map +1 -0
  64. package/lib/esm/redis/RedisContextLock.js +180 -0
  65. package/lib/esm/redis/RedisContextLock.js.map +1 -0
  66. package/lib/esm/redis/RedisDispatch.js +127 -0
  67. package/lib/esm/redis/RedisDispatch.js.map +1 -0
  68. package/lib/esm/redis/RedisPaginator.js +90 -0
  69. package/lib/esm/redis/RedisPaginator.js.map +1 -0
  70. package/lib/esm/redis/RedisStatement.js +428 -0
  71. package/lib/esm/redis/RedisStatement.js.map +1 -0
  72. package/lib/esm/redis/adapter.js +704 -0
  73. package/lib/esm/redis/adapter.js.map +1 -0
  74. package/lib/esm/redis/constants.js +27 -0
  75. package/lib/esm/redis/constants.js.map +1 -0
  76. package/lib/esm/redis/handlers.js +23 -0
  77. package/lib/esm/redis/handlers.js.map +1 -0
  78. package/lib/esm/redis/index.js +19 -0
  79. package/lib/esm/redis/index.js.map +1 -0
  80. package/lib/esm/redis/serialization.js +57 -0
  81. package/lib/esm/redis/serialization.js.map +1 -0
  82. package/lib/esm/{graph/engine → redis}/types.js.map +1 -1
  83. package/lib/types/blob/core/BlobTypes.d.cts +1 -14
  84. package/lib/types/blob/core/BlobTypes.d.mts +1 -14
  85. package/lib/types/feature-flags/EngineCapabilityFeatureFlag.service.d.cts +116 -0
  86. package/lib/types/feature-flags/EngineCapabilityFeatureFlag.service.d.mts +116 -0
  87. package/lib/types/feature-flags/index.d.cts +1 -0
  88. package/lib/types/feature-flags/index.d.mts +1 -0
  89. package/lib/types/index.d.cts +2 -2
  90. package/lib/types/index.d.mts +2 -2
  91. package/lib/types/loader/ObjectLoader.d.cts +46 -2
  92. package/lib/types/loader/ObjectLoader.d.mts +46 -2
  93. package/lib/types/loader/assets.d.cts +43 -0
  94. package/lib/types/loader/assets.d.mts +43 -0
  95. package/lib/types/loader/config.d.cts +84 -0
  96. package/lib/types/loader/config.d.mts +84 -0
  97. package/lib/types/loader/families.d.cts +19 -7
  98. package/lib/types/loader/families.d.mts +19 -7
  99. package/lib/types/loader/index.d.cts +3 -0
  100. package/lib/types/loader/index.d.mts +3 -0
  101. package/lib/types/loader/nest.d.cts +102 -0
  102. package/lib/types/loader/nest.d.mts +102 -0
  103. package/lib/types/loader/types.d.cts +27 -1
  104. package/lib/types/loader/types.d.mts +27 -1
  105. package/lib/types/redis/RedisContextLock.d.cts +106 -0
  106. package/lib/types/redis/RedisContextLock.d.mts +106 -0
  107. package/lib/types/redis/RedisDispatch.d.cts +56 -0
  108. package/lib/types/redis/RedisDispatch.d.mts +56 -0
  109. package/lib/types/redis/RedisPaginator.d.cts +58 -0
  110. package/lib/types/redis/RedisPaginator.d.mts +58 -0
  111. package/lib/types/redis/RedisStatement.d.cts +175 -0
  112. package/lib/types/redis/RedisStatement.d.mts +175 -0
  113. package/lib/types/redis/adapter.d.cts +288 -0
  114. package/lib/types/redis/adapter.d.mts +288 -0
  115. package/lib/types/redis/constants.d.cts +26 -0
  116. package/lib/types/redis/constants.d.mts +26 -0
  117. package/lib/types/redis/handlers.d.cts +20 -0
  118. package/lib/types/redis/handlers.d.mts +20 -0
  119. package/lib/types/redis/index.d.cts +17 -0
  120. package/lib/types/redis/index.d.mts +17 -0
  121. package/lib/types/redis/serialization.d.cts +35 -0
  122. package/lib/types/redis/serialization.d.mts +35 -0
  123. package/lib/types/redis/types.d.cts +72 -0
  124. package/lib/types/redis/types.d.mts +72 -0
  125. package/package.json +17 -33
  126. package/lib/cjs/blob/ipfs/IpfsBlobEnvironment.cjs +0 -30
  127. package/lib/cjs/blob/ipfs/IpfsBlobEnvironment.cjs.map +0 -1
  128. package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs +0 -248
  129. package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs.map +0 -1
  130. package/lib/cjs/blob/ipfs/IpfsKeyIndex.cjs +0 -27
  131. package/lib/cjs/blob/ipfs/IpfsKeyIndex.cjs.map +0 -1
  132. package/lib/cjs/blob/ipfs/LocalJsonIpfsKeyIndex.cjs +0 -35
  133. package/lib/cjs/blob/ipfs/LocalJsonIpfsKeyIndex.cjs.map +0 -1
  134. package/lib/cjs/blob/ipfs/MemoryIpfsKeyIndex.cjs +0 -45
  135. package/lib/cjs/blob/ipfs/MemoryIpfsKeyIndex.cjs.map +0 -1
  136. package/lib/cjs/blob/ipfs/PostgresIpfsKeyIndex.cjs +0 -35
  137. package/lib/cjs/blob/ipfs/PostgresIpfsKeyIndex.cjs.map +0 -1
  138. package/lib/cjs/blob/ipfs/index.cjs +0 -29
  139. package/lib/cjs/blob/ipfs/index.cjs.map +0 -1
  140. package/lib/cjs/graph/engine/catalog/GraphBuiltInRegistrations.cjs +0 -39
  141. package/lib/cjs/graph/engine/catalog/GraphBuiltInRegistrations.cjs.map +0 -1
  142. package/lib/cjs/graph/engine/catalog/GraphCatalogueErrors.cjs +0 -29
  143. package/lib/cjs/graph/engine/catalog/GraphCatalogueErrors.cjs.map +0 -1
  144. package/lib/cjs/graph/engine/catalog/GraphNodeCatalogue.cjs +0 -270
  145. package/lib/cjs/graph/engine/catalog/GraphNodeCatalogue.cjs.map +0 -1
  146. package/lib/cjs/graph/engine/catalog/GraphNodeManifestResolver.cjs +0 -169
  147. package/lib/cjs/graph/engine/catalog/GraphNodeManifestResolver.cjs.map +0 -1
  148. package/lib/cjs/graph/engine/catalog/GraphNodeMethodRegistry.cjs +0 -64
  149. package/lib/cjs/graph/engine/catalog/GraphNodeMethodRegistry.cjs.map +0 -1
  150. package/lib/cjs/graph/engine/catalog/GraphNodeRegistration.cjs +0 -17
  151. package/lib/cjs/graph/engine/catalog/GraphNodeRegistration.cjs.map +0 -1
  152. package/lib/cjs/graph/engine/catalog/index.cjs +0 -24
  153. package/lib/cjs/graph/engine/catalog/index.cjs.map +0 -1
  154. package/lib/cjs/graph/engine/constants.cjs +0 -58
  155. package/lib/cjs/graph/engine/constants.cjs.map +0 -1
  156. package/lib/cjs/graph/engine/decorators.cjs +0 -4
  157. package/lib/cjs/graph/engine/decorators.cjs.map +0 -1
  158. package/lib/cjs/graph/engine/errors/GraphBreakSignal.cjs +0 -37
  159. package/lib/cjs/graph/engine/errors/GraphBreakSignal.cjs.map +0 -1
  160. package/lib/cjs/graph/engine/errors/GraphCycleError.cjs +0 -20
  161. package/lib/cjs/graph/engine/errors/GraphCycleError.cjs.map +0 -1
  162. package/lib/cjs/graph/engine/errors/GraphExecutionError.cjs +0 -28
  163. package/lib/cjs/graph/engine/errors/GraphExecutionError.cjs.map +0 -1
  164. package/lib/cjs/graph/engine/errors/GraphInputError.cjs +0 -20
  165. package/lib/cjs/graph/engine/errors/GraphInputError.cjs.map +0 -1
  166. package/lib/cjs/graph/engine/errors/GraphLoopLimitError.cjs +0 -20
  167. package/lib/cjs/graph/engine/errors/GraphLoopLimitError.cjs.map +0 -1
  168. package/lib/cjs/graph/engine/errors/GraphPinningError.cjs +0 -20
  169. package/lib/cjs/graph/engine/errors/GraphPinningError.cjs.map +0 -1
  170. package/lib/cjs/graph/engine/errors/GraphPortError.cjs +0 -20
  171. package/lib/cjs/graph/engine/errors/GraphPortError.cjs.map +0 -1
  172. package/lib/cjs/graph/engine/errors/GraphRunCancelledError.cjs +0 -18
  173. package/lib/cjs/graph/engine/errors/GraphRunCancelledError.cjs.map +0 -1
  174. package/lib/cjs/graph/engine/errors/GraphStoreError.cjs +0 -20
  175. package/lib/cjs/graph/engine/errors/GraphStoreError.cjs.map +0 -1
  176. package/lib/cjs/graph/engine/errors/GraphTopologyError.cjs +0 -20
  177. package/lib/cjs/graph/engine/errors/GraphTopologyError.cjs.map +0 -1
  178. package/lib/cjs/graph/engine/errors/index.cjs +0 -33
  179. package/lib/cjs/graph/engine/errors/index.cjs.map +0 -1
  180. package/lib/cjs/graph/engine/events/GraphExecutionEventEmitter.cjs +0 -40
  181. package/lib/cjs/graph/engine/events/GraphExecutionEventEmitter.cjs.map +0 -1
  182. package/lib/cjs/graph/engine/events/GraphExecutionEventFactory.cjs +0 -37
  183. package/lib/cjs/graph/engine/events/GraphExecutionEventFactory.cjs.map +0 -1
  184. package/lib/cjs/graph/engine/events/GraphExecutionObserver.cjs +0 -4
  185. package/lib/cjs/graph/engine/events/GraphExecutionObserver.cjs.map +0 -1
  186. package/lib/cjs/graph/engine/events/index.cjs +0 -26
  187. package/lib/cjs/graph/engine/events/index.cjs.map +0 -1
  188. package/lib/cjs/graph/engine/execution/CodeSandboxEvaluator.cjs +0 -4
  189. package/lib/cjs/graph/engine/execution/CodeSandboxEvaluator.cjs.map +0 -1
  190. package/lib/cjs/graph/engine/execution/GraphExecutionContext.cjs +0 -116
  191. package/lib/cjs/graph/engine/execution/GraphExecutionContext.cjs.map +0 -1
  192. package/lib/cjs/graph/engine/execution/GraphExecutionEngine.cjs +0 -854
  193. package/lib/cjs/graph/engine/execution/GraphExecutionEngine.cjs.map +0 -1
  194. package/lib/cjs/graph/engine/execution/GraphExecutionFrame.cjs +0 -48
  195. package/lib/cjs/graph/engine/execution/GraphExecutionFrame.cjs.map +0 -1
  196. package/lib/cjs/graph/engine/execution/GraphExecutionResult.cjs +0 -30
  197. package/lib/cjs/graph/engine/execution/GraphExecutionResult.cjs.map +0 -1
  198. package/lib/cjs/graph/engine/execution/GraphNodeExecutor.cjs +0 -4
  199. package/lib/cjs/graph/engine/execution/GraphNodeExecutor.cjs.map +0 -1
  200. package/lib/cjs/graph/engine/execution/IsolatedVmCodeSandboxEvaluator.cjs +0 -481
  201. package/lib/cjs/graph/engine/execution/IsolatedVmCodeSandboxEvaluator.cjs.map +0 -1
  202. package/lib/cjs/graph/engine/execution/index.cjs +0 -30
  203. package/lib/cjs/graph/engine/execution/index.cjs.map +0 -1
  204. package/lib/cjs/graph/engine/index.cjs +0 -79
  205. package/lib/cjs/graph/engine/index.cjs.map +0 -1
  206. package/lib/cjs/graph/engine/loops/ConditionExpressionEvaluator.cjs +0 -87
  207. package/lib/cjs/graph/engine/loops/ConditionExpressionEvaluator.cjs.map +0 -1
  208. package/lib/cjs/graph/engine/loops/GraphConditionEvaluator.cjs +0 -85
  209. package/lib/cjs/graph/engine/loops/GraphConditionEvaluator.cjs.map +0 -1
  210. package/lib/cjs/graph/engine/loops/GraphLoopExecutionContext.cjs +0 -16
  211. package/lib/cjs/graph/engine/loops/GraphLoopExecutionContext.cjs.map +0 -1
  212. package/lib/cjs/graph/engine/loops/index.cjs +0 -26
  213. package/lib/cjs/graph/engine/loops/index.cjs.map +0 -1
  214. package/lib/cjs/graph/engine/pinning/GraphPinningDependencyResolver.cjs +0 -28
  215. package/lib/cjs/graph/engine/pinning/GraphPinningDependencyResolver.cjs.map +0 -1
  216. package/lib/cjs/graph/engine/pinning/GraphPinningMetadata.cjs +0 -20
  217. package/lib/cjs/graph/engine/pinning/GraphPinningMetadata.cjs.map +0 -1
  218. package/lib/cjs/graph/engine/pinning/GraphPinningPolicy.cjs +0 -34
  219. package/lib/cjs/graph/engine/pinning/GraphPinningPolicy.cjs.map +0 -1
  220. package/lib/cjs/graph/engine/pinning/GraphPinningService.cjs +0 -220
  221. package/lib/cjs/graph/engine/pinning/GraphPinningService.cjs.map +0 -1
  222. package/lib/cjs/graph/engine/pinning/index.cjs +0 -27
  223. package/lib/cjs/graph/engine/pinning/index.cjs.map +0 -1
  224. package/lib/cjs/graph/engine/planning/GraphExecutionPlan.cjs +0 -4
  225. package/lib/cjs/graph/engine/planning/GraphExecutionPlan.cjs.map +0 -1
  226. package/lib/cjs/graph/engine/planning/GraphExecutionPlanEdge.cjs +0 -4
  227. package/lib/cjs/graph/engine/planning/GraphExecutionPlanEdge.cjs.map +0 -1
  228. package/lib/cjs/graph/engine/planning/GraphExecutionPlanLayer.cjs +0 -4
  229. package/lib/cjs/graph/engine/planning/GraphExecutionPlanLayer.cjs.map +0 -1
  230. package/lib/cjs/graph/engine/planning/GraphExecutionPlanNode.cjs +0 -4
  231. package/lib/cjs/graph/engine/planning/GraphExecutionPlanNode.cjs.map +0 -1
  232. package/lib/cjs/graph/engine/planning/GraphExecutionPlanner.cjs +0 -188
  233. package/lib/cjs/graph/engine/planning/GraphExecutionPlanner.cjs.map +0 -1
  234. package/lib/cjs/graph/engine/planning/GraphTopology.cjs +0 -57
  235. package/lib/cjs/graph/engine/planning/GraphTopology.cjs.map +0 -1
  236. package/lib/cjs/graph/engine/planning/index.cjs +0 -29
  237. package/lib/cjs/graph/engine/planning/index.cjs.map +0 -1
  238. package/lib/cjs/graph/engine/registry/GraphNodeExecutorRegistry.cjs +0 -57
  239. package/lib/cjs/graph/engine/registry/GraphNodeExecutorRegistry.cjs.map +0 -1
  240. package/lib/cjs/graph/engine/registry/GraphNodeExecutorResolver.cjs +0 -27
  241. package/lib/cjs/graph/engine/registry/GraphNodeExecutorResolver.cjs.map +0 -1
  242. package/lib/cjs/graph/engine/registry/index.cjs +0 -25
  243. package/lib/cjs/graph/engine/registry/index.cjs.map +0 -1
  244. package/lib/cjs/graph/engine/runs/GraphRunEventPublisher.cjs +0 -69
  245. package/lib/cjs/graph/engine/runs/GraphRunEventPublisher.cjs.map +0 -1
  246. package/lib/cjs/graph/engine/runs/GraphRunExecutor.cjs +0 -291
  247. package/lib/cjs/graph/engine/runs/GraphRunExecutor.cjs.map +0 -1
  248. package/lib/cjs/graph/engine/runs/GraphRunFingerprint.cjs +0 -29
  249. package/lib/cjs/graph/engine/runs/GraphRunFingerprint.cjs.map +0 -1
  250. package/lib/cjs/graph/engine/runs/GraphRunService.cjs +0 -259
  251. package/lib/cjs/graph/engine/runs/GraphRunService.cjs.map +0 -1
  252. package/lib/cjs/graph/engine/runs/InMemoryGraphRunEventStore.cjs +0 -69
  253. package/lib/cjs/graph/engine/runs/InMemoryGraphRunEventStore.cjs.map +0 -1
  254. package/lib/cjs/graph/engine/runs/InMemoryGraphRunStore.cjs +0 -26
  255. package/lib/cjs/graph/engine/runs/InMemoryGraphRunStore.cjs.map +0 -1
  256. package/lib/cjs/graph/engine/runs/index.cjs +0 -26
  257. package/lib/cjs/graph/engine/runs/index.cjs.map +0 -1
  258. package/lib/cjs/graph/engine/runs/ownership.cjs +0 -34
  259. package/lib/cjs/graph/engine/runs/ownership.cjs.map +0 -1
  260. package/lib/cjs/graph/engine/runs/types.cjs.map +0 -1
  261. package/lib/cjs/graph/engine/snapshots/GraphExecutionSnapshotMapper.cjs +0 -53
  262. package/lib/cjs/graph/engine/snapshots/GraphExecutionSnapshotMapper.cjs.map +0 -1
  263. package/lib/cjs/graph/engine/snapshots/index.cjs +0 -24
  264. package/lib/cjs/graph/engine/snapshots/index.cjs.map +0 -1
  265. package/lib/cjs/graph/engine/store/GraphCachedValue.cjs +0 -4
  266. package/lib/cjs/graph/engine/store/GraphCachedValue.cjs.map +0 -1
  267. package/lib/cjs/graph/engine/store/GraphValueKey.cjs +0 -4
  268. package/lib/cjs/graph/engine/store/GraphValueKey.cjs.map +0 -1
  269. package/lib/cjs/graph/engine/store/GraphValueStore.cjs +0 -76
  270. package/lib/cjs/graph/engine/store/GraphValueStore.cjs.map +0 -1
  271. package/lib/cjs/graph/engine/store/GraphValueStoreAdapter.cjs +0 -4
  272. package/lib/cjs/graph/engine/store/GraphValueStoreAdapter.cjs.map +0 -1
  273. package/lib/cjs/graph/engine/store/InMemoryGraphValueStoreAdapter.cjs +0 -69
  274. package/lib/cjs/graph/engine/store/InMemoryGraphValueStoreAdapter.cjs.map +0 -1
  275. package/lib/cjs/graph/engine/store/index.cjs +0 -28
  276. package/lib/cjs/graph/engine/store/index.cjs.map +0 -1
  277. package/lib/cjs/graph/engine/types.cjs +0 -4
  278. package/lib/cjs/graph/engine/types.cjs.map +0 -1
  279. package/lib/cjs/graph/engine/validation/GraphConnectionPolicyValidator.cjs +0 -142
  280. package/lib/cjs/graph/engine/validation/GraphConnectionPolicyValidator.cjs.map +0 -1
  281. package/lib/cjs/graph/engine/validation/GraphCredentialReferenceValidator.cjs +0 -160
  282. package/lib/cjs/graph/engine/validation/GraphCredentialReferenceValidator.cjs.map +0 -1
  283. package/lib/cjs/graph/engine/validation/GraphDefinitionValidator.cjs +0 -29
  284. package/lib/cjs/graph/engine/validation/GraphDefinitionValidator.cjs.map +0 -1
  285. package/lib/cjs/graph/engine/validation/GraphEdgeInstanceValidator.cjs +0 -166
  286. package/lib/cjs/graph/engine/validation/GraphEdgeInstanceValidator.cjs.map +0 -1
  287. package/lib/cjs/graph/engine/validation/GraphLooseNodeValidation.cjs +0 -36
  288. package/lib/cjs/graph/engine/validation/GraphLooseNodeValidation.cjs.map +0 -1
  289. package/lib/cjs/graph/engine/validation/GraphNodeInstanceValidator.cjs +0 -86
  290. package/lib/cjs/graph/engine/validation/GraphNodeInstanceValidator.cjs.map +0 -1
  291. package/lib/cjs/graph/engine/validation/GraphParameterValidator.cjs +0 -456
  292. package/lib/cjs/graph/engine/validation/GraphParameterValidator.cjs.map +0 -1
  293. package/lib/cjs/graph/engine/validation/GraphPortSchemaResolver.cjs +0 -58
  294. package/lib/cjs/graph/engine/validation/GraphPortSchemaResolver.cjs.map +0 -1
  295. package/lib/cjs/graph/engine/validation/GraphResolvedWorkflow.cjs +0 -4
  296. package/lib/cjs/graph/engine/validation/GraphResolvedWorkflow.cjs.map +0 -1
  297. package/lib/cjs/graph/engine/validation/GraphValidationErrors.cjs +0 -50
  298. package/lib/cjs/graph/engine/validation/GraphValidationErrors.cjs.map +0 -1
  299. package/lib/cjs/graph/engine/validation/GraphValidationIssue.cjs +0 -4
  300. package/lib/cjs/graph/engine/validation/GraphValidationIssue.cjs.map +0 -1
  301. package/lib/cjs/graph/engine/validation/GraphValueValidator.cjs +0 -52
  302. package/lib/cjs/graph/engine/validation/GraphValueValidator.cjs.map +0 -1
  303. package/lib/cjs/graph/engine/validation/GraphWorkflowDocumentValidator.cjs +0 -509
  304. package/lib/cjs/graph/engine/validation/GraphWorkflowDocumentValidator.cjs.map +0 -1
  305. package/lib/cjs/graph/engine/validation/index.cjs +0 -38
  306. package/lib/cjs/graph/engine/validation/index.cjs.map +0 -1
  307. package/lib/cjs/graph/index.cjs +0 -30
  308. package/lib/cjs/graph/index.cjs.map +0 -1
  309. package/lib/cjs/graph/log/GraphRunLogger.cjs +0 -145
  310. package/lib/cjs/graph/log/GraphRunLogger.cjs.map +0 -1
  311. package/lib/cjs/graph/log/LogParameters.cjs +0 -73
  312. package/lib/cjs/graph/log/LogParameters.cjs.map +0 -1
  313. package/lib/cjs/graph/nodes/agents/agent.cjs +0 -118
  314. package/lib/cjs/graph/nodes/agents/agent.cjs.map +0 -1
  315. package/lib/cjs/graph/nodes/base.cjs +0 -61
  316. package/lib/cjs/graph/nodes/base.cjs.map +0 -1
  317. package/lib/cjs/graph/nodes/boundary/input-value.cjs +0 -59
  318. package/lib/cjs/graph/nodes/boundary/input-value.cjs.map +0 -1
  319. package/lib/cjs/graph/nodes/flow-control/break.cjs +0 -71
  320. package/lib/cjs/graph/nodes/flow-control/break.cjs.map +0 -1
  321. package/lib/cjs/graph/nodes/flow-control/error-boundary.cjs +0 -72
  322. package/lib/cjs/graph/nodes/flow-control/error-boundary.cjs.map +0 -1
  323. package/lib/cjs/graph/nodes/flow-control/human-approval.cjs +0 -80
  324. package/lib/cjs/graph/nodes/flow-control/human-approval.cjs.map +0 -1
  325. package/lib/cjs/graph/nodes/flow-control/if.cjs +0 -82
  326. package/lib/cjs/graph/nodes/flow-control/if.cjs.map +0 -1
  327. package/lib/cjs/graph/nodes/flow-control/parallel.cjs +0 -69
  328. package/lib/cjs/graph/nodes/flow-control/parallel.cjs.map +0 -1
  329. package/lib/cjs/graph/nodes/flow-control/switch.cjs +0 -190
  330. package/lib/cjs/graph/nodes/flow-control/switch.cjs.map +0 -1
  331. package/lib/cjs/graph/nodes/index.cjs +0 -162
  332. package/lib/cjs/graph/nodes/index.cjs.map +0 -1
  333. package/lib/cjs/graph/nodes/loops/foreach.cjs +0 -189
  334. package/lib/cjs/graph/nodes/loops/foreach.cjs.map +0 -1
  335. package/lib/cjs/graph/nodes/loops/loop-metadata.cjs +0 -48
  336. package/lib/cjs/graph/nodes/loops/loop-metadata.cjs.map +0 -1
  337. package/lib/cjs/graph/nodes/loops/until.cjs +0 -136
  338. package/lib/cjs/graph/nodes/loops/until.cjs.map +0 -1
  339. package/lib/cjs/graph/nodes/loops/while.cjs +0 -133
  340. package/lib/cjs/graph/nodes/loops/while.cjs.map +0 -1
  341. package/lib/cjs/graph/nodes/manifests.cjs +0 -342
  342. package/lib/cjs/graph/nodes/manifests.cjs.map +0 -1
  343. package/lib/cjs/graph/nodes/triggers/chat.cjs +0 -82
  344. package/lib/cjs/graph/nodes/triggers/chat.cjs.map +0 -1
  345. package/lib/cjs/graph/nodes/triggers/event.cjs +0 -63
  346. package/lib/cjs/graph/nodes/triggers/event.cjs.map +0 -1
  347. package/lib/cjs/graph/nodes/triggers/form.cjs +0 -64
  348. package/lib/cjs/graph/nodes/triggers/form.cjs.map +0 -1
  349. package/lib/cjs/graph/nodes/triggers/manual.cjs +0 -65
  350. package/lib/cjs/graph/nodes/triggers/manual.cjs.map +0 -1
  351. package/lib/cjs/graph/nodes/triggers/schedule.cjs +0 -65
  352. package/lib/cjs/graph/nodes/triggers/schedule.cjs.map +0 -1
  353. package/lib/cjs/graph/nodes/triggers/webhook.cjs +0 -67
  354. package/lib/cjs/graph/nodes/triggers/webhook.cjs.map +0 -1
  355. package/lib/cjs/graph/nodes/utility/code.cjs +0 -139
  356. package/lib/cjs/graph/nodes/utility/code.cjs.map +0 -1
  357. package/lib/cjs/graph/nodes/utility/delay.cjs +0 -66
  358. package/lib/cjs/graph/nodes/utility/delay.cjs.map +0 -1
  359. package/lib/cjs/graph/nodes/utility/log.cjs +0 -70
  360. package/lib/cjs/graph/nodes/utility/log.cjs.map +0 -1
  361. package/lib/cjs/graph/nodes/utility/map.cjs +0 -69
  362. package/lib/cjs/graph/nodes/utility/map.cjs.map +0 -1
  363. package/lib/cjs/graph/nodes/utility/merge.cjs +0 -67
  364. package/lib/cjs/graph/nodes/utility/merge.cjs.map +0 -1
  365. package/lib/cjs/graph/nodes/utility/return.cjs +0 -69
  366. package/lib/cjs/graph/nodes/utility/return.cjs.map +0 -1
  367. package/lib/cjs/graph/nodes/utility/utility-log.cjs +0 -77
  368. package/lib/cjs/graph/nodes/utility/utility-log.cjs.map +0 -1
  369. package/lib/cjs/nest/graph/GraphExecutionController.cjs +0 -266
  370. package/lib/cjs/nest/graph/GraphExecutionController.cjs.map +0 -1
  371. package/lib/cjs/nest/graph/GraphExecutionModule.cjs +0 -178
  372. package/lib/cjs/nest/graph/GraphExecutionModule.cjs.map +0 -1
  373. package/lib/cjs/nest/graph/GraphExecutionResultModel.cjs +0 -75
  374. package/lib/cjs/nest/graph/GraphExecutionResultModel.cjs.map +0 -1
  375. package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs +0 -106
  376. package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs.map +0 -1
  377. package/lib/cjs/nest/graph/GraphNodeCatalogueController.cjs +0 -270
  378. package/lib/cjs/nest/graph/GraphNodeCatalogueController.cjs.map +0 -1
  379. package/lib/cjs/nest/graph/GraphResultService.cjs +0 -69
  380. package/lib/cjs/nest/graph/GraphResultService.cjs.map +0 -1
  381. package/lib/cjs/nest/graph/GraphRunController.cjs +0 -279
  382. package/lib/cjs/nest/graph/GraphRunController.cjs.map +0 -1
  383. package/lib/cjs/nest/graph/GraphRunModel.cjs +0 -83
  384. package/lib/cjs/nest/graph/GraphRunModel.cjs.map +0 -1
  385. package/lib/cjs/nest/graph/GraphRunModelService.cjs +0 -121
  386. package/lib/cjs/nest/graph/GraphRunModelService.cjs.map +0 -1
  387. package/lib/cjs/nest/graph/GraphWorkflowBoundaryValidation.cjs +0 -171
  388. package/lib/cjs/nest/graph/GraphWorkflowBoundaryValidation.cjs.map +0 -1
  389. package/lib/cjs/nest/graph/GraphWorkflowController.cjs +0 -162
  390. package/lib/cjs/nest/graph/GraphWorkflowController.cjs.map +0 -1
  391. package/lib/cjs/nest/graph/GraphWorkflowDocumentLimits.cjs +0 -12
  392. package/lib/cjs/nest/graph/GraphWorkflowDocumentLimits.cjs.map +0 -1
  393. package/lib/cjs/nest/graph/GraphWorkflowErrors.cjs +0 -23
  394. package/lib/cjs/nest/graph/GraphWorkflowErrors.cjs.map +0 -1
  395. package/lib/cjs/nest/graph/GraphWorkflowModel.cjs +0 -66
  396. package/lib/cjs/nest/graph/GraphWorkflowModel.cjs.map +0 -1
  397. package/lib/cjs/nest/graph/GraphWorkflowService.cjs +0 -253
  398. package/lib/cjs/nest/graph/GraphWorkflowService.cjs.map +0 -1
  399. package/lib/cjs/nest/graph/index.cjs +0 -33
  400. package/lib/cjs/nest/graph/index.cjs.map +0 -1
  401. package/lib/cjs/nest/graph/main.cjs +0 -47
  402. package/lib/cjs/nest/graph/main.cjs.map +0 -1
  403. package/lib/esm/blob/ipfs/IpfsBlobEnvironment.js +0 -26
  404. package/lib/esm/blob/ipfs/IpfsBlobEnvironment.js.map +0 -1
  405. package/lib/esm/blob/ipfs/IpfsBlobStoreService.js +0 -240
  406. package/lib/esm/blob/ipfs/IpfsBlobStoreService.js.map +0 -1
  407. package/lib/esm/blob/ipfs/IpfsKeyIndex.js +0 -23
  408. package/lib/esm/blob/ipfs/IpfsKeyIndex.js.map +0 -1
  409. package/lib/esm/blob/ipfs/LocalJsonIpfsKeyIndex.js +0 -30
  410. package/lib/esm/blob/ipfs/LocalJsonIpfsKeyIndex.js.map +0 -1
  411. package/lib/esm/blob/ipfs/MemoryIpfsKeyIndex.js +0 -40
  412. package/lib/esm/blob/ipfs/MemoryIpfsKeyIndex.js.map +0 -1
  413. package/lib/esm/blob/ipfs/PostgresIpfsKeyIndex.js +0 -30
  414. package/lib/esm/blob/ipfs/PostgresIpfsKeyIndex.js.map +0 -1
  415. package/lib/esm/blob/ipfs/index.js +0 -12
  416. package/lib/esm/blob/ipfs/index.js.map +0 -1
  417. package/lib/esm/graph/engine/catalog/GraphBuiltInRegistrations.js +0 -34
  418. package/lib/esm/graph/engine/catalog/GraphBuiltInRegistrations.js.map +0 -1
  419. package/lib/esm/graph/engine/catalog/GraphCatalogueErrors.js +0 -22
  420. package/lib/esm/graph/engine/catalog/GraphCatalogueErrors.js.map +0 -1
  421. package/lib/esm/graph/engine/catalog/GraphNodeCatalogue.js +0 -265
  422. package/lib/esm/graph/engine/catalog/GraphNodeCatalogue.js.map +0 -1
  423. package/lib/esm/graph/engine/catalog/GraphNodeManifestResolver.js +0 -162
  424. package/lib/esm/graph/engine/catalog/GraphNodeManifestResolver.js.map +0 -1
  425. package/lib/esm/graph/engine/catalog/GraphNodeMethodRegistry.js +0 -59
  426. package/lib/esm/graph/engine/catalog/GraphNodeMethodRegistry.js.map +0 -1
  427. package/lib/esm/graph/engine/catalog/GraphNodeRegistration.js +0 -12
  428. package/lib/esm/graph/engine/catalog/GraphNodeRegistration.js.map +0 -1
  429. package/lib/esm/graph/engine/catalog/index.js +0 -7
  430. package/lib/esm/graph/engine/catalog/index.js.map +0 -1
  431. package/lib/esm/graph/engine/constants.js +0 -62
  432. package/lib/esm/graph/engine/constants.js.map +0 -1
  433. package/lib/esm/graph/engine/decorators.js +0 -2
  434. package/lib/esm/graph/engine/decorators.js.map +0 -1
  435. package/lib/esm/graph/engine/errors/GraphBreakSignal.js +0 -32
  436. package/lib/esm/graph/engine/errors/GraphBreakSignal.js.map +0 -1
  437. package/lib/esm/graph/engine/errors/GraphCycleError.js +0 -15
  438. package/lib/esm/graph/engine/errors/GraphCycleError.js.map +0 -1
  439. package/lib/esm/graph/engine/errors/GraphExecutionError.js +0 -23
  440. package/lib/esm/graph/engine/errors/GraphExecutionError.js.map +0 -1
  441. package/lib/esm/graph/engine/errors/GraphInputError.js +0 -15
  442. package/lib/esm/graph/engine/errors/GraphInputError.js.map +0 -1
  443. package/lib/esm/graph/engine/errors/GraphLoopLimitError.js +0 -15
  444. package/lib/esm/graph/engine/errors/GraphLoopLimitError.js.map +0 -1
  445. package/lib/esm/graph/engine/errors/GraphPinningError.js +0 -15
  446. package/lib/esm/graph/engine/errors/GraphPinningError.js.map +0 -1
  447. package/lib/esm/graph/engine/errors/GraphPortError.js +0 -15
  448. package/lib/esm/graph/engine/errors/GraphPortError.js.map +0 -1
  449. package/lib/esm/graph/engine/errors/GraphRunCancelledError.js +0 -13
  450. package/lib/esm/graph/engine/errors/GraphRunCancelledError.js.map +0 -1
  451. package/lib/esm/graph/engine/errors/GraphStoreError.js +0 -15
  452. package/lib/esm/graph/engine/errors/GraphStoreError.js.map +0 -1
  453. package/lib/esm/graph/engine/errors/GraphTopologyError.js +0 -15
  454. package/lib/esm/graph/engine/errors/GraphTopologyError.js.map +0 -1
  455. package/lib/esm/graph/engine/errors/index.js +0 -16
  456. package/lib/esm/graph/engine/errors/index.js.map +0 -1
  457. package/lib/esm/graph/engine/events/GraphExecutionEventEmitter.js +0 -35
  458. package/lib/esm/graph/engine/events/GraphExecutionEventEmitter.js.map +0 -1
  459. package/lib/esm/graph/engine/events/GraphExecutionEventFactory.js +0 -32
  460. package/lib/esm/graph/engine/events/GraphExecutionEventFactory.js.map +0 -1
  461. package/lib/esm/graph/engine/events/GraphExecutionObserver.js +0 -2
  462. package/lib/esm/graph/engine/events/GraphExecutionObserver.js.map +0 -1
  463. package/lib/esm/graph/engine/events/index.js +0 -9
  464. package/lib/esm/graph/engine/events/index.js.map +0 -1
  465. package/lib/esm/graph/engine/execution/CodeSandboxEvaluator.js +0 -18
  466. package/lib/esm/graph/engine/execution/CodeSandboxEvaluator.js.map +0 -1
  467. package/lib/esm/graph/engine/execution/GraphExecutionContext.js +0 -111
  468. package/lib/esm/graph/engine/execution/GraphExecutionContext.js.map +0 -1
  469. package/lib/esm/graph/engine/execution/GraphExecutionEngine.js +0 -849
  470. package/lib/esm/graph/engine/execution/GraphExecutionEngine.js.map +0 -1
  471. package/lib/esm/graph/engine/execution/GraphExecutionFrame.js +0 -43
  472. package/lib/esm/graph/engine/execution/GraphExecutionFrame.js.map +0 -1
  473. package/lib/esm/graph/engine/execution/GraphExecutionResult.js +0 -26
  474. package/lib/esm/graph/engine/execution/GraphExecutionResult.js.map +0 -1
  475. package/lib/esm/graph/engine/execution/GraphNodeExecutor.js +0 -2
  476. package/lib/esm/graph/engine/execution/GraphNodeExecutor.js.map +0 -1
  477. package/lib/esm/graph/engine/execution/IsolatedVmCodeSandboxEvaluator.js +0 -440
  478. package/lib/esm/graph/engine/execution/IsolatedVmCodeSandboxEvaluator.js.map +0 -1
  479. package/lib/esm/graph/engine/execution/index.js +0 -13
  480. package/lib/esm/graph/engine/execution/index.js.map +0 -1
  481. package/lib/esm/graph/engine/index.js +0 -62
  482. package/lib/esm/graph/engine/index.js.map +0 -1
  483. package/lib/esm/graph/engine/loops/ConditionExpressionEvaluator.js +0 -82
  484. package/lib/esm/graph/engine/loops/ConditionExpressionEvaluator.js.map +0 -1
  485. package/lib/esm/graph/engine/loops/GraphConditionEvaluator.js +0 -80
  486. package/lib/esm/graph/engine/loops/GraphConditionEvaluator.js.map +0 -1
  487. package/lib/esm/graph/engine/loops/GraphLoopExecutionContext.js +0 -11
  488. package/lib/esm/graph/engine/loops/GraphLoopExecutionContext.js.map +0 -1
  489. package/lib/esm/graph/engine/loops/index.js +0 -9
  490. package/lib/esm/graph/engine/loops/index.js.map +0 -1
  491. package/lib/esm/graph/engine/pinning/GraphPinningDependencyResolver.js +0 -23
  492. package/lib/esm/graph/engine/pinning/GraphPinningDependencyResolver.js.map +0 -1
  493. package/lib/esm/graph/engine/pinning/GraphPinningMetadata.js +0 -15
  494. package/lib/esm/graph/engine/pinning/GraphPinningMetadata.js.map +0 -1
  495. package/lib/esm/graph/engine/pinning/GraphPinningPolicy.js +0 -29
  496. package/lib/esm/graph/engine/pinning/GraphPinningPolicy.js.map +0 -1
  497. package/lib/esm/graph/engine/pinning/GraphPinningService.js +0 -215
  498. package/lib/esm/graph/engine/pinning/GraphPinningService.js.map +0 -1
  499. package/lib/esm/graph/engine/pinning/index.js +0 -10
  500. package/lib/esm/graph/engine/pinning/index.js.map +0 -1
  501. package/lib/esm/graph/engine/planning/GraphExecutionPlan.js +0 -2
  502. package/lib/esm/graph/engine/planning/GraphExecutionPlan.js.map +0 -1
  503. package/lib/esm/graph/engine/planning/GraphExecutionPlanEdge.js +0 -9
  504. package/lib/esm/graph/engine/planning/GraphExecutionPlanEdge.js.map +0 -1
  505. package/lib/esm/graph/engine/planning/GraphExecutionPlanLayer.js +0 -2
  506. package/lib/esm/graph/engine/planning/GraphExecutionPlanLayer.js.map +0 -1
  507. package/lib/esm/graph/engine/planning/GraphExecutionPlanNode.js +0 -2
  508. package/lib/esm/graph/engine/planning/GraphExecutionPlanNode.js.map +0 -1
  509. package/lib/esm/graph/engine/planning/GraphExecutionPlanner.js +0 -183
  510. package/lib/esm/graph/engine/planning/GraphExecutionPlanner.js.map +0 -1
  511. package/lib/esm/graph/engine/planning/GraphTopology.js +0 -52
  512. package/lib/esm/graph/engine/planning/GraphTopology.js.map +0 -1
  513. package/lib/esm/graph/engine/planning/index.js +0 -12
  514. package/lib/esm/graph/engine/planning/index.js.map +0 -1
  515. package/lib/esm/graph/engine/registry/GraphNodeExecutorRegistry.js +0 -52
  516. package/lib/esm/graph/engine/registry/GraphNodeExecutorRegistry.js.map +0 -1
  517. package/lib/esm/graph/engine/registry/GraphNodeExecutorResolver.js +0 -22
  518. package/lib/esm/graph/engine/registry/GraphNodeExecutorResolver.js.map +0 -1
  519. package/lib/esm/graph/engine/registry/index.js +0 -8
  520. package/lib/esm/graph/engine/registry/index.js.map +0 -1
  521. package/lib/esm/graph/engine/runs/GraphRunEventPublisher.js +0 -64
  522. package/lib/esm/graph/engine/runs/GraphRunEventPublisher.js.map +0 -1
  523. package/lib/esm/graph/engine/runs/GraphRunExecutor.js +0 -286
  524. package/lib/esm/graph/engine/runs/GraphRunExecutor.js.map +0 -1
  525. package/lib/esm/graph/engine/runs/GraphRunFingerprint.js +0 -25
  526. package/lib/esm/graph/engine/runs/GraphRunFingerprint.js.map +0 -1
  527. package/lib/esm/graph/engine/runs/GraphRunService.js +0 -254
  528. package/lib/esm/graph/engine/runs/GraphRunService.js.map +0 -1
  529. package/lib/esm/graph/engine/runs/InMemoryGraphRunEventStore.js +0 -64
  530. package/lib/esm/graph/engine/runs/InMemoryGraphRunEventStore.js.map +0 -1
  531. package/lib/esm/graph/engine/runs/InMemoryGraphRunStore.js +0 -21
  532. package/lib/esm/graph/engine/runs/InMemoryGraphRunStore.js.map +0 -1
  533. package/lib/esm/graph/engine/runs/index.js +0 -9
  534. package/lib/esm/graph/engine/runs/index.js.map +0 -1
  535. package/lib/esm/graph/engine/runs/ownership.js +0 -30
  536. package/lib/esm/graph/engine/runs/ownership.js.map +0 -1
  537. package/lib/esm/graph/engine/runs/types.js.map +0 -1
  538. package/lib/esm/graph/engine/snapshots/GraphExecutionSnapshotMapper.js +0 -48
  539. package/lib/esm/graph/engine/snapshots/GraphExecutionSnapshotMapper.js.map +0 -1
  540. package/lib/esm/graph/engine/snapshots/index.js +0 -7
  541. package/lib/esm/graph/engine/snapshots/index.js.map +0 -1
  542. package/lib/esm/graph/engine/store/GraphCachedValue.js +0 -2
  543. package/lib/esm/graph/engine/store/GraphCachedValue.js.map +0 -1
  544. package/lib/esm/graph/engine/store/GraphValueKey.js +0 -7
  545. package/lib/esm/graph/engine/store/GraphValueKey.js.map +0 -1
  546. package/lib/esm/graph/engine/store/GraphValueStore.js +0 -71
  547. package/lib/esm/graph/engine/store/GraphValueStore.js.map +0 -1
  548. package/lib/esm/graph/engine/store/GraphValueStoreAdapter.js +0 -2
  549. package/lib/esm/graph/engine/store/GraphValueStoreAdapter.js.map +0 -1
  550. package/lib/esm/graph/engine/store/InMemoryGraphValueStoreAdapter.js +0 -64
  551. package/lib/esm/graph/engine/store/InMemoryGraphValueStoreAdapter.js.map +0 -1
  552. package/lib/esm/graph/engine/store/index.js +0 -11
  553. package/lib/esm/graph/engine/store/index.js.map +0 -1
  554. package/lib/esm/graph/engine/types.js +0 -2
  555. package/lib/esm/graph/engine/validation/GraphConnectionPolicyValidator.js +0 -137
  556. package/lib/esm/graph/engine/validation/GraphConnectionPolicyValidator.js.map +0 -1
  557. package/lib/esm/graph/engine/validation/GraphCredentialReferenceValidator.js +0 -155
  558. package/lib/esm/graph/engine/validation/GraphCredentialReferenceValidator.js.map +0 -1
  559. package/lib/esm/graph/engine/validation/GraphDefinitionValidator.js +0 -24
  560. package/lib/esm/graph/engine/validation/GraphDefinitionValidator.js.map +0 -1
  561. package/lib/esm/graph/engine/validation/GraphEdgeInstanceValidator.js +0 -161
  562. package/lib/esm/graph/engine/validation/GraphEdgeInstanceValidator.js.map +0 -1
  563. package/lib/esm/graph/engine/validation/GraphLooseNodeValidation.js +0 -32
  564. package/lib/esm/graph/engine/validation/GraphLooseNodeValidation.js.map +0 -1
  565. package/lib/esm/graph/engine/validation/GraphNodeInstanceValidator.js +0 -81
  566. package/lib/esm/graph/engine/validation/GraphNodeInstanceValidator.js.map +0 -1
  567. package/lib/esm/graph/engine/validation/GraphParameterValidator.js +0 -449
  568. package/lib/esm/graph/engine/validation/GraphParameterValidator.js.map +0 -1
  569. package/lib/esm/graph/engine/validation/GraphPortSchemaResolver.js +0 -53
  570. package/lib/esm/graph/engine/validation/GraphPortSchemaResolver.js.map +0 -1
  571. package/lib/esm/graph/engine/validation/GraphResolvedWorkflow.js +0 -2
  572. package/lib/esm/graph/engine/validation/GraphResolvedWorkflow.js.map +0 -1
  573. package/lib/esm/graph/engine/validation/GraphValidationErrors.js +0 -43
  574. package/lib/esm/graph/engine/validation/GraphValidationErrors.js.map +0 -1
  575. package/lib/esm/graph/engine/validation/GraphValidationIssue.js +0 -2
  576. package/lib/esm/graph/engine/validation/GraphValidationIssue.js.map +0 -1
  577. package/lib/esm/graph/engine/validation/GraphValueValidator.js +0 -47
  578. package/lib/esm/graph/engine/validation/GraphValueValidator.js.map +0 -1
  579. package/lib/esm/graph/engine/validation/GraphWorkflowDocumentValidator.js +0 -503
  580. package/lib/esm/graph/engine/validation/GraphWorkflowDocumentValidator.js.map +0 -1
  581. package/lib/esm/graph/engine/validation/index.js +0 -21
  582. package/lib/esm/graph/engine/validation/index.js.map +0 -1
  583. package/lib/esm/graph/index.js +0 -13
  584. package/lib/esm/graph/index.js.map +0 -1
  585. package/lib/esm/graph/log/GraphRunLogger.js +0 -140
  586. package/lib/esm/graph/log/GraphRunLogger.js.map +0 -1
  587. package/lib/esm/graph/log/LogParameters.js +0 -69
  588. package/lib/esm/graph/log/LogParameters.js.map +0 -1
  589. package/lib/esm/graph/nodes/agents/agent.js +0 -109
  590. package/lib/esm/graph/nodes/agents/agent.js.map +0 -1
  591. package/lib/esm/graph/nodes/base.js +0 -56
  592. package/lib/esm/graph/nodes/base.js.map +0 -1
  593. package/lib/esm/graph/nodes/boundary/input-value.js +0 -50
  594. package/lib/esm/graph/nodes/boundary/input-value.js.map +0 -1
  595. package/lib/esm/graph/nodes/flow-control/break.js +0 -62
  596. package/lib/esm/graph/nodes/flow-control/break.js.map +0 -1
  597. package/lib/esm/graph/nodes/flow-control/error-boundary.js +0 -63
  598. package/lib/esm/graph/nodes/flow-control/error-boundary.js.map +0 -1
  599. package/lib/esm/graph/nodes/flow-control/human-approval.js +0 -71
  600. package/lib/esm/graph/nodes/flow-control/human-approval.js.map +0 -1
  601. package/lib/esm/graph/nodes/flow-control/if.js +0 -73
  602. package/lib/esm/graph/nodes/flow-control/if.js.map +0 -1
  603. package/lib/esm/graph/nodes/flow-control/parallel.js +0 -60
  604. package/lib/esm/graph/nodes/flow-control/parallel.js.map +0 -1
  605. package/lib/esm/graph/nodes/flow-control/switch.js +0 -181
  606. package/lib/esm/graph/nodes/flow-control/switch.js.map +0 -1
  607. package/lib/esm/graph/nodes/index.js +0 -144
  608. package/lib/esm/graph/nodes/index.js.map +0 -1
  609. package/lib/esm/graph/nodes/loops/foreach.js +0 -180
  610. package/lib/esm/graph/nodes/loops/foreach.js.map +0 -1
  611. package/lib/esm/graph/nodes/loops/loop-metadata.js +0 -44
  612. package/lib/esm/graph/nodes/loops/loop-metadata.js.map +0 -1
  613. package/lib/esm/graph/nodes/loops/until.js +0 -127
  614. package/lib/esm/graph/nodes/loops/until.js.map +0 -1
  615. package/lib/esm/graph/nodes/loops/while.js +0 -124
  616. package/lib/esm/graph/nodes/loops/while.js.map +0 -1
  617. package/lib/esm/graph/nodes/manifests.js +0 -338
  618. package/lib/esm/graph/nodes/manifests.js.map +0 -1
  619. package/lib/esm/graph/nodes/triggers/chat.js +0 -73
  620. package/lib/esm/graph/nodes/triggers/chat.js.map +0 -1
  621. package/lib/esm/graph/nodes/triggers/event.js +0 -54
  622. package/lib/esm/graph/nodes/triggers/event.js.map +0 -1
  623. package/lib/esm/graph/nodes/triggers/form.js +0 -55
  624. package/lib/esm/graph/nodes/triggers/form.js.map +0 -1
  625. package/lib/esm/graph/nodes/triggers/manual.js +0 -56
  626. package/lib/esm/graph/nodes/triggers/manual.js.map +0 -1
  627. package/lib/esm/graph/nodes/triggers/schedule.js +0 -56
  628. package/lib/esm/graph/nodes/triggers/schedule.js.map +0 -1
  629. package/lib/esm/graph/nodes/triggers/webhook.js +0 -58
  630. package/lib/esm/graph/nodes/triggers/webhook.js.map +0 -1
  631. package/lib/esm/graph/nodes/utility/code.js +0 -130
  632. package/lib/esm/graph/nodes/utility/code.js.map +0 -1
  633. package/lib/esm/graph/nodes/utility/delay.js +0 -57
  634. package/lib/esm/graph/nodes/utility/delay.js.map +0 -1
  635. package/lib/esm/graph/nodes/utility/log.js +0 -61
  636. package/lib/esm/graph/nodes/utility/log.js.map +0 -1
  637. package/lib/esm/graph/nodes/utility/map.js +0 -60
  638. package/lib/esm/graph/nodes/utility/map.js.map +0 -1
  639. package/lib/esm/graph/nodes/utility/merge.js +0 -58
  640. package/lib/esm/graph/nodes/utility/merge.js.map +0 -1
  641. package/lib/esm/graph/nodes/utility/return.js +0 -60
  642. package/lib/esm/graph/nodes/utility/return.js.map +0 -1
  643. package/lib/esm/graph/nodes/utility/utility-log.js +0 -68
  644. package/lib/esm/graph/nodes/utility/utility-log.js.map +0 -1
  645. package/lib/esm/nest/graph/GraphExecutionController.js +0 -257
  646. package/lib/esm/nest/graph/GraphExecutionController.js.map +0 -1
  647. package/lib/esm/nest/graph/GraphExecutionModule.js +0 -137
  648. package/lib/esm/nest/graph/GraphExecutionModule.js.map +0 -1
  649. package/lib/esm/nest/graph/GraphExecutionResultModel.js +0 -66
  650. package/lib/esm/nest/graph/GraphExecutionResultModel.js.map +0 -1
  651. package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js +0 -99
  652. package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js.map +0 -1
  653. package/lib/esm/nest/graph/GraphNodeCatalogueController.js +0 -261
  654. package/lib/esm/nest/graph/GraphNodeCatalogueController.js.map +0 -1
  655. package/lib/esm/nest/graph/GraphResultService.js +0 -60
  656. package/lib/esm/nest/graph/GraphResultService.js.map +0 -1
  657. package/lib/esm/nest/graph/GraphRunController.js +0 -270
  658. package/lib/esm/nest/graph/GraphRunController.js.map +0 -1
  659. package/lib/esm/nest/graph/GraphRunModel.js +0 -74
  660. package/lib/esm/nest/graph/GraphRunModel.js.map +0 -1
  661. package/lib/esm/nest/graph/GraphRunModelService.js +0 -112
  662. package/lib/esm/nest/graph/GraphRunModelService.js.map +0 -1
  663. package/lib/esm/nest/graph/GraphWorkflowBoundaryValidation.js +0 -166
  664. package/lib/esm/nest/graph/GraphWorkflowBoundaryValidation.js.map +0 -1
  665. package/lib/esm/nest/graph/GraphWorkflowController.js +0 -153
  666. package/lib/esm/nest/graph/GraphWorkflowController.js.map +0 -1
  667. package/lib/esm/nest/graph/GraphWorkflowDocumentLimits.js +0 -8
  668. package/lib/esm/nest/graph/GraphWorkflowDocumentLimits.js.map +0 -1
  669. package/lib/esm/nest/graph/GraphWorkflowErrors.js +0 -18
  670. package/lib/esm/nest/graph/GraphWorkflowErrors.js.map +0 -1
  671. package/lib/esm/nest/graph/GraphWorkflowModel.js +0 -57
  672. package/lib/esm/nest/graph/GraphWorkflowModel.js.map +0 -1
  673. package/lib/esm/nest/graph/GraphWorkflowService.js +0 -243
  674. package/lib/esm/nest/graph/GraphWorkflowService.js.map +0 -1
  675. package/lib/esm/nest/graph/index.js +0 -16
  676. package/lib/esm/nest/graph/index.js.map +0 -1
  677. package/lib/esm/nest/graph/main.js +0 -44
  678. package/lib/esm/nest/graph/main.js.map +0 -1
  679. package/lib/types/blob/ipfs/IpfsBlobEnvironment.d.cts +0 -24
  680. package/lib/types/blob/ipfs/IpfsBlobEnvironment.d.mts +0 -24
  681. package/lib/types/blob/ipfs/IpfsBlobStoreService.d.cts +0 -61
  682. package/lib/types/blob/ipfs/IpfsBlobStoreService.d.mts +0 -61
  683. package/lib/types/blob/ipfs/IpfsKeyIndex.d.cts +0 -9
  684. package/lib/types/blob/ipfs/IpfsKeyIndex.d.mts +0 -9
  685. package/lib/types/blob/ipfs/LocalJsonIpfsKeyIndex.d.cts +0 -11
  686. package/lib/types/blob/ipfs/LocalJsonIpfsKeyIndex.d.mts +0 -11
  687. package/lib/types/blob/ipfs/MemoryIpfsKeyIndex.d.cts +0 -15
  688. package/lib/types/blob/ipfs/MemoryIpfsKeyIndex.d.mts +0 -15
  689. package/lib/types/blob/ipfs/PostgresIpfsKeyIndex.d.cts +0 -11
  690. package/lib/types/blob/ipfs/PostgresIpfsKeyIndex.d.mts +0 -11
  691. package/lib/types/blob/ipfs/index.d.cts +0 -11
  692. package/lib/types/blob/ipfs/index.d.mts +0 -11
  693. package/lib/types/graph/engine/catalog/GraphBuiltInRegistrations.d.cts +0 -14
  694. package/lib/types/graph/engine/catalog/GraphBuiltInRegistrations.d.mts +0 -14
  695. package/lib/types/graph/engine/catalog/GraphCatalogueErrors.d.cts +0 -13
  696. package/lib/types/graph/engine/catalog/GraphCatalogueErrors.d.mts +0 -13
  697. package/lib/types/graph/engine/catalog/GraphNodeCatalogue.d.cts +0 -71
  698. package/lib/types/graph/engine/catalog/GraphNodeCatalogue.d.mts +0 -71
  699. package/lib/types/graph/engine/catalog/GraphNodeManifestResolver.d.cts +0 -42
  700. package/lib/types/graph/engine/catalog/GraphNodeManifestResolver.d.mts +0 -42
  701. package/lib/types/graph/engine/catalog/GraphNodeMethodRegistry.d.cts +0 -22
  702. package/lib/types/graph/engine/catalog/GraphNodeMethodRegistry.d.mts +0 -22
  703. package/lib/types/graph/engine/catalog/GraphNodeRegistration.d.cts +0 -68
  704. package/lib/types/graph/engine/catalog/GraphNodeRegistration.d.mts +0 -68
  705. package/lib/types/graph/engine/catalog/index.d.cts +0 -6
  706. package/lib/types/graph/engine/catalog/index.d.mts +0 -6
  707. package/lib/types/graph/engine/constants.d.cts +0 -59
  708. package/lib/types/graph/engine/constants.d.mts +0 -59
  709. package/lib/types/graph/engine/decorators.d.cts +0 -6
  710. package/lib/types/graph/engine/decorators.d.mts +0 -6
  711. package/lib/types/graph/engine/errors/GraphBreakSignal.d.cts +0 -28
  712. package/lib/types/graph/engine/errors/GraphBreakSignal.d.mts +0 -28
  713. package/lib/types/graph/engine/errors/GraphCycleError.d.cts +0 -12
  714. package/lib/types/graph/engine/errors/GraphCycleError.d.mts +0 -12
  715. package/lib/types/graph/engine/errors/GraphExecutionError.d.cts +0 -19
  716. package/lib/types/graph/engine/errors/GraphExecutionError.d.mts +0 -19
  717. package/lib/types/graph/engine/errors/GraphInputError.d.cts +0 -12
  718. package/lib/types/graph/engine/errors/GraphInputError.d.mts +0 -12
  719. package/lib/types/graph/engine/errors/GraphLoopLimitError.d.cts +0 -12
  720. package/lib/types/graph/engine/errors/GraphLoopLimitError.d.mts +0 -12
  721. package/lib/types/graph/engine/errors/GraphPinningError.d.cts +0 -12
  722. package/lib/types/graph/engine/errors/GraphPinningError.d.mts +0 -12
  723. package/lib/types/graph/engine/errors/GraphPortError.d.cts +0 -12
  724. package/lib/types/graph/engine/errors/GraphPortError.d.mts +0 -12
  725. package/lib/types/graph/engine/errors/GraphRunCancelledError.d.cts +0 -9
  726. package/lib/types/graph/engine/errors/GraphRunCancelledError.d.mts +0 -9
  727. package/lib/types/graph/engine/errors/GraphStoreError.d.cts +0 -12
  728. package/lib/types/graph/engine/errors/GraphStoreError.d.mts +0 -12
  729. package/lib/types/graph/engine/errors/GraphTopologyError.d.cts +0 -12
  730. package/lib/types/graph/engine/errors/GraphTopologyError.d.mts +0 -12
  731. package/lib/types/graph/engine/errors/index.d.cts +0 -15
  732. package/lib/types/graph/engine/errors/index.d.mts +0 -15
  733. package/lib/types/graph/engine/events/GraphExecutionEventEmitter.d.cts +0 -26
  734. package/lib/types/graph/engine/events/GraphExecutionEventEmitter.d.mts +0 -26
  735. package/lib/types/graph/engine/events/GraphExecutionEventFactory.d.cts +0 -25
  736. package/lib/types/graph/engine/events/GraphExecutionEventFactory.d.mts +0 -25
  737. package/lib/types/graph/engine/events/GraphExecutionObserver.d.cts +0 -17
  738. package/lib/types/graph/engine/events/GraphExecutionObserver.d.mts +0 -17
  739. package/lib/types/graph/engine/events/index.d.cts +0 -8
  740. package/lib/types/graph/engine/events/index.d.mts +0 -8
  741. package/lib/types/graph/engine/execution/CodeSandboxEvaluator.d.cts +0 -76
  742. package/lib/types/graph/engine/execution/CodeSandboxEvaluator.d.mts +0 -76
  743. package/lib/types/graph/engine/execution/GraphExecutionContext.d.cts +0 -79
  744. package/lib/types/graph/engine/execution/GraphExecutionContext.d.mts +0 -79
  745. package/lib/types/graph/engine/execution/GraphExecutionEngine.d.cts +0 -278
  746. package/lib/types/graph/engine/execution/GraphExecutionEngine.d.mts +0 -278
  747. package/lib/types/graph/engine/execution/GraphExecutionFrame.d.cts +0 -42
  748. package/lib/types/graph/engine/execution/GraphExecutionFrame.d.mts +0 -42
  749. package/lib/types/graph/engine/execution/GraphExecutionResult.d.cts +0 -13
  750. package/lib/types/graph/engine/execution/GraphExecutionResult.d.mts +0 -13
  751. package/lib/types/graph/engine/execution/GraphNodeExecutor.d.cts +0 -31
  752. package/lib/types/graph/engine/execution/GraphNodeExecutor.d.mts +0 -31
  753. package/lib/types/graph/engine/execution/IsolatedVmCodeSandboxEvaluator.d.cts +0 -63
  754. package/lib/types/graph/engine/execution/IsolatedVmCodeSandboxEvaluator.d.mts +0 -63
  755. package/lib/types/graph/engine/execution/index.d.cts +0 -12
  756. package/lib/types/graph/engine/execution/index.d.mts +0 -12
  757. package/lib/types/graph/engine/index.d.cts +0 -56
  758. package/lib/types/graph/engine/index.d.mts +0 -56
  759. package/lib/types/graph/engine/loops/ConditionExpressionEvaluator.d.cts +0 -36
  760. package/lib/types/graph/engine/loops/ConditionExpressionEvaluator.d.mts +0 -36
  761. package/lib/types/graph/engine/loops/GraphConditionEvaluator.d.cts +0 -40
  762. package/lib/types/graph/engine/loops/GraphConditionEvaluator.d.mts +0 -40
  763. package/lib/types/graph/engine/loops/GraphLoopExecutionContext.d.cts +0 -15
  764. package/lib/types/graph/engine/loops/GraphLoopExecutionContext.d.mts +0 -15
  765. package/lib/types/graph/engine/loops/index.d.cts +0 -8
  766. package/lib/types/graph/engine/loops/index.d.mts +0 -8
  767. package/lib/types/graph/engine/pinning/GraphPinningDependencyResolver.d.cts +0 -21
  768. package/lib/types/graph/engine/pinning/GraphPinningDependencyResolver.d.mts +0 -21
  769. package/lib/types/graph/engine/pinning/GraphPinningMetadata.d.cts +0 -14
  770. package/lib/types/graph/engine/pinning/GraphPinningMetadata.d.mts +0 -14
  771. package/lib/types/graph/engine/pinning/GraphPinningPolicy.d.cts +0 -20
  772. package/lib/types/graph/engine/pinning/GraphPinningPolicy.d.mts +0 -20
  773. package/lib/types/graph/engine/pinning/GraphPinningService.d.cts +0 -70
  774. package/lib/types/graph/engine/pinning/GraphPinningService.d.mts +0 -70
  775. package/lib/types/graph/engine/pinning/index.d.cts +0 -9
  776. package/lib/types/graph/engine/pinning/index.d.mts +0 -9
  777. package/lib/types/graph/engine/planning/GraphExecutionPlan.d.cts +0 -25
  778. package/lib/types/graph/engine/planning/GraphExecutionPlan.d.mts +0 -25
  779. package/lib/types/graph/engine/planning/GraphExecutionPlanEdge.d.cts +0 -26
  780. package/lib/types/graph/engine/planning/GraphExecutionPlanEdge.d.mts +0 -26
  781. package/lib/types/graph/engine/planning/GraphExecutionPlanLayer.d.cts +0 -13
  782. package/lib/types/graph/engine/planning/GraphExecutionPlanLayer.d.mts +0 -13
  783. package/lib/types/graph/engine/planning/GraphExecutionPlanNode.d.cts +0 -28
  784. package/lib/types/graph/engine/planning/GraphExecutionPlanNode.d.mts +0 -28
  785. package/lib/types/graph/engine/planning/GraphExecutionPlanner.d.cts +0 -48
  786. package/lib/types/graph/engine/planning/GraphExecutionPlanner.d.mts +0 -48
  787. package/lib/types/graph/engine/planning/GraphTopology.d.cts +0 -23
  788. package/lib/types/graph/engine/planning/GraphTopology.d.mts +0 -23
  789. package/lib/types/graph/engine/planning/index.d.cts +0 -11
  790. package/lib/types/graph/engine/planning/index.d.mts +0 -11
  791. package/lib/types/graph/engine/registry/GraphNodeExecutorRegistry.d.cts +0 -39
  792. package/lib/types/graph/engine/registry/GraphNodeExecutorRegistry.d.mts +0 -39
  793. package/lib/types/graph/engine/registry/GraphNodeExecutorResolver.d.cts +0 -21
  794. package/lib/types/graph/engine/registry/GraphNodeExecutorResolver.d.mts +0 -21
  795. package/lib/types/graph/engine/registry/index.d.cts +0 -7
  796. package/lib/types/graph/engine/registry/index.d.mts +0 -7
  797. package/lib/types/graph/engine/runs/GraphRunEventPublisher.d.cts +0 -26
  798. package/lib/types/graph/engine/runs/GraphRunEventPublisher.d.mts +0 -26
  799. package/lib/types/graph/engine/runs/GraphRunExecutor.d.cts +0 -75
  800. package/lib/types/graph/engine/runs/GraphRunExecutor.d.mts +0 -75
  801. package/lib/types/graph/engine/runs/GraphRunFingerprint.d.cts +0 -8
  802. package/lib/types/graph/engine/runs/GraphRunFingerprint.d.mts +0 -8
  803. package/lib/types/graph/engine/runs/GraphRunService.d.cts +0 -93
  804. package/lib/types/graph/engine/runs/GraphRunService.d.mts +0 -93
  805. package/lib/types/graph/engine/runs/InMemoryGraphRunEventStore.d.cts +0 -28
  806. package/lib/types/graph/engine/runs/InMemoryGraphRunEventStore.d.mts +0 -28
  807. package/lib/types/graph/engine/runs/InMemoryGraphRunStore.d.cts +0 -12
  808. package/lib/types/graph/engine/runs/InMemoryGraphRunStore.d.mts +0 -12
  809. package/lib/types/graph/engine/runs/index.d.cts +0 -8
  810. package/lib/types/graph/engine/runs/index.d.mts +0 -8
  811. package/lib/types/graph/engine/runs/ownership.d.cts +0 -25
  812. package/lib/types/graph/engine/runs/ownership.d.mts +0 -25
  813. package/lib/types/graph/engine/runs/types.d.cts +0 -83
  814. package/lib/types/graph/engine/runs/types.d.mts +0 -83
  815. package/lib/types/graph/engine/snapshots/GraphExecutionSnapshotMapper.d.cts +0 -10
  816. package/lib/types/graph/engine/snapshots/GraphExecutionSnapshotMapper.d.mts +0 -10
  817. package/lib/types/graph/engine/snapshots/index.d.cts +0 -6
  818. package/lib/types/graph/engine/snapshots/index.d.mts +0 -6
  819. package/lib/types/graph/engine/store/GraphCachedValue.d.cts +0 -20
  820. package/lib/types/graph/engine/store/GraphCachedValue.d.mts +0 -20
  821. package/lib/types/graph/engine/store/GraphValueKey.d.cts +0 -18
  822. package/lib/types/graph/engine/store/GraphValueKey.d.mts +0 -18
  823. package/lib/types/graph/engine/store/GraphValueStore.d.cts +0 -41
  824. package/lib/types/graph/engine/store/GraphValueStore.d.mts +0 -41
  825. package/lib/types/graph/engine/store/GraphValueStoreAdapter.d.cts +0 -32
  826. package/lib/types/graph/engine/store/GraphValueStoreAdapter.d.mts +0 -32
  827. package/lib/types/graph/engine/store/InMemoryGraphValueStoreAdapter.d.cts +0 -33
  828. package/lib/types/graph/engine/store/InMemoryGraphValueStoreAdapter.d.mts +0 -33
  829. package/lib/types/graph/engine/store/index.d.cts +0 -10
  830. package/lib/types/graph/engine/store/index.d.mts +0 -10
  831. package/lib/types/graph/engine/types.d.cts +0 -208
  832. package/lib/types/graph/engine/types.d.mts +0 -208
  833. package/lib/types/graph/engine/validation/GraphConnectionPolicyValidator.d.cts +0 -32
  834. package/lib/types/graph/engine/validation/GraphConnectionPolicyValidator.d.mts +0 -32
  835. package/lib/types/graph/engine/validation/GraphCredentialReferenceValidator.d.cts +0 -62
  836. package/lib/types/graph/engine/validation/GraphCredentialReferenceValidator.d.mts +0 -62
  837. package/lib/types/graph/engine/validation/GraphDefinitionValidator.d.cts +0 -23
  838. package/lib/types/graph/engine/validation/GraphDefinitionValidator.d.mts +0 -23
  839. package/lib/types/graph/engine/validation/GraphEdgeInstanceValidator.d.cts +0 -32
  840. package/lib/types/graph/engine/validation/GraphEdgeInstanceValidator.d.mts +0 -32
  841. package/lib/types/graph/engine/validation/GraphLooseNodeValidation.d.cts +0 -21
  842. package/lib/types/graph/engine/validation/GraphLooseNodeValidation.d.mts +0 -21
  843. package/lib/types/graph/engine/validation/GraphNodeInstanceValidator.d.cts +0 -37
  844. package/lib/types/graph/engine/validation/GraphNodeInstanceValidator.d.mts +0 -37
  845. package/lib/types/graph/engine/validation/GraphParameterValidator.d.cts +0 -116
  846. package/lib/types/graph/engine/validation/GraphParameterValidator.d.mts +0 -116
  847. package/lib/types/graph/engine/validation/GraphPortSchemaResolver.d.cts +0 -39
  848. package/lib/types/graph/engine/validation/GraphPortSchemaResolver.d.mts +0 -39
  849. package/lib/types/graph/engine/validation/GraphResolvedWorkflow.d.cts +0 -66
  850. package/lib/types/graph/engine/validation/GraphResolvedWorkflow.d.mts +0 -66
  851. package/lib/types/graph/engine/validation/GraphValidationErrors.d.cts +0 -34
  852. package/lib/types/graph/engine/validation/GraphValidationErrors.d.mts +0 -34
  853. package/lib/types/graph/engine/validation/GraphValidationIssue.d.cts +0 -39
  854. package/lib/types/graph/engine/validation/GraphValidationIssue.d.mts +0 -39
  855. package/lib/types/graph/engine/validation/GraphValueValidator.d.cts +0 -27
  856. package/lib/types/graph/engine/validation/GraphValueValidator.d.mts +0 -27
  857. package/lib/types/graph/engine/validation/GraphWorkflowDocumentValidator.d.cts +0 -162
  858. package/lib/types/graph/engine/validation/GraphWorkflowDocumentValidator.d.mts +0 -162
  859. package/lib/types/graph/engine/validation/index.d.cts +0 -20
  860. package/lib/types/graph/engine/validation/index.d.mts +0 -20
  861. package/lib/types/graph/index.d.cts +0 -12
  862. package/lib/types/graph/index.d.mts +0 -12
  863. package/lib/types/graph/log/GraphRunLogger.d.cts +0 -76
  864. package/lib/types/graph/log/GraphRunLogger.d.mts +0 -76
  865. package/lib/types/graph/log/LogParameters.d.cts +0 -7
  866. package/lib/types/graph/log/LogParameters.d.mts +0 -7
  867. package/lib/types/graph/nodes/agents/agent.d.cts +0 -31
  868. package/lib/types/graph/nodes/agents/agent.d.mts +0 -31
  869. package/lib/types/graph/nodes/base.d.cts +0 -58
  870. package/lib/types/graph/nodes/base.d.mts +0 -58
  871. package/lib/types/graph/nodes/boundary/input-value.d.cts +0 -6
  872. package/lib/types/graph/nodes/boundary/input-value.d.mts +0 -6
  873. package/lib/types/graph/nodes/flow-control/break.d.cts +0 -8
  874. package/lib/types/graph/nodes/flow-control/break.d.mts +0 -8
  875. package/lib/types/graph/nodes/flow-control/error-boundary.d.cts +0 -8
  876. package/lib/types/graph/nodes/flow-control/error-boundary.d.mts +0 -8
  877. package/lib/types/graph/nodes/flow-control/human-approval.d.cts +0 -8
  878. package/lib/types/graph/nodes/flow-control/human-approval.d.mts +0 -8
  879. package/lib/types/graph/nodes/flow-control/if.d.cts +0 -8
  880. package/lib/types/graph/nodes/flow-control/if.d.mts +0 -8
  881. package/lib/types/graph/nodes/flow-control/parallel.d.cts +0 -7
  882. package/lib/types/graph/nodes/flow-control/parallel.d.mts +0 -7
  883. package/lib/types/graph/nodes/flow-control/switch.d.cts +0 -23
  884. package/lib/types/graph/nodes/flow-control/switch.d.mts +0 -23
  885. package/lib/types/graph/nodes/index.d.cts +0 -93
  886. package/lib/types/graph/nodes/index.d.mts +0 -93
  887. package/lib/types/graph/nodes/loops/foreach.d.cts +0 -11
  888. package/lib/types/graph/nodes/loops/foreach.d.mts +0 -11
  889. package/lib/types/graph/nodes/loops/loop-metadata.d.cts +0 -20
  890. package/lib/types/graph/nodes/loops/loop-metadata.d.mts +0 -20
  891. package/lib/types/graph/nodes/loops/until.d.cts +0 -8
  892. package/lib/types/graph/nodes/loops/until.d.mts +0 -8
  893. package/lib/types/graph/nodes/loops/while.d.cts +0 -8
  894. package/lib/types/graph/nodes/loops/while.d.mts +0 -8
  895. package/lib/types/graph/nodes/manifests.d.cts +0 -62
  896. package/lib/types/graph/nodes/manifests.d.mts +0 -62
  897. package/lib/types/graph/nodes/triggers/chat.d.cts +0 -8
  898. package/lib/types/graph/nodes/triggers/chat.d.mts +0 -8
  899. package/lib/types/graph/nodes/triggers/event.d.cts +0 -6
  900. package/lib/types/graph/nodes/triggers/event.d.mts +0 -6
  901. package/lib/types/graph/nodes/triggers/form.d.cts +0 -6
  902. package/lib/types/graph/nodes/triggers/form.d.mts +0 -6
  903. package/lib/types/graph/nodes/triggers/manual.d.cts +0 -6
  904. package/lib/types/graph/nodes/triggers/manual.d.mts +0 -6
  905. package/lib/types/graph/nodes/triggers/schedule.d.cts +0 -6
  906. package/lib/types/graph/nodes/triggers/schedule.d.mts +0 -6
  907. package/lib/types/graph/nodes/triggers/webhook.d.cts +0 -6
  908. package/lib/types/graph/nodes/triggers/webhook.d.mts +0 -6
  909. package/lib/types/graph/nodes/utility/code.d.cts +0 -36
  910. package/lib/types/graph/nodes/utility/code.d.mts +0 -36
  911. package/lib/types/graph/nodes/utility/delay.d.cts +0 -7
  912. package/lib/types/graph/nodes/utility/delay.d.mts +0 -7
  913. package/lib/types/graph/nodes/utility/log.d.cts +0 -8
  914. package/lib/types/graph/nodes/utility/log.d.mts +0 -8
  915. package/lib/types/graph/nodes/utility/map.d.cts +0 -7
  916. package/lib/types/graph/nodes/utility/map.d.mts +0 -7
  917. package/lib/types/graph/nodes/utility/merge.d.cts +0 -7
  918. package/lib/types/graph/nodes/utility/merge.d.mts +0 -7
  919. package/lib/types/graph/nodes/utility/return.d.cts +0 -7
  920. package/lib/types/graph/nodes/utility/return.d.mts +0 -7
  921. package/lib/types/graph/nodes/utility/utility-log.d.cts +0 -10
  922. package/lib/types/graph/nodes/utility/utility-log.d.mts +0 -10
  923. package/lib/types/nest/graph/GraphExecutionController.d.cts +0 -110
  924. package/lib/types/nest/graph/GraphExecutionController.d.mts +0 -110
  925. package/lib/types/nest/graph/GraphExecutionModule.d.cts +0 -83
  926. package/lib/types/nest/graph/GraphExecutionModule.d.mts +0 -83
  927. package/lib/types/nest/graph/GraphExecutionResultModel.d.cts +0 -24
  928. package/lib/types/nest/graph/GraphExecutionResultModel.d.mts +0 -24
  929. package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.cts +0 -68
  930. package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.mts +0 -68
  931. package/lib/types/nest/graph/GraphNodeCatalogueController.d.cts +0 -70
  932. package/lib/types/nest/graph/GraphNodeCatalogueController.d.mts +0 -70
  933. package/lib/types/nest/graph/GraphResultService.d.cts +0 -20
  934. package/lib/types/nest/graph/GraphResultService.d.mts +0 -20
  935. package/lib/types/nest/graph/GraphRunController.d.cts +0 -87
  936. package/lib/types/nest/graph/GraphRunController.d.mts +0 -87
  937. package/lib/types/nest/graph/GraphRunModel.d.cts +0 -22
  938. package/lib/types/nest/graph/GraphRunModel.d.mts +0 -22
  939. package/lib/types/nest/graph/GraphRunModelService.d.cts +0 -21
  940. package/lib/types/nest/graph/GraphRunModelService.d.mts +0 -21
  941. package/lib/types/nest/graph/GraphWorkflowBoundaryValidation.d.cts +0 -28
  942. package/lib/types/nest/graph/GraphWorkflowBoundaryValidation.d.mts +0 -28
  943. package/lib/types/nest/graph/GraphWorkflowController.d.cts +0 -62
  944. package/lib/types/nest/graph/GraphWorkflowController.d.mts +0 -62
  945. package/lib/types/nest/graph/GraphWorkflowDocumentLimits.d.cts +0 -33
  946. package/lib/types/nest/graph/GraphWorkflowDocumentLimits.d.mts +0 -33
  947. package/lib/types/nest/graph/GraphWorkflowErrors.d.cts +0 -13
  948. package/lib/types/nest/graph/GraphWorkflowErrors.d.mts +0 -13
  949. package/lib/types/nest/graph/GraphWorkflowModel.d.cts +0 -24
  950. package/lib/types/nest/graph/GraphWorkflowModel.d.mts +0 -24
  951. package/lib/types/nest/graph/GraphWorkflowService.d.cts +0 -54
  952. package/lib/types/nest/graph/GraphWorkflowService.d.mts +0 -54
  953. package/lib/types/nest/graph/index.d.cts +0 -15
  954. package/lib/types/nest/graph/index.d.mts +0 -15
  955. package/lib/types/nest/graph/main.d.cts +0 -1
  956. package/lib/types/nest/graph/main.d.mts +0 -1
  957. /package/lib/cjs/{graph/engine/runs → redis}/types.cjs +0 -0
  958. /package/lib/esm/{graph/engine/runs → redis}/types.js +0 -0
@@ -1,243 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- var __param = (this && this.__param) || function (paramIndex, decorator) {
11
- return function (target, key) { decorator(target, key, paramIndex); }
12
- };
13
- import { Inject, Optional } from "@nestjs/common";
14
- import { NotFoundError, ValidationError } from "@decaf-ts/db-decorators";
15
- import { ModelService, service, } from "@decaf-ts/core";
16
- import { assertGraphResourceOwnership } from "./../../graph/index.js";
17
- import { isGraphJsonSafeValue, isGraphWorkflowDocumentShape, } from "@decaf-ts/ui-decorators/graph";
18
- import { GraphNodeCatalogue } from "./../../graph/index.js";
19
- import { GraphWorkflowModel } from "./GraphWorkflowModel.js";
20
- import { DEFAULT_GRAPH_WORKFLOW_DOCUMENT_LIMITS, } from "./GraphWorkflowDocumentLimits.js";
21
- import { validateGraphWorkflowDocumentAtBoundary } from "./GraphWorkflowBoundaryValidation.js";
22
- import { GraphWorkflowDocumentRejectedError } from "./GraphWorkflowErrors.js";
23
- /** DI token for {@link GraphWorkflowServiceOptions}. */
24
- export const GRAPH_WORKFLOW_OPTIONS = "GRAPH_WORKFLOW_OPTIONS";
25
- /**
26
- * Resolves the authenticated user identifier from a request context
27
- * (DECAF-36 Req-B5: the auth handler accumulates `{ user, roles, organization }`
28
- * onto the context). Returns `undefined` for anonymous/system callers, which
29
- * the explicit DECAF-48 §4.15 standalone tolerance
30
- * (`allowAnonymousAccess`) may admit on owned resources (SAA-595 F3).
31
- */
32
- export function graphWorkflowOwnerOf(ctx) {
33
- if (!ctx)
34
- return undefined;
35
- let user;
36
- try {
37
- user = ctx.cache?.["user"];
38
- }
39
- catch {
40
- user = undefined;
41
- }
42
- if (user === undefined || user === null) {
43
- try {
44
- user = ctx.get("user");
45
- }
46
- catch {
47
- user = undefined;
48
- }
49
- }
50
- return typeof user === "string" && user.length > 0 ? user : undefined;
51
- }
52
- function isCanonicalSnapshotWrapper(value) {
53
- if (!value || typeof value !== "object" || Array.isArray(value))
54
- return false;
55
- const record = value;
56
- return (isGraphWorkflowDocumentShape(record["document"]) &&
57
- !isGraphWorkflowDocumentShape(value));
58
- }
59
- function cloneWorkflowDocument(document) {
60
- return JSON.parse(JSON.stringify(document));
61
- }
62
- let GraphWorkflowService = class GraphWorkflowService extends ModelService {
63
- constructor(options, catalogue) {
64
- super(GraphWorkflowModel);
65
- this.limits = {
66
- ...DEFAULT_GRAPH_WORKFLOW_DOCUMENT_LIMITS,
67
- ...options?.limits,
68
- };
69
- this.allowAnonymousAccess = options?.allowAnonymousAccess === true;
70
- this.catalogue = catalogue;
71
- }
72
- /**
73
- * Applies options to this service instance and returns it.
74
- *
75
- * `@service` classes resolve through the injectable-decorators singleton
76
- * registry, which does not forward constructor arguments reliably (Nest
77
- * provider options included); the module wiring uses this method to apply
78
- * {@link GRAPH_WORKFLOW_OPTIONS} deterministically (SAA-595 F3).
79
- */
80
- configure(options) {
81
- if (options.limits) {
82
- this.limits = { ...this.limits, ...options.limits };
83
- }
84
- if (options.allowAnonymousAccess !== undefined) {
85
- this.allowAnonymousAccess = options.allowAnonymousAccess === true;
86
- }
87
- return this;
88
- }
89
- async saveDocument(workflowId, document, ...args) {
90
- const { ctx, ctxArgs } = (await this.logCtx(args, "saveDocument", true)).for(this.saveDocument);
91
- if (!isGraphWorkflowDocumentShape(document)) {
92
- throw new ValidationError("Payload is not a canonical GraphWorkflowDocument: id and name must be strings and inputs, outputs, nodes and edges must be arrays");
93
- }
94
- if (document.id !== workflowId) {
95
- throw new ValidationError(`Document id '${document.id}' does not match the workflow id '${workflowId}' from the request path`);
96
- }
97
- const result = await this.validateDocument(document, ctx);
98
- if (!result.valid) {
99
- throw new GraphWorkflowDocumentRejectedError(result.issues);
100
- }
101
- const owner = graphWorkflowOwnerOf(ctx);
102
- let existing;
103
- try {
104
- existing = (await this.read(workflowId, ...ctxArgs));
105
- }
106
- catch {
107
- existing = null;
108
- }
109
- this.assertOwnership(workflowId, existing, owner);
110
- const now = new Date();
111
- if (existing) {
112
- existing.name = document.name;
113
- existing.document = cloneWorkflowDocument(document);
114
- existing.updatedAt = now;
115
- return this.update(existing, ...ctxArgs);
116
- }
117
- const model = new GraphWorkflowModel({
118
- workflowId,
119
- name: document.name,
120
- document: cloneWorkflowDocument(document),
121
- ...(owner ? { owner } : {}),
122
- updatedAt: now,
123
- });
124
- return this.create(model, ...ctxArgs);
125
- }
126
- async getDocument(workflowId, ...args) {
127
- const { ctx, ctxArgs } = (await this.logCtx(args, "getDocument", true)).for(this.getDocument);
128
- let model;
129
- try {
130
- model = (await this.read(workflowId, ...ctxArgs));
131
- }
132
- catch {
133
- model = null;
134
- }
135
- if (!model) {
136
- throw new NotFoundError(`No graph workflow found for workflowId '${workflowId}'`);
137
- }
138
- this.assertOwnership(workflowId, model, graphWorkflowOwnerOf(ctx));
139
- if (model.document) {
140
- return cloneWorkflowDocument(model.document);
141
- }
142
- throw new NotFoundError(`Graph workflow '${workflowId}' has no canonical document; legacy definition/state snapshots are no longer supported (DECAF-50 §4.26 R2-2)`);
143
- }
144
- async validateDocument(document, ...args) {
145
- (await this.logCtx(args, "validateDocument", true)).for(this.validateDocument);
146
- return validateGraphWorkflowDocumentAtBoundary(document, {
147
- limits: this.limits,
148
- ...(this.catalogue ? { catalogue: this.catalogue } : {}),
149
- });
150
- }
151
- async saveSnapshot(workflowId, snapshot, ...args) {
152
- const { ctx, ctxArgs } = (await this.logCtx(args, "saveSnapshot", true)).for(this.saveSnapshot);
153
- if (!isGraphJsonSafeValue(snapshot)) {
154
- throw new ValidationError("Workflow snapshot payload must be JSON-safe: functions, class instances, undefined, NaN/Infinity, symbol keys and unsafe prototype keys (__proto__/prototype/constructor) are rejected");
155
- }
156
- if (!isCanonicalSnapshotWrapper(snapshot)) {
157
- throw new ValidationError("Workflow snapshots must wrap a canonical GraphWorkflowDocument ({ document, editor?, metadata? }): legacy definition/state snapshots are no longer accepted; save canonical documents via PUT /graph/workflows/{workflowId}");
158
- }
159
- const owner = graphWorkflowOwnerOf(ctx);
160
- let existing;
161
- try {
162
- existing = (await this.read(workflowId, ...ctxArgs));
163
- }
164
- catch {
165
- existing = null;
166
- }
167
- this.assertOwnership(workflowId, existing, owner);
168
- const now = new Date();
169
- if (existing) {
170
- existing.snapshot = snapshot;
171
- this.applyCanonicalWrapper(existing, snapshot);
172
- existing.updatedAt = now;
173
- return this.update(existing, ...ctxArgs);
174
- }
175
- const model = new GraphWorkflowModel({
176
- workflowId,
177
- snapshot,
178
- ...(owner ? { owner } : {}),
179
- updatedAt: now,
180
- });
181
- this.applyCanonicalWrapper(model, snapshot);
182
- return this.create(model, ...ctxArgs);
183
- }
184
- async loadSnapshot(workflowId, ...args) {
185
- const { ctx, ctxArgs } = (await this.logCtx(args, "loadSnapshot", true)).for(this.loadSnapshot);
186
- try {
187
- const model = (await this.read(workflowId, ...ctxArgs));
188
- this.assertOwnership(workflowId, model, graphWorkflowOwnerOf(ctx));
189
- return model;
190
- }
191
- catch {
192
- return null;
193
- }
194
- }
195
- /**
196
- * Guards a persisted workflow record with the centralized
197
- * {@link assertGraphResourceOwnership} check, honouring this service's
198
- * configured `allowAnonymousAccess` tolerance (SAA-595 F3).
199
- */
200
- assertOwnership(workflowId, model, user) {
201
- assertGraphResourceOwnership(model ?? null, user ?? null, {
202
- allowAnonymousAccess: this.allowAnonymousAccess,
203
- resourceKind: "Graph workflow",
204
- resourceId: workflowId,
205
- });
206
- }
207
- applyCanonicalWrapper(model, snapshot) {
208
- if (!isCanonicalSnapshotWrapper(snapshot))
209
- return;
210
- if (snapshot.document.id !== model.workflowId) {
211
- throw new ValidationError(`Document id '${snapshot.document.id}' does not match the workflow id '${model.workflowId}' from the request path`);
212
- }
213
- const result = validateGraphWorkflowDocumentAtBoundary(snapshot.document, {
214
- limits: this.limits,
215
- ...(this.catalogue ? { catalogue: this.catalogue } : {}),
216
- });
217
- if (!result.valid) {
218
- throw new GraphWorkflowDocumentRejectedError(result.issues);
219
- }
220
- model.document = cloneWorkflowDocument(snapshot.document);
221
- model.name = snapshot.document.name;
222
- }
223
- };
224
- GraphWorkflowService = __decorate([
225
- service(GraphWorkflowModel)
226
- /**
227
- * Model-backed persistence for canonical workflow documents (DECAF-50
228
- * §4.10): saves and reads {@link GraphWorkflowModel} rows, validating every
229
- * submitted document at the boundary (forbidden fields, resource limits,
230
- * catalogue-backed nine-stage validation) before persisting, and converting
231
- * previously persisted legacy snapshots to canonical documents on read.
232
- * Enforces per-user ownership; absent caller identities are denied on owned
233
- * workflows unless the explicit DECAF-48 §4.15 standalone tolerance
234
- * (`allowAnonymousAccess`) is set (SAA-595 F3).
235
- */
236
- ,
237
- __param(0, Optional()),
238
- __param(0, Inject(GRAPH_WORKFLOW_OPTIONS)),
239
- __param(1, Optional()),
240
- __metadata("design:paramtypes", [Object, GraphNodeCatalogue])
241
- ], GraphWorkflowService);
242
- export { GraphWorkflowService };
243
- //# sourceMappingURL=GraphWorkflowService.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphWorkflowService.js","sourceRoot":"","sources":["../../../../src/nest/graph/GraphWorkflowService.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAClD,OA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CAAC,sBAAsB,CAAC,CAAA;IAC1C,WAAA,QAAQ,EAAE,CAAA;6CAAa,kBAAkB;GAPjC,oBAAoB,CAyOhC"}
@@ -1,16 +0,0 @@
1
- export * from "./GraphExecutionResultModel.js";
2
- export * from "./GraphResultService.js";
3
- export * from "./GraphWorkflowModel.js";
4
- export * from "./GraphWorkflowService.js";
5
- export * from "./GraphWorkflowDocumentLimits.js";
6
- export * from "./GraphWorkflowBoundaryValidation.js";
7
- export * from "./GraphWorkflowErrors.js";
8
- export * from "./GraphWorkflowController.js";
9
- export * from "./GraphRunModel.js";
10
- export * from "./GraphRunModelService.js";
11
- export * from "./GraphRunController.js";
12
- export * from "./GraphExecutorRegistryFactory.js";
13
- export * from "./GraphExecutionController.js";
14
- export * from "./GraphNodeCatalogueController.js";
15
- export * from "./GraphExecutionModule.js";
16
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/nest/graph/index.ts"],"names":[],"mappings":"AAAA,+CAA4C;AAC5C,wCAAqC;AACrC,wCAAqC;AACrC,0CAAuC;AACvC,iDAA8C;AAC9C,qDAAkD;AAClD,yCAAsC;AACtC,6CAA0C;AAC1C,mCAAgC;AAChC,0CAAuC;AACvC,wCAAqC;AACrC,kDAA+C;AAC/C,8CAA2C;AAC3C,kDAA+C;AAC/C,0CAAuC"}
@@ -1,44 +0,0 @@
1
- /**
2
- * @module integrations/nest/graph/main
3
- * @summary Standalone NestJS bootstrap for the graph execution backend.
4
- * @description Starts a NestJS HTTP server hosting the
5
- * {@link GraphExecutionModule} on the given port (default 3000). Used by the
6
- * for-angular `start:graph-backend` script so the graph page has an SSE
7
- * backend to talk to during development.
8
- *
9
- * Development-only posture (SAA-595 F5): the server binds to `127.0.0.1`
10
- * only and CORS admits `http://localhost`/`http://127.0.0.1` origins only,
11
- * with the DECAF-48 §4.15 standalone anonymous tolerances (`auth:
12
- * "optional"` + `allowAnonymousAccess`) opted in explicitly for the local
13
- * run/workflow APIs.
14
- *
15
- * Usage: `node lib/nest/graph/main.js [port]`
16
- */
17
- import { NestFactory } from "@nestjs/core";
18
- import { GraphExecutionModule } from "./GraphExecutionModule.js";
19
- async function bootstrap() {
20
- const port = Number(process.env["GRAPH_BACKEND_PORT"] ?? process.argv[2] ?? 3000);
21
- const app = await NestFactory.create(GraphExecutionModule.forRoot({
22
- runs: { auth: "optional", allowAnonymousAccess: true },
23
- workflows: { auth: "optional", allowAnonymousAccess: true },
24
- catalogue: { auth: "optional" },
25
- }));
26
- app.enableCors({
27
- origin: [/^http:\/\/(localhost|127\.0\.0\.1)(:\d+)?$/],
28
- credentials: true,
29
- });
30
- await app.listen(port, "127.0.0.1");
31
- console.log(`[graph-backend] NestJS graph execution server listening on http://127.0.0.1:${port}`);
32
- console.log(`[graph-backend] POST /graph/execute`);
33
- console.log(`[graph-backend] GET /graph/results/:runId`);
34
- console.log(`[graph-backend] PUT /graph/workflows/:workflowId`);
35
- console.log(`[graph-backend] GET /graph/workflows/:workflowId`);
36
- console.log(`[graph-backend] POST /graph/workflows/validate`);
37
- console.log(`[graph-backend] POST /graph/runs`);
38
- console.log(`[graph-backend] GET /graph/runs/:runId/events (SSE)`);
39
- }
40
- bootstrap().catch((err) => {
41
- console.error("[graph-backend] Failed to start:", err);
42
- process.exit(1);
43
- });
44
- //# sourceMappingURL=main.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../../../../src/nest/graph/main.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,oBAAoB,EAAE,kCAA+B;AAE9D,KAAK,UAAU,SAAS;IACtB,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC;IAElF,MAAM,GAAG,GAAG,MAAM,WAAW,CAAC,MAAM,CAClC,oBAAoB,CAAC,OAAO,CAAC;QAC3B,IAAI,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,oBAAoB,EAAE,IAAI,EAAE;QACtD,SAAS,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,oBAAoB,EAAE,IAAI,EAAE;QAC3D,SAAS,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;KAChC,CAAC,CACH,CAAC;IACF,GAAG,CAAC,UAAU,CAAC;QACb,MAAM,EAAE,CAAC,4CAA4C,CAAC;QACtD,WAAW,EAAE,IAAI;KAClB,CAAC,CAAC;IACH,MAAM,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;IAEpC,OAAO,CAAC,GAAG,CAAC,+EAA+E,IAAI,EAAE,CAAC,CAAC;IAEnG,OAAO,CAAC,GAAG,CAAC,yCAAyC,CAAC,CAAC;IACvD,OAAO,CAAC,GAAG,CAAC,gDAAgD,CAAC,CAAC;IAE9D,OAAO,CAAC,GAAG,CAAC,uDAAuD,CAAC,CAAC;IACrE,OAAO,CAAC,GAAG,CAAC,uDAAuD,CAAC,CAAC;IACrE,OAAO,CAAC,GAAG,CAAC,oDAAoD,CAAC,CAAC;IAClE,OAAO,CAAC,GAAG,CAAC,sCAAsC,CAAC,CAAC;IACpD,OAAO,CAAC,GAAG,CAAC,0DAA0D,CAAC,CAAC;AAC1E,CAAC;AAED,SAAS,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;IAExB,OAAO,CAAC,KAAK,CAAC,kCAAkC,EAAE,GAAG,CAAC,CAAC;IACvD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
@@ -1,24 +0,0 @@
1
- export interface IpfsKeyIndexEnvironmentConfig {
2
- provider: "memory" | "postgres" | "local-json";
3
- connectionRef?: string;
4
- path?: string;
5
- }
6
- export interface IpfsBlobEnvironmentConfig {
7
- sourceId: string;
8
- apiUrl?: string;
9
- gatewayUrl?: string;
10
- pinByDefault?: boolean;
11
- encryptedOnly?: boolean;
12
- prefix?: string;
13
- keyIndex: IpfsKeyIndexEnvironmentConfig;
14
- }
15
- export interface IpfsBlobEnvironmentShape {
16
- blobs: {
17
- ipfs: IpfsBlobEnvironmentConfig;
18
- };
19
- }
20
- export declare const IpfsBlobEnvironment: import("@decaf-ts/logging").AccumulatedEnvironment<{
21
- app: string | undefined;
22
- } & import("@decaf-ts/logging").LoggingConfig<object> & {
23
- env: any;
24
- } & import("..").BlobCommonEnvironmentShape & IpfsBlobEnvironmentShape>;
@@ -1,24 +0,0 @@
1
- export interface IpfsKeyIndexEnvironmentConfig {
2
- provider: "memory" | "postgres" | "local-json";
3
- connectionRef?: string;
4
- path?: string;
5
- }
6
- export interface IpfsBlobEnvironmentConfig {
7
- sourceId: string;
8
- apiUrl?: string;
9
- gatewayUrl?: string;
10
- pinByDefault?: boolean;
11
- encryptedOnly?: boolean;
12
- prefix?: string;
13
- keyIndex: IpfsKeyIndexEnvironmentConfig;
14
- }
15
- export interface IpfsBlobEnvironmentShape {
16
- blobs: {
17
- ipfs: IpfsBlobEnvironmentConfig;
18
- };
19
- }
20
- export declare const IpfsBlobEnvironment: import("@decaf-ts/logging").AccumulatedEnvironment<{
21
- app: string | undefined;
22
- } & import("@decaf-ts/logging").LoggingConfig<object> & {
23
- env: any;
24
- } & import("..").BlobCommonEnvironmentShape & IpfsBlobEnvironmentShape>;
@@ -1,61 +0,0 @@
1
- /**
2
- * @module integrations/blob/ipfs/service
3
- * @summary IPFS blob store service.
4
- * @description Blob store backed by an IPFS (Kubo) node. Because the blob API is key/value CRUD-like
5
- * and IPFS is content-addressed, an IpfsKeyIndex maps logical keys to CIDs.
6
- */
7
- import { type KuboRPCClient } from "kubo-rpc-client";
8
- import { type ContextualArgs, type MaybeContextualArg } from "@decaf-ts/core";
9
- import { BlobStoreService } from "../core/BlobStoreService.d.cts";
10
- import type { BlobGetOptions, BlobGetResult, BlobKey, BlobListOptions, BlobListResult, BlobMetadata, BlobPutOptions, BlobPutResult, BlobUrlOptions, BlobUrlResult, BlobValue, IpfsBlobStoreServiceConfig } from "../core/BlobTypes.d.cts";
11
- /**
12
- * @description IPFS blob store service registered as `blob-ipfs`
13
- * @summary Stores blobs on an IPFS (Kubo) node via `kubo-rpc-client`. Because
14
- * the blob API is key/value CRUD-like and IPFS is content-addressed, an
15
- * `IpfsKeyIndex` maps logical keys to CIDs; when `encryptedOnly` is set only
16
- * encrypted payloads are accepted.
17
- * @class IpfsBlobStoreService
18
- * @memberOf module:integrations/blob/ipfs/service
19
- */
20
- export declare class IpfsBlobStoreService extends BlobStoreService<KuboRPCClient, IpfsBlobStoreServiceConfig> {
21
- /**
22
- * @description The key index mapping logical keys to IPFS CIDs
23
- * @summary Created in `initialize()` from the configured `keyIndex` provider.
24
- * @type {IpfsKeyIndex}
25
- * @private
26
- */
27
- private index;
28
- /**
29
- * @description Builds the IPFS blob config from the environment
30
- * @summary Reads the `blobs.ipfs` environment slice; considered
31
- * unconfigured when no `sourceId` is set, which keeps the auto-boot
32
- * fallback (see `getConfigFromArgs`) resolving to `undefined`.
33
- * @return {IpfsBlobStoreServiceConfig | undefined} The environment-derived config, or `undefined` when unconfigured
34
- */
35
- protected configFromEnvironment(): IpfsBlobStoreServiceConfig | undefined;
36
- /**
37
- * @description Initializes the IPFS Kubo RPC client and key index
38
- * @summary Resolves the config via `getConfigFromArgs` (explicit config,
39
- * then the `blobs.ipfs` environment slice). When no config resolves during
40
- * a context-bearing auto-boot of an unconfigured provider, returns
41
- * `skipInitialization()` so `Service.boot` does not throw; an explicit
42
- * `initialize()` with no resolvable config still throws a
43
- * `ValidationError`. Connects to the Kubo node at the configured `apiUrl`
44
- * (default `http://localhost:5001`) and creates the `IpfsKeyIndex`.
45
- * @param {...ContextualArgs<any>} args - An optional `IpfsBlobStoreServiceConfig`, optionally followed by a decaf `Context`
46
- * @return {Promise<{config: IpfsBlobStoreServiceConfig, client: KuboRPCClient}>} The resolved config and the Kubo RPC client
47
- */
48
- initialize(...args: ContextualArgs<any>): Promise<{
49
- config: IpfsBlobStoreServiceConfig;
50
- client: KuboRPCClient;
51
- }>;
52
- put(key: BlobKey, value: BlobValue, options?: BlobPutOptions, ...args: MaybeContextualArg<any>): Promise<BlobPutResult>;
53
- get(key: BlobKey, options?: BlobGetOptions, ...args: MaybeContextualArg<any>): Promise<BlobGetResult>;
54
- has(key: BlobKey, ...args: MaybeContextualArg<any>): Promise<boolean>;
55
- stat(key: BlobKey, ...args: MaybeContextualArg<any>): Promise<BlobMetadata>;
56
- delete(key: BlobKey, ...args: MaybeContextualArg<any>): Promise<void>;
57
- copy(fromKey: BlobKey, toKey: BlobKey, options?: BlobPutOptions, ...args: MaybeContextualArg<any>): Promise<BlobPutResult>;
58
- list(options?: BlobListOptions, ...args: MaybeContextualArg<any>): Promise<BlobListResult>;
59
- url(key: BlobKey, options?: BlobUrlOptions, ...args: MaybeContextualArg<any>): Promise<BlobUrlResult>;
60
- protected parseError(error: unknown): Error;
61
- }
@@ -1,61 +0,0 @@
1
- /**
2
- * @module integrations/blob/ipfs/service
3
- * @summary IPFS blob store service.
4
- * @description Blob store backed by an IPFS (Kubo) node. Because the blob API is key/value CRUD-like
5
- * and IPFS is content-addressed, an IpfsKeyIndex maps logical keys to CIDs.
6
- */
7
- import { type KuboRPCClient } from "kubo-rpc-client";
8
- import { type ContextualArgs, type MaybeContextualArg } from "@decaf-ts/core";
9
- import { BlobStoreService } from "../core/BlobStoreService.d.mts";
10
- import type { BlobGetOptions, BlobGetResult, BlobKey, BlobListOptions, BlobListResult, BlobMetadata, BlobPutOptions, BlobPutResult, BlobUrlOptions, BlobUrlResult, BlobValue, IpfsBlobStoreServiceConfig } from "../core/BlobTypes.d.mts";
11
- /**
12
- * @description IPFS blob store service registered as `blob-ipfs`
13
- * @summary Stores blobs on an IPFS (Kubo) node via `kubo-rpc-client`. Because
14
- * the blob API is key/value CRUD-like and IPFS is content-addressed, an
15
- * `IpfsKeyIndex` maps logical keys to CIDs; when `encryptedOnly` is set only
16
- * encrypted payloads are accepted.
17
- * @class IpfsBlobStoreService
18
- * @memberOf module:integrations/blob/ipfs/service
19
- */
20
- export declare class IpfsBlobStoreService extends BlobStoreService<KuboRPCClient, IpfsBlobStoreServiceConfig> {
21
- /**
22
- * @description The key index mapping logical keys to IPFS CIDs
23
- * @summary Created in `initialize()` from the configured `keyIndex` provider.
24
- * @type {IpfsKeyIndex}
25
- * @private
26
- */
27
- private index;
28
- /**
29
- * @description Builds the IPFS blob config from the environment
30
- * @summary Reads the `blobs.ipfs` environment slice; considered
31
- * unconfigured when no `sourceId` is set, which keeps the auto-boot
32
- * fallback (see `getConfigFromArgs`) resolving to `undefined`.
33
- * @return {IpfsBlobStoreServiceConfig | undefined} The environment-derived config, or `undefined` when unconfigured
34
- */
35
- protected configFromEnvironment(): IpfsBlobStoreServiceConfig | undefined;
36
- /**
37
- * @description Initializes the IPFS Kubo RPC client and key index
38
- * @summary Resolves the config via `getConfigFromArgs` (explicit config,
39
- * then the `blobs.ipfs` environment slice). When no config resolves during
40
- * a context-bearing auto-boot of an unconfigured provider, returns
41
- * `skipInitialization()` so `Service.boot` does not throw; an explicit
42
- * `initialize()` with no resolvable config still throws a
43
- * `ValidationError`. Connects to the Kubo node at the configured `apiUrl`
44
- * (default `http://localhost:5001`) and creates the `IpfsKeyIndex`.
45
- * @param {...ContextualArgs<any>} args - An optional `IpfsBlobStoreServiceConfig`, optionally followed by a decaf `Context`
46
- * @return {Promise<{config: IpfsBlobStoreServiceConfig, client: KuboRPCClient}>} The resolved config and the Kubo RPC client
47
- */
48
- initialize(...args: ContextualArgs<any>): Promise<{
49
- config: IpfsBlobStoreServiceConfig;
50
- client: KuboRPCClient;
51
- }>;
52
- put(key: BlobKey, value: BlobValue, options?: BlobPutOptions, ...args: MaybeContextualArg<any>): Promise<BlobPutResult>;
53
- get(key: BlobKey, options?: BlobGetOptions, ...args: MaybeContextualArg<any>): Promise<BlobGetResult>;
54
- has(key: BlobKey, ...args: MaybeContextualArg<any>): Promise<boolean>;
55
- stat(key: BlobKey, ...args: MaybeContextualArg<any>): Promise<BlobMetadata>;
56
- delete(key: BlobKey, ...args: MaybeContextualArg<any>): Promise<void>;
57
- copy(fromKey: BlobKey, toKey: BlobKey, options?: BlobPutOptions, ...args: MaybeContextualArg<any>): Promise<BlobPutResult>;
58
- list(options?: BlobListOptions, ...args: MaybeContextualArg<any>): Promise<BlobListResult>;
59
- url(key: BlobKey, options?: BlobUrlOptions, ...args: MaybeContextualArg<any>): Promise<BlobUrlResult>;
60
- protected parseError(error: unknown): Error;
61
- }
@@ -1,9 +0,0 @@
1
- import type { BlobListResult, BlobMetadata, IpfsKeyIndexConfig } from "../core/BlobTypes.d.cts";
2
- export interface IpfsKeyIndex {
3
- get(key: string): Promise<string | undefined>;
4
- set(key: string, cid: string, metadata?: BlobMetadata): Promise<void>;
5
- delete(key: string): Promise<void>;
6
- list(prefix?: string, limit?: number, cursor?: string): Promise<BlobListResult>;
7
- stat(key: string): Promise<BlobMetadata>;
8
- }
9
- export declare function createIpfsKeyIndex(config: IpfsKeyIndexConfig): IpfsKeyIndex;
@@ -1,9 +0,0 @@
1
- import type { BlobListResult, BlobMetadata, IpfsKeyIndexConfig } from "../core/BlobTypes.d.mts";
2
- export interface IpfsKeyIndex {
3
- get(key: string): Promise<string | undefined>;
4
- set(key: string, cid: string, metadata?: BlobMetadata): Promise<void>;
5
- delete(key: string): Promise<void>;
6
- list(prefix?: string, limit?: number, cursor?: string): Promise<BlobListResult>;
7
- stat(key: string): Promise<BlobMetadata>;
8
- }
9
- export declare function createIpfsKeyIndex(config: IpfsKeyIndexConfig): IpfsKeyIndex;
@@ -1,11 +0,0 @@
1
- import type { BlobListResult, BlobMetadata } from "../core/BlobTypes.d.cts";
2
- import type { IpfsKeyIndex } from "./IpfsKeyIndex.d.cts";
3
- export declare class LocalJsonIpfsKeyIndex implements IpfsKeyIndex {
4
- private readonly path;
5
- constructor(path: string);
6
- get(key: string): Promise<string | undefined>;
7
- set(key: string, cid: string, metadata?: BlobMetadata): Promise<void>;
8
- delete(key: string): Promise<void>;
9
- list(prefix?: string, limit?: number, cursor?: string): Promise<BlobListResult>;
10
- stat(key: string): Promise<BlobMetadata>;
11
- }
@@ -1,11 +0,0 @@
1
- import type { BlobListResult, BlobMetadata } from "../core/BlobTypes.d.mts";
2
- import type { IpfsKeyIndex } from "./IpfsKeyIndex.d.mts";
3
- export declare class LocalJsonIpfsKeyIndex implements IpfsKeyIndex {
4
- private readonly path;
5
- constructor(path: string);
6
- get(key: string): Promise<string | undefined>;
7
- set(key: string, cid: string, metadata?: BlobMetadata): Promise<void>;
8
- delete(key: string): Promise<void>;
9
- list(prefix?: string, limit?: number, cursor?: string): Promise<BlobListResult>;
10
- stat(key: string): Promise<BlobMetadata>;
11
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * @module integrations/blob/ipfs/memory-index
3
- * @summary In-memory IPFS key index.
4
- * @description Process-local Map-backed key index for tests and examples.
5
- */
6
- import type { BlobListResult, BlobMetadata } from "../core/BlobTypes.d.cts";
7
- import type { IpfsKeyIndex } from "./IpfsKeyIndex.d.cts";
8
- export declare class MemoryIpfsKeyIndex implements IpfsKeyIndex {
9
- private readonly values;
10
- get(key: string): Promise<string | undefined>;
11
- set(key: string, cid: string, metadata?: BlobMetadata): Promise<void>;
12
- delete(key: string): Promise<void>;
13
- list(prefix?: string, limit?: number, cursor?: string): Promise<BlobListResult>;
14
- stat(key: string): Promise<BlobMetadata>;
15
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * @module integrations/blob/ipfs/memory-index
3
- * @summary In-memory IPFS key index.
4
- * @description Process-local Map-backed key index for tests and examples.
5
- */
6
- import type { BlobListResult, BlobMetadata } from "../core/BlobTypes.d.mts";
7
- import type { IpfsKeyIndex } from "./IpfsKeyIndex.d.mts";
8
- export declare class MemoryIpfsKeyIndex implements IpfsKeyIndex {
9
- private readonly values;
10
- get(key: string): Promise<string | undefined>;
11
- set(key: string, cid: string, metadata?: BlobMetadata): Promise<void>;
12
- delete(key: string): Promise<void>;
13
- list(prefix?: string, limit?: number, cursor?: string): Promise<BlobListResult>;
14
- stat(key: string): Promise<BlobMetadata>;
15
- }
@@ -1,11 +0,0 @@
1
- import type { BlobListResult, BlobMetadata } from "../core/BlobTypes.d.cts";
2
- import type { IpfsKeyIndex } from "./IpfsKeyIndex.d.cts";
3
- export declare class PostgresIpfsKeyIndex implements IpfsKeyIndex {
4
- private readonly connectionRef;
5
- constructor(connectionRef: string);
6
- get(key: string): Promise<string | undefined>;
7
- set(key: string, cid: string, metadata?: BlobMetadata): Promise<void>;
8
- delete(key: string): Promise<void>;
9
- list(prefix?: string, limit?: number, cursor?: string): Promise<BlobListResult>;
10
- stat(key: string): Promise<BlobMetadata>;
11
- }
@@ -1,11 +0,0 @@
1
- import type { BlobListResult, BlobMetadata } from "../core/BlobTypes.d.mts";
2
- import type { IpfsKeyIndex } from "./IpfsKeyIndex.d.mts";
3
- export declare class PostgresIpfsKeyIndex implements IpfsKeyIndex {
4
- private readonly connectionRef;
5
- constructor(connectionRef: string);
6
- get(key: string): Promise<string | undefined>;
7
- set(key: string, cid: string, metadata?: BlobMetadata): Promise<void>;
8
- delete(key: string): Promise<void>;
9
- list(prefix?: string, limit?: number, cursor?: string): Promise<BlobListResult>;
10
- stat(key: string): Promise<BlobMetadata>;
11
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @module integrations/blob/ipfs
3
- * @summary IPFS blob store exports.
4
- * @description Re-exports the IPFS blob store service and key-index abstraction.
5
- */
6
- export * from "./IpfsBlobStoreService.d.cts";
7
- export * from "./IpfsBlobEnvironment.d.cts";
8
- export * from "./IpfsKeyIndex.d.cts";
9
- export * from "./MemoryIpfsKeyIndex.d.cts";
10
- export * from "./PostgresIpfsKeyIndex.d.cts";
11
- export * from "./LocalJsonIpfsKeyIndex.d.cts";
@@ -1,11 +0,0 @@
1
- /**
2
- * @module integrations/blob/ipfs
3
- * @summary IPFS blob store exports.
4
- * @description Re-exports the IPFS blob store service and key-index abstraction.
5
- */
6
- export * from "./IpfsBlobStoreService.d.mts";
7
- export * from "./IpfsBlobEnvironment.d.mts";
8
- export * from "./IpfsKeyIndex.d.mts";
9
- export * from "./MemoryIpfsKeyIndex.d.mts";
10
- export * from "./PostgresIpfsKeyIndex.d.mts";
11
- export * from "./LocalJsonIpfsKeyIndex.d.mts";