@graphrefly/ts 0.0.1 → 0.0.3
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 +197 -117
- package/dist/actions-types-CH-XCU9O.d.cts +657 -0
- package/dist/actions-types-w2iPQTkv.d.ts +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-BesGDZcB.d.ts → agent-runtime-types-core-CKwrBDyi.d.ts} +171 -320
- package/dist/{agent-runtime-DZTJ3C-p.d.cts → agent-runtime-types-core-bfl4m0vM.d.cts} +171 -320
- package/dist/agent-runtime-types-tool-BLPV3azj.d.cts +695 -0
- package/dist/agent-runtime-types-tool-hwqvVqNt.d.ts +695 -0
- package/dist/agentic-memory-retention-CLwI76JK.d.ts +14 -0
- package/dist/agentic-memory-retention-Cz8GR6ie.d.cts +14 -0
- package/dist/{agentic-memory-DfuVZ-lY.d.cts → agentic-memory-types-JDr7MPhh.d.cts} +13 -57
- package/dist/{agentic-memory-BmRCvh0d.d.ts → agentic-memory-types-khYJgzKL.d.ts} +13 -57
- package/dist/{capability-admission-B0BzqAm5.d.cts → capability-admission-B8RNFyaZ.d.cts} +3 -3
- package/dist/{capability-admission-g0mn9hpq.d.ts → capability-admission-Dkw1Xz3r.d.ts} +3 -3
- package/dist/chunk-2KUAG2GZ.js +9693 -0
- package/dist/chunk-2KUAG2GZ.js.map +1 -0
- package/dist/{chunk-CZNV3VXM.js → chunk-3J7UPZL5.js} +11 -11
- package/dist/{chunk-HKK2JD7Z.js → chunk-3LYI6ADX.js} +12 -125
- package/dist/chunk-3LYI6ADX.js.map +1 -0
- package/dist/{chunk-YXMZ2N6J.js → chunk-4M37FH2I.js} +1071 -1025
- package/dist/chunk-4M37FH2I.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-SS2A464I.js → chunk-54WPEODM.js} +3 -3
- package/dist/chunk-54WPEODM.js.map +1 -0
- 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-V7CIJE4B.js → chunk-DKFWDTVY.js} +92 -9
- package/dist/chunk-DKFWDTVY.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-XKXWK2KP.js → chunk-GXU6WFEJ.js} +1157 -1021
- package/dist/chunk-GXU6WFEJ.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-43BKLFZU.js → chunk-KFURM6FM.js} +10 -10
- 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-MCOFHMUU.js +4131 -0
- package/dist/chunk-MCOFHMUU.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-3JR3EDB2.js → chunk-NNDIFUKX.js} +121 -115
- package/dist/chunk-NNDIFUKX.js.map +1 -0
- package/dist/{chunk-2747WN4Y.js → chunk-PUSRRALM.js} +3 -3
- 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-TQPCAIQI.js +612 -0
- package/dist/chunk-TQPCAIQI.js.map +1 -0
- package/dist/{chunk-IXZBUWSP.js → chunk-UEMN5URK.js} +2 -2
- package/dist/chunk-WOS7RJYZ.js +1320 -0
- package/dist/chunk-WOS7RJYZ.js.map +1 -0
- 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 +23 -2
- package/dist/core/index.d.ts +23 -2
- 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-DYMw_l1C.d.cts → describe-BumQ-3_0.d.cts} +1 -1
- package/dist/{describe-BpyJuWkw.d.ts → describe-cYr_Z5zm.d.ts} +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-C1C-wb0L.d.cts} +266 -137
- package/dist/{graph-D-1-SQeC.d.ts → graph-CS0b4V9B.d.ts} +266 -137
- package/dist/{index-72VZC0-E.d.cts → index-DLrNopda.d.cts} +151 -10
- package/dist/{index-Bmxeu0nK.d.ts → index-DzJni3_6.d.ts} +151 -10
- 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-BWAnochv.d.ts +294 -0
- package/dist/measurements-B_gJfD8h.d.cts +294 -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-BB7oRhX3.d.cts +200 -0
- package/dist/process-types-QNhyoYJ8.d.ts +200 -0
- package/dist/{reactive-collection-DNV0-gFi.d.cts → reactive-collection-BYlWvtnp.d.cts} +4 -34
- package/dist/{reactive-collection-BAmfrGjd.d.ts → reactive-collection-efOEdGFN.d.ts} +4 -34
- package/dist/{reactive-collection-storage-BNEldDyi.d.cts → reactive-collection-storage-BjoLsoiC.d.cts} +5 -5
- package/dist/{reactive-collection-storage-YZsAQsWK.d.ts → reactive-collection-storage-DwW6UuK_.d.ts} +5 -5
- package/dist/{reactive-map-DRD1LJ2H.d.cts → reactive-map-BHacbIqz.d.cts} +7 -2
- package/dist/{reactive-map-EsDiCmJk.d.ts → reactive-map-DN4Jyqnf.d.ts} +7 -2
- package/dist/render/index.d.cts +2 -2
- package/dist/render/index.d.ts +2 -2
- package/dist/scheduled-readiness-BmqXxnzX.d.ts +91 -0
- package/dist/scheduled-readiness-CYSw7KDE.d.cts +91 -0
- package/dist/semantic-memory-graph-B_LwbM-E.d.cts +30 -0
- package/dist/semantic-memory-graph-rsFNNhwn.d.ts +30 -0
- package/dist/{semantic-memory-graph-DKuNzuWw.d.cts → semantic-memory-graph-types-Y73bbwVI.d.cts} +2 -28
- package/dist/{semantic-memory-graph-uwbwJdhe.d.ts → semantic-memory-graph-types-safmPkuX.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 +22 -6
- package/dist/sources/browser.d.ts +22 -6
- package/dist/sources/browser.js +4 -4
- package/dist/sources/browser.js.map +1 -1
- 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-6_CHF6Ge.d.ts} +1 -1
- package/dist/{store-CNJwmT-h.d.cts → store-BljX8RkQ.d.cts} +1 -1
- package/dist/types-BAw2QVVE.d.cts +274 -0
- package/dist/types-BUbbbh4f.d.cts +34 -0
- package/dist/types-CMnzoL54.d.cts +457 -0
- package/dist/{types-CcPIn7sy.d.cts → types-CTN3XoMl.d.cts} +57 -108
- package/dist/types-CV_ohy5T.d.cts +357 -0
- package/dist/{types-BsJvElYZ.d.ts → types-DChxk1vK.d.ts} +57 -108
- package/dist/types-DRu7SnLV.d.ts +274 -0
- package/dist/types-DeID_FRl.d.ts +34 -0
- package/dist/types-IhKH0hGW.d.ts +357 -0
- package/dist/types-ePlD2uyT.d.ts +457 -0
- package/dist/{work-item-runtime-qaVgsL0T.d.cts → work-item-runtime-types-BTxLskN5.d.cts} +3 -93
- package/dist/{work-item-runtime-C3M79vE9.d.ts → work-item-runtime-types-DAsZbb2y.d.ts} +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 +611 -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-SS2A464I.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-CZNV3VXM.js.map → chunk-3J7UPZL5.js.map} +0 -0
- /package/dist/{chunk-Z2ANQ6JW.js.map → chunk-4Q77MMJY.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-43BKLFZU.js.map → chunk-KFURM6FM.js.map} +0 -0
- /package/dist/{chunk-2747WN4Y.js.map → chunk-PUSRRALM.js.map} +0 -0
- /package/dist/{chunk-VTHLCFN4.js.map → chunk-RAHNUYA5.js.map} +0 -0
- /package/dist/{chunk-IXZBUWSP.js.map → chunk-UEMN5URK.js.map} +0 -0
- /package/dist/{chunk-6PHB5CJS.js.map → chunk-ZLFRB6FI.js.map} +0 -0
|
@@ -1,196 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
export { d as WorkItemDomainActionAdmissionPolicy, f as WorkItemDomainActionAdmissionViews, j as WorkItemDomainActionProposalSpec, w as workItemDomainActionAdmissionProjector } from '../../work-item-runtime-qaVgsL0T.cjs';
|
|
8
|
-
import { C as CapabilityAdmission, g as CapabilityAdmissionStatus } from '../../capability-admission-B0BzqAm5.cjs';
|
|
9
|
-
import { WorkItemAuthoringFact, WorkItemProjection, WorkItemPatch, AcceptanceCriterion, VerificationPlan, WorkItemDraft } from './scheduling.cjs';
|
|
1
|
+
import { d as Graph } from '../../graph-C1C-wb0L.cjs';
|
|
2
|
+
import { N as Node } from '../../types-CTN3XoMl.cjs';
|
|
3
|
+
import { c as WorkItemDomainActionProposal, f as WorkItemDomainActionAdmissionDecision, g as WorkItemDomainActionAdmissionPolicy, h as WorkItemDomainActionAdmissionBundle } from '../../work-item-runtime-types-BTxLskN5.cjs';
|
|
4
|
+
export { e as WorkItemDomainActionAdmission, i as WorkItemDomainActionAdmissionViews, d as WorkItemDomainActionProposalSpec } from '../../work-item-runtime-types-BTxLskN5.cjs';
|
|
5
|
+
import { W as WorkItemDomainActionApplicationOptions, a as WorkItemDomainActionApplicationBundle, b as WorkItemDomainActionApplyPolicy, c as WorkItemDomainActionKind, d as WorkItemDomainActionProposalIntake, e as WorkItemDomainActionCapabilityGuardOptions, f as WorkItemDomainActionCapabilityGuardBundle, g as WorkItemDomainActionIntakeOptions, h as WorkItemDomainActionIntakeBundle } from '../../actions-types-CH-XCU9O.cjs';
|
|
6
|
+
export { i as WorkItemDomainActionApplication, j as WorkItemDomainActionCapabilityGuardPolicy, k as WorkItemDomainActionCapabilityGuardStatus, l as WorkItemDomainActionProposalInput, m as WorkItemDomainActionStatus, n as WorkItemDomainActionStatusState, o as WorkItemPatchActionPayload, p as WorkItemSpawnActionPayload } from '../../actions-types-CH-XCU9O.cjs';
|
|
10
7
|
import '../../core/index.cjs';
|
|
11
8
|
import '../../messages-CAzUPPJM.cjs';
|
|
12
9
|
import '../../codec-BB7p8fJc.cjs';
|
|
13
|
-
import '../../describe-
|
|
14
|
-
import '../../
|
|
10
|
+
import '../../describe-BumQ-3_0.cjs';
|
|
11
|
+
import '../../data/index.cjs';
|
|
12
|
+
import '../../agent-runtime-types-core-bfl4m0vM.cjs';
|
|
13
|
+
import '../../inspection/boundary.cjs';
|
|
14
|
+
import '../../store-BljX8RkQ.cjs';
|
|
15
|
+
import '../../capability-admission-B8RNFyaZ.cjs';
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
* WorkItem domain action intake, admission, and application facts (D239/D333-D343).
|
|
18
|
-
*
|
|
19
|
-
* This focused solution subpath keeps action mutation data-first: proposals and
|
|
20
|
-
* admissions are visible facts, and application lowers only to append-only
|
|
21
|
-
* WorkItem authoring facts plus status/issue/audit projections. It does not
|
|
22
|
-
* mutate WorkItem projections directly, run executors, claim queues, or install
|
|
23
|
-
* hidden schedulers.
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
type WorkItemDomainActionKind = "patch" | "mark-verified" | "require-review" | "spawn-proposed" | "spawn-child" | (string & {});
|
|
27
|
-
interface WorkItemDomainActionProposalIntake<TPayload = unknown> {
|
|
28
|
-
readonly kind: "work-item-domain-action-proposal-intake";
|
|
29
|
-
readonly proposalId: string;
|
|
30
|
-
readonly workItemId: string;
|
|
31
|
-
readonly actionKind: WorkItemDomainActionKind;
|
|
32
|
-
readonly payload?: TPayload;
|
|
33
|
-
readonly reason?: string;
|
|
34
|
-
readonly policyId?: string;
|
|
35
|
-
readonly effectRunId?: string;
|
|
36
|
-
readonly effectRunResultId?: string;
|
|
37
|
-
readonly evidenceId?: string;
|
|
38
|
-
readonly proposedAtMs?: number;
|
|
39
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
40
|
-
readonly metadata?: Record<string, unknown>;
|
|
41
|
-
}
|
|
42
|
-
type WorkItemDomainActionProposalInput<TPayload = unknown> = WorkItemDomainActionProposal<TPayload> | WorkItemDomainActionProposalIntake<TPayload> | unknown;
|
|
43
|
-
type WorkItemDomainActionStatusState = "proposed" | "applied" | "rejected" | "deferred" | "duplicate" | "missing-policy" | "merged" | "policy-rejected" | "proposal-only";
|
|
44
|
-
interface WorkItemDomainActionStatus {
|
|
45
|
-
readonly kind: "work-item-domain-action-status";
|
|
46
|
-
readonly statusId: string;
|
|
47
|
-
readonly workItemId?: string;
|
|
48
|
-
readonly proposalId?: string;
|
|
49
|
-
readonly admissionId?: string;
|
|
50
|
-
readonly actionKind?: string;
|
|
51
|
-
readonly state: WorkItemDomainActionStatusState;
|
|
52
|
-
readonly code?: string;
|
|
53
|
-
readonly message?: string;
|
|
54
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
55
|
-
readonly metadata?: Record<string, unknown>;
|
|
56
|
-
}
|
|
57
|
-
interface WorkItemPatchActionPayload<TInput = unknown> {
|
|
58
|
-
readonly patch?: WorkItemPatch<TInput>;
|
|
59
|
-
readonly acceptanceCriteria?: readonly AcceptanceCriterion[];
|
|
60
|
-
readonly verificationPlan?: VerificationPlan<TInput>;
|
|
61
|
-
readonly executionRelevantFields?: readonly string[];
|
|
62
|
-
readonly authorId?: string;
|
|
63
|
-
readonly eventId?: string;
|
|
64
|
-
readonly metadata?: Record<string, unknown>;
|
|
65
|
-
}
|
|
66
|
-
interface WorkItemSpawnActionPayload<TInput = unknown> {
|
|
67
|
-
readonly workItemId?: string;
|
|
68
|
-
readonly childWorkItemId?: string;
|
|
69
|
-
readonly draft?: WorkItemDraft<TInput>;
|
|
70
|
-
readonly authorId?: string;
|
|
71
|
-
readonly eventId?: string;
|
|
72
|
-
readonly metadata?: Record<string, unknown>;
|
|
73
|
-
}
|
|
74
|
-
interface WorkItemDomainActionApplyPolicy {
|
|
75
|
-
readonly kind: "work-item-domain-action-apply-policy";
|
|
76
|
-
readonly policyId: string;
|
|
77
|
-
readonly actionKinds?: readonly WorkItemDomainActionKind[];
|
|
78
|
-
readonly patch?: {
|
|
79
|
-
readonly allowedFields?: readonly string[];
|
|
80
|
-
readonly executionRelevantFields?: readonly string[];
|
|
81
|
-
readonly allowAcceptanceCriteria?: boolean;
|
|
82
|
-
readonly allowVerificationPlan?: boolean;
|
|
83
|
-
};
|
|
84
|
-
readonly spawn?: {
|
|
85
|
-
readonly create?: boolean;
|
|
86
|
-
readonly linkParent?: boolean;
|
|
87
|
-
readonly idempotencyKey?: string;
|
|
88
|
-
readonly maxChildrenPerAdmission?: number;
|
|
89
|
-
readonly childWorkItemId?: string;
|
|
90
|
-
readonly childIdPrefix?: string;
|
|
91
|
-
};
|
|
92
|
-
readonly metadata?: Record<string, unknown>;
|
|
93
|
-
}
|
|
94
|
-
interface WorkItemDomainActionApplication {
|
|
95
|
-
readonly kind: "work-item-domain-action-application";
|
|
96
|
-
readonly applicationId: string;
|
|
97
|
-
readonly admissionId: string;
|
|
98
|
-
readonly proposalId: string;
|
|
99
|
-
readonly workItemId: string;
|
|
100
|
-
readonly actionKind: string;
|
|
101
|
-
readonly state: Exclude<WorkItemDomainActionStatusState, "proposed">;
|
|
102
|
-
readonly producedFactIds?: readonly string[];
|
|
103
|
-
readonly reason?: string;
|
|
104
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
105
|
-
readonly metadata?: Record<string, unknown>;
|
|
106
|
-
}
|
|
107
|
-
interface WorkItemDomainActionIntakeOptions {
|
|
108
|
-
readonly name?: string;
|
|
109
|
-
readonly proposals: Node<WorkItemDomainActionProposalInput>;
|
|
110
|
-
readonly now?: () => number;
|
|
111
|
-
}
|
|
112
|
-
interface WorkItemDomainActionIntakeBundle {
|
|
113
|
-
readonly proposals: Node<WorkItemDomainActionProposal>;
|
|
114
|
-
readonly status: Node<WorkItemDomainActionStatus>;
|
|
115
|
-
readonly issues: Node<DataIssue>;
|
|
116
|
-
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
117
|
-
}
|
|
118
|
-
interface WorkItemDomainActionApplicationOptions<TInput = unknown> {
|
|
119
|
-
readonly name?: string;
|
|
120
|
-
readonly proposals: Node<WorkItemDomainActionProposal>;
|
|
121
|
-
readonly admissions: Node<WorkItemDomainActionAdmission>;
|
|
122
|
-
readonly workItems: Node<WorkItemProjection<TInput>>;
|
|
123
|
-
readonly applyPolicies?: Node<WorkItemDomainActionApplyPolicy>;
|
|
124
|
-
}
|
|
125
|
-
interface WorkItemDomainActionApplicationBundle<TInput = unknown> {
|
|
126
|
-
readonly authoringFacts: Node<WorkItemAuthoringFact<TInput>>;
|
|
127
|
-
readonly applications: Node<WorkItemDomainActionApplication>;
|
|
128
|
-
readonly status: Node<WorkItemDomainActionStatus>;
|
|
129
|
-
readonly issues: Node<DataIssue>;
|
|
130
|
-
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Product-owned command capability policy (D357): maps WorkItem domain action
|
|
134
|
-
* proposals to explicit boundary capability refs and admission subjects without
|
|
135
|
-
* defining provider/security registry semantics or protocol status vocabulary.
|
|
136
|
-
*/
|
|
137
|
-
interface WorkItemDomainActionCapabilityGuardPolicy {
|
|
138
|
-
readonly kind: "work-item-domain-action-capability-guard-policy";
|
|
139
|
-
readonly policyId: string;
|
|
140
|
-
readonly actionKinds?: readonly WorkItemDomainActionKind[];
|
|
141
|
-
readonly capabilityRefs: readonly BoundaryCapabilityRef[];
|
|
142
|
-
readonly admissionSubjectIds: readonly string[];
|
|
143
|
-
readonly metadata?: Record<string, unknown>;
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* Visible DATA status for the capability guard (D357). Missing or mismatched
|
|
147
|
-
* capability facts remain product issues/status, not protocol ERROR messages.
|
|
148
|
-
*/
|
|
149
|
-
interface WorkItemDomainActionCapabilityGuardStatus {
|
|
150
|
-
readonly kind: "work-item-domain-action-capability-guard-status";
|
|
151
|
-
readonly statusId: string;
|
|
152
|
-
readonly state: "admitted" | "rejected" | "deferred" | "issue";
|
|
153
|
-
readonly workItemId?: string;
|
|
154
|
-
readonly proposalId?: string;
|
|
155
|
-
readonly actionKind?: string;
|
|
156
|
-
readonly policyId?: string;
|
|
157
|
-
readonly capabilityRefs?: readonly BoundaryCapabilityRef[];
|
|
158
|
-
readonly admissionSubjectIds?: readonly string[];
|
|
159
|
-
readonly admissionIds?: readonly string[];
|
|
160
|
-
readonly issues?: readonly DataIssue[];
|
|
161
|
-
readonly message?: string;
|
|
162
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
163
|
-
readonly metadata?: Record<string, unknown>;
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
* Inputs for the WorkItem domain-action capability guard. All dependencies are
|
|
167
|
-
* ordinary solution/product DATA facts; the guard does not mutate WorkItems or
|
|
168
|
-
* claim dispatch queues.
|
|
169
|
-
*/
|
|
170
|
-
interface WorkItemDomainActionCapabilityGuardOptions {
|
|
17
|
+
declare function workItemDomainActionAdmissionProjector(graph: Graph, opts: {
|
|
171
18
|
readonly name?: string;
|
|
172
19
|
readonly proposals: Node<WorkItemDomainActionProposal>;
|
|
173
|
-
readonly capabilityAdmissions: Node<CapabilityAdmission>;
|
|
174
|
-
readonly guardPolicies: Node<WorkItemDomainActionCapabilityGuardPolicy>;
|
|
175
|
-
readonly capabilityAdmissionStatus?: Node<CapabilityAdmissionStatus>;
|
|
176
|
-
readonly now?: () => number;
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* Output facts for product admission consumption. Decisions feed the existing
|
|
180
|
-
* WorkItem domain-action admission path; status/issues/audit remain inspectable
|
|
181
|
-
* product DATA.
|
|
182
|
-
*/
|
|
183
|
-
interface WorkItemDomainActionCapabilityGuardBundle {
|
|
184
20
|
readonly decisions: Node<WorkItemDomainActionAdmissionDecision>;
|
|
185
|
-
readonly
|
|
186
|
-
readonly
|
|
187
|
-
|
|
188
|
-
|
|
21
|
+
readonly admissionPolicies?: readonly Node<WorkItemDomainActionAdmissionPolicy>[];
|
|
22
|
+
readonly now?: () => number;
|
|
23
|
+
}): WorkItemDomainActionAdmissionBundle;
|
|
24
|
+
|
|
25
|
+
declare function workItemDomainActionApplicationProjector<TInput = unknown>(graph: Graph, opts: WorkItemDomainActionApplicationOptions<TInput>): WorkItemDomainActionApplicationBundle<TInput>;
|
|
26
|
+
|
|
189
27
|
declare function workItemDomainActionProposal(proposalId: string, workItemId: string, actionKind: WorkItemDomainActionKind, opts?: Omit<Partial<WorkItemDomainActionProposal>, "kind" | "proposalId" | "workItemId" | "actionKind">): WorkItemDomainActionProposal;
|
|
190
28
|
declare function workItemDomainActionProposalIntake<TPayload = unknown>(proposalId: string, workItemId: string, actionKind: WorkItemDomainActionKind, opts?: Omit<Partial<WorkItemDomainActionProposalIntake<TPayload>>, "kind" | "proposalId" | "workItemId" | "actionKind">): WorkItemDomainActionProposalIntake<TPayload>;
|
|
191
29
|
declare function workItemDomainActionApplyPolicy(policyId: string, opts?: Omit<Partial<WorkItemDomainActionApplyPolicy>, "kind" | "policyId">): WorkItemDomainActionApplyPolicy;
|
|
192
|
-
|
|
193
|
-
declare function workItemDomainActionApplicationProjector<TInput = unknown>(graph: Graph, opts: WorkItemDomainActionApplicationOptions<TInput>): WorkItemDomainActionApplicationBundle<TInput>;
|
|
30
|
+
|
|
194
31
|
/**
|
|
195
32
|
* Connects CapabilityAdmission facts to WorkItem domain-action admission as a
|
|
196
33
|
* product-owned guard (D357), without adding protocol/boundary vocabulary or
|
|
@@ -198,4 +35,6 @@ declare function workItemDomainActionApplicationProjector<TInput = unknown>(grap
|
|
|
198
35
|
*/
|
|
199
36
|
declare function workItemDomainActionCapabilityGuardProjector(graph: Graph, opts: WorkItemDomainActionCapabilityGuardOptions): WorkItemDomainActionCapabilityGuardBundle;
|
|
200
37
|
|
|
201
|
-
|
|
38
|
+
declare function workItemDomainActionProposalIntakeProjector(graph: Graph, opts: WorkItemDomainActionIntakeOptions): WorkItemDomainActionIntakeBundle;
|
|
39
|
+
|
|
40
|
+
export { WorkItemDomainActionAdmissionDecision, WorkItemDomainActionAdmissionPolicy, WorkItemDomainActionApplicationBundle, WorkItemDomainActionApplicationOptions, WorkItemDomainActionApplyPolicy, WorkItemDomainActionCapabilityGuardBundle, WorkItemDomainActionCapabilityGuardOptions, WorkItemDomainActionIntakeBundle, WorkItemDomainActionIntakeOptions, WorkItemDomainActionKind, WorkItemDomainActionProposal, WorkItemDomainActionProposalIntake, workItemDomainActionAdmissionProjector, workItemDomainActionApplicationProjector, workItemDomainActionApplyPolicy, workItemDomainActionCapabilityGuardProjector, workItemDomainActionProposal, workItemDomainActionProposalIntake, workItemDomainActionProposalIntakeProjector };
|
|
@@ -1,196 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
export { d as WorkItemDomainActionAdmissionPolicy, f as WorkItemDomainActionAdmissionViews, j as WorkItemDomainActionProposalSpec, w as workItemDomainActionAdmissionProjector } from '../../work-item-runtime-C3M79vE9.js';
|
|
8
|
-
import { C as CapabilityAdmission, g as CapabilityAdmissionStatus } from '../../capability-admission-g0mn9hpq.js';
|
|
9
|
-
import { WorkItemAuthoringFact, WorkItemProjection, WorkItemPatch, AcceptanceCriterion, VerificationPlan, WorkItemDraft } from './scheduling.js';
|
|
1
|
+
import { d as Graph } from '../../graph-CS0b4V9B.js';
|
|
2
|
+
import { N as Node } from '../../types-DChxk1vK.js';
|
|
3
|
+
import { c as WorkItemDomainActionProposal, f as WorkItemDomainActionAdmissionDecision, g as WorkItemDomainActionAdmissionPolicy, h as WorkItemDomainActionAdmissionBundle } from '../../work-item-runtime-types-DAsZbb2y.js';
|
|
4
|
+
export { e as WorkItemDomainActionAdmission, i as WorkItemDomainActionAdmissionViews, d as WorkItemDomainActionProposalSpec } from '../../work-item-runtime-types-DAsZbb2y.js';
|
|
5
|
+
import { W as WorkItemDomainActionApplicationOptions, a as WorkItemDomainActionApplicationBundle, b as WorkItemDomainActionApplyPolicy, c as WorkItemDomainActionKind, d as WorkItemDomainActionProposalIntake, e as WorkItemDomainActionCapabilityGuardOptions, f as WorkItemDomainActionCapabilityGuardBundle, g as WorkItemDomainActionIntakeOptions, h as WorkItemDomainActionIntakeBundle } from '../../actions-types-w2iPQTkv.js';
|
|
6
|
+
export { i as WorkItemDomainActionApplication, j as WorkItemDomainActionCapabilityGuardPolicy, k as WorkItemDomainActionCapabilityGuardStatus, l as WorkItemDomainActionProposalInput, m as WorkItemDomainActionStatus, n as WorkItemDomainActionStatusState, o as WorkItemPatchActionPayload, p as WorkItemSpawnActionPayload } from '../../actions-types-w2iPQTkv.js';
|
|
10
7
|
import '../../core/index.js';
|
|
11
8
|
import '../../messages-CAzUPPJM.js';
|
|
12
9
|
import '../../codec-BB7p8fJc.js';
|
|
13
|
-
import '../../describe-
|
|
14
|
-
import '../../
|
|
10
|
+
import '../../describe-cYr_Z5zm.js';
|
|
11
|
+
import '../../data/index.js';
|
|
12
|
+
import '../../agent-runtime-types-core-CKwrBDyi.js';
|
|
13
|
+
import '../../inspection/boundary.js';
|
|
14
|
+
import '../../store-6_CHF6Ge.js';
|
|
15
|
+
import '../../capability-admission-Dkw1Xz3r.js';
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
* WorkItem domain action intake, admission, and application facts (D239/D333-D343).
|
|
18
|
-
*
|
|
19
|
-
* This focused solution subpath keeps action mutation data-first: proposals and
|
|
20
|
-
* admissions are visible facts, and application lowers only to append-only
|
|
21
|
-
* WorkItem authoring facts plus status/issue/audit projections. It does not
|
|
22
|
-
* mutate WorkItem projections directly, run executors, claim queues, or install
|
|
23
|
-
* hidden schedulers.
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
type WorkItemDomainActionKind = "patch" | "mark-verified" | "require-review" | "spawn-proposed" | "spawn-child" | (string & {});
|
|
27
|
-
interface WorkItemDomainActionProposalIntake<TPayload = unknown> {
|
|
28
|
-
readonly kind: "work-item-domain-action-proposal-intake";
|
|
29
|
-
readonly proposalId: string;
|
|
30
|
-
readonly workItemId: string;
|
|
31
|
-
readonly actionKind: WorkItemDomainActionKind;
|
|
32
|
-
readonly payload?: TPayload;
|
|
33
|
-
readonly reason?: string;
|
|
34
|
-
readonly policyId?: string;
|
|
35
|
-
readonly effectRunId?: string;
|
|
36
|
-
readonly effectRunResultId?: string;
|
|
37
|
-
readonly evidenceId?: string;
|
|
38
|
-
readonly proposedAtMs?: number;
|
|
39
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
40
|
-
readonly metadata?: Record<string, unknown>;
|
|
41
|
-
}
|
|
42
|
-
type WorkItemDomainActionProposalInput<TPayload = unknown> = WorkItemDomainActionProposal<TPayload> | WorkItemDomainActionProposalIntake<TPayload> | unknown;
|
|
43
|
-
type WorkItemDomainActionStatusState = "proposed" | "applied" | "rejected" | "deferred" | "duplicate" | "missing-policy" | "merged" | "policy-rejected" | "proposal-only";
|
|
44
|
-
interface WorkItemDomainActionStatus {
|
|
45
|
-
readonly kind: "work-item-domain-action-status";
|
|
46
|
-
readonly statusId: string;
|
|
47
|
-
readonly workItemId?: string;
|
|
48
|
-
readonly proposalId?: string;
|
|
49
|
-
readonly admissionId?: string;
|
|
50
|
-
readonly actionKind?: string;
|
|
51
|
-
readonly state: WorkItemDomainActionStatusState;
|
|
52
|
-
readonly code?: string;
|
|
53
|
-
readonly message?: string;
|
|
54
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
55
|
-
readonly metadata?: Record<string, unknown>;
|
|
56
|
-
}
|
|
57
|
-
interface WorkItemPatchActionPayload<TInput = unknown> {
|
|
58
|
-
readonly patch?: WorkItemPatch<TInput>;
|
|
59
|
-
readonly acceptanceCriteria?: readonly AcceptanceCriterion[];
|
|
60
|
-
readonly verificationPlan?: VerificationPlan<TInput>;
|
|
61
|
-
readonly executionRelevantFields?: readonly string[];
|
|
62
|
-
readonly authorId?: string;
|
|
63
|
-
readonly eventId?: string;
|
|
64
|
-
readonly metadata?: Record<string, unknown>;
|
|
65
|
-
}
|
|
66
|
-
interface WorkItemSpawnActionPayload<TInput = unknown> {
|
|
67
|
-
readonly workItemId?: string;
|
|
68
|
-
readonly childWorkItemId?: string;
|
|
69
|
-
readonly draft?: WorkItemDraft<TInput>;
|
|
70
|
-
readonly authorId?: string;
|
|
71
|
-
readonly eventId?: string;
|
|
72
|
-
readonly metadata?: Record<string, unknown>;
|
|
73
|
-
}
|
|
74
|
-
interface WorkItemDomainActionApplyPolicy {
|
|
75
|
-
readonly kind: "work-item-domain-action-apply-policy";
|
|
76
|
-
readonly policyId: string;
|
|
77
|
-
readonly actionKinds?: readonly WorkItemDomainActionKind[];
|
|
78
|
-
readonly patch?: {
|
|
79
|
-
readonly allowedFields?: readonly string[];
|
|
80
|
-
readonly executionRelevantFields?: readonly string[];
|
|
81
|
-
readonly allowAcceptanceCriteria?: boolean;
|
|
82
|
-
readonly allowVerificationPlan?: boolean;
|
|
83
|
-
};
|
|
84
|
-
readonly spawn?: {
|
|
85
|
-
readonly create?: boolean;
|
|
86
|
-
readonly linkParent?: boolean;
|
|
87
|
-
readonly idempotencyKey?: string;
|
|
88
|
-
readonly maxChildrenPerAdmission?: number;
|
|
89
|
-
readonly childWorkItemId?: string;
|
|
90
|
-
readonly childIdPrefix?: string;
|
|
91
|
-
};
|
|
92
|
-
readonly metadata?: Record<string, unknown>;
|
|
93
|
-
}
|
|
94
|
-
interface WorkItemDomainActionApplication {
|
|
95
|
-
readonly kind: "work-item-domain-action-application";
|
|
96
|
-
readonly applicationId: string;
|
|
97
|
-
readonly admissionId: string;
|
|
98
|
-
readonly proposalId: string;
|
|
99
|
-
readonly workItemId: string;
|
|
100
|
-
readonly actionKind: string;
|
|
101
|
-
readonly state: Exclude<WorkItemDomainActionStatusState, "proposed">;
|
|
102
|
-
readonly producedFactIds?: readonly string[];
|
|
103
|
-
readonly reason?: string;
|
|
104
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
105
|
-
readonly metadata?: Record<string, unknown>;
|
|
106
|
-
}
|
|
107
|
-
interface WorkItemDomainActionIntakeOptions {
|
|
108
|
-
readonly name?: string;
|
|
109
|
-
readonly proposals: Node<WorkItemDomainActionProposalInput>;
|
|
110
|
-
readonly now?: () => number;
|
|
111
|
-
}
|
|
112
|
-
interface WorkItemDomainActionIntakeBundle {
|
|
113
|
-
readonly proposals: Node<WorkItemDomainActionProposal>;
|
|
114
|
-
readonly status: Node<WorkItemDomainActionStatus>;
|
|
115
|
-
readonly issues: Node<DataIssue>;
|
|
116
|
-
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
117
|
-
}
|
|
118
|
-
interface WorkItemDomainActionApplicationOptions<TInput = unknown> {
|
|
119
|
-
readonly name?: string;
|
|
120
|
-
readonly proposals: Node<WorkItemDomainActionProposal>;
|
|
121
|
-
readonly admissions: Node<WorkItemDomainActionAdmission>;
|
|
122
|
-
readonly workItems: Node<WorkItemProjection<TInput>>;
|
|
123
|
-
readonly applyPolicies?: Node<WorkItemDomainActionApplyPolicy>;
|
|
124
|
-
}
|
|
125
|
-
interface WorkItemDomainActionApplicationBundle<TInput = unknown> {
|
|
126
|
-
readonly authoringFacts: Node<WorkItemAuthoringFact<TInput>>;
|
|
127
|
-
readonly applications: Node<WorkItemDomainActionApplication>;
|
|
128
|
-
readonly status: Node<WorkItemDomainActionStatus>;
|
|
129
|
-
readonly issues: Node<DataIssue>;
|
|
130
|
-
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Product-owned command capability policy (D357): maps WorkItem domain action
|
|
134
|
-
* proposals to explicit boundary capability refs and admission subjects without
|
|
135
|
-
* defining provider/security registry semantics or protocol status vocabulary.
|
|
136
|
-
*/
|
|
137
|
-
interface WorkItemDomainActionCapabilityGuardPolicy {
|
|
138
|
-
readonly kind: "work-item-domain-action-capability-guard-policy";
|
|
139
|
-
readonly policyId: string;
|
|
140
|
-
readonly actionKinds?: readonly WorkItemDomainActionKind[];
|
|
141
|
-
readonly capabilityRefs: readonly BoundaryCapabilityRef[];
|
|
142
|
-
readonly admissionSubjectIds: readonly string[];
|
|
143
|
-
readonly metadata?: Record<string, unknown>;
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* Visible DATA status for the capability guard (D357). Missing or mismatched
|
|
147
|
-
* capability facts remain product issues/status, not protocol ERROR messages.
|
|
148
|
-
*/
|
|
149
|
-
interface WorkItemDomainActionCapabilityGuardStatus {
|
|
150
|
-
readonly kind: "work-item-domain-action-capability-guard-status";
|
|
151
|
-
readonly statusId: string;
|
|
152
|
-
readonly state: "admitted" | "rejected" | "deferred" | "issue";
|
|
153
|
-
readonly workItemId?: string;
|
|
154
|
-
readonly proposalId?: string;
|
|
155
|
-
readonly actionKind?: string;
|
|
156
|
-
readonly policyId?: string;
|
|
157
|
-
readonly capabilityRefs?: readonly BoundaryCapabilityRef[];
|
|
158
|
-
readonly admissionSubjectIds?: readonly string[];
|
|
159
|
-
readonly admissionIds?: readonly string[];
|
|
160
|
-
readonly issues?: readonly DataIssue[];
|
|
161
|
-
readonly message?: string;
|
|
162
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
163
|
-
readonly metadata?: Record<string, unknown>;
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
* Inputs for the WorkItem domain-action capability guard. All dependencies are
|
|
167
|
-
* ordinary solution/product DATA facts; the guard does not mutate WorkItems or
|
|
168
|
-
* claim dispatch queues.
|
|
169
|
-
*/
|
|
170
|
-
interface WorkItemDomainActionCapabilityGuardOptions {
|
|
17
|
+
declare function workItemDomainActionAdmissionProjector(graph: Graph, opts: {
|
|
171
18
|
readonly name?: string;
|
|
172
19
|
readonly proposals: Node<WorkItemDomainActionProposal>;
|
|
173
|
-
readonly capabilityAdmissions: Node<CapabilityAdmission>;
|
|
174
|
-
readonly guardPolicies: Node<WorkItemDomainActionCapabilityGuardPolicy>;
|
|
175
|
-
readonly capabilityAdmissionStatus?: Node<CapabilityAdmissionStatus>;
|
|
176
|
-
readonly now?: () => number;
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* Output facts for product admission consumption. Decisions feed the existing
|
|
180
|
-
* WorkItem domain-action admission path; status/issues/audit remain inspectable
|
|
181
|
-
* product DATA.
|
|
182
|
-
*/
|
|
183
|
-
interface WorkItemDomainActionCapabilityGuardBundle {
|
|
184
20
|
readonly decisions: Node<WorkItemDomainActionAdmissionDecision>;
|
|
185
|
-
readonly
|
|
186
|
-
readonly
|
|
187
|
-
|
|
188
|
-
|
|
21
|
+
readonly admissionPolicies?: readonly Node<WorkItemDomainActionAdmissionPolicy>[];
|
|
22
|
+
readonly now?: () => number;
|
|
23
|
+
}): WorkItemDomainActionAdmissionBundle;
|
|
24
|
+
|
|
25
|
+
declare function workItemDomainActionApplicationProjector<TInput = unknown>(graph: Graph, opts: WorkItemDomainActionApplicationOptions<TInput>): WorkItemDomainActionApplicationBundle<TInput>;
|
|
26
|
+
|
|
189
27
|
declare function workItemDomainActionProposal(proposalId: string, workItemId: string, actionKind: WorkItemDomainActionKind, opts?: Omit<Partial<WorkItemDomainActionProposal>, "kind" | "proposalId" | "workItemId" | "actionKind">): WorkItemDomainActionProposal;
|
|
190
28
|
declare function workItemDomainActionProposalIntake<TPayload = unknown>(proposalId: string, workItemId: string, actionKind: WorkItemDomainActionKind, opts?: Omit<Partial<WorkItemDomainActionProposalIntake<TPayload>>, "kind" | "proposalId" | "workItemId" | "actionKind">): WorkItemDomainActionProposalIntake<TPayload>;
|
|
191
29
|
declare function workItemDomainActionApplyPolicy(policyId: string, opts?: Omit<Partial<WorkItemDomainActionApplyPolicy>, "kind" | "policyId">): WorkItemDomainActionApplyPolicy;
|
|
192
|
-
|
|
193
|
-
declare function workItemDomainActionApplicationProjector<TInput = unknown>(graph: Graph, opts: WorkItemDomainActionApplicationOptions<TInput>): WorkItemDomainActionApplicationBundle<TInput>;
|
|
30
|
+
|
|
194
31
|
/**
|
|
195
32
|
* Connects CapabilityAdmission facts to WorkItem domain-action admission as a
|
|
196
33
|
* product-owned guard (D357), without adding protocol/boundary vocabulary or
|
|
@@ -198,4 +35,6 @@ declare function workItemDomainActionApplicationProjector<TInput = unknown>(grap
|
|
|
198
35
|
*/
|
|
199
36
|
declare function workItemDomainActionCapabilityGuardProjector(graph: Graph, opts: WorkItemDomainActionCapabilityGuardOptions): WorkItemDomainActionCapabilityGuardBundle;
|
|
200
37
|
|
|
201
|
-
|
|
38
|
+
declare function workItemDomainActionProposalIntakeProjector(graph: Graph, opts: WorkItemDomainActionIntakeOptions): WorkItemDomainActionIntakeBundle;
|
|
39
|
+
|
|
40
|
+
export { WorkItemDomainActionAdmissionDecision, WorkItemDomainActionAdmissionPolicy, WorkItemDomainActionApplicationBundle, WorkItemDomainActionApplicationOptions, WorkItemDomainActionApplyPolicy, WorkItemDomainActionCapabilityGuardBundle, WorkItemDomainActionCapabilityGuardOptions, WorkItemDomainActionIntakeBundle, WorkItemDomainActionIntakeOptions, WorkItemDomainActionKind, WorkItemDomainActionProposal, WorkItemDomainActionProposalIntake, workItemDomainActionAdmissionProjector, workItemDomainActionApplicationProjector, workItemDomainActionApplyPolicy, workItemDomainActionCapabilityGuardProjector, workItemDomainActionProposal, workItemDomainActionProposalIntake, workItemDomainActionProposalIntakeProjector };
|