@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,5 +1,5 @@
|
|
|
1
|
-
import { $ as InitialProviderOperationClaimContextSource, At as evaluateRuntimeReadiness, B as RecordProvisioningAbsentInput, Bt as snapshotRequestExecutionCancellationInput, C as ExecutionAttemptStatus, Ct as RuntimeOutcomeFenceMismatchError, D as MarkRuntimeReadyInput, Dt as evaluateOperationCompletion, E as InfrastructureFailureDecision, Et as evaluateOperationAdmission, F as ReadBootstrapStartStateInput, Ft as RequestAttemptCancellationInput, G as RuntimeRegistrationDecision, Gt as
|
|
2
|
-
import { A as BootstrapStartOptions, C as OutcomeAcceptance, D as submitAttemptOutcome, E as OutcomePreCommitValidation, M as WorkflowMaterializationSpecResolver, N as WorkflowWorkspaceRootResolver, O as ExecutionAttemptAuthority, P as registerDrizzleWorkflowStorage, S as AttemptOutcomeSubmissionDeps, T as OutcomeConvergenceInput, _ as AttemptOutcomeDecodingInput, a as WorkflowEngineServiceOptions, b as AcceptedAttemptOutcome, c as CommittedWorkflowOutcomeIdentity, d as WorkflowAttemptOutcomeSchema, f as WorkflowAttemptTechnicalFailure, g as workflowAttemptOutcomeCodec, h as toCommittedWorkflowRunnerResult, i as WorkflowEngineService, j as WorkflowMaterializationSpecResolution, k as BootstrapStartAuthority, l as WorkflowAttemptCancellation, m as toCommittedWorkflowRunnerCompletion, n as createWorkflowEnginePackage, o as WorkflowTriggerReconciler, p as decodeWorkflowAttemptOutcome, r as workflowEnginePackage, s as WorkflowExecutor, t as WorkflowEngineToken, u as WorkflowAttemptOutcome, v as ExecutionAttemptHandlersDeps, w as OutcomeConvergence, x as AttemptOutcomeSubmission, y as registerExecutionAttemptHandlers } from "../package-
|
|
1
|
+
import { $ as InitialProviderOperationClaimContextSource, $t as AttemptSettlementSnapshot, At as evaluateRuntimeReadiness, B as RecordProvisioningAbsentInput, Bt as snapshotRequestExecutionCancellationInput, C as ExecutionAttemptStatus, Ct as RuntimeOutcomeFenceMismatchError, D as MarkRuntimeReadyInput, Dt as evaluateOperationCompletion, E as InfrastructureFailureDecision, Et as evaluateOperationAdmission, F as ReadBootstrapStartStateInput, Ft as RequestAttemptCancellationInput, G as RuntimeRegistrationDecision, Gt as ReadAttemptCancellationControlInput, H as RegisterRuntimeInput, Ht as AttemptControlEvidence, I as RecordAllocationInput, It as RequestExecutionCancellationInput, J as sameAllocationRef, Jt as evaluateAttemptControlReceipt, K as decodeDurableOutcome, Kt as RecordAttemptControlReceiptInput, L as RecordAllocationTerminatedInput, Lt as evaluateAttemptCancellation, M as PendingAttemptAbandonmentDecision, Mt as AttemptOutcomeControlObservation, Nt as ExecutionAttemptCancellationDecision, O as OperationAdmissionDecision, P as ProvisioningClaimDecision, Pt as ExecutionAttemptCancellationIntent, Q as InitialProviderOperationClaimContext, Qt as AttemptSettlementRead, R as RecordInfrastructureFailureInput, Rt as snapshotAttemptOutcomeControl, S as ExecutionAttemptSettlementKind, St as RuntimeOutcomeFence, Tt as evaluateAttemptReachability, Ut as AttemptControlEvidenceDecision, V as RecoverableAttemptRecord, Vt as AttemptCancellationControlState, W as RuntimeReadinessDecision, Wt as AttemptControlEvidenceRepository, X as CompleteProviderOperationInput, Xt as snapshotAttemptControlReceipt, Y as sameDurableOutcome, Yt as evaluateAttemptControlReport, Z as HandoffProviderOperationInput, Zt as snapshotAttemptControlReport, _ as EXECUTION_ATTEMPT_STATUSES, _t as isProviderOperationResolved, a as AllocationRefEvolutionDecision, an as replayEnsuredAttempt, at as ProviderOperationClaimDecision, b as ExecutionAttemptRecoveryOperations, bt as AttemptReachability, cn as snapshotReadAttemptSettlementInput, ct as ProviderOperationLeaseRenewal, d as BootstrapStartState, dt as ProviderOperationOwnershipRecord, en as EnsureExecutionAttemptDecision, et as ListOpenProviderOperationsInput, f as CompleteOperationInput, ft as ProvisionerIncarnationLossDecision, g as EXECUTION_ATTEMPT_SETTLEMENT_KINDS, gt as TakeOverProviderOperationInput, h as DurableOutcome, ht as RenewProviderOperationClaimInput, i as AllocationRefEvolution, in as readAttemptSettlementSnapshot, it as ProviderOperationClaim, j as OutcomeCodec, jt as evaluateRuntimeRegistration, k as OperationCompletionDecision, kt as evaluateProvisionerIncarnationLoss, l as AttemptOperationStartGate, lt as ProviderOperationMutationDecision, m as DuplicateExecutionAttemptError, mt as RecordProviderOperationUncertaintyInput, n as AdmitOperationInput, nn as EnsureExecutionAttemptPersistenceInput, nt as PROVIDER_OPERATION_OBLIGATIONS, o as AllocationTerminationDecision, on as snapshotEnsureExecutionAttemptInput, ot as ProviderOperationCompletionDecision, p as DiscoveredAllocationDecision, pt as ProvisioningAbsenceDecision, q as durableOutcome, qt as ReportAttemptControlInput, r as AllocationRecordingDecision, rn as ReadAttemptSettlementInput, rt as ProcessBoundProvisionerLossProof, s as AttemptControlState, sn as snapshotEnsureExecutionAttemptPersistenceInput, st as ProviderOperationLeasePolicy, t as ATTEMPT_OPERATION_START_GATES, tn as EnsureExecutionAttemptInput, tt as OpenProviderOperationRecord, u as BeginProvisioningInput, ut as ProviderOperationObligation, v as ExecutionAttemptCreate, vt as ExecutionAttemptOutcomeCommit, w as ExecutionOwnerId, wt as assertRuntimeOutcomeFence, x as ExecutionAttemptRepository, xt as AttemptReachabilityDecision, y as ExecutionAttemptRecord, yt as ExecutionAttemptOutcomeDecision, z as RecordProvisionerIncarnationLostInput, zt as snapshotRequestAttemptCancellationInput } from "../execution-attempt-repository-BoNwNybg.mjs";
|
|
2
|
+
import { A as BootstrapStartOptions, C as OutcomeAcceptance, D as submitAttemptOutcome, E as OutcomePreCommitValidation, M as WorkflowMaterializationSpecResolver, N as WorkflowWorkspaceRootResolver, O as ExecutionAttemptAuthority, P as registerDrizzleWorkflowStorage, S as AttemptOutcomeSubmissionDeps, T as OutcomeConvergenceInput, _ as AttemptOutcomeDecodingInput, a as WorkflowEngineServiceOptions, b as AcceptedAttemptOutcome, c as CommittedWorkflowOutcomeIdentity, d as WorkflowAttemptOutcomeSchema, f as WorkflowAttemptTechnicalFailure, g as workflowAttemptOutcomeCodec, h as toCommittedWorkflowRunnerResult, i as WorkflowEngineService, j as WorkflowMaterializationSpecResolution, k as BootstrapStartAuthority, l as WorkflowAttemptCancellation, m as toCommittedWorkflowRunnerCompletion, n as createWorkflowEnginePackage, o as WorkflowTriggerReconciler, p as decodeWorkflowAttemptOutcome, r as workflowEnginePackage, s as WorkflowExecutor, t as WorkflowEngineToken, u as WorkflowAttemptOutcome, v as ExecutionAttemptHandlersDeps, w as OutcomeConvergence, x as AttemptOutcomeSubmission, y as registerExecutionAttemptHandlers } from "../package-CnR_tOsW.mjs";
|
|
3
3
|
import { WorkflowTriggerPayloadPredicate, assertWorkflowTriggerPayload, compileWorkflowTriggerBindingFilter } from "./workflow-trigger-binding-consumer.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -54,6 +54,44 @@ interface ExecutionAttemptPeerIdentity {
|
|
|
54
54
|
*/
|
|
55
55
|
declare function resolveExecutionAttemptPeer(ctx: BaseMessageContext): ExecutionAttemptPeerIdentity | null;
|
|
56
56
|
//#endregion
|
|
57
|
+
//#region subsystems/workflow-engine/src/attempt-control-delivery.d.ts
|
|
58
|
+
/** The existing Authority supplies persistence; the caller supplies its live bus. */
|
|
59
|
+
interface AttemptControlDeliveryDeps {
|
|
60
|
+
readonly bus: IMakaioBus;
|
|
61
|
+
readonly authority: Pick<AttemptControlEvidenceRepository, 'readAttemptCancellationControl' | 'recordAttemptControlReceipt'>;
|
|
62
|
+
}
|
|
63
|
+
/** One bounded delivery, not a scheduler or a provider termination policy. */
|
|
64
|
+
interface ReconcileAttemptCancellationInput extends ReadAttemptCancellationControlInput {
|
|
65
|
+
/** Transport request budget; repository operations retain their own transaction lifetime. */
|
|
66
|
+
readonly timeoutMs: number;
|
|
67
|
+
readonly signal?: AbortSignal;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Received means an actual response; its persistence decision says whether it was stored.
|
|
71
|
+
* Evidence-complete means both receipt and final report are recorded, including
|
|
72
|
+
* unsupported/unconfirmed conclusions. It does not establish stop, success or cleanup permission.
|
|
73
|
+
*/
|
|
74
|
+
type AttemptControlDeliveryResult = {
|
|
75
|
+
readonly kind: 'not-found' | 'not-requested' | 'runtime-unregistered' | 'evidence-complete' | 'aborted' | 'unavailable' | 'invalid-receipt';
|
|
76
|
+
} | {
|
|
77
|
+
readonly kind: 'refused';
|
|
78
|
+
readonly reason: 'stale-generation' | 'unsupported';
|
|
79
|
+
} | {
|
|
80
|
+
readonly kind: 'received';
|
|
81
|
+
readonly persistence: AttemptControlEvidenceDecision;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Try one delivery of already accepted Cancel and persist only a genuine runtime response.
|
|
85
|
+
*
|
|
86
|
+
* A stored receipt without a final report remains eligible for redelivery: the runtime
|
|
87
|
+
* replays its response/report, never starts the workload again. Unknown transport outcomes
|
|
88
|
+
* remain unknown. This does not acquire an operation slot or touch outcome/provider state.
|
|
89
|
+
* @param deps - Live bus and durable Authority ports.
|
|
90
|
+
* @param input - Exact Attempt and explicit bounded transport-delivery budget.
|
|
91
|
+
* @returns This pass's transport and receipt-persistence result, not a stop conclusion.
|
|
92
|
+
*/
|
|
93
|
+
declare function reconcileAttemptCancellation(deps: AttemptControlDeliveryDeps, input: ReconcileAttemptCancellationInput): Promise<AttemptControlDeliveryResult>;
|
|
94
|
+
//#endregion
|
|
57
95
|
//#region subsystems/workflow-engine/src/workflow-attempt-instruction.d.ts
|
|
58
96
|
/** Installed adapter that interprets portable workflow invocation input. */
|
|
59
97
|
declare const WORKFLOW_WORKLOAD_KIND = "workflow";
|
|
@@ -797,8 +835,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
797
835
|
pending: "pending";
|
|
798
836
|
completed: "completed";
|
|
799
837
|
cancelled: "cancelled";
|
|
800
|
-
running: "running";
|
|
801
838
|
failed: "failed";
|
|
839
|
+
running: "running";
|
|
802
840
|
paused: "paused";
|
|
803
841
|
finalizing: "finalizing";
|
|
804
842
|
}>;
|
|
@@ -839,8 +877,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
839
877
|
pending: "pending";
|
|
840
878
|
completed: "completed";
|
|
841
879
|
cancelled: "cancelled";
|
|
842
|
-
running: "running";
|
|
843
880
|
failed: "failed";
|
|
881
|
+
running: "running";
|
|
844
882
|
paused: "paused";
|
|
845
883
|
finalizing: "finalizing";
|
|
846
884
|
}>;
|
|
@@ -888,8 +926,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
888
926
|
pending: "pending";
|
|
889
927
|
completed: "completed";
|
|
890
928
|
cancelled: "cancelled";
|
|
891
|
-
running: "running";
|
|
892
929
|
failed: "failed";
|
|
930
|
+
running: "running";
|
|
893
931
|
paused: "paused";
|
|
894
932
|
finalizing: "finalizing";
|
|
895
933
|
}>;
|
|
@@ -1148,8 +1186,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1148
1186
|
"delegate-agent": "delegate-agent";
|
|
1149
1187
|
"delegate-role": "delegate-role";
|
|
1150
1188
|
sequence: "sequence";
|
|
1151
|
-
gate: "gate";
|
|
1152
1189
|
parallel: "parallel";
|
|
1190
|
+
gate: "gate";
|
|
1153
1191
|
iterate: "iterate";
|
|
1154
1192
|
"iterate-chain": "iterate-chain";
|
|
1155
1193
|
loop: "loop";
|
|
@@ -1193,8 +1231,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1193
1231
|
"delegate-agent": "delegate-agent";
|
|
1194
1232
|
"delegate-role": "delegate-role";
|
|
1195
1233
|
sequence: "sequence";
|
|
1196
|
-
gate: "gate";
|
|
1197
1234
|
parallel: "parallel";
|
|
1235
|
+
gate: "gate";
|
|
1198
1236
|
iterate: "iterate";
|
|
1199
1237
|
"iterate-chain": "iterate-chain";
|
|
1200
1238
|
loop: "loop";
|
|
@@ -1228,8 +1266,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1228
1266
|
pending: "pending";
|
|
1229
1267
|
completed: "completed";
|
|
1230
1268
|
cancelled: "cancelled";
|
|
1231
|
-
running: "running";
|
|
1232
1269
|
failed: "failed";
|
|
1270
|
+
running: "running";
|
|
1233
1271
|
paused: "paused";
|
|
1234
1272
|
finalizing: "finalizing";
|
|
1235
1273
|
}>>;
|
|
@@ -1425,8 +1463,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1425
1463
|
pending: "pending";
|
|
1426
1464
|
completed: "completed";
|
|
1427
1465
|
cancelled: "cancelled";
|
|
1428
|
-
running: "running";
|
|
1429
1466
|
failed: "failed";
|
|
1467
|
+
running: "running";
|
|
1430
1468
|
paused: "paused";
|
|
1431
1469
|
finalizing: "finalizing";
|
|
1432
1470
|
}>>;
|
|
@@ -1449,8 +1487,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1449
1487
|
pending: "pending";
|
|
1450
1488
|
completed: "completed";
|
|
1451
1489
|
cancelled: "cancelled";
|
|
1452
|
-
running: "running";
|
|
1453
1490
|
failed: "failed";
|
|
1491
|
+
running: "running";
|
|
1454
1492
|
paused: "paused";
|
|
1455
1493
|
finalizing: "finalizing";
|
|
1456
1494
|
}>;
|
|
@@ -1502,8 +1540,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1502
1540
|
pending: "pending";
|
|
1503
1541
|
completed: "completed";
|
|
1504
1542
|
cancelled: "cancelled";
|
|
1505
|
-
running: "running";
|
|
1506
1543
|
failed: "failed";
|
|
1544
|
+
running: "running";
|
|
1507
1545
|
paused: "paused";
|
|
1508
1546
|
finalizing: "finalizing";
|
|
1509
1547
|
}>;
|
|
@@ -1551,8 +1589,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1551
1589
|
"delegate-agent": "delegate-agent";
|
|
1552
1590
|
"delegate-role": "delegate-role";
|
|
1553
1591
|
sequence: "sequence";
|
|
1554
|
-
gate: "gate";
|
|
1555
1592
|
parallel: "parallel";
|
|
1593
|
+
gate: "gate";
|
|
1556
1594
|
iterate: "iterate";
|
|
1557
1595
|
"iterate-chain": "iterate-chain";
|
|
1558
1596
|
loop: "loop";
|
|
@@ -1563,8 +1601,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1563
1601
|
pending: "pending";
|
|
1564
1602
|
completed: "completed";
|
|
1565
1603
|
cancelled: "cancelled";
|
|
1566
|
-
running: "running";
|
|
1567
1604
|
failed: "failed";
|
|
1605
|
+
running: "running";
|
|
1568
1606
|
skipped: "skipped";
|
|
1569
1607
|
waiting: "waiting";
|
|
1570
1608
|
}>;
|
|
@@ -1597,8 +1635,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1597
1635
|
"delegate-agent": "delegate-agent";
|
|
1598
1636
|
"delegate-role": "delegate-role";
|
|
1599
1637
|
sequence: "sequence";
|
|
1600
|
-
gate: "gate";
|
|
1601
1638
|
parallel: "parallel";
|
|
1639
|
+
gate: "gate";
|
|
1602
1640
|
iterate: "iterate";
|
|
1603
1641
|
"iterate-chain": "iterate-chain";
|
|
1604
1642
|
loop: "loop";
|
|
@@ -1609,8 +1647,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1609
1647
|
pending: "pending";
|
|
1610
1648
|
completed: "completed";
|
|
1611
1649
|
cancelled: "cancelled";
|
|
1612
|
-
running: "running";
|
|
1613
1650
|
failed: "failed";
|
|
1651
|
+
running: "running";
|
|
1614
1652
|
skipped: "skipped";
|
|
1615
1653
|
waiting: "waiting";
|
|
1616
1654
|
}>;
|
|
@@ -1640,8 +1678,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1640
1678
|
"delegate-agent": "delegate-agent";
|
|
1641
1679
|
"delegate-role": "delegate-role";
|
|
1642
1680
|
sequence: "sequence";
|
|
1643
|
-
gate: "gate";
|
|
1644
1681
|
parallel: "parallel";
|
|
1682
|
+
gate: "gate";
|
|
1645
1683
|
iterate: "iterate";
|
|
1646
1684
|
"iterate-chain": "iterate-chain";
|
|
1647
1685
|
loop: "loop";
|
|
@@ -1652,8 +1690,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1652
1690
|
pending: "pending";
|
|
1653
1691
|
completed: "completed";
|
|
1654
1692
|
cancelled: "cancelled";
|
|
1655
|
-
running: "running";
|
|
1656
1693
|
failed: "failed";
|
|
1694
|
+
running: "running";
|
|
1657
1695
|
skipped: "skipped";
|
|
1658
1696
|
waiting: "waiting";
|
|
1659
1697
|
}>;
|
|
@@ -1920,8 +1958,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1920
1958
|
}>;
|
|
1921
1959
|
status: z.ZodEnum<{
|
|
1922
1960
|
completed: "completed";
|
|
1923
|
-
running: "running";
|
|
1924
1961
|
failed: "failed";
|
|
1962
|
+
running: "running";
|
|
1925
1963
|
skipped: "skipped";
|
|
1926
1964
|
}>;
|
|
1927
1965
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1956,8 +1994,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1956
1994
|
}>;
|
|
1957
1995
|
status: z.ZodEnum<{
|
|
1958
1996
|
completed: "completed";
|
|
1959
|
-
running: "running";
|
|
1960
1997
|
failed: "failed";
|
|
1998
|
+
running: "running";
|
|
1961
1999
|
skipped: "skipped";
|
|
1962
2000
|
}>;
|
|
1963
2001
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3020,7 +3058,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3020
3058
|
tableName: "workflow_executions";
|
|
3021
3059
|
dataType: "string";
|
|
3022
3060
|
columnType: "SQLiteText";
|
|
3023
|
-
data: "pending" | "completed" | "cancelled" | "
|
|
3061
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "paused" | "finalizing";
|
|
3024
3062
|
driverParam: string;
|
|
3025
3063
|
notNull: true;
|
|
3026
3064
|
hasDefault: false;
|
|
@@ -3289,7 +3327,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3289
3327
|
tableName: "workflow_execution_frames";
|
|
3290
3328
|
dataType: "string";
|
|
3291
3329
|
columnType: "SQLiteText";
|
|
3292
|
-
data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "
|
|
3330
|
+
data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
|
|
3293
3331
|
driverParam: string;
|
|
3294
3332
|
notNull: true;
|
|
3295
3333
|
hasDefault: false;
|
|
@@ -3302,7 +3340,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3302
3340
|
generated: undefined;
|
|
3303
3341
|
}, {}, {
|
|
3304
3342
|
length: number | undefined;
|
|
3305
|
-
$type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "
|
|
3343
|
+
$type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
|
|
3306
3344
|
}>;
|
|
3307
3345
|
path: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3308
3346
|
name: string;
|
|
@@ -3347,7 +3385,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3347
3385
|
tableName: "workflow_execution_frames";
|
|
3348
3386
|
dataType: "string";
|
|
3349
3387
|
columnType: "SQLiteText";
|
|
3350
|
-
data: "pending" | "completed" | "cancelled" | "
|
|
3388
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
|
|
3351
3389
|
driverParam: string;
|
|
3352
3390
|
notNull: true;
|
|
3353
3391
|
hasDefault: true;
|
|
@@ -3360,7 +3398,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3360
3398
|
generated: undefined;
|
|
3361
3399
|
}, {}, {
|
|
3362
3400
|
length: number | undefined;
|
|
3363
|
-
$type: "pending" | "completed" | "cancelled" | "
|
|
3401
|
+
$type: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
|
|
3364
3402
|
}>;
|
|
3365
3403
|
attempt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3366
3404
|
name: string;
|
|
@@ -3858,7 +3896,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3858
3896
|
tableName: "workflow_step_spans";
|
|
3859
3897
|
dataType: "string";
|
|
3860
3898
|
columnType: "SQLiteText";
|
|
3861
|
-
data: "completed" | "
|
|
3899
|
+
data: "completed" | "failed" | "running" | "skipped";
|
|
3862
3900
|
driverParam: string;
|
|
3863
3901
|
notNull: true;
|
|
3864
3902
|
hasDefault: false;
|
|
@@ -3871,7 +3909,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3871
3909
|
generated: undefined;
|
|
3872
3910
|
}, {}, {
|
|
3873
3911
|
length: number | undefined;
|
|
3874
|
-
$type: "completed" | "
|
|
3912
|
+
$type: "completed" | "failed" | "running" | "skipped";
|
|
3875
3913
|
}>;
|
|
3876
3914
|
startedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3877
3915
|
name: string;
|
|
@@ -4880,7 +4918,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4880
4918
|
tableName: "worklog_summaries";
|
|
4881
4919
|
dataType: "string";
|
|
4882
4920
|
columnType: "SQLiteText";
|
|
4883
|
-
data: "pending" | "completed" | "cancelled" | "
|
|
4921
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "paused" | "finalizing";
|
|
4884
4922
|
driverParam: string;
|
|
4885
4923
|
notNull: true;
|
|
4886
4924
|
hasDefault: false;
|
|
@@ -5103,7 +5141,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
5103
5141
|
tableName: "worklog_frame_entries";
|
|
5104
5142
|
dataType: "string";
|
|
5105
5143
|
columnType: "SQLiteText";
|
|
5106
|
-
data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "
|
|
5144
|
+
data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
|
|
5107
5145
|
driverParam: string;
|
|
5108
5146
|
notNull: true;
|
|
5109
5147
|
hasDefault: false;
|
|
@@ -5116,7 +5154,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
5116
5154
|
generated: undefined;
|
|
5117
5155
|
}, {}, {
|
|
5118
5156
|
length: number | undefined;
|
|
5119
|
-
$type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "
|
|
5157
|
+
$type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
|
|
5120
5158
|
}>;
|
|
5121
5159
|
path: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
5122
5160
|
name: string;
|
|
@@ -5142,7 +5180,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
5142
5180
|
tableName: "worklog_frame_entries";
|
|
5143
5181
|
dataType: "string";
|
|
5144
5182
|
columnType: "SQLiteText";
|
|
5145
|
-
data: "pending" | "completed" | "cancelled" | "
|
|
5183
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
|
|
5146
5184
|
driverParam: string;
|
|
5147
5185
|
notNull: true;
|
|
5148
5186
|
hasDefault: false;
|
|
@@ -5976,7 +6014,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
5976
6014
|
tableName: "workflow_finalizations";
|
|
5977
6015
|
dataType: "string";
|
|
5978
6016
|
columnType: "SQLiteText";
|
|
5979
|
-
data: "
|
|
6017
|
+
data: "failed" | "acknowledged" | "claimed";
|
|
5980
6018
|
driverParam: string;
|
|
5981
6019
|
notNull: true;
|
|
5982
6020
|
hasDefault: false;
|
|
@@ -6420,8 +6458,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6420
6458
|
pending: "pending";
|
|
6421
6459
|
completed: "completed";
|
|
6422
6460
|
cancelled: "cancelled";
|
|
6423
|
-
running: "running";
|
|
6424
6461
|
failed: "failed";
|
|
6462
|
+
running: "running";
|
|
6425
6463
|
paused: "paused";
|
|
6426
6464
|
finalizing: "finalizing";
|
|
6427
6465
|
}>;
|
|
@@ -6462,8 +6500,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6462
6500
|
pending: "pending";
|
|
6463
6501
|
completed: "completed";
|
|
6464
6502
|
cancelled: "cancelled";
|
|
6465
|
-
running: "running";
|
|
6466
6503
|
failed: "failed";
|
|
6504
|
+
running: "running";
|
|
6467
6505
|
paused: "paused";
|
|
6468
6506
|
finalizing: "finalizing";
|
|
6469
6507
|
}>;
|
|
@@ -6511,8 +6549,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6511
6549
|
pending: "pending";
|
|
6512
6550
|
completed: "completed";
|
|
6513
6551
|
cancelled: "cancelled";
|
|
6514
|
-
running: "running";
|
|
6515
6552
|
failed: "failed";
|
|
6553
|
+
running: "running";
|
|
6516
6554
|
paused: "paused";
|
|
6517
6555
|
finalizing: "finalizing";
|
|
6518
6556
|
}>;
|
|
@@ -6771,8 +6809,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6771
6809
|
"delegate-agent": "delegate-agent";
|
|
6772
6810
|
"delegate-role": "delegate-role";
|
|
6773
6811
|
sequence: "sequence";
|
|
6774
|
-
gate: "gate";
|
|
6775
6812
|
parallel: "parallel";
|
|
6813
|
+
gate: "gate";
|
|
6776
6814
|
iterate: "iterate";
|
|
6777
6815
|
"iterate-chain": "iterate-chain";
|
|
6778
6816
|
loop: "loop";
|
|
@@ -6816,8 +6854,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6816
6854
|
"delegate-agent": "delegate-agent";
|
|
6817
6855
|
"delegate-role": "delegate-role";
|
|
6818
6856
|
sequence: "sequence";
|
|
6819
|
-
gate: "gate";
|
|
6820
6857
|
parallel: "parallel";
|
|
6858
|
+
gate: "gate";
|
|
6821
6859
|
iterate: "iterate";
|
|
6822
6860
|
"iterate-chain": "iterate-chain";
|
|
6823
6861
|
loop: "loop";
|
|
@@ -6851,8 +6889,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6851
6889
|
pending: "pending";
|
|
6852
6890
|
completed: "completed";
|
|
6853
6891
|
cancelled: "cancelled";
|
|
6854
|
-
running: "running";
|
|
6855
6892
|
failed: "failed";
|
|
6893
|
+
running: "running";
|
|
6856
6894
|
paused: "paused";
|
|
6857
6895
|
finalizing: "finalizing";
|
|
6858
6896
|
}>>;
|
|
@@ -7048,8 +7086,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7048
7086
|
pending: "pending";
|
|
7049
7087
|
completed: "completed";
|
|
7050
7088
|
cancelled: "cancelled";
|
|
7051
|
-
running: "running";
|
|
7052
7089
|
failed: "failed";
|
|
7090
|
+
running: "running";
|
|
7053
7091
|
paused: "paused";
|
|
7054
7092
|
finalizing: "finalizing";
|
|
7055
7093
|
}>>;
|
|
@@ -7072,8 +7110,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7072
7110
|
pending: "pending";
|
|
7073
7111
|
completed: "completed";
|
|
7074
7112
|
cancelled: "cancelled";
|
|
7075
|
-
running: "running";
|
|
7076
7113
|
failed: "failed";
|
|
7114
|
+
running: "running";
|
|
7077
7115
|
paused: "paused";
|
|
7078
7116
|
finalizing: "finalizing";
|
|
7079
7117
|
}>;
|
|
@@ -7125,8 +7163,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7125
7163
|
pending: "pending";
|
|
7126
7164
|
completed: "completed";
|
|
7127
7165
|
cancelled: "cancelled";
|
|
7128
|
-
running: "running";
|
|
7129
7166
|
failed: "failed";
|
|
7167
|
+
running: "running";
|
|
7130
7168
|
paused: "paused";
|
|
7131
7169
|
finalizing: "finalizing";
|
|
7132
7170
|
}>;
|
|
@@ -7174,8 +7212,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7174
7212
|
"delegate-agent": "delegate-agent";
|
|
7175
7213
|
"delegate-role": "delegate-role";
|
|
7176
7214
|
sequence: "sequence";
|
|
7177
|
-
gate: "gate";
|
|
7178
7215
|
parallel: "parallel";
|
|
7216
|
+
gate: "gate";
|
|
7179
7217
|
iterate: "iterate";
|
|
7180
7218
|
"iterate-chain": "iterate-chain";
|
|
7181
7219
|
loop: "loop";
|
|
@@ -7186,8 +7224,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7186
7224
|
pending: "pending";
|
|
7187
7225
|
completed: "completed";
|
|
7188
7226
|
cancelled: "cancelled";
|
|
7189
|
-
running: "running";
|
|
7190
7227
|
failed: "failed";
|
|
7228
|
+
running: "running";
|
|
7191
7229
|
skipped: "skipped";
|
|
7192
7230
|
waiting: "waiting";
|
|
7193
7231
|
}>;
|
|
@@ -7220,8 +7258,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7220
7258
|
"delegate-agent": "delegate-agent";
|
|
7221
7259
|
"delegate-role": "delegate-role";
|
|
7222
7260
|
sequence: "sequence";
|
|
7223
|
-
gate: "gate";
|
|
7224
7261
|
parallel: "parallel";
|
|
7262
|
+
gate: "gate";
|
|
7225
7263
|
iterate: "iterate";
|
|
7226
7264
|
"iterate-chain": "iterate-chain";
|
|
7227
7265
|
loop: "loop";
|
|
@@ -7232,8 +7270,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7232
7270
|
pending: "pending";
|
|
7233
7271
|
completed: "completed";
|
|
7234
7272
|
cancelled: "cancelled";
|
|
7235
|
-
running: "running";
|
|
7236
7273
|
failed: "failed";
|
|
7274
|
+
running: "running";
|
|
7237
7275
|
skipped: "skipped";
|
|
7238
7276
|
waiting: "waiting";
|
|
7239
7277
|
}>;
|
|
@@ -7263,8 +7301,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7263
7301
|
"delegate-agent": "delegate-agent";
|
|
7264
7302
|
"delegate-role": "delegate-role";
|
|
7265
7303
|
sequence: "sequence";
|
|
7266
|
-
gate: "gate";
|
|
7267
7304
|
parallel: "parallel";
|
|
7305
|
+
gate: "gate";
|
|
7268
7306
|
iterate: "iterate";
|
|
7269
7307
|
"iterate-chain": "iterate-chain";
|
|
7270
7308
|
loop: "loop";
|
|
@@ -7275,8 +7313,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7275
7313
|
pending: "pending";
|
|
7276
7314
|
completed: "completed";
|
|
7277
7315
|
cancelled: "cancelled";
|
|
7278
|
-
running: "running";
|
|
7279
7316
|
failed: "failed";
|
|
7317
|
+
running: "running";
|
|
7280
7318
|
skipped: "skipped";
|
|
7281
7319
|
waiting: "waiting";
|
|
7282
7320
|
}>;
|
|
@@ -7543,8 +7581,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7543
7581
|
}>;
|
|
7544
7582
|
status: z.ZodEnum<{
|
|
7545
7583
|
completed: "completed";
|
|
7546
|
-
running: "running";
|
|
7547
7584
|
failed: "failed";
|
|
7585
|
+
running: "running";
|
|
7548
7586
|
skipped: "skipped";
|
|
7549
7587
|
}>;
|
|
7550
7588
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7579,8 +7617,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7579
7617
|
}>;
|
|
7580
7618
|
status: z.ZodEnum<{
|
|
7581
7619
|
completed: "completed";
|
|
7582
|
-
running: "running";
|
|
7583
7620
|
failed: "failed";
|
|
7621
|
+
running: "running";
|
|
7584
7622
|
skipped: "skipped";
|
|
7585
7623
|
}>;
|
|
7586
7624
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8293,7 +8331,7 @@ declare const workflowStepSpansDual: _$_makaio_storage_drizzle0.DualTable<"workf
|
|
|
8293
8331
|
frameId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"frame_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"frame_id", [string, ...string[]]>>>; /** Step identifier within the workflow definition. */
|
|
8294
8332
|
stepId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"step_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"step_id", [string, ...string[]]>>>; /** Step type discriminant. */
|
|
8295
8333
|
stepType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"step_type", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"step_type", [string, ...string[]]>>>; /** Current span status. */
|
|
8296
|
-
status: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"status", [string, ...string[]], number | undefined>, "completed" | "
|
|
8334
|
+
status: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"status", [string, ...string[]], number | undefined>, "completed" | "failed" | "running" | "skipped">>, _$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"status", [string, ...string[]]>, "completed" | "failed" | "running" | "skipped">>>; /** Step start timestamp (epoch ms). */
|
|
8297
8335
|
startedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Step completion timestamp (epoch ms). */
|
|
8298
8336
|
completedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Wall-clock duration in milliseconds. */
|
|
8299
8337
|
durationMs: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Input tokens consumed (agent steps). */
|
|
@@ -8341,7 +8379,7 @@ declare const worklogFrameEntriesDual: _$_makaio_storage_drizzle0.DualTable<"wor
|
|
|
8341
8379
|
/** Unique frame identifier within the execution. */frameId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"frame_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"frame_id", [string, ...string[]]>>>>; /** Execution this frame belongs to. */
|
|
8342
8380
|
executionId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"execution_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"execution_id", [string, ...string[]]>>>; /** Node identifier from the workflow definition. */
|
|
8343
8381
|
nodeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"node_id", [string, ...string[]]>>>; /** Node type discriminant. */
|
|
8344
|
-
nodeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_type", [string, ...string[]], number | undefined>>, "station" | "delegate-agent" | "delegate-role" | "sequence" | "
|
|
8382
|
+
nodeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_type", [string, ...string[]], number | undefined>>, "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"node_type", [string, ...string[]]>>, "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop">>;
|
|
8345
8383
|
/**
|
|
8346
8384
|
* Ordered path of frame IDs from the root frame to this frame (inclusive).
|
|
8347
8385
|
* Stored as a JSON array for tree correlation.
|
|
@@ -8442,4 +8480,4 @@ declare function patchWorkflowState(db: MakaioDatabase, params: {
|
|
|
8442
8480
|
value: JsonValue;
|
|
8443
8481
|
}>;
|
|
8444
8482
|
//#endregion
|
|
8445
|
-
export { ATTEMPT_OPERATION_START_GATES, type AcceptedAttemptOutcome, type AdmitOperationInput, type AllocationRecordingDecision, type AllocationRefEvolution, type AllocationRefEvolutionDecision, type AllocationTerminationDecision, type AttemptControlState, type AttemptOperationStartGate, type AttemptOutcomeControlObservation, type AttemptOutcomeDecodingInput, type AttemptOutcomeSubmission, type AttemptOutcomeSubmissionDeps, type AttemptReachability, type AttemptReachabilityDecision, type AttemptSettlementRead, type AttemptSettlementSnapshot, type AuthorityDispatchRunnerOptions, type BeginProvisioningInput, type BootstrapStartAuthority, type BootstrapStartOptions, type BootstrapStartState, type BuildWorkflowAttemptInstructionOptions, type CommittedWorkflowOutcomeIdentity, type CompleteOperationInput, type CompleteProviderOperationInput, type DiscoveredAllocationDecision, DuplicateExecutionAttemptError, type DurableOutcome, EXECUTION_ATTEMPT_SETTLEMENT_KINDS, EXECUTION_ATTEMPT_STATUSES, type EnsureExecutionAttemptDecision, type EnsureExecutionAttemptInput, type EnsureExecutionAttemptPersistenceInput, ExecutionAttemptAuthority, type ExecutionAttemptCancellationDecision, type ExecutionAttemptCancellationIntent, type ExecutionAttemptCreate, type ExecutionAttemptHandlersDeps, type ExecutionAttemptOutcomeCommit, type ExecutionAttemptOutcomeDecision, type ExecutionAttemptPeerIdentity, type ExecutionAttemptRecord, type ExecutionAttemptRecoveryOperations, type ExecutionAttemptRepository, type ExecutionAttemptSettlementKind, type ExecutionAttemptStatus, type ExecutionOwnerId, type HandoffProviderOperationInput, type InfrastructureFailureDecision, type InitialProviderOperationClaimContext, type InitialProviderOperationClaimContextSource, type ListOpenProviderOperationsInput, type MarkRuntimeReadyInput, type OpenProviderOperationRecord, type OperationAdmissionDecision, type OperationAdmissionDeps, type OperationCompletionDecision, type OutcomeAcceptance, type OutcomeCodec, type OutcomeConvergence, type OutcomeConvergenceInput, type OutcomePreCommitValidation, PROVIDER_OPERATION_OBLIGATIONS, type PendingAttemptAbandonmentDecision, type ProcessBoundProvisionerLossProof, type ProviderOperationClaim, type ProviderOperationClaimDecision, type ProviderOperationCompletionDecision, type ProviderOperationLeasePolicy, type ProviderOperationLeaseRenewal, type ProviderOperationMutationDecision, type ProviderOperationObligation, type ProviderOperationOwnershipRecord, type ProvisionerIncarnationLossDecision, type ProvisioningAbsenceDecision, type ProvisioningClaimDecision, RUNTIME_PROBE_DELIVERY_TIMEOUT_MS, type ReadAttemptSettlementInput, type ReadBootstrapStartStateInput, type RecordAllocationInput, type RecordAllocationTerminatedInput, type RecordInfrastructureFailureInput, type RecordProviderOperationUncertaintyInput, type RecordProvisionerIncarnationLostInput, type RecordProvisioningAbsentInput, type RecoverableAttemptRecord, type RegisterRuntimeInput, type RenewProviderOperationClaimInput, type RequestAttemptCancellationInput, type RequestExecutionCancellationInput, type RuntimeOutcomeFence, RuntimeOutcomeFenceMismatchError, type RuntimeReadinessDecision, type RuntimeRegistrationDecision, type RuntimeRegistrationDeps, type TakeOverProviderOperationInput, WORKFLOW_WORKLOAD_KIND, WORKFLOW_WORKLOAD_VERSION, type WorkflowAttemptCancellation, type WorkflowAttemptOutcome, WorkflowAttemptOutcomeSchema, type WorkflowAttemptTechnicalFailure, WorkflowEngineService, type WorkflowEngineServiceOptions, WorkflowEngineToken, WorkflowExecutor, type WorkflowInvocationInput, WorkflowInvocationInputSchema, type WorkflowMaterializationSpecResolution, type WorkflowMaterializationSpecResolver, WorkflowStorageNamespace, WorkflowStorageSubjects, type WorkflowSuccessFinalizer, type WorkflowTriggerPayloadPredicate, WorkflowTriggerReconciler, type WorkflowWorkspaceRootResolver, assertRuntimeOutcomeFence, assertWorkflowTriggerPayload, buildWorkflowAttemptInstruction, buildWorkflowExpressionContextFromResolvedInputs, compileWorkflowTriggerBindingFilter, createWorkflowEnginePackage, decodeDurableOutcome, decodeWorkflowAttemptOutcome, durableOutcome, evaluateAttemptCancellation, evaluateAttemptReachability, evaluateOperationAdmission, evaluateOperationCompletion, evaluateProvisionerIncarnationLoss, evaluateRuntimeReadiness, evaluateRuntimeRegistration, getWorkflowState, initializeWorkflowState, isProviderOperationResolved, parseWorkflowAttemptInstruction, patchWorkflowState, readAttemptSettlementSnapshot, registerBootstrapStartHandler, registerDrizzleWorkflowStorage, registerExecutionAttemptHandlers, registerOperationAdmissionHandler, registerRuntimeRegistrationHandler, replayEnsuredAttempt, resolveExecutionAttemptPeer, runAuthorityDispatchedAttempt, runShellStep, sameAllocationRef, sameDurableOutcome, snapshotAttemptOutcomeControl, snapshotEnsureExecutionAttemptInput, snapshotEnsureExecutionAttemptPersistenceInput, snapshotReadAttemptSettlementInput, snapshotRequestAttemptCancellationInput, snapshotRequestExecutionCancellationInput, submitAttemptOutcome, toCommittedWorkflowRunnerCompletion, toCommittedWorkflowRunnerResult, workflowAttemptOutcomeCodec, workflowDefinitionsDual, workflowEnginePackage, workflowExecutionStateDual, workflowExecutionStateEventsDual, workflowExecutionsDual, workflowFinalizationsDual, workflowStepSpansDual, worklogFrameEntriesDual, worklogSummariesDual };
|
|
8483
|
+
export { ATTEMPT_OPERATION_START_GATES, type AcceptedAttemptOutcome, type AdmitOperationInput, type AllocationRecordingDecision, type AllocationRefEvolution, type AllocationRefEvolutionDecision, type AllocationTerminationDecision, type AttemptCancellationControlState, type AttemptControlDeliveryDeps, type AttemptControlDeliveryResult, type AttemptControlEvidence, type AttemptControlEvidenceDecision, type AttemptControlEvidenceRepository, type AttemptControlState, type AttemptOperationStartGate, type AttemptOutcomeControlObservation, type AttemptOutcomeDecodingInput, type AttemptOutcomeSubmission, type AttemptOutcomeSubmissionDeps, type AttemptReachability, type AttemptReachabilityDecision, type AttemptSettlementRead, type AttemptSettlementSnapshot, type AuthorityDispatchRunnerOptions, type BeginProvisioningInput, type BootstrapStartAuthority, type BootstrapStartOptions, type BootstrapStartState, type BuildWorkflowAttemptInstructionOptions, type CommittedWorkflowOutcomeIdentity, type CompleteOperationInput, type CompleteProviderOperationInput, type DiscoveredAllocationDecision, DuplicateExecutionAttemptError, type DurableOutcome, EXECUTION_ATTEMPT_SETTLEMENT_KINDS, EXECUTION_ATTEMPT_STATUSES, type EnsureExecutionAttemptDecision, type EnsureExecutionAttemptInput, type EnsureExecutionAttemptPersistenceInput, ExecutionAttemptAuthority, type ExecutionAttemptCancellationDecision, type ExecutionAttemptCancellationIntent, type ExecutionAttemptCreate, type ExecutionAttemptHandlersDeps, type ExecutionAttemptOutcomeCommit, type ExecutionAttemptOutcomeDecision, type ExecutionAttemptPeerIdentity, type ExecutionAttemptRecord, type ExecutionAttemptRecoveryOperations, type ExecutionAttemptRepository, type ExecutionAttemptSettlementKind, type ExecutionAttemptStatus, type ExecutionOwnerId, type HandoffProviderOperationInput, type InfrastructureFailureDecision, type InitialProviderOperationClaimContext, type InitialProviderOperationClaimContextSource, type ListOpenProviderOperationsInput, type MarkRuntimeReadyInput, type OpenProviderOperationRecord, type OperationAdmissionDecision, type OperationAdmissionDeps, type OperationCompletionDecision, type OutcomeAcceptance, type OutcomeCodec, type OutcomeConvergence, type OutcomeConvergenceInput, type OutcomePreCommitValidation, PROVIDER_OPERATION_OBLIGATIONS, type PendingAttemptAbandonmentDecision, type ProcessBoundProvisionerLossProof, type ProviderOperationClaim, type ProviderOperationClaimDecision, type ProviderOperationCompletionDecision, type ProviderOperationLeasePolicy, type ProviderOperationLeaseRenewal, type ProviderOperationMutationDecision, type ProviderOperationObligation, type ProviderOperationOwnershipRecord, type ProvisionerIncarnationLossDecision, type ProvisioningAbsenceDecision, type ProvisioningClaimDecision, RUNTIME_PROBE_DELIVERY_TIMEOUT_MS, type ReadAttemptCancellationControlInput, type ReadAttemptSettlementInput, type ReadBootstrapStartStateInput, type ReconcileAttemptCancellationInput, type RecordAllocationInput, type RecordAllocationTerminatedInput, type RecordAttemptControlReceiptInput, type RecordInfrastructureFailureInput, type RecordProviderOperationUncertaintyInput, type RecordProvisionerIncarnationLostInput, type RecordProvisioningAbsentInput, type RecoverableAttemptRecord, type RegisterRuntimeInput, type RenewProviderOperationClaimInput, type ReportAttemptControlInput, type RequestAttemptCancellationInput, type RequestExecutionCancellationInput, type RuntimeOutcomeFence, RuntimeOutcomeFenceMismatchError, type RuntimeReadinessDecision, type RuntimeRegistrationDecision, type RuntimeRegistrationDeps, type TakeOverProviderOperationInput, WORKFLOW_WORKLOAD_KIND, WORKFLOW_WORKLOAD_VERSION, type WorkflowAttemptCancellation, type WorkflowAttemptOutcome, WorkflowAttemptOutcomeSchema, type WorkflowAttemptTechnicalFailure, WorkflowEngineService, type WorkflowEngineServiceOptions, WorkflowEngineToken, WorkflowExecutor, type WorkflowInvocationInput, WorkflowInvocationInputSchema, type WorkflowMaterializationSpecResolution, type WorkflowMaterializationSpecResolver, WorkflowStorageNamespace, WorkflowStorageSubjects, type WorkflowSuccessFinalizer, type WorkflowTriggerPayloadPredicate, WorkflowTriggerReconciler, type WorkflowWorkspaceRootResolver, assertRuntimeOutcomeFence, assertWorkflowTriggerPayload, buildWorkflowAttemptInstruction, buildWorkflowExpressionContextFromResolvedInputs, compileWorkflowTriggerBindingFilter, createWorkflowEnginePackage, decodeDurableOutcome, decodeWorkflowAttemptOutcome, durableOutcome, evaluateAttemptCancellation, evaluateAttemptControlReceipt, evaluateAttemptControlReport, evaluateAttemptReachability, evaluateOperationAdmission, evaluateOperationCompletion, evaluateProvisionerIncarnationLoss, evaluateRuntimeReadiness, evaluateRuntimeRegistration, getWorkflowState, initializeWorkflowState, isProviderOperationResolved, parseWorkflowAttemptInstruction, patchWorkflowState, readAttemptSettlementSnapshot, reconcileAttemptCancellation, registerBootstrapStartHandler, registerDrizzleWorkflowStorage, registerExecutionAttemptHandlers, registerOperationAdmissionHandler, registerRuntimeRegistrationHandler, replayEnsuredAttempt, resolveExecutionAttemptPeer, runAuthorityDispatchedAttempt, runShellStep, sameAllocationRef, sameDurableOutcome, snapshotAttemptControlReceipt, snapshotAttemptControlReport, snapshotAttemptOutcomeControl, snapshotEnsureExecutionAttemptInput, snapshotEnsureExecutionAttemptPersistenceInput, snapshotReadAttemptSettlementInput, snapshotRequestAttemptCancellationInput, snapshotRequestExecutionCancellationInput, submitAttemptOutcome, toCommittedWorkflowRunnerCompletion, toCommittedWorkflowRunnerResult, workflowAttemptOutcomeCodec, workflowDefinitionsDual, workflowEnginePackage, workflowExecutionStateDual, workflowExecutionStateEventsDual, workflowExecutionsDual, workflowFinalizationsDual, workflowStepSpansDual, worklogFrameEntriesDual, worklogSummariesDual };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e,C as t,D as n,E as
|
|
1
|
+
import{B as e,C as t,D as n,E as r,G as i,K as a,O as o,S as s,T as c,Y as l,at as u,b as d,dt as ee,ht as te,q as ne,rt as f,tt as p,v as m,w as h,x as g,xt as _,y as v,yt as y}from"../authority-state-bootstrap-DVFYemDL.mjs";import{_ as b,a as x,c as S,d as C,f as w,g as T,h as E,i as D,l as O,m as k,n as A,o as j,p as M,r as N,s as P,t as F,u as I}from"../package-tvzH3A0x.mjs";import{_ as L,a as R,b as z,c as B,d as V,f as H,g as U,h as W,i as G,l as K,m as q,n as re,o as J,p as Y,r as X,s as ie,t as ae,u as oe,x as se,y as ce}from"../execution-attempt-repository-CWbgCTwA.mjs";import{assertWorkflowTriggerPayload as le,compileWorkflowTriggerBindingFilter as ue}from"./workflow-trigger-binding-consumer.mjs";import{a as de,i as fe,n as pe,r as me,t as he}from"../execution-attempt-owner-recovery-D4APLAvt.mjs";import{i as ge,n as _e,r as ve,t as ye}from"../attempt-control-evidence-BKw1U3wL.mjs";import{PROVIDER_OPERATION_OBLIGATIONS as be,isProviderOperationResolved as xe}from"./provider-operation.mjs";import{ExecutionAttemptControlDeliveryResponseSchema as Se,ExecutionAttemptSubjects as Z,JsonValueSchema as Q,WorkflowFrameStateSchema as Ce}from"@makaio/framework/contracts";function we(e,t){return t.executionAttemptId===e.executionAttemptId&&t.runtimeIncarnationId===e.runtimeIncarnationId&&t.runtimeGeneration===e.runtimeGeneration&&t.controlRevision===e.cancellation.controlRevision&&t.requestKey===e.cancellation.requestKey}async function Te(e,t){let{executionId:n,executionAttemptId:r,timeoutMs:i,signal:a}=t;if(!Number.isSafeInteger(i)||i<=0)throw TypeError(`timeoutMs must be a positive safe integer`);if(a?.aborted)return{kind:`aborted`};let o=await e.authority.readAttemptCancellationControl({executionId:n,executionAttemptId:r});if(a?.aborted)return{kind:`aborted`};if(o===null)return{kind:`not-found`};if(o.cancellation===null)return{kind:`not-requested`};let{runtimeGeneration:s,runtimeIncarnationId:c}=o.control;if(c===null||s===0)return{kind:`runtime-unregistered`};let l=o.evidence.find(e=>e.controlRevision===o.cancellation?.controlRevision&&e.runtimeGeneration===s);if(l?.receipt&&l.report)return{kind:`evidence-complete`};let u={executionAttemptId:r,runtimeIncarnationId:c,runtimeGeneration:s,cancellation:o.cancellation},d;try{d=Se.parse(await e.bus.request(Z.control.deliver,u,{timeout:i,signal:a}))}catch{return{kind:a?.aborted?`aborted`:`unavailable`}}return d.decision===`refused`?{kind:`refused`,reason:d.reason}:we(u,d.receipt)?{kind:`received`,persistence:await e.authority.recordAttemptControlReceipt({...d.receipt,executionId:n})}:{kind:`invalid-receipt`}}const Ee=new Set([...Ce.shape.status.options]);function $(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function De(e){if(!$(e))return!1;for(let t of Object.values(e))if(!$(t)||typeof t.status!=`string`||!Ee.has(t.status)||`result`in t&&t.result!==void 0&&!Q.safeParse(t.result).success)return!1;return!0}function Oe(e){let t={trigger:$(e.trigger)?e.trigger:{},steps:De(e.steps)?e.steps:{},inputs:Q.safeParse(e.inputs).success?e.inputs:{}};return`item`in e&&(t.item=e.item),typeof e.index==`number`&&(t.index=e.index),t}export{ae as ATTEMPT_OPERATION_START_GATES,re as DuplicateExecutionAttemptError,X as EXECUTION_ATTEMPT_SETTLEMENT_KINDS,G as EXECUTION_ATTEMPT_STATUSES,x as ExecutionAttemptAuthority,be as PROVIDER_OPERATION_OBLIGATIONS,O as RUNTIME_PROBE_DELIVERY_TIMEOUT_MS,Y as RuntimeOutcomeFenceMismatchError,t as WORKFLOW_WORKLOAD_KIND,h as WORKFLOW_WORKLOAD_VERSION,m as WorkflowAttemptOutcomeSchema,D as WorkflowEngineService,F as WorkflowEngineToken,P as WorkflowExecutor,c as WorkflowInvocationInputSchema,a as WorkflowStorageNamespace,ne as WorkflowStorageSubjects,j as WorkflowTriggerReconciler,q as assertRuntimeOutcomeFence,le as assertWorkflowTriggerPayload,r as buildWorkflowAttemptInstruction,Oe as buildWorkflowExpressionContextFromResolvedInputs,ue as compileWorkflowTriggerBindingFilter,A as createWorkflowEnginePackage,R as decodeDurableOutcome,v as decodeWorkflowAttemptOutcome,J as durableOutcome,K as evaluateAttemptCancellation,ye as evaluateAttemptControlReceipt,_e as evaluateAttemptControlReport,W as evaluateAttemptReachability,U as evaluateOperationAdmission,L as evaluateOperationCompletion,ce as evaluateProvisionerIncarnationLoss,z as evaluateRuntimeReadiness,se as evaluateRuntimeRegistration,E as getWorkflowState,T as initializeWorkflowState,xe as isProviderOperationResolved,n as parseWorkflowAttemptInstruction,b as patchWorkflowState,he as readAttemptSettlementSnapshot,Te as reconcileAttemptCancellation,S as registerBootstrapStartHandler,k as registerDrizzleWorkflowStorage,w as registerExecutionAttemptHandlers,C as registerOperationAdmissionHandler,I as registerRuntimeRegistrationHandler,pe as replayEnsuredAttempt,i as resolveExecutionAttemptPeer,o as runAuthorityDispatchedAttempt,e as runShellStep,ie as sameAllocationRef,B as sameDurableOutcome,ve as snapshotAttemptControlReceipt,ge as snapshotAttemptControlReport,oe as snapshotAttemptOutcomeControl,me as snapshotEnsureExecutionAttemptInput,fe as snapshotEnsureExecutionAttemptPersistenceInput,de as snapshotReadAttemptSettlementInput,V as snapshotRequestAttemptCancellationInput,H as snapshotRequestExecutionCancellationInput,M as submitAttemptOutcome,d as toCommittedWorkflowRunnerCompletion,g as toCommittedWorkflowRunnerResult,s as workflowAttemptOutcomeCodec,l as workflowDefinitionsDual,N as workflowEnginePackage,p as workflowExecutionStateDual,f as workflowExecutionStateEventsDual,u as workflowExecutionsDual,_ as workflowFinalizationsDual,ee as workflowStepSpansDual,te as worklogFrameEntriesDual,y as worklogSummariesDual};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createWorkflowEnginePackage, r as workflowEnginePackage, t as WorkflowEngineToken } from "../package-
|
|
1
|
+
import { n as createWorkflowEnginePackage, r as workflowEnginePackage, t as WorkflowEngineToken } from "../package-CnR_tOsW.mjs";
|
|
2
2
|
export { WorkflowEngineToken, createWorkflowEnginePackage, workflowEnginePackage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,r as t,t as n}from"../package-
|
|
1
|
+
import{n as e,r as t,t as n}from"../package-tvzH3A0x.mjs";export{n as WorkflowEngineToken,e as createWorkflowEnginePackage,t as workflowEnginePackage};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as InitialProviderOperationClaimContextSource, Q as InitialProviderOperationClaimContext, X as CompleteProviderOperationInput, Z as HandoffProviderOperationInput, _t as isProviderOperationResolved, at as ProviderOperationClaimDecision, ct as ProviderOperationLeaseRenewal, dt as ProviderOperationOwnershipRecord, et as ListOpenProviderOperationsInput, ft as ProvisionerIncarnationLossDecision, gt as TakeOverProviderOperationInput, ht as RenewProviderOperationClaimInput, it as ProviderOperationClaim, lt as ProviderOperationMutationDecision, mt as RecordProviderOperationUncertaintyInput, nt as PROVIDER_OPERATION_OBLIGATIONS, ot as ProviderOperationCompletionDecision, pt as ProvisioningAbsenceDecision, rt as ProcessBoundProvisionerLossProof, st as ProviderOperationLeasePolicy, tt as OpenProviderOperationRecord, ut as ProviderOperationObligation } from "../execution-attempt-repository-
|
|
1
|
+
import { $ as InitialProviderOperationClaimContextSource, Q as InitialProviderOperationClaimContext, X as CompleteProviderOperationInput, Z as HandoffProviderOperationInput, _t as isProviderOperationResolved, at as ProviderOperationClaimDecision, ct as ProviderOperationLeaseRenewal, dt as ProviderOperationOwnershipRecord, et as ListOpenProviderOperationsInput, ft as ProvisionerIncarnationLossDecision, gt as TakeOverProviderOperationInput, ht as RenewProviderOperationClaimInput, it as ProviderOperationClaim, lt as ProviderOperationMutationDecision, mt as RecordProviderOperationUncertaintyInput, nt as PROVIDER_OPERATION_OBLIGATIONS, ot as ProviderOperationCompletionDecision, pt as ProvisioningAbsenceDecision, rt as ProcessBoundProvisionerLossProof, st as ProviderOperationLeasePolicy, tt as OpenProviderOperationRecord, ut as ProviderOperationObligation } from "../execution-attempt-repository-BoNwNybg.mjs";
|
|
2
2
|
export { CompleteProviderOperationInput, HandoffProviderOperationInput, InitialProviderOperationClaimContext, InitialProviderOperationClaimContextSource, ListOpenProviderOperationsInput, OpenProviderOperationRecord, PROVIDER_OPERATION_OBLIGATIONS, ProcessBoundProvisionerLossProof, ProviderOperationClaim, ProviderOperationClaimDecision, ProviderOperationCompletionDecision, ProviderOperationLeasePolicy, ProviderOperationLeaseRenewal, ProviderOperationMutationDecision, ProviderOperationObligation, ProviderOperationOwnershipRecord, ProvisionerIncarnationLossDecision, ProvisioningAbsenceDecision, RecordProviderOperationUncertaintyInput, RenewProviderOperationClaimInput, TakeOverProviderOperationInput, isProviderOperationResolved };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as OutcomeCodec, x as ExecutionAttemptRepository } from "../../execution-attempt-repository-
|
|
1
|
+
import { j as OutcomeCodec, x as ExecutionAttemptRepository } from "../../execution-attempt-repository-BoNwNybg.mjs";
|
|
2
2
|
|
|
3
3
|
//#region subsystems/workflow-engine/src/testing/conformance/types.d.ts
|
|
4
4
|
/** Narrow fixture input for recovery's oldest-first, identifier-tiebreak ordering contract. */
|