@graphrefly/ts 0.0.0 → 0.0.2

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 (405) hide show
  1. package/README.md +135 -0
  2. package/dist/actions-types-CSC3NMDl.d.ts +657 -0
  3. package/dist/actions-types-wl9Mgkmr.d.cts +657 -0
  4. package/dist/adapters/index.cjs +5219 -2974
  5. package/dist/adapters/index.cjs.map +1 -1
  6. package/dist/adapters/index.d.cts +204 -192
  7. package/dist/adapters/index.d.ts +204 -192
  8. package/dist/adapters/index.js +3685 -1833
  9. package/dist/adapters/index.js.map +1 -1
  10. package/dist/adapters/nestjs/microservices.cjs +841 -0
  11. package/dist/adapters/nestjs/microservices.cjs.map +1 -0
  12. package/dist/adapters/nestjs/microservices.d.cts +45 -0
  13. package/dist/adapters/nestjs/microservices.d.ts +45 -0
  14. package/dist/adapters/nestjs/microservices.js +206 -0
  15. package/dist/adapters/nestjs/microservices.js.map +1 -0
  16. package/dist/adapters/nestjs/native.cjs +1391 -0
  17. package/dist/adapters/nestjs/native.cjs.map +1 -0
  18. package/dist/adapters/nestjs/native.d.cts +111 -0
  19. package/dist/adapters/nestjs/native.d.ts +111 -0
  20. package/dist/adapters/nestjs/native.js +577 -0
  21. package/dist/adapters/nestjs/native.js.map +1 -0
  22. package/dist/adapters/nestjs/websockets.cjs +924 -0
  23. package/dist/adapters/nestjs/websockets.cjs.map +1 -0
  24. package/dist/adapters/nestjs/websockets.d.cts +47 -0
  25. package/dist/adapters/nestjs/websockets.d.ts +47 -0
  26. package/dist/adapters/nestjs/websockets.js +286 -0
  27. package/dist/adapters/nestjs/websockets.js.map +1 -0
  28. package/dist/adapters/nestjs.cjs +1085 -0
  29. package/dist/adapters/nestjs.cjs.map +1 -0
  30. package/dist/adapters/nestjs.d.cts +385 -0
  31. package/dist/adapters/nestjs.d.ts +385 -0
  32. package/dist/adapters/nestjs.js +112 -0
  33. package/dist/adapters/nestjs.js.map +1 -0
  34. package/dist/adapters/observe-storage.d.cts +4 -4
  35. package/dist/adapters/observe-storage.d.ts +4 -4
  36. package/dist/adapters/observe-storage.js +5 -4
  37. package/dist/adapters/observe-storage.js.map +1 -1
  38. package/dist/adapters/react.cjs +166 -0
  39. package/dist/adapters/react.cjs.map +1 -0
  40. package/dist/adapters/react.d.cts +31 -0
  41. package/dist/adapters/react.d.ts +31 -0
  42. package/dist/adapters/react.js +51 -0
  43. package/dist/adapters/react.js.map +1 -0
  44. package/dist/adapters/solid.cjs +157 -0
  45. package/dist/adapters/solid.cjs.map +1 -0
  46. package/dist/adapters/solid.d.cts +26 -0
  47. package/dist/adapters/solid.d.ts +26 -0
  48. package/dist/adapters/solid.js +48 -0
  49. package/dist/adapters/solid.js.map +1 -0
  50. package/dist/adapters/svelte.cjs +148 -0
  51. package/dist/adapters/svelte.cjs.map +1 -0
  52. package/dist/adapters/svelte.d.cts +31 -0
  53. package/dist/adapters/svelte.d.ts +31 -0
  54. package/dist/adapters/svelte.js +46 -0
  55. package/dist/adapters/svelte.js.map +1 -0
  56. package/dist/adapters/vue.cjs +155 -0
  57. package/dist/adapters/vue.cjs.map +1 -0
  58. package/dist/adapters/vue.d.cts +26 -0
  59. package/dist/adapters/vue.d.ts +26 -0
  60. package/dist/adapters/vue.js +46 -0
  61. package/dist/adapters/vue.js.map +1 -0
  62. package/dist/agent-runtime-types-core-CaXfKNtY.d.cts +406 -0
  63. package/dist/agent-runtime-types-core-hU299uIC.d.ts +406 -0
  64. package/dist/agent-runtime-types-tool-BEpSINol.d.ts +695 -0
  65. package/dist/agent-runtime-types-tool-DninPEzk.d.cts +695 -0
  66. package/dist/agentic-memory-retention-BmGX368S.d.ts +14 -0
  67. package/dist/agentic-memory-retention-Ih1qhX9Z.d.cts +14 -0
  68. package/dist/agentic-memory-types-CVSUS6XR.d.ts +473 -0
  69. package/dist/agentic-memory-types-FnnYlVUs.d.cts +473 -0
  70. package/dist/capability-admission-BW2CziT6.d.ts +102 -0
  71. package/dist/capability-admission-lwSecxXs.d.cts +102 -0
  72. package/dist/chunk-2KUAG2GZ.js +9693 -0
  73. package/dist/chunk-2KUAG2GZ.js.map +1 -0
  74. package/dist/chunk-2NJP6GO4.js +1320 -0
  75. package/dist/chunk-2NJP6GO4.js.map +1 -0
  76. package/dist/{chunk-GDL26N2T.js → chunk-3KN7NJDR.js} +2 -2
  77. package/dist/{chunk-COHO25CZ.js → chunk-4NWSNI4K.js} +2232 -1672
  78. package/dist/chunk-4NWSNI4K.js.map +1 -0
  79. package/dist/{chunk-Z2ANQ6JW.js → chunk-4Q77MMJY.js} +2 -2
  80. package/dist/chunk-6E76H4OU.js +132 -0
  81. package/dist/chunk-6E76H4OU.js.map +1 -0
  82. package/dist/chunk-7GOTIIQ7.js +819 -0
  83. package/dist/chunk-7GOTIIQ7.js.map +1 -0
  84. package/dist/{chunk-D6BG7U6A.js → chunk-7HZRJMN6.js} +3 -3
  85. package/dist/{chunk-SCRFRCGR.js → chunk-BSQGE5PS.js} +1 -1
  86. package/dist/{chunk-PKVBHGBM.js → chunk-CJIFGJQG.js} +7 -7
  87. package/dist/{chunk-G4M3NHRJ.js → chunk-CX6B6PO2.js} +93 -10
  88. package/dist/chunk-CX6B6PO2.js.map +1 -0
  89. package/dist/chunk-DGUM43GV.js +11 -0
  90. package/dist/chunk-DGUM43GV.js.map +1 -0
  91. package/dist/{chunk-JIMUDQN3.js → chunk-E4QCH32M.js} +449 -447
  92. package/dist/chunk-E4QCH32M.js.map +1 -0
  93. package/dist/{chunk-RIIOUTGM.js → chunk-ECURQ3HD.js} +19 -129
  94. package/dist/chunk-ECURQ3HD.js.map +1 -0
  95. package/dist/{chunk-2ILL7HQI.js → chunk-EOKT4QFF.js} +134 -128
  96. package/dist/chunk-EOKT4QFF.js.map +1 -0
  97. package/dist/{chunk-K3FXTC3I.js → chunk-HJACH5PU.js} +3 -3
  98. package/dist/{chunk-GTPCOEOZ.js → chunk-IDMLXLLG.js} +3 -3
  99. package/dist/{chunk-DKP56CSW.js → chunk-JKAYLDQV.js} +2 -2
  100. package/dist/{chunk-4VLAQHZI.js → chunk-K7FB3JTD.js} +17 -1
  101. package/dist/chunk-K7FB3JTD.js.map +1 -0
  102. package/dist/chunk-L6LDXRWE.js +219 -0
  103. package/dist/chunk-L6LDXRWE.js.map +1 -0
  104. package/dist/chunk-M7J6Z4IJ.js +1930 -0
  105. package/dist/chunk-M7J6Z4IJ.js.map +1 -0
  106. package/dist/chunk-MQEQMS7B.js +1009 -0
  107. package/dist/chunk-MQEQMS7B.js.map +1 -0
  108. package/dist/chunk-MTELVIYR.js +1421 -0
  109. package/dist/chunk-MTELVIYR.js.map +1 -0
  110. package/dist/chunk-PVC7WDKI.js +885 -0
  111. package/dist/chunk-PVC7WDKI.js.map +1 -0
  112. package/dist/chunk-RAHNUYA5.js +368 -0
  113. package/dist/chunk-RAHNUYA5.js.map +1 -0
  114. package/dist/{chunk-DK554R7P.js → chunk-S6HXABGL.js} +2 -1
  115. package/dist/chunk-S6HXABGL.js.map +1 -0
  116. package/dist/{chunk-I3IHOHCJ.js → chunk-SHZDP2MQ.js} +1181 -1001
  117. package/dist/chunk-SHZDP2MQ.js.map +1 -0
  118. package/dist/{chunk-Y3ZLRGHC.js → chunk-SIDJO2T4.js} +16 -16
  119. package/dist/chunk-STXRMPW4.js +4131 -0
  120. package/dist/chunk-STXRMPW4.js.map +1 -0
  121. package/dist/{chunk-JR4IKCR2.js → chunk-TPND5MJS.js} +5 -5
  122. package/dist/chunk-TQPCAIQI.js +612 -0
  123. package/dist/chunk-TQPCAIQI.js.map +1 -0
  124. package/dist/chunk-UT3MHJCW.js +49 -0
  125. package/dist/chunk-UT3MHJCW.js.map +1 -0
  126. package/dist/{chunk-TEW47IVR.js → chunk-VPEFSDME.js} +2 -2
  127. package/dist/{chunk-SWTLEQL6.js → chunk-WQIA3GFB.js} +2 -2
  128. package/dist/chunk-WQIA3GFB.js.map +1 -0
  129. package/dist/{chunk-DJC4CHLQ.js → chunk-YDWBXXQZ.js} +5 -5
  130. package/dist/{chunk-6PHB5CJS.js → chunk-ZLFRB6FI.js} +2 -2
  131. package/dist/composition/index.cjs +1256 -1059
  132. package/dist/composition/index.cjs.map +1 -1
  133. package/dist/composition/index.d.cts +4 -4
  134. package/dist/composition/index.d.ts +4 -4
  135. package/dist/composition/index.js +7 -6
  136. package/dist/core/index.cjs +1218 -1021
  137. package/dist/core/index.cjs.map +1 -1
  138. package/dist/core/index.d.cts +2 -2
  139. package/dist/core/index.d.ts +2 -2
  140. package/dist/core/index.js +5 -4
  141. package/dist/cqrs/index.cjs.map +1 -1
  142. package/dist/cqrs/index.d.cts +4 -4
  143. package/dist/cqrs/index.d.ts +4 -4
  144. package/dist/cqrs/index.js +3 -2
  145. package/dist/cqrs/index.js.map +1 -1
  146. package/dist/cqrs/messaging.cjs +312 -0
  147. package/dist/cqrs/messaging.cjs.map +1 -0
  148. package/dist/cqrs/messaging.d.cts +57 -0
  149. package/dist/cqrs/messaging.d.ts +57 -0
  150. package/dist/cqrs/messaging.js +274 -0
  151. package/dist/cqrs/messaging.js.map +1 -0
  152. package/dist/cqrs/work-queue.cjs +329 -0
  153. package/dist/cqrs/work-queue.cjs.map +1 -0
  154. package/dist/cqrs/work-queue.d.cts +90 -0
  155. package/dist/cqrs/work-queue.d.ts +90 -0
  156. package/dist/cqrs/work-queue.js +292 -0
  157. package/dist/cqrs/work-queue.js.map +1 -0
  158. package/dist/data/index.cjs +19 -0
  159. package/dist/data/index.cjs.map +1 -0
  160. package/dist/data/index.d.cts +36 -0
  161. package/dist/data/index.d.ts +36 -0
  162. package/dist/data/index.js +1 -0
  163. package/dist/data/index.js.map +1 -0
  164. package/dist/data-structures/index.cjs +1252 -1052
  165. package/dist/data-structures/index.cjs.map +1 -1
  166. package/dist/data-structures/index.d.cts +9 -8
  167. package/dist/data-structures/index.d.ts +9 -8
  168. package/dist/data-structures/index.js +9 -7
  169. package/dist/{describe-BZb7AS2y.d.ts → describe-B_A5fbXH.d.ts} +1 -1
  170. package/dist/{describe-Ciu8SUnN.d.cts → describe-CQRrkv-Q.d.cts} +1 -1
  171. package/dist/executors/tool-provider-adapters.cjs +3091 -0
  172. package/dist/executors/tool-provider-adapters.cjs.map +1 -0
  173. package/dist/executors/tool-provider-adapters.d.cts +174 -0
  174. package/dist/executors/tool-provider-adapters.d.ts +174 -0
  175. package/dist/executors/tool-provider-adapters.js +1336 -0
  176. package/dist/executors/tool-provider-adapters.js.map +1 -0
  177. package/dist/executors/tool-provider-runtime.cjs +5178 -0
  178. package/dist/executors/tool-provider-runtime.cjs.map +1 -0
  179. package/dist/executors/tool-provider-runtime.d.cts +17 -0
  180. package/dist/executors/tool-provider-runtime.d.ts +17 -0
  181. package/dist/executors/tool-provider-runtime.js +15 -0
  182. package/dist/executors/tool-provider-runtime.js.map +1 -0
  183. package/dist/executors/tool-provider.cjs +6392 -0
  184. package/dist/executors/tool-provider.cjs.map +1 -0
  185. package/dist/executors/tool-provider.d.cts +60 -0
  186. package/dist/executors/tool-provider.d.ts +60 -0
  187. package/dist/executors/tool-provider.js +89 -0
  188. package/dist/executors/tool-provider.js.map +1 -0
  189. package/dist/executors/work-queue.cjs +342 -0
  190. package/dist/executors/work-queue.cjs.map +1 -0
  191. package/dist/executors/work-queue.d.cts +90 -0
  192. package/dist/executors/work-queue.d.ts +90 -0
  193. package/dist/executors/work-queue.js +306 -0
  194. package/dist/executors/work-queue.js.map +1 -0
  195. package/dist/graph/index.cjs +1536 -1324
  196. package/dist/graph/index.cjs.map +1 -1
  197. package/dist/graph/index.d.cts +10 -9
  198. package/dist/graph/index.d.ts +10 -9
  199. package/dist/graph/index.js +22 -20
  200. package/dist/{graph-s23RbbFO.d.cts → graph-CWK3HLPB.d.cts} +134 -132
  201. package/dist/{graph-DfdF9zy4.d.ts → graph-ho5sotHP.d.ts} +134 -132
  202. package/dist/{index-SnzZu3x7.d.ts → index-CQWcE0Dw.d.ts} +18 -4
  203. package/dist/{index-CAEmLCYF.d.cts → index-DHA1i67c.d.cts} +18 -4
  204. package/dist/index.cjs +3331 -3020
  205. package/dist/index.cjs.map +1 -1
  206. package/dist/index.d.cts +14 -10
  207. package/dist/index.d.ts +14 -10
  208. package/dist/index.js +114 -108
  209. package/dist/inspection/boundary.cjs +98 -0
  210. package/dist/inspection/boundary.cjs.map +1 -0
  211. package/dist/inspection/boundary.d.cts +61 -0
  212. package/dist/inspection/boundary.d.ts +61 -0
  213. package/dist/inspection/boundary.js +75 -0
  214. package/dist/inspection/boundary.js.map +1 -0
  215. package/dist/measurements-C0mAvWU1.d.cts +164 -0
  216. package/dist/measurements-OMpCeBwh.d.ts +164 -0
  217. package/dist/{messages-BZqrGGm1.d.ts → messages-CAzUPPJM.d.cts} +10 -5
  218. package/dist/{messages-BZqrGGm1.d.cts → messages-CAzUPPJM.d.ts} +10 -5
  219. package/dist/messaging/index.cjs +756 -619
  220. package/dist/messaging/index.cjs.map +1 -1
  221. package/dist/messaging/index.d.cts +17 -226
  222. package/dist/messaging/index.d.ts +17 -226
  223. package/dist/messaging/index.js +19 -749
  224. package/dist/messaging/index.js.map +1 -1
  225. package/dist/operators/index.cjs +1256 -1059
  226. package/dist/operators/index.cjs.map +1 -1
  227. package/dist/operators/index.d.cts +6 -6
  228. package/dist/operators/index.d.ts +6 -6
  229. package/dist/operators/index.js +9 -8
  230. package/dist/orchestration/index.cjs +8664 -2617
  231. package/dist/orchestration/index.cjs.map +1 -1
  232. package/dist/orchestration/index.d.cts +171 -221
  233. package/dist/orchestration/index.d.ts +171 -221
  234. package/dist/orchestration/index.js +74 -982
  235. package/dist/orchestration/index.js.map +1 -1
  236. package/dist/orchestration/messaging.cjs +314 -0
  237. package/dist/orchestration/messaging.cjs.map +1 -0
  238. package/dist/orchestration/messaging.d.cts +56 -0
  239. package/dist/orchestration/messaging.d.ts +56 -0
  240. package/dist/orchestration/messaging.js +276 -0
  241. package/dist/orchestration/messaging.js.map +1 -0
  242. package/dist/orchestration/work-queue.cjs +1500 -0
  243. package/dist/orchestration/work-queue.cjs.map +1 -0
  244. package/dist/orchestration/work-queue.d.cts +196 -0
  245. package/dist/orchestration/work-queue.d.ts +196 -0
  246. package/dist/orchestration/work-queue.js +1289 -0
  247. package/dist/orchestration/work-queue.js.map +1 -0
  248. package/dist/patterns/event-flow.cjs +433 -0
  249. package/dist/patterns/event-flow.cjs.map +1 -0
  250. package/dist/patterns/event-flow.d.cts +115 -0
  251. package/dist/patterns/event-flow.d.ts +115 -0
  252. package/dist/patterns/event-flow.js +14 -0
  253. package/dist/patterns/event-flow.js.map +1 -0
  254. package/dist/patterns/index.cjs +748 -355
  255. package/dist/patterns/index.cjs.map +1 -1
  256. package/dist/patterns/index.d.cts +9 -5
  257. package/dist/patterns/index.d.ts +9 -5
  258. package/dist/patterns/index.js +13 -4
  259. package/dist/process-types-C9uMYz3i.d.ts +200 -0
  260. package/dist/process-types-h3uRlzDc.d.cts +200 -0
  261. package/dist/{reactive-collection-BxBqtIOE.d.cts → reactive-collection-B9R0Bl1P.d.cts} +11 -41
  262. package/dist/{reactive-collection-Cb1II1Fi.d.ts → reactive-collection-BXFrH0U2.d.ts} +11 -41
  263. package/dist/{reactive-collection-storage-D-KmjE0J.d.cts → reactive-collection-storage-BLGv8Xp8.d.cts} +5 -5
  264. package/dist/{reactive-collection-storage-BNiEc-Gd.d.ts → reactive-collection-storage-a4zD3665.d.ts} +5 -5
  265. package/dist/{reactive-map-BcB4KsQR.d.ts → reactive-map-C_8sOfdS.d.cts} +7 -6
  266. package/dist/{reactive-map-D-g3dv8I.d.cts → reactive-map-jle5dnok.d.ts} +7 -6
  267. package/dist/render/index.d.cts +3 -3
  268. package/dist/render/index.d.ts +3 -3
  269. package/dist/render/index.js +1 -0
  270. package/dist/scheduled-readiness-5rwQlyjV.d.ts +91 -0
  271. package/dist/scheduled-readiness-DpRY8jI0.d.cts +91 -0
  272. package/dist/semantic-memory-graph-C2ZUwIlq.d.ts +30 -0
  273. package/dist/semantic-memory-graph-DlZBD_Eu.d.cts +30 -0
  274. package/dist/{semantic-memory-graph-BYoIlP35.d.cts → semantic-memory-graph-types-BvzdqmkY.d.cts} +2 -28
  275. package/dist/{semantic-memory-graph-CxyXLms3.d.ts → semantic-memory-graph-types-Ci-OtahO.d.ts} +2 -28
  276. package/dist/solutions/index.cjs +6788 -2128
  277. package/dist/solutions/index.cjs.map +1 -1
  278. package/dist/solutions/index.d.cts +15 -519
  279. package/dist/solutions/index.d.ts +15 -519
  280. package/dist/solutions/index.js +91 -7
  281. package/dist/solutions/reactive-layout/browser/index.cjs +457 -0
  282. package/dist/solutions/reactive-layout/browser/index.cjs.map +1 -0
  283. package/dist/solutions/reactive-layout/browser/index.d.cts +44 -0
  284. package/dist/solutions/reactive-layout/browser/index.d.ts +44 -0
  285. package/dist/solutions/reactive-layout/browser/index.js +69 -0
  286. package/dist/solutions/reactive-layout/browser/index.js.map +1 -0
  287. package/dist/solutions/reactive-layout/index.cjs +4494 -0
  288. package/dist/solutions/reactive-layout/index.cjs.map +1 -0
  289. package/dist/solutions/reactive-layout/index.d.cts +37 -0
  290. package/dist/solutions/reactive-layout/index.d.ts +37 -0
  291. package/dist/solutions/reactive-layout/index.js +146 -0
  292. package/dist/solutions/reactive-layout/index.js.map +1 -0
  293. package/dist/solutions/reactive-layout/node-canvas/index.cjs +555 -0
  294. package/dist/solutions/reactive-layout/node-canvas/index.cjs.map +1 -0
  295. package/dist/solutions/reactive-layout/node-canvas/index.d.cts +54 -0
  296. package/dist/solutions/reactive-layout/node-canvas/index.d.ts +54 -0
  297. package/dist/solutions/reactive-layout/node-canvas/index.js +131 -0
  298. package/dist/solutions/reactive-layout/node-canvas/index.js.map +1 -0
  299. package/dist/solutions/reactive-layout/react-native/index.cjs +504 -0
  300. package/dist/solutions/reactive-layout/react-native/index.cjs.map +1 -0
  301. package/dist/solutions/reactive-layout/react-native/index.d.cts +51 -0
  302. package/dist/solutions/reactive-layout/react-native/index.d.ts +51 -0
  303. package/dist/solutions/reactive-layout/react-native/index.js +77 -0
  304. package/dist/solutions/reactive-layout/react-native/index.js.map +1 -0
  305. package/dist/solutions/reactive-layout/skia/index.cjs +557 -0
  306. package/dist/solutions/reactive-layout/skia/index.cjs.map +1 -0
  307. package/dist/solutions/reactive-layout/skia/index.d.cts +64 -0
  308. package/dist/solutions/reactive-layout/skia/index.d.ts +64 -0
  309. package/dist/solutions/reactive-layout/skia/index.js +70 -0
  310. package/dist/solutions/reactive-layout/skia/index.js.map +1 -0
  311. package/dist/solutions/work-item/actions.cjs +2345 -0
  312. package/dist/solutions/work-item/actions.cjs.map +1 -0
  313. package/dist/solutions/work-item/actions.d.cts +40 -0
  314. package/dist/solutions/work-item/actions.d.ts +40 -0
  315. package/dist/solutions/work-item/actions.js +2078 -0
  316. package/dist/solutions/work-item/actions.js.map +1 -0
  317. package/dist/solutions/work-item/scheduling.cjs +9797 -0
  318. package/dist/solutions/work-item/scheduling.cjs.map +1 -0
  319. package/dist/solutions/work-item/scheduling.d.cts +1868 -0
  320. package/dist/solutions/work-item/scheduling.d.ts +1868 -0
  321. package/dist/solutions/work-item/scheduling.js +146 -0
  322. package/dist/solutions/work-item/scheduling.js.map +1 -0
  323. package/dist/solutions/work-item/work-queue.cjs +306 -0
  324. package/dist/solutions/work-item/work-queue.cjs.map +1 -0
  325. package/dist/solutions/work-item/work-queue.d.cts +71 -0
  326. package/dist/solutions/work-item/work-queue.d.ts +71 -0
  327. package/dist/solutions/work-item/work-queue.js +270 -0
  328. package/dist/solutions/work-item/work-queue.js.map +1 -0
  329. package/dist/sources/browser.cjs +1399 -1052
  330. package/dist/sources/browser.cjs.map +1 -1
  331. package/dist/sources/browser.d.cts +33 -6
  332. package/dist/sources/browser.d.ts +33 -6
  333. package/dist/sources/browser.js +73 -6
  334. package/dist/sources/browser.js.map +1 -1
  335. package/dist/sources/index.cjs +1345 -1065
  336. package/dist/sources/index.cjs.map +1 -1
  337. package/dist/sources/index.d.cts +5 -5
  338. package/dist/sources/index.d.ts +5 -5
  339. package/dist/sources/index.js +7 -6
  340. package/dist/sources/node.cjs.map +1 -1
  341. package/dist/sources/node.d.cts +4 -4
  342. package/dist/sources/node.d.ts +4 -4
  343. package/dist/sources/node.js +2 -1
  344. package/dist/sources/node.js.map +1 -1
  345. package/dist/storage/browser.cjs +16 -0
  346. package/dist/storage/browser.cjs.map +1 -1
  347. package/dist/storage/browser.js +4 -3
  348. package/dist/storage/browser.js.map +1 -1
  349. package/dist/storage/index.cjs +16 -0
  350. package/dist/storage/index.cjs.map +1 -1
  351. package/dist/storage/index.d.cts +6 -5
  352. package/dist/storage/index.d.ts +6 -5
  353. package/dist/storage/index.js +10 -9
  354. package/dist/storage/node.cjs +16 -0
  355. package/dist/storage/node.cjs.map +1 -1
  356. package/dist/storage/node.js +4 -3
  357. package/dist/storage/node.js.map +1 -1
  358. package/dist/store-BmtEs9mG.d.ts +123 -0
  359. package/dist/store-PAAsYvML.d.cts +123 -0
  360. package/dist/testing/index.cjs +1 -0
  361. package/dist/testing/index.cjs.map +1 -1
  362. package/dist/testing/index.d.cts +1 -1
  363. package/dist/testing/index.d.ts +1 -1
  364. package/dist/testing/index.js +3 -2
  365. package/dist/types-BRNKoFHj.d.ts +357 -0
  366. package/dist/{types-h12mNYbq.d.ts → types-BS6CyR-x.d.cts} +49 -130
  367. package/dist/types-BWK2ay3e.d.cts +457 -0
  368. package/dist/types-BXKSAoE1.d.cts +357 -0
  369. package/dist/types-BaPpZItj.d.ts +457 -0
  370. package/dist/types-BhveCMg5.d.cts +274 -0
  371. package/dist/{types-bNMSWKqF.d.cts → types-C9NOgNJw.d.ts} +49 -130
  372. package/dist/types-CTsQ8Ww4.d.ts +274 -0
  373. package/dist/types-DL_05n2M.d.ts +34 -0
  374. package/dist/types-XDoqxYO9.d.cts +34 -0
  375. package/dist/work-item-runtime-types-BqtWnSCS.d.ts +138 -0
  376. package/dist/work-item-runtime-types-CHO03AKh.d.cts +138 -0
  377. package/dist/work-queue/index.cjs +1136 -0
  378. package/dist/work-queue/index.cjs.map +1 -0
  379. package/dist/work-queue/index.d.cts +21 -0
  380. package/dist/work-queue/index.d.ts +21 -0
  381. package/dist/work-queue/index.js +1082 -0
  382. package/dist/work-queue/index.js.map +1 -0
  383. package/package.json +603 -249
  384. package/dist/chunk-2ILL7HQI.js.map +0 -1
  385. package/dist/chunk-4VLAQHZI.js.map +0 -1
  386. package/dist/chunk-COHO25CZ.js.map +0 -1
  387. package/dist/chunk-DK554R7P.js.map +0 -1
  388. package/dist/chunk-G4M3NHRJ.js.map +0 -1
  389. package/dist/chunk-I3IHOHCJ.js.map +0 -1
  390. package/dist/chunk-JIMUDQN3.js.map +0 -1
  391. package/dist/chunk-RIIOUTGM.js.map +0 -1
  392. package/dist/chunk-SWTLEQL6.js.map +0 -1
  393. /package/dist/{chunk-GDL26N2T.js.map → chunk-3KN7NJDR.js.map} +0 -0
  394. /package/dist/{chunk-Z2ANQ6JW.js.map → chunk-4Q77MMJY.js.map} +0 -0
  395. /package/dist/{chunk-D6BG7U6A.js.map → chunk-7HZRJMN6.js.map} +0 -0
  396. /package/dist/{chunk-SCRFRCGR.js.map → chunk-BSQGE5PS.js.map} +0 -0
  397. /package/dist/{chunk-PKVBHGBM.js.map → chunk-CJIFGJQG.js.map} +0 -0
  398. /package/dist/{chunk-K3FXTC3I.js.map → chunk-HJACH5PU.js.map} +0 -0
  399. /package/dist/{chunk-GTPCOEOZ.js.map → chunk-IDMLXLLG.js.map} +0 -0
  400. /package/dist/{chunk-DKP56CSW.js.map → chunk-JKAYLDQV.js.map} +0 -0
  401. /package/dist/{chunk-Y3ZLRGHC.js.map → chunk-SIDJO2T4.js.map} +0 -0
  402. /package/dist/{chunk-JR4IKCR2.js.map → chunk-TPND5MJS.js.map} +0 -0
  403. /package/dist/{chunk-TEW47IVR.js.map → chunk-VPEFSDME.js.map} +0 -0
  404. /package/dist/{chunk-DJC4CHLQ.js.map → chunk-YDWBXXQZ.js.map} +0 -0
  405. /package/dist/{chunk-6PHB5CJS.js.map → chunk-ZLFRB6FI.js.map} +0 -0
@@ -1,24 +1,76 @@
1
- export { A as AGENTIC_MEMORY_RECORD_CHANGE_FORMAT, a as AGENTIC_MEMORY_RECORD_SNAPSHOT_FORMAT, b as AGENTIC_MEMORY_RECORD_STORAGE_FRAME_VERSION, c as AgenticMemoryRecordChangeFrame, d as AgenticMemoryRecordSnapshotFrame, e as AgenticMemoryRecordsPersistenceCursor, f as AgenticMemoryRecordsPersistenceError, g as AgenticMemoryRecordsPersistenceHandle, h as AgenticMemoryRecordsPersistenceStatus, i as AgenticMemoryRecordsRestoreState, L as LoadAgenticMemoryRecordsStateOptions, O as OpenPersistentAgenticMemoryRecordsOptions, j as OpenPersistentReactiveIndexOptions, k as OpenPersistentReactiveListOptions, l as OpenPersistentReactiveLogOptions, m as OpenPersistentReactiveMapOptions, P as PersistAgenticMemoryRecordsOptions, n as PersistReactiveCollectionOptions, o as PersistentAgenticMemoryRecords, p as PersistentReactiveIndex, q as PersistentReactiveList, r as PersistentReactiveLog, s as PersistentReactiveMap, R as ReactiveCollectionPersistenceCursor, t as ReactiveCollectionPersistenceError, u as ReactiveCollectionPersistenceHandle, v as ReactiveCollectionPersistenceStatus, w as agenticMemoryRecordChangeFrame, x as agenticMemoryRecordSnapshotFrame, y as agenticMemoryRecordsSnapshotKey, z as assertAgenticMemoryRecordChangeFrame, B as assertAgenticMemoryRecordSnapshotFrame, C as loadAgenticMemoryRecordsState, D as openPersistentAgenticMemoryRecords, E as openPersistentReactiveIndex, F as openPersistentReactiveList, G as openPersistentReactiveLog, H as openPersistentReactiveMap, I as persistAgenticMemoryRecords, J as persistReactiveCollection } from '../reactive-collection-storage-BNiEc-Gd.js';
2
- import { d as Graph } from '../graph-DfdF9zy4.js';
1
+ export { A as AGENTIC_MEMORY_RECORD_CHANGE_FORMAT, a as AGENTIC_MEMORY_RECORD_SNAPSHOT_FORMAT, b as AGENTIC_MEMORY_RECORD_STORAGE_FRAME_VERSION, c as AgenticMemoryRecordChangeFrame, d as AgenticMemoryRecordSnapshotFrame, e as AgenticMemoryRecordsPersistenceCursor, f as AgenticMemoryRecordsPersistenceError, g as AgenticMemoryRecordsPersistenceHandle, h as AgenticMemoryRecordsPersistenceStatus, i as AgenticMemoryRecordsRestoreState, L as LoadAgenticMemoryRecordsStateOptions, O as OpenPersistentAgenticMemoryRecordsOptions, j as OpenPersistentReactiveIndexOptions, k as OpenPersistentReactiveListOptions, l as OpenPersistentReactiveLogOptions, m as OpenPersistentReactiveMapOptions, P as PersistAgenticMemoryRecordsOptions, n as PersistReactiveCollectionOptions, o as PersistentAgenticMemoryRecords, p as PersistentReactiveIndex, q as PersistentReactiveList, r as PersistentReactiveLog, s as PersistentReactiveMap, R as ReactiveCollectionPersistenceCursor, t as ReactiveCollectionPersistenceError, u as ReactiveCollectionPersistenceHandle, v as ReactiveCollectionPersistenceStatus, w as agenticMemoryRecordChangeFrame, x as agenticMemoryRecordSnapshotFrame, y as agenticMemoryRecordsSnapshotKey, z as assertAgenticMemoryRecordChangeFrame, B as assertAgenticMemoryRecordSnapshotFrame, C as loadAgenticMemoryRecordsState, D as openPersistentAgenticMemoryRecords, E as openPersistentReactiveIndex, F as openPersistentReactiveList, G as openPersistentReactiveLog, H as openPersistentReactiveMap, I as persistAgenticMemoryRecords, J as persistReactiveCollection } from '../reactive-collection-storage-a4zD3665.js';
2
+ import { d as Graph } from '../graph-ho5sotHP.js';
3
3
  import { R as RetryPolicy } from '../resilience-Dig3Q7n0.js';
4
- import { N as Node, g as HttpRequest, w as ProcessCommand, O as WebSocketSend, h as HttpResponse, x as ProcessResult, M as WebSocketRequest, Q as WebSocketSendResult } from '../types-h12mNYbq.js';
5
- import '../solutions/index.js';
4
+ import { N as Node, g as HttpRequest, w as ProcessCommand, O as WebSocketSend, h as HttpResponse, x as ProcessResult, M as WebSocketRequest, Q as WebSocketSendResult } from '../types-C9NOgNJw.js';
5
+ export { E as ExternalStore, J as JotaiAtom, N as NanoAtom, a as NodeRecordFactory, R as ReadableStore, S as SignalLike, b as SubscribeValuesOptions, c as WritableJotaiAtom, d as WritableNanoAtom, W as WritableNode, e as WritableSignalLike, f as WritableStore, g as WritableStoreOptions, Z as ZustandStoreApi, h as externalStore, j as jotaiAtom, n as nanoAtom, i as nodeSnapshot, r as readableStore, k as recordReadableStore, s as signalFromNode, l as subscribeNodeValues, w as writableStore, z as zustandStore } from '../store-BmtEs9mG.js';
6
+ import '../agentic-memory-types-CVSUS6XR.js';
6
7
  import '../codec-BB7p8fJc.js';
7
- import '../semantic-memory-graph-CxyXLms3.js';
8
+ import '../semantic-memory-graph-types-Ci-OtahO.js';
8
9
  import '../append-log-DzKMmjxx.js';
9
- import '../reactive-collection-Cb1II1Fi.js';
10
- import '../reactive-map-BcB4KsQR.js';
10
+ import '../reactive-collection-BXFrH0U2.js';
11
+ import '../types-DL_05n2M.js';
12
+ import '../reactive-map-jle5dnok.js';
11
13
  import '../core/index.js';
12
- import '../messages-BZqrGGm1.js';
13
- import '../describe-BZb7AS2y.js';
14
+ import '../messages-CAzUPPJM.js';
15
+ import '../describe-B_A5fbXH.js';
14
16
 
15
- /**
16
- * Graph-visible wire bridge envelope helpers (D134).
17
- *
18
- * This first slice is transport-free: commands become outbound envelope facts,
19
- * remote receipts enter only through the inbound fact node, and retry/ack timeout
20
- * state is surfaced through graph-visible attempts/status/errors nodes.
21
- */
17
+ type CanonicalProtobufErrorCategory = "unknown_field" | "duplicate_singular" | "noncanonical_bytes" | "invalid_oneof" | "missing_required" | "invalid_wire_edge" | "default_emission" | "malformed";
18
+ declare class CanonicalProtobufError extends Error {
19
+ readonly category: CanonicalProtobufErrorCategory;
20
+ constructor(category: CanonicalProtobufErrorCategory, message: string);
21
+ }
22
+ interface CanonicalWireBridgeMetadata {
23
+ readonly seq: bigint;
24
+ readonly cursor: bigint;
25
+ readonly idempotencyKey: string;
26
+ readonly attempt: number;
27
+ readonly maxAttempts: number;
28
+ readonly timestampMs?: bigint;
29
+ readonly ackForSeq?: bigint;
30
+ readonly requestId?: string;
31
+ }
32
+ type CanonicalWireBridgeDataBody = {
33
+ readonly kind: "value";
34
+ readonly value: Uint8Array;
35
+ } | {
36
+ readonly kind: "wire_edge";
37
+ readonly frame: CanonicalWireEdgeFrame;
38
+ };
39
+ interface CanonicalWireEdgeFrame {
40
+ readonly kind: "dirty" | "data";
41
+ readonly edgeId: string;
42
+ readonly causeId: string;
43
+ readonly value?: Uint8Array;
44
+ }
45
+ type CanonicalWireBridgePayload = {
46
+ readonly kind: "start";
47
+ } | {
48
+ readonly kind: "data";
49
+ readonly body: CanonicalWireBridgeDataBody;
50
+ } | {
51
+ readonly kind: "ack";
52
+ } | {
53
+ readonly kind: "nack";
54
+ readonly error?: Uint8Array;
55
+ } | {
56
+ readonly kind: "status";
57
+ readonly status: Uint8Array;
58
+ } | {
59
+ readonly kind: "error";
60
+ readonly error: Uint8Array;
61
+ } | {
62
+ readonly kind: "close";
63
+ readonly reason?: Uint8Array;
64
+ };
65
+ interface CanonicalWireBridgeEnvelope {
66
+ readonly sessionId: string;
67
+ readonly metadata: CanonicalWireBridgeMetadata;
68
+ readonly payload: CanonicalWireBridgePayload;
69
+ }
70
+ declare function decodeCanonicalWireBridgeEnvelope(bytes: Uint8Array): CanonicalWireBridgeEnvelope;
71
+ declare function decodeCanonicalWireEdgeFrame(bytes: Uint8Array): CanonicalWireEdgeFrame;
72
+ declare function encodeCanonicalWireEdgeFrame(frame: CanonicalWireEdgeFrame): Uint8Array;
73
+ declare function encodeCanonicalWireBridgeEnvelope(envelope: CanonicalWireBridgeEnvelope): Uint8Array;
22
74
 
23
75
  type WireBridgeEnvelopeType = "start" | "data" | "ack" | "nack" | "status" | "error" | "close";
24
76
  interface WireBridgeMetadata {
@@ -74,6 +126,11 @@ type WireBridgeCommand<TData = unknown> = {
74
126
  readonly error: unknown;
75
127
  readonly idempotencyKey?: string;
76
128
  readonly requestId?: string;
129
+ } | {
130
+ readonly kind: "ack-timeout";
131
+ readonly seq: number;
132
+ readonly attempt: number;
133
+ readonly observedAtMs?: number;
77
134
  } | {
78
135
  readonly kind: "close";
79
136
  readonly reason?: unknown;
@@ -165,8 +222,6 @@ interface WireBridgeOptions {
165
222
  readonly name?: string;
166
223
  readonly sessionId: string;
167
224
  readonly retry?: RetryPolicy;
168
- /** Finite D134 ack timeout. Defaults to 30s so pending ack tracking is bounded. */
169
- readonly ackTimeoutMs?: number;
170
225
  readonly now?: () => number;
171
226
  }
172
227
  interface WireBridgeBundle<TOutbound = unknown, TInbound = unknown> {
@@ -198,6 +253,60 @@ interface WireBridgeBundle<TOutbound = unknown, TInbound = unknown> {
198
253
  idempotencyKey?: string;
199
254
  }): void;
200
255
  }
256
+ interface WireBridgeAckDriverIssue {
257
+ readonly code: "wire-bridge-ack-driver-clock-invalid" | "wire-bridge-ack-driver-clock-regressed";
258
+ readonly message: string;
259
+ readonly seq?: number;
260
+ readonly attempt?: number;
261
+ readonly observedAtMs?: number;
262
+ readonly nowMs?: number;
263
+ }
264
+ interface WireBridgeAckDriverStatus {
265
+ readonly state: "idle" | "active" | "timed-out" | "issues";
266
+ readonly pending: number;
267
+ readonly commands: number;
268
+ readonly issues: number;
269
+ readonly nowMs?: number;
270
+ readonly lastCommand?: Extract<WireBridgeCommand, {
271
+ readonly kind: "ack-timeout";
272
+ }>;
273
+ readonly lastIssue?: WireBridgeAckDriverIssue;
274
+ }
275
+ interface WireBridgeAckDriverOptions {
276
+ readonly name?: string;
277
+ readonly clock: Node<number>;
278
+ readonly timeoutMs: number;
279
+ }
280
+ interface WireBridgeAckDriverBundle {
281
+ readonly commands: Node<WireBridgeCommand<never>>;
282
+ readonly status: Node<WireBridgeAckDriverStatus>;
283
+ readonly issues: Node<WireBridgeAckDriverIssue>;
284
+ release(): void;
285
+ }
286
+ type WireBridgeProtobufData = Uint8Array | CanonicalWireBridgeDataBody;
287
+ interface WireBridgeProtobufIssue {
288
+ readonly direction: "inbound" | "outbound";
289
+ readonly operation: "decode" | "encode";
290
+ readonly message: string;
291
+ readonly category?: CanonicalProtobufErrorCategory;
292
+ }
293
+ interface WireBridgeProtobufStatus {
294
+ readonly decoded: number;
295
+ readonly encoded: number;
296
+ readonly issues: number;
297
+ readonly state: "idle" | "active" | "issues";
298
+ readonly lastIssue?: WireBridgeProtobufIssue;
299
+ }
300
+ interface WireBridgeProtobufBundle {
301
+ readonly inboundBytes: Node<Uint8Array>;
302
+ readonly outboundBytes: Node<Uint8Array>;
303
+ readonly issues: Node<WireBridgeProtobufIssue>;
304
+ readonly status: Node<WireBridgeProtobufStatus>;
305
+ release(): void;
306
+ }
307
+ interface WireBridgeProtobufOptions {
308
+ readonly name?: string;
309
+ }
201
310
  interface RemoteCallRequest<T = unknown> {
202
311
  readonly operation: string;
203
312
  readonly requestId: string;
@@ -305,6 +414,26 @@ interface RemoteResponderBundle<TRequest = unknown, TResponse = unknown> {
305
414
  readonly errors: Node<RemoteCallError>;
306
415
  release(): void;
307
416
  }
417
+
418
+ /**
419
+ * Graph-visible wire bridge envelope helpers (D134).
420
+ *
421
+ * This first slice is transport-free: commands become outbound envelope facts,
422
+ * remote receipts enter only through the inbound fact node, and retry/ack timeout
423
+ * state is surfaced through graph-visible attempts/status/errors nodes.
424
+ */
425
+
426
+ /** D147 remote dispatcher call helper over explicit wireBridge request/response facts. */
427
+ declare function remoteCall<TRequest = unknown, TResponse = unknown>(graph: Graph, bridge: WireBridgeBundle<RemoteCallRequest<TRequest>, RemoteCallResponse<TResponse>>, opts?: RemoteCallOptions): RemoteCallBundle<TRequest, TResponse>;
428
+
429
+ /**
430
+ * Graph-visible wire bridge envelope helpers (D134).
431
+ *
432
+ * This first slice is transport-free: commands become outbound envelope facts,
433
+ * remote receipts enter only through the inbound fact node, and retry/ack timeout
434
+ * state is surfaced through graph-visible attempts/status/errors nodes.
435
+ */
436
+
308
437
  /** Stable D134 idempotency key helper scoped to one bridge session and sequence. */
309
438
  declare function wireBridgeIdempotencyKey(sessionId: string, seq: number): string;
310
439
  /** Create a D134 wire bridge envelope with ordered metadata. */
@@ -322,19 +451,52 @@ declare function wireBridgeEnvelope<TData = unknown>(input: {
322
451
  readonly requestId?: string;
323
452
  }): WireBridgeEnvelope<TData>;
324
453
  declare function wireBridge<TOutbound = unknown, TInbound = unknown>(graph: Graph, opts: WireBridgeOptions): WireBridgeBundle<TOutbound, TInbound>;
325
- /** D147 remote dispatcher call helper over explicit wireBridge request/response facts. */
326
- declare function remoteCall<TRequest = unknown, TResponse = unknown>(graph: Graph, bridge: WireBridgeBundle<RemoteCallRequest<TRequest>, RemoteCallResponse<TResponse>>, opts?: RemoteCallOptions): RemoteCallBundle<TRequest, TResponse>;
454
+ /** D502 explicit graph-visible ack-timeout command driver for a wireBridge. */
455
+ declare function wireBridgeAckDriver<TOutbound = unknown, TInbound = unknown>(graph: Graph, bridge: WireBridgeBundle<TOutbound, TInbound>, opts: WireBridgeAckDriverOptions): WireBridgeAckDriverBundle;
456
+ /**
457
+ * D498 focused canonical protobuf byte adapter over an existing semantic wireBridge bundle.
458
+ *
459
+ * This helper owns no transport/session/retry policy and does not add wireBridge core options.
460
+ * Malformed bytes become graph-visible issue/invalid facts, never local protocol terminals.
461
+ */
462
+ declare function wireBridgeProtobuf(graph: Graph, bridge: WireBridgeBundle<WireBridgeProtobufData, WireBridgeProtobufData>, opts?: WireBridgeProtobufOptions): WireBridgeProtobufBundle;
327
463
  declare function remoteResponderHandler<TRequest = unknown, TResponse = unknown>(operation: string, handle: RemoteResponderHandler<TRequest, TResponse>): RemoteResponderHandlerDefinition<TRequest, TResponse>;
328
464
  /** D147 remote responder over inbound wireBridge request facts and outbound command facts. */
329
465
  declare function remoteResponder<TRequest = unknown, TResponse = unknown>(graph: Graph, bridge: WireBridgeBundle<RemoteCallResponse<TResponse>, RemoteCallRequest<TRequest>>, opts?: RemoteResponderOptions<TRequest, TResponse>): RemoteResponderBundle<TRequest, TResponse>;
330
466
 
331
- /**
332
- * Graph-visible outbound environment adapters (D130/D132).
333
- *
334
- * Async transport work is confined to graph-local EnvironmentDrivers. Each
335
- * helper returns declared nodes for events/status/attempts/errors instead of a
336
- * hidden sink side channel.
337
- */
467
+ interface WireEdgeGroupEdge {
468
+ readonly edgeId: string;
469
+ readonly outbound?: Node<Uint8Array>;
470
+ }
471
+ type WireEdgeGroupIssueCode = "wire-edge-group-missing-snapshot" | "wire-edge-group-unknown-edge" | "wire-edge-group-duplicate-dirty" | "wire-edge-group-duplicate-data" | "wire-edge-group-data-before-dirty" | "wire-edge-group-competing-cause" | "wire-edge-group-malformed-frame" | "wire-edge-group-incomplete-cause";
472
+ interface WireEdgeGroupIssue {
473
+ readonly code: WireEdgeGroupIssueCode;
474
+ readonly message: string;
475
+ readonly edgeId?: string;
476
+ readonly causeId?: string;
477
+ readonly activeCauseId?: string;
478
+ }
479
+ interface WireEdgeGroupStatus {
480
+ readonly state: "idle" | "collecting" | "released" | "issues";
481
+ readonly expectedEdges: readonly string[];
482
+ readonly dirty: number;
483
+ readonly data: number;
484
+ readonly released: number;
485
+ readonly issues: number;
486
+ readonly activeCauseId?: string;
487
+ readonly lastIssue?: WireEdgeGroupIssue;
488
+ }
489
+ interface WireEdgeGroupOptions {
490
+ readonly name?: string;
491
+ readonly edges: readonly WireEdgeGroupEdge[];
492
+ }
493
+ interface WireEdgeGroupBundle {
494
+ readonly inbound: ReadonlyMap<string, Node<Uint8Array>>;
495
+ readonly status: Node<WireEdgeGroupStatus>;
496
+ readonly issues: Node<WireEdgeGroupIssue>;
497
+ release(): void;
498
+ }
499
+ declare function wireEdgeGroup(graph: Graph, bridge: WireBridgeBundle<WireBridgeProtobufData, WireBridgeProtobufData>, opts: WireEdgeGroupOptions): WireEdgeGroupBundle;
338
500
 
339
501
  type OutboundEvent<TValue, TResult> = {
340
502
  readonly kind: "attempt";
@@ -496,183 +658,33 @@ interface WebSocketSessionOptions {
496
658
  readonly retry?: RetryPolicy;
497
659
  readonly sendPolicy?: WebSocketSessionSendPolicy;
498
660
  }
661
+
499
662
  /**
500
- * Create a graph-visible D133 WebSocket SessionBundle.
663
+ * Graph-visible outbound environment adapters (D130/D132).
501
664
  *
502
- * The convenience start/send/close methods publish command facts only; hidden
503
- * session state is driven by the command node and graph-local EnvironmentDrivers.
665
+ * Async transport work is confined to graph-local EnvironmentDrivers. Each
666
+ * helper returns declared nodes for events/status/attempts/errors instead of a
667
+ * hidden sink side channel.
504
668
  */
505
- declare function webSocketSession(graph: Graph, request: WebSocketRequest, opts?: WebSocketSessionOptions): WebSocketSessionBundle;
669
+
506
670
  declare function toHttp<T>(graph: Graph, source: Node<T>, requestOf: HttpRequestOf<T>, opts?: OutboundAdapterOptions): OutboundBundle<T, HttpResponse>;
507
671
  declare function toProcess<T>(graph: Graph, source: Node<T>, commandOf: ProcessCommandOf<T>, opts?: OutboundAdapterOptions): OutboundBundle<T, ProcessResult>;
508
672
  declare function toWebSocket<T>(graph: Graph, source: Node<T>, request: WebSocketRequest, sendOf: WebSocketSendOf<T>, opts?: OutboundAdapterOptions): OutboundBundle<T, WebSocketSendResult>;
509
673
 
510
674
  /**
511
- * Dependency-free NestJS adapter tokens and method metadata.
675
+ * Graph-visible outbound environment adapters (D130/D132).
512
676
  *
513
- * The old compat layer imported `@nestjs/common` for DI decorators. Clean-slate keeps the
514
- * retainable token/metadata vocabulary here and leaves actual `Inject(...)` composition to
515
- * user-land NestJS code, so @graphrefly/ts keeps zero framework dependencies (D125/B61).
677
+ * Async transport work is confined to graph-local EnvironmentDrivers. Each
678
+ * helper returns declared nodes for events/status/attempts/errors instead of a
679
+ * hidden sink side channel.
516
680
  */
517
- /** Injection token for a root graph singleton. */
518
- declare const GRAPHREFLY_ROOT_GRAPH: unique symbol;
519
- /** Injection token for adapter module options. */
520
- declare const GRAPHREFLY_MODULE_OPTIONS: unique symbol;
521
- /** Injection token for a request-scoped graph. */
522
- declare const GRAPHREFLY_REQUEST_GRAPH: unique symbol;
523
- type DecoratorHostConstructor = abstract new (...args: unknown[]) => unknown;
524
- type DecoratorBoundMethod = (...args: unknown[]) => unknown;
525
- interface OnGraphEventMeta {
526
- nodeName: string;
527
- methodKey: string | symbol;
528
- }
529
- interface GraphIntervalMeta {
530
- ms: number;
531
- methodKey: string | symbol;
532
- }
533
- interface GraphCronMeta {
534
- expr: string;
535
- methodKey: string | symbol;
536
- }
537
- declare const EVENT_HANDLERS: Map<DecoratorHostConstructor, OnGraphEventMeta[]>;
538
- declare const INTERVAL_HANDLERS: Map<DecoratorHostConstructor, GraphIntervalMeta[]>;
539
- declare const CRON_HANDLERS: Map<DecoratorHostConstructor, GraphCronMeta[]>;
540
- type GraphMethodDecorator = MethodDecorator & ((value: DecoratorBoundMethod, context: ClassMethodDecoratorContext) => void);
541
- /** Get the injection token for a named feature graph. */
542
- declare function getGraphToken(name: string): symbol;
543
- /** Get the injection token for a node at a qualified path. */
544
- declare function getNodeToken(path: string): symbol;
545
- /** Register a method as a DATA-event handler for a graph observe path. */
546
- declare function OnGraphEvent(nodeName: string): GraphMethodDecorator;
547
- /** Register fixed-interval metadata for a user-land NestJS scheduler bridge. */
548
- declare function GraphInterval(ms: number): GraphMethodDecorator;
549
- /** Register cron metadata for a user-land NestJS scheduler bridge. */
550
- declare function GraphCron(expr: string): GraphMethodDecorator;
551
681
 
552
682
  /**
553
- * Framework-neutral store adapters.
683
+ * Create a graph-visible D133 WebSocket SessionBundle.
554
684
  *
555
- * React/Vue/Solid/Svelte/Zustand/Jotai/Nanostores bindings can build on this
556
- * tiny Node-facing layer without importing framework packages or reviving the
557
- * old `compat` namespace (D125/B61).
558
- */
559
-
560
- /** A minimal readable store contract shared by Svelte/Nanostores-style adapters. */
561
- interface ReadableStore<T> {
562
- get(): T | undefined;
563
- subscribe(run: (value: T | undefined) => void): () => void;
564
- }
565
- /** A minimal writable store contract over a clean-slate writable node. */
566
- interface WritableStore<T> extends ReadableStore<T> {
567
- set(value: T): void;
568
- update(fn: (value: T | undefined) => T): void;
569
- }
570
- /** React `useSyncExternalStore`-compatible shape, without importing React. */
571
- interface ExternalStore<T> {
572
- getSnapshot(): T | undefined;
573
- getServerSnapshot(): T | undefined;
574
- subscribe(onStoreChange: () => void): () => void;
575
- }
576
- /** Object-of-nodes factory used by record subscription adapters. */
577
- type NodeRecordFactory<K extends string, R extends Record<string, unknown>> = (key: K) => {
578
- [P in keyof R]: Node<R[P]>;
579
- };
580
- /** Zustand-compatible store API over a caller-owned clean-slate state node. */
581
- interface ZustandStoreApi<T extends object> {
582
- getState(): T;
583
- setState(partial: T | Partial<T> | ((state: T) => T | Partial<T>), replace?: boolean): void;
584
- getInitialState(): T;
585
- subscribe(listener: (state: T, prevState: T) => void): () => void;
586
- destroy(): void;
587
- }
588
- /** Jotai-style atom facade over a caller-owned node. */
589
- interface JotaiAtom<T> {
590
- get(): T | undefined;
591
- subscribe(callback: (value: T | undefined) => void): () => void;
592
- readonly _node: Node<T>;
593
- }
594
- /** Writable Jotai-style atom facade over a caller-owned writable node. */
595
- interface WritableJotaiAtom<T> extends JotaiAtom<T> {
596
- set(value: T): void;
597
- update(fn: (value: T | undefined) => T): void;
598
- }
599
- /** Nanostores-style atom facade over a caller-owned node. */
600
- interface NanoAtom<T> {
601
- get(): T | undefined;
602
- subscribe(callback: (value: T | undefined) => void): () => void;
603
- listen(callback: (value: T | undefined) => void): () => void;
604
- readonly _node: Node<T>;
605
- }
606
- /** Writable Nanostores-style atom facade over a caller-owned writable node. */
607
- interface WritableNanoAtom<T> extends NanoAtom<T> {
608
- set(value: T): void;
609
- update(fn: (value: T | undefined) => T): void;
610
- }
611
- /** TC39-Signals-style facade over a caller-owned node. */
612
- interface SignalLike<T> {
613
- get(): T | undefined;
614
- subscribe(callback: (value: T | undefined) => void): () => void;
615
- readonly _node: Node<T>;
616
- }
617
- /** Writable TC39-Signals-style facade over a caller-owned writable node. */
618
- interface WritableSignalLike<T> extends SignalLike<T> {
619
- set(value: T): void;
620
- update(fn: (value: T | undefined) => T): void;
621
- }
622
- interface SubscribeValuesOptions<T> {
623
- /** Emit the current cache snapshot immediately. `undefined` means SENTINEL/no DATA. */
624
- immediate?: boolean;
625
- /** Suppress synchronous push-on-subscribe/replay DATA. Useful for change-only store listeners. */
626
- changesOnly?: boolean;
627
- onError?: (error: unknown) => void;
628
- onComplete?: () => void;
629
- /** Custom cache reader for wrappers that keep their own snapshot object. */
630
- getSnapshot?: () => T | undefined;
631
- }
632
- interface WritableNode<T> extends Node<T> {
633
- set(value: T): void;
634
- }
635
- interface WritableStoreOptions<T> extends SubscribeValuesOptions<T> {
636
- /** Override writes for adapters that need a framework-owned reducer. */
637
- write?: (node: WritableNode<T>, value: T) => void;
638
- }
639
- /** Read a node cache without activating it. */
640
- declare function nodeSnapshot<T>(node: Node<T>): T | undefined;
641
- /**
642
- * Subscribe to DATA values from a Node. Protocol internals stay below the adapter boundary:
643
- * DATA drives value listeners, ERROR/COMPLETE route to optional lifecycle callbacks.
685
+ * The convenience start/send/close methods publish command facts only; hidden
686
+ * session state is driven by the command node and graph-local EnvironmentDrivers.
644
687
  */
645
- declare function subscribeNodeValues<T>(node: Node<T>, run: (value: T | undefined) => void, opts?: SubscribeValuesOptions<T>): () => void;
646
- /** Build a Svelte/Nanostores-style readable store from a clean-slate Node. */
647
- declare function readableStore<T>(node: Node<T>, opts?: SubscribeValuesOptions<T>): ReadableStore<T>;
648
- /** Build a writable store over a StateNode or compatible clean-slate writable Node. */
649
- declare function writableStore<T>(node: WritableNode<T>, opts?: WritableStoreOptions<T>): WritableStore<T>;
650
- declare function writableStore<T>(node: Node<T>, opts: WritableStoreOptions<T> & {
651
- write: (node: WritableNode<T>, value: T) => void;
652
- }): WritableStore<T>;
653
- /** Build the tiny shape React's `useSyncExternalStore` expects, without importing React. */
654
- declare function externalStore<T>(node: Node<T>, opts?: Pick<SubscribeValuesOptions<T>, "getSnapshot" | "onError" | "onComplete">): ExternalStore<T>;
655
- /** Alias for React-facing bindings; dependency-free so React stays a peer of user code. */
656
- declare const reactExternalStore: typeof externalStore;
657
- /** Alias for Svelte-style readable stores. */
658
- declare const svelteReadableStore: typeof readableStore;
659
- /** Alias for Svelte-style writable stores. */
660
- declare const svelteWritableStore: typeof writableStore;
661
- /** Build a framework-neutral keyed record store (the core of old useSubscribeRecord helpers). */
662
- declare function recordReadableStore<K extends string, R extends Record<string, unknown>>(keysNode: Node<readonly K[]>, factory: NodeRecordFactory<K, R>, opts?: SubscribeValuesOptions<Record<K, R>>): ReadableStore<Record<K, R>>;
663
- /** Build a Zustand-compatible StoreApi over a caller-owned clean-slate state node. */
664
- declare function zustandStore<T extends object>(node: WritableNode<T>, initialState?: T, opts?: WritableStoreOptions<T>): ZustandStoreApi<T>;
665
- declare function zustandStore<T extends object>(node: Node<T>, initialState: T | undefined, opts: WritableStoreOptions<T> & {
666
- write: (node: WritableNode<T>, value: T) => void;
667
- }): ZustandStoreApi<T>;
668
- /** Build a Jotai-style atom facade over a caller-owned node. */
669
- declare function jotaiAtom<T>(node: WritableNode<T>, opts?: WritableStoreOptions<T>): WritableJotaiAtom<T>;
670
- declare function jotaiAtom<T>(node: Node<T>, opts?: SubscribeValuesOptions<T>): JotaiAtom<T>;
671
- /** Build a Nanostores-style atom facade over a caller-owned node. */
672
- declare function nanoAtom<T>(node: WritableNode<T>, opts?: WritableStoreOptions<T>): WritableNanoAtom<T>;
673
- declare function nanoAtom<T>(node: Node<T>, opts?: SubscribeValuesOptions<T>): NanoAtom<T>;
674
- /** Build a TC39-Signals-style facade over a caller-owned node. */
675
- declare function signalFromNode<T>(node: WritableNode<T>, opts?: WritableStoreOptions<T>): WritableSignalLike<T>;
676
- declare function signalFromNode<T>(node: Node<T>, opts?: SubscribeValuesOptions<T>): SignalLike<T>;
688
+ declare function webSocketSession(graph: Graph, request: WebSocketRequest, opts?: WebSocketSessionOptions): WebSocketSessionBundle;
677
689
 
678
- export { CRON_HANDLERS, type DecoratorBoundMethod, type DecoratorHostConstructor, EVENT_HANDLERS, type ExternalStore, GRAPHREFLY_MODULE_OPTIONS, GRAPHREFLY_REQUEST_GRAPH, GRAPHREFLY_ROOT_GRAPH, GraphCron, type GraphCronMeta, GraphInterval, type GraphIntervalMeta, type GraphMethodDecorator, type HttpRequestOf, INTERVAL_HANDLERS, type JotaiAtom, type NanoAtom, type NodeRecordFactory, OnGraphEvent, type OnGraphEventMeta, type OutboundAdapterOptions, type OutboundBundle, type OutboundEvent, type OutboundStatus, type ProcessCommandOf, type ReadableStore, type RemoteCallBundle, type RemoteCallError, type RemoteCallOptions, type RemoteCallRequest, type RemoteCallResponse, type RemoteCallResult, type RemoteCallStatus, type RemoteCallStatusState, type RemoteCallTimeout, type RemoteResponderBundle, type RemoteResponderEvent, type RemoteResponderHandler, type RemoteResponderHandlerDefinition, type RemoteResponderOptions, type RemoteResponderStatus, type RemoteResponderStatusState, type SignalLike, type SubscribeValuesOptions, type WebSocketSendOf, type WebSocketSessionBundle, type WebSocketSessionCommand, type WebSocketSessionInbound, type WebSocketSessionLifecycle, type WebSocketSessionOptions, type WebSocketSessionOutbound, type WebSocketSessionSendPolicy, type WebSocketSessionStatus, type WireBridgeAck, type WireBridgeAttempt, type WireBridgeBundle, type WireBridgeCommand, type WireBridgeEnvelope, type WireBridgeEnvelopeType, type WireBridgeEvent, type WireBridgeMetadata, type WireBridgeNack, type WireBridgeOptions, type WireBridgePayload, type WireBridgeStatus, type WritableJotaiAtom, type WritableNanoAtom, type WritableNode, type WritableSignalLike, type WritableStore, type WritableStoreOptions, type ZustandStoreApi, externalStore, getGraphToken, getNodeToken, jotaiAtom, nanoAtom, nodeSnapshot, reactExternalStore, readableStore, recordReadableStore, remoteCall, remoteResponder, remoteResponderHandler, signalFromNode, subscribeNodeValues, svelteReadableStore, svelteWritableStore, toHttp, toProcess, toWebSocket, webSocketSession, wireBridge, wireBridgeEnvelope, wireBridgeIdempotencyKey, writableStore, zustandStore };
690
+ export { CanonicalProtobufError, type CanonicalProtobufErrorCategory, type CanonicalWireBridgeDataBody, type CanonicalWireBridgeEnvelope, type CanonicalWireBridgeMetadata, type CanonicalWireBridgePayload, type CanonicalWireEdgeFrame, type HttpRequestOf, type OutboundAdapterOptions, type OutboundBundle, type OutboundEvent, type OutboundStatus, type ProcessCommandOf, type RemoteCallBundle, type RemoteCallError, type RemoteCallOptions, type RemoteCallRequest, type RemoteCallResponse, type RemoteCallResult, type RemoteCallStatus, type RemoteCallStatusState, type RemoteCallTimeout, type RemoteResponderBundle, type RemoteResponderEvent, type RemoteResponderHandler, type RemoteResponderHandlerDefinition, type RemoteResponderOptions, type RemoteResponderStatus, type RemoteResponderStatusState, type WebSocketSendOf, type WebSocketSessionBundle, type WebSocketSessionCommand, type WebSocketSessionInbound, type WebSocketSessionLifecycle, type WebSocketSessionOptions, type WebSocketSessionOutbound, type WebSocketSessionSendPolicy, type WebSocketSessionStatus, type WireBridgeAck, type WireBridgeAckDriverBundle, type WireBridgeAckDriverIssue, type WireBridgeAckDriverOptions, type WireBridgeAckDriverStatus, type WireBridgeAttempt, type WireBridgeBundle, type WireBridgeCommand, type WireBridgeEnvelope, type WireBridgeEnvelopeType, type WireBridgeEvent, type WireBridgeMetadata, type WireBridgeNack, type WireBridgeOptions, type WireBridgePayload, type WireBridgeProtobufBundle, type WireBridgeProtobufData, type WireBridgeProtobufIssue, type WireBridgeProtobufOptions, type WireBridgeProtobufStatus, type WireBridgeStatus, type WireEdgeGroupBundle, type WireEdgeGroupEdge, type WireEdgeGroupIssue, type WireEdgeGroupIssueCode, type WireEdgeGroupOptions, type WireEdgeGroupStatus, decodeCanonicalWireBridgeEnvelope, decodeCanonicalWireEdgeFrame, encodeCanonicalWireBridgeEnvelope, encodeCanonicalWireEdgeFrame, remoteCall, remoteResponder, remoteResponderHandler, toHttp, toProcess, toWebSocket, webSocketSession, wireBridge, wireBridgeAckDriver, wireBridgeEnvelope, wireBridgeIdempotencyKey, wireBridgeProtobuf, wireEdgeGroup };