@graphrefly/graphrefly 0.32.0 → 0.34.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 (289) hide show
  1. package/dist/{cascading-D3sapjue.d.ts → cascading-Bg0a4VSf.d.ts} +2 -2
  2. package/dist/{cascading-BfQmSmjU.d.cts → cascading-DKIb6Pk8.d.cts} +2 -2
  3. package/dist/{chunk-4JBKKUCJ.js → chunk-2JO6LXFT.js} +1 -1
  4. package/dist/{chunk-FTA5TB2A.js → chunk-2LZ6DL45.js} +1 -1
  5. package/dist/chunk-3Y4BXFFR.js +1 -0
  6. package/dist/{chunk-WQ7I7JVU.js → chunk-4F564IPP.js} +1 -1
  7. package/dist/{chunk-M2VFLRPJ.js → chunk-4NYSEUKV.js} +1 -1
  8. package/dist/{chunk-N2KKISCE.js → chunk-533RQFF6.js} +1 -1
  9. package/dist/{chunk-BU4SUZSA.js → chunk-55T3K37W.js} +1 -1
  10. package/dist/chunk-65WWQ5CB.js +43 -0
  11. package/dist/chunk-6HQ6HVTF.js +1 -0
  12. package/dist/{chunk-4VXL3UZK.js → chunk-7Q2WPFQ7.js} +1 -1
  13. package/dist/chunk-A3GDELMY.js +61 -0
  14. package/dist/{chunk-5PBXUVHI.js → chunk-BY4WKPKM.js} +1 -1
  15. package/dist/{chunk-JYMNVEH6.js → chunk-C5DINHNP.js} +1 -1
  16. package/dist/{chunk-7QS77X6G.js → chunk-CJMFZXIZ.js} +1 -1
  17. package/dist/{chunk-W6FQIFVE.js → chunk-CLD3F4R5.js} +1 -1
  18. package/dist/{chunk-RWGJQQLT.js → chunk-FKRPIRE6.js} +1 -1
  19. package/dist/{chunk-UXEB35L4.js → chunk-GAOX6OPT.js} +1 -1
  20. package/dist/{chunk-TOCCHQI6.js → chunk-GCUYSIM4.js} +1 -1
  21. package/dist/{chunk-XRSHMHEG.js → chunk-HTBOCKVD.js} +1 -1
  22. package/dist/{chunk-LJGPOJHS.js → chunk-IB64M7VP.js} +1 -1
  23. package/dist/{chunk-Q2SY7M7K.js → chunk-IJFSR4NU.js} +1 -1
  24. package/dist/{chunk-X4OOM6QU.js → chunk-INXDSJRC.js} +1 -1
  25. package/dist/{chunk-4YGJ7KZ6.js → chunk-IPNJDNE7.js} +1 -1
  26. package/dist/{chunk-4UUDNFYG.js → chunk-KGKJCHEK.js} +1 -1
  27. package/dist/chunk-KN2UMFT6.js +5 -0
  28. package/dist/{chunk-A4JT4SAD.js → chunk-KRH66M4O.js} +1 -1
  29. package/dist/{chunk-K54OKWNY.js → chunk-L3KUKDZC.js} +1 -1
  30. package/dist/{chunk-Y26UN6J5.js → chunk-LOF5HSD3.js} +1 -1
  31. package/dist/chunk-LYCLF26R.js +1 -0
  32. package/dist/{chunk-CZVYLXFK.js → chunk-M27MVZCP.js} +1 -1
  33. package/dist/{chunk-DWIAG62L.js → chunk-NNKJUORL.js} +1 -1
  34. package/dist/{chunk-WF3V5X2L.js → chunk-PBN426RU.js} +1 -1
  35. package/dist/{chunk-MFNOZ5E6.js → chunk-Q46YJCQH.js} +1 -1
  36. package/dist/{chunk-KD3IYBTD.js → chunk-SFIM774L.js} +1 -1
  37. package/dist/{chunk-VXJX3ZZP.js → chunk-T2TB37TW.js} +1 -1
  38. package/dist/{chunk-UMH3HSP7.js → chunk-T7EQPKOP.js} +1 -1
  39. package/dist/{chunk-JAHAJU4G.js → chunk-TONEKQM3.js} +1 -1
  40. package/dist/{chunk-CNXUW2CU.js → chunk-TZLEMGAK.js} +1 -1
  41. package/dist/{chunk-LWGLBCMU.js → chunk-TZQPPQEQ.js} +1 -1
  42. package/dist/{chunk-7JZ3YORY.js → chunk-U2T2XWDA.js} +1 -1
  43. package/dist/{chunk-WE32AFFA.js → chunk-UF746BQ4.js} +1 -1
  44. package/dist/{chunk-7QMVU3IX.js → chunk-WBWBY6LI.js} +1 -1
  45. package/dist/{chunk-7EMUF2RY.js → chunk-Y63GWRHO.js} +1 -1
  46. package/dist/{chunk-PWKLZ2XU.js → chunk-YDWTVO4E.js} +1 -1
  47. package/dist/{chunk-EIFHFDFD.js → chunk-YUBV7EEE.js} +1 -1
  48. package/dist/compat/index.cjs +5 -5
  49. package/dist/compat/index.d.cts +14 -14
  50. package/dist/compat/index.d.ts +14 -14
  51. package/dist/compat/index.js +1 -1
  52. package/dist/compat/jotai/index.cjs +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/jotai/index.js +1 -1
  56. package/dist/compat/nanostores/index.cjs +1 -1
  57. package/dist/compat/nanostores/index.d.cts +2 -2
  58. package/dist/compat/nanostores/index.d.ts +2 -2
  59. package/dist/compat/nanostores/index.js +1 -1
  60. package/dist/compat/nestjs/index.cjs +5 -5
  61. package/dist/compat/nestjs/index.d.cts +6 -6
  62. package/dist/compat/nestjs/index.d.ts +6 -6
  63. package/dist/compat/nestjs/index.js +1 -1
  64. package/dist/compat/react/index.d.cts +2 -2
  65. package/dist/compat/react/index.d.ts +2 -2
  66. package/dist/compat/solid/index.d.cts +2 -2
  67. package/dist/compat/solid/index.d.ts +2 -2
  68. package/dist/compat/svelte/index.d.cts +2 -2
  69. package/dist/compat/svelte/index.d.ts +2 -2
  70. package/dist/compat/vue/index.d.cts +2 -2
  71. package/dist/compat/vue/index.d.ts +2 -2
  72. package/dist/compat/zustand/index.cjs +3 -3
  73. package/dist/compat/zustand/index.d.cts +4 -4
  74. package/dist/compat/zustand/index.d.ts +4 -4
  75. package/dist/compat/zustand/index.js +1 -1
  76. package/dist/{composite-BY9hMxN7.d.ts → composite-BPDU_XV1.d.ts} +2 -2
  77. package/dist/{composite-CH0S8DFn.d.cts → composite-CmvdhTJe.d.cts} +2 -2
  78. package/dist/core/index.cjs +1 -1
  79. package/dist/core/index.d.cts +4 -4
  80. package/dist/core/index.d.ts +4 -4
  81. package/dist/core/index.js +1 -1
  82. package/dist/extra/browser.cjs +1 -1
  83. package/dist/extra/browser.d.cts +1 -1
  84. package/dist/extra/browser.d.ts +1 -1
  85. package/dist/extra/browser.js +1 -1
  86. package/dist/extra/index.cjs +16 -16
  87. package/dist/extra/index.d.cts +9 -9
  88. package/dist/extra/index.d.ts +9 -9
  89. package/dist/extra/index.js +1 -1
  90. package/dist/extra/node.cjs +1 -1
  91. package/dist/extra/node.d.cts +1 -1
  92. package/dist/extra/node.d.ts +1 -1
  93. package/dist/extra/node.js +1 -1
  94. package/dist/extra/operators.cjs +1 -1
  95. package/dist/extra/operators.d.cts +1 -1
  96. package/dist/extra/operators.d.ts +1 -1
  97. package/dist/extra/operators.js +1 -1
  98. package/dist/extra/reactive.cjs +1 -1
  99. package/dist/extra/reactive.d.cts +3 -3
  100. package/dist/extra/reactive.d.ts +3 -3
  101. package/dist/extra/reactive.js +1 -1
  102. package/dist/extra/sources.cjs +1 -1
  103. package/dist/extra/sources.d.cts +1 -1
  104. package/dist/extra/sources.d.ts +1 -1
  105. package/dist/extra/sources.js +1 -1
  106. package/dist/extra/storage-browser.cjs +1 -1
  107. package/dist/extra/storage-browser.d.cts +1 -1
  108. package/dist/extra/storage-browser.d.ts +1 -1
  109. package/dist/extra/storage-browser.js +1 -1
  110. package/dist/{fallback-Cb3GH1O7.d.cts → fallback-9YznPvPP.d.cts} +1 -1
  111. package/dist/{fallback-DRjJ_ZM8.d.ts → fallback-mYSd8vQo.d.ts} +1 -1
  112. package/dist/graph/index.cjs +4 -4
  113. package/dist/graph/index.d.cts +5 -5
  114. package/dist/graph/index.d.ts +5 -5
  115. package/dist/graph/index.js +1 -1
  116. package/dist/{graph-BOhEGJ6E.d.ts → graph-BROUZPG9.d.ts} +2 -2
  117. package/dist/{graph-CdJeX7O7.d.cts → graph-DaoydJ_u.d.cts} +2 -2
  118. package/dist/{index-C22aTC1X.d.cts → index-3L3RC3VJ.d.ts} +578 -108
  119. package/dist/{index-BmZb8fNF.d.cts → index-B-KCkW4M.d.cts} +4 -4
  120. package/dist/{index-CDK5RsV5.d.cts → index-B1hFhK1K.d.cts} +1 -1
  121. package/dist/{index-C7RqYbOZ.d.ts → index-B5eS17Bz.d.ts} +7 -7
  122. package/dist/{index-DSawGt8n.d.cts → index-BDEhWLF4.d.cts} +3 -3
  123. package/dist/{index-CZUzi6Dy.d.ts → index-BFHpNSsV.d.ts} +4 -4
  124. package/dist/{index-DDo-eqQ4.d.cts → index-BO6t0HjV.d.cts} +1 -1
  125. package/dist/{index-CrC7urhX.d.ts → index-BRisOxlx.d.ts} +1 -1
  126. package/dist/{index-CHfBm51k.d.ts → index-BUtCR0k6.d.ts} +4 -4
  127. package/dist/{index-BydMDMf7.d.cts → index-BVTjuKeP.d.cts} +1 -1
  128. package/dist/{index-BX22kvjh.d.ts → index-BWiX5foT.d.ts} +1 -1
  129. package/dist/{index-Dxk-pUQI.d.ts → index-Bd2AjMQY.d.ts} +2 -2
  130. package/dist/{index-Dbmj0iYR.d.ts → index-Bi4ZP6Hc.d.ts} +2 -2
  131. package/dist/{index-j33Lfb1G.d.cts → index-BkfL5MXh.d.cts} +3 -3
  132. package/dist/{index-CnjUhRbs.d.cts → index-BpjQanLs.d.cts} +2 -2
  133. package/dist/{index-LGzAYqdR.d.ts → index-BsxqmV6u.d.ts} +2 -2
  134. package/dist/{index-CCdg0JLX.d.cts → index-C2Dey3L-.d.cts} +12 -3
  135. package/dist/{index-gXTVbSax.d.ts → index-C5uMGVJw.d.ts} +4 -4
  136. package/dist/{index-C-Gsh-0a.d.cts → index-C8_bnDBZ.d.cts} +3 -3
  137. package/dist/{index-C9qCLIN4.d.ts → index-CD7qmvSf.d.ts} +3 -3
  138. package/dist/{index-wIx1Jisk.d.ts → index-CI5fULSz.d.ts} +1 -1
  139. package/dist/{index-BUZPTPSQ.d.ts → index-CNxdDb2e.d.ts} +3 -3
  140. package/dist/{index-FBqTfL_S.d.cts → index-CQ1gt4rn.d.cts} +1 -1
  141. package/dist/{index-CNyiYQWF.d.ts → index-CQtnGFrZ.d.cts} +578 -108
  142. package/dist/{index-DhlAMlm9.d.ts → index-CbCNoogR.d.ts} +218 -66
  143. package/dist/{index-BDLy6CQ9.d.cts → index-Ccv_61jG.d.cts} +2 -2
  144. package/dist/{index-MV2yGIAq.d.ts → index-Ced0dphF.d.ts} +9 -9
  145. package/dist/{index-BzxU4yhV.d.cts → index-ChZvMC4M.d.cts} +4 -4
  146. package/dist/{index-zMQIQuDu.d.ts → index-Chi9IiHJ.d.ts} +3 -3
  147. package/dist/{index-DUkuH3jP.d.cts → index-ClJUZAOr.d.cts} +18 -3
  148. package/dist/{index-D7XxY1Ff.d.cts → index-ClKm7CFB.d.cts} +1 -1
  149. package/dist/{index-D3HcdZ4d.d.cts → index-Cn3taOmp.d.cts} +2 -2
  150. package/dist/{index-C4QTaDli.d.cts → index-CoR-tOZA.d.cts} +4 -4
  151. package/dist/{index-BpFWP7Bq.d.cts → index-Cp91Sxbo.d.cts} +5 -4
  152. package/dist/{index-DD1czHj3.d.ts → index-Cq7Uqgu4.d.ts} +2 -2
  153. package/dist/{index-EGjF6iSY.d.cts → index-D23g00HE.d.cts} +4 -4
  154. package/dist/{index-Bnmttu35.d.ts → index-D80nGRb9.d.ts} +3 -3
  155. package/dist/{index-DY2QbdoP.d.cts → index-DR3XqZlV.d.cts} +1 -1
  156. package/dist/{index-BANwzwBV.d.ts → index-Db21wuaD.d.ts} +5 -4
  157. package/dist/{index-CIXaiYDE.d.cts → index-DhWrMTI6.d.cts} +1 -1
  158. package/dist/{index-Dp_pS7Bw.d.ts → index-DheNs40A.d.ts} +2 -2
  159. package/dist/{index-CVevMZ0n.d.ts → index-Dia4yc2y.d.ts} +3 -3
  160. package/dist/{index-_BXz9K7b.d.cts → index-Ds3Rz9m9.d.cts} +3 -3
  161. package/dist/{index-Ckl03Q0s.d.ts → index-Dtpr2FIB.d.ts} +18 -3
  162. package/dist/{index-ByPnK85n.d.ts → index-DupIl9wI.d.ts} +1 -1
  163. package/dist/{index-CEoU-r-g.d.ts → index-DuvQAU02.d.ts} +2 -2
  164. package/dist/{index-D0C_USMR.d.ts → index-DxEcY7Om.d.ts} +1 -1
  165. package/dist/{index-eYHRkoK-.d.ts → index-HvJ90_tX.d.ts} +12 -3
  166. package/dist/{index-BuN2wGJs.d.cts → index-IxinNgAH.d.cts} +218 -66
  167. package/dist/{index-LzCJ0kMT.d.cts → index-Jgl7ev9I.d.cts} +9 -9
  168. package/dist/{index-DlGaEBW5.d.cts → index-RJX4snyi.d.cts} +2 -2
  169. package/dist/{index-DNhTQReY.d.cts → index-ZIQaKIdY.d.cts} +7 -7
  170. package/dist/{index-lpGUhTBn.d.ts → index-b4a6Sg0R.d.ts} +4 -4
  171. package/dist/{index-BiGeETJs.d.cts → index-iKsmdnq6.d.cts} +2 -2
  172. package/dist/{index-CmSjld-4.d.ts → index-nP13Qe6T.d.ts} +1 -1
  173. package/dist/{index-BJDXj9Wf.d.cts → index-p0bkNfby.d.cts} +3 -3
  174. package/dist/{index-aBqZUx3B.d.cts → index-wcfc7W-f.d.cts} +2 -2
  175. package/dist/{index-BwdPDWI4.d.cts → index-yJY9thRY.d.cts} +2 -2
  176. package/dist/{index-BbcSZCAG.d.ts → index-ygRFoyrN.d.ts} +2 -2
  177. package/dist/{index-Ip3q9T9x.d.ts → index-zA1uVtk0.d.ts} +1 -1
  178. package/dist/index.cjs +57 -57
  179. package/dist/index.d.cts +44 -44
  180. package/dist/index.d.ts +44 -44
  181. package/dist/index.js +1 -1
  182. package/dist/{meta-COtmHLwT.d.cts → meta-BdjSt8ky.d.cts} +1 -1
  183. package/dist/{meta-BMwx3ExI.d.ts → meta-CtDjj7cU.d.ts} +1 -1
  184. package/dist/{node-BVV7G1bq.d.cts → node-8qx0kgYt.d.cts} +49 -1
  185. package/dist/{node-BVV7G1bq.d.ts → node-8qx0kgYt.d.ts} +49 -1
  186. package/dist/{observable-BrUAPeH_.d.cts → observable-B6Ba-TTI.d.cts} +1 -1
  187. package/dist/{observable-ITikPXz3.d.ts → observable-DOniYM2B.d.ts} +1 -1
  188. package/dist/patterns/ai/browser.cjs +5 -5
  189. package/dist/patterns/ai/browser.d.cts +4 -4
  190. package/dist/patterns/ai/browser.d.ts +4 -4
  191. package/dist/patterns/ai/browser.js +1 -1
  192. package/dist/patterns/ai/index.cjs +19 -19
  193. package/dist/patterns/ai/index.d.cts +16 -16
  194. package/dist/patterns/ai/index.d.ts +16 -16
  195. package/dist/patterns/ai/index.js +1 -1
  196. package/dist/patterns/ai/node.cjs +2 -2
  197. package/dist/patterns/ai/node.d.cts +4 -4
  198. package/dist/patterns/ai/node.d.ts +4 -4
  199. package/dist/patterns/ai/node.js +1 -1
  200. package/dist/patterns/audit/index.cjs +7 -7
  201. package/dist/patterns/audit/index.d.cts +5 -5
  202. package/dist/patterns/audit/index.d.ts +5 -5
  203. package/dist/patterns/audit/index.js +1 -1
  204. package/dist/patterns/cqrs/index.cjs +3 -3
  205. package/dist/patterns/cqrs/index.d.cts +4 -4
  206. package/dist/patterns/cqrs/index.d.ts +4 -4
  207. package/dist/patterns/cqrs/index.js +1 -1
  208. package/dist/patterns/demo-shell/index.cjs +6 -6
  209. package/dist/patterns/demo-shell/index.d.cts +5 -5
  210. package/dist/patterns/demo-shell/index.d.ts +5 -5
  211. package/dist/patterns/demo-shell/index.js +1 -1
  212. package/dist/patterns/domain-templates/index.cjs +6 -6
  213. package/dist/patterns/domain-templates/index.d.cts +4 -4
  214. package/dist/patterns/domain-templates/index.d.ts +4 -4
  215. package/dist/patterns/domain-templates/index.js +1 -1
  216. package/dist/patterns/graphspec/index.cjs +8 -8
  217. package/dist/patterns/graphspec/index.d.cts +5 -5
  218. package/dist/patterns/graphspec/index.d.ts +5 -5
  219. package/dist/patterns/graphspec/index.js +1 -1
  220. package/dist/patterns/guarded-execution/index.cjs +7 -7
  221. package/dist/patterns/guarded-execution/index.d.cts +6 -6
  222. package/dist/patterns/guarded-execution/index.d.ts +6 -6
  223. package/dist/patterns/guarded-execution/index.js +1 -1
  224. package/dist/patterns/harness/index.cjs +12 -12
  225. package/dist/patterns/harness/index.d.cts +11 -10
  226. package/dist/patterns/harness/index.d.ts +11 -10
  227. package/dist/patterns/harness/index.js +1 -1
  228. package/dist/patterns/job-queue/index.cjs +7 -7
  229. package/dist/patterns/job-queue/index.d.cts +4 -4
  230. package/dist/patterns/job-queue/index.d.ts +4 -4
  231. package/dist/patterns/job-queue/index.js +1 -1
  232. package/dist/patterns/lens/index.cjs +5 -5
  233. package/dist/patterns/lens/index.d.cts +6 -6
  234. package/dist/patterns/lens/index.d.ts +6 -6
  235. package/dist/patterns/lens/index.js +1 -1
  236. package/dist/patterns/memory/index.cjs +4 -4
  237. package/dist/patterns/memory/index.d.cts +4 -4
  238. package/dist/patterns/memory/index.d.ts +4 -4
  239. package/dist/patterns/memory/index.js +1 -1
  240. package/dist/patterns/messaging/index.cjs +4 -4
  241. package/dist/patterns/messaging/index.d.cts +4 -4
  242. package/dist/patterns/messaging/index.d.ts +4 -4
  243. package/dist/patterns/messaging/index.js +1 -1
  244. package/dist/patterns/orchestration/index.cjs +7 -7
  245. package/dist/patterns/orchestration/index.d.cts +5 -5
  246. package/dist/patterns/orchestration/index.d.ts +5 -5
  247. package/dist/patterns/orchestration/index.js +1 -1
  248. package/dist/patterns/reactive-layout/index.cjs +1 -1
  249. package/dist/patterns/reactive-layout/index.d.cts +5 -5
  250. package/dist/patterns/reactive-layout/index.d.ts +5 -5
  251. package/dist/patterns/reactive-layout/index.js +1 -1
  252. package/dist/patterns/reduction/index.cjs +1 -1
  253. package/dist/patterns/reduction/index.d.cts +4 -4
  254. package/dist/patterns/reduction/index.d.ts +4 -4
  255. package/dist/patterns/reduction/index.js +1 -1
  256. package/dist/patterns/refine-loop/index.cjs +7 -7
  257. package/dist/patterns/refine-loop/index.d.cts +5 -5
  258. package/dist/patterns/refine-loop/index.d.ts +5 -5
  259. package/dist/patterns/refine-loop/index.js +1 -1
  260. package/dist/patterns/resilient-pipeline/index.cjs +1 -1
  261. package/dist/patterns/resilient-pipeline/index.d.cts +6 -6
  262. package/dist/patterns/resilient-pipeline/index.d.ts +6 -6
  263. package/dist/patterns/resilient-pipeline/index.js +1 -1
  264. package/dist/patterns/surface/index.cjs +7 -7
  265. package/dist/patterns/surface/index.d.cts +6 -6
  266. package/dist/patterns/surface/index.d.ts +6 -6
  267. package/dist/patterns/surface/index.js +1 -1
  268. package/dist/{reactive-layout-Bq0rA2Wb.d.ts → reactive-layout-DBJ3Vz-m.d.ts} +2 -2
  269. package/dist/{reactive-layout-Dhhe54Oj.d.cts → reactive-layout-Dk9AOQb_.d.cts} +2 -2
  270. package/dist/{reactive-log-5jFeNRmd.d.cts → reactive-log-CWC7jO4J.d.cts} +1 -1
  271. package/dist/{reactive-log-BOJDCI5x.d.ts → reactive-log-CqaBg8nf.d.ts} +1 -1
  272. package/dist/{reactive-map-IJIfZxoh.d.cts → reactive-map-Cm89Hk0c.d.cts} +1 -1
  273. package/dist/{reactive-map-CtRaCddO.d.ts → reactive-map-LjwjcFaW.d.ts} +1 -1
  274. package/dist/{resilience-IVNDYORD.js → resilience-7UZHSSGC.js} +1 -1
  275. package/dist/{resilience-Q6Bt_7y0.d.cts → resilience-N_VtLf7W.d.cts} +1 -1
  276. package/dist/{resilience-CludlzcP.d.ts → resilience-RjDIHZNZ.d.ts} +1 -1
  277. package/dist/{sugar-BHbAACDG.d.ts → sugar-CQkn_rxB.d.ts} +1 -1
  278. package/dist/{sugar-CqR6DJ7v.d.cts → sugar-DVEYhR7a.d.cts} +1 -1
  279. package/dist/{topology-tree-CpSjvIXp.d.cts → topology-tree-BB6oJxMz.d.cts} +1 -1
  280. package/dist/{topology-tree-DAbCV2Yw.d.ts → topology-tree-CAFOG5S5.d.ts} +1 -1
  281. package/dist/{types-CdfO2QTt.d.ts → types-B2LfBvNc.d.ts} +16 -2
  282. package/dist/{types-BgMqbc7N.d.cts → types-Cp_4coR_.d.cts} +16 -2
  283. package/package.json +1 -1
  284. package/dist/chunk-2JNT5NDF.js +0 -61
  285. package/dist/chunk-2RH4QNDQ.js +0 -1
  286. package/dist/chunk-7AJKUA36.js +0 -1
  287. package/dist/chunk-LG73TUF4.js +0 -43
  288. package/dist/chunk-PNTBXOQ6.js +0 -5
  289. package/dist/chunk-ZWETYYQG.js +0 -1
@@ -1,17 +1,17 @@
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-CdfO2QTt.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-D3sapjue.js';
3
- import { a as Node, A as Actor } from './node-BVV7G1bq.js';
4
- import { R as ReactiveLogBundle } from './reactive-log-BOJDCI5x.js';
5
- import { a as CircuitBreakerOptions, e as CircuitBreaker, f as CircuitOpenError } from './resilience-CludlzcP.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-B2LfBvNc.js';
2
+ import { a as CascadeExhaustionReport, A as AdapterProvider, b as AdapterTier, d as AllTiersExhaustedError, C as CascadingLlmAdapterOptions, e as CreateAdapterOptions, O as OpenAICompatAdapterOptions, f as OpenAICompatPreset, g as OpenAISdkLike, h as cascadingLlmAdapter, c as createAdapter, o as openAICompatAdapter, t as tier } from './cascading-Bg0a4VSf.js';
3
+ import { a as Node, A as Actor } from './node-8qx0kgYt.js';
4
+ import { R as ReactiveLogBundle } from './reactive-log-CqaBg8nf.js';
5
+ import { a as CircuitBreakerOptions, e as CircuitBreaker, f as CircuitOpenError } from './resilience-RjDIHZNZ.js';
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-DRjJ_ZM8.js';
8
- import { G as Graph, a as GraphOptions, h as GraphAttachStorageOptions } from './graph-BOhEGJ6E.js';
9
- import { T as TopicGraph } from './index-Dbmj0iYR.js';
10
- import { G as GateController, a as GateOptions } from './index-eYHRkoK-.js';
11
- import { D as DistillBundle, E as Extraction } from './composite-BY9hMxN7.js';
12
- import { V as VectorSearchResult, L as LightCollectionBundle, a as VectorIndexBundle, K as KnowledgeGraphGraph } from './index-BbcSZCAG.js';
7
+ import { W as WithReplayCacheOptions, F as FallbackAdapterOptions, a as FallbackFixture, b as FallbackMissError, c as FallbackMissPolicy, R as ReplayCacheKeyContext, d as ReplayCacheMissError, e as ReplayCacheMode, f as canonicalJson, g as fallbackAdapter, w as withReplayCache } from './fallback-mYSd8vQo.js';
8
+ import { G as Graph, a as GraphOptions, h as GraphAttachStorageOptions } from './graph-BROUZPG9.js';
9
+ import { T as TopicGraph } from './index-Bi4ZP6Hc.js';
10
+ import { G as GateController, a as GateOptions } from './index-HvJ90_tX.js';
11
+ import { D as DistillBundle, E as Extraction } from './composite-BPDU_XV1.js';
12
+ import { V as VectorSearchResult, L as LightCollectionBundle, a as VectorIndexBundle, K as KnowledgeGraphGraph } from './index-ygRFoyrN.js';
13
13
  import { StorageHandle, StorageTier } from './extra/storage-core.js';
14
- import { c as GraphSpecCatalog } from './index-zMQIQuDu.js';
14
+ import { c as GraphSpecCatalog } from './index-Chi9IiHJ.js';
15
15
 
16
16
  /**
17
17
  * Observable adapter wrapper — the "inverted statistics" surface.
@@ -717,6 +717,12 @@ declare function dryRunAdapter(opts?: DryRunAdapterOptions): LLMAdapter;
717
717
  /**
718
718
  * GoogleAdapter — default fetch-backed, optional SDK-backed.
719
719
  *
720
+ * The SDK-backed path targets the `@google/genai` SDK shape:
721
+ * `client.models.generateContent({ model, contents, config })` — single
722
+ * param, with generation params and `abortSignal` under `config`. The
723
+ * legacy `@google/generative-ai` two-arg `(params, {signal})` shape is no
724
+ * longer accepted; pass a `GoogleGenAI` instance via `opts.sdk`.
725
+ *
720
726
  * Maps Gemini `usageMetadata`:
721
727
  * - `promptTokenCount` minus `cachedContentTokenCount` → `input.regular`
722
728
  * - `cachedContentTokenCount` → `input.cacheRead`
@@ -733,20 +739,47 @@ interface GoogleAdapterOptions {
733
739
  baseURL?: string;
734
740
  /** Extra headers on every request. */
735
741
  headers?: Record<string, string>;
736
- /** Optional SDK instance (`@google/genai` or `@google/generative-ai` shape). */
742
+ /**
743
+ * Optional `@google/genai` SDK instance (e.g. `new GoogleGenAI({apiKey})`).
744
+ * When omitted, the adapter uses the fetch-backed path against the
745
+ * Generative Language REST API.
746
+ */
737
747
  sdk?: GoogleSdkLike;
738
748
  fetchImpl?: typeof fetch;
739
749
  }
750
+ /**
751
+ * Duck-type matching the `@google/genai` (`GoogleGenAI`) SDK shape:
752
+ * single-param `generateContent({ model, contents, config })` where
753
+ * generation parameters and `abortSignal` live under `config`.
754
+ *
755
+ * The `@google/generative-ai` predecessor's two-arg `(params, {signal})`
756
+ * shape is no longer accepted.
757
+ */
740
758
  interface GoogleSdkLike {
741
759
  models: {
742
- generateContent(params: Record<string, unknown>, opts?: {
743
- signal?: AbortSignal;
744
- }): Promise<GeminiResponse>;
745
- generateContentStream?(params: Record<string, unknown>, opts?: {
746
- signal?: AbortSignal;
747
- }): AsyncIterable<GeminiResponse>;
760
+ generateContent(params: GoogleSdkRequestParams): Promise<GeminiResponse>;
761
+ generateContentStream?(params: GoogleSdkRequestParams): Promise<AsyncIterable<GeminiResponse>> | AsyncIterable<GeminiResponse>;
748
762
  };
749
763
  }
764
+ /** Single-param request shape consumed by `@google/genai`'s `models.generateContent`. */
765
+ interface GoogleSdkRequestParams {
766
+ model: string;
767
+ contents: unknown;
768
+ config?: GoogleSdkRequestConfig;
769
+ }
770
+ /**
771
+ * Generation config under the new SDK. `abortSignal` is the cancellation
772
+ * channel — there is no second-arg `{signal}`.
773
+ */
774
+ interface GoogleSdkRequestConfig {
775
+ abortSignal?: AbortSignal;
776
+ temperature?: number;
777
+ maxOutputTokens?: number;
778
+ systemInstruction?: unknown;
779
+ tools?: unknown;
780
+ thinkingConfig?: unknown;
781
+ [extra: string]: unknown;
782
+ }
750
783
  interface GeminiResponse {
751
784
  candidates?: ReadonlyArray<{
752
785
  content?: {
@@ -1040,8 +1073,15 @@ type GatedStreamHandle<T> = {
1040
1073
  deltaTopic: TopicGraph<StampedDelta>;
1041
1074
  /** Reactive accumulated-text view. */
1042
1075
  accumulatedText: Node<string>;
1043
- /** Gate controller — approve, reject (aborts in-flight stream), modify. */
1044
- gate: GateController<T | null>;
1076
+ /**
1077
+ * Gate controller — approve, reject (aborts in-flight stream), modify.
1078
+ * The gate's DATA domain is `T` (not `T | null`): the pre-gate `filter`
1079
+ * drops nulls, so the pending queue never holds a null. The controller's
1080
+ * `node` output type stays `T | null` only because `gate.approve()` on an
1081
+ * empty queue would surface `null` — callers should treat `null` as "no
1082
+ * value" rather than as a modeled null signal.
1083
+ */
1084
+ gate: GateController<T>;
1045
1085
  /** Tear down the delta topic + gate keepalive. */
1046
1086
  dispose: () => void;
1047
1087
  };
@@ -1317,13 +1357,22 @@ type ToolRegistryOptions = {
1317
1357
  /**
1318
1358
  * `ToolRegistryGraph` — name-keyed registry of {@link ToolDefinition}s.
1319
1359
  *
1360
+ * **Reactive-only execution.** The only execution path is
1361
+ * {@link executeReactive}, which returns a `Node<unknown>` for the handler
1362
+ * result. Composing factories (`toolExecution`, `agentLoop`) consume it
1363
+ * directly inside `retrySource` / `switchMap` chains. There is intentionally
1364
+ * no imperative `execute()` Promise method — the registry was originally a
1365
+ * dual-boundary class (imperative + reactive) and the imperative path was
1366
+ * the only thing in the codebase bridging through `Promise.resolve().then()`
1367
+ * to feed `fromAny`. Removing it left every consumer on a single
1368
+ * reactive-all-the-way path with real abort propagation.
1369
+ *
1370
+ * For non-reactive callers (debug scripts, one-shot tests), bridge with
1371
+ * `awaitSettled(toolRegistry.executeReactive(name, args))`.
1372
+ *
1320
1373
  * **Wave A Unit 6 refactor:** internal storage migrated from `state<Map>`
1321
1374
  * (O(N) Map-copy per mutation) to `ReactiveMapBundle<string, ToolDefinition>`
1322
- * (O(1) mutations + version counter). Public API unchanged for existing
1323
- * consumers. Adds a new reactive `executeReactive(name, args): Node<unknown>`
1324
- * alongside the imperative `execute(name, args): Promise<unknown>` so
1325
- * composing factories (`toolExecution`, `agentLoop`) can consume the tool
1326
- * handler as a reactive source without bridging through `firstDataFromNode`.
1375
+ * (O(1) mutations + version counter).
1327
1376
  */
1328
1377
  declare class ToolRegistryGraph extends Graph {
1329
1378
  readonly definitions: Node<ReadonlyMap<string, ToolDefinition>>;
@@ -1332,23 +1381,25 @@ declare class ToolRegistryGraph extends Graph {
1332
1381
  constructor(name: string, opts?: ToolRegistryOptions);
1333
1382
  register(tool: ToolDefinition): void;
1334
1383
  unregister(name: string): void;
1335
- /**
1336
- * Imperative boundary: await the handler result as a Promise. Safe for
1337
- * non-reactive callers; reactive consumers prefer {@link executeReactive}.
1338
- */
1339
- execute(name: string, args: Record<string, unknown>): Promise<unknown>;
1340
1384
  /**
1341
1385
  * Reactive execution — returns a `Node<unknown>` that emits the handler
1342
- * result. Uses `fromAny` to bridge Promise / Node / AsyncIterable handler
1343
- * return shapes uniformly. Composes cleanly inside `switchMap` /
1344
- * `retrySource` / `rescue` chains where the legacy imperative `execute()`
1345
- * would force a `firstDataFromNode` round-trip.
1386
+ * result. The returned node is a `producer` that:
1387
+ *
1388
+ * 1. Mints a per-call `AbortController` whose `signal` is threaded into
1389
+ * the handler call AND into `fromAny` (so a `fromPromise` /
1390
+ * `fromAsyncIter` inner abandons cleanly when the consumer
1391
+ * unsubscribes).
1392
+ * 2. Runs `tool.handler(args, {signal})` inside a try/catch — a
1393
+ * synchronous throw surfaces as `[[ERROR, err]]` downstream instead
1394
+ * of escaping the producer.
1395
+ * 3. Forwards every message from the inner `fromAny` chain to the
1396
+ * producer's outputs.
1397
+ * 4. On teardown (subscriber count drops to zero, e.g. `switchMap`
1398
+ * supersede) calls `ac.abort()` and unsubscribes the inner.
1399
+ * Signal-aware handlers (e.g. `fetch(url, {signal})`) actually stop.
1346
1400
  *
1347
- * The returned node is a one-shot: it emits the first DATA from the
1348
- * handler result (or ERROR on handler throw) and then relies on the
1349
- * caller's switchMap / subscription chain for teardown. For repeated
1350
- * invocations, call `executeReactive` again — each call mints a fresh
1351
- * node tied to a fresh `handler(args)` invocation.
1401
+ * Each call mints a fresh node tied to a fresh `handler(args, ...)`
1402
+ * invocation call `executeReactive` again for repeated invocations.
1352
1403
  *
1353
1404
  * @throws `Error` synchronously when `name` is not registered (no node is
1354
1405
  * constructed — the caller gets a pre-wiring failure rather than a
@@ -1359,6 +1410,83 @@ declare class ToolRegistryGraph extends Graph {
1359
1410
  }
1360
1411
  declare function toolRegistry(name: string, opts?: ToolRegistryOptions): ToolRegistryGraph;
1361
1412
 
1413
+ /**
1414
+ * `toolExecution` — reactive per-tool-call executor with retry + rescue.
1415
+ *
1416
+ * Lifted from the inlined `executeToolReactively` helper inside `agent-loop.ts`
1417
+ * so it can be consumed standalone by any caller with a reactive `toolCalls`
1418
+ * batch — not just `agentLoop`. The shape is: one input `Node<readonly
1419
+ * ToolCall[]>` + a `ToolRegistryGraph` → one output `Node<readonly
1420
+ * ToolResult[]>`. Each call maps to a per-call `retrySource(executeReactive)`
1421
+ * → optional `rescue` chain that emits the handler result on success, or a
1422
+ * JSON-wrapped `{ error }` payload on terminal failure so the LLM can see the
1423
+ * error as tool output and decide whether to try again via another tool call.
1424
+ *
1425
+ * **Cancellation.** `executeReactive` mints a per-call `AbortController` and
1426
+ * threads its signal into the handler call. When `switchMap` supersedes the
1427
+ * inner (a fresh `toolCalls` batch arrives) or the outer graph tears down,
1428
+ * the per-call node unsubscribes and `ac.abort()` fires. Signal-aware
1429
+ * handlers (`fetch(url, {signal})`, child-process kill, DB cancel) actually
1430
+ * stop in-flight work; handlers that ignore the signal still complete to
1431
+ * their original termination, but their result is discarded.
1432
+ *
1433
+ * @module
1434
+ */
1435
+
1436
+ /** A single tool execution outcome: `{id, content}` where content is a JSON string. */
1437
+ interface ToolResult {
1438
+ readonly id: string;
1439
+ readonly content: string;
1440
+ }
1441
+ type ToolExecutionOptions = {
1442
+ /**
1443
+ * Reactive tool-call batch. Each non-empty emission triggers a fresh
1444
+ * per-call execution fan-out; superseding emissions cancel the prior fan.
1445
+ */
1446
+ toolCalls: Node<readonly ToolCall[]>;
1447
+ /** Registry that resolves tool name → handler. */
1448
+ tools: ToolRegistryGraph;
1449
+ /**
1450
+ * Retry count per individual tool call. `retrySource({count: N})` retries
1451
+ * up to N times on error (N retries = N+1 total attempts). Default: 1.
1452
+ */
1453
+ retryCount?: number;
1454
+ /**
1455
+ * How to surface a terminal error after retries are exhausted.
1456
+ * - `"rescue"` (default): emit `{id, content: JSON.stringify({error})}`
1457
+ * so the LLM sees the failure as structured tool output and can decide
1458
+ * how to react. Sibling calls in the same batch continue to their own
1459
+ * completion; one call's failure does not affect the others.
1460
+ * - `"propagate"`: let the ERROR propagate downstream. **Blast radius:**
1461
+ * the per-batch `derived` join auto-errors when any per-call node
1462
+ * terminates with ERROR, so one call's failure discards every sibling's
1463
+ * DATA (even ones that already settled with a valid ToolResult). Use
1464
+ * `"propagate"` only when a single tool failure should be fatal for the
1465
+ * whole batch; prefer `"rescue"` when you want the LLM to see partial
1466
+ * results plus per-call error markers.
1467
+ */
1468
+ onError?: "rescue" | "propagate";
1469
+ };
1470
+ /**
1471
+ * Reactive executor for a batch of LLM tool calls.
1472
+ *
1473
+ * Each DATA emission on `toolCalls` dispatches a fresh per-call fan-out: for
1474
+ * every call in the batch, construct a `retrySource(fromAny(tools.execute(
1475
+ * name, args)))` node, optionally `rescue` it into a JSON error shape, and
1476
+ * join the results via a `derived` whose first-run gate waits for every call
1477
+ * to settle before emitting the batch. Empty batches (`calls.length === 0`)
1478
+ * are a caller-side invariant violation (the upstream gate should emit
1479
+ * RESOLVED for empty batches, not DATA) and trigger a loud error — callers
1480
+ * that want to accept empty batches should upstream-filter them first.
1481
+ *
1482
+ * Reference-equality + content-equality dedup is applied to the output batch
1483
+ * so duplicate re-emissions from a completing retrySource don't propagate.
1484
+ *
1485
+ * @param opts - `{ toolCalls, tools, retryCount?, onError? }`.
1486
+ * @returns `Node<readonly ToolResult[]>` — one ToolResult per input ToolCall.
1487
+ */
1488
+ declare function toolExecution(opts: ToolExecutionOptions): Node<readonly ToolResult[]>;
1489
+
1362
1490
  /**
1363
1491
  * Reactive agent loop — autonomous multi-turn LLM agent with tool execution.
1364
1492
  */
@@ -1397,11 +1525,6 @@ type AgentLoopOptions = {
1397
1525
  */
1398
1526
  interceptToolCalls?: (calls: Node<readonly ToolCall[]>) => Node<readonly ToolCall[]>;
1399
1527
  };
1400
- /** A single tool execution outcome: `{id, content}` where content is a JSON string. */
1401
- interface ToolResult {
1402
- readonly id: string;
1403
- readonly content: string;
1404
- }
1405
1528
  /**
1406
1529
  * Reactive agent loop.
1407
1530
  *
@@ -1420,11 +1543,22 @@ interface ToolResult {
1420
1543
  * the loop if they want a Promise.
1421
1544
  *
1422
1545
  * Public surface:
1423
- * - `chat` / `tools` — subgraphs (imperative `append` / `execute` at boundary)
1546
+ * - `chat` / `tools` — subgraphs (imperative `append` at boundary, reactive `executeReactive` for tool invocation)
1424
1547
  * - `status` / `turn` / `aborted` — state nodes with explicit initials
1425
1548
  * - `lastResponse` / `toolCalls` / `toolResults` — reactive outputs (SENTINEL until first emission; callers use `awaitSettled` / `subscribe`)
1426
1549
  * - `run(userMessage?, signal?)` — optional user append + Promise bridge
1427
1550
  * - `abort()` — imperative abort shim; flips `aborted` state
1551
+ *
1552
+ * **Lifecycle: single-mount.** `AgentLoopGraph` instances expect to be
1553
+ * constructed once and used until `destroy()`. The internal closure mirrors
1554
+ * (`latestTurn` / `latestAborted` / `latestStatus` / `latestMessages` /
1555
+ * `latestSchemas`) are wired by subscribe-and-capture at construction time;
1556
+ * their corresponding `addDisposer`-registered subscriptions are torn down
1557
+ * on subgraph unmount or `destroy()`. After teardown the mirrors freeze at
1558
+ * their last value, so re-using a destroyed instance — calling `run()`
1559
+ * again, or remounting under a new parent — would silently feed stale
1560
+ * mirror data into `promptInput`. If you need to "reset" an agent, build a
1561
+ * fresh `AgentLoopGraph` instance instead of recycling.
1428
1562
  */
1429
1563
  declare class AgentLoopGraph extends Graph {
1430
1564
  readonly chat: ChatStreamGraph;
@@ -1448,13 +1582,6 @@ declare class AgentLoopGraph extends Graph {
1448
1582
  readonly toolResults: Node<readonly ToolResult[]>;
1449
1583
  private readonly _terminalResult;
1450
1584
  private readonly _disposeRunWiring;
1451
- /**
1452
- * Per-agent monotonic run counter. Incremented at the start of every
1453
- * `run()` call; stamped onto `_terminalResult`'s DATA emissions so a
1454
- * caller's `awaitSettled` predicate resolves only on the matching run
1455
- * (prevents stale-resolution under re-entrant-ish composition).
1456
- */
1457
- private _runVersion;
1458
1585
  /** Guards against overlapping `run()` calls. */
1459
1586
  private _running;
1460
1587
  /**
@@ -1481,10 +1608,11 @@ declare class AgentLoopGraph extends Graph {
1481
1608
  * Rejects with the stage error when `status === "error"`.
1482
1609
  *
1483
1610
  * **Concurrency:** `run()` refuses to overlap with a pending call on the
1484
- * same agent. Attempting to call `run()` while a previous `run()` is still
1485
- * in-flight throws a `RangeError` immediately. Each call increments an
1486
- * internal `_runVersion` and filters `_terminalResult` emissions by that
1487
- * version belt-and-suspenders against stale resolution.
1611
+ * same agent. Attempting to call `run()` while a previous `run()` is
1612
+ * still in-flight throws a `RangeError` immediately. Stale-resolution
1613
+ * safety is provided by `awaitSettled({skipCurrent: true})`, which
1614
+ * ignores the cached initial DATA from any previous run and resolves
1615
+ * only on a fresh post-subscribe emission of `_terminalResult`.
1488
1616
  */
1489
1617
  run(userMessage?: string, signal?: AbortSignal): Promise<LLMResponse | null>;
1490
1618
  /**
@@ -1868,6 +1996,12 @@ type AgentMemoryGraph<TMem = unknown> = Graph & {
1868
1996
  */
1869
1997
  readonly retrieveReactive: ((queryInput: NodeInput<RetrievalQuery | null>) => Node<ReadonlyArray<RetrievalEntry<TMem>>>) | null;
1870
1998
  };
1999
+ /**
2000
+ * Pre-wired agentic memory graph. Sugar over `distill` plus the
2001
+ * `memoryWithVectors` / `memoryWithKG` / `memoryWithTiers` / `memoryRetrieval`
2002
+ * composers. Power users who want a subset of capabilities can call those
2003
+ * composers directly; this factory bundles them into one ergonomic call.
2004
+ */
1871
2005
  declare function agentMemory<TMem = unknown>(name: string, source: NodeInput<unknown>, opts: AgentMemoryOptions<TMem>): AgentMemoryGraph<TMem>;
1872
2006
 
1873
2007
  type LLMExtractorOptions = {
@@ -1929,8 +2063,18 @@ declare function memoryWithVectors<TMem>(graph: Graph, store: DistillBundle<TMem
1929
2063
  dispose: () => void;
1930
2064
  };
1931
2065
  type MemoryWithKGOptions<TMem> = {
1932
- /** Extract entities + relations for a memory entry. */
1933
- entityFn: (key: string, mem: TMem) => {
2066
+ /**
2067
+ * Mount path for the KG subgraph on the parent graph. Defaults to `name`.
2068
+ * Pass a different value when the parent graph reserves a stable mount
2069
+ * path (e.g. `agentMemory` mounts at `"kg"` regardless of outer name).
2070
+ */
2071
+ mountPath?: string;
2072
+ /**
2073
+ * Extract entities + relations for a memory entry. Omit to mount an empty
2074
+ * KG without an indexer effect — caller upserts entities / relations
2075
+ * directly on the returned `kg` handle.
2076
+ */
2077
+ entityFn?: (key: string, mem: TMem) => {
1934
2078
  entities?: Array<{
1935
2079
  id: string;
1936
2080
  value: unknown;
@@ -1944,12 +2088,16 @@ type MemoryWithKGOptions<TMem> = {
1944
2088
  } | undefined;
1945
2089
  };
1946
2090
  /**
1947
- * Attach a knowledge graph alongside a `DistillBundle`. Mount path defaults
1948
- * to the `name` arg so multiple `memoryWithKG` calls on the same graph don't
1949
- * collide on a hardcoded `"kg"` mount.
2091
+ * Attach a knowledge graph alongside a `DistillBundle`. Inner graph is named
2092
+ * `${name}-kg`; mount path defaults to `name` but can be overridden via
2093
+ * `opts.mountPath` so a parent factory (e.g. `agentMemory`) can keep a stable
2094
+ * mount path independent of the inner graph's identity.
2095
+ *
2096
+ * If `opts.entityFn` is omitted, no indexer effect is wired — the empty KG is
2097
+ * mounted for manual `upsertEntity` / `link` use.
1950
2098
  *
1951
- * Indexer keepalive is registered with `graph.addDisposer`; explicit
1952
- * `dispose()` is also available.
2099
+ * Indexer keepalive (when present) is registered with `graph.addDisposer`;
2100
+ * explicit `dispose()` is also available.
1953
2101
  */
1954
2102
  declare function memoryWithKG<TMem>(graph: Graph, store: DistillBundle<TMem>, name: string, opts: MemoryWithKGOptions<TMem>): {
1955
2103
  kg: KnowledgeGraphGraph<unknown, string>;
@@ -2304,6 +2452,8 @@ type index_GatedStreamOptions = GatedStreamOptions;
2304
2452
  type index_GaugesAsContextOptions = GaugesAsContextOptions;
2305
2453
  type index_GoogleAdapterOptions = GoogleAdapterOptions;
2306
2454
  type index_GoogleSdkLike = GoogleSdkLike;
2455
+ type index_GoogleSdkRequestConfig = GoogleSdkRequestConfig;
2456
+ type index_GoogleSdkRequestParams = GoogleSdkRequestParams;
2307
2457
  type index_GraphDefValidation = GraphDefValidation;
2308
2458
  type index_GraphFromSpecOptions = GraphFromSpecOptions;
2309
2459
  type index_HandoffOptions = HandoffOptions;
@@ -2362,6 +2512,7 @@ declare const index_TieredRate: typeof TieredRate;
2362
2512
  declare const index_TokenUsage: typeof TokenUsage;
2363
2513
  declare const index_ToolCall: typeof ToolCall;
2364
2514
  declare const index_ToolDefinition: typeof ToolDefinition;
2515
+ type index_ToolExecutionOptions = ToolExecutionOptions;
2365
2516
  type index_ToolRegistryGraph = ToolRegistryGraph;
2366
2517
  declare const index_ToolRegistryGraph: typeof ToolRegistryGraph;
2367
2518
  type index_ToolRegistryOptions = ToolRegistryOptions;
@@ -2422,6 +2573,7 @@ declare const index_suggestStrategyReactive: typeof suggestStrategyReactive;
2422
2573
  declare const index_systemPromptBuilder: typeof systemPromptBuilder;
2423
2574
  declare const index_tier: typeof tier;
2424
2575
  declare const index_toolCallExtractor: typeof toolCallExtractor;
2576
+ declare const index_toolExecution: typeof toolExecution;
2425
2577
  declare const index_toolRegistry: typeof toolRegistry;
2426
2578
  declare const index_toolSelector: typeof toolSelector;
2427
2579
  declare const index_validateGraphDef: typeof validateGraphDef;
@@ -2434,7 +2586,7 @@ declare const index_withRetry: typeof withRetry;
2434
2586
  declare const index_withTimeout: typeof withTimeout;
2435
2587
  declare const index_zeroPrice: typeof zeroPrice;
2436
2588
  declare namespace index {
2437
- export { index_AdapterProvider as AdapterProvider, type index_AdapterStats as AdapterStats, index_AdapterTier as AdapterTier, type index_AdmissionScore3DOptions as AdmissionScore3DOptions, type index_AdmissionScoredOptions as AdmissionScoredOptions, type index_AdmissionScores as AdmissionScores, type index_AdmissionThresholds as AdmissionThresholds, index_AgentLoopGraph as AgentLoopGraph, type index_AgentLoopOptions as AgentLoopOptions, type index_AgentLoopStatus as AgentLoopStatus, type index_AgentMemoryGraph as AgentMemoryGraph, type index_AgentMemoryOptions as AgentMemoryOptions, index_AllTiersExhaustedError as AllTiersExhaustedError, type index_AnthropicAdapterOptions as AnthropicAdapterOptions, type index_AnthropicSdkLike as AnthropicSdkLike, type index_BudgetCaps as BudgetCaps, index_BudgetExhaustedError as BudgetExhaustedError, type index_BudgetGateBundle as BudgetGateBundle, type index_BudgetTotals as BudgetTotals, type index_CallStatsEvent as CallStatsEvent, index_CapabilitiesRegistry as CapabilitiesRegistry, index_CascadeExhaustionReport as CascadeExhaustionReport, index_CascadingLlmAdapterOptions as CascadingLlmAdapterOptions, index_ChatMessage as ChatMessage, index_ChatStreamGraph as ChatStreamGraph, type index_ChatStreamOptions as ChatStreamOptions, index_CircuitOpenError as CircuitOpenError, type index_ContentDecision as ContentDecision, type index_ContentGateOptions as ContentGateOptions, type index_CostMeterOptions as CostMeterOptions, type index_CostMeterReading as CostMeterReading, index_CreateAdapterOptions as CreateAdapterOptions, index_DEFAULT_DECAY_RATE as DEFAULT_DECAY_RATE, type index_DryRunAdapterOptions as DryRunAdapterOptions, type index_ExtractedToolCall as ExtractedToolCall, index_FallbackAdapterOptions as FallbackAdapterOptions, index_FallbackFixture as FallbackFixture, index_FallbackMissError as FallbackMissError, index_FallbackMissPolicy as FallbackMissPolicy, type index_FromLLMOptions as FromLLMOptions, type index_FrozenContextOptions as FrozenContextOptions, type index_GatedStreamHandle as GatedStreamHandle, type index_GatedStreamOptions as GatedStreamOptions, type index_GaugesAsContextOptions as GaugesAsContextOptions, type index_GoogleAdapterOptions as GoogleAdapterOptions, type index_GoogleSdkLike as GoogleSdkLike, type index_GraphDefValidation as GraphDefValidation, type index_GraphFromSpecOptions as GraphFromSpecOptions, type index_HandoffOptions as HandoffOptions, type index_HttpErrorLike as HttpErrorLike, type index_KeywordFlag as KeywordFlag, type index_KeywordFlagExtractorOptions as KeywordFlagExtractorOptions, type index_KnobsAsToolsResult as KnobsAsToolsResult, index_LLMAdapter as LLMAdapter, type index_LLMConsolidatorOptions as LLMConsolidatorOptions, type index_LLMExtractorOptions as LLMExtractorOptions, index_LLMInvokeOptions as LLMInvokeOptions, index_LLMResponse as LLMResponse, index_LLMTimeoutError as LLMTimeoutError, type index_McpToolSchema as McpToolSchema, type index_MemoryRetrievalBundle as MemoryRetrievalBundle, type index_MemoryRetrievalOptions as MemoryRetrievalOptions, type index_MemoryTier as MemoryTier, type index_MemoryTiersBundle as MemoryTiersBundle, type index_MemoryTiersOptions as MemoryTiersOptions, type index_MemoryWithKGOptions as MemoryWithKGOptions, type index_MemoryWithTiersOptions as MemoryWithTiersOptions, type index_MemoryWithVectorsOptions as MemoryWithVectorsOptions, index_ModelCapabilities as ModelCapabilities, index_ModelFeatures as ModelFeatures, index_ModelLimits as ModelLimits, index_ModelPricing as ModelPricing, index_OpenAICompatAdapterOptions as OpenAICompatAdapterOptions, index_OpenAICompatPreset as OpenAICompatPreset, index_OpenAISdkLike as OpenAISdkLike, type index_OpenAIToolSchema as OpenAIToolSchema, index_PriceBreakdown as PriceBreakdown, index_PricingFn as PricingFn, index_PricingRegistry as PricingRegistry, type index_PromptNodeOptions as PromptNodeOptions, index_Rate as Rate, type index_RedactorOptions as RedactorOptions, index_ReplayCacheKeyContext as ReplayCacheKeyContext, index_ReplayCacheMissError as ReplayCacheMissError, index_ReplayCacheMode as ReplayCacheMode, type index_ResilientAdapterBundle as ResilientAdapterBundle, type index_ResilientAdapterOptions as ResilientAdapterOptions, type index_RetrievalEntry as RetrievalEntry, type index_RetrievalPipelineOptions as RetrievalPipelineOptions, type index_RetrievalQuery as RetrievalQuery, type index_RetrievalTrace as RetrievalTrace, type index_StampedDelta as StampedDelta, type index_StrategyOperation as StrategyOperation, type index_StrategyPlan as StrategyPlan, index_StreamDelta as StreamDelta, type index_StreamingPromptNodeHandle as StreamingPromptNodeHandle, type index_StreamingPromptNodeOptions as StreamingPromptNodeOptions, type index_SuggestStrategyOptions as SuggestStrategyOptions, type index_SystemPromptHandle as SystemPromptHandle, index_TieredRate as TieredRate, index_TokenUsage as TokenUsage, index_ToolCall as ToolCall, index_ToolDefinition as ToolDefinition, 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_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 };
2589
+ 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 };
2438
2590
  }
2439
2591
 
2440
- export { type OpenAIToolSchema as $, type AdapterStats as A, type BudgetCaps as B, type CallStatsEvent as C, DEFAULT_DECAY_RATE as D, type ExtractedToolCall as E, type FromLLMOptions as F, type GatedStreamHandle as G, type GoogleSdkLike as H, type GraphDefValidation as I, type GraphFromSpecOptions as J, type HandoffOptions as K, type HttpErrorLike as L, type KeywordFlag as M, type KeywordFlagExtractorOptions as N, type KnobsAsToolsResult as O, type LLMConsolidatorOptions as P, type LLMExtractorOptions as Q, LLMTimeoutError as R, type McpToolSchema as S, type MemoryRetrievalBundle as T, type MemoryRetrievalOptions as U, type MemoryTier as V, type MemoryTiersBundle as W, type MemoryTiersOptions as X, type MemoryWithKGOptions as Y, type MemoryWithTiersOptions as Z, type MemoryWithVectorsOptions as _, type AdmissionScore3DOptions as a, validateGraphDef as a$, type PromptNodeOptions as a0, type RedactorOptions as a1, type ResilientAdapterBundle as a2, type ResilientAdapterOptions as a3, type RetrievalEntry as a4, type RetrievalPipelineOptions as a5, type RetrievalQuery as a6, type RetrievalTrace as a7, type StampedDelta as a8, type StrategyOperation as a9, gatedStream as aA, gaugesAsContext as aB, googleAdapter as aC, graphFromSpec as aD, graphFromSpecReactive as aE, handoff as aF, keywordFlagExtractor as aG, knobsAsTools as aH, llmConsolidator as aI, llmExtractor as aJ, memoryRetrieval as aK, memoryWithKG as aL, memoryWithTiers as aM, memoryWithVectors as aN, observableAdapter as aO, parseRateLimitFromError as aP, promptNode as aQ, redactor as aR, resilientAdapter as aS, streamExtractor as aT, streamingPromptNode as aU, suggestStrategy as aV, suggestStrategyReactive as aW, systemPromptBuilder as aX, toolCallExtractor as aY, toolRegistry as aZ, toolSelector as a_, type StrategyPlan as aa, type StreamingPromptNodeHandle as ab, type StreamingPromptNodeOptions as ac, type SuggestStrategyOptions as ad, type SystemPromptHandle as ae, ToolRegistryGraph as af, type ToolRegistryOptions as ag, type ToolResult as ah, type ToolSelectorOptions as ai, type WithBreakerOptions as aj, type WithBudgetGateOptions as ak, type WithDryRunBundle as al, type WithDryRunOptions as am, type WithRateLimiterOptions as an, type WithRetryOptions as ao, admissionFilter3D as ap, admissionScored as aq, agentLoop as ar, agentMemory as as, anthropicAdapter as at, chatStream as au, contentGate as av, costMeterExtractor as aw, dryRunAdapter as ax, fromLLM as ay, frozenContext as az, type AdmissionScoredOptions as b, withBreaker as b0, withBudgetGate as b1, withDryRun as b2, withRateLimiter as b3, withRetry as b4, withTimeout as b5, 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 };
2592
+ export { type MemoryWithTiersOptions as $, type AdapterStats as A, type BudgetCaps as B, type CallStatsEvent as C, DEFAULT_DECAY_RATE as D, type ExtractedToolCall as E, type FromLLMOptions as F, type GatedStreamHandle as G, type GoogleSdkLike as H, type GoogleSdkRequestConfig as I, type GoogleSdkRequestParams as J, type GraphDefValidation as K, type GraphFromSpecOptions as L, type HandoffOptions as M, type HttpErrorLike as N, type KeywordFlag as O, type KeywordFlagExtractorOptions as P, type KnobsAsToolsResult as Q, type LLMConsolidatorOptions as R, type LLMExtractorOptions as S, LLMTimeoutError as T, type McpToolSchema as U, type MemoryRetrievalBundle as V, type MemoryRetrievalOptions as W, type MemoryTier as X, type MemoryTiersBundle as Y, type MemoryTiersOptions as Z, type MemoryWithKGOptions as _, type AdmissionScore3DOptions as a, toolCallExtractor as a$, type MemoryWithVectorsOptions as a0, type OpenAIToolSchema as a1, type PromptNodeOptions as a2, type RedactorOptions as a3, type ResilientAdapterBundle as a4, type ResilientAdapterOptions as a5, type RetrievalEntry as a6, type RetrievalPipelineOptions as a7, type RetrievalQuery as a8, type RetrievalTrace as a9, dryRunAdapter as aA, fromLLM as aB, frozenContext as aC, gatedStream as aD, gaugesAsContext as aE, googleAdapter as aF, graphFromSpec as aG, graphFromSpecReactive as aH, handoff as aI, keywordFlagExtractor as aJ, knobsAsTools as aK, llmConsolidator as aL, llmExtractor as aM, memoryRetrieval as aN, memoryWithKG as aO, memoryWithTiers as aP, memoryWithVectors as aQ, observableAdapter as aR, parseRateLimitFromError as aS, promptNode as aT, redactor as aU, resilientAdapter as aV, streamExtractor as aW, streamingPromptNode as aX, suggestStrategy as aY, suggestStrategyReactive as aZ, systemPromptBuilder as a_, type StampedDelta as aa, type StrategyOperation as ab, type StrategyPlan as ac, type StreamingPromptNodeHandle as ad, type StreamingPromptNodeOptions as ae, type SuggestStrategyOptions as af, type SystemPromptHandle as ag, type ToolExecutionOptions as ah, ToolRegistryGraph as ai, type ToolRegistryOptions as aj, type ToolResult as ak, type ToolSelectorOptions as al, type WithBreakerOptions as am, type WithBudgetGateOptions as an, type WithDryRunBundle as ao, type WithDryRunOptions as ap, type WithRateLimiterOptions as aq, type WithRetryOptions as ar, admissionFilter3D as as, admissionScored as at, agentLoop as au, agentMemory as av, anthropicAdapter as aw, chatStream as ax, contentGate as ay, costMeterExtractor as az, type AdmissionScoredOptions as b, toolExecution as b0, toolRegistry as b1, toolSelector as b2, validateGraphDef as b3, withBreaker as b4, withBudgetGate as b5, withDryRun as b6, withRateLimiter as b7, withRetry as b8, withTimeout as b9, type AdmissionScores as c, type AdmissionThresholds as d, AgentLoopGraph as e, type AgentLoopOptions as f, type AgentLoopStatus as g, type AgentMemoryGraph as h, index as i, type AgentMemoryOptions as j, type AnthropicAdapterOptions as k, type AnthropicSdkLike as l, BudgetExhaustedError as m, type BudgetGateBundle as n, type BudgetTotals as o, ChatStreamGraph as p, type ChatStreamOptions as q, type ContentDecision as r, type ContentGateOptions as s, type CostMeterOptions as t, type CostMeterReading as u, type DryRunAdapterOptions as v, type FrozenContextOptions as w, type GatedStreamOptions as x, type GaugesAsContextOptions as y, type GoogleAdapterOptions as z };
@@ -1,5 +1,5 @@
1
- import { a as Node } from './node-BVV7G1bq.cjs';
2
- import { G as Graph, a as GraphOptions } from './graph-CdJeX7O7.cjs';
1
+ import { a as Node } from './node-8qx0kgYt.cjs';
2
+ import { G as Graph, a as GraphOptions } from './graph-DaoydJ_u.cjs';
3
3
 
4
4
  /**
5
5
  * Messaging patterns (roadmap §4.2).
@@ -1,12 +1,12 @@
1
- import { i as index$2 } from './index-ByPnK85n.js';
2
- import { i as index$3 } from './index-wIx1Jisk.js';
3
- import { i as index$4 } from './index-CZUzi6Dy.js';
4
- import { i as index$5 } from './index-D0C_USMR.js';
5
- import { a as Node } from './node-BVV7G1bq.js';
6
- import { i as index$6 } from './index-CrC7urhX.js';
7
- import { i as index$7 } from './index-BX22kvjh.js';
8
- import { i as index$8 } from './index-Ip3q9T9x.js';
9
- import { i as index$9 } from './index-CmSjld-4.js';
1
+ import { i as index$2 } from './index-DupIl9wI.js';
2
+ import { i as index$3 } from './index-CI5fULSz.js';
3
+ import { i as index$4 } from './index-BFHpNSsV.js';
4
+ import { i as index$5 } from './index-DxEcY7Om.js';
5
+ import { a as Node } from './node-8qx0kgYt.js';
6
+ import { i as index$6 } from './index-BRisOxlx.js';
7
+ import { i as index$7 } from './index-BWiX5foT.js';
8
+ import { i as index$8 } from './index-zA1uVtk0.js';
9
+ import { i as index$9 } from './index-nP13Qe6T.js';
10
10
 
11
11
  /**
12
12
  * Options for creating signals.
@@ -1,7 +1,7 @@
1
- import { a as Node } from './node-BVV7G1bq.cjs';
1
+ import { a as Node } from './node-8qx0kgYt.cjs';
2
2
  import { NodeInput } from './extra/sources.cjs';
3
- import { a as GraphOptions, G as Graph } from './graph-CdJeX7O7.cjs';
4
- import { T as TopicGraph } from './index-BDLy6CQ9.cjs';
3
+ import { a as GraphOptions, G as Graph } from './graph-DaoydJ_u.cjs';
4
+ import { T as TopicGraph } from './index-Ccv_61jG.cjs';
5
5
 
6
6
  /**
7
7
  * refineLoop — universal prompt/artifact optimization loop as a reactive Graph.
@@ -363,4 +363,4 @@ declare namespace index {
363
363
  export { type index_AnalyzeEvent as AnalyzeEvent, type index_BlindVariationContext as BlindVariationContext, type index_BlindVariationOptions as BlindVariationOptions, type index_ConvergenceOptions as ConvergenceOptions, type index_DatasetItem as DatasetItem, type index_DecideEvent as DecideEvent, type index_ErrorCritiqueContext as ErrorCritiqueContext, type index_ErrorCritiqueOptions as ErrorCritiqueOptions, type index_EvalResult as EvalResult, type index_EvaluateEvent as EvaluateEvent, type index_Evaluator as Evaluator, type index_Feedback as Feedback, type index_GenerateEvent as GenerateEvent, type index_Iteration as Iteration, type index_RefineLoopGraph as RefineLoopGraph, type index_RefineLoopOptions as RefineLoopOptions, type index_RefineStatus as RefineStatus, type index_RefineStrategy as RefineStrategy, index_blindVariation as blindVariation, index_errorCritique as errorCritique, index_refineLoop as refineLoop };
364
364
  }
365
365
 
366
- export { type AnalyzeEvent as A, type BlindVariationContext as B, type ConvergenceOptions as C, type DatasetItem as D, type Evaluator as E, type Feedback as F, type GenerateEvent as G, type Iteration as I, type RefineStrategy as R, type EvalResult as a, type RefineStatus as b, type RefineLoopOptions as c, type BlindVariationOptions as d, type DecideEvent as e, type ErrorCritiqueContext as f, type ErrorCritiqueOptions as g, type EvaluateEvent as h, index as i, type RefineLoopGraph as j, blindVariation as k, errorCritique as l, refineLoop as r };
366
+ export { type AnalyzeEvent as A, type BlindVariationContext as B, type ConvergenceOptions as C, type DatasetItem as D, type Evaluator as E, type Feedback as F, type GenerateEvent as G, type Iteration as I, type RefineStrategy as R, type EvalResult as a, type RefineLoopOptions as b, type RefineStatus as c, type BlindVariationOptions as d, type DecideEvent as e, type ErrorCritiqueContext as f, type ErrorCritiqueOptions as g, type EvaluateEvent as h, index as i, type RefineLoopGraph as j, blindVariation as k, errorCritique as l, refineLoop as r };
@@ -1,6 +1,6 @@
1
- import { a as Node } from './node-BVV7G1bq.js';
2
- import { G as Graph } from './graph-BOhEGJ6E.js';
3
- import { L as LLMAdapter } from './types-CdfO2QTt.js';
1
+ import { a as Node } from './node-8qx0kgYt.js';
2
+ import { G as Graph } from './graph-BROUZPG9.js';
3
+ import { L as LLMAdapter } from './types-B2LfBvNc.js';
4
4
 
5
5
  /**
6
6
  * LLM graph composition (roadmap §8.3).
@@ -1,5 +1,5 @@
1
- import { a as Node } from './node-BVV7G1bq.cjs';
2
- import { G as Graph, a as GraphOptions } from './graph-CdJeX7O7.cjs';
1
+ import { a as Node } from './node-8qx0kgYt.cjs';
2
+ import { G as Graph, a as GraphOptions } from './graph-DaoydJ_u.cjs';
3
3
 
4
4
  /**
5
5
  * Job queue patterns (roadmap §4.2).
@@ -39,6 +39,21 @@ declare class JobQueueGraph<T> extends Graph {
39
39
  nack(id: string, opts?: {
40
40
  requeue?: boolean;
41
41
  }): boolean;
42
+ /**
43
+ * Remove a job by id regardless of its current state. Returns `true` if
44
+ * the job existed and was removed, `false` if no job has this id.
45
+ *
46
+ * `ack` only works on inflight; `nack` only works on inflight.
47
+ * `removeById` is the state-agnostic escape hatch — useful for
48
+ * audit/observability layers that enqueue but never claim, and need to
49
+ * finalize a job when an external decision (e.g. harness verify
50
+ * outcome) resolves it. Distinct name from the inherited
51
+ * {@link Graph.remove}, which removes a mounted child subgraph by path.
52
+ *
53
+ * When the job is in `queued` state, its id is also pulled from the
54
+ * `pending` list — depth + pending snapshot stay consistent.
55
+ */
56
+ removeById(id: string): boolean;
42
57
  }
43
58
  type JobFlowOptions = {
44
59
  graph?: GraphOptions;
@@ -83,4 +98,4 @@ declare namespace index {
83
98
  export { type index_JobEnvelope as JobEnvelope, index_JobFlowGraph as JobFlowGraph, type index_JobFlowOptions as JobFlowOptions, index_JobQueueGraph as JobQueueGraph, type index_JobQueueOptions as JobQueueOptions, type index_JobState as JobState, index_jobFlow as jobFlow, index_jobQueue as jobQueue };
84
99
  }
85
100
 
86
- export { type JobEnvelope as J, JobFlowGraph as a, type JobFlowOptions as b, JobQueueGraph as c, type JobQueueOptions as d, type JobState as e, jobQueue as f, index as i, jobFlow as j };
101
+ export { JobQueueGraph as J, type JobEnvelope as a, JobFlowGraph as b, type JobFlowOptions as c, type JobQueueOptions as d, type JobState as e, jobQueue as f, index as i, jobFlow as j };
@@ -1,4 +1,4 @@
1
- import { a as Node } from './node-BVV7G1bq.cjs';
1
+ import { a as Node } from './node-8qx0kgYt.cjs';
2
2
 
3
3
  /**
4
4
  * Subscribe to a read-only `Node<T>` as a React value. Re-renders on node value settlement.
@@ -1,5 +1,5 @@
1
- import { a as Node } from './node-BVV7G1bq.cjs';
2
- import { a as GraphOptions, G as Graph } from './graph-CdJeX7O7.cjs';
1
+ import { a as Node } from './node-8qx0kgYt.cjs';
2
+ import { a as GraphOptions, G as Graph } from './graph-DaoydJ_u.cjs';
3
3
 
4
4
  /**
5
5
  * Domain templates (roadmap §8.2).
@@ -1,9 +1,9 @@
1
- import { T as ToObservableOptions, t as toObservable } from './observable-BrUAPeH_.cjs';
1
+ import { T as ToObservableOptions, t as toObservable } from './observable-B6Ba-TTI.cjs';
2
2
  import { OnModuleInit, OnModuleDestroy, ExecutionContext, CanActivate, DynamicModule } from '@nestjs/common';
3
3
  import { ModuleRef } from '@nestjs/core';
4
- import { G as Graph, d as GraphPersistSnapshot } from './graph-CdJeX7O7.cjs';
5
- import { A as Actor } from './node-BVV7G1bq.cjs';
6
- import { C as CqrsOptions, a as CqrsGraph, E as EventStoreAdapter } from './index-aBqZUx3B.cjs';
4
+ import { G as Graph, d as GraphPersistSnapshot } from './graph-DaoydJ_u.cjs';
5
+ import { A as Actor } from './node-8qx0kgYt.cjs';
6
+ import { C as CqrsOptions, a as CqrsGraph, E as EventStoreAdapter } from './index-wcfc7W-f.cjs';
7
7
 
8
8
  /** Class constructor key for decorator registries and Nest `ModuleRef.get()`. */
9
9
  type DecoratorHostConstructor = abstract new (...args: unknown[]) => unknown;