@graphrefly/ts 0.0.1 → 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/dist/actions-types-CSC3NMDl.d.ts +657 -0
- package/dist/actions-types-wl9Mgkmr.d.cts +657 -0
- package/dist/adapters/index.cjs +5157 -2951
- package/dist/adapters/index.cjs.map +1 -1
- package/dist/adapters/index.d.cts +207 -70
- package/dist/adapters/index.d.ts +207 -70
- package/dist/adapters/index.js +3738 -1688
- 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 +3 -3
- package/dist/adapters/observe-storage.d.ts +3 -3
- package/dist/adapters/observe-storage.js +4 -4
- package/dist/adapters/react.cjs.map +1 -1
- package/dist/adapters/react.d.cts +2 -2
- package/dist/adapters/react.d.ts +2 -2
- package/dist/adapters/react.js +1 -1
- package/dist/adapters/solid.cjs.map +1 -1
- package/dist/adapters/solid.d.cts +2 -2
- package/dist/adapters/solid.d.ts +2 -2
- package/dist/adapters/solid.js +1 -1
- package/dist/adapters/svelte.cjs.map +1 -1
- package/dist/adapters/svelte.d.cts +2 -2
- package/dist/adapters/svelte.d.ts +2 -2
- package/dist/adapters/svelte.js +1 -1
- package/dist/adapters/vue.cjs.map +1 -1
- package/dist/adapters/vue.d.cts +2 -2
- package/dist/adapters/vue.d.ts +2 -2
- package/dist/adapters/vue.js +1 -1
- package/dist/{agent-runtime-DZTJ3C-p.d.cts → agent-runtime-types-core-CaXfKNtY.d.cts} +171 -320
- package/dist/{agent-runtime-BesGDZcB.d.ts → agent-runtime-types-core-hU299uIC.d.ts} +171 -320
- 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-BmRCvh0d.d.ts → agentic-memory-types-CVSUS6XR.d.ts} +13 -57
- package/dist/{agentic-memory-DfuVZ-lY.d.cts → agentic-memory-types-FnnYlVUs.d.cts} +13 -57
- package/dist/{capability-admission-g0mn9hpq.d.ts → capability-admission-BW2CziT6.d.ts} +3 -3
- package/dist/{capability-admission-B0BzqAm5.d.cts → capability-admission-lwSecxXs.d.cts} +3 -3
- 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-YDSIVHRR.js → chunk-4NWSNI4K.js} +1598 -1584
- 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-IXZBUWSP.js → chunk-7HZRJMN6.js} +2 -2
- package/dist/{chunk-SS2A464I.js → chunk-CJIFGJQG.js} +3 -3
- package/dist/{chunk-V7CIJE4B.js → chunk-CX6B6PO2.js} +92 -9
- package/dist/chunk-CX6B6PO2.js.map +1 -0
- package/dist/{chunk-FBUU43PM.js → chunk-E4QCH32M.js} +448 -446
- package/dist/chunk-E4QCH32M.js.map +1 -0
- package/dist/{chunk-HKK2JD7Z.js → chunk-ECURQ3HD.js} +12 -125
- package/dist/chunk-ECURQ3HD.js.map +1 -0
- package/dist/{chunk-3JR3EDB2.js → chunk-EOKT4QFF.js} +121 -115
- 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-H75VXTGT.js → chunk-L6LDXRWE.js} +3 -3
- package/dist/{chunk-H75VXTGT.js.map → chunk-L6LDXRWE.js.map} +1 -1
- package/dist/{chunk-YXMZ2N6J.js → chunk-M7J6Z4IJ.js} +1071 -1025
- 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-QFY4AFY4.js → chunk-PVC7WDKI.js} +58 -52
- package/dist/chunk-PVC7WDKI.js.map +1 -0
- package/dist/{chunk-VTHLCFN4.js → chunk-RAHNUYA5.js} +2 -2
- package/dist/{chunk-XKXWK2KP.js → chunk-SHZDP2MQ.js} +1157 -1021
- package/dist/chunk-SHZDP2MQ.js.map +1 -0
- package/dist/{chunk-CZNV3VXM.js → chunk-SIDJO2T4.js} +11 -11
- package/dist/chunk-STXRMPW4.js +4131 -0
- package/dist/chunk-STXRMPW4.js.map +1 -0
- package/dist/{chunk-2747WN4Y.js → chunk-TPND5MJS.js} +3 -3
- package/dist/chunk-TQPCAIQI.js +612 -0
- package/dist/chunk-TQPCAIQI.js.map +1 -0
- package/dist/{chunk-43BKLFZU.js → chunk-YDWBXXQZ.js} +10 -10
- package/dist/{chunk-6PHB5CJS.js → chunk-ZLFRB6FI.js} +2 -2
- package/dist/composition/index.cjs +1228 -1076
- package/dist/composition/index.cjs.map +1 -1
- package/dist/composition/index.d.cts +3 -3
- package/dist/composition/index.d.ts +3 -3
- package/dist/composition/index.js +4 -4
- package/dist/core/index.cjs +1198 -1046
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +2 -2
- package/dist/cqrs/index.d.cts +3 -3
- package/dist/cqrs/index.d.ts +3 -3
- package/dist/cqrs/messaging.d.cts +4 -4
- package/dist/cqrs/messaging.d.ts +4 -4
- package/dist/cqrs/work-queue.d.cts +5 -5
- package/dist/cqrs/work-queue.d.ts +5 -5
- package/dist/data-structures/index.cjs +1226 -1074
- package/dist/data-structures/index.cjs.map +1 -1
- package/dist/data-structures/index.d.cts +8 -7
- package/dist/data-structures/index.d.ts +8 -7
- package/dist/data-structures/index.js +6 -5
- package/dist/{describe-BpyJuWkw.d.ts → describe-B_A5fbXH.d.ts} +1 -1
- package/dist/{describe-DYMw_l1C.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.d.cts +6 -6
- package/dist/executors/work-queue.d.ts +6 -6
- package/dist/graph/index.cjs +1499 -1341
- package/dist/graph/index.cjs.map +1 -1
- package/dist/graph/index.d.cts +9 -8
- package/dist/graph/index.d.ts +9 -8
- package/dist/graph/index.js +23 -22
- package/dist/{graph-DCEWh4T2.d.cts → graph-CWK3HLPB.d.cts} +133 -131
- package/dist/{graph-D-1-SQeC.d.ts → graph-ho5sotHP.d.ts} +133 -131
- package/dist/{index-Bmxeu0nK.d.ts → index-CQWcE0Dw.d.ts} +18 -4
- package/dist/{index-72VZC0-E.d.cts → index-DHA1i67c.d.cts} +18 -4
- package/dist/index.cjs +3397 -3140
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -9
- package/dist/index.d.ts +12 -9
- package/dist/index.js +110 -109
- package/dist/inspection/boundary.d.cts +4 -4
- package/dist/inspection/boundary.d.ts +4 -4
- package/dist/measurements-C0mAvWU1.d.cts +164 -0
- package/dist/measurements-OMpCeBwh.d.ts +164 -0
- package/dist/messaging/index.cjs +57 -51
- package/dist/messaging/index.cjs.map +1 -1
- package/dist/messaging/index.d.cts +11 -276
- package/dist/messaging/index.d.ts +11 -276
- package/dist/messaging/index.js +1 -1
- package/dist/operators/index.cjs +1228 -1076
- package/dist/operators/index.cjs.map +1 -1
- package/dist/operators/index.d.cts +5 -5
- package/dist/operators/index.d.ts +5 -5
- package/dist/operators/index.js +5 -5
- package/dist/orchestration/index.cjs +8844 -6071
- package/dist/orchestration/index.cjs.map +1 -1
- package/dist/orchestration/index.d.cts +171 -224
- package/dist/orchestration/index.d.ts +171 -224
- package/dist/orchestration/index.js +42 -991
- package/dist/orchestration/index.js.map +1 -1
- package/dist/orchestration/messaging.d.cts +5 -8
- package/dist/orchestration/messaging.d.ts +5 -8
- package/dist/orchestration/work-queue.cjs +1243 -5
- package/dist/orchestration/work-queue.cjs.map +1 -1
- package/dist/orchestration/work-queue.d.cts +121 -10
- package/dist/orchestration/work-queue.d.ts +121 -10
- package/dist/orchestration/work-queue.js +1067 -4
- package/dist/orchestration/work-queue.js.map +1 -1
- package/dist/patterns/event-flow.cjs +6 -20
- package/dist/patterns/event-flow.cjs.map +1 -1
- package/dist/patterns/event-flow.d.cts +4 -4
- package/dist/patterns/event-flow.d.ts +4 -4
- package/dist/patterns/event-flow.js +2 -2
- package/dist/patterns/index.cjs +453 -465
- package/dist/patterns/index.cjs.map +1 -1
- package/dist/patterns/index.d.cts +6 -5
- package/dist/patterns/index.d.ts +6 -5
- package/dist/patterns/index.js +3 -3
- package/dist/process-types-C9uMYz3i.d.ts +200 -0
- package/dist/process-types-h3uRlzDc.d.cts +200 -0
- package/dist/{reactive-collection-DNV0-gFi.d.cts → reactive-collection-B9R0Bl1P.d.cts} +4 -34
- package/dist/{reactive-collection-BAmfrGjd.d.ts → reactive-collection-BXFrH0U2.d.ts} +4 -34
- package/dist/{reactive-collection-storage-BNEldDyi.d.cts → reactive-collection-storage-BLGv8Xp8.d.cts} +5 -5
- package/dist/{reactive-collection-storage-YZsAQsWK.d.ts → reactive-collection-storage-a4zD3665.d.ts} +5 -5
- package/dist/{reactive-map-DRD1LJ2H.d.cts → reactive-map-C_8sOfdS.d.cts} +3 -2
- package/dist/{reactive-map-EsDiCmJk.d.ts → reactive-map-jle5dnok.d.ts} +3 -2
- package/dist/render/index.d.cts +2 -2
- package/dist/render/index.d.ts +2 -2
- 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-DKuNzuWw.d.cts → semantic-memory-graph-types-BvzdqmkY.d.cts} +2 -28
- package/dist/{semantic-memory-graph-uwbwJdhe.d.ts → semantic-memory-graph-types-Ci-OtahO.d.ts} +2 -28
- package/dist/solutions/index.cjs +6353 -6169
- package/dist/solutions/index.cjs.map +1 -1
- package/dist/solutions/index.d.cts +12 -10
- package/dist/solutions/index.d.ts +12 -10
- package/dist/solutions/index.js +5 -5
- package/dist/solutions/reactive-layout/browser/index.cjs +116 -108
- package/dist/solutions/reactive-layout/browser/index.cjs.map +1 -1
- package/dist/solutions/reactive-layout/browser/index.d.cts +4 -4
- package/dist/solutions/reactive-layout/browser/index.d.ts +4 -4
- package/dist/solutions/reactive-layout/browser/index.js +3 -3
- package/dist/solutions/reactive-layout/index.cjs +3578 -3350
- package/dist/solutions/reactive-layout/index.cjs.map +1 -1
- package/dist/solutions/reactive-layout/index.d.cts +32 -576
- package/dist/solutions/reactive-layout/index.d.ts +32 -576
- package/dist/solutions/reactive-layout/index.js +65 -5
- package/dist/solutions/reactive-layout/node-canvas/index.cjs +127 -117
- package/dist/solutions/reactive-layout/node-canvas/index.cjs.map +1 -1
- package/dist/solutions/reactive-layout/node-canvas/index.d.cts +4 -4
- package/dist/solutions/reactive-layout/node-canvas/index.d.ts +4 -4
- package/dist/solutions/reactive-layout/node-canvas/index.js +3 -3
- package/dist/solutions/reactive-layout/react-native/index.cjs +127 -117
- package/dist/solutions/reactive-layout/react-native/index.cjs.map +1 -1
- package/dist/solutions/reactive-layout/react-native/index.d.cts +4 -4
- package/dist/solutions/reactive-layout/react-native/index.d.ts +4 -4
- package/dist/solutions/reactive-layout/react-native/index.js +3 -3
- package/dist/solutions/reactive-layout/skia/index.cjs +127 -117
- package/dist/solutions/reactive-layout/skia/index.cjs.map +1 -1
- package/dist/solutions/reactive-layout/skia/index.d.cts +4 -4
- package/dist/solutions/reactive-layout/skia/index.d.ts +4 -4
- package/dist/solutions/reactive-layout/skia/index.js +3 -3
- package/dist/solutions/work-item/actions.cjs +1609 -1428
- package/dist/solutions/work-item/actions.cjs.map +1 -1
- package/dist/solutions/work-item/actions.d.cts +23 -184
- package/dist/solutions/work-item/actions.d.ts +23 -184
- package/dist/solutions/work-item/actions.js +1558 -934
- package/dist/solutions/work-item/actions.js.map +1 -1
- package/dist/solutions/work-item/scheduling.cjs +9181 -1838
- package/dist/solutions/work-item/scheduling.cjs.map +1 -1
- package/dist/solutions/work-item/scheduling.d.cts +1763 -328
- package/dist/solutions/work-item/scheduling.d.ts +1763 -328
- package/dist/solutions/work-item/scheduling.js +117 -3
- package/dist/solutions/work-item/work-queue.d.cts +7 -7
- package/dist/solutions/work-item/work-queue.d.ts +7 -7
- package/dist/sources/browser.cjs +1318 -1083
- package/dist/sources/browser.cjs.map +1 -1
- package/dist/sources/browser.d.cts +4 -4
- package/dist/sources/browser.d.ts +4 -4
- package/dist/sources/browser.js +4 -4
- package/dist/sources/index.cjs +1318 -1083
- package/dist/sources/index.cjs.map +1 -1
- package/dist/sources/index.d.cts +4 -4
- package/dist/sources/index.d.ts +4 -4
- package/dist/sources/index.js +4 -4
- package/dist/sources/node.d.cts +3 -3
- package/dist/sources/node.d.ts +3 -3
- package/dist/storage/browser.cjs +16 -0
- package/dist/storage/browser.cjs.map +1 -1
- package/dist/storage/browser.js +3 -3
- package/dist/storage/index.cjs +16 -0
- package/dist/storage/index.cjs.map +1 -1
- package/dist/storage/index.d.cts +5 -4
- package/dist/storage/index.d.ts +5 -4
- package/dist/storage/index.js +6 -6
- package/dist/storage/node.cjs +16 -0
- package/dist/storage/node.cjs.map +1 -1
- package/dist/storage/node.js +3 -3
- package/dist/{store-C-joM4gh.d.ts → store-BmtEs9mG.d.ts} +1 -1
- package/dist/{store-CNJwmT-h.d.cts → store-PAAsYvML.d.cts} +1 -1
- package/dist/types-BRNKoFHj.d.ts +357 -0
- package/dist/{types-CcPIn7sy.d.cts → types-BS6CyR-x.d.cts} +27 -108
- 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-BsJvElYZ.d.ts → types-C9NOgNJw.d.ts} +27 -108
- 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-C3M79vE9.d.ts → work-item-runtime-types-BqtWnSCS.d.ts} +3 -93
- package/dist/{work-item-runtime-qaVgsL0T.d.cts → work-item-runtime-types-CHO03AKh.d.cts} +3 -93
- package/dist/work-queue/index.cjs +957 -953
- package/dist/work-queue/index.cjs.map +1 -1
- package/dist/work-queue/index.d.cts +9 -357
- package/dist/work-queue/index.d.ts +9 -357
- package/dist/work-queue/index.js +957 -953
- package/dist/work-queue/index.js.map +1 -1
- package/package.json +603 -513
- package/dist/chunk-3JR3EDB2.js.map +0 -1
- package/dist/chunk-4VLAQHZI.js.map +0 -1
- package/dist/chunk-6XAIOL3X.js +0 -2407
- package/dist/chunk-6XAIOL3X.js.map +0 -1
- package/dist/chunk-FBUU43PM.js.map +0 -1
- package/dist/chunk-HKK2JD7Z.js.map +0 -1
- package/dist/chunk-PC3BTTBE.js +0 -3217
- package/dist/chunk-PC3BTTBE.js.map +0 -1
- package/dist/chunk-QFY4AFY4.js.map +0 -1
- package/dist/chunk-V7CIJE4B.js.map +0 -1
- package/dist/chunk-XKXWK2KP.js.map +0 -1
- package/dist/chunk-YDSIVHRR.js.map +0 -1
- package/dist/chunk-YXMZ2N6J.js.map +0 -1
- /package/dist/{chunk-Z2ANQ6JW.js.map → chunk-4Q77MMJY.js.map} +0 -0
- /package/dist/{chunk-IXZBUWSP.js.map → chunk-7HZRJMN6.js.map} +0 -0
- /package/dist/{chunk-SS2A464I.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-VTHLCFN4.js.map → chunk-RAHNUYA5.js.map} +0 -0
- /package/dist/{chunk-CZNV3VXM.js.map → chunk-SIDJO2T4.js.map} +0 -0
- /package/dist/{chunk-2747WN4Y.js.map → chunk-TPND5MJS.js.map} +0 -0
- /package/dist/{chunk-43BKLFZU.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 };
|
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
import { DataIssue } from './data/index.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { S as SourceRef, v as AgentRuntimeAuditRecord, H as EffectRunResultStatus, z as EffectRunGoal, B as EffectRunLimits, w as EffectRun, h as AgentOutputEnvelope, g as AgentNeed, F as EffectRunResult } from './agent-runtime-BesGDZcB.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';
|
|
5
4
|
|
|
6
|
-
interface WorkItemSeed {
|
|
7
|
-
readonly kind: "work-item";
|
|
8
|
-
readonly workItemId: string;
|
|
9
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
10
|
-
readonly workItemKind?: string;
|
|
11
|
-
readonly summary?: string;
|
|
12
|
-
readonly detailRef?: string;
|
|
13
|
-
readonly lifecycleStatus?: string;
|
|
14
|
-
readonly issues?: readonly DataIssue[];
|
|
15
|
-
readonly metadata?: Record<string, unknown>;
|
|
16
|
-
}
|
|
17
5
|
interface WorkItemEffectRequested<TInput = unknown> {
|
|
18
6
|
readonly kind: "work-item-effect-requested";
|
|
19
7
|
readonly requestId: string;
|
|
@@ -120,16 +108,6 @@ interface WorkItemDomainActionAdmission {
|
|
|
120
108
|
readonly admittedAtMs?: number;
|
|
121
109
|
readonly metadata?: Record<string, unknown>;
|
|
122
110
|
}
|
|
123
|
-
interface WorkItemEffectMappingPolicy {
|
|
124
|
-
readonly kind: "work-item-effect-mapping-policy";
|
|
125
|
-
readonly policyId: string;
|
|
126
|
-
readonly effectKinds?: readonly string[];
|
|
127
|
-
readonly evidence?: {
|
|
128
|
-
readonly behavior?: "record";
|
|
129
|
-
};
|
|
130
|
-
readonly actionProposals?: readonly WorkItemDomainActionProposalSpec[];
|
|
131
|
-
readonly metadata?: Record<string, unknown>;
|
|
132
|
-
}
|
|
133
111
|
interface WorkItemStatusRecord {
|
|
134
112
|
readonly kind: "work-item-status";
|
|
135
113
|
readonly statusId: string;
|
|
@@ -143,51 +121,12 @@ interface WorkItemStatusRecord {
|
|
|
143
121
|
readonly issues?: readonly DataIssue[];
|
|
144
122
|
readonly metadata?: Record<string, unknown>;
|
|
145
123
|
}
|
|
146
|
-
interface WorkItemEffectRequestViews {
|
|
147
|
-
readonly pendingEffectRequests: readonly WorkItemEffectRequested[];
|
|
148
|
-
readonly issues: readonly DataIssue[];
|
|
149
|
-
readonly audit: readonly AgentRuntimeAuditRecord[];
|
|
150
|
-
}
|
|
151
|
-
interface WorkItemEvidenceViews {
|
|
152
|
-
readonly evidenceByWorkItem: ReadonlyMap<string, readonly WorkItemEvidenceRecorded[]>;
|
|
153
|
-
readonly latestEvidenceByEffectRun: ReadonlyMap<string, WorkItemEvidenceRecorded>;
|
|
154
|
-
readonly issues: readonly DataIssue[];
|
|
155
|
-
readonly audit: readonly AgentRuntimeAuditRecord[];
|
|
156
|
-
readonly pendingEffectRequests: readonly WorkItemEffectRequested[];
|
|
157
|
-
}
|
|
158
|
-
interface WorkItemDomainActionProposalViews {
|
|
159
|
-
readonly proposalsByWorkItem: ReadonlyMap<string, readonly WorkItemDomainActionProposal[]>;
|
|
160
|
-
readonly proposalsByEvidence: ReadonlyMap<string, readonly WorkItemDomainActionProposal[]>;
|
|
161
|
-
readonly issues: readonly DataIssue[];
|
|
162
|
-
readonly audit: readonly AgentRuntimeAuditRecord[];
|
|
163
|
-
}
|
|
164
124
|
interface WorkItemDomainActionAdmissionViews {
|
|
165
125
|
readonly admissionsByProposal: ReadonlyMap<string, WorkItemDomainActionAdmission>;
|
|
166
126
|
readonly admissionsByWorkItem: ReadonlyMap<string, readonly WorkItemDomainActionAdmission[]>;
|
|
167
127
|
readonly issues: readonly DataIssue[];
|
|
168
128
|
readonly audit: readonly AgentRuntimeAuditRecord[];
|
|
169
129
|
}
|
|
170
|
-
interface WorkItemEffectRunBundle {
|
|
171
|
-
readonly effectRuns: Node<EffectRun>;
|
|
172
|
-
readonly status: Node<WorkItemStatusRecord>;
|
|
173
|
-
readonly issues: Node<DataIssue>;
|
|
174
|
-
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
175
|
-
readonly views: Node<WorkItemEffectRequestViews>;
|
|
176
|
-
}
|
|
177
|
-
interface WorkItemEvidenceMapperBundle {
|
|
178
|
-
readonly evidence: Node<WorkItemEvidenceRecorded>;
|
|
179
|
-
readonly status: Node<WorkItemStatusRecord>;
|
|
180
|
-
readonly issues: Node<DataIssue>;
|
|
181
|
-
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
182
|
-
readonly views: Node<WorkItemEvidenceViews>;
|
|
183
|
-
}
|
|
184
|
-
interface WorkItemDomainActionProposalBundle {
|
|
185
|
-
readonly proposals: Node<WorkItemDomainActionProposal>;
|
|
186
|
-
readonly status: Node<WorkItemStatusRecord>;
|
|
187
|
-
readonly issues: Node<DataIssue>;
|
|
188
|
-
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
189
|
-
readonly views: Node<WorkItemDomainActionProposalViews>;
|
|
190
|
-
}
|
|
191
130
|
interface WorkItemDomainActionAdmissionBundle {
|
|
192
131
|
readonly admissions: Node<WorkItemDomainActionAdmission>;
|
|
193
132
|
readonly status: Node<WorkItemStatusRecord>;
|
|
@@ -195,34 +134,5 @@ interface WorkItemDomainActionAdmissionBundle {
|
|
|
195
134
|
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
196
135
|
readonly views: Node<WorkItemDomainActionAdmissionViews>;
|
|
197
136
|
}
|
|
198
|
-
declare function workItemEffectRunProjector(graph: Graph, opts: {
|
|
199
|
-
readonly name?: string;
|
|
200
|
-
readonly workItems: Node<WorkItemSeed>;
|
|
201
|
-
readonly effectRequests: Node<WorkItemEffectRequested>;
|
|
202
|
-
}): WorkItemEffectRunBundle;
|
|
203
|
-
declare function workItemEffectResultMapper(graph: Graph, opts: {
|
|
204
|
-
readonly name?: string;
|
|
205
|
-
readonly workItems: Node<WorkItemSeed>;
|
|
206
|
-
readonly effectRuns: Node<EffectRun>;
|
|
207
|
-
readonly effectRunResults: Node<EffectRunResult>;
|
|
208
|
-
readonly effectRequests?: Node<WorkItemEffectRequested>;
|
|
209
|
-
readonly mappingPolicies?: readonly Node<WorkItemEffectMappingPolicy>[];
|
|
210
|
-
readonly now?: () => number;
|
|
211
|
-
}): WorkItemEvidenceMapperBundle;
|
|
212
|
-
declare function workItemDomainActionProposalProjector(graph: Graph, opts: {
|
|
213
|
-
readonly name?: string;
|
|
214
|
-
readonly workItems: Node<WorkItemSeed>;
|
|
215
|
-
readonly evidence: Node<WorkItemEvidenceRecorded>;
|
|
216
|
-
readonly effectRunResults: Node<EffectRunResult>;
|
|
217
|
-
readonly mappingPolicies: readonly Node<WorkItemEffectMappingPolicy>[];
|
|
218
|
-
readonly now?: () => number;
|
|
219
|
-
}): WorkItemDomainActionProposalBundle;
|
|
220
|
-
declare function workItemDomainActionAdmissionProjector(graph: Graph, opts: {
|
|
221
|
-
readonly name?: string;
|
|
222
|
-
readonly proposals: Node<WorkItemDomainActionProposal>;
|
|
223
|
-
readonly decisions: Node<WorkItemDomainActionAdmissionDecision>;
|
|
224
|
-
readonly admissionPolicies?: readonly Node<WorkItemDomainActionAdmissionPolicy>[];
|
|
225
|
-
readonly now?: () => number;
|
|
226
|
-
}): WorkItemDomainActionAdmissionBundle;
|
|
227
137
|
|
|
228
|
-
export {
|
|
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 };
|
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
import { DataIssue } from './data/index.cjs';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { S as SourceRef, v as AgentRuntimeAuditRecord, H as EffectRunResultStatus, z as EffectRunGoal, B as EffectRunLimits, w as EffectRun, h as AgentOutputEnvelope, g as AgentNeed, F as EffectRunResult } from './agent-runtime-DZTJ3C-p.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';
|
|
5
4
|
|
|
6
|
-
interface WorkItemSeed {
|
|
7
|
-
readonly kind: "work-item";
|
|
8
|
-
readonly workItemId: string;
|
|
9
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
10
|
-
readonly workItemKind?: string;
|
|
11
|
-
readonly summary?: string;
|
|
12
|
-
readonly detailRef?: string;
|
|
13
|
-
readonly lifecycleStatus?: string;
|
|
14
|
-
readonly issues?: readonly DataIssue[];
|
|
15
|
-
readonly metadata?: Record<string, unknown>;
|
|
16
|
-
}
|
|
17
5
|
interface WorkItemEffectRequested<TInput = unknown> {
|
|
18
6
|
readonly kind: "work-item-effect-requested";
|
|
19
7
|
readonly requestId: string;
|
|
@@ -120,16 +108,6 @@ interface WorkItemDomainActionAdmission {
|
|
|
120
108
|
readonly admittedAtMs?: number;
|
|
121
109
|
readonly metadata?: Record<string, unknown>;
|
|
122
110
|
}
|
|
123
|
-
interface WorkItemEffectMappingPolicy {
|
|
124
|
-
readonly kind: "work-item-effect-mapping-policy";
|
|
125
|
-
readonly policyId: string;
|
|
126
|
-
readonly effectKinds?: readonly string[];
|
|
127
|
-
readonly evidence?: {
|
|
128
|
-
readonly behavior?: "record";
|
|
129
|
-
};
|
|
130
|
-
readonly actionProposals?: readonly WorkItemDomainActionProposalSpec[];
|
|
131
|
-
readonly metadata?: Record<string, unknown>;
|
|
132
|
-
}
|
|
133
111
|
interface WorkItemStatusRecord {
|
|
134
112
|
readonly kind: "work-item-status";
|
|
135
113
|
readonly statusId: string;
|
|
@@ -143,51 +121,12 @@ interface WorkItemStatusRecord {
|
|
|
143
121
|
readonly issues?: readonly DataIssue[];
|
|
144
122
|
readonly metadata?: Record<string, unknown>;
|
|
145
123
|
}
|
|
146
|
-
interface WorkItemEffectRequestViews {
|
|
147
|
-
readonly pendingEffectRequests: readonly WorkItemEffectRequested[];
|
|
148
|
-
readonly issues: readonly DataIssue[];
|
|
149
|
-
readonly audit: readonly AgentRuntimeAuditRecord[];
|
|
150
|
-
}
|
|
151
|
-
interface WorkItemEvidenceViews {
|
|
152
|
-
readonly evidenceByWorkItem: ReadonlyMap<string, readonly WorkItemEvidenceRecorded[]>;
|
|
153
|
-
readonly latestEvidenceByEffectRun: ReadonlyMap<string, WorkItemEvidenceRecorded>;
|
|
154
|
-
readonly issues: readonly DataIssue[];
|
|
155
|
-
readonly audit: readonly AgentRuntimeAuditRecord[];
|
|
156
|
-
readonly pendingEffectRequests: readonly WorkItemEffectRequested[];
|
|
157
|
-
}
|
|
158
|
-
interface WorkItemDomainActionProposalViews {
|
|
159
|
-
readonly proposalsByWorkItem: ReadonlyMap<string, readonly WorkItemDomainActionProposal[]>;
|
|
160
|
-
readonly proposalsByEvidence: ReadonlyMap<string, readonly WorkItemDomainActionProposal[]>;
|
|
161
|
-
readonly issues: readonly DataIssue[];
|
|
162
|
-
readonly audit: readonly AgentRuntimeAuditRecord[];
|
|
163
|
-
}
|
|
164
124
|
interface WorkItemDomainActionAdmissionViews {
|
|
165
125
|
readonly admissionsByProposal: ReadonlyMap<string, WorkItemDomainActionAdmission>;
|
|
166
126
|
readonly admissionsByWorkItem: ReadonlyMap<string, readonly WorkItemDomainActionAdmission[]>;
|
|
167
127
|
readonly issues: readonly DataIssue[];
|
|
168
128
|
readonly audit: readonly AgentRuntimeAuditRecord[];
|
|
169
129
|
}
|
|
170
|
-
interface WorkItemEffectRunBundle {
|
|
171
|
-
readonly effectRuns: Node<EffectRun>;
|
|
172
|
-
readonly status: Node<WorkItemStatusRecord>;
|
|
173
|
-
readonly issues: Node<DataIssue>;
|
|
174
|
-
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
175
|
-
readonly views: Node<WorkItemEffectRequestViews>;
|
|
176
|
-
}
|
|
177
|
-
interface WorkItemEvidenceMapperBundle {
|
|
178
|
-
readonly evidence: Node<WorkItemEvidenceRecorded>;
|
|
179
|
-
readonly status: Node<WorkItemStatusRecord>;
|
|
180
|
-
readonly issues: Node<DataIssue>;
|
|
181
|
-
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
182
|
-
readonly views: Node<WorkItemEvidenceViews>;
|
|
183
|
-
}
|
|
184
|
-
interface WorkItemDomainActionProposalBundle {
|
|
185
|
-
readonly proposals: Node<WorkItemDomainActionProposal>;
|
|
186
|
-
readonly status: Node<WorkItemStatusRecord>;
|
|
187
|
-
readonly issues: Node<DataIssue>;
|
|
188
|
-
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
189
|
-
readonly views: Node<WorkItemDomainActionProposalViews>;
|
|
190
|
-
}
|
|
191
130
|
interface WorkItemDomainActionAdmissionBundle {
|
|
192
131
|
readonly admissions: Node<WorkItemDomainActionAdmission>;
|
|
193
132
|
readonly status: Node<WorkItemStatusRecord>;
|
|
@@ -195,34 +134,5 @@ interface WorkItemDomainActionAdmissionBundle {
|
|
|
195
134
|
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
196
135
|
readonly views: Node<WorkItemDomainActionAdmissionViews>;
|
|
197
136
|
}
|
|
198
|
-
declare function workItemEffectRunProjector(graph: Graph, opts: {
|
|
199
|
-
readonly name?: string;
|
|
200
|
-
readonly workItems: Node<WorkItemSeed>;
|
|
201
|
-
readonly effectRequests: Node<WorkItemEffectRequested>;
|
|
202
|
-
}): WorkItemEffectRunBundle;
|
|
203
|
-
declare function workItemEffectResultMapper(graph: Graph, opts: {
|
|
204
|
-
readonly name?: string;
|
|
205
|
-
readonly workItems: Node<WorkItemSeed>;
|
|
206
|
-
readonly effectRuns: Node<EffectRun>;
|
|
207
|
-
readonly effectRunResults: Node<EffectRunResult>;
|
|
208
|
-
readonly effectRequests?: Node<WorkItemEffectRequested>;
|
|
209
|
-
readonly mappingPolicies?: readonly Node<WorkItemEffectMappingPolicy>[];
|
|
210
|
-
readonly now?: () => number;
|
|
211
|
-
}): WorkItemEvidenceMapperBundle;
|
|
212
|
-
declare function workItemDomainActionProposalProjector(graph: Graph, opts: {
|
|
213
|
-
readonly name?: string;
|
|
214
|
-
readonly workItems: Node<WorkItemSeed>;
|
|
215
|
-
readonly evidence: Node<WorkItemEvidenceRecorded>;
|
|
216
|
-
readonly effectRunResults: Node<EffectRunResult>;
|
|
217
|
-
readonly mappingPolicies: readonly Node<WorkItemEffectMappingPolicy>[];
|
|
218
|
-
readonly now?: () => number;
|
|
219
|
-
}): WorkItemDomainActionProposalBundle;
|
|
220
|
-
declare function workItemDomainActionAdmissionProjector(graph: Graph, opts: {
|
|
221
|
-
readonly name?: string;
|
|
222
|
-
readonly proposals: Node<WorkItemDomainActionProposal>;
|
|
223
|
-
readonly decisions: Node<WorkItemDomainActionAdmissionDecision>;
|
|
224
|
-
readonly admissionPolicies?: readonly Node<WorkItemDomainActionAdmissionPolicy>[];
|
|
225
|
-
readonly now?: () => number;
|
|
226
|
-
}): WorkItemDomainActionAdmissionBundle;
|
|
227
137
|
|
|
228
|
-
export {
|
|
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 };
|