@makaio/framework 1.0.0-dev-1788909333961 → 1.0.0-dev-1788936831433
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/artifact-DtmJR46g.mjs +1 -0
- package/dist/authority-state-bootstrap-DnwkMieA.mjs +1 -0
- package/dist/bus/index.d.mts +20 -20
- 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/code-execution-B9wr0b972.mjs +1 -0
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.d.mts +2 -2
- 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 +4 -4
- package/dist/contracts/extension/index.mjs +1 -1
- 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 +151 -150
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/materialization/index.mjs +1 -1
- 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 +1 -1
- 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 -1
- 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/{execution-attempt-repository-CF3cWsPo.d.mts → execution-attempt-repository-CJVlPFMM.d.mts} +60 -6
- package/dist/{extension-BgUSK5rv.mjs → extension-C1CwxkCN.mjs} +1 -1
- package/dist/framework-packages-B3SQPHD7.mjs +1 -0
- package/dist/{index-tDCBp28C.d.mts → index-B6Lsx8QD2.d.mts} +346 -346
- package/dist/{index-BeplDh91.d.mts → index-BQoiFDct.d.mts} +2023 -468
- package/dist/{index-B7VO0gQV.d.mts → index-BV1Btpfc.d.mts} +3 -3
- package/dist/{index-BALk4zcu.d.mts → index-BwktKRHX.d.mts} +1 -1
- package/dist/{index-VAJBIJUb.d.mts → index-BypDPKtQ.d.mts} +62 -46
- package/dist/{index-CZuhTqsX2.d.mts → index-C83rKcaK2.d.mts} +12 -12
- package/dist/{index-DI-1HK7v2.d.mts → index-CKjFFP6W2.d.mts} +1 -1
- package/dist/{index-B4Wg4W7d.d.mts → index-C_R6ifn9.d.mts} +100 -100
- package/dist/{index-BtC1JP5D.d.mts → index-CcgI6r0K.d.mts} +1 -1
- package/dist/{index-DlKxbLC9.d.mts → index-CqSdF7rK.d.mts} +2 -2
- package/dist/{index-DFsJTTkS.d.mts → index-CuLDybz3.d.mts} +1 -1
- package/dist/{index-U0Fe0baO.d.mts → index-CzSoEyWu.d.mts} +10 -10
- package/dist/{index-D7j6v0-L.d.mts → index-D3RZEEE3.d.mts} +1 -1
- package/dist/{index-CpdRe5df.d.mts → index-DDUi5U4Q.d.mts} +778 -64
- package/dist/{index-b_LJnwCU2.d.mts → index-DOkenapA.d.mts} +8 -8
- package/dist/{index-BjcJH3I-.d.mts → index-DWU3yzQ-.d.mts} +1 -1
- package/dist/{index-OP6Aw5jN.d.mts → index-GNRWZONO.d.mts} +14 -16
- package/dist/{index-VCtdvtEk.d.mts → index-J7xYeLwB.d.mts} +337 -337
- package/dist/{index-BQv9mUzn.d.mts → index-SDXlgq07.d.mts} +36 -8
- package/dist/{index-uv_WSQtw2.d.mts → index-ZGtyv_3n2.d.mts} +161 -49
- package/dist/{index-BO_ikAR-.d.mts → index-glwUNat3.d.mts} +10 -10
- 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-Ql8RWYOd.mjs → lib-0MqNtDuH.mjs} +4 -4
- package/dist/{lib-B8hEa65D.mjs → lib-dlyJT26K.mjs} +1 -1
- package/dist/{load-extensions-un9Md47Z.d.mts → load-extensions-DM1PgW4a.d.mts} +1 -1
- package/dist/{materialization-CqOHTt92.mjs → materialization-CDemi12q.mjs} +1 -1
- package/dist/{namespace-BVQ8Y2Yi.d.mts → namespace-Cjh_Ogen.d.mts} +2 -2
- package/dist/{namespace-DELzAyzb.d.mts → namespace-JqvomFSV.d.mts} +152 -152
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/package-DKfzsJVl.mjs +7 -0
- package/dist/{package-DnlJ4I1i.d.mts → package-x2wRhcUt.d.mts} +71 -9
- 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-inputs-CMjGjK7W.d.mts +23 -0
- package/dist/runtime-node/code-execution/index.d.mts +2 -2
- package/dist/runtime-node/code-execution/index.mjs +1 -1
- package/dist/runtime-node/extension-discovery.d.mts +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/index.d.mts +5 -5
- package/dist/runtime-node/index.mjs +24 -24
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/{schemas-B9yLU2jM.d.mts → schemas-B4gxLiTq.d.mts} +211 -79
- package/dist/schemas-BahXrOYa.mjs +1 -0
- package/dist/{schemas-mGJIRIZ5.d.mts → schemas-DYeS-mtz.d.mts} +152 -152
- package/dist/{schemas-BBatvMde.d.mts → schemas-DfSirQM5.d.mts} +2 -2
- 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 +1 -1
- 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/index.d.mts +118 -118
- package/dist/services/index.mjs +1 -1
- 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/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 +2 -2
- 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/tools/index.mjs +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/services/workflow-transitions/index.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/testing/drizzle-harness.d.mts +8 -0
- package/dist/testing/drizzle-harness.mjs +1 -1
- package/dist/{tools-BkSFBqUz.mjs → tools-2INrWlnS.mjs} +1 -1
- package/dist/{transition-BbfxZ4U1.d.mts → transition-DXfTmVSx.d.mts} +1 -1
- package/dist/{types-CXwFtEIF.d.mts → types-B4u8kNdt.d.mts} +327 -327
- package/dist/{types-CR415CdC2.d.mts → types-FNVbwd7z2.d.mts} +1 -1
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{view-builder-CJtK5hgs.d.mts → view-builder-DU_WTiuk.d.mts} +1 -1
- package/dist/{worker-VBlgozIo.mjs → worker-Bn0x5MSH.mjs} +1 -1
- package/dist/workflow-B6C3Pf66.mjs +1 -0
- package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
- package/dist/workflow-engine/index.d.mts +44 -42
- 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 +2 -2
- package/dist/workflow-engine/testing/conformance.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.mjs +1 -1
- 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 +13 -3
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-transitions-Cuo6s9uv.mjs → workflow-transitions-BbhM_zPm.mjs} +1 -1
- package/dist/workflow-worker-Db7EBUgh.mjs +2 -0
- package/package.json +1 -1
- package/dist/artifact-BjqkK0KX.mjs +0 -1
- package/dist/authority-state-bootstrap-8VGt4vD2.mjs +0 -1
- package/dist/code-execution-BsiB7ZeZ2.mjs +0 -1
- package/dist/framework-packages-CxWecyPW.mjs +0 -1
- package/dist/package-BwIbyojG.mjs +0 -7
- package/dist/schemas-0eCrrru1.mjs +0 -1
- package/dist/workflow-svpU9Cig.mjs +0 -1
- package/dist/workflow-worker-7AA-u1uC.mjs +0 -2
- /package/dist/{capability-service-CsWaOwvH.d.mts → capability-service-23Ot2J9A.d.mts} +0 -0
- /package/dist/{client-DP4ksY9q.d.mts → client-BwFqO0cG.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-BoXRTyae.d.mts → client-binary-version-verifier-DySlUy9m.d.mts} +0 -0
- /package/dist/{clients-namespace-BVDmj8uV.d.mts → clients-namespace-Dh0SNZcQ.d.mts} +0 -0
- /package/dist/{config-namespace-BMOKEuyf.d.mts → config-namespace-CZqPIAWt.d.mts} +0 -0
- /package/dist/{definition-ByVJ3n6o.d.mts → definition-D3HjoK-4.d.mts} +0 -0
- /package/dist/{extension-discovery-C0Nj5EVZ.d.mts → extension-discovery-CZkaPQBo.d.mts} +0 -0
- /package/dist/{filesystem-service-C6D7oABi.d.mts → filesystem-service-UYYyRL2y.d.mts} +0 -0
- /package/dist/{hook-responses-Cs8A07ZP.d.mts → hook-responses-chgDiS8D.d.mts} +0 -0
- /package/dist/{index-CNOqYviR.d.mts → index-6wmqw_ng.d.mts} +0 -0
- /package/dist/{index-BrRCVo9r.d.mts → index-B5kqAW7h.d.mts} +0 -0
- /package/dist/{index-DxaQ-ceV.d.mts → index-B6Kq1BtL.d.mts} +0 -0
- /package/dist/{index-BR7IiCib.d.mts → index-BCKhrNLC.d.mts} +0 -0
- /package/dist/{index-HRn0Kun0.d.mts → index-BU8uFswE.d.mts} +0 -0
- /package/dist/{index-fzrPfhS0.d.mts → index-BjELPYLF2.d.mts} +0 -0
- /package/dist/{index-B_VcKELo.d.mts → index-BrelUXBT.d.mts} +0 -0
- /package/dist/{index-BgY_UzH82.d.mts → index-BtPZcp4M2.d.mts} +0 -0
- /package/dist/{index-BGWkmG9i.d.mts → index-Bxs-oIo4.d.mts} +0 -0
- /package/dist/{index-BpWoCe22.d.mts → index-C-6g2xzN.d.mts} +0 -0
- /package/dist/{index-BHZlMm_I.d.mts → index-C6eJrtTA.d.mts} +0 -0
- /package/dist/{index-DrwT45ci2.d.mts → index-CBnCXp1R2.d.mts} +0 -0
- /package/dist/{index-Bpv8EpBa.d.mts → index-CDeN0mdC.d.mts} +0 -0
- /package/dist/{index-_Ngf4KAa.d.mts → index-CU_HMaeC.d.mts} +0 -0
- /package/dist/{index-CIV2G6uX2.d.mts → index-CYUhTE552.d.mts} +0 -0
- /package/dist/{index-CKvOECeR.d.mts → index-CuPq_ap8.d.mts} +0 -0
- /package/dist/{index-D6qlh6Td.d.mts → index-DB4Xggtt.d.mts} +0 -0
- /package/dist/{index-DZv9yNKF2.d.mts → index-DGlSbpgS2.d.mts} +0 -0
- /package/dist/{index-BnLp-7qH.d.mts → index-DNp9DP6W.d.mts} +0 -0
- /package/dist/{index-BbjxBrcp2.d.mts → index-DQbcfjIb2.d.mts} +0 -0
- /package/dist/{index-DOKPbF-y2.d.mts → index-DX_2kGSg.d.mts} +0 -0
- /package/dist/{index-IkeLI7uY.d.mts → index-DbYjMWlj.d.mts} +0 -0
- /package/dist/{index-CHuB40EK.d.mts → index-DcG3r0VL.d.mts} +0 -0
- /package/dist/{index-ByJ2NESC.d.mts → index-DlOp5nH0.d.mts} +0 -0
- /package/dist/{index-DLlTuugR.d.mts → index-LsZNB_gb.d.mts} +0 -0
- /package/dist/{index-CSEhxhIc.d.mts → index-SIP-fI28.d.mts} +0 -0
- /package/dist/{index-B7g7e7_f.d.mts → index-zvoiT54b.d.mts} +0 -0
- /package/dist/{kind-registration-T--B1wiI.mjs → kind-registration-DggkrLkv.mjs} +0 -0
- /package/dist/{namespace-CcHA54E1.d.mts → namespace-69c5HXtL.d.mts} +0 -0
- /package/dist/{namespace-DdcRYk7b.d.mts → namespace-B7fMkHmy.d.mts} +0 -0
- /package/dist/{namespace-DyeMWQKf.d.mts → namespace-BQ7eiQwr.d.mts} +0 -0
- /package/dist/{namespace-thsiHTFH.d.mts → namespace-BXkDQ9nn.d.mts} +0 -0
- /package/dist/{namespace-CQaL10rI.d.mts → namespace-BoOLmi67.d.mts} +0 -0
- /package/dist/{namespace-Ct2DKREI.d.mts → namespace-CBf5xG_A.d.mts} +0 -0
- /package/dist/{namespace-sTMm1voF.d.mts → namespace-CIF_1OWi.d.mts} +0 -0
- /package/dist/{namespace-nE7vRctI.d.mts → namespace-CUXZS_Ia.d.mts} +0 -0
- /package/dist/{namespace-Ciyw6FxO.d.mts → namespace-DAW4OY3-.d.mts} +0 -0
- /package/dist/{namespace-BocL2nn7.d.mts → namespace-DAbT1F_n.d.mts} +0 -0
- /package/dist/{namespace-BlH5BeSq.d.mts → namespace-DCmkW_25.d.mts} +0 -0
- /package/dist/{namespace-DtXYm32M.d.mts → namespace-De25c2ds.d.mts} +0 -0
- /package/dist/{orchestrator-shared-CYnIz5Zd.d.mts → orchestrator-shared-BRNZ6it3.d.mts} +0 -0
- /package/dist/{packages-DtsjAYuf.d.mts → packages-BSVxszLf.d.mts} +0 -0
- /package/dist/{providers-namespace-BxknJ03z.d.mts → providers-namespace-DcPil5uz.d.mts} +0 -0
- /package/dist/{schema-CJfSEZ8X.d.mts → schema-DIgKUfuF.d.mts} +0 -0
- /package/dist/{schemas-DQ5iRisA.d.mts → schemas-Bg2fBMPN.d.mts} +0 -0
- /package/dist/{schemas-0VbIjfrW.d.mts → schemas-CM3Ejp-n.d.mts} +0 -0
- /package/dist/{schemas-BfMFZ6J5.d.mts → schemas-COnD70WD.d.mts} +0 -0
- /package/dist/{schemas-CsRcSlvA2.d.mts → schemas-DTyZjKQf2.d.mts} +0 -0
- /package/dist/{schemas-KDl7p-wr.d.mts → schemas-Ge_bamoP.d.mts} +0 -0
- /package/dist/{schemas-Yp3PvwsM.d.mts → schemas-NwKrrrPF.d.mts} +0 -0
- /package/dist/{schemas-CmUWeOkr.d.mts → schemas-Vv0GtBaZ.d.mts} +0 -0
- /package/dist/{schemas-Djt6hIjz.d.mts → schemas-eA76OYo2.d.mts} +0 -0
- /package/dist/{schemas-DzDVjYjt.d.mts → schemas-qbaSxHDL.d.mts} +0 -0
- /package/dist/{server-lifecycle-Ck6_8o8v.d.mts → server-lifecycle-BPAN-b0i.d.mts} +0 -0
- /package/dist/{storage-namespace-CRdQoXZ9.d.mts → storage-namespace-C9oFExfb.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-NBw1Y8Pa.d.mts → storage-namespace-definition-D6soSjKE.d.mts} +0 -0
- /package/dist/{types-CXrp5ldz.d.mts → types-BOsf2SVm.d.mts} +0 -0
- /package/dist/{types-CUCFeisO.d.mts → types-BZnJ_4e2.d.mts} +0 -0
- /package/dist/{types-BFv-EK2G.d.mts → types-CWgYlxjU.d.mts} +0 -0
- /package/dist/{types-BcGXdeva.d.mts → types-DZvkUmHS.d.mts} +0 -0
- /package/dist/{window-registry-Chi2qJ5k.d.mts → window-registry-Bvjvpwhn.d.mts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { A as WorkflowWorkspaceRootResolver, C as OutcomePreCommitValidation, D as BootstrapStartOptions, E as BootstrapStartAuthority, O as WorkflowMaterializationSpecResolution, S as OutcomeConvergenceInput, T as ExecutionAttemptAuthority, _ as ExecutionAttemptHandlersDeps, a as WorkflowEngineServiceOptions, b as AttemptOutcomeSubmissionDeps, c as CommittedWorkflowOutcomeIdentity, d as WorkflowAttemptOutcomeSchema, f as WorkflowAttemptTechnicalFailure, g as AttemptOutcomeDecodingInput, h as workflowAttemptOutcomeCodec, i as WorkflowEngineService, j as registerDrizzleWorkflowStorage, k as WorkflowMaterializationSpecResolver, l as WorkflowAttemptCancellation, m as toCommittedWorkflowRunnerResult, n as createWorkflowEnginePackage, o as WorkflowTriggerReconciler, p as decodeWorkflowAttemptOutcome, r as workflowEnginePackage, s as WorkflowExecutor, t as WorkflowEngineToken, u as WorkflowAttemptOutcome, v as registerExecutionAttemptHandlers, w as submitAttemptOutcome, x as OutcomeConvergence, y as AttemptOutcomeSubmission } from "../package-
|
|
1
|
+
import { $ as decodeDurableOutcome, A as MarkRuntimeReadyInput, At as RecordProviderOperationUncertaintyInput, B as RecordAllocationTerminatedInput, Bt as readAttemptSettlementSnapshot, C as ExecutionAttemptRecoveryOperations, Ct as ProviderOperationLeasePolicy, D as ExecutionOwnerId, Dt as ProviderOperationOwnershipRecord, E as ExecutionAttemptStatus, Et as ProviderOperationObligation, F as PendingAttemptAbandonmentDecision, Ft as AttemptSettlementSnapshot, G as RegisterRuntimeInput, H as RecordProvisionerIncarnationLostInput, Ht as snapshotEnsureExecutionAttemptInput, It as EnsureExecutionAttemptDecision, J as RuntimeOutcomeFence, L as ProvisioningClaimDecision, Lt as EnsureExecutionAttemptInput, M as OperationCompletionDecision, Mt as TakeOverProviderOperationInput, Nt as isProviderOperationResolved, Ot as ProvisionerIncarnationLossDecision, P as OutcomeCodec, Pt as AttemptSettlementRead, Q as assertRuntimeOutcomeFence, R as ReadBootstrapStartStateInput, Rt as EnsureExecutionAttemptPersistenceInput, S as ExecutionAttemptRecord, St as ProviderOperationCompletionDecision, T as ExecutionAttemptSettlementKind, Tt as ProviderOperationMutationDecision, U as RecordProvisioningAbsentInput, Ut as snapshotEnsureExecutionAttemptPersistenceInput, V as RecordInfrastructureFailureInput, Vt as replayEnsuredAttempt, W as RecoverableAttemptRecord, Wt as snapshotReadAttemptSettlementInput, X as RuntimeReadinessDecision, Y as RuntimeOutcomeFenceMismatchError, Z as RuntimeRegistrationDecision, _ as EXECUTION_ATTEMPT_STATUSES, _t as OpenProviderOperationRecord, a as AllocationRefEvolutionDecision, at as evaluateAttemptReachability, b as ExecutionAttemptOutcomeCommit, bt as ProviderOperationClaim, d as BootstrapStartState, dt as evaluateRuntimeRegistration, et as durableOutcome, f as CompleteOperationInput, ft as CompleteProviderOperationInput, g as EXECUTION_ATTEMPT_SETTLEMENT_KINDS, gt as ListOpenProviderOperationsInput, h as DurableOutcome, ht as InitialProviderOperationClaimContextSource, i as AllocationRefEvolution, it as AttemptReachabilityDecision, j as OperationAdmissionDecision, jt as RenewProviderOperationClaimInput, k as InfrastructureFailureDecision, kt as ProvisioningAbsenceDecision, l as AttemptOperationStartGate, lt as evaluateProvisionerIncarnationLoss, m as DuplicateExecutionAttemptError, mt as InitialProviderOperationClaimContext, n as AdmitOperationInput, nt as sameDurableOutcome, o as AllocationTerminationDecision, ot as evaluateOperationAdmission, p as DiscoveredAllocationDecision, pt as HandoffProviderOperationInput, q as RequestExecutionCancellationInput, r as AllocationRecordingDecision, rt as AttemptReachability, s as AttemptControlState, st as evaluateOperationCompletion, t as ATTEMPT_OPERATION_START_GATES, tt as sameAllocationRef, u as BeginProvisioningInput, ut as evaluateRuntimeReadiness, v as ExecutionAttemptCancellationIntent, vt as PROVIDER_OPERATION_OBLIGATIONS, w as ExecutionAttemptRepository, wt as ProviderOperationLeaseRenewal, x as ExecutionAttemptOutcomeDecision, xt as ProviderOperationClaimDecision, y as ExecutionAttemptCreate, yt as ProcessBoundProvisionerLossProof, z as RecordAllocationInput, zt as ReadAttemptSettlementInput } from "../execution-attempt-repository-CJVlPFMM.mjs";
|
|
2
|
+
import { A as WorkflowWorkspaceRootResolver, C as OutcomePreCommitValidation, D as BootstrapStartOptions, E as BootstrapStartAuthority, O as WorkflowMaterializationSpecResolution, S as OutcomeConvergenceInput, T as ExecutionAttemptAuthority, _ as ExecutionAttemptHandlersDeps, a as WorkflowEngineServiceOptions, b as AttemptOutcomeSubmissionDeps, c as CommittedWorkflowOutcomeIdentity, d as WorkflowAttemptOutcomeSchema, f as WorkflowAttemptTechnicalFailure, g as AttemptOutcomeDecodingInput, h as workflowAttemptOutcomeCodec, i as WorkflowEngineService, j as registerDrizzleWorkflowStorage, k as WorkflowMaterializationSpecResolver, l as WorkflowAttemptCancellation, m as toCommittedWorkflowRunnerResult, n as createWorkflowEnginePackage, o as WorkflowTriggerReconciler, p as decodeWorkflowAttemptOutcome, r as workflowEnginePackage, s as WorkflowExecutor, t as WorkflowEngineToken, u as WorkflowAttemptOutcome, v as registerExecutionAttemptHandlers, w as submitAttemptOutcome, x as OutcomeConvergence, y as AttemptOutcomeSubmission } from "../package-x2wRhcUt.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";
|
|
@@ -408,6 +408,8 @@ interface AuthorityDispatchRunnerOptions<TOutcome> {
|
|
|
408
408
|
readonly instruction: ExecutionAttemptInstruction;
|
|
409
409
|
/** Dispatch operation whose successful return acknowledges acceptance. */
|
|
410
410
|
readonly dispatch: (executionAttemptId: string) => Promise<unknown>;
|
|
411
|
+
/** Local owner admission; never encloses provider dispatch or outcome waiting. */
|
|
412
|
+
readonly withAttemptCreation?: <T>(create: () => Promise<T>) => Promise<T>;
|
|
411
413
|
}
|
|
412
414
|
/**
|
|
413
415
|
* Dispatch an Authority-owned attempt and await its canonical outcome.
|
|
@@ -1073,8 +1075,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1073
1075
|
"exit-and-resume": "exit-and-resume";
|
|
1074
1076
|
}>>;
|
|
1075
1077
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
1076
|
-
worker: "worker";
|
|
1077
1078
|
authority: "authority";
|
|
1079
|
+
worker: "worker";
|
|
1078
1080
|
}>>;
|
|
1079
1081
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1080
1082
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -1563,8 +1565,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1563
1565
|
cancelled: "cancelled";
|
|
1564
1566
|
failed: "failed";
|
|
1565
1567
|
running: "running";
|
|
1566
|
-
skipped: "skipped";
|
|
1567
1568
|
waiting: "waiting";
|
|
1569
|
+
skipped: "skipped";
|
|
1568
1570
|
}>;
|
|
1569
1571
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
1570
1572
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1609,8 +1611,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1609
1611
|
cancelled: "cancelled";
|
|
1610
1612
|
failed: "failed";
|
|
1611
1613
|
running: "running";
|
|
1612
|
-
skipped: "skipped";
|
|
1613
1614
|
waiting: "waiting";
|
|
1615
|
+
skipped: "skipped";
|
|
1614
1616
|
}>;
|
|
1615
1617
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
1616
1618
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1652,8 +1654,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1652
1654
|
cancelled: "cancelled";
|
|
1653
1655
|
failed: "failed";
|
|
1654
1656
|
running: "running";
|
|
1655
|
-
skipped: "skipped";
|
|
1656
1657
|
waiting: "waiting";
|
|
1658
|
+
skipped: "skipped";
|
|
1657
1659
|
}>;
|
|
1658
1660
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
1659
1661
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1680,8 +1682,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1680
1682
|
status: z.ZodEnum<{
|
|
1681
1683
|
cancelled: "cancelled";
|
|
1682
1684
|
rejected: "rejected";
|
|
1683
|
-
resumed: "resumed";
|
|
1684
1685
|
waiting: "waiting";
|
|
1686
|
+
resumed: "resumed";
|
|
1685
1687
|
"timed-out": "timed-out";
|
|
1686
1688
|
}>;
|
|
1687
1689
|
autoAction: z.ZodEnum<{
|
|
@@ -1812,8 +1814,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1812
1814
|
status: z.ZodEnum<{
|
|
1813
1815
|
cancelled: "cancelled";
|
|
1814
1816
|
rejected: "rejected";
|
|
1815
|
-
resumed: "resumed";
|
|
1816
1817
|
waiting: "waiting";
|
|
1818
|
+
resumed: "resumed";
|
|
1817
1819
|
"timed-out": "timed-out";
|
|
1818
1820
|
}>;
|
|
1819
1821
|
autoAction: z.ZodEnum<{
|
|
@@ -1837,8 +1839,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1837
1839
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1838
1840
|
cancelled: "cancelled";
|
|
1839
1841
|
rejected: "rejected";
|
|
1840
|
-
resumed: "resumed";
|
|
1841
1842
|
waiting: "waiting";
|
|
1843
|
+
resumed: "resumed";
|
|
1842
1844
|
"timed-out": "timed-out";
|
|
1843
1845
|
}>>;
|
|
1844
1846
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1853,8 +1855,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1853
1855
|
status: z.ZodEnum<{
|
|
1854
1856
|
cancelled: "cancelled";
|
|
1855
1857
|
rejected: "rejected";
|
|
1856
|
-
resumed: "resumed";
|
|
1857
1858
|
waiting: "waiting";
|
|
1859
|
+
resumed: "resumed";
|
|
1858
1860
|
"timed-out": "timed-out";
|
|
1859
1861
|
}>;
|
|
1860
1862
|
autoAction: z.ZodEnum<{
|
|
@@ -1888,8 +1890,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1888
1890
|
status: z.ZodEnum<{
|
|
1889
1891
|
cancelled: "cancelled";
|
|
1890
1892
|
rejected: "rejected";
|
|
1891
|
-
resumed: "resumed";
|
|
1892
1893
|
waiting: "waiting";
|
|
1894
|
+
resumed: "resumed";
|
|
1893
1895
|
"timed-out": "timed-out";
|
|
1894
1896
|
}>;
|
|
1895
1897
|
autoAction: z.ZodEnum<{
|
|
@@ -2168,8 +2170,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2168
2170
|
"exit-and-resume": "exit-and-resume";
|
|
2169
2171
|
}>>;
|
|
2170
2172
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
2171
|
-
worker: "worker";
|
|
2172
2173
|
authority: "authority";
|
|
2174
|
+
worker: "worker";
|
|
2173
2175
|
}>>;
|
|
2174
2176
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2175
2177
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -2355,8 +2357,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2355
2357
|
"exit-and-resume": "exit-and-resume";
|
|
2356
2358
|
}>>;
|
|
2357
2359
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
2358
|
-
worker: "worker";
|
|
2359
2360
|
authority: "authority";
|
|
2361
|
+
worker: "worker";
|
|
2360
2362
|
}>>;
|
|
2361
2363
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2362
2364
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -2592,7 +2594,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2592
2594
|
tableName: "workflow_definitions";
|
|
2593
2595
|
dataType: "string";
|
|
2594
2596
|
columnType: "SQLiteText";
|
|
2595
|
-
data: "external" | "session" | "
|
|
2597
|
+
data: "external" | "session" | "global" | "workspace";
|
|
2596
2598
|
driverParam: string;
|
|
2597
2599
|
notNull: true;
|
|
2598
2600
|
hasDefault: false;
|
|
@@ -2605,7 +2607,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2605
2607
|
generated: undefined;
|
|
2606
2608
|
}, {}, {
|
|
2607
2609
|
length: number | undefined;
|
|
2608
|
-
$type: "external" | "session" | "
|
|
2610
|
+
$type: "external" | "session" | "global" | "workspace";
|
|
2609
2611
|
}>;
|
|
2610
2612
|
scopeKind: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2611
2613
|
name: "scope_kind";
|
|
@@ -2903,7 +2905,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2903
2905
|
tableName: "workflow_executions";
|
|
2904
2906
|
dataType: "string";
|
|
2905
2907
|
columnType: "SQLiteText";
|
|
2906
|
-
data: "external" | "session" | "
|
|
2908
|
+
data: "external" | "session" | "global" | "workspace";
|
|
2907
2909
|
driverParam: string;
|
|
2908
2910
|
notNull: true;
|
|
2909
2911
|
hasDefault: false;
|
|
@@ -2916,7 +2918,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2916
2918
|
generated: undefined;
|
|
2917
2919
|
}, {}, {
|
|
2918
2920
|
length: number | undefined;
|
|
2919
|
-
$type: "external" | "session" | "
|
|
2921
|
+
$type: "external" | "session" | "global" | "workspace";
|
|
2920
2922
|
}>;
|
|
2921
2923
|
scopeKind: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2922
2924
|
name: "scope_kind";
|
|
@@ -3345,7 +3347,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3345
3347
|
tableName: "workflow_execution_frames";
|
|
3346
3348
|
dataType: "string";
|
|
3347
3349
|
columnType: "SQLiteText";
|
|
3348
|
-
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "
|
|
3350
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "waiting" | "skipped";
|
|
3349
3351
|
driverParam: string;
|
|
3350
3352
|
notNull: true;
|
|
3351
3353
|
hasDefault: true;
|
|
@@ -3358,7 +3360,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3358
3360
|
generated: undefined;
|
|
3359
3361
|
}, {}, {
|
|
3360
3362
|
length: number | undefined;
|
|
3361
|
-
$type: "pending" | "completed" | "cancelled" | "failed" | "running" | "
|
|
3363
|
+
$type: "pending" | "completed" | "cancelled" | "failed" | "running" | "waiting" | "skipped";
|
|
3362
3364
|
}>;
|
|
3363
3365
|
attempt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3364
3366
|
name: string;
|
|
@@ -3628,7 +3630,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3628
3630
|
tableName: "workflow_gate_instances";
|
|
3629
3631
|
dataType: "string";
|
|
3630
3632
|
columnType: "SQLiteText";
|
|
3631
|
-
data: "cancelled" | "rejected" | "
|
|
3633
|
+
data: "cancelled" | "rejected" | "waiting" | "resumed" | "timed-out";
|
|
3632
3634
|
driverParam: string;
|
|
3633
3635
|
notNull: true;
|
|
3634
3636
|
hasDefault: true;
|
|
@@ -3641,7 +3643,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3641
3643
|
generated: undefined;
|
|
3642
3644
|
}, {}, {
|
|
3643
3645
|
length: number | undefined;
|
|
3644
|
-
$type: "cancelled" | "rejected" | "
|
|
3646
|
+
$type: "cancelled" | "rejected" | "waiting" | "resumed" | "timed-out";
|
|
3645
3647
|
}>;
|
|
3646
3648
|
autoAction: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3647
3649
|
name: "auto_action";
|
|
@@ -4622,7 +4624,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4622
4624
|
tableName: "workflow_run_contexts";
|
|
4623
4625
|
dataType: "string";
|
|
4624
4626
|
columnType: "SQLiteText";
|
|
4625
|
-
data: "external" | "session" | "
|
|
4627
|
+
data: "external" | "session" | "global" | "workspace";
|
|
4626
4628
|
driverParam: string;
|
|
4627
4629
|
notNull: true;
|
|
4628
4630
|
hasDefault: true;
|
|
@@ -4635,7 +4637,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4635
4637
|
generated: undefined;
|
|
4636
4638
|
}, {}, {
|
|
4637
4639
|
length: number | undefined;
|
|
4638
|
-
$type: "external" | "session" | "
|
|
4640
|
+
$type: "external" | "session" | "global" | "workspace";
|
|
4639
4641
|
}>;
|
|
4640
4642
|
scopeKind: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4641
4643
|
name: "scope_kind";
|
|
@@ -4755,7 +4757,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4755
4757
|
tableName: "workflow_run_contexts";
|
|
4756
4758
|
dataType: "string";
|
|
4757
4759
|
columnType: "SQLiteText";
|
|
4758
|
-
data: "
|
|
4760
|
+
data: "authority" | "worker" | undefined;
|
|
4759
4761
|
driverParam: string;
|
|
4760
4762
|
notNull: false;
|
|
4761
4763
|
hasDefault: false;
|
|
@@ -4768,7 +4770,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4768
4770
|
generated: undefined;
|
|
4769
4771
|
}, {}, {
|
|
4770
4772
|
length: number | undefined;
|
|
4771
|
-
$type: "
|
|
4773
|
+
$type: "authority" | "worker" | undefined;
|
|
4772
4774
|
}>;
|
|
4773
4775
|
materializationSpec: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4774
4776
|
name: string;
|
|
@@ -5140,7 +5142,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
5140
5142
|
tableName: "worklog_frame_entries";
|
|
5141
5143
|
dataType: "string";
|
|
5142
5144
|
columnType: "SQLiteText";
|
|
5143
|
-
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "
|
|
5145
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "waiting" | "skipped";
|
|
5144
5146
|
driverParam: string;
|
|
5145
5147
|
notNull: true;
|
|
5146
5148
|
hasDefault: false;
|
|
@@ -5574,7 +5576,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
5574
5576
|
tableName: "worklog_gate_events";
|
|
5575
5577
|
dataType: "string";
|
|
5576
5578
|
columnType: "SQLiteText";
|
|
5577
|
-
data: "cancelled" | "rejected" | "
|
|
5579
|
+
data: "cancelled" | "rejected" | "waiting" | "resumed" | "timed-out";
|
|
5578
5580
|
driverParam: string;
|
|
5579
5581
|
notNull: true;
|
|
5580
5582
|
hasDefault: false;
|
|
@@ -5587,7 +5589,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
5587
5589
|
generated: undefined;
|
|
5588
5590
|
}, {}, {
|
|
5589
5591
|
length: number | undefined;
|
|
5590
|
-
$type: "cancelled" | "rejected" | "
|
|
5592
|
+
$type: "cancelled" | "rejected" | "waiting" | "resumed" | "timed-out";
|
|
5591
5593
|
}>;
|
|
5592
5594
|
prompt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
5593
5595
|
name: "prompt";
|
|
@@ -6696,8 +6698,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6696
6698
|
"exit-and-resume": "exit-and-resume";
|
|
6697
6699
|
}>>;
|
|
6698
6700
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
6699
|
-
worker: "worker";
|
|
6700
6701
|
authority: "authority";
|
|
6702
|
+
worker: "worker";
|
|
6701
6703
|
}>>;
|
|
6702
6704
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6703
6705
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -7186,8 +7188,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7186
7188
|
cancelled: "cancelled";
|
|
7187
7189
|
failed: "failed";
|
|
7188
7190
|
running: "running";
|
|
7189
|
-
skipped: "skipped";
|
|
7190
7191
|
waiting: "waiting";
|
|
7192
|
+
skipped: "skipped";
|
|
7191
7193
|
}>;
|
|
7192
7194
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
7193
7195
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7232,8 +7234,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7232
7234
|
cancelled: "cancelled";
|
|
7233
7235
|
failed: "failed";
|
|
7234
7236
|
running: "running";
|
|
7235
|
-
skipped: "skipped";
|
|
7236
7237
|
waiting: "waiting";
|
|
7238
|
+
skipped: "skipped";
|
|
7237
7239
|
}>;
|
|
7238
7240
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
7239
7241
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7275,8 +7277,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7275
7277
|
cancelled: "cancelled";
|
|
7276
7278
|
failed: "failed";
|
|
7277
7279
|
running: "running";
|
|
7278
|
-
skipped: "skipped";
|
|
7279
7280
|
waiting: "waiting";
|
|
7281
|
+
skipped: "skipped";
|
|
7280
7282
|
}>;
|
|
7281
7283
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
7282
7284
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7303,8 +7305,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7303
7305
|
status: z.ZodEnum<{
|
|
7304
7306
|
cancelled: "cancelled";
|
|
7305
7307
|
rejected: "rejected";
|
|
7306
|
-
resumed: "resumed";
|
|
7307
7308
|
waiting: "waiting";
|
|
7309
|
+
resumed: "resumed";
|
|
7308
7310
|
"timed-out": "timed-out";
|
|
7309
7311
|
}>;
|
|
7310
7312
|
autoAction: z.ZodEnum<{
|
|
@@ -7435,8 +7437,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7435
7437
|
status: z.ZodEnum<{
|
|
7436
7438
|
cancelled: "cancelled";
|
|
7437
7439
|
rejected: "rejected";
|
|
7438
|
-
resumed: "resumed";
|
|
7439
7440
|
waiting: "waiting";
|
|
7441
|
+
resumed: "resumed";
|
|
7440
7442
|
"timed-out": "timed-out";
|
|
7441
7443
|
}>;
|
|
7442
7444
|
autoAction: z.ZodEnum<{
|
|
@@ -7460,8 +7462,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7460
7462
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7461
7463
|
cancelled: "cancelled";
|
|
7462
7464
|
rejected: "rejected";
|
|
7463
|
-
resumed: "resumed";
|
|
7464
7465
|
waiting: "waiting";
|
|
7466
|
+
resumed: "resumed";
|
|
7465
7467
|
"timed-out": "timed-out";
|
|
7466
7468
|
}>>;
|
|
7467
7469
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -7476,8 +7478,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7476
7478
|
status: z.ZodEnum<{
|
|
7477
7479
|
cancelled: "cancelled";
|
|
7478
7480
|
rejected: "rejected";
|
|
7479
|
-
resumed: "resumed";
|
|
7480
7481
|
waiting: "waiting";
|
|
7482
|
+
resumed: "resumed";
|
|
7481
7483
|
"timed-out": "timed-out";
|
|
7482
7484
|
}>;
|
|
7483
7485
|
autoAction: z.ZodEnum<{
|
|
@@ -7511,8 +7513,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7511
7513
|
status: z.ZodEnum<{
|
|
7512
7514
|
cancelled: "cancelled";
|
|
7513
7515
|
rejected: "rejected";
|
|
7514
|
-
resumed: "resumed";
|
|
7515
7516
|
waiting: "waiting";
|
|
7517
|
+
resumed: "resumed";
|
|
7516
7518
|
"timed-out": "timed-out";
|
|
7517
7519
|
}>;
|
|
7518
7520
|
autoAction: z.ZodEnum<{
|
|
@@ -7791,8 +7793,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7791
7793
|
"exit-and-resume": "exit-and-resume";
|
|
7792
7794
|
}>>;
|
|
7793
7795
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
7794
|
-
worker: "worker";
|
|
7795
7796
|
authority: "authority";
|
|
7797
|
+
worker: "worker";
|
|
7796
7798
|
}>>;
|
|
7797
7799
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7798
7800
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -7978,8 +7980,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7978
7980
|
"exit-and-resume": "exit-and-resume";
|
|
7979
7981
|
}>>;
|
|
7980
7982
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
7981
|
-
worker: "worker";
|
|
7982
7983
|
authority: "authority";
|
|
7984
|
+
worker: "worker";
|
|
7983
7985
|
}>>;
|
|
7984
7986
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7985
7987
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -8181,7 +8183,7 @@ declare const workflowDefinitionsDual: _$_makaio_storage_drizzle0.DualTable<"wor
|
|
|
8181
8183
|
materializationModes?: ("local-directory" | "workspace-snapshot")[] | undefined;
|
|
8182
8184
|
}>>; /** Definition-owned finalizer selected after successful execution. */
|
|
8183
8185
|
successFinalizerId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"success_finalizer_id", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"success_finalizer_id", [string, ...string[]]>>;
|
|
8184
|
-
scopeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"], number | undefined>>, "external" | "session" | "
|
|
8186
|
+
scopeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"], number | undefined>>, "external" | "session" | "global" | "workspace">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"]>>, "external" | "session" | "global" | "workspace">>;
|
|
8185
8187
|
scopeKind: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_kind", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_kind", [string, ...string[]]>>>>;
|
|
8186
8188
|
scopeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_id", [string, ...string[]]>>>>; /** Unique workflow identifier. */
|
|
8187
8189
|
id: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"id", [string, ...string[]]>>>>; /** Workflow name. */
|
|
@@ -8264,7 +8266,7 @@ declare const workflowDefinitionsDual: _$_makaio_storage_drizzle0.DualTable<"wor
|
|
|
8264
8266
|
* Stores runtime state of workflow executions.
|
|
8265
8267
|
*/
|
|
8266
8268
|
declare const workflowExecutionsDual: _$_makaio_storage_drizzle0.DualTable<"workflow_executions", {
|
|
8267
|
-
scopeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"], number | undefined>>, "external" | "session" | "
|
|
8269
|
+
scopeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"], number | undefined>>, "external" | "session" | "global" | "workspace">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"]>>, "external" | "session" | "global" | "workspace">>;
|
|
8268
8270
|
scopeKind: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_kind", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_kind", [string, ...string[]]>>>>;
|
|
8269
8271
|
scopeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_id", [string, ...string[]]>>>>; /** Unique execution identifier. */
|
|
8270
8272
|
id: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"id", [string, ...string[]]>>>>; /** Workflow definition or ephemeral source execution identifier. */
|
|
@@ -8440,4 +8442,4 @@ declare function patchWorkflowState(db: MakaioDatabase, params: {
|
|
|
8440
8442
|
value: JsonValue;
|
|
8441
8443
|
}>;
|
|
8442
8444
|
//#endregion
|
|
8443
|
-
export { ATTEMPT_OPERATION_START_GATES, type AdmitOperationInput, type AllocationRecordingDecision, type AllocationRefEvolution, type AllocationRefEvolutionDecision, type AllocationTerminationDecision, type AttemptControlState, type AttemptOperationStartGate, 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 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 OutcomeCodec, type OutcomeConvergence, type OutcomeConvergenceInput, type OutcomePreCommitValidation, PROVIDER_OPERATION_OBLIGATIONS, type PendingAttemptAbandonmentDecision, type ProcessBoundProvisionerLossProof, type ProviderOperationClaim, type ProviderOperationClaimDecision, type ProviderOperationCompletionDecision, 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 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, evaluateAttemptReachability, evaluateOperationAdmission, evaluateOperationCompletion, evaluateProvisionerIncarnationLoss, evaluateRuntimeReadiness, evaluateRuntimeRegistration, getWorkflowState, initializeWorkflowState, isProviderOperationResolved, parseWorkflowAttemptInstruction, patchWorkflowState, readAttemptSettlementSnapshot, registerBootstrapStartHandler, registerDrizzleWorkflowStorage, registerExecutionAttemptHandlers, registerOperationAdmissionHandler, registerRuntimeRegistrationHandler, replayEnsuredAttempt, resolveExecutionAttemptPeer, runAuthorityDispatchedAttempt, runShellStep, sameAllocationRef, sameDurableOutcome, snapshotEnsureExecutionAttemptInput, snapshotEnsureExecutionAttemptPersistenceInput, snapshotReadAttemptSettlementInput, submitAttemptOutcome, toCommittedWorkflowRunnerResult, workflowAttemptOutcomeCodec, workflowDefinitionsDual, workflowEnginePackage, workflowExecutionStateDual, workflowExecutionStateEventsDual, workflowExecutionsDual, workflowFinalizationsDual, workflowStepSpansDual, worklogFrameEntriesDual, worklogSummariesDual };
|
|
8445
|
+
export { ATTEMPT_OPERATION_START_GATES, type AdmitOperationInput, type AllocationRecordingDecision, type AllocationRefEvolution, type AllocationRefEvolutionDecision, type AllocationTerminationDecision, type AttemptControlState, type AttemptOperationStartGate, 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 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 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 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, evaluateAttemptReachability, evaluateOperationAdmission, evaluateOperationCompletion, evaluateProvisionerIncarnationLoss, evaluateRuntimeReadiness, evaluateRuntimeRegistration, getWorkflowState, initializeWorkflowState, isProviderOperationResolved, parseWorkflowAttemptInstruction, patchWorkflowState, readAttemptSettlementSnapshot, registerBootstrapStartHandler, registerDrizzleWorkflowStorage, registerExecutionAttemptHandlers, registerOperationAdmissionHandler, registerRuntimeRegistrationHandler, replayEnsuredAttempt, resolveExecutionAttemptPeer, runAuthorityDispatchedAttempt, runShellStep, sameAllocationRef, sameDurableOutcome, snapshotEnsureExecutionAttemptInput, snapshotEnsureExecutionAttemptPersistenceInput, snapshotReadAttemptSettlementInput, submitAttemptOutcome, toCommittedWorkflowRunnerResult, workflowAttemptOutcomeCodec, workflowDefinitionsDual, workflowEnginePackage, workflowExecutionStateDual, workflowExecutionStateEventsDual, workflowExecutionsDual, workflowFinalizationsDual, workflowStepSpansDual, worklogFrameEntriesDual, worklogSummariesDual };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{C as e,E as t,H as n,K as ee,L as te,Q as r,S as i,T as a,U as o,W as s,_ as c,b as l,ct as u,et as d,ft as f,gt as p,nt as m,v as h,vt as g,w as _,x as v,y}from"../authority-state-bootstrap-DnwkMieA.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-DKfzsJVl.mjs";import{_ as L,a as R,c as ne,d as z,f as B,g as V,h as H,i as U,l as W,n as G,o as K,p as q,r as J,s as Y,t as X,u as Z}from"../execution-attempt-repository-DXyh1hgz.mjs";import{assertWorkflowTriggerPayload as re,compileWorkflowTriggerBindingFilter as ie}from"./workflow-trigger-binding-consumer.mjs";import{a as ae,i as oe,n as se,r as ce,t as le}from"../execution-attempt-owner-recovery-CdH04iwP.mjs";import{PROVIDER_OPERATION_OBLIGATIONS as ue,isProviderOperationResolved as de}from"./provider-operation.mjs";import{JsonValueSchema as Q,WorkflowFrameStateSchema as fe}from"@makaio/framework/contracts";const pe=new Set([...fe.shape.status.options]);function $(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function me(e){if(!$(e))return!1;for(let t of Object.values(e))if(!$(t)||typeof t.status!=`string`||!pe.has(t.status)||`result`in t&&t.result!==void 0&&!Q.safeParse(t.result).success)return!1;return!0}function he(e){let t={trigger:$(e.trigger)?e.trigger:{},steps:me(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{X as ATTEMPT_OPERATION_START_GATES,G as DuplicateExecutionAttemptError,J as EXECUTION_ATTEMPT_SETTLEMENT_KINDS,U as EXECUTION_ATTEMPT_STATUSES,x as ExecutionAttemptAuthority,ue as PROVIDER_OPERATION_OBLIGATIONS,O as RUNTIME_PROBE_DELIVERY_TIMEOUT_MS,R as RuntimeOutcomeFenceMismatchError,v as WORKFLOW_WORKLOAD_KIND,i as WORKFLOW_WORKLOAD_VERSION,c as WorkflowAttemptOutcomeSchema,D as WorkflowEngineService,F as WorkflowEngineToken,P as WorkflowExecutor,e as WorkflowInvocationInputSchema,o as WorkflowStorageNamespace,s as WorkflowStorageSubjects,j as WorkflowTriggerReconciler,K as assertRuntimeOutcomeFence,re as assertWorkflowTriggerPayload,_ as buildWorkflowAttemptInstruction,he as buildWorkflowExpressionContextFromResolvedInputs,ie as compileWorkflowTriggerBindingFilter,A as createWorkflowEnginePackage,Y as decodeDurableOutcome,h as decodeWorkflowAttemptOutcome,ne as durableOutcome,z as evaluateAttemptReachability,B as evaluateOperationAdmission,q as evaluateOperationCompletion,H as evaluateProvisionerIncarnationLoss,V as evaluateRuntimeReadiness,L as evaluateRuntimeRegistration,E as getWorkflowState,T as initializeWorkflowState,de as isProviderOperationResolved,a as parseWorkflowAttemptInstruction,b as patchWorkflowState,le as readAttemptSettlementSnapshot,S as registerBootstrapStartHandler,k as registerDrizzleWorkflowStorage,w as registerExecutionAttemptHandlers,C as registerOperationAdmissionHandler,I as registerRuntimeRegistrationHandler,se as replayEnsuredAttempt,n as resolveExecutionAttemptPeer,t as runAuthorityDispatchedAttempt,te as runShellStep,W as sameAllocationRef,Z as sameDurableOutcome,ce as snapshotEnsureExecutionAttemptInput,oe as snapshotEnsureExecutionAttemptPersistenceInput,ae as snapshotReadAttemptSettlementInput,M as submitAttemptOutcome,y as toCommittedWorkflowRunnerResult,l as workflowAttemptOutcomeCodec,ee as workflowDefinitionsDual,N as workflowEnginePackage,r as workflowExecutionStateDual,d as workflowExecutionStateEventsDual,m as workflowExecutionsDual,g as workflowFinalizationsDual,u as workflowStepSpansDual,f as worklogFrameEntriesDual,p 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-x2wRhcUt.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-DKfzsJVl.mjs";export{n as WorkflowEngineToken,e as createWorkflowEnginePackage,t as workflowEnginePackage};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ct as
|
|
2
|
-
export { CompleteProviderOperationInput, HandoffProviderOperationInput, InitialProviderOperationClaimContext, InitialProviderOperationClaimContextSource, ListOpenProviderOperationsInput, OpenProviderOperationRecord, PROVIDER_OPERATION_OBLIGATIONS, ProcessBoundProvisionerLossProof, ProviderOperationClaim, ProviderOperationClaimDecision, ProviderOperationCompletionDecision, ProviderOperationMutationDecision, ProviderOperationObligation, ProviderOperationOwnershipRecord, ProvisionerIncarnationLossDecision, ProvisioningAbsenceDecision, RecordProviderOperationUncertaintyInput, RenewProviderOperationClaimInput, TakeOverProviderOperationInput, isProviderOperationResolved };
|
|
1
|
+
import { At as RecordProviderOperationUncertaintyInput, Ct as ProviderOperationLeasePolicy, Dt as ProviderOperationOwnershipRecord, Et as ProviderOperationObligation, Mt as TakeOverProviderOperationInput, Nt as isProviderOperationResolved, Ot as ProvisionerIncarnationLossDecision, St as ProviderOperationCompletionDecision, Tt as ProviderOperationMutationDecision, _t as OpenProviderOperationRecord, bt as ProviderOperationClaim, ft as CompleteProviderOperationInput, gt as ListOpenProviderOperationsInput, ht as InitialProviderOperationClaimContextSource, jt as RenewProviderOperationClaimInput, kt as ProvisioningAbsenceDecision, mt as InitialProviderOperationClaimContext, pt as HandoffProviderOperationInput, vt as PROVIDER_OPERATION_OBLIGATIONS, wt as ProviderOperationLeaseRenewal, xt as ProviderOperationClaimDecision, yt as ProcessBoundProvisionerLossProof } from "../execution-attempt-repository-CJVlPFMM.mjs";
|
|
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 {
|
|
1
|
+
import { P as OutcomeCodec, w as ExecutionAttemptRepository } from "../../execution-attempt-repository-CJVlPFMM.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. */
|