@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,130 @@
1
+ /**
2
+ * Load Memorix entity payloads for graph Layer-01 materialization via **`@x12i/memorix-retrieval`**
3
+ * (`fetchMemorixItem`). Replaces legacy `@x12i/xmemory-scoper` / `xmemory-op` reads.
4
+ */
5
+ import { type BuildExecutionSeedResult, type BuildExecutionSeedSources, type GraphEntryContract } from '@exellix/graph-engine';
6
+ import { type FetchMemorixItemResponse, type MemorixRetrievalClient } from '@x12i/memorix-retrieval';
7
+ /** Stable codes for BFF / CI (do not throw for expected misses). */
8
+ export declare const GraphEntryXmemoryLoadCodes: {
9
+ readonly INVALID_INPUT: "INVALID_INPUT";
10
+ readonly MISSING_ENTITY_ID: "MISSING_ENTITY_ID";
11
+ readonly MISSING_ITEM_DESCRIPTOR_ID: "MISSING_ITEM_DESCRIPTOR_ID";
12
+ readonly MEMORIX_ITEM_NOT_FOUND: "MEMORIX_ITEM_NOT_FOUND";
13
+ readonly MEMORIX_ITEM_EMPTY: "MEMORIX_ITEM_EMPTY";
14
+ /** Legacy modes removed with xmemory-scoper. */
15
+ readonly LEGACY_MODE_REMOVED: "LEGACY_MODE_REMOVED";
16
+ readonly MISSING_ENTITY_ID_LEGACY: "MISSING_ENTITY_ID";
17
+ readonly MISSING_QUESTION_ID: "MISSING_QUESTION_ID";
18
+ readonly MISSING_QUESTION: "MISSING_QUESTION";
19
+ readonly MISSING_ABOUT: "MISSING_ABOUT";
20
+ readonly MISSING_EXTENDED_DEPS: "MISSING_EXTENDED_DEPS";
21
+ readonly MEMORIX_ENTITY_RESOLUTION_FAILED: "MEMORIX_ENTITY_RESOLUTION_FAILED";
22
+ readonly SCOPED_DATA_NOT_FOUND: "SCOPED_DATA_NOT_FOUND";
23
+ readonly SCOPED_DATA_AMBIGUOUS: "SCOPED_DATA_AMBIGUOUS";
24
+ readonly MISSING_SCOPED_DATA_KEY: "MISSING_SCOPED_DATA_KEY";
25
+ readonly MISSING_ENTITY_TYPE: "MISSING_ENTITY_TYPE";
26
+ readonly NARRATIVE_NOT_FOUND: "NARRATIVE_NOT_FOUND";
27
+ };
28
+ export type GraphEntryXmemoryLoadCode = (typeof GraphEntryXmemoryLoadCodes)[keyof typeof GraphEntryXmemoryLoadCodes];
29
+ export type GraphEntryXmemoryLoadDeps = {
30
+ client: MemorixRetrievalClient;
31
+ };
32
+ /** Optional keys under `input.*` for the memorix merge layer (second layer after matrix row). */
33
+ export type GraphEntryMemorixInputKeys = {
34
+ scopedDataInputKey?: string;
35
+ narrativeInputKey?: string;
36
+ snapshotInputKey?: string;
37
+ memorixItemInputKey?: string;
38
+ };
39
+ export type GraphEntryXmemoryLoadRequestMemorixItem = {
40
+ mode: 'memorix-item';
41
+ itemDescriptorId: string;
42
+ entityId: string;
43
+ eventId?: string;
44
+ knowledgeId?: string;
45
+ } & GraphEntryMemorixInputKeys;
46
+ /** @deprecated Use {@link GraphEntryXmemoryLoadRequestMemorixItem}. */
47
+ export type GraphEntryXmemoryLoadRequestScopedData = {
48
+ mode: 'scoped-data-row';
49
+ entityId: string;
50
+ questionId: string;
51
+ memorixCatalogEntityName?: string;
52
+ xScopedDataCollection?: string;
53
+ } & GraphEntryMemorixInputKeys;
54
+ /** @deprecated Use {@link GraphEntryXmemoryLoadRequestMemorixItem}. */
55
+ export type GraphEntryXmemoryLoadRequestScopedDataBySourceKey = {
56
+ mode: 'scoped-data-by-source-key';
57
+ entityType?: string;
58
+ memorixCatalogEntityName?: string;
59
+ sourceId?: string;
60
+ metaSourceId?: string;
61
+ documentId?: string;
62
+ xScopedDataCollection?: string;
63
+ onMultiple?: 'first' | 'error';
64
+ projection?: Record<string, unknown>;
65
+ } & GraphEntryMemorixInputKeys;
66
+ /** @deprecated Removed with xmemory-scoper. */
67
+ export type GraphEntryXmemoryLoadRequestNarrative = {
68
+ mode: 'narrative';
69
+ question: string;
70
+ about: string;
71
+ namespace?: string;
72
+ useExtendedContext?: boolean;
73
+ includeLinked?: boolean;
74
+ includeTriageAdjacentThings?: boolean;
75
+ adjacentThingsMaxAgeMs?: number;
76
+ } & GraphEntryMemorixInputKeys;
77
+ /** @deprecated Removed with xmemory-scoper. */
78
+ export type GraphEntryXmemoryLoadRequestSnapshot = {
79
+ mode: 'snapshot-scoped-data';
80
+ snapshotData: Record<string, unknown>;
81
+ snapshotCollection: string;
82
+ scopingMap: {
83
+ questionTitle: string;
84
+ [key: string]: unknown;
85
+ };
86
+ fieldMetaCache: Map<string, unknown>;
87
+ snapshotOptions?: Record<string, unknown>;
88
+ } & GraphEntryMemorixInputKeys;
89
+ export type GraphEntryXmemoryLoadRequest = GraphEntryXmemoryLoadRequestMemorixItem | GraphEntryXmemoryLoadRequestScopedData | GraphEntryXmemoryLoadRequestScopedDataBySourceKey | GraphEntryXmemoryLoadRequestNarrative | GraphEntryXmemoryLoadRequestSnapshot;
90
+ export type GraphEntryXmemoryLoadSuccess = {
91
+ ok: true;
92
+ memorixItem?: FetchMemorixItemResponse;
93
+ scopedDataRow?: Record<string, unknown>;
94
+ seedSources: BuildExecutionSeedSources;
95
+ memorixResolution?: {
96
+ ok: boolean;
97
+ message?: string;
98
+ };
99
+ narrative?: unknown;
100
+ snapshot?: unknown;
101
+ lookupMatches?: unknown[];
102
+ };
103
+ export type GraphEntryXmemoryLoadFailure = {
104
+ ok: false;
105
+ code: GraphEntryXmemoryLoadCode;
106
+ message: string;
107
+ memorixResolution?: {
108
+ ok: boolean;
109
+ message?: string;
110
+ };
111
+ lookupMatches?: unknown[];
112
+ };
113
+ export type GraphEntryXmemoryLoadResult = GraphEntryXmemoryLoadSuccess | GraphEntryXmemoryLoadFailure;
114
+ /** Flatten {@link FetchMemorixItemResponse} into a plain record for `runtime.input` / seed layers. */
115
+ export declare function memorixItemToInputRecord(item: FetchMemorixItemResponse): Record<string, unknown>;
116
+ /**
117
+ * Load a Memorix entity item for graph-entry seeding (`fetchMemorixItem`).
118
+ *
119
+ * **Supported:** `mode: 'memorix-item'` with `itemDescriptorId` + `entityId`.
120
+ *
121
+ * Legacy scoper modes (`scoped-data-row`, `scoped-data-by-source-key`, `narrative`, `snapshot-scoped-data`)
122
+ * return {@link GraphEntryXmemoryLoadCodes.LEGACY_MODE_REMOVED}.
123
+ */
124
+ export declare function loadGraphEntryMemorixPayload(deps: GraphEntryXmemoryLoadDeps, request: GraphEntryXmemoryLoadRequest): Promise<GraphEntryXmemoryLoadResult>;
125
+ /**
126
+ * Merge matrix row `input` with memorix {@link BuildExecutionSeedSources} using the same
127
+ * precedence rules as {@link buildExecutionSeedFromGraphEntry} (later layers override earlier).
128
+ */
129
+ export declare function buildExecutionSeedWithMemorixLayer(graphEntry: GraphEntryContract | undefined, matrixInputRow: Record<string, unknown>, memorixSources: BuildExecutionSeedSources): BuildExecutionSeedResult;
130
+ //# sourceMappingURL=graph-entry-xmemory-load.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-entry-xmemory-load.d.ts","sourceRoot":"","sources":["../../src/execution-matrix/graph-entry-xmemory-load.ts"],"names":[],"mappings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wBAAwB,CAS1B"}
@@ -0,0 +1,146 @@
1
+ /**
2
+ * Load Memorix entity payloads for graph Layer-01 materialization via **`@x12i/memorix-retrieval`**
3
+ * (`fetchMemorixItem`). Replaces legacy `@x12i/xmemory-scoper` / `xmemory-op` reads.
4
+ */
5
+ import { buildExecutionSeedFromGraphEntry as engineBuildExecutionSeedFromGraphEntry, } from '@exellix/graph-engine';
6
+ import { fetchMemorixItem, } from '@x12i/memorix-retrieval';
7
+ /** Stable codes for BFF / CI (do not throw for expected misses). */
8
+ export const GraphEntryXmemoryLoadCodes = {
9
+ INVALID_INPUT: 'INVALID_INPUT',
10
+ MISSING_ENTITY_ID: 'MISSING_ENTITY_ID',
11
+ MISSING_ITEM_DESCRIPTOR_ID: 'MISSING_ITEM_DESCRIPTOR_ID',
12
+ MEMORIX_ITEM_NOT_FOUND: 'MEMORIX_ITEM_NOT_FOUND',
13
+ MEMORIX_ITEM_EMPTY: 'MEMORIX_ITEM_EMPTY',
14
+ /** Legacy modes removed with xmemory-scoper. */
15
+ LEGACY_MODE_REMOVED: 'LEGACY_MODE_REMOVED',
16
+ MISSING_ENTITY_ID_LEGACY: 'MISSING_ENTITY_ID',
17
+ MISSING_QUESTION_ID: 'MISSING_QUESTION_ID',
18
+ MISSING_QUESTION: 'MISSING_QUESTION',
19
+ MISSING_ABOUT: 'MISSING_ABOUT',
20
+ MISSING_EXTENDED_DEPS: 'MISSING_EXTENDED_DEPS',
21
+ MEMORIX_ENTITY_RESOLUTION_FAILED: 'MEMORIX_ENTITY_RESOLUTION_FAILED',
22
+ SCOPED_DATA_NOT_FOUND: 'SCOPED_DATA_NOT_FOUND',
23
+ SCOPED_DATA_AMBIGUOUS: 'SCOPED_DATA_AMBIGUOUS',
24
+ MISSING_SCOPED_DATA_KEY: 'MISSING_SCOPED_DATA_KEY',
25
+ MISSING_ENTITY_TYPE: 'MISSING_ENTITY_TYPE',
26
+ NARRATIVE_NOT_FOUND: 'NARRATIVE_NOT_FOUND',
27
+ };
28
+ const LEGACY_MODE_MESSAGE = 'xmemory-scoper modes removed — use mode "memorix-item" with itemDescriptorId + entityId (fetchMemorixItem)';
29
+ function nonEmptyString(value, label, code) {
30
+ if (typeof value === 'string' && value.trim())
31
+ return value.trim();
32
+ return { ok: false, code, message: `${label} is required` };
33
+ }
34
+ /** Flatten {@link FetchMemorixItemResponse} into a plain record for `runtime.input` / seed layers. */
35
+ export function memorixItemToInputRecord(item) {
36
+ const out = {
37
+ entity: item.entity,
38
+ ...(item.entityId ? { entityId: item.entityId } : {}),
39
+ ...(item.eventId ? { eventId: item.eventId } : {}),
40
+ ...(item.knowledgeId ? { knowledgeId: item.knowledgeId } : {}),
41
+ };
42
+ for (const section of item.sections ?? []) {
43
+ for (const [key, field] of Object.entries(section.fields ?? {})) {
44
+ if (field && typeof field === 'object' && !Array.isArray(field) && 'value' in field) {
45
+ out[key] = field.value;
46
+ }
47
+ else {
48
+ out[key] = field;
49
+ }
50
+ }
51
+ }
52
+ return out;
53
+ }
54
+ function buildMemorixSeedLayer(request, parts) {
55
+ const input = {};
56
+ if (parts.memorixItem) {
57
+ const key = request.memorixItemInputKey ?? 'memorixItem';
58
+ input[key] = parts.memorixItem;
59
+ Object.assign(input, memorixItemToInputRecord(parts.memorixItem));
60
+ }
61
+ if (parts.scopedDataRow) {
62
+ const key = 'scopedDataInputKey' in request && request.scopedDataInputKey
63
+ ? request.scopedDataInputKey
64
+ : 'scopedDataRow';
65
+ input[key] = parts.scopedDataRow;
66
+ }
67
+ if (Object.keys(input).length === 0) {
68
+ return {};
69
+ }
70
+ return { layers: [{ input }] };
71
+ }
72
+ /**
73
+ * Load a Memorix entity item for graph-entry seeding (`fetchMemorixItem`).
74
+ *
75
+ * **Supported:** `mode: 'memorix-item'` with `itemDescriptorId` + `entityId`.
76
+ *
77
+ * Legacy scoper modes (`scoped-data-row`, `scoped-data-by-source-key`, `narrative`, `snapshot-scoped-data`)
78
+ * return {@link GraphEntryXmemoryLoadCodes.LEGACY_MODE_REMOVED}.
79
+ */
80
+ export async function loadGraphEntryMemorixPayload(deps, request) {
81
+ if (request.mode !== 'memorix-item') {
82
+ return {
83
+ ok: false,
84
+ code: GraphEntryXmemoryLoadCodes.LEGACY_MODE_REMOVED,
85
+ message: `${LEGACY_MODE_MESSAGE} (requested mode: ${request.mode})`,
86
+ };
87
+ }
88
+ const entityId = nonEmptyString(request.entityId, 'entityId', GraphEntryXmemoryLoadCodes.MISSING_ENTITY_ID);
89
+ if (typeof entityId !== 'string')
90
+ return entityId;
91
+ const itemDescriptorId = nonEmptyString(request.itemDescriptorId, 'itemDescriptorId', GraphEntryXmemoryLoadCodes.MISSING_ITEM_DESCRIPTOR_ID);
92
+ if (typeof itemDescriptorId !== 'string')
93
+ return itemDescriptorId;
94
+ const item = await fetchMemorixItem(deps.client, {
95
+ itemDescriptorId,
96
+ entityId,
97
+ ...(request.eventId ? { eventId: request.eventId } : {}),
98
+ ...(request.knowledgeId ? { knowledgeId: request.knowledgeId } : {}),
99
+ });
100
+ const errorIssue = item.issues?.find((i) => i.severity === 'error');
101
+ if (errorIssue) {
102
+ return {
103
+ ok: false,
104
+ code: GraphEntryXmemoryLoadCodes.INVALID_INPUT,
105
+ message: errorIssue.message ?? 'Memorix item fetch failed',
106
+ };
107
+ }
108
+ if (!item.sections?.length) {
109
+ return {
110
+ ok: false,
111
+ code: GraphEntryXmemoryLoadCodes.MEMORIX_ITEM_EMPTY,
112
+ message: `No sections on Memorix item descriptor=${itemDescriptorId} entityId=${entityId}`,
113
+ };
114
+ }
115
+ const flat = memorixItemToInputRecord(item);
116
+ if (Object.keys(flat).length <= 1) {
117
+ return {
118
+ ok: false,
119
+ code: GraphEntryXmemoryLoadCodes.MEMORIX_ITEM_NOT_FOUND,
120
+ message: `Memorix item has no field values (descriptor=${itemDescriptorId}, entityId=${entityId})`,
121
+ };
122
+ }
123
+ const scopedDataRow = flat;
124
+ const seedSources = buildMemorixSeedLayer(request, { memorixItem: item, scopedDataRow });
125
+ return {
126
+ ok: true,
127
+ memorixItem: item,
128
+ scopedDataRow,
129
+ seedSources,
130
+ };
131
+ }
132
+ /**
133
+ * Merge matrix row `input` with memorix {@link BuildExecutionSeedSources} using the same
134
+ * precedence rules as {@link buildExecutionSeedFromGraphEntry} (later layers override earlier).
135
+ */
136
+ export function buildExecutionSeedWithMemorixLayer(graphEntry, matrixInputRow, memorixSources) {
137
+ const baseLayers = [{ input: matrixInputRow }];
138
+ if (memorixSources.layers?.length) {
139
+ baseLayers.push(...memorixSources.layers);
140
+ }
141
+ return engineBuildExecutionSeedFromGraphEntry(graphEntry, {
142
+ layers: baseLayers,
143
+ valuesByPath: memorixSources.valuesByPath,
144
+ });
145
+ }
146
+ //# sourceMappingURL=graph-entry-xmemory-load.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-entry-xmemory-load.js","sourceRoot":"","sources":["../../src/execution-matrix/graph-entry-xmemory-load.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,gCAAgC,IAAI,sCAAsC,GAI3E,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,gBAAgB,GAGjB,MAAM,yBAAyB,CAAC;AAEjC,oEAAoE;AACpE,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,aAAa,EAAE,eAAe;IAC9B,iBAAiB,EAAE,mBAAmB;IACtC,0BAA0B,EAAE,4BAA4B;IACxD,sBAAsB,EAAE,wBAAwB;IAChD,kBAAkB,EAAE,oBAAoB;IACxC,gDAAgD;IAChD,mBAAmB,EAAE,qBAAqB;IAC1C,wBAAwB,EAAE,mBAAmB;IAC7C,mBAAmB,EAAE,qBAAqB;IAC1C,gBAAgB,EAAE,kBAAkB;IACpC,aAAa,EAAE,eAAe;IAC9B,qBAAqB,EAAE,uBAAuB;IAC9C,gCAAgC,EAAE,kCAAkC;IACpE,qBAAqB,EAAE,uBAAuB;IAC9C,qBAAqB,EAAE,uBAAuB;IAC9C,uBAAuB,EAAE,yBAAyB;IAClD,mBAAmB,E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B;YACnD,OAAO,EAAE,0CAA0C,gBAAgB,aAAa,QAAQ,EAAE;SAC3F,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,GAAG,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAC5C,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC;QAClC,OAAO;YACL,EAAE,EAAE,KAAK;YACT,IAAI,EAAE,0BAA0B,CAAC,sBAAsB;YACvD,OAAO,EAAE,gDAAgD,gBAAgB,cAAc,QAAQ,GAAG;SACnG,CAAC;IACJ,CAAC;IAED,MAAM,aAAa,GAAG,IAAI,CAAC;IAC3B,MAAM,WAAW,GAAG,qBAAqB,CAAC,OAAO,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,CAAC;IACzF,OAAO;QACL,EAAE,EAAE,IAAI;QACR,WAAW,EAAE,IAAI;QACjB,aAAa;QACb,WAAW;KACZ,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,kCAAkC,CAChD,UAA0C,EAC1C,cAAuC,EACvC,cAAyC;IAEzC,MAAM,UAAU,GAAc,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,CAAC,CAAC;IAC1D,IAAI,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;QAClC,UAAU,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;IAC5C,CAAC;IACD,OAAO,sCAAsC,CAAC,UAAU,EAAE;QACxD,MAAM,EAAE,UAAU;QAClB,YAAY,EAAE,cAAc,CAAC,YAAY;KAC1C,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=graph-entry-xmemory-load.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-entry-xmemory-load.spec.d.ts","sourceRoot":"","sources":["../../src/execution-matrix/graph-entry-xmemory-load.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,66 @@
1
+ import { beforeEach, describe, expect, it, vi } from 'vitest';
2
+ import { fetchMemorixItem } from '@x12i/memorix-retrieval';
3
+ import { GraphEntryXmemoryLoadCodes, loadGraphEntryMemorixPayload, memorixItemToInputRecord, } from './graph-entry-xmemory-load.js';
4
+ vi.mock('@x12i/memorix-retrieval', async (importOriginal) => {
5
+ const actual = await importOriginal();
6
+ return { ...actual, fetchMemorixItem: vi.fn() };
7
+ });
8
+ const client = {};
9
+ describe('loadGraphEntryMemorixPayload', () => {
10
+ beforeEach(() => {
11
+ vi.mocked(fetchMemorixItem).mockReset();
12
+ });
13
+ it('loads memorix-item via fetchMemorixItem', async () => {
14
+ vi.mocked(fetchMemorixItem).mockResolvedValue({
15
+ itemDescriptorId: 'desc-1',
16
+ entity: 'subnet',
17
+ entityId: 'ent-1',
18
+ sections: [
19
+ {
20
+ id: 'main',
21
+ title: 'Main',
22
+ fields: {
23
+ subnetId: { value: '10.0.0.0/24' },
24
+ question: { value: 'Analyze' },
25
+ },
26
+ },
27
+ ],
28
+ });
29
+ const r = await loadGraphEntryMemorixPayload({ client }, { mode: 'memorix-item', itemDescriptorId: 'desc-1', entityId: 'ent-1' });
30
+ expect(r.ok).toBe(true);
31
+ if (!r.ok)
32
+ return;
33
+ expect(r.scopedDataRow?.subnetId).toBe('10.0.0.0/24');
34
+ expect(fetchMemorixItem).toHaveBeenCalledWith(client, {
35
+ itemDescriptorId: 'desc-1',
36
+ entityId: 'ent-1',
37
+ });
38
+ });
39
+ it('rejects legacy scoped-data-row mode', async () => {
40
+ const r = await loadGraphEntryMemorixPayload({ client }, { mode: 'scoped-data-row', entityId: 'e', questionId: 'q' });
41
+ expect(r.ok).toBe(false);
42
+ if (r.ok)
43
+ return;
44
+ expect(r.code).toBe(GraphEntryXmemoryLoadCodes.LEGACY_MODE_REMOVED);
45
+ });
46
+ it('requires itemDescriptorId', async () => {
47
+ const r = await loadGraphEntryMemorixPayload({ client }, { mode: 'memorix-item', itemDescriptorId: '', entityId: 'e' });
48
+ expect(r.ok).toBe(false);
49
+ if (r.ok)
50
+ return;
51
+ expect(r.code).toBe(GraphEntryXmemoryLoadCodes.MISSING_ITEM_DESCRIPTOR_ID);
52
+ });
53
+ });
54
+ describe('memorixItemToInputRecord', () => {
55
+ it('unwraps field envelopes', () => {
56
+ const flat = memorixItemToInputRecord({
57
+ itemDescriptorId: 'd',
58
+ entity: 'subnet',
59
+ entityId: 'e1',
60
+ sections: [{ id: 's', title: 'S', fields: { subnetId: { value: '10.0.0.0/24' } } }],
61
+ });
62
+ expect(flat.subnetId).toBe('10.0.0.0/24');
63
+ expect(flat.entityId).toBe('e1');
64
+ });
65
+ });
66
+ //# sourceMappingURL=graph-entry-xmemory-load.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-entry-xmemory-load.spec.js","sourceRoot":"","sources":["../../src/execution-matrix/graph-entry-xmemory-load.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,EACL,0BAA0B,EAC1B,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,+BAA+B,CAAC;AAEvC,EAAE,CAAC,IAAI,CAAC,yBAAyB,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE;IAC1D,MAAM,MAAM,GAAG,MAAM,cAAc,EAA4C,CAAC;IAChF,OAAO,EAAE,GAAG,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;AAClD,CAAC,CAAC,CAAC;AAEH,MAAM,MAAM,GAAG,EAA4B,CAAC;AAE5C,QAAQ,CAAC,8BAA8B,EAAE,GAAG,EAAE;IAC5C,UAAU,CAAC,GAAG,EAAE;QACd,EAAE,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAA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AI,CAAC,CAAC;IACnC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,47 @@
1
+ import type { ExecutionMatrixStatusCounts, GraphConfigRecord, GraphOperationalState, GraphPublicationStatus } from './contracts.js';
2
+ import type { ExecutionMatrixRuntime } from './runtime-store.js';
3
+ /**
4
+ * Validates a dot-path under `input` for grouping (alphanumeric segments; no `$`).
5
+ */
6
+ export declare function assertSafeInputGroupByPath(path: string): void;
7
+ export type GraphOperationalDashboardOutputCountMode = 'inferenceRows';
8
+ export type FetchGraphOperationalDashboardSliceQuery = {
9
+ matrixCatalogId: string;
10
+ matrixRunId?: string;
11
+ graphId: string;
12
+ extraFilter?: Record<string, unknown>;
13
+ /** Dot path under row `input` (e.g. `entityKind`). Omit for a single {@link ALL_BUCKET} bucket. */
14
+ inputGroupByPath?: string;
15
+ outputCountMode?: GraphOperationalDashboardOutputCountMode;
16
+ /** Max rows read when `inputGroupByPath` is set (default `10_000`). */
17
+ aggregateRowScanCap?: number;
18
+ };
19
+ export type GraphOperationalDashboardInputBucket = {
20
+ key: string;
21
+ totalRows: number;
22
+ bySlotStatus: ExecutionMatrixStatusCounts;
23
+ };
24
+ export type GraphOperationalDashboardSlice = {
25
+ graphId: string;
26
+ matrixCatalogId: string;
27
+ matrixRunId?: string;
28
+ graphConfigFound: boolean;
29
+ publicationStatus: GraphPublicationStatus;
30
+ operationalState: GraphOperationalState;
31
+ configVersion?: number;
32
+ inputBuckets: GraphOperationalDashboardInputBucket[];
33
+ output: {
34
+ completedInferenceRows: number;
35
+ failedSlotRows: number;
36
+ };
37
+ };
38
+ export type FetchGraphOperationalDashboardSliceDeps = {
39
+ runtime: ExecutionMatrixRuntime;
40
+ loadGraphConfig: (graphId: string) => Promise<GraphConfigRecord | null>;
41
+ };
42
+ /**
43
+ * Read-only dashboard slice: graph operational fields from config plus execution-matrix row counts
44
+ * for one `graphId` within a matrix scope. Uses {@link ExecutionMatrixRuntime.countRowsMatching} when available.
45
+ */
46
+ export declare function fetchGraphOperationalDashboardSlice(deps: FetchGraphOperationalDashboardSliceDeps, query: FetchGraphOperationalDashboardSliceQuery): Promise<GraphOperationalDashboardSlice>;
47
+ //# sourceMappingURL=graph-operational-aggregates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-operational-aggregates.d.ts","sourceRoot":"","sources":["../../src/execution-matrix/graph-operational-aggregates.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGV,2BAA2B,EAC3B,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,gBAAgB,CAAC;AAOxB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAgBjE;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAa7D;AAkBD,MAAM,MAAM,wCAAwC,GAAG,eAAe,CAAC;AAEvE,MAAM,MAAM,wCAAwC,GAAG;IACrD,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,mGAAmG;IACnG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,wCAAwC,CAAC;IAC3D,uEAAuE;IACvE,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG;IACjD,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,2BAA2B,CAAC;CAC3C,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,sBAAsB,CAAC;IAC1C,gBAAgB,EAAE,qBAAqB,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,oCAAoC,EAAE,CAAC;IACrD,MAAM,EAAE;QACN,sBAAsB,EAAE,MAAM,CAAC;QAC/B,cAAc,EAAE,MAAM,CAAC;KACxB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,uCAAuC,GAAG;IACpD,OAAO,EAAE,sBAAsB,CAAC;IAChC,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;CACzE,CAAC;AAEF;;;GAGG;AACH,wBAAsB,mCAAmC,CACvD,IAAI,EAAE,uCAAuC,EAC7C,KAAK,EAAE,wCAAwC,GAC9C,OAAO,CAAC,8BAA8B,CAAC,CA6FzC"}
@@ -0,0 +1,137 @@
1
+ import { ExecutionMatrixCatalogValidationError } from './catalox-loader.js';
2
+ import { DEFAULT_GRAPH_OPERATIONAL_STATE, DEFAULT_GRAPH_PUBLICATION_STATUS, EXECUTION_MATRIX_STATUSES, } from './contracts.js';
3
+ import { resolveGraphConfigOperationalView } from './graph-operational-lifecycle.js';
4
+ import { buildMatrixRowReadFilter } from './runtime-store.js';
5
+ import { normalizeExecutionMatrixStatus } from './status.js';
6
+ const ALL_BUCKET = '_all';
7
+ function emptyStatusCounts() {
8
+ return {
9
+ 'not-started': 0,
10
+ 'in-progress': 0,
11
+ completed: 0,
12
+ failed: 0,
13
+ skipped: 0,
14
+ };
15
+ }
16
+ /**
17
+ * Validates a dot-path under `input` for grouping (alphanumeric segments; no `$`).
18
+ */
19
+ export function assertSafeInputGroupByPath(path) {
20
+ const trimmed = path.trim();
21
+ if (!trimmed) {
22
+ throw new ExecutionMatrixCatalogValidationError('Invalid inputGroupByPath', ['path must be non-empty']);
23
+ }
24
+ const parts = trimmed.split('.').filter(Boolean);
25
+ for (const p of parts) {
26
+ if (!/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(p)) {
27
+ throw new ExecutionMatrixCatalogValidationError('Invalid inputGroupByPath', [
28
+ `segment ${JSON.stringify(p)} must match /^[a-zA-Z_][a-zA-Z0-9_]*$/`,
29
+ ]);
30
+ }
31
+ }
32
+ }
33
+ function inputGroupKey(input, path) {
34
+ const parts = path.split('.').filter(Boolean);
35
+ let cur = input;
36
+ for (const p of parts) {
37
+ if (cur === null || cur === undefined || typeof cur !== 'object')
38
+ return '_unknown';
39
+ cur = cur[p];
40
+ }
41
+ if (cur === undefined || cur === null)
42
+ return '_unknown';
43
+ if (typeof cur === 'string' || typeof cur === 'number' || typeof cur === 'boolean')
44
+ return String(cur);
45
+ return '_object';
46
+ }
47
+ function slotForGraph(row, graphId) {
48
+ return row.execution.find((s) => s.graphId === graphId);
49
+ }
50
+ /**
51
+ * Read-only dashboard slice: graph operational fields from config plus execution-matrix row counts
52
+ * for one `graphId` within a matrix scope. Uses {@link ExecutionMatrixRuntime.countRowsMatching} when available.
53
+ */
54
+ export async function fetchGraphOperationalDashboardSlice(deps, query) {
55
+ const { matrixCatalogId, matrixRunId, graphId, extraFilter } = query;
56
+ const cap = query.aggregateRowScanCap ?? 10_000;
57
+ const cfg = await deps.loadGraphConfig(graphId);
58
+ const graphConfigFound = cfg !== null;
59
+ const eff = cfg
60
+ ? resolveGraphConfigOperationalView(cfg)
61
+ : {
62
+ publicationStatus: DEFAULT_GRAPH_PUBLICATION_STATUS,
63
+ operationalState: DEFAULT_GRAPH_OPERATIONAL_STATE,
64
+ };
65
+ const baseSlotFilter = buildMatrixRowReadFilter(matrixCatalogId, matrixRunId, graphId, undefined, extraFilter);
66
+ const failedSlotRows = await deps.runtime.countRowsMatching(buildMatrixRowReadFilter(matrixCatalogId, matrixRunId, graphId, 'failed', extraFilter));
67
+ const outputMode = query.outputCountMode ?? 'inferenceRows';
68
+ let completedInferenceRows = 0;
69
+ if (outputMode === 'inferenceRows') {
70
+ completedInferenceRows = await deps.runtime.countRowsMatching({
71
+ ...baseSlotFilter,
72
+ inferences: { $elemMatch: { graphId } },
73
+ });
74
+ }
75
+ if (query.inputGroupByPath !== undefined) {
76
+ assertSafeInputGroupByPath(query.inputGroupByPath);
77
+ const path = query.inputGroupByPath.trim();
78
+ const rows = (await deps.runtime.listRecords({
79
+ matrixCatalogId,
80
+ matrixRunId,
81
+ graphId,
82
+ limit: cap,
83
+ extraFilter,
84
+ }));
85
+ const buckets = new Map();
86
+ for (const row of rows) {
87
+ const key = inputGroupKey(row.input, path);
88
+ const slot = slotForGraph(row, graphId);
89
+ const st = (slot
90
+ ? normalizeExecutionMatrixStatus(slot.status)
91
+ : 'not-started');
92
+ if (!buckets.has(key)) {
93
+ buckets.set(key, { totalRows: 0, bySlotStatus: emptyStatusCounts() });
94
+ }
95
+ const b = buckets.get(key);
96
+ b.totalRows += 1;
97
+ if (st)
98
+ b.bySlotStatus[st] += 1;
99
+ }
100
+ const inputBuckets = [...buckets.entries()]
101
+ .sort(([a], [b]) => a.localeCompare(b))
102
+ .map(([key, v]) => ({ key, totalRows: v.totalRows, bySlotStatus: v.bySlotStatus }));
103
+ return {
104
+ graphId,
105
+ matrixCatalogId,
106
+ ...(matrixRunId !== undefined ? { matrixRunId } : {}),
107
+ graphConfigFound,
108
+ publicationStatus: eff.publicationStatus,
109
+ operationalState: eff.operationalState,
110
+ ...(cfg ? { configVersion: cfg.version } : {}),
111
+ inputBuckets,
112
+ output: { completedInferenceRows, failedSlotRows },
113
+ };
114
+ }
115
+ const inputBuckets = [
116
+ {
117
+ key: ALL_BUCKET,
118
+ totalRows: await deps.runtime.countRowsMatching(baseSlotFilter),
119
+ bySlotStatus: emptyStatusCounts(),
120
+ },
121
+ ];
122
+ for (const st of EXECUTION_MATRIX_STATUSES) {
123
+ inputBuckets[0].bySlotStatus[st] = await deps.runtime.countRowsMatching(buildMatrixRowReadFilter(matrixCatalogId, matrixRunId, graphId, st, extraFilter));
124
+ }
125
+ return {
126
+ graphId,
127
+ matrixCatalogId,
128
+ ...(matrixRunId !== undefined ? { matrixRunId } : {}),
129
+ graphConfigFound,
130
+ publicationStatus: eff.publicationStatus,
131
+ operationalState: eff.operationalState,
132
+ ...(cfg ? { configVersion: cfg.version } : {}),
133
+ inputBuckets,
134
+ output: { completedInferenceRows, failedSlotRows },
135
+ };
136
+ }
137
+ //# sourceMappingURL=graph-operational-aggregates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-operational-aggregates.js","sourceRoot":"","sources":["../../src/execution-matrix/graph-operational-aggregates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qCAAqC,EAAE,MAAM,qBAAqB,CAAC;AAS5E,OAAO,EACL,+BAA+B,EAC/B,gCAAgC,EAChC,yBAAyB,GAC1B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AAErF,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAE7D,MAAM,UAAU,GAAG,MAAM,CAAC;AAE1B,SAAS,iBAAiB;IACxB,OAAO;QACL,aAAa,EAAE,CAAC;QAChB,aAAa,EAAE,CAAC;QAChB,SAAS,EAAE,CAAC;QACZ,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,CAAC;KACX,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,0BAA0B,CAAC,IAAY;IACrD,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;IAC5B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,qCAAqC,CAAC,0BAA0B,EAAE,CAAC,wBAAwB,CAAC,CAAC,CAAC;IAC1G,CAAC;IACD,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACjD,KAAK,MAAM,CAAC,IAAI,KAAK,EAAE,CAAC;QACtB,IA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AC"}
@@ -0,0 +1,43 @@
1
+ import type { GraphConfigRecord, GraphOperationalState, GraphPublicationStatus } from './contracts.js';
2
+ export declare class GraphNotSchedulableError extends Error {
3
+ readonly graphId: string;
4
+ readonly publicationStatus: GraphPublicationStatus;
5
+ readonly operationalState: GraphOperationalState;
6
+ constructor(message: string, graphId: string, publicationStatus: GraphPublicationStatus, operationalState: GraphOperationalState);
7
+ }
8
+ /**
9
+ * Effective publication / operational values for a graph config row (fills legacy omissions).
10
+ */
11
+ export declare function resolveGraphConfigOperationalView(record: GraphConfigRecord): {
12
+ publicationStatus: GraphPublicationStatus;
13
+ operationalState: GraphOperationalState;
14
+ };
15
+ /**
16
+ * Throws when the graph must not be claimed or executed by workers (Draft/Archived, or NotOperational).
17
+ * {@link GraphOperationalState} `Ready` and `Running` are both schedulable when publication is `Published`.
18
+ */
19
+ export declare function assertGraphSchedulable(record: GraphConfigRecord): void;
20
+ export type GraphOperationalWriteInput = {
21
+ publicationStatus?: GraphPublicationStatus;
22
+ operationalState?: GraphOperationalState;
23
+ };
24
+ /**
25
+ * Validates merged publication + operational fields before persist.
26
+ *
27
+ * @param prevEffective — previous effective view (after {@link resolveGraphConfigOperationalView}); omit on create.
28
+ */
29
+ export declare function validateGraphOperationalFields(next: {
30
+ publicationStatus: GraphPublicationStatus;
31
+ operationalState: GraphOperationalState;
32
+ }, prevEffective?: {
33
+ publicationStatus: GraphPublicationStatus;
34
+ operationalState: GraphOperationalState;
35
+ }): void;
36
+ /**
37
+ * Merges partial write input with current record defaults and runs {@link validateGraphOperationalFields}.
38
+ */
39
+ export declare function mergeAndValidateGraphOperationalUpdate(cur: GraphConfigRecord, patch: GraphOperationalWriteInput): {
40
+ publicationStatus: GraphPublicationStatus;
41
+ operationalState: GraphOperationalState;
42
+ };
43
+ //# sourceMappingURL=graph-operational-lifecycle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-operational-lifecycle.d.ts","sourceRoot":"","sources":["../../src/execution-matrix/graph-operational-lifecycle.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,gBAAgB,CAAC;AAQxB,qBAAa,wBAAyB,SAAQ,KAAK;aAG/B,OAAO,EAAE,MAAM;aACf,iBAAiB,EAAE,sBAAsB;aACzC,gBAAgB,EAAE,qBAAqB;gBAHvD,OAAO,EAAE,MAAM,EACC,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,sBAAsB,EACzC,gBAAgB,EAAE,qBAAqB;CAK1D;AAUD;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,iBAAiB,GAAG;IAC5E,iBAAiB,EAAE,sBAAsB,CAAC;IAC1C,gBAAgB,EAAE,qBAAqB,CAAC;CACzC,CAIA;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI,CAmBtE;AAED,MAAM,MAAM,0BAA0B,GAAG;IACvC,iBAAiB,CAAC,EAAE,sBAAsB,CAAC;IAC3C,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;CAC1C,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE;IAAE,iBAAiB,EAAE,sBAAsB,CAAC;IAAC,gBAAgB,EAAE,qBAAqB,CAAA;CAAE,EAC5F,aAAa,CAAC,EAAE;IAAE,iBAAiB,EAAE,sBAAsB,CAAC;IAAC,gBAAgB,EAAE,qBAAqB,CAAA;CAAE,GACrG,IAAI,CAiCN;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CACpD,GAAG,EAAE,iBAAiB,EACtB,KAAK,EAAE,0BAA0B,GAChC;IAAE,iBAAiB,EAAE,sBAAsB,CAAC;IAAC,gBAAgB,EAAE,qBAAqB,CAAA;CAAE,CAMxF"}