@decaf-ts/integrations 0.3.0 → 0.3.2

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 (440) hide show
  1. package/dist/integrations.cjs +1 -1
  2. package/lib/cjs/graph/constants.cjs +94 -0
  3. package/lib/cjs/graph/constants.cjs.map +1 -0
  4. package/lib/cjs/graph/decorators.cjs +4 -0
  5. package/lib/cjs/graph/decorators.cjs.map +1 -0
  6. package/lib/cjs/graph/errors/GraphCycleError.cjs +20 -0
  7. package/lib/cjs/graph/errors/GraphCycleError.cjs.map +1 -0
  8. package/lib/cjs/graph/errors/GraphExecutionError.cjs +27 -0
  9. package/lib/cjs/graph/errors/GraphExecutionError.cjs.map +1 -0
  10. package/lib/cjs/graph/errors/GraphInputError.cjs +20 -0
  11. package/lib/cjs/graph/errors/GraphInputError.cjs.map +1 -0
  12. package/lib/cjs/graph/errors/GraphLoopLimitError.cjs +20 -0
  13. package/lib/cjs/graph/errors/GraphLoopLimitError.cjs.map +1 -0
  14. package/lib/cjs/graph/errors/GraphPinningError.cjs +20 -0
  15. package/lib/cjs/graph/errors/GraphPinningError.cjs.map +1 -0
  16. package/lib/cjs/graph/errors/GraphPortError.cjs +20 -0
  17. package/lib/cjs/graph/errors/GraphPortError.cjs.map +1 -0
  18. package/lib/cjs/graph/errors/GraphStoreError.cjs +20 -0
  19. package/lib/cjs/graph/errors/GraphStoreError.cjs.map +1 -0
  20. package/lib/cjs/graph/errors/GraphTopologyError.cjs +20 -0
  21. package/lib/cjs/graph/errors/GraphTopologyError.cjs.map +1 -0
  22. package/lib/cjs/graph/errors/index.cjs +31 -0
  23. package/lib/cjs/graph/errors/index.cjs.map +1 -0
  24. package/lib/cjs/graph/events/GraphExecutionEvent.cjs +4 -0
  25. package/lib/cjs/graph/events/GraphExecutionEvent.cjs.map +1 -0
  26. package/lib/cjs/graph/events/GraphExecutionEventEmitter.cjs +40 -0
  27. package/lib/cjs/graph/events/GraphExecutionEventEmitter.cjs.map +1 -0
  28. package/lib/cjs/graph/events/GraphExecutionEventFactory.cjs +37 -0
  29. package/lib/cjs/graph/events/GraphExecutionEventFactory.cjs.map +1 -0
  30. package/lib/cjs/graph/events/GraphExecutionObserver.cjs +4 -0
  31. package/lib/cjs/graph/events/GraphExecutionObserver.cjs.map +1 -0
  32. package/lib/cjs/graph/events/index.cjs +27 -0
  33. package/lib/cjs/graph/events/index.cjs.map +1 -0
  34. package/lib/cjs/graph/execution/GraphExecutionContext.cjs +79 -0
  35. package/lib/cjs/graph/execution/GraphExecutionContext.cjs.map +1 -0
  36. package/lib/cjs/graph/execution/GraphExecutionEngine.cjs +405 -0
  37. package/lib/cjs/graph/execution/GraphExecutionEngine.cjs.map +1 -0
  38. package/lib/cjs/graph/execution/GraphExecutionFrame.cjs +32 -0
  39. package/lib/cjs/graph/execution/GraphExecutionFrame.cjs.map +1 -0
  40. package/lib/cjs/graph/execution/GraphExecutionResult.cjs +30 -0
  41. package/lib/cjs/graph/execution/GraphExecutionResult.cjs.map +1 -0
  42. package/lib/cjs/graph/execution/GraphNodeExecutor.cjs +4 -0
  43. package/lib/cjs/graph/execution/GraphNodeExecutor.cjs.map +1 -0
  44. package/lib/cjs/graph/execution/index.cjs +28 -0
  45. package/lib/cjs/graph/execution/index.cjs.map +1 -0
  46. package/lib/cjs/graph/index.cjs +74 -0
  47. package/lib/cjs/graph/index.cjs.map +1 -0
  48. package/lib/cjs/graph/loops/ForeachGraphNodeExecutor.cjs +84 -0
  49. package/lib/cjs/graph/loops/ForeachGraphNodeExecutor.cjs.map +1 -0
  50. package/lib/cjs/graph/loops/GraphConditionEvaluator.cjs +63 -0
  51. package/lib/cjs/graph/loops/GraphConditionEvaluator.cjs.map +1 -0
  52. package/lib/cjs/graph/loops/GraphLoopExecutionContext.cjs +16 -0
  53. package/lib/cjs/graph/loops/GraphLoopExecutionContext.cjs.map +1 -0
  54. package/lib/cjs/graph/loops/UntilGraphNodeExecutor.cjs +76 -0
  55. package/lib/cjs/graph/loops/UntilGraphNodeExecutor.cjs.map +1 -0
  56. package/lib/cjs/graph/loops/WhileGraphNodeExecutor.cjs +77 -0
  57. package/lib/cjs/graph/loops/WhileGraphNodeExecutor.cjs.map +1 -0
  58. package/lib/cjs/graph/loops/index.cjs +28 -0
  59. package/lib/cjs/graph/loops/index.cjs.map +1 -0
  60. package/lib/cjs/graph/pinning/GraphPinningDependencyResolver.cjs +28 -0
  61. package/lib/cjs/graph/pinning/GraphPinningDependencyResolver.cjs.map +1 -0
  62. package/lib/cjs/graph/pinning/GraphPinningMetadata.cjs +20 -0
  63. package/lib/cjs/graph/pinning/GraphPinningMetadata.cjs.map +1 -0
  64. package/lib/cjs/graph/pinning/GraphPinningPolicy.cjs +34 -0
  65. package/lib/cjs/graph/pinning/GraphPinningPolicy.cjs.map +1 -0
  66. package/lib/cjs/graph/pinning/GraphPinningService.cjs +191 -0
  67. package/lib/cjs/graph/pinning/GraphPinningService.cjs.map +1 -0
  68. package/lib/cjs/graph/pinning/index.cjs +27 -0
  69. package/lib/cjs/graph/pinning/index.cjs.map +1 -0
  70. package/lib/cjs/graph/planning/GraphExecutionPlan.cjs +4 -0
  71. package/lib/cjs/graph/planning/GraphExecutionPlan.cjs.map +1 -0
  72. package/lib/cjs/graph/planning/GraphExecutionPlanEdge.cjs +4 -0
  73. package/lib/cjs/graph/planning/GraphExecutionPlanEdge.cjs.map +1 -0
  74. package/lib/cjs/graph/planning/GraphExecutionPlanLayer.cjs +4 -0
  75. package/lib/cjs/graph/planning/GraphExecutionPlanLayer.cjs.map +1 -0
  76. package/lib/cjs/graph/planning/GraphExecutionPlanNode.cjs +4 -0
  77. package/lib/cjs/graph/planning/GraphExecutionPlanNode.cjs.map +1 -0
  78. package/lib/cjs/graph/planning/GraphExecutionPlanner.cjs +197 -0
  79. package/lib/cjs/graph/planning/GraphExecutionPlanner.cjs.map +1 -0
  80. package/lib/cjs/graph/planning/GraphRelationResolver.cjs +172 -0
  81. package/lib/cjs/graph/planning/GraphRelationResolver.cjs.map +1 -0
  82. package/lib/cjs/graph/planning/GraphTopology.cjs +57 -0
  83. package/lib/cjs/graph/planning/GraphTopology.cjs.map +1 -0
  84. package/lib/cjs/graph/planning/index.cjs +30 -0
  85. package/lib/cjs/graph/planning/index.cjs.map +1 -0
  86. package/lib/cjs/graph/registry/GraphNodeExecutorRegistry.cjs +44 -0
  87. package/lib/cjs/graph/registry/GraphNodeExecutorRegistry.cjs.map +1 -0
  88. package/lib/cjs/graph/registry/GraphNodeExecutorResolver.cjs +27 -0
  89. package/lib/cjs/graph/registry/GraphNodeExecutorResolver.cjs.map +1 -0
  90. package/lib/cjs/graph/registry/index.cjs +25 -0
  91. package/lib/cjs/graph/registry/index.cjs.map +1 -0
  92. package/lib/cjs/graph/snapshots/GraphExecutionSnapshotMapper.cjs +53 -0
  93. package/lib/cjs/graph/snapshots/GraphExecutionSnapshotMapper.cjs.map +1 -0
  94. package/lib/cjs/graph/snapshots/index.cjs +24 -0
  95. package/lib/cjs/graph/snapshots/index.cjs.map +1 -0
  96. package/lib/cjs/graph/store/GraphCachedValue.cjs +4 -0
  97. package/lib/cjs/graph/store/GraphCachedValue.cjs.map +1 -0
  98. package/lib/cjs/graph/store/GraphValueKey.cjs +4 -0
  99. package/lib/cjs/graph/store/GraphValueKey.cjs.map +1 -0
  100. package/lib/cjs/graph/store/GraphValueStore.cjs +76 -0
  101. package/lib/cjs/graph/store/GraphValueStore.cjs.map +1 -0
  102. package/lib/cjs/graph/store/GraphValueStoreAdapter.cjs +4 -0
  103. package/lib/cjs/graph/store/GraphValueStoreAdapter.cjs.map +1 -0
  104. package/lib/cjs/graph/store/InMemoryGraphValueStoreAdapter.cjs +69 -0
  105. package/lib/cjs/graph/store/InMemoryGraphValueStoreAdapter.cjs.map +1 -0
  106. package/lib/cjs/graph/store/index.cjs +28 -0
  107. package/lib/cjs/graph/store/index.cjs.map +1 -0
  108. package/lib/cjs/graph/types.cjs +4 -0
  109. package/lib/cjs/graph/types.cjs.map +1 -0
  110. package/lib/cjs/graph/validation/GraphDefinitionValidator.cjs +33 -0
  111. package/lib/cjs/graph/validation/GraphDefinitionValidator.cjs.map +1 -0
  112. package/lib/cjs/graph/validation/GraphPortSchemaResolver.cjs +58 -0
  113. package/lib/cjs/graph/validation/GraphPortSchemaResolver.cjs.map +1 -0
  114. package/lib/cjs/graph/validation/GraphValueValidator.cjs +52 -0
  115. package/lib/cjs/graph/validation/GraphValueValidator.cjs.map +1 -0
  116. package/lib/cjs/graph/validation/index.cjs +26 -0
  117. package/lib/cjs/graph/validation/index.cjs.map +1 -0
  118. package/lib/cjs/index.cjs +3 -3
  119. package/lib/cjs/keycloak/services/KeycloakAuthService.cjs +2 -5
  120. package/lib/cjs/keycloak/services/KeycloakAuthService.cjs.map +1 -1
  121. package/lib/cjs/keycloak/services/KeycloakClientService.cjs +2 -5
  122. package/lib/cjs/keycloak/services/KeycloakClientService.cjs.map +1 -1
  123. package/lib/cjs/keycloak/services/KeycloakIdentityProviderService.cjs +2 -5
  124. package/lib/cjs/keycloak/services/KeycloakIdentityProviderService.cjs.map +1 -1
  125. package/lib/cjs/keycloak/services/KeycloakRealmService.cjs +5 -18
  126. package/lib/cjs/keycloak/services/KeycloakRealmService.cjs.map +1 -1
  127. package/lib/cjs/keycloak/services/KeycloakRoleService.cjs +2 -5
  128. package/lib/cjs/keycloak/services/KeycloakRoleService.cjs.map +1 -1
  129. package/lib/cjs/keycloak/services/KeycloakService.cjs +1 -1
  130. package/lib/cjs/keycloak/services/KeycloakService.cjs.map +1 -1
  131. package/lib/cjs/keycloak/services/KeycloakUserService.cjs +2 -5
  132. package/lib/cjs/keycloak/services/KeycloakUserService.cjs.map +1 -1
  133. package/lib/cjs/kibana/services/KibanaAuthService.cjs +3 -6
  134. package/lib/cjs/kibana/services/KibanaAuthService.cjs.map +1 -1
  135. package/lib/cjs/kibana/services/KibanaDashboardService.cjs +6 -18
  136. package/lib/cjs/kibana/services/KibanaDashboardService.cjs.map +1 -1
  137. package/lib/cjs/kibana/services/KibanaDataViewService.cjs +4 -16
  138. package/lib/cjs/kibana/services/KibanaDataViewService.cjs.map +1 -1
  139. package/lib/cjs/kibana/services/KibanaRoleService.cjs +2 -5
  140. package/lib/cjs/kibana/services/KibanaRoleService.cjs.map +1 -1
  141. package/lib/cjs/kibana/services/KibanaSpaceService.cjs +2 -5
  142. package/lib/cjs/kibana/services/KibanaSpaceService.cjs.map +1 -1
  143. package/lib/cjs/kibana/services/KibanaUserService.cjs +2 -5
  144. package/lib/cjs/kibana/services/KibanaUserService.cjs.map +1 -1
  145. package/lib/cjs/shared/runtime.cjs +26 -0
  146. package/lib/cjs/shared/runtime.cjs.map +1 -0
  147. package/lib/esm/graph/constants.js +106 -0
  148. package/lib/esm/graph/constants.js.map +1 -0
  149. package/lib/esm/graph/decorators.js +2 -0
  150. package/lib/esm/graph/decorators.js.map +1 -0
  151. package/lib/esm/graph/errors/GraphCycleError.js +15 -0
  152. package/lib/esm/graph/errors/GraphCycleError.js.map +1 -0
  153. package/lib/esm/graph/errors/GraphExecutionError.js +22 -0
  154. package/lib/esm/graph/errors/GraphExecutionError.js.map +1 -0
  155. package/lib/esm/graph/errors/GraphInputError.js +15 -0
  156. package/lib/esm/graph/errors/GraphInputError.js.map +1 -0
  157. package/lib/esm/graph/errors/GraphLoopLimitError.js +15 -0
  158. package/lib/esm/graph/errors/GraphLoopLimitError.js.map +1 -0
  159. package/lib/esm/graph/errors/GraphPinningError.js +15 -0
  160. package/lib/esm/graph/errors/GraphPinningError.js.map +1 -0
  161. package/lib/esm/graph/errors/GraphPortError.js +15 -0
  162. package/lib/esm/graph/errors/GraphPortError.js.map +1 -0
  163. package/lib/esm/graph/errors/GraphStoreError.js +15 -0
  164. package/lib/esm/graph/errors/GraphStoreError.js.map +1 -0
  165. package/lib/esm/graph/errors/GraphTopologyError.js +15 -0
  166. package/lib/esm/graph/errors/GraphTopologyError.js.map +1 -0
  167. package/lib/esm/graph/errors/index.js +14 -0
  168. package/lib/esm/graph/errors/index.js.map +1 -0
  169. package/lib/esm/graph/events/GraphExecutionEvent.js +2 -0
  170. package/lib/esm/graph/events/GraphExecutionEvent.js.map +1 -0
  171. package/lib/esm/graph/events/GraphExecutionEventEmitter.js +35 -0
  172. package/lib/esm/graph/events/GraphExecutionEventEmitter.js.map +1 -0
  173. package/lib/esm/graph/events/GraphExecutionEventFactory.js +32 -0
  174. package/lib/esm/graph/events/GraphExecutionEventFactory.js.map +1 -0
  175. package/lib/esm/graph/events/GraphExecutionObserver.js +2 -0
  176. package/lib/esm/graph/events/GraphExecutionObserver.js.map +1 -0
  177. package/lib/esm/graph/events/index.js +10 -0
  178. package/lib/esm/graph/events/index.js.map +1 -0
  179. package/lib/esm/graph/execution/GraphExecutionContext.js +74 -0
  180. package/lib/esm/graph/execution/GraphExecutionContext.js.map +1 -0
  181. package/lib/esm/graph/execution/GraphExecutionEngine.js +400 -0
  182. package/lib/esm/graph/execution/GraphExecutionEngine.js.map +1 -0
  183. package/lib/esm/graph/execution/GraphExecutionFrame.js +27 -0
  184. package/lib/esm/graph/execution/GraphExecutionFrame.js.map +1 -0
  185. package/lib/esm/graph/execution/GraphExecutionResult.js +26 -0
  186. package/lib/esm/graph/execution/GraphExecutionResult.js.map +1 -0
  187. package/lib/esm/graph/execution/GraphNodeExecutor.js +2 -0
  188. package/lib/esm/graph/execution/GraphNodeExecutor.js.map +1 -0
  189. package/lib/esm/graph/execution/index.js +11 -0
  190. package/lib/esm/graph/execution/index.js.map +1 -0
  191. package/lib/esm/graph/index.js +57 -0
  192. package/lib/esm/graph/index.js.map +1 -0
  193. package/lib/esm/graph/loops/ForeachGraphNodeExecutor.js +79 -0
  194. package/lib/esm/graph/loops/ForeachGraphNodeExecutor.js.map +1 -0
  195. package/lib/esm/graph/loops/GraphConditionEvaluator.js +58 -0
  196. package/lib/esm/graph/loops/GraphConditionEvaluator.js.map +1 -0
  197. package/lib/esm/graph/loops/GraphLoopExecutionContext.js +11 -0
  198. package/lib/esm/graph/loops/GraphLoopExecutionContext.js.map +1 -0
  199. package/lib/esm/graph/loops/UntilGraphNodeExecutor.js +71 -0
  200. package/lib/esm/graph/loops/UntilGraphNodeExecutor.js.map +1 -0
  201. package/lib/esm/graph/loops/WhileGraphNodeExecutor.js +72 -0
  202. package/lib/esm/graph/loops/WhileGraphNodeExecutor.js.map +1 -0
  203. package/lib/esm/graph/loops/index.js +11 -0
  204. package/lib/esm/graph/loops/index.js.map +1 -0
  205. package/lib/esm/graph/pinning/GraphPinningDependencyResolver.js +23 -0
  206. package/lib/esm/graph/pinning/GraphPinningDependencyResolver.js.map +1 -0
  207. package/lib/esm/graph/pinning/GraphPinningMetadata.js +15 -0
  208. package/lib/esm/graph/pinning/GraphPinningMetadata.js.map +1 -0
  209. package/lib/esm/graph/pinning/GraphPinningPolicy.js +29 -0
  210. package/lib/esm/graph/pinning/GraphPinningPolicy.js.map +1 -0
  211. package/lib/esm/graph/pinning/GraphPinningService.js +186 -0
  212. package/lib/esm/graph/pinning/GraphPinningService.js.map +1 -0
  213. package/lib/esm/graph/pinning/index.js +10 -0
  214. package/lib/esm/graph/pinning/index.js.map +1 -0
  215. package/lib/esm/graph/planning/GraphExecutionPlan.js +2 -0
  216. package/lib/esm/graph/planning/GraphExecutionPlan.js.map +1 -0
  217. package/lib/esm/graph/planning/GraphExecutionPlanEdge.js +7 -0
  218. package/lib/esm/graph/planning/GraphExecutionPlanEdge.js.map +1 -0
  219. package/lib/esm/graph/planning/GraphExecutionPlanLayer.js +2 -0
  220. package/lib/esm/graph/planning/GraphExecutionPlanLayer.js.map +1 -0
  221. package/lib/esm/graph/planning/GraphExecutionPlanNode.js +2 -0
  222. package/lib/esm/graph/planning/GraphExecutionPlanNode.js.map +1 -0
  223. package/lib/esm/graph/planning/GraphExecutionPlanner.js +192 -0
  224. package/lib/esm/graph/planning/GraphExecutionPlanner.js.map +1 -0
  225. package/lib/esm/graph/planning/GraphRelationResolver.js +167 -0
  226. package/lib/esm/graph/planning/GraphRelationResolver.js.map +1 -0
  227. package/lib/esm/graph/planning/GraphTopology.js +52 -0
  228. package/lib/esm/graph/planning/GraphTopology.js.map +1 -0
  229. package/lib/esm/graph/planning/index.js +13 -0
  230. package/lib/esm/graph/planning/index.js.map +1 -0
  231. package/lib/esm/graph/registry/GraphNodeExecutorRegistry.js +39 -0
  232. package/lib/esm/graph/registry/GraphNodeExecutorRegistry.js.map +1 -0
  233. package/lib/esm/graph/registry/GraphNodeExecutorResolver.js +22 -0
  234. package/lib/esm/graph/registry/GraphNodeExecutorResolver.js.map +1 -0
  235. package/lib/esm/graph/registry/index.js +8 -0
  236. package/lib/esm/graph/registry/index.js.map +1 -0
  237. package/lib/esm/graph/snapshots/GraphExecutionSnapshotMapper.js +48 -0
  238. package/lib/esm/graph/snapshots/GraphExecutionSnapshotMapper.js.map +1 -0
  239. package/lib/esm/graph/snapshots/index.js +7 -0
  240. package/lib/esm/graph/snapshots/index.js.map +1 -0
  241. package/lib/esm/graph/store/GraphCachedValue.js +2 -0
  242. package/lib/esm/graph/store/GraphCachedValue.js.map +1 -0
  243. package/lib/esm/graph/store/GraphValueKey.js +7 -0
  244. package/lib/esm/graph/store/GraphValueKey.js.map +1 -0
  245. package/lib/esm/graph/store/GraphValueStore.js +71 -0
  246. package/lib/esm/graph/store/GraphValueStore.js.map +1 -0
  247. package/lib/esm/graph/store/GraphValueStoreAdapter.js +2 -0
  248. package/lib/esm/graph/store/GraphValueStoreAdapter.js.map +1 -0
  249. package/lib/esm/graph/store/InMemoryGraphValueStoreAdapter.js +64 -0
  250. package/lib/esm/graph/store/InMemoryGraphValueStoreAdapter.js.map +1 -0
  251. package/lib/esm/graph/store/index.js +11 -0
  252. package/lib/esm/graph/store/index.js.map +1 -0
  253. package/lib/esm/graph/types.js +2 -0
  254. package/lib/esm/graph/types.js.map +1 -0
  255. package/lib/esm/graph/validation/GraphDefinitionValidator.js +28 -0
  256. package/lib/esm/graph/validation/GraphDefinitionValidator.js.map +1 -0
  257. package/lib/esm/graph/validation/GraphPortSchemaResolver.js +53 -0
  258. package/lib/esm/graph/validation/GraphPortSchemaResolver.js.map +1 -0
  259. package/lib/esm/graph/validation/GraphValueValidator.js +47 -0
  260. package/lib/esm/graph/validation/GraphValueValidator.js.map +1 -0
  261. package/lib/esm/graph/validation/index.js +9 -0
  262. package/lib/esm/graph/validation/index.js.map +1 -0
  263. package/lib/esm/index.js +3 -3
  264. package/lib/esm/keycloak/services/KeycloakAuthService.js +2 -5
  265. package/lib/esm/keycloak/services/KeycloakAuthService.js.map +1 -1
  266. package/lib/esm/keycloak/services/KeycloakClientService.js +2 -5
  267. package/lib/esm/keycloak/services/KeycloakClientService.js.map +1 -1
  268. package/lib/esm/keycloak/services/KeycloakIdentityProviderService.js +2 -5
  269. package/lib/esm/keycloak/services/KeycloakIdentityProviderService.js.map +1 -1
  270. package/lib/esm/keycloak/services/KeycloakRealmService.js +5 -18
  271. package/lib/esm/keycloak/services/KeycloakRealmService.js.map +1 -1
  272. package/lib/esm/keycloak/services/KeycloakRoleService.js +2 -5
  273. package/lib/esm/keycloak/services/KeycloakRoleService.js.map +1 -1
  274. package/lib/esm/keycloak/services/KeycloakService.js +1 -1
  275. package/lib/esm/keycloak/services/KeycloakService.js.map +1 -1
  276. package/lib/esm/keycloak/services/KeycloakUserService.js +2 -5
  277. package/lib/esm/keycloak/services/KeycloakUserService.js.map +1 -1
  278. package/lib/esm/kibana/services/KibanaAuthService.js +3 -6
  279. package/lib/esm/kibana/services/KibanaAuthService.js.map +1 -1
  280. package/lib/esm/kibana/services/KibanaDashboardService.js +6 -18
  281. package/lib/esm/kibana/services/KibanaDashboardService.js.map +1 -1
  282. package/lib/esm/kibana/services/KibanaDataViewService.js +4 -16
  283. package/lib/esm/kibana/services/KibanaDataViewService.js.map +1 -1
  284. package/lib/esm/kibana/services/KibanaRoleService.js +2 -5
  285. package/lib/esm/kibana/services/KibanaRoleService.js.map +1 -1
  286. package/lib/esm/kibana/services/KibanaSpaceService.js +2 -5
  287. package/lib/esm/kibana/services/KibanaSpaceService.js.map +1 -1
  288. package/lib/esm/kibana/services/KibanaUserService.js +2 -5
  289. package/lib/esm/kibana/services/KibanaUserService.js.map +1 -1
  290. package/lib/esm/shared/runtime.js +21 -0
  291. package/lib/esm/shared/runtime.js.map +1 -0
  292. package/lib/types/graph/constants.d.cts +101 -0
  293. package/lib/types/graph/constants.d.mts +101 -0
  294. package/lib/types/graph/decorators.d.cts +6 -0
  295. package/lib/types/graph/decorators.d.mts +6 -0
  296. package/lib/types/graph/errors/GraphCycleError.d.cts +12 -0
  297. package/lib/types/graph/errors/GraphCycleError.d.mts +12 -0
  298. package/lib/types/graph/errors/GraphExecutionError.d.cts +19 -0
  299. package/lib/types/graph/errors/GraphExecutionError.d.mts +19 -0
  300. package/lib/types/graph/errors/GraphInputError.d.cts +12 -0
  301. package/lib/types/graph/errors/GraphInputError.d.mts +12 -0
  302. package/lib/types/graph/errors/GraphLoopLimitError.d.cts +12 -0
  303. package/lib/types/graph/errors/GraphLoopLimitError.d.mts +12 -0
  304. package/lib/types/graph/errors/GraphPinningError.d.cts +12 -0
  305. package/lib/types/graph/errors/GraphPinningError.d.mts +12 -0
  306. package/lib/types/graph/errors/GraphPortError.d.cts +12 -0
  307. package/lib/types/graph/errors/GraphPortError.d.mts +12 -0
  308. package/lib/types/graph/errors/GraphStoreError.d.cts +12 -0
  309. package/lib/types/graph/errors/GraphStoreError.d.mts +12 -0
  310. package/lib/types/graph/errors/GraphTopologyError.d.cts +12 -0
  311. package/lib/types/graph/errors/GraphTopologyError.d.mts +12 -0
  312. package/lib/types/graph/errors/index.d.cts +13 -0
  313. package/lib/types/graph/errors/index.d.mts +13 -0
  314. package/lib/types/graph/events/GraphExecutionEvent.d.cts +6 -0
  315. package/lib/types/graph/events/GraphExecutionEvent.d.mts +6 -0
  316. package/lib/types/graph/events/GraphExecutionEventEmitter.d.cts +26 -0
  317. package/lib/types/graph/events/GraphExecutionEventEmitter.d.mts +26 -0
  318. package/lib/types/graph/events/GraphExecutionEventFactory.d.cts +25 -0
  319. package/lib/types/graph/events/GraphExecutionEventFactory.d.mts +25 -0
  320. package/lib/types/graph/events/GraphExecutionObserver.d.cts +17 -0
  321. package/lib/types/graph/events/GraphExecutionObserver.d.mts +17 -0
  322. package/lib/types/graph/events/index.d.cts +9 -0
  323. package/lib/types/graph/events/index.d.mts +9 -0
  324. package/lib/types/graph/execution/GraphExecutionContext.d.cts +50 -0
  325. package/lib/types/graph/execution/GraphExecutionContext.d.mts +50 -0
  326. package/lib/types/graph/execution/GraphExecutionEngine.d.cts +112 -0
  327. package/lib/types/graph/execution/GraphExecutionEngine.d.mts +112 -0
  328. package/lib/types/graph/execution/GraphExecutionFrame.d.cts +29 -0
  329. package/lib/types/graph/execution/GraphExecutionFrame.d.mts +29 -0
  330. package/lib/types/graph/execution/GraphExecutionResult.d.cts +13 -0
  331. package/lib/types/graph/execution/GraphExecutionResult.d.mts +13 -0
  332. package/lib/types/graph/execution/GraphNodeExecutor.d.cts +23 -0
  333. package/lib/types/graph/execution/GraphNodeExecutor.d.mts +23 -0
  334. package/lib/types/graph/execution/index.d.cts +10 -0
  335. package/lib/types/graph/execution/index.d.mts +10 -0
  336. package/lib/types/graph/index.d.cts +52 -0
  337. package/lib/types/graph/index.d.mts +52 -0
  338. package/lib/types/graph/loops/ForeachGraphNodeExecutor.d.cts +27 -0
  339. package/lib/types/graph/loops/ForeachGraphNodeExecutor.d.mts +27 -0
  340. package/lib/types/graph/loops/GraphConditionEvaluator.d.cts +23 -0
  341. package/lib/types/graph/loops/GraphConditionEvaluator.d.mts +23 -0
  342. package/lib/types/graph/loops/GraphLoopExecutionContext.d.cts +15 -0
  343. package/lib/types/graph/loops/GraphLoopExecutionContext.d.mts +15 -0
  344. package/lib/types/graph/loops/UntilGraphNodeExecutor.d.cts +22 -0
  345. package/lib/types/graph/loops/UntilGraphNodeExecutor.d.mts +22 -0
  346. package/lib/types/graph/loops/WhileGraphNodeExecutor.d.cts +26 -0
  347. package/lib/types/graph/loops/WhileGraphNodeExecutor.d.mts +26 -0
  348. package/lib/types/graph/loops/index.d.cts +10 -0
  349. package/lib/types/graph/loops/index.d.mts +10 -0
  350. package/lib/types/graph/pinning/GraphPinningDependencyResolver.d.cts +21 -0
  351. package/lib/types/graph/pinning/GraphPinningDependencyResolver.d.mts +21 -0
  352. package/lib/types/graph/pinning/GraphPinningMetadata.d.cts +14 -0
  353. package/lib/types/graph/pinning/GraphPinningMetadata.d.mts +14 -0
  354. package/lib/types/graph/pinning/GraphPinningPolicy.d.cts +20 -0
  355. package/lib/types/graph/pinning/GraphPinningPolicy.d.mts +20 -0
  356. package/lib/types/graph/pinning/GraphPinningService.d.cts +59 -0
  357. package/lib/types/graph/pinning/GraphPinningService.d.mts +59 -0
  358. package/lib/types/graph/pinning/index.d.cts +9 -0
  359. package/lib/types/graph/pinning/index.d.mts +9 -0
  360. package/lib/types/graph/planning/GraphExecutionPlan.d.cts +21 -0
  361. package/lib/types/graph/planning/GraphExecutionPlan.d.mts +21 -0
  362. package/lib/types/graph/planning/GraphExecutionPlanEdge.d.cts +21 -0
  363. package/lib/types/graph/planning/GraphExecutionPlanEdge.d.mts +21 -0
  364. package/lib/types/graph/planning/GraphExecutionPlanLayer.d.cts +13 -0
  365. package/lib/types/graph/planning/GraphExecutionPlanLayer.d.mts +13 -0
  366. package/lib/types/graph/planning/GraphExecutionPlanNode.d.cts +20 -0
  367. package/lib/types/graph/planning/GraphExecutionPlanNode.d.mts +20 -0
  368. package/lib/types/graph/planning/GraphExecutionPlanner.d.cts +60 -0
  369. package/lib/types/graph/planning/GraphExecutionPlanner.d.mts +60 -0
  370. package/lib/types/graph/planning/GraphRelationResolver.d.cts +62 -0
  371. package/lib/types/graph/planning/GraphRelationResolver.d.mts +62 -0
  372. package/lib/types/graph/planning/GraphTopology.d.cts +23 -0
  373. package/lib/types/graph/planning/GraphTopology.d.mts +23 -0
  374. package/lib/types/graph/planning/index.d.cts +12 -0
  375. package/lib/types/graph/planning/index.d.mts +12 -0
  376. package/lib/types/graph/registry/GraphNodeExecutorRegistry.d.cts +25 -0
  377. package/lib/types/graph/registry/GraphNodeExecutorRegistry.d.mts +25 -0
  378. package/lib/types/graph/registry/GraphNodeExecutorResolver.d.cts +21 -0
  379. package/lib/types/graph/registry/GraphNodeExecutorResolver.d.mts +21 -0
  380. package/lib/types/graph/registry/index.d.cts +7 -0
  381. package/lib/types/graph/registry/index.d.mts +7 -0
  382. package/lib/types/graph/snapshots/GraphExecutionSnapshotMapper.d.cts +10 -0
  383. package/lib/types/graph/snapshots/GraphExecutionSnapshotMapper.d.mts +10 -0
  384. package/lib/types/graph/snapshots/index.d.cts +6 -0
  385. package/lib/types/graph/snapshots/index.d.mts +6 -0
  386. package/lib/types/graph/store/GraphCachedValue.d.cts +20 -0
  387. package/lib/types/graph/store/GraphCachedValue.d.mts +20 -0
  388. package/lib/types/graph/store/GraphValueKey.d.cts +18 -0
  389. package/lib/types/graph/store/GraphValueKey.d.mts +18 -0
  390. package/lib/types/graph/store/GraphValueStore.d.cts +41 -0
  391. package/lib/types/graph/store/GraphValueStore.d.mts +41 -0
  392. package/lib/types/graph/store/GraphValueStoreAdapter.d.cts +32 -0
  393. package/lib/types/graph/store/GraphValueStoreAdapter.d.mts +32 -0
  394. package/lib/types/graph/store/InMemoryGraphValueStoreAdapter.d.cts +33 -0
  395. package/lib/types/graph/store/InMemoryGraphValueStoreAdapter.d.mts +33 -0
  396. package/lib/types/graph/store/index.d.cts +10 -0
  397. package/lib/types/graph/store/index.d.mts +10 -0
  398. package/lib/types/graph/types.d.cts +197 -0
  399. package/lib/types/graph/types.d.mts +197 -0
  400. package/lib/types/graph/validation/GraphDefinitionValidator.d.cts +21 -0
  401. package/lib/types/graph/validation/GraphDefinitionValidator.d.mts +21 -0
  402. package/lib/types/graph/validation/GraphPortSchemaResolver.d.cts +39 -0
  403. package/lib/types/graph/validation/GraphPortSchemaResolver.d.mts +39 -0
  404. package/lib/types/graph/validation/GraphValueValidator.d.cts +27 -0
  405. package/lib/types/graph/validation/GraphValueValidator.d.mts +27 -0
  406. package/lib/types/graph/validation/index.d.cts +8 -0
  407. package/lib/types/graph/validation/index.d.mts +8 -0
  408. package/lib/types/index.d.cts +2 -2
  409. package/lib/types/index.d.mts +2 -2
  410. package/lib/types/keycloak/services/KeycloakAuthService.d.cts +0 -1
  411. package/lib/types/keycloak/services/KeycloakAuthService.d.mts +0 -1
  412. package/lib/types/keycloak/services/KeycloakClientService.d.cts +0 -1
  413. package/lib/types/keycloak/services/KeycloakClientService.d.mts +0 -1
  414. package/lib/types/keycloak/services/KeycloakIdentityProviderService.d.cts +0 -1
  415. package/lib/types/keycloak/services/KeycloakIdentityProviderService.d.mts +0 -1
  416. package/lib/types/keycloak/services/KeycloakRealmService.d.cts +0 -2
  417. package/lib/types/keycloak/services/KeycloakRealmService.d.mts +0 -2
  418. package/lib/types/keycloak/services/KeycloakRoleService.d.cts +0 -1
  419. package/lib/types/keycloak/services/KeycloakRoleService.d.mts +0 -1
  420. package/lib/types/keycloak/services/KeycloakUserService.d.cts +0 -1
  421. package/lib/types/keycloak/services/KeycloakUserService.d.mts +0 -1
  422. package/lib/types/keycloak/types.d.cts +4 -1
  423. package/lib/types/keycloak/types.d.mts +4 -1
  424. package/lib/types/kibana/services/KibanaAuthService.d.cts +0 -1
  425. package/lib/types/kibana/services/KibanaAuthService.d.mts +0 -1
  426. package/lib/types/kibana/services/KibanaDashboardService.d.cts +0 -2
  427. package/lib/types/kibana/services/KibanaDashboardService.d.mts +0 -2
  428. package/lib/types/kibana/services/KibanaDataViewService.d.cts +0 -2
  429. package/lib/types/kibana/services/KibanaDataViewService.d.mts +0 -2
  430. package/lib/types/kibana/services/KibanaRoleService.d.cts +0 -1
  431. package/lib/types/kibana/services/KibanaRoleService.d.mts +0 -1
  432. package/lib/types/kibana/services/KibanaSpaceService.d.cts +0 -1
  433. package/lib/types/kibana/services/KibanaSpaceService.d.mts +0 -1
  434. package/lib/types/kibana/services/KibanaUserService.d.cts +0 -1
  435. package/lib/types/kibana/services/KibanaUserService.d.mts +0 -1
  436. package/lib/types/kibana/types.d.cts +4 -1
  437. package/lib/types/kibana/types.d.mts +4 -1
  438. package/lib/types/shared/runtime.d.cts +2 -0
  439. package/lib/types/shared/runtime.d.mts +2 -0
  440. package/package.json +21 -7
@@ -59,7 +59,7 @@ export class KibanaSpaceService extends ClientBasedService {
59
59
  baseURL: `${config.protocol}://${config.host}`,
60
60
  validateStatus: () => true,
61
61
  httpsAgent: new https.Agent({
62
- rejectUnauthorized: this.isSecureEnvironment(),
62
+ rejectUnauthorized: config.isProduction(),
63
63
  }),
64
64
  });
65
65
  }
@@ -83,9 +83,6 @@ export class KibanaSpaceService extends ClientBasedService {
83
83
  }
84
84
  return new InternalError(message);
85
85
  }
86
- isSecureEnvironment() {
87
- return (!this.config.id || !["development", "local"].includes(this.config.id));
88
- }
89
86
  normalizeSpaceConfig(realmName, payload = {}) {
90
87
  const base = this.config.space ?? {};
91
88
  const id = payload.id ?? base.id ?? realmName.toLowerCase();
@@ -120,7 +117,7 @@ export class KibanaSpaceService extends ClientBasedService {
120
117
  : undefined,
121
118
  validateStatus: () => true,
122
119
  httpsAgent: new https.Agent({
123
- rejectUnauthorized: this.isSecureEnvironment(),
120
+ rejectUnauthorized: this.config.isProduction(),
124
121
  }),
125
122
  ...extra,
126
123
  });
@@ -1 +1 @@
1
- {"version":3,"file":"KibanaSpaceService.js","sourceRoot":"","sources":["../../../../src/kibana/services/KibanaSpaceService.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,eAAe,EACf,aAAa,EACb,aAAa,EACb,aAAa,GACd,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAM7D,OAAO,KAAwB,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,+BAA4B;AAExD,MA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zB,MAAM;YACN,GAAG;YACH,IAAI,EACF,OAAO,KAAK,SAAS;gBACnB,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,OAAO,OAAO,KAAK,QAAQ;oBAC3B,CAAC,CAAC,OAAO;oBACT,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;YAC/B,IAAI,EAAE,OAAO;gBACX,CAAC,CAAC,EAAE,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAAE;gBAC5D,CAAC,CAAC,SAAS;YACb,cAAc,EAAE,GAAG,EAAE,CAAC,IAAI;YAC1B,UAAU,EAAE,IAAI,KAAK,CAAC,KAAK,CAAC;gBAC1B,kBAAkB,EAAE,IAAI,CAAC,MAAM,CAAC,YAAY,EAAE;aAC/C,CAAC;YACF,GAAG,KAAK;SACT,CAAC,CAAC;IACL,CAAC;CACF;AAvLW;IADT,OAAO,EAAE;8BACc,iBAAiB;uDAAC"}
@@ -86,7 +86,7 @@ export class KibanaUserService extends ClientBasedService {
86
86
  baseURL: `${config.protocol}://${config.host}`,
87
87
  validateStatus: () => true,
88
88
  httpsAgent: new https.Agent({
89
- rejectUnauthorized: this.isSecureEnvironment(),
89
+ rejectUnauthorized: config.isProduction(),
90
90
  }),
91
91
  });
92
92
  }
@@ -114,9 +114,6 @@ export class KibanaUserService extends ClientBasedService {
114
114
  }
115
115
  return new InternalError(message);
116
116
  }
117
- isSecureEnvironment() {
118
- return (!this.config.id || !["development", "local"].includes(this.config.id));
119
- }
120
117
  normalizeRoleConfig(realmName, payload = {}) {
121
118
  const suffix = realmName.toLowerCase();
122
119
  const base = this.config.role ?? {};
@@ -139,7 +136,7 @@ export class KibanaUserService extends ClientBasedService {
139
136
  : undefined,
140
137
  validateStatus: () => true,
141
138
  httpsAgent: new https.Agent({
142
- rejectUnauthorized: this.isSecureEnvironment(),
139
+ rejectUnauthorized: this.config.isProduction(),
143
140
  }),
144
141
  ...extra,
145
142
  });
@@ -1 +1 @@
1
- {"version":3,"file":"KibanaUserService.js","sourceRoot":"","sources":["../../../../src/kibana/services/KibanaUserService.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,eAAe,EACf,aAAa,EACb,aAAa,EACb,aAAa,GACd,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE7D,OAAO,KAAwB,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,+BAA4B;AAExD,MAAM,OAAO,iBAAkB,SAAQ,kBAGtC;IAIC,KAAK,CAAC,UAAU,CACd,GAAG,IAA6B;QAEhC,MAAM,EAAE,OAAO,EAAE,GAAG,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,CACnE,IAAI,CAAC,UAAU,CAChB,CAAC;QACF,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAsB,CAAC;QAC/C,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC5B,CAAC;IAED,KAAK,CAAC,UAAU,CACd,IAAgB,EAChB,SAAiB,EACjB,SAA+B,EAC/B,GAAG,IAA6B;QAEhC,MAAM,EAAE,OAAO,EAAE,GAAG,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,CACnE,IAAI,CAAC,UAAU,CAChB,CAAC;QACF,MAAM,WAAW,GAAG,IAAI,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC;QAC7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C/C,CAAC;YACF,GAAG,KAAK;SACT,CAAC,CAAC;IACL,CAAC;CACF;AAxMW;IADT,OAAO,EAAE;8BACc,iBAAiB;sDAAC"}
1
+ {"version":3,"file":"KibanaUserService.js","sourceRoot":"","sources":["../../../../src/kibana/services/KibanaUserService.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,eAAe,EACf,aAAa,EACb,aAAa,EACb,aAAa,GACd,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE7D,OAAO,KAAwB,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,+BAA4B;AAExD,MAAM,OAAO,iBAAkB,SAAQ,kBAGtC;IAIC,KAAK,CAAC,UAAU,CACd,GAAG,IAA6B;QAEhC,MAAM,EAAE,OAAO,EAAE,GAAG,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,CACnE,IAAI,CAAC,UAAU,CAChB,CAAC;QACF,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAsB,CAAC;QAC/C,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC5B,CAAC;IAED,KAAK,CAAC,UAAU,CACd,IAAgB,EAChB,SAAiB,EACjB,SAA+B,EAC/B,GAAG,IAA6B;QAEhC,MAAM,EAAE,OAAO,EAAE,GAAG,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,CACnE,IAAI,CAAC,UAAU,CAChB,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BAAiB;sDAAC"}
@@ -0,0 +1,21 @@
1
+ export function parseJsonBody(value) {
2
+ if (typeof value !== "string")
3
+ return value;
4
+ try {
5
+ return JSON.parse(value);
6
+ }
7
+ catch {
8
+ return undefined;
9
+ }
10
+ }
11
+ export function responseBodyAsText(value) {
12
+ if (typeof value === "string")
13
+ return value;
14
+ try {
15
+ return JSON.stringify(value ?? "");
16
+ }
17
+ catch {
18
+ return String(value ?? "");
19
+ }
20
+ }
21
+ //# sourceMappingURL=runtime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../../src/shared/runtime.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,aAAa,CAAI,KAAc;IAC7C,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAsB,CAAC;IAC7D,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAM,CAAC;IAChC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,KAAc;IAC/C,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC;IAC5C,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;IACrC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;IAC7B,CAAC;AACH,CAAC"}
@@ -0,0 +1,101 @@
1
+ /**
2
+ * @module integrations/graph/constants
3
+ * @summary Graph execution engine constants and enums.
4
+ * @description Shared constants, default limits, and enumerations used across the graph execution engine.
5
+ */
6
+ /**
7
+ * Boundary identifier used as the node id for workflow-level input/output ports.
8
+ */
9
+ export declare const GRAPH_WORKFLOW_BOUNDARY = "$workflow";
10
+ /**
11
+ * Default concurrency for parallel node execution within a layer.
12
+ */
13
+ export declare const GRAPH_DEFAULT_CONCURRENCY = 4;
14
+ /**
15
+ * Default maximum iterations for `while` and `until` loop nodes.
16
+ */
17
+ export declare const GRAPH_DEFAULT_MAX_LOOP_ITERATIONS = 100;
18
+ /**
19
+ * Default maximum iterations for `foreach` loop nodes.
20
+ */
21
+ export declare const GRAPH_DEFAULT_MAX_FOREACH_ITERATIONS = 1000;
22
+ /**
23
+ * Metadata key under which pinning information is stored on a graph node.
24
+ */
25
+ export declare const GRAPH_PINNING_METADATA_KEY = "graph.pinnable";
26
+ /**
27
+ * Execution status for a workflow or individual node.
28
+ */
29
+ export declare enum GraphExecutionStatus {
30
+ PENDING = "pending",
31
+ PLANNING = "planning",
32
+ RUNNING = "running",
33
+ SUCCEEDED = "succeeded",
34
+ FAILED = "failed",
35
+ SKIPPED = "skipped",
36
+ CANCELLED = "cancelled",
37
+ CACHED = "cached"
38
+ }
39
+ /**
40
+ * Event types emitted through the graph execution observer pipeline.
41
+ */
42
+ export declare enum GraphExecutionEventType {
43
+ WORKFLOW_STARTED = "workflow.started",
44
+ WORKFLOW_PLANNED = "workflow.planned",
45
+ WORKFLOW_COMPLETED = "workflow.completed",
46
+ WORKFLOW_FAILED = "workflow.failed",
47
+ WORKFLOW_CANCELLED = "workflow.cancelled",
48
+ NODE_QUEUED = "node.queued",
49
+ NODE_STARTED = "node.started",
50
+ NODE_OUTPUT = "node.output",
51
+ NODE_COMPLETED = "node.completed",
52
+ NODE_FAILED = "node.failed",
53
+ NODE_SKIPPED = "node.skipped",
54
+ NODE_CACHE_HIT = "node.cacheHit",
55
+ NODE_PINNED = "node.pinned",
56
+ NODE_UNPINNED = "node.unpinned",
57
+ EDGE_VALUE_ROUTED = "edge.valueRouted",
58
+ LOOP_STARTED = "loop.started",
59
+ LOOP_ITERATION_STARTED = "loop.iteration.started",
60
+ LOOP_ITERATION_COMPLETED = "loop.iteration.completed",
61
+ LOOP_CONDITION_EVALUATED = "loop.condition.evaluated",
62
+ LOOP_COMPLETED = "loop.completed",
63
+ LOOP_LIMIT_REACHED = "loop.limitReached",
64
+ VALIDATION_STARTED = "validation.started",
65
+ VALIDATION_FAILED = "validation.failed",
66
+ VALIDATION_COMPLETED = "validation.completed",
67
+ STORE_READ = "store.read",
68
+ STORE_WRITE = "store.write",
69
+ STORE_DELETE = "store.delete"
70
+ }
71
+ /**
72
+ * Pinning strategy determining when values are pinned.
73
+ */
74
+ export declare enum GraphPinningStrategy {
75
+ MANUAL = "manual",
76
+ AUTOMATIC = "automatic",
77
+ DISABLED = "disabled"
78
+ }
79
+ /**
80
+ * Built-in condition types supported by the loop condition evaluator.
81
+ */
82
+ export declare enum GraphConditionType {
83
+ TRUTHY = "truthy",
84
+ FALSY = "falsy",
85
+ EQUALS = "equals",
86
+ NOT_EQUALS = "notEquals",
87
+ GREATER_THAN = "greaterThan",
88
+ GREATER_THAN_OR_EQUAL = "greaterThanOrEqual",
89
+ LESS_THAN = "lessThan",
90
+ LESS_THAN_OR_EQUAL = "lessThanOrEqual",
91
+ EXISTS = "exists",
92
+ CUSTOM = "custom"
93
+ }
94
+ /**
95
+ * Loop node kinds recognised by the engine.
96
+ */
97
+ export declare const GRAPH_LOOP_KIND: {
98
+ readonly FOREACH: "core.loop.foreach";
99
+ readonly WHILE: "core.loop.while";
100
+ readonly UNTIL: "core.loop.until";
101
+ };
@@ -0,0 +1,101 @@
1
+ /**
2
+ * @module integrations/graph/constants
3
+ * @summary Graph execution engine constants and enums.
4
+ * @description Shared constants, default limits, and enumerations used across the graph execution engine.
5
+ */
6
+ /**
7
+ * Boundary identifier used as the node id for workflow-level input/output ports.
8
+ */
9
+ export declare const GRAPH_WORKFLOW_BOUNDARY = "$workflow";
10
+ /**
11
+ * Default concurrency for parallel node execution within a layer.
12
+ */
13
+ export declare const GRAPH_DEFAULT_CONCURRENCY = 4;
14
+ /**
15
+ * Default maximum iterations for `while` and `until` loop nodes.
16
+ */
17
+ export declare const GRAPH_DEFAULT_MAX_LOOP_ITERATIONS = 100;
18
+ /**
19
+ * Default maximum iterations for `foreach` loop nodes.
20
+ */
21
+ export declare const GRAPH_DEFAULT_MAX_FOREACH_ITERATIONS = 1000;
22
+ /**
23
+ * Metadata key under which pinning information is stored on a graph node.
24
+ */
25
+ export declare const GRAPH_PINNING_METADATA_KEY = "graph.pinnable";
26
+ /**
27
+ * Execution status for a workflow or individual node.
28
+ */
29
+ export declare enum GraphExecutionStatus {
30
+ PENDING = "pending",
31
+ PLANNING = "planning",
32
+ RUNNING = "running",
33
+ SUCCEEDED = "succeeded",
34
+ FAILED = "failed",
35
+ SKIPPED = "skipped",
36
+ CANCELLED = "cancelled",
37
+ CACHED = "cached"
38
+ }
39
+ /**
40
+ * Event types emitted through the graph execution observer pipeline.
41
+ */
42
+ export declare enum GraphExecutionEventType {
43
+ WORKFLOW_STARTED = "workflow.started",
44
+ WORKFLOW_PLANNED = "workflow.planned",
45
+ WORKFLOW_COMPLETED = "workflow.completed",
46
+ WORKFLOW_FAILED = "workflow.failed",
47
+ WORKFLOW_CANCELLED = "workflow.cancelled",
48
+ NODE_QUEUED = "node.queued",
49
+ NODE_STARTED = "node.started",
50
+ NODE_OUTPUT = "node.output",
51
+ NODE_COMPLETED = "node.completed",
52
+ NODE_FAILED = "node.failed",
53
+ NODE_SKIPPED = "node.skipped",
54
+ NODE_CACHE_HIT = "node.cacheHit",
55
+ NODE_PINNED = "node.pinned",
56
+ NODE_UNPINNED = "node.unpinned",
57
+ EDGE_VALUE_ROUTED = "edge.valueRouted",
58
+ LOOP_STARTED = "loop.started",
59
+ LOOP_ITERATION_STARTED = "loop.iteration.started",
60
+ LOOP_ITERATION_COMPLETED = "loop.iteration.completed",
61
+ LOOP_CONDITION_EVALUATED = "loop.condition.evaluated",
62
+ LOOP_COMPLETED = "loop.completed",
63
+ LOOP_LIMIT_REACHED = "loop.limitReached",
64
+ VALIDATION_STARTED = "validation.started",
65
+ VALIDATION_FAILED = "validation.failed",
66
+ VALIDATION_COMPLETED = "validation.completed",
67
+ STORE_READ = "store.read",
68
+ STORE_WRITE = "store.write",
69
+ STORE_DELETE = "store.delete"
70
+ }
71
+ /**
72
+ * Pinning strategy determining when values are pinned.
73
+ */
74
+ export declare enum GraphPinningStrategy {
75
+ MANUAL = "manual",
76
+ AUTOMATIC = "automatic",
77
+ DISABLED = "disabled"
78
+ }
79
+ /**
80
+ * Built-in condition types supported by the loop condition evaluator.
81
+ */
82
+ export declare enum GraphConditionType {
83
+ TRUTHY = "truthy",
84
+ FALSY = "falsy",
85
+ EQUALS = "equals",
86
+ NOT_EQUALS = "notEquals",
87
+ GREATER_THAN = "greaterThan",
88
+ GREATER_THAN_OR_EQUAL = "greaterThanOrEqual",
89
+ LESS_THAN = "lessThan",
90
+ LESS_THAN_OR_EQUAL = "lessThanOrEqual",
91
+ EXISTS = "exists",
92
+ CUSTOM = "custom"
93
+ }
94
+ /**
95
+ * Loop node kinds recognised by the engine.
96
+ */
97
+ export declare const GRAPH_LOOP_KIND: {
98
+ readonly FOREACH: "core.loop.foreach";
99
+ readonly WHILE: "core.loop.while";
100
+ readonly UNTIL: "core.loop.until";
101
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @module integrations/graph/decorators
3
+ * @summary Reserved for future core-level graph decorators.
4
+ * @description This file is intentionally empty for now. Graph decorators such as `@pinnable()` live in `@decaf-ts/ui-decorators/graph`. Additional decorators may be added here if the core engine needs its own metadata keys.
5
+ */
6
+ export {};
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @module integrations/graph/decorators
3
+ * @summary Reserved for future core-level graph decorators.
4
+ * @description This file is intentionally empty for now. Graph decorators such as `@pinnable()` live in `@decaf-ts/ui-decorators/graph`. Additional decorators may be added here if the core engine needs its own metadata keys.
5
+ */
6
+ export {};
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphCycleError
3
+ * @summary Error thrown when a workflow contains an unsupported cycle.
4
+ * @description Ordinary (non-loop) workflow graphs must be acyclic. This error is raised when the planner detects a cycle.
5
+ */
6
+ import { GraphExecutionError } from "./GraphExecutionError.d.cts";
7
+ /**
8
+ * Thrown when a graph workflow contains an unsupported cycle.
9
+ */
10
+ export declare class GraphCycleError extends GraphExecutionError {
11
+ constructor(details?: unknown);
12
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphCycleError
3
+ * @summary Error thrown when a workflow contains an unsupported cycle.
4
+ * @description Ordinary (non-loop) workflow graphs must be acyclic. This error is raised when the planner detects a cycle.
5
+ */
6
+ import { GraphExecutionError } from "./GraphExecutionError.d.mts";
7
+ /**
8
+ * Thrown when a graph workflow contains an unsupported cycle.
9
+ */
10
+ export declare class GraphCycleError extends GraphExecutionError {
11
+ constructor(details?: unknown);
12
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphExecutionError
3
+ * @summary Base error for all graph execution failures.
4
+ * @description Extends Decaf's {@link InternalError} so graph errors follow the standard Decaf error hierarchy while carrying a graph-specific string code.
5
+ */
6
+ import { InternalError } from "@decaf-ts/db-decorators";
7
+ /**
8
+ * Base error for the graph execution engine.
9
+ *
10
+ * Extends `InternalError` (HTTP 500) to comply with the Decaf constitution which
11
+ * requires runtime errors to be `BaseError` subclasses. The additional
12
+ * `graphCode` property carries a machine-readable string code such as
13
+ * `"GRAPH_CYCLE_ERROR"`.
14
+ */
15
+ export declare class GraphExecutionError extends InternalError {
16
+ readonly graphCode: string;
17
+ readonly details?: unknown;
18
+ constructor(message: string, graphCode?: string, details?: unknown);
19
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphExecutionError
3
+ * @summary Base error for all graph execution failures.
4
+ * @description Extends Decaf's {@link InternalError} so graph errors follow the standard Decaf error hierarchy while carrying a graph-specific string code.
5
+ */
6
+ import { InternalError } from "@decaf-ts/db-decorators";
7
+ /**
8
+ * Base error for the graph execution engine.
9
+ *
10
+ * Extends `InternalError` (HTTP 500) to comply with the Decaf constitution which
11
+ * requires runtime errors to be `BaseError` subclasses. The additional
12
+ * `graphCode` property carries a machine-readable string code such as
13
+ * `"GRAPH_CYCLE_ERROR"`.
14
+ */
15
+ export declare class GraphExecutionError extends InternalError {
16
+ readonly graphCode: string;
17
+ readonly details?: unknown;
18
+ constructor(message: string, graphCode?: string, details?: unknown);
19
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphInputError
3
+ * @summary Error thrown when workflow or node inputs are invalid.
4
+ * @description Raised by the value validator when required inputs are missing or fail schema validation.
5
+ */
6
+ import { GraphExecutionError } from "./GraphExecutionError.d.cts";
7
+ /**
8
+ * Thrown when workflow or node inputs are invalid.
9
+ */
10
+ export declare class GraphInputError extends GraphExecutionError {
11
+ constructor(message: string, details?: unknown);
12
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphInputError
3
+ * @summary Error thrown when workflow or node inputs are invalid.
4
+ * @description Raised by the value validator when required inputs are missing or fail schema validation.
5
+ */
6
+ import { GraphExecutionError } from "./GraphExecutionError.d.mts";
7
+ /**
8
+ * Thrown when workflow or node inputs are invalid.
9
+ */
10
+ export declare class GraphInputError extends GraphExecutionError {
11
+ constructor(message: string, details?: unknown);
12
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphLoopLimitError
3
+ * @summary Error thrown when a loop exceeds its maximum iterations.
4
+ * @description Raised by loop executors when the iteration count reaches the configured safety limit.
5
+ */
6
+ import { GraphExecutionError } from "./GraphExecutionError.d.cts";
7
+ /**
8
+ * Thrown when a loop exceeds its maximum iterations.
9
+ */
10
+ export declare class GraphLoopLimitError extends GraphExecutionError {
11
+ constructor(message: string, details?: unknown);
12
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphLoopLimitError
3
+ * @summary Error thrown when a loop exceeds its maximum iterations.
4
+ * @description Raised by loop executors when the iteration count reaches the configured safety limit.
5
+ */
6
+ import { GraphExecutionError } from "./GraphExecutionError.d.mts";
7
+ /**
8
+ * Thrown when a loop exceeds its maximum iterations.
9
+ */
10
+ export declare class GraphLoopLimitError extends GraphExecutionError {
11
+ constructor(message: string, details?: unknown);
12
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphPinningError
3
+ * @summary Error thrown when a pinning operation fails.
4
+ * @description Raised when a node cannot be pinned, e.g. because an upstream dependency is not pinnable.
5
+ */
6
+ import { GraphExecutionError } from "./GraphExecutionError.d.cts";
7
+ /**
8
+ * Thrown when a pinning operation fails.
9
+ */
10
+ export declare class GraphPinningError extends GraphExecutionError {
11
+ constructor(message: string, details?: unknown);
12
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphPinningError
3
+ * @summary Error thrown when a pinning operation fails.
4
+ * @description Raised when a node cannot be pinned, e.g. because an upstream dependency is not pinnable.
5
+ */
6
+ import { GraphExecutionError } from "./GraphExecutionError.d.mts";
7
+ /**
8
+ * Thrown when a pinning operation fails.
9
+ */
10
+ export declare class GraphPinningError extends GraphExecutionError {
11
+ constructor(message: string, details?: unknown);
12
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphPortError
3
+ * @summary Error thrown when a port reference is invalid.
4
+ * @description Raised by the relation resolver or validator when a referenced port is missing or unknown.
5
+ */
6
+ import { GraphExecutionError } from "./GraphExecutionError.d.cts";
7
+ /**
8
+ * Thrown when a port reference is invalid.
9
+ */
10
+ export declare class GraphPortError extends GraphExecutionError {
11
+ constructor(message: string, details?: unknown);
12
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphPortError
3
+ * @summary Error thrown when a port reference is invalid.
4
+ * @description Raised by the relation resolver or validator when a referenced port is missing or unknown.
5
+ */
6
+ import { GraphExecutionError } from "./GraphExecutionError.d.mts";
7
+ /**
8
+ * Thrown when a port reference is invalid.
9
+ */
10
+ export declare class GraphPortError extends GraphExecutionError {
11
+ constructor(message: string, details?: unknown);
12
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphStoreError
3
+ * @summary Error thrown when a value store operation fails.
4
+ * @description Raised by the value store or adapter when reading, writing, or deleting cached values fails.
5
+ */
6
+ import { GraphExecutionError } from "./GraphExecutionError.d.cts";
7
+ /**
8
+ * Thrown when a value store operation fails.
9
+ */
10
+ export declare class GraphStoreError extends GraphExecutionError {
11
+ constructor(message: string, details?: unknown);
12
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphStoreError
3
+ * @summary Error thrown when a value store operation fails.
4
+ * @description Raised by the value store or adapter when reading, writing, or deleting cached values fails.
5
+ */
6
+ import { GraphExecutionError } from "./GraphExecutionError.d.mts";
7
+ /**
8
+ * Thrown when a value store operation fails.
9
+ */
10
+ export declare class GraphStoreError extends GraphExecutionError {
11
+ constructor(message: string, details?: unknown);
12
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphTopologyError
3
+ * @summary Error thrown when workflow topology is invalid.
4
+ * @description Raised by the relation resolver or planner when an endpoint is unknown or ambiguous.
5
+ */
6
+ import { GraphExecutionError } from "./GraphExecutionError.d.cts";
7
+ /**
8
+ * Thrown when workflow topology is invalid.
9
+ */
10
+ export declare class GraphTopologyError extends GraphExecutionError {
11
+ constructor(message: string, details?: unknown);
12
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module integrations/graph/errors/GraphTopologyError
3
+ * @summary Error thrown when workflow topology is invalid.
4
+ * @description Raised by the relation resolver or planner when an endpoint is unknown or ambiguous.
5
+ */
6
+ import { GraphExecutionError } from "./GraphExecutionError.d.mts";
7
+ /**
8
+ * Thrown when workflow topology is invalid.
9
+ */
10
+ export declare class GraphTopologyError extends GraphExecutionError {
11
+ constructor(message: string, details?: unknown);
12
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module integrations/graph/errors
3
+ * @summary Graph execution error classes.
4
+ * @description Re-exports all structured error types used by the graph execution engine.
5
+ */
6
+ export * from "./GraphExecutionError.d.cts";
7
+ export * from "./GraphCycleError.d.cts";
8
+ export * from "./GraphInputError.d.cts";
9
+ export * from "./GraphLoopLimitError.d.cts";
10
+ export * from "./GraphPinningError.d.cts";
11
+ export * from "./GraphPortError.d.cts";
12
+ export * from "./GraphStoreError.d.cts";
13
+ export * from "./GraphTopologyError.d.cts";
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module integrations/graph/errors
3
+ * @summary Graph execution error classes.
4
+ * @description Re-exports all structured error types used by the graph execution engine.
5
+ */
6
+ export * from "./GraphExecutionError.d.mts";
7
+ export * from "./GraphCycleError.d.mts";
8
+ export * from "./GraphInputError.d.mts";
9
+ export * from "./GraphLoopLimitError.d.mts";
10
+ export * from "./GraphPinningError.d.mts";
11
+ export * from "./GraphPortError.d.mts";
12
+ export * from "./GraphStoreError.d.mts";
13
+ export * from "./GraphTopologyError.d.mts";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @module integrations/graph/events/GraphExecutionEvent
3
+ * @summary Re-export of the GraphExecutionEvent type for the events subpath.
4
+ * @description The GraphExecutionEvent interface is defined in the shared types module and re-exported here for convenience.
5
+ */
6
+ export type { GraphExecutionEvent } from "../types.d.cts";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @module integrations/graph/events/GraphExecutionEvent
3
+ * @summary Re-export of the GraphExecutionEvent type for the events subpath.
4
+ * @description The GraphExecutionEvent interface is defined in the shared types module and re-exported here for convenience.
5
+ */
6
+ export type { GraphExecutionEvent } from "../types.d.mts";