@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,35 +1,37 @@
1
- import { a as Node } from './node-fSc-hCv8.cjs';
2
- import { G as Graph } from './graph-CHsVwf9S.cjs';
3
- import { L as LLMAdapter } from './types-BMSGPlpO.cjs';
1
+ import { D as DescribeNodeOutput } from './meta-D8OyedKp.js';
2
+ import { N as Node } from './node-BYInONRr.js';
3
+ import { G as Graph, b as GraphDescribeOutput } from './graph-BkIkog4h.js';
4
+ import { L as LLMAdapter } from './types-39jk0kaV.js';
4
5
 
5
6
  /**
6
7
  * LLM graph composition (roadmap §8.3).
7
8
  *
8
9
  * Declarative GraphSpec schema + compiler/decompiler for graph topology.
9
- * The LLM designs graphs as JSON; compileSpec instantiates them; decompileGraph
10
- * extracts them back. Templates support reusable subgraph patterns. Feedback
11
- * edges express bounded cycles via §8.1 feedback().
10
+ * The LLM designs graphs as JSON; `compileSpec` instantiates them;
11
+ * `decompileSpec` extracts them back. Templates support reusable subgraph
12
+ * patterns. Feedback edges express bounded cycles via §8.1 feedback().
13
+ *
14
+ * **Tier 1.5.3 Phase 3 (2026-04-27):** `GraphSpec` is a structural alias of
15
+ * {@link GraphDescribeOutput} with two LLM-author-friendly extras
16
+ * (`templates?` / `feedback?`). Per-node factory references are encoded in
17
+ * `meta.factory` + `meta.factoryArgs` (no more `fn` / `source` / `config` /
18
+ * `initial` fields). State node initial values live in
19
+ * `meta.factoryArgs.initial` (state self-tags with
20
+ * `factoryTag("state", { initial })`).
12
21
  *
13
22
  * @module
14
23
  */
15
24
 
16
- /** A single node declaration in a GraphSpec. */
17
- type GraphSpecNode = {
18
- /** Node kind: state, producer, derived, effect, operator. */
19
- type: "state" | "producer" | "derived" | "effect" | "operator";
20
- /** Dependency node names (for derived/effect/operator). */
21
- deps?: string[];
22
- /** Named function from the catalog (for derived/effect/operator/producer). */
23
- fn?: string;
24
- /** Named source from the catalog (for producer). */
25
- source?: string;
26
- /** Freeform config passed to the catalog fn/source factory. */
27
- config?: Record<string, unknown>;
28
- /** Initial value (for state nodes). */
29
- initial?: unknown;
30
- /** Human/LLM-readable metadata. */
31
- meta?: Record<string, unknown>;
32
- };
25
+ /**
26
+ * A single node declaration in a GraphSpec — structural alias of
27
+ * {@link DescribeNodeOutput}.
28
+ *
29
+ * Per-node factory provenance lives in `meta.factory` + `meta.factoryArgs`
30
+ * (use {@link factoryTag} to stamp them at construction time). State node
31
+ * initial values come through `meta.factoryArgs.initial` for tagged states,
32
+ * with fallback to `value` (since spec projection retains state values).
33
+ */
34
+ type GraphSpecNode = DescribeNodeOutput;
33
35
  /** Template instantiation node — expanded at compile time. */
34
36
  type GraphSpecTemplateRef = {
35
37
  type: "template";
@@ -56,25 +58,24 @@ type GraphSpecFeedbackEdge = {
56
58
  /** Max iterations before stopping (default: 10). */
57
59
  maxIterations?: number;
58
60
  };
59
- /** Declarative graph topology for LLM composition (§8.3). */
60
- type GraphSpec = {
61
- /** Graph name. */
62
- name: string;
63
- /** Node declarations (keyed by node name). */
61
+ /**
62
+ * Declarative graph topology for LLM composition (§8.3).
63
+ *
64
+ * Tier 1.5.3 Phase 3 (2026-04-27): structural alias of
65
+ * {@link GraphDescribeOutput} extended with optional `templates` /
66
+ * `feedback` fields for LLM-author convenience. Top-level `factory` /
67
+ * `factoryArgs` (Phase 2.5 carry) ride along on every describe output.
68
+ *
69
+ * Round-trip property: `decompileSpec(g) === g.describe({ detail: "spec" })`
70
+ * (modulo the small feedback-edge extraction sugar).
71
+ */
72
+ type GraphSpec = Omit<GraphDescribeOutput, "nodes" | "expand"> & {
73
+ /** Node declarations (keyed by node name). Either a structural describe entry or a template ref. */
64
74
  nodes: Record<string, GraphSpecNode | GraphSpecTemplateRef>;
65
- /** Reusable subgraph templates. */
75
+ /** Reusable subgraph templates (LLM-author extra; not present in `describe()` output). */
66
76
  templates?: Record<string, GraphSpecTemplate>;
67
- /** Feedback edges (bounded cycles). */
77
+ /** Feedback edges (bounded cycles, LLM-author extra). */
68
78
  feedback?: GraphSpecFeedbackEdge[];
69
- /**
70
- * Top-level factory identifier (Tier 1.5.3 Phase 2.5 — DG1=B). When set
71
- * and `compileSpec` is given a `catalog.graphFactories[factory]` entry,
72
- * the spec's reconstruction is delegated to that factory wholesale (the
73
- * `nodes` / `edges` / `templates` fields below are not used).
74
- */
75
- factory?: string;
76
- /** JSON-serializable construction args, paired with `factory`. */
77
- factoryArgs?: unknown;
78
79
  };
79
80
  /**
80
81
  * Factory for creating a derived/effect/operator node from catalog.
@@ -237,26 +238,28 @@ type CompileSpecOptions = {
237
238
  */
238
239
  declare function compileSpec(spec: GraphSpec, opts?: CompileSpecOptions): Graph;
239
240
  /**
240
- * Extract a GraphSpec from a running graph.
241
+ * Extract a {@link GraphSpec} from a running graph.
241
242
  *
242
- * Uses `describe({ detail: "standard" })` as a starting point, then enriches:
243
- * - Feedback edges recovered from counter node meta (`feedbackFrom`/`feedbackTo`)
244
- * - Template refs recovered from output node meta (`_templateName`/`_templateBind`)
245
- * - Structural fingerprinting as fallback for 2+ identical mounted subgraphs
243
+ * Tier 1.5.3 Phase 3 (2026-04-27): thin projection over
244
+ * `graph.describe({ detail: "spec" })`. The describe-output already carries
245
+ * structural fields (`type`, `deps`, optional `value`) plus per-node
246
+ * `meta.factory` / `meta.factoryArgs` for tagged factories and top-level
247
+ * `factory` / `factoryArgs` for graph-level tags. The only sugar this helper
248
+ * adds is a feedback-edge recovery scan over `meta.feedbackFrom` /
249
+ * `meta.feedbackTo` companion fields stamped by the §8.1 `feedback()`
250
+ * primitive.
251
+ *
252
+ * **Removed in Phase 3:** template fingerprinting / `_templateName` /
253
+ * `_templateBind` recovery. Mounted subgraphs surface as nested `subname::*`
254
+ * paths in `desc.nodes`; if you need the template-instantiation form, build
255
+ * the spec by hand or read the meta companions directly.
246
256
  *
247
257
  * @param graph - Running graph to decompile.
248
258
  * @returns A GraphSpec representation.
249
259
  *
250
260
  * @category patterns
251
261
  */
252
- /**
253
- * Tier 1.5.3 / D5 rename — `decompileSpec` is the canonical name post-Session A.1
254
- * lock. Once Phase 3 lands `GraphSpec ≡ GraphDescribeOutput`, the body becomes
255
- * `g.describe({ detail: "spec" })`. For now it delegates to the existing
256
- * implementation so behavior is unchanged.
257
- */
258
262
  declare function decompileSpec(graph: Graph): GraphSpec;
259
- declare function decompileGraph(graph: Graph): GraphSpec;
260
263
  /** A single change in a spec diff. */
261
264
  type SpecDiffEntry = {
262
265
  type: "added" | "removed" | "changed";
@@ -357,7 +360,6 @@ type index_SourceFactory = SourceFactory;
357
360
  type index_SpecDiffEntry = SpecDiffEntry;
358
361
  type index_SpecDiffResult = SpecDiffResult;
359
362
  declare const index_compileSpec: typeof compileSpec;
360
- declare const index_decompileGraph: typeof decompileGraph;
361
363
  declare const index_decompileSpec: typeof decompileSpec;
362
364
  declare const index_extractFnFactory: typeof extractFnFactory;
363
365
  declare const index_extractSourceFactory: typeof extractSourceFactory;
@@ -370,7 +372,7 @@ declare const index_specDiff: typeof specDiff;
370
372
  declare const index_validateSpec: typeof validateSpec;
371
373
  declare const index_validateSpecAgainstCatalog: typeof validateSpecAgainstCatalog;
372
374
  declare namespace index {
373
- export { type index_CatalogFnEntry as CatalogFnEntry, type index_CatalogSourceEntry as CatalogSourceEntry, type index_CompileSpecOptions as CompileSpecOptions, type index_ConfigFieldSchema as ConfigFieldSchema, type index_FnFactory as FnFactory, type index_GraphFactory as GraphFactory, type index_GraphSpec as GraphSpec, type index_GraphSpecCatalog as GraphSpecCatalog, type index_GraphSpecFeedbackEdge as GraphSpecFeedbackEdge, type index_GraphSpecNode as GraphSpecNode, type index_GraphSpecTemplate as GraphSpecTemplate, type index_GraphSpecTemplateRef as GraphSpecTemplateRef, type index_GraphSpecValidation as GraphSpecValidation, type index_LLMComposeOptions as LLMComposeOptions, type index_LLMRefineOptions as LLMRefineOptions, type index_SourceFactory as SourceFactory, type index_SpecDiffEntry as SpecDiffEntry, type index_SpecDiffResult as SpecDiffResult, index_compileSpec as compileSpec, index_decompileGraph as decompileGraph, index_decompileSpec as decompileSpec, index_extractFnFactory as extractFnFactory, index_extractSourceFactory as extractSourceFactory, index_generateCatalogPrompt as generateCatalogPrompt, index_isRichFnEntry as isRichFnEntry, index_isRichSourceEntry as isRichSourceEntry, index_llmCompose as llmCompose, index_llmRefine as llmRefine, index_specDiff as specDiff, index_validateSpec as validateSpec, index_validateSpecAgainstCatalog as validateSpecAgainstCatalog };
375
+ export { type index_CatalogFnEntry as CatalogFnEntry, type index_CatalogSourceEntry as CatalogSourceEntry, type index_CompileSpecOptions as CompileSpecOptions, type index_ConfigFieldSchema as ConfigFieldSchema, type index_FnFactory as FnFactory, type index_GraphFactory as GraphFactory, type index_GraphSpec as GraphSpec, type index_GraphSpecCatalog as GraphSpecCatalog, type index_GraphSpecFeedbackEdge as GraphSpecFeedbackEdge, type index_GraphSpecNode as GraphSpecNode, type index_GraphSpecTemplate as GraphSpecTemplate, type index_GraphSpecTemplateRef as GraphSpecTemplateRef, type index_GraphSpecValidation as GraphSpecValidation, type index_LLMComposeOptions as LLMComposeOptions, type index_LLMRefineOptions as LLMRefineOptions, type index_SourceFactory as SourceFactory, type index_SpecDiffEntry as SpecDiffEntry, type index_SpecDiffResult as SpecDiffResult, index_compileSpec as compileSpec, index_decompileSpec as decompileSpec, index_extractFnFactory as extractFnFactory, index_extractSourceFactory as extractSourceFactory, index_generateCatalogPrompt as generateCatalogPrompt, index_isRichFnEntry as isRichFnEntry, index_isRichSourceEntry as isRichSourceEntry, index_llmCompose as llmCompose, index_llmRefine as llmRefine, index_specDiff as specDiff, index_validateSpec as validateSpec, index_validateSpecAgainstCatalog as validateSpecAgainstCatalog };
374
376
  }
375
377
 
376
- export { validateSpecAgainstCatalog as A, type CatalogFnEntry as C, type FnFactory as F, type GraphSpec as G, type LLMComposeOptions as L, type SourceFactory as S, type CatalogSourceEntry as a, type ConfigFieldSchema as b, type GraphSpecCatalog as c, type GraphSpecFeedbackEdge as d, type GraphSpecNode as e, type GraphSpecTemplate as f, type GraphSpecTemplateRef as g, type GraphSpecValidation as h, index as i, type CompileSpecOptions as j, type GraphFactory as k, type LLMRefineOptions as l, type SpecDiffEntry as m, type SpecDiffResult as n, compileSpec as o, decompileGraph as p, decompileSpec as q, extractFnFactory as r, extractSourceFactory as s, generateCatalogPrompt as t, isRichFnEntry as u, isRichSourceEntry as v, llmCompose as w, llmRefine as x, specDiff as y, validateSpec as z };
378
+ export { type CatalogFnEntry as C, type FnFactory as F, type GraphSpec as G, type LLMComposeOptions as L, type SourceFactory as S, type CatalogSourceEntry as a, type ConfigFieldSchema as b, type GraphSpecCatalog as c, type GraphSpecFeedbackEdge as d, type GraphSpecNode as e, type GraphSpecTemplate as f, type GraphSpecTemplateRef as g, type GraphSpecValidation as h, index as i, type CompileSpecOptions as j, type GraphFactory as k, type LLMRefineOptions as l, type SpecDiffEntry as m, type SpecDiffResult as n, compileSpec as o, decompileSpec as p, extractFnFactory as q, extractSourceFactory as r, generateCatalogPrompt as s, isRichFnEntry as t, isRichSourceEntry as u, llmCompose as v, llmRefine as w, specDiff as x, validateSpec as y, validateSpecAgainstCatalog as z };
@@ -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-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-BgWSA1fg.js';
5
- import { a as CircuitBreakerOptions, e as CircuitBreaker, f as CircuitOpenError } from './resilience-Bys63Cpd.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-39jk0kaV.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-BNfxffgc.js';
3
+ import { N as Node, A as Actor } from './node-BYInONRr.js';
4
+ import { a as ReactiveLogBundle } from './reactive-log-BlAsPLl2.js';
5
+ import { b as CircuitBreakerOptions, f as CircuitBreaker, g as CircuitOpenError } from './index-BAQrjuZF.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-DuEXfA4F.js';
8
- import { G as Graph, a as GraphOptions, k as GraphCheckpointRecord, j as GraphAttachStorageOptions } from './graph-BjW1taJl.js';
9
- import { T as TopicGraph } from './index-BUFCHvOR.js';
10
- import { G as GateController, c as GateOptions } from './pipeline-graph-9JBbmRxA.js';
11
- import { D as DistillBundle, E as Extraction } from './composite-DTOlDuch.js';
12
- import { V as VectorSearchResult, L as LightCollectionBundle, a as VectorIndexGraph, K as KnowledgeGraph } from './index-Di7OdwlO.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-CMZl39L5.js';
8
+ import { E as Extraction, D as DistillBundle, f as DEFAULT_DECAY_RATE } from './decay-BnrlbxSv.js';
9
+ import { G as Graph, a as GraphOptions, k as GraphCheckpointRecord, j as GraphAttachStorageOptions } from './graph-BkIkog4h.js';
10
+ import { T as TopicGraph } from './index-40ZT4MHj.js';
11
+ import { G as GateController, c as GateOptions } from './pipeline-graph-CB4La-UW.js';
12
+ import { V as VectorSearchResult, C as CollectionGraph, a as VectorIndexGraph, K as KnowledgeGraph } from './index-bXXLSvor.js';
13
13
  import { StorageHandle } from './extra/storage-core.js';
14
14
  import { SnapshotStorageTier } from './extra/storage-tiers.js';
15
- import { c as GraphSpecCatalog } from './index-DTDVDzhA.js';
15
+ import { c as GraphSpecCatalog } from './index-DhLyOHYZ.js';
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 };