@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
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
import { DataIssue } from './data/index.js';
|
|
2
|
+
import { N as Node } from './types-C9NOgNJw.js';
|
|
3
|
+
import { L as LockId } from './messages-CAzUPPJM.js';
|
|
4
|
+
|
|
5
|
+
interface MessageEnvelope<T = unknown> {
|
|
6
|
+
readonly topic: string;
|
|
7
|
+
readonly seq: number;
|
|
8
|
+
readonly payload: T;
|
|
9
|
+
readonly key?: string;
|
|
10
|
+
readonly idempotencyKey?: string;
|
|
11
|
+
readonly timestampMs: number;
|
|
12
|
+
readonly commandId?: string;
|
|
13
|
+
}
|
|
14
|
+
/** Minimal JSON Schema vocabulary for passive topic payload descriptions (D125/D132). */
|
|
15
|
+
interface JsonSchema {
|
|
16
|
+
readonly type?: "string" | "number" | "integer" | "boolean" | "object" | "array" | "null" | readonly ("string" | "number" | "integer" | "boolean" | "object" | "array" | "null")[];
|
|
17
|
+
readonly properties?: Readonly<Record<string, JsonSchema>>;
|
|
18
|
+
readonly required?: readonly string[];
|
|
19
|
+
readonly additionalProperties?: boolean | JsonSchema;
|
|
20
|
+
readonly items?: JsonSchema | readonly JsonSchema[];
|
|
21
|
+
readonly enum?: readonly unknown[];
|
|
22
|
+
readonly const?: unknown;
|
|
23
|
+
readonly $ref?: string;
|
|
24
|
+
readonly definitions?: Readonly<Record<string, JsonSchema>>;
|
|
25
|
+
readonly description?: string;
|
|
26
|
+
readonly title?: string;
|
|
27
|
+
}
|
|
28
|
+
/** Passive envelope for payloads that cross topic, agent, or graph boundaries. */
|
|
29
|
+
interface TopicMessage<T = unknown> {
|
|
30
|
+
readonly id: string;
|
|
31
|
+
readonly schema?: JsonSchema;
|
|
32
|
+
readonly expiresAt?: string;
|
|
33
|
+
readonly correlationId?: string;
|
|
34
|
+
readonly payload: T;
|
|
35
|
+
}
|
|
36
|
+
/** Passive domain event vocabulary for messageBus/eventFlow composition (D329). */
|
|
37
|
+
interface EventMessage<T = unknown> {
|
|
38
|
+
readonly id: string;
|
|
39
|
+
readonly type: string;
|
|
40
|
+
readonly payload: T;
|
|
41
|
+
readonly key?: string;
|
|
42
|
+
readonly subjectId?: string;
|
|
43
|
+
readonly correlationId?: string;
|
|
44
|
+
readonly causationId?: string;
|
|
45
|
+
readonly occurredAtMs?: number;
|
|
46
|
+
readonly actor?: string;
|
|
47
|
+
readonly evidenceRefs?: readonly string[];
|
|
48
|
+
readonly schema?: JsonSchema;
|
|
49
|
+
readonly metadata?: Readonly<Record<string, unknown>>;
|
|
50
|
+
}
|
|
51
|
+
interface EventMessageOptions {
|
|
52
|
+
readonly id: string;
|
|
53
|
+
readonly key?: string;
|
|
54
|
+
readonly subjectId?: string;
|
|
55
|
+
readonly correlationId?: string;
|
|
56
|
+
readonly causationId?: string;
|
|
57
|
+
readonly occurredAtMs?: number;
|
|
58
|
+
readonly actor?: string;
|
|
59
|
+
readonly evidenceRefs?: readonly string[];
|
|
60
|
+
readonly schema?: JsonSchema;
|
|
61
|
+
readonly metadata?: Readonly<Record<string, unknown>>;
|
|
62
|
+
}
|
|
63
|
+
declare const PROMPTS_TOPIC = "prompts";
|
|
64
|
+
declare const RESPONSES_TOPIC = "responses";
|
|
65
|
+
declare const INJECTIONS_TOPIC = "injections";
|
|
66
|
+
declare const DEFERRED_TOPIC = "deferred";
|
|
67
|
+
declare const SPAWNS_TOPIC = "spawns";
|
|
68
|
+
declare const CONTEXT_TOPIC = "context";
|
|
69
|
+
declare const TODOS_TOPIC = "todos";
|
|
70
|
+
declare const STANDARD_TOPICS: readonly ["prompts", "responses", "injections", "deferred", "spawns", "context", "todos"];
|
|
71
|
+
type StandardTopic = (typeof STANDARD_TOPICS)[number];
|
|
72
|
+
type MessageBusTopicPolicy = "strict" | "create-as-fact";
|
|
73
|
+
interface MessageBusRetentionPolicy {
|
|
74
|
+
/** Count retention. Trimming advances headSeq and never rewrites seq (D284). */
|
|
75
|
+
readonly maxMessages?: number;
|
|
76
|
+
}
|
|
77
|
+
interface MessageBusDedupePolicy {
|
|
78
|
+
/** Duplicate commandId emits status and never publishes a second retained message (D284). */
|
|
79
|
+
readonly commandId?: "status" | "issue";
|
|
80
|
+
}
|
|
81
|
+
interface MessageBusOptions<TTopic extends string = string> {
|
|
82
|
+
readonly topics?: readonly TTopic[];
|
|
83
|
+
readonly name?: string;
|
|
84
|
+
readonly now?: () => number;
|
|
85
|
+
readonly topicPolicy?: MessageBusTopicPolicy;
|
|
86
|
+
readonly retention?: MessageBusRetentionPolicy;
|
|
87
|
+
readonly dedupe?: MessageBusDedupePolicy;
|
|
88
|
+
}
|
|
89
|
+
type MessageBusCommand<T = unknown> = {
|
|
90
|
+
readonly kind: "ensure-topic";
|
|
91
|
+
readonly topic: string;
|
|
92
|
+
readonly commandId?: string;
|
|
93
|
+
} | {
|
|
94
|
+
readonly kind: "close-topic";
|
|
95
|
+
readonly topic: string;
|
|
96
|
+
readonly commandId?: string;
|
|
97
|
+
} | {
|
|
98
|
+
readonly kind: "publish";
|
|
99
|
+
readonly topic: string;
|
|
100
|
+
readonly payload: T;
|
|
101
|
+
readonly key?: string;
|
|
102
|
+
readonly commandId?: string;
|
|
103
|
+
readonly idempotencyKey?: string;
|
|
104
|
+
} | {
|
|
105
|
+
readonly kind: "topic-policy";
|
|
106
|
+
readonly topicPolicy: MessageBusTopicPolicy;
|
|
107
|
+
readonly commandId?: string;
|
|
108
|
+
} | {
|
|
109
|
+
readonly kind: "ack";
|
|
110
|
+
readonly topic: string;
|
|
111
|
+
readonly subscriptionId: string;
|
|
112
|
+
readonly seq: number;
|
|
113
|
+
readonly commandId?: string;
|
|
114
|
+
} | {
|
|
115
|
+
readonly kind: "seek";
|
|
116
|
+
readonly topic: string;
|
|
117
|
+
readonly subscriptionId: string;
|
|
118
|
+
readonly nextSeq: number;
|
|
119
|
+
readonly commandId?: string;
|
|
120
|
+
} | {
|
|
121
|
+
readonly kind: "close-subscription";
|
|
122
|
+
readonly topic: string;
|
|
123
|
+
readonly subscriptionId: string;
|
|
124
|
+
readonly commandId?: string;
|
|
125
|
+
};
|
|
126
|
+
type MessageBusMessage<T = unknown> = MessageEnvelope<T>;
|
|
127
|
+
interface MessageBusStatus {
|
|
128
|
+
readonly kind: "topic-created" | "topic-closed" | "message-published" | "retention-trimmed" | "duplicate-command" | "subscription-acked" | "subscription-sought" | "subscription-closed" | "command-rejected" | "projection-ready" | "projection-partial";
|
|
129
|
+
readonly topic?: string;
|
|
130
|
+
readonly seq?: number;
|
|
131
|
+
readonly headSeq?: number;
|
|
132
|
+
readonly subscriptionId?: string;
|
|
133
|
+
readonly nextSeq?: number;
|
|
134
|
+
readonly commandId?: string;
|
|
135
|
+
readonly issueCode?: string;
|
|
136
|
+
readonly timestampMs: number;
|
|
137
|
+
readonly details?: unknown;
|
|
138
|
+
}
|
|
139
|
+
interface MessageBusCatalogEntry {
|
|
140
|
+
readonly topic: string;
|
|
141
|
+
readonly closed: boolean;
|
|
142
|
+
readonly headSeq: number;
|
|
143
|
+
readonly nextSeq: number;
|
|
144
|
+
readonly messageCount: number;
|
|
145
|
+
}
|
|
146
|
+
interface MessageBusCatalogPage {
|
|
147
|
+
readonly topics: readonly MessageBusCatalogEntry[];
|
|
148
|
+
readonly nextAfterTopic?: string;
|
|
149
|
+
readonly hasMore: boolean;
|
|
150
|
+
}
|
|
151
|
+
interface MessageBusDeadLetterEntry<T = unknown> {
|
|
152
|
+
readonly entrySeq: number;
|
|
153
|
+
readonly topic?: string;
|
|
154
|
+
readonly command?: MessageBusCommand<T>;
|
|
155
|
+
readonly message?: MessageBusMessage<T>;
|
|
156
|
+
readonly issue: DataIssue;
|
|
157
|
+
readonly timestampMs: number;
|
|
158
|
+
}
|
|
159
|
+
interface MessageBusDeadLetterPage<T = unknown> {
|
|
160
|
+
readonly entries: readonly MessageBusDeadLetterEntry<T>[];
|
|
161
|
+
readonly nextAfterEntrySeq?: number;
|
|
162
|
+
readonly hasMore: boolean;
|
|
163
|
+
}
|
|
164
|
+
interface MessageBusTopicPage<T = unknown> {
|
|
165
|
+
readonly topic: string;
|
|
166
|
+
readonly messages: readonly MessageBusMessage<T>[];
|
|
167
|
+
readonly fromSeq: number;
|
|
168
|
+
readonly throughSeq?: number;
|
|
169
|
+
readonly nextAfterSeq?: number;
|
|
170
|
+
readonly hasMore: boolean;
|
|
171
|
+
}
|
|
172
|
+
interface MessageBusCursor {
|
|
173
|
+
readonly topic: string;
|
|
174
|
+
readonly subscriptionId: string;
|
|
175
|
+
readonly nextSeq: number;
|
|
176
|
+
readonly closed: boolean;
|
|
177
|
+
readonly retentionGap: boolean;
|
|
178
|
+
readonly headSeq: number;
|
|
179
|
+
}
|
|
180
|
+
interface MessageBusAvailablePage<T = unknown> {
|
|
181
|
+
readonly topic: string;
|
|
182
|
+
readonly subscriptionId: string;
|
|
183
|
+
readonly cursor: MessageBusCursor;
|
|
184
|
+
readonly messages: readonly MessageBusMessage<T>[];
|
|
185
|
+
readonly fromSeq: number;
|
|
186
|
+
readonly throughSeq?: number;
|
|
187
|
+
readonly nextAfterSeq?: number;
|
|
188
|
+
readonly hasMore: boolean;
|
|
189
|
+
}
|
|
190
|
+
interface MessageBusPageParams {
|
|
191
|
+
readonly limit?: number;
|
|
192
|
+
}
|
|
193
|
+
interface MessageBusCatalogParams extends MessageBusPageParams {
|
|
194
|
+
readonly afterTopic?: string;
|
|
195
|
+
readonly includeClosed?: boolean;
|
|
196
|
+
}
|
|
197
|
+
interface MessageBusDeadLetterParams extends MessageBusPageParams {
|
|
198
|
+
readonly afterEntrySeq?: number;
|
|
199
|
+
readonly topic?: string;
|
|
200
|
+
readonly code?: string;
|
|
201
|
+
}
|
|
202
|
+
interface MessageBusTopicParams extends MessageBusPageParams {
|
|
203
|
+
readonly afterSeq?: number;
|
|
204
|
+
}
|
|
205
|
+
interface MessageBusAvailableParams extends MessageBusPageParams {
|
|
206
|
+
readonly afterSeq?: number;
|
|
207
|
+
}
|
|
208
|
+
interface MessageBusPullProjection<TPage> {
|
|
209
|
+
readonly snapshot: Node<TPage>;
|
|
210
|
+
readonly snapshotPullId: LockId;
|
|
211
|
+
readonly status: Node<MessageBusStatus>;
|
|
212
|
+
readonly issues: Node<DataIssue>;
|
|
213
|
+
}
|
|
214
|
+
interface MessageBusTopicProjection<T = unknown> extends MessageBusPullProjection<MessageBusTopicPage<T>> {
|
|
215
|
+
}
|
|
216
|
+
interface MessageBusSubscription<T = unknown> {
|
|
217
|
+
readonly available: Node<MessageBusAvailablePage<T>>;
|
|
218
|
+
readonly availablePullId: LockId;
|
|
219
|
+
readonly cursor: Node<MessageBusCursor>;
|
|
220
|
+
readonly status: Node<MessageBusStatus>;
|
|
221
|
+
readonly issues: Node<DataIssue>;
|
|
222
|
+
ack(seq: number, opts?: {
|
|
223
|
+
commandId?: string;
|
|
224
|
+
}): MessageBusCommand;
|
|
225
|
+
seek(nextSeq: number, opts?: {
|
|
226
|
+
commandId?: string;
|
|
227
|
+
}): MessageBusCommand;
|
|
228
|
+
close(opts?: {
|
|
229
|
+
commandId?: string;
|
|
230
|
+
}): MessageBusCommand;
|
|
231
|
+
}
|
|
232
|
+
interface MessageBus<TTopic extends string = string> {
|
|
233
|
+
readonly commands: Node<MessageBusCommand>;
|
|
234
|
+
readonly messages: Node<MessageBusMessage>;
|
|
235
|
+
readonly status: Node<MessageBusStatus>;
|
|
236
|
+
readonly issues: Node<DataIssue>;
|
|
237
|
+
ensureTopic(topic: TTopic | string, opts?: {
|
|
238
|
+
commandId?: string;
|
|
239
|
+
}): MessageBusCommand;
|
|
240
|
+
closeTopic(topic: TTopic | string, opts?: {
|
|
241
|
+
commandId?: string;
|
|
242
|
+
}): MessageBusCommand;
|
|
243
|
+
publish<T = unknown>(topic: TTopic | string, payload: T, opts?: {
|
|
244
|
+
key?: string;
|
|
245
|
+
commandId?: string;
|
|
246
|
+
idempotencyKey?: string;
|
|
247
|
+
}): MessageBusCommand<T>;
|
|
248
|
+
topic<T = unknown>(topic: TTopic | string, opts?: {
|
|
249
|
+
name?: string;
|
|
250
|
+
}): MessageBusTopicProjection<T>;
|
|
251
|
+
catalog(opts?: {
|
|
252
|
+
name?: string;
|
|
253
|
+
}): MessageBusPullProjection<MessageBusCatalogPage>;
|
|
254
|
+
deadLetter<T = unknown>(opts?: {
|
|
255
|
+
name?: string;
|
|
256
|
+
}): MessageBusPullProjection<MessageBusDeadLetterPage<T>>;
|
|
257
|
+
subscription<T = unknown>(opts: {
|
|
258
|
+
topic: TTopic | string;
|
|
259
|
+
subscriptionId: string;
|
|
260
|
+
from?: "earliest" | "latest" | number;
|
|
261
|
+
name?: string;
|
|
262
|
+
}): MessageBusSubscription<T>;
|
|
263
|
+
}
|
|
264
|
+
interface ToTopicOptions {
|
|
265
|
+
readonly name?: string;
|
|
266
|
+
readonly keyOf?: (value: unknown) => string | undefined;
|
|
267
|
+
readonly commandIdOf?: (value: unknown) => string | undefined;
|
|
268
|
+
}
|
|
269
|
+
interface ToTopicBundle<T> {
|
|
270
|
+
readonly commands: Node<MessageBusCommand<T>>;
|
|
271
|
+
release(): void;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export { type StandardTopic as A, TODOS_TOPIC as B, CONTEXT_TOPIC as C, DEFERRED_TOPIC as D, type EventMessage as E, type TopicMessage as F, INJECTIONS_TOPIC as I, type JsonSchema as J, type MessageBusMessage as M, PROMPTS_TOPIC as P, RESPONSES_TOPIC as R, SPAWNS_TOPIC as S, type ToTopicOptions as T, type MessageBusCommand as a, type MessageBusAvailablePage as b, type MessageEnvelope as c, type MessageBus as d, type EventMessageOptions as e, type MessageBusTopicPage as f, type MessageBusOptions as g, type ToTopicBundle as h, type MessageBusAvailableParams as i, type MessageBusCatalogEntry as j, type MessageBusCatalogPage as k, type MessageBusCatalogParams as l, type MessageBusCursor as m, type MessageBusDeadLetterEntry as n, type MessageBusDeadLetterPage as o, type MessageBusDeadLetterParams as p, type MessageBusDedupePolicy as q, type MessageBusPageParams as r, type MessageBusPullProjection as s, type MessageBusRetentionPolicy as t, type MessageBusStatus as u, type MessageBusSubscription as v, type MessageBusTopicParams as w, type MessageBusTopicPolicy as x, type MessageBusTopicProjection as y, STANDARD_TOPICS as z };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { N as Node } from './types-C9NOgNJw.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Public policy vocabulary (D80): shared option shapes only.
|
|
5
|
+
*
|
|
6
|
+
* Runtime policy mechanics stay structure-owned: each reactive collection still owns
|
|
7
|
+
* backend mutation, victim application, delta emission, and graph-bound node-as-opt wiring.
|
|
8
|
+
*/
|
|
9
|
+
type ReactiveOpt<T> = T | Node<T>;
|
|
10
|
+
/** Capacity vocabulary shared by structures that bound retained entries. */
|
|
11
|
+
interface CapacityPolicy<Order extends string = never> {
|
|
12
|
+
readonly maxSize: ReactiveOpt<number>;
|
|
13
|
+
readonly order?: Order;
|
|
14
|
+
}
|
|
15
|
+
/** Capacity policy variant for structures whose eviction order must be explicit. */
|
|
16
|
+
type OrderedCapacityPolicy<Order extends string> = CapacityPolicy<Order> & {
|
|
17
|
+
readonly order: Order;
|
|
18
|
+
};
|
|
19
|
+
/** Score-based retention vocabulary; higher scores are retained. */
|
|
20
|
+
interface RetentionPolicy<Entry> {
|
|
21
|
+
readonly maxSize?: ReactiveOpt<number>;
|
|
22
|
+
score(entry: Entry): number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Static view-cache vocabulary for memoized helper nodes.
|
|
26
|
+
*
|
|
27
|
+
* This is intentionally not a release/keepalive API: eviction may drop the structure's
|
|
28
|
+
* memo reference, but externally held Node views remain valid.
|
|
29
|
+
*/
|
|
30
|
+
interface ViewCachePolicy {
|
|
31
|
+
readonly maxEntries?: number;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type { CapacityPolicy as C, OrderedCapacityPolicy as O, ReactiveOpt as R, ViewCachePolicy as V, RetentionPolicy as a };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { N as Node } from './types-BS6CyR-x.cjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Public policy vocabulary (D80): shared option shapes only.
|
|
5
|
+
*
|
|
6
|
+
* Runtime policy mechanics stay structure-owned: each reactive collection still owns
|
|
7
|
+
* backend mutation, victim application, delta emission, and graph-bound node-as-opt wiring.
|
|
8
|
+
*/
|
|
9
|
+
type ReactiveOpt<T> = T | Node<T>;
|
|
10
|
+
/** Capacity vocabulary shared by structures that bound retained entries. */
|
|
11
|
+
interface CapacityPolicy<Order extends string = never> {
|
|
12
|
+
readonly maxSize: ReactiveOpt<number>;
|
|
13
|
+
readonly order?: Order;
|
|
14
|
+
}
|
|
15
|
+
/** Capacity policy variant for structures whose eviction order must be explicit. */
|
|
16
|
+
type OrderedCapacityPolicy<Order extends string> = CapacityPolicy<Order> & {
|
|
17
|
+
readonly order: Order;
|
|
18
|
+
};
|
|
19
|
+
/** Score-based retention vocabulary; higher scores are retained. */
|
|
20
|
+
interface RetentionPolicy<Entry> {
|
|
21
|
+
readonly maxSize?: ReactiveOpt<number>;
|
|
22
|
+
score(entry: Entry): number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Static view-cache vocabulary for memoized helper nodes.
|
|
26
|
+
*
|
|
27
|
+
* This is intentionally not a release/keepalive API: eviction may drop the structure's
|
|
28
|
+
* memo reference, but externally held Node views remain valid.
|
|
29
|
+
*/
|
|
30
|
+
interface ViewCachePolicy {
|
|
31
|
+
readonly maxEntries?: number;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type { CapacityPolicy as C, OrderedCapacityPolicy as O, ReactiveOpt as R, ViewCachePolicy as V, RetentionPolicy as a };
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { DataIssue } from './data/index.js';
|
|
2
|
+
import { N as Node } from './types-C9NOgNJw.js';
|
|
3
|
+
import { S as SourceRef, a as AgentRuntimeAuditRecord, k as EffectRunResultStatus, l as EffectRunGoal, m as EffectRunLimits, h as AgentOutputEnvelope, j as AgentNeed } from './agent-runtime-types-core-hU299uIC.js';
|
|
4
|
+
|
|
5
|
+
interface WorkItemEffectRequested<TInput = unknown> {
|
|
6
|
+
readonly kind: "work-item-effect-requested";
|
|
7
|
+
readonly requestId: string;
|
|
8
|
+
readonly workItemId: string;
|
|
9
|
+
readonly effectRunId: string;
|
|
10
|
+
readonly effectKind: string;
|
|
11
|
+
readonly executionInputRevision?: number;
|
|
12
|
+
readonly planId?: string;
|
|
13
|
+
readonly planMemberId?: string;
|
|
14
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
15
|
+
readonly goal: EffectRunGoal<TInput>;
|
|
16
|
+
readonly agentRunId?: string;
|
|
17
|
+
readonly policyRefs?: readonly SourceRef[];
|
|
18
|
+
readonly limits?: EffectRunLimits;
|
|
19
|
+
readonly createdBy?: string;
|
|
20
|
+
readonly createdAtMs?: number;
|
|
21
|
+
readonly idempotencyKey?: string;
|
|
22
|
+
readonly metadata?: Record<string, unknown>;
|
|
23
|
+
}
|
|
24
|
+
interface WorkItemEvidenceRecorded {
|
|
25
|
+
readonly kind: "work-item-evidence-recorded";
|
|
26
|
+
readonly evidenceId: string;
|
|
27
|
+
readonly workItemId: string;
|
|
28
|
+
readonly requestId?: string;
|
|
29
|
+
readonly effectRunId: string;
|
|
30
|
+
readonly effectRunResultId: string;
|
|
31
|
+
readonly executionInputRevision?: number;
|
|
32
|
+
readonly planId?: string;
|
|
33
|
+
readonly planMemberId?: string;
|
|
34
|
+
readonly status: EffectRunResultStatus;
|
|
35
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
36
|
+
readonly output?: AgentOutputEnvelope;
|
|
37
|
+
readonly error?: DataIssue;
|
|
38
|
+
readonly needs?: readonly AgentNeed[];
|
|
39
|
+
readonly reason?: string;
|
|
40
|
+
readonly timeoutMs?: number;
|
|
41
|
+
readonly issues?: readonly DataIssue[];
|
|
42
|
+
readonly auditRefs?: readonly string[];
|
|
43
|
+
readonly recordedAtMs?: number;
|
|
44
|
+
readonly metadata?: Record<string, unknown>;
|
|
45
|
+
}
|
|
46
|
+
type WorkItemDomainActionProposalPayloadFrom = "evidence" | "effect-run-result" | "output";
|
|
47
|
+
interface WorkItemDomainActionProposalSpec<TPayload = unknown> {
|
|
48
|
+
readonly actionKind: string;
|
|
49
|
+
readonly behavior?: "propose";
|
|
50
|
+
readonly statuses?: readonly EffectRunResultStatus[];
|
|
51
|
+
readonly outputKinds?: readonly string[];
|
|
52
|
+
readonly payloadFrom?: WorkItemDomainActionProposalPayloadFrom;
|
|
53
|
+
readonly payload?: TPayload;
|
|
54
|
+
readonly reason?: string;
|
|
55
|
+
readonly metadata?: Record<string, unknown>;
|
|
56
|
+
}
|
|
57
|
+
interface WorkItemDomainActionProposal<TPayload = unknown> {
|
|
58
|
+
readonly kind: "work-item-domain-action-proposal";
|
|
59
|
+
readonly proposalId: string;
|
|
60
|
+
readonly workItemId: string;
|
|
61
|
+
readonly actionKind: string;
|
|
62
|
+
readonly effectRunId: string;
|
|
63
|
+
readonly effectRunResultId: string;
|
|
64
|
+
readonly evidenceId: string;
|
|
65
|
+
readonly policyId: string;
|
|
66
|
+
readonly payload?: TPayload;
|
|
67
|
+
readonly reason?: string;
|
|
68
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
69
|
+
readonly proposedAtMs?: number;
|
|
70
|
+
readonly metadata?: Record<string, unknown>;
|
|
71
|
+
}
|
|
72
|
+
type WorkItemDomainActionAdmissionOutcome = "admit" | "reject" | "defer" | "merge";
|
|
73
|
+
type WorkItemDomainActionAdmissionState = "admitted" | "rejected" | "deferred" | "merged";
|
|
74
|
+
interface WorkItemDomainActionAdmissionPolicy {
|
|
75
|
+
readonly kind: "work-item-domain-action-admission-policy";
|
|
76
|
+
readonly policyId: string;
|
|
77
|
+
readonly actionKinds?: readonly string[];
|
|
78
|
+
readonly allowedOutcomes?: readonly WorkItemDomainActionAdmissionOutcome[];
|
|
79
|
+
readonly metadata?: Record<string, unknown>;
|
|
80
|
+
}
|
|
81
|
+
interface WorkItemDomainActionAdmissionDecision {
|
|
82
|
+
readonly kind: "work-item-domain-action-admission-decision";
|
|
83
|
+
readonly decisionId: string;
|
|
84
|
+
readonly admissionId: string;
|
|
85
|
+
readonly proposalId: string;
|
|
86
|
+
readonly outcome: WorkItemDomainActionAdmissionOutcome;
|
|
87
|
+
readonly policyId?: string;
|
|
88
|
+
readonly reason?: string;
|
|
89
|
+
readonly targetProposalId?: string;
|
|
90
|
+
readonly targetAdmissionId?: string;
|
|
91
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
92
|
+
readonly decidedAtMs?: number;
|
|
93
|
+
readonly metadata?: Record<string, unknown>;
|
|
94
|
+
}
|
|
95
|
+
interface WorkItemDomainActionAdmission {
|
|
96
|
+
readonly kind: "work-item-domain-action-admission";
|
|
97
|
+
readonly admissionId: string;
|
|
98
|
+
readonly proposalId: string;
|
|
99
|
+
readonly workItemId: string;
|
|
100
|
+
readonly actionKind: string;
|
|
101
|
+
readonly state: WorkItemDomainActionAdmissionState;
|
|
102
|
+
readonly decisionId: string;
|
|
103
|
+
readonly policyId?: string;
|
|
104
|
+
readonly reason?: string;
|
|
105
|
+
readonly targetProposalId?: string;
|
|
106
|
+
readonly targetAdmissionId?: string;
|
|
107
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
108
|
+
readonly admittedAtMs?: number;
|
|
109
|
+
readonly metadata?: Record<string, unknown>;
|
|
110
|
+
}
|
|
111
|
+
interface WorkItemStatusRecord {
|
|
112
|
+
readonly kind: "work-item-status";
|
|
113
|
+
readonly statusId: string;
|
|
114
|
+
readonly workItemId: string;
|
|
115
|
+
readonly state: "effect-request-pending" | "effect-run-seeded" | "evidence-recorded" | "domain-action-proposed" | "domain-action-admitted" | "domain-action-rejected" | "domain-action-deferred" | "domain-action-merged" | "mapping-issue";
|
|
116
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
117
|
+
readonly effectRunId?: string;
|
|
118
|
+
readonly requestId?: string;
|
|
119
|
+
readonly evidenceId?: string;
|
|
120
|
+
readonly proposalId?: string;
|
|
121
|
+
readonly issues?: readonly DataIssue[];
|
|
122
|
+
readonly metadata?: Record<string, unknown>;
|
|
123
|
+
}
|
|
124
|
+
interface WorkItemDomainActionAdmissionViews {
|
|
125
|
+
readonly admissionsByProposal: ReadonlyMap<string, WorkItemDomainActionAdmission>;
|
|
126
|
+
readonly admissionsByWorkItem: ReadonlyMap<string, readonly WorkItemDomainActionAdmission[]>;
|
|
127
|
+
readonly issues: readonly DataIssue[];
|
|
128
|
+
readonly audit: readonly AgentRuntimeAuditRecord[];
|
|
129
|
+
}
|
|
130
|
+
interface WorkItemDomainActionAdmissionBundle {
|
|
131
|
+
readonly admissions: Node<WorkItemDomainActionAdmission>;
|
|
132
|
+
readonly status: Node<WorkItemStatusRecord>;
|
|
133
|
+
readonly issues: Node<DataIssue>;
|
|
134
|
+
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
135
|
+
readonly views: Node<WorkItemDomainActionAdmissionViews>;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export type { WorkItemEffectRequested as W, WorkItemEvidenceRecorded as a, WorkItemStatusRecord as b, WorkItemDomainActionProposal as c, WorkItemDomainActionProposalSpec as d, WorkItemDomainActionAdmission as e, WorkItemDomainActionAdmissionDecision as f, WorkItemDomainActionAdmissionPolicy as g, WorkItemDomainActionAdmissionBundle as h, WorkItemDomainActionAdmissionViews as i };
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { DataIssue } from './data/index.cjs';
|
|
2
|
+
import { N as Node } from './types-BS6CyR-x.cjs';
|
|
3
|
+
import { S as SourceRef, a as AgentRuntimeAuditRecord, k as EffectRunResultStatus, l as EffectRunGoal, m as EffectRunLimits, h as AgentOutputEnvelope, j as AgentNeed } from './agent-runtime-types-core-CaXfKNtY.cjs';
|
|
4
|
+
|
|
5
|
+
interface WorkItemEffectRequested<TInput = unknown> {
|
|
6
|
+
readonly kind: "work-item-effect-requested";
|
|
7
|
+
readonly requestId: string;
|
|
8
|
+
readonly workItemId: string;
|
|
9
|
+
readonly effectRunId: string;
|
|
10
|
+
readonly effectKind: string;
|
|
11
|
+
readonly executionInputRevision?: number;
|
|
12
|
+
readonly planId?: string;
|
|
13
|
+
readonly planMemberId?: string;
|
|
14
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
15
|
+
readonly goal: EffectRunGoal<TInput>;
|
|
16
|
+
readonly agentRunId?: string;
|
|
17
|
+
readonly policyRefs?: readonly SourceRef[];
|
|
18
|
+
readonly limits?: EffectRunLimits;
|
|
19
|
+
readonly createdBy?: string;
|
|
20
|
+
readonly createdAtMs?: number;
|
|
21
|
+
readonly idempotencyKey?: string;
|
|
22
|
+
readonly metadata?: Record<string, unknown>;
|
|
23
|
+
}
|
|
24
|
+
interface WorkItemEvidenceRecorded {
|
|
25
|
+
readonly kind: "work-item-evidence-recorded";
|
|
26
|
+
readonly evidenceId: string;
|
|
27
|
+
readonly workItemId: string;
|
|
28
|
+
readonly requestId?: string;
|
|
29
|
+
readonly effectRunId: string;
|
|
30
|
+
readonly effectRunResultId: string;
|
|
31
|
+
readonly executionInputRevision?: number;
|
|
32
|
+
readonly planId?: string;
|
|
33
|
+
readonly planMemberId?: string;
|
|
34
|
+
readonly status: EffectRunResultStatus;
|
|
35
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
36
|
+
readonly output?: AgentOutputEnvelope;
|
|
37
|
+
readonly error?: DataIssue;
|
|
38
|
+
readonly needs?: readonly AgentNeed[];
|
|
39
|
+
readonly reason?: string;
|
|
40
|
+
readonly timeoutMs?: number;
|
|
41
|
+
readonly issues?: readonly DataIssue[];
|
|
42
|
+
readonly auditRefs?: readonly string[];
|
|
43
|
+
readonly recordedAtMs?: number;
|
|
44
|
+
readonly metadata?: Record<string, unknown>;
|
|
45
|
+
}
|
|
46
|
+
type WorkItemDomainActionProposalPayloadFrom = "evidence" | "effect-run-result" | "output";
|
|
47
|
+
interface WorkItemDomainActionProposalSpec<TPayload = unknown> {
|
|
48
|
+
readonly actionKind: string;
|
|
49
|
+
readonly behavior?: "propose";
|
|
50
|
+
readonly statuses?: readonly EffectRunResultStatus[];
|
|
51
|
+
readonly outputKinds?: readonly string[];
|
|
52
|
+
readonly payloadFrom?: WorkItemDomainActionProposalPayloadFrom;
|
|
53
|
+
readonly payload?: TPayload;
|
|
54
|
+
readonly reason?: string;
|
|
55
|
+
readonly metadata?: Record<string, unknown>;
|
|
56
|
+
}
|
|
57
|
+
interface WorkItemDomainActionProposal<TPayload = unknown> {
|
|
58
|
+
readonly kind: "work-item-domain-action-proposal";
|
|
59
|
+
readonly proposalId: string;
|
|
60
|
+
readonly workItemId: string;
|
|
61
|
+
readonly actionKind: string;
|
|
62
|
+
readonly effectRunId: string;
|
|
63
|
+
readonly effectRunResultId: string;
|
|
64
|
+
readonly evidenceId: string;
|
|
65
|
+
readonly policyId: string;
|
|
66
|
+
readonly payload?: TPayload;
|
|
67
|
+
readonly reason?: string;
|
|
68
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
69
|
+
readonly proposedAtMs?: number;
|
|
70
|
+
readonly metadata?: Record<string, unknown>;
|
|
71
|
+
}
|
|
72
|
+
type WorkItemDomainActionAdmissionOutcome = "admit" | "reject" | "defer" | "merge";
|
|
73
|
+
type WorkItemDomainActionAdmissionState = "admitted" | "rejected" | "deferred" | "merged";
|
|
74
|
+
interface WorkItemDomainActionAdmissionPolicy {
|
|
75
|
+
readonly kind: "work-item-domain-action-admission-policy";
|
|
76
|
+
readonly policyId: string;
|
|
77
|
+
readonly actionKinds?: readonly string[];
|
|
78
|
+
readonly allowedOutcomes?: readonly WorkItemDomainActionAdmissionOutcome[];
|
|
79
|
+
readonly metadata?: Record<string, unknown>;
|
|
80
|
+
}
|
|
81
|
+
interface WorkItemDomainActionAdmissionDecision {
|
|
82
|
+
readonly kind: "work-item-domain-action-admission-decision";
|
|
83
|
+
readonly decisionId: string;
|
|
84
|
+
readonly admissionId: string;
|
|
85
|
+
readonly proposalId: string;
|
|
86
|
+
readonly outcome: WorkItemDomainActionAdmissionOutcome;
|
|
87
|
+
readonly policyId?: string;
|
|
88
|
+
readonly reason?: string;
|
|
89
|
+
readonly targetProposalId?: string;
|
|
90
|
+
readonly targetAdmissionId?: string;
|
|
91
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
92
|
+
readonly decidedAtMs?: number;
|
|
93
|
+
readonly metadata?: Record<string, unknown>;
|
|
94
|
+
}
|
|
95
|
+
interface WorkItemDomainActionAdmission {
|
|
96
|
+
readonly kind: "work-item-domain-action-admission";
|
|
97
|
+
readonly admissionId: string;
|
|
98
|
+
readonly proposalId: string;
|
|
99
|
+
readonly workItemId: string;
|
|
100
|
+
readonly actionKind: string;
|
|
101
|
+
readonly state: WorkItemDomainActionAdmissionState;
|
|
102
|
+
readonly decisionId: string;
|
|
103
|
+
readonly policyId?: string;
|
|
104
|
+
readonly reason?: string;
|
|
105
|
+
readonly targetProposalId?: string;
|
|
106
|
+
readonly targetAdmissionId?: string;
|
|
107
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
108
|
+
readonly admittedAtMs?: number;
|
|
109
|
+
readonly metadata?: Record<string, unknown>;
|
|
110
|
+
}
|
|
111
|
+
interface WorkItemStatusRecord {
|
|
112
|
+
readonly kind: "work-item-status";
|
|
113
|
+
readonly statusId: string;
|
|
114
|
+
readonly workItemId: string;
|
|
115
|
+
readonly state: "effect-request-pending" | "effect-run-seeded" | "evidence-recorded" | "domain-action-proposed" | "domain-action-admitted" | "domain-action-rejected" | "domain-action-deferred" | "domain-action-merged" | "mapping-issue";
|
|
116
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
117
|
+
readonly effectRunId?: string;
|
|
118
|
+
readonly requestId?: string;
|
|
119
|
+
readonly evidenceId?: string;
|
|
120
|
+
readonly proposalId?: string;
|
|
121
|
+
readonly issues?: readonly DataIssue[];
|
|
122
|
+
readonly metadata?: Record<string, unknown>;
|
|
123
|
+
}
|
|
124
|
+
interface WorkItemDomainActionAdmissionViews {
|
|
125
|
+
readonly admissionsByProposal: ReadonlyMap<string, WorkItemDomainActionAdmission>;
|
|
126
|
+
readonly admissionsByWorkItem: ReadonlyMap<string, readonly WorkItemDomainActionAdmission[]>;
|
|
127
|
+
readonly issues: readonly DataIssue[];
|
|
128
|
+
readonly audit: readonly AgentRuntimeAuditRecord[];
|
|
129
|
+
}
|
|
130
|
+
interface WorkItemDomainActionAdmissionBundle {
|
|
131
|
+
readonly admissions: Node<WorkItemDomainActionAdmission>;
|
|
132
|
+
readonly status: Node<WorkItemStatusRecord>;
|
|
133
|
+
readonly issues: Node<DataIssue>;
|
|
134
|
+
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
135
|
+
readonly views: Node<WorkItemDomainActionAdmissionViews>;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export type { WorkItemEffectRequested as W, WorkItemEvidenceRecorded as a, WorkItemStatusRecord as b, WorkItemDomainActionProposal as c, WorkItemDomainActionProposalSpec as d, WorkItemDomainActionAdmission as e, WorkItemDomainActionAdmissionDecision as f, WorkItemDomainActionAdmissionPolicy as g, WorkItemDomainActionAdmissionBundle as h, WorkItemDomainActionAdmissionViews as i };
|