@graphrefly/graphrefly 0.38.0 → 0.39.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 (314) hide show
  1. package/dist/budget-gate-CmmVtasH.d.ts +115 -0
  2. package/dist/budget-gate-DiP_nK0n.d.cts +115 -0
  3. package/dist/{cascading-BsJ4GbnS.d.ts → cascading-BzuxW0_w.d.cts} +2 -2
  4. package/dist/{cascading-B25wxpRa.d.cts → cascading-g2_rhhaM.d.ts} +2 -2
  5. package/dist/chunk-35JTVPOX.js +1 -0
  6. package/dist/chunk-3G5U5QNE.js +5 -0
  7. package/dist/{chunk-PHXZRR6C.js → chunk-4I45FVQS.js} +1 -1
  8. package/dist/chunk-5LK7XMEV.js +1 -0
  9. package/dist/{chunk-FWGIZP3W.js → chunk-5XRI6RM3.js} +1 -1
  10. package/dist/chunk-73PBQNST.js +1 -0
  11. package/dist/chunk-7JRF5YEK.js +3 -0
  12. package/dist/{chunk-4BDQXBXE.js → chunk-7NZMZJMW.js} +1 -1
  13. package/dist/chunk-7QFRK3N3.js +84 -0
  14. package/dist/{chunk-POCWFIJ7.js → chunk-7SD73DS6.js} +1 -1
  15. package/dist/{chunk-NBGPXQSP.js → chunk-A6ZSKGUG.js} +1 -1
  16. package/dist/{chunk-7KZZLWZ6.js → chunk-AU7YTQX7.js} +1 -1
  17. package/dist/chunk-C72GO4IZ.js +1 -0
  18. package/dist/{chunk-B5S7KTGP.js → chunk-CGDMTXSY.js} +1 -1
  19. package/dist/chunk-D27JNOLZ.js +1 -0
  20. package/dist/chunk-D47YVDR5.js +1 -0
  21. package/dist/chunk-EWF7KCDJ.js +61 -0
  22. package/dist/{chunk-IBGE62GZ.js → chunk-GEAO3TL3.js} +1 -1
  23. package/dist/chunk-GX5LSSRE.js +1 -0
  24. package/dist/{chunk-O245YLM5.js → chunk-HAWKGIXM.js} +1 -1
  25. package/dist/chunk-HX3EGQ5Z.js +1 -0
  26. package/dist/{chunk-RZ5HKPGI.js → chunk-IA7DUNGB.js} +1 -1
  27. package/dist/{chunk-K5C67OGE.js → chunk-INH6FS2G.js} +2 -2
  28. package/dist/chunk-INHC33EH.js +1 -0
  29. package/dist/chunk-IUB4NYI2.js +1 -0
  30. package/dist/{chunk-UVLZX2OU.js → chunk-JNMC2WJ6.js} +1 -1
  31. package/dist/{chunk-O2BLVQU4.js → chunk-KD4NHLMU.js} +1 -1
  32. package/dist/chunk-L6NSJVJZ.js +1 -0
  33. package/dist/{chunk-6773HURD.js → chunk-L7WY6TZS.js} +1 -1
  34. package/dist/chunk-LQNOXGET.js +1 -0
  35. package/dist/chunk-MC4UYY2X.js +1 -0
  36. package/dist/{chunk-6KZZ6XQE.js → chunk-N7UIBZCW.js} +1 -1
  37. package/dist/chunk-NQI2C36M.js +1 -0
  38. package/dist/chunk-R75BMDLA.js +1 -0
  39. package/dist/chunk-RF3QZP6D.js +1 -0
  40. package/dist/{chunk-NV63VQHI.js → chunk-S2U57TFC.js} +1 -1
  41. package/dist/{chunk-SP5O2MIX.js → chunk-SC7BQDNP.js} +1 -1
  42. package/dist/{chunk-6VFC334U.js → chunk-TFPZLQ5H.js} +1 -1
  43. package/dist/chunk-VJJLIEAL.js +1 -0
  44. package/dist/{chunk-FAYEMS5M.js → chunk-WHIZM6JV.js} +1 -1
  45. package/dist/chunk-XEUANKBO.js +43 -0
  46. package/dist/{chunk-DSOVKKTI.js → chunk-XQ55HO5N.js} +1 -1
  47. package/dist/chunk-ZJ7SM3G2.js +1 -0
  48. package/dist/{chunk-TMVY7OWG.js → chunk-ZOX3LBRV.js} +1 -1
  49. package/dist/compat/index.cjs +9 -13
  50. package/dist/compat/index.d.cts +16 -16
  51. package/dist/compat/index.d.ts +16 -16
  52. package/dist/compat/index.js +1 -1
  53. package/dist/compat/jotai/index.d.cts +2 -2
  54. package/dist/compat/jotai/index.d.ts +2 -2
  55. package/dist/compat/nanostores/index.d.cts +2 -2
  56. package/dist/compat/nanostores/index.d.ts +2 -2
  57. package/dist/compat/nestjs/index.cjs +7 -11
  58. package/dist/compat/nestjs/index.d.cts +8 -8
  59. package/dist/compat/nestjs/index.d.ts +8 -8
  60. package/dist/compat/nestjs/index.js +1 -1
  61. package/dist/compat/react/index.d.cts +2 -2
  62. package/dist/compat/react/index.d.ts +2 -2
  63. package/dist/compat/solid/index.d.cts +2 -2
  64. package/dist/compat/solid/index.d.ts +2 -2
  65. package/dist/compat/svelte/index.d.cts +2 -2
  66. package/dist/compat/svelte/index.d.ts +2 -2
  67. package/dist/compat/vue/index.d.cts +2 -2
  68. package/dist/compat/vue/index.d.ts +2 -2
  69. package/dist/compat/zustand/index.cjs +3 -7
  70. package/dist/compat/zustand/index.d.cts +4 -4
  71. package/dist/compat/zustand/index.d.ts +4 -4
  72. package/dist/compat/zustand/index.js +1 -1
  73. package/dist/{composite-CgG0MqHm.d.cts → composite-CKd0e2vz.d.cts} +2 -2
  74. package/dist/{composite-DTOlDuch.d.ts → composite-DGatA-JK.d.ts} +2 -2
  75. package/dist/core/index.cjs +1 -1
  76. package/dist/core/index.d.cts +4 -4
  77. package/dist/core/index.d.ts +4 -4
  78. package/dist/core/index.js +1 -1
  79. package/dist/extra/browser.d.cts +1 -1
  80. package/dist/extra/browser.d.ts +1 -1
  81. package/dist/extra/index.cjs +16 -20
  82. package/dist/extra/index.d.cts +11 -9
  83. package/dist/extra/index.d.ts +11 -9
  84. package/dist/extra/index.js +1 -1
  85. package/dist/extra/node.cjs +2 -2
  86. package/dist/extra/node.d.cts +1 -1
  87. package/dist/extra/node.d.ts +1 -1
  88. package/dist/extra/node.js +1 -1
  89. package/dist/extra/operators.cjs +1 -1
  90. package/dist/extra/operators.d.cts +1 -1
  91. package/dist/extra/operators.d.ts +1 -1
  92. package/dist/extra/operators.js +1 -1
  93. package/dist/extra/reactive.cjs +1 -1
  94. package/dist/extra/reactive.d.cts +3 -3
  95. package/dist/extra/reactive.d.ts +3 -3
  96. package/dist/extra/reactive.js +1 -1
  97. package/dist/extra/render/index.cjs +5 -0
  98. package/dist/extra/render/index.d.cts +183 -0
  99. package/dist/extra/render/index.d.ts +183 -0
  100. package/dist/extra/render/index.js +1 -0
  101. package/dist/extra/sources.cjs +1 -1
  102. package/dist/extra/sources.d.cts +1 -1
  103. package/dist/extra/sources.d.ts +1 -1
  104. package/dist/extra/sources.js +1 -1
  105. package/dist/extra/storage-browser.d.cts +1 -1
  106. package/dist/extra/storage-browser.d.ts +1 -1
  107. package/dist/{fallback-axI2cXwt.d.cts → fallback-8JYU8tlT.d.cts} +1 -1
  108. package/dist/{fallback-DuEXfA4F.d.ts → fallback-CMZl39L5.d.ts} +1 -1
  109. package/dist/graph/index.cjs +7 -7
  110. package/dist/graph/index.d.cts +5 -5
  111. package/dist/graph/index.d.ts +5 -5
  112. package/dist/graph/index.js +1 -1
  113. package/dist/{graph-BjW1taJl.d.ts → graph-30XSgtVX.d.ts} +76 -100
  114. package/dist/{graph-CHsVwf9S.d.cts → graph-BUwMAxJI.d.cts} +76 -100
  115. package/dist/{index-CIcu6fIR.d.ts → index-2n8Eai6M.d.ts} +1 -1
  116. package/dist/{index-CrlHFsiT.d.ts → index-89FczVZ_.d.ts} +41 -85
  117. package/dist/{index-CM-i58FY.d.cts → index-8R1vzNOx.d.cts} +9 -9
  118. package/dist/{index-CDvC1m5p.d.ts → index-B2RUoIUz.d.ts} +1 -1
  119. package/dist/{index-BFaALJxR.d.ts → index-B41Asm7D.d.ts} +10 -8
  120. package/dist/{index-D-HZ7sP4.d.ts → index-B9fmw5n2.d.ts} +4 -6
  121. package/dist/{index-Bn0uZEL4.d.ts → index-BAlaVimV.d.ts} +9 -9
  122. package/dist/{index-DJVQ-t07.d.ts → index-BC9VybQs.d.ts} +41 -48
  123. package/dist/{index-5dNRlW7J.d.ts → index-BEHmxORq.d.ts} +11 -11
  124. package/dist/{index-DJNAWzcH.d.cts → index-BJ26eEjs.d.cts} +26 -19
  125. package/dist/{index-BiomL7AW.d.ts → index-BJSZxSFX.d.ts} +1 -1
  126. package/dist/{index-Czk3r0yA.d.cts → index-BKMdnYnk.d.ts} +56 -54
  127. package/dist/{index-BsZk9T8y.d.ts → index-BM9szD8n.d.cts} +14 -6
  128. package/dist/{index-BmWuVdER.d.ts → index-BUPVld1w.d.ts} +2 -2
  129. package/dist/{index-BwOsJfLJ.d.ts → index-BXd6OMEy.d.ts} +3 -3
  130. package/dist/index-BhUaMYm_.d.ts +113 -0
  131. package/dist/{index-BpMZzX9P.d.cts → index-BndG0cpK.d.cts} +3 -3
  132. package/dist/{index-AUqWe_fX.d.ts → index-Br3WnqEn.d.ts} +81 -9
  133. package/dist/{index-BhzwpIJc.d.cts → index-BskfDoZ_.d.ts} +14 -6
  134. package/dist/{index-D9vBTuzo.d.ts → index-C19qqa38.d.ts} +4 -4
  135. package/dist/{index-B-ORMr3k.d.ts → index-C7VV_qOs.d.ts} +4 -4
  136. package/dist/{index-BWUMIt7J.d.cts → index-CIRG8Hxp.d.cts} +11 -11
  137. package/dist/{index-B3D_z0Z6.d.cts → index-CL7oilfm.d.cts} +1 -1
  138. package/dist/{index-ML6vHKXK.d.ts → index-CPhBvRJU.d.ts} +1 -1
  139. package/dist/{index-CQsqqEVz.d.cts → index-CWHtYmSh.d.cts} +1 -1
  140. package/dist/{index-DKrIuF-r.d.ts → index-Cey6VTnX.d.ts} +8 -5
  141. package/dist/{resilience-BWP2c7Af.d.cts → index-CmqiJZKM.d.ts} +141 -23
  142. package/dist/{index-JYtN9uqM.d.ts → index-CoM4rzyB.d.ts} +1 -1
  143. package/dist/{index-C56XZiDe.d.cts → index-CpLpJb6A.d.cts} +8 -5
  144. package/dist/{index-BjWZARLy.d.ts → index-Ctb7_2sG.d.ts} +1 -1
  145. package/dist/index-CusEP3Sv.d.ts +210 -0
  146. package/dist/{resilience-Bys63Cpd.d.ts → index-CwP_KAMS.d.cts} +141 -23
  147. package/dist/{index-BFuVcqL8.d.cts → index-D3ayz3hy.d.cts} +1 -1
  148. package/dist/{index-Bpr0Pwgl.d.cts → index-DCbE8fFM.d.cts} +3 -3
  149. package/dist/{index-CAbHN_rP.d.cts → index-DIHcMLr6.d.cts} +1 -1
  150. package/dist/index-DINuaZlJ.d.cts +210 -0
  151. package/dist/{index-9xhIaM-w.d.cts → index-DOBLxOti.d.cts} +1 -1
  152. package/dist/{index-Di7OdwlO.d.ts → index-DQUVq1_d.d.ts} +37 -90
  153. package/dist/{index-BgzPO43H.d.cts → index-DTtBpuQy.d.cts} +4 -6
  154. package/dist/{index-D_QQ_dTD.d.cts → index-DYTBbF8T.d.cts} +1 -1
  155. package/dist/{index-UsU9ptzs.d.cts → index-DlgHqQxW.d.cts} +81 -9
  156. package/dist/{index-DTDVDzhA.d.ts → index-DlrWu9Hs.d.cts} +56 -54
  157. package/dist/{index-B2IUcH13.d.cts → index-DoYc8BWK.d.cts} +41 -48
  158. package/dist/{index-BUFCHvOR.d.ts → index-DszPlZzK.d.ts} +3 -3
  159. package/dist/{index-BqcgiSQg.d.cts → index-DyM4tFAe.d.cts} +10 -8
  160. package/dist/{index-CAV-3RpJ.d.cts → index-FVoPvhAu.d.cts} +4 -4
  161. package/dist/{index-Ckil6miL.d.cts → index-H_I66pav.d.cts} +2 -2
  162. package/dist/{index-C-3UXnHT.d.cts → index-IwFqHxCs.d.cts} +2 -2
  163. package/dist/index-K-vl_c6A.d.cts +113 -0
  164. package/dist/{index-CijfwEWx.d.ts → index-KlZ_ZUip.d.cts} +3 -3
  165. package/dist/{index-Bub6x_D4.d.cts → index-L8XI8Zql.d.cts} +37 -90
  166. package/dist/{index-DeSsvHDD.d.cts → index-MxYuWOrf.d.cts} +3 -3
  167. package/dist/{index-CpZKtdMw.d.cts → index-PgwvGWa1.d.cts} +1 -1
  168. package/dist/{index-Vz7KPfgz.d.ts → index-PlJ3MraE.d.ts} +1 -1
  169. package/dist/{index-BI1wMfyc.d.ts → index-PqbnoScQ.d.ts} +3 -3
  170. package/dist/{index-BsgxnHN8.d.cts → index-PsVHpPwP.d.cts} +3 -3
  171. package/dist/{index-D-B7U42V.d.cts → index-WyFKER-c.d.ts} +3 -3
  172. package/dist/{index-DY2f2b9z.d.ts → index-eaQuGJnv.d.ts} +3 -3
  173. package/dist/{index-DqICM_I7.d.ts → index-iTX5IqSP.d.ts} +67 -9
  174. package/dist/{index-Byp771zP.d.ts → index-jKLph6cu.d.ts} +2 -2
  175. package/dist/{index-CEVzBWeB.d.ts → index-jr6PuSBt.d.ts} +26 -19
  176. package/dist/{index-BkQqf1EF.d.cts → index-mNwgxC21.d.cts} +67 -9
  177. package/dist/{index-BaSy4L6w.d.cts → index-pVDQcbar.d.cts} +41 -85
  178. package/dist/{index-D7-RSD93.d.cts → index-xZYcDqFH.d.cts} +4 -4
  179. package/dist/{index-8OxXae3g.d.ts → index-yLt-aPMp.d.ts} +1 -1
  180. package/dist/{index-CqSJ25A9.d.cts → index-z8WFPVI8.d.cts} +1 -1
  181. package/dist/index.cjs +63 -59
  182. package/dist/index.d.cts +48 -47
  183. package/dist/index.d.ts +48 -47
  184. package/dist/index.js +1 -1
  185. package/dist/{meta-DreaEM_a.d.cts → meta-Ct9nqQS5.d.cts} +11 -7
  186. package/dist/{meta-BYqlATmg.d.ts → meta-D8OyedKp.d.ts} +11 -7
  187. package/dist/{node-fSc-hCv8.d.cts → node-BYInONRr.d.cts} +3 -3
  188. package/dist/{node-fSc-hCv8.d.ts → node-BYInONRr.d.ts} +3 -3
  189. package/dist/{observable-Cqty11jG.d.cts → observable-DMIlYJV1.d.cts} +1 -1
  190. package/dist/{observable-EAV_rNfM.d.ts → observable-DO8DDEzv.d.ts} +1 -1
  191. package/dist/patterns/ai/browser.cjs +5 -5
  192. package/dist/patterns/ai/browser.d.cts +4 -4
  193. package/dist/patterns/ai/browser.d.ts +4 -4
  194. package/dist/patterns/ai/browser.js +1 -1
  195. package/dist/patterns/ai/index.cjs +16 -20
  196. package/dist/patterns/ai/index.d.cts +17 -17
  197. package/dist/patterns/ai/index.d.ts +17 -17
  198. package/dist/patterns/ai/index.js +1 -1
  199. package/dist/patterns/ai/node.cjs +1 -1
  200. package/dist/patterns/ai/node.d.cts +4 -4
  201. package/dist/patterns/ai/node.d.ts +4 -4
  202. package/dist/patterns/ai/node.js +1 -1
  203. package/dist/patterns/audit/index.cjs +3 -7
  204. package/dist/patterns/audit/index.d.cts +6 -6
  205. package/dist/patterns/audit/index.d.ts +6 -6
  206. package/dist/patterns/audit/index.js +1 -1
  207. package/dist/patterns/cqrs/index.cjs +3 -7
  208. package/dist/patterns/cqrs/index.d.cts +6 -6
  209. package/dist/patterns/cqrs/index.d.ts +6 -6
  210. package/dist/patterns/cqrs/index.js +1 -1
  211. package/dist/patterns/demo-shell/index.cjs +5 -8
  212. package/dist/patterns/demo-shell/index.d.cts +5 -5
  213. package/dist/patterns/demo-shell/index.d.ts +5 -5
  214. package/dist/patterns/demo-shell/index.js +1 -1
  215. package/dist/patterns/domain-templates/index.cjs +3 -7
  216. package/dist/patterns/domain-templates/index.d.cts +4 -4
  217. package/dist/patterns/domain-templates/index.d.ts +4 -4
  218. package/dist/patterns/domain-templates/index.js +1 -1
  219. package/dist/patterns/graphspec/index.cjs +37 -37
  220. package/dist/patterns/graphspec/index.d.cts +5 -5
  221. package/dist/patterns/graphspec/index.d.ts +5 -5
  222. package/dist/patterns/graphspec/index.js +1 -1
  223. package/dist/patterns/guarded-execution/index.cjs +3 -7
  224. package/dist/patterns/guarded-execution/index.d.cts +7 -7
  225. package/dist/patterns/guarded-execution/index.d.ts +7 -7
  226. package/dist/patterns/guarded-execution/index.js +1 -1
  227. package/dist/patterns/harness/index.cjs +8 -12
  228. package/dist/patterns/harness/index.d.cts +12 -12
  229. package/dist/patterns/harness/index.d.ts +12 -12
  230. package/dist/patterns/harness/index.js +1 -1
  231. package/dist/patterns/job-queue/index.cjs +3 -7
  232. package/dist/patterns/job-queue/index.d.cts +6 -6
  233. package/dist/patterns/job-queue/index.d.ts +6 -6
  234. package/dist/patterns/job-queue/index.js +1 -1
  235. package/dist/patterns/lens/index.cjs +3 -7
  236. package/dist/patterns/lens/index.d.cts +6 -6
  237. package/dist/patterns/lens/index.d.ts +6 -6
  238. package/dist/patterns/lens/index.js +1 -1
  239. package/dist/patterns/memory/index.cjs +3 -7
  240. package/dist/patterns/memory/index.d.cts +6 -6
  241. package/dist/patterns/memory/index.d.ts +6 -6
  242. package/dist/patterns/memory/index.js +1 -1
  243. package/dist/patterns/messaging/index.cjs +3 -7
  244. package/dist/patterns/messaging/index.d.cts +5 -5
  245. package/dist/patterns/messaging/index.d.ts +5 -5
  246. package/dist/patterns/messaging/index.js +1 -1
  247. package/dist/patterns/orchestration/index.cjs +3 -7
  248. package/dist/patterns/orchestration/index.d.cts +8 -8
  249. package/dist/patterns/orchestration/index.d.ts +8 -8
  250. package/dist/patterns/orchestration/index.js +1 -1
  251. package/dist/patterns/process/index.cjs +1 -1
  252. package/dist/patterns/process/index.d.cts +7 -7
  253. package/dist/patterns/process/index.d.ts +7 -7
  254. package/dist/patterns/process/index.js +1 -1
  255. package/dist/patterns/reactive-layout/index.cjs +4 -8
  256. package/dist/patterns/reactive-layout/index.d.cts +5 -5
  257. package/dist/patterns/reactive-layout/index.d.ts +5 -5
  258. package/dist/patterns/reactive-layout/index.js +1 -1
  259. package/dist/patterns/reduction/index.cjs +3 -7
  260. package/dist/patterns/reduction/index.d.cts +4 -4
  261. package/dist/patterns/reduction/index.d.ts +4 -4
  262. package/dist/patterns/reduction/index.js +1 -1
  263. package/dist/patterns/refine-loop/index.cjs +5 -9
  264. package/dist/patterns/refine-loop/index.d.cts +6 -6
  265. package/dist/patterns/refine-loop/index.d.ts +6 -6
  266. package/dist/patterns/refine-loop/index.js +1 -1
  267. package/dist/patterns/resilient-pipeline/index.cjs +1 -1
  268. package/dist/patterns/resilient-pipeline/index.d.cts +4 -8
  269. package/dist/patterns/resilient-pipeline/index.d.ts +4 -8
  270. package/dist/patterns/resilient-pipeline/index.js +1 -1
  271. package/dist/patterns/surface/index.cjs +12 -16
  272. package/dist/patterns/surface/index.d.cts +6 -6
  273. package/dist/patterns/surface/index.d.ts +6 -6
  274. package/dist/patterns/surface/index.js +1 -1
  275. package/dist/{pipeline-graph-DuHpXSOn.d.cts → pipeline-graph-BQPr2Lqs.d.cts} +34 -17
  276. package/dist/{pipeline-graph-9JBbmRxA.d.ts → pipeline-graph-D8vKcO_p.d.ts} +34 -17
  277. package/dist/{reactive-layout-BMLDB4Vd.d.cts → reactive-layout-8CSc0tiA.d.cts} +2 -2
  278. package/dist/{reactive-layout-D-tRiNhg.d.ts → reactive-layout-DkTXxtSy.d.ts} +2 -2
  279. package/dist/{reactive-log-BgWSA1fg.d.ts → reactive-log-BlAsPLl2.d.ts} +2 -2
  280. package/dist/{reactive-log-C3IMAGpT.d.cts → reactive-log-_zeEnB9H.d.cts} +2 -2
  281. package/dist/{reactive-map-DmgeADH8.d.cts → reactive-map-B2qfD3hb.d.cts} +1 -1
  282. package/dist/{reactive-map-CHyeCf4D.d.ts → reactive-map-jFIsE6Kt.d.ts} +1 -1
  283. package/dist/resilience-HTF2LBRS.js +1 -0
  284. package/dist/{sugar-D13E2M_z.d.ts → sugar-BhfjgetH.d.ts} +1 -1
  285. package/dist/{sugar-DgaGJcI6.d.cts → sugar-DzePN5-g.d.cts} +1 -1
  286. package/dist/{topology-tree-jrZue3ao.d.cts → topology-tree-B5Ngw3j0.d.cts} +1 -1
  287. package/dist/{topology-tree-D47-nI6Z.d.ts → topology-tree-BtvbgMXJ.d.ts} +1 -1
  288. package/dist/{types-BMSGPlpO.d.cts → types-1Dhoi7HM.d.cts} +1 -1
  289. package/dist/{types-CidcBDuk.d.ts → types-39jk0kaV.d.ts} +1 -1
  290. package/package.json +11 -1
  291. package/dist/chunk-2YFDSYEF.js +0 -1
  292. package/dist/chunk-5BGFS2XH.js +0 -1
  293. package/dist/chunk-CMTN3KPT.js +0 -80
  294. package/dist/chunk-DQJLC6YY.js +0 -1
  295. package/dist/chunk-G7JN6LCB.js +0 -1
  296. package/dist/chunk-KJEAIIIY.js +0 -43
  297. package/dist/chunk-LV3ACS5J.js +0 -1
  298. package/dist/chunk-NN3QPJ6U.js +0 -1
  299. package/dist/chunk-NSAZ6PR6.js +0 -1
  300. package/dist/chunk-O32GJOUJ.js +0 -1
  301. package/dist/chunk-QEVSIVSF.js +0 -1
  302. package/dist/chunk-QMC2PLNM.js +0 -7
  303. package/dist/chunk-QOJFR6GS.js +0 -1
  304. package/dist/chunk-SFK7MN7S.js +0 -1
  305. package/dist/chunk-TB7JKSVS.js +0 -61
  306. package/dist/chunk-UAXFKMAG.js +0 -1
  307. package/dist/chunk-XIMFHEKV.js +0 -1
  308. package/dist/chunk-XLMYQB6F.js +0 -1
  309. package/dist/chunk-XLYF4LBH.js +0 -1
  310. package/dist/imperative-audit-ahAE65a9.d.cts +0 -28
  311. package/dist/imperative-audit-ahAE65a9.d.ts +0 -28
  312. package/dist/index-CpdnP-0y.d.cts +0 -186
  313. package/dist/index-DOU1Ee_k.d.ts +0 -186
  314. package/dist/resilience-LGBK236C.js +0 -1
@@ -1,5 +1,5 @@
1
- import { A as Actor, p as GraphReFlyConfig, V as VersioningLevel, a as Node, b as Messages, K as NodeSink } from './node-fSc-hCv8.js';
2
- import { b as DescribeNodeOutput, D as DescribeDetail, a as DescribeField } from './meta-BYqlATmg.js';
1
+ import { A as Actor, o as GraphReFlyConfig, V as VersioningLevel, N as Node, M as Messages, K as NodeSink } from './node-BYInONRr.js';
2
+ import { D as DescribeNodeOutput, a as DescribeDetail, b as DescribeField } from './meta-D8OyedKp.js';
3
3
  import { StorageHandle } from './extra/storage-core.js';
4
4
  import { SnapshotStorageTier } from './extra/storage-tiers.js';
5
5
 
@@ -143,8 +143,10 @@ interface CausalChain {
143
143
  to: string;
144
144
  /** True when a path was found. */
145
145
  found: boolean;
146
- /** Why the chain may be empty/incomplete. `"ok"` when `found` is true. */
147
- reason: "ok" | "no-such-from" | "no-such-to" | "no-path" | "max-depth-exceeded";
146
+ /** Why the chain may be empty/incomplete. `"ok"` when `found` is true.
147
+ * `"pending"` is the reactive-explain sentinel emitted while reactive args
148
+ * are waiting for their first DATA (qa D5). */
149
+ reason: "ok" | "no-such-from" | "no-such-to" | "no-path" | "max-depth-exceeded" | "pending";
148
150
  /** Ordered steps — first element is `from`, last is `to`. Empty when `!found`. */
149
151
  steps: readonly CausalStep[];
150
152
  /** Pretty multi-line rendering. Always present, even on failure (one-line message). */
@@ -400,51 +402,11 @@ type GraphDescribeOptions = {
400
402
  * Dotted paths like `"meta.label"` select specific meta keys.
401
403
  */
402
404
  fields?: DescribeField[];
403
- /**
404
- * Output format.
405
- * - `undefined` / omitted — return the full {@link GraphDescribeOutput} object.
406
- * - `"spec"` — GraphSpec input format (object; no status/value, deps as edges).
407
- * - `"json"` — stable JSON **text** with sorted keys.
408
- * - `"pretty"` — human-readable plaintext (optionally colorized; see
409
- * `colorize` / `indent` / `logger` / `includeEdges` / `includeSubgraphs`).
410
- * - `"mermaid"` — Mermaid flowchart text.
411
- * - `"mermaid-url"` — `https://mermaid.live/edit#base64:…` deep link (one
412
- * clickable URL, opens the `"mermaid"` source in the mermaid.live editor).
413
- * No network calls — the payload is encoded into the URL fragment.
414
- * - `"d2"` — D2 diagram text.
415
- * - `"ascii"` — stdout-native DAG flowchart rendered with Unicode
416
- * box-drawing glyphs (or `asciiCharset: "ascii"` for pure ASCII).
417
- * Graph-size independent: proper Sugiyama layout handles wide + deep
418
- * DAGs. Supports `direction: "LR" | "TD"`.
419
- */
420
- format?: "spec" | "json" | "pretty" | "mermaid" | "mermaid-url" | "d2" | "ascii";
421
- /** Pretty/diagram render: direction for diagram formats (default `LR`). */
422
- direction?: GraphDiagramDirection;
423
- /** Pretty/JSON render: indent (default 2 for JSON, ignored for pretty). */
424
- indent?: number;
425
- /** Pretty/ASCII render: optional logger hook; fires with the rendered text before return. */
426
- logger?: (text: string) => void;
427
- /** Pretty render: include an Edges section (default `true`). */
428
- includeEdges?: boolean;
429
- /** Pretty render: include a Subgraphs section (default `true`). */
430
- includeSubgraphs?: boolean;
431
- /**
432
- * ASCII render: per-box label cell cap; longer labels are truncated with `…`.
433
- * Default `24`. Applies only to `format: "ascii"`.
434
- */
435
- maxLabelWidth?: number;
436
- /**
437
- * ASCII render: Unicode box-drawing glyphs (`"unicode"`, default) or a
438
- * plain ASCII fallback (`"ascii"`, uses `-|+<>v`). Applies only to
439
- * `format: "ascii"`.
440
- */
441
- asciiCharset?: "unicode" | "ascii";
442
405
  /**
443
406
  * Reactive describe (D2):
444
407
  * - `true` — return `{ node, dispose }` where `node` emits a fresh
445
- * `GraphDescribeOutput` (or format string, if `format` is set) every time
446
- * the graph state settles. Same coalescing as {@link Graph.explain} with
447
- * `{ reactive: true }`.
408
+ * `GraphDescribeOutput` every time the graph state settles. Same
409
+ * coalescing as {@link Graph.explain} with `{ reactive: true }`.
448
410
  * - `"diff"` — return `{ node, dispose }` where `node` emits a
449
411
  * {@link DescribeChangeset} per topology change. Empty changesets are
450
412
  * suppressed; the initial cache is a synthetic full-add diff so a fresh
@@ -572,19 +534,13 @@ type TopologyEvent = {
572
534
  nodeKind: "node" | "mount";
573
535
  audit: GraphRemoveAudit;
574
536
  };
575
- /** Direction options for diagram export helpers. */
537
+ /**
538
+ * Direction options for diagram exports. Mirrors `DiagramDirection` from
539
+ * `@graphrefly/graphrefly/extra/render` (the renderers consume their own
540
+ * structurally-identical type) — re-exported here so callers building
541
+ * options for `Graph` ergonomics don't need a separate import.
542
+ */
576
543
  type GraphDiagramDirection = "TD" | "LR" | "BT" | "RL";
577
- /** Options for {@link Graph.toMermaid} / {@link Graph.toD2}. */
578
- type GraphDiagramOptions = {
579
- /**
580
- * Diagram flow direction.
581
- * - `TD`: top-down
582
- * - `LR`: left-right (default)
583
- * - `BT`: bottom-top
584
- * - `RL`: right-left
585
- */
586
- direction?: GraphDiagramDirection;
587
- };
588
544
  /**
589
545
  * Snapshot format version (§3.8). Exported so the surface layer's
590
546
  * `saveSnapshot` writes the same `format_version` as
@@ -592,19 +548,6 @@ type GraphDiagramOptions = {
592
548
  * drift between auto-checkpoint and one-shot persistence paths.
593
549
  */
594
550
  declare const SNAPSHOT_VERSION = 1;
595
- /**
596
- * Encode a mermaid source string to a `https://mermaid.live/edit#base64:…`
597
- * deep link. Round-trip with the mermaid.live editor's `/edit#base64:`
598
- * share format — payload is `base64url(JSON({code, mermaid: {theme}, ...}))`.
599
- *
600
- * Exported so callers that already have rendered mermaid text (e.g. from
601
- * `describe({ format: "mermaid" })`) can upgrade to a live-editor URL
602
- * without re-rendering. Pairs with `describe({ format: "mermaid-url" })`.
603
- */
604
- declare function mermaidLiveUrl(mermaidSrc: string, opts?: {
605
- theme?: "default" | "dark" | "forest" | "neutral" | "base";
606
- autoSync?: boolean;
607
- }): string;
608
551
  /**
609
552
  * Option shapes that trigger structured-mode dispatch in {@link Graph.observe}.
610
553
  * Presence of any of these fields (truthy) → returns {@link ObserveResult};
@@ -1174,36 +1117,53 @@ declare class Graph {
1174
1117
  /**
1175
1118
  * Static structure snapshot: qualified node keys, edges, mount names (GRAPHREFLY-SPEC §3.6, Appendix B).
1176
1119
  *
1177
- * `format` controls the return type:
1178
- * - omitted or `"spec"` {@link GraphDescribeOutput} object.
1179
- * - `"json"` / `"pretty"` / `"mermaid"` / `"d2"` → rendered string.
1120
+ * Returns the {@link GraphDescribeOutput} object directly (or a
1121
+ * `ReactiveDescribeHandle` when `{ reactive: true | "diff" }` is set).
1122
+ *
1123
+ * For formatted output (Mermaid / D2 / ASCII / pretty / JSON text), pass
1124
+ * the snapshot to one of the pure renderers in
1125
+ * `@graphrefly/graphrefly/extra/render`:
1126
+ *
1127
+ * ```ts
1128
+ * import { toMermaid, toAscii } from "@graphrefly/graphrefly/extra/render";
1129
+ *
1130
+ * const mermaid = toMermaid(graph.describe());
1131
+ * const ascii = toAscii(graph.describe(), { direction: "TD" });
1132
+ * ```
1133
+ *
1134
+ * For live formatted output, compose with `derived`:
1135
+ *
1136
+ * ```ts
1137
+ * import { derived } from "@graphrefly/graphrefly";
1138
+ * import { toMermaid } from "@graphrefly/graphrefly/extra/render";
1139
+ *
1140
+ * const live = derived(
1141
+ * [graph.describe({ reactive: true }).node],
1142
+ * ([g]) => toMermaid(g),
1143
+ * );
1144
+ * ```
1145
+ *
1146
+ * For the spec projection (type + deps + meta, strip runtime status/value),
1147
+ * pass `detail: "spec"`.
1180
1148
  *
1181
- * @param options - Optional `actor` for guard-scoped visibility, `filter` for
1182
- * selective output, or `format` to render.
1149
+ * @param options - Optional `actor` for guard-scoped visibility, `filter`
1150
+ * for selective output, `detail` / `fields` for projection, `reactive`
1151
+ * for the live handle.
1183
1152
  *
1184
1153
  * @example
1185
1154
  * ```ts
1186
1155
  * graph.describe() // full snapshot object
1187
1156
  * graph.describe({ filter: { status: "errored" } }) // filtered object
1188
- * graph.describe({ format: "pretty" }) // human-readable text
1189
- * graph.describe({ format: "mermaid" }) // Mermaid flowchart
1190
- * graph.describe({ format: "d2", direction: "TD" }) // D2 top-down
1191
- * graph.describe({ format: "ascii" }) // stdout DAG flowchart
1157
+ * graph.describe({ detail: "spec" }) // GraphSpec projection
1158
+ * graph.describe({ reactive: true }) // live snapshot Node
1192
1159
  * ```
1193
1160
  */
1194
- describe(options: GraphDescribeOptions & {
1195
- reactive: true;
1196
- format: "json" | "pretty" | "mermaid" | "mermaid-url" | "d2" | "ascii";
1197
- }): ReactiveDescribeHandle<string>;
1198
1161
  describe(options: GraphDescribeOptions & {
1199
1162
  reactive: "diff";
1200
1163
  }): ReactiveDescribeHandle<DescribeChangeset>;
1201
1164
  describe(options: GraphDescribeOptions & {
1202
1165
  reactive: true;
1203
1166
  }): ReactiveDescribeHandle<GraphDescribeOutput>;
1204
- describe(options: GraphDescribeOptions & {
1205
- format: "json" | "pretty" | "mermaid" | "mermaid-url" | "d2" | "ascii";
1206
- }): string;
1207
1167
  describe(options?: GraphDescribeOptions): GraphDescribeOutput;
1208
1168
  private _collectSubgraphs;
1209
1169
  /**
@@ -1230,28 +1190,44 @@ declare class Graph {
1230
1190
  *
1231
1191
  * Same question, two answers:
1232
1192
  * - **Static (default)** — `explain(from, to, opts?)` returns a single
1233
- * {@link CausalChain} snapshot of the graph at call time.
1193
+ * {@link CausalChain} snapshot of the graph at call time. Reactive
1194
+ * args (any `Node<...>`) are resolved to their current cache once.
1234
1195
  * - **Reactive** — `explain(from, to, { reactive: true, ... })` returns
1235
1196
  * `{ node: Node<CausalChain>; dispose: () => void }`. The node
1236
1197
  * recomputes whenever a `data` / `error` / `complete` / `teardown`
1237
- * event fires anywhere on the graph's structured observe stream, so
1238
- * the chain stays live. Replaces the former `reactiveExplainPath`.
1198
+ * event fires anywhere on the graph's structured observe stream OR
1199
+ * any reactive arg (`Node<string>` for `from`/`to`,
1200
+ * `Node<number>` for `maxDepth`, `Node<boolean>` for `findCycle`)
1201
+ * emits. Replaces the former `reactiveExplainPath`.
1202
+ *
1203
+ * Tier 3.5 reactive-opt carve-out (F.9): `from`, `to`, `maxDepth`, and
1204
+ * `findCycle` accept `Node<...>` in addition to their plain types. When
1205
+ * mixed (some reactive, some static), the reactive variant subscribes only
1206
+ * to the Node-typed args; static args pass through unchanged. The static
1207
+ * call snapshots all reactive args at call time — for live re-walking, use
1208
+ * `{ reactive: true }`.
1209
+ *
1210
+ * **File path-scoped observe is deferred** — the reactive variant
1211
+ * subscribes to whole-graph observe today (a perf gap, not a spec
1212
+ * violation). Tracked in `docs/optimizations.md` Tier 10.8 deferred
1213
+ * follow-up: "reactiveExplainPath file-path-scoped observe".
1239
1214
  *
1240
- * @param from - Upstream node (the cause).
1241
- * @param to - Downstream node (the effect).
1242
- * @param opts - Optional `maxDepth` and `findCycle`. When `findCycle:true`
1215
+ * @param from - Upstream node path (the cause). `string | Node<string>`.
1216
+ * @param to - Downstream node path (the effect). `string | Node<string>`.
1217
+ * @param opts - Optional `maxDepth` (`number | Node<number>`) and
1218
+ * `findCycle` (`boolean | Node<boolean>`). When `findCycle:true`
1243
1219
  * and `from === to`, returns the shortest cycle through other nodes
1244
1220
  * (useful for diagnosing feedback loops, COMPOSITION-GUIDE §7).
1245
1221
  * When `reactive: true`, also accepts `name?`.
1246
1222
  */
1247
- explain(from: string, to: string, opts?: {
1248
- maxDepth?: number;
1249
- findCycle?: boolean;
1223
+ explain(from: string | Node<string>, to: string | Node<string>, opts?: {
1224
+ maxDepth?: number | Node<number>;
1225
+ findCycle?: boolean | Node<boolean>;
1250
1226
  }): CausalChain;
1251
- explain(from: string, to: string, opts: {
1227
+ explain(from: string | Node<string>, to: string | Node<string>, opts: {
1252
1228
  reactive: true;
1253
- maxDepth?: number;
1254
- findCycle?: boolean;
1229
+ maxDepth?: number | Node<number>;
1230
+ findCycle?: boolean | Node<boolean>;
1255
1231
  name?: string;
1256
1232
  }): {
1257
1233
  node: Node<CausalChain>;
@@ -1689,4 +1665,4 @@ declare function reachable(described: GraphDescribeOutput, from: string, directi
1689
1665
  }): ReachableResult;
1690
1666
  declare function reachable(described: GraphDescribeOutput, from: string, direction: ReachableDirection, options?: ReachableOptions): string[];
1691
1667
 
1692
- export { type ObserveTheme as A, type ObserveThemeName as B, type CausalChain as C, type DescribeFilter as D, type ExplainPathOptions as E, type ReachableOptions as F, Graph as G, type TraceEntry as H, diffForWAL as I, explainPath as J, graphProfile as K, mermaidLiveUrl as L, type Meta as M, type NodeProfile as N, type ObserveDetail as O, reachable as P, topologyDiff as Q, type ReachableDirection as R, SNAPSHOT_VERSION as S, type TopologyEvent as T, type GraphOptions as a, type GraphPersistSnapshot as b, type GraphDescribeOptions as c, type GraphDescribeOutput as d, type CausalStep as e, type DescribeChangeset as f, type DescribeEvent as g, GRAPH_META_SEGMENT as h, type GraphActorOptions as i, type GraphAttachStorageOptions as j, type GraphCheckpointRecord as k, type GraphDiagramDirection as l, type GraphDiagramOptions as m, type GraphDiffChange as n, type GraphDiffResult as o, type GraphFactoryContext as p, type GraphNodeFactory as q, type GraphObserveAll as r, type GraphObserveOne as s, type GraphProfileOptions as t, type GraphProfileResult as u, type GraphVersionChange as v, type GraphWALDiff as w, type ObserveEvent as x, type ObserveOptions as y, type ObserveResult as z };
1668
+ export { type ObserveThemeName as A, type ReachableOptions as B, type CausalChain as C, type DescribeFilter as D, type ExplainPathOptions as E, type TraceEntry as F, Graph as G, diffForWAL as H, explainPath as I, graphProfile as J, reachable as K, topologyDiff as L, type Meta as M, type NodeProfile as N, type ObserveDetail as O, type ReachableDirection as R, SNAPSHOT_VERSION as S, type TopologyEvent as T, type GraphOptions as a, type GraphDescribeOutput as b, type GraphPersistSnapshot as c, type GraphDescribeOptions as d, type CausalStep as e, type DescribeChangeset as f, type DescribeEvent as g, GRAPH_META_SEGMENT as h, type GraphActorOptions as i, type GraphAttachStorageOptions as j, type GraphCheckpointRecord as k, type GraphDiagramDirection as l, type GraphDiffChange as m, type GraphDiffResult as n, type GraphFactoryContext as o, type GraphNodeFactory as p, type GraphObserveAll as q, type GraphObserveOne as r, type GraphProfileOptions as s, type GraphProfileResult as t, type GraphVersionChange as u, type GraphWALDiff as v, type ObserveEvent as w, type ObserveOptions as x, type ObserveResult as y, type ObserveTheme as z };
@@ -1,5 +1,5 @@
1
- import { A as Actor, p as GraphReFlyConfig, V as VersioningLevel, a as Node, b as Messages, K as NodeSink } from './node-fSc-hCv8.cjs';
2
- import { b as DescribeNodeOutput, D as DescribeDetail, a as DescribeField } from './meta-DreaEM_a.cjs';
1
+ import { A as Actor, o as GraphReFlyConfig, V as VersioningLevel, N as Node, M as Messages, K as NodeSink } from './node-BYInONRr.cjs';
2
+ import { D as DescribeNodeOutput, a as DescribeDetail, b as DescribeField } from './meta-Ct9nqQS5.cjs';
3
3
  import { StorageHandle } from './extra/storage-core.cjs';
4
4
  import { SnapshotStorageTier } from './extra/storage-tiers.cjs';
5
5
 
@@ -143,8 +143,10 @@ interface CausalChain {
143
143
  to: string;
144
144
  /** True when a path was found. */
145
145
  found: boolean;
146
- /** Why the chain may be empty/incomplete. `"ok"` when `found` is true. */
147
- reason: "ok" | "no-such-from" | "no-such-to" | "no-path" | "max-depth-exceeded";
146
+ /** Why the chain may be empty/incomplete. `"ok"` when `found` is true.
147
+ * `"pending"` is the reactive-explain sentinel emitted while reactive args
148
+ * are waiting for their first DATA (qa D5). */
149
+ reason: "ok" | "no-such-from" | "no-such-to" | "no-path" | "max-depth-exceeded" | "pending";
148
150
  /** Ordered steps — first element is `from`, last is `to`. Empty when `!found`. */
149
151
  steps: readonly CausalStep[];
150
152
  /** Pretty multi-line rendering. Always present, even on failure (one-line message). */
@@ -400,51 +402,11 @@ type GraphDescribeOptions = {
400
402
  * Dotted paths like `"meta.label"` select specific meta keys.
401
403
  */
402
404
  fields?: DescribeField[];
403
- /**
404
- * Output format.
405
- * - `undefined` / omitted — return the full {@link GraphDescribeOutput} object.
406
- * - `"spec"` — GraphSpec input format (object; no status/value, deps as edges).
407
- * - `"json"` — stable JSON **text** with sorted keys.
408
- * - `"pretty"` — human-readable plaintext (optionally colorized; see
409
- * `colorize` / `indent` / `logger` / `includeEdges` / `includeSubgraphs`).
410
- * - `"mermaid"` — Mermaid flowchart text.
411
- * - `"mermaid-url"` — `https://mermaid.live/edit#base64:…` deep link (one
412
- * clickable URL, opens the `"mermaid"` source in the mermaid.live editor).
413
- * No network calls — the payload is encoded into the URL fragment.
414
- * - `"d2"` — D2 diagram text.
415
- * - `"ascii"` — stdout-native DAG flowchart rendered with Unicode
416
- * box-drawing glyphs (or `asciiCharset: "ascii"` for pure ASCII).
417
- * Graph-size independent: proper Sugiyama layout handles wide + deep
418
- * DAGs. Supports `direction: "LR" | "TD"`.
419
- */
420
- format?: "spec" | "json" | "pretty" | "mermaid" | "mermaid-url" | "d2" | "ascii";
421
- /** Pretty/diagram render: direction for diagram formats (default `LR`). */
422
- direction?: GraphDiagramDirection;
423
- /** Pretty/JSON render: indent (default 2 for JSON, ignored for pretty). */
424
- indent?: number;
425
- /** Pretty/ASCII render: optional logger hook; fires with the rendered text before return. */
426
- logger?: (text: string) => void;
427
- /** Pretty render: include an Edges section (default `true`). */
428
- includeEdges?: boolean;
429
- /** Pretty render: include a Subgraphs section (default `true`). */
430
- includeSubgraphs?: boolean;
431
- /**
432
- * ASCII render: per-box label cell cap; longer labels are truncated with `…`.
433
- * Default `24`. Applies only to `format: "ascii"`.
434
- */
435
- maxLabelWidth?: number;
436
- /**
437
- * ASCII render: Unicode box-drawing glyphs (`"unicode"`, default) or a
438
- * plain ASCII fallback (`"ascii"`, uses `-|+<>v`). Applies only to
439
- * `format: "ascii"`.
440
- */
441
- asciiCharset?: "unicode" | "ascii";
442
405
  /**
443
406
  * Reactive describe (D2):
444
407
  * - `true` — return `{ node, dispose }` where `node` emits a fresh
445
- * `GraphDescribeOutput` (or format string, if `format` is set) every time
446
- * the graph state settles. Same coalescing as {@link Graph.explain} with
447
- * `{ reactive: true }`.
408
+ * `GraphDescribeOutput` every time the graph state settles. Same
409
+ * coalescing as {@link Graph.explain} with `{ reactive: true }`.
448
410
  * - `"diff"` — return `{ node, dispose }` where `node` emits a
449
411
  * {@link DescribeChangeset} per topology change. Empty changesets are
450
412
  * suppressed; the initial cache is a synthetic full-add diff so a fresh
@@ -572,19 +534,13 @@ type TopologyEvent = {
572
534
  nodeKind: "node" | "mount";
573
535
  audit: GraphRemoveAudit;
574
536
  };
575
- /** Direction options for diagram export helpers. */
537
+ /**
538
+ * Direction options for diagram exports. Mirrors `DiagramDirection` from
539
+ * `@graphrefly/graphrefly/extra/render` (the renderers consume their own
540
+ * structurally-identical type) — re-exported here so callers building
541
+ * options for `Graph` ergonomics don't need a separate import.
542
+ */
576
543
  type GraphDiagramDirection = "TD" | "LR" | "BT" | "RL";
577
- /** Options for {@link Graph.toMermaid} / {@link Graph.toD2}. */
578
- type GraphDiagramOptions = {
579
- /**
580
- * Diagram flow direction.
581
- * - `TD`: top-down
582
- * - `LR`: left-right (default)
583
- * - `BT`: bottom-top
584
- * - `RL`: right-left
585
- */
586
- direction?: GraphDiagramDirection;
587
- };
588
544
  /**
589
545
  * Snapshot format version (§3.8). Exported so the surface layer's
590
546
  * `saveSnapshot` writes the same `format_version` as
@@ -592,19 +548,6 @@ type GraphDiagramOptions = {
592
548
  * drift between auto-checkpoint and one-shot persistence paths.
593
549
  */
594
550
  declare const SNAPSHOT_VERSION = 1;
595
- /**
596
- * Encode a mermaid source string to a `https://mermaid.live/edit#base64:…`
597
- * deep link. Round-trip with the mermaid.live editor's `/edit#base64:`
598
- * share format — payload is `base64url(JSON({code, mermaid: {theme}, ...}))`.
599
- *
600
- * Exported so callers that already have rendered mermaid text (e.g. from
601
- * `describe({ format: "mermaid" })`) can upgrade to a live-editor URL
602
- * without re-rendering. Pairs with `describe({ format: "mermaid-url" })`.
603
- */
604
- declare function mermaidLiveUrl(mermaidSrc: string, opts?: {
605
- theme?: "default" | "dark" | "forest" | "neutral" | "base";
606
- autoSync?: boolean;
607
- }): string;
608
551
  /**
609
552
  * Option shapes that trigger structured-mode dispatch in {@link Graph.observe}.
610
553
  * Presence of any of these fields (truthy) → returns {@link ObserveResult};
@@ -1174,36 +1117,53 @@ declare class Graph {
1174
1117
  /**
1175
1118
  * Static structure snapshot: qualified node keys, edges, mount names (GRAPHREFLY-SPEC §3.6, Appendix B).
1176
1119
  *
1177
- * `format` controls the return type:
1178
- * - omitted or `"spec"` {@link GraphDescribeOutput} object.
1179
- * - `"json"` / `"pretty"` / `"mermaid"` / `"d2"` → rendered string.
1120
+ * Returns the {@link GraphDescribeOutput} object directly (or a
1121
+ * `ReactiveDescribeHandle` when `{ reactive: true | "diff" }` is set).
1122
+ *
1123
+ * For formatted output (Mermaid / D2 / ASCII / pretty / JSON text), pass
1124
+ * the snapshot to one of the pure renderers in
1125
+ * `@graphrefly/graphrefly/extra/render`:
1126
+ *
1127
+ * ```ts
1128
+ * import { toMermaid, toAscii } from "@graphrefly/graphrefly/extra/render";
1129
+ *
1130
+ * const mermaid = toMermaid(graph.describe());
1131
+ * const ascii = toAscii(graph.describe(), { direction: "TD" });
1132
+ * ```
1133
+ *
1134
+ * For live formatted output, compose with `derived`:
1135
+ *
1136
+ * ```ts
1137
+ * import { derived } from "@graphrefly/graphrefly";
1138
+ * import { toMermaid } from "@graphrefly/graphrefly/extra/render";
1139
+ *
1140
+ * const live = derived(
1141
+ * [graph.describe({ reactive: true }).node],
1142
+ * ([g]) => toMermaid(g),
1143
+ * );
1144
+ * ```
1145
+ *
1146
+ * For the spec projection (type + deps + meta, strip runtime status/value),
1147
+ * pass `detail: "spec"`.
1180
1148
  *
1181
- * @param options - Optional `actor` for guard-scoped visibility, `filter` for
1182
- * selective output, or `format` to render.
1149
+ * @param options - Optional `actor` for guard-scoped visibility, `filter`
1150
+ * for selective output, `detail` / `fields` for projection, `reactive`
1151
+ * for the live handle.
1183
1152
  *
1184
1153
  * @example
1185
1154
  * ```ts
1186
1155
  * graph.describe() // full snapshot object
1187
1156
  * graph.describe({ filter: { status: "errored" } }) // filtered object
1188
- * graph.describe({ format: "pretty" }) // human-readable text
1189
- * graph.describe({ format: "mermaid" }) // Mermaid flowchart
1190
- * graph.describe({ format: "d2", direction: "TD" }) // D2 top-down
1191
- * graph.describe({ format: "ascii" }) // stdout DAG flowchart
1157
+ * graph.describe({ detail: "spec" }) // GraphSpec projection
1158
+ * graph.describe({ reactive: true }) // live snapshot Node
1192
1159
  * ```
1193
1160
  */
1194
- describe(options: GraphDescribeOptions & {
1195
- reactive: true;
1196
- format: "json" | "pretty" | "mermaid" | "mermaid-url" | "d2" | "ascii";
1197
- }): ReactiveDescribeHandle<string>;
1198
1161
  describe(options: GraphDescribeOptions & {
1199
1162
  reactive: "diff";
1200
1163
  }): ReactiveDescribeHandle<DescribeChangeset>;
1201
1164
  describe(options: GraphDescribeOptions & {
1202
1165
  reactive: true;
1203
1166
  }): ReactiveDescribeHandle<GraphDescribeOutput>;
1204
- describe(options: GraphDescribeOptions & {
1205
- format: "json" | "pretty" | "mermaid" | "mermaid-url" | "d2" | "ascii";
1206
- }): string;
1207
1167
  describe(options?: GraphDescribeOptions): GraphDescribeOutput;
1208
1168
  private _collectSubgraphs;
1209
1169
  /**
@@ -1230,28 +1190,44 @@ declare class Graph {
1230
1190
  *
1231
1191
  * Same question, two answers:
1232
1192
  * - **Static (default)** — `explain(from, to, opts?)` returns a single
1233
- * {@link CausalChain} snapshot of the graph at call time.
1193
+ * {@link CausalChain} snapshot of the graph at call time. Reactive
1194
+ * args (any `Node<...>`) are resolved to their current cache once.
1234
1195
  * - **Reactive** — `explain(from, to, { reactive: true, ... })` returns
1235
1196
  * `{ node: Node<CausalChain>; dispose: () => void }`. The node
1236
1197
  * recomputes whenever a `data` / `error` / `complete` / `teardown`
1237
- * event fires anywhere on the graph's structured observe stream, so
1238
- * the chain stays live. Replaces the former `reactiveExplainPath`.
1198
+ * event fires anywhere on the graph's structured observe stream OR
1199
+ * any reactive arg (`Node<string>` for `from`/`to`,
1200
+ * `Node<number>` for `maxDepth`, `Node<boolean>` for `findCycle`)
1201
+ * emits. Replaces the former `reactiveExplainPath`.
1202
+ *
1203
+ * Tier 3.5 reactive-opt carve-out (F.9): `from`, `to`, `maxDepth`, and
1204
+ * `findCycle` accept `Node<...>` in addition to their plain types. When
1205
+ * mixed (some reactive, some static), the reactive variant subscribes only
1206
+ * to the Node-typed args; static args pass through unchanged. The static
1207
+ * call snapshots all reactive args at call time — for live re-walking, use
1208
+ * `{ reactive: true }`.
1209
+ *
1210
+ * **File path-scoped observe is deferred** — the reactive variant
1211
+ * subscribes to whole-graph observe today (a perf gap, not a spec
1212
+ * violation). Tracked in `docs/optimizations.md` Tier 10.8 deferred
1213
+ * follow-up: "reactiveExplainPath file-path-scoped observe".
1239
1214
  *
1240
- * @param from - Upstream node (the cause).
1241
- * @param to - Downstream node (the effect).
1242
- * @param opts - Optional `maxDepth` and `findCycle`. When `findCycle:true`
1215
+ * @param from - Upstream node path (the cause). `string | Node<string>`.
1216
+ * @param to - Downstream node path (the effect). `string | Node<string>`.
1217
+ * @param opts - Optional `maxDepth` (`number | Node<number>`) and
1218
+ * `findCycle` (`boolean | Node<boolean>`). When `findCycle:true`
1243
1219
  * and `from === to`, returns the shortest cycle through other nodes
1244
1220
  * (useful for diagnosing feedback loops, COMPOSITION-GUIDE §7).
1245
1221
  * When `reactive: true`, also accepts `name?`.
1246
1222
  */
1247
- explain(from: string, to: string, opts?: {
1248
- maxDepth?: number;
1249
- findCycle?: boolean;
1223
+ explain(from: string | Node<string>, to: string | Node<string>, opts?: {
1224
+ maxDepth?: number | Node<number>;
1225
+ findCycle?: boolean | Node<boolean>;
1250
1226
  }): CausalChain;
1251
- explain(from: string, to: string, opts: {
1227
+ explain(from: string | Node<string>, to: string | Node<string>, opts: {
1252
1228
  reactive: true;
1253
- maxDepth?: number;
1254
- findCycle?: boolean;
1229
+ maxDepth?: number | Node<number>;
1230
+ findCycle?: boolean | Node<boolean>;
1255
1231
  name?: string;
1256
1232
  }): {
1257
1233
  node: Node<CausalChain>;
@@ -1689,4 +1665,4 @@ declare function reachable(described: GraphDescribeOutput, from: string, directi
1689
1665
  }): ReachableResult;
1690
1666
  declare function reachable(described: GraphDescribeOutput, from: string, direction: ReachableDirection, options?: ReachableOptions): string[];
1691
1667
 
1692
- export { type ObserveTheme as A, type ObserveThemeName as B, type CausalChain as C, type DescribeFilter as D, type ExplainPathOptions as E, type ReachableOptions as F, Graph as G, type TraceEntry as H, diffForWAL as I, explainPath as J, graphProfile as K, mermaidLiveUrl as L, type Meta as M, type NodeProfile as N, type ObserveDetail as O, reachable as P, topologyDiff as Q, type ReachableDirection as R, SNAPSHOT_VERSION as S, type TopologyEvent as T, type GraphOptions as a, type GraphPersistSnapshot as b, type GraphDescribeOptions as c, type GraphDescribeOutput as d, type CausalStep as e, type DescribeChangeset as f, type DescribeEvent as g, GRAPH_META_SEGMENT as h, type GraphActorOptions as i, type GraphAttachStorageOptions as j, type GraphCheckpointRecord as k, type GraphDiagramDirection as l, type GraphDiagramOptions as m, type GraphDiffChange as n, type GraphDiffResult as o, type GraphFactoryContext as p, type GraphNodeFactory as q, type GraphObserveAll as r, type GraphObserveOne as s, type GraphProfileOptions as t, type GraphProfileResult as u, type GraphVersionChange as v, type GraphWALDiff as w, type ObserveEvent as x, type ObserveOptions as y, type ObserveResult as z };
1668
+ export { type ObserveThemeName as A, type ReachableOptions as B, type CausalChain as C, type DescribeFilter as D, type ExplainPathOptions as E, type TraceEntry as F, Graph as G, diffForWAL as H, explainPath as I, graphProfile as J, reachable as K, topologyDiff as L, type Meta as M, type NodeProfile as N, type ObserveDetail as O, type ReachableDirection as R, SNAPSHOT_VERSION as S, type TopologyEvent as T, type GraphOptions as a, type GraphDescribeOutput as b, type GraphPersistSnapshot as c, type GraphDescribeOptions as d, type CausalStep as e, type DescribeChangeset as f, type DescribeEvent as g, GRAPH_META_SEGMENT as h, type GraphActorOptions as i, type GraphAttachStorageOptions as j, type GraphCheckpointRecord as k, type GraphDiagramDirection as l, type GraphDiffChange as m, type GraphDiffResult as n, type GraphFactoryContext as o, type GraphNodeFactory as p, type GraphObserveAll as q, type GraphObserveOne as r, type GraphProfileOptions as s, type GraphProfileResult as t, type GraphVersionChange as u, type GraphWALDiff as v, type ObserveEvent as w, type ObserveOptions as x, type ObserveResult as y, type ObserveTheme as z };
@@ -1,4 +1,4 @@
1
- import { a as Node } from './node-fSc-hCv8.js';
1
+ import { N as Node } from './node-BYInONRr.js';
2
2
 
3
3
  /**
4
4
  * Subscribe to a read-only `Node<T>` as a React value. Re-renders on node value settlement.