@graphrefly/graphrefly 0.43.0 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/dist/{cascading-CH-_VwG9.d.cts → cascading-BglDkMdX.d.cts} +2 -2
  2. package/dist/{cascading-OgKQZjsa.d.ts → cascading-MFgxu7Yo.d.ts} +2 -2
  3. package/dist/{chunk-KVV66NN2.js → chunk-2T7U5EU6.js} +1 -1
  4. package/dist/chunk-5M4CCMMD.js +45 -0
  5. package/dist/{chunk-I7IGYPSL.js → chunk-5XJ6B66J.js} +1 -1
  6. package/dist/{chunk-OFZG3TB3.js → chunk-6X7AFUJV.js} +1 -1
  7. package/dist/{chunk-EBW4V6JN.js → chunk-7K6PWTDQ.js} +1 -1
  8. package/dist/{chunk-D27JNOLZ.js → chunk-7LIAPXJB.js} +1 -1
  9. package/dist/{chunk-CLD3F4R5.js → chunk-7WPU3UHQ.js} +1 -1
  10. package/dist/{chunk-NNKJUORL.js → chunk-A5WCQ5NO.js} +1 -1
  11. package/dist/chunk-APPIWSGD.js +84 -0
  12. package/dist/{chunk-TZQPPQEQ.js → chunk-BEZWM2SY.js} +1 -1
  13. package/dist/{chunk-K2Q24F5T.js → chunk-CB676TKJ.js} +1 -1
  14. package/dist/{chunk-SUWT3ZON.js → chunk-CE6TI2TL.js} +1 -1
  15. package/dist/{chunk-VOPGGIL7.js → chunk-CLVB32RD.js} +1 -1
  16. package/dist/{chunk-V5A7M7RJ.js → chunk-CRVT7D2P.js} +1 -1
  17. package/dist/chunk-D7GPHKFH.js +1 -0
  18. package/dist/{chunk-OCKEEPRJ.js → chunk-DHRX7JX4.js} +1 -1
  19. package/dist/chunk-FZMYDOWV.js +1 -0
  20. package/dist/{chunk-35JTVPOX.js → chunk-GHBWHMRZ.js} +1 -1
  21. package/dist/{chunk-KGKJCHEK.js → chunk-GLERH466.js} +1 -1
  22. package/dist/{chunk-TPKQW72B.js → chunk-HIDYF36O.js} +1 -1
  23. package/dist/chunk-HITNVN6B.js +3 -0
  24. package/dist/{chunk-P6C4WHZO.js → chunk-HY4DJBA7.js} +1 -1
  25. package/dist/chunk-KZIEYVXN.js +1 -0
  26. package/dist/{chunk-O2BLLH7M.js → chunk-N4MQX6JU.js} +1 -1
  27. package/dist/{chunk-4YAN45KM.js → chunk-N7FHEL4D.js} +1 -1
  28. package/dist/chunk-NTEURFZH.js +1 -0
  29. package/dist/{chunk-OYJKFY7V.js → chunk-OIVP6KFV.js} +1 -1
  30. package/dist/{chunk-Q4U3A3L5.js → chunk-OPHBU3LG.js} +1 -1
  31. package/dist/{chunk-PT7W5FCD.js → chunk-OYQOZP2F.js} +1 -1
  32. package/dist/{chunk-6HOSXQKF.js → chunk-PTZK576G.js} +1 -1
  33. package/dist/{chunk-S3EEIPO7.js → chunk-ST7UXLWR.js} +1 -1
  34. package/dist/chunk-SVY7VUYU.js +1 -0
  35. package/dist/{chunk-QYVXF7GW.js → chunk-TK3NWWD4.js} +1 -1
  36. package/dist/chunk-UNGSTR4X.js +61 -0
  37. package/dist/{chunk-VQ4A6T2A.js → chunk-VV4N5P64.js} +1 -1
  38. package/dist/{chunk-FDQGFWLF.js → chunk-W3I423PS.js} +1 -1
  39. package/dist/{chunk-XG62INFA.js → chunk-WJR24TAG.js} +1 -1
  40. package/dist/{chunk-F3IGTWCQ.js → chunk-XTGKMHSW.js} +1 -1
  41. package/dist/{chunk-JQFH2DV6.js → chunk-YBB7ZGTY.js} +1 -1
  42. package/dist/{chunk-CUNIRONA.js → chunk-Z4NPUARF.js} +1 -1
  43. package/dist/{chunk-KRH66M4O.js → chunk-ZGNQRPDT.js} +1 -1
  44. package/dist/{chunk-JNWRYDJN.js → chunk-ZKPSFFKU.js} +1 -1
  45. package/dist/{chunk-FG4TKHMC.js → chunk-ZLV5SQSX.js} +1 -1
  46. package/dist/compat/index.cjs +5 -5
  47. package/dist/compat/index.d.cts +16 -16
  48. package/dist/compat/index.d.ts +16 -16
  49. package/dist/compat/index.js +1 -1
  50. package/dist/compat/jotai/index.cjs +1 -1
  51. package/dist/compat/jotai/index.d.cts +2 -2
  52. package/dist/compat/jotai/index.d.ts +2 -2
  53. package/dist/compat/jotai/index.js +1 -1
  54. package/dist/compat/nanostores/index.cjs +1 -1
  55. package/dist/compat/nanostores/index.d.cts +2 -2
  56. package/dist/compat/nanostores/index.d.ts +2 -2
  57. package/dist/compat/nanostores/index.js +1 -1
  58. package/dist/compat/nestjs/index.cjs +5 -5
  59. package/dist/compat/nestjs/index.d.cts +8 -8
  60. package/dist/compat/nestjs/index.d.ts +8 -8
  61. package/dist/compat/nestjs/index.js +1 -1
  62. package/dist/compat/react/index.d.cts +2 -2
  63. package/dist/compat/react/index.d.ts +2 -2
  64. package/dist/compat/solid/index.d.cts +2 -2
  65. package/dist/compat/solid/index.d.ts +2 -2
  66. package/dist/compat/svelte/index.d.cts +2 -2
  67. package/dist/compat/svelte/index.d.ts +2 -2
  68. package/dist/compat/vue/index.d.cts +2 -2
  69. package/dist/compat/vue/index.d.ts +2 -2
  70. package/dist/compat/zustand/index.cjs +3 -3
  71. package/dist/compat/zustand/index.d.cts +4 -4
  72. package/dist/compat/zustand/index.d.ts +4 -4
  73. package/dist/compat/zustand/index.js +1 -1
  74. package/dist/core/index.cjs +1 -1
  75. package/dist/core/index.d.cts +3 -4
  76. package/dist/core/index.d.ts +3 -4
  77. package/dist/core/index.js +1 -1
  78. package/dist/{decay-CdEBmDIs.d.ts → decay-BvOWTZ00.d.ts} +2 -2
  79. package/dist/{decay-2ZukgQ4o.d.cts → decay-CFlLvXUT.d.cts} +2 -2
  80. package/dist/extra/browser.cjs +1 -1
  81. package/dist/extra/browser.d.cts +1 -1
  82. package/dist/extra/browser.d.ts +1 -1
  83. package/dist/extra/browser.js +1 -1
  84. package/dist/extra/index.cjs +15 -15
  85. package/dist/extra/index.d.cts +10 -10
  86. package/dist/extra/index.d.ts +10 -10
  87. package/dist/extra/index.js +1 -1
  88. package/dist/extra/node.cjs +2 -2
  89. package/dist/extra/node.d.cts +1 -1
  90. package/dist/extra/node.d.ts +1 -1
  91. package/dist/extra/node.js +1 -1
  92. package/dist/extra/operators.cjs +1 -1
  93. package/dist/extra/operators.d.cts +9 -1
  94. package/dist/extra/operators.d.ts +9 -1
  95. package/dist/extra/operators.js +1 -1
  96. package/dist/extra/reactive.cjs +1 -1
  97. package/dist/extra/reactive.d.cts +3 -3
  98. package/dist/extra/reactive.d.ts +3 -3
  99. package/dist/extra/reactive.js +1 -1
  100. package/dist/extra/render/index.d.cts +3 -3
  101. package/dist/extra/render/index.d.ts +3 -3
  102. package/dist/extra/sources.cjs +3 -3
  103. package/dist/extra/sources.d.cts +1 -1
  104. package/dist/extra/sources.d.ts +1 -1
  105. package/dist/extra/sources.js +1 -1
  106. package/dist/extra/storage-browser.cjs +1 -1
  107. package/dist/extra/storage-browser.d.cts +1 -1
  108. package/dist/extra/storage-browser.d.ts +1 -1
  109. package/dist/extra/storage-browser.js +1 -1
  110. package/dist/{fallback-Ctlj2tMY.d.cts → fallback-74oxi34l.d.cts} +1 -1
  111. package/dist/{fallback-CqYVLL6X.d.ts → fallback-DUyyBTBK.d.ts} +1 -1
  112. package/dist/graph/index.cjs +7 -7
  113. package/dist/graph/index.d.cts +5 -5
  114. package/dist/graph/index.d.ts +5 -5
  115. package/dist/graph/index.js +1 -1
  116. package/dist/{graph-C4SHb3Ly.d.cts → graph-CWvEUQAq.d.cts} +196 -3
  117. package/dist/{graph-7VguS7a4.d.ts → graph-D9LFnda9.d.ts} +196 -3
  118. package/dist/{index-O7fucFrU.d.cts → index-5k1T6jl0.d.cts} +9 -9
  119. package/dist/{index-DyR7eU5S.d.cts → index-9770hRuQ.d.cts} +4 -4
  120. package/dist/{index-COD1kVoS.d.cts → index-B-_tFaqV.d.cts} +4 -4
  121. package/dist/{index-CLon-IWF.d.cts → index-B17QddL1.d.cts} +4 -4
  122. package/dist/{index-B-i4_g3k.d.ts → index-B1F8Enjf.d.ts} +61 -8
  123. package/dist/{index-DBevwHj_.d.ts → index-B5S8ULbU.d.ts} +3 -3
  124. package/dist/{index-Dgs8zcj7.d.ts → index-B8YnZpIR.d.ts} +2 -2
  125. package/dist/{index-DSZ3ZCHF.d.ts → index-BHskSB8v.d.ts} +28 -17
  126. package/dist/{index-CDXc9zKM.d.cts → index-BIYAkbAi.d.cts} +1 -1
  127. package/dist/{index-C9kSENB4.d.cts → index-BQSKmbuG.d.cts} +1 -1
  128. package/dist/{index-tJoTcnHh.d.cts → index-BaQaY_IQ.d.cts} +2 -2
  129. package/dist/{index-CJK1JkYy.d.ts → index-BmZXHqkE.d.ts} +1 -1
  130. package/dist/{index-K0_0eR8g.d.ts → index-BoJ5JHxI.d.ts} +3 -3
  131. package/dist/{index-JZUPJIJy.d.ts → index-BocU7pqs.d.ts} +4 -4
  132. package/dist/{index-ChOyVLKm.d.cts → index-BrPrLl4e.d.cts} +1 -1
  133. package/dist/{index-BiX1Nkgx.d.cts → index-BxNs2HB9.d.cts} +22 -8
  134. package/dist/{index-Bf7eqeSF.d.ts → index-Byu-OpX_.d.ts} +2 -2
  135. package/dist/{index-BoLv_OfD.d.cts → index-C1T3d7V-.d.cts} +61 -8
  136. package/dist/{index-BTQtTb_H.d.cts → index-C5ri2Axc.d.cts} +3 -3
  137. package/dist/{index-z96luz5O.d.cts → index-C5stwKcw.d.cts} +1 -1
  138. package/dist/{index-D4Y1cMG0.d.ts → index-C9l6OEBL.d.ts} +1 -1
  139. package/dist/{index-CCq87F7t.d.ts → index-CBBLl_rc.d.ts} +1 -1
  140. package/dist/{index-cm1GNcWE.d.ts → index-CBGUK09R.d.ts} +4 -4
  141. package/dist/{index-0rKFCVFp.d.cts → index-CC-AvFTy.d.cts} +3 -3
  142. package/dist/{index-C59mYFKp.d.ts → index-CJF1URuX.d.ts} +9 -9
  143. package/dist/{index-BJX94aud.d.cts → index-CK29LV56.d.cts} +1 -1
  144. package/dist/{index-BP8a88zx.d.ts → index-CMh5Rz1y.d.ts} +4 -4
  145. package/dist/{index-CvrqGfNS.d.ts → index-CPQlGA29.d.ts} +1 -1
  146. package/dist/{index-D-AEQVLo.d.ts → index-CR8QpwX8.d.ts} +49 -24
  147. package/dist/{index-Du7u1lSf.d.cts → index-CS0LTlB8.d.cts} +4 -4
  148. package/dist/{index-Bc41FuHp.d.cts → index-CSOmP7xT.d.cts} +2 -2
  149. package/dist/{index-BsT7F2et.d.ts → index-CYq8vAyV.d.ts} +2 -2
  150. package/dist/{index-CPT7C_f1.d.ts → index-CZ3r5Rxp.d.ts} +4 -4
  151. package/dist/{index-BojK2fwH.d.cts → index-CasX6Pfq.d.cts} +68 -9
  152. package/dist/{index-BG0BN3PB.d.ts → index-CdAlHFEt.d.ts} +1 -1
  153. package/dist/{index-wAzD9yVj.d.ts → index-CdTelp1M.d.ts} +8 -4
  154. package/dist/{index-CQG3D1cp.d.ts → index-CeFiHtAg.d.ts} +4 -4
  155. package/dist/{index-RV_yDjOX.d.cts → index-Cj3WohTd.d.cts} +8 -4
  156. package/dist/{index-BAOD98JD.d.cts → index-Climxqsu.d.cts} +4 -4
  157. package/dist/{index-O16yXPK4.d.cts → index-Co7uli2l.d.cts} +28 -17
  158. package/dist/{index-DIOoAZUX.d.ts → index-CviRnE4K.d.ts} +1 -1
  159. package/dist/{index-Dhc7a7Xo.d.cts → index-Cwv0KWcU.d.cts} +2 -2
  160. package/dist/{index-Dn-wI9g4.d.ts → index-CzLVrjxn.d.ts} +2 -2
  161. package/dist/{index-C9pjcz3l.d.cts → index-D0aciIex.d.cts} +3 -3
  162. package/dist/{index-DwigL4lY.d.ts → index-DHen9Klo.d.ts} +22 -8
  163. package/dist/{index-BwLvVVsy.d.cts → index-DV_1YuVk.d.cts} +40 -8
  164. package/dist/{index-BdGtBX-X.d.cts → index-Dc4AYqrJ.d.cts} +3 -3
  165. package/dist/{index-Dmqp7KjD.d.ts → index-Dgl1HpPn.d.ts} +1 -1
  166. package/dist/{index-CAC_rNzm.d.ts → index-DisjX8a-.d.ts} +40 -8
  167. package/dist/{index-B5iz82A3.d.cts → index-UPSiS-X7.d.cts} +49 -24
  168. package/dist/{index-CZQXo5tH.d.ts → index-Yq60JP3s.d.ts} +3 -3
  169. package/dist/{index-f5IivDUX.d.cts → index-ZVQhLa2i.d.cts} +1 -1
  170. package/dist/{index-hHcaFlJX.d.cts → index-_6ODbuOu.d.cts} +1 -1
  171. package/dist/{index-BVpm6noz.d.cts → index-hcDJ8PSI.d.cts} +1 -1
  172. package/dist/{index-DBHK8O6H.d.ts → index-nozs3fFC.d.ts} +3 -3
  173. package/dist/{index-Dh_HJ82K.d.ts → index-p09KSrTN.d.ts} +68 -9
  174. package/dist/{index-C7O6r5fV.d.ts → index-sqkqlb1p.d.ts} +1 -1
  175. package/dist/{index-CZjOhcBy.d.cts → index-tRCxuAXF.d.cts} +2 -2
  176. package/dist/index.cjs +48 -48
  177. package/dist/index.d.cts +42 -43
  178. package/dist/index.d.ts +42 -43
  179. package/dist/index.js +1 -1
  180. package/dist/{node-ClS5yC-B.d.cts → node-kK3CvTrR.d.cts} +1 -1
  181. package/dist/{node-ClS5yC-B.d.ts → node-kK3CvTrR.d.ts} +1 -1
  182. package/dist/{observable-BsBzUrcI.d.ts → observable-DWjNfLvC.d.ts} +1 -1
  183. package/dist/{observable-DLGPPtb8.d.cts → observable-e3eiPPFy.d.cts} +1 -1
  184. package/dist/patterns/ai/browser.cjs +5 -5
  185. package/dist/patterns/ai/browser.d.cts +4 -4
  186. package/dist/patterns/ai/browser.d.ts +4 -4
  187. package/dist/patterns/ai/browser.js +1 -1
  188. package/dist/patterns/ai/index.cjs +16 -16
  189. package/dist/patterns/ai/index.d.cts +16 -17
  190. package/dist/patterns/ai/index.d.ts +16 -17
  191. package/dist/patterns/ai/index.js +1 -1
  192. package/dist/patterns/ai/node.cjs +1 -1
  193. package/dist/patterns/ai/node.d.cts +4 -4
  194. package/dist/patterns/ai/node.d.ts +4 -4
  195. package/dist/patterns/ai/node.js +1 -1
  196. package/dist/patterns/cqrs/index.cjs +3 -3
  197. package/dist/patterns/cqrs/index.d.cts +6 -6
  198. package/dist/patterns/cqrs/index.d.ts +6 -6
  199. package/dist/patterns/cqrs/index.js +1 -1
  200. package/dist/patterns/demo-shell/index.cjs +5 -5
  201. package/dist/patterns/demo-shell/index.d.cts +5 -5
  202. package/dist/patterns/demo-shell/index.d.ts +5 -5
  203. package/dist/patterns/demo-shell/index.js +1 -1
  204. package/dist/patterns/domain-templates/index.cjs +3 -3
  205. package/dist/patterns/domain-templates/index.d.cts +4 -4
  206. package/dist/patterns/domain-templates/index.d.ts +4 -4
  207. package/dist/patterns/domain-templates/index.js +1 -1
  208. package/dist/patterns/graphspec/index.cjs +16 -16
  209. package/dist/patterns/graphspec/index.d.cts +5 -5
  210. package/dist/patterns/graphspec/index.d.ts +5 -5
  211. package/dist/patterns/graphspec/index.js +1 -1
  212. package/dist/patterns/harness/index.cjs +9 -9
  213. package/dist/patterns/harness/index.d.cts +10 -11
  214. package/dist/patterns/harness/index.d.ts +10 -11
  215. package/dist/patterns/harness/index.js +1 -1
  216. package/dist/patterns/inspect/index.cjs +3 -3
  217. package/dist/patterns/inspect/index.d.cts +7 -7
  218. package/dist/patterns/inspect/index.d.ts +7 -7
  219. package/dist/patterns/inspect/index.js +1 -1
  220. package/dist/patterns/job-queue/index.cjs +3 -3
  221. package/dist/patterns/job-queue/index.d.cts +6 -6
  222. package/dist/patterns/job-queue/index.d.ts +6 -6
  223. package/dist/patterns/job-queue/index.js +1 -1
  224. package/dist/patterns/memory/index.cjs +3 -3
  225. package/dist/patterns/memory/index.d.cts +6 -6
  226. package/dist/patterns/memory/index.d.ts +6 -6
  227. package/dist/patterns/memory/index.js +1 -1
  228. package/dist/patterns/messaging/index.cjs +3 -3
  229. package/dist/patterns/messaging/index.d.cts +5 -5
  230. package/dist/patterns/messaging/index.d.ts +5 -5
  231. package/dist/patterns/messaging/index.js +1 -1
  232. package/dist/patterns/orchestration/index.cjs +3 -3
  233. package/dist/patterns/orchestration/index.d.cts +6 -7
  234. package/dist/patterns/orchestration/index.d.ts +6 -7
  235. package/dist/patterns/orchestration/index.js +1 -1
  236. package/dist/patterns/process/index.cjs +3 -1
  237. package/dist/patterns/process/index.d.cts +7 -7
  238. package/dist/patterns/process/index.d.ts +7 -7
  239. package/dist/patterns/process/index.js +1 -1
  240. package/dist/patterns/reactive-layout/index.cjs +4 -4
  241. package/dist/patterns/reactive-layout/index.d.cts +5 -5
  242. package/dist/patterns/reactive-layout/index.d.ts +5 -5
  243. package/dist/patterns/reactive-layout/index.js +1 -1
  244. package/dist/patterns/reduction/index.cjs +3 -3
  245. package/dist/patterns/reduction/index.d.cts +4 -4
  246. package/dist/patterns/reduction/index.d.ts +4 -4
  247. package/dist/patterns/reduction/index.js +1 -1
  248. package/dist/patterns/surface/index.cjs +10 -10
  249. package/dist/patterns/surface/index.d.cts +6 -6
  250. package/dist/patterns/surface/index.d.ts +6 -6
  251. package/dist/patterns/surface/index.js +1 -1
  252. package/dist/{pipeline-graph-DPqKDk59.d.cts → pipeline-graph-CIKhynsF.d.cts} +11 -6
  253. package/dist/{pipeline-graph-loP57TBA.d.ts → pipeline-graph-Sgj0gCwn.d.ts} +11 -6
  254. package/dist/{reactive-layout-v7KPvxoc.d.ts → reactive-layout-DOTs9P3X.d.ts} +2 -2
  255. package/dist/{reactive-layout-Dsvob4zD.d.cts → reactive-layout-DgctbqZo.d.cts} +2 -2
  256. package/dist/{reactive-log-BezYsbA_.d.ts → reactive-log-BKALbfal.d.ts} +1 -1
  257. package/dist/{reactive-log-B00laMSQ.d.cts → reactive-log-DIGdYqQ6.d.cts} +1 -1
  258. package/dist/{reactive-map-48mnZ-nu.d.cts → reactive-map-CEFGp8TK.d.cts} +1 -1
  259. package/dist/{reactive-map-BVVPdvmi.d.ts → reactive-map-DS_SIAxv.d.ts} +1 -1
  260. package/dist/resilience-6LYQJAC5.js +1 -0
  261. package/dist/{sugar-DLwvMr3F.d.ts → sugar-DQjFmVqb.d.cts} +178 -2
  262. package/dist/{sugar-DyVGtczU.d.cts → sugar-fhLIE7TT.d.ts} +178 -2
  263. package/dist/{topology-tree-BSdfSwMi.d.cts → topology-tree-Bcz27hpF.d.cts} +1 -1
  264. package/dist/{topology-tree-BNGvuG82.d.ts → topology-tree-xvaD0fOX.d.ts} +1 -1
  265. package/dist/{types-B1jDWVsM.d.cts → types-C0_yquda.d.cts} +1 -1
  266. package/dist/{types-DkzUUs0H.d.ts → types-CWFysE9E.d.ts} +1 -1
  267. package/package.json +1 -1
  268. package/dist/chunk-3XDYJRYU.js +0 -1
  269. package/dist/chunk-4I45FVQS.js +0 -1
  270. package/dist/chunk-626TESAC.js +0 -3
  271. package/dist/chunk-INQD2KRQ.js +0 -1
  272. package/dist/chunk-LYCLF26R.js +0 -1
  273. package/dist/chunk-NON4NLIC.js +0 -45
  274. package/dist/chunk-QE4IGY7I.js +0 -61
  275. package/dist/chunk-VNC3TMVY.js +0 -1
  276. package/dist/chunk-Y4NI3X7O.js +0 -84
  277. package/dist/meta-BgVAsg9j.d.ts +0 -102
  278. package/dist/meta-vE8bxW1E.d.cts +0 -102
  279. package/dist/resilience-YIWPK4YC.js +0 -1
@@ -1,5 +1,5 @@
1
- import { j as CompileSpecOptions, G as GraphSpec, c as GraphSpecCatalog, C as CatalogFnEntry, a as CatalogSourceEntry, b as ConfigFieldSchema, F as FnFactory, d as GraphSpecFeedbackEdge, e as GraphSpecNode, f as GraphSpecTemplate, g as GraphSpecTemplateRef, h as GraphSpecValidation, S as SourceFactory } from './index-BP8a88zx.js';
2
- import { G as Graph, o as GraphNodeFactory, m as GraphDiffResult } from './graph-7VguS7a4.js';
1
+ import { j as CompileSpecOptions, G as GraphSpec, c as GraphSpecCatalog, C as CatalogFnEntry, a as CatalogSourceEntry, b as ConfigFieldSchema, F as FnFactory, d as GraphSpecFeedbackEdge, e as GraphSpecNode, f as GraphSpecTemplate, g as GraphSpecTemplateRef, h as GraphSpecValidation, S as SourceFactory } from './index-CMh5Rz1y.js';
2
+ import { G as Graph, o as GraphNodeFactory, m as GraphDiffResult } from './graph-D9LFnda9.js';
3
3
  import { KvStorageTier } from './extra/storage-tiers.js';
4
4
 
5
5
  /**
@@ -1,7 +1,7 @@
1
- import { N as Node } from './node-ClS5yC-B.js';
2
- import { B as BaseAuditRecord } from './index-CZQXo5tH.js';
3
- import { a as ReactiveLogBundle } from './reactive-log-BezYsbA_.js';
4
- import { G as Graph } from './graph-7VguS7a4.js';
1
+ import { N as Node } from './node-kK3CvTrR.js';
2
+ import { B as BaseAuditRecord } from './index-Yq60JP3s.js';
3
+ import { a as ReactiveLogBundle } from './reactive-log-BKALbfal.js';
4
+ import { G as Graph } from './graph-D9LFnda9.js';
5
5
 
6
6
  /**
7
7
  * Memory patterns (roadmap §4.3) — public-face Phase-4 primitives audited under
@@ -1,8 +1,8 @@
1
- import { B as BaseAuditRecord } from './index-C9pjcz3l.cjs';
2
- import { a as ReactiveLogBundle } from './reactive-log-B00laMSQ.cjs';
1
+ import { B as BaseAuditRecord } from './index-D0aciIex.cjs';
2
+ import { a as ReactiveLogBundle } from './reactive-log-DIGdYqQ6.cjs';
3
3
  import { NodeInput } from './extra/sources.cjs';
4
- import { AppendLogStorageTier } from './extra/storage-tiers.cjs';
5
- import { C as CqrsEventMap, a as CqrsEvent, b as CqrsGraph } from './index-COD1kVoS.cjs';
4
+ import { AppendLogStorageTier, KvStorageTier } from './extra/storage-tiers.cjs';
5
+ import { C as CqrsEventMap, a as CqrsEvent, b as CqrsGraph } from './index-B-_tFaqV.cjs';
6
6
 
7
7
  /**
8
8
  * Process Manager pattern (Phase 7 — roadmap §4.6, Audit 3 — locked 2026-04-24).
@@ -16,9 +16,9 @@ import { C as CqrsEventMap, a as CqrsEvent, b as CqrsGraph } from './index-COD1k
16
16
  * - Per-instance state lives in a `Map<correlationId, TState>` closure (in-memory).
17
17
  * The `_process_<name>_started` synthetic event is dispatched per `start()`
18
18
  * for an event-sourced audit trail using `correlationId` as `aggregateId`.
19
- * Future state-snapshot persistence (`_process_<name>_state`) is reserved
20
- * under the same `_process_<name>_*` namespace but not yet implemented;
21
- * see `docs/optimizations.md` "Deferred follow-ups".
19
+ * Cross-restart state recovery is opt-in via
20
+ * `opts.persistence.stateStorage` (kv-tier per-correlationId snapshot,
21
+ * Tier 6.5 3.5) plus an explicit `restore()` call after construction.
22
22
  * - Watched-event subscriptions are imperative (coordinator role) — each
23
23
  * watched CQRS event type is subscribed to via `entries.subscribe(...)`.
24
24
  * These are NOT reactive node edges; the process manager is intentionally
@@ -127,6 +127,30 @@ interface ProcessInstance<TState> extends BaseAuditRecord {
127
127
  * Recommended `keyOf` for storage tiers keyed by correlationId (Audit 2).
128
128
  */
129
129
  declare const processInstanceKeyOf: <TState>(i: ProcessInstance<TState>) => string;
130
+ /**
131
+ * Per-correlationId state snapshot persisted via
132
+ * {@link ProcessManagerOpts.persistence.stateStorage} (Tier 6.5 3.5,
133
+ * 2026-04-29). Captures the running instance's current state plus
134
+ * lifecycle metadata so a fresh `processManager` can resume in-flight
135
+ * workflows after restart via {@link ProcessManagerResult.restore}.
136
+ *
137
+ * Terminal records (`status` ∈ `"terminated" | "errored" | "compensated"`)
138
+ * are deleted from the kv tier on transition — only running instances
139
+ * persist between restarts.
140
+ */
141
+ interface ProcessStateSnapshot<TState> {
142
+ readonly correlationId: string;
143
+ readonly state: TState;
144
+ readonly status: "running" | "terminated" | "errored" | "compensated";
145
+ readonly startedAt: number;
146
+ readonly updatedAt: number;
147
+ readonly handlerVersion?: {
148
+ id: string;
149
+ version: string | number;
150
+ };
151
+ }
152
+ /** Recommended `keyOf` for `KvStorageTier<ProcessStateSnapshot<...>>`. */
153
+ declare const processStateKeyOf: <TState>(s: ProcessStateSnapshot<TState>) => string;
130
154
  /**
131
155
  * Options for {@link processManager}.
132
156
  */
@@ -184,6 +208,23 @@ interface ProcessManagerOpts<TState, EM extends CqrsEventMap> {
184
208
  * Reuses `CqrsGraph.attachEventStorage` so events persist across restarts.
185
209
  */
186
210
  eventStorage?: readonly AppendLogStorageTier<CqrsEvent>[];
211
+ /**
212
+ * Wire per-correlationId state snapshots to kv tiers (Tier 6.5 3.5,
213
+ * 2026-04-29). Each `start()` and step transition writes the running
214
+ * instance's state under its `correlationId`; terminal transitions
215
+ * (`terminated` / `errored` / `compensated`) `delete` the key. After
216
+ * restart, callers invoke {@link ProcessManagerResult.restore} to
217
+ * reload running instances from the first tier.
218
+ *
219
+ * Uses {@link KvStorageTier} (not snapshot tier) because per-instance
220
+ * state is N records keyed by correlationId, not a single global
221
+ * snapshot. {@link processStateKeyOf} is the recommended `keyOf`
222
+ * (already aligned with the kv tier's `save(key, value)` shape).
223
+ *
224
+ * Terminal records are NOT preserved — historical lifecycle is the
225
+ * audit log's job. State persistence covers crash-recovery only.
226
+ */
227
+ stateStorage?: readonly KvStorageTier<ProcessStateSnapshot<TState>>[];
187
228
  };
188
229
  }
189
230
  /**
@@ -228,6 +269,22 @@ interface ProcessManagerResult<TState> {
228
269
  * Returns `undefined` if the instance does not exist or has terminated.
229
270
  */
230
271
  getState(correlationId: string): TState | undefined;
272
+ /**
273
+ * Restore running instances from the first {@link
274
+ * ProcessManagerOpts.persistence.stateStorage} tier (Tier 6.5 3.5,
275
+ * 2026-04-29). Loads every record in the tier and re-hydrates
276
+ * `instanceStates` / `activeInstances` / `startedAt` for any record
277
+ * whose `status === "running"`. Terminal records, if any persisted
278
+ * before delete fired, are silently skipped.
279
+ *
280
+ * Idempotent — calling twice doesn't double-restore (existing entries
281
+ * are overwritten). Returns the count of running instances rehydrated.
282
+ *
283
+ * No-op when no `stateStorage` tier is configured OR the first tier
284
+ * lacks a `list?` method (returns 0). Async because kv tier `load` /
285
+ * `list` may be async.
286
+ */
287
+ restore(): Promise<number>;
231
288
  /**
232
289
  * Release all watched-event subscriptions and stop processing new events.
233
290
  *
@@ -288,12 +345,14 @@ type index_ProcessInstance<TState> = ProcessInstance<TState>;
288
345
  type index_ProcessManagerOpts<TState, EM extends CqrsEventMap> = ProcessManagerOpts<TState, EM>;
289
346
  type index_ProcessManagerResult<TState> = ProcessManagerResult<TState>;
290
347
  type index_ProcessSchedule = ProcessSchedule;
348
+ type index_ProcessStateSnapshot<TState> = ProcessStateSnapshot<TState>;
291
349
  type index_ProcessStep<TState, EM extends CqrsEventMap, K extends keyof EM & string> = ProcessStep<TState, EM, K>;
292
350
  type index_ProcessStepResult<TState> = ProcessStepResult<TState>;
293
351
  declare const index_processInstanceKeyOf: typeof processInstanceKeyOf;
294
352
  declare const index_processManager: typeof processManager;
353
+ declare const index_processStateKeyOf: typeof processStateKeyOf;
295
354
  declare namespace index {
296
- export { type index_ProcessCompensate as ProcessCompensate, type index_ProcessInstance as ProcessInstance, type index_ProcessManagerOpts as ProcessManagerOpts, type index_ProcessManagerResult as ProcessManagerResult, type index_ProcessSchedule as ProcessSchedule, type index_ProcessStep as ProcessStep, type index_ProcessStepResult as ProcessStepResult, index_processInstanceKeyOf as processInstanceKeyOf, index_processManager as processManager };
355
+ export { type index_ProcessCompensate as ProcessCompensate, type index_ProcessInstance as ProcessInstance, type index_ProcessManagerOpts as ProcessManagerOpts, type index_ProcessManagerResult as ProcessManagerResult, type index_ProcessSchedule as ProcessSchedule, type index_ProcessStateSnapshot as ProcessStateSnapshot, type index_ProcessStep as ProcessStep, type index_ProcessStepResult as ProcessStepResult, index_processInstanceKeyOf as processInstanceKeyOf, index_processManager as processManager, index_processStateKeyOf as processStateKeyOf };
297
356
  }
298
357
 
299
- export { type ProcessCompensate as P, type ProcessInstance as a, type ProcessManagerOpts as b, type ProcessManagerResult as c, type ProcessSchedule as d, type ProcessStep as e, type ProcessStepResult as f, processManager as g, index as i, processInstanceKeyOf as p };
358
+ export { type ProcessCompensate as P, type ProcessInstance as a, type ProcessManagerOpts as b, type ProcessManagerResult as c, type ProcessSchedule as d, type ProcessStateSnapshot as e, type ProcessStep as f, type ProcessStepResult as g, processManager as h, index as i, processStateKeyOf as j, processInstanceKeyOf as p };
@@ -1,4 +1,4 @@
1
- import { N as Node } from './node-ClS5yC-B.js';
1
+ import { N as Node } from './node-kK3CvTrR.js';
2
2
 
3
3
  /**
4
4
  * Subscribe to a read-only `Node<T>` as a React value. Re-renders on node value settlement.
@@ -1,6 +1,5 @@
1
- import { M as Messages, A as Actor, C as COMPLETE, f as COMPLETE_MSG, g as COMPLETE_ONLY_BATCH, D as DATA, h as DEFAULT_ACTOR, i as DIRTY, j as DIRTY_MSG, k as DIRTY_ONLY_BATCH, l as DepRecord, E as ERROR, F as FnCtx, G as GlobalInspectorEvent, m as GlobalInspectorHook, n as GraphReFlyConfig, o as GuardAction, p as GuardDenied, q as GuardDeniedDetails, H as HashFn, I as INVALIDATE, r as INVALIDATE_MSG, s as INVALIDATE_ONLY_BATCH, t as Message, u as MessageContext, v as MessageTypeRegistration, w as MessageTypeRegistrationInput, N as Node, c as NodeActions, x as NodeCtx, e as NodeDescribeKind, y as NodeFn, d as NodeFnCleanup, b as NodeGuard, z as NodeImpl, B as NodeInspectorHook, J as NodeInspectorHookEvent, a as NodeOptions, K as NodeSink, L as NodeStatus, O as NodeTransportOptions, P as NodeVersionInfo, Q as OnMessageHandler, R as OnSubscribeHandler, S as PAUSE, T as PolicyAllow, U as PolicyDeny, W as PolicyRuleData, X as RESOLVED, Y as RESOLVED_MSG, Z as RESOLVED_ONLY_BATCH, _ as RESUME, $ as RigorRecorder, a0 as START, a1 as START_MSG, a2 as SubscribeContext, a3 as TEARDOWN, a4 as TEARDOWN_MSG, a5 as TEARDOWN_ONLY_BATCH, a6 as V0, a7 as V1, V as VersioningLevel, a8 as VersioningOptions, a9 as accessHintForGuard, aa as advanceVersion, ab as configure, ac as createVersioning, ad as defaultConfig, ae as defaultHash, af as isV1, ag as node, ah as normalizeActor, ai as policy, aj as policyFromRules, ak as registerBuiltins } from './node-ClS5yC-B.js';
2
- import { a as DescribeDetail, b as DescribeField, D as DescribeNodeOutput, f as factoryTag, p as placeholderArgs, r as resolveDescribeFields } from './meta-BgVAsg9j.js';
3
- import { A as AutoTrackOptions, D as DerivedFn, a as DynamicFn, E as EffectFn, P as PipeOperator, b as ProducerFn, T as TrackFn, c as autoTrackNode, d as derived, e as dynamicNode, f as effect, p as pipe, g as producer, s as state } from './sugar-DLwvMr3F.js';
1
+ import { M as Messages, A as Actor, C as COMPLETE, d as COMPLETE_MSG, e as COMPLETE_ONLY_BATCH, D as DATA, f as DEFAULT_ACTOR, g as DIRTY, h as DIRTY_MSG, i as DIRTY_ONLY_BATCH, j as DepRecord, E as ERROR, F as FnCtx, G as GlobalInspectorEvent, k as GlobalInspectorHook, l as GraphReFlyConfig, m as GuardAction, n as GuardDenied, o as GuardDeniedDetails, H as HashFn, I as INVALIDATE, p as INVALIDATE_MSG, q as INVALIDATE_ONLY_BATCH, r as Message, s as MessageContext, t as MessageTypeRegistration, u as MessageTypeRegistrationInput, N as Node, c as NodeActions, v as NodeCtx, w as NodeDescribeKind, x as NodeFn, y as NodeFnCleanup, b as NodeGuard, z as NodeImpl, B as NodeInspectorHook, J as NodeInspectorHookEvent, a as NodeOptions, K as NodeSink, L as NodeStatus, O as NodeTransportOptions, P as NodeVersionInfo, Q as OnMessageHandler, R as OnSubscribeHandler, S as PAUSE, T as PolicyAllow, U as PolicyDeny, W as PolicyRuleData, X as RESOLVED, Y as RESOLVED_MSG, Z as RESOLVED_ONLY_BATCH, _ as RESUME, $ as RigorRecorder, a0 as START, a1 as START_MSG, a2 as SubscribeContext, a3 as TEARDOWN, a4 as TEARDOWN_MSG, a5 as TEARDOWN_ONLY_BATCH, a6 as V0, a7 as V1, V as VersioningLevel, a8 as VersioningOptions, a9 as accessHintForGuard, aa as advanceVersion, ab as configure, ac as createVersioning, ad as defaultConfig, ae as defaultHash, af as isV1, ag as node, ah as normalizeActor, ai as policy, aj as policyFromRules, ak as registerBuiltins } from './node-kK3CvTrR.js';
2
+ import { A as AutoTrackOptions, a as DerivedFn, b as DerivedTFn, c as DescribeDetail, d as DescribeField, D as DescribeNodeOutput, e as DynamicFn, E as EffectFn, f as EffectTFn, N as NodeValues, P as PipeOperator, g as ProducerFn, T as TrackFn, h as autoTrackNode, i as derived, j as derivedT, k as dynamicNode, l as effect, m as effectT, n as factoryTag, p as pipe, o as placeholderArgs, q as producer, r as resolveDescribeFields, s as state } from './sugar-fhLIE7TT.js';
4
3
 
5
4
  /**
6
5
  * Batch deferral for tier-3+ messages, plus per-node emit coalescing inside
@@ -103,12 +102,14 @@ declare const index_DIRTY_MSG: typeof DIRTY_MSG;
103
102
  declare const index_DIRTY_ONLY_BATCH: typeof DIRTY_ONLY_BATCH;
104
103
  declare const index_DepRecord: typeof DepRecord;
105
104
  declare const index_DerivedFn: typeof DerivedFn;
105
+ declare const index_DerivedTFn: typeof DerivedTFn;
106
106
  declare const index_DescribeDetail: typeof DescribeDetail;
107
107
  declare const index_DescribeField: typeof DescribeField;
108
108
  declare const index_DescribeNodeOutput: typeof DescribeNodeOutput;
109
109
  declare const index_DynamicFn: typeof DynamicFn;
110
110
  declare const index_ERROR: typeof ERROR;
111
111
  declare const index_EffectFn: typeof EffectFn;
112
+ declare const index_EffectTFn: typeof EffectTFn;
112
113
  declare const index_FnCtx: typeof FnCtx;
113
114
  declare const index_GlobalInspectorEvent: typeof GlobalInspectorEvent;
114
115
  declare const index_GlobalInspectorHook: typeof GlobalInspectorHook;
@@ -139,6 +140,7 @@ declare const index_NodeOptions: typeof NodeOptions;
139
140
  declare const index_NodeSink: typeof NodeSink;
140
141
  declare const index_NodeStatus: typeof NodeStatus;
141
142
  declare const index_NodeTransportOptions: typeof NodeTransportOptions;
143
+ declare const index_NodeValues: typeof NodeValues;
142
144
  declare const index_NodeVersionInfo: typeof NodeVersionInfo;
143
145
  declare const index_OnMessageHandler: typeof OnMessageHandler;
144
146
  declare const index_OnSubscribeHandler: typeof OnSubscribeHandler;
@@ -173,9 +175,11 @@ declare const index_createVersioning: typeof createVersioning;
173
175
  declare const index_defaultConfig: typeof defaultConfig;
174
176
  declare const index_defaultHash: typeof defaultHash;
175
177
  declare const index_derived: typeof derived;
178
+ declare const index_derivedT: typeof derivedT;
176
179
  declare const index_downWithBatch: typeof downWithBatch;
177
180
  declare const index_dynamicNode: typeof dynamicNode;
178
181
  declare const index_effect: typeof effect;
182
+ declare const index_effectT: typeof effectT;
179
183
  declare const index_factoryTag: typeof factoryTag;
180
184
  declare const index_isBatching: typeof isBatching;
181
185
  declare const index_isV1: typeof isV1;
@@ -192,7 +196,7 @@ declare const index_resolveDescribeFields: typeof resolveDescribeFields;
192
196
  declare const index_state: typeof state;
193
197
  declare const index_wallClockNs: typeof wallClockNs;
194
198
  declare namespace index {
195
- export { index_Actor as Actor, index_AutoTrackOptions as AutoTrackOptions, index_COMPLETE as COMPLETE, index_COMPLETE_MSG as COMPLETE_MSG, index_COMPLETE_ONLY_BATCH as COMPLETE_ONLY_BATCH, index_DATA as DATA, index_DEFAULT_ACTOR as DEFAULT_ACTOR, index_DIRTY as DIRTY, index_DIRTY_MSG as DIRTY_MSG, index_DIRTY_ONLY_BATCH as DIRTY_ONLY_BATCH, index_DepRecord as DepRecord, index_DerivedFn as DerivedFn, index_DescribeDetail as DescribeDetail, index_DescribeField as DescribeField, index_DescribeNodeOutput as DescribeNodeOutput, index_DynamicFn as DynamicFn, index_ERROR as ERROR, index_EffectFn as EffectFn, index_FnCtx as FnCtx, index_GlobalInspectorEvent as GlobalInspectorEvent, index_GlobalInspectorHook as GlobalInspectorHook, index_GraphReFlyConfig as GraphReFlyConfig, index_GuardAction as GuardAction, index_GuardDenied as GuardDenied, index_GuardDeniedDetails as GuardDeniedDetails, index_HashFn as HashFn, index_INVALIDATE as INVALIDATE, index_INVALIDATE_MSG as INVALIDATE_MSG, index_INVALIDATE_ONLY_BATCH as INVALIDATE_ONLY_BATCH, index_Message as Message, index_MessageContext as MessageContext, index_MessageTypeRegistration as MessageTypeRegistration, index_MessageTypeRegistrationInput as MessageTypeRegistrationInput, index_Messages as Messages, index_Node as Node, index_NodeActions as NodeActions, index_NodeCtx as NodeCtx, index_NodeDescribeKind as NodeDescribeKind, index_NodeFn as NodeFn, index_NodeFnCleanup as NodeFnCleanup, index_NodeGuard as NodeGuard, index_NodeImpl as NodeImpl, index_NodeInspectorHook as NodeInspectorHook, index_NodeInspectorHookEvent as NodeInspectorHookEvent, index_NodeOptions as NodeOptions, index_NodeSink as NodeSink, index_NodeStatus as NodeStatus, index_NodeTransportOptions as NodeTransportOptions, index_NodeVersionInfo as NodeVersionInfo, index_OnMessageHandler as OnMessageHandler, index_OnSubscribeHandler as OnSubscribeHandler, index_PAUSE as PAUSE, index_PipeOperator as PipeOperator, index_PolicyAllow as PolicyAllow, index_PolicyDeny as PolicyDeny, index_PolicyRuleData as PolicyRuleData, index_ProducerFn as ProducerFn, index_RESOLVED as RESOLVED, index_RESOLVED_MSG as RESOLVED_MSG, index_RESOLVED_ONLY_BATCH as RESOLVED_ONLY_BATCH, index_RESUME as RESUME, index_RigorRecorder as RigorRecorder, index_START as START, index_START_MSG as START_MSG, index_SubscribeContext as SubscribeContext, index_TEARDOWN as TEARDOWN, index_TEARDOWN_MSG as TEARDOWN_MSG, index_TEARDOWN_ONLY_BATCH as TEARDOWN_ONLY_BATCH, index_TrackFn as TrackFn, index_V0 as V0, index_V1 as V1, index_VersioningLevel as VersioningLevel, index_VersioningOptions as VersioningOptions, index_accessHintForGuard as accessHintForGuard, index_advanceVersion as advanceVersion, index_autoTrackNode as autoTrackNode, index_batch as batch, index_configure as configure, index_createVersioning as createVersioning, index_defaultConfig as defaultConfig, index_defaultHash as defaultHash, index_derived as derived, index_downWithBatch as downWithBatch, index_dynamicNode as dynamicNode, index_effect as effect, index_factoryTag as factoryTag, index_isBatching as isBatching, index_isV1 as isV1, index_monotonicNs as monotonicNs, index_node as node, index_normalizeActor as normalizeActor, index_pipe as pipe, index_placeholderArgs as placeholderArgs, index_policy as policy, index_policyFromRules as policyFromRules, index_producer as producer, index_registerBuiltins as registerBuiltins, index_resolveDescribeFields as resolveDescribeFields, index_state as state, index_wallClockNs as wallClockNs };
199
+ export { index_Actor as Actor, index_AutoTrackOptions as AutoTrackOptions, index_COMPLETE as COMPLETE, index_COMPLETE_MSG as COMPLETE_MSG, index_COMPLETE_ONLY_BATCH as COMPLETE_ONLY_BATCH, index_DATA as DATA, index_DEFAULT_ACTOR as DEFAULT_ACTOR, index_DIRTY as DIRTY, index_DIRTY_MSG as DIRTY_MSG, index_DIRTY_ONLY_BATCH as DIRTY_ONLY_BATCH, index_DepRecord as DepRecord, index_DerivedFn as DerivedFn, index_DerivedTFn as DerivedTFn, index_DescribeDetail as DescribeDetail, index_DescribeField as DescribeField, index_DescribeNodeOutput as DescribeNodeOutput, index_DynamicFn as DynamicFn, index_ERROR as ERROR, index_EffectFn as EffectFn, index_EffectTFn as EffectTFn, index_FnCtx as FnCtx, index_GlobalInspectorEvent as GlobalInspectorEvent, index_GlobalInspectorHook as GlobalInspectorHook, index_GraphReFlyConfig as GraphReFlyConfig, index_GuardAction as GuardAction, index_GuardDenied as GuardDenied, index_GuardDeniedDetails as GuardDeniedDetails, index_HashFn as HashFn, index_INVALIDATE as INVALIDATE, index_INVALIDATE_MSG as INVALIDATE_MSG, index_INVALIDATE_ONLY_BATCH as INVALIDATE_ONLY_BATCH, index_Message as Message, index_MessageContext as MessageContext, index_MessageTypeRegistration as MessageTypeRegistration, index_MessageTypeRegistrationInput as MessageTypeRegistrationInput, index_Messages as Messages, index_Node as Node, index_NodeActions as NodeActions, index_NodeCtx as NodeCtx, index_NodeDescribeKind as NodeDescribeKind, index_NodeFn as NodeFn, index_NodeFnCleanup as NodeFnCleanup, index_NodeGuard as NodeGuard, index_NodeImpl as NodeImpl, index_NodeInspectorHook as NodeInspectorHook, index_NodeInspectorHookEvent as NodeInspectorHookEvent, index_NodeOptions as NodeOptions, index_NodeSink as NodeSink, index_NodeStatus as NodeStatus, index_NodeTransportOptions as NodeTransportOptions, index_NodeValues as NodeValues, index_NodeVersionInfo as NodeVersionInfo, index_OnMessageHandler as OnMessageHandler, index_OnSubscribeHandler as OnSubscribeHandler, index_PAUSE as PAUSE, index_PipeOperator as PipeOperator, index_PolicyAllow as PolicyAllow, index_PolicyDeny as PolicyDeny, index_PolicyRuleData as PolicyRuleData, index_ProducerFn as ProducerFn, index_RESOLVED as RESOLVED, index_RESOLVED_MSG as RESOLVED_MSG, index_RESOLVED_ONLY_BATCH as RESOLVED_ONLY_BATCH, index_RESUME as RESUME, index_RigorRecorder as RigorRecorder, index_START as START, index_START_MSG as START_MSG, index_SubscribeContext as SubscribeContext, index_TEARDOWN as TEARDOWN, index_TEARDOWN_MSG as TEARDOWN_MSG, index_TEARDOWN_ONLY_BATCH as TEARDOWN_ONLY_BATCH, index_TrackFn as TrackFn, index_V0 as V0, index_V1 as V1, index_VersioningLevel as VersioningLevel, index_VersioningOptions as VersioningOptions, index_accessHintForGuard as accessHintForGuard, index_advanceVersion as advanceVersion, index_autoTrackNode as autoTrackNode, index_batch as batch, index_configure as configure, index_createVersioning as createVersioning, index_defaultConfig as defaultConfig, index_defaultHash as defaultHash, index_derived as derived, index_derivedT as derivedT, index_downWithBatch as downWithBatch, index_dynamicNode as dynamicNode, index_effect as effect, index_effectT as effectT, index_factoryTag as factoryTag, index_isBatching as isBatching, index_isV1 as isV1, index_monotonicNs as monotonicNs, index_node as node, index_normalizeActor as normalizeActor, index_pipe as pipe, index_placeholderArgs as placeholderArgs, index_policy as policy, index_policyFromRules as policyFromRules, index_producer as producer, index_registerBuiltins as registerBuiltins, index_resolveDescribeFields as resolveDescribeFields, index_state as state, index_wallClockNs as wallClockNs };
196
200
  }
197
201
 
198
202
  export { isBatching as a, batch as b, downWithBatch as d, index as i, monotonicNs as m, wallClockNs as w };
@@ -1,8 +1,8 @@
1
- import { N as Node } from './node-ClS5yC-B.js';
2
- import { B as BaseAuditRecord } from './index-CZQXo5tH.js';
3
- import { a as ReactiveLogBundle } from './reactive-log-BezYsbA_.js';
1
+ import { N as Node } from './node-kK3CvTrR.js';
2
+ import { B as BaseAuditRecord } from './index-Yq60JP3s.js';
3
+ import { a as ReactiveLogBundle } from './reactive-log-BKALbfal.js';
4
4
  import { AppendLogStorageTier } from './extra/storage-tiers.js';
5
- import { a as GraphOptions, G as Graph } from './graph-7VguS7a4.js';
5
+ import { a as GraphOptions, G as Graph } from './graph-D9LFnda9.js';
6
6
 
7
7
  /**
8
8
  * CQRS patterns (roadmap §4.5).
@@ -1,6 +1,5 @@
1
- import { M as Messages, A as Actor, C as COMPLETE, f as COMPLETE_MSG, g as COMPLETE_ONLY_BATCH, D as DATA, h as DEFAULT_ACTOR, i as DIRTY, j as DIRTY_MSG, k as DIRTY_ONLY_BATCH, l as DepRecord, E as ERROR, F as FnCtx, G as GlobalInspectorEvent, m as GlobalInspectorHook, n as GraphReFlyConfig, o as GuardAction, p as GuardDenied, q as GuardDeniedDetails, H as HashFn, I as INVALIDATE, r as INVALIDATE_MSG, s as INVALIDATE_ONLY_BATCH, t as Message, u as MessageContext, v as MessageTypeRegistration, w as MessageTypeRegistrationInput, N as Node, c as NodeActions, x as NodeCtx, e as NodeDescribeKind, y as NodeFn, d as NodeFnCleanup, b as NodeGuard, z as NodeImpl, B as NodeInspectorHook, J as NodeInspectorHookEvent, a as NodeOptions, K as NodeSink, L as NodeStatus, O as NodeTransportOptions, P as NodeVersionInfo, Q as OnMessageHandler, R as OnSubscribeHandler, S as PAUSE, T as PolicyAllow, U as PolicyDeny, W as PolicyRuleData, X as RESOLVED, Y as RESOLVED_MSG, Z as RESOLVED_ONLY_BATCH, _ as RESUME, $ as RigorRecorder, a0 as START, a1 as START_MSG, a2 as SubscribeContext, a3 as TEARDOWN, a4 as TEARDOWN_MSG, a5 as TEARDOWN_ONLY_BATCH, a6 as V0, a7 as V1, V as VersioningLevel, a8 as VersioningOptions, a9 as accessHintForGuard, aa as advanceVersion, ab as configure, ac as createVersioning, ad as defaultConfig, ae as defaultHash, af as isV1, ag as node, ah as normalizeActor, ai as policy, aj as policyFromRules, ak as registerBuiltins } from './node-ClS5yC-B.cjs';
2
- import { a as DescribeDetail, b as DescribeField, D as DescribeNodeOutput, f as factoryTag, p as placeholderArgs, r as resolveDescribeFields } from './meta-vE8bxW1E.cjs';
3
- import { A as AutoTrackOptions, D as DerivedFn, a as DynamicFn, E as EffectFn, P as PipeOperator, b as ProducerFn, T as TrackFn, c as autoTrackNode, d as derived, e as dynamicNode, f as effect, p as pipe, g as producer, s as state } from './sugar-DyVGtczU.cjs';
1
+ import { M as Messages, A as Actor, C as COMPLETE, d as COMPLETE_MSG, e as COMPLETE_ONLY_BATCH, D as DATA, f as DEFAULT_ACTOR, g as DIRTY, h as DIRTY_MSG, i as DIRTY_ONLY_BATCH, j as DepRecord, E as ERROR, F as FnCtx, G as GlobalInspectorEvent, k as GlobalInspectorHook, l as GraphReFlyConfig, m as GuardAction, n as GuardDenied, o as GuardDeniedDetails, H as HashFn, I as INVALIDATE, p as INVALIDATE_MSG, q as INVALIDATE_ONLY_BATCH, r as Message, s as MessageContext, t as MessageTypeRegistration, u as MessageTypeRegistrationInput, N as Node, c as NodeActions, v as NodeCtx, w as NodeDescribeKind, x as NodeFn, y as NodeFnCleanup, b as NodeGuard, z as NodeImpl, B as NodeInspectorHook, J as NodeInspectorHookEvent, a as NodeOptions, K as NodeSink, L as NodeStatus, O as NodeTransportOptions, P as NodeVersionInfo, Q as OnMessageHandler, R as OnSubscribeHandler, S as PAUSE, T as PolicyAllow, U as PolicyDeny, W as PolicyRuleData, X as RESOLVED, Y as RESOLVED_MSG, Z as RESOLVED_ONLY_BATCH, _ as RESUME, $ as RigorRecorder, a0 as START, a1 as START_MSG, a2 as SubscribeContext, a3 as TEARDOWN, a4 as TEARDOWN_MSG, a5 as TEARDOWN_ONLY_BATCH, a6 as V0, a7 as V1, V as VersioningLevel, a8 as VersioningOptions, a9 as accessHintForGuard, aa as advanceVersion, ab as configure, ac as createVersioning, ad as defaultConfig, ae as defaultHash, af as isV1, ag as node, ah as normalizeActor, ai as policy, aj as policyFromRules, ak as registerBuiltins } from './node-kK3CvTrR.cjs';
2
+ import { A as AutoTrackOptions, a as DerivedFn, b as DerivedTFn, c as DescribeDetail, d as DescribeField, D as DescribeNodeOutput, e as DynamicFn, E as EffectFn, f as EffectTFn, N as NodeValues, P as PipeOperator, g as ProducerFn, T as TrackFn, h as autoTrackNode, i as derived, j as derivedT, k as dynamicNode, l as effect, m as effectT, n as factoryTag, p as pipe, o as placeholderArgs, q as producer, r as resolveDescribeFields, s as state } from './sugar-DQjFmVqb.cjs';
4
3
 
5
4
  /**
6
5
  * Batch deferral for tier-3+ messages, plus per-node emit coalescing inside
@@ -103,12 +102,14 @@ declare const index_DIRTY_MSG: typeof DIRTY_MSG;
103
102
  declare const index_DIRTY_ONLY_BATCH: typeof DIRTY_ONLY_BATCH;
104
103
  declare const index_DepRecord: typeof DepRecord;
105
104
  declare const index_DerivedFn: typeof DerivedFn;
105
+ declare const index_DerivedTFn: typeof DerivedTFn;
106
106
  declare const index_DescribeDetail: typeof DescribeDetail;
107
107
  declare const index_DescribeField: typeof DescribeField;
108
108
  declare const index_DescribeNodeOutput: typeof DescribeNodeOutput;
109
109
  declare const index_DynamicFn: typeof DynamicFn;
110
110
  declare const index_ERROR: typeof ERROR;
111
111
  declare const index_EffectFn: typeof EffectFn;
112
+ declare const index_EffectTFn: typeof EffectTFn;
112
113
  declare const index_FnCtx: typeof FnCtx;
113
114
  declare const index_GlobalInspectorEvent: typeof GlobalInspectorEvent;
114
115
  declare const index_GlobalInspectorHook: typeof GlobalInspectorHook;
@@ -139,6 +140,7 @@ declare const index_NodeOptions: typeof NodeOptions;
139
140
  declare const index_NodeSink: typeof NodeSink;
140
141
  declare const index_NodeStatus: typeof NodeStatus;
141
142
  declare const index_NodeTransportOptions: typeof NodeTransportOptions;
143
+ declare const index_NodeValues: typeof NodeValues;
142
144
  declare const index_NodeVersionInfo: typeof NodeVersionInfo;
143
145
  declare const index_OnMessageHandler: typeof OnMessageHandler;
144
146
  declare const index_OnSubscribeHandler: typeof OnSubscribeHandler;
@@ -173,9 +175,11 @@ declare const index_createVersioning: typeof createVersioning;
173
175
  declare const index_defaultConfig: typeof defaultConfig;
174
176
  declare const index_defaultHash: typeof defaultHash;
175
177
  declare const index_derived: typeof derived;
178
+ declare const index_derivedT: typeof derivedT;
176
179
  declare const index_downWithBatch: typeof downWithBatch;
177
180
  declare const index_dynamicNode: typeof dynamicNode;
178
181
  declare const index_effect: typeof effect;
182
+ declare const index_effectT: typeof effectT;
179
183
  declare const index_factoryTag: typeof factoryTag;
180
184
  declare const index_isBatching: typeof isBatching;
181
185
  declare const index_isV1: typeof isV1;
@@ -192,7 +196,7 @@ declare const index_resolveDescribeFields: typeof resolveDescribeFields;
192
196
  declare const index_state: typeof state;
193
197
  declare const index_wallClockNs: typeof wallClockNs;
194
198
  declare namespace index {
195
- export { index_Actor as Actor, index_AutoTrackOptions as AutoTrackOptions, index_COMPLETE as COMPLETE, index_COMPLETE_MSG as COMPLETE_MSG, index_COMPLETE_ONLY_BATCH as COMPLETE_ONLY_BATCH, index_DATA as DATA, index_DEFAULT_ACTOR as DEFAULT_ACTOR, index_DIRTY as DIRTY, index_DIRTY_MSG as DIRTY_MSG, index_DIRTY_ONLY_BATCH as DIRTY_ONLY_BATCH, index_DepRecord as DepRecord, index_DerivedFn as DerivedFn, index_DescribeDetail as DescribeDetail, index_DescribeField as DescribeField, index_DescribeNodeOutput as DescribeNodeOutput, index_DynamicFn as DynamicFn, index_ERROR as ERROR, index_EffectFn as EffectFn, index_FnCtx as FnCtx, index_GlobalInspectorEvent as GlobalInspectorEvent, index_GlobalInspectorHook as GlobalInspectorHook, index_GraphReFlyConfig as GraphReFlyConfig, index_GuardAction as GuardAction, index_GuardDenied as GuardDenied, index_GuardDeniedDetails as GuardDeniedDetails, index_HashFn as HashFn, index_INVALIDATE as INVALIDATE, index_INVALIDATE_MSG as INVALIDATE_MSG, index_INVALIDATE_ONLY_BATCH as INVALIDATE_ONLY_BATCH, index_Message as Message, index_MessageContext as MessageContext, index_MessageTypeRegistration as MessageTypeRegistration, index_MessageTypeRegistrationInput as MessageTypeRegistrationInput, index_Messages as Messages, index_Node as Node, index_NodeActions as NodeActions, index_NodeCtx as NodeCtx, index_NodeDescribeKind as NodeDescribeKind, index_NodeFn as NodeFn, index_NodeFnCleanup as NodeFnCleanup, index_NodeGuard as NodeGuard, index_NodeImpl as NodeImpl, index_NodeInspectorHook as NodeInspectorHook, index_NodeInspectorHookEvent as NodeInspectorHookEvent, index_NodeOptions as NodeOptions, index_NodeSink as NodeSink, index_NodeStatus as NodeStatus, index_NodeTransportOptions as NodeTransportOptions, index_NodeVersionInfo as NodeVersionInfo, index_OnMessageHandler as OnMessageHandler, index_OnSubscribeHandler as OnSubscribeHandler, index_PAUSE as PAUSE, index_PipeOperator as PipeOperator, index_PolicyAllow as PolicyAllow, index_PolicyDeny as PolicyDeny, index_PolicyRuleData as PolicyRuleData, index_ProducerFn as ProducerFn, index_RESOLVED as RESOLVED, index_RESOLVED_MSG as RESOLVED_MSG, index_RESOLVED_ONLY_BATCH as RESOLVED_ONLY_BATCH, index_RESUME as RESUME, index_RigorRecorder as RigorRecorder, index_START as START, index_START_MSG as START_MSG, index_SubscribeContext as SubscribeContext, index_TEARDOWN as TEARDOWN, index_TEARDOWN_MSG as TEARDOWN_MSG, index_TEARDOWN_ONLY_BATCH as TEARDOWN_ONLY_BATCH, index_TrackFn as TrackFn, index_V0 as V0, index_V1 as V1, index_VersioningLevel as VersioningLevel, index_VersioningOptions as VersioningOptions, index_accessHintForGuard as accessHintForGuard, index_advanceVersion as advanceVersion, index_autoTrackNode as autoTrackNode, index_batch as batch, index_configure as configure, index_createVersioning as createVersioning, index_defaultConfig as defaultConfig, index_defaultHash as defaultHash, index_derived as derived, index_downWithBatch as downWithBatch, index_dynamicNode as dynamicNode, index_effect as effect, index_factoryTag as factoryTag, index_isBatching as isBatching, index_isV1 as isV1, index_monotonicNs as monotonicNs, index_node as node, index_normalizeActor as normalizeActor, index_pipe as pipe, index_placeholderArgs as placeholderArgs, index_policy as policy, index_policyFromRules as policyFromRules, index_producer as producer, index_registerBuiltins as registerBuiltins, index_resolveDescribeFields as resolveDescribeFields, index_state as state, index_wallClockNs as wallClockNs };
199
+ export { index_Actor as Actor, index_AutoTrackOptions as AutoTrackOptions, index_COMPLETE as COMPLETE, index_COMPLETE_MSG as COMPLETE_MSG, index_COMPLETE_ONLY_BATCH as COMPLETE_ONLY_BATCH, index_DATA as DATA, index_DEFAULT_ACTOR as DEFAULT_ACTOR, index_DIRTY as DIRTY, index_DIRTY_MSG as DIRTY_MSG, index_DIRTY_ONLY_BATCH as DIRTY_ONLY_BATCH, index_DepRecord as DepRecord, index_DerivedFn as DerivedFn, index_DerivedTFn as DerivedTFn, index_DescribeDetail as DescribeDetail, index_DescribeField as DescribeField, index_DescribeNodeOutput as DescribeNodeOutput, index_DynamicFn as DynamicFn, index_ERROR as ERROR, index_EffectFn as EffectFn, index_EffectTFn as EffectTFn, index_FnCtx as FnCtx, index_GlobalInspectorEvent as GlobalInspectorEvent, index_GlobalInspectorHook as GlobalInspectorHook, index_GraphReFlyConfig as GraphReFlyConfig, index_GuardAction as GuardAction, index_GuardDenied as GuardDenied, index_GuardDeniedDetails as GuardDeniedDetails, index_HashFn as HashFn, index_INVALIDATE as INVALIDATE, index_INVALIDATE_MSG as INVALIDATE_MSG, index_INVALIDATE_ONLY_BATCH as INVALIDATE_ONLY_BATCH, index_Message as Message, index_MessageContext as MessageContext, index_MessageTypeRegistration as MessageTypeRegistration, index_MessageTypeRegistrationInput as MessageTypeRegistrationInput, index_Messages as Messages, index_Node as Node, index_NodeActions as NodeActions, index_NodeCtx as NodeCtx, index_NodeDescribeKind as NodeDescribeKind, index_NodeFn as NodeFn, index_NodeFnCleanup as NodeFnCleanup, index_NodeGuard as NodeGuard, index_NodeImpl as NodeImpl, index_NodeInspectorHook as NodeInspectorHook, index_NodeInspectorHookEvent as NodeInspectorHookEvent, index_NodeOptions as NodeOptions, index_NodeSink as NodeSink, index_NodeStatus as NodeStatus, index_NodeTransportOptions as NodeTransportOptions, index_NodeValues as NodeValues, index_NodeVersionInfo as NodeVersionInfo, index_OnMessageHandler as OnMessageHandler, index_OnSubscribeHandler as OnSubscribeHandler, index_PAUSE as PAUSE, index_PipeOperator as PipeOperator, index_PolicyAllow as PolicyAllow, index_PolicyDeny as PolicyDeny, index_PolicyRuleData as PolicyRuleData, index_ProducerFn as ProducerFn, index_RESOLVED as RESOLVED, index_RESOLVED_MSG as RESOLVED_MSG, index_RESOLVED_ONLY_BATCH as RESOLVED_ONLY_BATCH, index_RESUME as RESUME, index_RigorRecorder as RigorRecorder, index_START as START, index_START_MSG as START_MSG, index_SubscribeContext as SubscribeContext, index_TEARDOWN as TEARDOWN, index_TEARDOWN_MSG as TEARDOWN_MSG, index_TEARDOWN_ONLY_BATCH as TEARDOWN_ONLY_BATCH, index_TrackFn as TrackFn, index_V0 as V0, index_V1 as V1, index_VersioningLevel as VersioningLevel, index_VersioningOptions as VersioningOptions, index_accessHintForGuard as accessHintForGuard, index_advanceVersion as advanceVersion, index_autoTrackNode as autoTrackNode, index_batch as batch, index_configure as configure, index_createVersioning as createVersioning, index_defaultConfig as defaultConfig, index_defaultHash as defaultHash, index_derived as derived, index_derivedT as derivedT, index_downWithBatch as downWithBatch, index_dynamicNode as dynamicNode, index_effect as effect, index_effectT as effectT, index_factoryTag as factoryTag, index_isBatching as isBatching, index_isV1 as isV1, index_monotonicNs as monotonicNs, index_node as node, index_normalizeActor as normalizeActor, index_pipe as pipe, index_placeholderArgs as placeholderArgs, index_policy as policy, index_policyFromRules as policyFromRules, index_producer as producer, index_registerBuiltins as registerBuiltins, index_resolveDescribeFields as resolveDescribeFields, index_state as state, index_wallClockNs as wallClockNs };
196
200
  }
197
201
 
198
202
  export { isBatching as a, batch as b, downWithBatch as d, index as i, monotonicNs as m, wallClockNs as w };
@@ -1,9 +1,9 @@
1
- import { T as ToObservableOptions, t as toObservable } from './observable-DLGPPtb8.cjs';
1
+ import { T as ToObservableOptions, t as toObservable } from './observable-e3eiPPFy.cjs';
2
2
  import { OnModuleInit, OnModuleDestroy, ExecutionContext, CanActivate, DynamicModule } from '@nestjs/common';
3
3
  import { ModuleRef } from '@nestjs/core';
4
- import { G as Graph, r as GraphPersistSnapshot } from './graph-C4SHb3Ly.cjs';
5
- import { A as Actor } from './node-ClS5yC-B.cjs';
6
- import { c as CqrsOptions, b as CqrsGraph, a as CqrsEvent } from './index-COD1kVoS.cjs';
4
+ import { G as Graph, r as GraphPersistSnapshot } from './graph-CWvEUQAq.cjs';
5
+ import { A as Actor } from './node-kK3CvTrR.cjs';
6
+ import { c as CqrsOptions, b as CqrsGraph, a as CqrsEvent } from './index-B-_tFaqV.cjs';
7
7
  import { AppendLogStorageTier } from './extra/storage-tiers.cjs';
8
8
 
9
9
  /** Class constructor key for decorator registries and Nest `ModuleRef.get()`. */
@@ -1,16 +1,16 @@
1
- import { a as NodeOptions, N as Node, t as Message, M as Messages } from './node-ClS5yC-B.cjs';
2
- import { i as GraphCheckpointRecord, a as GraphOptions, G as Graph, D as DescribeChangeset, d as DescribeEvent, M as Meta, Q as topologyDiff } from './graph-C4SHb3Ly.cjs';
3
- import { a as BackoffStrategy, B as BackoffPreset, t as retry, j as WithStatusBundle, C as CircuitBreaker, b as CircuitBreakerOptions, c as CircuitOpenError, d as CircuitState, E as ExponentialBackoffOptions, F as FallbackInput, J as JitterMode, N as NS_PER_MS, e as NS_PER_SEC, R as RateLimiterOptions, f as RateLimiterOverflowError, g as RateLimiterOverflowPolicy, h as RetryOptions, S as StatusValue, T as TimeoutError, i as TokenBucket, W as WithBreakerBundle, k as circuitBreaker, l as constant, m as decorrelatedJitter, n as exponential, o as fallback, p as fibonacci, q as linear, r as rateLimiter, s as resolveBackoffPreset, u as timeout, v as tokenBucket, w as withBreaker, x as withMaxAttempts, y as withStatus } from './index-BoLv_OfD.cjs';
1
+ import { a as NodeOptions, N as Node, r as Message, M as Messages } from './node-kK3CvTrR.cjs';
2
+ import { i as GraphCheckpointRecord, a as GraphOptions, G as Graph, D as DescribeChangeset, d as DescribeEvent, M as Meta, Q as topologyDiff } from './graph-CWvEUQAq.cjs';
3
+ import { a as BackoffStrategy, B as BackoffPreset, t as retry, j as WithStatusBundle, C as CircuitBreaker, b as CircuitBreakerOptions, c as CircuitOpenError, d as CircuitState, E as ExponentialBackoffOptions, F as FallbackInput, J as JitterMode, N as NS_PER_MS, e as NS_PER_SEC, R as RateLimiterOptions, f as RateLimiterOverflowError, g as RateLimiterOverflowPolicy, h as RetryOptions, S as StatusValue, T as TimeoutError, i as TokenBucket, W as WithBreakerBundle, k as circuitBreaker, l as constant, m as decorrelatedJitter, n as exponential, o as fallback, p as fibonacci, q as linear, r as rateLimiter, s as resolveBackoffPreset, u as timeout, v as tokenBucket, w as withBreaker, x as withMaxAttempts, y as withStatus } from './index-C1T3d7V-.cjs';
4
4
  import { AsyncSourceOpts, NodeInput, EventTargetLike, FromCronOptions, ReactiveCounterBundle, awaitSettled, cached, defer, empty, escapeRegexChar, firstValueFrom, firstWhere, forEach, fromAny, fromAsyncIter, fromCron, fromEvent, fromIter, fromPromise, fromRaf, fromTimer, globToRegExp, keepalive, matchesAnyPattern, never, nodeSignal, of, reactiveCounter, replay, share, shareReplay, throwError, toArray } from './extra/sources.cjs';
5
5
  import { SnapshotStorageTier, KvStorageTier, AppendCursor, AppendLoadResult, AppendLogStorageOptions, AppendLogStorageTier, BaseStorageTier, Codec, KvStorageOptions, SnapshotStorageOptions, StorageBackend, appendLogStorage, dictKv, dictSnapshot, jsonCodec, jsonCodecFor, kvStorage, memoryAppendLog, memoryBackend, memoryKv, memorySnapshot, snapshotStorage } from './extra/storage-tiers.cjs';
6
- import { D as DistillBundle, a as DistillOptions, E as Extraction, V as VerifiableBundle, b as VerifiableOptions, c as VerifyValue, d as decay, e as distill, v as verifiable } from './decay-2ZukgQ4o.cjs';
6
+ import { D as DistillBundle, a as DistillOptions, E as Extraction, V as VerifiableBundle, b as VerifiableOptions, c as VerifyValue, d as decay, e as distill, v as verifiable } from './decay-CFlLvXUT.cjs';
7
7
  import { C as ContentAddressedMissError, a as ContentAddressedMode, b as ContentAddressedStorage, c as ContentAddressedStorageOptions, d as canonicalJson, e as contentAddressedStorage } from './content-addressed-storage-4-ST1tYk.cjs';
8
- import { A as AuditLogOpts, B as BaseAuditRecord, D as DEFAULT_AUDIT_GUARD, F as FailureMeta, L as LightMutationOpts, M as MutationOpts, S as SuccessMeta, W as WrapMutationOpts, a as appendAudit, b as bumpCursor, c as createAuditLog, l as lightMutation, r as registerCursor, d as registerCursorMap, t as tryIncrementBounded, w as wrapMutation } from './index-C9pjcz3l.cjs';
9
- import { T as ToObservableOptions, t as toObservable } from './observable-DLGPPtb8.cjs';
8
+ import { A as AuditLogOpts, B as BaseAuditRecord, D as DEFAULT_AUDIT_GUARD, F as FailureMeta, L as LightMutationOpts, M as MutationOpts, S as SuccessMeta, W as WrapMutationOpts, a as appendAudit, b as bumpCursor, c as createAuditLog, l as lightMutation, r as registerCursor, d as registerCursorMap, t as tryIncrementBounded, w as wrapMutation } from './index-D0aciIex.cjs';
9
+ import { T as ToObservableOptions, t as toObservable } from './observable-e3eiPPFy.cjs';
10
10
  import { MergeMapOptions, TapObserver, ThrottleOptions, audit, buffer, bufferCount, bufferTime, catchError, combine, combineLatest, concat, concatMap, debounce, debounceTime, delay, distinctUntilChanged, elementAt, exhaustMap, filter, find, first, flatMap, interval, last, map, merge, mergeMap, onFirstData, pairwise, pausable, race, reduce, repeat, rescue, sample, scan, skip, switchMap, take, takeUntil, takeWhile, tap, tapFirst, throttle, throttleTime, valve, window, windowCount, windowTime, withLatestFrom, zip } from './extra/operators.cjs';
11
11
  import { IndexBackend, IndexRow, ListBackend, NativeIndexBackend, NativeListBackend, ReactiveIndexBundle, ReactiveIndexOptions, ReactiveListBundle, ReactiveListOptions, UpsertOptions, reactiveIndex, reactiveList } from './extra/reactive.cjs';
12
- import { L as LogBackend, M as MergedReactiveLog, N as NativeLogBackend, a as ReactiveLogBundle, R as ReactiveLogOptions, V as ViewSpec, m as mergeReactiveLogs, r as reactiveLog } from './reactive-log-B00laMSQ.cjs';
13
- import { M as MapBackend, N as NativeMapBackend, a as NativeMapBackendOptions, R as ReactiveMapBundle, b as ReactiveMapOptions, c as ReactiveMapRetention, r as reactiveMap } from './reactive-map-48mnZ-nu.cjs';
12
+ import { L as LogBackend, M as MergedReactiveLog, N as NativeLogBackend, a as ReactiveLogBundle, R as ReactiveLogOptions, V as ViewSpec, m as mergeReactiveLogs, r as reactiveLog } from './reactive-log-DIGdYqQ6.cjs';
13
+ import { M as MapBackend, N as NativeMapBackend, a as NativeMapBackendOptions, R as ReactiveMapBundle, b as ReactiveMapOptions, c as ReactiveMapRetention, r as reactiveMap } from './reactive-map-CEFGp8TK.cjs';
14
14
  import { StorageHandle, sortJsonValue, stableJsonString } from './extra/storage-core.cjs';
15
15
 
16
16
  /**
@@ -418,15 +418,26 @@ type BudgetGateOptions = Omit<NodeOptions<unknown>, "describeKind" | "name" | "m
418
418
  * compositor level (e.g. annotate via `meta.ai.upstream`, or wrap the gate
419
419
  * in a parent factory that exposes the deps as constructor args).
420
420
  *
421
- * ## Reference equality
422
- *
423
- * The `constraints` array reference and each `BudgetConstraint.check`
424
- * function are captured at construction. The factory does NOT diff
425
- * subsequent `constraints` arrays (there is no subsequent the array is
426
- * static for the gate's lifetime). To swap constraints reactively, build
427
- * the swap at the compositor level above the gate (Architecture-2:
428
- * compositor-only). Identity changes to `constraints` are observed only by
429
- * constructing a new gate.
421
+ * ## Reference equality + Tier 6.5 3.2.5 locked semantics
422
+ *
423
+ * **Constraint VALUES are reactive.** Each `BudgetConstraint.node` is
424
+ * subscribed at activation; per-value changes flip the gate (re-evaluate
425
+ * in the same wave) and trigger PAUSE/RESUME upstream. Per the locked
426
+ * semantic rule for the reactive-options-widening batch (Tier 6.5 3.2.5,
427
+ * 2026-04-29): "constraints array re-evaluated immediately against
428
+ * current source; adding/removing constraints triggers gate
429
+ * re-evaluation in the same wave" — the per-value half is shipped via
430
+ * the existing constraint-Node subscription model.
431
+ *
432
+ * **The constraints ARRAY shape is static.** The factory captures the
433
+ * `constraints` array reference and each `check` function at
434
+ * construction; it does NOT diff subsequent arrays. To add or remove
435
+ * constraints reactively, build the swap at the compositor level (a
436
+ * `switchMap` rebuild over a constraint-shape Node), or construct a new
437
+ * gate. Dynamic constraint-array reactivity is intentionally deferred —
438
+ * the subscription churn (resub on every constraint add/remove) and
439
+ * `latestValues` shape mutation overshoot the budget-gate's
440
+ * fire-and-forget ergonomics.
430
441
  *
431
442
  * @param source - Input node.
432
443
  * @param constraints - Reactive constraint checks. MUST be non-empty.
@@ -1,4 +1,4 @@
1
- import { N as Node } from './node-ClS5yC-B.js';
1
+ import { N as Node } from './node-kK3CvTrR.js';
2
2
 
3
3
  /** Svelte store contract — implements the minimal `subscribe` method. */
4
4
  interface SvelteReadable<T> {
@@ -1,5 +1,5 @@
1
- import { G as Graph } from './graph-C4SHb3Ly.cjs';
2
- import { M as MeasurementAdapter } from './reactive-layout-Dsvob4zD.cjs';
1
+ import { G as Graph } from './graph-CWvEUQAq.cjs';
2
+ import { M as MeasurementAdapter } from './reactive-layout-DgctbqZo.cjs';
3
3
 
4
4
  /**
5
5
  * Three-pane demo shell (roadmap §7.2).
@@ -1,5 +1,5 @@
1
- import { N as Node } from './node-ClS5yC-B.js';
2
- import { a as GraphOptions, G as Graph } from './graph-7VguS7a4.js';
1
+ import { N as Node } from './node-kK3CvTrR.js';
2
+ import { a as GraphOptions, G as Graph } from './graph-D9LFnda9.js';
3
3
 
4
4
  /**
5
5
  * Domain templates (roadmap §8.2).
@@ -1,6 +1,6 @@
1
- import { b as NodeGuard, N as Node } from './node-ClS5yC-B.cjs';
2
- import { G as Graph } from './graph-C4SHb3Ly.cjs';
3
- import { R as ReactiveLogOptions, a as ReactiveLogBundle } from './reactive-log-B00laMSQ.cjs';
1
+ import { b as NodeGuard, N as Node } from './node-kK3CvTrR.cjs';
2
+ import { G as Graph } from './graph-CWvEUQAq.cjs';
3
+ import { R as ReactiveLogOptions, a as ReactiveLogBundle } from './reactive-log-DIGdYqQ6.cjs';
4
4
 
5
5
  /**
6
6
  * Audited-mutation framework (Audit 2 — locked 2026-04-24; promoted to
@@ -1,10 +1,10 @@
1
1
  import { NodeInput } from './extra/sources.js';
2
- import { N as Node } from './node-ClS5yC-B.js';
3
- import { L as LLMAdapter } from './types-DkzUUs0H.js';
4
- import { J as JobEnvelope, a as JobFlowGraph, b as JobQueueGraph } from './index-CAC_rNzm.js';
5
- import { T as TopicGraph, M as MessagingHubGraph } from './index-DBHK8O6H.js';
6
- import { a as GraphOptions, G as Graph, t as GraphProfileResult, s as GraphProfileOptions } from './graph-7VguS7a4.js';
7
- import { G as GateController } from './pipeline-graph-loP57TBA.js';
2
+ import { N as Node } from './node-kK3CvTrR.js';
3
+ import { L as LLMAdapter } from './types-CWFysE9E.js';
4
+ import { J as JobEnvelope, a as JobFlowGraph, b as JobQueueGraph } from './index-DisjX8a-.js';
5
+ import { T as TopicGraph, M as MessagingHubGraph } from './index-nozs3fFC.js';
6
+ import { a as GraphOptions, G as Graph, t as GraphProfileResult, s as GraphProfileOptions } from './graph-D9LFnda9.js';
7
+ import { G as GateController } from './pipeline-graph-Sgj0gCwn.js';
8
8
 
9
9
  /**
10
10
  * Strategy model and priority scoring (roadmap §9.0).
@@ -153,6 +153,16 @@ interface IntakeItem {
153
153
  affectsAreas: string[];
154
154
  affectsEvalTasks?: string[];
155
155
  severity?: Severity;
156
+ /**
157
+ * Stable identity carrier for retry / reingestion paths. Per qa D1
158
+ * (2026-04-29), `relatedTo[0]` MUST be the original tracking key for
159
+ * items derived from a prior publish so the harness's `routeJobIds`
160
+ * map preserves identity across decorated retry summaries. First-time
161
+ * publishes leave this `undefined`; the tracking key falls back to
162
+ * `summary`. Two first-time publishes with identical `summary` collide
163
+ * on key — see `trackingKey` JSDoc in `patterns/_internal/index.ts`
164
+ * for the uniqueness caller contract.
165
+ */
156
166
  relatedTo?: string[];
157
167
  /** Item-carried reingestion count. Incremented on each full-loop reingestion. */
158
168
  $reingestions?: number;
@@ -325,7 +335,9 @@ interface HarnessJobPayload<A = unknown> {
325
335
  * wrapper. `refineExecutor` builds a per-claim `refineLoop`.
326
336
  * `actuatorExecutor` runs a side-effecting `apply(item, signal)`.
327
337
  */
328
- type HarnessExecutor<A = unknown> = (job: JobEnvelope<HarnessJobPayload<A>>) => NodeInput<HarnessJobPayload<A>>;
338
+ type HarnessExecutor<A = unknown> = (job: JobEnvelope<HarnessJobPayload<A>>, opts?: {
339
+ signal: AbortSignal;
340
+ }) => NodeInput<HarnessJobPayload<A>>;
329
341
  /**
330
342
  * Pluggable VERIFY work fn — receives a {@link JobEnvelope} whose payload
331
343
  * has `item` + `execution` populated, returns a {@link NodeInput} that
@@ -342,7 +354,9 @@ type HarnessExecutor<A = unknown> = (job: JobEnvelope<HarnessJobPayload<A>>) =>
342
354
  * verified: false, findings: [...], errorClass: "structural" }`) so the
343
355
  * dispatch effect can route the item rather than silently drop it.
344
356
  */
345
- type HarnessVerifier<A = unknown> = (job: JobEnvelope<HarnessJobPayload<A>>) => NodeInput<HarnessJobPayload<A>>;
357
+ type HarnessVerifier<A = unknown> = (job: JobEnvelope<HarnessJobPayload<A>>, opts?: {
358
+ signal: AbortSignal;
359
+ }) => NodeInput<HarnessJobPayload<A>>;
346
360
  /** Triage prompt callable shape — pair of `[intake item, strategy snapshot]`. */
347
361
  type TriagePromptFn = (pair: readonly [IntakeItem, StrategySnapshot]) => string;
348
362
  /** Execute prompt callable shape. */
@@ -1,9 +1,9 @@
1
- import { N as Node } from './node-ClS5yC-B.cjs';
2
- import { B as BaseAuditRecord } from './index-C9pjcz3l.cjs';
3
- import { a as ReactiveLogBundle } from './reactive-log-B00laMSQ.cjs';
1
+ import { N as Node } from './node-kK3CvTrR.cjs';
2
+ import { B as BaseAuditRecord } from './index-D0aciIex.cjs';
3
+ import { a as ReactiveLogBundle } from './reactive-log-DIGdYqQ6.cjs';
4
4
  import { NodeInput } from './extra/sources.cjs';
5
5
  import { AppendLogStorageTier } from './extra/storage-tiers.cjs';
6
- import { G as Graph, a as GraphOptions } from './graph-C4SHb3Ly.cjs';
6
+ import { G as Graph, a as GraphOptions } from './graph-CWvEUQAq.cjs';
7
7
 
8
8
  /**
9
9
  * Job queue patterns (roadmap §4.2).
@@ -97,13 +97,30 @@ declare class JobQueueGraph<T> extends Graph {
97
97
  }): () => void;
98
98
  }
99
99
  /**
100
- * Work function for a job flow stage. Receives the full job envelope,
101
- * returns a `NodeInput<T>` raw value (sync), Promise (async), or Node
102
- * (composed pipeline). `fromAny` coerces any of these shapes.
100
+ * Work function for a job flow stage. Receives the full job envelope and
101
+ * an optional per-claim options object carrying an `AbortSignal`; returns
102
+ * a `NodeInput<T>` — raw value (sync), Promise (async), or Node (composed
103
+ * pipeline). `fromAny` coerces any of these shapes.
103
104
  *
104
105
  * On error / rejection: the stage nacks the job (no requeue by default).
106
+ *
107
+ * **Per-claim signal (Tier 6.5 2.5b, 2026-04-29).** The pump mints an
108
+ * `AbortController` per claim and supplies its `signal` via `opts`. The
109
+ * signal aborts when (a) the result node settles (first DATA / first
110
+ * ERROR — auto-cleanup after the pump captures), OR (b) the pump itself
111
+ * tears down (e.g. parent Graph `destroy()`). User-supplied work fns that
112
+ * do long-running async (HTTP, LLM streams, evaluator subgraphs) can
113
+ * forward this signal into `fetch({ signal })`, `adapter.invoke({ signal
114
+ * })`, etc. for cooperative cancellation. Sync work fns ignore `opts` —
115
+ * the second arg is optional, no behavior change for legacy callers.
116
+ *
117
+ * Mirrors the `LLMInvokeOptions.signal` / `apply(item, { signal })` /
118
+ * tool-handler `(args, { signal })` precedents — same shape across the
119
+ * library's user-callback boundaries.
105
120
  */
106
- type WorkFn<T> = (job: JobEnvelope<T>) => NodeInput<T>;
121
+ type WorkFn<T> = (job: JobEnvelope<T>, opts?: {
122
+ signal: AbortSignal;
123
+ }) => NodeInput<T>;
107
124
  /**
108
125
  * Stage definition for {@link JobFlowGraph}. Either a bare name string
109
126
  * (no work hook, pure pass-through) or a full definition object.
@@ -125,6 +142,21 @@ type StageDef<T> = string | {
125
142
  * turn falls back to `DEFAULT_MAX_PER_PUMP` (256).
126
143
  */
127
144
  maxPerPump?: number;
145
+ /**
146
+ * Per-stage cap on TOTAL concurrent inflight claims (Tier 6.5 3.1,
147
+ * 2026-04-29). Distinct from {@link maxPerPump}: `maxPerPump` caps
148
+ * claims per pump tick, while `maxInflight` caps the number of
149
+ * unsettled in-flight claims at any moment across all ticks. Use
150
+ * for rigorous LLM cost ceilings (e.g. "no more than 4 concurrent
151
+ * adapter.invoke calls regardless of pending depth").
152
+ *
153
+ * When set, the stage mounts an internal `state(0)` counter as a
154
+ * pump dep so the pump re-fires on each settle — pending items
155
+ * resume claiming as soon as inflight drops below the cap.
156
+ *
157
+ * Unset (default): unbounded inflight, gated only by `maxPerPump`.
158
+ */
159
+ maxInflight?: number;
128
160
  };
129
161
  type JobFlowOptions<T = unknown> = {
130
162
  graph?: GraphOptions;
@@ -1,6 +1,6 @@
1
- import { M as MeasurementAdapter, P as PreparedSegment, L as LineBreaksResult, C as CharPosition, a as LayoutCursor, I as Interval, b as LayoutLine, c as LayoutNextLineContext, d as LayoutNextLineResult, R as ReactiveLayoutBundle, e as ReactiveLayoutOptions, S as SegmentBreakKind, f as SegmentMeasureStats, g as analyzeAndMeasure, h as carveTextLineSlots, i as computeCharPositions, j as computeLineBreaks, l as layoutNextLine, r as reactiveLayout } from './reactive-layout-Dsvob4zD.cjs';
2
- import { N as Node } from './node-ClS5yC-B.cjs';
3
- import { G as Graph } from './graph-C4SHb3Ly.cjs';
1
+ import { M as MeasurementAdapter, P as PreparedSegment, L as LineBreaksResult, C as CharPosition, a as LayoutCursor, I as Interval, b as LayoutLine, c as LayoutNextLineContext, d as LayoutNextLineResult, R as ReactiveLayoutBundle, e as ReactiveLayoutOptions, S as SegmentBreakKind, f as SegmentMeasureStats, g as analyzeAndMeasure, h as carveTextLineSlots, i as computeCharPositions, j as computeLineBreaks, l as layoutNextLine, r as reactiveLayout } from './reactive-layout-DgctbqZo.cjs';
2
+ import { N as Node } from './node-kK3CvTrR.cjs';
3
+ import { G as Graph } from './graph-CWvEUQAq.cjs';
4
4
 
5
5
  /**
6
6
  * MeasurementAdapter implementations (roadmap §7.1 — pluggable backends).
@@ -1,4 +1,4 @@
1
- import { N as Node } from './node-ClS5yC-B.js';
1
+ import { N as Node } from './node-kK3CvTrR.js';
2
2
 
3
3
  /**
4
4
  * Options for creating an atom.