@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,17 +1,18 @@
1
- import { T as TokenUsage, L as LLMAdapter, P as PricingFn, C as ChatMessage, a as LLMInvokeOptions, d as ToolDefinition, b as LLMResponse, S as StreamDelta, c as ToolCall, e as CapabilitiesRegistry, M as ModelCapabilities, f as ModelFeatures, g as ModelLimits, h as ModelPricing, i as PriceBreakdown, j as PricingRegistry, R as Rate, k as TieredRate, l as composePricing, m as computePrice, n as createCapabilitiesRegistry, o as createPricingRegistry, p as pricingFor, r as registryPricing, z as zeroPrice } from './types-B2LfBvNc.js';
2
- import { a as CascadeExhaustionReport, A as AdapterProvider, b as AdapterTier, d as AllTiersExhaustedError, C as CascadingLlmAdapterOptions, e as CreateAdapterOptions, O as OpenAICompatAdapterOptions, f as OpenAICompatPreset, g as OpenAISdkLike, h as cascadingLlmAdapter, c as createAdapter, o as openAICompatAdapter, t as tier } from './cascading-Bg0a4VSf.js';
3
- import { a as Node, A as Actor } from './node-8qx0kgYt.js';
4
- import { R as ReactiveLogBundle } from './reactive-log-CqaBg8nf.js';
5
- import { a as CircuitBreakerOptions, e as CircuitBreaker, f as CircuitOpenError } from './resilience-RjDIHZNZ.js';
1
+ import { T as TokenUsage, L as LLMAdapter, P as PricingFn, C as ChatMessage, a as LLMInvokeOptions, d as ToolDefinition, b as LLMResponse, S as StreamDelta, c as ToolCall, e as CapabilitiesRegistry, M as ModelCapabilities, f as ModelFeatures, g as ModelLimits, h as ModelPricing, i as PriceBreakdown, j as PricingRegistry, R as Rate, k as TieredRate, l as composePricing, m as computePrice, n as createCapabilitiesRegistry, o as createPricingRegistry, p as pricingFor, r as registryPricing, z as zeroPrice } from './types-CidcBDuk.js';
2
+ import { a as CascadeExhaustionReport, A as AdapterProvider, b as AdapterTier, d as AllTiersExhaustedError, C as CascadingLlmAdapterOptions, e as CreateAdapterOptions, O as OpenAICompatAdapterOptions, f as OpenAICompatPreset, g as OpenAISdkLike, h as cascadingLlmAdapter, c as createAdapter, o as openAICompatAdapter, t as tier } from './cascading-BsJ4GbnS.js';
3
+ import { a as Node, A as Actor } from './node-fSc-hCv8.js';
4
+ import { R as ReactiveLogBundle } from './reactive-log-ByBb8g6A.js';
5
+ import { a as CircuitBreakerOptions, e as CircuitBreaker, f as CircuitOpenError } from './resilience-Bys63Cpd.js';
6
6
  import { NodeInput } from './extra/sources.js';
7
- import { W as WithReplayCacheOptions, F as FallbackAdapterOptions, a as FallbackFixture, b as FallbackMissError, c as FallbackMissPolicy, R as ReplayCacheKeyContext, d as ReplayCacheMissError, e as ReplayCacheMode, f as canonicalJson, g as fallbackAdapter, w as withReplayCache } from './fallback-mYSd8vQo.js';
8
- import { G as Graph, a as GraphOptions, h as GraphAttachStorageOptions } from './graph-BROUZPG9.js';
9
- import { T as TopicGraph } from './index-Bi4ZP6Hc.js';
10
- import { G as GateController, a as GateOptions } from './index-HvJ90_tX.js';
11
- import { D as DistillBundle, E as Extraction } from './composite-BPDU_XV1.js';
12
- import { V as VectorSearchResult, L as LightCollectionBundle, a as VectorIndexBundle, K as KnowledgeGraphGraph } from './index-ygRFoyrN.js';
13
- import { StorageHandle, StorageTier } from './extra/storage-core.js';
14
- import { c as GraphSpecCatalog } from './index-Chi9IiHJ.js';
7
+ import { W as WithReplayCacheOptions, F as FallbackAdapterOptions, a as FallbackFixture, b as FallbackMissError, c as FallbackMissPolicy, R as ReplayCacheKeyContext, d as ReplayCacheMissError, e as ReplayCacheMode, f as canonicalJson, g as fallbackAdapter, w as withReplayCache } from './fallback-DuEXfA4F.js';
8
+ import { G as Graph, a as GraphOptions, i as GraphCheckpointRecord, h as GraphAttachStorageOptions } from './graph-Cv-8x0ZI.js';
9
+ import { T as TopicGraph } from './index-C9xF16gc.js';
10
+ import { G as GateController, c as GateOptions } from './pipeline-graph-HOTU4UG0.js';
11
+ import { D as DistillBundle, E as Extraction } from './composite-CT_mApQD.js';
12
+ import { V as VectorSearchResult, L as LightCollectionBundle, a as VectorIndexBundle, K as KnowledgeGraphGraph } from './index-CI_yjtua.js';
13
+ import { StorageHandle } from './extra/storage-core.js';
14
+ import { SnapshotStorageTier } from './extra/storage-tiers.js';
15
+ import { c as GraphSpecCatalog } from './index-DlccEIi3.js';
15
16
 
16
17
  /**
17
18
  * Observable adapter wrapper — the "inverted statistics" surface.
@@ -717,6 +718,12 @@ declare function dryRunAdapter(opts?: DryRunAdapterOptions): LLMAdapter;
717
718
  /**
718
719
  * GoogleAdapter — default fetch-backed, optional SDK-backed.
719
720
  *
721
+ * The SDK-backed path targets the `@google/genai` SDK shape:
722
+ * `client.models.generateContent({ model, contents, config })` — single
723
+ * param, with generation params and `abortSignal` under `config`. The
724
+ * legacy `@google/generative-ai` two-arg `(params, {signal})` shape is no
725
+ * longer accepted; pass a `GoogleGenAI` instance via `opts.sdk`.
726
+ *
720
727
  * Maps Gemini `usageMetadata`:
721
728
  * - `promptTokenCount` minus `cachedContentTokenCount` → `input.regular`
722
729
  * - `cachedContentTokenCount` → `input.cacheRead`
@@ -733,20 +740,47 @@ interface GoogleAdapterOptions {
733
740
  baseURL?: string;
734
741
  /** Extra headers on every request. */
735
742
  headers?: Record<string, string>;
736
- /** Optional SDK instance (`@google/genai` or `@google/generative-ai` shape). */
743
+ /**
744
+ * Optional `@google/genai` SDK instance (e.g. `new GoogleGenAI({apiKey})`).
745
+ * When omitted, the adapter uses the fetch-backed path against the
746
+ * Generative Language REST API.
747
+ */
737
748
  sdk?: GoogleSdkLike;
738
749
  fetchImpl?: typeof fetch;
739
750
  }
751
+ /**
752
+ * Duck-type matching the `@google/genai` (`GoogleGenAI`) SDK shape:
753
+ * single-param `generateContent({ model, contents, config })` where
754
+ * generation parameters and `abortSignal` live under `config`.
755
+ *
756
+ * The `@google/generative-ai` predecessor's two-arg `(params, {signal})`
757
+ * shape is no longer accepted.
758
+ */
740
759
  interface GoogleSdkLike {
741
760
  models: {
742
- generateContent(params: Record<string, unknown>, opts?: {
743
- signal?: AbortSignal;
744
- }): Promise<GeminiResponse>;
745
- generateContentStream?(params: Record<string, unknown>, opts?: {
746
- signal?: AbortSignal;
747
- }): AsyncIterable<GeminiResponse>;
761
+ generateContent(params: GoogleSdkRequestParams): Promise<GeminiResponse>;
762
+ generateContentStream?(params: GoogleSdkRequestParams): Promise<AsyncIterable<GeminiResponse>> | AsyncIterable<GeminiResponse>;
748
763
  };
749
764
  }
765
+ /** Single-param request shape consumed by `@google/genai`'s `models.generateContent`. */
766
+ interface GoogleSdkRequestParams {
767
+ model: string;
768
+ contents: unknown;
769
+ config?: GoogleSdkRequestConfig;
770
+ }
771
+ /**
772
+ * Generation config under the new SDK. `abortSignal` is the cancellation
773
+ * channel — there is no second-arg `{signal}`.
774
+ */
775
+ interface GoogleSdkRequestConfig {
776
+ abortSignal?: AbortSignal;
777
+ temperature?: number;
778
+ maxOutputTokens?: number;
779
+ systemInstruction?: unknown;
780
+ tools?: unknown;
781
+ thinkingConfig?: unknown;
782
+ [extra: string]: unknown;
783
+ }
750
784
  interface GeminiResponse {
751
785
  candidates?: ReadonlyArray<{
752
786
  content?: {
@@ -1825,8 +1859,8 @@ type MemoryTiersOptions<TMem> = {
1825
1859
  /** Predicate: true → entry belongs in permanent tier (default: never). */
1826
1860
  permanentFilter?: (key: string, mem: TMem) => boolean;
1827
1861
  /** Storage tier for the archive. Omit to disable archiving. */
1828
- archiveTier?: StorageTier;
1829
- /** Options forwarded to `graph.attachStorage` for the archive tier. */
1862
+ archiveTier?: SnapshotStorageTier<GraphCheckpointRecord>;
1863
+ /** Options forwarded to `graph.attachSnapshotStorage` for the archive tier. */
1830
1864
  archiveStorageOptions?: GraphAttachStorageOptions;
1831
1865
  };
1832
1866
  /** @internal */
@@ -1963,6 +1997,12 @@ type AgentMemoryGraph<TMem = unknown> = Graph & {
1963
1997
  */
1964
1998
  readonly retrieveReactive: ((queryInput: NodeInput<RetrievalQuery | null>) => Node<ReadonlyArray<RetrievalEntry<TMem>>>) | null;
1965
1999
  };
2000
+ /**
2001
+ * Pre-wired agentic memory graph. Sugar over `distill` plus the
2002
+ * `memoryWithVectors` / `memoryWithKG` / `memoryWithTiers` / `memoryRetrieval`
2003
+ * composers. Power users who want a subset of capabilities can call those
2004
+ * composers directly; this factory bundles them into one ergonomic call.
2005
+ */
1966
2006
  declare function agentMemory<TMem = unknown>(name: string, source: NodeInput<unknown>, opts: AgentMemoryOptions<TMem>): AgentMemoryGraph<TMem>;
1967
2007
 
1968
2008
  type LLMExtractorOptions = {
@@ -2024,8 +2064,18 @@ declare function memoryWithVectors<TMem>(graph: Graph, store: DistillBundle<TMem
2024
2064
  dispose: () => void;
2025
2065
  };
2026
2066
  type MemoryWithKGOptions<TMem> = {
2027
- /** Extract entities + relations for a memory entry. */
2028
- entityFn: (key: string, mem: TMem) => {
2067
+ /**
2068
+ * Mount path for the KG subgraph on the parent graph. Defaults to `name`.
2069
+ * Pass a different value when the parent graph reserves a stable mount
2070
+ * path (e.g. `agentMemory` mounts at `"kg"` regardless of outer name).
2071
+ */
2072
+ mountPath?: string;
2073
+ /**
2074
+ * Extract entities + relations for a memory entry. Omit to mount an empty
2075
+ * KG without an indexer effect — caller upserts entities / relations
2076
+ * directly on the returned `kg` handle.
2077
+ */
2078
+ entityFn?: (key: string, mem: TMem) => {
2029
2079
  entities?: Array<{
2030
2080
  id: string;
2031
2081
  value: unknown;
@@ -2039,12 +2089,16 @@ type MemoryWithKGOptions<TMem> = {
2039
2089
  } | undefined;
2040
2090
  };
2041
2091
  /**
2042
- * Attach a knowledge graph alongside a `DistillBundle`. Mount path defaults
2043
- * to the `name` arg so multiple `memoryWithKG` calls on the same graph don't
2044
- * collide on a hardcoded `"kg"` mount.
2092
+ * Attach a knowledge graph alongside a `DistillBundle`. Inner graph is named
2093
+ * `${name}-kg`; mount path defaults to `name` but can be overridden via
2094
+ * `opts.mountPath` so a parent factory (e.g. `agentMemory`) can keep a stable
2095
+ * mount path independent of the inner graph's identity.
2096
+ *
2097
+ * If `opts.entityFn` is omitted, no indexer effect is wired — the empty KG is
2098
+ * mounted for manual `upsertEntity` / `link` use.
2045
2099
  *
2046
- * Indexer keepalive is registered with `graph.addDisposer`; explicit
2047
- * `dispose()` is also available.
2100
+ * Indexer keepalive (when present) is registered with `graph.addDisposer`;
2101
+ * explicit `dispose()` is also available.
2048
2102
  */
2049
2103
  declare function memoryWithKG<TMem>(graph: Graph, store: DistillBundle<TMem>, name: string, opts: MemoryWithKGOptions<TMem>): {
2050
2104
  kg: KnowledgeGraphGraph<unknown, string>;
@@ -2399,6 +2453,8 @@ type index_GatedStreamOptions = GatedStreamOptions;
2399
2453
  type index_GaugesAsContextOptions = GaugesAsContextOptions;
2400
2454
  type index_GoogleAdapterOptions = GoogleAdapterOptions;
2401
2455
  type index_GoogleSdkLike = GoogleSdkLike;
2456
+ type index_GoogleSdkRequestConfig = GoogleSdkRequestConfig;
2457
+ type index_GoogleSdkRequestParams = GoogleSdkRequestParams;
2402
2458
  type index_GraphDefValidation = GraphDefValidation;
2403
2459
  type index_GraphFromSpecOptions = GraphFromSpecOptions;
2404
2460
  type index_HandoffOptions = HandoffOptions;
@@ -2531,7 +2587,7 @@ declare const index_withRetry: typeof withRetry;
2531
2587
  declare const index_withTimeout: typeof withTimeout;
2532
2588
  declare const index_zeroPrice: typeof zeroPrice;
2533
2589
  declare namespace index {
2534
- export { index_AdapterProvider as AdapterProvider, type index_AdapterStats as AdapterStats, index_AdapterTier as AdapterTier, type index_AdmissionScore3DOptions as AdmissionScore3DOptions, type index_AdmissionScoredOptions as AdmissionScoredOptions, type index_AdmissionScores as AdmissionScores, type index_AdmissionThresholds as AdmissionThresholds, index_AgentLoopGraph as AgentLoopGraph, type index_AgentLoopOptions as AgentLoopOptions, type index_AgentLoopStatus as AgentLoopStatus, type index_AgentMemoryGraph as AgentMemoryGraph, type index_AgentMemoryOptions as AgentMemoryOptions, index_AllTiersExhaustedError as AllTiersExhaustedError, type index_AnthropicAdapterOptions as AnthropicAdapterOptions, type index_AnthropicSdkLike as AnthropicSdkLike, type index_BudgetCaps as BudgetCaps, index_BudgetExhaustedError as BudgetExhaustedError, type index_BudgetGateBundle as BudgetGateBundle, type index_BudgetTotals as BudgetTotals, type index_CallStatsEvent as CallStatsEvent, index_CapabilitiesRegistry as CapabilitiesRegistry, index_CascadeExhaustionReport as CascadeExhaustionReport, index_CascadingLlmAdapterOptions as CascadingLlmAdapterOptions, index_ChatMessage as ChatMessage, index_ChatStreamGraph as ChatStreamGraph, type index_ChatStreamOptions as ChatStreamOptions, index_CircuitOpenError as CircuitOpenError, type index_ContentDecision as ContentDecision, type index_ContentGateOptions as ContentGateOptions, type index_CostMeterOptions as CostMeterOptions, type index_CostMeterReading as CostMeterReading, index_CreateAdapterOptions as CreateAdapterOptions, index_DEFAULT_DECAY_RATE as DEFAULT_DECAY_RATE, type index_DryRunAdapterOptions as DryRunAdapterOptions, type index_ExtractedToolCall as ExtractedToolCall, index_FallbackAdapterOptions as FallbackAdapterOptions, index_FallbackFixture as FallbackFixture, index_FallbackMissError as FallbackMissError, index_FallbackMissPolicy as FallbackMissPolicy, type index_FromLLMOptions as FromLLMOptions, type index_FrozenContextOptions as FrozenContextOptions, type index_GatedStreamHandle as GatedStreamHandle, type index_GatedStreamOptions as GatedStreamOptions, type index_GaugesAsContextOptions as GaugesAsContextOptions, type index_GoogleAdapterOptions as GoogleAdapterOptions, type index_GoogleSdkLike as GoogleSdkLike, type index_GraphDefValidation as GraphDefValidation, type index_GraphFromSpecOptions as GraphFromSpecOptions, type index_HandoffOptions as HandoffOptions, type index_HttpErrorLike as HttpErrorLike, type index_KeywordFlag as KeywordFlag, type index_KeywordFlagExtractorOptions as KeywordFlagExtractorOptions, type index_KnobsAsToolsResult as KnobsAsToolsResult, index_LLMAdapter as LLMAdapter, type index_LLMConsolidatorOptions as LLMConsolidatorOptions, type index_LLMExtractorOptions as LLMExtractorOptions, index_LLMInvokeOptions as LLMInvokeOptions, index_LLMResponse as LLMResponse, index_LLMTimeoutError as LLMTimeoutError, type index_McpToolSchema as McpToolSchema, type index_MemoryRetrievalBundle as MemoryRetrievalBundle, type index_MemoryRetrievalOptions as MemoryRetrievalOptions, type index_MemoryTier as MemoryTier, type index_MemoryTiersBundle as MemoryTiersBundle, type index_MemoryTiersOptions as MemoryTiersOptions, type index_MemoryWithKGOptions as MemoryWithKGOptions, type index_MemoryWithTiersOptions as MemoryWithTiersOptions, type index_MemoryWithVectorsOptions as MemoryWithVectorsOptions, index_ModelCapabilities as ModelCapabilities, index_ModelFeatures as ModelFeatures, index_ModelLimits as ModelLimits, index_ModelPricing as ModelPricing, index_OpenAICompatAdapterOptions as OpenAICompatAdapterOptions, index_OpenAICompatPreset as OpenAICompatPreset, index_OpenAISdkLike as OpenAISdkLike, type index_OpenAIToolSchema as OpenAIToolSchema, index_PriceBreakdown as PriceBreakdown, index_PricingFn as PricingFn, index_PricingRegistry as PricingRegistry, type index_PromptNodeOptions as PromptNodeOptions, index_Rate as Rate, type index_RedactorOptions as RedactorOptions, index_ReplayCacheKeyContext as ReplayCacheKeyContext, index_ReplayCacheMissError as ReplayCacheMissError, index_ReplayCacheMode as ReplayCacheMode, type index_ResilientAdapterBundle as ResilientAdapterBundle, type index_ResilientAdapterOptions as ResilientAdapterOptions, type index_RetrievalEntry as RetrievalEntry, type index_RetrievalPipelineOptions as RetrievalPipelineOptions, type index_RetrievalQuery as RetrievalQuery, type index_RetrievalTrace as RetrievalTrace, type index_StampedDelta as StampedDelta, type index_StrategyOperation as StrategyOperation, type index_StrategyPlan as StrategyPlan, index_StreamDelta as StreamDelta, type index_StreamingPromptNodeHandle as StreamingPromptNodeHandle, type index_StreamingPromptNodeOptions as StreamingPromptNodeOptions, type index_SuggestStrategyOptions as SuggestStrategyOptions, type index_SystemPromptHandle as SystemPromptHandle, index_TieredRate as TieredRate, index_TokenUsage as TokenUsage, index_ToolCall as ToolCall, index_ToolDefinition as ToolDefinition, type index_ToolExecutionOptions as ToolExecutionOptions, index_ToolRegistryGraph as ToolRegistryGraph, type index_ToolRegistryOptions as ToolRegistryOptions, type index_ToolResult as ToolResult, type index_ToolSelectorOptions as ToolSelectorOptions, type index_WithBreakerOptions as WithBreakerOptions, type index_WithBudgetGateOptions as WithBudgetGateOptions, type index_WithDryRunBundle as WithDryRunBundle, type index_WithDryRunOptions as WithDryRunOptions, type index_WithRateLimiterOptions as WithRateLimiterOptions, index_WithReplayCacheOptions as WithReplayCacheOptions, type index_WithRetryOptions as WithRetryOptions, index_admissionFilter3D as admissionFilter3D, index_admissionScored as admissionScored, index_agentLoop as agentLoop, index_agentMemory as agentMemory, index_anthropicAdapter as anthropicAdapter, index_canonicalJson as canonicalJson, index_cascadingLlmAdapter as cascadingLlmAdapter, index_chatStream as chatStream, index_composePricing as composePricing, index_computePrice as computePrice, index_contentGate as contentGate, index_costMeterExtractor as costMeterExtractor, index_createAdapter as createAdapter, index_createCapabilitiesRegistry as createCapabilitiesRegistry, index_createPricingRegistry as createPricingRegistry, index_dryRunAdapter as dryRunAdapter, index_fallbackAdapter as fallbackAdapter, index_fromLLM as fromLLM, index_frozenContext as frozenContext, index_gatedStream as gatedStream, index_gaugesAsContext as gaugesAsContext, index_googleAdapter as googleAdapter, index_graphFromSpec as graphFromSpec, index_graphFromSpecReactive as graphFromSpecReactive, index_handoff as handoff, index_keywordFlagExtractor as keywordFlagExtractor, index_knobsAsTools as knobsAsTools, index_llmConsolidator as llmConsolidator, index_llmExtractor as llmExtractor, index_memoryRetrieval as memoryRetrieval, index_memoryWithKG as memoryWithKG, index_memoryWithTiers as memoryWithTiers, index_memoryWithVectors as memoryWithVectors, index_observableAdapter as observableAdapter, index_openAICompatAdapter as openAICompatAdapter, index_parseRateLimitFromError as parseRateLimitFromError, index_pricingFor as pricingFor, index_promptNode as promptNode, index_redactor as redactor, index_registryPricing as registryPricing, index_resilientAdapter as resilientAdapter, index_streamExtractor as streamExtractor, index_streamingPromptNode as streamingPromptNode, index_suggestStrategy as suggestStrategy, index_suggestStrategyReactive as suggestStrategyReactive, index_systemPromptBuilder as systemPromptBuilder, index_tier as tier, index_toolCallExtractor as toolCallExtractor, index_toolExecution as toolExecution, index_toolRegistry as toolRegistry, index_toolSelector as toolSelector, index_validateGraphDef as validateGraphDef, index_withBreaker as withBreaker, index_withBudgetGate as withBudgetGate, index_withDryRun as withDryRun, index_withRateLimiter as withRateLimiter, index_withReplayCache as withReplayCache, index_withRetry as withRetry, index_withTimeout as withTimeout, index_zeroPrice as zeroPrice };
2590
+ export { index_AdapterProvider as AdapterProvider, type index_AdapterStats as AdapterStats, index_AdapterTier as AdapterTier, type index_AdmissionScore3DOptions as AdmissionScore3DOptions, type index_AdmissionScoredOptions as AdmissionScoredOptions, type index_AdmissionScores as AdmissionScores, type index_AdmissionThresholds as AdmissionThresholds, index_AgentLoopGraph as AgentLoopGraph, type index_AgentLoopOptions as AgentLoopOptions, type index_AgentLoopStatus as AgentLoopStatus, type index_AgentMemoryGraph as AgentMemoryGraph, type index_AgentMemoryOptions as AgentMemoryOptions, index_AllTiersExhaustedError as AllTiersExhaustedError, type index_AnthropicAdapterOptions as AnthropicAdapterOptions, type index_AnthropicSdkLike as AnthropicSdkLike, type index_BudgetCaps as BudgetCaps, index_BudgetExhaustedError as BudgetExhaustedError, type index_BudgetGateBundle as BudgetGateBundle, type index_BudgetTotals as BudgetTotals, type index_CallStatsEvent as CallStatsEvent, index_CapabilitiesRegistry as CapabilitiesRegistry, index_CascadeExhaustionReport as CascadeExhaustionReport, index_CascadingLlmAdapterOptions as CascadingLlmAdapterOptions, index_ChatMessage as ChatMessage, index_ChatStreamGraph as ChatStreamGraph, type index_ChatStreamOptions as ChatStreamOptions, index_CircuitOpenError as CircuitOpenError, type index_ContentDecision as ContentDecision, type index_ContentGateOptions as ContentGateOptions, type index_CostMeterOptions as CostMeterOptions, type index_CostMeterReading as CostMeterReading, index_CreateAdapterOptions as CreateAdapterOptions, index_DEFAULT_DECAY_RATE as DEFAULT_DECAY_RATE, type index_DryRunAdapterOptions as DryRunAdapterOptions, type index_ExtractedToolCall as ExtractedToolCall, index_FallbackAdapterOptions as FallbackAdapterOptions, index_FallbackFixture as FallbackFixture, index_FallbackMissError as FallbackMissError, index_FallbackMissPolicy as FallbackMissPolicy, type index_FromLLMOptions as FromLLMOptions, type index_FrozenContextOptions as FrozenContextOptions, type index_GatedStreamHandle as GatedStreamHandle, type index_GatedStreamOptions as GatedStreamOptions, type index_GaugesAsContextOptions as GaugesAsContextOptions, type index_GoogleAdapterOptions as GoogleAdapterOptions, type index_GoogleSdkLike as GoogleSdkLike, type index_GoogleSdkRequestConfig as GoogleSdkRequestConfig, type index_GoogleSdkRequestParams as GoogleSdkRequestParams, type index_GraphDefValidation as GraphDefValidation, type index_GraphFromSpecOptions as GraphFromSpecOptions, type index_HandoffOptions as HandoffOptions, type index_HttpErrorLike as HttpErrorLike, type index_KeywordFlag as KeywordFlag, type index_KeywordFlagExtractorOptions as KeywordFlagExtractorOptions, type index_KnobsAsToolsResult as KnobsAsToolsResult, index_LLMAdapter as LLMAdapter, type index_LLMConsolidatorOptions as LLMConsolidatorOptions, type index_LLMExtractorOptions as LLMExtractorOptions, index_LLMInvokeOptions as LLMInvokeOptions, index_LLMResponse as LLMResponse, index_LLMTimeoutError as LLMTimeoutError, type index_McpToolSchema as McpToolSchema, type index_MemoryRetrievalBundle as MemoryRetrievalBundle, type index_MemoryRetrievalOptions as MemoryRetrievalOptions, type index_MemoryTier as MemoryTier, type index_MemoryTiersBundle as MemoryTiersBundle, type index_MemoryTiersOptions as MemoryTiersOptions, type index_MemoryWithKGOptions as MemoryWithKGOptions, type index_MemoryWithTiersOptions as MemoryWithTiersOptions, type index_MemoryWithVectorsOptions as MemoryWithVectorsOptions, index_ModelCapabilities as ModelCapabilities, index_ModelFeatures as ModelFeatures, index_ModelLimits as ModelLimits, index_ModelPricing as ModelPricing, index_OpenAICompatAdapterOptions as OpenAICompatAdapterOptions, index_OpenAICompatPreset as OpenAICompatPreset, index_OpenAISdkLike as OpenAISdkLike, type index_OpenAIToolSchema as OpenAIToolSchema, index_PriceBreakdown as PriceBreakdown, index_PricingFn as PricingFn, index_PricingRegistry as PricingRegistry, type index_PromptNodeOptions as PromptNodeOptions, index_Rate as Rate, type index_RedactorOptions as RedactorOptions, index_ReplayCacheKeyContext as ReplayCacheKeyContext, index_ReplayCacheMissError as ReplayCacheMissError, index_ReplayCacheMode as ReplayCacheMode, type index_ResilientAdapterBundle as ResilientAdapterBundle, type index_ResilientAdapterOptions as ResilientAdapterOptions, type index_RetrievalEntry as RetrievalEntry, type index_RetrievalPipelineOptions as RetrievalPipelineOptions, type index_RetrievalQuery as RetrievalQuery, type index_RetrievalTrace as RetrievalTrace, type index_StampedDelta as StampedDelta, type index_StrategyOperation as StrategyOperation, type index_StrategyPlan as StrategyPlan, index_StreamDelta as StreamDelta, type index_StreamingPromptNodeHandle as StreamingPromptNodeHandle, type index_StreamingPromptNodeOptions as StreamingPromptNodeOptions, type index_SuggestStrategyOptions as SuggestStrategyOptions, type index_SystemPromptHandle as SystemPromptHandle, index_TieredRate as TieredRate, index_TokenUsage as TokenUsage, index_ToolCall as ToolCall, index_ToolDefinition as ToolDefinition, type index_ToolExecutionOptions as ToolExecutionOptions, index_ToolRegistryGraph as ToolRegistryGraph, type index_ToolRegistryOptions as ToolRegistryOptions, type index_ToolResult as ToolResult, type index_ToolSelectorOptions as ToolSelectorOptions, type index_WithBreakerOptions as WithBreakerOptions, type index_WithBudgetGateOptions as WithBudgetGateOptions, type index_WithDryRunBundle as WithDryRunBundle, type index_WithDryRunOptions as WithDryRunOptions, type index_WithRateLimiterOptions as WithRateLimiterOptions, index_WithReplayCacheOptions as WithReplayCacheOptions, type index_WithRetryOptions as WithRetryOptions, index_admissionFilter3D as admissionFilter3D, index_admissionScored as admissionScored, index_agentLoop as agentLoop, index_agentMemory as agentMemory, index_anthropicAdapter as anthropicAdapter, index_canonicalJson as canonicalJson, index_cascadingLlmAdapter as cascadingLlmAdapter, index_chatStream as chatStream, index_composePricing as composePricing, index_computePrice as computePrice, index_contentGate as contentGate, index_costMeterExtractor as costMeterExtractor, index_createAdapter as createAdapter, index_createCapabilitiesRegistry as createCapabilitiesRegistry, index_createPricingRegistry as createPricingRegistry, index_dryRunAdapter as dryRunAdapter, index_fallbackAdapter as fallbackAdapter, index_fromLLM as fromLLM, index_frozenContext as frozenContext, index_gatedStream as gatedStream, index_gaugesAsContext as gaugesAsContext, index_googleAdapter as googleAdapter, index_graphFromSpec as graphFromSpec, index_graphFromSpecReactive as graphFromSpecReactive, index_handoff as handoff, index_keywordFlagExtractor as keywordFlagExtractor, index_knobsAsTools as knobsAsTools, index_llmConsolidator as llmConsolidator, index_llmExtractor as llmExtractor, index_memoryRetrieval as memoryRetrieval, index_memoryWithKG as memoryWithKG, index_memoryWithTiers as memoryWithTiers, index_memoryWithVectors as memoryWithVectors, index_observableAdapter as observableAdapter, index_openAICompatAdapter as openAICompatAdapter, index_parseRateLimitFromError as parseRateLimitFromError, index_pricingFor as pricingFor, index_promptNode as promptNode, index_redactor as redactor, index_registryPricing as registryPricing, index_resilientAdapter as resilientAdapter, index_streamExtractor as streamExtractor, index_streamingPromptNode as streamingPromptNode, index_suggestStrategy as suggestStrategy, index_suggestStrategyReactive as suggestStrategyReactive, index_systemPromptBuilder as systemPromptBuilder, index_tier as tier, index_toolCallExtractor as toolCallExtractor, index_toolExecution as toolExecution, index_toolRegistry as toolRegistry, index_toolSelector as toolSelector, index_validateGraphDef as validateGraphDef, index_withBreaker as withBreaker, index_withBudgetGate as withBudgetGate, index_withDryRun as withDryRun, index_withRateLimiter as withRateLimiter, index_withReplayCache as withReplayCache, index_withRetry as withRetry, index_withTimeout as withTimeout, index_zeroPrice as zeroPrice };
2535
2591
  }
2536
2592
 
2537
- export { type OpenAIToolSchema as $, type AdapterStats as A, type BudgetCaps as B, type CallStatsEvent as C, DEFAULT_DECAY_RATE as D, type ExtractedToolCall as E, type FromLLMOptions as F, type GatedStreamHandle as G, type GoogleSdkLike as H, type GraphDefValidation as I, type GraphFromSpecOptions as J, type HandoffOptions as K, type HttpErrorLike as L, type KeywordFlag as M, type KeywordFlagExtractorOptions as N, type KnobsAsToolsResult as O, type LLMConsolidatorOptions as P, type LLMExtractorOptions as Q, LLMTimeoutError as R, type McpToolSchema as S, type MemoryRetrievalBundle as T, type MemoryRetrievalOptions as U, type MemoryTier as V, type MemoryTiersBundle as W, type MemoryTiersOptions as X, type MemoryWithKGOptions as Y, type MemoryWithTiersOptions as Z, type MemoryWithVectorsOptions as _, type AdmissionScore3DOptions as a, toolRegistry as a$, type PromptNodeOptions as a0, type RedactorOptions as a1, type ResilientAdapterBundle as a2, type ResilientAdapterOptions as a3, type RetrievalEntry as a4, type RetrievalPipelineOptions as a5, type RetrievalQuery as a6, type RetrievalTrace as a7, type StampedDelta as a8, type StrategyOperation as a9, frozenContext as aA, gatedStream as aB, gaugesAsContext as aC, googleAdapter as aD, graphFromSpec as aE, graphFromSpecReactive as aF, handoff as aG, keywordFlagExtractor as aH, knobsAsTools as aI, llmConsolidator as aJ, llmExtractor as aK, memoryRetrieval as aL, memoryWithKG as aM, memoryWithTiers as aN, memoryWithVectors as aO, observableAdapter as aP, parseRateLimitFromError as aQ, promptNode as aR, redactor as aS, resilientAdapter as aT, streamExtractor as aU, streamingPromptNode as aV, suggestStrategy as aW, suggestStrategyReactive as aX, systemPromptBuilder as aY, toolCallExtractor as aZ, toolExecution as a_, type StrategyPlan as aa, type StreamingPromptNodeHandle as ab, type StreamingPromptNodeOptions as ac, type SuggestStrategyOptions as ad, type SystemPromptHandle as ae, type ToolExecutionOptions as af, ToolRegistryGraph as ag, type ToolRegistryOptions as ah, type ToolResult as ai, type ToolSelectorOptions as aj, type WithBreakerOptions as ak, type WithBudgetGateOptions as al, type WithDryRunBundle as am, type WithDryRunOptions as an, type WithRateLimiterOptions as ao, type WithRetryOptions as ap, admissionFilter3D as aq, admissionScored as ar, agentLoop as as, agentMemory as at, anthropicAdapter as au, chatStream as av, contentGate as aw, costMeterExtractor as ax, dryRunAdapter as ay, fromLLM as az, type AdmissionScoredOptions as b, toolSelector as b0, validateGraphDef as b1, withBreaker as b2, withBudgetGate as b3, withDryRun as b4, withRateLimiter as b5, withRetry as b6, withTimeout as b7, type AdmissionScores as c, type AdmissionThresholds as d, AgentLoopGraph as e, type AgentLoopOptions as f, type AgentLoopStatus as g, type AgentMemoryGraph as h, index as i, type AgentMemoryOptions as j, type AnthropicAdapterOptions as k, type AnthropicSdkLike as l, BudgetExhaustedError as m, type BudgetGateBundle as n, type BudgetTotals as o, ChatStreamGraph as p, type ChatStreamOptions as q, type ContentDecision as r, type ContentGateOptions as s, type CostMeterOptions as t, type CostMeterReading as u, type DryRunAdapterOptions as v, type FrozenContextOptions as w, type GatedStreamOptions as x, type GaugesAsContextOptions as y, type GoogleAdapterOptions as z };
2593
+ export { type MemoryWithTiersOptions as $, type AdapterStats as A, type BudgetCaps as B, type CallStatsEvent as C, DEFAULT_DECAY_RATE as D, type ExtractedToolCall as E, type FromLLMOptions as F, type GatedStreamHandle as G, type GoogleSdkLike as H, type GoogleSdkRequestConfig as I, type GoogleSdkRequestParams as J, type GraphDefValidation as K, type GraphFromSpecOptions as L, type HandoffOptions as M, type HttpErrorLike as N, type KeywordFlag as O, type KeywordFlagExtractorOptions as P, type KnobsAsToolsResult as Q, type LLMConsolidatorOptions as R, type LLMExtractorOptions as S, LLMTimeoutError as T, type McpToolSchema as U, type MemoryRetrievalBundle as V, type MemoryRetrievalOptions as W, type MemoryTier as X, type MemoryTiersBundle as Y, type MemoryTiersOptions as Z, type MemoryWithKGOptions as _, type AdmissionScore3DOptions as a, toolCallExtractor as a$, type MemoryWithVectorsOptions as a0, type OpenAIToolSchema as a1, type PromptNodeOptions as a2, type RedactorOptions as a3, type ResilientAdapterBundle as a4, type ResilientAdapterOptions as a5, type RetrievalEntry as a6, type RetrievalPipelineOptions as a7, type RetrievalQuery as a8, type RetrievalTrace as a9, dryRunAdapter as aA, fromLLM as aB, frozenContext as aC, gatedStream as aD, gaugesAsContext as aE, googleAdapter as aF, graphFromSpec as aG, graphFromSpecReactive as aH, handoff as aI, keywordFlagExtractor as aJ, knobsAsTools as aK, llmConsolidator as aL, llmExtractor as aM, memoryRetrieval as aN, memoryWithKG as aO, memoryWithTiers as aP, memoryWithVectors as aQ, observableAdapter as aR, parseRateLimitFromError as aS, promptNode as aT, redactor as aU, resilientAdapter as aV, streamExtractor as aW, streamingPromptNode as aX, suggestStrategy as aY, suggestStrategyReactive as aZ, systemPromptBuilder as a_, type StampedDelta as aa, type StrategyOperation as ab, type StrategyPlan as ac, type StreamingPromptNodeHandle as ad, type StreamingPromptNodeOptions as ae, type SuggestStrategyOptions as af, type SystemPromptHandle as ag, type ToolExecutionOptions as ah, ToolRegistryGraph as ai, type ToolRegistryOptions as aj, type ToolResult as ak, type ToolSelectorOptions as al, type WithBreakerOptions as am, type WithBudgetGateOptions as an, type WithDryRunBundle as ao, type WithDryRunOptions as ap, type WithRateLimiterOptions as aq, type WithRetryOptions as ar, admissionFilter3D as as, admissionScored as at, agentLoop as au, agentMemory as av, anthropicAdapter as aw, chatStream as ax, contentGate as ay, costMeterExtractor as az, type AdmissionScoredOptions as b, toolExecution as b0, toolRegistry as b1, toolSelector as b2, validateGraphDef as b3, withBreaker as b4, withBudgetGate as b5, withDryRun as b6, withRateLimiter as b7, withRetry as b8, withTimeout as b9, type AdmissionScores as c, type AdmissionThresholds as d, AgentLoopGraph as e, type AgentLoopOptions as f, type AgentLoopStatus as g, type AgentMemoryGraph as h, index as i, type AgentMemoryOptions as j, type AnthropicAdapterOptions as k, type AnthropicSdkLike as l, BudgetExhaustedError as m, type BudgetGateBundle as n, type BudgetTotals as o, ChatStreamGraph as p, type ChatStreamOptions as q, type ContentDecision as r, type ContentGateOptions as s, type CostMeterOptions as t, type CostMeterReading as u, type DryRunAdapterOptions as v, type FrozenContextOptions as w, type GatedStreamOptions as x, type GaugesAsContextOptions as y, type GoogleAdapterOptions as z };
@@ -1,7 +1,7 @@
1
- import { P as PolicyRuleData, a as Node, A as Actor } from './node-8qx0kgYt.js';
2
- import { G as Graph, a as GraphOptions, b as GraphDescribeOptions, c as GraphDescribeOutput, D as DescribeFilter } from './graph-BROUZPG9.js';
3
- import { P as PolicyEnforcerGraph, a as PolicyViolation } from './index-CNxdDb2e.js';
4
- import { T as TopicGraph } from './index-Bi4ZP6Hc.js';
1
+ import { P as PolicyRuleData, a as Node, A as Actor } from './node-fSc-hCv8.js';
2
+ import { G as Graph, a as GraphOptions, c as GraphDescribeOptions, d as GraphDescribeOutput, D as DescribeFilter } from './graph-Cv-8x0ZI.js';
3
+ import { P as PolicyEnforcerGraph, a as PolicyViolation } from './index-Bilohojo.js';
4
+ import { T as TopicGraph } from './index-C9xF16gc.js';
5
5
 
6
6
  /**
7
7
  * Composable safety layer (roadmap §9.0b).
@@ -1,6 +1,6 @@
1
- import { a as Node } from './node-8qx0kgYt.js';
2
- import { S as StatusValue, C as CircuitState, R as RateLimiterOptions, a as CircuitBreakerOptions, b as RetryOptions, F as FallbackInput, N as NS_PER_MS, c as NS_PER_SEC } from './resilience-RjDIHZNZ.js';
3
- import { B as BudgetConstraint } from './index-DheNs40A.js';
1
+ import { a as Node } from './node-fSc-hCv8.js';
2
+ import { S as StatusValue, C as CircuitState, R as RateLimiterOptions, a as CircuitBreakerOptions, b as RetryOptions, F as FallbackInput, N as NS_PER_MS, c as NS_PER_SEC } from './resilience-Bys63Cpd.js';
3
+ import { B as BudgetConstraint } from './index-DXSLMoma.js';
4
4
 
5
5
  /**
6
6
  * Resilience composition with correct nesting order (roadmap §9.0b).
@@ -0,0 +1,26 @@
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-HOTU4UG0.js';
2
+
3
+ /**
4
+ * Orchestration patterns (roadmap §4.1).
5
+ *
6
+ * Domain-layer helpers that build workflow shapes on top of core + extra primitives.
7
+ * Exported under the `patterns.orchestration` namespace to avoid collisions with
8
+ * Phase 2 operator names (for example `gate`, `forEach`).
9
+ */
10
+
11
+ declare const index_CatchOptions: typeof CatchOptions;
12
+ declare const index_ClassifyResult: typeof ClassifyResult;
13
+ declare const index_Decision: typeof Decision;
14
+ declare const index_DecisionAction: typeof DecisionAction;
15
+ declare const index_GateController: typeof GateController;
16
+ declare const index_GateOptions: typeof GateOptions;
17
+ declare const index_PipelineGraph: typeof PipelineGraph;
18
+ declare const index_StepRef: typeof StepRef;
19
+ declare const index_TerminalCause: typeof TerminalCause;
20
+ declare const index_decisionKeyOf: typeof decisionKeyOf;
21
+ declare const index_pipelineGraph: typeof pipelineGraph;
22
+ declare namespace index {
23
+ export { index_CatchOptions as CatchOptions, index_ClassifyResult as ClassifyResult, index_Decision as Decision, index_DecisionAction as DecisionAction, index_GateController as GateController, index_GateOptions as GateOptions, index_PipelineGraph as PipelineGraph, index_StepRef as StepRef, index_TerminalCause as TerminalCause, index_decisionKeyOf as decisionKeyOf, index_pipelineGraph as pipelineGraph };
24
+ }
25
+
26
+ export { index as i };
@@ -1,7 +1,7 @@
1
- import { a as Node } from './node-8qx0kgYt.cjs';
2
- import { R as ReactiveMapBundle } from './reactive-map-Cm89Hk0c.cjs';
3
- import { a as GraphOptions, G as Graph, C as CausalChain } from './graph-DaoydJ_u.cjs';
4
- import { w as watchTopologyTree } from './topology-tree-BB6oJxMz.cjs';
1
+ import { a as Node } from './node-fSc-hCv8.cjs';
2
+ import { R as ReactiveMapBundle } from './reactive-map-DmgeADH8.cjs';
3
+ import { a as GraphOptions, G as Graph, C as CausalChain } from './graph-kTltt95s.cjs';
4
+ import { w as watchTopologyTree } from './topology-tree-C50l9ARE.cjs';
5
5
 
6
6
  /** Aggregate topology stats emitted by {@link LensGraph.stats}. */
7
7
  interface TopologyStats {
@@ -1,4 +1,4 @@
1
- import { a as Node } from './node-8qx0kgYt.js';
1
+ import { a as Node } from './node-fSc-hCv8.js';
2
2
 
3
3
  /**
4
4
  * Options for creating an atom.
@@ -1,12 +1,12 @@
1
- import { i as index$2 } from './index-DupIl9wI.js';
2
- import { i as index$3 } from './index-CI5fULSz.js';
3
- import { i as index$4 } from './index-BFHpNSsV.js';
4
- import { i as index$5 } from './index-DxEcY7Om.js';
5
- import { a as Node } from './node-8qx0kgYt.js';
6
- import { i as index$6 } from './index-BRisOxlx.js';
7
- import { i as index$7 } from './index-BWiX5foT.js';
8
- import { i as index$8 } from './index-zA1uVtk0.js';
9
- import { i as index$9 } from './index-nP13Qe6T.js';
1
+ import { i as index$2 } from './index-JYtN9uqM.js';
2
+ import { i as index$3 } from './index-8OxXae3g.js';
3
+ import { i as index$4 } from './index-DSD6xnbT.js';
4
+ import { i as index$5 } from './index-CIcu6fIR.js';
5
+ import { a as Node } from './node-fSc-hCv8.js';
6
+ import { i as index$6 } from './index-CDvC1m5p.js';
7
+ import { i as index$7 } from './index-BjWZARLy.js';
8
+ import { i as index$8 } from './index-BiomL7AW.js';
9
+ import { i as index$9 } from './index-DFe2Pk2u.js';
10
10
 
11
11
  /**
12
12
  * Options for creating signals.
@@ -1,5 +1,5 @@
1
- import { G as Graph } from './graph-DaoydJ_u.cjs';
2
- import { M as MeasurementAdapter } from './reactive-layout-Dk9AOQb_.cjs';
1
+ import { G as Graph } from './graph-kTltt95s.cjs';
2
+ import { M as MeasurementAdapter } from './reactive-layout-D9zqqaqK.cjs';
3
3
 
4
4
  /**
5
5
  * Three-pane demo shell (roadmap §7.2).
@@ -0,0 +1,171 @@
1
+ import { a as Node } from './node-fSc-hCv8.cjs';
2
+ import { R as ReactiveLogBundle } from './reactive-log-CgbNqksB.cjs';
3
+ import { NodeInput } from './extra/sources.cjs';
4
+ import { AppendLogStorageTier } from './extra/storage-tiers.cjs';
5
+ import { G as Graph, a as GraphOptions } from './graph-kTltt95s.cjs';
6
+ import { B as BaseAuditRecord } from './imperative-audit-ahAE65a9.cjs';
7
+
8
+ /**
9
+ * Job queue patterns (roadmap §4.2).
10
+ *
11
+ * Queue / flow primitives modeled as graph factories:
12
+ * - `jobQueue()` — claim/ack/nack workflow with reactive depth.
13
+ * - `jobFlow()` — multi-stage queue chain.
14
+ *
15
+ * Topic / subscription / hub primitives live in `patterns/messaging`.
16
+ */
17
+
18
+ type JobState = "queued" | "inflight";
19
+ type JobEnvelope<T> = {
20
+ id: string;
21
+ payload: T;
22
+ attempts: number;
23
+ metadata: Readonly<Record<string, unknown>>;
24
+ state: JobState;
25
+ };
26
+ /** Audit record for a job-queue mutation (Audit 2 cross-cutting). */
27
+ type JobEventAction = "enqueue" | "claim" | "ack" | "nack" | "remove";
28
+ interface JobEvent<T = unknown> extends BaseAuditRecord {
29
+ readonly action: JobEventAction;
30
+ readonly id: string;
31
+ readonly attempts?: number;
32
+ readonly payload?: T;
33
+ }
34
+ /** Recommended `keyOf` for keyed-storage adapters (Audit 2 #7). */
35
+ declare const jobEventKeyOf: <T>(e: JobEvent<T>) => string;
36
+ type JobQueueOptions = {
37
+ graph?: GraphOptions;
38
+ };
39
+ declare class JobQueueGraph<T> extends Graph {
40
+ private readonly _pending;
41
+ private readonly _jobs;
42
+ private readonly _seqCursor;
43
+ readonly pending: Node<readonly string[]>;
44
+ readonly jobs: Node<ReadonlyMap<string, JobEnvelope<T>>>;
45
+ readonly depth: Node<number>;
46
+ /** Audit log of every queue mutation (Audit 2). */
47
+ readonly events: ReactiveLogBundle<JobEvent<T>>;
48
+ /** Alias for {@link JobQueueGraph.events} — Audit 2 `.audit` duplication. */
49
+ readonly audit: ReactiveLogBundle<JobEvent<T>>;
50
+ constructor(name: string, opts?: JobQueueOptions);
51
+ private _bumpSeq;
52
+ /**
53
+ * Wire append-log storage tiers (Audit 4). Returns a disposer.
54
+ *
55
+ * Named `attachEventStorage` to avoid colliding with {@link Graph.attachSnapshotStorage}.
56
+ */
57
+ attachEventStorage(tiers: readonly AppendLogStorageTier<JobEvent<T>>[]): () => void;
58
+ enqueue(payload: T, opts?: {
59
+ id?: string;
60
+ metadata?: Record<string, unknown>;
61
+ }): string;
62
+ claim(limit?: number): readonly JobEnvelope<T>[];
63
+ ack(id: string): boolean;
64
+ nack(id: string, opts?: {
65
+ requeue?: boolean;
66
+ }): boolean;
67
+ /**
68
+ * Remove a job by id regardless of its current state. Returns `true` if
69
+ * the job existed and was removed, `false` if no job has this id.
70
+ *
71
+ * `ack` only works on inflight; `nack` only works on inflight.
72
+ * `removeById` is the state-agnostic escape hatch — useful for
73
+ * audit/observability layers that enqueue but never claim, and need to
74
+ * finalize a job when an external decision (e.g. harness verify
75
+ * outcome) resolves it. Distinct name from the inherited
76
+ * {@link Graph.remove}, which removes a mounted child subgraph by path.
77
+ *
78
+ * When the job is in `queued` state, its id is also pulled from the
79
+ * `pending` list — depth + pending snapshot stay consistent.
80
+ */
81
+ removeById(id: string): boolean;
82
+ /**
83
+ * Subscribe to a Node and enqueue each DATA payload into this queue.
84
+ * Returns a disposer that stops consuming when called.
85
+ *
86
+ * Used internally by {@link JobFlowGraph} for stage-to-stage wiring but
87
+ * also useful for users wiring an external source into a job queue.
88
+ *
89
+ * @param source - Node whose DATA values are enqueued.
90
+ * @param opts - Optional enqueue options (id generator, metadata prefix).
91
+ */
92
+ consumeFrom(source: Node<T>, opts?: {
93
+ metadata?: Record<string, unknown>;
94
+ }): () => void;
95
+ }
96
+ /**
97
+ * Work function for a job flow stage. Receives the full job envelope,
98
+ * returns a `NodeInput<T>` — raw value (sync), Promise (async), or Node
99
+ * (composed pipeline). `fromAny` coerces any of these shapes.
100
+ *
101
+ * On error / rejection: the stage nacks the job (no requeue by default).
102
+ */
103
+ type WorkFn<T> = (job: JobEnvelope<T>) => NodeInput<T>;
104
+ /**
105
+ * Stage definition for {@link JobFlowGraph}. Either a bare name string
106
+ * (no work hook, pure pass-through) or a full definition object.
107
+ */
108
+ type StageDef<T> = string | {
109
+ name: string;
110
+ work?: WorkFn<T>;
111
+ handlerVersion?: {
112
+ id: string;
113
+ version: string | number;
114
+ };
115
+ };
116
+ type JobFlowOptions<T = unknown> = {
117
+ graph?: GraphOptions;
118
+ /**
119
+ * Stage definitions. Each stage is either a bare name string (pure
120
+ * pass-through) or a `{ name, work?, handlerVersion? }` object.
121
+ *
122
+ * For back-compat, `string[]` values behave as stages with no work hook.
123
+ */
124
+ stages?: readonly StageDef<T>[];
125
+ maxPerPump?: number;
126
+ };
127
+ declare class JobFlowGraph<T> extends Graph {
128
+ private readonly _stageNames;
129
+ private readonly _stageWorkFns;
130
+ private readonly _queues;
131
+ private readonly _completed;
132
+ readonly completed: Node<readonly JobEnvelope<T>[]>;
133
+ readonly completedCount: Node<number>;
134
+ constructor(name: string, opts?: JobFlowOptions<T>);
135
+ stages(): readonly string[];
136
+ queue(stage: string): JobQueueGraph<T>;
137
+ enqueue(payload: T, opts?: {
138
+ id?: string;
139
+ metadata?: Record<string, unknown>;
140
+ }): string;
141
+ retainedCompleted(): readonly JobEnvelope<T>[];
142
+ }
143
+ /**
144
+ * Creates a Pulsar-inspired job queue graph with claim/ack/nack workflow.
145
+ */
146
+ declare function jobQueue<T>(name: string, opts?: JobQueueOptions): JobQueueGraph<T>;
147
+ /**
148
+ * Creates an autonomous multi-stage queue chain graph.
149
+ */
150
+ declare function jobFlow<T>(name: string, opts?: JobFlowOptions<T>): JobFlowGraph<T>;
151
+
152
+ type index_JobEnvelope<T> = JobEnvelope<T>;
153
+ type index_JobEvent<T = unknown> = JobEvent<T>;
154
+ type index_JobEventAction = JobEventAction;
155
+ type index_JobFlowGraph<T> = JobFlowGraph<T>;
156
+ declare const index_JobFlowGraph: typeof JobFlowGraph;
157
+ type index_JobFlowOptions<T = unknown> = JobFlowOptions<T>;
158
+ type index_JobQueueGraph<T> = JobQueueGraph<T>;
159
+ declare const index_JobQueueGraph: typeof JobQueueGraph;
160
+ type index_JobQueueOptions = JobQueueOptions;
161
+ type index_JobState = JobState;
162
+ type index_StageDef<T> = StageDef<T>;
163
+ type index_WorkFn<T> = WorkFn<T>;
164
+ declare const index_jobEventKeyOf: typeof jobEventKeyOf;
165
+ declare const index_jobFlow: typeof jobFlow;
166
+ declare const index_jobQueue: typeof jobQueue;
167
+ declare namespace index {
168
+ export { type index_JobEnvelope as JobEnvelope, type index_JobEvent as JobEvent, type index_JobEventAction as JobEventAction, index_JobFlowGraph as JobFlowGraph, type index_JobFlowOptions as JobFlowOptions, index_JobQueueGraph as JobQueueGraph, type index_JobQueueOptions as JobQueueOptions, type index_JobState as JobState, type index_StageDef as StageDef, type index_WorkFn as WorkFn, index_jobEventKeyOf as jobEventKeyOf, index_jobFlow as jobFlow, index_jobQueue as jobQueue };
169
+ }
170
+
171
+ export { JobQueueGraph as J, type StageDef as S, type WorkFn as W, type JobEnvelope as a, type JobEvent as b, type JobEventAction as c, JobFlowGraph as d, type JobFlowOptions as e, type JobQueueOptions as f, type JobState as g, jobFlow as h, index as i, jobEventKeyOf as j, jobQueue as k };
@@ -1,5 +1,5 @@
1
- import { a as Node, N as NodeOptions } from './node-8qx0kgYt.cjs';
2
- import { a as GraphOptions, G as Graph } from './graph-DaoydJ_u.cjs';
1
+ import { a as Node, N as NodeOptions } from './node-fSc-hCv8.cjs';
2
+ import { a as GraphOptions, G as Graph } from './graph-kTltt95s.cjs';
3
3
 
4
4
  /**
5
5
  * Reduction primitives (roadmap §8.1).
@@ -1,6 +1,6 @@
1
- import { M as MeasurementAdapter, P as PreparedSegment, L as LineBreaksResult, C as CharPosition, a as LayoutCursor, I as Interval, b as LayoutLine, c as LayoutNextLineContext, d as LayoutNextLineResult, R as ReactiveLayoutBundle, e as ReactiveLayoutOptions, S as SegmentBreakKind, f as SegmentMeasureStats, g as analyzeAndMeasure, h as carveTextLineSlots, i as computeCharPositions, j as computeLineBreaks, l as layoutNextLine, r as reactiveLayout } from './reactive-layout-Dk9AOQb_.cjs';
2
- import { a as Node } from './node-8qx0kgYt.cjs';
3
- import { G as Graph } from './graph-DaoydJ_u.cjs';
1
+ import { M as MeasurementAdapter, P as PreparedSegment, L as LineBreaksResult, C as CharPosition, a as LayoutCursor, I as Interval, b as LayoutLine, c as LayoutNextLineContext, d as LayoutNextLineResult, R as ReactiveLayoutBundle, e as ReactiveLayoutOptions, S as SegmentBreakKind, f as SegmentMeasureStats, g as analyzeAndMeasure, h as carveTextLineSlots, i as computeCharPositions, j as computeLineBreaks, l as layoutNextLine, r as reactiveLayout } from './reactive-layout-D9zqqaqK.cjs';
2
+ import { a as Node } from './node-fSc-hCv8.cjs';
3
+ import { G as Graph } from './graph-kTltt95s.cjs';
4
4
 
5
5
  /**
6
6
  * MeasurementAdapter implementations (roadmap §7.1 — pluggable backends).