@graphrefly/graphrefly 0.37.0 → 0.38.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 (248) hide show
  1. package/dist/{chunk-CZIQ6JCE.js → chunk-2YFDSYEF.js} +1 -1
  2. package/dist/{chunk-YVYSO5CW.js → chunk-4BDQXBXE.js} +1 -1
  3. package/dist/chunk-5BGFS2XH.js +1 -0
  4. package/dist/chunk-6773HURD.js +1 -0
  5. package/dist/{chunk-U3COB5WU.js → chunk-6KZZ6XQE.js} +1 -1
  6. package/dist/{chunk-5CPPC75H.js → chunk-6VFC334U.js} +1 -1
  7. package/dist/{chunk-KUVDFOJH.js → chunk-7KZZLWZ6.js} +1 -1
  8. package/dist/{chunk-Q7EUZ6NN.js → chunk-B5S7KTGP.js} +1 -1
  9. package/dist/chunk-CMTN3KPT.js +80 -0
  10. package/dist/chunk-DQJLC6YY.js +1 -0
  11. package/dist/chunk-DSOVKKTI.js +1 -0
  12. package/dist/chunk-FAYEMS5M.js +1 -0
  13. package/dist/chunk-FWGIZP3W.js +1 -0
  14. package/dist/{chunk-FMI4CWFL.js → chunk-G7JN6LCB.js} +1 -1
  15. package/dist/{chunk-PCD2MU7X.js → chunk-IBGE62GZ.js} +1 -1
  16. package/dist/{chunk-MYFR67PY.js → chunk-K5C67OGE.js} +1 -1
  17. package/dist/chunk-KJEAIIIY.js +43 -0
  18. package/dist/chunk-LV3ACS5J.js +1 -0
  19. package/dist/{chunk-LOQRPP4Y.js → chunk-NBGPXQSP.js} +1 -1
  20. package/dist/chunk-NN3QPJ6U.js +1 -0
  21. package/dist/{chunk-QWVQIL3T.js → chunk-NSAZ6PR6.js} +1 -1
  22. package/dist/{chunk-MC5LZG3U.js → chunk-NV63VQHI.js} +1 -1
  23. package/dist/{chunk-2C4NESZE.js → chunk-O245YLM5.js} +1 -1
  24. package/dist/{chunk-TLS7M7H4.js → chunk-O2BLVQU4.js} +1 -1
  25. package/dist/chunk-PHXZRR6C.js +1 -0
  26. package/dist/{chunk-K6ZFJ473.js → chunk-POCWFIJ7.js} +1 -1
  27. package/dist/{chunk-C5CBVOCB.js → chunk-QEVSIVSF.js} +1 -1
  28. package/dist/chunk-QMC2PLNM.js +7 -0
  29. package/dist/chunk-QOJFR6GS.js +1 -0
  30. package/dist/{chunk-MQZWA3DF.js → chunk-RZ5HKPGI.js} +1 -1
  31. package/dist/{chunk-WSLN4JFO.js → chunk-SFK7MN7S.js} +1 -1
  32. package/dist/{chunk-QP5TH523.js → chunk-SP5O2MIX.js} +1 -1
  33. package/dist/chunk-TB7JKSVS.js +61 -0
  34. package/dist/{chunk-T4U24DXX.js → chunk-TMVY7OWG.js} +1 -1
  35. package/dist/{chunk-UODQF4EY.js → chunk-UAXFKMAG.js} +1 -1
  36. package/dist/{chunk-TFK4P4CX.js → chunk-UVLZX2OU.js} +1 -1
  37. package/dist/chunk-XIMFHEKV.js +1 -0
  38. package/dist/{chunk-XIJKEXWR.js → chunk-XLMYQB6F.js} +1 -1
  39. package/dist/{chunk-4EATTNAE.js → chunk-XLYF4LBH.js} +1 -1
  40. package/dist/compat/index.cjs +9 -9
  41. package/dist/compat/index.d.cts +7 -7
  42. package/dist/compat/index.d.ts +7 -7
  43. package/dist/compat/index.js +1 -1
  44. package/dist/compat/nestjs/index.cjs +11 -11
  45. package/dist/compat/nestjs/index.d.cts +5 -5
  46. package/dist/compat/nestjs/index.d.ts +5 -5
  47. package/dist/compat/nestjs/index.js +1 -1
  48. package/dist/compat/zustand/index.cjs +7 -7
  49. package/dist/compat/zustand/index.d.cts +3 -3
  50. package/dist/compat/zustand/index.d.ts +3 -3
  51. package/dist/compat/zustand/index.js +1 -1
  52. package/dist/{composite-_XckYx2e.d.cts → composite-CgG0MqHm.d.cts} +8 -1
  53. package/dist/{composite-CT_mApQD.d.ts → composite-DTOlDuch.d.ts} +8 -1
  54. package/dist/core/index.cjs +1 -1
  55. package/dist/core/index.d.cts +2 -2
  56. package/dist/core/index.d.ts +2 -2
  57. package/dist/core/index.js +1 -1
  58. package/dist/extra/index.cjs +19 -19
  59. package/dist/extra/index.d.cts +5 -5
  60. package/dist/extra/index.d.ts +5 -5
  61. package/dist/extra/index.js +1 -1
  62. package/dist/extra/node.cjs +2 -2
  63. package/dist/extra/node.d.cts +107 -1
  64. package/dist/extra/node.d.ts +107 -1
  65. package/dist/extra/node.js +2 -2
  66. package/dist/extra/operators.cjs +1 -1
  67. package/dist/extra/operators.js +1 -1
  68. package/dist/extra/reactive.d.cts +1 -1
  69. package/dist/extra/reactive.d.ts +1 -1
  70. package/dist/extra/reactive.js +1 -1
  71. package/dist/extra/sources.cjs +1 -1
  72. package/dist/extra/sources.js +1 -1
  73. package/dist/extra/storage-tiers-browser.d.cts +76 -5
  74. package/dist/extra/storage-tiers-browser.d.ts +76 -5
  75. package/dist/extra/storage-tiers-node.d.cts +137 -13
  76. package/dist/extra/storage-tiers-node.d.ts +137 -13
  77. package/dist/extra/storage-tiers.d.cts +151 -23
  78. package/dist/extra/storage-tiers.d.ts +151 -23
  79. package/dist/graph/index.cjs +7 -7
  80. package/dist/graph/index.d.cts +4 -4
  81. package/dist/graph/index.d.ts +4 -4
  82. package/dist/graph/index.js +1 -1
  83. package/dist/{graph-YQXDndFy.d.ts → graph-BjW1taJl.d.ts} +217 -10
  84. package/dist/{graph-CaNXUc3c.d.cts → graph-CHsVwf9S.d.cts} +217 -10
  85. package/dist/{index-CUTHDZ7Q.d.ts → index-5dNRlW7J.d.ts} +3 -3
  86. package/dist/{index-Bpzw8hx3.d.ts → index-AUqWe_fX.d.ts} +7 -4
  87. package/dist/{index-fHKHdAso.d.ts → index-B-ORMr3k.d.ts} +2 -2
  88. package/dist/{index-DcWbx58m.d.cts → index-B2IUcH13.d.cts} +2 -2
  89. package/dist/{index-DuhOdNyg.d.ts → index-BFaALJxR.d.ts} +2 -2
  90. package/dist/{index-DPqR3wdW.d.ts → index-BI1wMfyc.d.ts} +2 -2
  91. package/dist/{index-D0ZxFXYl.d.ts → index-BUFCHvOR.d.ts} +2 -2
  92. package/dist/{index-CLPQyYY5.d.cts → index-BWUMIt7J.d.cts} +3 -3
  93. package/dist/{index-CkN8CZlT.d.cts → index-BaSy4L6w.d.cts} +37 -17
  94. package/dist/{index-B1IcU--K.d.cts → index-BgzPO43H.d.cts} +2 -2
  95. package/dist/{index-D6tRNEKz.d.cts → index-BhzwpIJc.d.cts} +1 -1
  96. package/dist/{index-4IwO4mH2.d.cts → index-BkQqf1EF.d.cts} +80 -7
  97. package/dist/{index-CajEOoAN.d.ts → index-BmWuVdER.d.ts} +2 -2
  98. package/dist/{index-0qOD-421.d.ts → index-Bn0uZEL4.d.ts} +2 -2
  99. package/dist/{index-DAKm44My.d.cts → index-BpMZzX9P.d.cts} +2 -2
  100. package/dist/{index-CrpjECS6.d.cts → index-Bpr0Pwgl.d.cts} +2 -2
  101. package/dist/{index-BECJ8M0T.d.cts → index-BqcgiSQg.d.cts} +2 -2
  102. package/dist/{index-DfAo9WKr.d.ts → index-BsZk9T8y.d.ts} +1 -1
  103. package/dist/{index-CU3z8Cel.d.cts → index-BsgxnHN8.d.cts} +2 -2
  104. package/dist/index-Bub6x_D4.d.cts +427 -0
  105. package/dist/{index-C-pFD_FV.d.ts → index-BwOsJfLJ.d.ts} +2 -2
  106. package/dist/{index-CRycrNfn.d.ts → index-Byp771zP.d.ts} +1 -1
  107. package/dist/{index-e1m3ZHgc.d.cts → index-C-3UXnHT.d.cts} +1 -1
  108. package/dist/{index-DTYIRT_v.d.cts → index-C56XZiDe.d.cts} +2 -2
  109. package/dist/{index-D11pGlaI.d.cts → index-CAV-3RpJ.d.cts} +2 -2
  110. package/dist/{index-D_DThl_J.d.cts → index-CAbHN_rP.d.cts} +1 -1
  111. package/dist/{index-BhLA9feT.d.ts → index-CEVzBWeB.d.ts} +2 -2
  112. package/dist/{index-Ci358GSC.d.cts → index-CM-i58FY.d.cts} +2 -2
  113. package/dist/{index-B9qJmmv3.d.cts → index-CQsqqEVz.d.cts} +1 -1
  114. package/dist/{index-C0tga1_x.d.ts → index-CijfwEWx.d.ts} +2 -2
  115. package/dist/{index-BwtIbzSV.d.cts → index-Ckil6miL.d.cts} +2 -2
  116. package/dist/{index-BokynmA4.d.cts → index-CpdnP-0y.d.cts} +1 -1
  117. package/dist/{index-BmLkcDlj.d.ts → index-CrlHFsiT.d.ts} +37 -17
  118. package/dist/{index-DCAuN9u5.d.cts → index-Czk3r0yA.d.cts} +37 -3
  119. package/dist/{index-C4N-dg5U.d.cts → index-D-B7U42V.d.cts} +2 -2
  120. package/dist/{index-CKcnuQ2c.d.ts → index-D-HZ7sP4.d.ts} +2 -2
  121. package/dist/{index-D6pwWiOc.d.cts → index-D7-RSD93.d.cts} +2 -2
  122. package/dist/{index-9mbs_PIG.d.ts → index-D9vBTuzo.d.ts} +2 -2
  123. package/dist/{index-C_qi0WlF.d.cts → index-DJNAWzcH.d.cts} +2 -2
  124. package/dist/{index-Ae6L8liv.d.ts → index-DJVQ-t07.d.ts} +2 -2
  125. package/dist/{index-D_d1erkR.d.ts → index-DKrIuF-r.d.ts} +2 -2
  126. package/dist/{index-DXz9uwcs.d.ts → index-DOU1Ee_k.d.ts} +1 -1
  127. package/dist/{index-D1E1tqHT.d.ts → index-DTDVDzhA.d.ts} +37 -3
  128. package/dist/{index-B5UR87KG.d.ts → index-DY2f2b9z.d.ts} +4 -2
  129. package/dist/{index-D8IyqHvT.d.cts → index-DeSsvHDD.d.cts} +4 -2
  130. package/dist/index-Di7OdwlO.d.ts +427 -0
  131. package/dist/{index-CzIWlnPp.d.ts → index-DqICM_I7.d.ts} +80 -7
  132. package/dist/{index-BOfHwQc1.d.ts → index-ML6vHKXK.d.ts} +1 -1
  133. package/dist/{index-DqtXA3yX.d.cts → index-UsU9ptzs.d.cts} +7 -4
  134. package/dist/{index-B46GWgk3.d.ts → index-Vz7KPfgz.d.ts} +1 -1
  135. package/dist/index.cjs +50 -50
  136. package/dist/index.d.cts +32 -32
  137. package/dist/index.d.ts +32 -32
  138. package/dist/index.js +1 -1
  139. package/dist/meta-BYqlATmg.d.ts +98 -0
  140. package/dist/meta-DreaEM_a.d.cts +98 -0
  141. package/dist/patterns/ai/browser.cjs +2 -2
  142. package/dist/patterns/ai/browser.js +1 -1
  143. package/dist/patterns/ai/index.cjs +21 -21
  144. package/dist/patterns/ai/index.d.cts +9 -9
  145. package/dist/patterns/ai/index.d.ts +9 -9
  146. package/dist/patterns/ai/index.js +1 -1
  147. package/dist/patterns/ai/node.js +1 -1
  148. package/dist/patterns/audit/index.cjs +7 -7
  149. package/dist/patterns/audit/index.d.cts +5 -5
  150. package/dist/patterns/audit/index.d.ts +5 -5
  151. package/dist/patterns/audit/index.js +1 -1
  152. package/dist/patterns/cqrs/index.cjs +7 -7
  153. package/dist/patterns/cqrs/index.d.cts +4 -4
  154. package/dist/patterns/cqrs/index.d.ts +4 -4
  155. package/dist/patterns/cqrs/index.js +1 -1
  156. package/dist/patterns/demo-shell/index.cjs +8 -8
  157. package/dist/patterns/demo-shell/index.d.cts +4 -4
  158. package/dist/patterns/demo-shell/index.d.ts +4 -4
  159. package/dist/patterns/demo-shell/index.js +1 -1
  160. package/dist/patterns/domain-templates/index.cjs +7 -7
  161. package/dist/patterns/domain-templates/index.d.cts +3 -3
  162. package/dist/patterns/domain-templates/index.d.ts +3 -3
  163. package/dist/patterns/domain-templates/index.js +1 -1
  164. package/dist/patterns/graphspec/index.cjs +21 -21
  165. package/dist/patterns/graphspec/index.d.cts +3 -3
  166. package/dist/patterns/graphspec/index.d.ts +3 -3
  167. package/dist/patterns/graphspec/index.js +1 -1
  168. package/dist/patterns/guarded-execution/index.cjs +7 -7
  169. package/dist/patterns/guarded-execution/index.d.cts +6 -6
  170. package/dist/patterns/guarded-execution/index.d.ts +6 -6
  171. package/dist/patterns/guarded-execution/index.js +1 -1
  172. package/dist/patterns/harness/index.cjs +12 -12
  173. package/dist/patterns/harness/index.d.cts +8 -8
  174. package/dist/patterns/harness/index.d.ts +8 -8
  175. package/dist/patterns/harness/index.js +1 -1
  176. package/dist/patterns/job-queue/index.cjs +7 -7
  177. package/dist/patterns/job-queue/index.d.cts +4 -4
  178. package/dist/patterns/job-queue/index.d.ts +4 -4
  179. package/dist/patterns/job-queue/index.js +1 -1
  180. package/dist/patterns/lens/index.cjs +7 -7
  181. package/dist/patterns/lens/index.d.cts +4 -4
  182. package/dist/patterns/lens/index.d.ts +4 -4
  183. package/dist/patterns/lens/index.js +1 -1
  184. package/dist/patterns/memory/index.cjs +7 -7
  185. package/dist/patterns/memory/index.d.cts +6 -4
  186. package/dist/patterns/memory/index.d.ts +6 -4
  187. package/dist/patterns/memory/index.js +1 -1
  188. package/dist/patterns/messaging/index.cjs +7 -7
  189. package/dist/patterns/messaging/index.d.cts +4 -4
  190. package/dist/patterns/messaging/index.d.ts +4 -4
  191. package/dist/patterns/messaging/index.js +1 -1
  192. package/dist/patterns/orchestration/index.cjs +7 -7
  193. package/dist/patterns/orchestration/index.d.cts +4 -4
  194. package/dist/patterns/orchestration/index.d.ts +4 -4
  195. package/dist/patterns/orchestration/index.js +1 -1
  196. package/dist/patterns/process/index.d.cts +5 -5
  197. package/dist/patterns/process/index.d.ts +5 -5
  198. package/dist/patterns/process/index.js +1 -1
  199. package/dist/patterns/reactive-layout/index.cjs +8 -8
  200. package/dist/patterns/reactive-layout/index.d.cts +4 -4
  201. package/dist/patterns/reactive-layout/index.d.ts +4 -4
  202. package/dist/patterns/reactive-layout/index.js +1 -1
  203. package/dist/patterns/reduction/index.cjs +7 -7
  204. package/dist/patterns/reduction/index.d.cts +3 -3
  205. package/dist/patterns/reduction/index.d.ts +3 -3
  206. package/dist/patterns/reduction/index.js +1 -1
  207. package/dist/patterns/refine-loop/index.cjs +8 -8
  208. package/dist/patterns/refine-loop/index.d.cts +5 -5
  209. package/dist/patterns/refine-loop/index.d.ts +5 -5
  210. package/dist/patterns/refine-loop/index.js +1 -1
  211. package/dist/patterns/resilient-pipeline/index.cjs +1 -1
  212. package/dist/patterns/resilient-pipeline/index.d.cts +4 -4
  213. package/dist/patterns/resilient-pipeline/index.d.ts +4 -4
  214. package/dist/patterns/resilient-pipeline/index.js +1 -1
  215. package/dist/patterns/surface/index.cjs +14 -14
  216. package/dist/patterns/surface/index.d.cts +4 -4
  217. package/dist/patterns/surface/index.d.ts +4 -4
  218. package/dist/patterns/surface/index.js +1 -1
  219. package/dist/{pipeline-graph-DX2Twdj-.d.ts → pipeline-graph-9JBbmRxA.d.ts} +2 -2
  220. package/dist/{pipeline-graph-BrrYGjuZ.d.cts → pipeline-graph-DuHpXSOn.d.cts} +2 -2
  221. package/dist/{reactive-layout-DrGjuwyC.d.cts → reactive-layout-BMLDB4Vd.d.cts} +1 -1
  222. package/dist/{reactive-layout-BDdngW56.d.ts → reactive-layout-D-tRiNhg.d.ts} +1 -1
  223. package/dist/{reactive-log-jirQsxMY.d.ts → reactive-log-BgWSA1fg.d.ts} +28 -1
  224. package/dist/{reactive-log-ScpWyqny.d.cts → reactive-log-C3IMAGpT.d.cts} +28 -1
  225. package/dist/resilience-LGBK236C.js +1 -0
  226. package/dist/{topology-tree-BI665P0L.d.ts → topology-tree-D47-nI6Z.d.ts} +1 -1
  227. package/dist/{topology-tree-BkhmMg2a.d.cts → topology-tree-jrZue3ao.d.cts} +1 -1
  228. package/package.json +1 -1
  229. package/dist/chunk-533RQFF6.js +0 -1
  230. package/dist/chunk-6SVKZ7VI.js +0 -1
  231. package/dist/chunk-A5HZZYRK.js +0 -1
  232. package/dist/chunk-B4L5X2QO.js +0 -7
  233. package/dist/chunk-FJ6IEMOS.js +0 -1
  234. package/dist/chunk-G6Q3DUMJ.js +0 -1
  235. package/dist/chunk-GDDPCDLG.js +0 -1
  236. package/dist/chunk-GFOT6UBB.js +0 -1
  237. package/dist/chunk-JJTF75VS.js +0 -1
  238. package/dist/chunk-K2WYIVHM.js +0 -1
  239. package/dist/chunk-KTWBUJO5.js +0 -61
  240. package/dist/chunk-M27MVZCP.js +0 -1
  241. package/dist/chunk-NKKUUKPD.js +0 -43
  242. package/dist/chunk-QKBCTKH7.js +0 -1
  243. package/dist/chunk-WGST56ZH.js +0 -80
  244. package/dist/index-BCq12BqB.d.ts +0 -139
  245. package/dist/index-DbWwMWiB.d.cts +0 -139
  246. package/dist/meta-BGO6C7K9.d.cts +0 -41
  247. package/dist/meta-CC6EPdpK.d.ts +0 -41
  248. package/dist/resilience-OBU472D2.js +0 -1
@@ -1,21 +1,21 @@
1
1
  export { e as CapabilitiesRegistry, C as ChatMessage, L as LLMAdapter, a as LLMInvokeOptions, b as LLMResponse, M as ModelCapabilities, f as ModelFeatures, g as ModelLimits, h as ModelPricing, i as PriceBreakdown, P as PricingFn, j as PricingRegistry, R as Rate, S as StreamDelta, k as TieredRate, T as TokenUsage, c as ToolCall, d as ToolDefinition, l as composePricing, m as computePrice, n as createCapabilitiesRegistry, o as createPricingRegistry, p as pricingFor, r as registryPricing, z as zeroPrice } from '../../types-BMSGPlpO.cjs';
2
2
  export { A as AdapterProvider, b as AdapterTier, d as AllTiersExhaustedError, a as CascadeExhaustionReport, C as CascadingLlmAdapterOptions, e as CreateAdapterOptions, O as OpenAICompatAdapterOptions, f as OpenAICompatPreset, g as OpenAISdkLike, h as cascadingLlmAdapter, c as createAdapter, o as openAICompatAdapter, t as tier } from '../../cascading-B25wxpRa.cjs';
3
- export { A as AdapterStats, a as AdmissionScore3DOptions, b as AdmissionScoredOptions, c as AdmissionScores, d as AdmissionThresholds, e as AgentLoopGraph, f as AgentLoopOptions, g as AgentLoopStatus, h as AgentMemoryGraph, j as AgentMemoryOptions, k as AnthropicAdapterOptions, l as AnthropicSdkLike, B as BudgetCaps, m as BudgetExhaustedError, n as BudgetGateBundle, o as BudgetTotals, C as CallStatsEvent, p as ChatStreamGraph, q as ChatStreamOptions, r as ContentDecision, s as ContentGateOptions, t as CostMeterOptions, u as CostMeterReading, D as DEFAULT_DECAY_RATE, v as DryRunAdapterOptions, E as ExtractedToolCall, F as FromLLMOptions, w as FrozenContextOptions, G as GatedStreamHandle, x as GatedStreamOptions, y as GaugesAsContextOptions, z as GoogleAdapterOptions, H as GoogleSdkLike, I as GoogleSdkRequestConfig, J as GoogleSdkRequestParams, K as GraphDefValidation, L as GraphFromSpecOptions, M as HandoffOptions, N as HttpErrorLike, O as KeywordFlag, P as KeywordFlagExtractorOptions, Q as KnobsAsToolsResult, R as LLMConsolidatorOptions, S as LLMExtractorOptions, T as LLMTimeoutError, U as McpToolSchema, V as MemoryRetrievalBundle, W as MemoryRetrievalOptions, X as MemoryTier, Y as MemoryTiersBundle, Z as MemoryTiersOptions, _ as MemoryWithKGOptions, $ as MemoryWithTiersOptions, a0 as MemoryWithVectorsOptions, a1 as OpenAIToolSchema, a2 as PromptNodeOptions, a3 as RedactorOptions, a4 as ResilientAdapterBundle, a5 as ResilientAdapterOptions, a6 as RetrievalEntry, a7 as RetrievalPipelineOptions, a8 as RetrievalQuery, a9 as RetrievalTrace, aa as StampedDelta, ab as StrategyOperation, ac as StrategyPlan, ad as StreamingPromptNodeHandle, ae as StreamingPromptNodeOptions, af as SuggestStrategyOptions, ag as SystemPromptHandle, ah as ToolExecutionOptions, ai as ToolRegistryGraph, aj as ToolRegistryOptions, ak as ToolResult, al as ToolSelectorOptions, am as WithBreakerOptions, an as WithBudgetGateOptions, ao as WithDryRunBundle, ap as WithDryRunOptions, aq as WithRateLimiterOptions, ar as WithRetryOptions, as as admissionFilter3D, at as admissionScored, au as agentLoop, av as agentMemory, aw as anthropicAdapter, ax as chatStream, ay as contentGate, az as costMeterExtractor, aA as dryRunAdapter, aB as fromLLM, aC as frozenContext, aD as gatedStream, aE as gaugesAsContext, aF as googleAdapter, aG as graphFromSpec, aH as graphFromSpecReactive, aI as handoff, aJ as keywordFlagExtractor, aK as knobsAsTools, aL as llmConsolidator, aM as llmExtractor, aN as memoryRetrieval, aO as memoryWithKG, aP as memoryWithTiers, aQ as memoryWithVectors, aR as observableAdapter, aS as parseRateLimitFromError, aT as promptNode, aU as redactor, aV as resilientAdapter, aW as streamExtractor, aX as streamingPromptNode, aY as suggestStrategy, aZ as suggestStrategyReactive, a_ as systemPromptBuilder, a$ as toolCallExtractor, b0 as toolExecution, b1 as toolRegistry, b2 as toolSelector, b3 as validateGraphDef, b4 as withBreaker, b5 as withBudgetGate, b6 as withDryRun, b7 as withRateLimiter, b8 as withRetry, b9 as withTimeout } from '../../index-CkN8CZlT.cjs';
3
+ export { A as AdapterStats, a as AdmissionScore3DOptions, b as AdmissionScoredOptions, c as AdmissionScores, d as AdmissionThresholds, e as AgentLoopGraph, f as AgentLoopOptions, g as AgentLoopStatus, h as AgentMemoryGraph, j as AgentMemoryOptions, k as AnthropicAdapterOptions, l as AnthropicSdkLike, B as BudgetCaps, m as BudgetExhaustedError, n as BudgetGateBundle, o as BudgetTotals, C as CallStatsEvent, p as ChatStreamGraph, q as ChatStreamOptions, r as ContentDecision, s as ContentGateOptions, t as CostMeterOptions, u as CostMeterReading, D as DEFAULT_DECAY_RATE, v as DryRunAdapterOptions, E as ExtractedToolCall, F as FromLLMOptions, w as FrozenContextOptions, G as GatedStreamHandle, x as GatedStreamOptions, y as GaugesAsContextOptions, z as GoogleAdapterOptions, H as GoogleSdkLike, I as GoogleSdkRequestConfig, J as GoogleSdkRequestParams, K as GraphDefValidation, L as GraphFromSpecOptions, M as HandoffOptions, N as HttpErrorLike, O as KeywordFlag, P as KeywordFlagExtractorOptions, Q as KnobsAsToolsResult, R as LLMConsolidatorOptions, S as LLMExtractorOptions, T as LLMTimeoutError, U as McpToolSchema, V as MemoryRetrievalBundle, W as MemoryRetrievalOptions, X as MemoryTier, Y as MemoryTiersBundle, Z as MemoryTiersOptions, _ as MemoryWithKGOptions, $ as MemoryWithTiersOptions, a0 as MemoryWithVectorsOptions, a1 as OpenAIToolSchema, a2 as PromptNodeOptions, a3 as RedactorOptions, a4 as ResilientAdapterBundle, a5 as ResilientAdapterOptions, a6 as RetrievalEntry, a7 as RetrievalPipelineOptions, a8 as RetrievalQuery, a9 as RetrievalTrace, aa as StampedDelta, ab as StrategyOperation, ac as StrategyPlan, ad as StreamingPromptNodeHandle, ae as StreamingPromptNodeOptions, af as SuggestStrategyOptions, ag as SystemPromptHandle, ah as ToolExecutionOptions, ai as ToolRegistryGraph, aj as ToolRegistryOptions, ak as ToolResult, al as ToolSelectorOptions, am as WithBreakerOptions, an as WithBudgetGateOptions, ao as WithDryRunBundle, ap as WithDryRunOptions, aq as WithRateLimiterOptions, ar as WithRetryOptions, as as admissionFilter3D, at as admissionScored, au as agentLoop, av as agentMemory, aw as anthropicAdapter, ax as chatStream, ay as contentGate, az as costMeterExtractor, aA as dryRunAdapter, aB as fromLLM, aC as frozenContext, aD as gatedStream, aE as gaugesAsContext, aF as googleAdapter, aG as graphFromSpec, aH as graphFromSpecReactive, aI as handoff, aJ as keywordFlagExtractor, aK as knobsAsTools, aL as llmConsolidator, aM as llmExtractor, aN as memoryRetrieval, aO as memoryWithKG, aP as memoryWithTiers, aQ as memoryWithVectors, aR as observableAdapter, aS as parseRateLimitFromError, aT as promptNode, aU as redactor, aV as resilientAdapter, aW as streamExtractor, aX as streamingPromptNode, aY as suggestStrategy, aZ as suggestStrategyReactive, a_ as systemPromptBuilder, a$ as toolCallExtractor, b0 as toolExecution, b1 as toolRegistry, b2 as toolSelector, b3 as validateGraphDef, b4 as withBreaker, b5 as withBudgetGate, b6 as withDryRun, b7 as withRateLimiter, b8 as withRetry, b9 as withTimeout } from '../../index-BaSy4L6w.cjs';
4
4
  export { F as FallbackAdapterOptions, a as FallbackFixture, b as FallbackMissError, c as FallbackMissPolicy, R as ReplayCacheKeyContext, d as ReplayCacheMissError, e as ReplayCacheMode, W as WithReplayCacheOptions, f as canonicalJson, g as fallbackAdapter, w as withReplayCache } from '../../fallback-axI2cXwt.cjs';
5
5
  export { f as CircuitOpenError } from '../../resilience-BWP2c7Af.cjs';
6
6
  import '../../node-fSc-hCv8.cjs';
7
7
  import '../../extra/sources.cjs';
8
- import '../../reactive-log-ScpWyqny.cjs';
8
+ import '../../reactive-log-C3IMAGpT.cjs';
9
9
  import '../../extra/storage-tiers.cjs';
10
- import '../../graph-CaNXUc3c.cjs';
11
- import '../../meta-BGO6C7K9.cjs';
10
+ import '../../graph-CHsVwf9S.cjs';
11
+ import '../../meta-DreaEM_a.cjs';
12
12
  import '../../extra/storage-core.cjs';
13
- import '../../index-DAKm44My.cjs';
14
- import '../../pipeline-graph-BrrYGjuZ.cjs';
13
+ import '../../index-BpMZzX9P.cjs';
14
+ import '../../pipeline-graph-DuHpXSOn.cjs';
15
15
  import '../../sugar-DgaGJcI6.cjs';
16
16
  import '../../imperative-audit-ahAE65a9.cjs';
17
- import '../../composite-_XckYx2e.cjs';
17
+ import '../../composite-CgG0MqHm.cjs';
18
18
  import '../../reactive-map-DmgeADH8.cjs';
19
- import '../../index-DbWwMWiB.cjs';
20
- import '../../index-DCAuN9u5.cjs';
19
+ import '../../index-Bub6x_D4.cjs';
20
+ import '../../index-Czk3r0yA.cjs';
21
21
  import '../../content-addressed-storage-4-ST1tYk.cjs';
@@ -1,21 +1,21 @@
1
1
  export { e as CapabilitiesRegistry, C as ChatMessage, L as LLMAdapter, a as LLMInvokeOptions, b as LLMResponse, M as ModelCapabilities, f as ModelFeatures, g as ModelLimits, h as ModelPricing, i as PriceBreakdown, P as PricingFn, j as PricingRegistry, R as Rate, S as StreamDelta, k as TieredRate, T as TokenUsage, c as ToolCall, d as ToolDefinition, 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
2
  export { A as AdapterProvider, b as AdapterTier, d as AllTiersExhaustedError, a as CascadeExhaustionReport, 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
- export { A as AdapterStats, a as AdmissionScore3DOptions, b as AdmissionScoredOptions, c as AdmissionScores, d as AdmissionThresholds, e as AgentLoopGraph, f as AgentLoopOptions, g as AgentLoopStatus, h as AgentMemoryGraph, j as AgentMemoryOptions, k as AnthropicAdapterOptions, l as AnthropicSdkLike, B as BudgetCaps, m as BudgetExhaustedError, n as BudgetGateBundle, o as BudgetTotals, C as CallStatsEvent, p as ChatStreamGraph, q as ChatStreamOptions, r as ContentDecision, s as ContentGateOptions, t as CostMeterOptions, u as CostMeterReading, D as DEFAULT_DECAY_RATE, v as DryRunAdapterOptions, E as ExtractedToolCall, F as FromLLMOptions, w as FrozenContextOptions, G as GatedStreamHandle, x as GatedStreamOptions, y as GaugesAsContextOptions, z as GoogleAdapterOptions, H as GoogleSdkLike, I as GoogleSdkRequestConfig, J as GoogleSdkRequestParams, K as GraphDefValidation, L as GraphFromSpecOptions, M as HandoffOptions, N as HttpErrorLike, O as KeywordFlag, P as KeywordFlagExtractorOptions, Q as KnobsAsToolsResult, R as LLMConsolidatorOptions, S as LLMExtractorOptions, T as LLMTimeoutError, U as McpToolSchema, V as MemoryRetrievalBundle, W as MemoryRetrievalOptions, X as MemoryTier, Y as MemoryTiersBundle, Z as MemoryTiersOptions, _ as MemoryWithKGOptions, $ as MemoryWithTiersOptions, a0 as MemoryWithVectorsOptions, a1 as OpenAIToolSchema, a2 as PromptNodeOptions, a3 as RedactorOptions, a4 as ResilientAdapterBundle, a5 as ResilientAdapterOptions, a6 as RetrievalEntry, a7 as RetrievalPipelineOptions, a8 as RetrievalQuery, a9 as RetrievalTrace, aa as StampedDelta, ab as StrategyOperation, ac as StrategyPlan, ad as StreamingPromptNodeHandle, ae as StreamingPromptNodeOptions, af as SuggestStrategyOptions, ag as SystemPromptHandle, ah as ToolExecutionOptions, ai as ToolRegistryGraph, aj as ToolRegistryOptions, ak as ToolResult, al as ToolSelectorOptions, am as WithBreakerOptions, an as WithBudgetGateOptions, ao as WithDryRunBundle, ap as WithDryRunOptions, aq as WithRateLimiterOptions, ar as WithRetryOptions, as as admissionFilter3D, at as admissionScored, au as agentLoop, av as agentMemory, aw as anthropicAdapter, ax as chatStream, ay as contentGate, az as costMeterExtractor, aA as dryRunAdapter, aB as fromLLM, aC as frozenContext, aD as gatedStream, aE as gaugesAsContext, aF as googleAdapter, aG as graphFromSpec, aH as graphFromSpecReactive, aI as handoff, aJ as keywordFlagExtractor, aK as knobsAsTools, aL as llmConsolidator, aM as llmExtractor, aN as memoryRetrieval, aO as memoryWithKG, aP as memoryWithTiers, aQ as memoryWithVectors, aR as observableAdapter, aS as parseRateLimitFromError, aT as promptNode, aU as redactor, aV as resilientAdapter, aW as streamExtractor, aX as streamingPromptNode, aY as suggestStrategy, aZ as suggestStrategyReactive, a_ as systemPromptBuilder, a$ as toolCallExtractor, b0 as toolExecution, b1 as toolRegistry, b2 as toolSelector, b3 as validateGraphDef, b4 as withBreaker, b5 as withBudgetGate, b6 as withDryRun, b7 as withRateLimiter, b8 as withRetry, b9 as withTimeout } from '../../index-BmLkcDlj.js';
3
+ export { A as AdapterStats, a as AdmissionScore3DOptions, b as AdmissionScoredOptions, c as AdmissionScores, d as AdmissionThresholds, e as AgentLoopGraph, f as AgentLoopOptions, g as AgentLoopStatus, h as AgentMemoryGraph, j as AgentMemoryOptions, k as AnthropicAdapterOptions, l as AnthropicSdkLike, B as BudgetCaps, m as BudgetExhaustedError, n as BudgetGateBundle, o as BudgetTotals, C as CallStatsEvent, p as ChatStreamGraph, q as ChatStreamOptions, r as ContentDecision, s as ContentGateOptions, t as CostMeterOptions, u as CostMeterReading, D as DEFAULT_DECAY_RATE, v as DryRunAdapterOptions, E as ExtractedToolCall, F as FromLLMOptions, w as FrozenContextOptions, G as GatedStreamHandle, x as GatedStreamOptions, y as GaugesAsContextOptions, z as GoogleAdapterOptions, H as GoogleSdkLike, I as GoogleSdkRequestConfig, J as GoogleSdkRequestParams, K as GraphDefValidation, L as GraphFromSpecOptions, M as HandoffOptions, N as HttpErrorLike, O as KeywordFlag, P as KeywordFlagExtractorOptions, Q as KnobsAsToolsResult, R as LLMConsolidatorOptions, S as LLMExtractorOptions, T as LLMTimeoutError, U as McpToolSchema, V as MemoryRetrievalBundle, W as MemoryRetrievalOptions, X as MemoryTier, Y as MemoryTiersBundle, Z as MemoryTiersOptions, _ as MemoryWithKGOptions, $ as MemoryWithTiersOptions, a0 as MemoryWithVectorsOptions, a1 as OpenAIToolSchema, a2 as PromptNodeOptions, a3 as RedactorOptions, a4 as ResilientAdapterBundle, a5 as ResilientAdapterOptions, a6 as RetrievalEntry, a7 as RetrievalPipelineOptions, a8 as RetrievalQuery, a9 as RetrievalTrace, aa as StampedDelta, ab as StrategyOperation, ac as StrategyPlan, ad as StreamingPromptNodeHandle, ae as StreamingPromptNodeOptions, af as SuggestStrategyOptions, ag as SystemPromptHandle, ah as ToolExecutionOptions, ai as ToolRegistryGraph, aj as ToolRegistryOptions, ak as ToolResult, al as ToolSelectorOptions, am as WithBreakerOptions, an as WithBudgetGateOptions, ao as WithDryRunBundle, ap as WithDryRunOptions, aq as WithRateLimiterOptions, ar as WithRetryOptions, as as admissionFilter3D, at as admissionScored, au as agentLoop, av as agentMemory, aw as anthropicAdapter, ax as chatStream, ay as contentGate, az as costMeterExtractor, aA as dryRunAdapter, aB as fromLLM, aC as frozenContext, aD as gatedStream, aE as gaugesAsContext, aF as googleAdapter, aG as graphFromSpec, aH as graphFromSpecReactive, aI as handoff, aJ as keywordFlagExtractor, aK as knobsAsTools, aL as llmConsolidator, aM as llmExtractor, aN as memoryRetrieval, aO as memoryWithKG, aP as memoryWithTiers, aQ as memoryWithVectors, aR as observableAdapter, aS as parseRateLimitFromError, aT as promptNode, aU as redactor, aV as resilientAdapter, aW as streamExtractor, aX as streamingPromptNode, aY as suggestStrategy, aZ as suggestStrategyReactive, a_ as systemPromptBuilder, a$ as toolCallExtractor, b0 as toolExecution, b1 as toolRegistry, b2 as toolSelector, b3 as validateGraphDef, b4 as withBreaker, b5 as withBudgetGate, b6 as withDryRun, b7 as withRateLimiter, b8 as withRetry, b9 as withTimeout } from '../../index-CrlHFsiT.js';
4
4
  export { F as FallbackAdapterOptions, a as FallbackFixture, b as FallbackMissError, c as FallbackMissPolicy, R as ReplayCacheKeyContext, d as ReplayCacheMissError, e as ReplayCacheMode, W as WithReplayCacheOptions, f as canonicalJson, g as fallbackAdapter, w as withReplayCache } from '../../fallback-DuEXfA4F.js';
5
5
  export { f as CircuitOpenError } from '../../resilience-Bys63Cpd.js';
6
6
  import '../../node-fSc-hCv8.js';
7
7
  import '../../extra/sources.js';
8
- import '../../reactive-log-jirQsxMY.js';
8
+ import '../../reactive-log-BgWSA1fg.js';
9
9
  import '../../extra/storage-tiers.js';
10
- import '../../graph-YQXDndFy.js';
11
- import '../../meta-CC6EPdpK.js';
10
+ import '../../graph-BjW1taJl.js';
11
+ import '../../meta-BYqlATmg.js';
12
12
  import '../../extra/storage-core.js';
13
- import '../../index-D0ZxFXYl.js';
14
- import '../../pipeline-graph-DX2Twdj-.js';
13
+ import '../../index-BUFCHvOR.js';
14
+ import '../../pipeline-graph-9JBbmRxA.js';
15
15
  import '../../sugar-D13E2M_z.js';
16
16
  import '../../imperative-audit-ahAE65a9.js';
17
- import '../../composite-CT_mApQD.js';
17
+ import '../../composite-DTOlDuch.js';
18
18
  import '../../reactive-map-CHyeCf4D.js';
19
- import '../../index-BCq12BqB.js';
20
- import '../../index-D1E1tqHT.js';
19
+ import '../../index-Di7OdwlO.js';
20
+ import '../../index-DTDVDzhA.js';
21
21
  import '../../content-addressed-storage-DuYMjV7o.js';
@@ -1 +1 @@
1
- import{$ as na,A as O,B as P,C as Q,D as R,E as S,F as T,G as U,H as V,I as W,J as X,K as Y,L as Z,M as _,N as $,O as aa,P as ba,Q as ca,R as da,S as ea,T as fa,U as ga,V as ha,W as ia,X as ja,Y as ka,Z as la,_ as ma,a as b,aa as oa,b as m,ba as pa,c as n,d as o,e as p,f as q,g as r,h as s,i as t,j as u,k as v,l as w,m as x,n as y,o as C,p as D,q as E,r as F,s as G,t as H,u as I,v as J,w as K,x as L,y as M,z as N}from"../../chunk-KTWBUJO5.js";import"../../chunk-QKBCTKH7.js";import"../../chunk-GFOT6UBB.js";import{a as c,b as j,c as k,d as l,e as z,f as A,g as B}from"../../chunk-PCD2MU7X.js";import{a as d,g as e,h as f,i as g,j as h,k as i}from"../../chunk-5CPPC75H.js";import"../../chunk-U3COB5WU.js";import"../../chunk-WGST56ZH.js";import"../../chunk-XIJKEXWR.js";import"../../chunk-FJ6IEMOS.js";import"../../chunk-O32GJOUJ.js";import"../../chunk-QWVQIL3T.js";import"../../chunk-M27MVZCP.js";import"../../chunk-6SVKZ7VI.js";import"../../chunk-MYFR67PY.js";import{b as a}from"../../chunk-A5HZZYRK.js";import"../../chunk-Q7EUZ6NN.js";import"../../chunk-B4L5X2QO.js";import"../../chunk-SGS4OJGS.js";import"../../chunk-ESMPEKEV.js";import"../../chunk-533RQFF6.js";import"../../chunk-D5RFJOZ2.js";import"../../chunk-CE72X3WO.js";import"../../chunk-JJTF75VS.js";import"../../chunk-4VVTGLXJ.js";import"../../chunk-TZQPPQEQ.js";import"../../chunk-KUVDFOJH.js";import"../../chunk-MQZWA3DF.js";import"../../chunk-LYCLF26R.js";import"../../chunk-CK2E7BTU.js";import"../../chunk-QYADASLV.js";export{X as AgentLoopGraph,z as AllTiersExhaustedError,u as BudgetExhaustedError,S as ChatStreamGraph,a as CircuitOpenError,da as DEFAULT_DECAY_RATE,h as FallbackMissError,D as LLMTimeoutError,e as ReplayCacheMissError,V as ToolRegistryGraph,aa as admissionFilter3D,$ as admissionScored,Y as agentLoop,ia as agentMemory,c as anthropicAdapter,g as canonicalJson,A as cascadingLlmAdapter,T as chatStream,r as composePricing,o as computePrice,Q as contentGate,M as costMeterExtractor,l as createAdapter,b as createCapabilitiesRegistry,p as createPricingRegistry,d as dryRunAdapter,i as fallbackAdapter,G as fromLLM,H as frozenContext,K as gatedStream,ja as gaugesAsContext,j as googleAdapter,ka as graphFromSpec,la as graphFromSpecReactive,Z as handoff,N as keywordFlagExtractor,ma as knobsAsTools,ca as llmConsolidator,ba as llmExtractor,ha as memoryRetrieval,fa as memoryWithKG,ga as memoryWithTiers,ea as memoryWithVectors,m as observableAdapter,k as openAICompatAdapter,x as parseRateLimitFromError,s as pricingFor,I as promptNode,R as redactor,q as registryPricing,F as resilientAdapter,O as streamExtractor,J as streamingPromptNode,na as suggestStrategy,oa as suggestStrategyReactive,L as systemPromptBuilder,B as tier,P as toolCallExtractor,U as toolExecution,W as toolRegistry,_ as toolSelector,pa as validateGraphDef,t as withBreaker,v as withBudgetGate,w as withDryRun,y as withRateLimiter,f as withReplayCache,C as withRetry,E as withTimeout,n as zeroPrice};
1
+ import{$ as na,A as O,B as P,C as Q,D as R,E as S,F as T,G as U,H as V,I as W,J as X,K as Y,L as Z,M as _,N as $,O as aa,P as ba,Q as ca,R as da,S as ea,T as fa,U as ga,V as ha,W as ia,X as ja,Y as ka,Z as la,_ as ma,a as b,aa as oa,b as m,ba as pa,c as n,d as o,e as p,f as q,g as r,h as s,i as t,j as u,k as v,l as w,m as x,n as y,o as C,p as D,q as E,r as F,s as G,t as H,u as I,v as J,w as K,x as L,y as M,z as N}from"../../chunk-TB7JKSVS.js";import"../../chunk-LV3ACS5J.js";import"../../chunk-QOJFR6GS.js";import{a as c,b as j,c as k,d as l,e as z,f as A,g as B}from"../../chunk-IBGE62GZ.js";import{a as d,g as e,h as f,i as g,j as h,k as i}from"../../chunk-6VFC334U.js";import"../../chunk-6KZZ6XQE.js";import"../../chunk-CMTN3KPT.js";import"../../chunk-XLMYQB6F.js";import"../../chunk-NN3QPJ6U.js";import"../../chunk-O32GJOUJ.js";import"../../chunk-NSAZ6PR6.js";import"../../chunk-PHXZRR6C.js";import"../../chunk-FAYEMS5M.js";import"../../chunk-K5C67OGE.js";import{b as a}from"../../chunk-XIMFHEKV.js";import"../../chunk-B5S7KTGP.js";import"../../chunk-QMC2PLNM.js";import"../../chunk-SGS4OJGS.js";import"../../chunk-ESMPEKEV.js";import"../../chunk-D5RFJOZ2.js";import"../../chunk-CE72X3WO.js";import"../../chunk-6773HURD.js";import"../../chunk-4VVTGLXJ.js";import"../../chunk-DQJLC6YY.js";import"../../chunk-TZQPPQEQ.js";import"../../chunk-7KZZLWZ6.js";import"../../chunk-RZ5HKPGI.js";import"../../chunk-LYCLF26R.js";import"../../chunk-CK2E7BTU.js";import"../../chunk-QYADASLV.js";export{X as AgentLoopGraph,z as AllTiersExhaustedError,u as BudgetExhaustedError,S as ChatStreamGraph,a as CircuitOpenError,da as DEFAULT_DECAY_RATE,h as FallbackMissError,D as LLMTimeoutError,e as ReplayCacheMissError,V as ToolRegistryGraph,aa as admissionFilter3D,$ as admissionScored,Y as agentLoop,ia as agentMemory,c as anthropicAdapter,g as canonicalJson,A as cascadingLlmAdapter,T as chatStream,r as composePricing,o as computePrice,Q as contentGate,M as costMeterExtractor,l as createAdapter,b as createCapabilitiesRegistry,p as createPricingRegistry,d as dryRunAdapter,i as fallbackAdapter,G as fromLLM,H as frozenContext,K as gatedStream,ja as gaugesAsContext,j as googleAdapter,ka as graphFromSpec,la as graphFromSpecReactive,Z as handoff,N as keywordFlagExtractor,ma as knobsAsTools,ca as llmConsolidator,ba as llmExtractor,ha as memoryRetrieval,fa as memoryWithKG,ga as memoryWithTiers,ea as memoryWithVectors,m as observableAdapter,k as openAICompatAdapter,x as parseRateLimitFromError,s as pricingFor,I as promptNode,R as redactor,q as registryPricing,F as resilientAdapter,O as streamExtractor,J as streamingPromptNode,na as suggestStrategy,oa as suggestStrategyReactive,L as systemPromptBuilder,B as tier,P as toolCallExtractor,U as toolExecution,W as toolRegistry,_ as toolSelector,pa as validateGraphDef,t as withBreaker,v as withBudgetGate,w as withDryRun,y as withRateLimiter,f as withReplayCache,C as withRetry,E as withTimeout,n as zeroPrice};
@@ -1 +1 @@
1
- import{k as f}from"../../chunk-5CPPC75H.js";import"../../chunk-Q7EUZ6NN.js";import"../../chunk-ESMPEKEV.js";import{g as c}from"../../chunk-VN6RDSK2.js";import"../../chunk-D5RFJOZ2.js";import"../../chunk-CE72X3WO.js";import"../../chunk-JJTF75VS.js";import"../../chunk-4VVTGLXJ.js";import"../../chunk-MQZWA3DF.js";import"../../chunk-LYCLF26R.js";import"../../chunk-CK2E7BTU.js";import"../../chunk-QYADASLV.js";import{existsSync as u,readdirSync as k,readFileSync as h}from"fs";import{join as p}from"path";function b(e){if(!u(e))return;let i=k(e).filter(o=>o.endsWith(".json"));if(i.length===0)return;let r=i[0],a=p(e,r),t;try{t=JSON.parse(h(a,"utf8"))}catch(o){throw new TypeError(`fallbackAdapter: ${a} is not valid JSON (${o.message}).`)}let s=t,l=s!=null&&"messages"in s,d=s==null||typeof s.response?.content!="string"||typeof s.storedAtNs!="number";if(l||d){let o=l?"`messages` at the top level means this looks hand-authored. ":"";throw new TypeError(`fallbackAdapter: ${a} is not in cache-file format. ${o}Expected \`{ response: { content, usage, ... }, storedAtNs, ... }\` (the shape \`withReplayCache\` and this adapter's \`record\` mode write). For hand-authored fixtures, use the inline \`fixtures: FallbackFixture[]\` option \u2014 the adapter hashes messages for you.`)}}function x(e={}){let i=e.keyPrefix??"fallback",r=[];if(e.fixtures!=null&&r.push("fixtures"),e.fixturesDir!=null&&r.push("fixturesDir"),e.fixturesStorage!=null&&r.push("fixturesStorage"),r.length>1)throw new TypeError(`fallbackAdapter: \`fixtures\`, \`fixturesDir\`, and \`fixturesStorage\` are mutually exclusive; got both ${r.join(" and ")}. Pick one source.`);let a=e.fixturesStorage;if(e.fixturesDir!=null){let n=p(e.fixturesDir,i);b(n),a=c(n)}let t;if(e.record){if(e.record.storage&&e.record.dir)throw new TypeError("fallbackAdapter: `record.storage` and `record.dir` are mutually exclusive; pick one.");if(e.record.storage)t={adapter:e.record.adapter,storage:e.record.storage};else{let n=e.record.dir??e.fixturesDir;if(n==null)throw new TypeError("fallbackAdapter: record mode requires either `record.dir`, `record.storage`, or an inherited `fixturesDir`.");t={adapter:e.record.adapter,storage:c(p(n,i))}}}let{fixturesDir:s,record:l,...d}=e,o={...d,...a?{fixturesStorage:a}:{},...t?{record:t}:{}};return f(o)}export{x as fallbackAdapter};
1
+ import{k as f}from"../../chunk-6VFC334U.js";import"../../chunk-B5S7KTGP.js";import"../../chunk-ESMPEKEV.js";import{g as c}from"../../chunk-VN6RDSK2.js";import"../../chunk-D5RFJOZ2.js";import"../../chunk-CE72X3WO.js";import"../../chunk-6773HURD.js";import"../../chunk-4VVTGLXJ.js";import"../../chunk-DQJLC6YY.js";import"../../chunk-RZ5HKPGI.js";import"../../chunk-LYCLF26R.js";import"../../chunk-CK2E7BTU.js";import"../../chunk-QYADASLV.js";import{existsSync as u,readdirSync as k,readFileSync as h}from"fs";import{join as p}from"path";function b(e){if(!u(e))return;let i=k(e).filter(o=>o.endsWith(".json"));if(i.length===0)return;let r=i[0],a=p(e,r),t;try{t=JSON.parse(h(a,"utf8"))}catch(o){throw new TypeError(`fallbackAdapter: ${a} is not valid JSON (${o.message}).`)}let s=t,l=s!=null&&"messages"in s,d=s==null||typeof s.response?.content!="string"||typeof s.storedAtNs!="number";if(l||d){let o=l?"`messages` at the top level means this looks hand-authored. ":"";throw new TypeError(`fallbackAdapter: ${a} is not in cache-file format. ${o}Expected \`{ response: { content, usage, ... }, storedAtNs, ... }\` (the shape \`withReplayCache\` and this adapter's \`record\` mode write). For hand-authored fixtures, use the inline \`fixtures: FallbackFixture[]\` option \u2014 the adapter hashes messages for you.`)}}function x(e={}){let i=e.keyPrefix??"fallback",r=[];if(e.fixtures!=null&&r.push("fixtures"),e.fixturesDir!=null&&r.push("fixturesDir"),e.fixturesStorage!=null&&r.push("fixturesStorage"),r.length>1)throw new TypeError(`fallbackAdapter: \`fixtures\`, \`fixturesDir\`, and \`fixturesStorage\` are mutually exclusive; got both ${r.join(" and ")}. Pick one source.`);let a=e.fixturesStorage;if(e.fixturesDir!=null){let n=p(e.fixturesDir,i);b(n),a=c(n)}let t;if(e.record){if(e.record.storage&&e.record.dir)throw new TypeError("fallbackAdapter: `record.storage` and `record.dir` are mutually exclusive; pick one.");if(e.record.storage)t={adapter:e.record.adapter,storage:e.record.storage};else{let n=e.record.dir??e.fixturesDir;if(n==null)throw new TypeError("fallbackAdapter: record mode requires either `record.dir`, `record.storage`, or an inherited `fixturesDir`.");t={adapter:e.record.adapter,storage:c(p(n,i))}}}let{fixturesDir:s,record:l,...d}=e,o={...d,...a?{fixturesStorage:a}:{},...t?{record:t}:{}};return f(o)}export{x as fallbackAdapter};