@graphrefly/graphrefly 0.33.0 → 0.35.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 (336) hide show
  1. package/dist/{cascading-DKIb6Pk8.d.cts → cascading-B25wxpRa.d.cts} +3 -3
  2. package/dist/{cascading-Bg0a4VSf.d.ts → cascading-BsJ4GbnS.d.ts} +3 -3
  3. package/dist/{chunk-TZLEMGAK.js → chunk-2Y3DKIZL.js} +2 -2
  4. package/dist/chunk-3OT7K33Q.js +1 -0
  5. package/dist/chunk-53XJ2S6D.js +1 -0
  6. package/dist/chunk-5CPPC75H.js +1 -0
  7. package/dist/chunk-5KPIYVCC.js +7 -0
  8. package/dist/{chunk-GAOX6OPT.js → chunk-5XZRCS2M.js} +1 -1
  9. package/dist/{chunk-C5DINHNP.js → chunk-6G5YD37E.js} +1 -1
  10. package/dist/{chunk-WBWBY6LI.js → chunk-6SVKZ7VI.js} +1 -1
  11. package/dist/chunk-A5HZZYRK.js +1 -0
  12. package/dist/chunk-BGEY3PXH.js +1 -0
  13. package/dist/chunk-CD4CB6S7.js +1 -0
  14. package/dist/chunk-CE72X3WO.js +1 -0
  15. package/dist/chunk-CUQFO6MT.js +1 -0
  16. package/dist/chunk-D5RFJOZ2.js +1 -0
  17. package/dist/chunk-E5YSBQSF.js +61 -0
  18. package/dist/{chunk-SFIM774L.js → chunk-EUE7ELFQ.js} +1 -1
  19. package/dist/chunk-F3IGTWCQ.js +1 -0
  20. package/dist/chunk-F672GV32.js +1 -0
  21. package/dist/{chunk-GCUYSIM4.js → chunk-GWOKTENT.js} +1 -1
  22. package/dist/{chunk-4NYSEUKV.js → chunk-J6TGRQUP.js} +1 -1
  23. package/dist/{chunk-4F564IPP.js → chunk-JJTF75VS.js} +1 -1
  24. package/dist/{chunk-BY4WKPKM.js → chunk-JUJEPZOI.js} +1 -1
  25. package/dist/chunk-M5UC63ZI.js +43 -0
  26. package/dist/chunk-MQZWA3DF.js +1 -0
  27. package/dist/chunk-MYFR67PY.js +18 -0
  28. package/dist/chunk-PCD2MU7X.js +5 -0
  29. package/dist/{chunk-YDWTVO4E.js → chunk-PIIUJIF7.js} +1 -1
  30. package/dist/chunk-PVUTRA5K.js +5 -0
  31. package/dist/chunk-Q7EUZ6NN.js +1 -0
  32. package/dist/chunk-RLMYS3XZ.js +1 -0
  33. package/dist/chunk-RRFOCAH6.js +1 -0
  34. package/dist/{chunk-Q46YJCQH.js → chunk-T6RPUERH.js} +1 -1
  35. package/dist/{chunk-IPNJDNE7.js → chunk-T7GWBGOO.js} +1 -1
  36. package/dist/{chunk-U2T2XWDA.js → chunk-U347KVM4.js} +1 -1
  37. package/dist/chunk-UAMWD4GG.js +1 -0
  38. package/dist/chunk-VN6RDSK2.js +1 -0
  39. package/dist/{chunk-CJMFZXIZ.js → chunk-W2ZU226Q.js} +1 -1
  40. package/dist/{chunk-UF746BQ4.js → chunk-XINLP35X.js} +1 -1
  41. package/dist/{chunk-TONEKQM3.js → chunk-XMDNNSMK.js} +1 -1
  42. package/dist/{chunk-INXDSJRC.js → chunk-YOUAVGHJ.js} +1 -1
  43. package/dist/chunk-YV2A2VWG.js +1 -0
  44. package/dist/{chunk-PBN426RU.js → chunk-ZGVA2SR5.js} +1 -1
  45. package/dist/compat/index.cjs +10 -10
  46. package/dist/compat/index.d.cts +17 -14
  47. package/dist/compat/index.d.ts +17 -14
  48. package/dist/compat/index.js +1 -1
  49. package/dist/compat/jotai/index.d.cts +2 -2
  50. package/dist/compat/jotai/index.d.ts +2 -2
  51. package/dist/compat/nanostores/index.d.cts +2 -2
  52. package/dist/compat/nanostores/index.d.ts +2 -2
  53. package/dist/compat/nestjs/index.cjs +12 -12
  54. package/dist/compat/nestjs/index.d.cts +9 -6
  55. package/dist/compat/nestjs/index.d.ts +9 -6
  56. package/dist/compat/nestjs/index.js +1 -1
  57. package/dist/compat/react/index.d.cts +2 -2
  58. package/dist/compat/react/index.d.ts +2 -2
  59. package/dist/compat/solid/index.d.cts +2 -2
  60. package/dist/compat/solid/index.d.ts +2 -2
  61. package/dist/compat/svelte/index.d.cts +2 -2
  62. package/dist/compat/svelte/index.d.ts +2 -2
  63. package/dist/compat/vue/index.d.cts +2 -2
  64. package/dist/compat/vue/index.d.ts +2 -2
  65. package/dist/compat/zustand/index.cjs +7 -7
  66. package/dist/compat/zustand/index.d.cts +5 -4
  67. package/dist/compat/zustand/index.d.ts +5 -4
  68. package/dist/compat/zustand/index.js +1 -1
  69. package/dist/{composite-BPDU_XV1.d.ts → composite-CT_mApQD.d.ts} +2 -2
  70. package/dist/{composite-CmvdhTJe.d.cts → composite-_XckYx2e.d.cts} +2 -2
  71. package/dist/{content-addressed-storage-DqIWCmZG.d.cts → content-addressed-storage-4-ST1tYk.d.cts} +5 -5
  72. package/dist/{content-addressed-storage-BUiREIuj.d.ts → content-addressed-storage-DuYMjV7o.d.ts} +5 -5
  73. package/dist/core/index.d.cts +4 -4
  74. package/dist/core/index.d.ts +4 -4
  75. package/dist/extra/browser.cjs +1 -1
  76. package/dist/extra/browser.d.cts +4 -3
  77. package/dist/extra/browser.d.ts +4 -3
  78. package/dist/extra/browser.js +1 -1
  79. package/dist/extra/index.cjs +19 -19
  80. package/dist/extra/index.d.cts +13 -12
  81. package/dist/extra/index.d.ts +13 -12
  82. package/dist/extra/index.js +1 -1
  83. package/dist/extra/node.cjs +2 -3
  84. package/dist/extra/node.d.cts +3 -3
  85. package/dist/extra/node.d.ts +3 -3
  86. package/dist/extra/node.js +2 -2
  87. package/dist/extra/operators.cjs +1 -1
  88. package/dist/extra/operators.d.cts +1 -1
  89. package/dist/extra/operators.d.ts +1 -1
  90. package/dist/extra/operators.js +1 -1
  91. package/dist/extra/reactive.cjs +1 -1
  92. package/dist/extra/reactive.d.cts +4 -3
  93. package/dist/extra/reactive.d.ts +4 -3
  94. package/dist/extra/reactive.js +1 -1
  95. package/dist/extra/sources.cjs +1 -1
  96. package/dist/extra/sources.d.cts +57 -2
  97. package/dist/extra/sources.d.ts +57 -2
  98. package/dist/extra/sources.js +1 -1
  99. package/dist/extra/storage-browser.cjs +1 -1
  100. package/dist/extra/storage-browser.d.cts +8 -42
  101. package/dist/extra/storage-browser.d.ts +8 -42
  102. package/dist/extra/storage-browser.js +1 -1
  103. package/dist/extra/storage-core.cjs +1 -1
  104. package/dist/extra/storage-core.d.cts +13 -83
  105. package/dist/extra/storage-core.d.ts +13 -83
  106. package/dist/extra/storage-core.js +1 -1
  107. package/dist/extra/storage-node.cjs +1 -2
  108. package/dist/extra/storage-node.d.cts +1 -59
  109. package/dist/extra/storage-node.d.ts +1 -59
  110. package/dist/extra/storage-node.js +0 -1
  111. package/dist/extra/storage-tiers-browser.cjs +1 -0
  112. package/dist/extra/storage-tiers-browser.d.cts +49 -0
  113. package/dist/extra/storage-tiers-browser.d.ts +49 -0
  114. package/dist/extra/storage-tiers-browser.js +1 -0
  115. package/dist/extra/storage-tiers-node.cjs +1 -0
  116. package/dist/extra/storage-tiers-node.d.cts +86 -0
  117. package/dist/extra/storage-tiers-node.d.ts +86 -0
  118. package/dist/extra/storage-tiers-node.js +1 -0
  119. package/dist/extra/storage-tiers.cjs +1 -0
  120. package/dist/extra/storage-tiers.d.cts +284 -0
  121. package/dist/extra/storage-tiers.d.ts +284 -0
  122. package/dist/extra/storage-tiers.js +1 -0
  123. package/dist/{fallback-mYSd8vQo.d.ts → fallback-DuEXfA4F.d.ts} +14 -14
  124. package/dist/{fallback-9YznPvPP.d.cts → fallback-axI2cXwt.d.cts} +14 -14
  125. package/dist/graph/index.cjs +3 -3
  126. package/dist/graph/index.d.cts +6 -5
  127. package/dist/graph/index.d.ts +6 -5
  128. package/dist/graph/index.js +1 -1
  129. package/dist/{graph-BROUZPG9.d.ts → graph-Cv-8x0ZI.d.ts} +28 -16
  130. package/dist/{graph-DaoydJ_u.d.cts → graph-kTltt95s.d.cts} +28 -16
  131. package/dist/imperative-audit-ahAE65a9.d.cts +28 -0
  132. package/dist/imperative-audit-ahAE65a9.d.ts +28 -0
  133. package/dist/{index-CI5fULSz.d.ts → index-8OxXae3g.d.ts} +1 -1
  134. package/dist/{index-CQ1gt4rn.d.cts → index-9xhIaM-w.d.cts} +1 -1
  135. package/dist/{index-DhWrMTI6.d.cts → index-B3D_z0Z6.d.cts} +1 -1
  136. package/dist/{index-Ccv_61jG.d.cts → index-B3Dfl5sS.d.cts} +110 -27
  137. package/dist/{index-Dia4yc2y.d.ts → index-B4s70vYf.d.ts} +4 -4
  138. package/dist/{index-Db21wuaD.d.ts → index-B5UR87KG.d.ts} +3 -3
  139. package/dist/{index-DuvQAU02.d.ts → index-BBdwz2BW.d.ts} +2 -2
  140. package/dist/{index-B5eS17Bz.d.ts → index-BEvsFlfH.d.ts} +47 -32
  141. package/dist/{index-BUtCR0k6.d.ts → index-BF-ssbJB.d.ts} +7 -7
  142. package/dist/{index-ClKm7CFB.d.cts → index-BFuVcqL8.d.cts} +1 -1
  143. package/dist/{index-BkfL5MXh.d.cts → index-BWH17rK_.d.cts} +3 -3
  144. package/dist/{index-CD7qmvSf.d.ts → index-BZ1V5GzX.d.ts} +3 -3
  145. package/dist/{index-BDEhWLF4.d.cts → index-BhkPzu-Z.d.cts} +4 -4
  146. package/dist/{index-CNxdDb2e.d.ts → index-Bilohojo.d.ts} +3 -3
  147. package/dist/{index-zA1uVtk0.d.ts → index-BiomL7AW.d.ts} +1 -1
  148. package/dist/{index-BWiX5foT.d.ts → index-BjWZARLy.d.ts} +1 -1
  149. package/dist/{index-Dgcd59CJ.d.cts → index-BkbawFkI.d.cts} +87 -31
  150. package/dist/{index-RJX4snyi.d.cts → index-BlRVj-7Q.d.cts} +21 -21
  151. package/dist/index-BpFwRAf9.d.cts +26 -0
  152. package/dist/{index-Ds3Rz9m9.d.cts → index-BsZlbHM5.d.cts} +3 -3
  153. package/dist/{index-BFHpNSsV.d.ts → index-BtY2QVDf.d.cts} +8 -7
  154. package/dist/{index-BsxqmV6u.d.ts → index-BuMzxRO2.d.ts} +2 -2
  155. package/dist/{index-C5uMGVJw.d.ts → index-BwYGLgmI.d.ts} +4 -4
  156. package/dist/{index--BTb6HUO.d.ts → index-C40wA8zt.d.ts} +256 -10
  157. package/dist/{index-Bi4ZP6Hc.d.ts → index-C9xF16gc.d.ts} +110 -27
  158. package/dist/index-CAIhFfws.d.ts +171 -0
  159. package/dist/{index-BRisOxlx.d.ts → index-CDvC1m5p.d.ts} +1 -1
  160. package/dist/index-CGKs5ixV.d.cts +287 -0
  161. package/dist/{index-ygRFoyrN.d.ts → index-CI_yjtua.d.ts} +2 -2
  162. package/dist/{index-DxEcY7Om.d.ts → index-CIcu6fIR.d.ts} +1 -1
  163. package/dist/{index-C_cXlbu0.d.cts → index-CfOSES72.d.cts} +256 -10
  164. package/dist/{index-Bd2AjMQY.d.ts → index-Cot94_82.d.ts} +21 -21
  165. package/dist/{index-B1hFhK1K.d.cts → index-CpZKtdMw.d.cts} +1 -1
  166. package/dist/{index-BO6t0HjV.d.cts → index-CqSJ25A9.d.cts} +1 -1
  167. package/dist/{index-Jgl7ev9I.d.cts → index-CzC0G0C3.d.cts} +9 -9
  168. package/dist/{index-p0bkNfby.d.cts → index-D6JRP-1_.d.cts} +3 -3
  169. package/dist/{index-D23g00HE.d.cts → index-D7r_vd0b.d.cts} +4 -4
  170. package/dist/{index-Cp91Sxbo.d.cts → index-D8IyqHvT.d.cts} +3 -3
  171. package/dist/{index-iKsmdnq6.d.cts → index-D9qoEOj_.d.cts} +2 -2
  172. package/dist/index-DBmBtqAN.d.ts +461 -0
  173. package/dist/{index-nP13Qe6T.d.ts → index-DFe2Pk2u.d.ts} +1 -1
  174. package/dist/{index-Cn3taOmp.d.cts → index-DKp1CIbG.d.cts} +2 -2
  175. package/dist/{index-CoR-tOZA.d.cts → index-DSD6xnbT.d.ts} +8 -7
  176. package/dist/{index-DheNs40A.d.ts → index-DXSLMoma.d.ts} +2 -2
  177. package/dist/{index-ZIQaKIdY.d.cts → index-DXZsXxtU.d.cts} +47 -32
  178. package/dist/{index-BVTjuKeP.d.cts → index-D_QQ_dTD.d.cts} +1 -1
  179. package/dist/{index-ChZvMC4M.d.cts → index-DeyzuqAi.d.cts} +7 -7
  180. package/dist/{index-Chi9IiHJ.d.ts → index-DlccEIi3.d.ts} +3 -3
  181. package/dist/{index-DR3XqZlV.d.cts → index-DmtWMP0X.d.cts} +1 -1
  182. package/dist/{index-DDf8PoPO.d.ts → index-Dp69u0ym.d.ts} +87 -31
  183. package/dist/{index-b4a6Sg0R.d.ts → index-DwNNufVa.d.ts} +4 -4
  184. package/dist/{index-D80nGRb9.d.ts → index-DzYTXMBz.d.ts} +3 -3
  185. package/dist/index-DzgS5uYi.d.ts +26 -0
  186. package/dist/{index-B-KCkW4M.d.cts → index-GaW6Welt.d.cts} +4 -4
  187. package/dist/{index-DupIl9wI.d.ts → index-JYtN9uqM.d.ts} +1 -1
  188. package/dist/{index-Ced0dphF.d.ts → index-KNAMYngu.d.ts} +9 -9
  189. package/dist/{index-BpjQanLs.d.cts → index-PluovH45.d.cts} +2 -2
  190. package/dist/index-Qq-G9B6g.d.cts +171 -0
  191. package/dist/{index-yJY9thRY.d.cts → index-XxSeddWP.d.cts} +2 -2
  192. package/dist/{index-C8_bnDBZ.d.cts → index-ZhKyR8co.d.cts} +3 -3
  193. package/dist/index-hXKhbfh-.d.ts +287 -0
  194. package/dist/index-zK_mN1D-.d.cts +461 -0
  195. package/dist/index.cjs +54 -54
  196. package/dist/index.d.cts +53 -49
  197. package/dist/index.d.ts +53 -49
  198. package/dist/index.js +1 -1
  199. package/dist/{meta-BdjSt8ky.d.cts → meta-BGO6C7K9.d.cts} +1 -1
  200. package/dist/{meta-CtDjj7cU.d.ts → meta-CC6EPdpK.d.ts} +1 -1
  201. package/dist/{node-8qx0kgYt.d.cts → node-fSc-hCv8.d.cts} +1 -1
  202. package/dist/{node-8qx0kgYt.d.ts → node-fSc-hCv8.d.ts} +1 -1
  203. package/dist/{observable-B6Ba-TTI.d.cts → observable-Cqty11jG.d.cts} +1 -1
  204. package/dist/{observable-DOniYM2B.d.ts → observable-EAV_rNfM.d.ts} +1 -1
  205. package/dist/patterns/ai/browser.cjs +5 -5
  206. package/dist/patterns/ai/browser.d.cts +4 -4
  207. package/dist/patterns/ai/browser.d.ts +4 -4
  208. package/dist/patterns/ai/browser.js +1 -1
  209. package/dist/patterns/ai/index.cjs +19 -19
  210. package/dist/patterns/ai/index.d.cts +19 -17
  211. package/dist/patterns/ai/index.d.ts +19 -17
  212. package/dist/patterns/ai/index.js +1 -1
  213. package/dist/patterns/ai/node.cjs +1 -2
  214. package/dist/patterns/ai/node.d.cts +9 -9
  215. package/dist/patterns/ai/node.d.ts +9 -9
  216. package/dist/patterns/ai/node.js +1 -1
  217. package/dist/patterns/audit/index.cjs +6 -6
  218. package/dist/patterns/audit/index.d.cts +7 -5
  219. package/dist/patterns/audit/index.d.ts +7 -5
  220. package/dist/patterns/audit/index.js +1 -1
  221. package/dist/patterns/cqrs/index.cjs +7 -7
  222. package/dist/patterns/cqrs/index.d.cts +7 -4
  223. package/dist/patterns/cqrs/index.d.ts +7 -4
  224. package/dist/patterns/cqrs/index.js +1 -1
  225. package/dist/patterns/demo-shell/index.cjs +8 -8
  226. package/dist/patterns/demo-shell/index.d.cts +6 -5
  227. package/dist/patterns/demo-shell/index.d.ts +6 -5
  228. package/dist/patterns/demo-shell/index.js +1 -1
  229. package/dist/patterns/domain-templates/index.cjs +5 -5
  230. package/dist/patterns/domain-templates/index.d.cts +5 -4
  231. package/dist/patterns/domain-templates/index.d.ts +5 -4
  232. package/dist/patterns/domain-templates/index.js +1 -1
  233. package/dist/patterns/graphspec/index.cjs +20 -20
  234. package/dist/patterns/graphspec/index.d.cts +6 -5
  235. package/dist/patterns/graphspec/index.d.ts +6 -5
  236. package/dist/patterns/graphspec/index.js +1 -1
  237. package/dist/patterns/guarded-execution/index.cjs +7 -7
  238. package/dist/patterns/guarded-execution/index.d.cts +8 -6
  239. package/dist/patterns/guarded-execution/index.d.ts +8 -6
  240. package/dist/patterns/guarded-execution/index.js +1 -1
  241. package/dist/patterns/harness/index.cjs +12 -12
  242. package/dist/patterns/harness/index.d.cts +14 -11
  243. package/dist/patterns/harness/index.d.ts +14 -11
  244. package/dist/patterns/harness/index.js +1 -1
  245. package/dist/patterns/job-queue/index.cjs +7 -7
  246. package/dist/patterns/job-queue/index.d.cts +8 -4
  247. package/dist/patterns/job-queue/index.d.ts +8 -4
  248. package/dist/patterns/job-queue/index.js +1 -1
  249. package/dist/patterns/lens/index.cjs +4 -4
  250. package/dist/patterns/lens/index.d.cts +7 -6
  251. package/dist/patterns/lens/index.d.ts +7 -6
  252. package/dist/patterns/lens/index.js +1 -1
  253. package/dist/patterns/memory/index.cjs +1 -1
  254. package/dist/patterns/memory/index.d.cts +5 -4
  255. package/dist/patterns/memory/index.d.ts +5 -4
  256. package/dist/patterns/memory/index.js +1 -1
  257. package/dist/patterns/messaging/index.cjs +7 -7
  258. package/dist/patterns/messaging/index.d.cts +6 -4
  259. package/dist/patterns/messaging/index.d.ts +6 -4
  260. package/dist/patterns/messaging/index.js +1 -1
  261. package/dist/patterns/orchestration/index.cjs +7 -7
  262. package/dist/patterns/orchestration/index.d.cts +8 -5
  263. package/dist/patterns/orchestration/index.d.ts +8 -5
  264. package/dist/patterns/orchestration/index.js +1 -1
  265. package/dist/patterns/process/index.cjs +1 -0
  266. package/dist/patterns/process/index.d.cts +10 -0
  267. package/dist/patterns/process/index.d.ts +10 -0
  268. package/dist/patterns/process/index.js +1 -0
  269. package/dist/patterns/reactive-layout/index.cjs +5 -5
  270. package/dist/patterns/reactive-layout/index.d.cts +6 -5
  271. package/dist/patterns/reactive-layout/index.d.ts +6 -5
  272. package/dist/patterns/reactive-layout/index.js +1 -1
  273. package/dist/patterns/reduction/index.cjs +1 -1
  274. package/dist/patterns/reduction/index.d.cts +5 -4
  275. package/dist/patterns/reduction/index.d.ts +5 -4
  276. package/dist/patterns/reduction/index.js +1 -1
  277. package/dist/patterns/refine-loop/index.cjs +8 -8
  278. package/dist/patterns/refine-loop/index.d.cts +7 -5
  279. package/dist/patterns/refine-loop/index.d.ts +7 -5
  280. package/dist/patterns/refine-loop/index.js +1 -1
  281. package/dist/patterns/resilient-pipeline/index.cjs +1 -1
  282. package/dist/patterns/resilient-pipeline/index.d.cts +7 -6
  283. package/dist/patterns/resilient-pipeline/index.d.ts +7 -6
  284. package/dist/patterns/resilient-pipeline/index.js +1 -1
  285. package/dist/patterns/surface/index.cjs +11 -11
  286. package/dist/patterns/surface/index.d.cts +7 -6
  287. package/dist/patterns/surface/index.d.ts +7 -6
  288. package/dist/patterns/surface/index.js +1 -1
  289. package/dist/pipeline-graph-B85HUrWg.d.cts +120 -0
  290. package/dist/pipeline-graph-HOTU4UG0.d.ts +120 -0
  291. package/dist/{reactive-layout-DBJ3Vz-m.d.ts → reactive-layout-Btv0-efV.d.ts} +2 -2
  292. package/dist/{reactive-layout-Dk9AOQb_.d.cts → reactive-layout-D9zqqaqK.d.cts} +2 -2
  293. package/dist/reactive-log-ByBb8g6A.d.ts +188 -0
  294. package/dist/reactive-log-CgbNqksB.d.cts +188 -0
  295. package/dist/{reactive-map-LjwjcFaW.d.ts → reactive-map-CHyeCf4D.d.ts} +1 -1
  296. package/dist/{reactive-map-Cm89Hk0c.d.cts → reactive-map-DmgeADH8.d.cts} +1 -1
  297. package/dist/{resilience-RjDIHZNZ.d.ts → resilience-BWP2c7Af.d.cts} +27 -45
  298. package/dist/{resilience-N_VtLf7W.d.cts → resilience-Bys63Cpd.d.ts} +27 -45
  299. package/dist/resilience-OBU472D2.js +1 -0
  300. package/dist/{sugar-CQkn_rxB.d.ts → sugar-D13E2M_z.d.ts} +1 -1
  301. package/dist/{sugar-DVEYhR7a.d.cts → sugar-DgaGJcI6.d.cts} +1 -1
  302. package/dist/{topology-tree-BB6oJxMz.d.cts → topology-tree-C50l9ARE.d.cts} +1 -1
  303. package/dist/{topology-tree-CAFOG5S5.d.ts → topology-tree-CJsT24DP.d.ts} +1 -1
  304. package/dist/{types-Cp_4coR_.d.cts → types-BMSGPlpO.d.cts} +1 -1
  305. package/dist/{types-B2LfBvNc.d.ts → types-CidcBDuk.d.ts} +1 -1
  306. package/package.json +41 -1
  307. package/dist/chunk-2JO6LXFT.js +0 -7
  308. package/dist/chunk-2LZ6DL45.js +0 -1
  309. package/dist/chunk-3JXNEPCD.js +0 -2
  310. package/dist/chunk-55T3K37W.js +0 -1
  311. package/dist/chunk-6HQ6HVTF.js +0 -1
  312. package/dist/chunk-7Q2WPFQ7.js +0 -1
  313. package/dist/chunk-DUK7LTJO.js +0 -43
  314. package/dist/chunk-FKRPIRE6.js +0 -1
  315. package/dist/chunk-HIJ2RKVP.js +0 -1
  316. package/dist/chunk-HTBOCKVD.js +0 -1
  317. package/dist/chunk-I6VIH3VA.js +0 -1
  318. package/dist/chunk-IB64M7VP.js +0 -1
  319. package/dist/chunk-IJFSR4NU.js +0 -1
  320. package/dist/chunk-LOF5HSD3.js +0 -18
  321. package/dist/chunk-O2WY22L7.js +0 -5
  322. package/dist/chunk-T2TB37TW.js +0 -1
  323. package/dist/chunk-T7EQPKOP.js +0 -1
  324. package/dist/chunk-Y63GWRHO.js +0 -5
  325. package/dist/chunk-YUBV7EEE.js +0 -1
  326. package/dist/chunk-Z4GXBOWO.js +0 -61
  327. package/dist/index-C2Dey3L-.d.cts +0 -152
  328. package/dist/index-ClJUZAOr.d.cts +0 -101
  329. package/dist/index-Cq7Uqgu4.d.ts +0 -192
  330. package/dist/index-Dtpr2FIB.d.ts +0 -101
  331. package/dist/index-HvJ90_tX.d.ts +0 -152
  332. package/dist/index-wcfc7W-f.d.cts +0 -192
  333. package/dist/reactive-log-CWC7jO4J.d.cts +0 -190
  334. package/dist/reactive-log-CqaBg8nf.d.ts +0 -190
  335. package/dist/resilience-7UZHSSGC.js +0 -1
  336. /package/dist/{chunk-L3KUKDZC.js → chunk-O32GJOUJ.js} +0 -0
@@ -1,10 +1,11 @@
1
- import { a as Node } from './node-8qx0kgYt.js';
2
- import { T as TopicGraph, M as MessagingHubGraph } from './index-Bi4ZP6Hc.js';
3
- import { L as LLMAdapter } from './types-B2LfBvNc.js';
4
- import { E as Evaluator, D as DatasetItem, a as EvalResult$1, R as RefineStrategy, b as RefineLoopOptions, c as RefineStatus } from './index-BUtCR0k6.js';
5
- import { G as Graph, s as GraphProfileResult, r as GraphProfileOptions } from './graph-BROUZPG9.js';
6
- import { G as GateController } from './index-HvJ90_tX.js';
7
- import { J as JobQueueGraph } from './index-Dtpr2FIB.js';
1
+ import { NodeInput } from './extra/sources.js';
2
+ import { a as Node } from './node-fSc-hCv8.js';
3
+ import { L as LLMAdapter } from './types-CidcBDuk.js';
4
+ import { T as TopicGraph, M as MessagingHubGraph } from './index-C9xF16gc.js';
5
+ import { E as Evaluator, D as DatasetItem, a as EvalResult$1, R as RefineStrategy, b as RefineLoopOptions, c as RefineStatus } from './index-BF-ssbJB.js';
6
+ import { G as Graph, s as GraphProfileResult, r as GraphProfileOptions } from './graph-Cv-8x0ZI.js';
7
+ import { G as GateController } from './pipeline-graph-HOTU4UG0.js';
8
+ import { J as JobQueueGraph } from './index-CAIhFfws.js';
8
9
 
9
10
  /**
10
11
  * Strategy model and priority scoring (roadmap §9.0).
@@ -349,6 +350,226 @@ interface HarnessLoopOptions<A = unknown> {
349
350
  retainedLimit?: number;
350
351
  }
351
352
 
353
+ /**
354
+ * actuatorExecutor — bridge a side-effecting actuator into the harness EXECUTE slot.
355
+ *
356
+ * `refineExecutor` covers the artifact-typed case (refine a candidate
357
+ * `T` against an evaluator); `actuatorExecutor` covers the side-effecting
358
+ * case (write a catalog entry, mutate a template registry, edit a doc on
359
+ * disk). The user's `apply` callback owns the side effect; the executor
360
+ * wraps it in the per-item lifecycle that makes the four
361
+ * {@link HarnessExecutor} contract rules structurally unreachable:
362
+ *
363
+ * 1. **One DATA per actuation.** The inner producer captures the first
364
+ * DATA from the bridged `apply` result, emits a single
365
+ * `ExecuteOutput<R>` carrying the actuation record as `artifact`, and
366
+ * completes. Subsequent inner DATAs are ignored.
367
+ * 2. **Cancel-on-supersede.** A new triaged item supersedes via
368
+ * `switchMap`; the prior producer's cleanup fires `ac.abort()`, which
369
+ * propagates into `apply`'s `signal` (and through `fromAny`'s
370
+ * internal cancellation hooks) so signal-aware actuators stop
371
+ * in-flight work instead of double-writing.
372
+ * 3. **Item via deps, not closure mirror.** The triaged item is captured
373
+ * in the `switchMap` callback's lexical scope, not mirrored to a
374
+ * side-state node — same shape as `refineExecutor`.
375
+ * 4. **Fires on result, not input.** The producer emits exactly when
376
+ * `apply`'s bridged node settles (or fails). Input-arrival waves
377
+ * never produce an `ExecuteOutput`.
378
+ *
379
+ * **What `apply` may return.** Anything `fromAny` accepts: a
380
+ * `Promise<R>`, a `Node<R>`, an `AsyncIterable<R>`, an `Iterable<R>`,
381
+ * or a synchronous `R`. `Promise<R>` is the typical shape (`writeFile`,
382
+ * `fetch`, `db.execute`); reactive composition through `Node<R>` is the
383
+ * escape hatch when the actuator itself wants to surface intermediate
384
+ * progress before settling.
385
+ *
386
+ * **Pairing with `evalVerifier`.** `ExecuteOutput.artifact` is set to
387
+ * the actuation record; an `evalVerifier<R>` whose `extractArtifact`
388
+ * returns the record (or a transform of it — typically the post-apply
389
+ * world state needed by the evaluator) closes the EXECUTE → VERIFY loop
390
+ * with consistent typing end-to-end.
391
+ *
392
+ * @module
393
+ */
394
+
395
+ /**
396
+ * What an actuator's `apply` may return. Mirrors `NodeInput<R>` plus a
397
+ * raw `R` for synchronous side effects, so callers can write the most
398
+ * direct shape for their case (Promise for async I/O, raw record for
399
+ * pure in-memory mutation).
400
+ */
401
+ type ActuatorResult<R> = NodeInput<R>;
402
+ /** Configuration for {@link actuatorExecutor}. */
403
+ interface ActuatorExecutorConfig<R> {
404
+ /**
405
+ * Apply the side effect for this triaged item. Receives the abort
406
+ * signal — actuators that own real I/O should thread `signal` into
407
+ * `fetch`, `fs.writeFile`, child-process kills, etc. so that
408
+ * `switchMap` supersede actually cancels in-flight work.
409
+ *
410
+ * The first DATA emitted by the bridged result wins; later DATAs are
411
+ * discarded. ERROR (or a synchronous throw) is mapped via `onError`.
412
+ */
413
+ apply: (item: TriagedItem, opts: {
414
+ signal: AbortSignal;
415
+ }) => ActuatorResult<R>;
416
+ /**
417
+ * Optional gate — when provided and returning `false`, the actuator
418
+ * is skipped and the executor emits an `ExecuteOutput` with
419
+ * `outcome: "failure"` and detail from `skipDetail` (default
420
+ * `"actuator skipped (shouldApply returned false)"`). Use this to
421
+ * route interventions the actuator can't handle (e.g. `intervention:
422
+ * "investigate"` items) into the failure path so the verifier sees
423
+ * them.
424
+ */
425
+ shouldApply?: (item: TriagedItem) => boolean;
426
+ /** Detail string for the skip path. Default: includes intervention name. */
427
+ skipDetail?: (item: TriagedItem) => string;
428
+ /**
429
+ * Map a successfully-applied actuation record into an `ExecuteOutput<R>`.
430
+ * Default: `outcome: "success"`, `detail` references the intervention
431
+ * + summary, `artifact: record`.
432
+ */
433
+ toOutput?: (record: R, item: TriagedItem) => ExecuteOutput<R>;
434
+ /**
435
+ * Map a thrown / ERROR result into an `ExecuteOutput<R>`. Default:
436
+ * `outcome: "failure"`, `detail` carries the error message,
437
+ * `artifact: undefined`.
438
+ */
439
+ onError?: (err: unknown, item: TriagedItem) => ExecuteOutput<R>;
440
+ /** Node name prefix for `describe()` introspection. Default `"actuator-executor"`. */
441
+ name?: string;
442
+ }
443
+ /**
444
+ * Build a {@link HarnessExecutor} backed by a side-effecting actuator.
445
+ *
446
+ * @example File-system actuator that writes a catalog entry and emits the diff.
447
+ * ```ts
448
+ * const harness = harnessLoop("repair", {
449
+ * adapter,
450
+ * executor: actuatorExecutor<CatalogPatch>({
451
+ * async apply(item, { signal }) {
452
+ * const patch = patchFromItem(item);
453
+ * await fs.writeFile(patch.path, patch.contents, { signal });
454
+ * return patch;
455
+ * },
456
+ * shouldApply: (item) => item.intervention === "catalog-fn",
457
+ * }),
458
+ * verifier: evalVerifier<CatalogPatch>({
459
+ * evaluator,
460
+ * datasetFor,
461
+ * extractArtifact: (exec) => exec.artifact ?? null,
462
+ * }),
463
+ * });
464
+ * ```
465
+ */
466
+ declare function actuatorExecutor<R>(config: ActuatorExecutorConfig<R>): HarnessExecutor<R>;
467
+
468
+ /**
469
+ * autoSolidify — promote successful VERIFY runs into a durable artifact
470
+ * (catalog entry, skill, template, doc edit, …).
471
+ *
472
+ * Closes the dogfood retrospective loop: when the harness's VERIFY
473
+ * stage reports `verified: true`, the validated intervention should
474
+ * become an authoring artifact the next loop run can rely on. This
475
+ * primitive is the generic substrate — pass a `write` callback that
476
+ * does the actual promotion (e.g. `overlay.upsertTemplate` for the
477
+ * dogfood catalog overlay; `fs.writeFile` for a doc edit; `ctx.skill`
478
+ * for a Hermes-style skill registry).
479
+ *
480
+ * @example Wire the catalog overlay as the solidify target.
481
+ * ```ts
482
+ * const solidified = autoSolidify({
483
+ * verifyResults: harness.verifyResults.latest,
484
+ * extract: (vr) => vr.execution.artifact ?? null,
485
+ * write: (entry, vr) => overlay.upsertFn(`learned-${vr.item.summary}`, entry),
486
+ * });
487
+ * solidified.subscribe(() => {}); // keep alive for log
488
+ * ```
489
+ *
490
+ * **Why a node and not just an effect.** The returned `Node<R>` emits
491
+ * each promoted artifact, so callers can pipe solidifications through
492
+ * the standard reactive surface (`describe()`, `observe()`, replay
493
+ * buffers) instead of side-channel logging. An audit / dashboard that
494
+ * wants "what was learned this run?" subscribes to the returned node;
495
+ * the `write` callback owns the durable side effect.
496
+ *
497
+ * **Idempotency is the caller's responsibility.** The primitive
498
+ * promotes every `verified: true` wave that passes the predicate. If
499
+ * the harness re-verifies the same item (e.g. via reingestion), the
500
+ * `write` callback is invoked again. Wrap your write fn with a
501
+ * dedup-by-key guard if your target store would otherwise bloat. The
502
+ * inner `seen` set inside this factory is intentionally absent — the
503
+ * harness already retains via topic logs and the user may want
504
+ * re-promotion semantics that are domain-specific.
505
+ *
506
+ * @module
507
+ */
508
+
509
+ /**
510
+ * Configuration for {@link autoSolidify}.
511
+ *
512
+ * `R` is the artifact type the upstream EXECUTE stage produced (and
513
+ * `evalVerifier` carries through `execution.artifact`). `T` is the
514
+ * promotion shape — what `write` consumes and what the returned node
515
+ * emits. Often `T = R`, but they diverge when the actuator's raw
516
+ * artifact needs a transform before storing (e.g. wrap a `CatalogPatch`
517
+ * into a `CatalogEntry` with effectiveness metadata).
518
+ */
519
+ interface AutoSolidifyConfig<R, T = R> {
520
+ /** Reactive verify-result stream. Typically `harness.verifyResults.latest`. */
521
+ verifyResults: Node<VerifyResult<R> | null>;
522
+ /**
523
+ * Pull the value-to-promote out of a verified VerifyResult.
524
+ * Default: `(vr) => vr.execution.artifact as T | null`. Return `null`
525
+ * to skip a particular VerifyResult even when `verified: true` (e.g.
526
+ * an LLM-default executor produces no artifact and there's nothing to
527
+ * solidify).
528
+ */
529
+ extract?: (vr: VerifyResult<R>) => T | null;
530
+ /**
531
+ * Optional gate beyond `verified === true`. When provided, the
532
+ * primitive only promotes when this returns `true`. Default: pass
533
+ * everything verified.
534
+ *
535
+ * Useful predicates:
536
+ * - `(vr) => vr.item.intervention === "catalog-fn"` — only catalog work.
537
+ * - `(vr) => (vr.findings ?? []).every(f => !/regression/i.test(f))` —
538
+ * skip even-passes that mention regressions.
539
+ */
540
+ predicate?: (vr: VerifyResult<R>) => boolean;
541
+ /**
542
+ * Promote — usually a side effect (write to overlay, fs, KG, etc.).
543
+ * Receives the extracted artifact AND the originating VerifyResult so
544
+ * the writer can use any context it needs (item summary, eval task
545
+ * IDs, finding text, …) when shaping the durable record.
546
+ */
547
+ write: (artifact: T, vr: VerifyResult<R>) => void;
548
+ /** Node name for `describe()` introspection. Default `"auto-solidify"`. */
549
+ name?: string;
550
+ }
551
+ /**
552
+ * Build a `Node<T>` that subscribes to `verifyResults`, filters to
553
+ * verified passes that produced an extractable artifact, runs `write`,
554
+ * and emits the artifact. Use the returned node as a subscription
555
+ * point for audit / dashboard / log pipelines.
556
+ *
557
+ * **Terminal-on-error semantics.** A throw from `predicate`, `extract`,
558
+ * or `write` surfaces as `[[ERROR]]` on the returned node and
559
+ * **terminates** it — the upstream subscription tears down and no
560
+ * further DATA is emitted. This matches the spec's terminal-frame
561
+ * contract for ERROR. If you want the solidify node to stay live
562
+ * across user-callback throws, wrap your callbacks with try/catch
563
+ * internally and emit a sentinel value or no-op on failure. A future
564
+ * non-terminal `errors: Node<unknown>` companion may surface failures
565
+ * without terminating the success stream — flagged as a follow-up.
566
+ *
567
+ * @returns A `Node<T>` that emits one DATA per promoted artifact.
568
+ * Stays live as long as `verifyResults` is live AND no user callback
569
+ * has thrown.
570
+ */
571
+ declare function autoSolidify<R, T = R>(config: AutoSolidifyConfig<R, T>): Node<T>;
572
+
352
573
  /**
353
574
  * Harness bridge factories (roadmap §9.0).
354
575
  *
@@ -759,6 +980,26 @@ declare class HarnessGraph<A = unknown> extends Graph {
759
980
  readonly jobs: ReadonlyMap<QueueRoute, JobQueueGraph<TriagedItem>>;
760
981
  /** Per-route gate controllers (only for gated queues). */
761
982
  readonly gates: ReadonlyMap<QueueRoute, GateController<TriagedItem>>;
983
+ /**
984
+ * Per-route queue topics — typed accessor for the four
985
+ * {@link QUEUE_NAMES} entries (`auto-fix`, `needs-decision`,
986
+ * `investigation`, `backlog`). Mirrors the `gates` / `jobs` map
987
+ * shape so callers can iterate `[route, topic]` pairs without
988
+ * hand-rolling `harness.queues.topicNames()` + meta-topic exclusion.
989
+ *
990
+ * Excludes the meta topics that share the hub:
991
+ * `intake` (use {@link intake}), `verify-results` (use
992
+ * {@link verifyResults}), `retry` (use {@link retry}), `__unrouted`
993
+ * (use {@link unrouted}), and the internal `triage-output` fan-in.
994
+ *
995
+ * **Why this exists.** `for (const [, topic] of harness.queues)`
996
+ * appears to iterate via `Graph[Symbol.iterator]`, but that yields
997
+ * locally-registered nodes only — and `MessagingHubGraph` mounts
998
+ * topics as child graphs rather than registering them locally, so
999
+ * the loop yields nothing. This map gives a typed, working
1000
+ * iteration path.
1001
+ */
1002
+ readonly queueTopics: ReadonlyMap<QueueRoute, TopicGraph<TriagedItem>>;
762
1003
  /** Strategy model bundle — record outcomes, lookup effectiveness. */
763
1004
  readonly strategy: StrategyModelBundle;
764
1005
  /** Global retry count across all items (circuit breaker). Reactive — subscribable. */
@@ -773,7 +1014,7 @@ declare class HarnessGraph<A = unknown> extends Graph {
773
1014
  * in to priority scoring.
774
1015
  */
775
1016
  readonly priorityScores?: ReadonlyMap<QueueRoute, Node<number>>;
776
- constructor(name: string, queues: MessagingHubGraph, jobs: Map<QueueRoute, JobQueueGraph<TriagedItem>>, gates: Map<QueueRoute, GateController<TriagedItem>>, strategy: StrategyModelBundle, totalRetries: Node<number>, totalReingestions: Node<number>, priorityScores?: Map<QueueRoute, Node<number>>);
1017
+ constructor(name: string, queues: MessagingHubGraph, queueTopics: Map<QueueRoute, TopicGraph<TriagedItem>>, jobs: Map<QueueRoute, JobQueueGraph<TriagedItem>>, gates: Map<QueueRoute, GateController<TriagedItem>>, strategy: StrategyModelBundle, totalRetries: Node<number>, totalReingestions: Node<number>, priorityScores?: Map<QueueRoute, Node<number>>);
777
1018
  /** Intake topic — publish items here to enter the loop. */
778
1019
  get intake(): TopicGraph<IntakeItem>;
779
1020
  /** Verify results topic — subscribe to see verification outcomes. */
@@ -1011,6 +1252,9 @@ declare function harnessTrace(harness: HarnessGraph, opts?: HarnessTraceOptions)
1011
1252
  * @module
1012
1253
  */
1013
1254
 
1255
+ type index_ActuatorExecutorConfig<R> = ActuatorExecutorConfig<R>;
1256
+ type index_ActuatorResult<R> = ActuatorResult<R>;
1257
+ type index_AutoSolidifyConfig<R, T = R> = AutoSolidifyConfig<R, T>;
1014
1258
  type index_CodeChange = CodeChange;
1015
1259
  type index_CodeChangeBridgeOptions = CodeChangeBridgeOptions;
1016
1260
  declare const index_DEFAULT_DECAY_RATE: typeof DEFAULT_DECAY_RATE;
@@ -1070,7 +1314,9 @@ type index_TriagedItem = TriagedItem;
1070
1314
  type index_VerifyOutput = VerifyOutput;
1071
1315
  type index_VerifyPromptFn<A = unknown> = VerifyPromptFn<A>;
1072
1316
  type index_VerifyResult<A = unknown> = VerifyResult<A>;
1317
+ declare const index_actuatorExecutor: typeof actuatorExecutor;
1073
1318
  declare const index_affectedTaskFilter: typeof affectedTaskFilter;
1319
+ declare const index_autoSolidify: typeof autoSolidify;
1074
1320
  declare const index_beforeAfterCompare: typeof beforeAfterCompare;
1075
1321
  declare const index_codeChangeBridge: typeof codeChangeBridge;
1076
1322
  declare const index_createIntakeBridge: typeof createIntakeBridge;
@@ -1091,7 +1337,7 @@ declare const index_resolvePromptFn: typeof resolvePromptFn;
1091
1337
  declare const index_strategyKey: typeof strategyKey;
1092
1338
  declare const index_strategyModel: typeof strategyModel;
1093
1339
  declare namespace index {
1094
- export { type index_CodeChange as CodeChange, type index_CodeChangeBridgeOptions as CodeChangeBridgeOptions, index_DEFAULT_DECAY_RATE as DEFAULT_DECAY_RATE, index_DEFAULT_EXECUTE_PROMPT as DEFAULT_EXECUTE_PROMPT, index_DEFAULT_QUEUE_CONFIGS as DEFAULT_QUEUE_CONFIGS, index_DEFAULT_SEVERITY_WEIGHTS as DEFAULT_SEVERITY_WEIGHTS, index_DEFAULT_TRIAGE_PROMPT as DEFAULT_TRIAGE_PROMPT, index_DEFAULT_VERIFY_PROMPT as DEFAULT_VERIFY_PROMPT, type index_ErrorClass as ErrorClass, type index_ErrorClassifier as ErrorClassifier, type index_EvalDelta as EvalDelta, type index_EvalIntakeBridgeOptions as EvalIntakeBridgeOptions, type index_EvalJudgeScore as EvalJudgeScore, type index_EvalResult as EvalResult, type index_EvalTaskDelta as EvalTaskDelta, type index_EvalTaskResult as EvalTaskResult, type index_EvalVerifierConfig as EvalVerifierConfig, type index_EvalVerifierSummary as EvalVerifierSummary, type index_ExecuteOutput as ExecuteOutput, type index_ExecutePromptFn as ExecutePromptFn, type index_ExecutionResult as ExecutionResult, type index_HarnessEvalPairConfig as HarnessEvalPairConfig, type index_HarnessExecutor as HarnessExecutor, index_HarnessGraph as HarnessGraph, type index_HarnessLoopOptions as HarnessLoopOptions, type index_HarnessProfileResult as HarnessProfileResult, type index_HarnessTraceHandle as HarnessTraceHandle, type index_HarnessTraceOptions as HarnessTraceOptions, type index_HarnessVerifier as HarnessVerifier, type index_IntakeBridgeOptions as IntakeBridgeOptions, type index_IntakeItem as IntakeItem, type index_IntakeSource as IntakeSource, type index_Intervention as Intervention, type index_KnownIntakeSource as KnownIntakeSource, type index_LintError as LintError, type index_NotifyEffectOptions as NotifyEffectOptions, type index_NotifyTransport as NotifyTransport, type index_PrioritySignals as PrioritySignals, index_QUEUE_NAMES as QUEUE_NAMES, type index_QueueConfig as QueueConfig, type index_QueueRoute as QueueRoute, type index_RefineExecutorConfig as RefineExecutorConfig, type index_RefineExecutorResult as RefineExecutorResult, type index_RootCause as RootCause, type index_Severity as Severity, type index_StrategyEntry as StrategyEntry, type index_StrategyKey as StrategyKey, type index_StrategyModelBundle as StrategyModelBundle, type index_StrategySnapshot as StrategySnapshot, type index_TestFailure as TestFailure, type index_TraceDetail as TraceDetail, type index_TraceEvent as TraceEvent, type index_TraceEventType as TraceEventType, type index_TriagePromptFn as TriagePromptFn, type index_TriagedItem as TriagedItem, type index_VerifyOutput as VerifyOutput, type index_VerifyPromptFn as VerifyPromptFn, type index_VerifyResult as VerifyResult, index_affectedTaskFilter as affectedTaskFilter, index_beforeAfterCompare as beforeAfterCompare, index_codeChangeBridge as codeChangeBridge, index_createIntakeBridge as createIntakeBridge, index_defaultErrorClassifier as defaultErrorClassifier, index_defaultLlmExecutor as defaultLlmExecutor, index_defaultLlmVerifier as defaultLlmVerifier, index_evalIntakeBridge as evalIntakeBridge, index_evalSource as evalSource, index_evalVerifier as evalVerifier, index_harnessEvalPair as harnessEvalPair, index_harnessLoop as harnessLoop, index_harnessProfile as harnessProfile, index_harnessTrace as harnessTrace, index_notifyEffect as notifyEffect, index_priorityScore as priorityScore, index_refineExecutor as refineExecutor, index_resolvePromptFn as resolvePromptFn, index_strategyKey as strategyKey, index_strategyModel as strategyModel };
1340
+ export { type index_ActuatorExecutorConfig as ActuatorExecutorConfig, type index_ActuatorResult as ActuatorResult, type index_AutoSolidifyConfig as AutoSolidifyConfig, type index_CodeChange as CodeChange, type index_CodeChangeBridgeOptions as CodeChangeBridgeOptions, index_DEFAULT_DECAY_RATE as DEFAULT_DECAY_RATE, index_DEFAULT_EXECUTE_PROMPT as DEFAULT_EXECUTE_PROMPT, index_DEFAULT_QUEUE_CONFIGS as DEFAULT_QUEUE_CONFIGS, index_DEFAULT_SEVERITY_WEIGHTS as DEFAULT_SEVERITY_WEIGHTS, index_DEFAULT_TRIAGE_PROMPT as DEFAULT_TRIAGE_PROMPT, index_DEFAULT_VERIFY_PROMPT as DEFAULT_VERIFY_PROMPT, type index_ErrorClass as ErrorClass, type index_ErrorClassifier as ErrorClassifier, type index_EvalDelta as EvalDelta, type index_EvalIntakeBridgeOptions as EvalIntakeBridgeOptions, type index_EvalJudgeScore as EvalJudgeScore, type index_EvalResult as EvalResult, type index_EvalTaskDelta as EvalTaskDelta, type index_EvalTaskResult as EvalTaskResult, type index_EvalVerifierConfig as EvalVerifierConfig, type index_EvalVerifierSummary as EvalVerifierSummary, type index_ExecuteOutput as ExecuteOutput, type index_ExecutePromptFn as ExecutePromptFn, type index_ExecutionResult as ExecutionResult, type index_HarnessEvalPairConfig as HarnessEvalPairConfig, type index_HarnessExecutor as HarnessExecutor, index_HarnessGraph as HarnessGraph, type index_HarnessLoopOptions as HarnessLoopOptions, type index_HarnessProfileResult as HarnessProfileResult, type index_HarnessTraceHandle as HarnessTraceHandle, type index_HarnessTraceOptions as HarnessTraceOptions, type index_HarnessVerifier as HarnessVerifier, type index_IntakeBridgeOptions as IntakeBridgeOptions, type index_IntakeItem as IntakeItem, type index_IntakeSource as IntakeSource, type index_Intervention as Intervention, type index_KnownIntakeSource as KnownIntakeSource, type index_LintError as LintError, type index_NotifyEffectOptions as NotifyEffectOptions, type index_NotifyTransport as NotifyTransport, type index_PrioritySignals as PrioritySignals, index_QUEUE_NAMES as QUEUE_NAMES, type index_QueueConfig as QueueConfig, type index_QueueRoute as QueueRoute, type index_RefineExecutorConfig as RefineExecutorConfig, type index_RefineExecutorResult as RefineExecutorResult, type index_RootCause as RootCause, type index_Severity as Severity, type index_StrategyEntry as StrategyEntry, type index_StrategyKey as StrategyKey, type index_StrategyModelBundle as StrategyModelBundle, type index_StrategySnapshot as StrategySnapshot, type index_TestFailure as TestFailure, type index_TraceDetail as TraceDetail, type index_TraceEvent as TraceEvent, type index_TraceEventType as TraceEventType, type index_TriagePromptFn as TriagePromptFn, type index_TriagedItem as TriagedItem, type index_VerifyOutput as VerifyOutput, type index_VerifyPromptFn as VerifyPromptFn, type index_VerifyResult as VerifyResult, index_actuatorExecutor as actuatorExecutor, index_affectedTaskFilter as affectedTaskFilter, index_autoSolidify as autoSolidify, index_beforeAfterCompare as beforeAfterCompare, index_codeChangeBridge as codeChangeBridge, index_createIntakeBridge as createIntakeBridge, index_defaultErrorClassifier as defaultErrorClassifier, index_defaultLlmExecutor as defaultLlmExecutor, index_defaultLlmVerifier as defaultLlmVerifier, index_evalIntakeBridge as evalIntakeBridge, index_evalSource as evalSource, index_evalVerifier as evalVerifier, index_harnessEvalPair as harnessEvalPair, index_harnessLoop as harnessLoop, index_harnessProfile as harnessProfile, index_harnessTrace as harnessTrace, index_notifyEffect as notifyEffect, index_priorityScore as priorityScore, index_refineExecutor as refineExecutor, index_resolvePromptFn as resolvePromptFn, index_strategyKey as strategyKey, index_strategyModel as strategyModel };
1095
1341
  }
1096
1342
 
1097
- export { type TraceEventType as $, type IntakeItem as A, type IntakeSource as B, type CodeChange as C, DEFAULT_DECAY_RATE as D, type ErrorClass as E, type Intervention as F, type NotifyTransport as G, type HarnessEvalPairConfig as H, type IntakeBridgeOptions as I, type QueueConfig as J, type KnownIntakeSource as K, type LintError as L, type QueueRoute as M, type NotifyEffectOptions as N, type RefineExecutorResult as O, type PrioritySignals as P, QUEUE_NAMES as Q, type RefineExecutorConfig as R, type RootCause as S, type Severity as T, type StrategyEntry as U, type StrategyKey as V, type StrategyModelBundle as W, type StrategySnapshot as X, type TestFailure as Y, type TraceDetail as Z, type TraceEvent as _, type CodeChangeBridgeOptions as a, type TriagePromptFn as a0, type TriagedItem as a1, type VerifyOutput as a2, type VerifyPromptFn as a3, type VerifyResult as a4, affectedTaskFilter as a5, beforeAfterCompare as a6, codeChangeBridge as a7, createIntakeBridge as a8, defaultErrorClassifier as a9, defaultLlmExecutor as aa, defaultLlmVerifier as ab, evalIntakeBridge as ac, evalSource as ad, evalVerifier as ae, harnessEvalPair as af, harnessLoop as ag, harnessProfile as ah, harnessTrace as ai, notifyEffect as aj, priorityScore as ak, refineExecutor as al, resolvePromptFn as am, strategyKey as an, strategyModel as ao, DEFAULT_EXECUTE_PROMPT as b, DEFAULT_QUEUE_CONFIGS as c, DEFAULT_SEVERITY_WEIGHTS as d, DEFAULT_TRIAGE_PROMPT as e, DEFAULT_VERIFY_PROMPT as f, type ErrorClassifier as g, type EvalDelta as h, index as i, type EvalIntakeBridgeOptions as j, type EvalJudgeScore as k, type EvalResult as l, type EvalTaskDelta as m, type EvalTaskResult as n, type EvalVerifierConfig as o, type EvalVerifierSummary as p, type ExecuteOutput as q, type ExecutePromptFn as r, type ExecutionResult as s, type HarnessExecutor as t, HarnessGraph as u, type HarnessLoopOptions as v, type HarnessProfileResult as w, type HarnessTraceHandle as x, type HarnessTraceOptions as y, type HarnessVerifier as z };
1343
+ export { type TestFailure as $, type ActuatorExecutorConfig as A, type HarnessTraceOptions as B, type CodeChange as C, DEFAULT_DECAY_RATE as D, type ErrorClass as E, type HarnessVerifier as F, type IntakeItem as G, type HarnessEvalPairConfig as H, type IntakeBridgeOptions as I, type IntakeSource as J, type Intervention as K, type KnownIntakeSource as L, type LintError as M, type NotifyEffectOptions as N, type NotifyTransport as O, type PrioritySignals as P, QUEUE_NAMES as Q, type QueueConfig as R, type QueueRoute as S, type RefineExecutorConfig as T, type RefineExecutorResult as U, type RootCause as V, type Severity as W, type StrategyEntry as X, type StrategyKey as Y, type StrategyModelBundle as Z, type StrategySnapshot as _, type ActuatorResult as a, type TraceDetail as a0, type TraceEvent as a1, type TraceEventType as a2, type TriagePromptFn as a3, type TriagedItem as a4, type VerifyOutput as a5, type VerifyPromptFn as a6, type VerifyResult as a7, actuatorExecutor as a8, affectedTaskFilter as a9, autoSolidify as aa, beforeAfterCompare as ab, codeChangeBridge as ac, createIntakeBridge as ad, defaultErrorClassifier as ae, defaultLlmExecutor as af, defaultLlmVerifier as ag, evalIntakeBridge as ah, evalSource as ai, evalVerifier as aj, harnessEvalPair as ak, harnessLoop as al, harnessProfile as am, harnessTrace as an, notifyEffect as ao, priorityScore as ap, refineExecutor as aq, resolvePromptFn as ar, strategyKey as as, strategyModel as at, type AutoSolidifyConfig as b, type CodeChangeBridgeOptions as c, DEFAULT_EXECUTE_PROMPT as d, DEFAULT_QUEUE_CONFIGS as e, DEFAULT_SEVERITY_WEIGHTS as f, DEFAULT_TRIAGE_PROMPT as g, DEFAULT_VERIFY_PROMPT as h, index as i, type ErrorClassifier as j, type EvalDelta as k, type EvalIntakeBridgeOptions as l, type EvalJudgeScore as m, type EvalResult as n, type EvalTaskDelta as o, type EvalTaskResult as p, type EvalVerifierConfig as q, type EvalVerifierSummary as r, type ExecuteOutput as s, type ExecutePromptFn as t, type ExecutionResult as u, type HarnessExecutor as v, HarnessGraph as w, type HarnessLoopOptions as x, type HarnessProfileResult as y, type HarnessTraceHandle as z };
@@ -1,22 +1,11 @@
1
- import { a as Node } from './node-8qx0kgYt.js';
2
- import { G as Graph, a as GraphOptions } from './graph-BROUZPG9.js';
3
-
4
- /**
5
- * Messaging patterns (roadmap §4.2).
6
- *
7
- * Pulsar-inspired messaging primitives modeled as graph factories:
8
- * - `topic()` for append-only topic streams with a retained window.
9
- * - `subscription()` for cursor-based consumers.
10
- * - `topicBridge()` for autonomous topic-to-topic relay.
11
- * - `messagingHub()` for a lazy topic registry.
12
- *
13
- * Job queue / job flow primitives live in `patterns/job-queue` — they are a
14
- * distinct domain that happens to share reactive-log / reactive-map
15
- * infrastructure with topics.
16
- */
1
+ import { a as Node } from './node-fSc-hCv8.js';
2
+ import { G as Graph, a as GraphOptions } from './graph-Cv-8x0ZI.js';
3
+ import { R as ReactiveLogBundle } from './reactive-log-ByBb8g6A.js';
4
+ import { AppendLogStorageTier } from './extra/storage-tiers.js';
17
5
 
18
6
  type TopicOptions = {
19
7
  graph?: GraphOptions;
8
+ /** Bounded retention; default 1024 per cross-cutting policy (Audit 2/4). */
20
9
  retainedLimit?: number;
21
10
  };
22
11
  declare class TopicGraph<T> extends Graph {
@@ -42,14 +31,48 @@ declare class TopicGraph<T> extends Graph {
42
31
  readonly hasLatest: Node<boolean>;
43
32
  constructor(name: string, opts?: TopicOptions);
44
33
  publish(value: T): void;
34
+ /**
35
+ * Wire one or more append-log storage tiers (Audit 4). Each tier receives
36
+ * appended events per wave; rollback honors the wave-as-transaction model.
37
+ *
38
+ * Named `attachEventStorage` (not `attachStorage`) to avoid colliding with
39
+ * the inherited {@link Graph.attachSnapshotStorage} which takes the
40
+ * snapshot-based `StorageTier[]` shape.
41
+ *
42
+ * @returns Disposer.
43
+ */
44
+ attachEventStorage(tiers: readonly AppendLogStorageTier<T>[]): () => void;
45
45
  retained(): readonly T[];
46
+ /** Internal log bundle — used by TopicBridgeGraph for `attach`. */
47
+ get _logBundle(): ReactiveLogBundle<T>;
46
48
  }
47
49
  type SubscriptionOptions = {
48
50
  graph?: GraphOptions;
51
+ /**
52
+ * Starting cursor position.
53
+ * @deprecated Use `from` instead.
54
+ */
49
55
  cursor?: number;
56
+ /**
57
+ * Starting position for the subscription.
58
+ * - `"retained"` (default) — cursor starts at 0; consumer sees all retained history.
59
+ * - `"now"` — cursor starts at current topic length; consumer ignores history.
60
+ * - `number` — explicit cursor position.
61
+ */
62
+ from?: "now" | "retained" | number;
63
+ /**
64
+ * When this signal node emits DATA, the subscription auto-advances cursor
65
+ * to current `available.length`. Useful for "ack everything when X happens"
66
+ * patterns. The reactive edge `advanceOn → cursor` is visible in `explain()`.
67
+ */
68
+ advanceOn?: Node<unknown>;
69
+ };
70
+ /** Result of {@link SubscriptionGraph.pullAndAck}. */
71
+ type PullAndAckResult<T> = {
72
+ items: readonly T[];
73
+ cursor: number;
50
74
  };
51
75
  declare class SubscriptionGraph<T> extends Graph {
52
- readonly source: Node<readonly T[]>;
53
76
  readonly cursor: Node<number>;
54
77
  readonly available: Node<readonly T[]>;
55
78
  /**
@@ -61,24 +84,74 @@ declare class SubscriptionGraph<T> extends Graph {
61
84
  * still wires the data dependency across graph boundaries. D1(e).
62
85
  */
63
86
  readonly topic: TopicGraph<T>;
87
+ private _disposed;
64
88
  constructor(name: string, topicGraph: TopicGraph<T>, opts?: SubscriptionOptions);
65
89
  ack(count?: number): number;
66
- pull(limit?: number, opts?: {
67
- ack?: boolean;
68
- }): readonly T[];
90
+ pull(limit?: number): readonly T[];
91
+ /**
92
+ * Atomic pull-and-acknowledge. Returns `{ items, cursor }` where `cursor`
93
+ * is the new cursor position after advancing. Under single-threaded JS the
94
+ * snapshot and advance are atomic; PY callers use a per-subscription Lock.
95
+ *
96
+ * Replaces `pull(limit, { ack: true })`.
97
+ */
98
+ pullAndAck(limit?: number): PullAndAckResult<T>;
99
+ /**
100
+ * Release internal subscriptions and mark the subscription torn-down.
101
+ * Subsequent `pull`, `pullAndAck`, `ack` return empty / current cursor.
102
+ * Emits COMPLETE on `cursor` so derived consumers (e.g. `available`) see
103
+ * the termination signal. Also drains `addDisposer` callbacks (including
104
+ * the `keepalive(advancePump)` subscription) so no keepalive leak occurs.
105
+ */
106
+ dispose(): void;
69
107
  }
70
108
  type TopicBridgeOptions<TIn, TOut> = {
71
109
  graph?: GraphOptions;
72
110
  cursor?: number;
73
111
  maxPerPump?: number;
112
+ /**
113
+ * Optional transform/filter applied to each item before republishing.
114
+ *
115
+ * **At-most-once with silent drop:** when `map` returns `undefined`, the
116
+ * input is consumed from the source cursor but NOT republished. Filtered
117
+ * items are not retained for retry. If you need filter-with-retry
118
+ * semantics, do the filtering in a downstream subscription on the bridged
119
+ * output rather than in the `map` function.
120
+ */
74
121
  map?: (value: TIn) => TOut | undefined;
75
122
  };
76
123
  declare class TopicBridgeGraph<TIn, TOut = TIn> extends Graph {
77
124
  private readonly _sourceSub;
78
- private readonly _target;
79
125
  readonly bridgedCount: Node<number>;
126
+ /**
127
+ * Emits each mapped batch as DATA — gives downstream observers a reactive
128
+ * stream of bridged values. Also the link target for `target._log.attach`.
129
+ */
130
+ readonly output: Node<readonly TOut[]>;
80
131
  constructor(name: string, sourceTopic: TopicGraph<TIn>, targetTopic: TopicGraph<TOut>, opts?: TopicBridgeOptions<TIn, TOut>);
81
132
  }
133
+ /**
134
+ * Private pure data structure managing a named set of {@link TopicGraph}
135
+ * instances. Extracted from {@link MessagingHubGraph} for separation of
136
+ * concerns (B.2 Unit 14 lock: D — split into TopicRegistry + facade).
137
+ *
138
+ * Reusable if other domain consumers (e.g. cqrs.eventLogs) want a shared
139
+ * topic registry later.
140
+ *
141
+ * @internal
142
+ */
143
+ declare class TopicRegistry {
144
+ private readonly _map;
145
+ /** Reactive monotonic version counter. Advances on topic create/remove. */
146
+ readonly version: Node<number>;
147
+ constructor(versionNode: Node<number>);
148
+ get size(): number;
149
+ has(name: string): boolean;
150
+ get<T>(name: string): TopicGraph<T> | undefined;
151
+ set<T>(name: string, t: TopicGraph<T>): void;
152
+ delete(name: string): boolean;
153
+ keys(): IterableIterator<string>;
154
+ }
82
155
  type MessagingHubOptions = {
83
156
  graph?: GraphOptions;
84
157
  /**
@@ -93,6 +166,9 @@ type MessagingHubOptions = {
93
166
  * instances with retention + cursor semantics. Topics are created on first
94
167
  * access; `removeTopic(name)` unmounts and tears down via {@link Graph.remove}.
95
168
  *
169
+ * Internally delegates to {@link TopicRegistry} for topic map management
170
+ * (B.2 Unit 14 lock: D facade split).
171
+ *
96
172
  * **Relationship to `pubsub()` in `src/extra/pubsub.ts`:** `pubsub` is a
97
173
  * lightweight last-value state hub (no retention, no cursors). `MessagingHubGraph`
98
174
  * is the full messaging hub — retained message logs, cursor-based subscriptions,
@@ -101,12 +177,11 @@ type MessagingHubOptions = {
101
177
  * @category patterns
102
178
  */
103
179
  declare class MessagingHubGraph extends Graph {
104
- private readonly _topics;
105
- private _version;
180
+ private readonly _registry;
181
+ /** Reactive monotonic version counter — advances on topic create/remove. */
182
+ readonly version: Node<number>;
106
183
  private readonly _defaultTopicOptions;
107
184
  constructor(name: string, opts?: MessagingHubOptions);
108
- /** Monotonic counter advancing on topic create/remove. */
109
- get version(): number;
110
185
  /** Number of topics currently in the hub. */
111
186
  get size(): number;
112
187
  /** Checks topic existence without creating. */
@@ -181,12 +256,18 @@ declare function messagingHub(name: string, opts?: MessagingHubOptions): Messagi
181
256
  declare function subscription<T>(name: string, topicGraph: TopicGraph<T>, opts?: SubscriptionOptions): SubscriptionGraph<T>;
182
257
  /**
183
258
  * Creates an autonomous cursor-based topic relay graph.
259
+ *
260
+ * When `opts.map` is provided, items where `map` returns `undefined` are
261
+ * consumed from the source cursor but NOT republished (at-most-once with
262
+ * silent drop). For filter-with-retry semantics, apply the filter in a
263
+ * downstream subscription on the bridge's `output` node instead.
184
264
  */
185
265
  declare function topicBridge<TIn, TOut = TIn>(name: string, sourceTopic: TopicGraph<TIn>, targetTopic: TopicGraph<TOut>, opts?: TopicBridgeOptions<TIn, TOut>): TopicBridgeGraph<TIn, TOut>;
186
266
 
187
267
  type index_MessagingHubGraph = MessagingHubGraph;
188
268
  declare const index_MessagingHubGraph: typeof MessagingHubGraph;
189
269
  type index_MessagingHubOptions = MessagingHubOptions;
270
+ type index_PullAndAckResult<T> = PullAndAckResult<T>;
190
271
  type index_SubscriptionGraph<T> = SubscriptionGraph<T>;
191
272
  declare const index_SubscriptionGraph: typeof SubscriptionGraph;
192
273
  type index_SubscriptionOptions = SubscriptionOptions;
@@ -196,12 +277,14 @@ type index_TopicBridgeOptions<TIn, TOut> = TopicBridgeOptions<TIn, TOut>;
196
277
  type index_TopicGraph<T> = TopicGraph<T>;
197
278
  declare const index_TopicGraph: typeof TopicGraph;
198
279
  type index_TopicOptions = TopicOptions;
280
+ type index_TopicRegistry = TopicRegistry;
281
+ declare const index_TopicRegistry: typeof TopicRegistry;
199
282
  declare const index_messagingHub: typeof messagingHub;
200
283
  declare const index_subscription: typeof subscription;
201
284
  declare const index_topic: typeof topic;
202
285
  declare const index_topicBridge: typeof topicBridge;
203
286
  declare namespace index {
204
- export { index_MessagingHubGraph as MessagingHubGraph, type index_MessagingHubOptions as MessagingHubOptions, index_SubscriptionGraph as SubscriptionGraph, type index_SubscriptionOptions as SubscriptionOptions, index_TopicBridgeGraph as TopicBridgeGraph, type index_TopicBridgeOptions as TopicBridgeOptions, index_TopicGraph as TopicGraph, type index_TopicOptions as TopicOptions, index_messagingHub as messagingHub, index_subscription as subscription, index_topic as topic, index_topicBridge as topicBridge };
287
+ export { index_MessagingHubGraph as MessagingHubGraph, type index_MessagingHubOptions as MessagingHubOptions, type index_PullAndAckResult as PullAndAckResult, index_SubscriptionGraph as SubscriptionGraph, type index_SubscriptionOptions as SubscriptionOptions, index_TopicBridgeGraph as TopicBridgeGraph, type index_TopicBridgeOptions as TopicBridgeOptions, index_TopicGraph as TopicGraph, type index_TopicOptions as TopicOptions, index_TopicRegistry as TopicRegistry, index_messagingHub as messagingHub, index_subscription as subscription, index_topic as topic, index_topicBridge as topicBridge };
205
288
  }
206
289
 
207
- export { MessagingHubGraph as M, SubscriptionGraph as S, TopicGraph as T, type MessagingHubOptions as a, type SubscriptionOptions as b, TopicBridgeGraph as c, type TopicBridgeOptions as d, type TopicOptions as e, topicBridge as f, index as i, messagingHub as m, subscription as s, topic as t };
290
+ export { MessagingHubGraph as M, type PullAndAckResult as P, SubscriptionGraph as S, TopicGraph as T, type MessagingHubOptions as a, type SubscriptionOptions as b, TopicBridgeGraph as c, type TopicBridgeOptions as d, type TopicOptions as e, TopicRegistry as f, topicBridge as g, index as i, messagingHub as m, subscription as s, topic as t };