@makaio/framework 1.0.0-dev-1788721567504 → 1.0.0-dev-1788811230746
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.makaio-build.json +2 -2
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/node.d.mts +1 -1
- package/dist/attempt-fixtures-CnrnF5_4.mjs +1 -0
- package/dist/attempt-record-codec-B32Whx75.mjs +1 -0
- package/dist/authority-state-bootstrap-7Cgb9TR2.mjs +1 -0
- package/dist/bootstrap-start-client-DrvofWwi.mjs +1 -0
- package/dist/bus/index.d.mts +46 -28
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-CobBUqjo.mjs +2 -0
- package/dist/bus-Uy9C3TBM.mjs +1 -0
- 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/{context-resolution-CoKFKIqz.d.mts → context-resolution-C2VBZhaR.d.mts} +2 -2
- 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 +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 +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 +876 -158
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/shared/index.d.mts +2 -2
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +2 -2
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/{contribution-CUHLVLsT.d.mts → contribution-Crm-mctl.d.mts} +2 -2
- package/dist/{definition-DyGImhyi.d.mts → definition-u_5rYQtc.d.mts} +1 -1
- package/dist/{detached-extension-handle-D0aI0pJA.mjs → detached-extension-handle-DAXKQT9c.mjs} +1 -1
- package/dist/execution-attempt-repository-Djg3qDRv.mjs +1 -0
- package/dist/{execution-attempt-repository-CRdrgou3.d.mts → execution-attempt-repository-OryBjQQI.d.mts} +231 -9
- package/dist/{execution-target-H0RWV7Py.mjs → execution-target-BcoF_oDB.mjs} +1 -1
- package/dist/{hook-responses-9Ywsqzzq.d.mts → hook-responses-DcapjzLb.d.mts} +1 -1
- package/dist/{index-BJdkVFX9.d.mts → index-9PUmCySn.d.mts} +334 -78
- package/dist/{index-DV38-klA2.d.mts → index-B6Kr3cxD2.d.mts} +243 -20
- package/dist/{index-BNzUyVwV.d.mts → index-BDDavX2S.d.mts} +2 -2
- package/dist/{index-DHnSLGP4.d.mts → index-BDzqNCXs.d.mts} +1 -1
- package/dist/{index-37_b--BH.d.mts → index-BTCodvXA.d.mts} +37 -32
- package/dist/{index-8NdPPzUh2.d.mts → index-BhOMZWZa2.d.mts} +12 -12
- package/dist/{index-B0VO0rAl.d.mts → index-Bo3LRb2u.d.mts} +1 -1
- package/dist/{index-Dg11JxKZ.d.mts → index-BwccWakG.d.mts} +1 -1
- package/dist/{index-CYjgoYeX.d.mts → index-BxTM9lY0.d.mts} +3 -3
- package/dist/{index-CyWGSxrs.d.mts → index-C-cnB1Te.d.mts} +294 -294
- package/dist/{index-CxwqnZpT.d.mts → index-CAYbui7g.d.mts} +66 -59
- package/dist/{index-CPRQ4dWX.d.mts → index-CBixkF0n.d.mts} +12 -0
- package/dist/{index--Ws52sWV2.d.mts → index-COOM1j_L2.d.mts} +4 -4
- package/dist/{index-D1wTWSLR.d.mts → index-CXH1Bk0W.d.mts} +333 -333
- package/dist/{index-BmevAPME2.d.mts → index-Cbv_3Xi12.d.mts} +1 -1
- package/dist/{index-DWBkiiXH.d.mts → index-CfJKwWJa.d.mts} +1 -1
- package/dist/{index-B0yMCJW8.d.mts → index-CgqEyk9R.d.mts} +1 -1
- package/dist/{index-CVcG4Q3X.d.mts → index-CnGHGFMC.d.mts} +13 -13
- package/dist/{index-AdcDBUnc.d.mts → index-D6RMsZko.d.mts} +95 -95
- package/dist/{index-B_8bA2JW.d.mts → index-DEpAI8CY.d.mts} +1 -1
- package/dist/{index-CIEycZrt.d.mts → index-DIhkK4Y0.d.mts} +1 -1
- package/dist/{index-I5a37JCm.d.mts → index-Df9L5wwp.d.mts} +7 -7
- package/dist/{index-DBD_oFEt2.d.mts → index-DrO6QLwf2.d.mts} +1 -1
- package/dist/{index-BKIxdzIw.d.mts → index-DsjUnKyr.d.mts} +12 -12
- package/dist/{index-Cny5RvjO.d.mts → index-J-kv32zv.d.mts} +2 -2
- package/dist/{index-CFI6FxC7.d.mts → index-QJW9g1mG.d.mts} +2 -2
- 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-Cm-uEoC1.mjs → lib-271rPR7A.mjs} +1 -1
- package/dist/{lib-BpGvHZye.mjs → lib-RFpLjUda.mjs} +1 -1
- package/dist/{load-extensions-BQoXaHhR.d.mts → load-extensions-CY8ELnCp.d.mts} +1 -1
- package/dist/{load-extensions-DG5LvPyM.mjs → load-extensions-D9inWcDy.mjs} +1 -1
- package/dist/{namespace-CPm9dhi2.d.mts → namespace-2qvc6E2Y.d.mts} +2 -2
- package/dist/{namespace-K23m4b0n.d.mts → namespace-BkOvOAU5.d.mts} +6 -6
- package/dist/{namespace-Bo94cenp.d.mts → namespace-Cs-cOyrn.d.mts} +136 -136
- package/dist/{namespace-CsnrP8AD.d.mts → namespace-CxXNlHpn.d.mts} +3 -3
- package/dist/{namespace-CstawJgN.d.mts → namespace-DykqxEyX.d.mts} +2 -2
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/transports/index.d.mts +56 -16
- package/dist/node/transports/index.mjs +2 -2
- package/dist/package-DEYXB80d.mjs +7 -0
- package/dist/{package-DkZmsdCd.d.mts → package-eOEt1w6u.d.mts} +450 -17
- package/dist/package.json +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/code-execution/index.d.mts +2 -2
- package/dist/runtime-node/extension-discovery.d.mts +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +6 -6
- package/dist/runtime-node/index.mjs +24 -24
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/workflow-execution-bus-access.mjs +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/runtime-node/workflow-worker/worker-entry.d.mts +22 -2
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/schemas-CeHU889f.mjs +1 -0
- package/dist/{schemas-DTJtS14K.d.mts → schemas-ClGDFa44.d.mts} +136 -136
- package/dist/{schemas-CenET9Cq.d.mts → schemas-D0_kfoDf.d.mts} +1 -1
- package/dist/{schemas-BCXvEWyF.d.mts → schemas-DqnA42bw.d.mts} +4 -4
- package/dist/{schemas-CJKHYluy.d.mts → schemas-DuJs6Iqj.d.mts} +15 -15
- package/dist/scoped-bus-DwVrmi_1.mjs +1 -0
- 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/index.mjs +1 -1
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/namespace.mjs +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/execution-target/schemas.mjs +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/index.d.mts +121 -119
- 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 +12 -12
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/services/workflow-transitions/index.d.mts +1 -1
- package/dist/{src-BmSQ3rlz.mjs → src-DEgV239R.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/{transition-DxsrTsn4.d.mts → transition-BB138WkK.d.mts} +2 -2
- package/dist/{types-Czdm5op1.d.mts → types-CR23FzmK.d.mts} +315 -315
- package/dist/{types-CtDGkyLx2.d.mts → types-p55qvq922.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-D-Wz_l_B.d.mts → view-builder-qIGQrZfs.d.mts} +1 -1
- package/dist/worker-DPTYFyNP.mjs +1 -0
- package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
- package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
- package/dist/workflow-engine/index.d.mts +299 -215
- 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 +85 -0
- package/dist/workflow-engine/testing/conformance.mjs +1 -0
- package/dist/workflow-engine/testing/index.d.mts +12 -5
- 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 +71 -42
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/workflow-worker-BW3CE0YG.mjs +2 -0
- package/package.json +13 -1
- package/dist/attempt-record-codec-BORASgzn.mjs +0 -1
- package/dist/authority-state-bootstrap-eitx6Ukn.mjs +0 -1
- package/dist/bus-D6NoBhIV.mjs +0 -2
- package/dist/bus-UgFdHybD.mjs +0 -1
- package/dist/package-UemD2NWn.mjs +0 -7
- package/dist/runtime-registration-client-BTtFpt_k.mjs +0 -1
- package/dist/schemas-TK29KWx-.mjs +0 -1
- package/dist/scoped-bus-DoPmCJeM.mjs +0 -1
- package/dist/worker-DlRdLf2d.mjs +0 -1
- package/dist/workflow-worker-DjUfKshi.mjs +0 -1
- /package/dist/{adapter-binding-CATvmGuz.d.mts → adapter-binding-D68U_Hmh.d.mts} +0 -0
- /package/dist/{base-orchestrator-B4YW6z_Q.d.mts → base-orchestrator-DA95InJU.d.mts} +0 -0
- /package/dist/{capability-service-BW1-teFU.d.mts → capability-service-s4ZYSEWc.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-lcv83Hq3.d.mts → client-binary-version-verifier-kd9LP9AQ.d.mts} +0 -0
- /package/dist/{client-BG0WX5Vz.d.mts → client-f5A-6La5.d.mts} +0 -0
- /package/dist/{clients-namespace-DLAjOTTb.d.mts → clients-namespace-q4PqU1cA.d.mts} +0 -0
- /package/dist/{config-namespace-CH7sJZ4f.d.mts → config-namespace-Cp71zTT0.d.mts} +0 -0
- /package/dist/{create-static-mount-DxuixuLZ.mjs → create-static-mount-CmQgA0jq.mjs} +0 -0
- /package/dist/{definition-BrgzUuFk.d.mts → definition-BHSzhrUf.d.mts} +0 -0
- /package/dist/{extension-context-QmFuHdq5.d.mts → extension-context-BmU5XKjI.d.mts} +0 -0
- /package/dist/{extension-discovery-Dhu3WplO.d.mts → extension-discovery-DnO7bINK.d.mts} +0 -0
- /package/dist/{filesystem-service-ZJ43SbBi.d.mts → filesystem-service-BBArEDPL.d.mts} +0 -0
- /package/dist/{index-BC-6qNeo.d.mts → index-B-zl-O-Y.d.mts} +0 -0
- /package/dist/{index-BfV8U4XX.d.mts → index-BB0HypzC.d.mts} +0 -0
- /package/dist/{index-8y4hT9WL.d.mts → index-Bf2MgOni.d.mts} +0 -0
- /package/dist/{index-B4svZC6L.d.mts → index-C9xVZ-gt.d.mts} +0 -0
- /package/dist/{index-kzIjbrS02.d.mts → index-CDLf3Fka2.d.mts} +0 -0
- /package/dist/{index-BuMsrli0.d.mts → index-CPWBGotQ.d.mts} +0 -0
- /package/dist/{index-pvX-BIpr2.d.mts → index-CcrXttC02.d.mts} +0 -0
- /package/dist/{index-B5dP8rj6.d.mts → index-CkpR5sIH.d.mts} +0 -0
- /package/dist/{index-CmbkCxj-.d.mts → index-Co1da7YK.d.mts} +0 -0
- /package/dist/{index-VzLAV0Yt.d.mts → index-CrcfeFOo.d.mts} +0 -0
- /package/dist/{index-BM56936c.d.mts → index-CsFN2nv7.d.mts} +0 -0
- /package/dist/{index-CVpaGijY.d.mts → index-D-JbTXIH.d.mts} +0 -0
- /package/dist/{index-l01zsChf.d.mts → index-D94yE5Dr.d.mts} +0 -0
- /package/dist/{index-D037TVsm.d.mts → index-DQD2-jcL.d.mts} +0 -0
- /package/dist/{index-D8D-yibS2.d.mts → index-DSLTgc7h2.d.mts} +0 -0
- /package/dist/{index-CL0Jo1b92.d.mts → index-DSN2t48K.d.mts} +0 -0
- /package/dist/{index-DQ8o3JGi.d.mts → index-DW4SE_sH.d.mts} +0 -0
- /package/dist/{index-DgspOUa72.d.mts → index-DYHxzwok2.d.mts} +0 -0
- /package/dist/{index-BMRB9yhF.d.mts → index-D_sMzTvv.d.mts} +0 -0
- /package/dist/{index-BFWvT0NG.d.mts → index-Df1c_2PF.d.mts} +0 -0
- /package/dist/{index-B2Y1Wvbh.d.mts → index-Dn_SGTgp.d.mts} +0 -0
- /package/dist/{index-C4V8Pmi4.d.mts → index-KAAnSRZt.d.mts} +0 -0
- /package/dist/{index-Ek4y8M9J2.d.mts → index-NhW2h2wH2.d.mts} +0 -0
- /package/dist/{index-CqdMbYmR.d.mts → index-mK-rgiit.d.mts} +0 -0
- /package/dist/{index-BTEJfzjE.d.mts → index-xaBSwHxJ.d.mts} +0 -0
- /package/dist/{json-value-DPqb-SJ8.d.mts → json-value-pX6xnLGw.d.mts} +0 -0
- /package/dist/{jsonl-transport-Cyyh5Wje.mjs → jsonl-transport-DQIlRX_y.mjs} +0 -0
- /package/dist/{lib-BqV8hYtk.mjs → lib-6eNAiNK7.mjs} +0 -0
- /package/dist/{namespace-DBO1OzYB.d.mts → namespace-9ychTEk_.d.mts} +0 -0
- /package/dist/{namespace-CVFaZv8x.d.mts → namespace-BGDq7HmW.d.mts} +0 -0
- /package/dist/{namespace-BUYDmd0r.d.mts → namespace-CPR2xem0.d.mts} +0 -0
- /package/dist/{namespace-CPG6u60N.d.mts → namespace-CQEYu8az.d.mts} +0 -0
- /package/dist/{namespace-DqZweTbX.d.mts → namespace-CVg_cpkh.d.mts} +0 -0
- /package/dist/{namespace-DOezqDti.d.mts → namespace-CirognbA.d.mts} +0 -0
- /package/dist/{namespace-BdAK0lD8.d.mts → namespace-DAINF1II.d.mts} +0 -0
- /package/dist/{namespace-B0ftHlK3.d.mts → namespace-DG0hjPcx.d.mts} +0 -0
- /package/dist/{namespace-BRuHzhPo.d.mts → namespace-DokogwAZ.d.mts} +0 -0
- /package/dist/{orchestrator-shared-CNHSImNY.d.mts → orchestrator-shared-BzqqcY2z.d.mts} +0 -0
- /package/dist/{packages-CxPMEg8D.d.mts → packages-Cx-BwSZr.d.mts} +0 -0
- /package/dist/{provider-operation-DbdyFwNm.d.mts → provider-operation-B2wQST6N.d.mts} +0 -0
- /package/dist/{providers-namespace-CfZKp-C0.d.mts → providers-namespace-DsKTnuO1.d.mts} +0 -0
- /package/dist/{schema-B3Pf7JP7.d.mts → schema-zSyY22Ck.d.mts} +0 -0
- /package/dist/{schemas-ChmQldVH.d.mts → schemas--LAbwXvw.d.mts} +0 -0
- /package/dist/{schemas-CF8QwRqt.d.mts → schemas-Bk50UoMA.d.mts} +0 -0
- /package/dist/{schemas-bfZNpl0B.d.mts → schemas-CHRuwe18.d.mts} +0 -0
- /package/dist/{schemas-BGvkTiCx.d.mts → schemas-CzGN0eqW.d.mts} +0 -0
- /package/dist/{schemas-Pe892GgN.d.mts → schemas-DmULJ7Jk.d.mts} +0 -0
- /package/dist/{schemas-B50oWBuj.d.mts → schemas-Dn1JDTPw.d.mts} +0 -0
- /package/dist/{schemas-B6Q-qdmn.d.mts → schemas-Dxvjq-Bi.d.mts} +0 -0
- /package/dist/{server-lifecycle-L8zja8t8.d.mts → server-lifecycle-WFZcCMwF.d.mts} +0 -0
- /package/dist/{session-lineage-bUkd3fqx.d.mts → session-lineage-C9kppcCa.d.mts} +0 -0
- /package/dist/{src-BacfeiI4.mjs → src-DIyWekjW.mjs} +0 -0
- /package/dist/{storage-namespace-YmE8XCCL.d.mts → storage-namespace-BWU-8rvj.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-BsnYAPot.d.mts → storage-namespace-definition-B-8JKvzm.d.mts} +0 -0
- /package/dist/{types-DdpSEmTO.d.mts → types-8rMNe3AS.d.mts} +0 -0
- /package/dist/{types-DnK6Wa_Y.d.mts → types-BFeWU3WM.d.mts} +0 -0
- /package/dist/{types-tyv0B605.d.mts → types-BnPJa-C_.d.mts} +0 -0
- /package/dist/{types-OKJCOjme.d.mts → types-DQTCNM2i.d.mts} +0 -0
- /package/dist/{types-BlB23n4f.d.mts → types-DxHeL0pF.d.mts} +0 -0
- /package/dist/{window-registry-Pcf35cac.d.mts → window-registry-DQP5P2_0.d.mts} +0 -0
|
@@ -1,6 +1,83 @@
|
|
|
1
|
-
import { a as ProviderOperationClaim, i as ProcessBoundProvisionerLossProof, l as ProviderOperationOwnershipRecord, o as ProviderOperationClaimDecision, s as ProviderOperationMutationDecision } from "./provider-operation-
|
|
2
|
-
import { BoundedRecoveryEvidence, ExecutionAttemptOperationKind, ProviderAllocationRef, WorkerAllocationLifetime } from "@makaio/framework/contracts";
|
|
1
|
+
import { a as ProviderOperationClaim, i as ProcessBoundProvisionerLossProof, l as ProviderOperationOwnershipRecord, o as ProviderOperationClaimDecision, s as ProviderOperationMutationDecision } from "./provider-operation-B2wQST6N.mjs";
|
|
2
|
+
import { BoundedRecoveryEvidence, ExecutionAttemptInstruction, ExecutionAttemptOperationKind, ExecutionAttemptOperationReportRequest, ExecutionAttemptOperationReportResponse, ExecutionAttemptPreparationResult, ExecutionAttemptWorkspaceBinding, ProviderAllocationRef, WorkerAllocationLifetime } from "@makaio/framework/contracts";
|
|
3
3
|
|
|
4
|
+
//#region subsystems/workflow-engine/src/execution-attempt-decisions.d.ts
|
|
5
|
+
/** Facts read coherently by a realization before decoding runtime control state. */
|
|
6
|
+
interface AttemptReachability {
|
|
7
|
+
/** Whether the requested attempt exists and belongs to the requested owner. */
|
|
8
|
+
readonly matchesExecution: boolean;
|
|
9
|
+
/** Whether the attempt has a terminal settlement. */
|
|
10
|
+
readonly settled: boolean;
|
|
11
|
+
/** Whether this is still the owner's active attempt. */
|
|
12
|
+
readonly active: boolean;
|
|
13
|
+
/** Whether an allocation exists and is not durably terminated. */
|
|
14
|
+
readonly allocated: boolean;
|
|
15
|
+
}
|
|
16
|
+
/** Refusals shared by registration, admission, and readiness, before control decoding. */
|
|
17
|
+
type AttemptReachabilityDecision = Extract<RuntimeRegistrationDecision, {
|
|
18
|
+
readonly kind: 'not-found' | 'resolved' | 'fenced' | 'not-allocated';
|
|
19
|
+
}>;
|
|
20
|
+
/**
|
|
21
|
+
* Evaluate the common reachability precedence without reading or mutating storage.
|
|
22
|
+
* A null result only permits further evaluation; it never authorizes an unguarded write.
|
|
23
|
+
* @param facts - Coherent lifecycle, owner, and allocation facts supplied by the realization.
|
|
24
|
+
* @returns The first refusal, or null when runtime control may be decoded and evaluated.
|
|
25
|
+
*/
|
|
26
|
+
declare function evaluateAttemptReachability(facts: AttemptReachability): AttemptReachabilityDecision | null;
|
|
27
|
+
/**
|
|
28
|
+
* Evaluate registration after reachability, preserving replay before busy refusal.
|
|
29
|
+
* An orphaned runtime probe may be reclaimed; a workload operation may not.
|
|
30
|
+
* @param control - Current decoded control state, not modified by this function.
|
|
31
|
+
* @param input - Runtime registration being considered.
|
|
32
|
+
* @returns A non-write decision, or null to attempt the realization's guarded registration.
|
|
33
|
+
*/
|
|
34
|
+
declare function evaluateRuntimeRegistration(control: AttemptControlState, input: RegisterRuntimeInput): Exclude<RuntimeRegistrationDecision, {
|
|
35
|
+
readonly kind: 'registered';
|
|
36
|
+
}> | null;
|
|
37
|
+
/**
|
|
38
|
+
* Evaluate admission after reachability: replay, busy, gate, readiness, generation, then Preparation.
|
|
39
|
+
* Probe operations are admitted before readiness because they establish that proof.
|
|
40
|
+
* @param control - Current decoded control state, not modified by this function.
|
|
41
|
+
* @param input - Operation admission being considered.
|
|
42
|
+
* @param fallbackAdmittedAt - Realization-supplied instant for a duplicate missing its stored instant.
|
|
43
|
+
* @param execution - Frozen assignment and Preparation receipts read with the control state.
|
|
44
|
+
* @returns A non-write decision, or null to attempt the realization's guarded admission.
|
|
45
|
+
*/
|
|
46
|
+
declare function evaluateOperationAdmission(control: AttemptControlState, input: AdmitOperationInput, fallbackAdmittedAt: string, execution: AttemptExecutionState): Exclude<OperationAdmissionDecision, {
|
|
47
|
+
readonly kind: 'admitted';
|
|
48
|
+
}> | null;
|
|
49
|
+
/**
|
|
50
|
+
* Evaluate successful Preparation, retaining historical replay before current-runtime fences.
|
|
51
|
+
* A null decision permits only a guarded write that saves the receipt and frees the slot together.
|
|
52
|
+
* @param reachability - Coherent owner, allocation and lifecycle facts.
|
|
53
|
+
* @param control - Current operation and runtime state.
|
|
54
|
+
* @param execution - Frozen instruction and retained Preparation history.
|
|
55
|
+
* @param input - Owner-scoped successful Preparation report.
|
|
56
|
+
* @returns A historical duplicate or refusal, or null to atomically accept the result.
|
|
57
|
+
*/
|
|
58
|
+
declare function evaluatePreparationReport(reachability: AttemptReachability, control: AttemptControlState, execution: AttemptExecutionState, input: ReportOperationInput): Exclude<OperationReportDecision, {
|
|
59
|
+
readonly kind: 'accepted';
|
|
60
|
+
}> | null;
|
|
61
|
+
/**
|
|
62
|
+
* Evaluate completion after presence and settlement checks, without owner or allocation fences.
|
|
63
|
+
* A replay is recognized even after its active slot has been cleared or reused.
|
|
64
|
+
* @param control - Current decoded control state, not modified by this function.
|
|
65
|
+
* @param input - Operation completion being considered.
|
|
66
|
+
* @returns A non-write decision, or null to attempt the realization's guarded completion.
|
|
67
|
+
*/
|
|
68
|
+
declare function evaluateOperationCompletion(control: AttemptControlState, input: CompleteOperationInput): Exclude<OperationCompletionDecision, {
|
|
69
|
+
readonly kind: 'completed';
|
|
70
|
+
}> | null;
|
|
71
|
+
/**
|
|
72
|
+
* Evaluate readiness after reachability: generation fence, replay, then busy refusal.
|
|
73
|
+
* @param control - Current decoded control state, not modified by this function.
|
|
74
|
+
* @param input - Runtime readiness report being considered.
|
|
75
|
+
* @returns A non-write decision, or null to attempt the realization's guarded readiness write.
|
|
76
|
+
*/
|
|
77
|
+
declare function evaluateRuntimeReadiness(control: AttemptControlState, input: MarkRuntimeReadyInput): Exclude<RuntimeReadinessDecision, {
|
|
78
|
+
readonly kind: 'ready';
|
|
79
|
+
}> | null;
|
|
80
|
+
//#endregion
|
|
4
81
|
//#region subsystems/workflow-engine/src/execution-attempt-repository.d.ts
|
|
5
82
|
/**
|
|
6
83
|
* Ordered constant array of every execution attempt lifecycle status.
|
|
@@ -59,6 +136,28 @@ declare const ATTEMPT_OPERATION_START_GATES: readonly ["open", "closed"];
|
|
|
59
136
|
* begin — when a newer attempt supersedes it, and when it settles.
|
|
60
137
|
*/
|
|
61
138
|
type AttemptOperationStartGate = (typeof ATTEMPT_OPERATION_START_GATES)[number];
|
|
139
|
+
/** Coherent durable facts required before an attempt may enter runtime registration. */
|
|
140
|
+
interface BootstrapStartState {
|
|
141
|
+
/** A terminal outcome or infrastructure settlement has been recorded. */
|
|
142
|
+
readonly settled: boolean;
|
|
143
|
+
/** The owner's active pointer still names this attempt, independently of settlement. */
|
|
144
|
+
readonly active: boolean;
|
|
145
|
+
/** An allocation reference is recorded, independently of its termination. */
|
|
146
|
+
readonly allocated: boolean;
|
|
147
|
+
/** Provider-operation state durably confirms allocation termination. */
|
|
148
|
+
readonly allocationTerminated: boolean;
|
|
149
|
+
/** One-way durable gate controlling whether new work may start. */
|
|
150
|
+
readonly operationStartGate: AttemptOperationStartGate;
|
|
151
|
+
/** Immutable ISO deadline, or null for legacy attempts that cannot newly bootstrap. */
|
|
152
|
+
readonly bootstrapDeadlineAt: string | null;
|
|
153
|
+
}
|
|
154
|
+
/** Trusted owner and attempt identity for the narrow bootstrap observation. */
|
|
155
|
+
interface ReadBootstrapStartStateInput {
|
|
156
|
+
/** Authenticated durable owner of the attempt. */
|
|
157
|
+
readonly executionId: ExecutionOwnerId;
|
|
158
|
+
/** Attempt whose durable start facts are observed. */
|
|
159
|
+
readonly executionAttemptId: string;
|
|
160
|
+
}
|
|
62
161
|
/**
|
|
63
162
|
* Compare two provider allocation references as values.
|
|
64
163
|
*
|
|
@@ -407,7 +506,7 @@ interface AttemptControlState {
|
|
|
407
506
|
* is what makes that omission a type error at the place the record is built,
|
|
408
507
|
* rather than a default silently resolved at each place it is read.
|
|
409
508
|
*/
|
|
410
|
-
interface ExecutionAttemptRecord extends AttemptControlState {
|
|
509
|
+
interface ExecutionAttemptRecord extends AttemptControlState, AttemptExecutionState {
|
|
411
510
|
/** Authority-created attempt identifier. */
|
|
412
511
|
readonly executionAttemptId: string;
|
|
413
512
|
/** Owner identifier of the aggregate this attempt belongs to. */
|
|
@@ -418,6 +517,8 @@ interface ExecutionAttemptRecord extends AttemptControlState {
|
|
|
418
517
|
readonly allocationRef: ProviderAllocationRef | null;
|
|
419
518
|
/** ISO-8601 timestamp when the attempt was created. */
|
|
420
519
|
readonly createdAt: string;
|
|
520
|
+
/** Immutable creation-time bootstrap deadline; null only for legacy records. */
|
|
521
|
+
readonly bootstrapDeadlineAt: string | null;
|
|
421
522
|
/**
|
|
422
523
|
* Provider bound to this attempt, or `null` before provisioning began.
|
|
423
524
|
*
|
|
@@ -514,7 +615,50 @@ interface ExecutionAttemptCreate {
|
|
|
514
615
|
readonly executionAttemptId: string;
|
|
515
616
|
/** Owner identifier the attempt belongs to. */
|
|
516
617
|
readonly executionId: ExecutionOwnerId;
|
|
618
|
+
/** Portable assignment snapshotted before this attempt becomes dispatchable. */
|
|
619
|
+
readonly instruction: ExecutionAttemptInstruction;
|
|
620
|
+
/** Explicit positive safe-integer bootstrap budget in milliseconds, frozen at creation. */
|
|
621
|
+
readonly bootstrapTimeoutMs: number;
|
|
622
|
+
}
|
|
623
|
+
/** Durable acceptance of one successful Preparation operation. */
|
|
624
|
+
interface PreparationReceipt {
|
|
625
|
+
/** Identity of the completed Preparation operation. */
|
|
626
|
+
readonly operationId: string;
|
|
627
|
+
/** Runtime realization to which the binding belongs. */
|
|
628
|
+
readonly runtimeGeneration: number;
|
|
629
|
+
/** Original semantic result, retained for replay comparison and diagnostics. */
|
|
630
|
+
readonly result: ExecutionAttemptPreparationResult;
|
|
631
|
+
}
|
|
632
|
+
/** Immutable assignment and accepted Preparation facts read with control state. */
|
|
633
|
+
interface AttemptExecutionState {
|
|
634
|
+
/** The attempt's original assignment, never the owner's latest configuration. */
|
|
635
|
+
readonly instruction: ExecutionAttemptInstruction;
|
|
636
|
+
/** Accepted historical results; only the current generation permits Invocation. */
|
|
637
|
+
readonly preparationReceipts: readonly PreparationReceipt[];
|
|
638
|
+
}
|
|
639
|
+
/** Owner-scoped query for the immutable assignment of one attempt. */
|
|
640
|
+
interface GetInstructionInput {
|
|
641
|
+
/** Owning aggregate, supplied by the authenticated host boundary. */
|
|
642
|
+
readonly executionId: ExecutionOwnerId;
|
|
643
|
+
/** Attempt whose stored assignment is requested. */
|
|
644
|
+
readonly executionAttemptId: string;
|
|
517
645
|
}
|
|
646
|
+
/** Successful Preparation report plus its trusted owner identity. */
|
|
647
|
+
type ReportOperationInput = ExecutionAttemptOperationReportRequest & {
|
|
648
|
+
/** Owning aggregate, supplied by the authenticated host boundary. */readonly executionId: ExecutionOwnerId;
|
|
649
|
+
};
|
|
650
|
+
/** Semantic acceptance or refusal of a Preparation result. */
|
|
651
|
+
type OperationReportDecision = {
|
|
652
|
+
readonly kind: 'accepted';
|
|
653
|
+
readonly binding: ExecutionAttemptWorkspaceBinding;
|
|
654
|
+
} | {
|
|
655
|
+
readonly kind: 'duplicate';
|
|
656
|
+
readonly binding: ExecutionAttemptWorkspaceBinding;
|
|
657
|
+
} | {
|
|
658
|
+
readonly kind: Extract<ExecutionAttemptOperationReportResponse, {
|
|
659
|
+
decision: 'refused';
|
|
660
|
+
}>['refusalReason'];
|
|
661
|
+
};
|
|
518
662
|
/**
|
|
519
663
|
* Input for claiming the provisioning phase of an attempt.
|
|
520
664
|
*
|
|
@@ -562,7 +706,29 @@ interface ExecutionAttemptOutcomeCommit<TOutcome> {
|
|
|
562
706
|
* submission once and never reads its own object again.
|
|
563
707
|
*/
|
|
564
708
|
readonly result: DurableOutcome<TOutcome>;
|
|
709
|
+
/** Runtime correlation checked atomically for a fresh commit; owner-only paths may omit it. */
|
|
710
|
+
readonly runtimeFence?: RuntimeOutcomeFence;
|
|
711
|
+
}
|
|
712
|
+
/** Runtime and operation expected to remain current when an outcome becomes durable. */
|
|
713
|
+
interface RuntimeOutcomeFence {
|
|
714
|
+
/** Registered runtime generation that produced the result. */
|
|
715
|
+
readonly runtimeGeneration: number;
|
|
716
|
+
/** Admitted operation, or null for a startup failure before any operation. */
|
|
717
|
+
readonly operationId: string | null;
|
|
565
718
|
}
|
|
719
|
+
/** A runtime result lost its execution slot before commit; the attempt remains available to its current runtime. */
|
|
720
|
+
declare class RuntimeOutcomeFenceMismatchError extends Error {
|
|
721
|
+
constructor();
|
|
722
|
+
}
|
|
723
|
+
/**
|
|
724
|
+
* Require a fresh runtime outcome to belong to the coherently read execution slot.
|
|
725
|
+
* Repositories call this after canonical replay/settlement decisions and repeat its
|
|
726
|
+
* predicates in the committing write. A mismatch must not settle the attempt's waiter.
|
|
727
|
+
* @param control - Current runtime and operation facts.
|
|
728
|
+
* @param fence - Expected runtime slot, absent for owner-only outcome submission.
|
|
729
|
+
* @throws RuntimeOutcomeFenceMismatchError when the originating runtime slot changed.
|
|
730
|
+
*/
|
|
731
|
+
declare function assertRuntimeOutcomeFence(control: AttemptControlState, fence: RuntimeOutcomeFence | undefined): void;
|
|
566
732
|
/** Input for extending the lease of a currently held provider operation. */
|
|
567
733
|
interface RenewProviderOperationClaimInput {
|
|
568
734
|
/** Claim the caller currently believes it holds. */
|
|
@@ -1122,6 +1288,11 @@ type RuntimeRegistrationDecision = {
|
|
|
1122
1288
|
* - `stale-generation`: the caller fenced against a generation the attempt has
|
|
1123
1289
|
* moved past. The current generation is reported so the caller can re-fence
|
|
1124
1290
|
* rather than re-read.
|
|
1291
|
+
* - `preparation-required`: Invocation requires a Workspace but no Preparation
|
|
1292
|
+
* receipt belongs to the current runtime generation.
|
|
1293
|
+
* - `preparation-not-required`: the assignment does not request a Workspace.
|
|
1294
|
+
* - `preparation-already-completed`: Preparation succeeded for this generation;
|
|
1295
|
+
* a fresh admission key must not run setup again.
|
|
1125
1296
|
*/
|
|
1126
1297
|
type OperationAdmissionDecision = {
|
|
1127
1298
|
readonly kind: 'admitted';
|
|
@@ -1148,6 +1319,12 @@ type OperationAdmissionDecision = {
|
|
|
1148
1319
|
readonly kind: 'gate-closed';
|
|
1149
1320
|
} | {
|
|
1150
1321
|
readonly kind: 'not-ready';
|
|
1322
|
+
} | {
|
|
1323
|
+
readonly kind: 'preparation-required';
|
|
1324
|
+
} | {
|
|
1325
|
+
readonly kind: 'preparation-not-required';
|
|
1326
|
+
} | {
|
|
1327
|
+
readonly kind: 'preparation-already-completed';
|
|
1151
1328
|
} | {
|
|
1152
1329
|
readonly kind: 'stale-generation';
|
|
1153
1330
|
readonly runtimeGeneration: number;
|
|
@@ -1160,6 +1337,8 @@ type OperationAdmissionDecision = {
|
|
|
1160
1337
|
* - `duplicate`: this operation was already completed. A replay, answered from
|
|
1161
1338
|
* {@link AttemptControlState.lastCompletedOperationId} rather than from an
|
|
1162
1339
|
* active operation that is by then gone.
|
|
1340
|
+
* - `result-required`: Preparation must submit its semantic report, and generic
|
|
1341
|
+
* Invocation must submit its terminal outcome, instead of merely freeing the slot.
|
|
1163
1342
|
* - `mismatch`: a different operation occupies the attempt. The active one is
|
|
1164
1343
|
* reported, because the caller's next move depends on which it is.
|
|
1165
1344
|
* - `not-active`: no operation occupies the attempt and this one is not the
|
|
@@ -1175,6 +1354,8 @@ type OperationCompletionDecision = {
|
|
|
1175
1354
|
readonly kind: 'completed';
|
|
1176
1355
|
} | {
|
|
1177
1356
|
readonly kind: 'duplicate';
|
|
1357
|
+
} | {
|
|
1358
|
+
readonly kind: 'result-required';
|
|
1178
1359
|
} | {
|
|
1179
1360
|
readonly kind: 'mismatch';
|
|
1180
1361
|
readonly activeOperationId: string;
|
|
@@ -1235,9 +1416,12 @@ type RuntimeReadinessDecision = {
|
|
|
1235
1416
|
/**
|
|
1236
1417
|
* Passive injected port for durable execution attempt persistence.
|
|
1237
1418
|
*
|
|
1238
|
-
* The
|
|
1239
|
-
*
|
|
1240
|
-
*
|
|
1419
|
+
* The port owns decision semantics, including refusal and replay precedence;
|
|
1420
|
+
* the consuming host owns their atomic realization. The shared pure runtime
|
|
1421
|
+
* evaluators report non-write decisions or null to attempt a guarded write.
|
|
1422
|
+
* They never replace transactional reads, conditional writes, affected-row
|
|
1423
|
+
* checks, or re-evaluation after contention. The Authority service calls
|
|
1424
|
+
* through this port but never owns the underlying tables or storage.
|
|
1241
1425
|
*
|
|
1242
1426
|
* The port owns two related records per attempt: canonical attempt state, and
|
|
1243
1427
|
* the fenced provider operation that tracks who may act on the attempt's
|
|
@@ -1390,6 +1574,12 @@ interface ExecutionAttemptRepository<TOutcome> {
|
|
|
1390
1574
|
* Called by the Authority before dispatch. The Authority owns
|
|
1391
1575
|
* `executionAttemptId` generation; the repository only persists. The new
|
|
1392
1576
|
* attempt atomically becomes the active attempt for its execution.
|
|
1577
|
+
* The instruction is validated and snapshotted before any write. It remains
|
|
1578
|
+
* immutable for the attempt's lifetime; no owner-context lookup may replace it.
|
|
1579
|
+
* The explicit bootstrap budget must be a positive safe integer whose sum with
|
|
1580
|
+
* the single creation instant is a representable Date. Validate it before any
|
|
1581
|
+
* mutation, and persist createdAt and bootstrapDeadlineAt from that same instant.
|
|
1582
|
+
* Later host policy changes never extend an existing attempt's deadline.
|
|
1393
1583
|
*
|
|
1394
1584
|
* The new attempt starts with its {@link AttemptControlState} at rest:
|
|
1395
1585
|
* generation `0`, no incarnation, no readiness, no active operation, and
|
|
@@ -1417,11 +1607,38 @@ interface ExecutionAttemptRepository<TOutcome> {
|
|
|
1417
1607
|
* writers — but a realization that lets the driver's own error escape would
|
|
1418
1608
|
* make the same caller bug indistinguishable from a storage fault, and
|
|
1419
1609
|
* distinguishable only by message text between one realization and another.
|
|
1420
|
-
* @param input - Attempt identity to persist.
|
|
1610
|
+
* @param input - Attempt identity and immutable assignment to persist.
|
|
1421
1611
|
* @returns The created attempt record.
|
|
1422
1612
|
* @throws A {@link DuplicateExecutionAttemptError} when an attempt with the same `executionAttemptId` already exists.
|
|
1423
1613
|
*/
|
|
1424
1614
|
createAttempt(input: ExecutionAttemptCreate): Promise<ExecutionAttemptRecord>;
|
|
1615
|
+
/**
|
|
1616
|
+
* Read owner matching, settlement, active pointer, allocation, terminal provider
|
|
1617
|
+
* state, start gate and immutable deadline in one coherent observation. This is
|
|
1618
|
+
* a required bootstrap port, not a recovery capability. It must not decode the
|
|
1619
|
+
* instruction, Preparation receipts or outcome to answer the narrow lookup.
|
|
1620
|
+
* Legacy records without a deadline remain readable with a null deadline; only
|
|
1621
|
+
* fresh bootstrap is refused, never unrelated reads or already-running work.
|
|
1622
|
+
* @param input - Trusted owner and attempt identity.
|
|
1623
|
+
* @returns The coherent state, or null for a missing attempt or mismatched owner.
|
|
1624
|
+
*/
|
|
1625
|
+
readBootstrapStartState(input: ReadBootstrapStartStateInput): Promise<BootstrapStartState | null>;
|
|
1626
|
+
/**
|
|
1627
|
+
* Read the frozen instruction of an owner-matching attempt, including historical attempts.
|
|
1628
|
+
* The returned snapshot must not allow mutation of the persisted assignment.
|
|
1629
|
+
* @param input - Attempt and owner identity.
|
|
1630
|
+
* @returns The original assignment, or null when the attempt does not belong to the owner.
|
|
1631
|
+
*/
|
|
1632
|
+
getInstruction(input: GetInstructionInput): Promise<ExecutionAttemptInstruction | null>;
|
|
1633
|
+
/**
|
|
1634
|
+
* Accept Preparation and release its active slot in one durable transition.
|
|
1635
|
+
* Historical identical reports return their original binding without restoring readiness.
|
|
1636
|
+
* Conflicting reports preserve the first accepted result. Neither success nor replay
|
|
1637
|
+
* settles the attempt; terminal failures use the canonical outcome boundary.
|
|
1638
|
+
* @param input - Successful Preparation report and trusted owner identity.
|
|
1639
|
+
* @returns Durable acceptance, historical duplicate, or refusal.
|
|
1640
|
+
*/
|
|
1641
|
+
reportOperation(input: ReportOperationInput): Promise<OperationReportDecision>;
|
|
1425
1642
|
/**
|
|
1426
1643
|
* Claim the durable provisioning phase immediately before a provider call.
|
|
1427
1644
|
*
|
|
@@ -1738,7 +1955,12 @@ interface ExecutionAttemptRepository<TOutcome> {
|
|
|
1738
1955
|
* {@link recordProvisionerIncarnationLost}. That transition won the
|
|
1739
1956
|
* terminal CAS, so a late outcome may neither overwrite its
|
|
1740
1957
|
* `settlementKind` nor reopen the attempt.
|
|
1741
|
-
* 4. `
|
|
1958
|
+
* 4. When supplied, `runtimeFence` must still match the current runtime
|
|
1959
|
+
* generation and operation (including its generation). A mismatch throws
|
|
1960
|
+
* {@link RuntimeOutcomeFenceMismatchError} without changing the attempt.
|
|
1961
|
+
* Checking this in the same write prevents owner decoding/validation awaits
|
|
1962
|
+
* from committing a startup failure against a replacement runtime.
|
|
1963
|
+
* 5. `accepted` — the outcome becomes canonical, the attempt settles as
|
|
1742
1964
|
* `outcome`, and its operation closes.
|
|
1743
1965
|
*
|
|
1744
1966
|
* The submission arrives already rendered, as the {@link DurableOutcome} the
|
|
@@ -1864,4 +2086,4 @@ interface ExecutionAttemptRecoveryOperations {
|
|
|
1864
2086
|
getRecoverableAttempts(executionId: ExecutionOwnerId): Promise<readonly RecoverableAttemptRecord[]>;
|
|
1865
2087
|
}
|
|
1866
2088
|
//#endregion
|
|
1867
|
-
export {
|
|
2089
|
+
export { RuntimeReadinessDecision as $, MarkRuntimeReadyInput as A, ReadBootstrapStartStateInput as B, ExecutionAttemptRepository as C, GetInstructionInput as D, ExecutionOwnerId as E, PendingAttemptAbandonmentDecision as F, RecordProvisionerIncarnationLostInput as G, RecordAllocationTerminatedInput as H, PreparationReceipt as I, RegisterRuntimeInput as J, RecordProvisioningAbsentInput as K, ProvisionerIncarnationLossDecision as L, OperationCompletionDecision as M, OperationReportDecision as N, HandoffProviderOperationInput as O, OutcomeCodec as P, RuntimeOutcomeFenceMismatchError as Q, ProvisioningAbsenceDecision as R, ExecutionAttemptRecoveryOperations as S, ExecutionAttemptStatus as T, RecordInfrastructureFailureInput as U, RecordAllocationInput as V, RecordProviderOperationUncertaintyInput as W, ReportOperationInput as X, RenewProviderOperationClaimInput as Y, RuntimeOutcomeFence as Z, EXECUTION_ATTEMPT_STATUSES as _, AllocationRefEvolutionDecision as a, sameAllocationRef as at, ExecutionAttemptOutcomeDecision as b, AttemptExecutionState as c, AttemptReachabilityDecision as ct, BootstrapStartState as d, evaluateOperationCompletion as dt, RuntimeRegistrationDecision as et, CompleteOperationInput as f, evaluatePreparationReport as ft, EXECUTION_ATTEMPT_SETTLEMENT_KINDS as g, DurableOutcome as h, AllocationRefEvolution as i, durableOutcome as it, OperationAdmissionDecision as j, InfrastructureFailureDecision as k, AttemptOperationStartGate as l, evaluateAttemptReachability as lt, DuplicateExecutionAttemptError as m, evaluateRuntimeRegistration as mt, AdmitOperationInput as n, assertRuntimeOutcomeFence as nt, AllocationTerminationDecision as o, sameDurableOutcome as ot, DiscoveredAllocationDecision as p, evaluateRuntimeReadiness as pt, RecoverableAttemptRecord as q, AllocationRecordingDecision as r, decodeDurableOutcome as rt, AttemptControlState as s, AttemptReachability as st, ATTEMPT_OPERATION_START_GATES as t, TakeOverProviderOperationInput as tt, BeginProvisioningInput as u, evaluateOperationAdmission as ut, ExecutionAttemptCreate as v, ExecutionAttemptSettlementKind as w, ExecutionAttemptRecord as x, ExecutionAttemptOutcomeCommit as y, ProvisioningClaimDecision as z };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as e,E as t,M as n,N as r,O as i,_ as a,j as o,k as s,m as c,v as l,w as u}from"./schemas-
|
|
1
|
+
import{A as e,E as t,M as n,N as r,O as i,_ as a,j as o,k as s,m as c,v as l,w as u}from"./schemas-CeHU889f.mjs";import"./services/execution-target/namespace.mjs";import{z as d}from"zod";import{channelSubject as f,createBusNamespace as p,localSubject as m}from"@makaio/framework/core";const h=`docker-bootstrap`,g=p(`docker`,{"container.spawn":{request:i,response:s},"bootstrap.spawn":f({request:c,response:s}),"bootstrap.getChannelToken":m({request:d.object({}),response:d.object({token:d.string().min(1)})}),"container.stop":{request:n,response:r},"container.status":{request:e,response:o},"container.created":a,"container.started":u,"container.stopped":t,"container.destroyed":l}),_=g.subjects,v=g,y=_;export{_ as a,g as i,y as n,h as r,v as t};
|