@graphrefly/graphrefly 0.44.0 → 0.45.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 (420) hide show
  1. package/README.md +21 -17
  2. package/dist/compat/index.cjs +20 -10
  3. package/dist/compat/index.cjs.map +1 -0
  4. package/dist/compat/index.d.cts +1 -22
  5. package/dist/compat/index.d.ts +1 -22
  6. package/dist/compat/index.js +3 -1
  7. package/dist/compat/index.js.map +1 -0
  8. package/dist/compat/jotai/index.cjs +21 -1
  9. package/dist/compat/jotai/index.cjs.map +1 -0
  10. package/dist/compat/jotai/index.d.cts +1 -2
  11. package/dist/compat/jotai/index.d.ts +1 -2
  12. package/dist/compat/jotai/index.js +3 -1
  13. package/dist/compat/jotai/index.js.map +1 -0
  14. package/dist/compat/nanostores/index.cjs +21 -1
  15. package/dist/compat/nanostores/index.cjs.map +1 -0
  16. package/dist/compat/nanostores/index.d.cts +1 -2
  17. package/dist/compat/nanostores/index.d.ts +1 -2
  18. package/dist/compat/nanostores/index.js +3 -1
  19. package/dist/compat/nanostores/index.js.map +1 -0
  20. package/dist/compat/nestjs/index.cjs +20 -10
  21. package/dist/compat/nestjs/index.cjs.map +1 -0
  22. package/dist/compat/nestjs/index.d.cts +1 -13
  23. package/dist/compat/nestjs/index.d.ts +1 -13
  24. package/dist/compat/nestjs/index.js +3 -1
  25. package/dist/compat/nestjs/index.js.map +1 -0
  26. package/dist/compat/react/index.cjs +21 -1
  27. package/dist/compat/react/index.cjs.map +1 -0
  28. package/dist/compat/react/index.d.cts +1 -2
  29. package/dist/compat/react/index.d.ts +1 -2
  30. package/dist/compat/react/index.js +3 -1
  31. package/dist/compat/react/index.js.map +1 -0
  32. package/dist/compat/solid/index.cjs +21 -1
  33. package/dist/compat/solid/index.cjs.map +1 -0
  34. package/dist/compat/solid/index.d.cts +1 -2
  35. package/dist/compat/solid/index.d.ts +1 -2
  36. package/dist/compat/solid/index.js +3 -1
  37. package/dist/compat/solid/index.js.map +1 -0
  38. package/dist/compat/svelte/index.cjs +21 -1
  39. package/dist/compat/svelte/index.cjs.map +1 -0
  40. package/dist/compat/svelte/index.d.cts +1 -2
  41. package/dist/compat/svelte/index.d.ts +1 -2
  42. package/dist/compat/svelte/index.js +3 -1
  43. package/dist/compat/svelte/index.js.map +1 -0
  44. package/dist/compat/vue/index.cjs +21 -1
  45. package/dist/compat/vue/index.cjs.map +1 -0
  46. package/dist/compat/vue/index.d.cts +1 -3
  47. package/dist/compat/vue/index.d.ts +1 -3
  48. package/dist/compat/vue/index.js +3 -1
  49. package/dist/compat/vue/index.js.map +1 -0
  50. package/dist/compat/zustand/index.cjs +21 -3
  51. package/dist/compat/zustand/index.cjs.map +1 -0
  52. package/dist/compat/zustand/index.d.cts +1 -6
  53. package/dist/compat/zustand/index.d.ts +1 -6
  54. package/dist/compat/zustand/index.js +3 -1
  55. package/dist/compat/zustand/index.js.map +1 -0
  56. package/dist/core/index.cjs +21 -1
  57. package/dist/core/index.cjs.map +1 -0
  58. package/dist/core/index.d.cts +1 -3
  59. package/dist/core/index.d.ts +1 -3
  60. package/dist/core/index.js +3 -1
  61. package/dist/core/index.js.map +1 -0
  62. package/dist/extra/browser.cjs +21 -1
  63. package/dist/extra/browser.cjs.map +1 -0
  64. package/dist/extra/browser.d.cts +1 -4
  65. package/dist/extra/browser.d.ts +1 -4
  66. package/dist/extra/browser.js +3 -1
  67. package/dist/extra/browser.js.map +1 -0
  68. package/dist/extra/index.cjs +20 -19
  69. package/dist/extra/index.cjs.map +1 -0
  70. package/dist/extra/index.d.cts +1 -17
  71. package/dist/extra/index.d.ts +1 -17
  72. package/dist/extra/index.js +3 -1
  73. package/dist/extra/index.js.map +1 -0
  74. package/dist/extra/node.cjs +21 -2
  75. package/dist/extra/node.cjs.map +1 -0
  76. package/dist/extra/node.d.cts +1 -187
  77. package/dist/extra/node.d.ts +1 -187
  78. package/dist/extra/node.js +3 -2
  79. package/dist/extra/node.js.map +1 -0
  80. package/dist/extra/operators.cjs +21 -1
  81. package/dist/extra/operators.cjs.map +1 -0
  82. package/dist/extra/operators.d.cts +1 -958
  83. package/dist/extra/operators.d.ts +1 -958
  84. package/dist/extra/operators.js +3 -1
  85. package/dist/extra/operators.js.map +1 -0
  86. package/dist/extra/reactive.cjs +21 -1
  87. package/dist/extra/reactive.cjs.map +1 -0
  88. package/dist/extra/reactive.d.cts +1 -353
  89. package/dist/extra/reactive.d.ts +1 -353
  90. package/dist/extra/reactive.js +3 -1
  91. package/dist/extra/reactive.js.map +1 -0
  92. package/dist/extra/render/index.cjs +21 -5
  93. package/dist/extra/render/index.cjs.map +1 -0
  94. package/dist/extra/render/index.d.cts +1 -183
  95. package/dist/extra/render/index.d.ts +1 -183
  96. package/dist/extra/render/index.js +3 -1
  97. package/dist/extra/render/index.js.map +1 -0
  98. package/dist/extra/sources.cjs +21 -3
  99. package/dist/extra/sources.cjs.map +1 -0
  100. package/dist/extra/sources.d.cts +1 -584
  101. package/dist/extra/sources.d.ts +1 -584
  102. package/dist/extra/sources.js +3 -1
  103. package/dist/extra/sources.js.map +1 -0
  104. package/dist/extra/storage-browser.cjs +21 -1
  105. package/dist/extra/storage-browser.cjs.map +1 -0
  106. package/dist/extra/storage-browser.d.cts +1 -37
  107. package/dist/extra/storage-browser.d.ts +1 -37
  108. package/dist/extra/storage-browser.js +3 -1
  109. package/dist/extra/storage-browser.js.map +1 -0
  110. package/dist/extra/storage-core.cjs +21 -1
  111. package/dist/extra/storage-core.cjs.map +1 -0
  112. package/dist/extra/storage-core.d.cts +1 -28
  113. package/dist/extra/storage-core.d.ts +1 -28
  114. package/dist/extra/storage-core.js +3 -1
  115. package/dist/extra/storage-core.js.map +1 -0
  116. package/dist/extra/storage-node.cjs +20 -0
  117. package/dist/extra/storage-node.cjs.map +1 -0
  118. package/dist/extra/storage-node.d.cts +1 -2
  119. package/dist/extra/storage-node.d.ts +1 -2
  120. package/dist/extra/storage-node.js +3 -0
  121. package/dist/extra/storage-node.js.map +1 -0
  122. package/dist/extra/storage-tiers-browser.cjs +21 -1
  123. package/dist/extra/storage-tiers-browser.cjs.map +1 -0
  124. package/dist/extra/storage-tiers-browser.d.cts +1 -120
  125. package/dist/extra/storage-tiers-browser.d.ts +1 -120
  126. package/dist/extra/storage-tiers-browser.js +3 -1
  127. package/dist/extra/storage-tiers-browser.js.map +1 -0
  128. package/dist/extra/storage-tiers-node.cjs +21 -1
  129. package/dist/extra/storage-tiers-node.cjs.map +1 -0
  130. package/dist/extra/storage-tiers-node.d.cts +1 -210
  131. package/dist/extra/storage-tiers-node.d.ts +1 -210
  132. package/dist/extra/storage-tiers-node.js +3 -1
  133. package/dist/extra/storage-tiers-node.js.map +1 -0
  134. package/dist/extra/storage-tiers.cjs +21 -1
  135. package/dist/extra/storage-tiers.cjs.map +1 -0
  136. package/dist/extra/storage-tiers.d.cts +1 -412
  137. package/dist/extra/storage-tiers.d.ts +1 -412
  138. package/dist/extra/storage-tiers.js +3 -1
  139. package/dist/extra/storage-tiers.js.map +1 -0
  140. package/dist/extra/storage-wal.cjs +21 -0
  141. package/dist/extra/storage-wal.cjs.map +1 -0
  142. package/dist/extra/storage-wal.d.cts +1 -0
  143. package/dist/extra/storage-wal.d.ts +1 -0
  144. package/dist/extra/storage-wal.js +3 -0
  145. package/dist/extra/storage-wal.js.map +1 -0
  146. package/dist/graph/index.cjs +21 -7
  147. package/dist/graph/index.cjs.map +1 -0
  148. package/dist/graph/index.d.cts +1 -7
  149. package/dist/graph/index.d.ts +1 -7
  150. package/dist/graph/index.js +3 -1
  151. package/dist/graph/index.js.map +1 -0
  152. package/dist/index.cjs +20 -227
  153. package/dist/index.cjs.map +1 -0
  154. package/dist/index.d.cts +45 -95
  155. package/dist/index.d.ts +45 -95
  156. package/dist/index.js +3 -1
  157. package/dist/index.js.map +1 -0
  158. package/dist/patterns/ai/browser.cjs +20 -7
  159. package/dist/patterns/ai/browser.cjs.map +1 -0
  160. package/dist/patterns/ai/browser.d.cts +1 -127
  161. package/dist/patterns/ai/browser.d.ts +1 -127
  162. package/dist/patterns/ai/browser.js +3 -3
  163. package/dist/patterns/ai/browser.js.map +1 -0
  164. package/dist/patterns/ai/index.cjs +20 -73
  165. package/dist/patterns/ai/index.cjs.map +1 -0
  166. package/dist/patterns/ai/index.d.cts +1 -20
  167. package/dist/patterns/ai/index.d.ts +1 -20
  168. package/dist/patterns/ai/index.js +3 -1
  169. package/dist/patterns/ai/index.js.map +1 -0
  170. package/dist/patterns/ai/node.cjs +21 -1
  171. package/dist/patterns/ai/node.cjs.map +1 -0
  172. package/dist/patterns/ai/node.d.cts +1 -59
  173. package/dist/patterns/ai/node.d.ts +1 -59
  174. package/dist/patterns/ai/node.js +3 -1
  175. package/dist/patterns/ai/node.js.map +1 -0
  176. package/dist/patterns/cqrs/index.cjs +21 -3
  177. package/dist/patterns/cqrs/index.cjs.map +1 -0
  178. package/dist/patterns/cqrs/index.d.cts +1 -8
  179. package/dist/patterns/cqrs/index.d.ts +1 -8
  180. package/dist/patterns/cqrs/index.js +3 -1
  181. package/dist/patterns/cqrs/index.js.map +1 -0
  182. package/dist/patterns/demo-shell/index.cjs +21 -5
  183. package/dist/patterns/demo-shell/index.cjs.map +1 -0
  184. package/dist/patterns/demo-shell/index.d.cts +1 -7
  185. package/dist/patterns/demo-shell/index.d.ts +1 -7
  186. package/dist/patterns/demo-shell/index.js +3 -1
  187. package/dist/patterns/demo-shell/index.js.map +1 -0
  188. package/dist/patterns/domain-templates/index.cjs +21 -3
  189. package/dist/patterns/domain-templates/index.cjs.map +1 -0
  190. package/dist/patterns/domain-templates/index.d.cts +1 -6
  191. package/dist/patterns/domain-templates/index.d.ts +1 -6
  192. package/dist/patterns/domain-templates/index.js +3 -1
  193. package/dist/patterns/domain-templates/index.js.map +1 -0
  194. package/dist/patterns/graphspec/index.cjs +21 -86
  195. package/dist/patterns/graphspec/index.cjs.map +1 -0
  196. package/dist/patterns/graphspec/index.d.cts +1 -8
  197. package/dist/patterns/graphspec/index.d.ts +1 -8
  198. package/dist/patterns/graphspec/index.js +3 -1
  199. package/dist/patterns/graphspec/index.js.map +1 -0
  200. package/dist/patterns/harness/index.cjs +21 -48
  201. package/dist/patterns/harness/index.cjs.map +1 -0
  202. package/dist/patterns/harness/index.d.cts +1 -13
  203. package/dist/patterns/harness/index.d.ts +1 -13
  204. package/dist/patterns/harness/index.js +3 -1
  205. package/dist/patterns/harness/index.js.map +1 -0
  206. package/dist/patterns/inspect/index.cjs +21 -3
  207. package/dist/patterns/inspect/index.cjs.map +1 -0
  208. package/dist/patterns/inspect/index.d.cts +1 -9
  209. package/dist/patterns/inspect/index.d.ts +1 -9
  210. package/dist/patterns/inspect/index.js +3 -1
  211. package/dist/patterns/inspect/index.js.map +1 -0
  212. package/dist/patterns/job-queue/index.cjs +21 -3
  213. package/dist/patterns/job-queue/index.cjs.map +1 -0
  214. package/dist/patterns/job-queue/index.d.cts +1 -9
  215. package/dist/patterns/job-queue/index.d.ts +1 -9
  216. package/dist/patterns/job-queue/index.js +3 -1
  217. package/dist/patterns/job-queue/index.js.map +1 -0
  218. package/dist/patterns/memory/index.cjs +21 -3
  219. package/dist/patterns/memory/index.cjs.map +1 -0
  220. package/dist/patterns/memory/index.d.cts +1 -8
  221. package/dist/patterns/memory/index.d.ts +1 -8
  222. package/dist/patterns/memory/index.js +3 -1
  223. package/dist/patterns/memory/index.js.map +1 -0
  224. package/dist/patterns/messaging/index.cjs +21 -3
  225. package/dist/patterns/messaging/index.cjs.map +1 -0
  226. package/dist/patterns/messaging/index.d.cts +1 -7
  227. package/dist/patterns/messaging/index.d.ts +1 -7
  228. package/dist/patterns/messaging/index.js +3 -1
  229. package/dist/patterns/messaging/index.js.map +1 -0
  230. package/dist/patterns/orchestration/index.cjs +21 -3
  231. package/dist/patterns/orchestration/index.cjs.map +1 -0
  232. package/dist/patterns/orchestration/index.d.cts +1 -8
  233. package/dist/patterns/orchestration/index.d.ts +1 -8
  234. package/dist/patterns/orchestration/index.js +3 -1
  235. package/dist/patterns/orchestration/index.js.map +1 -0
  236. package/dist/patterns/process/index.cjs +21 -3
  237. package/dist/patterns/process/index.cjs.map +1 -0
  238. package/dist/patterns/process/index.d.cts +1 -10
  239. package/dist/patterns/process/index.d.ts +1 -10
  240. package/dist/patterns/process/index.js +3 -1
  241. package/dist/patterns/process/index.js.map +1 -0
  242. package/dist/patterns/reactive-layout/index.cjs +21 -4
  243. package/dist/patterns/reactive-layout/index.cjs.map +1 -0
  244. package/dist/patterns/reactive-layout/index.d.cts +1 -7
  245. package/dist/patterns/reactive-layout/index.d.ts +1 -7
  246. package/dist/patterns/reactive-layout/index.js +3 -1
  247. package/dist/patterns/reactive-layout/index.js.map +1 -0
  248. package/dist/patterns/reduction/index.cjs +21 -3
  249. package/dist/patterns/reduction/index.cjs.map +1 -0
  250. package/dist/patterns/reduction/index.d.cts +1 -6
  251. package/dist/patterns/reduction/index.d.ts +1 -6
  252. package/dist/patterns/reduction/index.js +3 -1
  253. package/dist/patterns/reduction/index.js.map +1 -0
  254. package/dist/patterns/surface/index.cjs +21 -13
  255. package/dist/patterns/surface/index.cjs.map +1 -0
  256. package/dist/patterns/surface/index.d.cts +1 -9
  257. package/dist/patterns/surface/index.d.ts +1 -9
  258. package/dist/patterns/surface/index.js +3 -1
  259. package/dist/patterns/surface/index.js.map +1 -0
  260. package/dist/patterns/topology-view/index.cjs +21 -0
  261. package/dist/patterns/topology-view/index.cjs.map +1 -0
  262. package/dist/patterns/topology-view/index.d.cts +1 -0
  263. package/dist/patterns/topology-view/index.d.ts +1 -0
  264. package/dist/patterns/topology-view/index.js +3 -0
  265. package/dist/patterns/topology-view/index.js.map +1 -0
  266. package/dist/testing/index.cjs +21 -0
  267. package/dist/testing/index.cjs.map +1 -0
  268. package/dist/testing/index.d.cts +1 -0
  269. package/dist/testing/index.d.ts +1 -0
  270. package/dist/testing/index.js +3 -0
  271. package/dist/testing/index.js.map +1 -0
  272. package/package.json +608 -584
  273. package/dist/backoff-HPZMEZNF.js +0 -1
  274. package/dist/cascading-BglDkMdX.d.cts +0 -199
  275. package/dist/cascading-MFgxu7Yo.d.ts +0 -199
  276. package/dist/chunk-2T7U5EU6.js +0 -1
  277. package/dist/chunk-3G5U5QNE.js +0 -5
  278. package/dist/chunk-4VVTGLXJ.js +0 -1
  279. package/dist/chunk-5M4CCMMD.js +0 -45
  280. package/dist/chunk-5QDBSZBV.js +0 -1
  281. package/dist/chunk-5XJ6B66J.js +0 -1
  282. package/dist/chunk-6QZNQS5B.js +0 -1
  283. package/dist/chunk-6X7AFUJV.js +0 -9
  284. package/dist/chunk-7K6PWTDQ.js +0 -1
  285. package/dist/chunk-7LIAPXJB.js +0 -1
  286. package/dist/chunk-7WPU3UHQ.js +0 -1
  287. package/dist/chunk-A5WCQ5NO.js +0 -1
  288. package/dist/chunk-APPIWSGD.js +0 -84
  289. package/dist/chunk-BEZWM2SY.js +0 -1
  290. package/dist/chunk-C72GO4IZ.js +0 -1
  291. package/dist/chunk-CB676TKJ.js +0 -1
  292. package/dist/chunk-CE6TI2TL.js +0 -1
  293. package/dist/chunk-CE72X3WO.js +0 -1
  294. package/dist/chunk-CK2E7BTU.js +0 -1
  295. package/dist/chunk-CLVB32RD.js +0 -1
  296. package/dist/chunk-CRVT7D2P.js +0 -1
  297. package/dist/chunk-D5RFJOZ2.js +0 -1
  298. package/dist/chunk-D7GPHKFH.js +0 -1
  299. package/dist/chunk-DHRX7JX4.js +0 -2
  300. package/dist/chunk-ESMPEKEV.js +0 -1
  301. package/dist/chunk-F672GV32.js +0 -1
  302. package/dist/chunk-FZMYDOWV.js +0 -1
  303. package/dist/chunk-GHBWHMRZ.js +0 -1
  304. package/dist/chunk-GLERH466.js +0 -1
  305. package/dist/chunk-GPW2V3RE.js +0 -1
  306. package/dist/chunk-HIDYF36O.js +0 -1
  307. package/dist/chunk-HITNVN6B.js +0 -3
  308. package/dist/chunk-HY4DJBA7.js +0 -5
  309. package/dist/chunk-KZIEYVXN.js +0 -1
  310. package/dist/chunk-L6NSJVJZ.js +0 -1
  311. package/dist/chunk-N4MQX6JU.js +0 -18
  312. package/dist/chunk-N7FHEL4D.js +0 -1
  313. package/dist/chunk-NTEURFZH.js +0 -1
  314. package/dist/chunk-OIVP6KFV.js +0 -1
  315. package/dist/chunk-OPHBU3LG.js +0 -1
  316. package/dist/chunk-OYQOZP2F.js +0 -5
  317. package/dist/chunk-PTZK576G.js +0 -1
  318. package/dist/chunk-QYADASLV.js +0 -1
  319. package/dist/chunk-ST7UXLWR.js +0 -1
  320. package/dist/chunk-SVY7VUYU.js +0 -1
  321. package/dist/chunk-TK3NWWD4.js +0 -1
  322. package/dist/chunk-TSOYJ743.js +0 -1
  323. package/dist/chunk-UNGSTR4X.js +0 -61
  324. package/dist/chunk-VIMF6LGM.js +0 -1
  325. package/dist/chunk-VJLMUKOI.js +0 -1
  326. package/dist/chunk-VN6RDSK2.js +0 -1
  327. package/dist/chunk-VV4N5P64.js +0 -1
  328. package/dist/chunk-W3I423PS.js +0 -1
  329. package/dist/chunk-WJR24TAG.js +0 -1
  330. package/dist/chunk-XTGKMHSW.js +0 -1
  331. package/dist/chunk-YBB7ZGTY.js +0 -1
  332. package/dist/chunk-Z4NPUARF.js +0 -1
  333. package/dist/chunk-ZGNQRPDT.js +0 -1
  334. package/dist/chunk-ZKPSFFKU.js +0 -1
  335. package/dist/chunk-ZLV5SQSX.js +0 -1
  336. package/dist/content-addressed-storage-4-ST1tYk.d.cts +0 -124
  337. package/dist/content-addressed-storage-DuYMjV7o.d.ts +0 -124
  338. package/dist/decay-BvOWTZ00.d.ts +0 -112
  339. package/dist/decay-CFlLvXUT.d.cts +0 -112
  340. package/dist/fallback-74oxi34l.d.cts +0 -250
  341. package/dist/fallback-DUyyBTBK.d.ts +0 -250
  342. package/dist/graph-CWvEUQAq.d.cts +0 -1861
  343. package/dist/graph-D9LFnda9.d.ts +0 -1861
  344. package/dist/index-5k1T6jl0.d.cts +0 -121
  345. package/dist/index-9770hRuQ.d.cts +0 -779
  346. package/dist/index-B-_tFaqV.d.cts +0 -468
  347. package/dist/index-B17QddL1.d.cts +0 -374
  348. package/dist/index-B1F8Enjf.d.ts +0 -704
  349. package/dist/index-B5S8ULbU.d.ts +0 -515
  350. package/dist/index-B8YnZpIR.d.ts +0 -102
  351. package/dist/index-BHskSB8v.d.ts +0 -3413
  352. package/dist/index-BIYAkbAi.d.cts +0 -26
  353. package/dist/index-BQSKmbuG.d.cts +0 -127
  354. package/dist/index-BaQaY_IQ.d.cts +0 -231
  355. package/dist/index-BmZXHqkE.d.ts +0 -36
  356. package/dist/index-BoJ5JHxI.d.ts +0 -557
  357. package/dist/index-BocU7pqs.d.ts +0 -779
  358. package/dist/index-BrPrLl4e.d.cts +0 -86
  359. package/dist/index-BxNs2HB9.d.cts +0 -1858
  360. package/dist/index-Byu-OpX_.d.ts +0 -113
  361. package/dist/index-C1T3d7V-.d.cts +0 -704
  362. package/dist/index-C5ri2Axc.d.cts +0 -301
  363. package/dist/index-C5stwKcw.d.cts +0 -44
  364. package/dist/index-C9l6OEBL.d.ts +0 -26
  365. package/dist/index-CBBLl_rc.d.ts +0 -127
  366. package/dist/index-CBGUK09R.d.ts +0 -754
  367. package/dist/index-CC-AvFTy.d.cts +0 -557
  368. package/dist/index-CJF1URuX.d.ts +0 -121
  369. package/dist/index-CK29LV56.d.cts +0 -34
  370. package/dist/index-CMh5Rz1y.d.ts +0 -385
  371. package/dist/index-CPQlGA29.d.ts +0 -34
  372. package/dist/index-CR8QpwX8.d.ts +0 -2680
  373. package/dist/index-CS0LTlB8.d.cts +0 -385
  374. package/dist/index-CSOmP7xT.d.cts +0 -291
  375. package/dist/index-CYq8vAyV.d.ts +0 -291
  376. package/dist/index-CZ3r5Rxp.d.ts +0 -374
  377. package/dist/index-CasX6Pfq.d.cts +0 -358
  378. package/dist/index-CdAlHFEt.d.ts +0 -44
  379. package/dist/index-CdTelp1M.d.ts +0 -202
  380. package/dist/index-CeFiHtAg.d.ts +0 -468
  381. package/dist/index-Cj3WohTd.d.cts +0 -202
  382. package/dist/index-Climxqsu.d.cts +0 -754
  383. package/dist/index-Co7uli2l.d.cts +0 -3413
  384. package/dist/index-CviRnE4K.d.ts +0 -45
  385. package/dist/index-Cwv0KWcU.d.cts +0 -102
  386. package/dist/index-CzLVrjxn.d.ts +0 -231
  387. package/dist/index-D0aciIex.d.cts +0 -209
  388. package/dist/index-DHen9Klo.d.ts +0 -1858
  389. package/dist/index-DV_1YuVk.d.cts +0 -221
  390. package/dist/index-Dc4AYqrJ.d.cts +0 -515
  391. package/dist/index-Dgl1HpPn.d.ts +0 -86
  392. package/dist/index-DisjX8a-.d.ts +0 -221
  393. package/dist/index-UPSiS-X7.d.cts +0 -2680
  394. package/dist/index-Yq60JP3s.d.ts +0 -209
  395. package/dist/index-ZVQhLa2i.d.cts +0 -37
  396. package/dist/index-_6ODbuOu.d.cts +0 -45
  397. package/dist/index-hcDJ8PSI.d.cts +0 -36
  398. package/dist/index-nozs3fFC.d.ts +0 -301
  399. package/dist/index-p09KSrTN.d.ts +0 -358
  400. package/dist/index-sqkqlb1p.d.ts +0 -37
  401. package/dist/index-tRCxuAXF.d.cts +0 -113
  402. package/dist/node-kK3CvTrR.d.cts +0 -1347
  403. package/dist/node-kK3CvTrR.d.ts +0 -1347
  404. package/dist/observable-DWjNfLvC.d.ts +0 -36
  405. package/dist/observable-e3eiPPFy.d.cts +0 -36
  406. package/dist/pipeline-graph-CIKhynsF.d.cts +0 -142
  407. package/dist/pipeline-graph-Sgj0gCwn.d.ts +0 -142
  408. package/dist/reactive-layout-DOTs9P3X.d.ts +0 -183
  409. package/dist/reactive-layout-DgctbqZo.d.cts +0 -183
  410. package/dist/reactive-log-BKALbfal.d.ts +0 -223
  411. package/dist/reactive-log-DIGdYqQ6.d.cts +0 -223
  412. package/dist/reactive-map-CEFGp8TK.d.cts +0 -296
  413. package/dist/reactive-map-DS_SIAxv.d.ts +0 -296
  414. package/dist/resilience-6LYQJAC5.js +0 -1
  415. package/dist/sugar-DQjFmVqb.d.cts +0 -399
  416. package/dist/sugar-fhLIE7TT.d.ts +0 -399
  417. package/dist/topology-tree-Bcz27hpF.d.cts +0 -25
  418. package/dist/topology-tree-xvaD0fOX.d.ts +0 -25
  419. package/dist/types-C0_yquda.d.cts +0 -442
  420. package/dist/types-CWFysE9E.d.ts +0 -442
@@ -1,399 +0,0 @@
1
- import { w as NodeDescribeKind, N as Node, A as Actor, F as FnCtx, c as NodeActions, y as NodeFnCleanup, a as NodeOptions } from './node-kK3CvTrR.js';
2
-
3
- /**
4
- * JSON-shaped slice of a node for `Graph.describe()`
5
- * (GRAPHREFLY-SPEC §3.6, Appendix B).
6
- */
7
- type DescribeNodeOutput = {
8
- type: NodeDescribeKind;
9
- status?: Node["status"];
10
- deps: string[];
11
- meta?: Record<string, unknown>;
12
- name?: string;
13
- value?: unknown;
14
- /** True when the node is in `"sentinel"` state (no value ever). */
15
- sentinel?: boolean;
16
- v?: {
17
- id: string;
18
- version: number;
19
- cid?: string;
20
- prev?: string | null;
21
- };
22
- guard?: string;
23
- lastMutation?: Readonly<{
24
- actor: Actor;
25
- timestamp_ns: number;
26
- }>;
27
- /**
28
- * Latest annotation attached via `graph.trace(path, annotation)` or via
29
- * `graph.add(node, { name: path, annotation })`, when present. Populated by
30
- * `Graph.describe` only — `describeNode` has no graph context.
31
- */
32
- annotation?: string;
33
- };
34
- /**
35
- * Detail level for progressive disclosure (Phase 3.3b).
36
- *
37
- * - `"minimal"` — `type`, `deps` only.
38
- * - `"standard"` — minimal + `status`, `value`, `meta`, `v`.
39
- * - `"full"` — every field.
40
- * - `"spec"` — Tier 1.5.3 (Session A.1 lock + Phase 3 path (b)). Projects
41
- * spec-relevant fields (`type`, `deps`, `meta` — including
42
- * `meta.factory` / `meta.factoryArgs`) and strips runtime fields
43
- * (`status`, `lastMutation`, `guard`, `sentinel`, `v`). **Retains
44
- * `value` for state nodes only** so the seed initial value round-trips
45
- * through `decompileSpec` → `compileSpec` without forcing every state
46
- * constructor to spawn `meta.factory`/`factoryArgs` companion nodes.
47
- * The output is structurally identical to the `GraphSpec` shape so
48
- * `decompileSpec(g) === describe(g, { detail: "spec" })`.
49
- */
50
- type DescribeDetail = "minimal" | "standard" | "full" | "spec";
51
- /** Valid field names for `describe({ fields: [...] })`. */
52
- type DescribeField = "type" | "status" | "value" | "deps" | "meta" | "v" | "guard" | "lastMutation" | `meta.${string}`;
53
- /** Resolve which fields to include based on detail level or explicit field list. */
54
- declare function resolveDescribeFields(detail?: DescribeDetail, fields?: readonly DescribeField[]): Set<string> | null;
55
- /**
56
- * Walk an arbitrary value, replacing non-JSON-serializable fields with
57
- * descriptive string placeholders (Tier 1.5.3 Phase 2.5 — DG2=ii). Useful for
58
- * `Graph.prototype.tagFactory(name, args)` when the factory's options include
59
- * `LLMAdapter` instances, callbacks, or `Node`s that don't survive
60
- * serialization. Output preserves structure for documentation / audit value;
61
- * recipients of the spec see "<Node>" / "<function>" / etc. in place of the
62
- * unserializable bits.
63
- *
64
- * Heuristics:
65
- * - `null` / `undefined` / boolean / number / string — kept as-is.
66
- * - `function` — `"<function>"`.
67
- * - Object with `subscribe` method — `"<Node>"` (matches Node-shape duck check).
68
- * - Array — recursed.
69
- * - Plain object — recursed.
70
- * - Anything else — `"<unserializable>"`.
71
- *
72
- * **`undefined`-key caveat (DF11, 2026-04-29 doc lock).** Keys whose value
73
- * is `undefined` survive `placeholderArgs` (they are kept as-is per the
74
- * heuristic above). However, `JSON.stringify` DROPS such keys at the
75
- * serialization boundary, so a spec round-trip via `toJSONString` does
76
- * not preserve them. Callers that need `undefined` to round-trip must
77
- * substitute an explicit sentinel (e.g. `null`) before tagging — meta-
78
- * vs-spec disagreement at the JSON boundary is otherwise inevitable.
79
- */
80
- declare function placeholderArgs(opts: Record<string, unknown>): Record<string, unknown>;
81
- /**
82
- * Build a `meta` fragment that stamps a factory identifier and its construction
83
- * arguments onto a node, so `describe({ detail: "spec" })` exposes enough
84
- * information for `compileSpec` to recreate the node from the snapshot.
85
- *
86
- * Use inside node-producing factories at construction time:
87
- *
88
- * ```ts
89
- * import { factoryTag } from "@graphrefly/graphrefly";
90
- *
91
- * export function rateLimiter<T>(source: NodeInput<T>, opts: RateLimiterOptions): Node<T> {
92
- * return derived([fromAny(source)], fn, {
93
- * name: "rate-limiter",
94
- * meta: { ...factoryTag("rateLimiter", opts), domain: "resilience" },
95
- * });
96
- * }
97
- * ```
98
- *
99
- * `factoryArgs` should be JSON-serializable so the spec round-trips through
100
- * `decompileSpec → compileSpec`. Function-typed args break determinism — use
101
- * the {@link COMPOSITION-GUIDE} §39 `meta.fnId` pattern for those.
102
- *
103
- * Tier 1.5.3 (Session A.1 lock).
104
- */
105
- declare function factoryTag(factory: string, factoryArgs?: unknown): {
106
- factory: string;
107
- factoryArgs?: unknown;
108
- };
109
-
110
- /**
111
- * Sugar constructors over the raw `node()` primitive.
112
- *
113
- * Each factory wraps a user-friendly function into the canonical
114
- * `NodeFn = (data, actions, ctx) => cleanup | void` shape, then calls
115
- * `node(...)`. This is the only place `actions.emit(...)` is invoked
116
- * on behalf of the user — if you need finer control (multi-emission,
117
- * raw `actions.down` / `actions.up`, cleanup return), use the raw
118
- * `node()` factory from `./node.js` directly.
119
- *
120
- * See SESSION-foundation-redesign.md §8.5 + §10.6 for the rewrite.
121
- */
122
-
123
- /**
124
- * Creates a manual source node. Drive it with `state.emit(v)` (framed,
125
- * diamond-safe) or `state.down([[DATA, v]])` (raw compat path).
126
- *
127
- * **Sentinel form.** Omit `initial` (or pass `undefined`) to leave the
128
- * node in `"sentinel"` status — the canonical "no value yet" state.
129
- * Downstream `derived` first-run gate then waits for the first real DATA
130
- * before firing. Pass an explicit `null` to cache `null` as DATA — `null`
131
- * is a valid DATA value per spec §2.2 ("`T | null` is the only valid DATA
132
- * domain; `undefined` is reserved as the global SENTINEL").
133
- *
134
- * @example
135
- * ```ts
136
- * import { state, derived } from "@graphrefly/graphrefly";
137
- *
138
- * // Cached form — starts at 10, derived fires immediately on subscribe.
139
- * const counter = state(10);
140
- *
141
- * // Sentinel form — derived's first-run gate waits for the first emit.
142
- * const candidates = state<readonly string[]>();
143
- * const ready = derived([candidates], ([cands]) => cands.length > 0);
144
- * candidates.emit(["v1"]); // ready fires now
145
- * ```
146
- *
147
- * @param initial - Starting cached value (optional). Omit or pass
148
- * `undefined` for the sentinel form; pass `null` to cache `null`.
149
- * @param opts - Optional {@link NodeOptions} (excluding `initial`).
150
- */
151
- declare function state<T>(initial?: T, opts?: Omit<NodeOptions<T>, "initial">): Node<T>;
152
- /**
153
- * User-level producer compute: runs once on first-subscriber activation.
154
- * Receives `actions` for imperative emission and `ctx` for FnCtx (typically
155
- * only `store` is useful on a producer — no deps means `prevData` and
156
- * `terminalDeps` are empty).
157
- */
158
- type ProducerFn = (actions: NodeActions, ctx: FnCtx) => NodeFnCleanup | void;
159
- /**
160
- * Creates a producer node with no deps; `fn` runs once when the first
161
- * subscriber connects. Return a cleanup function (`() => void` — fires on
162
- * every transition) or an object with granular hooks
163
- * (`{ beforeRun?, deactivate?, invalidate? }` — each hook fires on its named
164
- * transition only) to register teardown. See {@link NodeFnCleanup}.
165
- *
166
- * @example
167
- * ```ts
168
- * const ticker = producer((actions) => {
169
- * const id = setInterval(() => actions.emit(Date.now()), 1000);
170
- * return () => clearInterval(id);
171
- * });
172
- * ```
173
- */
174
- declare function producer<T = unknown>(fn: ProducerFn, opts?: NodeOptions<T>): Node<T>;
175
- /**
176
- * User-level derived compute: receives the latest DATA from each dep and
177
- * returns the new value. The sugar wraps it with `actions.emit(fn(...))`
178
- * so the return value flows through the framed emit pipeline.
179
- *
180
- * For derived nodes that need to inspect `ctx.prevData` / `ctx.terminalDeps`
181
- * / `ctx.store`, accept the optional second parameter.
182
- */
183
- type DerivedFn<T> = (data: readonly unknown[], ctx: FnCtx) => T | undefined | null;
184
- /**
185
- * Creates a derived node that computes **one output per wave** from the latest
186
- * value of each dependency — **snapshot / combine semantics**.
187
- *
188
- * `fn` receives one scalar per dep (the last DATA value seen this wave, or the
189
- * prior-wave value as fallback). It is called once per settled wave and emits
190
- * a single value via `actions.emit`. The equals check then suppresses the
191
- * emission as `RESOLVED` if the output has not changed.
192
- *
193
- * **Not for streaming one-to-one transforms.** If each DATA value in a batch
194
- * must produce a corresponding output (e.g. transforming every item emitted by
195
- * `fromIter` individually), use {@link map} or raw `node()` with full batch
196
- * iteration instead. `derived` only sees the *last* value per dep when a batch
197
- * carries multiple DATAs.
198
- *
199
- * @example
200
- * ```ts
201
- * const a = state(1);
202
- * const b = derived([a], ([x]) => (x as number) * 2);
203
- * ```
204
- */
205
- declare function derived<T = unknown>(deps: readonly Node[], fn: DerivedFn<T>, opts?: NodeOptions<T>): Node<T>;
206
- /**
207
- * Maps a tuple of `Node<V>`s to a tuple of `V`s. Used by {@link derivedT}
208
- * and {@link effectT} to propagate dep value types into the callback's
209
- * `data` parameter — eliminating per-callsite `as` casts.
210
- */
211
- type NodeValues<TDeps extends readonly Node<unknown>[]> = {
212
- readonly [K in keyof TDeps]: TDeps[K] extends Node<infer V> ? V : never;
213
- };
214
- /**
215
- * Typed callback for {@link derivedT}. Each tuple element corresponds
216
- * positionally to the matching dep's value type.
217
- */
218
- type DerivedTFn<TDeps extends readonly Node<unknown>[], TOut> = (data: NodeValues<TDeps>, ctx: FnCtx) => TOut | undefined | null;
219
- /**
220
- * Typed callback for {@link effectT}. Each tuple element corresponds
221
- * positionally to the matching dep's value type.
222
- */
223
- type EffectTFn<TDeps extends readonly Node<unknown>[]> = (data: NodeValues<TDeps>, actions: NodeActions, ctx: FnCtx) => NodeFnCleanup | void;
224
- /**
225
- * Typed-tuple variant of {@link derived}. Use when the dep types matter at
226
- * the callback boundary — `data` is inferred as a tuple of dep value types
227
- * instead of `readonly unknown[]`.
228
- *
229
- * Same runtime semantics as {@link derived} (first-run gate, snapshot
230
- * combine semantics, equals substitution).
231
- *
232
- * **`partial: true` is rejected at the type level (qa F-E, 2026-04-29).**
233
- * Tuple slots in `NodeValues<TDeps>` resolve to `V` (never `V | undefined`),
234
- * but `partial: true` lets fn run before every dep has fired. The two are
235
- * unsound together — fn would receive `undefined` for an unfired dep but
236
- * see it typed as `V`. Callers needing partial firing keep using untyped
237
- * {@link derived} where `data` is `readonly unknown[]` and the
238
- * `=== undefined` guard is sanctioned (COMPOSITION-GUIDE §3 partial-true
239
- * exception).
240
- *
241
- * @example
242
- * ```ts
243
- * const a = state(1);
244
- * const b = state("hi");
245
- * // sum: number, label: string — no casts needed.
246
- * const out = derivedT([a, b], ([sum, label]) => `${label}:${sum * 2}`);
247
- * ```
248
- */
249
- declare function derivedT<TDeps extends readonly Node<unknown>[], TOut>(deps: TDeps, fn: DerivedTFn<TDeps, TOut>, opts?: Omit<NodeOptions<TOut>, "partial"> & {
250
- partial?: false;
251
- }): Node<TOut>;
252
- /**
253
- * User-level effect compute: fires when deps settle. Return value is NOT
254
- * auto-emitted — use `actions.emit(v)` / `actions.down(msgs)` explicitly if
255
- * the effect also wants to produce downstream messages. Return a cleanup
256
- * function (`() => void`) or an object with granular hooks
257
- * (`{ beforeRun?, deactivate?, invalidate? }`) to register teardown.
258
- * See {@link NodeFnCleanup}.
259
- */
260
- type EffectFn = (data: readonly unknown[], actions: NodeActions, ctx: FnCtx) => NodeFnCleanup | void;
261
- /**
262
- * Typed-tuple variant of {@link effect}. Use when the dep types matter at
263
- * the callback boundary — `data` is inferred as a tuple of dep value types
264
- * instead of `readonly unknown[]`.
265
- *
266
- * Same runtime semantics as {@link effect} (first-run gate, no auto-emit,
267
- * cleanup contract).
268
- *
269
- * **`partial: true` is rejected at the type level (qa F-E, 2026-04-29).**
270
- * See {@link derivedT} for the soundness rationale.
271
- *
272
- * @example
273
- * ```ts
274
- * const user = state<User | null>(null);
275
- * const cfg = state<Config>(defaultCfg);
276
- * effectT([user, cfg], ([u, c]) => {
277
- * if (u != null) hydrate(u, c);
278
- * });
279
- * ```
280
- */
281
- declare function effectT<TDeps extends readonly Node<unknown>[]>(deps: TDeps, fn: EffectTFn<TDeps>, opts?: Omit<NodeOptions<unknown>, "partial"> & {
282
- partial?: false;
283
- }): Node<unknown>;
284
- /**
285
- * Runs a side-effect when deps settle. Return value is not auto-emitted.
286
- *
287
- * @example
288
- * ```ts
289
- * effect([source], ([v]) => {
290
- * console.log(v);
291
- * });
292
- * ```
293
- */
294
- declare function effect(deps: readonly Node[], fn: EffectFn, opts?: NodeOptions<unknown>): Node<unknown>;
295
- /**
296
- * Proxy handed to a {@link DynamicFn}. `track(dep)` returns the dep's
297
- * latest DATA payload, as delivered through the protocol. Reading from
298
- * `track` does NOT bypass the message protocol — it reads the internal
299
- * `DepRecord.prevData` (the stable end-of-previous-wave value) that
300
- * `_onDepMessage` already populated. If a dep has not yet sent DATA,
301
- * `track` returns `undefined`.
302
- */
303
- type TrackFn = (dep: Node) => unknown;
304
- /** User-level dynamicNode compute. */
305
- type DynamicFn<T> = (track: TrackFn, ctx: FnCtx) => T | undefined | null;
306
- /**
307
- * Sugar over `derived(...)` that exposes dep values via a `track(dep)`
308
- * proxy instead of positional `data[i]`. All declared `allDeps` participate
309
- * in wave tracking, so the first fn run waits for every dep to settle.
310
- * Unused deps that update just re-run fn; `equals` absorbs unchanged
311
- * outputs as RESOLVED.
312
- *
313
- * P3-compliant: `track(dep)` reads from the framework-managed
314
- * `DepRecord.prevData` populated by the protocol, never from
315
- * `dep.cache`.
316
- *
317
- * @example
318
- * ```ts
319
- * const a = state(1);
320
- * const b = state(10);
321
- * const sum = dynamicNode([a, b], (track) => (track(a) as number) + (track(b) as number));
322
- * ```
323
- */
324
- declare function dynamicNode<T = unknown>(allDeps: readonly Node[], fn: DynamicFn<T>, opts?: NodeOptions<T> & {
325
- partial?: boolean;
326
- }): Node<T>;
327
- /**
328
- * Like {@link dynamicNode} but deps are discovered at runtime via `track()`
329
- * calls — no upfront `allDeps` array needed. Designed for pull-based compat
330
- * layers (Jotai atoms, TC39 Signals) where deps are unknown until fn runs.
331
- *
332
- * **Two-phase discovery:**
333
- * 1. fn runs. Each `track(dep)` for an unknown dep: subscribes immediately
334
- * via `_addDep`, returns `dep.cache` as a stub (P3 boundary exception).
335
- * Result is discarded (discovery run).
336
- * 2. New deps settle (DATA from subscribe handshake). Wave machinery
337
- * re-triggers fn. `track(dep)` now returns protocol-delivered `data[i]`.
338
- * If MORE unknown deps appear, repeat step 1.
339
- * 3. Converges when no new deps found → real run → `actions.emit(result)`.
340
- *
341
- * P3 violation is limited to discovery runs. Once all deps are known,
342
- * subsequent waves use protocol-delivered values exclusively.
343
- *
344
- * Re-entrance safety: `_addDep` subscribes immediately. If the dep delivers
345
- * DATA synchronously during fn execution, `_execFn`'s re-entrance guard
346
- * defers the re-run to after the current fn returns.
347
- *
348
- * @param opts - Optional {@link AutoTrackOptions}. Pass `{ partial: true }` to
349
- * allow fn to run before all known deps have delivered their first value
350
- * (useful for optional/secondary deps).
351
- *
352
- * @example
353
- * ```ts
354
- * const a = state(1), b = state(2);
355
- * const sum = autoTrackNode((track) => track(a) + track(b));
356
- * // deps [a, b] discovered automatically on first run
357
- * ```
358
- */
359
- /**
360
- * Options for {@link autoTrackNode}.
361
- */
362
- interface AutoTrackOptions<T> extends NodeOptions<T> {
363
- /**
364
- * When `true`, fn may run before all known deps have delivered their first
365
- * DATA. Unknown deps return `undefined` via `track()`, which the fn must
366
- * handle explicitly. Useful when some deps are "nice-to-have" — e.g. a
367
- * primary computation should continue while a secondary dep is still
368
- * initialising.
369
- *
370
- * When `false` (default), fn is held until every declared dep has delivered
371
- * at least one DATA value — core's first-run gate (spec §2.7) handles this.
372
- * Delegates to {@link NodeOptions.partial}; both semantics are aligned: the
373
- * gate is first-run-only (`_hasCalledFnOnce`), so INVALIDATE on a dep does
374
- * NOT re-gate after fn has fired once. Pull-based compat layers (Signals,
375
- * Jotai) that rely on "consistent compute across INVALIDATE" should
376
- * explicitly wrap their dep reads with null/undefined handling in fn.
377
- *
378
- * @default false
379
- */
380
- partial?: boolean;
381
- }
382
- declare function autoTrackNode<T = unknown>(fn: (track: TrackFn, ctx: FnCtx) => T | undefined | null, opts?: AutoTrackOptions<T>): Node<T>;
383
- /** Unary operator used by {@link pipe}. */
384
- type PipeOperator = (n: Node) => Node;
385
- /**
386
- * Composes unary operators left-to-right; returns the final node.
387
- *
388
- * @example
389
- * ```ts
390
- * const out = pipe(
391
- * source,
392
- * (n) => map(n, (x) => x + 1),
393
- * (n) => filter(n, (x) => x > 0),
394
- * );
395
- * ```
396
- */
397
- declare function pipe(source: Node, ...ops: PipeOperator[]): Node;
398
-
399
- export { type AutoTrackOptions as A, type DescribeNodeOutput as D, type EffectFn as E, type NodeValues as N, type PipeOperator as P, type TrackFn as T, type DerivedFn as a, type DerivedTFn as b, type DescribeDetail as c, type DescribeField as d, type DynamicFn as e, type EffectTFn as f, type ProducerFn as g, autoTrackNode as h, derived as i, derivedT as j, dynamicNode as k, effect as l, effectT as m, factoryTag as n, placeholderArgs as o, pipe as p, producer as q, resolveDescribeFields as r, state as s };
@@ -1,25 +0,0 @@
1
- import { G as Graph, T as TopologyEvent } from './graph-CWvEUQAq.cjs';
2
-
3
- /**
4
- * Subscribe to structural changes across `graph` and every transitively
5
- * mounted subgraph. `cb` fires on every {@link TopologyEvent} from any
6
- * graph in the tree. Newly-mounted subgraphs are auto-wired when their
7
- * parent emits `{kind: "added", nodeKind: "mount"}`; newly-unmounted
8
- * subgraphs' subscriptions are disposed via the parent's
9
- * `{kind: "removed", nodeKind: "mount"}` event plus the returned
10
- * `GraphRemoveAudit`.
11
- *
12
- * The callback receives a third argument `prefix`: the `::`-delimited
13
- * path from the root watched graph to the emitter, ending with `"::"`
14
- * (empty string when the event comes from the root itself). Compute
15
- * a qualified path for an added/removed entry as `prefix + event.name`.
16
- *
17
- * @param graph - Root graph to watch.
18
- * @param cb - Receives `(event, emitterGraph, prefix)`.
19
- * @returns Dispose function — tears down every active subscription.
20
- *
21
- * @category observability
22
- */
23
- declare function watchTopologyTree(graph: Graph, cb: (event: TopologyEvent, emitter: Graph, prefix: string) => void): () => void;
24
-
25
- export { watchTopologyTree as w };
@@ -1,25 +0,0 @@
1
- import { G as Graph, T as TopologyEvent } from './graph-D9LFnda9.js';
2
-
3
- /**
4
- * Subscribe to structural changes across `graph` and every transitively
5
- * mounted subgraph. `cb` fires on every {@link TopologyEvent} from any
6
- * graph in the tree. Newly-mounted subgraphs are auto-wired when their
7
- * parent emits `{kind: "added", nodeKind: "mount"}`; newly-unmounted
8
- * subgraphs' subscriptions are disposed via the parent's
9
- * `{kind: "removed", nodeKind: "mount"}` event plus the returned
10
- * `GraphRemoveAudit`.
11
- *
12
- * The callback receives a third argument `prefix`: the `::`-delimited
13
- * path from the root watched graph to the emitter, ending with `"::"`
14
- * (empty string when the event comes from the root itself). Compute
15
- * a qualified path for an added/removed entry as `prefix + event.name`.
16
- *
17
- * @param graph - Root graph to watch.
18
- * @param cb - Receives `(event, emitterGraph, prefix)`.
19
- * @returns Dispose function — tears down every active subscription.
20
- *
21
- * @category observability
22
- */
23
- declare function watchTopologyTree(graph: Graph, cb: (event: TopologyEvent, emitter: Graph, prefix: string) => void): () => void;
24
-
25
- export { watchTopologyTree as w };