@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
|
@@ -1,6 +1,135 @@
|
|
|
1
1
|
import { DataIssue } from './data/index.js';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { N as Node } from './types-C9NOgNJw.js';
|
|
3
|
+
|
|
4
|
+
interface ContextContribution {
|
|
5
|
+
readonly kind: "context-contribution";
|
|
6
|
+
readonly contributionId: string;
|
|
7
|
+
readonly requestId: string;
|
|
8
|
+
readonly operationId: string;
|
|
9
|
+
readonly status: "ready" | "pending" | "issue";
|
|
10
|
+
readonly frameId?: string;
|
|
11
|
+
readonly issues?: readonly DataIssue[];
|
|
12
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
13
|
+
readonly metadata?: Record<string, unknown>;
|
|
14
|
+
}
|
|
15
|
+
interface PromptBundle {
|
|
16
|
+
readonly kind: "prompt-bundle";
|
|
17
|
+
readonly promptId: string;
|
|
18
|
+
readonly requestId: string;
|
|
19
|
+
readonly operationId: string;
|
|
20
|
+
readonly status: "ready" | "partial" | "issue";
|
|
21
|
+
readonly sourceFrameIds?: readonly string[];
|
|
22
|
+
readonly issues?: readonly DataIssue[];
|
|
23
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
24
|
+
readonly metadata?: Record<string, unknown>;
|
|
25
|
+
}
|
|
26
|
+
interface AgentRequestSatisfactionBundle {
|
|
27
|
+
readonly status: Node<AgentRequestStatusChanged>;
|
|
28
|
+
readonly issues: Node<DataIssue>;
|
|
29
|
+
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
30
|
+
}
|
|
31
|
+
type AgentDecisionKind = "continue" | "final" | "blocked";
|
|
32
|
+
interface AgentNeed {
|
|
33
|
+
readonly kind: string;
|
|
34
|
+
readonly message?: string;
|
|
35
|
+
readonly refs?: readonly SourceRef[];
|
|
36
|
+
readonly metadata?: Record<string, unknown>;
|
|
37
|
+
}
|
|
38
|
+
interface AgentDecisionBase {
|
|
39
|
+
readonly kind: AgentDecisionKind;
|
|
40
|
+
readonly decisionId: string;
|
|
41
|
+
readonly effectRunId: string;
|
|
42
|
+
readonly agentRunId: string;
|
|
43
|
+
readonly source: {
|
|
44
|
+
readonly requestId: string;
|
|
45
|
+
readonly operationId: string;
|
|
46
|
+
readonly outcomeId: string;
|
|
47
|
+
};
|
|
48
|
+
readonly reason?: string;
|
|
49
|
+
readonly confidence?: number;
|
|
50
|
+
readonly evidenceRefs?: readonly SourceRef[];
|
|
51
|
+
readonly metadata?: Record<string, unknown>;
|
|
52
|
+
}
|
|
53
|
+
interface AgentDecisionContinue extends AgentDecisionBase {
|
|
54
|
+
readonly kind: "continue";
|
|
55
|
+
readonly next: readonly AgentRequestProposal[];
|
|
56
|
+
}
|
|
57
|
+
interface AgentDecisionFinal extends AgentDecisionBase {
|
|
58
|
+
readonly kind: "final";
|
|
59
|
+
readonly output: AgentOutputEnvelope;
|
|
60
|
+
readonly summary?: string;
|
|
61
|
+
}
|
|
62
|
+
interface AgentDecisionBlocked extends AgentDecisionBase {
|
|
63
|
+
readonly kind: "blocked";
|
|
64
|
+
readonly needs: readonly AgentNeed[];
|
|
65
|
+
}
|
|
66
|
+
type AgentDecision = AgentDecisionContinue | AgentDecisionFinal | AgentDecisionBlocked;
|
|
67
|
+
interface StructuredAgentDecisionEnvelope {
|
|
68
|
+
readonly kind: "agent-decision";
|
|
69
|
+
readonly decision: AgentDecision;
|
|
70
|
+
readonly schemaRef: string;
|
|
71
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
72
|
+
}
|
|
73
|
+
interface StructuredAgentDecisionInterpreterBundle {
|
|
74
|
+
readonly decisions: Node<AgentDecision>;
|
|
75
|
+
readonly issues: Node<DataIssue>;
|
|
76
|
+
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
77
|
+
}
|
|
78
|
+
type EffectRunResultStatus = "completed" | "failed" | "blocked" | "canceled" | "timeout" | "waived";
|
|
79
|
+
interface EffectRunResultBase {
|
|
80
|
+
readonly kind: "effect-run-result";
|
|
81
|
+
readonly resultId: string;
|
|
82
|
+
readonly status: EffectRunResultStatus;
|
|
83
|
+
readonly effectRunId: string;
|
|
84
|
+
readonly subjectRefs?: readonly SourceRef[];
|
|
85
|
+
readonly operationId?: string;
|
|
86
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
87
|
+
readonly issues?: readonly DataIssue[];
|
|
88
|
+
readonly auditRefs?: readonly string[];
|
|
89
|
+
readonly completedAtMs?: number;
|
|
90
|
+
readonly metadata?: Record<string, unknown>;
|
|
91
|
+
}
|
|
92
|
+
type EffectRunResult = (EffectRunResultBase & {
|
|
93
|
+
readonly status: "completed";
|
|
94
|
+
readonly output: AgentOutputEnvelope;
|
|
95
|
+
}) | (EffectRunResultBase & {
|
|
96
|
+
readonly status: "failed";
|
|
97
|
+
readonly error: DataIssue;
|
|
98
|
+
}) | (EffectRunResultBase & {
|
|
99
|
+
readonly status: "blocked";
|
|
100
|
+
readonly needs: readonly AgentNeed[];
|
|
101
|
+
}) | (EffectRunResultBase & {
|
|
102
|
+
readonly status: "canceled";
|
|
103
|
+
readonly reason?: string;
|
|
104
|
+
}) | (EffectRunResultBase & {
|
|
105
|
+
readonly status: "timeout";
|
|
106
|
+
readonly timeoutMs?: number;
|
|
107
|
+
}) | (EffectRunResultBase & {
|
|
108
|
+
readonly status: "waived";
|
|
109
|
+
readonly reason?: string;
|
|
110
|
+
});
|
|
111
|
+
interface EffectRunCompletionBundle {
|
|
112
|
+
readonly results: Node<EffectRunResult>;
|
|
113
|
+
readonly status: Node<EffectRunCompletionStatus>;
|
|
114
|
+
readonly issues: Node<DataIssue>;
|
|
115
|
+
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
116
|
+
}
|
|
117
|
+
interface EffectRunCompletionStatus {
|
|
118
|
+
readonly effectRunId: string;
|
|
119
|
+
readonly state: "pending" | "completed" | "failed" | "blocked" | "canceled" | "timeout" | "waived";
|
|
120
|
+
readonly requiredPending: readonly string[];
|
|
121
|
+
readonly requiredTerminal: readonly string[];
|
|
122
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
123
|
+
}
|
|
124
|
+
interface AgentRuntimeAuditRecord {
|
|
125
|
+
readonly id: string;
|
|
126
|
+
readonly kind: string;
|
|
127
|
+
readonly subjectId?: string;
|
|
128
|
+
readonly message?: string;
|
|
129
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
130
|
+
readonly issueCode?: string;
|
|
131
|
+
readonly metadata?: Record<string, unknown>;
|
|
132
|
+
}
|
|
4
133
|
|
|
5
134
|
interface SourceRef {
|
|
6
135
|
readonly kind: string;
|
|
@@ -165,6 +294,7 @@ interface ExecutorProfile {
|
|
|
165
294
|
readonly acceptedResultKinds?: readonly string[];
|
|
166
295
|
readonly capabilities?: Record<string, unknown>;
|
|
167
296
|
readonly limits?: Record<string, number>;
|
|
297
|
+
readonly policyRefs?: readonly SourceRef[];
|
|
168
298
|
readonly metadata?: Record<string, unknown>;
|
|
169
299
|
}
|
|
170
300
|
interface ExecutorRoute {
|
|
@@ -192,6 +322,21 @@ interface ExecutorUsage {
|
|
|
192
322
|
readonly costUsd?: number;
|
|
193
323
|
readonly latencyMs?: number;
|
|
194
324
|
}
|
|
325
|
+
interface SizeCapacityEvidence {
|
|
326
|
+
readonly kind: "size-capacity-evidence";
|
|
327
|
+
readonly unit: string;
|
|
328
|
+
readonly quantity: number;
|
|
329
|
+
readonly measurementSource: string;
|
|
330
|
+
readonly estimated?: boolean;
|
|
331
|
+
readonly encoding?: string;
|
|
332
|
+
readonly mediaType?: string;
|
|
333
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
334
|
+
readonly refs?: readonly SourceRef[];
|
|
335
|
+
readonly issues?: readonly DataIssue[];
|
|
336
|
+
readonly sensitivity?: readonly string[];
|
|
337
|
+
readonly redaction?: Record<string, unknown>;
|
|
338
|
+
readonly metadata?: Record<string, unknown>;
|
|
339
|
+
}
|
|
195
340
|
interface ExecutorOutcomeBase {
|
|
196
341
|
readonly kind: ExecutorOutcomeStatus;
|
|
197
342
|
readonly outcomeId: string;
|
|
@@ -214,6 +359,29 @@ interface AgentOutputEnvelope<T = unknown> {
|
|
|
214
359
|
readonly value?: T;
|
|
215
360
|
readonly refs?: readonly SourceRef[];
|
|
216
361
|
readonly summary?: string;
|
|
362
|
+
readonly artifacts?: readonly ExecutorArtifactMaterial[];
|
|
363
|
+
readonly metadata?: Record<string, unknown>;
|
|
364
|
+
}
|
|
365
|
+
interface ExecutorArtifactMaterial<T = unknown> {
|
|
366
|
+
readonly kind: string;
|
|
367
|
+
readonly format?: string;
|
|
368
|
+
readonly schemaRef?: string;
|
|
369
|
+
readonly schemaKind?: string;
|
|
370
|
+
readonly mimeType?: string;
|
|
371
|
+
readonly mediaType?: string;
|
|
372
|
+
readonly filename?: string;
|
|
373
|
+
readonly byteLength?: number;
|
|
374
|
+
readonly digest?: string;
|
|
375
|
+
readonly encoding?: string;
|
|
376
|
+
readonly dataMode: "inline" | "summary" | "ref" | (string & {});
|
|
377
|
+
readonly summary?: string;
|
|
378
|
+
readonly value?: T;
|
|
379
|
+
readonly ref?: SourceRef;
|
|
380
|
+
readonly refs?: readonly SourceRef[];
|
|
381
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
382
|
+
readonly sizeEvidence?: readonly SizeCapacityEvidence[];
|
|
383
|
+
readonly sensitivity?: readonly string[];
|
|
384
|
+
readonly redaction?: Record<string, unknown>;
|
|
217
385
|
readonly metadata?: Record<string, unknown>;
|
|
218
386
|
}
|
|
219
387
|
type ExecutorOutcome<T = unknown> = (ExecutorOutcomeBase & {
|
|
@@ -234,322 +402,5 @@ type ExecutorOutcome<T = unknown> = (ExecutorOutcomeBase & {
|
|
|
234
402
|
readonly kind: "blocked";
|
|
235
403
|
readonly needs: readonly AgentNeed[];
|
|
236
404
|
});
|
|
237
|
-
/**
|
|
238
|
-
* Provider-neutral tool-call request input (D359). Concrete clients, secrets,
|
|
239
|
-
* transports, and SDK handles stay in executor adapter bindings, not this fact.
|
|
240
|
-
*/
|
|
241
|
-
interface ToolCallInput<TArguments = unknown> {
|
|
242
|
-
readonly kind: "tool-call";
|
|
243
|
-
readonly toolName: string;
|
|
244
|
-
readonly operation?: string;
|
|
245
|
-
readonly arguments?: TArguments;
|
|
246
|
-
readonly argumentsRef?: string;
|
|
247
|
-
readonly expectedOutput?: {
|
|
248
|
-
readonly resultKind?: string;
|
|
249
|
-
readonly schemaRef?: string;
|
|
250
|
-
};
|
|
251
|
-
readonly idempotency?: {
|
|
252
|
-
readonly key?: string;
|
|
253
|
-
readonly safeToRetry?: boolean;
|
|
254
|
-
};
|
|
255
|
-
readonly timeoutMs?: number;
|
|
256
|
-
readonly subjectRefs?: readonly SourceRef[];
|
|
257
|
-
readonly metadata?: Record<string, unknown>;
|
|
258
|
-
}
|
|
259
|
-
/**
|
|
260
|
-
* Tool provider family label for optional Layer C adapters (D359). Builtin,
|
|
261
|
-
* MCP, CLI, and Composio providers stay executor/tool recipes, not WorkItem
|
|
262
|
-
* core or protocol semantics.
|
|
263
|
-
*/
|
|
264
|
-
type ToolProviderKind = "local-builtin" | "mcp" | "cli" | "composio" | (string & {});
|
|
265
|
-
/**
|
|
266
|
-
* Graph-visible catalog entry for a tool exposed by an executor provider
|
|
267
|
-
* (D359). Runtime clients and credentials remain private adapter state.
|
|
268
|
-
*/
|
|
269
|
-
interface ToolProviderCatalogEntry {
|
|
270
|
-
readonly kind: "tool-catalog-entry";
|
|
271
|
-
readonly providerId: string;
|
|
272
|
-
readonly toolName: string;
|
|
273
|
-
readonly operation?: string;
|
|
274
|
-
readonly inputKind: "tool-call";
|
|
275
|
-
readonly profileId: string;
|
|
276
|
-
readonly executorId: string;
|
|
277
|
-
readonly resultKinds?: readonly string[];
|
|
278
|
-
readonly schemaRefs?: readonly string[];
|
|
279
|
-
readonly capabilities?: Record<string, unknown>;
|
|
280
|
-
readonly limits?: Record<string, number>;
|
|
281
|
-
readonly policyRefs?: readonly SourceRef[];
|
|
282
|
-
readonly metadata?: Record<string, unknown>;
|
|
283
|
-
}
|
|
284
|
-
/**
|
|
285
|
-
* Graph-visible tool provider catalog/status surface (D359). This is passive
|
|
286
|
-
* DATA for routing/profile selection and UI inspection, not a provider runtime.
|
|
287
|
-
*/
|
|
288
|
-
interface ToolProviderCatalog {
|
|
289
|
-
readonly kind: "tool-provider-catalog";
|
|
290
|
-
readonly providerId: string;
|
|
291
|
-
readonly providerKind: ToolProviderKind;
|
|
292
|
-
readonly profiles: readonly ExecutorProfile[];
|
|
293
|
-
readonly tools: readonly ToolProviderCatalogEntry[];
|
|
294
|
-
readonly status?: "ready" | "unavailable" | "misconfigured";
|
|
295
|
-
readonly issues?: readonly DataIssue[];
|
|
296
|
-
readonly audit?: readonly AgentRuntimeAuditRecord[];
|
|
297
|
-
readonly metadata?: Record<string, unknown>;
|
|
298
|
-
}
|
|
299
|
-
/**
|
|
300
|
-
* Options for producing a local builtin tool-provider catalog (D359). Limits and
|
|
301
|
-
* capabilities are declarative policy hints; execution remains adapter-owned.
|
|
302
|
-
*/
|
|
303
|
-
interface LocalBuiltinToolProviderCatalogOptions {
|
|
304
|
-
readonly providerId?: string;
|
|
305
|
-
readonly executorId?: string;
|
|
306
|
-
readonly profileId?: string;
|
|
307
|
-
readonly tools?: readonly Omit<ToolProviderCatalogEntry, "kind" | "providerId" | "inputKind" | "profileId" | "executorId">[];
|
|
308
|
-
readonly limits?: Record<string, number>;
|
|
309
|
-
readonly capabilities?: Record<string, unknown>;
|
|
310
|
-
readonly metadata?: Record<string, unknown>;
|
|
311
|
-
}
|
|
312
|
-
/**
|
|
313
|
-
* Audience selector for bounded ExecutorOutcome projections (D359).
|
|
314
|
-
*/
|
|
315
|
-
type ExecutorOutcomeViewAudience = "agent-observation" | "ui" | "diagnostic" | "audit";
|
|
316
|
-
/**
|
|
317
|
-
* View policy for deriving bounded, audience-specific ExecutorOutcome summaries
|
|
318
|
-
* (D359/D270/D293) without inlining large/raw provider material.
|
|
319
|
-
*/
|
|
320
|
-
interface ExecutorOutcomeViewPolicy {
|
|
321
|
-
readonly audience?: ExecutorOutcomeViewAudience;
|
|
322
|
-
readonly maxSummaryChars?: number;
|
|
323
|
-
readonly includeIssues?: boolean;
|
|
324
|
-
readonly includeUsage?: boolean;
|
|
325
|
-
readonly includeMetadata?: boolean;
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
* Bounded projection of ExecutorOutcome for agent, UI, diagnostic, or audit
|
|
329
|
-
* consumers (D359). Large/raw material stays behind refs.
|
|
330
|
-
*/
|
|
331
|
-
interface ExecutorOutcomeView {
|
|
332
|
-
readonly kind: "executor-outcome-view";
|
|
333
|
-
readonly viewId: string;
|
|
334
|
-
readonly audience: ExecutorOutcomeViewAudience;
|
|
335
|
-
readonly outcomeId: string;
|
|
336
|
-
readonly requestId: string;
|
|
337
|
-
readonly operationId: string;
|
|
338
|
-
readonly routeId: string;
|
|
339
|
-
readonly executorId: string;
|
|
340
|
-
readonly profileId: string;
|
|
341
|
-
readonly status: ExecutorOutcomeStatus;
|
|
342
|
-
readonly summary: string;
|
|
343
|
-
readonly summaryTruncated?: boolean;
|
|
344
|
-
readonly summaryChars?: number;
|
|
345
|
-
readonly summaryLimitChars?: number;
|
|
346
|
-
readonly errorKind?: string;
|
|
347
|
-
readonly retryable?: boolean;
|
|
348
|
-
readonly nextActions?: readonly string[];
|
|
349
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
350
|
-
readonly materialRefs?: readonly SourceRef[];
|
|
351
|
-
readonly issues?: readonly DataIssue[];
|
|
352
|
-
readonly usage?: ExecutorUsage;
|
|
353
|
-
readonly metadata?: Record<string, unknown>;
|
|
354
|
-
}
|
|
355
|
-
/**
|
|
356
|
-
* Output bundle for ExecutorOutcome view projectors (D359).
|
|
357
|
-
*/
|
|
358
|
-
interface ExecutorOutcomeViewBundle {
|
|
359
|
-
readonly views: Node<ExecutorOutcomeView>;
|
|
360
|
-
readonly issues: Node<DataIssue>;
|
|
361
|
-
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
362
|
-
}
|
|
363
|
-
interface ContextContribution {
|
|
364
|
-
readonly kind: "context-contribution";
|
|
365
|
-
readonly contributionId: string;
|
|
366
|
-
readonly requestId: string;
|
|
367
|
-
readonly operationId: string;
|
|
368
|
-
readonly status: "ready" | "pending" | "issue";
|
|
369
|
-
readonly frameId?: string;
|
|
370
|
-
readonly issues?: readonly DataIssue[];
|
|
371
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
372
|
-
readonly metadata?: Record<string, unknown>;
|
|
373
|
-
}
|
|
374
|
-
interface PromptBundle {
|
|
375
|
-
readonly kind: "prompt-bundle";
|
|
376
|
-
readonly promptId: string;
|
|
377
|
-
readonly requestId: string;
|
|
378
|
-
readonly operationId: string;
|
|
379
|
-
readonly status: "ready" | "partial" | "issue";
|
|
380
|
-
readonly sourceFrameIds?: readonly string[];
|
|
381
|
-
readonly issues?: readonly DataIssue[];
|
|
382
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
383
|
-
readonly metadata?: Record<string, unknown>;
|
|
384
|
-
}
|
|
385
|
-
interface AgentRequestSatisfactionBundle {
|
|
386
|
-
readonly status: Node<AgentRequestStatusChanged>;
|
|
387
|
-
readonly issues: Node<DataIssue>;
|
|
388
|
-
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
389
|
-
}
|
|
390
|
-
type AgentDecisionKind = "continue" | "final" | "blocked";
|
|
391
|
-
interface AgentNeed {
|
|
392
|
-
readonly kind: string;
|
|
393
|
-
readonly message?: string;
|
|
394
|
-
readonly refs?: readonly SourceRef[];
|
|
395
|
-
readonly metadata?: Record<string, unknown>;
|
|
396
|
-
}
|
|
397
|
-
interface AgentDecisionBase {
|
|
398
|
-
readonly kind: AgentDecisionKind;
|
|
399
|
-
readonly decisionId: string;
|
|
400
|
-
readonly effectRunId: string;
|
|
401
|
-
readonly agentRunId: string;
|
|
402
|
-
readonly source: {
|
|
403
|
-
readonly requestId: string;
|
|
404
|
-
readonly operationId: string;
|
|
405
|
-
readonly outcomeId: string;
|
|
406
|
-
};
|
|
407
|
-
readonly reason?: string;
|
|
408
|
-
readonly confidence?: number;
|
|
409
|
-
readonly evidenceRefs?: readonly SourceRef[];
|
|
410
|
-
readonly metadata?: Record<string, unknown>;
|
|
411
|
-
}
|
|
412
|
-
interface AgentDecisionContinue extends AgentDecisionBase {
|
|
413
|
-
readonly kind: "continue";
|
|
414
|
-
readonly next: readonly AgentRequestProposal[];
|
|
415
|
-
}
|
|
416
|
-
interface AgentDecisionFinal extends AgentDecisionBase {
|
|
417
|
-
readonly kind: "final";
|
|
418
|
-
readonly output: AgentOutputEnvelope;
|
|
419
|
-
readonly summary?: string;
|
|
420
|
-
}
|
|
421
|
-
interface AgentDecisionBlocked extends AgentDecisionBase {
|
|
422
|
-
readonly kind: "blocked";
|
|
423
|
-
readonly needs: readonly AgentNeed[];
|
|
424
|
-
}
|
|
425
|
-
type AgentDecision = AgentDecisionContinue | AgentDecisionFinal | AgentDecisionBlocked;
|
|
426
|
-
interface StructuredAgentDecisionEnvelope {
|
|
427
|
-
readonly kind: "agent-decision";
|
|
428
|
-
readonly decision: AgentDecision;
|
|
429
|
-
readonly schemaRef: string;
|
|
430
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
431
|
-
}
|
|
432
|
-
interface StructuredAgentDecisionInterpreterBundle {
|
|
433
|
-
readonly decisions: Node<AgentDecision>;
|
|
434
|
-
readonly issues: Node<DataIssue>;
|
|
435
|
-
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
436
|
-
}
|
|
437
|
-
type EffectRunResultStatus = "completed" | "failed" | "blocked" | "canceled" | "timeout" | "waived";
|
|
438
|
-
interface EffectRunResultBase {
|
|
439
|
-
readonly kind: "effect-run-result";
|
|
440
|
-
readonly resultId: string;
|
|
441
|
-
readonly status: EffectRunResultStatus;
|
|
442
|
-
readonly effectRunId: string;
|
|
443
|
-
readonly subjectRefs?: readonly SourceRef[];
|
|
444
|
-
readonly operationId?: string;
|
|
445
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
446
|
-
readonly issues?: readonly DataIssue[];
|
|
447
|
-
readonly auditRefs?: readonly string[];
|
|
448
|
-
readonly completedAtMs?: number;
|
|
449
|
-
readonly metadata?: Record<string, unknown>;
|
|
450
|
-
}
|
|
451
|
-
type EffectRunResult = (EffectRunResultBase & {
|
|
452
|
-
readonly status: "completed";
|
|
453
|
-
readonly output: AgentOutputEnvelope;
|
|
454
|
-
}) | (EffectRunResultBase & {
|
|
455
|
-
readonly status: "failed";
|
|
456
|
-
readonly error: DataIssue;
|
|
457
|
-
}) | (EffectRunResultBase & {
|
|
458
|
-
readonly status: "blocked";
|
|
459
|
-
readonly needs: readonly AgentNeed[];
|
|
460
|
-
}) | (EffectRunResultBase & {
|
|
461
|
-
readonly status: "canceled";
|
|
462
|
-
readonly reason?: string;
|
|
463
|
-
}) | (EffectRunResultBase & {
|
|
464
|
-
readonly status: "timeout";
|
|
465
|
-
readonly timeoutMs?: number;
|
|
466
|
-
}) | (EffectRunResultBase & {
|
|
467
|
-
readonly status: "waived";
|
|
468
|
-
readonly reason?: string;
|
|
469
|
-
});
|
|
470
|
-
interface EffectRunCompletionBundle {
|
|
471
|
-
readonly results: Node<EffectRunResult>;
|
|
472
|
-
readonly status: Node<EffectRunCompletionStatus>;
|
|
473
|
-
readonly issues: Node<DataIssue>;
|
|
474
|
-
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
475
|
-
}
|
|
476
|
-
interface EffectRunCompletionStatus {
|
|
477
|
-
readonly effectRunId: string;
|
|
478
|
-
readonly state: "pending" | "completed" | "failed" | "blocked" | "canceled" | "timeout" | "waived";
|
|
479
|
-
readonly requiredPending: readonly string[];
|
|
480
|
-
readonly requiredTerminal: readonly string[];
|
|
481
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
482
|
-
}
|
|
483
|
-
interface AgentRuntimeAuditRecord {
|
|
484
|
-
readonly id: string;
|
|
485
|
-
readonly kind: string;
|
|
486
|
-
readonly subjectId?: string;
|
|
487
|
-
readonly message?: string;
|
|
488
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
489
|
-
readonly issueCode?: string;
|
|
490
|
-
readonly metadata?: Record<string, unknown>;
|
|
491
|
-
}
|
|
492
|
-
declare function agentRequestProposalFromDecision(decision: AgentDecisionContinue, proposal: Omit<AgentRequestProposal, "kind" | "effectRunId" | "agentRunId" | "sourceDecisionId">): AgentRequestProposal;
|
|
493
|
-
declare function admitAgentRequestProposal(proposal: AgentRequestProposal, opts: {
|
|
494
|
-
readonly requestId: string;
|
|
495
|
-
readonly operationId: string;
|
|
496
|
-
readonly admittedAtMs?: number;
|
|
497
|
-
readonly reason?: string;
|
|
498
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
499
|
-
readonly metadata?: Record<string, unknown>;
|
|
500
|
-
}): AgentRequestAdmitted;
|
|
501
|
-
declare function issueAgentRequest(proposal: AgentRequestProposal, admission: AgentRequestAdmitted, opts?: {
|
|
502
|
-
readonly issuedAtMs?: number;
|
|
503
|
-
readonly sourceRefs?: readonly SourceRef[];
|
|
504
|
-
}): AgentRequestIssued;
|
|
505
|
-
declare function agentRequestLedgerViews(graph: Graph, facts: Node<AgentRequestFact>, opts?: {
|
|
506
|
-
readonly name?: string;
|
|
507
|
-
}): AgentRequestLedgerBundle;
|
|
508
|
-
declare function requestSatisfactionProjector(graph: Graph, opts: {
|
|
509
|
-
readonly name?: string;
|
|
510
|
-
readonly requestFacts: Node<AgentRequestFact>;
|
|
511
|
-
readonly executorProfiles?: readonly Node<ExecutorProfile>[];
|
|
512
|
-
readonly executorRoutes?: readonly Node<ExecutorRoute>[];
|
|
513
|
-
readonly executorOutcomes?: readonly Node<ExecutorOutcome>[];
|
|
514
|
-
readonly contextContributions?: readonly Node<ContextContribution>[];
|
|
515
|
-
readonly promptBundles?: readonly Node<PromptBundle>[];
|
|
516
|
-
}): AgentRequestSatisfactionBundle;
|
|
517
|
-
declare function localBuiltinToolProviderCatalog(opts?: LocalBuiltinToolProviderCatalogOptions): ToolProviderCatalog;
|
|
518
|
-
declare function executorOutcomeViewProjector(graph: Graph, opts: {
|
|
519
|
-
readonly name?: string;
|
|
520
|
-
readonly outcomes: Node<ExecutorOutcome>;
|
|
521
|
-
readonly policy?: ExecutorOutcomeViewPolicy;
|
|
522
|
-
}): ExecutorOutcomeViewBundle;
|
|
523
|
-
declare function structuredAgentDecisionInterpreter(graph: Graph, outcomes: Node<ExecutorOutcome>, opts?: {
|
|
524
|
-
readonly name?: string;
|
|
525
|
-
readonly schemaRef?: string;
|
|
526
|
-
readonly requestFacts?: readonly Node<AgentRequestFact>[];
|
|
527
|
-
}): StructuredAgentDecisionInterpreterBundle;
|
|
528
|
-
declare function effectRunCompletionProjector(graph: Graph, opts: {
|
|
529
|
-
readonly name?: string;
|
|
530
|
-
readonly effectRuns: Node<EffectRun>;
|
|
531
|
-
readonly decisions?: readonly Node<AgentDecision>[];
|
|
532
|
-
readonly requestStatuses?: readonly Node<AgentRequestStatusChanged>[];
|
|
533
|
-
readonly requestFacts?: readonly Node<AgentRequestFact>[];
|
|
534
|
-
readonly resultCandidates?: readonly Node<EffectRunResult>[];
|
|
535
|
-
readonly now?: () => number;
|
|
536
|
-
}): EffectRunCompletionBundle;
|
|
537
|
-
declare function fakeExecutorResult<T>(opts: Omit<ExecutorOutcomeBase, "kind"> & {
|
|
538
|
-
readonly result: AgentOutputEnvelope<T>;
|
|
539
|
-
}): ExecutorOutcome<T>;
|
|
540
|
-
declare function fakeExecutorFailure(opts: Omit<ExecutorOutcomeBase, "kind"> & {
|
|
541
|
-
readonly error: DataIssue;
|
|
542
|
-
readonly retryable?: boolean;
|
|
543
|
-
}): ExecutorOutcome;
|
|
544
|
-
declare function fakeExecutorBlocked(opts: Omit<ExecutorOutcomeBase, "kind"> & {
|
|
545
|
-
readonly needs: readonly AgentNeed[];
|
|
546
|
-
}): ExecutorOutcome;
|
|
547
|
-
declare function fakeExecutorTimeout(opts: Omit<ExecutorOutcomeBase, "kind"> & {
|
|
548
|
-
readonly timeoutMs?: number;
|
|
549
|
-
readonly retryable?: boolean;
|
|
550
|
-
}): ExecutorOutcome;
|
|
551
|
-
declare function fakeExecutorCanceled(opts: Omit<ExecutorOutcomeBase, "kind"> & {
|
|
552
|
-
readonly reason?: string;
|
|
553
|
-
}): ExecutorOutcome;
|
|
554
405
|
|
|
555
|
-
export {
|
|
406
|
+
export { type AgentRequestStatusChanged as A, type AgentDecisionFinal as B, type ContextContribution as C, type AgentDecisionKind as D, type ExecutorOutcome as E, type AgentRequestDeferred as F, type AgentRequestKind as G, type AgentRequestMerged as H, type AgentRequestRejected as I, type AgentRequestStatus as J, type AgentRequestViews as K, type EffectRunCompletionStatus as L, type EffectRunOptions as M, type EffectRunResultBase as N, type ExecutorArtifactMaterial as O, type PromptBundle as P, type SizeCapacityEvidence as Q, type StructuredAgentDecisionEnvelope as R, type SourceRef as S, effectRun as T, type AgentRuntimeAuditRecord as a, type AgentRequestFact as b, type ExecutorRoute as c, type AgentRequestIssued as d, type ExecutorProfile as e, type ExecutorOutcomeStatus as f, type AgentRequestInput as g, type AgentOutputEnvelope as h, type ExecutorUsage as i, type AgentNeed as j, type EffectRunResultStatus as k, type EffectRunGoal as l, type EffectRunLimits as m, type EffectRunResult as n, type EffectRun as o, type AgentDecision as p, type EffectRunCompletionBundle as q, type StructuredAgentDecisionInterpreterBundle as r, type ExecutorOutcomeBase as s, type AgentRequestProposal as t, type AgentRequestAdmitted as u, type AgentRequestLedgerBundle as v, type AgentDecisionContinue as w, type AgentRequestSatisfactionBundle as x, type AgentDecisionBase as y, type AgentDecisionBlocked as z };
|