@makaio/framework 1.0.0-dev-1790114433794 → 1.0.0-dev-1790165101280
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/adapter-subsystem/index.mjs +1 -1
- 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/bus/index.d.mts +27 -2
- package/dist/bus/index.mjs +1 -1
- package/dist/{bus-CX0d5tTa.mjs → bus-D4DBDaoS.mjs} +1 -1
- package/dist/clients/index.d.mts +2 -1
- package/dist/clients/index.mjs +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 +2 -2
- 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 +2 -2
- 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 +47 -47
- 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 +2 -2
- package/dist/contracts/native-session-supervisor/index.mjs +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/workflow/index.d.mts +2 -2
- package/dist/{contribution-1GL7Rjaq.d.mts → contribution-kpR61mnG.d.mts} +2 -2
- package/dist/{definition-DeIGoROj.d.mts → definition-DWhjp0db.d.mts} +1 -1
- package/dist/{detached-extension-handle-W5_yfCyE.mjs → detached-extension-handle-QrXVNUR2.mjs} +1 -1
- package/dist/{extension-context-pQ7Uio_s.d.mts → extension-context-CmhBCbbq.d.mts} +4 -4
- package/dist/filesystem-service-CIaAqTRi.mjs +1 -0
- package/dist/{framework-packages-U4Xhouxe.mjs → framework-packages-C2tvdFmP.mjs} +1 -1
- package/dist/{hook-responses-B882RcQc.d.mts → hook-responses-C3nUIm-6.d.mts} +1 -1
- package/dist/{index-6bsTWnnc.d.mts → index-04uTOEVU.d.mts} +39 -39
- package/dist/{index-FyY9jdCQ2.d.mts → index-8HtSFrzb.d.mts} +16 -16
- package/dist/{index-UjNxC0VC2.d.mts → index-9O8N514B2.d.mts} +4 -4
- package/dist/{index-DQU8ZoJr.d.mts → index-BM53WQaQ.d.mts} +1 -1
- package/dist/{index-ConhyAnB.d.mts → index-BTLbhl35.d.mts} +21 -21
- package/dist/{index-Di-R1gmo.d.mts → index-BYwt4CNf.d.mts} +80 -80
- package/dist/{index-L6mssyeZ.d.mts → index-BfFi98B_.d.mts} +1 -1
- package/dist/{index-CESqYf8a.d.mts → index-C0Jfr8UK.d.mts} +2 -2
- package/dist/{index-DqliLe_D2.d.mts → index-C9Dz8UoK2.d.mts} +242 -7
- package/dist/{index-BtMWM80d.d.mts → index-CFMaXW-s.d.mts} +36 -36
- package/dist/{index-DUYjTfHD.d.mts → index-CLwnkYRD.d.mts} +1 -1
- package/dist/{index-aIJ7A4DC2.d.mts → index-CRjWqvy02.d.mts} +4 -4
- package/dist/{index-C8two8wz.d.mts → index-CdkIg4Gu.d.mts} +1 -1
- package/dist/{index-DfREUyAk.d.mts → index-CkE9MwNX.d.mts} +1 -1
- package/dist/{index-DJVQG6Nn.d.mts → index-CpGWwlRN.d.mts} +14 -14
- package/dist/{index-BDcK7jqJ2.d.mts → index-Csua5M_M2.d.mts} +8 -8
- package/dist/{index-DJxg7U2X.d.mts → index-D5BLD2Pw.d.mts} +7 -3
- package/dist/{index-B2bxgKiK.d.mts → index-D9BLsMs8.d.mts} +1 -1
- package/dist/{index-DdJKsdya.d.mts → index-D9hIDsPr.d.mts} +1 -1
- package/dist/{index-D6Uq1btG.d.mts → index-DDCixELI.d.mts} +1 -1
- package/dist/{index-m5ZQFglW2.d.mts → index-DVo_rb2w2.d.mts} +12 -12
- package/dist/{index-DpLjyQ-Z.d.mts → index-J6C4thLY.d.mts} +3 -3
- package/dist/{index-D2TphOHU2.d.mts → index-LCumcYK12.d.mts} +3 -3
- package/dist/{index-anIxF_eT.d.mts → index-aAo9ugCm.d.mts} +4 -4
- package/dist/{index-Jdju2W3y.d.mts → index-t6LnywuE.d.mts} +1 -1
- package/dist/{index-zqo2mX_Z.d.mts → index-ul45YFff.d.mts} +6 -6
- package/dist/{index-CmCLAMNs.d.mts → index-xad0YUyF.d.mts} +1 -1
- 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 +2 -2
- 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/{load-extensions-Be_lOjm_.d.mts → load-extensions-CCzTHlUE.d.mts} +1 -1
- package/dist/{load-extensions-BGfSWW_R.mjs → load-extensions-eyXZhbRn.mjs} +1 -1
- package/dist/{namespace-zusFEJPh.d.mts → namespace-B1FBjHfn.d.mts} +6 -6
- package/dist/native-session-supervisor-BmnAZuia.mjs +1 -0
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/transports/index.d.mts +53 -1
- package/dist/node/transports/index.mjs +2 -2
- package/dist/node-bridge-backend-DtRT--yn.mjs +1 -0
- package/dist/node-pty-backend-C72EgRws.mjs +1 -0
- package/dist/{package-CwyC-Krg.d.mts → package-BswWlFSn.d.mts} +1 -1
- package/dist/{package-kkPGlxMm.mjs → package-CeEUAKHI.mjs} +1 -1
- 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.d.mts +5 -0
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/bridge/pty-bridge.cjs +222 -0
- 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 +25 -21
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/{schemas-BLxdGZkr.d.mts → schemas-BzSB9u68.d.mts} +4 -4
- package/dist/{schemas-B7YzDHLs.d.mts → schemas-CjFPsYeV.d.mts} +4 -4
- package/dist/{schemas-DNNHiY8g2.d.mts → schemas-DPtj1sPC2.d.mts} +7 -7
- package/dist/service-base/index.d.mts +35 -5
- package/dist/service-base/index.mjs +1 -1
- 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/index.mjs +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/git/namespace.d.mts +2 -2
- package/dist/services/git/schemas.d.mts +2 -2
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +51 -51
- 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/index.mjs +1 -1
- 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/index.mjs +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/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/tool-approval/index.mjs +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/{session-CMbztxNO.mjs → session-D38UuGGX.mjs} +1 -1
- package/dist/{session-lineage-BuGN3RZs.d.mts → session-lineage-CmP7L5g2.d.mts} +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/{storage-namespace-DaCB01dg.d.mts → storage-namespace-CwwiV3kt.d.mts} +10 -10
- package/dist/{tool-approval-service-CRo3fZRF.mjs → tool-approval-service-vG2mEC9p.mjs} +1 -1
- package/dist/{tools-CKaxi3Mb.mjs → tools-ByDy0ueE.mjs} +1 -1
- package/dist/{transition-DMv8cgEd.d.mts → transition-B0qsutdE.d.mts} +2 -2
- package/dist/{types-Dvsn8TOX.d.mts → types-BP_P1izV.d.mts} +3 -3
- package/dist/{types-7L3BrU9m2.d.mts → types-DyBD5MdV2.d.mts} +1 -1
- package/dist/ui-kernel/index.d.mts +4 -4
- package/dist/ui-kernel/pages/namespace.d.mts +4 -4
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{view-builder-BVIbIS_J.d.mts → view-builder-nKz9DKfE.d.mts} +4 -4
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/index.d.mts +25 -25
- 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/index.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/{workflow-transitions-t0ORS1F5.mjs → workflow-transitions-UOXY-VZa.mjs} +1 -1
- package/package.json +2 -1
- package/dist/filesystem-service-ClZEAw7E.mjs +0 -1
- package/dist/native-session-supervisor-DtuN1Dgs.mjs +0 -1
- package/dist/{adapter-binding-CaYBrIkL.d.mts → adapter-binding-DF-j-XHg.d.mts} +0 -0
- package/dist/{base-orchestrator-1ofFsqUz.d.mts → base-orchestrator-FNFJ6Cwf.d.mts} +0 -0
- package/dist/{capability-service-CUN0MIS7.d.mts → capability-service-BHcRd1td.d.mts} +0 -0
- package/dist/{client-BY3sBW2L.d.mts → client-Sx_N8LXo.d.mts} +0 -0
- package/dist/{client-binary-version-verifier-BeO4Eptw.d.mts → client-binary-version-verifier-C8gtKQFO.d.mts} +0 -0
- package/dist/{clients-namespace-D92YsbKI.d.mts → clients-namespace-CASHxXUM.d.mts} +0 -0
- package/dist/{config-namespace-OEckUfVE.d.mts → config-namespace-CeTODseW.d.mts} +0 -0
- package/dist/{credential-ref-w4ZYpYW0.d.mts → credential-ref-MsnUkz9G.d.mts} +0 -0
- package/dist/{definition-DLJg-P4G.d.mts → definition-D2SO1tX-.d.mts} +0 -0
- package/dist/{execution-attempt-repository-DOb5V4N2.d.mts → execution-attempt-repository-C2XKRZ3O.d.mts} +0 -0
- package/dist/{extension-discovery-Rup-gANp.d.mts → extension-discovery-BqSPn73R.d.mts} +0 -0
- package/dist/{filesystem-service-BmavE-uO.d.mts → filesystem-service-5Ecp3nSV.d.mts} +0 -0
- package/dist/{index-DubyRZD9.d.mts → index-62OoZLGr.d.mts} +0 -0
- package/dist/{index-DEx4ZFkz.d.mts → index-BCuWtlv5.d.mts} +0 -0
- package/dist/{index-BneZFJ7x.d.mts → index-BEPn58tG.d.mts} +0 -0
- package/dist/{index-CpN2C9jq.d.mts → index-BOxMyaqG.d.mts} +0 -0
- package/dist/{index-fxh7TB0q.d.mts → index-BTd3fTkW.d.mts} +0 -0
- package/dist/{index-DGoJayJg.d.mts → index-BV3nQpdO.d.mts} +0 -0
- package/dist/{index--gbsE1W0.d.mts → index-B_Hf4XPX.d.mts} +0 -0
- package/dist/{index-BQYGOXY5.d.mts → index-BjrbddkU.d.mts} +0 -0
- package/dist/{index-D7smT-YD.d.mts → index-BleQ0SR7.d.mts} +0 -0
- package/dist/{index-CvdvuhTL2.d.mts → index-By1UhKYU2.d.mts} +0 -0
- package/dist/{index-YOXWpZAS.d.mts → index-CURT4JaX.d.mts} +0 -0
- package/dist/{index-CCTzitBA.d.mts → index-Ce6-SiB3.d.mts} +0 -0
- package/dist/{index-DxkSkszz.d.mts → index-CwVSr7Ow.d.mts} +0 -0
- package/dist/{index-DOD7Lmgu.d.mts → index-D5Lw1UsO.d.mts} +0 -0
- package/dist/{index-C2StVLk4.d.mts → index-DAqAa9aL.d.mts} +0 -0
- package/dist/{index-CsRPJ9FV.d.mts → index-DDnY7JhE.d.mts} +0 -0
- package/dist/{index-DTvYp2GT.d.mts → index-DMgbNdEU.d.mts} +0 -0
- package/dist/{index-BD1SbHpP.d.mts → index-DOui-7u2.d.mts} +0 -0
- package/dist/{index-BujgCaKt.d.mts → index-DsmyofuM.d.mts} +0 -0
- package/dist/{index-DwOpaQAE.d.mts → index-N0-r5Hcd.d.mts} +0 -0
- package/dist/{index-Cj_V1aRL.d.mts → index-_OD_Nz3m.d.mts} +0 -0
- package/dist/{index-TBJ1kIGA.d.mts → index-rik4Uc5G.d.mts} +0 -0
- package/dist/{index-D3peNmHN2.d.mts → index-u0EteHlR2.d.mts} +0 -0
- package/dist/{index-B36rL4gp.d.mts → index-w1AeWV4F.d.mts} +0 -0
- package/dist/{json-value-Bjl8jzom.d.mts → json-value--pv1-OHx.d.mts} +0 -0
- package/dist/{namespace-DudchWPb.d.mts → namespace-6O0G1s65.d.mts} +0 -0
- package/dist/{namespace-BtOBQybk.d.mts → namespace-BEi98VfQ.d.mts} +0 -0
- package/dist/{namespace-B1CgZ0oQ.d.mts → namespace-C5tKjqgb.d.mts} +0 -0
- package/dist/{namespace-hlhPqSsw.d.mts → namespace-CHSwZhH7.d.mts} +0 -0
- package/dist/{namespace-D09uQ231.d.mts → namespace-CJ5sH_Bp.d.mts} +0 -0
- package/dist/{namespace-DHLwz4o3.d.mts → namespace-CL9OyrHs.d.mts} +0 -0
- package/dist/{namespace-DHbrNQYD.d.mts → namespace-D38Fmd0E.d.mts} +0 -0
- package/dist/{namespace-MW-Eg_yB.d.mts → namespace-D6W4Erwp.d.mts} +0 -0
- package/dist/{namespace-CxEQv9iZ.d.mts → namespace-DbtfwD5Z.d.mts} +0 -0
- package/dist/{namespace-D5DkpaaN.d.mts → namespace-HLrZerLd.d.mts} +0 -0
- package/dist/{namespace-Bhx72V7S.d.mts → namespace-KomML5ti.d.mts} +0 -0
- package/dist/{namespace-Dz5_Hrz7.d.mts → namespace-QV_2m25r.d.mts} +0 -0
- package/dist/{namespace-DyD06b5-.d.mts → namespace-Sd6qj6w22.d.mts} +0 -0
- package/dist/{orchestrator-shared-ChU5qRSe.d.mts → orchestrator-shared-Bvo0u-1D.d.mts} +0 -0
- package/dist/{packages-D2s51nGU.d.mts → packages-KX9yofCa.d.mts} +0 -0
- package/dist/{providers-namespace-BLVt8OyP.d.mts → providers-namespace-B-l-OQZk.d.mts} +0 -0
- package/dist/{runtime-inputs-BU_kBrP7.d.mts → runtime-inputs-B7nWstrY.d.mts} +0 -0
- package/dist/{schema-FY0EakKe.d.mts → schema-De6d0FWI.d.mts} +0 -0
- package/dist/{schemas-CqawCYTY.d.mts → schemas-BGTuiO3u.d.mts} +0 -0
- package/dist/{schemas-CD3Mq-jC.d.mts → schemas-BOT1HUv6.d.mts} +0 -0
- package/dist/{schemas-3KTmPuZg.d.mts → schemas-BXkSHQaF.d.mts} +0 -0
- package/dist/{schemas--wiEYYQs.d.mts → schemas-Bv7ecHxV.d.mts} +0 -0
- package/dist/{schemas-B-5_Dp4_.d.mts → schemas-C0Fb2-LN.d.mts} +0 -0
- package/dist/{schemas-DiXL8NfA.d.mts → schemas-Cb9OJ9va.d.mts} +0 -0
- package/dist/{schemas-CBBzvIh0.d.mts → schemas-Dxfk39-v.d.mts} +0 -0
- package/dist/{schemas-BegArpU_.d.mts → schemas-feb64ScA.d.mts} +0 -0
- package/dist/{schemas-rMUsvzeJ.d.mts → schemas-rliUGyrt.d.mts} +1 -1
- /package/dist/{server-lifecycle-CTJvpdeL.d.mts → server-lifecycle-BINetU26.d.mts} +0 -0
- /package/dist/{src-C0sw_Vs_.mjs → src-CkKKoY0M.mjs} +0 -0
- /package/dist/{storage-namespace-definition-DiYr8UNl.d.mts → storage-namespace-definition-DV3IipmH.d.mts} +0 -0
- /package/dist/{types-DEGuc-fn.d.mts → types-B_mVEuYd.d.mts} +0 -0
- /package/dist/{types-CpEoQapk.d.mts → types-BrsmFcWl.d.mts} +0 -0
- /package/dist/{types-DciLiPMd.d.mts → types-CjoaGe_E.d.mts} +0 -0
- /package/dist/{types-BSx8YYlc.d.mts → types-CqVuKsLC.d.mts} +0 -0
- /package/dist/{types-Cuhnt15L.d.mts → types-D7WtaoMR.d.mts} +0 -0
- /package/dist/{window-registry-C3W2wtlX.d.mts → window-registry-1jI3f9ir.d.mts} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as createDatabaseClient, n as DatabaseClientConfig, r as PostgresClientOptions, t as DatabaseClient } from "../../client-
|
|
1
|
+
import { i as createDatabaseClient, n as DatabaseClientConfig, r as PostgresClientOptions, t as DatabaseClient } from "../../client-Sx_N8LXo.mjs";
|
|
2
2
|
export { DatabaseClient, DatabaseClientConfig, PostgresClientOptions, createDatabaseClient };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DATABASE_DIALECT, c as getDatabaseDialect, n as DatabaseClientConfig, o as MakaioDatabase, s as StorageDialect, t as DatabaseClient } from "../../client-
|
|
1
|
+
import { a as DATABASE_DIALECT, c as getDatabaseDialect, n as DatabaseClientConfig, o as MakaioDatabase, s as StorageDialect, t as DatabaseClient } from "../../client-Sx_N8LXo.mjs";
|
|
2
2
|
import { ExtensionContext } from "@makaio/framework/contracts";
|
|
3
3
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
4
4
|
import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as DrizzleCrudConfig, i as CrudLifecycleConfig, n as createDrizzleListHandler, o as DrizzleListConfig, r as createDrizzleCrudHandlers, t as buildScopePredicates } from "../../../index
|
|
1
|
+
import { a as DrizzleCrudConfig, i as CrudLifecycleConfig, n as createDrizzleListHandler, o as DrizzleListConfig, r as createDrizzleCrudHandlers, t as buildScopePredicates } from "../../../index-B_Hf4XPX.mjs";
|
|
2
2
|
export { CrudLifecycleConfig, DrizzleCrudConfig, DrizzleListConfig, buildScopePredicates, createDrizzleCrudHandlers, createDrizzleListHandler };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DrizzleCrudConfig, i as CrudLifecycleConfig, n as createDrizzleListHandler, o as DrizzleListConfig, r as createDrizzleCrudHandlers, t as buildScopePredicates } from "../../index
|
|
1
|
+
import { a as DrizzleCrudConfig, i as CrudLifecycleConfig, n as createDrizzleListHandler, o as DrizzleListConfig, r as createDrizzleCrudHandlers, t as buildScopePredicates } from "../../index-B_Hf4XPX.mjs";
|
|
2
2
|
|
|
3
3
|
//#region storage/handlers/src/utils.d.ts
|
|
4
4
|
/**
|
|
@@ -17,9 +17,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
|
|
|
17
17
|
scope: _$zod.ZodString;
|
|
18
18
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
19
19
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
20
|
-
mobile: "mobile";
|
|
21
20
|
desktop: "desktop";
|
|
22
21
|
tablet: "tablet";
|
|
22
|
+
mobile: "mobile";
|
|
23
23
|
}>>;
|
|
24
24
|
}, _$zod_v4_core0.$strip>;
|
|
25
25
|
category: _$zod.ZodString;
|
|
@@ -38,9 +38,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
|
|
|
38
38
|
scope: _$zod.ZodString;
|
|
39
39
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
40
40
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
41
|
-
mobile: "mobile";
|
|
42
41
|
desktop: "desktop";
|
|
43
42
|
tablet: "tablet";
|
|
43
|
+
mobile: "mobile";
|
|
44
44
|
}>>;
|
|
45
45
|
}, _$zod_v4_core0.$strip>;
|
|
46
46
|
category: _$zod.ZodString;
|
|
@@ -60,9 +60,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
|
|
|
60
60
|
scope: _$zod.ZodString;
|
|
61
61
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
62
62
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
63
|
-
mobile: "mobile";
|
|
64
63
|
desktop: "desktop";
|
|
65
64
|
tablet: "tablet";
|
|
65
|
+
mobile: "mobile";
|
|
66
66
|
}>>;
|
|
67
67
|
}, _$zod_v4_core0.$strip>;
|
|
68
68
|
category: _$zod.ZodString;
|
|
@@ -81,9 +81,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
|
|
|
81
81
|
scope: _$zod.ZodOptional<_$zod.ZodString>;
|
|
82
82
|
context: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
83
83
|
viewport: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodEnum<{
|
|
84
|
-
mobile: "mobile";
|
|
85
84
|
desktop: "desktop";
|
|
86
85
|
tablet: "tablet";
|
|
86
|
+
mobile: "mobile";
|
|
87
87
|
}>>>;
|
|
88
88
|
}, _$zod_v4_core0.$strip>>;
|
|
89
89
|
category: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -98,9 +98,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
|
|
|
98
98
|
scope: _$zod.ZodString;
|
|
99
99
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
100
100
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
101
|
-
mobile: "mobile";
|
|
102
101
|
desktop: "desktop";
|
|
103
102
|
tablet: "tablet";
|
|
103
|
+
mobile: "mobile";
|
|
104
104
|
}>>;
|
|
105
105
|
}, _$zod_v4_core0.$strip>;
|
|
106
106
|
category: _$zod.ZodString;
|
|
@@ -124,9 +124,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
|
|
|
124
124
|
scope: _$zod.ZodString;
|
|
125
125
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
126
126
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
127
|
-
mobile: "mobile";
|
|
128
127
|
desktop: "desktop";
|
|
129
128
|
tablet: "tablet";
|
|
129
|
+
mobile: "mobile";
|
|
130
130
|
}>>;
|
|
131
131
|
}, _$zod_v4_core0.$strip>;
|
|
132
132
|
category: _$zod.ZodString;
|
|
@@ -145,9 +145,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
|
|
|
145
145
|
scope: _$zod.ZodString;
|
|
146
146
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
147
147
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
148
|
-
mobile: "mobile";
|
|
149
148
|
desktop: "desktop";
|
|
150
149
|
tablet: "tablet";
|
|
150
|
+
mobile: "mobile";
|
|
151
151
|
}>>;
|
|
152
152
|
}, _$zod_v4_core0.$strip>;
|
|
153
153
|
category: _$zod.ZodString;
|
|
@@ -167,9 +167,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
|
|
|
167
167
|
scope: _$zod.ZodString;
|
|
168
168
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
169
169
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
170
|
-
mobile: "mobile";
|
|
171
170
|
desktop: "desktop";
|
|
172
171
|
tablet: "tablet";
|
|
172
|
+
mobile: "mobile";
|
|
173
173
|
}>>;
|
|
174
174
|
}, _$zod_v4_core0.$strip>;
|
|
175
175
|
category: _$zod.ZodString;
|
|
@@ -188,9 +188,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
|
|
|
188
188
|
scope: _$zod.ZodOptional<_$zod.ZodString>;
|
|
189
189
|
context: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
190
190
|
viewport: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodEnum<{
|
|
191
|
-
mobile: "mobile";
|
|
192
191
|
desktop: "desktop";
|
|
193
192
|
tablet: "tablet";
|
|
193
|
+
mobile: "mobile";
|
|
194
194
|
}>>>;
|
|
195
195
|
}, _$zod_v4_core0.$strip>>;
|
|
196
196
|
category: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -205,9 +205,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
|
|
|
205
205
|
scope: _$zod.ZodString;
|
|
206
206
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
207
207
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
208
|
-
mobile: "mobile";
|
|
209
208
|
desktop: "desktop";
|
|
210
209
|
tablet: "tablet";
|
|
210
|
+
mobile: "mobile";
|
|
211
211
|
}>>;
|
|
212
212
|
}, _$zod_v4_core0.$strip>;
|
|
213
213
|
category: _$zod.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./ownership-recovery-guard-C9h8K1jo.mjs";import{SessionStorageSubjects as t}from"./services/session/storage/namespace.mjs";import"./session-
|
|
1
|
+
import{a as e}from"./ownership-recovery-guard-C9h8K1jo.mjs";import{SessionStorageSubjects as t}from"./services/session/storage/namespace.mjs";import"./session-D38UuGGX.mjs";import{AgentSubjects as n,ApprovalSubjects as r,HarnessSubjects as i,computeMetaTags as a}from"@makaio/framework/contracts";import{BaseService as o}from"@makaio/framework/service-base";import{extractToolFilePath as s}from"@makaio/framework/tools";const c={"full-access":0,"always-ask":1,reject:2};function l(){return`apr_${crypto.randomUUID()}`}function u(e){switch(e){case`allow`:return`full-access`;case`deny`:return`reject`;case`ask`:return`always-ask`}}function d(e){if(!e?.length)return`neutral`;let t=a(e);return t.includes(`destructive`)?`destructive`:t.includes(`read-only`)?`safe`:`neutral`}function f(e,t){if(e)return t&&e.toolApprovalOverrides?.[t]!==void 0?e.toolApprovalOverrides[t]:e.approvalPolicy}function p(e,t,n,r){let i=r[t];if(!i?.length)return e;let a=e;for(let e of i){let t=n[e];t&&c[t]>c[a]&&(a=t)}return a}function m(e,t,n){return n.handled?n.data.allowedDirectories??void 0:t?[]:void 0}function h(e,t,n){if(!n||!e?.cwd)return{};let r;return(e.personaId||e.profileId)&&t&&(r=m(e.personaId,e.profileId,t)),{cwd:e.cwd,...r&&{allowedDirectories:r}}}function g(e,t,n){if(!(!e&&!t))return!n||!n.handled?{policy:`always-ask`}:{policy:u(n.data.action),...n.data.personaName&&{personaName:n.data.personaName},...n.data.profileName&&{profileName:n.data.profileName}}}function _(e,t){let n=t.harness?.toolCapabilityMap&&e.toolName?t.harness.toolCapabilityMap[e.toolName]:void 0;return{requestId:l(),toolCallId:e.toolCallId,toolName:e.toolName,args:e.args,agentId:e.agentId,sessionId:e.sessionId,adapterName:t.resolvedAdapterName,...t.personaName&&{personaName:t.personaName},...t.profileName&&{profileName:t.profileName},capabilities:n,riskLevel:d(n),reasoning:e.reasoning,createdAt:Date.now()}}var v=class extends o{logger=console;options;constructor(e,t={}){super(e),this.options=t}async onInit(){this.registerHandler(n.toolApprove,async e=>{let t=await this.getAgentMetadata(e.payload.agentId,e.payload.sessionId),n=(t?.personaId||t?.profileId)&&e.payload.toolName?await this.fetchRawEnrichedPolicy(t?.personaId,t?.profileId,e.payload.toolName):void 0,r=h(t,n,this.options.fileAccessRuleProvider),i=await this.checkFileAccessDenyReason(e.payload,r);if(i){e.setResult({action:`deny`,message:i,shouldAbort:!1});return}let a=await this.resolveSessionOverride(e.payload.sessionId);if(a===`full-access`){e.setResult({action:`allow`});return}if(a===`reject`){e.setResult({action:`deny`,message:`Tool use rejected by session approval policy override`,shouldAbort:!1});return}let o=await this.resolvePolicyWithContext({adapterName:e.payload.adapterName,toolName:e.payload.toolName},t,n);switch(a===`always-ask`?`always-ask`:o.policy){case`full-access`:e.setResult({action:`allow`});return;case`reject`:e.setResult({action:`deny`,message:`Tool use rejected by approval policy`,shouldAbort:!1});return;case`always-ask`:await this.dispatchAlwaysAskApproval(e.payload,e.setResult.bind(e),o);return}})}async dispatchAlwaysAskApproval(e,t,i){let a=_(e,i),o=new AbortController,s=this.bus.on(n.session.closed,()=>{o.abort()},{filter:{agentId:a.agentId,...e.adapterSessionId!==void 0&&{adapterSessionId:e.adapterSessionId}}});try{let e=await this.bus.requestOptional(r.request,a,{timeout:0,signal:o.signal});e.handled&&e.data.action===`allow`?t({action:`allow`,...e.data.updatedInput&&{updatedInput:e.data.updatedInput}}):t({action:`deny`,message:e.handled&&e.data.action===`deny`?e.data.message??`User denied tool execution`:`No approval handler available`,shouldAbort:!1})}catch{t({action:`deny`,message:o.signal.aborted?`Approval cancelled — agent session closed`:`Tool approval request failed`,shouldAbort:!1})}finally{s()}}async checkFileAccessDenyReason(e,t){if(!this.options.fileAccessRuleProvider||!t.cwd)return;let n=s(e.toolName,e.args,t.cwd);if(n)try{return(await this.options.fileAccessRuleProvider(t.cwd,t.allowedDirectories)).isDenied(n)?`Access denied: '${n}' is restricted by .makaioignore rules`:void 0}catch{return`Access denied: file access rules could not be evaluated`}}async fetchRawEnrichedPolicy(e,t,n){try{return await this.bus.requestOptional(r.resolveEnrichedPolicy,{toolName:n,personaId:e,profileId:t})}catch(r){return this.logger.error(`[ToolApprovalService] approval.resolveEnrichedPolicy failed; falling back to fail-closed`,{toolName:n,personaId:e,profileId:t,error:r}),{handled:!1}}}async resolvePolicyWithContext(e,t,n){let r=t?.adapterName??e.adapterName,i=g(t?.personaId,t?.profileId,n),a=await this.resolveHarnessPolicy(r,t?.harnessId,t?.clientId),o=f(a,e.toolName),s=i?.policy??o??`always-ask`,c=s;return a?.capabilityOverrides&&a.toolCapabilityMap&&e.toolName&&(c=p(s,e.toolName,a.capabilityOverrides,a.toolCapabilityMap)),{policy:c,harness:a,agent:t,resolvedAdapterName:r,...i?.personaName&&{personaName:i.personaName},...i?.profileName&&{profileName:i.profileName}}}async getAgentMetadata(t,n){try{if(n){let{agents:r}=await this.bus.request(e.listBySession,{sessionId:n});return r.find(e=>e.agentId===t)??null}let r=await this.bus.requestOptional(e.get,{agentId:t});return r.handled?r.data.agent:null}catch{return null}}async resolveSessionOverride(e){if(e)try{let n=await this.bus.requestOptional(t.get,{sessionId:e});return n.handled?n.data.session?.approvalPolicyOverride??void 0:void 0}catch{return}}async resolveHarnessPolicy(e,t,n){try{let r=await this.bus.request(i.resolve,{adapterName:e,...t&&{profileHarnessId:t},...n&&{clientId:n}});return{approvalPolicy:r.approvalPolicy,capabilityOverrides:r.capabilityOverrides,toolCapabilityMap:r.toolCapabilityMap,toolApprovalOverrides:r.toolApprovalOverrides}}catch{return}}};export{v as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./framework-packages-
|
|
1
|
+
import{l as e}from"./framework-packages-C2tvdFmP.mjs";import{FILE_ACCESS_RULES_KEY as t,extractToolFilePath as n}from"@makaio/framework/tools";function r(){let t=new Map;return{filter:e=>!!e.tools?.createToolsets,async processActivated(n,r,i){let a=i.getService(e);if(!a)throw Error(`ToolRegistry is not available. Ensure toolRegistryPackage is included in the composition root.`);let o=r.tools.createToolsets(i),s=[];try{for(let e of o)await a.register(e),s.push(()=>a.deregister(e.metadata.name))}catch(e){for(let e=s.length-1;e>=0;--e)try{await s[e]()}catch(e){console.error(`[ToolContributionProcessor] Rollback error for "${n}":`,e)}throw e}t.set(n,s)},async processStopped(e){let n=t.get(e);if(n){for(let t=n.length-1;t>=0;--t)try{await n[t]()}catch(t){console.error(`[ToolContributionProcessor] Deregister error for "${e}":`,t)}t.delete(e)}}}}export{n,r,t};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { x as ArtifactRevision$1 } from "./schemas-
|
|
2
|
-
import { l as JsonValue$1 } from "./json-value-
|
|
1
|
+
import { x as ArtifactRevision$1 } from "./schemas-rliUGyrt.mjs";
|
|
2
|
+
import { l as JsonValue$1 } from "./json-value--pv1-OHx.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as JsonValue$1 } from "./json-value-
|
|
2
|
-
import { s as MessageBlock$1 } from "./index-
|
|
3
|
-
import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-
|
|
1
|
+
import { l as JsonValue$1 } from "./json-value--pv1-OHx.mjs";
|
|
2
|
+
import { s as MessageBlock$1 } from "./index-DDCixELI.mjs";
|
|
3
|
+
import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-DV3IipmH.mjs";
|
|
4
4
|
import * as _$zod from "zod";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as LogImportMode, t as LogImporterInfo } from "./index-
|
|
1
|
+
import { r as LogImportMode, t as LogImporterInfo } from "./index-u0EteHlR2.mjs";
|
|
2
2
|
import * as _$_makaio_bus_core0 from "@makaio/framework/bus";
|
|
3
3
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
4
4
|
import { LogImportOrchestrator, LogImporter } from "@makaio/framework/adapters";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as PageSurfaceConfig, s as SurfaceId } from "../schemas-
|
|
1
|
+
import { r as PageSurfaceConfig, s as SurfaceId } from "../schemas-CjFPsYeV.mjs";
|
|
2
2
|
import * as _$zod from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -2309,8 +2309,8 @@ declare const UiSchemas: {
|
|
|
2309
2309
|
ready: z.ZodObject<{
|
|
2310
2310
|
surface: z.ZodEnum<{
|
|
2311
2311
|
tray: "tray";
|
|
2312
|
-
web: "web";
|
|
2313
2312
|
mobile: "mobile";
|
|
2313
|
+
web: "web";
|
|
2314
2314
|
electron: "electron";
|
|
2315
2315
|
electrobun: "electrobun";
|
|
2316
2316
|
}>;
|
|
@@ -2409,8 +2409,8 @@ declare const UiNamespace: _$_makaio_core0.BusNamespaceDefinition<"ui", {
|
|
|
2409
2409
|
ready: _$zod.ZodObject<{
|
|
2410
2410
|
surface: _$zod.ZodEnum<{
|
|
2411
2411
|
tray: "tray";
|
|
2412
|
-
web: "web";
|
|
2413
2412
|
mobile: "mobile";
|
|
2413
|
+
web: "web";
|
|
2414
2414
|
electron: "electron";
|
|
2415
2415
|
electrobun: "electrobun";
|
|
2416
2416
|
}>;
|
|
@@ -2450,8 +2450,8 @@ declare const UiSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
|
|
|
2450
2450
|
ready: _$zod.ZodObject<{
|
|
2451
2451
|
surface: _$zod.ZodEnum<{
|
|
2452
2452
|
tray: "tray";
|
|
2453
|
-
web: "web";
|
|
2454
2453
|
mobile: "mobile";
|
|
2454
|
+
web: "web";
|
|
2455
2455
|
electron: "electron";
|
|
2456
2456
|
electrobun: "electrobun";
|
|
2457
2457
|
}>;
|
|
@@ -15,8 +15,8 @@ declare const PageNamespace: _$_makaio_core0.BusNamespaceDefinition<"pages", {
|
|
|
15
15
|
readonly request: _$zod.ZodObject<{
|
|
16
16
|
surface: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
17
17
|
tray: "tray";
|
|
18
|
-
web: "web";
|
|
19
18
|
mobile: "mobile";
|
|
19
|
+
web: "web";
|
|
20
20
|
electron: "electron";
|
|
21
21
|
electrobun: "electrobun";
|
|
22
22
|
}>>;
|
|
@@ -35,8 +35,8 @@ declare const PageNamespace: _$_makaio_core0.BusNamespaceDefinition<"pages", {
|
|
|
35
35
|
level: _$zod.ZodCustom<_$_makaio_contracts0.UiNavigationLevel, _$_makaio_contracts0.UiNavigationLevel>;
|
|
36
36
|
surfaces: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodLiteral<"all">, _$zod.ZodArray<_$zod.ZodEnum<{
|
|
37
37
|
tray: "tray";
|
|
38
|
-
web: "web";
|
|
39
38
|
mobile: "mobile";
|
|
39
|
+
web: "web";
|
|
40
40
|
electron: "electron";
|
|
41
41
|
electrobun: "electrobun";
|
|
42
42
|
}>>]>>;
|
|
@@ -55,8 +55,8 @@ declare const PageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubj
|
|
|
55
55
|
readonly request: _$zod.ZodObject<{
|
|
56
56
|
surface: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
57
57
|
tray: "tray";
|
|
58
|
-
web: "web";
|
|
59
58
|
mobile: "mobile";
|
|
59
|
+
web: "web";
|
|
60
60
|
electron: "electron";
|
|
61
61
|
electrobun: "electrobun";
|
|
62
62
|
}>>;
|
|
@@ -75,8 +75,8 @@ declare const PageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubj
|
|
|
75
75
|
level: _$zod.ZodCustom<_$_makaio_contracts0.UiNavigationLevel, _$_makaio_contracts0.UiNavigationLevel>;
|
|
76
76
|
surfaces: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodLiteral<"all">, _$zod.ZodArray<_$zod.ZodEnum<{
|
|
77
77
|
tray: "tray";
|
|
78
|
-
web: "web";
|
|
79
78
|
mobile: "mobile";
|
|
79
|
+
web: "web";
|
|
80
80
|
electron: "electron";
|
|
81
81
|
electrobun: "electrobun";
|
|
82
82
|
}>>]>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SurfaceCapabilitySchema, c as SurfaceIdSchema, i as SurfaceCapability, l as isPageVisibleOnSurface, n as PageSchemas, o as SurfaceDeclaration, r as PageSurfaceConfig, s as SurfaceId, t as PageMetadata } from "../../schemas-
|
|
1
|
+
import { a as SurfaceCapabilitySchema, c as SurfaceIdSchema, i as SurfaceCapability, l as isPageVisibleOnSurface, n as PageSchemas, o as SurfaceDeclaration, r as PageSurfaceConfig, s as SurfaceId, t as PageMetadata } from "../../schemas-CjFPsYeV.mjs";
|
|
2
2
|
export { PageMetadata, PageSchemas, PageSurfaceConfig, SurfaceCapability, SurfaceCapabilitySchema, SurfaceDeclaration, SurfaceId, SurfaceIdSchema, isPageVisibleOnSurface };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as ArtifactRelation, x as ArtifactRevision$1 } from "./schemas-
|
|
1
|
+
import { p as ArtifactRelation, x as ArtifactRevision$1 } from "./schemas-rliUGyrt.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
4
4
|
|
|
@@ -71,8 +71,8 @@ declare const SurfaceBindingRegistrationSchema: z.ZodObject<{
|
|
|
71
71
|
template: z.ZodString;
|
|
72
72
|
}, z.core.$strip>], "kind">;
|
|
73
73
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
74
|
-
artifact: "artifact";
|
|
75
74
|
workpiece: "workpiece";
|
|
75
|
+
artifact: "artifact";
|
|
76
76
|
surface: "surface";
|
|
77
77
|
}>>;
|
|
78
78
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -138,8 +138,8 @@ declare const ArtifactProjectionPolicySchema: z.ZodObject<{
|
|
|
138
138
|
comment: "comment";
|
|
139
139
|
}>;
|
|
140
140
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
141
|
-
artifact: "artifact";
|
|
142
141
|
workpiece: "workpiece";
|
|
142
|
+
artifact: "artifact";
|
|
143
143
|
}>>;
|
|
144
144
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
145
145
|
created: "created";
|
|
@@ -197,8 +197,8 @@ declare const ArtifactMaterializationRefSchema: z.ZodObject<{
|
|
|
197
197
|
externalId: z.ZodString;
|
|
198
198
|
externalUrl: z.ZodOptional<z.ZodString>;
|
|
199
199
|
surfaceRole: z.ZodEnum<{
|
|
200
|
-
artifact: "artifact";
|
|
201
200
|
workpiece: "workpiece";
|
|
201
|
+
artifact: "artifact";
|
|
202
202
|
}>;
|
|
203
203
|
lastSyncedRevision: z.ZodOptional<z.ZodString>;
|
|
204
204
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $t as AttemptSettlementSnapshot, A as OperationReportDecision, 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, H as RegisterRuntimeInput, I as RecordAllocationInput, It as RequestExecutionCancellationInput, J as sameAllocationRef, K as decodeDurableOutcome, L as RecordAllocationTerminatedInput, Lt as evaluateAttemptCancellation, M as PendingAttemptAbandonmentDecision, Mt as AttemptOutcomeControlObservation, N as PreparationReceipt, Nt as ExecutionAttemptCancellationDecision, O as OperationAdmissionDecision, Ot as evaluatePreparationReport, P as ProvisioningClaimDecision, Pt as ExecutionAttemptCancellationIntent, Qt as AttemptSettlementRead, R as RecordInfrastructureFailureInput, Rt as snapshotAttemptOutcomeControl, S as ExecutionAttemptSettlementKind, St as RuntimeOutcomeFence, T as GetInstructionInput, Tt as evaluateAttemptReachability, U as ReportOperationInput, V as RecoverableAttemptRecord, W as RuntimeReadinessDecision, X as CompleteProviderOperationInput, Y as sameDurableOutcome, Z as HandoffProviderOperationInput, _ as EXECUTION_ATTEMPT_STATUSES, a as AllocationRefEvolutionDecision, b as ExecutionAttemptRecoveryOperations, bt as AttemptReachability, c as AttemptExecutionState, d as BootstrapStartState, 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, j as OutcomeCodec, jt as evaluateRuntimeRegistration, k as OperationCompletionDecision, kt as evaluateProvisionerIncarnationLoss, l as AttemptOperationStartGate, m as DuplicateExecutionAttemptError, mt as RecordProviderOperationUncertaintyInput, n as AdmitOperationInput, nn as EnsureExecutionAttemptPersistenceInput, o as AllocationTerminationDecision, p as DiscoveredAllocationDecision, pt as ProvisioningAbsenceDecision, q as durableOutcome, r as AllocationRecordingDecision, rn as ReadAttemptSettlementInput, s as AttemptControlState, t as ATTEMPT_OPERATION_START_GATES, tn as EnsureExecutionAttemptInput, tt as OpenProviderOperationRecord, u as BeginProvisioningInput, 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-
|
|
1
|
+
import { $t as AttemptSettlementSnapshot, A as OperationReportDecision, 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, H as RegisterRuntimeInput, I as RecordAllocationInput, It as RequestExecutionCancellationInput, J as sameAllocationRef, K as decodeDurableOutcome, L as RecordAllocationTerminatedInput, Lt as evaluateAttemptCancellation, M as PendingAttemptAbandonmentDecision, Mt as AttemptOutcomeControlObservation, N as PreparationReceipt, Nt as ExecutionAttemptCancellationDecision, O as OperationAdmissionDecision, Ot as evaluatePreparationReport, P as ProvisioningClaimDecision, Pt as ExecutionAttemptCancellationIntent, Qt as AttemptSettlementRead, R as RecordInfrastructureFailureInput, Rt as snapshotAttemptOutcomeControl, S as ExecutionAttemptSettlementKind, St as RuntimeOutcomeFence, T as GetInstructionInput, Tt as evaluateAttemptReachability, U as ReportOperationInput, V as RecoverableAttemptRecord, W as RuntimeReadinessDecision, X as CompleteProviderOperationInput, Y as sameDurableOutcome, Z as HandoffProviderOperationInput, _ as EXECUTION_ATTEMPT_STATUSES, a as AllocationRefEvolutionDecision, b as ExecutionAttemptRecoveryOperations, bt as AttemptReachability, c as AttemptExecutionState, d as BootstrapStartState, 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, j as OutcomeCodec, jt as evaluateRuntimeRegistration, k as OperationCompletionDecision, kt as evaluateProvisionerIncarnationLoss, l as AttemptOperationStartGate, m as DuplicateExecutionAttemptError, mt as RecordProviderOperationUncertaintyInput, n as AdmitOperationInput, nn as EnsureExecutionAttemptPersistenceInput, o as AllocationTerminationDecision, p as DiscoveredAllocationDecision, pt as ProvisioningAbsenceDecision, q as durableOutcome, r as AllocationRecordingDecision, rn as ReadAttemptSettlementInput, s as AttemptControlState, t as ATTEMPT_OPERATION_START_GATES, tn as EnsureExecutionAttemptInput, tt as OpenProviderOperationRecord, u as BeginProvisioningInput, 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-C2XKRZ3O.mjs";
|
|
2
2
|
export { ATTEMPT_OPERATION_START_GATES, AdmitOperationInput, AllocationRecordingDecision, AllocationRefEvolution, AllocationRefEvolutionDecision, AllocationTerminationDecision, AttemptControlState, AttemptExecutionState, AttemptOperationStartGate, AttemptOutcomeControlObservation, AttemptReachability, AttemptReachabilityDecision, AttemptSettlementRead, AttemptSettlementSnapshot, BeginProvisioningInput, BootstrapStartState, CompleteOperationInput, CompleteProviderOperationInput, DiscoveredAllocationDecision, DuplicateExecutionAttemptError, DurableOutcome, EXECUTION_ATTEMPT_SETTLEMENT_KINDS, EXECUTION_ATTEMPT_STATUSES, EnsureExecutionAttemptDecision, EnsureExecutionAttemptInput, EnsureExecutionAttemptPersistenceInput, ExecutionAttemptCancellationDecision, ExecutionAttemptCancellationIntent, ExecutionAttemptCreate, ExecutionAttemptOutcomeCommit, ExecutionAttemptOutcomeDecision, ExecutionAttemptRecord, ExecutionAttemptRecoveryOperations, ExecutionAttemptRepository, ExecutionAttemptSettlementKind, ExecutionAttemptStatus, ExecutionOwnerId, GetInstructionInput, HandoffProviderOperationInput, InfrastructureFailureDecision, ListOpenProviderOperationsInput, MarkRuntimeReadyInput, OpenProviderOperationRecord, OperationAdmissionDecision, OperationCompletionDecision, OperationReportDecision, OutcomeCodec, PendingAttemptAbandonmentDecision, PreparationReceipt, ProvisionerIncarnationLossDecision, ProvisioningAbsenceDecision, ProvisioningClaimDecision, ReadAttemptSettlementInput, ReadBootstrapStartStateInput, RecordAllocationInput, RecordAllocationTerminatedInput, RecordInfrastructureFailureInput, RecordProviderOperationUncertaintyInput, RecordProvisionerIncarnationLostInput, RecordProvisioningAbsentInput, RecoverableAttemptRecord, RegisterRuntimeInput, RenewProviderOperationClaimInput, ReportOperationInput, RequestAttemptCancellationInput, RequestExecutionCancellationInput, RuntimeOutcomeFence, RuntimeOutcomeFenceMismatchError, RuntimeReadinessDecision, RuntimeRegistrationDecision, TakeOverProviderOperationInput, assertRuntimeOutcomeFence, decodeDurableOutcome, durableOutcome, evaluateAttemptCancellation, evaluateAttemptReachability, evaluateOperationAdmission, evaluateOperationCompletion, evaluatePreparationReport, evaluateProvisionerIncarnationLoss, evaluateRuntimeReadiness, evaluateRuntimeRegistration, sameAllocationRef, sameDurableOutcome, snapshotAttemptOutcomeControl, snapshotRequestAttemptCancellationInput, snapshotRequestExecutionCancellationInput };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as InitialProviderOperationClaimContextSource, $t as AttemptSettlementSnapshot, A as OperationReportDecision, 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, Ot as evaluatePreparationReport, P as ProvisioningClaimDecision, Pt as ExecutionAttemptCancellationIntent, Q as InitialProviderOperationClaimContext, Qt as AttemptSettlementRead, R as RecordInfrastructureFailureInput, Rt as snapshotAttemptOutcomeControl, S as ExecutionAttemptSettlementKind, St as RuntimeOutcomeFence, T as GetInstructionInput, Tt as evaluateAttemptReachability, U as ReportOperationInput, 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-
|
|
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, A as OperationReportDecision, 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, Ot as evaluatePreparationReport, P as ProvisioningClaimDecision, Pt as ExecutionAttemptCancellationIntent, Q as InitialProviderOperationClaimContext, Qt as AttemptSettlementRead, R as RecordInfrastructureFailureInput, Rt as snapshotAttemptOutcomeControl, S as ExecutionAttemptSettlementKind, St as RuntimeOutcomeFence, T as GetInstructionInput, Tt as evaluateAttemptReachability, U as ReportOperationInput, 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-C2XKRZ3O.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-BswWlFSn.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";
|
|
@@ -1113,8 +1113,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1113
1113
|
"exit-and-resume": "exit-and-resume";
|
|
1114
1114
|
}>>;
|
|
1115
1115
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
1116
|
-
worker: "worker";
|
|
1117
1116
|
authority: "authority";
|
|
1117
|
+
worker: "worker";
|
|
1118
1118
|
}>>;
|
|
1119
1119
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1120
1120
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -1186,8 +1186,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1186
1186
|
"delegate-agent": "delegate-agent";
|
|
1187
1187
|
"delegate-role": "delegate-role";
|
|
1188
1188
|
sequence: "sequence";
|
|
1189
|
-
gate: "gate";
|
|
1190
1189
|
parallel: "parallel";
|
|
1190
|
+
gate: "gate";
|
|
1191
1191
|
iterate: "iterate";
|
|
1192
1192
|
"iterate-chain": "iterate-chain";
|
|
1193
1193
|
loop: "loop";
|
|
@@ -1231,8 +1231,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1231
1231
|
"delegate-agent": "delegate-agent";
|
|
1232
1232
|
"delegate-role": "delegate-role";
|
|
1233
1233
|
sequence: "sequence";
|
|
1234
|
-
gate: "gate";
|
|
1235
1234
|
parallel: "parallel";
|
|
1235
|
+
gate: "gate";
|
|
1236
1236
|
iterate: "iterate";
|
|
1237
1237
|
"iterate-chain": "iterate-chain";
|
|
1238
1238
|
loop: "loop";
|
|
@@ -1590,8 +1590,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1590
1590
|
"delegate-agent": "delegate-agent";
|
|
1591
1591
|
"delegate-role": "delegate-role";
|
|
1592
1592
|
sequence: "sequence";
|
|
1593
|
-
gate: "gate";
|
|
1594
1593
|
parallel: "parallel";
|
|
1594
|
+
gate: "gate";
|
|
1595
1595
|
iterate: "iterate";
|
|
1596
1596
|
"iterate-chain": "iterate-chain";
|
|
1597
1597
|
loop: "loop";
|
|
@@ -1636,8 +1636,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1636
1636
|
"delegate-agent": "delegate-agent";
|
|
1637
1637
|
"delegate-role": "delegate-role";
|
|
1638
1638
|
sequence: "sequence";
|
|
1639
|
-
gate: "gate";
|
|
1640
1639
|
parallel: "parallel";
|
|
1640
|
+
gate: "gate";
|
|
1641
1641
|
iterate: "iterate";
|
|
1642
1642
|
"iterate-chain": "iterate-chain";
|
|
1643
1643
|
loop: "loop";
|
|
@@ -1679,8 +1679,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1679
1679
|
"delegate-agent": "delegate-agent";
|
|
1680
1680
|
"delegate-role": "delegate-role";
|
|
1681
1681
|
sequence: "sequence";
|
|
1682
|
-
gate: "gate";
|
|
1683
1682
|
parallel: "parallel";
|
|
1683
|
+
gate: "gate";
|
|
1684
1684
|
iterate: "iterate";
|
|
1685
1685
|
"iterate-chain": "iterate-chain";
|
|
1686
1686
|
loop: "loop";
|
|
@@ -2215,8 +2215,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2215
2215
|
"exit-and-resume": "exit-and-resume";
|
|
2216
2216
|
}>>;
|
|
2217
2217
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
2218
|
-
worker: "worker";
|
|
2219
2218
|
authority: "authority";
|
|
2219
|
+
worker: "worker";
|
|
2220
2220
|
}>>;
|
|
2221
2221
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2222
2222
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -2402,8 +2402,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2402
2402
|
"exit-and-resume": "exit-and-resume";
|
|
2403
2403
|
}>>;
|
|
2404
2404
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
2405
|
-
worker: "worker";
|
|
2406
2405
|
authority: "authority";
|
|
2406
|
+
worker: "worker";
|
|
2407
2407
|
}>>;
|
|
2408
2408
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2409
2409
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -3334,7 +3334,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3334
3334
|
tableName: "workflow_execution_frames";
|
|
3335
3335
|
dataType: "string";
|
|
3336
3336
|
columnType: "SQLiteText";
|
|
3337
|
-
data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "
|
|
3337
|
+
data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
|
|
3338
3338
|
driverParam: string;
|
|
3339
3339
|
notNull: true;
|
|
3340
3340
|
hasDefault: false;
|
|
@@ -3347,7 +3347,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3347
3347
|
generated: undefined;
|
|
3348
3348
|
}, {}, {
|
|
3349
3349
|
length: number | undefined;
|
|
3350
|
-
$type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "
|
|
3350
|
+
$type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
|
|
3351
3351
|
}>;
|
|
3352
3352
|
path: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3353
3353
|
name: string;
|
|
@@ -4821,7 +4821,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4821
4821
|
tableName: "workflow_run_contexts";
|
|
4822
4822
|
dataType: "string";
|
|
4823
4823
|
columnType: "SQLiteText";
|
|
4824
|
-
data: "
|
|
4824
|
+
data: "authority" | "worker" | undefined;
|
|
4825
4825
|
driverParam: string;
|
|
4826
4826
|
notNull: false;
|
|
4827
4827
|
hasDefault: false;
|
|
@@ -4834,7 +4834,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4834
4834
|
generated: undefined;
|
|
4835
4835
|
}, {}, {
|
|
4836
4836
|
length: number | undefined;
|
|
4837
|
-
$type: "
|
|
4837
|
+
$type: "authority" | "worker" | undefined;
|
|
4838
4838
|
}>;
|
|
4839
4839
|
materializationSpec: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4840
4840
|
name: string;
|
|
@@ -5167,7 +5167,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
5167
5167
|
tableName: "worklog_frame_entries";
|
|
5168
5168
|
dataType: "string";
|
|
5169
5169
|
columnType: "SQLiteText";
|
|
5170
|
-
data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "
|
|
5170
|
+
data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
|
|
5171
5171
|
driverParam: string;
|
|
5172
5172
|
notNull: true;
|
|
5173
5173
|
hasDefault: false;
|
|
@@ -5180,7 +5180,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
5180
5180
|
generated: undefined;
|
|
5181
5181
|
}, {}, {
|
|
5182
5182
|
length: number | undefined;
|
|
5183
|
-
$type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "
|
|
5183
|
+
$type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
|
|
5184
5184
|
}>;
|
|
5185
5185
|
path: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
5186
5186
|
name: string;
|
|
@@ -6762,8 +6762,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6762
6762
|
"exit-and-resume": "exit-and-resume";
|
|
6763
6763
|
}>>;
|
|
6764
6764
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
6765
|
-
worker: "worker";
|
|
6766
6765
|
authority: "authority";
|
|
6766
|
+
worker: "worker";
|
|
6767
6767
|
}>>;
|
|
6768
6768
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6769
6769
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -6835,8 +6835,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6835
6835
|
"delegate-agent": "delegate-agent";
|
|
6836
6836
|
"delegate-role": "delegate-role";
|
|
6837
6837
|
sequence: "sequence";
|
|
6838
|
-
gate: "gate";
|
|
6839
6838
|
parallel: "parallel";
|
|
6839
|
+
gate: "gate";
|
|
6840
6840
|
iterate: "iterate";
|
|
6841
6841
|
"iterate-chain": "iterate-chain";
|
|
6842
6842
|
loop: "loop";
|
|
@@ -6880,8 +6880,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6880
6880
|
"delegate-agent": "delegate-agent";
|
|
6881
6881
|
"delegate-role": "delegate-role";
|
|
6882
6882
|
sequence: "sequence";
|
|
6883
|
-
gate: "gate";
|
|
6884
6883
|
parallel: "parallel";
|
|
6884
|
+
gate: "gate";
|
|
6885
6885
|
iterate: "iterate";
|
|
6886
6886
|
"iterate-chain": "iterate-chain";
|
|
6887
6887
|
loop: "loop";
|
|
@@ -7239,8 +7239,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7239
7239
|
"delegate-agent": "delegate-agent";
|
|
7240
7240
|
"delegate-role": "delegate-role";
|
|
7241
7241
|
sequence: "sequence";
|
|
7242
|
-
gate: "gate";
|
|
7243
7242
|
parallel: "parallel";
|
|
7243
|
+
gate: "gate";
|
|
7244
7244
|
iterate: "iterate";
|
|
7245
7245
|
"iterate-chain": "iterate-chain";
|
|
7246
7246
|
loop: "loop";
|
|
@@ -7285,8 +7285,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7285
7285
|
"delegate-agent": "delegate-agent";
|
|
7286
7286
|
"delegate-role": "delegate-role";
|
|
7287
7287
|
sequence: "sequence";
|
|
7288
|
-
gate: "gate";
|
|
7289
7288
|
parallel: "parallel";
|
|
7289
|
+
gate: "gate";
|
|
7290
7290
|
iterate: "iterate";
|
|
7291
7291
|
"iterate-chain": "iterate-chain";
|
|
7292
7292
|
loop: "loop";
|
|
@@ -7328,8 +7328,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7328
7328
|
"delegate-agent": "delegate-agent";
|
|
7329
7329
|
"delegate-role": "delegate-role";
|
|
7330
7330
|
sequence: "sequence";
|
|
7331
|
-
gate: "gate";
|
|
7332
7331
|
parallel: "parallel";
|
|
7332
|
+
gate: "gate";
|
|
7333
7333
|
iterate: "iterate";
|
|
7334
7334
|
"iterate-chain": "iterate-chain";
|
|
7335
7335
|
loop: "loop";
|
|
@@ -7864,8 +7864,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7864
7864
|
"exit-and-resume": "exit-and-resume";
|
|
7865
7865
|
}>>;
|
|
7866
7866
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
7867
|
-
worker: "worker";
|
|
7868
7867
|
authority: "authority";
|
|
7868
|
+
worker: "worker";
|
|
7869
7869
|
}>>;
|
|
7870
7870
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7871
7871
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -8051,8 +8051,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
8051
8051
|
"exit-and-resume": "exit-and-resume";
|
|
8052
8052
|
}>>;
|
|
8053
8053
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
8054
|
-
worker: "worker";
|
|
8055
8054
|
authority: "authority";
|
|
8055
|
+
worker: "worker";
|
|
8056
8056
|
}>>;
|
|
8057
8057
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8058
8058
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -8489,7 +8489,7 @@ declare const worklogFrameEntriesDual: _$_makaio_storage_drizzle0.DualTable<"wor
|
|
|
8489
8489
|
/** 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. */
|
|
8490
8490
|
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. */
|
|
8491
8491
|
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. */
|
|
8492
|
-
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" | "
|
|
8492
|
+
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">>;
|
|
8493
8493
|
/**
|
|
8494
8494
|
* Ordered path of frame IDs from the root frame to this frame (inclusive).
|
|
8495
8495
|
* Stored as a JSON array for tree correlation.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e,C as t,Ct as n,D as r,Dt as i,E as a,G as o,K as s,Nt as c,O as l,S as u,T as d,Tt as ee,Y as te,at as ne,b as re,dt as f,ht as p,jt as m,kt as h,q as g,rt as _,tt as v,v as y,w as b,x,xt as S,y as C,yt as w}from"../authority-state-bootstrap-4F5Wc_6l.mjs";import{_ as T,a as E,c as D,d as O,f as k,g as A,h as j,i as M,l as N,m as P,n as F,o as I,p as L,r as R,s as z,t as B,u as V}from"../package-
|
|
1
|
+
import{B as e,C as t,Ct as n,D as r,Dt as i,E as a,G as o,K as s,Nt as c,O as l,S as u,T as d,Tt as ee,Y as te,at as ne,b as re,dt as f,ht as p,jt as m,kt as h,q as g,rt as _,tt as v,v as y,w as b,x,xt as S,y as C,yt as w}from"../authority-state-bootstrap-4F5Wc_6l.mjs";import{_ as T,a as E,c as D,d as O,f as k,g as A,h as j,i as M,l as N,m as P,n as F,o as I,p as L,r as R,s as z,t as B,u as V}from"../package-CeEUAKHI.mjs";import{_ as H,a as U,b as W,c as G,d as K,f as q,g as J,h as Y,i as X,l as ie,m as ae,n as oe,o as se,p as ce,r as le,s as ue,t as de,u as fe,v as pe,x as me,y as he}from"../execution-attempt-repository-CY289HlC.mjs";import{assertWorkflowTriggerPayload as ge,compileWorkflowTriggerBindingFilter as _e}from"./workflow-trigger-binding-consumer.mjs";import{a as ve,i as ye,n as be,r as xe,t as Se}from"../execution-attempt-owner-recovery-BZOEVYFH.mjs";import{i as Ce,n as we,r as Te,t as Ee}from"../attempt-control-evidence-CHBnJoqN.mjs";import{PROVIDER_OPERATION_OBLIGATIONS as De,isProviderOperationResolved as Oe}from"./provider-operation.mjs";import{ExecutionAttemptControlDeliveryResponseSchema as ke,ExecutionAttemptSubjects as Z,JsonValueSchema as Q,WorkflowFrameStateSchema as Ae}from"@makaio/framework/contracts";function je(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 Me(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=ke.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}:je(u,d.receipt)?{kind:`received`,persistence:await e.authority.recordAttemptControlReceipt({...d.receipt,executionId:n})}:{kind:`invalid-receipt`}}const Ne=new Set([...Ae.shape.status.options]);function $(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Pe(e){if(!$(e))return!1;for(let t of Object.values(e))if(!$(t)||typeof t.status!=`string`||!Ne.has(t.status)||`result`in t&&t.result!==void 0&&!Q.safeParse(t.result).success)return!1;return!0}function Fe(e){let t={trigger:$(e.trigger)?e.trigger:{},steps:Pe(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{de as ATTEMPT_OPERATION_START_GATES,oe as DuplicateExecutionAttemptError,le as EXECUTION_ATTEMPT_SETTLEMENT_KINDS,X as EXECUTION_ATTEMPT_STATUSES,E as ExecutionAttemptAuthority,De as PROVIDER_OPERATION_OBLIGATIONS,N as RUNTIME_PROBE_DELIVERY_TIMEOUT_MS,ce as RuntimeOutcomeFenceMismatchError,t as WORKFLOW_WORKLOAD_KIND,b as WORKFLOW_WORKLOAD_VERSION,y as WorkflowAttemptOutcomeSchema,M as WorkflowEngineService,B as WorkflowEngineToken,z as WorkflowExecutor,d as WorkflowInvocationInputSchema,s as WorkflowStorageNamespace,g as WorkflowStorageSubjects,I as WorkflowTriggerReconciler,S as activeExecutionAttemptsDual,ae as assertRuntimeOutcomeFence,ge as assertWorkflowTriggerPayload,a as buildWorkflowAttemptInstruction,Fe as buildWorkflowExpressionContextFromResolvedInputs,_e as compileWorkflowTriggerBindingFilter,F as createWorkflowEnginePackage,U as decodeDurableOutcome,C as decodeWorkflowAttemptOutcome,se as durableOutcome,ie as evaluateAttemptCancellation,Ee as evaluateAttemptControlReceipt,we as evaluateAttemptControlReport,Y as evaluateAttemptReachability,J as evaluateOperationAdmission,H as evaluateOperationCompletion,pe as evaluatePreparationReport,he as evaluateProvisionerIncarnationLoss,W as evaluateRuntimeReadiness,me as evaluateRuntimeRegistration,n as executionAttemptCancellationsDual,ee as executionAttemptControlEvidenceDual,i as executionAttemptRequestsDual,h as executionAttemptsDual,j as getWorkflowState,A as initializeWorkflowState,Oe as isProviderOperationResolved,r as parseWorkflowAttemptInstruction,T as patchWorkflowState,m as providerOperationsDual,Se as readAttemptSettlementSnapshot,Me as reconcileAttemptCancellation,D as registerBootstrapStartHandler,P as registerDrizzleWorkflowStorage,k as registerExecutionAttemptHandlers,O as registerOperationAdmissionHandler,V as registerRuntimeRegistrationHandler,be as replayEnsuredAttempt,o as resolveExecutionAttemptPeer,l as runAuthorityDispatchedAttempt,e as runShellStep,ue as sameAllocationRef,G as sameDurableOutcome,Te as snapshotAttemptControlReceipt,Ce as snapshotAttemptControlReport,fe as snapshotAttemptOutcomeControl,xe as snapshotEnsureExecutionAttemptInput,ye as snapshotEnsureExecutionAttemptPersistenceInput,ve as snapshotReadAttemptSettlementInput,K as snapshotRequestAttemptCancellationInput,q as snapshotRequestExecutionCancellationInput,L as submitAttemptOutcome,re as toCommittedWorkflowRunnerCompletion,x as toCommittedWorkflowRunnerResult,u as workflowAttemptOutcomeCodec,te as workflowDefinitionsDual,R as workflowEnginePackage,v as workflowExecutionStateDual,_ as workflowExecutionStateEventsDual,ne as workflowExecutionsDual,c as workflowFinalizationsDual,f as workflowStepSpansDual,p as worklogFrameEntriesDual,w 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-BswWlFSn.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-CeEUAKHI.mjs";export{n as WorkflowEngineToken,e as createWorkflowEnginePackage,t as workflowEnginePackage};
|