@makaio/framework 1.0.0-dev-1789000242829 → 1.0.0-dev-1789034250920
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/.makaio-build.json +2 -2
- package/dist/adapters/claude/index.d.mts +24 -24
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/node.d.mts +1 -1
- package/dist/artifact--nbPrvm5.mjs +1 -0
- package/dist/attempt-control-evidence-BKw1U3wL.mjs +1 -0
- package/dist/bus/index.mjs +1 -1
- package/dist/clients/index.d.mts +1 -1
- package/dist/clients/managed-install.d.mts +1 -1
- package/dist/code-execution/worker-entry.d.mts +1 -1
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/auth/index.d.mts +2 -2
- package/dist/contracts/automation-trigger/index.d.mts +3 -3
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/code-execution/index.d.mts +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +5 -5
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +301 -75
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/shared/index.d.mts +2 -2
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +2 -2
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{contribution-BfEEQ8YZ.d.mts → contribution-CejwVIb3.d.mts} +2 -2
- package/dist/{definition-6d5JBi55.d.mts → definition-DSOXLpQj.d.mts} +1 -1
- package/dist/{detached-extension-handle-BJnk3WEh.mjs → detached-extension-handle-BNvRSUVO.mjs} +1 -1
- package/dist/{execution-attempt-repository-DSpz2kyW.d.mts → execution-attempt-repository-BoNwNybg.d.mts} +85 -3
- package/dist/{extension-context-Cpf_n5FH.d.mts → extension-context-SrQpa_kp.d.mts} +3 -3
- package/dist/{hook-responses-CpEfxEmG.d.mts → hook-responses-E1gipXIp.d.mts} +1 -1
- package/dist/{index-BxJRljy-.d.mts → index-0_Ao0hwU.d.mts} +236 -101
- package/dist/{index-C75h1xHF2.d.mts → index-6BDbhx3A2.d.mts} +1 -1
- package/dist/{index-hm8NV4CJ2.d.mts → index-B7VWSBm72.d.mts} +4 -4
- package/dist/{index-BTluq4-E.d.mts → index-B94tZHiU.d.mts} +6295 -3178
- package/dist/{index-Dzozmb5u.d.mts → index-BFchykav.d.mts} +3 -3
- package/dist/{index-Dckvm0Ml2.d.mts → index-BN0qpem12.d.mts} +16 -16
- package/dist/{index-CVh7ZP2I.d.mts → index-BN2_TMtX.d.mts} +6 -6
- package/dist/{index-CilWtThn.d.mts → index-BPrpnLRQ.d.mts} +4 -4
- package/dist/{index-BfwHYuRf.d.mts → index-BTwMms1p.d.mts} +1 -1
- package/dist/{index-Bj2JCo9V.d.mts → index-BXair-QK.d.mts} +1 -1
- package/dist/{index-DR308wUB2.d.mts → index-BeLI73yw2.d.mts} +3 -3
- package/dist/{index-CRM23ToM2.d.mts → index-BncQwKi-2.d.mts} +39 -39
- package/dist/{index-BlHq_Ksb.d.mts → index-CLmjrH8K.d.mts} +2 -2
- package/dist/{index-BM-FPWjs2.d.mts → index-CTNGL-cq2.d.mts} +1 -1
- package/dist/{index-D7IZQNhD.d.mts → index-CgYGg-Ne2.d.mts} +2 -2
- package/dist/{index-DY_0TRvM.d.mts → index-Cp9olTr7.d.mts} +8 -8
- package/dist/{index-CCNCo440.d.mts → index-D1rYHYPO.d.mts} +16 -16
- package/dist/{index-DvoitgXV.d.mts → index-DKq33gti.d.mts} +22 -22
- package/dist/{index-Bn6sN1op.d.mts → index-DUH2eTyC.d.mts} +1 -1
- package/dist/{index-C742b1FV.d.mts → index-DUdGqxHD.d.mts} +1 -1
- package/dist/{index-BfzuauBt2.d.mts → index-DWlmiprx2.d.mts} +1 -1
- package/dist/{index-6kg8YFYt.d.mts → index-DnZksNTM.d.mts} +1 -1
- package/dist/{index-B3G-Hzwn.d.mts → index-Dp3UZQv_.d.mts} +1 -1
- package/dist/{index-CjMMvZch.d.mts → index-DxUstDMY.d.mts} +1 -1
- package/dist/{index-GTCM4lXx.d.mts → index-MKNhvbfG.d.mts} +4 -4
- package/dist/{index-CDhbUjUH.d.mts → index-OLGGmjgd.d.mts} +1 -1
- package/dist/{index-Bzxs2nVR.d.mts → index-yapYXeah.d.mts} +8 -8
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/index.d.mts +5 -5
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/{lib-BmXBuE-w.mjs → lib-B1Mvm4hQ.mjs} +1 -1
- package/dist/{lib-R-c_q77C.mjs → lib-D1-cvcTz.mjs} +1 -1
- package/dist/{load-extensions-Bu10B5B1.d.mts → load-extensions-D6SVKBPw.d.mts} +1 -1
- package/dist/{load-extensions-s4YmICgn.mjs → load-extensions-bwisKaW0.mjs} +1 -1
- package/dist/{namespace-CY-9Evdf.d.mts → namespace-BYBMtQUy.d.mts} +4 -4
- package/dist/{namespace-btfJrUf6.d.mts → namespace-CYYFqmtJ.d.mts} +6 -6
- package/dist/{namespace-fEBskugJ.d.mts → namespace-CZJQrexB.d.mts} +18 -18
- package/dist/{namespace-CfA0C0JR.d.mts → namespace-CfNNUjVv.d.mts} +2 -2
- package/dist/{namespace-B0_Sg-1m.d.mts → namespace-CjFT0wBT.d.mts} +2 -2
- package/dist/{namespace-Dmbm2JzV.d.mts → namespace-l1Rcc4mp.d.mts} +2 -2
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/{package-BaTrCWZl.d.mts → package-CnR_tOsW.d.mts} +21 -3
- package/dist/package-tvzH3A0x.mjs +7 -0
- package/dist/package.json +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/code-execution/index.d.mts +2 -2
- package/dist/runtime-node/extension-discovery.d.mts +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +5 -5
- package/dist/runtime-node/index.mjs +2 -2
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/{schemas-yXs929kr.d.mts → schemas-Ct0tTtkV.d.mts} +11 -11
- package/dist/{schemas-CQe4xCRn.d.mts → schemas-D6JvwH-h.d.mts} +2 -2
- package/dist/{schemas-Cz7H2f7S.d.mts → schemas-DChhgfU0.d.mts} +7 -7
- package/dist/{schemas-CSeLgroC.d.mts → schemas-DNUfTOJ0.d.mts} +1 -1
- package/dist/{schemas-bcDK-fK3.d.mts → schemas-mTWvDwx9.d.mts} +8 -8
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +3 -3
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/capability/index.d.mts +2 -2
- package/dist/services/code-execution/index.d.mts +1 -1
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +4 -4
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +57 -57
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/namespace.d.mts +2 -2
- package/dist/services/log-import/schemas.d.mts +1 -1
- package/dist/services/materialization/index.d.mts +1 -1
- package/dist/services/model-registry/index.d.mts +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +9 -9
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/namespace.d.mts +8 -8
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/services/workflow-transitions/index.d.mts +1 -1
- package/dist/{session-lineage-CEyJWg_J.d.mts → session-lineage-9_qwkjUq.d.mts} +1 -1
- package/dist/{src-CmLn6zYj.mjs → src-BZdlyUxT.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/{transition-bYkXnLY2.d.mts → transition-DNi6L7i2.d.mts} +2 -2
- package/dist/{types-Bnc-pdB12.d.mts → types-BeAxyCuU2.d.mts} +1 -1
- package/dist/{types-BNKqcHfP.d.mts → types-DXobLxrf.d.mts} +18 -18
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{view-builder-CA5qUx85.d.mts → view-builder-B5gP9RnN.d.mts} +1 -1
- package/dist/worker-Cmme3rMM.mjs +1 -0
- package/dist/{workflow-5yHn_Knq.mjs → workflow-DNks09Ip.mjs} +1 -1
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/index.d.mts +89 -51
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/provider-operation.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.mjs +2 -2
- package/dist/workflow-engine/testing/index.d.mts +3 -1
- package/dist/workflow-engine/testing/index.mjs +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.mjs +50 -33
- package/package.json +1 -1
- package/dist/artifact-Cxm5ZX7L.mjs +0 -1
- package/dist/package-BT94BLu4.mjs +0 -7
- package/dist/worker-Cx1JDOB9.mjs +0 -1
- package/dist/{adapter-binding-DhANVB-O.d.mts → adapter-binding-CTssGlH_.d.mts} +0 -0
- package/dist/{attempt-fixtures-CMx-2OlG.mjs → attempt-fixtures-B8FSy_vs.mjs} +0 -0
- package/dist/{attempt-record-codec-D2Gb_epJ.mjs → attempt-record-codec-BrungudT.mjs} +0 -0
- package/dist/{base-orchestrator-tAgnJAKu.d.mts → base-orchestrator-C5Z9Aowq.d.mts} +0 -0
- package/dist/{capability-service-Cpkonrc0.d.mts → capability-service-DX3wLjdt.d.mts} +0 -0
- package/dist/{client-At2zn3yg.d.mts → client-BsXMxeCN.d.mts} +0 -0
- package/dist/{client-binary-version-verifier-EOj8xXqm.d.mts → client-binary-version-verifier-uMFQoKZj.d.mts} +0 -0
- package/dist/{clients-namespace-CVRwXq8f.d.mts → clients-namespace-1hXA6qNd.d.mts} +0 -0
- package/dist/{config-namespace-D7GbrasR.d.mts → config-namespace-Bpq9WOY4.d.mts} +0 -0
- package/dist/{create-static-mount-BIH26VH8.mjs → create-static-mount-Cr24q94C.mjs} +0 -0
- package/dist/{definition-VK1rERAp.d.mts → definition-Ckt_WmJw.d.mts} +0 -0
- package/dist/{extension-discovery-B0ZL076T.d.mts → extension-discovery-Dx118u_N.d.mts} +0 -0
- package/dist/{filesystem-service-BWoNtujU.d.mts → filesystem-service-DtApanQk.d.mts} +0 -0
- package/dist/{index-Bk0Xjk-B.d.mts → index-1AKlC3kZ.d.mts} +0 -0
- package/dist/{index-CDA33y5A.d.mts → index-5KVPGsig.d.mts} +0 -0
- package/dist/{index-8a41yDOl.d.mts → index-B4lidHiL.d.mts} +0 -0
- package/dist/{index-DzHc6hsJ.d.mts → index-Bw7benCh.d.mts} +0 -0
- package/dist/{index-DXSVC0bM.d.mts → index-C0zo4Id_.d.mts} +0 -0
- package/dist/{index-BL1F1xYB.d.mts → index-C3n8beRR.d.mts} +0 -0
- package/dist/{index-BBkJsViX2.d.mts → index-C4DMSFLE2.d.mts} +6 -6
- /package/dist/{index-C8oBOTl_.d.mts → index-C86rKLPD.d.mts} +0 -0
- /package/dist/{index-BIlFSGnW.d.mts → index-CIl66QhT.d.mts} +0 -0
- /package/dist/{index-D4XNkbM4.d.mts → index-CUcEfh31.d.mts} +0 -0
- /package/dist/{index-DwY1Mt9a.d.mts → index-CrDp6vHG.d.mts} +0 -0
- /package/dist/{index-DCfYa3cF.d.mts → index-CzKJC3Bt.d.mts} +0 -0
- /package/dist/{index-Ccaqmi0J.d.mts → index-DK8lSIvY.d.mts} +0 -0
- /package/dist/{index-Du-eXjEN.d.mts → index-DLsopffG.d.mts} +0 -0
- /package/dist/{index-BcPO9w0j.d.mts → index-DNN9jOVO.d.mts} +0 -0
- /package/dist/{index-krTCFThl2.d.mts → index-DSRxn5Zr2.d.mts} +0 -0
- /package/dist/{index-CSJOBx3H.d.mts → index-Dfv9hyZE.d.mts} +0 -0
- /package/dist/{index-BpsurXEW.d.mts → index-DqS8eCAT.d.mts} +0 -0
- /package/dist/{index-CjazerMN.d.mts → index-Dv5aNxoa.d.mts} +0 -0
- /package/dist/{index-CWeWBh-_.d.mts → index-DxxORQny.d.mts} +0 -0
- /package/dist/{index-BTHdi23O.d.mts → index-DyBuGOvY.d.mts} +0 -0
- /package/dist/{index-DwKPj8jD.d.mts → index-lLuIAmRB.d.mts} +0 -0
- /package/dist/{index-Bn1JTbn_2.d.mts → index-qLkIGcgv2.d.mts} +0 -0
- /package/dist/{index-DCHdW5g-.d.mts → index-tCFckLG6.d.mts} +0 -0
- /package/dist/{json-value-BKUDMT7k.d.mts → json-value-Bjl8jzom.d.mts} +0 -0
- /package/dist/{jsonl-transport-3yp3clGp.mjs → jsonl-transport-D4ch0vsf.mjs} +0 -0
- /package/dist/{lib-DF6sgNx_.mjs → lib-BLdnqIFF.mjs} +0 -0
- /package/dist/{namespace-BHb_9sh4.d.mts → namespace-BHkEHrUG.d.mts} +0 -0
- /package/dist/{namespace-KTRWfIPy.d.mts → namespace-Bivbsfms.d.mts} +0 -0
- /package/dist/{namespace-BiEV44Mk.d.mts → namespace-C-4xI2rm.d.mts} +0 -0
- /package/dist/{namespace-BNNFD-ul.d.mts → namespace-CvCk6Y9i.d.mts} +0 -0
- /package/dist/{namespace-BgaVgd00.d.mts → namespace-DXrdGpbs.d.mts} +0 -0
- /package/dist/{namespace-B3MnuAqp.d.mts → namespace-Dwf7aOLt.d.mts} +0 -0
- /package/dist/{namespace-Czr38fiF.d.mts → namespace-E4ajXk0W.d.mts} +0 -0
- /package/dist/{namespace-CjmNxtr1.d.mts → namespace-XUB3XnBK.d.mts} +0 -0
- /package/dist/{orchestrator-shared-Cwc6JKkV.d.mts → orchestrator-shared-D2I9gyOl.d.mts} +0 -0
- /package/dist/{packages-DTz_1dCa.d.mts → packages-Dj9Nul23.d.mts} +0 -0
- /package/dist/{providers-namespace-Bming6U8.d.mts → providers-namespace-BA0JT--_.d.mts} +0 -0
- /package/dist/{runtime-inputs-DeOea-ab.d.mts → runtime-inputs-CIYLDuBM.d.mts} +0 -0
- /package/dist/{schema-DFCBjTB7.d.mts → schema-B098Jz9p.d.mts} +0 -0
- /package/dist/{schemas-DqWwz4eR.d.mts → schemas-ADuQFkhH.d.mts} +0 -0
- /package/dist/{schemas-BLy33xay.d.mts → schemas-BZyi7v9g.d.mts} +0 -0
- /package/dist/{schemas-DYIVJDlx.d.mts → schemas-COQUToGQ.d.mts} +0 -0
- /package/dist/{schemas-DwqibWUL.d.mts → schemas-DKy_XYjq.d.mts} +0 -0
- /package/dist/{schemas-DTBWnWjN.d.mts → schemas-DMxM4U1A.d.mts} +0 -0
- /package/dist/{schemas-GyKYcV-Z2.d.mts → schemas-DNvDh0eE2.d.mts} +0 -0
- /package/dist/{schemas-BkCqhK3X.d.mts → schemas-DYtUc2WA.d.mts} +0 -0
- /package/dist/{server-lifecycle-_m_x1_TC.d.mts → server-lifecycle-B8UabaW3.d.mts} +0 -0
- /package/dist/{src-DdaPoQOD.mjs → src-D9PYcdDS.mjs} +0 -0
- /package/dist/{storage-namespace-zRXWqAfO.d.mts → storage-namespace-DITavhRL.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-CsaZPU3n.d.mts → storage-namespace-definition-1uCuoHvM.d.mts} +0 -0
- /package/dist/{types-CccTiXH2.d.mts → types-BlaguWul.d.mts} +0 -0
- /package/dist/{types-nor1SQLZ.d.mts → types-CbXf822E.d.mts} +0 -0
- /package/dist/{types-DjxvRcX6.d.mts → types-KF8zuMhi.d.mts} +0 -0
- /package/dist/{types-Dswhi1L9.d.mts → types-RWRXplnM.d.mts} +0 -0
- /package/dist/{types-DXGVwrQn.d.mts → types-nY8yr3th.d.mts} +0 -0
- /package/dist/{window-registry-DQ7udUzI.d.mts → window-registry-Dq5uOWpH.d.mts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AttemptOutcomeControlObservation, AttemptOutcomeControlObservation as AttemptOutcomeControlObservation$1, BoundedRecoveryEvidence, ExecutionAttemptCancellationIntent, ExecutionAttemptCancellationIntent as ExecutionAttemptCancellationIntent$1, ExecutionAttemptInstruction, ExecutionAttemptOperationKind, ExecutionAttemptOperationReportRequest, ExecutionAttemptOperationReportResponse, ExecutionAttemptPreparationResult, ExecutionAttemptWorkspaceBinding, ProviderAllocationRef, WorkerAllocationLifetime } from "@makaio/framework/contracts";
|
|
1
|
+
import { AttemptOutcomeControlObservation, AttemptOutcomeControlObservation as AttemptOutcomeControlObservation$1, BoundedRecoveryEvidence, ExecutionAttemptCancellationIntent, ExecutionAttemptCancellationIntent as ExecutionAttemptCancellationIntent$1, ExecutionAttemptControlReceipt, ExecutionAttemptControlRefusalReason, ExecutionAttemptControlReport, ExecutionAttemptInstruction, ExecutionAttemptOperationKind, ExecutionAttemptOperationReportRequest, ExecutionAttemptOperationReportResponse, ExecutionAttemptPreparationResult, ExecutionAttemptWorkspaceBinding, ProviderAllocationRef, WorkerAllocationLifetime } from "@makaio/framework/contracts";
|
|
2
2
|
|
|
3
3
|
//#region subsystems/workflow-engine/src/execution-attempt-owner-recovery.d.ts
|
|
4
4
|
/** A durable owner's replayable demand for one immutable assignment. */
|
|
@@ -111,6 +111,88 @@ declare function replayEnsuredAttempt(input: EnsureExecutionAttemptInput, boundA
|
|
|
111
111
|
*/
|
|
112
112
|
declare function readAttemptSettlementSnapshot<TOutcome>(input: ReadAttemptSettlementInput, snapshot: AttemptSettlementSnapshot, codec: OutcomeCodec<TOutcome>): AttemptSettlementRead<TOutcome>;
|
|
113
113
|
//#endregion
|
|
114
|
+
//#region subsystems/workflow-engine/src/attempt-control-evidence.d.ts
|
|
115
|
+
/** Separate immutable runtime facts for one accepted Cancel and addressed generation. */
|
|
116
|
+
interface AttemptControlEvidence {
|
|
117
|
+
readonly controlRevision: number;
|
|
118
|
+
readonly runtimeGeneration: number;
|
|
119
|
+
readonly receipt: ExecutionAttemptControlReceipt | null;
|
|
120
|
+
readonly report: ExecutionAttemptControlReport | null;
|
|
121
|
+
}
|
|
122
|
+
/** Coherent recovery read; historical evidence never proves the current generation stopped. */
|
|
123
|
+
interface AttemptCancellationControlState {
|
|
124
|
+
readonly control: AttemptControlState;
|
|
125
|
+
readonly cancellation: ExecutionAttemptCancellationIntent | null;
|
|
126
|
+
readonly evidence: readonly AttemptControlEvidence[];
|
|
127
|
+
}
|
|
128
|
+
/** Exact Attempt and owner scope, without requiring the owner's current-attempt pointer. */
|
|
129
|
+
type ReadAttemptCancellationControlInput = GetInstructionInput;
|
|
130
|
+
/** Store the actual runtime receipt, with owner identity supplied by the trusted caller. */
|
|
131
|
+
interface RecordAttemptControlReceiptInput extends ExecutionAttemptControlReceipt {
|
|
132
|
+
readonly executionId: string;
|
|
133
|
+
}
|
|
134
|
+
/** Store one final runtime conclusion, independently of receipt and terminal outcome. */
|
|
135
|
+
interface ReportAttemptControlInput extends ExecutionAttemptControlReport {
|
|
136
|
+
readonly executionId: string;
|
|
137
|
+
}
|
|
138
|
+
/** Exact duplicates preserve the first payload; refusals are not stop evidence. */
|
|
139
|
+
type AttemptControlEvidenceDecision = {
|
|
140
|
+
readonly kind: 'accepted' | 'duplicate';
|
|
141
|
+
} | {
|
|
142
|
+
readonly kind: ExecutionAttemptControlRefusalReason;
|
|
143
|
+
};
|
|
144
|
+
/** Required atomic operations belonging to the existing Attempt authority. */
|
|
145
|
+
interface AttemptControlEvidenceRepository {
|
|
146
|
+
/**
|
|
147
|
+
* Read intent, runtime correlation and all stored facts in one coherent snapshot.
|
|
148
|
+
* @param input - Exact trusted owner and Attempt identity.
|
|
149
|
+
* @returns Snapshot, or null when the Attempt does not belong to that owner.
|
|
150
|
+
*/
|
|
151
|
+
readAttemptCancellationControl(input: ReadAttemptCancellationControlInput): Promise<AttemptCancellationControlState | null>;
|
|
152
|
+
/**
|
|
153
|
+
* Persist an actual delivery receipt without replacing a separately accepted report.
|
|
154
|
+
* @param input - Runtime receipt plus trusted owner.
|
|
155
|
+
* @returns Durable correlation/replay decision.
|
|
156
|
+
*/
|
|
157
|
+
recordAttemptControlReceipt(input: RecordAttemptControlReceiptInput): Promise<AttemptControlEvidenceDecision>;
|
|
158
|
+
/**
|
|
159
|
+
* Persist a final scoped report without requiring a prior delivery ACK or current owner pointer.
|
|
160
|
+
* @param input - Runtime observation plus trusted owner.
|
|
161
|
+
* @returns Durable correlation/replay decision.
|
|
162
|
+
*/
|
|
163
|
+
reportAttemptControl(input: ReportAttemptControlInput): Promise<AttemptControlEvidenceDecision>;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Detach the complete receipt before any asynchronous storage work.
|
|
167
|
+
* @param input - Runtime receipt and trusted owner.
|
|
168
|
+
* @returns Parsed snapshot.
|
|
169
|
+
*/
|
|
170
|
+
declare function snapshotAttemptControlReceipt(input: RecordAttemptControlReceiptInput): RecordAttemptControlReceiptInput;
|
|
171
|
+
/**
|
|
172
|
+
* Detach the complete final report before any asynchronous storage work.
|
|
173
|
+
* @param input - Runtime observation and trusted owner.
|
|
174
|
+
* @returns Parsed snapshot.
|
|
175
|
+
*/
|
|
176
|
+
declare function snapshotAttemptControlReport(input: ReportAttemptControlInput): ReportAttemptControlInput;
|
|
177
|
+
/**
|
|
178
|
+
* Accept a genuine receipt independently of operation occupancy and final reports.
|
|
179
|
+
* @param attempt - Attempt row, or null when absent.
|
|
180
|
+
* @param cancellation - Winning Cancel receipt.
|
|
181
|
+
* @param stored - Previously persisted receipt for the candidate correlation.
|
|
182
|
+
* @param input - Snapshotted received fact with trusted owner.
|
|
183
|
+
* @returns Mutation decision; the repository owns the atomic write.
|
|
184
|
+
*/
|
|
185
|
+
declare function evaluateAttemptControlReceipt(attempt: ExecutionAttemptRecord | null, cancellation: ExecutionAttemptCancellationIntent | null, stored: ExecutionAttemptControlReceipt | null, input: RecordAttemptControlReceiptInput): AttemptControlEvidenceDecision;
|
|
186
|
+
/**
|
|
187
|
+
* Accept one final report, including negative findings and first reports after settlement.
|
|
188
|
+
* @param attempt - Coherent attempt row including retained terminal operation and Preparation receipts.
|
|
189
|
+
* @param cancellation - Winning Cancel receipt from the same transaction.
|
|
190
|
+
* @param stored - Original final report for the candidate revision and generation.
|
|
191
|
+
* @param input - Snapshotted runtime report with trusted owner.
|
|
192
|
+
* @returns Mutation decision without altering admission, outcome, provider or Job state.
|
|
193
|
+
*/
|
|
194
|
+
declare function evaluateAttemptControlReport(attempt: ExecutionAttemptRecord | null, cancellation: ExecutionAttemptCancellationIntent | null, stored: ExecutionAttemptControlReport | null, input: ReportAttemptControlInput): AttemptControlEvidenceDecision;
|
|
195
|
+
//#endregion
|
|
114
196
|
//#region subsystems/workflow-engine/src/execution-attempt-cancellation.d.ts
|
|
115
197
|
/** Owner-scoped cancellation of attempts that exist when the request commits. */
|
|
116
198
|
interface RequestExecutionCancellationInput {
|
|
@@ -2078,7 +2160,7 @@ type RuntimeReadinessDecision = {
|
|
|
2078
2160
|
* value no reload of the attempt ever yields.
|
|
2079
2161
|
* @typeParam TOutcome - Owner-specific outcome type committed per attempt.
|
|
2080
2162
|
*/
|
|
2081
|
-
interface ExecutionAttemptRepository<TOutcome> extends OwnerRequestRecoveryRepository<TOutcome
|
|
2163
|
+
interface ExecutionAttemptRepository<TOutcome> extends OwnerRequestRecoveryRepository<TOutcome>, AttemptControlEvidenceRepository {
|
|
2082
2164
|
/**
|
|
2083
2165
|
* Atomically accept an owner's exact-attempt Cancel and close its operation start gate.
|
|
2084
2166
|
* Pending and historical attempts remain eligible for monotone cleanup; this grants no
|
|
@@ -2669,4 +2751,4 @@ interface ExecutionAttemptRecoveryOperations {
|
|
|
2669
2751
|
listOpenProviderOperations(input: ListOpenProviderOperationsInput): Promise<readonly OpenProviderOperationRecord[]>;
|
|
2670
2752
|
}
|
|
2671
2753
|
//#endregion
|
|
2672
|
-
export { InitialProviderOperationClaimContextSource as $, OperationReportDecision as A, evaluateRuntimeReadiness as At, RecordProvisioningAbsentInput as B, snapshotRequestExecutionCancellationInput as Bt, ExecutionAttemptStatus as C, RuntimeOutcomeFenceMismatchError as Ct, MarkRuntimeReadyInput as D, evaluateOperationCompletion as Dt, InfrastructureFailureDecision as E, evaluateOperationAdmission as Et, ReadBootstrapStartStateInput as F, RequestAttemptCancellationInput as Ft, RuntimeRegistrationDecision as G,
|
|
2754
|
+
export { InitialProviderOperationClaimContextSource as $, AttemptSettlementSnapshot as $t, OperationReportDecision as A, evaluateRuntimeReadiness as At, RecordProvisioningAbsentInput as B, snapshotRequestExecutionCancellationInput as Bt, ExecutionAttemptStatus as C, RuntimeOutcomeFenceMismatchError as Ct, MarkRuntimeReadyInput as D, evaluateOperationCompletion as Dt, InfrastructureFailureDecision as E, evaluateOperationAdmission as Et, ReadBootstrapStartStateInput as F, RequestAttemptCancellationInput as Ft, RuntimeRegistrationDecision as G, ReadAttemptCancellationControlInput as Gt, RegisterRuntimeInput as H, AttemptControlEvidence as Ht, RecordAllocationInput as I, RequestExecutionCancellationInput as It, sameAllocationRef as J, evaluateAttemptControlReceipt as Jt, decodeDurableOutcome as K, RecordAttemptControlReceiptInput as Kt, RecordAllocationTerminatedInput as L, evaluateAttemptCancellation as Lt, PendingAttemptAbandonmentDecision as M, AttemptOutcomeControlObservation$1 as Mt, PreparationReceipt as N, ExecutionAttemptCancellationDecision as Nt, OperationAdmissionDecision as O, evaluatePreparationReport as Ot, ProvisioningClaimDecision as P, ExecutionAttemptCancellationIntent$1 as Pt, InitialProviderOperationClaimContext as Q, AttemptSettlementRead as Qt, RecordInfrastructureFailureInput as R, snapshotAttemptOutcomeControl as Rt, ExecutionAttemptSettlementKind as S, RuntimeOutcomeFence as St, GetInstructionInput as T, evaluateAttemptReachability as Tt, ReportOperationInput as U, AttemptControlEvidenceDecision as Ut, RecoverableAttemptRecord as V, AttemptCancellationControlState as Vt, RuntimeReadinessDecision as W, AttemptControlEvidenceRepository as Wt, CompleteProviderOperationInput as X, snapshotAttemptControlReceipt as Xt, sameDurableOutcome as Y, evaluateAttemptControlReport as Yt, HandoffProviderOperationInput as Z, snapshotAttemptControlReport as Zt, EXECUTION_ATTEMPT_STATUSES as _, isProviderOperationResolved as _t, AllocationRefEvolutionDecision as a, replayEnsuredAttempt as an, ProviderOperationClaimDecision as at, ExecutionAttemptRecoveryOperations as b, AttemptReachability as bt, AttemptExecutionState as c, snapshotReadAttemptSettlementInput as cn, ProviderOperationLeaseRenewal as ct, BootstrapStartState as d, ProviderOperationOwnershipRecord as dt, EnsureExecutionAttemptDecision as en, ListOpenProviderOperationsInput as et, CompleteOperationInput as f, ProvisionerIncarnationLossDecision as ft, EXECUTION_ATTEMPT_SETTLEMENT_KINDS as g, TakeOverProviderOperationInput as gt, DurableOutcome as h, RenewProviderOperationClaimInput as ht, AllocationRefEvolution as i, readAttemptSettlementSnapshot as in, ProviderOperationClaim as it, OutcomeCodec as j, evaluateRuntimeRegistration as jt, OperationCompletionDecision as k, evaluateProvisionerIncarnationLoss as kt, AttemptOperationStartGate as l, ProviderOperationMutationDecision as lt, DuplicateExecutionAttemptError as m, RecordProviderOperationUncertaintyInput as mt, AdmitOperationInput as n, EnsureExecutionAttemptPersistenceInput as nn, PROVIDER_OPERATION_OBLIGATIONS as nt, AllocationTerminationDecision as o, snapshotEnsureExecutionAttemptInput as on, ProviderOperationCompletionDecision as ot, DiscoveredAllocationDecision as p, ProvisioningAbsenceDecision as pt, durableOutcome as q, ReportAttemptControlInput as qt, AllocationRecordingDecision as r, ReadAttemptSettlementInput as rn, ProcessBoundProvisionerLossProof as rt, AttemptControlState as s, snapshotEnsureExecutionAttemptPersistenceInput as sn, ProviderOperationLeasePolicy as st, ATTEMPT_OPERATION_START_GATES as t, EnsureExecutionAttemptInput as tn, OpenProviderOperationRecord as tt, BeginProvisioningInput as u, ProviderOperationObligation as ut, ExecutionAttemptCreate as v, ExecutionAttemptOutcomeCommit as vt, ExecutionOwnerId as w, assertRuntimeOutcomeFence as wt, ExecutionAttemptRepository as x, AttemptReachabilityDecision as xt, ExecutionAttemptRecord as y, ExecutionAttemptOutcomeDecision as yt, RecordProvisionerIncarnationLostInput as z, snapshotRequestAttemptCancellationInput as zt };
|
|
@@ -63,8 +63,8 @@ declare const ExtensionWarningActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
63
63
|
* - `'degraded'` — the extension is operating in a degraded fallback mode.
|
|
64
64
|
*/
|
|
65
65
|
declare const ExtensionWarningSeveritySchema: z.ZodEnum<{
|
|
66
|
-
info: "info";
|
|
67
66
|
degraded: "degraded";
|
|
67
|
+
info: "info";
|
|
68
68
|
recommended: "recommended";
|
|
69
69
|
}>;
|
|
70
70
|
/**
|
|
@@ -75,8 +75,8 @@ declare const ExtensionWarningSeveritySchema: z.ZodEnum<{
|
|
|
75
75
|
*/
|
|
76
76
|
declare const ExtensionWarningSchema: z.ZodObject<{
|
|
77
77
|
severity: z.ZodEnum<{
|
|
78
|
-
info: "info";
|
|
79
78
|
degraded: "degraded";
|
|
79
|
+
info: "info";
|
|
80
80
|
recommended: "recommended";
|
|
81
81
|
}>;
|
|
82
82
|
title: z.ZodString;
|
|
@@ -122,8 +122,8 @@ declare const ExtensionWarningEntrySchema: z.ZodObject<{
|
|
|
122
122
|
extensionName: z.ZodString;
|
|
123
123
|
warnings: z.ZodArray<z.ZodObject<{
|
|
124
124
|
severity: z.ZodEnum<{
|
|
125
|
-
info: "info";
|
|
126
125
|
degraded: "degraded";
|
|
126
|
+
info: "info";
|
|
127
127
|
recommended: "recommended";
|
|
128
128
|
}>;
|
|
129
129
|
title: z.ZodString;
|