@graphrefly/graphrefly 0.41.0 → 0.43.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 (296) hide show
  1. package/dist/{cascading-Cxs1eztH.d.cts → cascading-CH-_VwG9.d.cts} +2 -2
  2. package/dist/{cascading-BNfxffgc.d.ts → cascading-OgKQZjsa.d.ts} +2 -2
  3. package/dist/chunk-3XDYJRYU.js +1 -0
  4. package/dist/{chunk-AI7QC7J6.js → chunk-4YAN45KM.js} +1 -1
  5. package/dist/chunk-626TESAC.js +3 -0
  6. package/dist/chunk-6HOSXQKF.js +1 -0
  7. package/dist/{chunk-G3M3IMEV.js → chunk-CUNIRONA.js} +1 -1
  8. package/dist/chunk-EBW4V6JN.js +1 -0
  9. package/dist/chunk-FDQGFWLF.js +1 -0
  10. package/dist/{chunk-33N4TU3X.js → chunk-FG4TKHMC.js} +1 -1
  11. package/dist/{chunk-YQRN4CIV.js → chunk-I7IGYPSL.js} +1 -1
  12. package/dist/chunk-INQD2KRQ.js +1 -0
  13. package/dist/{chunk-7PQLZMOG.js → chunk-JNWRYDJN.js} +1 -1
  14. package/dist/{chunk-TT4C7DXW.js → chunk-JQFH2DV6.js} +1 -1
  15. package/dist/{chunk-M3FQSXEW.js → chunk-K2Q24F5T.js} +1 -1
  16. package/dist/chunk-KVV66NN2.js +1 -0
  17. package/dist/chunk-NON4NLIC.js +45 -0
  18. package/dist/{chunk-CYOSWFT2.js → chunk-O2BLLH7M.js} +3 -3
  19. package/dist/{chunk-OV5AA6HJ.js → chunk-OCKEEPRJ.js} +1 -1
  20. package/dist/{chunk-X7QKTXXC.js → chunk-OFZG3TB3.js} +3 -3
  21. package/dist/chunk-OYJKFY7V.js +1 -0
  22. package/dist/{chunk-SC27WTSG.js → chunk-P6C4WHZO.js} +1 -1
  23. package/dist/{chunk-VV62MIG4.js → chunk-PT7W5FCD.js} +1 -1
  24. package/dist/{chunk-UISPDFJ3.js → chunk-Q4U3A3L5.js} +1 -1
  25. package/dist/chunk-QE4IGY7I.js +61 -0
  26. package/dist/{chunk-5VEZLQFN.js → chunk-QYVXF7GW.js} +1 -1
  27. package/dist/{chunk-ZAJ7J7TO.js → chunk-S3EEIPO7.js} +1 -1
  28. package/dist/{chunk-GI4Q7PNY.js → chunk-SUWT3ZON.js} +1 -1
  29. package/dist/{chunk-CGNOWGV6.js → chunk-TPKQW72B.js} +1 -1
  30. package/dist/{chunk-L77I47VU.js → chunk-V5A7M7RJ.js} +1 -1
  31. package/dist/chunk-VNC3TMVY.js +1 -0
  32. package/dist/{chunk-AK5RHMC5.js → chunk-VOPGGIL7.js} +1 -1
  33. package/dist/chunk-VQ4A6T2A.js +1 -0
  34. package/dist/{chunk-KNVCCBIU.js → chunk-XG62INFA.js} +1 -1
  35. package/dist/{chunk-F7VUYPP6.js → chunk-Y4NI3X7O.js} +1 -1
  36. package/dist/compat/index.cjs +5 -5
  37. package/dist/compat/index.d.cts +16 -16
  38. package/dist/compat/index.d.ts +16 -16
  39. package/dist/compat/index.js +1 -1
  40. package/dist/compat/jotai/index.d.cts +2 -2
  41. package/dist/compat/jotai/index.d.ts +2 -2
  42. package/dist/compat/nanostores/index.d.cts +2 -2
  43. package/dist/compat/nanostores/index.d.ts +2 -2
  44. package/dist/compat/nestjs/index.cjs +5 -5
  45. package/dist/compat/nestjs/index.d.cts +8 -8
  46. package/dist/compat/nestjs/index.d.ts +8 -8
  47. package/dist/compat/nestjs/index.js +1 -1
  48. package/dist/compat/react/index.d.cts +2 -2
  49. package/dist/compat/react/index.d.ts +2 -2
  50. package/dist/compat/solid/index.d.cts +2 -2
  51. package/dist/compat/solid/index.d.ts +2 -2
  52. package/dist/compat/svelte/index.d.cts +2 -2
  53. package/dist/compat/svelte/index.d.ts +2 -2
  54. package/dist/compat/vue/index.d.cts +2 -2
  55. package/dist/compat/vue/index.d.ts +2 -2
  56. package/dist/compat/zustand/index.cjs +3 -3
  57. package/dist/compat/zustand/index.d.cts +4 -4
  58. package/dist/compat/zustand/index.d.ts +4 -4
  59. package/dist/compat/zustand/index.js +1 -1
  60. package/dist/core/index.d.cts +4 -4
  61. package/dist/core/index.d.ts +4 -4
  62. package/dist/{decay-C25AyNAj.d.cts → decay-2ZukgQ4o.d.cts} +2 -2
  63. package/dist/{decay-BnrlbxSv.d.ts → decay-CdEBmDIs.d.ts} +2 -2
  64. package/dist/extra/browser.d.cts +1 -1
  65. package/dist/extra/browser.d.ts +1 -1
  66. package/dist/extra/index.cjs +14 -14
  67. package/dist/extra/index.d.cts +10 -11
  68. package/dist/extra/index.d.ts +10 -11
  69. package/dist/extra/index.js +1 -1
  70. package/dist/extra/node.cjs +2 -2
  71. package/dist/extra/node.d.cts +1 -1
  72. package/dist/extra/node.d.ts +1 -1
  73. package/dist/extra/node.js +1 -1
  74. package/dist/extra/operators.cjs +1 -1
  75. package/dist/extra/operators.d.cts +1 -1
  76. package/dist/extra/operators.d.ts +1 -1
  77. package/dist/extra/operators.js +1 -1
  78. package/dist/extra/reactive.d.cts +3 -3
  79. package/dist/extra/reactive.d.ts +3 -3
  80. package/dist/extra/reactive.js +1 -1
  81. package/dist/extra/render/index.d.cts +3 -3
  82. package/dist/extra/render/index.d.ts +3 -3
  83. package/dist/extra/sources.cjs +3 -1
  84. package/dist/extra/sources.d.cts +1 -1
  85. package/dist/extra/sources.d.ts +1 -1
  86. package/dist/extra/sources.js +1 -1
  87. package/dist/extra/storage-browser.d.cts +1 -1
  88. package/dist/extra/storage-browser.d.ts +1 -1
  89. package/dist/{fallback-CMZl39L5.d.ts → fallback-CqYVLL6X.d.ts} +1 -1
  90. package/dist/{fallback-8JYU8tlT.d.cts → fallback-Ctlj2tMY.d.cts} +1 -1
  91. package/dist/graph/index.cjs +7 -7
  92. package/dist/graph/index.d.cts +5 -5
  93. package/dist/graph/index.d.ts +5 -5
  94. package/dist/graph/index.js +1 -1
  95. package/dist/{graph-BkIkog4h.d.ts → graph-7VguS7a4.d.ts} +3 -3
  96. package/dist/{graph-E6likq7w.d.cts → graph-C4SHb3Ly.d.cts} +3 -3
  97. package/dist/{index-DgJc8Zgc.d.cts → index-0rKFCVFp.d.cts} +90 -5
  98. package/dist/{index-BAQrjuZF.d.ts → index-B-i4_g3k.d.ts} +2 -2
  99. package/dist/{index-DpiGqtrs.d.cts → index-B5iz82A3.d.cts} +441 -381
  100. package/dist/{index-Bd91Nmf4.d.cts → index-BAOD98JD.d.cts} +4 -4
  101. package/dist/{index-2n8Eai6M.d.ts → index-BG0BN3PB.d.ts} +1 -1
  102. package/dist/{index-z8WFPVI8.d.cts → index-BJX94aud.d.cts} +1 -1
  103. package/dist/{index-DhLyOHYZ.d.ts → index-BP8a88zx.d.ts} +11 -4
  104. package/dist/{index-Cnr1WrlX.d.cts → index-BTQtTb_H.d.cts} +14 -3
  105. package/dist/{index-DOBLxOti.d.cts → index-BVpm6noz.d.cts} +1 -1
  106. package/dist/{index-Cczxgd2D.d.ts → index-Bc41FuHp.d.cts} +3 -3
  107. package/dist/{index-BiHUBEKq.d.cts → index-BdGtBX-X.d.cts} +3 -3
  108. package/dist/{index-da2V5vPy.d.ts → index-Bf7eqeSF.d.ts} +2 -2
  109. package/dist/{index-DuRsN9ae.d.cts → index-BiX1Nkgx.d.cts} +383 -18
  110. package/dist/{index-DGTo1yka.d.cts → index-BoLv_OfD.d.cts} +2 -2
  111. package/dist/{index-DVAlsmEU.d.cts → index-BojK2fwH.d.cts} +3 -3
  112. package/dist/{index-B72TQQHd.d.cts → index-BsT7F2et.d.ts} +3 -3
  113. package/dist/{index-DGD4_fj6.d.cts → index-BwLvVVsy.d.cts} +8 -5
  114. package/dist/{index-CQtWm7jS.d.ts → index-C59mYFKp.d.ts} +9 -9
  115. package/dist/{index-C6ZUaos7.d.ts → index-C7O6r5fV.d.ts} +1 -1
  116. package/dist/{index-CL7oilfm.d.cts → index-C9kSENB4.d.cts} +1 -1
  117. package/dist/{index-DVDapw2k.d.cts → index-C9pjcz3l.d.cts} +35 -36
  118. package/dist/{index-CG33HeBW.d.ts → index-CAC_rNzm.d.ts} +8 -5
  119. package/dist/{index-yLt-aPMp.d.ts → index-CCq87F7t.d.ts} +1 -1
  120. package/dist/{index-D4uimgee.d.cts → index-CDXc9zKM.d.cts} +1 -1
  121. package/dist/{index-B2RUoIUz.d.ts → index-CJK1JkYy.d.ts} +1 -1
  122. package/dist/{index-DktLSZOc.d.cts → index-CLon-IWF.d.cts} +4 -4
  123. package/dist/{index-DQQCOIt8.d.cts → index-COD1kVoS.d.cts} +10 -5
  124. package/dist/{index-bXXLSvor.d.ts → index-CPT7C_f1.d.ts} +4 -4
  125. package/dist/{index-CD2dBMet.d.ts → index-CQG3D1cp.d.ts} +10 -5
  126. package/dist/{index-BQ1fR4li.d.ts → index-CZQXo5tH.d.ts} +35 -36
  127. package/dist/{index-A3U3CSve.d.cts → index-CZjOhcBy.d.cts} +2 -2
  128. package/dist/{index-DYTBbF8T.d.cts → index-ChOyVLKm.d.cts} +1 -1
  129. package/dist/{index-BJSZxSFX.d.ts → index-CvrqGfNS.d.ts} +1 -1
  130. package/dist/{index-DhnsQfa3.d.ts → index-D-AEQVLo.d.ts} +441 -381
  131. package/dist/{index-CAP3UGsq.d.ts → index-D4Y1cMG0.d.ts} +1 -1
  132. package/dist/{index-40ZT4MHj.d.ts → index-DBHK8O6H.d.ts} +14 -3
  133. package/dist/{index-3k4Gg6-n.d.ts → index-DBevwHj_.d.ts} +3 -3
  134. package/dist/{index-Ctb7_2sG.d.ts → index-DIOoAZUX.d.ts} +1 -1
  135. package/dist/{index-WSlcjhQF.d.ts → index-DSZ3ZCHF.d.ts} +124 -13
  136. package/dist/{index-DH4fm2Ck.d.ts → index-Dgs8zcj7.d.ts} +2 -2
  137. package/dist/{index-BaA-xpSw.d.ts → index-Dh_HJ82K.d.ts} +3 -3
  138. package/dist/{index-CtFNGe-m.d.cts → index-Dhc7a7Xo.d.cts} +2 -2
  139. package/dist/{index-CoM4rzyB.d.ts → index-Dmqp7KjD.d.ts} +1 -1
  140. package/dist/{index-B6iTqKtJ.d.ts → index-Dn-wI9g4.d.ts} +2 -2
  141. package/dist/{index-C-dkXOpB.d.cts → index-Du7u1lSf.d.cts} +11 -4
  142. package/dist/{index-DfOK_oL5.d.ts → index-DwigL4lY.d.ts} +383 -18
  143. package/dist/index-DyR7eU5S.d.cts +779 -0
  144. package/dist/index-JZUPJIJy.d.ts +779 -0
  145. package/dist/{index-I1cCY3ZI.d.ts → index-K0_0eR8g.d.ts} +90 -5
  146. package/dist/{index-BilOa6AE.d.cts → index-O16yXPK4.d.cts} +124 -13
  147. package/dist/{index-CRm0YIzC.d.cts → index-O7fucFrU.d.cts} +9 -9
  148. package/dist/{index-MxYuWOrf.d.cts → index-RV_yDjOX.d.cts} +3 -3
  149. package/dist/{index-C5cQ7Gfx.d.ts → index-cm1GNcWE.d.ts} +4 -4
  150. package/dist/{index-CgnCFhr2.d.cts → index-f5IivDUX.d.cts} +1 -1
  151. package/dist/{index-PgwvGWa1.d.cts → index-hHcaFlJX.d.cts} +1 -1
  152. package/dist/{index-tV3AA9hI.d.cts → index-tJoTcnHh.d.cts} +2 -2
  153. package/dist/{index-eaQuGJnv.d.ts → index-wAzD9yVj.d.ts} +3 -3
  154. package/dist/{index-D3ayz3hy.d.cts → index-z96luz5O.d.cts} +1 -1
  155. package/dist/index.cjs +48 -48
  156. package/dist/index.d.cts +45 -50
  157. package/dist/index.d.ts +45 -50
  158. package/dist/index.js +1 -1
  159. package/dist/{meta-D8OyedKp.d.ts → meta-BgVAsg9j.d.ts} +1 -1
  160. package/dist/{meta-Ct9nqQS5.d.cts → meta-vE8bxW1E.d.cts} +1 -1
  161. package/dist/{node-BYInONRr.d.cts → node-ClS5yC-B.d.cts} +1 -1
  162. package/dist/{node-BYInONRr.d.ts → node-ClS5yC-B.d.ts} +1 -1
  163. package/dist/{observable-DO8DDEzv.d.ts → observable-BsBzUrcI.d.ts} +1 -1
  164. package/dist/{observable-DMIlYJV1.d.cts → observable-DLGPPtb8.d.cts} +1 -1
  165. package/dist/patterns/ai/browser.d.cts +4 -4
  166. package/dist/patterns/ai/browser.d.ts +4 -4
  167. package/dist/patterns/ai/browser.js +1 -1
  168. package/dist/patterns/ai/index.cjs +17 -17
  169. package/dist/patterns/ai/index.d.cts +17 -17
  170. package/dist/patterns/ai/index.d.ts +17 -17
  171. package/dist/patterns/ai/index.js +1 -1
  172. package/dist/patterns/ai/node.d.cts +4 -4
  173. package/dist/patterns/ai/node.d.ts +4 -4
  174. package/dist/patterns/ai/node.js +1 -1
  175. package/dist/patterns/cqrs/index.cjs +3 -3
  176. package/dist/patterns/cqrs/index.d.cts +6 -6
  177. package/dist/patterns/cqrs/index.d.ts +6 -6
  178. package/dist/patterns/cqrs/index.js +1 -1
  179. package/dist/patterns/demo-shell/index.cjs +5 -5
  180. package/dist/patterns/demo-shell/index.d.cts +5 -5
  181. package/dist/patterns/demo-shell/index.d.ts +5 -5
  182. package/dist/patterns/demo-shell/index.js +1 -1
  183. package/dist/patterns/domain-templates/index.cjs +3 -3
  184. package/dist/patterns/domain-templates/index.d.cts +4 -4
  185. package/dist/patterns/domain-templates/index.d.ts +4 -4
  186. package/dist/patterns/domain-templates/index.js +1 -1
  187. package/dist/patterns/graphspec/index.cjs +12 -12
  188. package/dist/patterns/graphspec/index.d.cts +5 -5
  189. package/dist/patterns/graphspec/index.d.ts +5 -5
  190. package/dist/patterns/graphspec/index.js +1 -1
  191. package/dist/patterns/harness/index.cjs +10 -8
  192. package/dist/patterns/harness/index.d.cts +11 -12
  193. package/dist/patterns/harness/index.d.ts +11 -12
  194. package/dist/patterns/harness/index.js +1 -1
  195. package/dist/patterns/inspect/index.cjs +3 -0
  196. package/dist/patterns/inspect/index.d.cts +9 -0
  197. package/dist/patterns/inspect/index.d.ts +9 -0
  198. package/dist/patterns/inspect/index.js +1 -0
  199. package/dist/patterns/job-queue/index.cjs +3 -3
  200. package/dist/patterns/job-queue/index.d.cts +6 -6
  201. package/dist/patterns/job-queue/index.d.ts +6 -6
  202. package/dist/patterns/job-queue/index.js +1 -1
  203. package/dist/patterns/memory/index.cjs +3 -3
  204. package/dist/patterns/memory/index.d.cts +6 -6
  205. package/dist/patterns/memory/index.d.ts +6 -6
  206. package/dist/patterns/memory/index.js +1 -1
  207. package/dist/patterns/messaging/index.cjs +3 -3
  208. package/dist/patterns/messaging/index.d.cts +5 -5
  209. package/dist/patterns/messaging/index.d.ts +5 -5
  210. package/dist/patterns/messaging/index.js +1 -1
  211. package/dist/patterns/orchestration/index.cjs +3 -3
  212. package/dist/patterns/orchestration/index.d.cts +7 -7
  213. package/dist/patterns/orchestration/index.d.ts +7 -7
  214. package/dist/patterns/orchestration/index.js +1 -1
  215. package/dist/patterns/process/index.cjs +1 -1
  216. package/dist/patterns/process/index.d.cts +7 -7
  217. package/dist/patterns/process/index.d.ts +7 -7
  218. package/dist/patterns/process/index.js +1 -1
  219. package/dist/patterns/reactive-layout/index.cjs +4 -4
  220. package/dist/patterns/reactive-layout/index.d.cts +5 -5
  221. package/dist/patterns/reactive-layout/index.d.ts +5 -5
  222. package/dist/patterns/reactive-layout/index.js +1 -1
  223. package/dist/patterns/reduction/index.cjs +3 -3
  224. package/dist/patterns/reduction/index.d.cts +4 -4
  225. package/dist/patterns/reduction/index.d.ts +4 -4
  226. package/dist/patterns/reduction/index.js +1 -1
  227. package/dist/patterns/surface/index.cjs +8 -8
  228. package/dist/patterns/surface/index.d.cts +6 -6
  229. package/dist/patterns/surface/index.d.ts +6 -6
  230. package/dist/patterns/surface/index.js +1 -1
  231. package/dist/{pipeline-graph-MWrQZXCq.d.cts → pipeline-graph-DPqKDk59.d.cts} +5 -5
  232. package/dist/{pipeline-graph-CB4La-UW.d.ts → pipeline-graph-loP57TBA.d.ts} +5 -5
  233. package/dist/{reactive-layout-BtZfUKuL.d.cts → reactive-layout-Dsvob4zD.d.cts} +2 -2
  234. package/dist/{reactive-layout-KJj4E2dT.d.ts → reactive-layout-v7KPvxoc.d.ts} +2 -2
  235. package/dist/{reactive-log-_zeEnB9H.d.cts → reactive-log-B00laMSQ.d.cts} +1 -1
  236. package/dist/{reactive-log-BlAsPLl2.d.ts → reactive-log-BezYsbA_.d.ts} +1 -1
  237. package/dist/{reactive-map-6P_k3AQM.d.cts → reactive-map-48mnZ-nu.d.cts} +1 -1
  238. package/dist/{reactive-map-CjXByDV-.d.ts → reactive-map-BVVPdvmi.d.ts} +1 -1
  239. package/dist/resilience-YIWPK4YC.js +1 -0
  240. package/dist/{sugar-DzePN5-g.d.cts → sugar-DLwvMr3F.d.ts} +24 -4
  241. package/dist/{sugar-BhfjgetH.d.ts → sugar-DyVGtczU.d.cts} +24 -4
  242. package/dist/{topology-tree-mF7Emqzm.d.ts → topology-tree-BNGvuG82.d.ts} +1 -1
  243. package/dist/{topology-tree-3LBKFsUo.d.cts → topology-tree-BSdfSwMi.d.cts} +1 -1
  244. package/dist/{types-1Dhoi7HM.d.cts → types-B1jDWVsM.d.cts} +1 -1
  245. package/dist/{types-39jk0kaV.d.ts → types-DkzUUs0H.d.ts} +1 -1
  246. package/package.json +11 -51
  247. package/dist/budget-gate-CmmVtasH.d.ts +0 -115
  248. package/dist/budget-gate-DiP_nK0n.d.cts +0 -115
  249. package/dist/chunk-2W553JJC.js +0 -1
  250. package/dist/chunk-4MKL6Q3K.js +0 -1
  251. package/dist/chunk-5B3JDG5F.js +0 -1
  252. package/dist/chunk-5QSXEMXG.js +0 -1
  253. package/dist/chunk-5TEFC2ZX.js +0 -1
  254. package/dist/chunk-5TOPVRN6.js +0 -1
  255. package/dist/chunk-EC2WNSZ7.js +0 -1
  256. package/dist/chunk-ELAASRBT.js +0 -3
  257. package/dist/chunk-H5SCWHWP.js +0 -1
  258. package/dist/chunk-OLIKJUKI.js +0 -1
  259. package/dist/chunk-POXANAJ6.js +0 -3
  260. package/dist/chunk-RSMEXK53.js +0 -43
  261. package/dist/chunk-SGS4OJGS.js +0 -1
  262. package/dist/chunk-URJ2VFNC.js +0 -1
  263. package/dist/chunk-VXPLLA4P.js +0 -1
  264. package/dist/chunk-WZYB3JQS.js +0 -1
  265. package/dist/chunk-Z6X7B6A4.js +0 -61
  266. package/dist/index-8s-Qm-gz.d.ts +0 -218
  267. package/dist/index-BgjS2b8N.d.ts +0 -366
  268. package/dist/index-BmSQLAZo.d.cts +0 -244
  269. package/dist/index-CGhMJNHb.d.cts +0 -128
  270. package/dist/index-CUIkE1l9.d.cts +0 -230
  271. package/dist/index-Ck35nA-T.d.ts +0 -244
  272. package/dist/index-CuPUehFa.d.cts +0 -218
  273. package/dist/index-D1Gc7wV5.d.ts +0 -230
  274. package/dist/index-N2MAxt7_.d.ts +0 -128
  275. package/dist/index-t6L2qpHh.d.cts +0 -366
  276. package/dist/patterns/audit/index.cjs +0 -3
  277. package/dist/patterns/audit/index.d.cts +0 -8
  278. package/dist/patterns/audit/index.d.ts +0 -8
  279. package/dist/patterns/audit/index.js +0 -1
  280. package/dist/patterns/guarded-execution/index.cjs +0 -3
  281. package/dist/patterns/guarded-execution/index.d.cts +0 -9
  282. package/dist/patterns/guarded-execution/index.d.ts +0 -9
  283. package/dist/patterns/guarded-execution/index.js +0 -1
  284. package/dist/patterns/lens/index.cjs +0 -3
  285. package/dist/patterns/lens/index.d.cts +0 -7
  286. package/dist/patterns/lens/index.d.ts +0 -7
  287. package/dist/patterns/lens/index.js +0 -1
  288. package/dist/patterns/refine-loop/index.cjs +0 -5
  289. package/dist/patterns/refine-loop/index.d.cts +0 -9
  290. package/dist/patterns/refine-loop/index.d.ts +0 -9
  291. package/dist/patterns/refine-loop/index.js +0 -1
  292. package/dist/patterns/resilient-pipeline/index.cjs +0 -3
  293. package/dist/patterns/resilient-pipeline/index.d.cts +0 -8
  294. package/dist/patterns/resilient-pipeline/index.d.ts +0 -8
  295. package/dist/patterns/resilient-pipeline/index.js +0 -1
  296. package/dist/resilience-JISHQD2F.js +0 -1
@@ -1,12 +1,12 @@
1
- import { i as index$2 } from './index-CoM4rzyB.js';
2
- import { i as index$3 } from './index-yLt-aPMp.js';
3
- import { i as index$4 } from './index-C5cQ7Gfx.js';
4
- import { i as index$5 } from './index-2n8Eai6M.js';
5
- import { N as Node } from './node-BYInONRr.js';
6
- import { i as index$6 } from './index-B2RUoIUz.js';
7
- import { i as index$7 } from './index-Ctb7_2sG.js';
8
- import { i as index$8 } from './index-BJSZxSFX.js';
9
- import { i as index$9 } from './index-C6ZUaos7.js';
1
+ import { i as index$2 } from './index-Dmqp7KjD.js';
2
+ import { i as index$3 } from './index-CCq87F7t.js';
3
+ import { i as index$4 } from './index-cm1GNcWE.js';
4
+ import { i as index$5 } from './index-BG0BN3PB.js';
5
+ import { N as Node } from './node-ClS5yC-B.js';
6
+ import { i as index$6 } from './index-CJK1JkYy.js';
7
+ import { i as index$7 } from './index-DIOoAZUX.js';
8
+ import { i as index$8 } from './index-CvrqGfNS.js';
9
+ import { i as index$9 } from './index-C7O6r5fV.js';
10
10
 
11
11
  /**
12
12
  * Options for creating signals.
@@ -1,4 +1,4 @@
1
- import { G as Graph } from './graph-BkIkog4h.js';
1
+ import { G as Graph } from './graph-7VguS7a4.js';
2
2
 
3
3
  /** Zustand-compatible Store API. */
4
4
  interface StoreApi<T> {
@@ -1,4 +1,4 @@
1
- import { N as Node } from './node-BYInONRr.cjs';
1
+ import { N as Node } from './node-ClS5yC-B.cjs';
2
2
 
3
3
  /**
4
4
  * A Nanostores-compatible atom.
@@ -1,6 +1,6 @@
1
- import { b as NodeGuard, N as Node } from './node-BYInONRr.cjs';
2
- import { G as Graph } from './graph-E6likq7w.cjs';
3
- import { R as ReactiveLogOptions, a as ReactiveLogBundle } from './reactive-log-_zeEnB9H.cjs';
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';
4
4
 
5
5
  /**
6
6
  * Audited-mutation framework (Audit 2 — locked 2026-04-24; promoted to
@@ -81,11 +81,17 @@ type SuccessMeta = {
81
81
  seq?: number;
82
82
  };
83
83
  /** Common opts shared by both tiers. */
84
- type MutationOpts<TArgs extends readonly unknown[], R extends BaseAuditRecord> = {
85
- /** Where to emit the audit record on success / failure. */
86
- audit: ReactiveLogBundle<R>;
84
+ type MutationOpts<TArgs extends readonly unknown[], TResult, R extends BaseAuditRecord> = {
85
+ /**
86
+ * Optional audit log. When omitted, the wrapper still provides freeze /
87
+ * seq-advance / rollback-on-throw (`wrapMutation`) but skips audit-record
88
+ * emission entirely — useful for primitives that want centralized mutation
89
+ * semantics without a dedicated audit log surface (e.g. `Topic.publish`).
90
+ * Pair with `onSuccess` / `onFailure` to emit records.
91
+ */
92
+ audit?: ReactiveLogBundle<R>;
87
93
  /** Build the success record from the action's args + result + meta. */
88
- onSuccess?: (args: TArgs, result: unknown, meta: SuccessMeta) => R | undefined;
94
+ onSuccess?: (args: TArgs, result: TResult, meta: SuccessMeta) => R | undefined;
89
95
  /** Build the failure record from the args + error + meta. */
90
96
  onFailure?: (args: TArgs, error: unknown, meta: FailureMeta) => R | undefined;
91
97
  /** Freeze inputs at entry (default `true`). Pass `false` for hot paths. */
@@ -98,23 +104,8 @@ type MutationOpts<TArgs extends readonly unknown[], R extends BaseAuditRecord> =
98
104
  version: string | number;
99
105
  };
100
106
  };
101
- type WrapMutationOpts<TArgs extends readonly unknown[], R extends BaseAuditRecord> = MutationOpts<TArgs, R>;
102
- type LightMutationOpts<TArgs extends readonly unknown[], R extends BaseAuditRecord> = MutationOpts<TArgs, R>;
103
- /**
104
- * Advance a cursor node and return the new value. Emits `[DIRTY], [DATA, next]`
105
- * directly on the cursor — atomic outside a batch, rollback-discardable inside.
106
- *
107
- * Resets to `0` if the cursor cache is missing, non-numeric, `NaN`, or
108
- * non-finite (e.g. corrupted by `restore()` from a malformed snapshot, or
109
- * by a misbehaving codec). `??` alone would let `NaN` and `""` pass through
110
- * and silently corrupt audit ordering downstream.
111
- *
112
- * Works whether or not the cursor has any subscribers — `down` updates the
113
- * cache regardless, so primitives that bump before consumers attach (e.g.
114
- * `JobQueueGraph.enqueue`) still see a coherent sequence.
115
- *
116
- * @category internal
117
- */
107
+ type WrapMutationOpts<TArgs extends readonly unknown[], TResult, R extends BaseAuditRecord> = MutationOpts<TArgs, TResult, R>;
108
+ type LightMutationOpts<TArgs extends readonly unknown[], TResult, R extends BaseAuditRecord> = MutationOpts<TArgs, TResult, R>;
118
109
  declare function bumpCursor(seq: Node<number>): number;
119
110
  /**
120
111
  * Build a record via the supplied builder, stamp `handlerVersion` if present,
@@ -129,9 +120,9 @@ declare function appendAudit<TArgs extends readonly unknown[], TValue, R extends
129
120
  version: string | number;
130
121
  }): void;
131
122
  /**
132
- * Substrate-tier wrapper: run `action`, append a typed audit record on
133
- * success or failure, advance an optional `seq` cursor. No batch frame — this
134
- * is the hot-path-friendly variant for atomic single-write mutations.
123
+ * Substrate-tier wrapper: run `action`, optionally append a typed audit record
124
+ * on success or failure, advance an optional `seq` cursor. No batch frame —
125
+ * this is the hot-path-friendly variant for atomic single-write mutations.
135
126
  *
136
127
  * Behavior contract:
137
128
  * 1. Freeze args at entry (default `true`; opt out with `freeze: false` for
@@ -140,9 +131,13 @@ declare function appendAudit<TArgs extends readonly unknown[], TValue, R extends
140
131
  * 2. Bump `seq` (if provided) BEFORE the action runs. There is no batch frame,
141
132
  * so the bump persists even on throw — the failure-audit record stamps the
142
133
  * same `seq` so audit consumers see a contiguous sequence.
143
- * 3. Run `action(args)`. On success, `appendAudit(onSuccess, ...)`.
144
- * 4. On throw, `appendAudit(onFailure, ...)` then re-throw so callers see the
145
- * failure.
134
+ * 3. Run `action(args)`. On success, if `audit` is provided AND `onSuccess`
135
+ * is set, `appendAudit(onSuccess, ...)`.
136
+ * 4. On throw, if `audit` is provided AND `onFailure` is set,
137
+ * `appendAudit(onFailure, ...)` then re-throw. When `audit` is omitted the
138
+ * wrapper still provides freeze + seq + re-throw semantics — useful for
139
+ * primitives that want centralized mutation contracts without an audit log
140
+ * surface (e.g. `Topic.publish`).
146
141
  *
147
142
  * **Distinguish from {@link wrapMutation}:** `wrapMutation` opens a `batch()`
148
143
  * frame (rollback-on-throw, seq advance discarded on rollback) and is the
@@ -164,7 +159,7 @@ declare function appendAudit<TArgs extends readonly unknown[], TValue, R extends
164
159
  *
165
160
  * @category internal
166
161
  */
167
- declare function lightMutation<TArgs extends readonly unknown[], TResult, R extends BaseAuditRecord>(action: (...args: TArgs) => TResult, opts: LightMutationOpts<TArgs, R>): (...args: TArgs) => TResult;
162
+ declare function lightMutation<TArgs extends readonly unknown[], TResult, R extends BaseAuditRecord>(action: (...args: TArgs) => TResult, opts: LightMutationOpts<TArgs, TResult, R>): (...args: TArgs) => TResult;
168
163
  /**
169
164
  * Orchestration-tier wrapper: like {@link lightMutation} but adds a `batch()`
170
165
  * frame around the action so an in-flight throw rolls back partial state.
@@ -175,10 +170,14 @@ declare function lightMutation<TArgs extends readonly unknown[], TResult, R exte
175
170
  * 3. Bump `seq` INSIDE the batch so a framework-level rollback discards the
176
171
  * cursor advance (cursor stays in sync with audit log). M5.
177
172
  * 4. Run `action(args)` and capture result.
178
- * 5. On success: `appendAudit(onSuccess, ...)` inside the batch.
179
- * 6. On throw: catch OUTSIDE the batch so the failure record emits in a
180
- * fresh transaction after rollback it persists. Re-throw so callers see
181
- * the failure.
173
+ * 5. On success: if `audit` is provided AND `onSuccess` is set,
174
+ * `appendAudit(onSuccess, ...)` inside the batch.
175
+ * 6. On throw: catch OUTSIDE the batch so the failure record (if any) emits
176
+ * in a fresh transaction after rollback — it persists. Re-throw so callers
177
+ * see the failure. When `audit` is omitted the wrapper still provides
178
+ * batch + freeze + rollback + re-throw semantics — useful for primitives
179
+ * that want orchestration-tier mutation contracts without an audit log
180
+ * surface.
182
181
  *
183
182
  * **Distinguish from the file-private `wrapMutation` in
184
183
  * `src/extra/reactive-map.ts:540`:** that helper is a transactional wrapper
@@ -188,7 +187,7 @@ declare function lightMutation<TArgs extends readonly unknown[], TResult, R exte
188
187
  *
189
188
  * @category internal
190
189
  */
191
- declare function wrapMutation<TArgs extends readonly unknown[], TResult, R extends BaseAuditRecord>(action: (...args: TArgs) => TResult, opts: WrapMutationOpts<TArgs, R>): (...args: TArgs) => TResult;
190
+ declare function wrapMutation<TArgs extends readonly unknown[], TResult, R extends BaseAuditRecord>(action: (...args: TArgs) => TResult, opts: WrapMutationOpts<TArgs, TResult, R>): (...args: TArgs) => TResult;
192
191
  /**
193
192
  * Promote a closure counter to a state node mounted under `graph`.
194
193
  * Replaces ad-hoc `let _seq = 0` patterns with a node observable in
@@ -1,9 +1,9 @@
1
- import { N as Node } from './node-BYInONRr.js';
2
- import { B as BaseAuditRecord } from './index-BQ1fR4li.js';
3
- import { a as ReactiveLogBundle } from './reactive-log-BlAsPLl2.js';
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
4
  import { NodeInput } from './extra/sources.js';
5
5
  import { AppendLogStorageTier } from './extra/storage-tiers.js';
6
- import { G as Graph, a as GraphOptions } from './graph-BkIkog4h.js';
6
+ import { G as Graph, a as GraphOptions } from './graph-7VguS7a4.js';
7
7
 
8
8
  /**
9
9
  * Job queue patterns (roadmap §4.2).
@@ -47,8 +47,11 @@ declare class JobQueueGraph<T> extends Graph {
47
47
  readonly events: ReactiveLogBundle<JobEvent<T>>;
48
48
  /** Alias for {@link JobQueueGraph.events} — Audit 2 `.audit` duplication. */
49
49
  readonly audit: ReactiveLogBundle<JobEvent<T>>;
50
+ private readonly _enqueueImpl;
51
+ private readonly _ackImpl;
52
+ private readonly _nackImpl;
53
+ private readonly _removeByIdImpl;
50
54
  constructor(name: string, opts?: JobQueueOptions);
51
- private _bumpSeq;
52
55
  /**
53
56
  * Wire append-log storage tiers (Audit 4). Returns a disposer.
54
57
  *
@@ -1,4 +1,4 @@
1
- import { N as Node } from './node-BYInONRr.js';
1
+ import { N as Node } from './node-ClS5yC-B.js';
2
2
 
3
3
  /**
4
4
  * A Nanostores-compatible atom.
@@ -1,4 +1,4 @@
1
- import { C as CatchOptions, a as ClassifyResult, D as Decision, b as DecisionAction, G as GateController, c as GateOptions, P as PipelineGraph, S as StepRef, T as TerminalCause, d as decisionKeyOf, p as pipelineGraph } from './pipeline-graph-MWrQZXCq.cjs';
1
+ import { C as CatchOptions, a as ClassifyResult, D as Decision, b as DecisionAction, G as GateController, c as GateOptions, P as PipelineGraph, S as StepRef, T as TerminalCause, d as decisionKeyOf, p as pipelineGraph } from './pipeline-graph-DPqKDk59.cjs';
2
2
 
3
3
  /**
4
4
  * Orchestration patterns (roadmap §4.1).
@@ -1,4 +1,4 @@
1
- import { N as Node } from './node-BYInONRr.js';
1
+ import { N as Node } from './node-ClS5yC-B.js';
2
2
 
3
3
  /** Solid accessor function — returns current value when called. */
4
4
  type Accessor<T> = () => T;
@@ -1,7 +1,7 @@
1
- import { N as Node } from './node-BYInONRr.cjs';
2
- import { B as BaseAuditRecord } from './index-DVDapw2k.cjs';
3
- import { a as ReactiveLogBundle } from './reactive-log-_zeEnB9H.cjs';
4
- import { G as Graph } from './graph-E6likq7w.cjs';
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';
4
+ import { G as Graph } from './graph-C4SHb3Ly.cjs';
5
5
 
6
6
  /**
7
7
  * Memory patterns (roadmap §4.3) — public-face Phase-4 primitives audited under
@@ -1,8 +1,8 @@
1
- import { N as Node } from './node-BYInONRr.cjs';
2
- import { B as BaseAuditRecord } from './index-DVDapw2k.cjs';
3
- import { a as ReactiveLogBundle } from './reactive-log-_zeEnB9H.cjs';
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';
4
4
  import { AppendLogStorageTier } from './extra/storage-tiers.cjs';
5
- import { a as GraphOptions, G as Graph } from './graph-E6likq7w.cjs';
5
+ import { a as GraphOptions, G as Graph } from './graph-C4SHb3Ly.cjs';
6
6
 
7
7
  /**
8
8
  * CQRS patterns (roadmap §4.5).
@@ -351,7 +351,6 @@ declare class CqrsGraph<EM extends CqrsEventMap = Record<string, unknown>> exten
351
351
  attachEventStorage(tiers: readonly AppendLogStorageTier<CqrsEvent>[]): () => void;
352
352
  /** Wire newly-created event stream into all currently-attached tier sets. */
353
353
  private _autoWireStreamStorage;
354
- private _bumpDispatchSeq;
355
354
  /**
356
355
  * Register a named event stream backed by `reactiveLog`.
357
356
  * Guard denies external `write` — only commands append internally.
@@ -382,6 +381,12 @@ declare class CqrsGraph<EM extends CqrsEventMap = Record<string, unknown>> exten
382
381
  *
383
382
  * If the handler throws, `meta.error` on the command node is set to the
384
383
  * error and the exception is re-thrown.
384
+ *
385
+ * **Tier 8 / COMPOSITION-GUIDE §35:** dispatch routes through the shared
386
+ * {@link wrapMutation} framework so freeze / rollback-on-throw / seq-cursor
387
+ * advance / audit-record stamping flow through one centralized helper.
388
+ * Failure records emit OUTSIDE the rolled-back batch (M5 / C4 invariants
389
+ * preserved by the framework).
385
390
  */
386
391
  dispatch<T = unknown>(commandName: string, payload: T, opts?: DispatchOptions): void;
387
392
  /**
@@ -1,7 +1,7 @@
1
- import { N as Node } from './node-BYInONRr.js';
2
- import { B as BaseAuditRecord } from './index-BQ1fR4li.js';
3
- import { a as ReactiveLogBundle } from './reactive-log-BlAsPLl2.js';
4
- import { G as Graph } from './graph-BkIkog4h.js';
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';
5
5
 
6
6
  /**
7
7
  * Memory patterns (roadmap §4.3) — public-face Phase-4 primitives audited under
@@ -1,8 +1,8 @@
1
- import { N as Node } from './node-BYInONRr.js';
2
- import { B as BaseAuditRecord } from './index-BQ1fR4li.js';
3
- import { a as ReactiveLogBundle } from './reactive-log-BlAsPLl2.js';
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
4
  import { AppendLogStorageTier } from './extra/storage-tiers.js';
5
- import { a as GraphOptions, G as Graph } from './graph-BkIkog4h.js';
5
+ import { a as GraphOptions, G as Graph } from './graph-7VguS7a4.js';
6
6
 
7
7
  /**
8
8
  * CQRS patterns (roadmap §4.5).
@@ -351,7 +351,6 @@ declare class CqrsGraph<EM extends CqrsEventMap = Record<string, unknown>> exten
351
351
  attachEventStorage(tiers: readonly AppendLogStorageTier<CqrsEvent>[]): () => void;
352
352
  /** Wire newly-created event stream into all currently-attached tier sets. */
353
353
  private _autoWireStreamStorage;
354
- private _bumpDispatchSeq;
355
354
  /**
356
355
  * Register a named event stream backed by `reactiveLog`.
357
356
  * Guard denies external `write` — only commands append internally.
@@ -382,6 +381,12 @@ declare class CqrsGraph<EM extends CqrsEventMap = Record<string, unknown>> exten
382
381
  *
383
382
  * If the handler throws, `meta.error` on the command node is set to the
384
383
  * error and the exception is re-thrown.
384
+ *
385
+ * **Tier 8 / COMPOSITION-GUIDE §35:** dispatch routes through the shared
386
+ * {@link wrapMutation} framework so freeze / rollback-on-throw / seq-cursor
387
+ * advance / audit-record stamping flow through one centralized helper.
388
+ * Failure records emit OUTSIDE the rolled-back batch (M5 / C4 invariants
389
+ * preserved by the framework).
385
390
  */
386
391
  dispatch<T = unknown>(commandName: string, payload: T, opts?: DispatchOptions): void;
387
392
  /**
@@ -1,6 +1,6 @@
1
- import { b as NodeGuard, N as Node } from './node-BYInONRr.js';
2
- import { G as Graph } from './graph-BkIkog4h.js';
3
- import { R as ReactiveLogOptions, a as ReactiveLogBundle } from './reactive-log-BlAsPLl2.js';
1
+ import { b as NodeGuard, N as Node } from './node-ClS5yC-B.js';
2
+ import { G as Graph } from './graph-7VguS7a4.js';
3
+ import { R as ReactiveLogOptions, a as ReactiveLogBundle } from './reactive-log-BezYsbA_.js';
4
4
 
5
5
  /**
6
6
  * Audited-mutation framework (Audit 2 — locked 2026-04-24; promoted to
@@ -81,11 +81,17 @@ type SuccessMeta = {
81
81
  seq?: number;
82
82
  };
83
83
  /** Common opts shared by both tiers. */
84
- type MutationOpts<TArgs extends readonly unknown[], R extends BaseAuditRecord> = {
85
- /** Where to emit the audit record on success / failure. */
86
- audit: ReactiveLogBundle<R>;
84
+ type MutationOpts<TArgs extends readonly unknown[], TResult, R extends BaseAuditRecord> = {
85
+ /**
86
+ * Optional audit log. When omitted, the wrapper still provides freeze /
87
+ * seq-advance / rollback-on-throw (`wrapMutation`) but skips audit-record
88
+ * emission entirely — useful for primitives that want centralized mutation
89
+ * semantics without a dedicated audit log surface (e.g. `Topic.publish`).
90
+ * Pair with `onSuccess` / `onFailure` to emit records.
91
+ */
92
+ audit?: ReactiveLogBundle<R>;
87
93
  /** Build the success record from the action's args + result + meta. */
88
- onSuccess?: (args: TArgs, result: unknown, meta: SuccessMeta) => R | undefined;
94
+ onSuccess?: (args: TArgs, result: TResult, meta: SuccessMeta) => R | undefined;
89
95
  /** Build the failure record from the args + error + meta. */
90
96
  onFailure?: (args: TArgs, error: unknown, meta: FailureMeta) => R | undefined;
91
97
  /** Freeze inputs at entry (default `true`). Pass `false` for hot paths. */
@@ -98,23 +104,8 @@ type MutationOpts<TArgs extends readonly unknown[], R extends BaseAuditRecord> =
98
104
  version: string | number;
99
105
  };
100
106
  };
101
- type WrapMutationOpts<TArgs extends readonly unknown[], R extends BaseAuditRecord> = MutationOpts<TArgs, R>;
102
- type LightMutationOpts<TArgs extends readonly unknown[], R extends BaseAuditRecord> = MutationOpts<TArgs, R>;
103
- /**
104
- * Advance a cursor node and return the new value. Emits `[DIRTY], [DATA, next]`
105
- * directly on the cursor — atomic outside a batch, rollback-discardable inside.
106
- *
107
- * Resets to `0` if the cursor cache is missing, non-numeric, `NaN`, or
108
- * non-finite (e.g. corrupted by `restore()` from a malformed snapshot, or
109
- * by a misbehaving codec). `??` alone would let `NaN` and `""` pass through
110
- * and silently corrupt audit ordering downstream.
111
- *
112
- * Works whether or not the cursor has any subscribers — `down` updates the
113
- * cache regardless, so primitives that bump before consumers attach (e.g.
114
- * `JobQueueGraph.enqueue`) still see a coherent sequence.
115
- *
116
- * @category internal
117
- */
107
+ type WrapMutationOpts<TArgs extends readonly unknown[], TResult, R extends BaseAuditRecord> = MutationOpts<TArgs, TResult, R>;
108
+ type LightMutationOpts<TArgs extends readonly unknown[], TResult, R extends BaseAuditRecord> = MutationOpts<TArgs, TResult, R>;
118
109
  declare function bumpCursor(seq: Node<number>): number;
119
110
  /**
120
111
  * Build a record via the supplied builder, stamp `handlerVersion` if present,
@@ -129,9 +120,9 @@ declare function appendAudit<TArgs extends readonly unknown[], TValue, R extends
129
120
  version: string | number;
130
121
  }): void;
131
122
  /**
132
- * Substrate-tier wrapper: run `action`, append a typed audit record on
133
- * success or failure, advance an optional `seq` cursor. No batch frame — this
134
- * is the hot-path-friendly variant for atomic single-write mutations.
123
+ * Substrate-tier wrapper: run `action`, optionally append a typed audit record
124
+ * on success or failure, advance an optional `seq` cursor. No batch frame —
125
+ * this is the hot-path-friendly variant for atomic single-write mutations.
135
126
  *
136
127
  * Behavior contract:
137
128
  * 1. Freeze args at entry (default `true`; opt out with `freeze: false` for
@@ -140,9 +131,13 @@ declare function appendAudit<TArgs extends readonly unknown[], TValue, R extends
140
131
  * 2. Bump `seq` (if provided) BEFORE the action runs. There is no batch frame,
141
132
  * so the bump persists even on throw — the failure-audit record stamps the
142
133
  * same `seq` so audit consumers see a contiguous sequence.
143
- * 3. Run `action(args)`. On success, `appendAudit(onSuccess, ...)`.
144
- * 4. On throw, `appendAudit(onFailure, ...)` then re-throw so callers see the
145
- * failure.
134
+ * 3. Run `action(args)`. On success, if `audit` is provided AND `onSuccess`
135
+ * is set, `appendAudit(onSuccess, ...)`.
136
+ * 4. On throw, if `audit` is provided AND `onFailure` is set,
137
+ * `appendAudit(onFailure, ...)` then re-throw. When `audit` is omitted the
138
+ * wrapper still provides freeze + seq + re-throw semantics — useful for
139
+ * primitives that want centralized mutation contracts without an audit log
140
+ * surface (e.g. `Topic.publish`).
146
141
  *
147
142
  * **Distinguish from {@link wrapMutation}:** `wrapMutation` opens a `batch()`
148
143
  * frame (rollback-on-throw, seq advance discarded on rollback) and is the
@@ -164,7 +159,7 @@ declare function appendAudit<TArgs extends readonly unknown[], TValue, R extends
164
159
  *
165
160
  * @category internal
166
161
  */
167
- declare function lightMutation<TArgs extends readonly unknown[], TResult, R extends BaseAuditRecord>(action: (...args: TArgs) => TResult, opts: LightMutationOpts<TArgs, R>): (...args: TArgs) => TResult;
162
+ declare function lightMutation<TArgs extends readonly unknown[], TResult, R extends BaseAuditRecord>(action: (...args: TArgs) => TResult, opts: LightMutationOpts<TArgs, TResult, R>): (...args: TArgs) => TResult;
168
163
  /**
169
164
  * Orchestration-tier wrapper: like {@link lightMutation} but adds a `batch()`
170
165
  * frame around the action so an in-flight throw rolls back partial state.
@@ -175,10 +170,14 @@ declare function lightMutation<TArgs extends readonly unknown[], TResult, R exte
175
170
  * 3. Bump `seq` INSIDE the batch so a framework-level rollback discards the
176
171
  * cursor advance (cursor stays in sync with audit log). M5.
177
172
  * 4. Run `action(args)` and capture result.
178
- * 5. On success: `appendAudit(onSuccess, ...)` inside the batch.
179
- * 6. On throw: catch OUTSIDE the batch so the failure record emits in a
180
- * fresh transaction after rollback it persists. Re-throw so callers see
181
- * the failure.
173
+ * 5. On success: if `audit` is provided AND `onSuccess` is set,
174
+ * `appendAudit(onSuccess, ...)` inside the batch.
175
+ * 6. On throw: catch OUTSIDE the batch so the failure record (if any) emits
176
+ * in a fresh transaction after rollback — it persists. Re-throw so callers
177
+ * see the failure. When `audit` is omitted the wrapper still provides
178
+ * batch + freeze + rollback + re-throw semantics — useful for primitives
179
+ * that want orchestration-tier mutation contracts without an audit log
180
+ * surface.
182
181
  *
183
182
  * **Distinguish from the file-private `wrapMutation` in
184
183
  * `src/extra/reactive-map.ts:540`:** that helper is a transactional wrapper
@@ -188,7 +187,7 @@ declare function lightMutation<TArgs extends readonly unknown[], TResult, R exte
188
187
  *
189
188
  * @category internal
190
189
  */
191
- declare function wrapMutation<TArgs extends readonly unknown[], TResult, R extends BaseAuditRecord>(action: (...args: TArgs) => TResult, opts: WrapMutationOpts<TArgs, R>): (...args: TArgs) => TResult;
190
+ declare function wrapMutation<TArgs extends readonly unknown[], TResult, R extends BaseAuditRecord>(action: (...args: TArgs) => TResult, opts: WrapMutationOpts<TArgs, TResult, R>): (...args: TArgs) => TResult;
192
191
  /**
193
192
  * Promote a closure counter to a state node mounted under `graph`.
194
193
  * Replaces ad-hoc `let _seq = 0` patterns with a node observable in
@@ -1,5 +1,5 @@
1
- import { N as Node, a as NodeOptions } from './node-BYInONRr.cjs';
2
- import { a as GraphOptions, G as Graph } from './graph-E6likq7w.cjs';
1
+ import { N as Node, a as NodeOptions } from './node-ClS5yC-B.cjs';
2
+ import { a as GraphOptions, G as Graph } from './graph-C4SHb3Ly.cjs';
3
3
 
4
4
  /**
5
5
  * Reduction primitives (roadmap §8.1).
@@ -1,4 +1,4 @@
1
- import { N as Node } from './node-BYInONRr.cjs';
1
+ import { N as Node } from './node-ClS5yC-B.cjs';
2
2
 
3
3
  /**
4
4
  * Options for creating an atom.
@@ -1,5 +1,5 @@
1
1
  import { Ref, WatchSource } from 'vue';
2
- import { N as Node } from './node-BYInONRr.js';
2
+ import { N as Node } from './node-ClS5yC-B.js';
3
3
 
4
4
  /**
5
5
  * Subscribe to a read-only `Node<T>` as a Vue `Ref<T>`. Auto-unsubscribes on scope disposal.