@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.
- package/README.md +135 -0
- package/dist/actions-types-CSC3NMDl.d.ts +657 -0
- package/dist/actions-types-wl9Mgkmr.d.cts +657 -0
- package/dist/adapters/index.cjs +5219 -2974
- package/dist/adapters/index.cjs.map +1 -1
- package/dist/adapters/index.d.cts +204 -192
- package/dist/adapters/index.d.ts +204 -192
- package/dist/adapters/index.js +3685 -1833
- package/dist/adapters/index.js.map +1 -1
- package/dist/adapters/nestjs/microservices.cjs +841 -0
- package/dist/adapters/nestjs/microservices.cjs.map +1 -0
- package/dist/adapters/nestjs/microservices.d.cts +45 -0
- package/dist/adapters/nestjs/microservices.d.ts +45 -0
- package/dist/adapters/nestjs/microservices.js +206 -0
- package/dist/adapters/nestjs/microservices.js.map +1 -0
- package/dist/adapters/nestjs/native.cjs +1391 -0
- package/dist/adapters/nestjs/native.cjs.map +1 -0
- package/dist/adapters/nestjs/native.d.cts +111 -0
- package/dist/adapters/nestjs/native.d.ts +111 -0
- package/dist/adapters/nestjs/native.js +577 -0
- package/dist/adapters/nestjs/native.js.map +1 -0
- package/dist/adapters/nestjs/websockets.cjs +924 -0
- package/dist/adapters/nestjs/websockets.cjs.map +1 -0
- package/dist/adapters/nestjs/websockets.d.cts +47 -0
- package/dist/adapters/nestjs/websockets.d.ts +47 -0
- package/dist/adapters/nestjs/websockets.js +286 -0
- package/dist/adapters/nestjs/websockets.js.map +1 -0
- package/dist/adapters/nestjs.cjs +1085 -0
- package/dist/adapters/nestjs.cjs.map +1 -0
- package/dist/adapters/nestjs.d.cts +385 -0
- package/dist/adapters/nestjs.d.ts +385 -0
- package/dist/adapters/nestjs.js +112 -0
- package/dist/adapters/nestjs.js.map +1 -0
- package/dist/adapters/observe-storage.d.cts +4 -4
- package/dist/adapters/observe-storage.d.ts +4 -4
- package/dist/adapters/observe-storage.js +5 -4
- package/dist/adapters/observe-storage.js.map +1 -1
- package/dist/adapters/react.cjs +166 -0
- package/dist/adapters/react.cjs.map +1 -0
- package/dist/adapters/react.d.cts +31 -0
- package/dist/adapters/react.d.ts +31 -0
- package/dist/adapters/react.js +51 -0
- package/dist/adapters/react.js.map +1 -0
- package/dist/adapters/solid.cjs +157 -0
- package/dist/adapters/solid.cjs.map +1 -0
- package/dist/adapters/solid.d.cts +26 -0
- package/dist/adapters/solid.d.ts +26 -0
- package/dist/adapters/solid.js +48 -0
- package/dist/adapters/solid.js.map +1 -0
- package/dist/adapters/svelte.cjs +148 -0
- package/dist/adapters/svelte.cjs.map +1 -0
- package/dist/adapters/svelte.d.cts +31 -0
- package/dist/adapters/svelte.d.ts +31 -0
- package/dist/adapters/svelte.js +46 -0
- package/dist/adapters/svelte.js.map +1 -0
- package/dist/adapters/vue.cjs +155 -0
- package/dist/adapters/vue.cjs.map +1 -0
- package/dist/adapters/vue.d.cts +26 -0
- package/dist/adapters/vue.d.ts +26 -0
- package/dist/adapters/vue.js +46 -0
- package/dist/adapters/vue.js.map +1 -0
- package/dist/agent-runtime-types-core-CaXfKNtY.d.cts +406 -0
- package/dist/agent-runtime-types-core-hU299uIC.d.ts +406 -0
- package/dist/agent-runtime-types-tool-BEpSINol.d.ts +695 -0
- package/dist/agent-runtime-types-tool-DninPEzk.d.cts +695 -0
- package/dist/agentic-memory-retention-BmGX368S.d.ts +14 -0
- package/dist/agentic-memory-retention-Ih1qhX9Z.d.cts +14 -0
- package/dist/agentic-memory-types-CVSUS6XR.d.ts +473 -0
- package/dist/agentic-memory-types-FnnYlVUs.d.cts +473 -0
- package/dist/capability-admission-BW2CziT6.d.ts +102 -0
- package/dist/capability-admission-lwSecxXs.d.cts +102 -0
- package/dist/chunk-2KUAG2GZ.js +9693 -0
- package/dist/chunk-2KUAG2GZ.js.map +1 -0
- package/dist/chunk-2NJP6GO4.js +1320 -0
- package/dist/chunk-2NJP6GO4.js.map +1 -0
- package/dist/{chunk-GDL26N2T.js → chunk-3KN7NJDR.js} +2 -2
- package/dist/{chunk-COHO25CZ.js → chunk-4NWSNI4K.js} +2232 -1672
- package/dist/chunk-4NWSNI4K.js.map +1 -0
- package/dist/{chunk-Z2ANQ6JW.js → chunk-4Q77MMJY.js} +2 -2
- package/dist/chunk-6E76H4OU.js +132 -0
- package/dist/chunk-6E76H4OU.js.map +1 -0
- package/dist/chunk-7GOTIIQ7.js +819 -0
- package/dist/chunk-7GOTIIQ7.js.map +1 -0
- package/dist/{chunk-D6BG7U6A.js → chunk-7HZRJMN6.js} +3 -3
- package/dist/{chunk-SCRFRCGR.js → chunk-BSQGE5PS.js} +1 -1
- package/dist/{chunk-PKVBHGBM.js → chunk-CJIFGJQG.js} +7 -7
- package/dist/{chunk-G4M3NHRJ.js → chunk-CX6B6PO2.js} +93 -10
- package/dist/chunk-CX6B6PO2.js.map +1 -0
- package/dist/chunk-DGUM43GV.js +11 -0
- package/dist/chunk-DGUM43GV.js.map +1 -0
- package/dist/{chunk-JIMUDQN3.js → chunk-E4QCH32M.js} +449 -447
- package/dist/chunk-E4QCH32M.js.map +1 -0
- package/dist/{chunk-RIIOUTGM.js → chunk-ECURQ3HD.js} +19 -129
- package/dist/chunk-ECURQ3HD.js.map +1 -0
- package/dist/{chunk-2ILL7HQI.js → chunk-EOKT4QFF.js} +134 -128
- package/dist/chunk-EOKT4QFF.js.map +1 -0
- package/dist/{chunk-K3FXTC3I.js → chunk-HJACH5PU.js} +3 -3
- package/dist/{chunk-GTPCOEOZ.js → chunk-IDMLXLLG.js} +3 -3
- package/dist/{chunk-DKP56CSW.js → chunk-JKAYLDQV.js} +2 -2
- package/dist/{chunk-4VLAQHZI.js → chunk-K7FB3JTD.js} +17 -1
- package/dist/chunk-K7FB3JTD.js.map +1 -0
- package/dist/chunk-L6LDXRWE.js +219 -0
- package/dist/chunk-L6LDXRWE.js.map +1 -0
- package/dist/chunk-M7J6Z4IJ.js +1930 -0
- package/dist/chunk-M7J6Z4IJ.js.map +1 -0
- package/dist/chunk-MQEQMS7B.js +1009 -0
- package/dist/chunk-MQEQMS7B.js.map +1 -0
- package/dist/chunk-MTELVIYR.js +1421 -0
- package/dist/chunk-MTELVIYR.js.map +1 -0
- package/dist/chunk-PVC7WDKI.js +885 -0
- package/dist/chunk-PVC7WDKI.js.map +1 -0
- package/dist/chunk-RAHNUYA5.js +368 -0
- package/dist/chunk-RAHNUYA5.js.map +1 -0
- package/dist/{chunk-DK554R7P.js → chunk-S6HXABGL.js} +2 -1
- package/dist/chunk-S6HXABGL.js.map +1 -0
- package/dist/{chunk-I3IHOHCJ.js → chunk-SHZDP2MQ.js} +1181 -1001
- package/dist/chunk-SHZDP2MQ.js.map +1 -0
- package/dist/{chunk-Y3ZLRGHC.js → chunk-SIDJO2T4.js} +16 -16
- package/dist/chunk-STXRMPW4.js +4131 -0
- package/dist/chunk-STXRMPW4.js.map +1 -0
- package/dist/{chunk-JR4IKCR2.js → chunk-TPND5MJS.js} +5 -5
- package/dist/chunk-TQPCAIQI.js +612 -0
- package/dist/chunk-TQPCAIQI.js.map +1 -0
- package/dist/chunk-UT3MHJCW.js +49 -0
- package/dist/chunk-UT3MHJCW.js.map +1 -0
- package/dist/{chunk-TEW47IVR.js → chunk-VPEFSDME.js} +2 -2
- package/dist/{chunk-SWTLEQL6.js → chunk-WQIA3GFB.js} +2 -2
- package/dist/chunk-WQIA3GFB.js.map +1 -0
- package/dist/{chunk-DJC4CHLQ.js → chunk-YDWBXXQZ.js} +5 -5
- package/dist/{chunk-6PHB5CJS.js → chunk-ZLFRB6FI.js} +2 -2
- package/dist/composition/index.cjs +1256 -1059
- package/dist/composition/index.cjs.map +1 -1
- package/dist/composition/index.d.cts +4 -4
- package/dist/composition/index.d.ts +4 -4
- package/dist/composition/index.js +7 -6
- package/dist/core/index.cjs +1218 -1021
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +5 -4
- package/dist/cqrs/index.cjs.map +1 -1
- package/dist/cqrs/index.d.cts +4 -4
- package/dist/cqrs/index.d.ts +4 -4
- package/dist/cqrs/index.js +3 -2
- package/dist/cqrs/index.js.map +1 -1
- package/dist/cqrs/messaging.cjs +312 -0
- package/dist/cqrs/messaging.cjs.map +1 -0
- package/dist/cqrs/messaging.d.cts +57 -0
- package/dist/cqrs/messaging.d.ts +57 -0
- package/dist/cqrs/messaging.js +274 -0
- package/dist/cqrs/messaging.js.map +1 -0
- package/dist/cqrs/work-queue.cjs +329 -0
- package/dist/cqrs/work-queue.cjs.map +1 -0
- package/dist/cqrs/work-queue.d.cts +90 -0
- package/dist/cqrs/work-queue.d.ts +90 -0
- package/dist/cqrs/work-queue.js +292 -0
- package/dist/cqrs/work-queue.js.map +1 -0
- package/dist/data/index.cjs +19 -0
- package/dist/data/index.cjs.map +1 -0
- package/dist/data/index.d.cts +36 -0
- package/dist/data/index.d.ts +36 -0
- package/dist/data/index.js +1 -0
- package/dist/data/index.js.map +1 -0
- package/dist/data-structures/index.cjs +1252 -1052
- package/dist/data-structures/index.cjs.map +1 -1
- package/dist/data-structures/index.d.cts +9 -8
- package/dist/data-structures/index.d.ts +9 -8
- package/dist/data-structures/index.js +9 -7
- package/dist/{describe-BZb7AS2y.d.ts → describe-B_A5fbXH.d.ts} +1 -1
- package/dist/{describe-Ciu8SUnN.d.cts → describe-CQRrkv-Q.d.cts} +1 -1
- package/dist/executors/tool-provider-adapters.cjs +3091 -0
- package/dist/executors/tool-provider-adapters.cjs.map +1 -0
- package/dist/executors/tool-provider-adapters.d.cts +174 -0
- package/dist/executors/tool-provider-adapters.d.ts +174 -0
- package/dist/executors/tool-provider-adapters.js +1336 -0
- package/dist/executors/tool-provider-adapters.js.map +1 -0
- package/dist/executors/tool-provider-runtime.cjs +5178 -0
- package/dist/executors/tool-provider-runtime.cjs.map +1 -0
- package/dist/executors/tool-provider-runtime.d.cts +17 -0
- package/dist/executors/tool-provider-runtime.d.ts +17 -0
- package/dist/executors/tool-provider-runtime.js +15 -0
- package/dist/executors/tool-provider-runtime.js.map +1 -0
- package/dist/executors/tool-provider.cjs +6392 -0
- package/dist/executors/tool-provider.cjs.map +1 -0
- package/dist/executors/tool-provider.d.cts +60 -0
- package/dist/executors/tool-provider.d.ts +60 -0
- package/dist/executors/tool-provider.js +89 -0
- package/dist/executors/tool-provider.js.map +1 -0
- package/dist/executors/work-queue.cjs +342 -0
- package/dist/executors/work-queue.cjs.map +1 -0
- package/dist/executors/work-queue.d.cts +90 -0
- package/dist/executors/work-queue.d.ts +90 -0
- package/dist/executors/work-queue.js +306 -0
- package/dist/executors/work-queue.js.map +1 -0
- package/dist/graph/index.cjs +1536 -1324
- package/dist/graph/index.cjs.map +1 -1
- package/dist/graph/index.d.cts +10 -9
- package/dist/graph/index.d.ts +10 -9
- package/dist/graph/index.js +22 -20
- package/dist/{graph-s23RbbFO.d.cts → graph-CWK3HLPB.d.cts} +134 -132
- package/dist/{graph-DfdF9zy4.d.ts → graph-ho5sotHP.d.ts} +134 -132
- package/dist/{index-SnzZu3x7.d.ts → index-CQWcE0Dw.d.ts} +18 -4
- package/dist/{index-CAEmLCYF.d.cts → index-DHA1i67c.d.cts} +18 -4
- package/dist/index.cjs +3331 -3020
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -10
- package/dist/index.d.ts +14 -10
- package/dist/index.js +114 -108
- package/dist/inspection/boundary.cjs +98 -0
- package/dist/inspection/boundary.cjs.map +1 -0
- package/dist/inspection/boundary.d.cts +61 -0
- package/dist/inspection/boundary.d.ts +61 -0
- package/dist/inspection/boundary.js +75 -0
- package/dist/inspection/boundary.js.map +1 -0
- package/dist/measurements-C0mAvWU1.d.cts +164 -0
- package/dist/measurements-OMpCeBwh.d.ts +164 -0
- package/dist/{messages-BZqrGGm1.d.ts → messages-CAzUPPJM.d.cts} +10 -5
- package/dist/{messages-BZqrGGm1.d.cts → messages-CAzUPPJM.d.ts} +10 -5
- package/dist/messaging/index.cjs +756 -619
- package/dist/messaging/index.cjs.map +1 -1
- package/dist/messaging/index.d.cts +17 -226
- package/dist/messaging/index.d.ts +17 -226
- package/dist/messaging/index.js +19 -749
- package/dist/messaging/index.js.map +1 -1
- package/dist/operators/index.cjs +1256 -1059
- package/dist/operators/index.cjs.map +1 -1
- package/dist/operators/index.d.cts +6 -6
- package/dist/operators/index.d.ts +6 -6
- package/dist/operators/index.js +9 -8
- package/dist/orchestration/index.cjs +8664 -2617
- package/dist/orchestration/index.cjs.map +1 -1
- package/dist/orchestration/index.d.cts +171 -221
- package/dist/orchestration/index.d.ts +171 -221
- package/dist/orchestration/index.js +74 -982
- package/dist/orchestration/index.js.map +1 -1
- package/dist/orchestration/messaging.cjs +314 -0
- package/dist/orchestration/messaging.cjs.map +1 -0
- package/dist/orchestration/messaging.d.cts +56 -0
- package/dist/orchestration/messaging.d.ts +56 -0
- package/dist/orchestration/messaging.js +276 -0
- package/dist/orchestration/messaging.js.map +1 -0
- package/dist/orchestration/work-queue.cjs +1500 -0
- package/dist/orchestration/work-queue.cjs.map +1 -0
- package/dist/orchestration/work-queue.d.cts +196 -0
- package/dist/orchestration/work-queue.d.ts +196 -0
- package/dist/orchestration/work-queue.js +1289 -0
- package/dist/orchestration/work-queue.js.map +1 -0
- package/dist/patterns/event-flow.cjs +433 -0
- package/dist/patterns/event-flow.cjs.map +1 -0
- package/dist/patterns/event-flow.d.cts +115 -0
- package/dist/patterns/event-flow.d.ts +115 -0
- package/dist/patterns/event-flow.js +14 -0
- package/dist/patterns/event-flow.js.map +1 -0
- package/dist/patterns/index.cjs +748 -355
- package/dist/patterns/index.cjs.map +1 -1
- package/dist/patterns/index.d.cts +9 -5
- package/dist/patterns/index.d.ts +9 -5
- package/dist/patterns/index.js +13 -4
- package/dist/process-types-C9uMYz3i.d.ts +200 -0
- package/dist/process-types-h3uRlzDc.d.cts +200 -0
- package/dist/{reactive-collection-BxBqtIOE.d.cts → reactive-collection-B9R0Bl1P.d.cts} +11 -41
- package/dist/{reactive-collection-Cb1II1Fi.d.ts → reactive-collection-BXFrH0U2.d.ts} +11 -41
- package/dist/{reactive-collection-storage-D-KmjE0J.d.cts → reactive-collection-storage-BLGv8Xp8.d.cts} +5 -5
- package/dist/{reactive-collection-storage-BNiEc-Gd.d.ts → reactive-collection-storage-a4zD3665.d.ts} +5 -5
- package/dist/{reactive-map-BcB4KsQR.d.ts → reactive-map-C_8sOfdS.d.cts} +7 -6
- package/dist/{reactive-map-D-g3dv8I.d.cts → reactive-map-jle5dnok.d.ts} +7 -6
- package/dist/render/index.d.cts +3 -3
- package/dist/render/index.d.ts +3 -3
- package/dist/render/index.js +1 -0
- package/dist/scheduled-readiness-5rwQlyjV.d.ts +91 -0
- package/dist/scheduled-readiness-DpRY8jI0.d.cts +91 -0
- package/dist/semantic-memory-graph-C2ZUwIlq.d.ts +30 -0
- package/dist/semantic-memory-graph-DlZBD_Eu.d.cts +30 -0
- package/dist/{semantic-memory-graph-BYoIlP35.d.cts → semantic-memory-graph-types-BvzdqmkY.d.cts} +2 -28
- package/dist/{semantic-memory-graph-CxyXLms3.d.ts → semantic-memory-graph-types-Ci-OtahO.d.ts} +2 -28
- package/dist/solutions/index.cjs +6788 -2128
- package/dist/solutions/index.cjs.map +1 -1
- package/dist/solutions/index.d.cts +15 -519
- package/dist/solutions/index.d.ts +15 -519
- package/dist/solutions/index.js +91 -7
- package/dist/solutions/reactive-layout/browser/index.cjs +457 -0
- package/dist/solutions/reactive-layout/browser/index.cjs.map +1 -0
- package/dist/solutions/reactive-layout/browser/index.d.cts +44 -0
- package/dist/solutions/reactive-layout/browser/index.d.ts +44 -0
- package/dist/solutions/reactive-layout/browser/index.js +69 -0
- package/dist/solutions/reactive-layout/browser/index.js.map +1 -0
- package/dist/solutions/reactive-layout/index.cjs +4494 -0
- package/dist/solutions/reactive-layout/index.cjs.map +1 -0
- package/dist/solutions/reactive-layout/index.d.cts +37 -0
- package/dist/solutions/reactive-layout/index.d.ts +37 -0
- package/dist/solutions/reactive-layout/index.js +146 -0
- package/dist/solutions/reactive-layout/index.js.map +1 -0
- package/dist/solutions/reactive-layout/node-canvas/index.cjs +555 -0
- package/dist/solutions/reactive-layout/node-canvas/index.cjs.map +1 -0
- package/dist/solutions/reactive-layout/node-canvas/index.d.cts +54 -0
- package/dist/solutions/reactive-layout/node-canvas/index.d.ts +54 -0
- package/dist/solutions/reactive-layout/node-canvas/index.js +131 -0
- package/dist/solutions/reactive-layout/node-canvas/index.js.map +1 -0
- package/dist/solutions/reactive-layout/react-native/index.cjs +504 -0
- package/dist/solutions/reactive-layout/react-native/index.cjs.map +1 -0
- package/dist/solutions/reactive-layout/react-native/index.d.cts +51 -0
- package/dist/solutions/reactive-layout/react-native/index.d.ts +51 -0
- package/dist/solutions/reactive-layout/react-native/index.js +77 -0
- package/dist/solutions/reactive-layout/react-native/index.js.map +1 -0
- package/dist/solutions/reactive-layout/skia/index.cjs +557 -0
- package/dist/solutions/reactive-layout/skia/index.cjs.map +1 -0
- package/dist/solutions/reactive-layout/skia/index.d.cts +64 -0
- package/dist/solutions/reactive-layout/skia/index.d.ts +64 -0
- package/dist/solutions/reactive-layout/skia/index.js +70 -0
- package/dist/solutions/reactive-layout/skia/index.js.map +1 -0
- package/dist/solutions/work-item/actions.cjs +2345 -0
- package/dist/solutions/work-item/actions.cjs.map +1 -0
- package/dist/solutions/work-item/actions.d.cts +40 -0
- package/dist/solutions/work-item/actions.d.ts +40 -0
- package/dist/solutions/work-item/actions.js +2078 -0
- package/dist/solutions/work-item/actions.js.map +1 -0
- package/dist/solutions/work-item/scheduling.cjs +9797 -0
- package/dist/solutions/work-item/scheduling.cjs.map +1 -0
- package/dist/solutions/work-item/scheduling.d.cts +1868 -0
- package/dist/solutions/work-item/scheduling.d.ts +1868 -0
- package/dist/solutions/work-item/scheduling.js +146 -0
- package/dist/solutions/work-item/scheduling.js.map +1 -0
- package/dist/solutions/work-item/work-queue.cjs +306 -0
- package/dist/solutions/work-item/work-queue.cjs.map +1 -0
- package/dist/solutions/work-item/work-queue.d.cts +71 -0
- package/dist/solutions/work-item/work-queue.d.ts +71 -0
- package/dist/solutions/work-item/work-queue.js +270 -0
- package/dist/solutions/work-item/work-queue.js.map +1 -0
- package/dist/sources/browser.cjs +1399 -1052
- package/dist/sources/browser.cjs.map +1 -1
- package/dist/sources/browser.d.cts +33 -6
- package/dist/sources/browser.d.ts +33 -6
- package/dist/sources/browser.js +73 -6
- package/dist/sources/browser.js.map +1 -1
- package/dist/sources/index.cjs +1345 -1065
- package/dist/sources/index.cjs.map +1 -1
- package/dist/sources/index.d.cts +5 -5
- package/dist/sources/index.d.ts +5 -5
- package/dist/sources/index.js +7 -6
- package/dist/sources/node.cjs.map +1 -1
- package/dist/sources/node.d.cts +4 -4
- package/dist/sources/node.d.ts +4 -4
- package/dist/sources/node.js +2 -1
- package/dist/sources/node.js.map +1 -1
- package/dist/storage/browser.cjs +16 -0
- package/dist/storage/browser.cjs.map +1 -1
- package/dist/storage/browser.js +4 -3
- package/dist/storage/browser.js.map +1 -1
- package/dist/storage/index.cjs +16 -0
- package/dist/storage/index.cjs.map +1 -1
- package/dist/storage/index.d.cts +6 -5
- package/dist/storage/index.d.ts +6 -5
- package/dist/storage/index.js +10 -9
- package/dist/storage/node.cjs +16 -0
- package/dist/storage/node.cjs.map +1 -1
- package/dist/storage/node.js +4 -3
- package/dist/storage/node.js.map +1 -1
- package/dist/store-BmtEs9mG.d.ts +123 -0
- package/dist/store-PAAsYvML.d.cts +123 -0
- package/dist/testing/index.cjs +1 -0
- package/dist/testing/index.cjs.map +1 -1
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +3 -2
- package/dist/types-BRNKoFHj.d.ts +357 -0
- package/dist/{types-h12mNYbq.d.ts → types-BS6CyR-x.d.cts} +49 -130
- package/dist/types-BWK2ay3e.d.cts +457 -0
- package/dist/types-BXKSAoE1.d.cts +357 -0
- package/dist/types-BaPpZItj.d.ts +457 -0
- package/dist/types-BhveCMg5.d.cts +274 -0
- package/dist/{types-bNMSWKqF.d.cts → types-C9NOgNJw.d.ts} +49 -130
- package/dist/types-CTsQ8Ww4.d.ts +274 -0
- package/dist/types-DL_05n2M.d.ts +34 -0
- package/dist/types-XDoqxYO9.d.cts +34 -0
- package/dist/work-item-runtime-types-BqtWnSCS.d.ts +138 -0
- package/dist/work-item-runtime-types-CHO03AKh.d.cts +138 -0
- package/dist/work-queue/index.cjs +1136 -0
- package/dist/work-queue/index.cjs.map +1 -0
- package/dist/work-queue/index.d.cts +21 -0
- package/dist/work-queue/index.d.ts +21 -0
- package/dist/work-queue/index.js +1082 -0
- package/dist/work-queue/index.js.map +1 -0
- package/package.json +603 -249
- package/dist/chunk-2ILL7HQI.js.map +0 -1
- package/dist/chunk-4VLAQHZI.js.map +0 -1
- package/dist/chunk-COHO25CZ.js.map +0 -1
- package/dist/chunk-DK554R7P.js.map +0 -1
- package/dist/chunk-G4M3NHRJ.js.map +0 -1
- package/dist/chunk-I3IHOHCJ.js.map +0 -1
- package/dist/chunk-JIMUDQN3.js.map +0 -1
- package/dist/chunk-RIIOUTGM.js.map +0 -1
- package/dist/chunk-SWTLEQL6.js.map +0 -1
- /package/dist/{chunk-GDL26N2T.js.map → chunk-3KN7NJDR.js.map} +0 -0
- /package/dist/{chunk-Z2ANQ6JW.js.map → chunk-4Q77MMJY.js.map} +0 -0
- /package/dist/{chunk-D6BG7U6A.js.map → chunk-7HZRJMN6.js.map} +0 -0
- /package/dist/{chunk-SCRFRCGR.js.map → chunk-BSQGE5PS.js.map} +0 -0
- /package/dist/{chunk-PKVBHGBM.js.map → chunk-CJIFGJQG.js.map} +0 -0
- /package/dist/{chunk-K3FXTC3I.js.map → chunk-HJACH5PU.js.map} +0 -0
- /package/dist/{chunk-GTPCOEOZ.js.map → chunk-IDMLXLLG.js.map} +0 -0
- /package/dist/{chunk-DKP56CSW.js.map → chunk-JKAYLDQV.js.map} +0 -0
- /package/dist/{chunk-Y3ZLRGHC.js.map → chunk-SIDJO2T4.js.map} +0 -0
- /package/dist/{chunk-JR4IKCR2.js.map → chunk-TPND5MJS.js.map} +0 -0
- /package/dist/{chunk-TEW47IVR.js.map → chunk-VPEFSDME.js.map} +0 -0
- /package/dist/{chunk-DJC4CHLQ.js.map → chunk-YDWBXXQZ.js.map} +0 -0
- /package/dist/{chunk-6PHB5CJS.js.map → chunk-ZLFRB6FI.js.map} +0 -0
package/dist/adapters/index.d.ts
CHANGED
|
@@ -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-
|
|
2
|
-
import { d as Graph } from '../graph-
|
|
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-
|
|
5
|
-
|
|
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-
|
|
8
|
+
import '../semantic-memory-graph-types-Ci-OtahO.js';
|
|
8
9
|
import '../append-log-DzKMmjxx.js';
|
|
9
|
-
import '../reactive-collection-
|
|
10
|
-
import '../
|
|
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-
|
|
13
|
-
import '../describe-
|
|
14
|
+
import '../messages-CAzUPPJM.js';
|
|
15
|
+
import '../describe-B_A5fbXH.js';
|
|
14
16
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
/**
|
|
326
|
-
declare function
|
|
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
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
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
|
-
*
|
|
663
|
+
* Graph-visible outbound environment adapters (D130/D132).
|
|
501
664
|
*
|
|
502
|
-
*
|
|
503
|
-
*
|
|
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
|
-
|
|
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
|
-
*
|
|
675
|
+
* Graph-visible outbound environment adapters (D130/D132).
|
|
512
676
|
*
|
|
513
|
-
*
|
|
514
|
-
*
|
|
515
|
-
*
|
|
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
|
-
*
|
|
683
|
+
* Create a graph-visible D133 WebSocket SessionBundle.
|
|
554
684
|
*
|
|
555
|
-
*
|
|
556
|
-
*
|
|
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
|
|
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 {
|
|
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 };
|