@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,6 +1,12 @@
1
1
  import {
2
2
  profileSummary
3
- } from "../chunk-SCRFRCGR.js";
3
+ } from "../chunk-BSQGE5PS.js";
4
+ import {
5
+ eventFlow,
6
+ eventFlowProjection
7
+ } from "../chunk-RAHNUYA5.js";
8
+ import "../chunk-PVC7WDKI.js";
9
+ import "../chunk-UT3MHJCW.js";
4
10
  import {
5
11
  admissionFilter3D,
6
12
  admissionScored,
@@ -13,13 +19,16 @@ import {
13
19
  memoryRetrievalBundle,
14
20
  shardByTenant,
15
21
  validateMemoryFragment
16
- } from "../chunk-JIMUDQN3.js";
17
- import "../chunk-SWTLEQL6.js";
18
- import "../chunk-DK554R7P.js";
22
+ } from "../chunk-E4QCH32M.js";
23
+ import "../chunk-WQIA3GFB.js";
24
+ import "../chunk-S6HXABGL.js";
25
+ import "../chunk-DGUM43GV.js";
19
26
  export {
20
27
  admissionFilter3D,
21
28
  admissionScored,
22
29
  cosineSimilarity,
30
+ eventFlow,
31
+ eventFlowProjection,
23
32
  filterMemoryFragments,
24
33
  isMemoryFragment,
25
34
  knowledgeGraphReducerBundle,
@@ -0,0 +1,200 @@
1
+ import { N as Node } from './types-C9NOgNJw.js';
2
+
3
+ /** D136 graph-visible process command fact. */
4
+ interface ProcessCommand<T = unknown> {
5
+ readonly id: string;
6
+ readonly type: string;
7
+ readonly payload: T;
8
+ readonly processId?: string;
9
+ readonly correlationId?: string;
10
+ readonly causationId?: string;
11
+ readonly metadata?: Record<string, unknown>;
12
+ }
13
+ /** Event draft returned by a ProcessBundle reducer before runtime ordering. */
14
+ interface ProcessEventDraft<T = unknown> {
15
+ readonly id?: string;
16
+ readonly type: string;
17
+ readonly payload: T;
18
+ readonly processId?: string;
19
+ readonly correlationId?: string;
20
+ readonly causationId?: string;
21
+ readonly metadata?: Record<string, unknown>;
22
+ }
23
+ /** Ordered process event fact. These are DATA facts, not protocol messages. */
24
+ interface ProcessEvent<T = unknown> {
25
+ readonly id: string;
26
+ readonly type: string;
27
+ readonly seq: number;
28
+ readonly cursor: number;
29
+ readonly commandId: string;
30
+ readonly commandType: string;
31
+ readonly payload: T;
32
+ readonly timestampMs: number;
33
+ readonly processId?: string;
34
+ readonly correlationId?: string;
35
+ readonly causationId?: string;
36
+ readonly metadata?: Record<string, unknown>;
37
+ }
38
+ /** Effect-request draft emitted by a ProcessBundle reducer for visible effect runners. */
39
+ interface ProcessEffectRequestDraft<T = unknown> {
40
+ readonly id?: string;
41
+ readonly type: string;
42
+ readonly payload: T;
43
+ readonly processId?: string;
44
+ readonly correlationId?: string;
45
+ readonly causationId?: string;
46
+ readonly metadata?: Record<string, unknown>;
47
+ }
48
+ /** Ordered effect-request fact. Effect runners consume this node in later slices. */
49
+ interface ProcessEffectRequest<T = unknown> {
50
+ readonly id: string;
51
+ readonly type: string;
52
+ readonly seq: number;
53
+ readonly cursor: number;
54
+ readonly commandId: string;
55
+ readonly commandType: string;
56
+ readonly payload: T;
57
+ readonly timestampMs: number;
58
+ readonly processId?: string;
59
+ readonly correlationId?: string;
60
+ readonly causationId?: string;
61
+ readonly metadata?: Record<string, unknown>;
62
+ }
63
+ type ProcessEffectCommandType = "effect.result" | "effect.failure" | "effect.cancel" | "effect.timeout";
64
+ interface ProcessEffectOutcomeBase {
65
+ readonly effectId: string;
66
+ readonly effectType: string;
67
+ readonly processId?: string;
68
+ readonly correlationId?: string;
69
+ readonly causationId?: string;
70
+ readonly commandId?: string;
71
+ readonly metadata?: Record<string, unknown>;
72
+ }
73
+ type ProcessEffectOutcome<TResult = unknown> = (ProcessEffectOutcomeBase & {
74
+ readonly kind: "result";
75
+ readonly value: TResult;
76
+ }) | (ProcessEffectOutcomeBase & {
77
+ readonly kind: "failure";
78
+ readonly error: unknown;
79
+ }) | (ProcessEffectOutcomeBase & {
80
+ readonly kind: "cancel";
81
+ readonly reason?: string;
82
+ }) | (ProcessEffectOutcomeBase & {
83
+ readonly kind: "timeout";
84
+ readonly error: unknown;
85
+ });
86
+ type ProcessEffectCommandPayload<TResult = unknown> = (Omit<ProcessEffectOutcomeBase, "commandId"> & {
87
+ readonly kind: "result";
88
+ readonly value: TResult;
89
+ }) | (Omit<ProcessEffectOutcomeBase, "commandId"> & {
90
+ readonly kind: "failure";
91
+ readonly error: unknown;
92
+ }) | (Omit<ProcessEffectOutcomeBase, "commandId"> & {
93
+ readonly kind: "cancel";
94
+ readonly reason?: string;
95
+ }) | (Omit<ProcessEffectOutcomeBase, "commandId"> & {
96
+ readonly kind: "timeout";
97
+ readonly error: unknown;
98
+ });
99
+ type ProcessErrorCode = "malformed-command" | "reducer-threw" | "clock-threw" | "malformed-state" | "malformed-event" | "malformed-effect";
100
+ /** Graph-visible ProcessBundle error fact. These are DATA facts, not protocol ERROR. */
101
+ interface ProcessError {
102
+ readonly code: ProcessErrorCode;
103
+ readonly message: string;
104
+ readonly command?: unknown;
105
+ readonly commandId?: string;
106
+ readonly commandType?: string;
107
+ readonly cursor: ProcessCursor;
108
+ }
109
+ /** Accepted/rejected command outcome projected from the ProcessBundle runtime. */
110
+ interface ProcessStatus {
111
+ readonly state: "accepted" | "rejected";
112
+ readonly commandId?: string;
113
+ readonly commandType?: string;
114
+ readonly eventCount: number;
115
+ readonly effectCount: number;
116
+ readonly errorCode?: ProcessErrorCode;
117
+ readonly cursor: ProcessCursor;
118
+ }
119
+ interface ProcessEffectRunnerStatus {
120
+ readonly state: "requested" | "commanded" | "rejected";
121
+ readonly effectId?: string;
122
+ readonly effectType?: string;
123
+ readonly commandId?: string;
124
+ readonly commandType?: ProcessEffectCommandType;
125
+ readonly requested: number;
126
+ readonly commanded: number;
127
+ readonly rejected: number;
128
+ }
129
+ interface ProcessEffectRunnerError {
130
+ readonly code: "malformed-outcome";
131
+ readonly message: string;
132
+ readonly outcome?: unknown;
133
+ readonly effectId?: string;
134
+ readonly effectType?: string;
135
+ }
136
+ /** Ordered audit fact for one attempted command reduction. */
137
+ interface ProcessAuditRecord {
138
+ readonly seq: number;
139
+ readonly commandId?: string;
140
+ readonly commandType?: string;
141
+ readonly outcome: "success" | "failure";
142
+ readonly eventIds: readonly string[];
143
+ readonly eventTypes: readonly string[];
144
+ readonly effectIds: readonly string[];
145
+ readonly effectTypes: readonly string[];
146
+ readonly errorCode?: ProcessErrorCode;
147
+ readonly errorMessage?: string;
148
+ readonly cursor: ProcessCursor;
149
+ }
150
+ /** Monotonic graph-visible ProcessBundle cursor counters. */
151
+ interface ProcessCursor {
152
+ readonly eventSeq: number;
153
+ readonly effectSeq: number;
154
+ readonly commandCount: number;
155
+ readonly errorCount: number;
156
+ readonly auditSeq: number;
157
+ }
158
+ /** Reducer result: next process state plus optional event/effect-request drafts. */
159
+ interface ProcessReduction<TState = unknown, TEvent = unknown, TEffect = unknown> {
160
+ readonly state: TState;
161
+ readonly events?: readonly ProcessEventDraft<TEvent>[];
162
+ readonly effects?: readonly ProcessEffectRequestDraft<TEffect>[];
163
+ }
164
+ /** Sync ProcessBundle reducer. Async effects belong in graph-visible adapters, not here. */
165
+ type ProcessReducer<TCommand = unknown, TState = unknown, TEvent = unknown, TEffect = unknown> = (command: ProcessCommand<TCommand>, state: TState) => ProcessReduction<TState, TEvent, TEffect>;
166
+ /** Options for a D136 facts-plus-reducer ProcessBundle. */
167
+ interface ProcessBundleOptions<TCommand = unknown, TState = unknown, TEvent = unknown, TEffect = unknown> {
168
+ readonly name?: string;
169
+ readonly initialState: TState;
170
+ readonly reduce: ProcessReducer<TCommand, TState, TEvent, TEffect>;
171
+ readonly now?: () => number;
172
+ }
173
+ /** D136 facts-plus-reducer process bundle. It is not a workflow engine or hidden runtime owner. */
174
+ interface ProcessBundle<TCommand = unknown, TState = unknown, TEvent = unknown, TEffect = unknown> {
175
+ readonly command: Node<ProcessCommand<TCommand>>;
176
+ readonly events: Node<ProcessEvent<TEvent>>;
177
+ readonly state: Node<TState>;
178
+ readonly audit: Node<ProcessAuditRecord>;
179
+ readonly effectRequests: Node<ProcessEffectRequest<TEffect>>;
180
+ readonly status: Node<ProcessStatus>;
181
+ readonly errors: Node<ProcessError>;
182
+ readonly cursor: Node<ProcessCursor>;
183
+ dispatch(command: ProcessCommand<TCommand>): ProcessCommand<TCommand>;
184
+ /** Release only graph-owned retain roots; process facts/topology/cache/state remain ordinary graph data. */
185
+ release(): void;
186
+ }
187
+ interface ProcessEffectRunnerOptions<TResult = unknown> {
188
+ readonly name?: string;
189
+ readonly outcomes: readonly Node<ProcessEffectOutcome<TResult>>[];
190
+ }
191
+ interface ProcessEffectRunnerBundle<TEffect = unknown, TResult = unknown> {
192
+ readonly requests: Node<ProcessEffectRequest<TEffect>>;
193
+ readonly outcomes: Node<ProcessEffectOutcome<TResult>>;
194
+ readonly commands: Node<ProcessCommand<ProcessEffectCommandPayload<TResult>>>;
195
+ readonly status: Node<ProcessEffectRunnerStatus>;
196
+ readonly errors: Node<ProcessEffectRunnerError>;
197
+ release(): void;
198
+ }
199
+
200
+ export type { ProcessCommand as P, ProcessStatus as a, ProcessEvent as b, ProcessEffectRequest as c, ProcessBundleOptions as d, ProcessBundle as e, ProcessEffectRunnerOptions as f, ProcessEffectRunnerBundle as g, ProcessAuditRecord as h, ProcessCursor as i, ProcessEffectCommandPayload as j, ProcessEffectCommandType as k, ProcessEffectOutcome as l, ProcessEffectRequestDraft as m, ProcessEffectRunnerError as n, ProcessEffectRunnerStatus as o, ProcessError as p, ProcessErrorCode as q, ProcessEventDraft as r, ProcessReducer as s, ProcessReduction as t };
@@ -0,0 +1,200 @@
1
+ import { N as Node } from './types-BS6CyR-x.cjs';
2
+
3
+ /** D136 graph-visible process command fact. */
4
+ interface ProcessCommand<T = unknown> {
5
+ readonly id: string;
6
+ readonly type: string;
7
+ readonly payload: T;
8
+ readonly processId?: string;
9
+ readonly correlationId?: string;
10
+ readonly causationId?: string;
11
+ readonly metadata?: Record<string, unknown>;
12
+ }
13
+ /** Event draft returned by a ProcessBundle reducer before runtime ordering. */
14
+ interface ProcessEventDraft<T = unknown> {
15
+ readonly id?: string;
16
+ readonly type: string;
17
+ readonly payload: T;
18
+ readonly processId?: string;
19
+ readonly correlationId?: string;
20
+ readonly causationId?: string;
21
+ readonly metadata?: Record<string, unknown>;
22
+ }
23
+ /** Ordered process event fact. These are DATA facts, not protocol messages. */
24
+ interface ProcessEvent<T = unknown> {
25
+ readonly id: string;
26
+ readonly type: string;
27
+ readonly seq: number;
28
+ readonly cursor: number;
29
+ readonly commandId: string;
30
+ readonly commandType: string;
31
+ readonly payload: T;
32
+ readonly timestampMs: number;
33
+ readonly processId?: string;
34
+ readonly correlationId?: string;
35
+ readonly causationId?: string;
36
+ readonly metadata?: Record<string, unknown>;
37
+ }
38
+ /** Effect-request draft emitted by a ProcessBundle reducer for visible effect runners. */
39
+ interface ProcessEffectRequestDraft<T = unknown> {
40
+ readonly id?: string;
41
+ readonly type: string;
42
+ readonly payload: T;
43
+ readonly processId?: string;
44
+ readonly correlationId?: string;
45
+ readonly causationId?: string;
46
+ readonly metadata?: Record<string, unknown>;
47
+ }
48
+ /** Ordered effect-request fact. Effect runners consume this node in later slices. */
49
+ interface ProcessEffectRequest<T = unknown> {
50
+ readonly id: string;
51
+ readonly type: string;
52
+ readonly seq: number;
53
+ readonly cursor: number;
54
+ readonly commandId: string;
55
+ readonly commandType: string;
56
+ readonly payload: T;
57
+ readonly timestampMs: number;
58
+ readonly processId?: string;
59
+ readonly correlationId?: string;
60
+ readonly causationId?: string;
61
+ readonly metadata?: Record<string, unknown>;
62
+ }
63
+ type ProcessEffectCommandType = "effect.result" | "effect.failure" | "effect.cancel" | "effect.timeout";
64
+ interface ProcessEffectOutcomeBase {
65
+ readonly effectId: string;
66
+ readonly effectType: string;
67
+ readonly processId?: string;
68
+ readonly correlationId?: string;
69
+ readonly causationId?: string;
70
+ readonly commandId?: string;
71
+ readonly metadata?: Record<string, unknown>;
72
+ }
73
+ type ProcessEffectOutcome<TResult = unknown> = (ProcessEffectOutcomeBase & {
74
+ readonly kind: "result";
75
+ readonly value: TResult;
76
+ }) | (ProcessEffectOutcomeBase & {
77
+ readonly kind: "failure";
78
+ readonly error: unknown;
79
+ }) | (ProcessEffectOutcomeBase & {
80
+ readonly kind: "cancel";
81
+ readonly reason?: string;
82
+ }) | (ProcessEffectOutcomeBase & {
83
+ readonly kind: "timeout";
84
+ readonly error: unknown;
85
+ });
86
+ type ProcessEffectCommandPayload<TResult = unknown> = (Omit<ProcessEffectOutcomeBase, "commandId"> & {
87
+ readonly kind: "result";
88
+ readonly value: TResult;
89
+ }) | (Omit<ProcessEffectOutcomeBase, "commandId"> & {
90
+ readonly kind: "failure";
91
+ readonly error: unknown;
92
+ }) | (Omit<ProcessEffectOutcomeBase, "commandId"> & {
93
+ readonly kind: "cancel";
94
+ readonly reason?: string;
95
+ }) | (Omit<ProcessEffectOutcomeBase, "commandId"> & {
96
+ readonly kind: "timeout";
97
+ readonly error: unknown;
98
+ });
99
+ type ProcessErrorCode = "malformed-command" | "reducer-threw" | "clock-threw" | "malformed-state" | "malformed-event" | "malformed-effect";
100
+ /** Graph-visible ProcessBundle error fact. These are DATA facts, not protocol ERROR. */
101
+ interface ProcessError {
102
+ readonly code: ProcessErrorCode;
103
+ readonly message: string;
104
+ readonly command?: unknown;
105
+ readonly commandId?: string;
106
+ readonly commandType?: string;
107
+ readonly cursor: ProcessCursor;
108
+ }
109
+ /** Accepted/rejected command outcome projected from the ProcessBundle runtime. */
110
+ interface ProcessStatus {
111
+ readonly state: "accepted" | "rejected";
112
+ readonly commandId?: string;
113
+ readonly commandType?: string;
114
+ readonly eventCount: number;
115
+ readonly effectCount: number;
116
+ readonly errorCode?: ProcessErrorCode;
117
+ readonly cursor: ProcessCursor;
118
+ }
119
+ interface ProcessEffectRunnerStatus {
120
+ readonly state: "requested" | "commanded" | "rejected";
121
+ readonly effectId?: string;
122
+ readonly effectType?: string;
123
+ readonly commandId?: string;
124
+ readonly commandType?: ProcessEffectCommandType;
125
+ readonly requested: number;
126
+ readonly commanded: number;
127
+ readonly rejected: number;
128
+ }
129
+ interface ProcessEffectRunnerError {
130
+ readonly code: "malformed-outcome";
131
+ readonly message: string;
132
+ readonly outcome?: unknown;
133
+ readonly effectId?: string;
134
+ readonly effectType?: string;
135
+ }
136
+ /** Ordered audit fact for one attempted command reduction. */
137
+ interface ProcessAuditRecord {
138
+ readonly seq: number;
139
+ readonly commandId?: string;
140
+ readonly commandType?: string;
141
+ readonly outcome: "success" | "failure";
142
+ readonly eventIds: readonly string[];
143
+ readonly eventTypes: readonly string[];
144
+ readonly effectIds: readonly string[];
145
+ readonly effectTypes: readonly string[];
146
+ readonly errorCode?: ProcessErrorCode;
147
+ readonly errorMessage?: string;
148
+ readonly cursor: ProcessCursor;
149
+ }
150
+ /** Monotonic graph-visible ProcessBundle cursor counters. */
151
+ interface ProcessCursor {
152
+ readonly eventSeq: number;
153
+ readonly effectSeq: number;
154
+ readonly commandCount: number;
155
+ readonly errorCount: number;
156
+ readonly auditSeq: number;
157
+ }
158
+ /** Reducer result: next process state plus optional event/effect-request drafts. */
159
+ interface ProcessReduction<TState = unknown, TEvent = unknown, TEffect = unknown> {
160
+ readonly state: TState;
161
+ readonly events?: readonly ProcessEventDraft<TEvent>[];
162
+ readonly effects?: readonly ProcessEffectRequestDraft<TEffect>[];
163
+ }
164
+ /** Sync ProcessBundle reducer. Async effects belong in graph-visible adapters, not here. */
165
+ type ProcessReducer<TCommand = unknown, TState = unknown, TEvent = unknown, TEffect = unknown> = (command: ProcessCommand<TCommand>, state: TState) => ProcessReduction<TState, TEvent, TEffect>;
166
+ /** Options for a D136 facts-plus-reducer ProcessBundle. */
167
+ interface ProcessBundleOptions<TCommand = unknown, TState = unknown, TEvent = unknown, TEffect = unknown> {
168
+ readonly name?: string;
169
+ readonly initialState: TState;
170
+ readonly reduce: ProcessReducer<TCommand, TState, TEvent, TEffect>;
171
+ readonly now?: () => number;
172
+ }
173
+ /** D136 facts-plus-reducer process bundle. It is not a workflow engine or hidden runtime owner. */
174
+ interface ProcessBundle<TCommand = unknown, TState = unknown, TEvent = unknown, TEffect = unknown> {
175
+ readonly command: Node<ProcessCommand<TCommand>>;
176
+ readonly events: Node<ProcessEvent<TEvent>>;
177
+ readonly state: Node<TState>;
178
+ readonly audit: Node<ProcessAuditRecord>;
179
+ readonly effectRequests: Node<ProcessEffectRequest<TEffect>>;
180
+ readonly status: Node<ProcessStatus>;
181
+ readonly errors: Node<ProcessError>;
182
+ readonly cursor: Node<ProcessCursor>;
183
+ dispatch(command: ProcessCommand<TCommand>): ProcessCommand<TCommand>;
184
+ /** Release only graph-owned retain roots; process facts/topology/cache/state remain ordinary graph data. */
185
+ release(): void;
186
+ }
187
+ interface ProcessEffectRunnerOptions<TResult = unknown> {
188
+ readonly name?: string;
189
+ readonly outcomes: readonly Node<ProcessEffectOutcome<TResult>>[];
190
+ }
191
+ interface ProcessEffectRunnerBundle<TEffect = unknown, TResult = unknown> {
192
+ readonly requests: Node<ProcessEffectRequest<TEffect>>;
193
+ readonly outcomes: Node<ProcessEffectOutcome<TResult>>;
194
+ readonly commands: Node<ProcessCommand<ProcessEffectCommandPayload<TResult>>>;
195
+ readonly status: Node<ProcessEffectRunnerStatus>;
196
+ readonly errors: Node<ProcessEffectRunnerError>;
197
+ release(): void;
198
+ }
199
+
200
+ export type { ProcessCommand as P, ProcessStatus as a, ProcessEvent as b, ProcessEffectRequest as c, ProcessBundleOptions as d, ProcessBundle as e, ProcessEffectRunnerOptions as f, ProcessEffectRunnerBundle as g, ProcessAuditRecord as h, ProcessCursor as i, ProcessEffectCommandPayload as j, ProcessEffectCommandType as k, ProcessEffectOutcome as l, ProcessEffectRequestDraft as m, ProcessEffectRunnerError as n, ProcessEffectRunnerStatus as o, ProcessError as p, ProcessErrorCode as q, ProcessEventDraft as r, ProcessReducer as s, ProcessReduction as t };
@@ -1,39 +1,9 @@
1
- import { N as Node, D as Dispatcher } from './types-bNMSWKqF.cjs';
2
- import { d as Graph } from './graph-s23RbbFO.cjs';
1
+ import { D as Dispatcher, N as Node } from './types-BS6CyR-x.cjs';
2
+ import { O as OrderedCapacityPolicy, V as ViewCachePolicy, R as ReactiveOpt } from './types-XDoqxYO9.cjs';
3
+ import { d as Graph } from './graph-CWK3HLPB.cjs';
3
4
  import { f as KvStorageTier, d as AppendLogStorageTier } from './append-log-DisvEReb.cjs';
4
5
  import { C as Codec } from './codec-BB7p8fJc.cjs';
5
6
 
6
- /**
7
- * Public policy vocabulary (D80): shared option shapes only.
8
- *
9
- * Runtime policy mechanics stay structure-owned: each reactive collection still owns
10
- * backend mutation, victim application, delta emission, and graph-bound node-as-opt wiring.
11
- */
12
- type ReactiveOpt<T> = T | Node<T>;
13
- /** Capacity vocabulary shared by structures that bound retained entries. */
14
- interface CapacityPolicy<Order extends string = never> {
15
- readonly maxSize: ReactiveOpt<number>;
16
- readonly order?: Order;
17
- }
18
- /** Capacity policy variant for structures whose eviction order must be explicit. */
19
- type OrderedCapacityPolicy<Order extends string> = CapacityPolicy<Order> & {
20
- readonly order: Order;
21
- };
22
- /** Score-based retention vocabulary; higher scores are retained. */
23
- interface RetentionPolicy<Entry> {
24
- readonly maxSize?: ReactiveOpt<number>;
25
- score(entry: Entry): number;
26
- }
27
- /**
28
- * Static view-cache vocabulary for memoized helper nodes.
29
- *
30
- * This is intentionally not a release/keepalive API: eviction may drop the structure's
31
- * memo reference, but externally held Node views remain valid.
32
- */
33
- interface ViewCachePolicy {
34
- readonly maxEntries?: number;
35
- }
36
-
37
7
  /**
38
8
  * Delta-event payloads for the reactive data structures (CSP-2.8, D54/D60).
39
9
  *
@@ -137,17 +107,17 @@ type LogChange<T> = {
137
107
  * pushes ONE change payload (O(1)/mutation). Downstream watches events anytime. It is the
138
108
  * structure's BACKBONE: the snapshot node declares it as its dep (D60 reactiveList topology).
139
109
  *
140
- * - SNAPSHOT port (D60 #2b) — a pull-mode node ({@link CollectionCore.snapshot}, R-pull/D59) that
141
- * is QUIET by default and, on a cone-routed RESUME demand, LAZILY reads `backend.snapshot()`
110
+ * - SNAPSHOT port (D60 #2b) — a pull-mode node ({@link CollectionCore.snapshot}, R-pull/D269) that
111
+ * is QUIET by default and, on a cone-routed PULL demand, LAZILY reads `backend.snapshot()`
142
112
  * (one O(n) materialization) and pushes it once, then re-quiets. The O(n) build happens ONLY on
143
113
  * demand — never eagerly per mutation (D60 #2b: lazy is P·O(n), not M·O(n)). It has NO value of
144
114
  * its own — its fn reads the backend on demand, so the backend stays the single source of truth
145
115
  * (D60 #3). Coalesce-on-no-change is free: the delta-dep's DIRTY/DATA arms the pull node via
146
- * R-pull's quiet-absorb accounting; a demand with no intervening delta is silent (C-16).
116
+ * R-pull's quiet-absorb accounting; a demand with no intervening delta emits no duplicate DATA.
147
117
  *
148
- * Demand path: a downstream consumer issues `ctx.upNext([[RESUME, core.pullId]])` (boundary-deferred
149
- * self-demand, R-up-routing/D59) — it needs the snapshot node upstream in its declared cone, NOT its
150
- * reference. Cold-start (a demand before any mutation) is silent by substrate coalesce (C-16); for an
118
+ * Demand path: a downstream consumer issues `ctx.upNext([["PULL", { pullId: core.pullId }]])`
119
+ * (boundary-deferred self-demand, R-up-routing/D269) — it needs the snapshot node upstream in its
120
+ * declared cone, NOT its reference. Cold-start (a demand before any mutation) emits no DATA; for an
151
121
  * initial/imperative read use the structure's synchronous quick-read (the deliberately-non-reactive
152
122
  * peek, D60) — the reactive pull serves the watch-delta-then-demand pattern.
153
123
  *
@@ -171,7 +141,7 @@ interface ReactiveView<C, S> {
171
141
  readonly delta: Node<C>;
172
142
  /** Derived SNAPSHOT pull node: demand via `pullId` to materialize the current view. */
173
143
  readonly snapshot: Node<S>;
174
- /** The snapshot node's pullId (R-pull/D59), minted per view instance. */
144
+ /** The snapshot node's pullId (R-pull/D269), minted per view instance. */
175
145
  readonly pullId: symbol;
176
146
  /** Release memoized/light-view resources owned by the parent collection. */
177
147
  dispose(): void;
@@ -341,4 +311,4 @@ declare function loadReactiveMapState<K = unknown, V = unknown>(opts: LoadReacti
341
311
  /** D161 passive load/fold scaffold for reactiveIndex; key-codec restore is deferred. */
342
312
  declare function loadReactiveIndexState<K = unknown, V = unknown>(opts: LoadReactiveCollectionStateOptions): Promise<ReactiveIndexRestoreState<K, V>>;
343
313
 
344
- export { loadReactiveLogState as A, loadReactiveMapState as B, type CapacityPolicy as C, reactiveCollectionChangeFrame as D, reactiveCollectionChangeFrameCodec as E, reactiveCollectionSnapshotFrame as F, reactiveCollectionSnapshotFrameCodec as G, reactiveIndex as H, type IndexChange as I, type CollectionCoreOptions as J, type ListChange as L, type MapChange as M, type OrderedCapacityPolicy as O, REACTIVE_COLLECTION_CHANGE_FORMAT as R, type ViewCachePolicy as V, type IndexRow as a, type LoadReactiveCollectionStateOptions as b, type LogChange as c, REACTIVE_COLLECTION_FRAME_VERSION as d, REACTIVE_COLLECTION_SNAPSHOT_FORMAT as e, type ReactiveCollectionChangeFrame as f, type ReactiveCollectionRestoreState as g, type ReactiveCollectionSnapshotFrame as h, type ReactiveCollectionStorageKind as i, type ReactiveIndex as j, type ReactiveIndexCapacityOrder as k, type ReactiveIndexCapacityPolicy as l, type ReactiveIndexOpt as m, type ReactiveIndexOptions as n, type ReactiveIndexRestoreState as o, type ReactiveListRestoreState as p, type ReactiveLogRestoreState as q, type ReactiveMapRestoreState as r, type ReactiveOpt as s, type ReactiveView as t, type RetentionPolicy as u, assertReactiveCollectionChangeFrame as v, assertReactiveCollectionSnapshotFrame as w, collectionSnapshotKey as x, loadReactiveIndexState as y, loadReactiveListState as z };
314
+ export { reactiveCollectionChangeFrame as A, reactiveCollectionChangeFrameCodec as B, reactiveCollectionSnapshotFrame as C, reactiveCollectionSnapshotFrameCodec as D, reactiveIndex as E, type CollectionCoreOptions as F, type IndexChange as I, type ListChange as L, type MapChange as M, REACTIVE_COLLECTION_CHANGE_FORMAT as R, type IndexRow as a, type LoadReactiveCollectionStateOptions as b, type LogChange as c, REACTIVE_COLLECTION_FRAME_VERSION as d, REACTIVE_COLLECTION_SNAPSHOT_FORMAT as e, type ReactiveCollectionChangeFrame as f, type ReactiveCollectionRestoreState as g, type ReactiveCollectionSnapshotFrame as h, type ReactiveCollectionStorageKind as i, type ReactiveIndex as j, type ReactiveIndexCapacityOrder as k, type ReactiveIndexCapacityPolicy as l, type ReactiveIndexOpt as m, type ReactiveIndexOptions as n, type ReactiveIndexRestoreState as o, type ReactiveListRestoreState as p, type ReactiveLogRestoreState as q, type ReactiveMapRestoreState as r, type ReactiveView as s, assertReactiveCollectionChangeFrame as t, assertReactiveCollectionSnapshotFrame as u, collectionSnapshotKey as v, loadReactiveIndexState as w, loadReactiveListState as x, loadReactiveLogState as y, loadReactiveMapState as z };
@@ -1,39 +1,9 @@
1
- import { N as Node, D as Dispatcher } from './types-h12mNYbq.js';
2
- import { d as Graph } from './graph-DfdF9zy4.js';
1
+ import { D as Dispatcher, N as Node } from './types-C9NOgNJw.js';
2
+ import { O as OrderedCapacityPolicy, V as ViewCachePolicy, R as ReactiveOpt } from './types-DL_05n2M.js';
3
+ import { d as Graph } from './graph-ho5sotHP.js';
3
4
  import { f as KvStorageTier, d as AppendLogStorageTier } from './append-log-DzKMmjxx.js';
4
5
  import { C as Codec } from './codec-BB7p8fJc.js';
5
6
 
6
- /**
7
- * Public policy vocabulary (D80): shared option shapes only.
8
- *
9
- * Runtime policy mechanics stay structure-owned: each reactive collection still owns
10
- * backend mutation, victim application, delta emission, and graph-bound node-as-opt wiring.
11
- */
12
- type ReactiveOpt<T> = T | Node<T>;
13
- /** Capacity vocabulary shared by structures that bound retained entries. */
14
- interface CapacityPolicy<Order extends string = never> {
15
- readonly maxSize: ReactiveOpt<number>;
16
- readonly order?: Order;
17
- }
18
- /** Capacity policy variant for structures whose eviction order must be explicit. */
19
- type OrderedCapacityPolicy<Order extends string> = CapacityPolicy<Order> & {
20
- readonly order: Order;
21
- };
22
- /** Score-based retention vocabulary; higher scores are retained. */
23
- interface RetentionPolicy<Entry> {
24
- readonly maxSize?: ReactiveOpt<number>;
25
- score(entry: Entry): number;
26
- }
27
- /**
28
- * Static view-cache vocabulary for memoized helper nodes.
29
- *
30
- * This is intentionally not a release/keepalive API: eviction may drop the structure's
31
- * memo reference, but externally held Node views remain valid.
32
- */
33
- interface ViewCachePolicy {
34
- readonly maxEntries?: number;
35
- }
36
-
37
7
  /**
38
8
  * Delta-event payloads for the reactive data structures (CSP-2.8, D54/D60).
39
9
  *
@@ -137,17 +107,17 @@ type LogChange<T> = {
137
107
  * pushes ONE change payload (O(1)/mutation). Downstream watches events anytime. It is the
138
108
  * structure's BACKBONE: the snapshot node declares it as its dep (D60 reactiveList topology).
139
109
  *
140
- * - SNAPSHOT port (D60 #2b) — a pull-mode node ({@link CollectionCore.snapshot}, R-pull/D59) that
141
- * is QUIET by default and, on a cone-routed RESUME demand, LAZILY reads `backend.snapshot()`
110
+ * - SNAPSHOT port (D60 #2b) — a pull-mode node ({@link CollectionCore.snapshot}, R-pull/D269) that
111
+ * is QUIET by default and, on a cone-routed PULL demand, LAZILY reads `backend.snapshot()`
142
112
  * (one O(n) materialization) and pushes it once, then re-quiets. The O(n) build happens ONLY on
143
113
  * demand — never eagerly per mutation (D60 #2b: lazy is P·O(n), not M·O(n)). It has NO value of
144
114
  * its own — its fn reads the backend on demand, so the backend stays the single source of truth
145
115
  * (D60 #3). Coalesce-on-no-change is free: the delta-dep's DIRTY/DATA arms the pull node via
146
- * R-pull's quiet-absorb accounting; a demand with no intervening delta is silent (C-16).
116
+ * R-pull's quiet-absorb accounting; a demand with no intervening delta emits no duplicate DATA.
147
117
  *
148
- * Demand path: a downstream consumer issues `ctx.upNext([[RESUME, core.pullId]])` (boundary-deferred
149
- * self-demand, R-up-routing/D59) — it needs the snapshot node upstream in its declared cone, NOT its
150
- * reference. Cold-start (a demand before any mutation) is silent by substrate coalesce (C-16); for an
118
+ * Demand path: a downstream consumer issues `ctx.upNext([["PULL", { pullId: core.pullId }]])`
119
+ * (boundary-deferred self-demand, R-up-routing/D269) — it needs the snapshot node upstream in its
120
+ * declared cone, NOT its reference. Cold-start (a demand before any mutation) emits no DATA; for an
151
121
  * initial/imperative read use the structure's synchronous quick-read (the deliberately-non-reactive
152
122
  * peek, D60) — the reactive pull serves the watch-delta-then-demand pattern.
153
123
  *
@@ -171,7 +141,7 @@ interface ReactiveView<C, S> {
171
141
  readonly delta: Node<C>;
172
142
  /** Derived SNAPSHOT pull node: demand via `pullId` to materialize the current view. */
173
143
  readonly snapshot: Node<S>;
174
- /** The snapshot node's pullId (R-pull/D59), minted per view instance. */
144
+ /** The snapshot node's pullId (R-pull/D269), minted per view instance. */
175
145
  readonly pullId: symbol;
176
146
  /** Release memoized/light-view resources owned by the parent collection. */
177
147
  dispose(): void;
@@ -341,4 +311,4 @@ declare function loadReactiveMapState<K = unknown, V = unknown>(opts: LoadReacti
341
311
  /** D161 passive load/fold scaffold for reactiveIndex; key-codec restore is deferred. */
342
312
  declare function loadReactiveIndexState<K = unknown, V = unknown>(opts: LoadReactiveCollectionStateOptions): Promise<ReactiveIndexRestoreState<K, V>>;
343
313
 
344
- export { loadReactiveLogState as A, loadReactiveMapState as B, type CapacityPolicy as C, reactiveCollectionChangeFrame as D, reactiveCollectionChangeFrameCodec as E, reactiveCollectionSnapshotFrame as F, reactiveCollectionSnapshotFrameCodec as G, reactiveIndex as H, type IndexChange as I, type CollectionCoreOptions as J, type ListChange as L, type MapChange as M, type OrderedCapacityPolicy as O, REACTIVE_COLLECTION_CHANGE_FORMAT as R, type ViewCachePolicy as V, type IndexRow as a, type LoadReactiveCollectionStateOptions as b, type LogChange as c, REACTIVE_COLLECTION_FRAME_VERSION as d, REACTIVE_COLLECTION_SNAPSHOT_FORMAT as e, type ReactiveCollectionChangeFrame as f, type ReactiveCollectionRestoreState as g, type ReactiveCollectionSnapshotFrame as h, type ReactiveCollectionStorageKind as i, type ReactiveIndex as j, type ReactiveIndexCapacityOrder as k, type ReactiveIndexCapacityPolicy as l, type ReactiveIndexOpt as m, type ReactiveIndexOptions as n, type ReactiveIndexRestoreState as o, type ReactiveListRestoreState as p, type ReactiveLogRestoreState as q, type ReactiveMapRestoreState as r, type ReactiveOpt as s, type ReactiveView as t, type RetentionPolicy as u, assertReactiveCollectionChangeFrame as v, assertReactiveCollectionSnapshotFrame as w, collectionSnapshotKey as x, loadReactiveIndexState as y, loadReactiveListState as z };
314
+ export { reactiveCollectionChangeFrame as A, reactiveCollectionChangeFrameCodec as B, reactiveCollectionSnapshotFrame as C, reactiveCollectionSnapshotFrameCodec as D, reactiveIndex as E, type CollectionCoreOptions as F, type IndexChange as I, type ListChange as L, type MapChange as M, REACTIVE_COLLECTION_CHANGE_FORMAT as R, type IndexRow as a, type LoadReactiveCollectionStateOptions as b, type LogChange as c, REACTIVE_COLLECTION_FRAME_VERSION as d, REACTIVE_COLLECTION_SNAPSHOT_FORMAT as e, type ReactiveCollectionChangeFrame as f, type ReactiveCollectionRestoreState as g, type ReactiveCollectionSnapshotFrame as h, type ReactiveCollectionStorageKind as i, type ReactiveIndex as j, type ReactiveIndexCapacityOrder as k, type ReactiveIndexCapacityPolicy as l, type ReactiveIndexOpt as m, type ReactiveIndexOptions as n, type ReactiveIndexRestoreState as o, type ReactiveListRestoreState as p, type ReactiveLogRestoreState as q, type ReactiveMapRestoreState as r, type ReactiveView as s, assertReactiveCollectionChangeFrame as t, assertReactiveCollectionSnapshotFrame as u, collectionSnapshotKey as v, loadReactiveIndexState as w, loadReactiveListState as x, loadReactiveLogState as y, loadReactiveMapState as z };
@@ -1,9 +1,9 @@
1
- import { Q as StateNode, d as Graph } from './graph-s23RbbFO.cjs';
2
- import { N as Node } from './types-bNMSWKqF.cjs';
3
- import { AgenticMemoryStrictJsonValue, AgenticMemoryRecordFrame, AgenticMemoryRecord } from './solutions/index.cjs';
1
+ import { Q as StateNode, d as Graph } from './graph-CWK3HLPB.cjs';
2
+ import { N as Node } from './types-BS6CyR-x.cjs';
3
+ import { a8 as AgenticMemoryStrictJsonValue, W as AgenticMemoryRecordFrame, V as AgenticMemoryRecord } from './agentic-memory-types-FnnYlVUs.cjs';
4
4
  import { f as KvStorageTier, d as AppendLogStorageTier } from './append-log-DisvEReb.cjs';
5
- import { b as LoadReactiveCollectionStateOptions, a as IndexRow, n as ReactiveIndexOptions, j as ReactiveIndex, o as ReactiveIndexRestoreState, p as ReactiveListRestoreState, q as ReactiveLogRestoreState, r as ReactiveMapRestoreState } from './reactive-collection-BxBqtIOE.cjs';
6
- import { b as ReactiveListOptions, d as ReactiveLogOptions, g as ReactiveMapOptions, R as ReactiveList, c as ReactiveLog, e as ReactiveMap } from './reactive-map-D-g3dv8I.cjs';
5
+ import { b as LoadReactiveCollectionStateOptions, a as IndexRow, n as ReactiveIndexOptions, j as ReactiveIndex, o as ReactiveIndexRestoreState, p as ReactiveListRestoreState, q as ReactiveLogRestoreState, r as ReactiveMapRestoreState } from './reactive-collection-B9R0Bl1P.cjs';
6
+ import { b as ReactiveListOptions, d as ReactiveLogOptions, g as ReactiveMapOptions, R as ReactiveList, c as ReactiveLog, e as ReactiveMap } from './reactive-map-C_8sOfdS.cjs';
7
7
 
8
8
  declare const AGENTIC_MEMORY_RECORD_SNAPSHOT_FORMAT: "graphrefly.agenticMemory.records.snapshot";
9
9
  declare const AGENTIC_MEMORY_RECORD_CHANGE_FORMAT: "graphrefly.agenticMemory.records.change";
@@ -1,9 +1,9 @@
1
- import { Q as StateNode, d as Graph } from './graph-DfdF9zy4.js';
2
- import { N as Node } from './types-h12mNYbq.js';
3
- import { AgenticMemoryStrictJsonValue, AgenticMemoryRecordFrame, AgenticMemoryRecord } from './solutions/index.js';
1
+ import { Q as StateNode, d as Graph } from './graph-ho5sotHP.js';
2
+ import { N as Node } from './types-C9NOgNJw.js';
3
+ import { a8 as AgenticMemoryStrictJsonValue, W as AgenticMemoryRecordFrame, V as AgenticMemoryRecord } from './agentic-memory-types-CVSUS6XR.js';
4
4
  import { f as KvStorageTier, d as AppendLogStorageTier } from './append-log-DzKMmjxx.js';
5
- import { b as LoadReactiveCollectionStateOptions, a as IndexRow, n as ReactiveIndexOptions, j as ReactiveIndex, o as ReactiveIndexRestoreState, p as ReactiveListRestoreState, q as ReactiveLogRestoreState, r as ReactiveMapRestoreState } from './reactive-collection-Cb1II1Fi.js';
6
- import { b as ReactiveListOptions, d as ReactiveLogOptions, g as ReactiveMapOptions, R as ReactiveList, c as ReactiveLog, e as ReactiveMap } from './reactive-map-BcB4KsQR.js';
5
+ import { b as LoadReactiveCollectionStateOptions, a as IndexRow, n as ReactiveIndexOptions, j as ReactiveIndex, o as ReactiveIndexRestoreState, p as ReactiveListRestoreState, q as ReactiveLogRestoreState, r as ReactiveMapRestoreState } from './reactive-collection-BXFrH0U2.js';
6
+ import { b as ReactiveListOptions, d as ReactiveLogOptions, g as ReactiveMapOptions, R as ReactiveList, c as ReactiveLog, e as ReactiveMap } from './reactive-map-jle5dnok.js';
7
7
 
8
8
  declare const AGENTIC_MEMORY_RECORD_SNAPSHOT_FORMAT: "graphrefly.agenticMemory.records.snapshot";
9
9
  declare const AGENTIC_MEMORY_RECORD_CHANGE_FORMAT: "graphrefly.agenticMemory.records.change";