@exellix/exellix-runtime 3.5.1

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 (318) hide show
  1. package/README.md +422 -0
  2. package/dist/catalox-inventory/catalox-execution-matrix-inventory-cli.d.ts +4 -0
  3. package/dist/catalox-inventory/catalox-execution-matrix-inventory-cli.d.ts.map +1 -0
  4. package/dist/catalox-inventory/catalox-execution-matrix-inventory-cli.js +311 -0
  5. package/dist/catalox-inventory/catalox-execution-matrix-inventory-cli.js.map +1 -0
  6. package/dist/catalox-inventory/catalox-execution-matrix-inventory.d.ts +64 -0
  7. package/dist/catalox-inventory/catalox-execution-matrix-inventory.d.ts.map +1 -0
  8. package/dist/catalox-inventory/catalox-execution-matrix-inventory.js +226 -0
  9. package/dist/catalox-inventory/catalox-execution-matrix-inventory.js.map +1 -0
  10. package/dist/catalox-inventory/catalox-xmemory-entity-count-report.d.ts +145 -0
  11. package/dist/catalox-inventory/catalox-xmemory-entity-count-report.d.ts.map +1 -0
  12. package/dist/catalox-inventory/catalox-xmemory-entity-count-report.js +477 -0
  13. package/dist/catalox-inventory/catalox-xmemory-entity-count-report.js.map +1 -0
  14. package/dist/catalox-inventory/catalox-xmemory-entity-count-report.spec.d.ts +2 -0
  15. package/dist/catalox-inventory/catalox-xmemory-entity-count-report.spec.d.ts.map +1 -0
  16. package/dist/catalox-inventory/catalox-xmemory-entity-count-report.spec.js +34 -0
  17. package/dist/catalox-inventory/catalox-xmemory-entity-count-report.spec.js.map +1 -0
  18. package/dist/cli/argv.d.ts +5 -0
  19. package/dist/cli/argv.d.ts.map +1 -0
  20. package/dist/cli/argv.js +32 -0
  21. package/dist/cli/argv.js.map +1 -0
  22. package/dist/cli/commands/health.d.ts +2 -0
  23. package/dist/cli/commands/health.d.ts.map +1 -0
  24. package/dist/cli/commands/health.js +23 -0
  25. package/dist/cli/commands/health.js.map +1 -0
  26. package/dist/cli/commands/matrix-link.d.ts +2 -0
  27. package/dist/cli/commands/matrix-link.d.ts.map +1 -0
  28. package/dist/cli/commands/matrix-link.js +56 -0
  29. package/dist/cli/commands/matrix-link.js.map +1 -0
  30. package/dist/cli/commands/matrix-read.d.ts +2 -0
  31. package/dist/cli/commands/matrix-read.d.ts.map +1 -0
  32. package/dist/cli/commands/matrix-read.js +73 -0
  33. package/dist/cli/commands/matrix-read.js.map +1 -0
  34. package/dist/cli/env.d.ts +6 -0
  35. package/dist/cli/env.d.ts.map +1 -0
  36. package/dist/cli/env.js +39 -0
  37. package/dist/cli/env.js.map +1 -0
  38. package/dist/cli/exellix-runtime-cli.d.ts +3 -0
  39. package/dist/cli/exellix-runtime-cli.d.ts.map +1 -0
  40. package/dist/cli/exellix-runtime-cli.js +55 -0
  41. package/dist/cli/exellix-runtime-cli.js.map +1 -0
  42. package/dist/cli/help.d.ts +19 -0
  43. package/dist/cli/help.d.ts.map +1 -0
  44. package/dist/cli/help.js +94 -0
  45. package/dist/cli/help.js.map +1 -0
  46. package/dist/client-toolbox/bundle.d.ts +17 -0
  47. package/dist/client-toolbox/bundle.d.ts.map +1 -0
  48. package/dist/client-toolbox/bundle.js +17 -0
  49. package/dist/client-toolbox/bundle.js.map +1 -0
  50. package/dist/client-toolbox/client-toolbox.spec.d.ts +2 -0
  51. package/dist/client-toolbox/client-toolbox.spec.d.ts.map +1 -0
  52. package/dist/client-toolbox/client-toolbox.spec.js +145 -0
  53. package/dist/client-toolbox/client-toolbox.spec.js.map +1 -0
  54. package/dist/client-toolbox/index.d.ts +4 -0
  55. package/dist/client-toolbox/index.d.ts.map +1 -0
  56. package/dist/client-toolbox/index.js +4 -0
  57. package/dist/client-toolbox/index.js.map +1 -0
  58. package/dist/client-toolbox/matrix-config.d.ts +67 -0
  59. package/dist/client-toolbox/matrix-config.d.ts.map +1 -0
  60. package/dist/client-toolbox/matrix-config.js +140 -0
  61. package/dist/client-toolbox/matrix-config.js.map +1 -0
  62. package/dist/client-toolbox/matrix-materialize.d.ts +56 -0
  63. package/dist/client-toolbox/matrix-materialize.d.ts.map +1 -0
  64. package/dist/client-toolbox/matrix-materialize.js +130 -0
  65. package/dist/client-toolbox/matrix-materialize.js.map +1 -0
  66. package/dist/dev/matrix-read-dashboard-smoke.d.ts +2 -0
  67. package/dist/dev/matrix-read-dashboard-smoke.d.ts.map +1 -0
  68. package/dist/dev/matrix-read-dashboard-smoke.js +12 -0
  69. package/dist/dev/matrix-read-dashboard-smoke.js.map +1 -0
  70. package/dist/dev/runtime-real-dev-server.d.ts +2 -0
  71. package/dist/dev/runtime-real-dev-server.d.ts.map +1 -0
  72. package/dist/dev/runtime-real-dev-server.js +90 -0
  73. package/dist/dev/runtime-real-dev-server.js.map +1 -0
  74. package/dist/execution-matrix/catalox-loader.d.ts +55 -0
  75. package/dist/execution-matrix/catalox-loader.d.ts.map +1 -0
  76. package/dist/execution-matrix/catalox-loader.js +199 -0
  77. package/dist/execution-matrix/catalox-loader.js.map +1 -0
  78. package/dist/execution-matrix/catalox-matrix-host.d.ts +20 -0
  79. package/dist/execution-matrix/catalox-matrix-host.d.ts.map +1 -0
  80. package/dist/execution-matrix/catalox-matrix-host.js +19 -0
  81. package/dist/execution-matrix/catalox-matrix-host.js.map +1 -0
  82. package/dist/execution-matrix/collections.d.ts +16 -0
  83. package/dist/execution-matrix/collections.d.ts.map +1 -0
  84. package/dist/execution-matrix/collections.js +75 -0
  85. package/dist/execution-matrix/collections.js.map +1 -0
  86. package/dist/execution-matrix/config-store.d.ts +104 -0
  87. package/dist/execution-matrix/config-store.d.ts.map +1 -0
  88. package/dist/execution-matrix/config-store.js +273 -0
  89. package/dist/execution-matrix/config-store.js.map +1 -0
  90. package/dist/execution-matrix/constants.d.ts +19 -0
  91. package/dist/execution-matrix/constants.d.ts.map +1 -0
  92. package/dist/execution-matrix/constants.js +19 -0
  93. package/dist/execution-matrix/constants.js.map +1 -0
  94. package/dist/execution-matrix/contracts.d.ts +568 -0
  95. package/dist/execution-matrix/contracts.d.ts.map +1 -0
  96. package/dist/execution-matrix/contracts.js +44 -0
  97. package/dist/execution-matrix/contracts.js.map +1 -0
  98. package/dist/execution-matrix/data-source.d.ts +43 -0
  99. package/dist/execution-matrix/data-source.d.ts.map +1 -0
  100. package/dist/execution-matrix/data-source.js +307 -0
  101. package/dist/execution-matrix/data-source.js.map +1 -0
  102. package/dist/execution-matrix/eligibility.d.ts +48 -0
  103. package/dist/execution-matrix/eligibility.d.ts.map +1 -0
  104. package/dist/execution-matrix/eligibility.js +89 -0
  105. package/dist/execution-matrix/eligibility.js.map +1 -0
  106. package/dist/execution-matrix/execution-matrix-claim-pause.d.ts +20 -0
  107. package/dist/execution-matrix/execution-matrix-claim-pause.d.ts.map +1 -0
  108. package/dist/execution-matrix/execution-matrix-claim-pause.js +18 -0
  109. package/dist/execution-matrix/execution-matrix-claim-pause.js.map +1 -0
  110. package/dist/execution-matrix/execution-matrix-claim-pause.spec.d.ts +2 -0
  111. package/dist/execution-matrix/execution-matrix-claim-pause.spec.d.ts.map +1 -0
  112. package/dist/execution-matrix/execution-matrix-claim-pause.spec.js +23 -0
  113. package/dist/execution-matrix/execution-matrix-claim-pause.spec.js.map +1 -0
  114. package/dist/execution-matrix/execution-matrix.live.spec.d.ts +2 -0
  115. package/dist/execution-matrix/execution-matrix.live.spec.d.ts.map +1 -0
  116. package/dist/execution-matrix/execution-matrix.live.spec.js +152 -0
  117. package/dist/execution-matrix/execution-matrix.live.spec.js.map +1 -0
  118. package/dist/execution-matrix/execution-matrix.live.xmemory.spec.d.ts +2 -0
  119. package/dist/execution-matrix/execution-matrix.live.xmemory.spec.d.ts.map +1 -0
  120. package/dist/execution-matrix/execution-matrix.live.xmemory.spec.js +346 -0
  121. package/dist/execution-matrix/execution-matrix.live.xmemory.spec.js.map +1 -0
  122. package/dist/execution-matrix/execution-matrix.spec.d.ts +2 -0
  123. package/dist/execution-matrix/execution-matrix.spec.d.ts.map +1 -0
  124. package/dist/execution-matrix/execution-matrix.spec.js +1786 -0
  125. package/dist/execution-matrix/execution-matrix.spec.js.map +1 -0
  126. package/dist/execution-matrix/execution-mode.d.ts +34 -0
  127. package/dist/execution-matrix/execution-mode.d.ts.map +1 -0
  128. package/dist/execution-matrix/execution-mode.js +72 -0
  129. package/dist/execution-matrix/execution-mode.js.map +1 -0
  130. package/dist/execution-matrix/factory.d.ts +72 -0
  131. package/dist/execution-matrix/factory.d.ts.map +1 -0
  132. package/dist/execution-matrix/factory.js +77 -0
  133. package/dist/execution-matrix/factory.js.map +1 -0
  134. package/dist/execution-matrix/graph-engine-datafilters-reexport.spec.d.ts +2 -0
  135. package/dist/execution-matrix/graph-engine-datafilters-reexport.spec.d.ts.map +1 -0
  136. package/dist/execution-matrix/graph-engine-datafilters-reexport.spec.js +48 -0
  137. package/dist/execution-matrix/graph-engine-datafilters-reexport.spec.js.map +1 -0
  138. package/dist/execution-matrix/graph-entry-xmemory-load.d.ts +130 -0
  139. package/dist/execution-matrix/graph-entry-xmemory-load.d.ts.map +1 -0
  140. package/dist/execution-matrix/graph-entry-xmemory-load.js +146 -0
  141. package/dist/execution-matrix/graph-entry-xmemory-load.js.map +1 -0
  142. package/dist/execution-matrix/graph-entry-xmemory-load.spec.d.ts +2 -0
  143. package/dist/execution-matrix/graph-entry-xmemory-load.spec.d.ts.map +1 -0
  144. package/dist/execution-matrix/graph-entry-xmemory-load.spec.js +66 -0
  145. package/dist/execution-matrix/graph-entry-xmemory-load.spec.js.map +1 -0
  146. package/dist/execution-matrix/graph-operational-aggregates.d.ts +47 -0
  147. package/dist/execution-matrix/graph-operational-aggregates.d.ts.map +1 -0
  148. package/dist/execution-matrix/graph-operational-aggregates.js +137 -0
  149. package/dist/execution-matrix/graph-operational-aggregates.js.map +1 -0
  150. package/dist/execution-matrix/graph-operational-lifecycle.d.ts +43 -0
  151. package/dist/execution-matrix/graph-operational-lifecycle.d.ts.map +1 -0
  152. package/dist/execution-matrix/graph-operational-lifecycle.js +88 -0
  153. package/dist/execution-matrix/graph-operational-lifecycle.js.map +1 -0
  154. package/dist/execution-matrix/graph-operational.spec.d.ts +2 -0
  155. package/dist/execution-matrix/graph-operational.spec.d.ts.map +1 -0
  156. package/dist/execution-matrix/graph-operational.spec.js +203 -0
  157. package/dist/execution-matrix/graph-operational.spec.js.map +1 -0
  158. package/dist/execution-matrix/index.d.ts +73 -0
  159. package/dist/execution-matrix/index.d.ts.map +1 -0
  160. package/dist/execution-matrix/index.js +57 -0
  161. package/dist/execution-matrix/index.js.map +1 -0
  162. package/dist/execution-matrix/live-tier-open.d.ts +6 -0
  163. package/dist/execution-matrix/live-tier-open.d.ts.map +1 -0
  164. package/dist/execution-matrix/live-tier-open.js +6 -0
  165. package/dist/execution-matrix/live-tier-open.js.map +1 -0
  166. package/dist/execution-matrix/materializer.d.ts +99 -0
  167. package/dist/execution-matrix/materializer.d.ts.map +1 -0
  168. package/dist/execution-matrix/materializer.js +210 -0
  169. package/dist/execution-matrix/materializer.js.map +1 -0
  170. package/dist/execution-matrix/matrix-activix.d.ts +24 -0
  171. package/dist/execution-matrix/matrix-activix.d.ts.map +1 -0
  172. package/dist/execution-matrix/matrix-activix.js +34 -0
  173. package/dist/execution-matrix/matrix-activix.js.map +1 -0
  174. package/dist/execution-matrix/matrix-data-tier.d.ts +55 -0
  175. package/dist/execution-matrix/matrix-data-tier.d.ts.map +1 -0
  176. package/dist/execution-matrix/matrix-data-tier.js +74 -0
  177. package/dist/execution-matrix/matrix-data-tier.js.map +1 -0
  178. package/dist/execution-matrix/matrix-execute-graph-adapter.d.ts +43 -0
  179. package/dist/execution-matrix/matrix-execute-graph-adapter.d.ts.map +1 -0
  180. package/dist/execution-matrix/matrix-execute-graph-adapter.js +62 -0
  181. package/dist/execution-matrix/matrix-execute-graph-adapter.js.map +1 -0
  182. package/dist/execution-matrix/matrix-execute-graph-adapter.spec.d.ts +2 -0
  183. package/dist/execution-matrix/matrix-execute-graph-adapter.spec.d.ts.map +1 -0
  184. package/dist/execution-matrix/matrix-execute-graph-adapter.spec.js +60 -0
  185. package/dist/execution-matrix/matrix-execute-graph-adapter.spec.js.map +1 -0
  186. package/dist/execution-matrix/matrix-logxer.d.ts +15 -0
  187. package/dist/execution-matrix/matrix-logxer.d.ts.map +1 -0
  188. package/dist/execution-matrix/matrix-logxer.js +65 -0
  189. package/dist/execution-matrix/matrix-logxer.js.map +1 -0
  190. package/dist/execution-matrix/matrix-read-tier.d.ts +41 -0
  191. package/dist/execution-matrix/matrix-read-tier.d.ts.map +1 -0
  192. package/dist/execution-matrix/matrix-read-tier.js +41 -0
  193. package/dist/execution-matrix/matrix-read-tier.js.map +1 -0
  194. package/dist/execution-matrix/memorix-entity-type-helpers.d.ts +25 -0
  195. package/dist/execution-matrix/memorix-entity-type-helpers.d.ts.map +1 -0
  196. package/dist/execution-matrix/memorix-entity-type-helpers.js +32 -0
  197. package/dist/execution-matrix/memorix-entity-type-helpers.js.map +1 -0
  198. package/dist/execution-matrix/memorix-entity-type-helpers.spec.d.ts +2 -0
  199. package/dist/execution-matrix/memorix-entity-type-helpers.spec.d.ts.map +1 -0
  200. package/dist/execution-matrix/memorix-entity-type-helpers.spec.js +83 -0
  201. package/dist/execution-matrix/memorix-entity-type-helpers.spec.js.map +1 -0
  202. package/dist/execution-matrix/memorix-inference-persister.d.ts +73 -0
  203. package/dist/execution-matrix/memorix-inference-persister.d.ts.map +1 -0
  204. package/dist/execution-matrix/memorix-inference-persister.js +126 -0
  205. package/dist/execution-matrix/memorix-inference-persister.js.map +1 -0
  206. package/dist/execution-matrix/memorix-inference-persister.spec.d.ts +2 -0
  207. package/dist/execution-matrix/memorix-inference-persister.spec.d.ts.map +1 -0
  208. package/dist/execution-matrix/memorix-inference-persister.spec.js +117 -0
  209. package/dist/execution-matrix/memorix-inference-persister.spec.js.map +1 -0
  210. package/dist/execution-matrix/memorix-matrix-entity-facet.d.ts +71 -0
  211. package/dist/execution-matrix/memorix-matrix-entity-facet.d.ts.map +1 -0
  212. package/dist/execution-matrix/memorix-matrix-entity-facet.js +91 -0
  213. package/dist/execution-matrix/memorix-matrix-entity-facet.js.map +1 -0
  214. package/dist/execution-matrix/memorix-matrix-entity-facet.spec.d.ts +2 -0
  215. package/dist/execution-matrix/memorix-matrix-entity-facet.spec.d.ts.map +1 -0
  216. package/dist/execution-matrix/memorix-matrix-entity-facet.spec.js +151 -0
  217. package/dist/execution-matrix/memorix-matrix-entity-facet.spec.js.map +1 -0
  218. package/dist/execution-matrix/memorix-runtime-tier.d.ts +153 -0
  219. package/dist/execution-matrix/memorix-runtime-tier.d.ts.map +1 -0
  220. package/dist/execution-matrix/memorix-runtime-tier.js +185 -0
  221. package/dist/execution-matrix/memorix-runtime-tier.js.map +1 -0
  222. package/dist/execution-matrix/memorix-tier-statistics.d.ts +103 -0
  223. package/dist/execution-matrix/memorix-tier-statistics.d.ts.map +1 -0
  224. package/dist/execution-matrix/memorix-tier-statistics.js +164 -0
  225. package/dist/execution-matrix/memorix-tier-statistics.js.map +1 -0
  226. package/dist/execution-matrix/memory-store.d.ts +20 -0
  227. package/dist/execution-matrix/memory-store.d.ts.map +1 -0
  228. package/dist/execution-matrix/memory-store.js +185 -0
  229. package/dist/execution-matrix/memory-store.js.map +1 -0
  230. package/dist/execution-matrix/navigator.d.ts +97 -0
  231. package/dist/execution-matrix/navigator.d.ts.map +1 -0
  232. package/dist/execution-matrix/navigator.js +119 -0
  233. package/dist/execution-matrix/navigator.js.map +1 -0
  234. package/dist/execution-matrix/orchestrator.d.ts +204 -0
  235. package/dist/execution-matrix/orchestrator.d.ts.map +1 -0
  236. package/dist/execution-matrix/orchestrator.js +656 -0
  237. package/dist/execution-matrix/orchestrator.js.map +1 -0
  238. package/dist/execution-matrix/records-eligibility.d.ts +34 -0
  239. package/dist/execution-matrix/records-eligibility.d.ts.map +1 -0
  240. package/dist/execution-matrix/records-eligibility.js +110 -0
  241. package/dist/execution-matrix/records-eligibility.js.map +1 -0
  242. package/dist/execution-matrix/records-eligibility.spec.d.ts +2 -0
  243. package/dist/execution-matrix/records-eligibility.spec.d.ts.map +1 -0
  244. package/dist/execution-matrix/records-eligibility.spec.js +154 -0
  245. package/dist/execution-matrix/records-eligibility.spec.js.map +1 -0
  246. package/dist/execution-matrix/run-loop.d.ts +140 -0
  247. package/dist/execution-matrix/run-loop.d.ts.map +1 -0
  248. package/dist/execution-matrix/run-loop.js +350 -0
  249. package/dist/execution-matrix/run-loop.js.map +1 -0
  250. package/dist/execution-matrix/runtime-connectivity-health.d.ts +128 -0
  251. package/dist/execution-matrix/runtime-connectivity-health.d.ts.map +1 -0
  252. package/dist/execution-matrix/runtime-connectivity-health.js +253 -0
  253. package/dist/execution-matrix/runtime-connectivity-health.js.map +1 -0
  254. package/dist/execution-matrix/runtime-connectivity-health.spec.d.ts +2 -0
  255. package/dist/execution-matrix/runtime-connectivity-health.spec.d.ts.map +1 -0
  256. package/dist/execution-matrix/runtime-connectivity-health.spec.js +23 -0
  257. package/dist/execution-matrix/runtime-connectivity-health.spec.js.map +1 -0
  258. package/dist/execution-matrix/runtime-objects.d.ts +16 -0
  259. package/dist/execution-matrix/runtime-objects.d.ts.map +1 -0
  260. package/dist/execution-matrix/runtime-objects.js +20 -0
  261. package/dist/execution-matrix/runtime-objects.js.map +1 -0
  262. package/dist/execution-matrix/runtime-store.d.ts +114 -0
  263. package/dist/execution-matrix/runtime-store.d.ts.map +1 -0
  264. package/dist/execution-matrix/runtime-store.js +506 -0
  265. package/dist/execution-matrix/runtime-store.js.map +1 -0
  266. package/dist/execution-matrix/snapshot-runner.d.ts +50 -0
  267. package/dist/execution-matrix/snapshot-runner.d.ts.map +1 -0
  268. package/dist/execution-matrix/snapshot-runner.js +111 -0
  269. package/dist/execution-matrix/snapshot-runner.js.map +1 -0
  270. package/dist/execution-matrix/source-resolver-factories.d.ts +31 -0
  271. package/dist/execution-matrix/source-resolver-factories.d.ts.map +1 -0
  272. package/dist/execution-matrix/source-resolver-factories.js +71 -0
  273. package/dist/execution-matrix/source-resolver-factories.js.map +1 -0
  274. package/dist/execution-matrix/source-resolver-factories.spec.d.ts +2 -0
  275. package/dist/execution-matrix/source-resolver-factories.spec.d.ts.map +1 -0
  276. package/dist/execution-matrix/source-resolver-factories.spec.js +127 -0
  277. package/dist/execution-matrix/source-resolver-factories.spec.js.map +1 -0
  278. package/dist/execution-matrix/source-resolver.d.ts +31 -0
  279. package/dist/execution-matrix/source-resolver.d.ts.map +1 -0
  280. package/dist/execution-matrix/source-resolver.js +26 -0
  281. package/dist/execution-matrix/source-resolver.js.map +1 -0
  282. package/dist/execution-matrix/status.d.ts +7 -0
  283. package/dist/execution-matrix/status.d.ts.map +1 -0
  284. package/dist/execution-matrix/status.js +33 -0
  285. package/dist/execution-matrix/status.js.map +1 -0
  286. package/dist/execution-matrix/xmemory-entity-collections.d.ts +69 -0
  287. package/dist/execution-matrix/xmemory-entity-collections.d.ts.map +1 -0
  288. package/dist/execution-matrix/xmemory-entity-collections.js +120 -0
  289. package/dist/execution-matrix/xmemory-entity-collections.js.map +1 -0
  290. package/dist/execution-matrix/xmemory-entity-collections.spec.d.ts +2 -0
  291. package/dist/execution-matrix/xmemory-entity-collections.spec.d.ts.map +1 -0
  292. package/dist/execution-matrix/xmemory-entity-collections.spec.js +112 -0
  293. package/dist/execution-matrix/xmemory-entity-collections.spec.js.map +1 -0
  294. package/dist/execution-matrix/xmemory-op-tier.d.ts +172 -0
  295. package/dist/execution-matrix/xmemory-op-tier.d.ts.map +1 -0
  296. package/dist/execution-matrix/xmemory-op-tier.js +339 -0
  297. package/dist/execution-matrix/xmemory-op-tier.js.map +1 -0
  298. package/dist/execution-matrix/xmemory-op-tier.spec.d.ts +2 -0
  299. package/dist/execution-matrix/xmemory-op-tier.spec.d.ts.map +1 -0
  300. package/dist/execution-matrix/xmemory-op-tier.spec.js +198 -0
  301. package/dist/execution-matrix/xmemory-op-tier.spec.js.map +1 -0
  302. package/dist/execution-matrix/xronox-matrix-factory.d.ts +38 -0
  303. package/dist/execution-matrix/xronox-matrix-factory.d.ts.map +1 -0
  304. package/dist/execution-matrix/xronox-matrix-factory.js +77 -0
  305. package/dist/execution-matrix/xronox-matrix-factory.js.map +1 -0
  306. package/dist/execution-matrix/xronox-store-native-driver-hooks.d.ts +15 -0
  307. package/dist/execution-matrix/xronox-store-native-driver-hooks.d.ts.map +1 -0
  308. package/dist/execution-matrix/xronox-store-native-driver-hooks.js +41 -0
  309. package/dist/execution-matrix/xronox-store-native-driver-hooks.js.map +1 -0
  310. package/dist/test-fixtures/exellix-test-matrix-ids.d.ts +16 -0
  311. package/dist/test-fixtures/exellix-test-matrix-ids.d.ts.map +1 -0
  312. package/dist/test-fixtures/exellix-test-matrix-ids.js +16 -0
  313. package/dist/test-fixtures/exellix-test-matrix-ids.js.map +1 -0
  314. package/dist/test-fixtures/seed-exellix-test-matrix-config.d.ts +26 -0
  315. package/dist/test-fixtures/seed-exellix-test-matrix-config.d.ts.map +1 -0
  316. package/dist/test-fixtures/seed-exellix-test-matrix-config.js +82 -0
  317. package/dist/test-fixtures/seed-exellix-test-matrix-config.js.map +1 -0
  318. package/package.json +67 -0
@@ -0,0 +1,88 @@
1
+ import { ExecutionMatrixCatalogValidationError } from './catalox-loader.js';
2
+ import { DEFAULT_GRAPH_OPERATIONAL_STATE, DEFAULT_GRAPH_PUBLICATION_STATUS, GRAPH_OPERATIONAL_STATES, GRAPH_PUBLICATION_STATUSES, } from './contracts.js';
3
+ export class GraphNotSchedulableError extends Error {
4
+ graphId;
5
+ publicationStatus;
6
+ operationalState;
7
+ constructor(message, graphId, publicationStatus, operationalState) {
8
+ super(message);
9
+ this.graphId = graphId;
10
+ this.publicationStatus = publicationStatus;
11
+ this.operationalState = operationalState;
12
+ this.name = 'GraphNotSchedulableError';
13
+ }
14
+ }
15
+ function isPublicationStatus(v) {
16
+ return typeof v === 'string' && GRAPH_PUBLICATION_STATUSES.includes(v);
17
+ }
18
+ function isOperationalState(v) {
19
+ return typeof v === 'string' && GRAPH_OPERATIONAL_STATES.includes(v);
20
+ }
21
+ /**
22
+ * Effective publication / operational values for a graph config row (fills legacy omissions).
23
+ */
24
+ export function resolveGraphConfigOperationalView(record) {
25
+ const publicationStatus = record.publicationStatus ?? DEFAULT_GRAPH_PUBLICATION_STATUS;
26
+ const operationalState = record.operationalState ?? DEFAULT_GRAPH_OPERATIONAL_STATE;
27
+ return { publicationStatus, operationalState };
28
+ }
29
+ /**
30
+ * Throws when the graph must not be claimed or executed by workers (Draft/Archived, or NotOperational).
31
+ * {@link GraphOperationalState} `Ready` and `Running` are both schedulable when publication is `Published`.
32
+ */
33
+ export function assertGraphSchedulable(record) {
34
+ const { publicationStatus, operationalState } = resolveGraphConfigOperationalView(record);
35
+ const gid = record.graphId;
36
+ if (publicationStatus !== 'Published') {
37
+ throw new GraphNotSchedulableError(`Graph '${gid}' is not schedulable: publicationStatus is '${publicationStatus}' (expected 'Published')`, gid, publicationStatus, operationalState);
38
+ }
39
+ if (operationalState !== 'Ready' && operationalState !== 'Running') {
40
+ throw new GraphNotSchedulableError(`Graph '${gid}' is not schedulable: operationalState is '${operationalState}' (expected 'Ready' or 'Running')`, gid, publicationStatus, operationalState);
41
+ }
42
+ }
43
+ /**
44
+ * Validates merged publication + operational fields before persist.
45
+ *
46
+ * @param prevEffective — previous effective view (after {@link resolveGraphConfigOperationalView}); omit on create.
47
+ */
48
+ export function validateGraphOperationalFields(next, prevEffective) {
49
+ const issues = [];
50
+ if (!isPublicationStatus(next.publicationStatus)) {
51
+ issues.push(`invalid publicationStatus: ${JSON.stringify(next.publicationStatus)}`);
52
+ }
53
+ if (!isOperationalState(next.operationalState)) {
54
+ issues.push(`invalid operationalState: ${JSON.stringify(next.operationalState)}`);
55
+ }
56
+ if (issues.length) {
57
+ throw new ExecutionMatrixCatalogValidationError('Invalid graph operational fields', issues);
58
+ }
59
+ const pub = next.publicationStatus;
60
+ const op = next.operationalState;
61
+ if (pub === 'Draft' || pub === 'Archived') {
62
+ if (op !== 'NotOperational') {
63
+ issues.push(`publicationStatus '${pub}' requires operationalState 'NotOperational' (got '${op}')`);
64
+ }
65
+ }
66
+ if (op === 'Ready' || op === 'Running') {
67
+ if (pub !== 'Published') {
68
+ issues.push(`operationalState '${op}' requires publicationStatus 'Published' (got '${pub}')`);
69
+ }
70
+ }
71
+ if (prevEffective && prevEffective.publicationStatus === 'Archived' && pub === 'Published') {
72
+ issues.push('cannot transition publicationStatus from Archived to Published (set Draft first)');
73
+ }
74
+ if (issues.length) {
75
+ throw new ExecutionMatrixCatalogValidationError('Invalid graph operational combination', issues);
76
+ }
77
+ }
78
+ /**
79
+ * Merges partial write input with current record defaults and runs {@link validateGraphOperationalFields}.
80
+ */
81
+ export function mergeAndValidateGraphOperationalUpdate(cur, patch) {
82
+ const prev = resolveGraphConfigOperationalView(cur);
83
+ const publicationStatus = patch.publicationStatus ?? prev.publicationStatus;
84
+ const operationalState = patch.operationalState ?? prev.operationalState;
85
+ validateGraphOperationalFields({ publicationStatus, operationalState }, prev);
86
+ return { publicationStatus, operationalState };
87
+ }
88
+ //# sourceMappingURL=graph-operational-lifecycle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-operational-lifecycle.js","sourceRoot":"","sources":["../../src/execution-matrix/graph-operational-lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qCAAqC,EAAE,MAAM,qBAAqB,CAAC;AAM5E,OAAO,EACL,+BAA+B,EAC/B,gCAAgC,EAChC,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,gBAAgB,CAAC;AAExB,MAAM,OAAO,wBAAyB,SAAQ,KAAK;IAG/B;IACA;IACA;IAJlB,YACE,OAAe,EACC,OAAe,EACf,iBAAyC,EACzC,gBAAuC;QAEvD,KAAK,CAAC,OAAO,CAAC,CAAC;QAJC,YAAO,GAAP,OAAO,CAAQ;QACf,sBAAiB,GAAjB,iBAAiB,CAAwB;QACzC,qBAAgB,GAAhB,gBAAgB,CAAuB;QAGvD,IAAI,CAAC,IAAI,GAAG,0BAA0B,CAAC;IACzC,CAAC;CACF;AAED,SAAS,mBAAmB,CAAC,CAA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G,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,sCAAsC,CACpD,GAAsB,EACtB,KAAiC;IAEjC,MAAM,IAAI,GAAG,iCAAiC,CAAC,GAAG,CAAC,CAAC;IACpD,MAAM,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,IAAI,IAAI,CAAC,iBAAiB,CAAC;IAC5E,MAAM,gBAAgB,GAAG,KAAK,CAAC,gBAAgB,IAAI,IAAI,CAAC,gBAAgB,CAAC;IACzE,8BAA8B,CAAC,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,EAAE,IAAI,CAAC,CAAC;IAC9E,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;AACjD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=graph-operational.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-operational.spec.d.ts","sourceRoot":"","sources":["../../src/execution-matrix/graph-operational.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,203 @@
1
+ import { describe, expect, it, vi } from 'vitest';
2
+ import { ExecutionMatrixCatalogValidationError } from './catalox-loader.js';
3
+ import { MATRIX_FAILURE_PK, MATRIX_ROW_PK } from './constants.js';
4
+ import { createExellixConfigStore } from './config-store.js';
5
+ import { assertSafeInputGroupByPath, fetchGraphOperationalDashboardSlice } from './graph-operational-aggregates.js';
6
+ import { assertGraphSchedulable, GraphNotSchedulableError, validateGraphOperationalFields, } from './graph-operational-lifecycle.js';
7
+ import { materializeExecutionMatrixRuntimeRows } from './materializer.js';
8
+ import { MemoryMatrixCollection } from './memory-store.js';
9
+ import { processMatrixGraphBatch, processNextMatrixClaim } from './orchestrator.js';
10
+ import { createExecutionMatrixRuntime } from './runtime-store.js';
11
+ const graphPayload = {
12
+ graphId: 'G1',
13
+ mappedInput: [{}],
14
+ execution: { priority: 1 },
15
+ };
16
+ const graphRecords = [graphPayload];
17
+ const graphModel = {
18
+ id: 'G1',
19
+ response: { shape: { type: 'literal', value: {} } },
20
+ nodes: [],
21
+ };
22
+ describe('graph operational lifecycle', () => {
23
+ it('rejects Draft with Ready', () => {
24
+ expect(() => validateGraphOperationalFields({ publicationStatus: 'Draft', operationalState: 'Ready' })).toThrow(ExecutionMatrixCatalogValidationError);
25
+ });
26
+ it('accepts Published with Running', () => {
27
+ expect(() => validateGraphOperationalFields({ publicationStatus: 'Published', operationalState: 'Running' })).not.toThrow();
28
+ });
29
+ it('rejects Archived to Published transition', () => {
30
+ expect(() => validateGraphOperationalFields({ publicationStatus: 'Published', operationalState: 'NotOperational' }, { publicationStatus: 'Archived', operationalState: 'NotOperational' })).toThrow(ExecutionMatrixCatalogValidationError);
31
+ });
32
+ it('assertGraphSchedulable throws for Draft', () => {
33
+ expect(() => assertGraphSchedulable({
34
+ graphId: 'G1',
35
+ version: 1,
36
+ payload: graphPayload,
37
+ publicationStatus: 'Draft',
38
+ operationalState: 'NotOperational',
39
+ createdAt: 't',
40
+ updatedAt: 't',
41
+ })).toThrow(GraphNotSchedulableError);
42
+ });
43
+ });
44
+ describe('config store graph patchOperational', () => {
45
+ it('updates operationalState with concurrency', async () => {
46
+ const graphs = new MemoryMatrixCollection('graphId');
47
+ const matrices = new MemoryMatrixCollection('matrixCatalogId');
48
+ const store = createExellixConfigStore({ matrices: matrices.asCollection(), graphs: graphs.asCollection() });
49
+ await store.graphs.create({
50
+ graphId: 'G1',
51
+ payload: graphPayload,
52
+ publicationStatus: 'Published',
53
+ operationalState: 'NotOperational',
54
+ });
55
+ const v1 = await store.graphs.get('G1');
56
+ const v2 = await store.graphs.patchOperational({
57
+ graphId: 'G1',
58
+ expectedVersion: v1.version,
59
+ operationalState: 'Running',
60
+ });
61
+ expect(v2.operationalState).toBe('Running');
62
+ expect(v2.version).toBe(2);
63
+ });
64
+ });
65
+ describe('fetchGraphOperationalDashboardSlice', () => {
66
+ it('returns status histogram without group path', async () => {
67
+ const rows = new MemoryMatrixCollection(MATRIX_ROW_PK);
68
+ const fails = new MemoryMatrixCollection(MATRIX_FAILURE_PK);
69
+ const rt = createExecutionMatrixRuntime(rows.asCollection(), fails.asCollection(), { serializeClaims: true });
70
+ const [row] = materializeExecutionMatrixRuntimeRows({
71
+ matrixCatalogId: 'cat',
72
+ matrixItemId: 'item',
73
+ payload: { input: {}, graphs: ['G1'] },
74
+ graphRecords,
75
+ inputRows: [{}],
76
+ });
77
+ await rt.insertRuntimeRow(row);
78
+ const slice = await fetchGraphOperationalDashboardSlice({
79
+ runtime: rt,
80
+ loadGraphConfig: async () => ({
81
+ graphId: 'G1',
82
+ version: 3,
83
+ payload: graphPayload,
84
+ publicationStatus: 'Published',
85
+ operationalState: 'Running',
86
+ createdAt: 't',
87
+ updatedAt: 't',
88
+ }),
89
+ }, { matrixCatalogId: 'cat', graphId: 'G1' });
90
+ expect(slice.graphConfigFound).toBe(true);
91
+ expect(slice.publicationStatus).toBe('Published');
92
+ expect(slice.inputBuckets[0].key).toBe('_all');
93
+ expect(slice.inputBuckets[0].bySlotStatus['not-started']).toBe(1);
94
+ expect(slice.output.completedInferenceRows).toBe(0);
95
+ });
96
+ it('rejects unsafe inputGroupByPath', () => {
97
+ expect(() => assertSafeInputGroupByPath('a.$where')).toThrow(ExecutionMatrixCatalogValidationError);
98
+ });
99
+ });
100
+ describe('processNextMatrixClaim schedulability', () => {
101
+ it('throws when resolveGraphSchedulability returns Draft graph', async () => {
102
+ const rows = new MemoryMatrixCollection(MATRIX_ROW_PK);
103
+ const fails = new MemoryMatrixCollection(MATRIX_FAILURE_PK);
104
+ const rt = createExecutionMatrixRuntime(rows.asCollection(), fails.asCollection(), { serializeClaims: true });
105
+ const [row] = materializeExecutionMatrixRuntimeRows({
106
+ matrixCatalogId: 'cat',
107
+ matrixItemId: 'item',
108
+ payload: { input: {}, graphs: ['G1'] },
109
+ graphRecords,
110
+ inputRows: [{}],
111
+ });
112
+ await rt.insertRuntimeRow(row);
113
+ const executeGraph = vi.fn().mockResolvedValue({});
114
+ await expect(processNextMatrixClaim({
115
+ runtime: rt,
116
+ executeGraph,
117
+ graphModel,
118
+ resolveGraphSchedulability: async () => ({
119
+ graphId: 'G1',
120
+ version: 1,
121
+ payload: graphPayload,
122
+ publicationStatus: 'Draft',
123
+ operationalState: 'NotOperational',
124
+ createdAt: 't',
125
+ updatedAt: 't',
126
+ }),
127
+ }, { matrixCatalogId: 'cat', graphId: 'G1', jobId: 'j1' })).rejects.toThrow(GraphNotSchedulableError);
128
+ expect(executeGraph).not.toHaveBeenCalled();
129
+ });
130
+ });
131
+ describe('claimNextAcrossGraphs schedulability skip', () => {
132
+ it('skips non-schedulable graph id and claims the next', async () => {
133
+ const rows = new MemoryMatrixCollection(MATRIX_ROW_PK);
134
+ const fails = new MemoryMatrixCollection(MATRIX_FAILURE_PK);
135
+ const rt = createExecutionMatrixRuntime(rows.asCollection(), fails.asCollection(), { serializeClaims: true });
136
+ const g2 = { graphId: 'G2', mappedInput: [{}], execution: { priority: 2 } };
137
+ const [row] = materializeExecutionMatrixRuntimeRows({
138
+ matrixCatalogId: 'cat',
139
+ matrixItemId: 'item',
140
+ payload: { input: {}, graphs: ['G1', 'G2'] },
141
+ graphRecords: [graphPayload, g2],
142
+ inputRows: [{}],
143
+ });
144
+ await rt.insertRuntimeRow(row);
145
+ const executeGraph = vi.fn().mockResolvedValue({
146
+ status: 'completed',
147
+ jobId: 'm',
148
+ taskId: 't',
149
+ graphId: 'G2',
150
+ outputsByNodeId: {},
151
+ engineSnapshot: {},
152
+ finalOutput: {},
153
+ });
154
+ await processMatrixGraphBatch({
155
+ runtime: rt,
156
+ executeGraph,
157
+ resolveGraphModel: ({ graphId }) => ({ id: graphId, response: { shape: { type: 'literal', value: {} } }, nodes: [] }),
158
+ resolveGraphSchedulability: async (gid) => {
159
+ if (gid === 'G1') {
160
+ return {
161
+ graphId: 'G1',
162
+ version: 1,
163
+ payload: graphPayload,
164
+ publicationStatus: 'Draft',
165
+ operationalState: 'NotOperational',
166
+ createdAt: 't',
167
+ updatedAt: 't',
168
+ };
169
+ }
170
+ return {
171
+ graphId: 'G2',
172
+ version: 1,
173
+ payload: g2,
174
+ publicationStatus: 'Published',
175
+ operationalState: 'Running',
176
+ createdAt: 't',
177
+ updatedAt: 't',
178
+ };
179
+ },
180
+ }, { matrixCatalogId: 'cat', graphIds: ['G1', 'G2'], limit: 1 });
181
+ expect(executeGraph).toHaveBeenCalledTimes(1);
182
+ const call = executeGraph.mock.calls[0][0];
183
+ expect(call.model.id).toBe('G2');
184
+ });
185
+ });
186
+ describe('ExecutionMatrixRuntime.countRowsMatching', () => {
187
+ it('counts via MemoryMatrixCollection.countMatching', async () => {
188
+ const rows = new MemoryMatrixCollection(MATRIX_ROW_PK);
189
+ const fails = new MemoryMatrixCollection(MATRIX_FAILURE_PK);
190
+ const rt = createExecutionMatrixRuntime(rows.asCollection(), fails.asCollection(), { serializeClaims: true });
191
+ const [row] = materializeExecutionMatrixRuntimeRows({
192
+ matrixCatalogId: 'cat',
193
+ matrixItemId: 'item',
194
+ payload: { input: {}, graphs: ['G1'] },
195
+ graphRecords,
196
+ inputRows: [{}],
197
+ });
198
+ await rt.insertRuntimeRow(row);
199
+ const n = await rt.countRowsMatching({ matrixCatalogId: 'cat' });
200
+ expect(n).toBe(1);
201
+ });
202
+ });
203
+ //# sourceMappingURL=graph-operational.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-operational.spec.js","sourceRoot":"","sources":["../../src/execution-matrix/graph-operational.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAElD,OAAO,EAAE,qCAAqC,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,mCAAmC,EAAE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,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,KAAK,CAAC,YAAY,EAAE,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,CAAC;QAC9G,MAAM,CAAC,GAAG,CAAC,GAAG,qCAAqC,CAAC;YAClD,eAAe,EAAE,KAAK;YACtB,YAAY,EAAE,MAAM;YACpB,OAAO,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE;YACtC,YAAY;YACZ,SAAS,EAAE,CAAC,EAAE,CAAC;SAChB,CAAC,CAAC;QACH,MAAM,EAAE,CAAC,gBAAgB,CAAC,GAAI,CAAC,CAAC;QAChC,MAAM,CAAC,GAAG,MAAM,EAAE,CAAC,iBAAiB,CAAC,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC,CAAC;QACjE,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,73 @@
1
+ export type { ExecuteGraphInput, ExecuteGraphResult, GraphExecutionRequest, GraphRuntimeObject, HostExecuteGraphRunOptions, } from '@exellix/graph-engine';
2
+ /** Matrix → graph run wiring (same helpers as `@exellix/graph-engine` execution-matrix host module). */
3
+ export { buildMatrixJobForGraphRun, buildStableMatrixJobId, createMatrixHostGraphExecutor, isExecuteGraphResultFailed, } from '@exellix/graph-engine';
4
+ /** Tooling / tests: canonical MAIN `runTask` builder and strategy metadata extraction (`@exellix/ai-tasks` v7). */
5
+ export { buildAiTasksRunTaskRequest, extractRunTaskStrategyOverrides, resolveJobTypeId, resolveTaskTypeId, runTaskResponseSucceeded, } from '@exellix/graph-engine';
6
+ export type { BuildAiTasksRunTaskRequestArgs, ExellixGraphRunTaskRequest, ExellixGraphRunTaskResponse, } from '@exellix/graph-engine';
7
+ /**
8
+ * Executable graph document model, root `response`, Layer 01 graph-entry metadata, and catalog-planning
9
+ * entry types. Same definitions as `@exellix/graph-engine` — see [docs/format](../../docs/format).
10
+ */
11
+ export type { Graph, GraphModelObject, GraphAiModelConfig, GraphModelAliasConfig, GraphRuntimeNodeConfig, TaskNodeRuntimeObject, GraphDocumentMetadata, GraphEntryContract, GraphEntryExecutionInputSpec, GraphEntryInputKind, GraphEntryInputSpecBase, GraphEntryInputSpec, GraphEntryValueInputKind, GraphEntryValueInputSpec, GraphResponseDefinition, GraphResponseMissingBehavior, GraphResponseSelector, GraphResponseShape, GraphResponseContract, GraphNode, TaskNode, TaskNodePureMetadata, TaskNodeExecutionPipelineStep, TaskOutputValidation, FinalizerNode, FinalizerInputBinding, OutputSchema, AggregateFinalizerConfig, BundleFinalizerConfig, SelectFinalizerConfig, SynthesizeFinalizerConfig, UtilityExecutionPolicy, GraphExecutionDefaults, GraphExecutionMode, GraphOutputMode, Job, CatalogPlanningKind, CatalogRequestStatus, CatalogBinding, ScopedQuestionCatalogRequestEntry, DiscoveryDefinitionCatalogRequestEntry, DiscoveryDefinitionCatalogRequest, DiscoveryDefinitionPlanningFields, CatalogRequestEntry, } from '@exellix/graph-engine';
12
+ export { getTaskConfiguration } from '@exellix/graph-engine';
13
+ export type { TaskNodeTaskConfiguration } from '@exellix/graph-engine';
14
+ /** Canonical graph JSON root checks and document-model merge — use before persist or CI. */
15
+ export { mergeGraphDocumentModel, EXELLIX_GRAPH_MODEL_VARIABLE_KEY, assertCanonicalGraphDocument, getCanonicalGraphDocumentViolations, CANONICAL_GRAPH_TOP_LEVEL_KEYS, validateCatalogPlanning, isCatalogBinding, isCatalogRequestEntry, ExellixGraphError, ExellixGraphErrorCode, } from '@exellix/graph-engine';
16
+ /** Layer-01 helpers and types — same behavior as `@exellix/graph-engine` execution-matrix host module. */
17
+ export { validateExecutionSeedPaths, resolveGraphEntryFromGraph, createResolveGraphEntryFromLoader, } from '@exellix/graph-engine';
18
+ export type { BuildExecutionSeedSources, BuildExecutionSeedResult } from '@exellix/graph-engine';
19
+ /** Structured `conditions.dataFilters` evaluation — same exports as `@exellix/graph-engine` ≥ 5.3.8. */
20
+ export { evaluateStructuredDataFilters, evaluateDataFilterPredicate, getStructuredDataFilterPathViolations, isStructuredDataFiltersV1, EXELLIX_STRUCTURED_DATA_FILTERS_V1, } from '@exellix/graph-engine';
21
+ export type { EvaluateStructuredDataFiltersResult, EvaluateStructuredDataFiltersOptions, StructuredDataFiltersV1, ConditionsDataFilters, } from '@exellix/graph-engine';
22
+ export * from './contracts.js';
23
+ export * from './constants.js';
24
+ export * from './status.js';
25
+ export * from './collections.js';
26
+ export * from './runtime-store.js';
27
+ export { createExellixMatrixDataTier, resolveExellixMatrixDataTierOptions, type CreateExellixMatrixDataTierOptions, type ExellixMatrixDataTier, type ExellixMatrixDataTierProbe, type ExellixMatrixPersistenceCollection, type ResolvedExellixMatrixDataTierOptions, } from './matrix-data-tier.js';
28
+ export { createMatrixReadTierFromDataTier, openMatrixReadTier, type MatrixReadTier, type OpenMatrixReadTierOptions, } from './matrix-read-tier.js';
29
+ export * from './memory-store.js';
30
+ export * from './catalox-loader.js';
31
+ export * from './catalox-matrix-host.js';
32
+ export * from './materializer.js';
33
+ export * from './graph-entry-xmemory-load.js';
34
+ export * from './orchestrator.js';
35
+ export { createExecutionMatrixClaimPauseController, type ExecutionMatrixClaimPauseController, } from './execution-matrix-claim-pause.js';
36
+ export * from './navigator.js';
37
+ export { formatCataloxExecutionMatrixInventoryMarkdown, runCataloxExecutionMatrixInventory, } from '../catalox-inventory/catalox-execution-matrix-inventory.js';
38
+ export { buildExtendedScopedDataEntityTypeFilter, collectScopedDataEntityTypeDiscovery, collectScopedDataEntityTypeKeys, DEFAULT_ENTITY_DISCOVERY_SCOPED_DATA_GROUP_PATHS, driverBackedMongoClientForXmemoryCli, entityTypeKeyFromCatalogItem, formatCataloxXmemoryEntityCountMarkdown, normalizeEntityReportCatalogIds, parseTierDiscoveryGroupPathsCsv, runCataloxXmemoryEntityCountReport, runScopedDataEntityTypeDiscoveryReport, SCOPED_DATA_TIER_ENTITY_DISCOVERY_CATALOG_ID, } from '../catalox-inventory/catalox-xmemory-entity-count-report.js';
39
+ export type { CataloxXmemoryEntityCountReport, CataloxXmemoryEntityCountRow, CataloxXmemoryEntityMatrixSlice, CataloxXmemoryEntitySurfaceCounts, CollectScopedDataEntityTypeDiscoveryOptions, RunCataloxXmemoryEntityCountReportOptions, ScopedDataTierEntityTypeDiscovery, TierDiscoveryDiagnostics, } from '../catalox-inventory/catalox-xmemory-entity-count-report.js';
40
+ export type { CataloxExecutionMatrixInventoryReport, CataloxInventoryGraphRow, CataloxInventoryItemIssue, CataloxInventoryMatrixRow, RunCataloxExecutionMatrixInventoryOptions, } from '../catalox-inventory/catalox-execution-matrix-inventory.js';
41
+ export { buildExellixRuntimeRealLivenessPayload, EXELLIX_RUNTIME_REAL_HEALTH_PATH, readExellixRuntimeHealthPackageVersions, redactMongoUriForDiagnostics, runExellixRuntimeConnectivityProbe, } from './runtime-connectivity-health.js';
42
+ export type { ExellixRuntimeConnectivityProbeOptions, ExellixRuntimeHealthConfigMongoLane, ExellixRuntimeHealthExecutionMongoLane, ExellixRuntimeHealthLaneBase, ExellixRuntimeHealthLanes, ExellixRuntimeHealthPackages, ExellixRuntimeHealthPayload, ExellixRuntimeHealthSchedulerLane, ExellixRuntimeHealthXmemoryLane, } from './runtime-connectivity-health.js';
43
+ export * from './runtime-objects.js';
44
+ export * from './matrix-logxer.js';
45
+ export * from './matrix-activix.js';
46
+ export * from './data-source.js';
47
+ export * from './execution-mode.js';
48
+ export * from './eligibility.js';
49
+ export * from './records-eligibility.js';
50
+ export * from './snapshot-runner.js';
51
+ export * from './source-resolver.js';
52
+ export * from './source-resolver-factories.js';
53
+ export * from './matrix-execute-graph-adapter.js';
54
+ export * from './run-loop.js';
55
+ export * from './config-store.js';
56
+ /** High-level host helpers: link graph → matrix, materialize rows, open Mongo bundle. */
57
+ export * from '../client-toolbox/index.js';
58
+ export * from './graph-operational-lifecycle.js';
59
+ export * from './graph-operational-aggregates.js';
60
+ export * from './xmemory-entity-collections.js';
61
+ export * from './xmemory-op-tier.js';
62
+ export * from './memorix-entity-type-helpers.js';
63
+ export * from './memorix-matrix-entity-facet.js';
64
+ export * from './memorix-inference-persister.js';
65
+ export * from './memorix-runtime-tier.js';
66
+ export { buildDatePresetMatches, buildEntityTypeStatisticsFacetPipeline, buildTierFetchMatch, clearTierFetchCaches, clearTierFilterCatalogCache, clearTierStatisticsCache, countScopedDataDocuments, createScoperMongoClient, DEFAULT_ENTITY_TYPE_PATHS, DEFAULT_ENTITY_TYPES_LIMIT, DEFAULT_ENTITY_TYPES_SKIP, ENTITY_TYPES_LIMIT_MAX, ENV_KEYS, getMemorixTierStatistics, getScoperStoreBindings, getTierFilterCatalog, getXmemoryTierStatistics, parseEntityTypeFacetRow, pickEntityContentTypeCount, resolveSurfaceDbCollection, stableScopeKey, TIER_DATE_PRESET_IDS, TIER_DATE_PRESET_METAS, TIER_FACET_DIMENSIONS, TIER_OBSERVED_FIELD_PATHS, TIER_STATS_MISSING_TYPE, typeBucketExpr, withEnrichmentFallback, } from './memorix-tier-statistics.js';
67
+ export type { GetMemorixTierStatisticsOptions, MemorixTierStatistics, TierCatalogEntityType, TierCatalogFacet, TierFetchScope, TierFilterCatalog, TierFilterSurface, TierObservedField, TierSurfaceStatisticsSection, } from './memorix-tier-statistics.js';
68
+ export type { CreateMemorixRuntimeTierOptions, CreateXmemoryDataTierOptions, MemorixMongoClient, MemorixRuntimeTier, MemorixRuntimeTierEnv, XmemoryDataTier, XmemoryMongoClient, } from './memorix-runtime-tier.js';
69
+ export { createMemorixRuntimeTier, createXmemoryDataTier, resolveMemorixRuntimeTierEnv, resolveXmemoryStoreEnv, } from './memorix-runtime-tier.js';
70
+ /** `@x12i/memorix-retrieval` — item/list reads and env helpers (prefer importing from here for one surface). */
71
+ export { applyMemorixEnvBridgeToProcess, createMemorixRetrievalFromEnv, createMemorixRetrievalStackFromEnv, fetchMemorixItem, fetchMemorixList, resolveMemorixDbName, } from '@x12i/memorix-retrieval';
72
+ export type { FetchMemorixItemRequest, FetchMemorixItemResponse, MemorixRetrievalClient, } from '@x12i/memorix-retrieval';
73
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/execution-matrix/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AAE/B,wGAAwG;AACxG,OAAO,EACL,yBAAyB,EACzB,sBAAsB,EACtB,6BAA6B,EAC7B,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AAE/B,mHAAmH;AACnH,OAAO,EACL,0BAA0B,EAC1B,+BAA+B,EAC/B,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EACV,8BAA8B,EAC9B,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC;AAE/B;;;GAGG;AACH,YAAY,EACV,KAAK,EACL,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,4BAA4B,EAC5B,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,4BAA4B,EAC5B,qBAAqB,EACrB,kBAAkB,EAClB,qBAAqB,EACrB,SAAS,EACT,QAAQ,EACR,oBAAoB,EACpB,6BAA6B,EAC7B,oBAAoB,EACpB,aAAa,EACb,qBAAqB,EACrB,YAAY,EACZ,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,GAAG,EACH,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,iCAAiC,EACj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sBAAsB,GACvB,MAAM,2BAA2B,CAAC;AAEnC,gHAAgH;AAChH,OAAO,EACL,8BAA8B,EAC9B,6BAA6B,EAC7B,kCAAkC,EAClC,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,57 @@
1
+ /** Matrix → graph run wiring (same helpers as `@exellix/graph-engine` execution-matrix host module). */
2
+ export { buildMatrixJobForGraphRun, buildStableMatrixJobId, createMatrixHostGraphExecutor, isExecuteGraphResultFailed, } from '@exellix/graph-engine';
3
+ /** Tooling / tests: canonical MAIN `runTask` builder and strategy metadata extraction (`@exellix/ai-tasks` v7). */
4
+ export { buildAiTasksRunTaskRequest, extractRunTaskStrategyOverrides, resolveJobTypeId, resolveTaskTypeId, runTaskResponseSucceeded, } from '@exellix/graph-engine';
5
+ export { getTaskConfiguration } from '@exellix/graph-engine';
6
+ /** Canonical graph JSON root checks and document-model merge — use before persist or CI. */
7
+ export { mergeGraphDocumentModel, EXELLIX_GRAPH_MODEL_VARIABLE_KEY, assertCanonicalGraphDocument, getCanonicalGraphDocumentViolations, CANONICAL_GRAPH_TOP_LEVEL_KEYS, validateCatalogPlanning, isCatalogBinding, isCatalogRequestEntry, ExellixGraphError, ExellixGraphErrorCode, } from '@exellix/graph-engine';
8
+ /** Layer-01 helpers and types — same behavior as `@exellix/graph-engine` execution-matrix host module. */
9
+ export { validateExecutionSeedPaths, resolveGraphEntryFromGraph, createResolveGraphEntryFromLoader, } from '@exellix/graph-engine';
10
+ /** Structured `conditions.dataFilters` evaluation — same exports as `@exellix/graph-engine` ≥ 5.3.8. */
11
+ export { evaluateStructuredDataFilters, evaluateDataFilterPredicate, getStructuredDataFilterPathViolations, isStructuredDataFiltersV1, EXELLIX_STRUCTURED_DATA_FILTERS_V1, } from '@exellix/graph-engine';
12
+ export * from './contracts.js';
13
+ export * from './constants.js';
14
+ export * from './status.js';
15
+ export * from './collections.js';
16
+ export * from './runtime-store.js';
17
+ export { createExellixMatrixDataTier, resolveExellixMatrixDataTierOptions, } from './matrix-data-tier.js';
18
+ export { createMatrixReadTierFromDataTier, openMatrixReadTier, } from './matrix-read-tier.js';
19
+ export * from './memory-store.js';
20
+ export * from './catalox-loader.js';
21
+ export * from './catalox-matrix-host.js';
22
+ export * from './materializer.js';
23
+ export * from './graph-entry-xmemory-load.js';
24
+ export * from './orchestrator.js';
25
+ export { createExecutionMatrixClaimPauseController, } from './execution-matrix-claim-pause.js';
26
+ export * from './navigator.js';
27
+ export { formatCataloxExecutionMatrixInventoryMarkdown, runCataloxExecutionMatrixInventory, } from '../catalox-inventory/catalox-execution-matrix-inventory.js';
28
+ export { buildExtendedScopedDataEntityTypeFilter, collectScopedDataEntityTypeDiscovery, collectScopedDataEntityTypeKeys, DEFAULT_ENTITY_DISCOVERY_SCOPED_DATA_GROUP_PATHS, driverBackedMongoClientForXmemoryCli, entityTypeKeyFromCatalogItem, formatCataloxXmemoryEntityCountMarkdown, normalizeEntityReportCatalogIds, parseTierDiscoveryGroupPathsCsv, runCataloxXmemoryEntityCountReport, runScopedDataEntityTypeDiscoveryReport, SCOPED_DATA_TIER_ENTITY_DISCOVERY_CATALOG_ID, } from '../catalox-inventory/catalox-xmemory-entity-count-report.js';
29
+ export { buildExellixRuntimeRealLivenessPayload, EXELLIX_RUNTIME_REAL_HEALTH_PATH, readExellixRuntimeHealthPackageVersions, redactMongoUriForDiagnostics, runExellixRuntimeConnectivityProbe, } from './runtime-connectivity-health.js';
30
+ export * from './runtime-objects.js';
31
+ export * from './matrix-logxer.js';
32
+ export * from './matrix-activix.js';
33
+ export * from './data-source.js';
34
+ export * from './execution-mode.js';
35
+ export * from './eligibility.js';
36
+ export * from './records-eligibility.js';
37
+ export * from './snapshot-runner.js';
38
+ export * from './source-resolver.js';
39
+ export * from './source-resolver-factories.js';
40
+ export * from './matrix-execute-graph-adapter.js';
41
+ export * from './run-loop.js';
42
+ export * from './config-store.js';
43
+ /** High-level host helpers: link graph → matrix, materialize rows, open Mongo bundle. */
44
+ export * from '../client-toolbox/index.js';
45
+ export * from './graph-operational-lifecycle.js';
46
+ export * from './graph-operational-aggregates.js';
47
+ export * from './xmemory-entity-collections.js';
48
+ export * from './xmemory-op-tier.js';
49
+ export * from './memorix-entity-type-helpers.js';
50
+ export * from './memorix-matrix-entity-facet.js';
51
+ export * from './memorix-inference-persister.js';
52
+ export * from './memorix-runtime-tier.js';
53
+ export { buildDatePresetMatches, buildEntityTypeStatisticsFacetPipeline, buildTierFetchMatch, clearTierFetchCaches, clearTierFilterCatalogCache, clearTierStatisticsCache, countScopedDataDocuments, createScoperMongoClient, DEFAULT_ENTITY_TYPE_PATHS, DEFAULT_ENTITY_TYPES_LIMIT, DEFAULT_ENTITY_TYPES_SKIP, ENTITY_TYPES_LIMIT_MAX, ENV_KEYS, getMemorixTierStatistics, getScoperStoreBindings, getTierFilterCatalog, getXmemoryTierStatistics, parseEntityTypeFacetRow, pickEntityContentTypeCount, resolveSurfaceDbCollection, stableScopeKey, TIER_DATE_PRESET_IDS, TIER_DATE_PRESET_METAS, TIER_FACET_DIMENSIONS, TIER_OBSERVED_FIELD_PATHS, TIER_STATS_MISSING_TYPE, typeBucketExpr, withEnrichmentFallback, } from './memorix-tier-statistics.js';
54
+ export { createMemorixRuntimeTier, createXmemoryDataTier, resolveMemorixRuntimeTierEnv, resolveXmemoryStoreEnv, } from './memorix-runtime-tier.js';
55
+ /** `@x12i/memorix-retrieval` — item/list reads and env helpers (prefer importing from here for one surface). */
56
+ export { applyMemorixEnvBridgeToProcess, createMemorixRetrievalFromEnv, createMemorixRetrievalStackFromEnv, fetchMemorixItem, fetchMemorixList, resolveMemorixDbName, } from '@x12i/memorix-retrieval';
57
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/execution-matrix/index.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wB,EACxB,sBAAsB,EACtB,oBAAoB,EACpB,wBAAwB,EACxB,uBAAuB,EACvB,0BAA0B,EAC1B,0BAA0B,EAC1B,cAAc,EACd,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EACzB,uBAAuB,EACvB,cAAc,EACd,sBAAsB,GACvB,MAAM,8BAA8B,CAAC;AAqBtC,OAAO,EACL,wBAAwB,EACxB,qBAAqB,EACrB,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,2BAA2B,CAAC;AAEnC,gHAAgH;AAChH,OAAO,EACL,8BAA8B,EAC9B,6BAA6B,EAC7B,kCAAkC,EAClC,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Repo-local alias for {@link openMatrixClientBundle} (live tests, legacy imports).
3
+ * Prefer `openMatrixClientBundle` from `@exellix/exellix-runtime`.
4
+ */
5
+ export { openMatrixClientBundle as openLiveMatrixFromDataTier, type MatrixClientBundle as LiveMatrixTierBundle, } from '../client-toolbox/bundle.js';
6
+ //# sourceMappingURL=live-tier-open.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"live-tier-open.d.ts","sourceRoot":"","sources":["../../src/execution-matrix/live-tier-open.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EACL,sBAAsB,IAAI,0BAA0B,EACpD,KAAK,kBAAkB,IAAI,oBAAoB,GAChD,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Repo-local alias for {@link openMatrixClientBundle} (live tests, legacy imports).
3
+ * Prefer `openMatrixClientBundle` from `@exellix/exellix-runtime`.
4
+ */
5
+ export { openMatrixClientBundle as openLiveMatrixFromDataTier, } from '../client-toolbox/bundle.js';
6
+ //# sourceMappingURL=live-tier-open.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"live-tier-open.js","sourceRoot":"","sources":["../../src/execution-matrix/live-tier-open.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EACL,sBAAsB,IAAI,0BAA0B,GAErD,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,99 @@
1
+ import { type GraphEntryContract } from '@exellix/graph-engine';
2
+ import { type ExecutionMatrixCatalogPayload, type ExecutionMatrixGraphCatalogRecord, type ExecutionMatrixMappedInputEntry, type ExecutionMatrixSnapshotRecord } from './contracts.js';
3
+ import type { ExecutionMatrixRuntimeRecord } from './contracts.js';
4
+ /** Shallow-merge mapped input entries in array order (host-defined keys per entry). */
5
+ export declare function mergeMappedInputEntries(entries: ExecutionMatrixMappedInputEntry[]): Record<string, unknown>;
6
+ /**
7
+ * Order graph catalog records for a matrix: filter to `matrixGraphIds`, then sort by
8
+ * `execution.priority` ascending; ties break by first occurrence in `matrixGraphIds`.
9
+ */
10
+ export declare function sortGraphRecordsForMatrix(matrixGraphIds: string[], graphRecords: ExecutionMatrixGraphCatalogRecord[]): ExecutionMatrixGraphCatalogRecord[];
11
+ /**
12
+ * Build the graph-engine `execution` seed from `metadata.graphEntry.inputs` (value kinds only).
13
+ *
14
+ * Delegates to `@exellix/graph-engine` `buildExecutionSeedFromGraphEntry` so path handling matches
15
+ * Layer-01 (`GraphEntryValueInputSpec.path` under merged `execution`, flat `input.*` only — no `input.raw`).
16
+ * Matrix rows expose work-unit fields on {@link ExecutionMatrixRuntimeRecord.input}; at claim time the orchestrator
17
+ * sets `runtime.input = record.input` (canonical host slot). This helper optionally aligns `executionMemory` via
18
+ * `layers: [{ input: inputRow }]`. `kind: "execution"` specs are skipped — resolve prior runs in the host.
19
+ */
20
+ export declare function buildExecutionSeedFromGraphEntry(graphEntry: GraphEntryContract | undefined, inputRow: Record<string, unknown>): Record<string, unknown>;
21
+ export type MaterializeRowsInput = {
22
+ matrixCatalogId: string;
23
+ matrixItemId: string;
24
+ matrixRunId?: string;
25
+ payload: ExecutionMatrixCatalogPayload;
26
+ /**
27
+ * Graph definitions from the graphs catalog (e.g. `exellix-graphs`), one per id in `payload.graphs`.
28
+ */
29
+ graphRecords: ExecutionMatrixGraphCatalogRecord[];
30
+ /** One runtime row per entry (e.g. entities to run the matrix against). */
31
+ inputRows: Array<Record<string, unknown>>;
32
+ /**
33
+ * Optional tenant / partition / scope fields merged **onto each row `input`** after `payload.input` and the
34
+ * resolved row (same object should be passed to {@link resolveInputRowsWithResolver} for xmemory and to
35
+ * orchestration `runtimeScope` so `extraFilter` on claims matches, e.g. `{ "input.tenantId": "acme" }`).
36
+ */
37
+ runtimeScope?: Record<string, unknown>;
38
+ };
39
+ export declare function materializeExecutionMatrixRuntimeRows(input: MaterializeRowsInput): ExecutionMatrixRuntimeRecord[];
40
+ /**
41
+ * Optional hook for resolving input rows from xmemory (scoper, things, scoped views).
42
+ * Implement in the product host; default stub returns an empty list.
43
+ * When {@link MaterializeRowsInput.runtimeScope} is used, pass the **same** object as `runtimeScope` here so
44
+ * xmemory queries are scoped consistently with materialized rows and claim `extraFilter`.
45
+ */
46
+ export type XmemoryInputResolver = (selector: Record<string, unknown>, runtimeScope?: Record<string, unknown>) => Promise<Array<Record<string, unknown>>>;
47
+ export declare function resolveInputRowsWithResolver(selector: Record<string, unknown>, resolver?: XmemoryInputResolver, runtimeScope?: Record<string, unknown>): Promise<Array<Record<string, unknown>>>;
48
+ /**
49
+ * Split `inputRows` into chunks of `recordsPerRun`. When `recordsPerRun <= 1` the input is
50
+ * returned as a list of singletons (one chunk per row), preserving legacy semantics.
51
+ *
52
+ * `idExtractor` is used to lift a stable `sourceId` per record when present (e.g. xmemory id).
53
+ */
54
+ export declare function chunkInputRowsForBatch<TRow extends Record<string, unknown>>(rows: ReadonlyArray<TRow>, recordsPerRun: number, idExtractor?: (row: TRow) => string | undefined): Array<{
55
+ records: TRow[];
56
+ sourceIds: string[];
57
+ }>;
58
+ export type MaterializeBatchedRowsInput = {
59
+ matrixCatalogId: string;
60
+ matrixItemId: string;
61
+ matrixRunId?: string;
62
+ payload: ExecutionMatrixCatalogPayload;
63
+ graphRecords: ExecutionMatrixGraphCatalogRecord[];
64
+ /** Source records to bundle into chunks. */
65
+ inputRows: Array<Record<string, unknown>>;
66
+ /** Bundle size; when omitted/<=1 falls back to one row per source record. */
67
+ recordsPerRun?: number;
68
+ /** Optional id extractor used when bundling. */
69
+ sourceIdOf?: (row: Record<string, unknown>) => string | undefined;
70
+ runtimeScope?: Record<string, unknown>;
71
+ };
72
+ /**
73
+ * Materialize runtime rows where each row carries `input.records: TRow[]` and `input.sourceIds: string[]`,
74
+ * the standardized shape produced by the `record` data-source kind with `recordsPerRun > 1`.
75
+ *
76
+ * When `recordsPerRun <= 1` this delegates to {@link materializeExecutionMatrixRuntimeRows} so callers
77
+ * always get one materializer entry point.
78
+ */
79
+ export declare function materializeBatchedRecordRows(input: MaterializeBatchedRowsInput): ExecutionMatrixRuntimeRecord[];
80
+ export type MaterializeFromSnapshotInput = {
81
+ matrixCatalogId: string;
82
+ matrixItemId: string;
83
+ matrixRunId?: string;
84
+ payload: ExecutionMatrixCatalogPayload;
85
+ graphRecords: ExecutionMatrixGraphCatalogRecord[];
86
+ snapshot: ExecutionMatrixSnapshotRecord;
87
+ /** `'one-row'` (default) emits a single row whose `input.snapshotId` references the snapshot.
88
+ * `'expand'` requires `snapshot.payload` to be an array; emits one row per top-level entry. */
89
+ materialize?: 'one-row' | 'expand';
90
+ runtimeScope?: Record<string, unknown>;
91
+ };
92
+ /**
93
+ * Convert a persisted snapshot into runtime rows.
94
+ *
95
+ * Each emitted row stores `input.snapshotId` pointing back to the snapshot document so the graph
96
+ * can re-read the payload at execution time without re-running the transform.
97
+ */
98
+ export declare function materializeFromSnapshot(input: MaterializeFromSnapshotInput): ExecutionMatrixRuntimeRecord[];
99
+ //# sourceMappingURL=materializer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"materializer.d.ts","sourceRoot":"","sources":["../../src/execution-matrix/materializer.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,kBAA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