@decaf-ts/integrations 0.3.9 → 0.3.11

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 (913) hide show
  1. package/dist/integrations.cjs +2 -1649
  2. package/dist/integrations.cjs.map +1 -0
  3. package/dist/integrations.js +2 -1885
  4. package/dist/integrations.js.map +1 -0
  5. package/lib/cjs/blob/azure/AzureBlobStoreService.cjs +2 -2
  6. package/lib/cjs/blob/azure/AzureBlobStoreService.cjs.map +1 -0
  7. package/lib/cjs/blob/azure/index.cjs +2 -2
  8. package/lib/cjs/blob/azure/index.cjs.map +1 -0
  9. package/lib/cjs/blob/core/BlobErrors.cjs +2 -2
  10. package/lib/cjs/blob/core/BlobErrors.cjs.map +1 -0
  11. package/lib/cjs/blob/core/BlobKey.cjs +2 -2
  12. package/lib/cjs/blob/core/BlobKey.cjs.map +1 -0
  13. package/lib/cjs/blob/core/BlobStoreFactory.cjs +2 -2
  14. package/lib/cjs/blob/core/BlobStoreFactory.cjs.map +1 -0
  15. package/lib/cjs/blob/core/BlobStoreService.cjs +2 -2
  16. package/lib/cjs/blob/core/BlobStoreService.cjs.map +1 -0
  17. package/lib/cjs/blob/core/BlobTypes.cjs +2 -2
  18. package/lib/cjs/blob/core/BlobTypes.cjs.map +1 -0
  19. package/lib/cjs/blob/core/BlobValue.cjs +2 -2
  20. package/lib/cjs/blob/core/BlobValue.cjs.map +1 -0
  21. package/lib/cjs/blob/core/index.cjs +2 -2
  22. package/lib/cjs/blob/core/index.cjs.map +1 -0
  23. package/lib/cjs/blob/gcp/GcsBlobStoreService.cjs +2 -2
  24. package/lib/cjs/blob/gcp/GcsBlobStoreService.cjs.map +1 -0
  25. package/lib/cjs/blob/gcp/index.cjs +2 -2
  26. package/lib/cjs/blob/gcp/index.cjs.map +1 -0
  27. package/lib/cjs/blob/index.cjs +2 -2
  28. package/lib/cjs/blob/index.cjs.map +1 -0
  29. package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs +2 -2
  30. package/lib/cjs/blob/ipfs/IpfsBlobStoreService.cjs.map +1 -0
  31. package/lib/cjs/blob/ipfs/IpfsKeyIndex.cjs +2 -2
  32. package/lib/cjs/blob/ipfs/IpfsKeyIndex.cjs.map +1 -0
  33. package/lib/cjs/blob/ipfs/LocalJsonIpfsKeyIndex.cjs +2 -2
  34. package/lib/cjs/blob/ipfs/LocalJsonIpfsKeyIndex.cjs.map +1 -0
  35. package/lib/cjs/blob/ipfs/MemoryIpfsKeyIndex.cjs +2 -2
  36. package/lib/cjs/blob/ipfs/MemoryIpfsKeyIndex.cjs.map +1 -0
  37. package/lib/cjs/blob/ipfs/PostgresIpfsKeyIndex.cjs +2 -2
  38. package/lib/cjs/blob/ipfs/PostgresIpfsKeyIndex.cjs.map +1 -0
  39. package/lib/cjs/blob/ipfs/index.cjs +2 -2
  40. package/lib/cjs/blob/ipfs/index.cjs.map +1 -0
  41. package/lib/cjs/blob/local/LocalBlobStoreService.cjs +2 -2
  42. package/lib/cjs/blob/local/LocalBlobStoreService.cjs.map +1 -0
  43. package/lib/cjs/blob/local/index.cjs +2 -2
  44. package/lib/cjs/blob/local/index.cjs.map +1 -0
  45. package/lib/cjs/blob/memory/MemoryBlobStoreService.cjs +2 -2
  46. package/lib/cjs/blob/memory/MemoryBlobStoreService.cjs.map +1 -0
  47. package/lib/cjs/blob/memory/index.cjs +2 -2
  48. package/lib/cjs/blob/memory/index.cjs.map +1 -0
  49. package/lib/cjs/blob/s3/MinioBlobStoreService.cjs +2 -2
  50. package/lib/cjs/blob/s3/MinioBlobStoreService.cjs.map +1 -0
  51. package/lib/cjs/blob/s3/R2BlobStoreService.cjs +2 -2
  52. package/lib/cjs/blob/s3/R2BlobStoreService.cjs.map +1 -0
  53. package/lib/cjs/blob/s3/S3BlobStoreService.cjs +2 -2
  54. package/lib/cjs/blob/s3/S3BlobStoreService.cjs.map +1 -0
  55. package/lib/cjs/blob/s3/index.cjs +2 -2
  56. package/lib/cjs/blob/s3/index.cjs.map +1 -0
  57. package/lib/cjs/docker/DockerComposeService.cjs +2 -2
  58. package/lib/cjs/docker/DockerComposeService.cjs.map +1 -0
  59. package/lib/cjs/docker/index.cjs +2 -2
  60. package/lib/cjs/docker/index.cjs.map +1 -0
  61. package/lib/cjs/graph/engine/constants.cjs +2 -2
  62. package/lib/cjs/graph/engine/constants.cjs.map +1 -0
  63. package/lib/cjs/graph/engine/decorators.cjs +2 -2
  64. package/lib/cjs/graph/engine/decorators.cjs.map +1 -0
  65. package/lib/cjs/graph/engine/errors/GraphCycleError.cjs +2 -2
  66. package/lib/cjs/graph/engine/errors/GraphCycleError.cjs.map +1 -0
  67. package/lib/cjs/graph/engine/errors/GraphExecutionError.cjs +2 -2
  68. package/lib/cjs/graph/engine/errors/GraphExecutionError.cjs.map +1 -0
  69. package/lib/cjs/graph/engine/errors/GraphInputError.cjs +2 -2
  70. package/lib/cjs/graph/engine/errors/GraphInputError.cjs.map +1 -0
  71. package/lib/cjs/graph/engine/errors/GraphLoopLimitError.cjs +2 -2
  72. package/lib/cjs/graph/engine/errors/GraphLoopLimitError.cjs.map +1 -0
  73. package/lib/cjs/graph/engine/errors/GraphPinningError.cjs +2 -2
  74. package/lib/cjs/graph/engine/errors/GraphPinningError.cjs.map +1 -0
  75. package/lib/cjs/graph/engine/errors/GraphPortError.cjs +2 -2
  76. package/lib/cjs/graph/engine/errors/GraphPortError.cjs.map +1 -0
  77. package/lib/cjs/graph/engine/errors/GraphStoreError.cjs +2 -2
  78. package/lib/cjs/graph/engine/errors/GraphStoreError.cjs.map +1 -0
  79. package/lib/cjs/graph/engine/errors/GraphTopologyError.cjs +2 -2
  80. package/lib/cjs/graph/engine/errors/GraphTopologyError.cjs.map +1 -0
  81. package/lib/cjs/graph/engine/errors/index.cjs +2 -2
  82. package/lib/cjs/graph/engine/errors/index.cjs.map +1 -0
  83. package/lib/cjs/graph/engine/events/GraphExecutionEvent.cjs +2 -2
  84. package/lib/cjs/graph/engine/events/GraphExecutionEvent.cjs.map +1 -0
  85. package/lib/cjs/graph/engine/events/GraphExecutionEventEmitter.cjs +2 -2
  86. package/lib/cjs/graph/engine/events/GraphExecutionEventEmitter.cjs.map +1 -0
  87. package/lib/cjs/graph/engine/events/GraphExecutionEventFactory.cjs +2 -2
  88. package/lib/cjs/graph/engine/events/GraphExecutionEventFactory.cjs.map +1 -0
  89. package/lib/cjs/graph/engine/events/GraphExecutionObserver.cjs +2 -2
  90. package/lib/cjs/graph/engine/events/GraphExecutionObserver.cjs.map +1 -0
  91. package/lib/cjs/graph/engine/events/index.cjs +2 -2
  92. package/lib/cjs/graph/engine/events/index.cjs.map +1 -0
  93. package/lib/cjs/graph/engine/execution/CodeGraphNodeExecutor.cjs +102 -0
  94. package/lib/cjs/graph/engine/execution/CodeGraphNodeExecutor.cjs.map +1 -0
  95. package/lib/cjs/graph/engine/execution/CodeSandboxEvaluator.cjs +2 -2
  96. package/lib/cjs/graph/engine/execution/CodeSandboxEvaluator.cjs.map +1 -0
  97. package/lib/cjs/graph/engine/execution/GraphExecutionContext.cjs +2 -2
  98. package/lib/cjs/graph/engine/execution/GraphExecutionContext.cjs.map +1 -0
  99. package/lib/cjs/graph/engine/execution/GraphExecutionEngine.cjs +7 -2
  100. package/lib/cjs/graph/engine/execution/GraphExecutionEngine.cjs.map +1 -0
  101. package/lib/cjs/graph/engine/execution/GraphExecutionFrame.cjs +2 -2
  102. package/lib/cjs/graph/engine/execution/GraphExecutionFrame.cjs.map +1 -0
  103. package/lib/cjs/graph/engine/execution/GraphExecutionResult.cjs +2 -2
  104. package/lib/cjs/graph/engine/execution/GraphExecutionResult.cjs.map +1 -0
  105. package/lib/cjs/graph/engine/execution/GraphNodeExecutor.cjs +2 -2
  106. package/lib/cjs/graph/engine/execution/GraphNodeExecutor.cjs.map +1 -0
  107. package/lib/cjs/graph/engine/execution/IsolatedVmCodeSandboxEvaluator.cjs +355 -0
  108. package/lib/cjs/graph/engine/execution/IsolatedVmCodeSandboxEvaluator.cjs.map +1 -0
  109. package/lib/cjs/graph/engine/execution/SwitchGraphNodeExecutor.cjs +2 -2
  110. package/lib/cjs/graph/engine/execution/SwitchGraphNodeExecutor.cjs.map +1 -0
  111. package/lib/cjs/graph/engine/execution/index.cjs +4 -2
  112. package/lib/cjs/graph/engine/execution/index.cjs.map +1 -0
  113. package/lib/cjs/graph/engine/index.cjs +4 -2
  114. package/lib/cjs/graph/engine/index.cjs.map +1 -0
  115. package/lib/cjs/graph/engine/loops/ConditionExpressionEvaluator.cjs +2 -2
  116. package/lib/cjs/graph/engine/loops/ConditionExpressionEvaluator.cjs.map +1 -0
  117. package/lib/cjs/graph/engine/loops/ForeachGraphNodeExecutor.cjs +2 -2
  118. package/lib/cjs/graph/engine/loops/ForeachGraphNodeExecutor.cjs.map +1 -0
  119. package/lib/cjs/graph/engine/loops/GraphConditionEvaluator.cjs +2 -2
  120. package/lib/cjs/graph/engine/loops/GraphConditionEvaluator.cjs.map +1 -0
  121. package/lib/cjs/graph/engine/loops/GraphLoopExecutionContext.cjs +2 -2
  122. package/lib/cjs/graph/engine/loops/GraphLoopExecutionContext.cjs.map +1 -0
  123. package/lib/cjs/graph/engine/loops/UntilGraphNodeExecutor.cjs +2 -2
  124. package/lib/cjs/graph/engine/loops/UntilGraphNodeExecutor.cjs.map +1 -0
  125. package/lib/cjs/graph/engine/loops/WhileGraphNodeExecutor.cjs +2 -2
  126. package/lib/cjs/graph/engine/loops/WhileGraphNodeExecutor.cjs.map +1 -0
  127. package/lib/cjs/graph/engine/loops/index.cjs +2 -2
  128. package/lib/cjs/graph/engine/loops/index.cjs.map +1 -0
  129. package/lib/cjs/graph/engine/pinning/GraphPinningDependencyResolver.cjs +2 -2
  130. package/lib/cjs/graph/engine/pinning/GraphPinningDependencyResolver.cjs.map +1 -0
  131. package/lib/cjs/graph/engine/pinning/GraphPinningMetadata.cjs +2 -2
  132. package/lib/cjs/graph/engine/pinning/GraphPinningMetadata.cjs.map +1 -0
  133. package/lib/cjs/graph/engine/pinning/GraphPinningPolicy.cjs +2 -2
  134. package/lib/cjs/graph/engine/pinning/GraphPinningPolicy.cjs.map +1 -0
  135. package/lib/cjs/graph/engine/pinning/GraphPinningService.cjs +2 -2
  136. package/lib/cjs/graph/engine/pinning/GraphPinningService.cjs.map +1 -0
  137. package/lib/cjs/graph/engine/pinning/index.cjs +2 -2
  138. package/lib/cjs/graph/engine/pinning/index.cjs.map +1 -0
  139. package/lib/cjs/graph/engine/planning/GraphExecutionPlan.cjs +2 -2
  140. package/lib/cjs/graph/engine/planning/GraphExecutionPlan.cjs.map +1 -0
  141. package/lib/cjs/graph/engine/planning/GraphExecutionPlanEdge.cjs +2 -2
  142. package/lib/cjs/graph/engine/planning/GraphExecutionPlanEdge.cjs.map +1 -0
  143. package/lib/cjs/graph/engine/planning/GraphExecutionPlanLayer.cjs +2 -2
  144. package/lib/cjs/graph/engine/planning/GraphExecutionPlanLayer.cjs.map +1 -0
  145. package/lib/cjs/graph/engine/planning/GraphExecutionPlanNode.cjs +2 -2
  146. package/lib/cjs/graph/engine/planning/GraphExecutionPlanNode.cjs.map +1 -0
  147. package/lib/cjs/graph/engine/planning/GraphExecutionPlanner.cjs +2 -2
  148. package/lib/cjs/graph/engine/planning/GraphExecutionPlanner.cjs.map +1 -0
  149. package/lib/cjs/graph/engine/planning/GraphRelationResolver.cjs +2 -2
  150. package/lib/cjs/graph/engine/planning/GraphRelationResolver.cjs.map +1 -0
  151. package/lib/cjs/graph/engine/planning/GraphTopology.cjs +2 -2
  152. package/lib/cjs/graph/engine/planning/GraphTopology.cjs.map +1 -0
  153. package/lib/cjs/graph/engine/planning/index.cjs +2 -2
  154. package/lib/cjs/graph/engine/planning/index.cjs.map +1 -0
  155. package/lib/cjs/graph/engine/registry/GraphNodeExecutorRegistry.cjs +2 -2
  156. package/lib/cjs/graph/engine/registry/GraphNodeExecutorRegistry.cjs.map +1 -0
  157. package/lib/cjs/graph/engine/registry/GraphNodeExecutorResolver.cjs +2 -2
  158. package/lib/cjs/graph/engine/registry/GraphNodeExecutorResolver.cjs.map +1 -0
  159. package/lib/cjs/graph/engine/registry/index.cjs +2 -2
  160. package/lib/cjs/graph/engine/registry/index.cjs.map +1 -0
  161. package/lib/cjs/graph/engine/snapshots/GraphExecutionSnapshotMapper.cjs +2 -2
  162. package/lib/cjs/graph/engine/snapshots/GraphExecutionSnapshotMapper.cjs.map +1 -0
  163. package/lib/cjs/graph/engine/snapshots/index.cjs +2 -2
  164. package/lib/cjs/graph/engine/snapshots/index.cjs.map +1 -0
  165. package/lib/cjs/graph/engine/store/GraphCachedValue.cjs +2 -2
  166. package/lib/cjs/graph/engine/store/GraphCachedValue.cjs.map +1 -0
  167. package/lib/cjs/graph/engine/store/GraphValueKey.cjs +2 -2
  168. package/lib/cjs/graph/engine/store/GraphValueKey.cjs.map +1 -0
  169. package/lib/cjs/graph/engine/store/GraphValueStore.cjs +2 -2
  170. package/lib/cjs/graph/engine/store/GraphValueStore.cjs.map +1 -0
  171. package/lib/cjs/graph/engine/store/GraphValueStoreAdapter.cjs +2 -2
  172. package/lib/cjs/graph/engine/store/GraphValueStoreAdapter.cjs.map +1 -0
  173. package/lib/cjs/graph/engine/store/InMemoryGraphValueStoreAdapter.cjs +2 -2
  174. package/lib/cjs/graph/engine/store/InMemoryGraphValueStoreAdapter.cjs.map +1 -0
  175. package/lib/cjs/graph/engine/store/index.cjs +2 -2
  176. package/lib/cjs/graph/engine/store/index.cjs.map +1 -0
  177. package/lib/cjs/graph/engine/types.cjs +2 -2
  178. package/lib/cjs/graph/engine/types.cjs.map +1 -0
  179. package/lib/cjs/graph/engine/validation/GraphDefinitionValidator.cjs +2 -2
  180. package/lib/cjs/graph/engine/validation/GraphDefinitionValidator.cjs.map +1 -0
  181. package/lib/cjs/graph/engine/validation/GraphPortSchemaResolver.cjs +2 -2
  182. package/lib/cjs/graph/engine/validation/GraphPortSchemaResolver.cjs.map +1 -0
  183. package/lib/cjs/graph/engine/validation/GraphValueValidator.cjs +2 -2
  184. package/lib/cjs/graph/engine/validation/GraphValueValidator.cjs.map +1 -0
  185. package/lib/cjs/graph/engine/validation/index.cjs +2 -2
  186. package/lib/cjs/graph/engine/validation/index.cjs.map +1 -0
  187. package/lib/cjs/graph/index.cjs +2 -2
  188. package/lib/cjs/graph/index.cjs.map +1 -0
  189. package/lib/cjs/graph/shared/constants.cjs +2 -2
  190. package/lib/cjs/graph/shared/constants.cjs.map +1 -0
  191. package/lib/cjs/graph/shared/index.cjs +2 -2
  192. package/lib/cjs/graph/shared/index.cjs.map +1 -0
  193. package/lib/cjs/graph/shared/nodes/agent.cjs +2 -2
  194. package/lib/cjs/graph/shared/nodes/agent.cjs.map +1 -0
  195. package/lib/cjs/graph/shared/nodes/base.cjs +3 -2
  196. package/lib/cjs/graph/shared/nodes/base.cjs.map +1 -0
  197. package/lib/cjs/graph/shared/nodes/category-styles.cjs +2 -2
  198. package/lib/cjs/graph/shared/nodes/category-styles.cjs.map +1 -0
  199. package/lib/cjs/graph/shared/nodes/flow-control.cjs +10 -8
  200. package/lib/cjs/graph/shared/nodes/flow-control.cjs.map +1 -0
  201. package/lib/cjs/graph/shared/nodes/index.cjs +2 -2
  202. package/lib/cjs/graph/shared/nodes/index.cjs.map +1 -0
  203. package/lib/cjs/graph/shared/nodes/triggers.cjs +2 -2
  204. package/lib/cjs/graph/shared/nodes/triggers.cjs.map +1 -0
  205. package/lib/cjs/graph/shared/types.cjs +2 -2
  206. package/lib/cjs/graph/shared/types.cjs.map +1 -0
  207. package/lib/cjs/index.cjs +5 -5
  208. package/lib/cjs/index.cjs.map +1 -0
  209. package/lib/cjs/keycloak/index.cjs +2 -2
  210. package/lib/cjs/keycloak/index.cjs.map +1 -0
  211. package/lib/cjs/keycloak/services/KeycloakAuthService.cjs +2 -2
  212. package/lib/cjs/keycloak/services/KeycloakAuthService.cjs.map +1 -0
  213. package/lib/cjs/keycloak/services/KeycloakClientService.cjs +2 -2
  214. package/lib/cjs/keycloak/services/KeycloakClientService.cjs.map +1 -0
  215. package/lib/cjs/keycloak/services/KeycloakIdentityProviderService.cjs +2 -2
  216. package/lib/cjs/keycloak/services/KeycloakIdentityProviderService.cjs.map +1 -0
  217. package/lib/cjs/keycloak/services/KeycloakRealmService.cjs +2 -2
  218. package/lib/cjs/keycloak/services/KeycloakRealmService.cjs.map +1 -0
  219. package/lib/cjs/keycloak/services/KeycloakRoleService.cjs +2 -2
  220. package/lib/cjs/keycloak/services/KeycloakRoleService.cjs.map +1 -0
  221. package/lib/cjs/keycloak/services/KeycloakService.cjs +2 -2
  222. package/lib/cjs/keycloak/services/KeycloakService.cjs.map +1 -0
  223. package/lib/cjs/keycloak/services/KeycloakUserService.cjs +2 -2
  224. package/lib/cjs/keycloak/services/KeycloakUserService.cjs.map +1 -0
  225. package/lib/cjs/keycloak/services/index.cjs +2 -2
  226. package/lib/cjs/keycloak/services/index.cjs.map +1 -0
  227. package/lib/cjs/keycloak/services/runtime.cjs +2 -2
  228. package/lib/cjs/keycloak/services/runtime.cjs.map +1 -0
  229. package/lib/cjs/keycloak/types.cjs +2 -2
  230. package/lib/cjs/keycloak/types.cjs.map +1 -0
  231. package/lib/cjs/kibana/helpers.cjs +2 -2
  232. package/lib/cjs/kibana/helpers.cjs.map +1 -0
  233. package/lib/cjs/kibana/index.cjs +2 -2
  234. package/lib/cjs/kibana/index.cjs.map +1 -0
  235. package/lib/cjs/kibana/services/KibanaAuthService.cjs +2 -2
  236. package/lib/cjs/kibana/services/KibanaAuthService.cjs.map +1 -0
  237. package/lib/cjs/kibana/services/KibanaDashboardService.cjs +2 -2
  238. package/lib/cjs/kibana/services/KibanaDashboardService.cjs.map +1 -0
  239. package/lib/cjs/kibana/services/KibanaDataViewService.cjs +2 -2
  240. package/lib/cjs/kibana/services/KibanaDataViewService.cjs.map +1 -0
  241. package/lib/cjs/kibana/services/KibanaRoleService.cjs +2 -2
  242. package/lib/cjs/kibana/services/KibanaRoleService.cjs.map +1 -0
  243. package/lib/cjs/kibana/services/KibanaService.cjs +2 -2
  244. package/lib/cjs/kibana/services/KibanaService.cjs.map +1 -0
  245. package/lib/cjs/kibana/services/KibanaSpaceService.cjs +2 -2
  246. package/lib/cjs/kibana/services/KibanaSpaceService.cjs.map +1 -0
  247. package/lib/cjs/kibana/services/KibanaUserService.cjs +2 -2
  248. package/lib/cjs/kibana/services/KibanaUserService.cjs.map +1 -0
  249. package/lib/cjs/kibana/services/index.cjs +2 -2
  250. package/lib/cjs/kibana/services/index.cjs.map +1 -0
  251. package/lib/cjs/kibana/services/runtime.cjs +2 -2
  252. package/lib/cjs/kibana/services/runtime.cjs.map +1 -0
  253. package/lib/cjs/kibana/types.cjs +2 -2
  254. package/lib/cjs/kibana/types.cjs.map +1 -0
  255. package/lib/cjs/namespaces/index.cjs +2 -2
  256. package/lib/cjs/namespaces/index.cjs.map +1 -0
  257. package/lib/cjs/namespaces/models/authorization-model.cjs +2 -2
  258. package/lib/cjs/namespaces/models/authorization-model.cjs.map +1 -0
  259. package/lib/cjs/namespaces/models/effective-permission.model.cjs +6 -6
  260. package/lib/cjs/namespaces/models/effective-permission.model.cjs.map +1 -0
  261. package/lib/cjs/namespaces/models/group-membership.model.cjs +8 -8
  262. package/lib/cjs/namespaces/models/group-membership.model.cjs.map +1 -0
  263. package/lib/cjs/namespaces/models/group.model.cjs +8 -8
  264. package/lib/cjs/namespaces/models/group.model.cjs.map +1 -0
  265. package/lib/cjs/namespaces/models/index.cjs +22 -22
  266. package/lib/cjs/namespaces/models/index.cjs.map +1 -0
  267. package/lib/cjs/namespaces/models/inheritance-block.model.cjs +7 -7
  268. package/lib/cjs/namespaces/models/inheritance-block.model.cjs.map +1 -0
  269. package/lib/cjs/namespaces/models/org-unit-closure.model.cjs +7 -7
  270. package/lib/cjs/namespaces/models/org-unit-closure.model.cjs.map +1 -0
  271. package/lib/cjs/namespaces/models/org-unit-membership.model.cjs +8 -8
  272. package/lib/cjs/namespaces/models/org-unit-membership.model.cjs.map +1 -0
  273. package/lib/cjs/namespaces/models/org-unit-profile.model.cjs +4 -4
  274. package/lib/cjs/namespaces/models/org-unit-profile.model.cjs.map +1 -0
  275. package/lib/cjs/namespaces/models/org-unit.model.cjs +13 -13
  276. package/lib/cjs/namespaces/models/org-unit.model.cjs.map +1 -0
  277. package/lib/cjs/namespaces/models/permission.model.cjs +4 -4
  278. package/lib/cjs/namespaces/models/permission.model.cjs.map +1 -0
  279. package/lib/cjs/namespaces/models/principal.model.cjs +8 -8
  280. package/lib/cjs/namespaces/models/principal.model.cjs.map +1 -0
  281. package/lib/cjs/namespaces/models/protected-resource.model.cjs +10 -10
  282. package/lib/cjs/namespaces/models/protected-resource.model.cjs.map +1 -0
  283. package/lib/cjs/namespaces/models/resource-grant.model.cjs +9 -9
  284. package/lib/cjs/namespaces/models/resource-grant.model.cjs.map +1 -0
  285. package/lib/cjs/namespaces/models/role-assignment.model.cjs +8 -8
  286. package/lib/cjs/namespaces/models/role-assignment.model.cjs.map +1 -0
  287. package/lib/cjs/namespaces/models/role-permission.model.cjs +6 -6
  288. package/lib/cjs/namespaces/models/role-permission.model.cjs.map +1 -0
  289. package/lib/cjs/namespaces/models/role.model.cjs +8 -8
  290. package/lib/cjs/namespaces/models/role.model.cjs.map +1 -0
  291. package/lib/cjs/namespaces/models/storage-binding.model.cjs +4 -4
  292. package/lib/cjs/namespaces/models/storage-binding.model.cjs.map +1 -0
  293. package/lib/cjs/namespaces/models/tenant-membership.model.cjs +6 -6
  294. package/lib/cjs/namespaces/models/tenant-membership.model.cjs.map +1 -0
  295. package/lib/cjs/namespaces/models/tenant-profile.model.cjs +4 -4
  296. package/lib/cjs/namespaces/models/tenant-profile.model.cjs.map +1 -0
  297. package/lib/cjs/namespaces/models/tenant.model.cjs +10 -10
  298. package/lib/cjs/namespaces/models/tenant.model.cjs.map +1 -0
  299. package/lib/cjs/namespaces/models/user.model.cjs +6 -6
  300. package/lib/cjs/namespaces/models/user.model.cjs.map +1 -0
  301. package/lib/cjs/namespaces/org-based-authorization-system.cjs +10 -4
  302. package/lib/cjs/namespaces/org-based-authorization-system.cjs.map +1 -0
  303. package/lib/cjs/namespaces/org-based-authorization-system.models.cjs +2 -2
  304. package/lib/cjs/namespaces/org-based-authorization-system.models.cjs.map +1 -0
  305. package/lib/cjs/namespaces/org-based-authorization-system.services.cjs +40 -31
  306. package/lib/cjs/namespaces/org-based-authorization-system.services.cjs.map +1 -0
  307. package/lib/cjs/namespaces/services/authz.service.cjs +39 -13
  308. package/lib/cjs/namespaces/services/authz.service.cjs.map +1 -0
  309. package/lib/cjs/namespaces/services/bootstrap.service.cjs +26 -26
  310. package/lib/cjs/namespaces/services/bootstrap.service.cjs.map +1 -0
  311. package/lib/cjs/namespaces/services/effective-permission.service.cjs +19 -19
  312. package/lib/cjs/namespaces/services/effective-permission.service.cjs.map +1 -0
  313. package/lib/cjs/namespaces/services/group-membership.service.cjs +6 -6
  314. package/lib/cjs/namespaces/services/group-membership.service.cjs.map +1 -0
  315. package/lib/cjs/namespaces/services/group.service.cjs +4 -4
  316. package/lib/cjs/namespaces/services/group.service.cjs.map +1 -0
  317. package/lib/cjs/namespaces/services/index.cjs +26 -26
  318. package/lib/cjs/namespaces/services/index.cjs.map +1 -0
  319. package/lib/cjs/namespaces/services/inheritance-block.service.cjs +8 -6
  320. package/lib/cjs/namespaces/services/inheritance-block.service.cjs.map +1 -0
  321. package/lib/cjs/namespaces/services/org-unit-closure.service.cjs +18 -9
  322. package/lib/cjs/namespaces/services/org-unit-closure.service.cjs.map +1 -0
  323. package/lib/cjs/namespaces/services/org-unit-membership.service.cjs +4 -4
  324. package/lib/cjs/namespaces/services/org-unit-membership.service.cjs.map +1 -0
  325. package/lib/cjs/namespaces/services/org-unit-profile.service.cjs +4 -4
  326. package/lib/cjs/namespaces/services/org-unit-profile.service.cjs.map +1 -0
  327. package/lib/cjs/namespaces/services/org-unit.service.cjs +13 -13
  328. package/lib/cjs/namespaces/services/org-unit.service.cjs.map +1 -0
  329. package/lib/cjs/namespaces/services/permission.service.cjs +4 -4
  330. package/lib/cjs/namespaces/services/permission.service.cjs.map +1 -0
  331. package/lib/cjs/namespaces/services/principal.service.cjs +4 -4
  332. package/lib/cjs/namespaces/services/principal.service.cjs.map +1 -0
  333. package/lib/cjs/namespaces/services/protected-resource.service.cjs +4 -4
  334. package/lib/cjs/namespaces/services/protected-resource.service.cjs.map +1 -0
  335. package/lib/cjs/namespaces/services/resource-grant.service.cjs +4 -4
  336. package/lib/cjs/namespaces/services/resource-grant.service.cjs.map +1 -0
  337. package/lib/cjs/namespaces/services/resource-lifecycle.service.cjs +7 -7
  338. package/lib/cjs/namespaces/services/resource-lifecycle.service.cjs.map +1 -0
  339. package/lib/cjs/namespaces/services/role-assignment.service.cjs +6 -5
  340. package/lib/cjs/namespaces/services/role-assignment.service.cjs.map +1 -0
  341. package/lib/cjs/namespaces/services/role-permission.service.cjs +8 -8
  342. package/lib/cjs/namespaces/services/role-permission.service.cjs.map +1 -0
  343. package/lib/cjs/namespaces/services/role.service.cjs +4 -4
  344. package/lib/cjs/namespaces/services/role.service.cjs.map +1 -0
  345. package/lib/cjs/namespaces/services/storage-binding.service.cjs +4 -4
  346. package/lib/cjs/namespaces/services/storage-binding.service.cjs.map +1 -0
  347. package/lib/cjs/namespaces/services/system-management.service.cjs +14 -14
  348. package/lib/cjs/namespaces/services/system-management.service.cjs.map +1 -0
  349. package/lib/cjs/namespaces/services/tenant-membership.service.cjs +4 -4
  350. package/lib/cjs/namespaces/services/tenant-membership.service.cjs.map +1 -0
  351. package/lib/cjs/namespaces/services/tenant-profile.service.cjs +4 -4
  352. package/lib/cjs/namespaces/services/tenant-profile.service.cjs.map +1 -0
  353. package/lib/cjs/namespaces/services/tenant.service.cjs +4 -4
  354. package/lib/cjs/namespaces/services/tenant.service.cjs.map +1 -0
  355. package/lib/cjs/namespaces/services/user.service.cjs +4 -4
  356. package/lib/cjs/namespaces/services/user.service.cjs.map +1 -0
  357. package/lib/cjs/namespaces/types.cjs +2 -2
  358. package/lib/cjs/namespaces/types.cjs.map +1 -0
  359. package/lib/cjs/namespaces/utils.cjs +13 -5
  360. package/lib/cjs/namespaces/utils.cjs.map +1 -0
  361. package/lib/cjs/nest/authService.cjs +2 -2
  362. package/lib/cjs/nest/authService.cjs.map +1 -0
  363. package/lib/cjs/nest/graph/GraphExecutionController.cjs +2 -2
  364. package/lib/cjs/nest/graph/GraphExecutionController.cjs.map +1 -0
  365. package/lib/cjs/nest/graph/GraphExecutionModule.cjs +6 -4
  366. package/lib/cjs/nest/graph/GraphExecutionModule.cjs.map +1 -0
  367. package/lib/cjs/nest/graph/GraphExecutionResultModel.cjs +2 -2
  368. package/lib/cjs/nest/graph/GraphExecutionResultModel.cjs.map +1 -0
  369. package/lib/cjs/nest/graph/GraphExecutionResultRepository.cjs +2 -2
  370. package/lib/cjs/nest/graph/GraphExecutionResultRepository.cjs.map +1 -0
  371. package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs +105 -11
  372. package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs.map +1 -0
  373. package/lib/cjs/nest/graph/index.cjs +2 -2
  374. package/lib/cjs/nest/graph/index.cjs.map +1 -0
  375. package/lib/cjs/nest/graph/main.cjs +30 -0
  376. package/lib/cjs/nest/graph/main.cjs.map +1 -0
  377. package/lib/cjs/nest/index.cjs +2 -2
  378. package/lib/cjs/nest/index.cjs.map +1 -0
  379. package/lib/cjs/nest/keycloakAuthHandler.cjs +2 -2
  380. package/lib/cjs/nest/keycloakAuthHandler.cjs.map +1 -0
  381. package/lib/cjs/nest/keycloakModule.cjs +2 -2
  382. package/lib/cjs/nest/keycloakModule.cjs.map +1 -0
  383. package/lib/cjs/nest/logging.cjs +2 -2
  384. package/lib/cjs/nest/logging.cjs.map +1 -0
  385. package/lib/cjs/nest/types.cjs +2 -2
  386. package/lib/cjs/nest/types.cjs.map +1 -0
  387. package/lib/cjs/nest/utils.cjs +2 -2
  388. package/lib/cjs/nest/utils.cjs.map +1 -0
  389. package/lib/cjs/secrets/aws/AwsSecretService.cjs +2 -2
  390. package/lib/cjs/secrets/aws/AwsSecretService.cjs.map +1 -0
  391. package/lib/cjs/secrets/aws/AwsSecretServiceConfig.cjs +2 -2
  392. package/lib/cjs/secrets/aws/AwsSecretServiceConfig.cjs.map +1 -0
  393. package/lib/cjs/secrets/aws/index.cjs +2 -2
  394. package/lib/cjs/secrets/aws/index.cjs.map +1 -0
  395. package/lib/cjs/secrets/azure/AzureKeyVaultSecretService.cjs +2 -2
  396. package/lib/cjs/secrets/azure/AzureKeyVaultSecretService.cjs.map +1 -0
  397. package/lib/cjs/secrets/azure/AzureKeyVaultSecretServiceConfig.cjs +2 -2
  398. package/lib/cjs/secrets/azure/AzureKeyVaultSecretServiceConfig.cjs.map +1 -0
  399. package/lib/cjs/secrets/azure/index.cjs +2 -2
  400. package/lib/cjs/secrets/azure/index.cjs.map +1 -0
  401. package/lib/cjs/secrets/core/SecretErrors.cjs +2 -2
  402. package/lib/cjs/secrets/core/SecretErrors.cjs.map +1 -0
  403. package/lib/cjs/secrets/core/SecretName.cjs +2 -2
  404. package/lib/cjs/secrets/core/SecretName.cjs.map +1 -0
  405. package/lib/cjs/secrets/core/SecretReference.cjs +2 -2
  406. package/lib/cjs/secrets/core/SecretReference.cjs.map +1 -0
  407. package/lib/cjs/secrets/core/SecretSerialization.cjs +2 -2
  408. package/lib/cjs/secrets/core/SecretSerialization.cjs.map +1 -0
  409. package/lib/cjs/secrets/core/SecretService.cjs +2 -2
  410. package/lib/cjs/secrets/core/SecretService.cjs.map +1 -0
  411. package/lib/cjs/secrets/core/SecretTypes.cjs +2 -2
  412. package/lib/cjs/secrets/core/SecretTypes.cjs.map +1 -0
  413. package/lib/cjs/secrets/core/index.cjs +2 -2
  414. package/lib/cjs/secrets/core/index.cjs.map +1 -0
  415. package/lib/cjs/secrets/gcp/GcpSecretManagerService.cjs +2 -2
  416. package/lib/cjs/secrets/gcp/GcpSecretManagerService.cjs.map +1 -0
  417. package/lib/cjs/secrets/gcp/GcpSecretManagerServiceConfig.cjs +2 -2
  418. package/lib/cjs/secrets/gcp/GcpSecretManagerServiceConfig.cjs.map +1 -0
  419. package/lib/cjs/secrets/gcp/index.cjs +2 -2
  420. package/lib/cjs/secrets/gcp/index.cjs.map +1 -0
  421. package/lib/cjs/secrets/index.cjs +2 -2
  422. package/lib/cjs/secrets/index.cjs.map +1 -0
  423. package/lib/cjs/secrets/model/ModelSecretCrypto.cjs +2 -2
  424. package/lib/cjs/secrets/model/ModelSecretCrypto.cjs.map +1 -0
  425. package/lib/cjs/secrets/model/ModelSecretService.cjs +2 -2
  426. package/lib/cjs/secrets/model/ModelSecretService.cjs.map +1 -0
  427. package/lib/cjs/secrets/model/ModelSecretServiceConfig.cjs +2 -2
  428. package/lib/cjs/secrets/model/ModelSecretServiceConfig.cjs.map +1 -0
  429. package/lib/cjs/secrets/model/Secret.cjs +2 -2
  430. package/lib/cjs/secrets/model/Secret.cjs.map +1 -0
  431. package/lib/cjs/secrets/model/index.cjs +2 -2
  432. package/lib/cjs/secrets/model/index.cjs.map +1 -0
  433. package/lib/cjs/secrets/onepassword/OnePasswordSecretService.cjs +2 -2
  434. package/lib/cjs/secrets/onepassword/OnePasswordSecretService.cjs.map +1 -0
  435. package/lib/cjs/secrets/onepassword/OnePasswordSecretServiceConfig.cjs +2 -2
  436. package/lib/cjs/secrets/onepassword/OnePasswordSecretServiceConfig.cjs.map +1 -0
  437. package/lib/cjs/secrets/onepassword/index.cjs +2 -2
  438. package/lib/cjs/secrets/onepassword/index.cjs.map +1 -0
  439. package/lib/cjs/secrets/vault/VaultSecretService.cjs +2 -2
  440. package/lib/cjs/secrets/vault/VaultSecretService.cjs.map +1 -0
  441. package/lib/cjs/secrets/vault/VaultSecretServiceConfig.cjs +2 -2
  442. package/lib/cjs/secrets/vault/VaultSecretServiceConfig.cjs.map +1 -0
  443. package/lib/cjs/secrets/vault/index.cjs +2 -2
  444. package/lib/cjs/secrets/vault/index.cjs.map +1 -0
  445. package/lib/cjs/shared/runtime.cjs +2 -2
  446. package/lib/cjs/shared/runtime.cjs.map +1 -0
  447. package/lib/cjs/utils.cjs +2 -2
  448. package/lib/cjs/utils.cjs.map +1 -0
  449. package/lib/esm/blob/azure/AzureBlobStoreService.js +1 -1
  450. package/lib/esm/blob/azure/AzureBlobStoreService.js.map +1 -0
  451. package/lib/esm/blob/azure/index.js +1 -1
  452. package/lib/esm/blob/azure/index.js.map +1 -0
  453. package/lib/esm/blob/core/BlobErrors.js +1 -1
  454. package/lib/esm/blob/core/BlobErrors.js.map +1 -0
  455. package/lib/esm/blob/core/BlobKey.js +1 -1
  456. package/lib/esm/blob/core/BlobKey.js.map +1 -0
  457. package/lib/esm/blob/core/BlobStoreFactory.js +1 -1
  458. package/lib/esm/blob/core/BlobStoreFactory.js.map +1 -0
  459. package/lib/esm/blob/core/BlobStoreService.js +1 -1
  460. package/lib/esm/blob/core/BlobStoreService.js.map +1 -0
  461. package/lib/esm/blob/core/BlobTypes.js +1 -1
  462. package/lib/esm/blob/core/BlobTypes.js.map +1 -0
  463. package/lib/esm/blob/core/BlobValue.js +1 -1
  464. package/lib/esm/blob/core/BlobValue.js.map +1 -0
  465. package/lib/esm/blob/core/index.js +1 -1
  466. package/lib/esm/blob/core/index.js.map +1 -0
  467. package/lib/esm/blob/gcp/GcsBlobStoreService.js +1 -1
  468. package/lib/esm/blob/gcp/GcsBlobStoreService.js.map +1 -0
  469. package/lib/esm/blob/gcp/index.js +1 -1
  470. package/lib/esm/blob/gcp/index.js.map +1 -0
  471. package/lib/esm/blob/index.js +1 -1
  472. package/lib/esm/blob/index.js.map +1 -0
  473. package/lib/esm/blob/ipfs/IpfsBlobStoreService.js +1 -1
  474. package/lib/esm/blob/ipfs/IpfsBlobStoreService.js.map +1 -0
  475. package/lib/esm/blob/ipfs/IpfsKeyIndex.js +1 -1
  476. package/lib/esm/blob/ipfs/IpfsKeyIndex.js.map +1 -0
  477. package/lib/esm/blob/ipfs/LocalJsonIpfsKeyIndex.js +1 -1
  478. package/lib/esm/blob/ipfs/LocalJsonIpfsKeyIndex.js.map +1 -0
  479. package/lib/esm/blob/ipfs/MemoryIpfsKeyIndex.js +1 -1
  480. package/lib/esm/blob/ipfs/MemoryIpfsKeyIndex.js.map +1 -0
  481. package/lib/esm/blob/ipfs/PostgresIpfsKeyIndex.js +1 -1
  482. package/lib/esm/blob/ipfs/PostgresIpfsKeyIndex.js.map +1 -0
  483. package/lib/esm/blob/ipfs/index.js +1 -1
  484. package/lib/esm/blob/ipfs/index.js.map +1 -0
  485. package/lib/esm/blob/local/LocalBlobStoreService.js +1 -1
  486. package/lib/esm/blob/local/LocalBlobStoreService.js.map +1 -0
  487. package/lib/esm/blob/local/index.js +1 -1
  488. package/lib/esm/blob/local/index.js.map +1 -0
  489. package/lib/esm/blob/memory/MemoryBlobStoreService.js +1 -1
  490. package/lib/esm/blob/memory/MemoryBlobStoreService.js.map +1 -0
  491. package/lib/esm/blob/memory/index.js +1 -1
  492. package/lib/esm/blob/memory/index.js.map +1 -0
  493. package/lib/esm/blob/s3/MinioBlobStoreService.js +1 -1
  494. package/lib/esm/blob/s3/MinioBlobStoreService.js.map +1 -0
  495. package/lib/esm/blob/s3/R2BlobStoreService.js +1 -1
  496. package/lib/esm/blob/s3/R2BlobStoreService.js.map +1 -0
  497. package/lib/esm/blob/s3/S3BlobStoreService.js +1 -1
  498. package/lib/esm/blob/s3/S3BlobStoreService.js.map +1 -0
  499. package/lib/esm/blob/s3/index.js +1 -1
  500. package/lib/esm/blob/s3/index.js.map +1 -0
  501. package/lib/esm/docker/DockerComposeService.js +1 -1
  502. package/lib/esm/docker/DockerComposeService.js.map +1 -0
  503. package/lib/esm/docker/index.js +1 -1
  504. package/lib/esm/docker/index.js.map +1 -0
  505. package/lib/esm/graph/engine/constants.js +1 -1
  506. package/lib/esm/graph/engine/constants.js.map +1 -0
  507. package/lib/esm/graph/engine/decorators.js +1 -1
  508. package/lib/esm/graph/engine/decorators.js.map +1 -0
  509. package/lib/esm/graph/engine/errors/GraphCycleError.js +1 -1
  510. package/lib/esm/graph/engine/errors/GraphCycleError.js.map +1 -0
  511. package/lib/esm/graph/engine/errors/GraphExecutionError.js +1 -1
  512. package/lib/esm/graph/engine/errors/GraphExecutionError.js.map +1 -0
  513. package/lib/esm/graph/engine/errors/GraphInputError.js +1 -1
  514. package/lib/esm/graph/engine/errors/GraphInputError.js.map +1 -0
  515. package/lib/esm/graph/engine/errors/GraphLoopLimitError.js +1 -1
  516. package/lib/esm/graph/engine/errors/GraphLoopLimitError.js.map +1 -0
  517. package/lib/esm/graph/engine/errors/GraphPinningError.js +1 -1
  518. package/lib/esm/graph/engine/errors/GraphPinningError.js.map +1 -0
  519. package/lib/esm/graph/engine/errors/GraphPortError.js +1 -1
  520. package/lib/esm/graph/engine/errors/GraphPortError.js.map +1 -0
  521. package/lib/esm/graph/engine/errors/GraphStoreError.js +1 -1
  522. package/lib/esm/graph/engine/errors/GraphStoreError.js.map +1 -0
  523. package/lib/esm/graph/engine/errors/GraphTopologyError.js +1 -1
  524. package/lib/esm/graph/engine/errors/GraphTopologyError.js.map +1 -0
  525. package/lib/esm/graph/engine/errors/index.js +1 -1
  526. package/lib/esm/graph/engine/errors/index.js.map +1 -0
  527. package/lib/esm/graph/engine/events/GraphExecutionEvent.js +1 -1
  528. package/lib/esm/graph/engine/events/GraphExecutionEvent.js.map +1 -0
  529. package/lib/esm/graph/engine/events/GraphExecutionEventEmitter.js +1 -1
  530. package/lib/esm/graph/engine/events/GraphExecutionEventEmitter.js.map +1 -0
  531. package/lib/esm/graph/engine/events/GraphExecutionEventFactory.js +1 -1
  532. package/lib/esm/graph/engine/events/GraphExecutionEventFactory.js.map +1 -0
  533. package/lib/esm/graph/engine/events/GraphExecutionObserver.js +1 -1
  534. package/lib/esm/graph/engine/events/GraphExecutionObserver.js.map +1 -0
  535. package/lib/esm/graph/engine/events/index.js +1 -1
  536. package/lib/esm/graph/engine/events/index.js.map +1 -0
  537. package/lib/esm/graph/engine/execution/CodeGraphNodeExecutor.js +97 -0
  538. package/lib/esm/graph/engine/execution/CodeGraphNodeExecutor.js.map +1 -0
  539. package/lib/esm/graph/engine/execution/CodeSandboxEvaluator.js +1 -1
  540. package/lib/esm/graph/engine/execution/CodeSandboxEvaluator.js.map +1 -0
  541. package/lib/esm/graph/engine/execution/GraphExecutionContext.js +1 -1
  542. package/lib/esm/graph/engine/execution/GraphExecutionContext.js.map +1 -0
  543. package/lib/esm/graph/engine/execution/GraphExecutionEngine.js +6 -1
  544. package/lib/esm/graph/engine/execution/GraphExecutionEngine.js.map +1 -0
  545. package/lib/esm/graph/engine/execution/GraphExecutionFrame.js +1 -1
  546. package/lib/esm/graph/engine/execution/GraphExecutionFrame.js.map +1 -0
  547. package/lib/esm/graph/engine/execution/GraphExecutionResult.js +1 -1
  548. package/lib/esm/graph/engine/execution/GraphExecutionResult.js.map +1 -0
  549. package/lib/esm/graph/engine/execution/GraphNodeExecutor.js +1 -1
  550. package/lib/esm/graph/engine/execution/GraphNodeExecutor.js.map +1 -0
  551. package/lib/esm/graph/engine/execution/IsolatedVmCodeSandboxEvaluator.js +314 -0
  552. package/lib/esm/graph/engine/execution/IsolatedVmCodeSandboxEvaluator.js.map +1 -0
  553. package/lib/esm/graph/engine/execution/SwitchGraphNodeExecutor.js +1 -1
  554. package/lib/esm/graph/engine/execution/SwitchGraphNodeExecutor.js.map +1 -0
  555. package/lib/esm/graph/engine/execution/index.js +3 -1
  556. package/lib/esm/graph/engine/execution/index.js.map +1 -0
  557. package/lib/esm/graph/engine/index.js +3 -1
  558. package/lib/esm/graph/engine/index.js.map +1 -0
  559. package/lib/esm/graph/engine/loops/ConditionExpressionEvaluator.js +1 -1
  560. package/lib/esm/graph/engine/loops/ConditionExpressionEvaluator.js.map +1 -0
  561. package/lib/esm/graph/engine/loops/ForeachGraphNodeExecutor.js +1 -1
  562. package/lib/esm/graph/engine/loops/ForeachGraphNodeExecutor.js.map +1 -0
  563. package/lib/esm/graph/engine/loops/GraphConditionEvaluator.js +1 -1
  564. package/lib/esm/graph/engine/loops/GraphConditionEvaluator.js.map +1 -0
  565. package/lib/esm/graph/engine/loops/GraphLoopExecutionContext.js +1 -1
  566. package/lib/esm/graph/engine/loops/GraphLoopExecutionContext.js.map +1 -0
  567. package/lib/esm/graph/engine/loops/UntilGraphNodeExecutor.js +1 -1
  568. package/lib/esm/graph/engine/loops/UntilGraphNodeExecutor.js.map +1 -0
  569. package/lib/esm/graph/engine/loops/WhileGraphNodeExecutor.js +1 -1
  570. package/lib/esm/graph/engine/loops/WhileGraphNodeExecutor.js.map +1 -0
  571. package/lib/esm/graph/engine/loops/index.js +1 -1
  572. package/lib/esm/graph/engine/loops/index.js.map +1 -0
  573. package/lib/esm/graph/engine/pinning/GraphPinningDependencyResolver.js +1 -1
  574. package/lib/esm/graph/engine/pinning/GraphPinningDependencyResolver.js.map +1 -0
  575. package/lib/esm/graph/engine/pinning/GraphPinningMetadata.js +1 -1
  576. package/lib/esm/graph/engine/pinning/GraphPinningMetadata.js.map +1 -0
  577. package/lib/esm/graph/engine/pinning/GraphPinningPolicy.js +1 -1
  578. package/lib/esm/graph/engine/pinning/GraphPinningPolicy.js.map +1 -0
  579. package/lib/esm/graph/engine/pinning/GraphPinningService.js +1 -1
  580. package/lib/esm/graph/engine/pinning/GraphPinningService.js.map +1 -0
  581. package/lib/esm/graph/engine/pinning/index.js +1 -1
  582. package/lib/esm/graph/engine/pinning/index.js.map +1 -0
  583. package/lib/esm/graph/engine/planning/GraphExecutionPlan.js +1 -1
  584. package/lib/esm/graph/engine/planning/GraphExecutionPlan.js.map +1 -0
  585. package/lib/esm/graph/engine/planning/GraphExecutionPlanEdge.js +1 -1
  586. package/lib/esm/graph/engine/planning/GraphExecutionPlanEdge.js.map +1 -0
  587. package/lib/esm/graph/engine/planning/GraphExecutionPlanLayer.js +1 -1
  588. package/lib/esm/graph/engine/planning/GraphExecutionPlanLayer.js.map +1 -0
  589. package/lib/esm/graph/engine/planning/GraphExecutionPlanNode.js +1 -1
  590. package/lib/esm/graph/engine/planning/GraphExecutionPlanNode.js.map +1 -0
  591. package/lib/esm/graph/engine/planning/GraphExecutionPlanner.js +1 -1
  592. package/lib/esm/graph/engine/planning/GraphExecutionPlanner.js.map +1 -0
  593. package/lib/esm/graph/engine/planning/GraphRelationResolver.js +1 -1
  594. package/lib/esm/graph/engine/planning/GraphRelationResolver.js.map +1 -0
  595. package/lib/esm/graph/engine/planning/GraphTopology.js +1 -1
  596. package/lib/esm/graph/engine/planning/GraphTopology.js.map +1 -0
  597. package/lib/esm/graph/engine/planning/index.js +1 -1
  598. package/lib/esm/graph/engine/planning/index.js.map +1 -0
  599. package/lib/esm/graph/engine/registry/GraphNodeExecutorRegistry.js +1 -1
  600. package/lib/esm/graph/engine/registry/GraphNodeExecutorRegistry.js.map +1 -0
  601. package/lib/esm/graph/engine/registry/GraphNodeExecutorResolver.js +1 -1
  602. package/lib/esm/graph/engine/registry/GraphNodeExecutorResolver.js.map +1 -0
  603. package/lib/esm/graph/engine/registry/index.js +1 -1
  604. package/lib/esm/graph/engine/registry/index.js.map +1 -0
  605. package/lib/esm/graph/engine/snapshots/GraphExecutionSnapshotMapper.js +1 -1
  606. package/lib/esm/graph/engine/snapshots/GraphExecutionSnapshotMapper.js.map +1 -0
  607. package/lib/esm/graph/engine/snapshots/index.js +1 -1
  608. package/lib/esm/graph/engine/snapshots/index.js.map +1 -0
  609. package/lib/esm/graph/engine/store/GraphCachedValue.js +1 -1
  610. package/lib/esm/graph/engine/store/GraphCachedValue.js.map +1 -0
  611. package/lib/esm/graph/engine/store/GraphValueKey.js +1 -1
  612. package/lib/esm/graph/engine/store/GraphValueKey.js.map +1 -0
  613. package/lib/esm/graph/engine/store/GraphValueStore.js +1 -1
  614. package/lib/esm/graph/engine/store/GraphValueStore.js.map +1 -0
  615. package/lib/esm/graph/engine/store/GraphValueStoreAdapter.js +1 -1
  616. package/lib/esm/graph/engine/store/GraphValueStoreAdapter.js.map +1 -0
  617. package/lib/esm/graph/engine/store/InMemoryGraphValueStoreAdapter.js +1 -1
  618. package/lib/esm/graph/engine/store/InMemoryGraphValueStoreAdapter.js.map +1 -0
  619. package/lib/esm/graph/engine/store/index.js +1 -1
  620. package/lib/esm/graph/engine/store/index.js.map +1 -0
  621. package/lib/esm/graph/engine/types.js +1 -1
  622. package/lib/esm/graph/engine/types.js.map +1 -0
  623. package/lib/esm/graph/engine/validation/GraphDefinitionValidator.js +1 -1
  624. package/lib/esm/graph/engine/validation/GraphDefinitionValidator.js.map +1 -0
  625. package/lib/esm/graph/engine/validation/GraphPortSchemaResolver.js +1 -1
  626. package/lib/esm/graph/engine/validation/GraphPortSchemaResolver.js.map +1 -0
  627. package/lib/esm/graph/engine/validation/GraphValueValidator.js +1 -1
  628. package/lib/esm/graph/engine/validation/GraphValueValidator.js.map +1 -0
  629. package/lib/esm/graph/engine/validation/index.js +1 -1
  630. package/lib/esm/graph/engine/validation/index.js.map +1 -0
  631. package/lib/esm/graph/index.js +1 -1
  632. package/lib/esm/graph/index.js.map +1 -0
  633. package/lib/esm/graph/shared/constants.js +1 -1
  634. package/lib/esm/graph/shared/constants.js.map +1 -0
  635. package/lib/esm/graph/shared/index.js +1 -1
  636. package/lib/esm/graph/shared/index.js.map +1 -0
  637. package/lib/esm/graph/shared/nodes/agent.js +1 -1
  638. package/lib/esm/graph/shared/nodes/agent.js.map +1 -0
  639. package/lib/esm/graph/shared/nodes/base.js +2 -1
  640. package/lib/esm/graph/shared/nodes/base.js.map +1 -0
  641. package/lib/esm/graph/shared/nodes/category-styles.js +1 -1
  642. package/lib/esm/graph/shared/nodes/category-styles.js.map +1 -0
  643. package/lib/esm/graph/shared/nodes/flow-control.js +9 -7
  644. package/lib/esm/graph/shared/nodes/flow-control.js.map +1 -0
  645. package/lib/esm/graph/shared/nodes/index.js +1 -1
  646. package/lib/esm/graph/shared/nodes/index.js.map +1 -0
  647. package/lib/esm/graph/shared/nodes/triggers.js +1 -1
  648. package/lib/esm/graph/shared/nodes/triggers.js.map +1 -0
  649. package/lib/esm/graph/shared/types.js +1 -1
  650. package/lib/esm/graph/shared/types.js.map +1 -0
  651. package/lib/esm/index.js +4 -4
  652. package/lib/esm/index.js.map +1 -0
  653. package/lib/esm/keycloak/index.js +1 -1
  654. package/lib/esm/keycloak/index.js.map +1 -0
  655. package/lib/esm/keycloak/services/KeycloakAuthService.js +1 -1
  656. package/lib/esm/keycloak/services/KeycloakAuthService.js.map +1 -0
  657. package/lib/esm/keycloak/services/KeycloakClientService.js +1 -1
  658. package/lib/esm/keycloak/services/KeycloakClientService.js.map +1 -0
  659. package/lib/esm/keycloak/services/KeycloakIdentityProviderService.js +1 -1
  660. package/lib/esm/keycloak/services/KeycloakIdentityProviderService.js.map +1 -0
  661. package/lib/esm/keycloak/services/KeycloakRealmService.js +1 -1
  662. package/lib/esm/keycloak/services/KeycloakRealmService.js.map +1 -0
  663. package/lib/esm/keycloak/services/KeycloakRoleService.js +1 -1
  664. package/lib/esm/keycloak/services/KeycloakRoleService.js.map +1 -0
  665. package/lib/esm/keycloak/services/KeycloakService.js +1 -1
  666. package/lib/esm/keycloak/services/KeycloakService.js.map +1 -0
  667. package/lib/esm/keycloak/services/KeycloakUserService.js +1 -1
  668. package/lib/esm/keycloak/services/KeycloakUserService.js.map +1 -0
  669. package/lib/esm/keycloak/services/index.js +1 -1
  670. package/lib/esm/keycloak/services/index.js.map +1 -0
  671. package/lib/esm/keycloak/services/runtime.js +1 -1
  672. package/lib/esm/keycloak/services/runtime.js.map +1 -0
  673. package/lib/esm/keycloak/types.js +1 -1
  674. package/lib/esm/keycloak/types.js.map +1 -0
  675. package/lib/esm/kibana/helpers.js +1 -1
  676. package/lib/esm/kibana/helpers.js.map +1 -0
  677. package/lib/esm/kibana/index.js +1 -1
  678. package/lib/esm/kibana/index.js.map +1 -0
  679. package/lib/esm/kibana/services/KibanaAuthService.js +1 -1
  680. package/lib/esm/kibana/services/KibanaAuthService.js.map +1 -0
  681. package/lib/esm/kibana/services/KibanaDashboardService.js +1 -1
  682. package/lib/esm/kibana/services/KibanaDashboardService.js.map +1 -0
  683. package/lib/esm/kibana/services/KibanaDataViewService.js +1 -1
  684. package/lib/esm/kibana/services/KibanaDataViewService.js.map +1 -0
  685. package/lib/esm/kibana/services/KibanaRoleService.js +1 -1
  686. package/lib/esm/kibana/services/KibanaRoleService.js.map +1 -0
  687. package/lib/esm/kibana/services/KibanaService.js +1 -1
  688. package/lib/esm/kibana/services/KibanaService.js.map +1 -0
  689. package/lib/esm/kibana/services/KibanaSpaceService.js +1 -1
  690. package/lib/esm/kibana/services/KibanaSpaceService.js.map +1 -0
  691. package/lib/esm/kibana/services/KibanaUserService.js +1 -1
  692. package/lib/esm/kibana/services/KibanaUserService.js.map +1 -0
  693. package/lib/esm/kibana/services/index.js +1 -1
  694. package/lib/esm/kibana/services/index.js.map +1 -0
  695. package/lib/esm/kibana/services/runtime.js +1 -1
  696. package/lib/esm/kibana/services/runtime.js.map +1 -0
  697. package/lib/esm/kibana/types.js +1 -1
  698. package/lib/esm/kibana/types.js.map +1 -0
  699. package/lib/esm/namespaces/index.js +1 -1
  700. package/lib/esm/namespaces/index.js.map +1 -0
  701. package/lib/esm/namespaces/models/authorization-model.js +1 -1
  702. package/lib/esm/namespaces/models/authorization-model.js.map +1 -0
  703. package/lib/esm/namespaces/models/effective-permission.model.js +3 -3
  704. package/lib/esm/namespaces/models/effective-permission.model.js.map +1 -0
  705. package/lib/esm/namespaces/models/group-membership.model.js +4 -4
  706. package/lib/esm/namespaces/models/group-membership.model.js.map +1 -0
  707. package/lib/esm/namespaces/models/group.model.js +4 -4
  708. package/lib/esm/namespaces/models/group.model.js.map +1 -0
  709. package/lib/esm/namespaces/models/index.js +21 -21
  710. package/lib/esm/namespaces/models/index.js.map +1 -0
  711. package/lib/esm/namespaces/models/inheritance-block.model.js +3 -3
  712. package/lib/esm/namespaces/models/inheritance-block.model.js.map +1 -0
  713. package/lib/esm/namespaces/models/org-unit-closure.model.js +3 -3
  714. package/lib/esm/namespaces/models/org-unit-closure.model.js.map +1 -0
  715. package/lib/esm/namespaces/models/org-unit-membership.model.js +4 -4
  716. package/lib/esm/namespaces/models/org-unit-membership.model.js.map +1 -0
  717. package/lib/esm/namespaces/models/org-unit-profile.model.js +2 -2
  718. package/lib/esm/namespaces/models/org-unit-profile.model.js.map +1 -0
  719. package/lib/esm/namespaces/models/org-unit.model.js +6 -6
  720. package/lib/esm/namespaces/models/org-unit.model.js.map +1 -0
  721. package/lib/esm/namespaces/models/permission.model.js +2 -2
  722. package/lib/esm/namespaces/models/permission.model.js.map +1 -0
  723. package/lib/esm/namespaces/models/principal.model.js +4 -4
  724. package/lib/esm/namespaces/models/principal.model.js.map +1 -0
  725. package/lib/esm/namespaces/models/protected-resource.model.js +5 -5
  726. package/lib/esm/namespaces/models/protected-resource.model.js.map +1 -0
  727. package/lib/esm/namespaces/models/resource-grant.model.js +4 -4
  728. package/lib/esm/namespaces/models/resource-grant.model.js.map +1 -0
  729. package/lib/esm/namespaces/models/role-assignment.model.js +4 -4
  730. package/lib/esm/namespaces/models/role-assignment.model.js.map +1 -0
  731. package/lib/esm/namespaces/models/role-permission.model.js +3 -3
  732. package/lib/esm/namespaces/models/role-permission.model.js.map +1 -0
  733. package/lib/esm/namespaces/models/role.model.js +4 -4
  734. package/lib/esm/namespaces/models/role.model.js.map +1 -0
  735. package/lib/esm/namespaces/models/storage-binding.model.js +2 -2
  736. package/lib/esm/namespaces/models/storage-binding.model.js.map +1 -0
  737. package/lib/esm/namespaces/models/tenant-membership.model.js +3 -3
  738. package/lib/esm/namespaces/models/tenant-membership.model.js.map +1 -0
  739. package/lib/esm/namespaces/models/tenant-profile.model.js +2 -2
  740. package/lib/esm/namespaces/models/tenant-profile.model.js.map +1 -0
  741. package/lib/esm/namespaces/models/tenant.model.js +7 -7
  742. package/lib/esm/namespaces/models/tenant.model.js.map +1 -0
  743. package/lib/esm/namespaces/models/user.model.js +3 -3
  744. package/lib/esm/namespaces/models/user.model.js.map +1 -0
  745. package/lib/esm/namespaces/org-based-authorization-system.js +10 -4
  746. package/lib/esm/namespaces/org-based-authorization-system.js.map +1 -0
  747. package/lib/esm/namespaces/org-based-authorization-system.models.js +1 -1
  748. package/lib/esm/namespaces/org-based-authorization-system.models.js.map +1 -0
  749. package/lib/esm/namespaces/org-based-authorization-system.services.js +19 -10
  750. package/lib/esm/namespaces/org-based-authorization-system.services.js.map +1 -0
  751. package/lib/esm/namespaces/services/authz.service.js +40 -14
  752. package/lib/esm/namespaces/services/authz.service.js.map +1 -0
  753. package/lib/esm/namespaces/services/bootstrap.service.js +13 -13
  754. package/lib/esm/namespaces/services/bootstrap.service.js.map +1 -0
  755. package/lib/esm/namespaces/services/effective-permission.service.js +9 -9
  756. package/lib/esm/namespaces/services/effective-permission.service.js.map +1 -0
  757. package/lib/esm/namespaces/services/group-membership.service.js +3 -3
  758. package/lib/esm/namespaces/services/group-membership.service.js.map +1 -0
  759. package/lib/esm/namespaces/services/group.service.js +2 -2
  760. package/lib/esm/namespaces/services/group.service.js.map +1 -0
  761. package/lib/esm/namespaces/services/index.js +25 -25
  762. package/lib/esm/namespaces/services/index.js.map +1 -0
  763. package/lib/esm/namespaces/services/inheritance-block.service.js +6 -4
  764. package/lib/esm/namespaces/services/inheritance-block.service.js.map +1 -0
  765. package/lib/esm/namespaces/services/org-unit-closure.service.js +17 -8
  766. package/lib/esm/namespaces/services/org-unit-closure.service.js.map +1 -0
  767. package/lib/esm/namespaces/services/org-unit-membership.service.js +2 -2
  768. package/lib/esm/namespaces/services/org-unit-membership.service.js.map +1 -0
  769. package/lib/esm/namespaces/services/org-unit-profile.service.js +2 -2
  770. package/lib/esm/namespaces/services/org-unit-profile.service.js.map +1 -0
  771. package/lib/esm/namespaces/services/org-unit.service.js +4 -4
  772. package/lib/esm/namespaces/services/org-unit.service.js.map +1 -0
  773. package/lib/esm/namespaces/services/permission.service.js +2 -2
  774. package/lib/esm/namespaces/services/permission.service.js.map +1 -0
  775. package/lib/esm/namespaces/services/principal.service.js +2 -2
  776. package/lib/esm/namespaces/services/principal.service.js.map +1 -0
  777. package/lib/esm/namespaces/services/protected-resource.service.js +2 -2
  778. package/lib/esm/namespaces/services/protected-resource.service.js.map +1 -0
  779. package/lib/esm/namespaces/services/resource-grant.service.js +2 -2
  780. package/lib/esm/namespaces/services/resource-grant.service.js.map +1 -0
  781. package/lib/esm/namespaces/services/resource-lifecycle.service.js +3 -3
  782. package/lib/esm/namespaces/services/resource-lifecycle.service.js.map +1 -0
  783. package/lib/esm/namespaces/services/role-assignment.service.js +4 -3
  784. package/lib/esm/namespaces/services/role-assignment.service.js.map +1 -0
  785. package/lib/esm/namespaces/services/role-permission.service.js +4 -4
  786. package/lib/esm/namespaces/services/role-permission.service.js.map +1 -0
  787. package/lib/esm/namespaces/services/role.service.js +2 -2
  788. package/lib/esm/namespaces/services/role.service.js.map +1 -0
  789. package/lib/esm/namespaces/services/storage-binding.service.js +2 -2
  790. package/lib/esm/namespaces/services/storage-binding.service.js.map +1 -0
  791. package/lib/esm/namespaces/services/system-management.service.js +7 -7
  792. package/lib/esm/namespaces/services/system-management.service.js.map +1 -0
  793. package/lib/esm/namespaces/services/tenant-membership.service.js +2 -2
  794. package/lib/esm/namespaces/services/tenant-membership.service.js.map +1 -0
  795. package/lib/esm/namespaces/services/tenant-profile.service.js +2 -2
  796. package/lib/esm/namespaces/services/tenant-profile.service.js.map +1 -0
  797. package/lib/esm/namespaces/services/tenant.service.js +2 -2
  798. package/lib/esm/namespaces/services/tenant.service.js.map +1 -0
  799. package/lib/esm/namespaces/services/user.service.js +2 -2
  800. package/lib/esm/namespaces/services/user.service.js.map +1 -0
  801. package/lib/esm/namespaces/types.js +1 -1
  802. package/lib/esm/namespaces/types.js.map +1 -0
  803. package/lib/esm/namespaces/utils.js +12 -4
  804. package/lib/esm/namespaces/utils.js.map +1 -0
  805. package/lib/esm/nest/authService.js +1 -1
  806. package/lib/esm/nest/authService.js.map +1 -0
  807. package/lib/esm/nest/graph/GraphExecutionController.js +1 -1
  808. package/lib/esm/nest/graph/GraphExecutionController.js.map +1 -0
  809. package/lib/esm/nest/graph/GraphExecutionModule.js +6 -4
  810. package/lib/esm/nest/graph/GraphExecutionModule.js.map +1 -0
  811. package/lib/esm/nest/graph/GraphExecutionResultModel.js +1 -1
  812. package/lib/esm/nest/graph/GraphExecutionResultModel.js.map +1 -0
  813. package/lib/esm/nest/graph/GraphExecutionResultRepository.js +1 -1
  814. package/lib/esm/nest/graph/GraphExecutionResultRepository.js.map +1 -0
  815. package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js +104 -11
  816. package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js.map +1 -0
  817. package/lib/esm/nest/graph/index.js +1 -1
  818. package/lib/esm/nest/graph/index.js.map +1 -0
  819. package/lib/esm/nest/graph/main.js +27 -0
  820. package/lib/esm/nest/graph/main.js.map +1 -0
  821. package/lib/esm/nest/index.js +1 -1
  822. package/lib/esm/nest/index.js.map +1 -0
  823. package/lib/esm/nest/keycloakAuthHandler.js +1 -1
  824. package/lib/esm/nest/keycloakAuthHandler.js.map +1 -0
  825. package/lib/esm/nest/keycloakModule.js +1 -1
  826. package/lib/esm/nest/keycloakModule.js.map +1 -0
  827. package/lib/esm/nest/logging.js +1 -1
  828. package/lib/esm/nest/logging.js.map +1 -0
  829. package/lib/esm/nest/types.js +1 -1
  830. package/lib/esm/nest/types.js.map +1 -0
  831. package/lib/esm/nest/utils.js +1 -1
  832. package/lib/esm/nest/utils.js.map +1 -0
  833. package/lib/esm/secrets/aws/AwsSecretService.js +1 -1
  834. package/lib/esm/secrets/aws/AwsSecretService.js.map +1 -0
  835. package/lib/esm/secrets/aws/AwsSecretServiceConfig.js +1 -1
  836. package/lib/esm/secrets/aws/AwsSecretServiceConfig.js.map +1 -0
  837. package/lib/esm/secrets/aws/index.js +1 -1
  838. package/lib/esm/secrets/aws/index.js.map +1 -0
  839. package/lib/esm/secrets/azure/AzureKeyVaultSecretService.js +1 -1
  840. package/lib/esm/secrets/azure/AzureKeyVaultSecretService.js.map +1 -0
  841. package/lib/esm/secrets/azure/AzureKeyVaultSecretServiceConfig.js +1 -1
  842. package/lib/esm/secrets/azure/AzureKeyVaultSecretServiceConfig.js.map +1 -0
  843. package/lib/esm/secrets/azure/index.js +1 -1
  844. package/lib/esm/secrets/azure/index.js.map +1 -0
  845. package/lib/esm/secrets/core/SecretErrors.js +1 -1
  846. package/lib/esm/secrets/core/SecretErrors.js.map +1 -0
  847. package/lib/esm/secrets/core/SecretName.js +1 -1
  848. package/lib/esm/secrets/core/SecretName.js.map +1 -0
  849. package/lib/esm/secrets/core/SecretReference.js +1 -1
  850. package/lib/esm/secrets/core/SecretReference.js.map +1 -0
  851. package/lib/esm/secrets/core/SecretSerialization.js +1 -1
  852. package/lib/esm/secrets/core/SecretSerialization.js.map +1 -0
  853. package/lib/esm/secrets/core/SecretService.js +1 -1
  854. package/lib/esm/secrets/core/SecretService.js.map +1 -0
  855. package/lib/esm/secrets/core/SecretTypes.js +1 -1
  856. package/lib/esm/secrets/core/SecretTypes.js.map +1 -0
  857. package/lib/esm/secrets/core/index.js +1 -1
  858. package/lib/esm/secrets/core/index.js.map +1 -0
  859. package/lib/esm/secrets/gcp/GcpSecretManagerService.js +1 -1
  860. package/lib/esm/secrets/gcp/GcpSecretManagerService.js.map +1 -0
  861. package/lib/esm/secrets/gcp/GcpSecretManagerServiceConfig.js +1 -1
  862. package/lib/esm/secrets/gcp/GcpSecretManagerServiceConfig.js.map +1 -0
  863. package/lib/esm/secrets/gcp/index.js +1 -1
  864. package/lib/esm/secrets/gcp/index.js.map +1 -0
  865. package/lib/esm/secrets/index.js +1 -1
  866. package/lib/esm/secrets/index.js.map +1 -0
  867. package/lib/esm/secrets/model/ModelSecretCrypto.js +1 -1
  868. package/lib/esm/secrets/model/ModelSecretCrypto.js.map +1 -0
  869. package/lib/esm/secrets/model/ModelSecretService.js +1 -1
  870. package/lib/esm/secrets/model/ModelSecretService.js.map +1 -0
  871. package/lib/esm/secrets/model/ModelSecretServiceConfig.js +1 -1
  872. package/lib/esm/secrets/model/ModelSecretServiceConfig.js.map +1 -0
  873. package/lib/esm/secrets/model/Secret.js +1 -1
  874. package/lib/esm/secrets/model/Secret.js.map +1 -0
  875. package/lib/esm/secrets/model/index.js +1 -1
  876. package/lib/esm/secrets/model/index.js.map +1 -0
  877. package/lib/esm/secrets/onepassword/OnePasswordSecretService.js +1 -1
  878. package/lib/esm/secrets/onepassword/OnePasswordSecretService.js.map +1 -0
  879. package/lib/esm/secrets/onepassword/OnePasswordSecretServiceConfig.js +1 -1
  880. package/lib/esm/secrets/onepassword/OnePasswordSecretServiceConfig.js.map +1 -0
  881. package/lib/esm/secrets/onepassword/index.js +1 -1
  882. package/lib/esm/secrets/onepassword/index.js.map +1 -0
  883. package/lib/esm/secrets/vault/VaultSecretService.js +1 -1
  884. package/lib/esm/secrets/vault/VaultSecretService.js.map +1 -0
  885. package/lib/esm/secrets/vault/VaultSecretServiceConfig.js +1 -1
  886. package/lib/esm/secrets/vault/VaultSecretServiceConfig.js.map +1 -0
  887. package/lib/esm/secrets/vault/index.js +1 -1
  888. package/lib/esm/secrets/vault/index.js.map +1 -0
  889. package/lib/esm/shared/runtime.js +1 -1
  890. package/lib/esm/shared/runtime.js.map +1 -0
  891. package/lib/esm/utils.js +1 -1
  892. package/lib/esm/utils.js.map +1 -0
  893. package/lib/types/graph/engine/execution/CodeGraphNodeExecutor.d.cts +65 -0
  894. package/lib/types/graph/engine/execution/CodeGraphNodeExecutor.d.mts +65 -0
  895. package/lib/types/graph/engine/execution/IsolatedVmCodeSandboxEvaluator.d.cts +45 -0
  896. package/lib/types/graph/engine/execution/IsolatedVmCodeSandboxEvaluator.d.mts +45 -0
  897. package/lib/types/graph/engine/execution/index.d.cts +2 -0
  898. package/lib/types/graph/engine/execution/index.d.mts +2 -0
  899. package/lib/types/graph/engine/index.d.cts +2 -0
  900. package/lib/types/graph/engine/index.d.mts +2 -0
  901. package/lib/types/graph/engine/types.d.cts +6 -34
  902. package/lib/types/graph/engine/types.d.mts +6 -34
  903. package/lib/types/graph/shared/nodes/flow-control.d.cts +7 -6
  904. package/lib/types/graph/shared/nodes/flow-control.d.mts +7 -6
  905. package/lib/types/graph/shared/types.d.cts +43 -2
  906. package/lib/types/graph/shared/types.d.mts +43 -2
  907. package/lib/types/index.d.cts +2 -2
  908. package/lib/types/index.d.mts +2 -2
  909. package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.cts +40 -5
  910. package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.mts +40 -5
  911. package/lib/types/nest/graph/main.d.cts +1 -0
  912. package/lib/types/nest/graph/main.d.mts +1 -0
  913. package/package.json +10 -6
@@ -0,0 +1,65 @@
1
+ /**
2
+ * @module integrations/graph/execution/CodeGraphNodeExecutor
3
+ * @summary Executor for the Code flow-control node (DECAF-32 §22.4, DECAF-34 §7.5).
4
+ * @description Executes user-authored JS/TS in a restricted sandbox via the
5
+ * pluggable {@link CodeSandboxEvaluator}. The sandbox enforces the Code Node
6
+ * restrictions: no imports, no requires, pure functions only (no system API
7
+ * access). The executor reads the code, language, and timeout from the node's
8
+ * graph metadata, resolves the sandbox context from the node's input values
9
+ * and execution context, invokes the evaluator, and returns the result on the
10
+ * `result` output port.
11
+ */
12
+ import type { GraphNodeExecutor } from "./GraphNodeExecutor.d.cts";
13
+ import type { GraphExecutionContext } from "./GraphExecutionContext.d.cts";
14
+ import type { CodeSandboxEvaluator } from "./CodeSandboxEvaluator.d.cts";
15
+ import type { GraphExecutionValues } from "../types.d.cts";
16
+ /**
17
+ * Executor for `core.flow.code` nodes.
18
+ *
19
+ * The Code Node runs user-authored JS/TS in a restricted sandbox. The engine
20
+ * does not implement the sandbox directly (§22.4); instead it delegates to the
21
+ * pluggable {@link CodeSandboxEvaluator} registered on the engine config. When
22
+ * no evaluator is registered, the executor throws
23
+ * `GRAPH_CODE_SANDBOX_NOT_CONFIGURED`.
24
+ *
25
+ * The sandbox context exposes:
26
+ * - `$input` — the value on the node's `input` port (or the full input object
27
+ * as a fallback when no `input` port is present).
28
+ * - `$vars` — workflow variables (sourced from `context.metadata.vars` when
29
+ * the engine populates it).
30
+ * - `$item` / `$index` — current loop item and index (sourced from
31
+ * `context.metadata` when the node executes inside a foreach body).
32
+ * - `$node` — outputs of upstream nodes (sourced from
33
+ * `context.metadata.nodes` when available).
34
+ * - `$output` — the current draft output (sourced from
35
+ * `context.metadata.output`).
36
+ *
37
+ * The evaluator's return value is forwarded verbatim on the `result` output
38
+ * port.
39
+ */
40
+ export declare class CodeGraphNodeExecutor implements GraphNodeExecutor {
41
+ private readonly engine?;
42
+ /**
43
+ * @param engine - The graph execution engine (or any object exposing the
44
+ * optional `codeSandboxEvaluator`). This mirrors the pattern used by
45
+ * {@link SwitchGraphNodeExecutor} for code conditions.
46
+ */
47
+ constructor(engine?: {
48
+ codeSandboxEvaluator?: CodeSandboxEvaluator;
49
+ } | undefined);
50
+ execute(input: GraphExecutionValues, context: GraphExecutionContext): Promise<GraphExecutionValues>;
51
+ /**
52
+ * Builds the {@link CodeSandboxContext} from the executor input and the
53
+ * graph execution context.
54
+ *
55
+ * The `$input` value is resolved from the node's `input` port. When the node
56
+ * has no explicit `input` port, the full input values object is used as
57
+ * `$input` so the code can still access every resolved port value.
58
+ *
59
+ * The `$vars`, `$item`, `$index`, `$node`, and `$output` values are sourced
60
+ * from `context.metadata` — the engine (or a wrapping loop executor) may
61
+ * populate these when the Code node runs inside a loop body or a workflow
62
+ * with variables.
63
+ */
64
+ private buildSandboxContext;
65
+ }
@@ -0,0 +1,65 @@
1
+ /**
2
+ * @module integrations/graph/execution/CodeGraphNodeExecutor
3
+ * @summary Executor for the Code flow-control node (DECAF-32 §22.4, DECAF-34 §7.5).
4
+ * @description Executes user-authored JS/TS in a restricted sandbox via the
5
+ * pluggable {@link CodeSandboxEvaluator}. The sandbox enforces the Code Node
6
+ * restrictions: no imports, no requires, pure functions only (no system API
7
+ * access). The executor reads the code, language, and timeout from the node's
8
+ * graph metadata, resolves the sandbox context from the node's input values
9
+ * and execution context, invokes the evaluator, and returns the result on the
10
+ * `result` output port.
11
+ */
12
+ import type { GraphNodeExecutor } from "./GraphNodeExecutor.d.mts";
13
+ import type { GraphExecutionContext } from "./GraphExecutionContext.d.mts";
14
+ import type { CodeSandboxEvaluator } from "./CodeSandboxEvaluator.d.mts";
15
+ import type { GraphExecutionValues } from "../types.d.mts";
16
+ /**
17
+ * Executor for `core.flow.code` nodes.
18
+ *
19
+ * The Code Node runs user-authored JS/TS in a restricted sandbox. The engine
20
+ * does not implement the sandbox directly (§22.4); instead it delegates to the
21
+ * pluggable {@link CodeSandboxEvaluator} registered on the engine config. When
22
+ * no evaluator is registered, the executor throws
23
+ * `GRAPH_CODE_SANDBOX_NOT_CONFIGURED`.
24
+ *
25
+ * The sandbox context exposes:
26
+ * - `$input` — the value on the node's `input` port (or the full input object
27
+ * as a fallback when no `input` port is present).
28
+ * - `$vars` — workflow variables (sourced from `context.metadata.vars` when
29
+ * the engine populates it).
30
+ * - `$item` / `$index` — current loop item and index (sourced from
31
+ * `context.metadata` when the node executes inside a foreach body).
32
+ * - `$node` — outputs of upstream nodes (sourced from
33
+ * `context.metadata.nodes` when available).
34
+ * - `$output` — the current draft output (sourced from
35
+ * `context.metadata.output`).
36
+ *
37
+ * The evaluator's return value is forwarded verbatim on the `result` output
38
+ * port.
39
+ */
40
+ export declare class CodeGraphNodeExecutor implements GraphNodeExecutor {
41
+ private readonly engine?;
42
+ /**
43
+ * @param engine - The graph execution engine (or any object exposing the
44
+ * optional `codeSandboxEvaluator`). This mirrors the pattern used by
45
+ * {@link SwitchGraphNodeExecutor} for code conditions.
46
+ */
47
+ constructor(engine?: {
48
+ codeSandboxEvaluator?: CodeSandboxEvaluator;
49
+ } | undefined);
50
+ execute(input: GraphExecutionValues, context: GraphExecutionContext): Promise<GraphExecutionValues>;
51
+ /**
52
+ * Builds the {@link CodeSandboxContext} from the executor input and the
53
+ * graph execution context.
54
+ *
55
+ * The `$input` value is resolved from the node's `input` port. When the node
56
+ * has no explicit `input` port, the full input values object is used as
57
+ * `$input` so the code can still access every resolved port value.
58
+ *
59
+ * The `$vars`, `$item`, `$index`, `$node`, and `$output` values are sourced
60
+ * from `context.metadata` — the engine (or a wrapping loop executor) may
61
+ * populate these when the Code node runs inside a loop body or a workflow
62
+ * with variables.
63
+ */
64
+ private buildSandboxContext;
65
+ }
@@ -0,0 +1,45 @@
1
+ import type { CodeSandboxEvaluator, CodeSandboxContext } from "./CodeSandboxEvaluator.d.cts";
2
+ /**
3
+ * `isolated-vm`-backed {@link CodeSandboxEvaluator} (ALFRED-5 §7.18).
4
+ *
5
+ * This evaluator provides a truly isolated V8 sandbox — the code runs in a
6
+ * separate isolate with its own heap, separate from the host process. The
7
+ * sandbox context exposes only the data variables (`$input`, `$vars`, `$item`,
8
+ * `$index`, `$node`, `$output`); no host globals are available.
9
+ *
10
+ * Execution pipeline:
11
+ * 1. **Transpile** — TypeScript code is transpiled to JavaScript via
12
+ * `typescript.transpileModule` (ALFRED-5 §7.4).
13
+ * 2. **Validate** — the JavaScript code is parsed with `acorn` and walked with
14
+ * `acorn-walk` to reject imports, exports, blocked identifiers, `eval()`,
15
+ * and `new Function()` (ALFRED-5 §7.11).
16
+ * 3. **Isolate** — a new `isolated-vm` `Isolate` is created with a memory
17
+ * limit. A context is created and the data variables are copied into the
18
+ * isolate's heap via `ExternalCopy`.
19
+ * 4. **Compile & run** — the wrapped code is compiled and executed with a
20
+ * timeout. The result is copied back to the host heap.
21
+ * 5. **Dispose** — the isolate is always disposed in a `finally` block.
22
+ *
23
+ * The user code is wrapped in a strict-mode async function:
24
+ *
25
+ * ```js
26
+ * "use strict";
27
+ * async function __userFunction($input, $vars, $item, $index, $node, $output) {
28
+ * <user code>
29
+ * }
30
+ * __userFunction($input, $vars, $item, $index, $node, $output);
31
+ * ```
32
+ *
33
+ * When the code has no `return` statement it is treated as a single expression
34
+ * and wrapped in `return (...)`.
35
+ */
36
+ export declare class IsolatedVmCodeSandboxEvaluator implements CodeSandboxEvaluator {
37
+ private readonly defaultTimeoutMs;
38
+ private readonly defaultMemoryMb;
39
+ /**
40
+ * @param defaultTimeoutMs - Default execution timeout in milliseconds.
41
+ * @param defaultMemoryMb - Default isolate memory limit in MB.
42
+ */
43
+ constructor(defaultTimeoutMs?: number, defaultMemoryMb?: number);
44
+ evaluate(ctx: CodeSandboxContext): Promise<unknown>;
45
+ }
@@ -0,0 +1,45 @@
1
+ import type { CodeSandboxEvaluator, CodeSandboxContext } from "./CodeSandboxEvaluator.d.mts";
2
+ /**
3
+ * `isolated-vm`-backed {@link CodeSandboxEvaluator} (ALFRED-5 §7.18).
4
+ *
5
+ * This evaluator provides a truly isolated V8 sandbox — the code runs in a
6
+ * separate isolate with its own heap, separate from the host process. The
7
+ * sandbox context exposes only the data variables (`$input`, `$vars`, `$item`,
8
+ * `$index`, `$node`, `$output`); no host globals are available.
9
+ *
10
+ * Execution pipeline:
11
+ * 1. **Transpile** — TypeScript code is transpiled to JavaScript via
12
+ * `typescript.transpileModule` (ALFRED-5 §7.4).
13
+ * 2. **Validate** — the JavaScript code is parsed with `acorn` and walked with
14
+ * `acorn-walk` to reject imports, exports, blocked identifiers, `eval()`,
15
+ * and `new Function()` (ALFRED-5 §7.11).
16
+ * 3. **Isolate** — a new `isolated-vm` `Isolate` is created with a memory
17
+ * limit. A context is created and the data variables are copied into the
18
+ * isolate's heap via `ExternalCopy`.
19
+ * 4. **Compile & run** — the wrapped code is compiled and executed with a
20
+ * timeout. The result is copied back to the host heap.
21
+ * 5. **Dispose** — the isolate is always disposed in a `finally` block.
22
+ *
23
+ * The user code is wrapped in a strict-mode async function:
24
+ *
25
+ * ```js
26
+ * "use strict";
27
+ * async function __userFunction($input, $vars, $item, $index, $node, $output) {
28
+ * <user code>
29
+ * }
30
+ * __userFunction($input, $vars, $item, $index, $node, $output);
31
+ * ```
32
+ *
33
+ * When the code has no `return` statement it is treated as a single expression
34
+ * and wrapped in `return (...)`.
35
+ */
36
+ export declare class IsolatedVmCodeSandboxEvaluator implements CodeSandboxEvaluator {
37
+ private readonly defaultTimeoutMs;
38
+ private readonly defaultMemoryMb;
39
+ /**
40
+ * @param defaultTimeoutMs - Default execution timeout in milliseconds.
41
+ * @param defaultMemoryMb - Default isolate memory limit in MB.
42
+ */
43
+ constructor(defaultTimeoutMs?: number, defaultMemoryMb?: number);
44
+ evaluate(ctx: CodeSandboxContext): Promise<unknown>;
45
+ }
@@ -10,3 +10,5 @@ export * from "./GraphExecutionFrame.d.cts";
10
10
  export * from "./GraphExecutionEngine.d.cts";
11
11
  export * from "./CodeSandboxEvaluator.d.cts";
12
12
  export * from "./SwitchGraphNodeExecutor.d.cts";
13
+ export * from "./CodeGraphNodeExecutor.d.cts";
14
+ export * from "./IsolatedVmCodeSandboxEvaluator.d.cts";
@@ -10,3 +10,5 @@ export * from "./GraphExecutionFrame.d.mts";
10
10
  export * from "./GraphExecutionEngine.d.mts";
11
11
  export * from "./CodeSandboxEvaluator.d.mts";
12
12
  export * from "./SwitchGraphNodeExecutor.d.mts";
13
+ export * from "./CodeGraphNodeExecutor.d.mts";
14
+ export * from "./IsolatedVmCodeSandboxEvaluator.d.mts";
@@ -31,6 +31,8 @@ export * from "./execution/GraphExecutionResult.d.cts";
31
31
  export * from "./execution/GraphExecutionEngine.d.cts";
32
32
  export * from "./execution/CodeSandboxEvaluator.d.cts";
33
33
  export * from "./execution/SwitchGraphNodeExecutor.d.cts";
34
+ export * from "./execution/CodeGraphNodeExecutor.d.cts";
35
+ export * from "./execution/IsolatedVmCodeSandboxEvaluator.d.cts";
34
36
  export * from "./registry/GraphNodeExecutorRegistry.d.cts";
35
37
  export * from "./registry/GraphNodeExecutorResolver.d.cts";
36
38
  export * from "./store/GraphValueKey.d.cts";
@@ -31,6 +31,8 @@ export * from "./execution/GraphExecutionResult.d.mts";
31
31
  export * from "./execution/GraphExecutionEngine.d.mts";
32
32
  export * from "./execution/CodeSandboxEvaluator.d.mts";
33
33
  export * from "./execution/SwitchGraphNodeExecutor.d.mts";
34
+ export * from "./execution/CodeGraphNodeExecutor.d.mts";
35
+ export * from "./execution/IsolatedVmCodeSandboxEvaluator.d.mts";
34
36
  export * from "./registry/GraphNodeExecutorRegistry.d.mts";
35
37
  export * from "./registry/GraphNodeExecutorResolver.d.mts";
36
38
  export * from "./store/GraphValueKey.d.mts";
@@ -4,11 +4,14 @@
4
4
  * @description Engine-private type aliases and interfaces. Frontend-safe
5
5
  * types (`ExprValue`, `ConditionExpression`, `CodeCondition`,
6
6
  * `SwitchCaseCondition`, `SwitchCase`, `SwitchNodeMetadata`,
7
- * `NodeMetadataChange`) live in `../shared/types`; engine modules import
8
- * shared symbols from there and engine-private symbols from here.
7
+ * `NodeMetadataChange`, `GraphExecutionEvent`, `GraphExecutionErrorPayload`)
8
+ * live in `../shared/types`; engine modules import shared symbols from there
9
+ * and engine-private symbols from here.
9
10
  */
10
11
  import type { GraphNodeDefinition, GraphWorkflowDefinition } from "@decaf-ts/ui-decorators/graph";
11
- import type { GraphExecutionEventType, GraphExecutionStatus } from "../shared/constants.d.cts";
12
+ import type { GraphExecutionStatus } from "../shared/constants.d.cts";
13
+ import type { GraphExecutionErrorPayload, GraphExecutionEvent } from "../shared/types.d.cts";
14
+ export type { GraphExecutionErrorPayload, GraphExecutionEvent, } from "../shared/types.d.cts";
12
15
  /**
13
16
  * Unique identifier for a single graph execution run.
14
17
  */
@@ -47,37 +50,6 @@ export interface GraphExecutionOptions {
47
50
  writeThroughCache?: boolean;
48
51
  metadata?: Record<string, unknown>;
49
52
  }
50
- /**
51
- * Serialized error payload included in execution events and results.
52
- */
53
- export interface GraphExecutionErrorPayload {
54
- name: string;
55
- message: string;
56
- stack?: string;
57
- code?: string;
58
- details?: unknown;
59
- }
60
- /**
61
- * A single event emitted during graph execution.
62
- */
63
- export interface GraphExecutionEvent {
64
- id: string;
65
- sequence: number;
66
- runId: GraphRunId;
67
- parentRunId?: GraphRunId;
68
- workflowId: GraphWorkflowId;
69
- type: GraphExecutionEventType;
70
- timestamp: Date;
71
- nodeId?: GraphNodeId;
72
- edgeId?: string;
73
- port?: GraphPortName;
74
- iteration?: number;
75
- path: string[];
76
- status?: GraphExecutionStatus;
77
- payload?: unknown;
78
- error?: GraphExecutionErrorPayload;
79
- metadata?: Record<string, unknown>;
80
- }
81
53
  /**
82
54
  * Result of executing a single node.
83
55
  */
@@ -4,11 +4,14 @@
4
4
  * @description Engine-private type aliases and interfaces. Frontend-safe
5
5
  * types (`ExprValue`, `ConditionExpression`, `CodeCondition`,
6
6
  * `SwitchCaseCondition`, `SwitchCase`, `SwitchNodeMetadata`,
7
- * `NodeMetadataChange`) live in `../shared/types`; engine modules import
8
- * shared symbols from there and engine-private symbols from here.
7
+ * `NodeMetadataChange`, `GraphExecutionEvent`, `GraphExecutionErrorPayload`)
8
+ * live in `../shared/types`; engine modules import shared symbols from there
9
+ * and engine-private symbols from here.
9
10
  */
10
11
  import type { GraphNodeDefinition, GraphWorkflowDefinition } from "@decaf-ts/ui-decorators/graph";
11
- import type { GraphExecutionEventType, GraphExecutionStatus } from "../shared/constants.d.mts";
12
+ import type { GraphExecutionStatus } from "../shared/constants.d.mts";
13
+ import type { GraphExecutionErrorPayload, GraphExecutionEvent } from "../shared/types.d.mts";
14
+ export type { GraphExecutionErrorPayload, GraphExecutionEvent, } from "../shared/types.d.mts";
12
15
  /**
13
16
  * Unique identifier for a single graph execution run.
14
17
  */
@@ -47,37 +50,6 @@ export interface GraphExecutionOptions {
47
50
  writeThroughCache?: boolean;
48
51
  metadata?: Record<string, unknown>;
49
52
  }
50
- /**
51
- * Serialized error payload included in execution events and results.
52
- */
53
- export interface GraphExecutionErrorPayload {
54
- name: string;
55
- message: string;
56
- stack?: string;
57
- code?: string;
58
- details?: unknown;
59
- }
60
- /**
61
- * A single event emitted during graph execution.
62
- */
63
- export interface GraphExecutionEvent {
64
- id: string;
65
- sequence: number;
66
- runId: GraphRunId;
67
- parentRunId?: GraphRunId;
68
- workflowId: GraphWorkflowId;
69
- type: GraphExecutionEventType;
70
- timestamp: Date;
71
- nodeId?: GraphNodeId;
72
- edgeId?: string;
73
- port?: GraphPortName;
74
- iteration?: number;
75
- path: string[];
76
- status?: GraphExecutionStatus;
77
- payload?: unknown;
78
- error?: GraphExecutionErrorPayload;
79
- metadata?: Record<string, unknown>;
80
- }
81
53
  /**
82
54
  * Result of executing a single node.
83
55
  */
@@ -94,13 +94,14 @@ export declare class ReturnFlowNode extends Model {
94
94
  result: unknown;
95
95
  }
96
96
  /**
97
- * Code — sandboxed JS/TS code execution (ALFRED-5 §7).
97
+ * Code — sandboxed JS/TS code execution (ALFRED-5 §7, DECAF-32 §22.4).
98
98
  *
99
- * The engine does not implement the sandbox directly (§22.4). A future
100
- * executor may wrap the `CodeSandbox` contract (ALFRED-5 §7.17) as a
101
- * pluggable executor. The placeholder syntax (`{{ $input }}`, `{{ $item }}`,
102
- * `{{ $index }}`, `{{ $vars }}`, `{{ $node["Name"].output }}`) is Mastra-
103
- * agnostic and lives in the downstream project's `modules/core` (ALFRED-6).
99
+ * The engine's {@link CodeGraphNodeExecutor} delegates to the pluggable
100
+ * {@link CodeSandboxEvaluator}. The default
101
+ * `IsolatedVmCodeSandboxEvaluator` (backed by `isolated-vm`) enforces the
102
+ * Code Node restrictions: no imports, no requires, pure functions only. The
103
+ * sandbox context exposes `$input`, `$vars`, `$item`, `$index`, `$node`, and
104
+ * `$output` as data variables. TypeScript is supported via transpilation.
104
105
  */
105
106
  export declare class CodeFlowNode extends Model {
106
107
  input: unknown;
@@ -94,13 +94,14 @@ export declare class ReturnFlowNode extends Model {
94
94
  result: unknown;
95
95
  }
96
96
  /**
97
- * Code — sandboxed JS/TS code execution (ALFRED-5 §7).
97
+ * Code — sandboxed JS/TS code execution (ALFRED-5 §7, DECAF-32 §22.4).
98
98
  *
99
- * The engine does not implement the sandbox directly (§22.4). A future
100
- * executor may wrap the `CodeSandbox` contract (ALFRED-5 §7.17) as a
101
- * pluggable executor. The placeholder syntax (`{{ $input }}`, `{{ $item }}`,
102
- * `{{ $index }}`, `{{ $vars }}`, `{{ $node["Name"].output }}`) is Mastra-
103
- * agnostic and lives in the downstream project's `modules/core` (ALFRED-6).
99
+ * The engine's {@link CodeGraphNodeExecutor} delegates to the pluggable
100
+ * {@link CodeSandboxEvaluator}. The default
101
+ * `IsolatedVmCodeSandboxEvaluator` (backed by `isolated-vm`) enforces the
102
+ * Code Node restrictions: no imports, no requires, pure functions only. The
103
+ * sandbox context exposes `$input`, `$vars`, `$item`, `$index`, `$node`, and
104
+ * `$output` as data variables. TypeScript is supported via transpilation.
104
105
  */
105
106
  export declare class CodeFlowNode extends Model {
106
107
  input: unknown;
@@ -3,10 +3,12 @@
3
3
  * @summary Frontend-safe graph type declarations.
4
4
  * @description Type aliases and interfaces that are safe to import from a
5
5
  * frontend bundle. These types describe declarative graph metadata (loop
6
- * condition DSL, switch cases, node metadata patches) consumed by the
7
- * renderer and the node CRUD screens — no engine runtime dependency.
6
+ * condition DSL, switch cases, node metadata patches) and the execution-event
7
+ * data contract consumed by the frontend via SSE — no engine runtime
8
+ * dependency.
8
9
  */
9
10
  import type { GraphPortDefinition } from "@decaf-ts/ui-decorators/graph";
11
+ import type { GraphExecutionEventType, GraphExecutionStatus } from "./constants.d.cts";
10
12
  /**
11
13
  * A value reference inside a {@link ConditionExpression}.
12
14
  *
@@ -119,3 +121,42 @@ export interface NodeMetadataChange {
119
121
  };
120
122
  dataPatch: Record<string, unknown>;
121
123
  }
124
+ /**
125
+ * Serialized error payload included in execution events and results.
126
+ *
127
+ * Frontend-safe: the frontend receives this over SSE when a node or workflow
128
+ * fails and needs to render the error details.
129
+ */
130
+ export interface GraphExecutionErrorPayload {
131
+ name: string;
132
+ message: string;
133
+ stack?: string;
134
+ code?: string;
135
+ details?: unknown;
136
+ }
137
+ /**
138
+ * A single event emitted during graph execution.
139
+ *
140
+ * Frontend-safe: the frontend consumes these events over the SSE endpoint
141
+ * (`GET /graph/events`) and maps them to UI state updates via
142
+ * `GraphExecutionStateMapper`. The `timestamp` is serialised as an ISO string
143
+ * over the wire; the frontend deserialises it back to a `Date` when mapping.
144
+ */
145
+ export interface GraphExecutionEvent {
146
+ id: string;
147
+ sequence: number;
148
+ runId: string;
149
+ parentRunId?: string;
150
+ workflowId: string;
151
+ type: GraphExecutionEventType;
152
+ timestamp: Date;
153
+ nodeId?: string;
154
+ edgeId?: string;
155
+ port?: string;
156
+ iteration?: number;
157
+ path: string[];
158
+ status?: GraphExecutionStatus;
159
+ payload?: unknown;
160
+ error?: GraphExecutionErrorPayload;
161
+ metadata?: Record<string, unknown>;
162
+ }
@@ -3,10 +3,12 @@
3
3
  * @summary Frontend-safe graph type declarations.
4
4
  * @description Type aliases and interfaces that are safe to import from a
5
5
  * frontend bundle. These types describe declarative graph metadata (loop
6
- * condition DSL, switch cases, node metadata patches) consumed by the
7
- * renderer and the node CRUD screens — no engine runtime dependency.
6
+ * condition DSL, switch cases, node metadata patches) and the execution-event
7
+ * data contract consumed by the frontend via SSE — no engine runtime
8
+ * dependency.
8
9
  */
9
10
  import type { GraphPortDefinition } from "@decaf-ts/ui-decorators/graph";
11
+ import type { GraphExecutionEventType, GraphExecutionStatus } from "./constants.d.mts";
10
12
  /**
11
13
  * A value reference inside a {@link ConditionExpression}.
12
14
  *
@@ -119,3 +121,42 @@ export interface NodeMetadataChange {
119
121
  };
120
122
  dataPatch: Record<string, unknown>;
121
123
  }
124
+ /**
125
+ * Serialized error payload included in execution events and results.
126
+ *
127
+ * Frontend-safe: the frontend receives this over SSE when a node or workflow
128
+ * fails and needs to render the error details.
129
+ */
130
+ export interface GraphExecutionErrorPayload {
131
+ name: string;
132
+ message: string;
133
+ stack?: string;
134
+ code?: string;
135
+ details?: unknown;
136
+ }
137
+ /**
138
+ * A single event emitted during graph execution.
139
+ *
140
+ * Frontend-safe: the frontend consumes these events over the SSE endpoint
141
+ * (`GET /graph/events`) and maps them to UI state updates via
142
+ * `GraphExecutionStateMapper`. The `timestamp` is serialised as an ISO string
143
+ * over the wire; the frontend deserialises it back to a `Date` when mapping.
144
+ */
145
+ export interface GraphExecutionEvent {
146
+ id: string;
147
+ sequence: number;
148
+ runId: string;
149
+ parentRunId?: string;
150
+ workflowId: string;
151
+ type: GraphExecutionEventType;
152
+ timestamp: Date;
153
+ nodeId?: string;
154
+ edgeId?: string;
155
+ port?: string;
156
+ iteration?: number;
157
+ path: string[];
158
+ status?: GraphExecutionStatus;
159
+ payload?: unknown;
160
+ error?: GraphExecutionErrorPayload;
161
+ metadata?: Record<string, unknown>;
162
+ }
@@ -6,6 +6,6 @@
6
6
  export * from "./utils.d.cts";
7
7
  export * from "./namespaces/index.d.cts";
8
8
  export declare const VERSION: string;
9
- export declare const COMMIT = "3e877de";
10
- export declare const FULL_VERSION = "0.3.8-3e877de";
9
+ export declare const COMMIT = "857014d";
10
+ export declare const FULL_VERSION = "0.3.10-857014d";
11
11
  export declare const PACKAGE_NAME: string;
@@ -6,6 +6,6 @@
6
6
  export * from "./utils.d.mts";
7
7
  export * from "./namespaces/index.d.mts";
8
8
  export declare const VERSION: string;
9
- export declare const COMMIT = "3e877de";
10
- export declare const FULL_VERSION = "0.3.8-3e877de";
9
+ export declare const COMMIT = "857014d";
10
+ export declare const FULL_VERSION = "0.3.10-857014d";
11
11
  export declare const PACKAGE_NAME: string;
@@ -1,17 +1,52 @@
1
1
  /**
2
2
  * @module integrations/nest/graph/GraphExecutorRegistryFactory
3
3
  * @summary Factory that builds a populated {@link GraphNodeExecutorRegistry}.
4
- * @description Creates a registry pre-loaded with the demo executors (`math.add`, `math.multiply`) used by the graph execution backend's sample workflows. Additional executors can be registered on the returned registry before it is handed to the {@link GraphExecutionEngine}.
4
+ * @description Creates a registry pre-loaded with the demo executors used by
5
+ * the graph execution backend's sample workflows. The executors cover the
6
+ * publishing-workflow node tags, the flow-control kinds, the agent kind, and
7
+ * the loop kinds. Additional executors can be registered on the returned
8
+ * registry before it is handed to the {@link GraphExecutionEngine}.
5
9
  */
6
- import { GraphNodeExecutorRegistry } from "../../graph/index.d.cts";
7
- import type { GraphNodeExecutor } from "../../graph/index.d.cts";
10
+ import { GraphNodeExecutorRegistry, GraphExecutionEngine, type GraphNodeExecutor, IsolatedVmCodeSandboxEvaluator } from "../../graph/index.d.cts";
8
11
  /**
9
12
  * Builds a {@link GraphNodeExecutorRegistry} populated with the demo executors.
10
13
  *
14
+ * Executors are registered by **node kind** (the same key the engine uses to
15
+ * resolve executors at runtime). The for-angular demo nodes use the kind as
16
+ * their tag, so the same key works for both dispatch-by-kind and
17
+ * dispatch-by-tag.
18
+ *
11
19
  * Registered kinds:
12
- * - `math.add` — sums `a` and `b` into `sum`.
13
- * - `math.multiply` — multiplies `x` by 2 into `product`.
20
+ * - `math.add`, `math.multiply` — arithmetic demo executors.
21
+ * - `graph-intake-workflow`, `graph-planning-pipeline`, `graph-draft-node`,
22
+ * `graph-review-node`, `graph-publish-workflow` — publishing workflow demo.
23
+ * - `core.flow.*` — flow-control kinds (map, delay, return, merge, if, switch,
24
+ * parallel, errorBoundary, humanApproval). The `core.flow.code` kind is
25
+ * registered in `onEngineCreated` via the real {@link CodeGraphNodeExecutor}
26
+ * because it needs the engine's `codeSandboxEvaluator`.
27
+ * - `core.agent` — agent node.
28
+ * - `core.loop.foreach`, `core.loop.while`, `core.loop.until` — loop executors
29
+ * (registered after the engine is created via `onEngineCreated`).
14
30
  *
31
+ * @param extra - Additional executors to merge into the registry.
15
32
  * @returns A populated registry ready for use with {@link GraphExecutionEngine}.
16
33
  */
17
34
  export declare function createGraphExecutorRegistry(extra?: Record<string, GraphNodeExecutor>): GraphNodeExecutorRegistry;
35
+ /**
36
+ * Builds a {@link GraphExecutionEngineConfig} populated with all demo executors
37
+ * including loop executors that need a back-reference to the engine and the
38
+ * Code node executor that needs the engine's `codeSandboxEvaluator`.
39
+ *
40
+ * The config wires an {@link IsolatedVmCodeSandboxEvaluator} (backed by
41
+ * `isolated-vm`) so the Code Node runs in a truly isolated V8 sandbox.
42
+ *
43
+ * @returns A config object ready for `new GraphExecutionEngine(config)`.
44
+ */
45
+ export declare function createDemoEngineConfig(): {
46
+ registry: GraphNodeExecutorRegistry;
47
+ defaultOptions: {
48
+ failFast: boolean;
49
+ };
50
+ codeSandboxEvaluator: IsolatedVmCodeSandboxEvaluator;
51
+ onEngineCreated: (engine: GraphExecutionEngine) => void;
52
+ };