@graphrefly/graphrefly 0.38.0 → 0.40.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 (321) hide show
  1. package/dist/budget-gate-CmmVtasH.d.ts +115 -0
  2. package/dist/budget-gate-DiP_nK0n.d.cts +115 -0
  3. package/dist/{cascading-BsJ4GbnS.d.ts → cascading-BNfxffgc.d.ts} +2 -2
  4. package/dist/{cascading-B25wxpRa.d.cts → cascading-Cxs1eztH.d.cts} +2 -2
  5. package/dist/chunk-2BX4NB34.js +3 -0
  6. package/dist/{chunk-6VFC334U.js → chunk-2DMKW2AD.js} +1 -1
  7. package/dist/{chunk-4BDQXBXE.js → chunk-2QXRYP7Q.js} +1 -1
  8. package/dist/chunk-32N3JALT.js +1 -0
  9. package/dist/chunk-35JTVPOX.js +1 -0
  10. package/dist/chunk-3G5U5QNE.js +5 -0
  11. package/dist/{chunk-PHXZRR6C.js → chunk-4I45FVQS.js} +1 -1
  12. package/dist/{chunk-B5S7KTGP.js → chunk-6I726LZU.js} +1 -1
  13. package/dist/{chunk-NV63VQHI.js → chunk-6VWBPSSY.js} +1 -1
  14. package/dist/chunk-6XVD5TZV.js +1 -0
  15. package/dist/chunk-756D5TFD.js +1 -0
  16. package/dist/{chunk-DSOVKKTI.js → chunk-7Q4ZD3YW.js} +1 -1
  17. package/dist/{chunk-TMVY7OWG.js → chunk-B7LCDQEV.js} +1 -1
  18. package/dist/chunk-C72GO4IZ.js +1 -0
  19. package/dist/{chunk-RZ5HKPGI.js → chunk-CKFQS2CJ.js} +1 -1
  20. package/dist/chunk-D27JNOLZ.js +1 -0
  21. package/dist/chunk-ECQRP2UT.js +1 -0
  22. package/dist/{chunk-6773HURD.js → chunk-FHRBBHJN.js} +1 -1
  23. package/dist/{chunk-UVLZX2OU.js → chunk-I2DEVPMU.js} +1 -1
  24. package/dist/chunk-INQFTVZA.js +61 -0
  25. package/dist/{chunk-6KZZ6XQE.js → chunk-J63M5U46.js} +1 -1
  26. package/dist/{chunk-POCWFIJ7.js → chunk-JKBOIJ22.js} +1 -1
  27. package/dist/chunk-K2Z7UENB.js +1 -0
  28. package/dist/chunk-L6NSJVJZ.js +1 -0
  29. package/dist/{chunk-K5C67OGE.js → chunk-LCGAVGGV.js} +2 -2
  30. package/dist/chunk-LYM4PBMV.js +1 -0
  31. package/dist/{chunk-O2BLVQU4.js → chunk-MNZIKXK4.js} +1 -1
  32. package/dist/chunk-N43XM7BM.js +1 -0
  33. package/dist/{chunk-FWGIZP3W.js → chunk-OSZ22J7O.js} +1 -1
  34. package/dist/{chunk-FAYEMS5M.js → chunk-PPUYQ66A.js} +1 -1
  35. package/dist/{chunk-SP5O2MIX.js → chunk-QSK3RRII.js} +1 -1
  36. package/dist/chunk-RZJDIV2G.js +1 -0
  37. package/dist/chunk-SSCGRYJ2.js +1 -0
  38. package/dist/chunk-SVFKHUCW.js +1 -0
  39. package/dist/chunk-TSOYJ743.js +1 -0
  40. package/dist/{chunk-O245YLM5.js → chunk-UWA6D7UF.js} +1 -1
  41. package/dist/chunk-VMF23LGB.js +1 -0
  42. package/dist/chunk-WL6LFPJB.js +1 -0
  43. package/dist/chunk-WUT362QV.js +1 -0
  44. package/dist/chunk-XJLYLLIJ.js +1 -0
  45. package/dist/{chunk-IBGE62GZ.js → chunk-XW4YDF6G.js} +1 -1
  46. package/dist/chunk-YKD7WUYJ.js +43 -0
  47. package/dist/{chunk-7KZZLWZ6.js → chunk-YXDRGKXP.js} +1 -1
  48. package/dist/chunk-Z4F3DOWS.js +84 -0
  49. package/dist/compat/index.cjs +9 -13
  50. package/dist/compat/index.d.cts +16 -16
  51. package/dist/compat/index.d.ts +16 -16
  52. package/dist/compat/index.js +1 -1
  53. package/dist/compat/jotai/index.d.cts +2 -2
  54. package/dist/compat/jotai/index.d.ts +2 -2
  55. package/dist/compat/nanostores/index.d.cts +2 -2
  56. package/dist/compat/nanostores/index.d.ts +2 -2
  57. package/dist/compat/nestjs/index.cjs +7 -11
  58. package/dist/compat/nestjs/index.d.cts +8 -8
  59. package/dist/compat/nestjs/index.d.ts +8 -8
  60. package/dist/compat/nestjs/index.js +1 -1
  61. package/dist/compat/react/index.d.cts +2 -2
  62. package/dist/compat/react/index.d.ts +2 -2
  63. package/dist/compat/solid/index.d.cts +2 -2
  64. package/dist/compat/solid/index.d.ts +2 -2
  65. package/dist/compat/svelte/index.d.cts +2 -2
  66. package/dist/compat/svelte/index.d.ts +2 -2
  67. package/dist/compat/vue/index.d.cts +2 -2
  68. package/dist/compat/vue/index.d.ts +2 -2
  69. package/dist/compat/zustand/index.cjs +3 -7
  70. package/dist/compat/zustand/index.d.cts +4 -4
  71. package/dist/compat/zustand/index.d.ts +4 -4
  72. package/dist/compat/zustand/index.js +1 -1
  73. package/dist/core/index.cjs +1 -1
  74. package/dist/core/index.d.cts +4 -4
  75. package/dist/core/index.d.ts +4 -4
  76. package/dist/core/index.js +1 -1
  77. package/dist/{composite-DTOlDuch.d.ts → decay-BnrlbxSv.d.ts} +39 -3
  78. package/dist/{composite-CgG0MqHm.d.cts → decay-C25AyNAj.d.cts} +39 -3
  79. package/dist/extra/browser.d.cts +1 -1
  80. package/dist/extra/browser.d.ts +1 -1
  81. package/dist/extra/index.cjs +16 -20
  82. package/dist/extra/index.d.cts +11 -9
  83. package/dist/extra/index.d.ts +11 -9
  84. package/dist/extra/index.js +1 -1
  85. package/dist/extra/node.cjs +2 -2
  86. package/dist/extra/node.d.cts +1 -1
  87. package/dist/extra/node.d.ts +1 -1
  88. package/dist/extra/node.js +1 -1
  89. package/dist/extra/operators.cjs +1 -1
  90. package/dist/extra/operators.d.cts +1 -1
  91. package/dist/extra/operators.d.ts +1 -1
  92. package/dist/extra/operators.js +1 -1
  93. package/dist/extra/reactive.cjs +1 -1
  94. package/dist/extra/reactive.d.cts +3 -3
  95. package/dist/extra/reactive.d.ts +3 -3
  96. package/dist/extra/reactive.js +1 -1
  97. package/dist/extra/render/index.cjs +5 -0
  98. package/dist/extra/render/index.d.cts +183 -0
  99. package/dist/extra/render/index.d.ts +183 -0
  100. package/dist/extra/render/index.js +1 -0
  101. package/dist/extra/sources.cjs +1 -1
  102. package/dist/extra/sources.d.cts +1 -1
  103. package/dist/extra/sources.d.ts +1 -1
  104. package/dist/extra/sources.js +1 -1
  105. package/dist/extra/storage-browser.d.cts +1 -1
  106. package/dist/extra/storage-browser.d.ts +1 -1
  107. package/dist/{fallback-axI2cXwt.d.cts → fallback-8JYU8tlT.d.cts} +1 -1
  108. package/dist/{fallback-DuEXfA4F.d.ts → fallback-CMZl39L5.d.ts} +1 -1
  109. package/dist/graph/index.cjs +7 -7
  110. package/dist/graph/index.d.cts +5 -5
  111. package/dist/graph/index.d.ts +5 -5
  112. package/dist/graph/index.js +1 -1
  113. package/dist/{graph-BjW1taJl.d.ts → graph-BkIkog4h.d.ts} +76 -100
  114. package/dist/{graph-CHsVwf9S.d.cts → graph-E6likq7w.d.cts} +76 -100
  115. package/dist/{index-CIcu6fIR.d.ts → index-2n8Eai6M.d.ts} +1 -1
  116. package/dist/{index-BwOsJfLJ.d.ts → index-3k4Gg6-n.d.ts} +3 -3
  117. package/dist/{index-BUFCHvOR.d.ts → index-40ZT4MHj.d.ts} +3 -3
  118. package/dist/index-8s-Qm-gz.d.ts +218 -0
  119. package/dist/index-A3U3CSve.d.cts +113 -0
  120. package/dist/{index-CDvC1m5p.d.ts → index-B2RUoIUz.d.ts} +1 -1
  121. package/dist/{index-Byp771zP.d.ts → index-B6iTqKtJ.d.ts} +2 -2
  122. package/dist/{index-D-B7U42V.d.cts → index-B72TQQHd.d.cts} +2 -2
  123. package/dist/{resilience-Bys63Cpd.d.ts → index-BAQrjuZF.d.ts} +202 -26
  124. package/dist/{index-BiomL7AW.d.ts → index-BJSZxSFX.d.ts} +1 -1
  125. package/dist/index-BQ1fR4li.d.ts +210 -0
  126. package/dist/{index-D7-RSD93.d.cts → index-BTHOTC0Q.d.cts} +4 -4
  127. package/dist/{index-CEVzBWeB.d.ts → index-BaA-xpSw.d.ts} +26 -19
  128. package/dist/{index-CAV-3RpJ.d.cts → index-Bd91Nmf4.d.cts} +4 -4
  129. package/dist/{index-BI1wMfyc.d.ts → index-BgjS2b8N.d.ts} +3 -3
  130. package/dist/{index-Bpr0Pwgl.d.cts → index-BiHUBEKq.d.cts} +3 -3
  131. package/dist/{index-UsU9ptzs.d.cts → index-BilOa6AE.d.cts} +55 -9
  132. package/dist/{index-DJVQ-t07.d.ts → index-BmSQLAZo.d.cts} +41 -48
  133. package/dist/{index-DTDVDzhA.d.ts → index-C-dkXOpB.d.cts} +56 -54
  134. package/dist/{index-B-ORMr3k.d.ts → index-C5cQ7Gfx.d.ts} +4 -4
  135. package/dist/{index-ML6vHKXK.d.ts → index-C6ZUaos7.d.ts} +1 -1
  136. package/dist/{index-Vz7KPfgz.d.ts → index-CAP3UGsq.d.ts} +1 -1
  137. package/dist/{index-BFaALJxR.d.ts → index-CD2dBMet.d.ts} +10 -8
  138. package/dist/index-CGhMJNHb.d.cts +128 -0
  139. package/dist/{index-B3D_z0Z6.d.cts → index-CL7oilfm.d.cts} +1 -1
  140. package/dist/{index-Bn0uZEL4.d.ts → index-CQtWm7jS.d.ts} +9 -9
  141. package/dist/{index-CM-i58FY.d.cts → index-CRm0YIzC.d.cts} +9 -9
  142. package/dist/index-CUIkE1l9.d.cts +230 -0
  143. package/dist/{index-CijfwEWx.d.ts → index-Cczxgd2D.d.ts} +2 -2
  144. package/dist/{index-CAbHN_rP.d.cts → index-CgnCFhr2.d.cts} +1 -1
  145. package/dist/{index-B2IUcH13.d.cts → index-Ck35nA-T.d.ts} +41 -48
  146. package/dist/{index-BpMZzX9P.d.cts → index-Cnr1WrlX.d.cts} +3 -3
  147. package/dist/{index-JYtN9uqM.d.ts → index-CoM4rzyB.d.ts} +1 -1
  148. package/dist/{index-Ckil6miL.d.cts → index-CtFNGe-m.d.cts} +2 -2
  149. package/dist/{index-BjWZARLy.d.ts → index-Ctb7_2sG.d.ts} +1 -1
  150. package/dist/index-CuPUehFa.d.cts +218 -0
  151. package/dist/index-D1Gc7wV5.d.ts +230 -0
  152. package/dist/{index-DqICM_I7.d.ts → index-D1IEZUsj.d.ts} +67 -9
  153. package/dist/{index-BFuVcqL8.d.cts → index-D3ayz3hy.d.cts} +1 -1
  154. package/dist/{index-CQsqqEVz.d.cts → index-D4uimgee.d.cts} +1 -1
  155. package/dist/{resilience-BWP2c7Af.d.cts → index-DGTo1yka.d.cts} +202 -26
  156. package/dist/{index-BmWuVdER.d.ts → index-DH4fm2Ck.d.ts} +2 -2
  157. package/dist/{index-BkQqf1EF.d.cts → index-DJ_MPOJ5.d.cts} +67 -9
  158. package/dist/{index-9xhIaM-w.d.cts → index-DOBLxOti.d.cts} +1 -1
  159. package/dist/{index-BqcgiSQg.d.cts → index-DQQCOIt8.d.cts} +10 -8
  160. package/dist/{index-DJNAWzcH.d.cts → index-DVAlsmEU.d.cts} +26 -19
  161. package/dist/index-DVDapw2k.d.cts +210 -0
  162. package/dist/{index-D_QQ_dTD.d.cts → index-DYTBbF8T.d.cts} +1 -1
  163. package/dist/{index-BgzPO43H.d.cts → index-DgJc8Zgc.d.cts} +6 -6
  164. package/dist/{index-Czk3r0yA.d.cts → index-DhLyOHYZ.d.ts} +56 -54
  165. package/dist/{index-CrlHFsiT.d.ts → index-DhnsQfa3.d.ts} +100 -118
  166. package/dist/{index-Bub6x_D4.d.cts → index-DktLSZOc.d.cts} +37 -90
  167. package/dist/{index-BaSy4L6w.d.cts → index-DpiGqtrs.d.cts} +100 -118
  168. package/dist/{index-D-HZ7sP4.d.ts → index-I1cCY3ZI.d.ts} +6 -6
  169. package/dist/{index-D9vBTuzo.d.ts → index-IUCY0OFN.d.ts} +4 -4
  170. package/dist/{index-DeSsvHDD.d.cts → index-MxYuWOrf.d.cts} +3 -3
  171. package/dist/index-N2MAxt7_.d.ts +128 -0
  172. package/dist/{index-CpZKtdMw.d.cts → index-PgwvGWa1.d.cts} +1 -1
  173. package/dist/{index-AUqWe_fX.d.ts → index-WSlcjhQF.d.ts} +55 -9
  174. package/dist/{index-Di7OdwlO.d.ts → index-bXXLSvor.d.ts} +37 -90
  175. package/dist/index-da2V5vPy.d.ts +113 -0
  176. package/dist/{index-DY2f2b9z.d.ts → index-eaQuGJnv.d.ts} +3 -3
  177. package/dist/{index-BsgxnHN8.d.cts → index-t6L2qpHh.d.cts} +3 -3
  178. package/dist/{index-C-3UXnHT.d.cts → index-tV3AA9hI.d.cts} +2 -2
  179. package/dist/{index-8OxXae3g.d.ts → index-yLt-aPMp.d.ts} +1 -1
  180. package/dist/{index-CqSJ25A9.d.cts → index-z8WFPVI8.d.cts} +1 -1
  181. package/dist/index.cjs +63 -59
  182. package/dist/index.d.cts +48 -47
  183. package/dist/index.d.ts +48 -47
  184. package/dist/index.js +1 -1
  185. package/dist/{meta-DreaEM_a.d.cts → meta-Ct9nqQS5.d.cts} +11 -7
  186. package/dist/{meta-BYqlATmg.d.ts → meta-D8OyedKp.d.ts} +11 -7
  187. package/dist/{node-fSc-hCv8.d.cts → node-BYInONRr.d.cts} +3 -3
  188. package/dist/{node-fSc-hCv8.d.ts → node-BYInONRr.d.ts} +3 -3
  189. package/dist/{observable-Cqty11jG.d.cts → observable-DMIlYJV1.d.cts} +1 -1
  190. package/dist/{observable-EAV_rNfM.d.ts → observable-DO8DDEzv.d.ts} +1 -1
  191. package/dist/patterns/ai/browser.cjs +5 -5
  192. package/dist/patterns/ai/browser.d.cts +4 -4
  193. package/dist/patterns/ai/browser.d.ts +4 -4
  194. package/dist/patterns/ai/browser.js +1 -1
  195. package/dist/patterns/ai/index.cjs +16 -20
  196. package/dist/patterns/ai/index.d.cts +17 -17
  197. package/dist/patterns/ai/index.d.ts +17 -17
  198. package/dist/patterns/ai/index.js +1 -1
  199. package/dist/patterns/ai/node.cjs +1 -1
  200. package/dist/patterns/ai/node.d.cts +4 -4
  201. package/dist/patterns/ai/node.d.ts +4 -4
  202. package/dist/patterns/ai/node.js +1 -1
  203. package/dist/patterns/audit/index.cjs +3 -7
  204. package/dist/patterns/audit/index.d.cts +6 -6
  205. package/dist/patterns/audit/index.d.ts +6 -6
  206. package/dist/patterns/audit/index.js +1 -1
  207. package/dist/patterns/cqrs/index.cjs +3 -7
  208. package/dist/patterns/cqrs/index.d.cts +6 -6
  209. package/dist/patterns/cqrs/index.d.ts +6 -6
  210. package/dist/patterns/cqrs/index.js +1 -1
  211. package/dist/patterns/demo-shell/index.cjs +5 -8
  212. package/dist/patterns/demo-shell/index.d.cts +5 -5
  213. package/dist/patterns/demo-shell/index.d.ts +5 -5
  214. package/dist/patterns/demo-shell/index.js +1 -1
  215. package/dist/patterns/domain-templates/index.cjs +3 -7
  216. package/dist/patterns/domain-templates/index.d.cts +4 -4
  217. package/dist/patterns/domain-templates/index.d.ts +4 -4
  218. package/dist/patterns/domain-templates/index.js +1 -1
  219. package/dist/patterns/graphspec/index.cjs +37 -37
  220. package/dist/patterns/graphspec/index.d.cts +5 -5
  221. package/dist/patterns/graphspec/index.d.ts +5 -5
  222. package/dist/patterns/graphspec/index.js +1 -1
  223. package/dist/patterns/guarded-execution/index.cjs +3 -7
  224. package/dist/patterns/guarded-execution/index.d.cts +7 -7
  225. package/dist/patterns/guarded-execution/index.d.ts +7 -7
  226. package/dist/patterns/guarded-execution/index.js +1 -1
  227. package/dist/patterns/harness/index.cjs +8 -12
  228. package/dist/patterns/harness/index.d.cts +12 -12
  229. package/dist/patterns/harness/index.d.ts +12 -12
  230. package/dist/patterns/harness/index.js +1 -1
  231. package/dist/patterns/job-queue/index.cjs +3 -7
  232. package/dist/patterns/job-queue/index.d.cts +6 -6
  233. package/dist/patterns/job-queue/index.d.ts +6 -6
  234. package/dist/patterns/job-queue/index.js +1 -1
  235. package/dist/patterns/lens/index.cjs +3 -7
  236. package/dist/patterns/lens/index.d.cts +5 -6
  237. package/dist/patterns/lens/index.d.ts +5 -6
  238. package/dist/patterns/lens/index.js +1 -1
  239. package/dist/patterns/memory/index.cjs +3 -7
  240. package/dist/patterns/memory/index.d.cts +6 -6
  241. package/dist/patterns/memory/index.d.ts +6 -6
  242. package/dist/patterns/memory/index.js +1 -1
  243. package/dist/patterns/messaging/index.cjs +3 -7
  244. package/dist/patterns/messaging/index.d.cts +5 -5
  245. package/dist/patterns/messaging/index.d.ts +5 -5
  246. package/dist/patterns/messaging/index.js +1 -1
  247. package/dist/patterns/orchestration/index.cjs +3 -7
  248. package/dist/patterns/orchestration/index.d.cts +8 -8
  249. package/dist/patterns/orchestration/index.d.ts +8 -8
  250. package/dist/patterns/orchestration/index.js +1 -1
  251. package/dist/patterns/process/index.cjs +1 -1
  252. package/dist/patterns/process/index.d.cts +7 -7
  253. package/dist/patterns/process/index.d.ts +7 -7
  254. package/dist/patterns/process/index.js +1 -1
  255. package/dist/patterns/reactive-layout/index.cjs +4 -8
  256. package/dist/patterns/reactive-layout/index.d.cts +5 -5
  257. package/dist/patterns/reactive-layout/index.d.ts +5 -5
  258. package/dist/patterns/reactive-layout/index.js +1 -1
  259. package/dist/patterns/reduction/index.cjs +3 -7
  260. package/dist/patterns/reduction/index.d.cts +4 -4
  261. package/dist/patterns/reduction/index.d.ts +4 -4
  262. package/dist/patterns/reduction/index.js +1 -1
  263. package/dist/patterns/refine-loop/index.cjs +5 -9
  264. package/dist/patterns/refine-loop/index.d.cts +6 -6
  265. package/dist/patterns/refine-loop/index.d.ts +6 -6
  266. package/dist/patterns/refine-loop/index.js +1 -1
  267. package/dist/patterns/resilient-pipeline/index.cjs +3 -1
  268. package/dist/patterns/resilient-pipeline/index.d.cts +6 -6
  269. package/dist/patterns/resilient-pipeline/index.d.ts +6 -6
  270. package/dist/patterns/resilient-pipeline/index.js +1 -1
  271. package/dist/patterns/surface/index.cjs +12 -16
  272. package/dist/patterns/surface/index.d.cts +6 -6
  273. package/dist/patterns/surface/index.d.ts +6 -6
  274. package/dist/patterns/surface/index.js +1 -1
  275. package/dist/{pipeline-graph-9JBbmRxA.d.ts → pipeline-graph-CB4La-UW.d.ts} +34 -17
  276. package/dist/{pipeline-graph-DuHpXSOn.d.cts → pipeline-graph-MWrQZXCq.d.cts} +34 -17
  277. package/dist/{reactive-layout-BMLDB4Vd.d.cts → reactive-layout-BtZfUKuL.d.cts} +2 -2
  278. package/dist/{reactive-layout-D-tRiNhg.d.ts → reactive-layout-KJj4E2dT.d.ts} +2 -2
  279. package/dist/{reactive-log-BgWSA1fg.d.ts → reactive-log-BlAsPLl2.d.ts} +2 -2
  280. package/dist/{reactive-log-C3IMAGpT.d.cts → reactive-log-_zeEnB9H.d.cts} +2 -2
  281. package/dist/{reactive-map-DmgeADH8.d.cts → reactive-map-6P_k3AQM.d.cts} +2 -2
  282. package/dist/{reactive-map-CHyeCf4D.d.ts → reactive-map-CjXByDV-.d.ts} +2 -2
  283. package/dist/resilience-S33JV6XC.js +1 -0
  284. package/dist/{sugar-D13E2M_z.d.ts → sugar-BhfjgetH.d.ts} +1 -1
  285. package/dist/{sugar-DgaGJcI6.d.cts → sugar-DzePN5-g.d.cts} +1 -1
  286. package/dist/{topology-tree-jrZue3ao.d.cts → topology-tree-3LBKFsUo.d.cts} +1 -1
  287. package/dist/{topology-tree-D47-nI6Z.d.ts → topology-tree-mF7Emqzm.d.ts} +1 -1
  288. package/dist/{types-BMSGPlpO.d.cts → types-1Dhoi7HM.d.cts} +1 -1
  289. package/dist/{types-CidcBDuk.d.ts → types-39jk0kaV.d.ts} +1 -1
  290. package/package.json +11 -1
  291. package/dist/chunk-2YFDSYEF.js +0 -1
  292. package/dist/chunk-5BGFS2XH.js +0 -1
  293. package/dist/chunk-CMTN3KPT.js +0 -80
  294. package/dist/chunk-DQJLC6YY.js +0 -1
  295. package/dist/chunk-G7JN6LCB.js +0 -1
  296. package/dist/chunk-KJEAIIIY.js +0 -43
  297. package/dist/chunk-LV3ACS5J.js +0 -1
  298. package/dist/chunk-NBGPXQSP.js +0 -1
  299. package/dist/chunk-NN3QPJ6U.js +0 -1
  300. package/dist/chunk-NSAZ6PR6.js +0 -1
  301. package/dist/chunk-O32GJOUJ.js +0 -1
  302. package/dist/chunk-QEVSIVSF.js +0 -1
  303. package/dist/chunk-QMC2PLNM.js +0 -7
  304. package/dist/chunk-QOJFR6GS.js +0 -1
  305. package/dist/chunk-SFK7MN7S.js +0 -1
  306. package/dist/chunk-TB7JKSVS.js +0 -61
  307. package/dist/chunk-UAXFKMAG.js +0 -1
  308. package/dist/chunk-XIMFHEKV.js +0 -1
  309. package/dist/chunk-XLMYQB6F.js +0 -1
  310. package/dist/chunk-XLYF4LBH.js +0 -1
  311. package/dist/imperative-audit-ahAE65a9.d.cts +0 -28
  312. package/dist/imperative-audit-ahAE65a9.d.ts +0 -28
  313. package/dist/index-5dNRlW7J.d.ts +0 -135
  314. package/dist/index-BWUMIt7J.d.cts +0 -135
  315. package/dist/index-BhzwpIJc.d.cts +0 -105
  316. package/dist/index-BsZk9T8y.d.ts +0 -105
  317. package/dist/index-C56XZiDe.d.cts +0 -163
  318. package/dist/index-CpdnP-0y.d.cts +0 -186
  319. package/dist/index-DKrIuF-r.d.ts +0 -163
  320. package/dist/index-DOU1Ee_k.d.ts +0 -186
  321. package/dist/resilience-LGBK236C.js +0 -1
@@ -1,17 +1,19 @@
1
- import { a as Node } from './node-fSc-hCv8.cjs';
2
- import { R as ReactiveLogBundle } from './reactive-log-C3IMAGpT.cjs';
3
- import { G as Graph } from './graph-CHsVwf9S.cjs';
4
- import { B as BaseAuditRecord } from './imperative-audit-ahAE65a9.cjs';
1
+ import { N as Node } from './node-BYInONRr.cjs';
2
+ import { B as BaseAuditRecord } from './index-DVDapw2k.cjs';
3
+ import { a as ReactiveLogBundle } from './reactive-log-_zeEnB9H.cjs';
4
+ import { G as Graph } from './graph-E6likq7w.cjs';
5
5
 
6
6
  /**
7
7
  * Memory patterns (roadmap §4.3) — public-face Phase-4 primitives audited under
8
8
  * `archive/docs/SESSION-public-face-blocks-review.md` (Wave A, locked 2026-04-25).
9
9
  *
10
- * Five primitives:
11
- * - {@link decay} pure exponential-decay utility.
12
- * - {@link lightCollection} Map + LRU eviction + audit log; non-Graph bundle.
13
- * - {@link collection} / {@link CollectionGraph} — scored memory store with live
14
- * decay-ranking via reactive timer dep.
10
+ * Three primitives (the pure `decay` helper was promoted to `extra/utils/decay.ts`
11
+ * per Tier 2.2 and is no longer re-exported here; `lightCollection` was folded
12
+ * into `collection({ranked:false})` per Tier 2.3 and is no longer a separate
13
+ * factory):
14
+ * - {@link collection} / {@link CollectionGraph} — keyed memory store with
15
+ * optional decay-aware ranking. Pass `{ ranked: false }` for the previous
16
+ * `lightCollection` shape (Map + LRU + audit, no scoring).
15
17
  * - {@link vectorIndex} / {@link VectorIndexGraph} — reactive vector store with
16
18
  * optional HNSW backend, retention, and reactive {@link VectorIndexGraph.searchNode}.
17
19
  * - {@link knowledgeGraph} / {@link KnowledgeGraph} — entities + typed edges with
@@ -29,23 +31,6 @@ import { B as BaseAuditRecord } from './imperative-audit-ahAE65a9.cjs';
29
31
  * @module
30
32
  */
31
33
 
32
- /**
33
- * Exponential decay with floor: `score = max(minScore, baseScore * exp(-ratePerSecond * ageSeconds))`.
34
- *
35
- * Tolerant fallbacks (deliberate for use inside reactive derived fns):
36
- * - non-finite `baseScore` → `minScore`
37
- * - non-positive `ageSeconds` (incl. clock skew) → `max(minScore, baseScore)` (no decay)
38
- * - non-positive `ratePerSecond` → `max(minScore, baseScore)` (no decay; rate=0 disables)
39
- *
40
- * Underflow boundary: `Math.exp(-745) === 0`. For very long ages × rates the
41
- * result clamps to `minScore`; if you need slow decay over years, choose a
42
- * smaller `ratePerSecond` rather than relying on graceful underflow.
43
- *
44
- * Half-life conversion: `ratePerSecond = Math.LN2 / halfLifeSeconds`.
45
- *
46
- * @category memory
47
- */
48
- declare function decay(baseScore: number, ageSeconds: number, ratePerSecond: number, minScore?: number): number;
49
34
  /**
50
35
  * Cosine similarity over `(a, b)`. When lengths differ, the shorter is
51
36
  * implicitly zero-padded to the longer length. Returns `0` if either vector
@@ -66,66 +51,11 @@ declare function decay(baseScore: number, ageSeconds: number, ratePerSecond: num
66
51
  declare function cosineSimilarity(a: readonly number[], b: readonly number[]): number;
67
52
  /** Public alias for the `Node | value` shape accepted by reactive read factories. */
68
53
  type NodeOrValue<T> = T | Node<T>;
69
- type LightCollectionEntry<T> = {
54
+ type CollectionEntry<T> = {
70
55
  readonly id: string;
71
56
  readonly value: T;
72
57
  readonly createdAtNs: number;
73
58
  readonly lastAccessNs: number;
74
- };
75
- type LightCollectionOptions = {
76
- name?: string;
77
- maxSize?: number;
78
- };
79
- interface LightCollectionAuditRecord extends BaseAuditRecord {
80
- readonly action: "upsert" | "remove" | "clear";
81
- readonly id?: string;
82
- }
83
- type LightCollectionBundle<T> = {
84
- readonly entries: Node<ReadonlyMap<string, LightCollectionEntry<T>>>;
85
- readonly events: ReactiveLogBundle<LightCollectionAuditRecord>;
86
- upsert: (id: string, value: T) => void;
87
- remove: (id: string) => void;
88
- clear: () => void;
89
- itemNode: (id: NodeOrValue<string>) => Node<LightCollectionEntry<T> | undefined>;
90
- hasNode: (id: NodeOrValue<string>) => Node<boolean>;
91
- };
92
- /**
93
- * Reactive Map of {@link LightCollectionEntry} with native LRU eviction by
94
- * `maxSize`. Backed by `reactiveMap` so iteration order, snapshot delivery,
95
- * and copy-on-write semantics match the rest of the data-structure tier.
96
- *
97
- * **No-Graph composition.** `bundle.entries` is a detached `state()` — mount
98
- * manually with `parent.add(bundle.entries)` for `describe()` / `lens.flow`
99
- * coverage.
100
- *
101
- * **`createdAtNs` preservation.** Re-upserting an existing id keeps the
102
- * original `createdAtNs`; only `lastAccessNs` advances. Eviction is purely
103
- * LRU-by-`lastAccessNs` (newest wins) via `reactiveMap`'s native `maxSize`.
104
- *
105
- * **No imperative reads.** Per the no-imperative-reads policy: subscribe to
106
- * `entries` for the live snapshot, or use `itemNode(id)` / `hasNode(id)` for
107
- * single-key reactive reads. For one-shot snapshots use `firstValueFrom` or
108
- * `node.cache` after `awaitSettled`.
109
- *
110
- * **Audit log freeze contract.** Mutations are wrapped via `lightMutation`,
111
- * which deep-freezes args at entry by default (per the Audit 2 framework).
112
- * That means the `value` you pass to `upsert(id, value)` is frozen by the
113
- * time it lands in `LightCollectionEntry.value`. If you store mutable
114
- * payloads and need them mutable post-upsert, opt out via `lightMutation`'s
115
- * `freeze: false` (currently internal — not exposed on the bundle; if you
116
- * hit this, file in `docs/optimizations.md`).
117
- *
118
- * **Audit no-op records.** Mutations record an audit entry even when the
119
- * impl was a no-op (`remove(id)` for a missing id, `clear()` on empty store).
120
- * The framework records attempts, not state changes — this is intentional
121
- * (see `_internal/imperative-audit.ts` rationale). Audit consumers that
122
- * reconstruct state by replaying records can ignore no-op redundant entries
123
- * without losing correctness.
124
- *
125
- * @category memory
126
- */
127
- declare function lightCollection<T>(opts?: LightCollectionOptions): LightCollectionBundle<T>;
128
- type CollectionEntry<T> = LightCollectionEntry<T> & {
129
59
  readonly baseScore: number;
130
60
  };
131
61
  type RankedCollectionEntry<T> = CollectionEntry<T> & {
@@ -134,11 +64,22 @@ type RankedCollectionEntry<T> = CollectionEntry<T> & {
134
64
  type CollectionScoreFn<T> = (value: T) => number;
135
65
  type CollectionOptions<T> = {
136
66
  maxSize?: number;
67
+ /**
68
+ * Whether to expose a live decay-aware `ranked` node + `rescore` mutator.
69
+ * Default `true`. Pass `false` to fold in the previous `lightCollection`
70
+ * shape — entries are still keyed/audited/LRU-evicted, but the timer-driven
71
+ * `ranked` + scoring machinery is skipped. `ranked` then resolves to a
72
+ * static empty array Node and `rescore()` is a no-op (so callers writing
73
+ * type-generic code don't need to special-case the unranked path).
74
+ */
75
+ ranked?: boolean;
137
76
  /**
138
77
  * Produces a base score at insert/update time. Static fn or a reactive
139
78
  * `Node<(value: T) => number>` — when supplied as a Node, `ranked` re-derives
140
79
  * whenever the score fn changes, but `baseScore` on each entry is only
141
80
  * recomputed via {@link CollectionGraph.rescore}. Default `() => 1`.
81
+ *
82
+ * Ignored when `ranked: false` (entries record `baseScore: 0`).
142
83
  */
143
84
  score?: CollectionScoreFn<T> | Node<CollectionScoreFn<T>>;
144
85
  /**
@@ -146,6 +87,8 @@ type CollectionOptions<T> = {
146
87
  * positive, `ranked` becomes fully reactive on time via a `fromTimer` source
147
88
  * (cadence auto-derived from `decayRate` unless overridden via
148
89
  * `refreshIntervalMs`). Half-life: `ratePerSecond = Math.LN2 / halfLifeSeconds`.
90
+ *
91
+ * Ignored when `ranked: false`.
149
92
  */
150
93
  decayRate?: number;
151
94
  /** Minimum score floor after decay. Default `0`. */
@@ -164,6 +107,11 @@ interface CollectionAuditRecord extends BaseAuditRecord {
164
107
  type CollectionGraph<T> = Graph & {
165
108
  readonly events: ReactiveLogBundle<CollectionAuditRecord>;
166
109
  readonly items: Node<ReadonlyMap<string, CollectionEntry<T>>>;
110
+ /**
111
+ * Live decay-aware ranking, sorted by score descending. When the
112
+ * collection was constructed with `ranked: false`, this is a static
113
+ * empty-array Node (kept for type uniformity).
114
+ */
167
115
  readonly ranked: Node<readonly RankedCollectionEntry<T>[]>;
168
116
  readonly size: Node<number>;
169
117
  upsert: (id: string, value: T, opts?: {
@@ -175,9 +123,14 @@ type CollectionGraph<T> = Graph & {
175
123
  * Recompute every entry's `baseScore` via the latest score fn. O(N). Useful
176
124
  * when a reactive `score` Node has emitted a new fn and the caller wants
177
125
  * existing entries re-scored without an explicit re-upsert.
126
+ *
127
+ * No-op (still records an audit entry) when constructed with
128
+ * `ranked: false`.
178
129
  */
179
130
  rescore: () => void;
180
131
  itemNode: (id: NodeOrValue<string>) => Node<CollectionEntry<T> | undefined>;
132
+ /** Reactive `true` once the entry exists; tracks upsert / remove. */
133
+ hasNode: (id: NodeOrValue<string>) => Node<boolean>;
181
134
  };
182
135
  /**
183
136
  * Scored memory store with live decay-aware ranking.
@@ -402,10 +355,6 @@ type index_KnowledgeEdge<TRelation extends string = string> = KnowledgeEdge<TRel
402
355
  type index_KnowledgeGraph<TEntity, TRelation extends string = string> = KnowledgeGraph<TEntity, TRelation>;
403
356
  type index_KnowledgeGraphAuditRecord = KnowledgeGraphAuditRecord;
404
357
  type index_KnowledgeGraphOptions = KnowledgeGraphOptions;
405
- type index_LightCollectionAuditRecord = LightCollectionAuditRecord;
406
- type index_LightCollectionBundle<T> = LightCollectionBundle<T>;
407
- type index_LightCollectionEntry<T> = LightCollectionEntry<T>;
408
- type index_LightCollectionOptions = LightCollectionOptions;
409
358
  type index_NodeOrValue<T> = NodeOrValue<T>;
410
359
  type index_RankedCollectionEntry<T> = RankedCollectionEntry<T>;
411
360
  type index_VectorBackend = VectorBackend;
@@ -416,12 +365,10 @@ type index_VectorRecord<TMeta> = VectorRecord<TMeta>;
416
365
  type index_VectorSearchResult<TMeta> = VectorSearchResult<TMeta>;
417
366
  declare const index_collection: typeof collection;
418
367
  declare const index_cosineSimilarity: typeof cosineSimilarity;
419
- declare const index_decay: typeof decay;
420
368
  declare const index_knowledgeGraph: typeof knowledgeGraph;
421
- declare const index_lightCollection: typeof lightCollection;
422
369
  declare const index_vectorIndex: typeof vectorIndex;
423
370
  declare namespace index {
424
- export { type index_CollectionAuditRecord as CollectionAuditRecord, type index_CollectionEntry as CollectionEntry, type index_CollectionGraph as CollectionGraph, type index_CollectionOptions as CollectionOptions, type index_CollectionScoreFn as CollectionScoreFn, type index_HnswAdapter as HnswAdapter, type index_KnowledgeEdge as KnowledgeEdge, type index_KnowledgeGraph as KnowledgeGraph, type index_KnowledgeGraphAuditRecord as KnowledgeGraphAuditRecord, type index_KnowledgeGraphOptions as KnowledgeGraphOptions, type index_LightCollectionAuditRecord as LightCollectionAuditRecord, type index_LightCollectionBundle as LightCollectionBundle, type index_LightCollectionEntry as LightCollectionEntry, type index_LightCollectionOptions as LightCollectionOptions, type index_NodeOrValue as NodeOrValue, type index_RankedCollectionEntry as RankedCollectionEntry, type index_VectorBackend as VectorBackend, type index_VectorIndexAuditRecord as VectorIndexAuditRecord, type index_VectorIndexGraph as VectorIndexGraph, type index_VectorIndexOptions as VectorIndexOptions, type index_VectorRecord as VectorRecord, type index_VectorSearchResult as VectorSearchResult, index_collection as collection, index_cosineSimilarity as cosineSimilarity, index_decay as decay, index_knowledgeGraph as knowledgeGraph, index_lightCollection as lightCollection, index_vectorIndex as vectorIndex };
371
+ export { type index_CollectionAuditRecord as CollectionAuditRecord, type index_CollectionEntry as CollectionEntry, type index_CollectionGraph as CollectionGraph, type index_CollectionOptions as CollectionOptions, type index_CollectionScoreFn as CollectionScoreFn, type index_HnswAdapter as HnswAdapter, type index_KnowledgeEdge as KnowledgeEdge, type index_KnowledgeGraph as KnowledgeGraph, type index_KnowledgeGraphAuditRecord as KnowledgeGraphAuditRecord, type index_KnowledgeGraphOptions as KnowledgeGraphOptions, type index_NodeOrValue as NodeOrValue, type index_RankedCollectionEntry as RankedCollectionEntry, type index_VectorBackend as VectorBackend, type index_VectorIndexAuditRecord as VectorIndexAuditRecord, type index_VectorIndexGraph as VectorIndexGraph, type index_VectorIndexOptions as VectorIndexOptions, type index_VectorRecord as VectorRecord, type index_VectorSearchResult as VectorSearchResult, index_collection as collection, index_cosineSimilarity as cosineSimilarity, index_knowledgeGraph as knowledgeGraph, index_vectorIndex as vectorIndex };
425
372
  }
426
373
 
427
- export { type CollectionAuditRecord as C, type HnswAdapter as H, type KnowledgeGraph as K, type LightCollectionBundle as L, type NodeOrValue as N, type RankedCollectionEntry as R, type VectorSearchResult as V, type VectorIndexGraph as a, type CollectionEntry as b, type CollectionGraph as c, type CollectionOptions as d, type CollectionScoreFn as e, type KnowledgeEdge as f, type KnowledgeGraphAuditRecord as g, type KnowledgeGraphOptions as h, index as i, type LightCollectionAuditRecord as j, type LightCollectionEntry as k, type LightCollectionOptions as l, type VectorBackend as m, type VectorIndexAuditRecord as n, type VectorIndexOptions as o, type VectorRecord as p, collection as q, cosineSimilarity as r, decay as s, knowledgeGraph as t, lightCollection as u, vectorIndex as v };
374
+ export { type CollectionGraph as C, type HnswAdapter as H, type KnowledgeGraph as K, type NodeOrValue as N, type RankedCollectionEntry as R, type VectorSearchResult as V, type VectorIndexGraph as a, type CollectionAuditRecord as b, type CollectionEntry as c, type CollectionOptions as d, type CollectionScoreFn as e, type KnowledgeEdge as f, type KnowledgeGraphAuditRecord as g, type KnowledgeGraphOptions as h, index as i, type VectorBackend as j, type VectorIndexAuditRecord as k, type VectorIndexOptions as l, type VectorRecord as m, collection as n, cosineSimilarity as o, knowledgeGraph as p, vectorIndex as v };
@@ -1,18 +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-BMSGPlpO.cjs';
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-B25wxpRa.cjs';
3
- import { a as Node, A as Actor } from './node-fSc-hCv8.cjs';
4
- import { R as ReactiveLogBundle } from './reactive-log-C3IMAGpT.cjs';
5
- import { a as CircuitBreakerOptions, e as CircuitBreaker, f as CircuitOpenError } from './resilience-BWP2c7Af.cjs';
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-1Dhoi7HM.cjs';
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-Cxs1eztH.cjs';
3
+ import { N as Node, A as Actor } from './node-BYInONRr.cjs';
4
+ import { a as ReactiveLogBundle } from './reactive-log-_zeEnB9H.cjs';
5
+ import { b as CircuitBreakerOptions, f as CircuitBreaker, g as CircuitOpenError } from './index-DGTo1yka.cjs';
6
6
  import { NodeInput } from './extra/sources.cjs';
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-axI2cXwt.cjs';
8
- import { G as Graph, a as GraphOptions, k as GraphCheckpointRecord, j as GraphAttachStorageOptions } from './graph-CHsVwf9S.cjs';
9
- import { T as TopicGraph } from './index-BpMZzX9P.cjs';
10
- import { G as GateController, c as GateOptions } from './pipeline-graph-DuHpXSOn.cjs';
11
- import { D as DistillBundle, E as Extraction } from './composite-CgG0MqHm.cjs';
12
- import { V as VectorSearchResult, L as LightCollectionBundle, a as VectorIndexGraph, K as KnowledgeGraph } from './index-Bub6x_D4.cjs';
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-8JYU8tlT.cjs';
8
+ import { E as Extraction, D as DistillBundle, f as DEFAULT_DECAY_RATE } from './decay-C25AyNAj.cjs';
9
+ import { G as Graph, a as GraphOptions, k as GraphCheckpointRecord, j as GraphAttachStorageOptions } from './graph-E6likq7w.cjs';
10
+ import { T as TopicGraph } from './index-Cnr1WrlX.cjs';
11
+ import { G as GateController, c as GateOptions } from './pipeline-graph-MWrQZXCq.cjs';
12
+ import { V as VectorSearchResult, C as CollectionGraph, a as VectorIndexGraph, K as KnowledgeGraph } from './index-DktLSZOc.cjs';
13
13
  import { StorageHandle } from './extra/storage-core.cjs';
14
14
  import { SnapshotStorageTier } from './extra/storage-tiers.cjs';
15
- import { c as GraphSpecCatalog } from './index-Czk3r0yA.cjs';
15
+ import { c as GraphSpecCatalog } from './index-C-dkXOpB.cjs';
16
16
 
17
17
  /**
18
18
  * Observable adapter wrapper — the "inverted statistics" surface.
@@ -821,28 +821,6 @@ interface GeminiUsage {
821
821
  }
822
822
  declare function googleAdapter(opts?: GoogleAdapterOptions): LLMAdapter;
823
823
 
824
- /**
825
- * `fromLLM` — reactive LLM invocation sugar.
826
- *
827
- * @module
828
- */
829
-
830
- type FromLLMOptions = {
831
- name?: string;
832
- model?: string;
833
- temperature?: number;
834
- maxTokens?: number;
835
- tools?: readonly ToolDefinition[];
836
- systemPrompt?: string;
837
- };
838
- /**
839
- * Reactive LLM invocation adapter. Returns a derived node that re-invokes
840
- * the LLM whenever the messages dep changes.
841
- *
842
- * Uses `switchMap` internally — new invocations cancel stale in-flight ones.
843
- */
844
- declare function fromLLM(adapter: LLMAdapter, messages: NodeInput<readonly ChatMessage[]>, opts?: FromLLMOptions): Node<LLMResponse | null>;
845
-
846
824
  /**
847
825
  * `frozenContext` — prefix-cache-friendly snapshot of upstream context.
848
826
  *
@@ -897,55 +875,90 @@ type FrozenContextOptions = {
897
875
  */
898
876
  declare function frozenContext<T>(source: NodeInput<T>, opts?: FrozenContextOptions): Node<T | null>;
899
877
 
878
+ /** Options accepted by {@link promptCall}, {@link llmExtractor}, and {@link llmConsolidator}. */
879
+ type PromptCallOptions = {
880
+ adapter: LLMAdapter;
881
+ model?: string;
882
+ temperature?: number;
883
+ maxTokens?: number;
884
+ /**
885
+ * Optional name forwarded to the underlying `promptNode` (used as the
886
+ * `<name>::messages` / `<name>::call` / `<name>::output` path prefix).
887
+ * Defaults differ per call site so multiple `promptCall`s wired into the
888
+ * same graph don't collide on `prompt_node::output`.
889
+ */
890
+ name?: string;
891
+ };
900
892
  /**
901
- * `promptNode` universal LLM transform as a reactive derived node.
893
+ * Build a one-shot LLM JSON-call factory: each invocation wraps `input` in a
894
+ * fresh `state(input)`, delegates to `promptNode({format: "json"})`, and
895
+ * returns a `NodeInput<TOut>` that the caller plugs into `distill` /
896
+ * `agentLoop` / any reactive composition that accepts `NodeInput`.
902
897
  *
903
- * The shape: `deps messagesNode (derived) → switchMap → call (producer) → output`.
904
- * Each upstream wave is one LLM call; superseding waves cancel the in-flight
905
- * call via the abort signal threaded through `nodeSignal(opts.abort)`.
898
+ * **Per-call lifecycle.** The returned `NodeInput<TOut>` is a producer that
899
+ * emits exactly one `DATA` per upstream input (per Tier 1.2 Session C lock —
900
+ * `promptNode` guarantees one DATA per wave). When the consumer's switchMap
901
+ * supersedes it, the per-call `state(input)` and the inner `prompt_node::call`
902
+ * tear down together.
906
903
  *
907
- * The producer-shape on the inner is load-bearing: it emits exactly one DATA
908
- * + COMPLETE per wave, so the outer switchMap sees one DATA per wave (matches
909
- * the `HarnessExecutor` contract). A `derived([call], parse)` would have its
910
- * own first-run / push-on-subscribe semantics that can leak a transient null
911
- * before the real response arrives — observed and reverted in an earlier
912
- * attempt; see SESSION-ai-harness-module-review.md line 3654 for context.
913
- * Locked as path (b) producer-based by Session C (2026-04-27).
904
+ * @param systemPrompt - System message sent on every call.
905
+ * @param buildUserContent - Per-input user-content builder (must be JSON-stringifiable).
906
+ * @param opts - Adapter + model/temperature/maxTokens + optional name prefix.
907
+ * @param defaultName - Path-prefix fallback when `opts.name` is omitted.
908
+ * @returns Factory `(input: TIn) => NodeInput<TOut>`.
914
909
  *
915
- * **Retry / replay-cache.** Stack middleware on the adapter:
916
- *
917
- * ```ts
918
- * import { withRetry, withReplayCache } from "@graphrefly/graphrefly/patterns/ai";
919
- *
920
- * const adapter = withRetry(
921
- * withReplayCache(baseAdapter, { keyFn: (ctx) => ctx.messages[0].content }),
922
- * { count: 3, backoff: 200 },
923
- * );
924
- * const result = promptNode(adapter, [input], (q) => q);
925
- * ```
926
- *
927
- * `promptNode` no longer ships `retries` / `cache` options — they duplicated
928
- * middleware already at the adapter layer.
910
+ * @category patterns
911
+ */
912
+ declare function promptCall<TIn, TOut>(systemPrompt: string, buildUserContent: (input: TIn) => string, opts: PromptCallOptions, defaultName: string): (input: TIn) => NodeInput<TOut>;
913
+ /** Options accepted by {@link llmExtractor} and {@link llmConsolidator}. */
914
+ type LLMExtractorOptions = PromptCallOptions & {
915
+ /**
916
+ * Cap the dedup-hint slice of `existingKeys` passed to the LLM. Larger
917
+ * stores ship more keys (better dedup recall) at the cost of prompt size.
918
+ * Default 100. Set to `Infinity` to forward every key.
919
+ */
920
+ maxExistingKeys?: number;
921
+ };
922
+ /** Alias for backward compatibility. */
923
+ type LLMConsolidatorOptions = LLMExtractorOptions;
924
+ /**
925
+ * Returns an `extractFn` callback for `distill()` that invokes an LLM to
926
+ * extract structured memories from raw input.
929
927
  *
930
- * **Cross-wave cache (COMPOSITION-GUIDE §32).** The switchMap output cache
931
- * survives across new outer DATAs `promptNode`'s cached value persists
932
- * until the next wave fully resolves. Consumers that need to distinguish
933
- * "fresh value for THIS session" from "stale cache from a prior session"
934
- * (e.g. `agentLoop` resetting on new `run()`) must add a `state()` mirror
935
- * at their session boundary and depend on the mirror, not the `promptNode`
936
- * output directly. `promptNode` itself stays primitive — it does not
937
- * embed a state-mirror.
928
+ * The system prompt should instruct the LLM to return JSON matching
929
+ * `Extraction<TMem>` shape: `{ upsert: [{ key, value }], remove?: [key] }`.
938
930
  *
939
- * @module
931
+ * Built on `promptNode({format: "json"})` — inherits markdown-fence stripping
932
+ * and content-preview parse errors. Stack `withRetry` on the adapter for
933
+ * transient-error tolerance (see `patterns/ai/adapters/middleware/retry.ts`).
934
+ */
935
+ declare function llmExtractor<TRaw, TMem>(systemPrompt: string, opts: LLMExtractorOptions): (raw: TRaw, existing: ReadonlyMap<string, TMem>) => NodeInput<Extraction<TMem>>;
936
+ /**
937
+ * Returns a `consolidateFn` callback for `distill()` that invokes an LLM to
938
+ * cluster and merge related memories.
940
939
  */
940
+ declare function llmConsolidator<TMem>(systemPrompt: string, opts: LLMConsolidatorOptions): (entries: ReadonlyMap<string, TMem>) => NodeInput<Extraction<TMem>>;
941
941
 
942
942
  type PromptNodeOptions = {
943
943
  name?: string;
944
944
  model?: string;
945
945
  temperature?: number;
946
946
  maxTokens?: number;
947
- /** Output format — `"json"` attempts JSON.parse on the response. Default: `"text"`. */
948
- format?: "text" | "json";
947
+ /**
948
+ * Output format:
949
+ * - `"text"` (default) — emit the response content as a string.
950
+ * - `"json"` — `JSON.parse` the content (markdown fences stripped).
951
+ * - `"raw"` — emit the full {@link LLMResponse} object (subsumes the
952
+ * pre-Tier-2.3 `fromLLM` shape; use this when you need `usage` /
953
+ * `toolCalls` / `finishReason` alongside `content`).
954
+ */
955
+ format?: "text" | "json" | "raw";
956
+ /**
957
+ * Optional tool definitions forwarded to the adapter. Pair with
958
+ * `format: "raw"` (or read `toolCalls` from a downstream parser) when
959
+ * tool-calling is in scope.
960
+ */
961
+ tools?: readonly ToolDefinition[];
949
962
  /**
950
963
  * Optional system prompt. Forwarded via `opts.systemPrompt` to the adapter
951
964
  * only — never pushed as a `{role:"system"}` message (avoiding the
@@ -996,7 +1009,12 @@ type PromptNodeOptions = {
996
1009
  * @param opts - Optional configuration.
997
1010
  * @returns `Node` emitting LLM responses (string or parsed JSON).
998
1011
  */
999
- declare function promptNode<T = string>(adapter: LLMAdapter, deps: readonly Node<unknown>[], prompt: string | ((...depValues: unknown[]) => string), opts?: PromptNodeOptions): Node<T | null>;
1012
+ declare function promptNode(adapter: LLMAdapter, deps: readonly Node<unknown>[], prompt: string | ((...depValues: unknown[]) => string), opts: PromptNodeOptions & {
1013
+ format: "raw";
1014
+ }): Node<LLMResponse | null>;
1015
+ declare function promptNode<T = string>(adapter: LLMAdapter, deps: readonly Node<unknown>[], prompt: string | ((...depValues: unknown[]) => string), opts?: Omit<PromptNodeOptions, "format"> & {
1016
+ format?: "text" | "json";
1017
+ }): Node<T | null>;
1000
1018
 
1001
1019
  /**
1002
1020
  * `streamingPromptNode` + `gatedStream` — streaming LLM transforms.
@@ -1883,11 +1901,14 @@ type MemoryTiersOptions<TMem> = {
1883
1901
  /** Options forwarded to `graph.attachSnapshotStorage` for the archive tier. */
1884
1902
  archiveStorageOptions?: GraphAttachStorageOptions;
1885
1903
  };
1886
- /** @internal */
1887
- declare const DEFAULT_DECAY_RATE: number;
1904
+
1888
1905
  type MemoryTiersBundle<TMem> = {
1889
- /** Permanent tier: never evicted. */
1890
- readonly permanent: LightCollectionBundle<TMem>;
1906
+ /**
1907
+ * Permanent tier: never evicted. Backed by a `collection({ranked:false})`
1908
+ * Graph (Tier 2.3 — was previously a `LightCollectionBundle`; the no-Graph
1909
+ * bundle shape was folded into the unified `CollectionGraph`).
1910
+ */
1911
+ readonly permanent: CollectionGraph<TMem>;
1891
1912
  /** Active entries node (reactive, holds ReadonlyMap). */
1892
1913
  readonly activeEntries: Node<unknown>;
1893
1914
  /** Archive storage handle (null if no tier configured). */
@@ -2025,45 +2046,6 @@ type AgentMemoryGraph<TMem = unknown> = Graph & {
2025
2046
  */
2026
2047
  declare function agentMemory<TMem = unknown>(name: string, source: NodeInput<unknown>, opts: AgentMemoryOptions<TMem>): AgentMemoryGraph<TMem>;
2027
2048
 
2028
- type LLMExtractorOptions = {
2029
- adapter: LLMAdapter;
2030
- model?: string;
2031
- temperature?: number;
2032
- maxTokens?: number;
2033
- /**
2034
- * Cap the dedup-hint slice of `existingKeys` passed to the LLM. Larger
2035
- * stores ship more keys (better dedup recall) at the cost of prompt size.
2036
- * Default 100. Set to `Infinity` to forward every key.
2037
- */
2038
- maxExistingKeys?: number;
2039
- /**
2040
- * Optional name forwarded to the underlying `promptNode` (used as the
2041
- * `<name>::messages` / `<name>::call` / `<name>::output` path prefix).
2042
- * Defaults differ per call site (`llmExtractor` / `llmConsolidator`) so
2043
- * extractor + consolidator wired into the same graph don't collide on
2044
- * `prompt_node::output`.
2045
- */
2046
- name?: string;
2047
- };
2048
- /**
2049
- * Returns an `extractFn` callback for `distill()` that invokes an LLM to
2050
- * extract structured memories from raw input.
2051
- *
2052
- * The system prompt should instruct the LLM to return JSON matching
2053
- * `Extraction<TMem>` shape: `{ upsert: [{ key, value }], remove?: [key] }`.
2054
- *
2055
- * Built on `promptNode({format: "json"})` — inherits markdown-fence stripping
2056
- * and content-preview parse errors. Stack `withRetry` on the adapter for
2057
- * transient-error tolerance (see `patterns/ai/adapters/middleware/retry.ts`).
2058
- */
2059
- declare function llmExtractor<TRaw, TMem>(systemPrompt: string, opts: LLMExtractorOptions): (raw: TRaw, existing: ReadonlyMap<string, TMem>) => NodeInput<Extraction<TMem>>;
2060
- type LLMConsolidatorOptions = LLMExtractorOptions;
2061
- /**
2062
- * Returns a `consolidateFn` callback for `distill()` that invokes an LLM to
2063
- * cluster and merge related memories.
2064
- */
2065
- declare function llmConsolidator<TMem>(systemPrompt: string, opts: LLMConsolidatorOptions): (entries: ReadonlyMap<string, TMem>) => NodeInput<Extraction<TMem>>;
2066
-
2067
2049
  type MemoryWithVectorsOptions<TMem> = {
2068
2050
  /** Embedding dimension. Must match the `embedFn` output length. */
2069
2051
  dimension: number;
@@ -2466,7 +2448,6 @@ declare const index_FallbackAdapterOptions: typeof FallbackAdapterOptions;
2466
2448
  declare const index_FallbackFixture: typeof FallbackFixture;
2467
2449
  declare const index_FallbackMissError: typeof FallbackMissError;
2468
2450
  declare const index_FallbackMissPolicy: typeof FallbackMissPolicy;
2469
- type index_FromLLMOptions = FromLLMOptions;
2470
2451
  type index_FrozenContextOptions = FrozenContextOptions;
2471
2452
  type index_GatedStreamHandle<T> = GatedStreamHandle<T>;
2472
2453
  type index_GatedStreamOptions = GatedStreamOptions;
@@ -2509,6 +2490,7 @@ type index_OpenAIToolSchema = OpenAIToolSchema;
2509
2490
  declare const index_PriceBreakdown: typeof PriceBreakdown;
2510
2491
  declare const index_PricingFn: typeof PricingFn;
2511
2492
  declare const index_PricingRegistry: typeof PricingRegistry;
2493
+ type index_PromptCallOptions = PromptCallOptions;
2512
2494
  type index_PromptNodeOptions = PromptNodeOptions;
2513
2495
  declare const index_Rate: typeof Rate;
2514
2496
  type index_RedactorOptions = RedactorOptions;
@@ -2563,7 +2545,6 @@ declare const index_createCapabilitiesRegistry: typeof createCapabilitiesRegistr
2563
2545
  declare const index_createPricingRegistry: typeof createPricingRegistry;
2564
2546
  declare const index_dryRunAdapter: typeof dryRunAdapter;
2565
2547
  declare const index_fallbackAdapter: typeof fallbackAdapter;
2566
- declare const index_fromLLM: typeof fromLLM;
2567
2548
  declare const index_frozenContext: typeof frozenContext;
2568
2549
  declare const index_gatedStream: typeof gatedStream;
2569
2550
  declare const index_gaugesAsContext: typeof gaugesAsContext;
@@ -2583,6 +2564,7 @@ declare const index_observableAdapter: typeof observableAdapter;
2583
2564
  declare const index_openAICompatAdapter: typeof openAICompatAdapter;
2584
2565
  declare const index_parseRateLimitFromError: typeof parseRateLimitFromError;
2585
2566
  declare const index_pricingFor: typeof pricingFor;
2567
+ declare const index_promptCall: typeof promptCall;
2586
2568
  declare const index_promptNode: typeof promptNode;
2587
2569
  declare const index_redactor: typeof redactor;
2588
2570
  declare const index_registryPricing: typeof registryPricing;
@@ -2607,7 +2589,7 @@ declare const index_withRetry: typeof withRetry;
2607
2589
  declare const index_withTimeout: typeof withTimeout;
2608
2590
  declare const index_zeroPrice: typeof zeroPrice;
2609
2591
  declare namespace index {
2610
- 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 };
2592
+ 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_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_PromptCallOptions as PromptCallOptions, 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_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_promptCall as promptCall, 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 };
2611
2593
  }
2612
2594
 
2613
- 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 };
2595
+ export { type OpenAIToolSchema as $, type AdapterStats as A, type BudgetCaps as B, type CallStatsEvent as C, type DryRunAdapterOptions as D, type ExtractedToolCall as E, type FrozenContextOptions as F, type GatedStreamHandle as G, type GoogleSdkRequestParams 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, toolExecution as a$, type PromptCallOptions as a0, type PromptNodeOptions as a1, type RedactorOptions as a2, type ResilientAdapterBundle as a3, type ResilientAdapterOptions as a4, type RetrievalEntry as a5, type RetrievalPipelineOptions as a6, type RetrievalQuery as a7, type RetrievalTrace as a8, type StampedDelta 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, promptCall as aR, promptNode as aS, redactor as aT, resilientAdapter as aU, streamExtractor as aV, streamingPromptNode as aW, suggestStrategy as aX, suggestStrategyReactive as aY, systemPromptBuilder as aZ, toolCallExtractor as a_, type StrategyOperation as aa, type StrategyPlan as ab, type StreamingPromptNodeHandle as ac, type StreamingPromptNodeOptions as ad, type SuggestStrategyOptions as ae, type SystemPromptHandle as af, type ToolExecutionOptions as ag, ToolRegistryGraph as ah, type ToolRegistryOptions as ai, type ToolResult as aj, type ToolSelectorOptions as ak, type WithBreakerOptions as al, type WithBudgetGateOptions as am, type WithDryRunBundle as an, type WithDryRunOptions as ao, type WithRateLimiterOptions as ap, type WithRetryOptions as aq, admissionFilter3D as ar, admissionScored as as, agentLoop as at, agentMemory as au, anthropicAdapter as av, chatStream as aw, contentGate as ax, costMeterExtractor as ay, dryRunAdapter as az, type AdmissionScoredOptions as b, toolRegistry as b0, toolSelector as b1, validateGraphDef as b2, withBreaker as b3, withBudgetGate as b4, withDryRun as b5, withRateLimiter as b6, withRetry as b7, withTimeout as b8, 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 GatedStreamOptions as v, type GaugesAsContextOptions as w, type GoogleAdapterOptions as x, type GoogleSdkLike as y, type GoogleSdkRequestConfig as z };