@makaio/framework 1.0.0-dev-1788511348215 → 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 +27 -9
- 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-841T7jBI.d.mts → context-resolution-C2VBZhaR.d.mts} +5 -5
- 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 +1254 -42
- 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-DY4KTptE.d.mts → execution-attempt-repository-OryBjQQI.d.mts} +740 -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-C6aSnO8m.d.mts → index-9PUmCySn.d.mts} +587 -67
- package/dist/{index-BmilK-co2.d.mts → index-B6Kr3cxD2.d.mts} +245 -46
- 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-Wbd_syN2.d.mts → index-BTCodvXA.d.mts} +41 -36
- 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-DHH-93YD.d.mts → index-BxTM9lY0.d.mts} +3 -3
- package/dist/{index-CDud4NAm.d.mts → index-CAYbui7g.d.mts} +28 -21
- package/dist/{index-CPRQ4dWX.d.mts → index-CBixkF0n.d.mts} +12 -0
- package/dist/{index-C146Eq_J.d.mts → index-CXH1Bk0W.d.mts} +3 -3
- 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-DI2lS7VT.d.mts → index-CnGHGFMC.d.mts} +13 -13
- 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-DNI6UF9h.d.mts → index-Df9L5wwp.d.mts} +10 -10
- package/dist/{index-Bqk0pJBQ2.d.mts → index-DrO6QLwf2.d.mts} +1 -1
- package/dist/{index-DXtQRehh.d.mts → index-DsjUnKyr.d.mts} +1 -1
- package/dist/{index-Cny5RvjO.d.mts → index-J-kv32zv.d.mts} +2 -2
- package/dist/{index-CmwAJ8-5.d.mts → index-QJW9g1mG.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 +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-K23m4b0n.d.mts → namespace-BkOvOAU5.d.mts} +6 -6
- 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-efR90JGe.d.mts → package-eOEt1w6u.d.mts} +498 -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 +69 -9
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/schemas-CeHU889f.mjs +1 -0
- package/dist/{schemas-BCXvEWyF.d.mts → schemas-DqnA42bw.d.mts} +4 -4
- package/dist/{schemas-D7EeKBDJ.d.mts → schemas-DuJs6Iqj.d.mts} +4 -4
- 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/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +48 -46
- 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 +4 -4
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/services/workflow-transitions/index.d.mts +1 -1
- package/dist/{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-D3zUBTPc.d.mts → transition-BB138WkK.d.mts} +2 -2
- package/dist/{types-DcxBYlPA.d.mts → types-CR23FzmK.d.mts} +3 -3
- 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-B0j9p5C0.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 +396 -177
- 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 +63 -4
- 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 +136 -39
- 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-dC9LSFUE.mjs +0 -1
- package/dist/authority-state-bootstrap-eitx6Ukn.mjs +0 -1
- package/dist/await-trigger-Bkg2BQfg.mjs +0 -1
- package/dist/bus-D6NoBhIV.mjs +0 -2
- package/dist/bus-UgFdHybD.mjs +0 -1
- package/dist/package-Cgjpm9om.mjs +0 -7
- package/dist/schemas-TK29KWx-.mjs +0 -1
- package/dist/scoped-bus-DoPmCJeM.mjs +0 -1
- package/dist/worker-CARV52hT.mjs +0 -1
- package/dist/workflow-worker-Dul-wcOR.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-6trZYnUP2.d.mts → index-BhOMZWZa2.d.mts} +0 -0
- /package/dist/{index-BkbnC65b.d.mts → index-C-cnB1Te.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-jxPncqWZ2.d.mts → index-COOM1j_L2.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-B-3I98nw.d.mts → index-D6RMsZko.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-DknCutQZ.d.mts → namespace-2qvc6E2Y.d.mts} +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-l-HG1rLF.d.mts → namespace-Cs-cOyrn.d.mts} +0 -0
- /package/dist/{namespace-BNp7n_gu.d.mts → namespace-CxXNlHpn.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/{namespace-BGRHcrmp.d.mts → namespace-DykqxEyX.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-D7ScxLrf.d.mts → schemas-ClGDFa44.d.mts} +0 -0
- /package/dist/{schemas-BGvkTiCx.d.mts → schemas-CzGN0eqW.d.mts} +0 -0
- /package/dist/{schemas-C1mxTfd7.d.mts → schemas-D0_kfoDf.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,8 +1,8 @@
|
|
|
1
|
-
import { r as ExtensionDiscovery } from "./extension-discovery-
|
|
1
|
+
import { r as ExtensionDiscovery } from "./extension-discovery-DnO7bINK.mjs";
|
|
2
2
|
import { RegistrableBusNamespaceDefinition } from "@makaio/framework/core";
|
|
3
3
|
import { BusTransport, IMakaioBus, SubjectTelemetryProjectorRegistry } from "@makaio/framework/bus";
|
|
4
|
-
import { ExtensionConfigProvider, IWorkerProvider, IWorkflowRunner, IWorkflowRunner as IWorkflowRunner$1, LoopGateHandler, MakaioNodeExtension, NormalizedWorkerCapabilities, OutcomeAckDecision, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, TrayManifest, WorkerAllocatedOutcome,
|
|
5
|
-
import { DispatchingAuth, TransportAuth } from "@makaio/framework/node/transports";
|
|
4
|
+
import { ExecutionAttemptBootstrapStartRefusalReason, ExecutionAttemptInstruction, ExecutionAttemptOperationAdmitRefusalReason, ExecutionAttemptOperationDelivery, ExecutionAttemptOperationKind, ExecutionAttemptOperationReceipt, ExecutionAttemptOutcome, ExecutionAttemptRuntimeRegisterRefusalReason, ExecutionAttemptWorkspaceBinding, ExtensionConfigProvider, IWorkerProvider, IWorkflowRunner, IWorkflowRunner as IWorkflowRunner$1, JsonValue, LoopGateHandler, MakaioNodeExtension, NormalizedWorkerCapabilities, OutcomeAckDecision, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, TrayManifest, WorkerAllocatedOutcome, WorkerBootstrapCredentials, WorkerCapabilities, WorkerContributionManifest, WorkerContributionRef, WorkerDispatch, WorkerMaterializationSpec, WorkerProvisionRequest, WorkerRequirements, WorkerRuntimeContext, WorkflowDefinition, WorkflowRunContext, WorkflowRunResult, WorkflowRunResult as WorkflowRunResult$1, WorkflowRunnerCompletion, WorkflowRunnerCompletion as WorkflowRunnerCompletion$1, WorkflowRunnerRunOptions, WorkflowWorkerConfig, WorkflowWorkerSource, WorkflowZodSchemas, WorkspaceRequirement } from "@makaio/framework/contracts";
|
|
5
|
+
import { DispatchingAuth, HmacAuth, TransportAuth } from "@makaio/framework/node/transports";
|
|
6
6
|
import { ContributionProcessor, ExtensionCoordinator, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, TransportProvider, WindowRegistry } from "@makaio/framework/kernel";
|
|
7
7
|
import { StorageEngine } from "@makaio/framework/storage/drizzle";
|
|
8
8
|
import { Toolset } from "@makaio/framework/tools";
|
|
@@ -13,7 +13,7 @@ import { IAdapterConfigRepository as IAdapterConfigRepository$1, PlatformDefault
|
|
|
13
13
|
import { PersistedMachineIdentity } from "@makaio/framework/node/machine-identity";
|
|
14
14
|
import { Hono } from "hono";
|
|
15
15
|
import { ConfigProvider } from "@makaio/framework/providers";
|
|
16
|
-
import { ExecutionAttemptAuthority, ExecutionAttemptRepository, WorkflowMaterializationSpecResolver } from "@makaio/framework/workflow-engine";
|
|
16
|
+
import { ExecutionAttemptAuthority, ExecutionAttemptRepository, WorkflowAttemptOutcome, WorkflowMaterializationSpecResolver } from "@makaio/framework/workflow-engine";
|
|
17
17
|
import { Server } from "node:http";
|
|
18
18
|
|
|
19
19
|
//#region runtimes/node/src/compose-adapter-runtime.d.ts
|
|
@@ -1065,7 +1065,9 @@ interface CoreBootOptions {
|
|
|
1065
1065
|
* without attempt tracking. Worker mode fails fast at boot when this
|
|
1066
1066
|
* is not provided.
|
|
1067
1067
|
*/
|
|
1068
|
-
readonly executionAttemptRepository?: ExecutionAttemptRepository<
|
|
1068
|
+
readonly executionAttemptRepository?: ExecutionAttemptRepository<WorkflowAttemptOutcome>;
|
|
1069
|
+
/** Required when constructing an attempt Authority: creation-time bootstrap budget in milliseconds. */
|
|
1070
|
+
readonly executionAttemptBootstrapTimeoutMs?: number;
|
|
1069
1071
|
/**
|
|
1070
1072
|
* Runtime data home for config, database, machine identity, and installed
|
|
1071
1073
|
* extensions. Defaults to the `MAKAIO_HOME` environment override when set,
|
|
@@ -1299,9 +1301,16 @@ interface ThinWorkflowPiscinaRunnerOptions {
|
|
|
1299
1301
|
}
|
|
1300
1302
|
//#endregion
|
|
1301
1303
|
//#region runtimes/node/src/workflow-worker/worker-ready-message.d.ts
|
|
1302
|
-
/** Message type posted by workflow workers once
|
|
1304
|
+
/** Message type posted by workflow workers once the authority accepted the runtime. */
|
|
1303
1305
|
declare const WORKFLOW_WORKER_READY_MESSAGE_TYPE: "makaio.workflow-worker.ready";
|
|
1304
|
-
/**
|
|
1306
|
+
/**
|
|
1307
|
+
* Piscina worker-to-pool message emitted after the attempt accepted this runtime.
|
|
1308
|
+
*
|
|
1309
|
+
* The message is posted only by the attempt-bound arm of the worker entrypoint,
|
|
1310
|
+
* after `execution-attempt.runtime.register` returned and the workflow run
|
|
1311
|
+
* passed the attempt's start gate. It therefore means "the authority accepted
|
|
1312
|
+
* this runtime", not "the worker finished composing itself".
|
|
1313
|
+
*/
|
|
1305
1314
|
interface WorkflowWorkerReadyMessage {
|
|
1306
1315
|
/** Stable message discriminator. */
|
|
1307
1316
|
readonly type: typeof WORKFLOW_WORKER_READY_MESSAGE_TYPE;
|
|
@@ -1309,16 +1318,23 @@ interface WorkflowWorkerReadyMessage {
|
|
|
1309
1318
|
readonly executionId: string;
|
|
1310
1319
|
/** Dynamic workflow cancel subject observed by the worker. */
|
|
1311
1320
|
readonly cancelSubject: string;
|
|
1312
|
-
/**
|
|
1313
|
-
readonly
|
|
1321
|
+
/** Attempt whose runtime registration the authority accepted. */
|
|
1322
|
+
readonly executionAttemptId: string;
|
|
1314
1323
|
}
|
|
1315
1324
|
//#endregion
|
|
1316
1325
|
//#region runtimes/node/src/workflow-worker/thin-workflow-piscina-runner.d.ts
|
|
1326
|
+
/** Attempt identity a readiness-aware dispatch binds its worker thread to. */
|
|
1327
|
+
interface ThinWorkflowPiscinaAttemptBinding {
|
|
1328
|
+
/** Authority-created attempt the dispatched thread registers against. */
|
|
1329
|
+
readonly executionAttemptId: string;
|
|
1330
|
+
/** Persisted absolute deadline of this Attempt. */
|
|
1331
|
+
readonly bootstrapDeadlineAt: string;
|
|
1332
|
+
}
|
|
1317
1333
|
/** Result and readiness promises for one workflow worker dispatch. */
|
|
1318
1334
|
interface ThinWorkflowPiscinaRunWithReadiness {
|
|
1319
1335
|
/** Terminal workflow result returned by the worker. */
|
|
1320
1336
|
readonly result: Promise<WorkflowRunResult$1>;
|
|
1321
|
-
/** Resolves
|
|
1337
|
+
/** Resolves after the Authority accepts this Runtime and admits its workflow run. */
|
|
1322
1338
|
readonly ready: Promise<WorkflowWorkerReadyMessage>;
|
|
1323
1339
|
}
|
|
1324
1340
|
/**
|
|
@@ -1353,18 +1369,23 @@ declare class ThinWorkflowPiscinaRunner implements IWorkflowRunner$1 {
|
|
|
1353
1369
|
*/
|
|
1354
1370
|
run(config: WorkflowWorkerConfig, signal: AbortSignal, manifest?: WorkerContributionManifest): Promise<WorkflowRunnerCompletion$1>;
|
|
1355
1371
|
/**
|
|
1356
|
-
* Execute
|
|
1372
|
+
* Execute an attempt-bound workflow and expose its readiness signal separately.
|
|
1357
1373
|
*
|
|
1358
1374
|
* The terminal result remains the {@link IWorkflowRunner} contract. The ready
|
|
1359
|
-
* promise
|
|
1360
|
-
* `
|
|
1361
|
-
*
|
|
1375
|
+
* promise resolves once the worker thread's own
|
|
1376
|
+
* `execution-attempt.runtime.register` reply came back, so readiness here
|
|
1377
|
+
* means the authority accepted that runtime rather than that a thread booted.
|
|
1378
|
+
*
|
|
1379
|
+
* The attempt binding is required because readiness has no meaning without
|
|
1380
|
+
* it: a thread with no attempt registers nothing, posts no ready message, and
|
|
1381
|
+
* would leave this promise to be rejected by the run's own settlement.
|
|
1362
1382
|
* @param config - Full workflow worker configuration with source, inputs, and bus info.
|
|
1363
1383
|
* @param signal - AbortSignal for cooperative cancellation.
|
|
1364
1384
|
* @param manifest - Optional per-call manifest override.
|
|
1385
|
+
* @param attempt - Attempt identity the dispatched thread registers against.
|
|
1365
1386
|
* @returns Terminal result and readiness promises for this worker run.
|
|
1366
1387
|
*/
|
|
1367
|
-
runWithReadiness(config: WorkflowWorkerConfig, signal: AbortSignal, manifest
|
|
1388
|
+
runWithReadiness(config: WorkflowWorkerConfig, signal: AbortSignal, manifest: WorkerContributionManifest | undefined, attempt: ThinWorkflowPiscinaAttemptBinding): ThinWorkflowPiscinaRunWithReadiness;
|
|
1368
1389
|
/**
|
|
1369
1390
|
* Destroy the thread pool and release all worker threads.
|
|
1370
1391
|
*/
|
|
@@ -1373,6 +1394,11 @@ declare class ThinWorkflowPiscinaRunner implements IWorkflowRunner$1 {
|
|
|
1373
1394
|
* Realize portable filesystem references before transferring a task to
|
|
1374
1395
|
* Piscina. Worker threads receive only verified absolute paths, never an
|
|
1375
1396
|
* Authority-relative source or unchecked contribution package path.
|
|
1397
|
+
*
|
|
1398
|
+
* The task is returned as the `unbound` arm; the readiness-aware path
|
|
1399
|
+
* re-stamps it `attempt-bound` with its attempt identity afterwards, so the
|
|
1400
|
+
* attempt identity never becomes an optional field on the shape the
|
|
1401
|
+
* attempt-free path also uses.
|
|
1376
1402
|
* @param config - Portable worker configuration.
|
|
1377
1403
|
* @param manifest - Exact contribution identities for this execution.
|
|
1378
1404
|
* @param signal - Cancellation signal for the dispatch.
|
|
@@ -1381,6 +1407,66 @@ declare class ThinWorkflowPiscinaRunner implements IWorkflowRunner$1 {
|
|
|
1381
1407
|
private materializeTask;
|
|
1382
1408
|
}
|
|
1383
1409
|
//#endregion
|
|
1410
|
+
//#region runtimes/node/src/workflow-worker/worker-bus-auth.d.ts
|
|
1411
|
+
/**
|
|
1412
|
+
* Build transport authentication without interpreting credentials as grants.
|
|
1413
|
+
* @param secret - HMAC secret; undefined means no HMAC authentication.
|
|
1414
|
+
* @param identityId - Optional identity for the server's trusted-peer resolver.
|
|
1415
|
+
* @returns HMAC authenticator when a secret is supplied.
|
|
1416
|
+
*/
|
|
1417
|
+
declare function createWorkerBusAuth(secret: string | undefined, identityId?: string): HmacAuth | undefined;
|
|
1418
|
+
//#endregion
|
|
1419
|
+
//#region runtimes/node/src/workflow-worker/worker-bootstrap-budget.d.ts
|
|
1420
|
+
/** The immutable Attempt bootstrap budget has elapsed. */
|
|
1421
|
+
declare class BootstrapDeadlineExceededError extends Error {
|
|
1422
|
+
readonly code = "WORKER_BOOTSTRAP_DEADLINE_EXCEEDED";
|
|
1423
|
+
constructor();
|
|
1424
|
+
}
|
|
1425
|
+
/**
|
|
1426
|
+
* Bound a bootstrap callback without adding reconnect or retry semantics.
|
|
1427
|
+
* @param bootstrapDeadlineAt - The Attempt's immutable absolute ISO deadline.
|
|
1428
|
+
* @param signal - Caller cancellation.
|
|
1429
|
+
* @param operation - Callback receiving cancellation bounded by that deadline.
|
|
1430
|
+
* @returns The timely callback result.
|
|
1431
|
+
*/
|
|
1432
|
+
declare function withWorkerBootstrapDeadline<T>(bootstrapDeadlineAt: string, signal: AbortSignal, operation: (signal: AbortSignal) => Promise<T>): Promise<T>;
|
|
1433
|
+
//#endregion
|
|
1434
|
+
//#region runtimes/node/src/workflow-worker/worker-bootstrap-exchange.d.ts
|
|
1435
|
+
/** Valid, schema-parsed protocol response; refusal is a nonretryable adapter error. */
|
|
1436
|
+
type BootstrapExchangeResult<TValue> = {
|
|
1437
|
+
readonly status: 'pending';
|
|
1438
|
+
} | {
|
|
1439
|
+
readonly status: 'complete';
|
|
1440
|
+
readonly value: TValue;
|
|
1441
|
+
};
|
|
1442
|
+
/** Adapters keep credential and start-authorization protocols outside the session loop. */
|
|
1443
|
+
interface WorkerBootstrapExchangeOptions<TSession, TValue> {
|
|
1444
|
+
readonly bootstrapDeadlineAt: string;
|
|
1445
|
+
readonly signal: AbortSignal;
|
|
1446
|
+
/** Acquire a handle synchronously, before any asynchronous connection work. */
|
|
1447
|
+
readonly createSession: () => TSession;
|
|
1448
|
+
/** Include authentication and subscription readiness; disable transport auto-reconnect. */
|
|
1449
|
+
readonly connect: (session: TSession, signal: AbortSignal) => Promise<void>;
|
|
1450
|
+
/** Parse protocol responses before returning; throw typed refusal errors. */
|
|
1451
|
+
readonly exchange: (session: TSession, options: {
|
|
1452
|
+
readonly signal: AbortSignal;
|
|
1453
|
+
readonly timeoutMs: number;
|
|
1454
|
+
}) => Promise<BootstrapExchangeResult<TValue>>;
|
|
1455
|
+
/** Revoke the handle, including pending connect, so late completion cannot revive it. */
|
|
1456
|
+
readonly dispose: (session: TSession) => void | Promise<void>;
|
|
1457
|
+
}
|
|
1458
|
+
/**
|
|
1459
|
+
* Connect and repeat a pre-registration exchange within one durable bootstrap budget.
|
|
1460
|
+
* Failed sessions are disposed before reconnecting. A successful session transfers
|
|
1461
|
+
* to the caller; no timer survives to affect registration or workload execution.
|
|
1462
|
+
* @param options - Protocol adapters and the Attempt's immutable deadline.
|
|
1463
|
+
* @returns Surviving session and the timely, parsed completion value.
|
|
1464
|
+
*/
|
|
1465
|
+
declare function runWorkerBootstrapExchange<TSession, TValue>(options: WorkerBootstrapExchangeOptions<TSession, TValue>): Promise<{
|
|
1466
|
+
readonly session: TSession;
|
|
1467
|
+
readonly value: TValue;
|
|
1468
|
+
}>;
|
|
1469
|
+
//#endregion
|
|
1384
1470
|
//#region runtimes/node/src/workflow-worker/node-workflow-runner-factory.d.ts
|
|
1385
1471
|
/** Parameters for composing workflow engine runner package options. */
|
|
1386
1472
|
interface CreateNodeWorkflowRunnerPackageOptionsParams {
|
|
@@ -1399,7 +1485,8 @@ interface CreateNodeWorkflowRunnerPackageOptionsParams {
|
|
|
1399
1485
|
*
|
|
1400
1486
|
* Required when `workflowRunner.mode` is `'in-process'` or omitted on an
|
|
1401
1487
|
* explicit runner object. Also used by Worker mode when no explicit
|
|
1402
|
-
* dispatch function is supplied
|
|
1488
|
+
* dispatch function is supplied, and reads portable owner context for
|
|
1489
|
+
* path-backed Worker executions. Ignored for Piscina mode.
|
|
1403
1490
|
*/
|
|
1404
1491
|
readonly bus?: IMakaioBus;
|
|
1405
1492
|
/**
|
|
@@ -1409,7 +1496,9 @@ interface CreateNodeWorkflowRunnerPackageOptionsParams {
|
|
|
1409
1496
|
* through to the workflow engine service options so the Authority
|
|
1410
1497
|
* service can delegate durable decisions.
|
|
1411
1498
|
*/
|
|
1412
|
-
readonly executionAttemptRepository?: ExecutionAttemptRepository<
|
|
1499
|
+
readonly executionAttemptRepository?: ExecutionAttemptRepository<WorkflowAttemptOutcome>;
|
|
1500
|
+
/** Explicit creation-time bootstrap budget, required whenever a repository is injected. */
|
|
1501
|
+
readonly executionAttemptBootstrapTimeoutMs?: number;
|
|
1413
1502
|
/** Host-owned resolvers for portable path-backed workflow starts. */
|
|
1414
1503
|
readonly workflowMaterializationSpecResolvers?: readonly WorkflowMaterializationSpecResolver[];
|
|
1415
1504
|
}
|
|
@@ -1431,18 +1520,17 @@ interface NodeWorkflowRunnerPackageOptions {
|
|
|
1431
1520
|
/**
|
|
1432
1521
|
* Injected execution attempt persistence port.
|
|
1433
1522
|
*
|
|
1434
|
-
*
|
|
1435
|
-
* Forwarded to the workflow engine service for Authority construction.
|
|
1523
|
+
* Forwarded whenever the host supplies it, independently of runner mode.
|
|
1436
1524
|
*/
|
|
1437
|
-
readonly executionAttemptRepository?: ExecutionAttemptRepository<
|
|
1525
|
+
readonly executionAttemptRepository?: ExecutionAttemptRepository<WorkflowAttemptOutcome>;
|
|
1438
1526
|
/**
|
|
1439
1527
|
* Execution attempt Authority constructed from the injected repository.
|
|
1440
1528
|
*
|
|
1441
|
-
* Present
|
|
1442
|
-
* Shared between
|
|
1529
|
+
* Present whenever the host supplies a repository and bootstrap budget.
|
|
1530
|
+
* Shared between an Authority-backed runner (for attempt creation before dispatch) and
|
|
1443
1531
|
* the workflow engine service (for outcome commitment).
|
|
1444
1532
|
*/
|
|
1445
|
-
readonly executionAttemptAuthority?: ExecutionAttemptAuthority<
|
|
1533
|
+
readonly executionAttemptAuthority?: ExecutionAttemptAuthority<WorkflowAttemptOutcome>;
|
|
1446
1534
|
/** Host-owned resolvers forwarded to the workflow engine service. */
|
|
1447
1535
|
readonly workflowMaterializationSpecResolvers?: readonly WorkflowMaterializationSpecResolver[];
|
|
1448
1536
|
}
|
|
@@ -1468,7 +1556,8 @@ interface CreateNodeWorkflowRunnerParams {
|
|
|
1468
1556
|
*
|
|
1469
1557
|
* Required when `runner` is present and its `mode` is `'in-process'` or
|
|
1470
1558
|
* omitted. Also required for `'worker'` mode when no explicit dispatch
|
|
1471
|
-
* function is supplied
|
|
1559
|
+
* function is supplied, and for reading portable owner context before
|
|
1560
|
+
* path-backed Worker dispatch. Ignored for Piscina mode.
|
|
1472
1561
|
*/
|
|
1473
1562
|
readonly bus?: IMakaioBus;
|
|
1474
1563
|
/**
|
|
@@ -1477,7 +1566,7 @@ interface CreateNodeWorkflowRunnerParams {
|
|
|
1477
1566
|
* Required when `runner.mode` is `'worker'`. The runner uses this
|
|
1478
1567
|
* to create attempts before dispatch and wait for committed outcomes.
|
|
1479
1568
|
*/
|
|
1480
|
-
readonly authority?: ExecutionAttemptAuthority<
|
|
1569
|
+
readonly authority?: ExecutionAttemptAuthority<WorkflowAttemptOutcome>;
|
|
1481
1570
|
}
|
|
1482
1571
|
/**
|
|
1483
1572
|
* Create a workflow-level runner based on the Node runtime configuration.
|
|
@@ -1509,7 +1598,15 @@ interface WorkerRunnerOptions {
|
|
|
1509
1598
|
* Required for authority-committed completions. When absent, the runner
|
|
1510
1599
|
* cannot create attempts or wait for durable outcomes.
|
|
1511
1600
|
*/
|
|
1512
|
-
readonly authority: ExecutionAttemptAuthority<
|
|
1601
|
+
readonly authority: ExecutionAttemptAuthority<WorkflowAttemptOutcome>;
|
|
1602
|
+
/**
|
|
1603
|
+
* Read portable owner input before creating a path-backed Attempt.
|
|
1604
|
+
* Self-contained source and definition configs need no storage lookup.
|
|
1605
|
+
* @param executionId - Workflow execution whose executable source is being frozen.
|
|
1606
|
+
* @param signal - Cancellation signal for the owner-context read.
|
|
1607
|
+
* @returns The portable owner context, or null when none was persisted.
|
|
1608
|
+
*/
|
|
1609
|
+
readonly readRunContext?: (executionId: string, signal: AbortSignal) => Promise<WorkflowRunContext | null>;
|
|
1513
1610
|
/**
|
|
1514
1611
|
* Extension contribution manifest forwarded to dispatched workers.
|
|
1515
1612
|
*
|
|
@@ -1539,6 +1636,8 @@ interface WorkerRunnerOptions {
|
|
|
1539
1636
|
*/
|
|
1540
1637
|
declare class WorkerRunner implements IWorkflowRunner {
|
|
1541
1638
|
private readonly options;
|
|
1639
|
+
/** The Attempt owner commits and converges results before runner completion. */
|
|
1640
|
+
readonly terminalAuthority = "authority";
|
|
1542
1641
|
/**
|
|
1543
1642
|
* @param options - Dispatch seam, authority, optional manifest, and optional requirements.
|
|
1544
1643
|
*/
|
|
@@ -1605,6 +1704,17 @@ interface OutcomeSubmitPayload {
|
|
|
1605
1704
|
readonly executionId: string;
|
|
1606
1705
|
readonly result: WorkflowRunResult;
|
|
1607
1706
|
}
|
|
1707
|
+
/** Payload for the generic terminal Attempt outcome ingress. */
|
|
1708
|
+
interface AttemptOutcomeSubmitPayload {
|
|
1709
|
+
/** Authority-created Attempt identity. */
|
|
1710
|
+
readonly executionAttemptId: string;
|
|
1711
|
+
/** Runtime generation accepted during registration. */
|
|
1712
|
+
readonly runtimeGeneration: number;
|
|
1713
|
+
/** Admitted operation for non-startup outcomes. */
|
|
1714
|
+
readonly operationId?: string;
|
|
1715
|
+
/** Technical failure or opaque workload result. */
|
|
1716
|
+
readonly outcome: ExecutionAttemptOutcome;
|
|
1717
|
+
}
|
|
1608
1718
|
/**
|
|
1609
1719
|
* Outcome ACK decisions that confirm durable delivery.
|
|
1610
1720
|
*
|
|
@@ -1632,6 +1742,26 @@ declare class OutcomeDeliveryError extends Error {
|
|
|
1632
1742
|
*/
|
|
1633
1743
|
constructor(decision: OutcomeAckDecision | 'deadline-exceeded', result: WorkflowRunResult, reason?: OutcomeDeliveryFailureReason);
|
|
1634
1744
|
}
|
|
1745
|
+
/** Error from delivery through the generic Attempt outcome ingress. */
|
|
1746
|
+
declare class AttemptOutcomeDeliveryError extends Error {
|
|
1747
|
+
readonly decision: OutcomeAckDecision | 'deadline-exceeded';
|
|
1748
|
+
readonly payload: AttemptOutcomeSubmitPayload;
|
|
1749
|
+
readonly reason: OutcomeDeliveryFailureReason;
|
|
1750
|
+
/**
|
|
1751
|
+
* @param decision - Authority rejection decision or deadline marker.
|
|
1752
|
+
* @param payload - Immutable Attempt outcome that could not be acknowledged.
|
|
1753
|
+
* @param reason - Stable delivery failure classification.
|
|
1754
|
+
*/
|
|
1755
|
+
constructor(decision: OutcomeAckDecision | 'deadline-exceeded', payload: AttemptOutcomeSubmitPayload, reason?: OutcomeDeliveryFailureReason);
|
|
1756
|
+
}
|
|
1757
|
+
/** Deadline failure for a non-terminal Authority request retried by the Runtime. */
|
|
1758
|
+
declare class AuthorityRequestDeliveryError extends Error {
|
|
1759
|
+
readonly reason: 'deadline-exceeded';
|
|
1760
|
+
/**
|
|
1761
|
+
* @param reason - Stable reason the request could not complete.
|
|
1762
|
+
*/
|
|
1763
|
+
constructor(reason?: 'deadline-exceeded');
|
|
1764
|
+
}
|
|
1635
1765
|
/**
|
|
1636
1766
|
* Optional reconnect callback invoked before each retry when the
|
|
1637
1767
|
* previous attempt failed with a transport-level error.
|
|
@@ -1642,6 +1772,11 @@ declare class OutcomeDeliveryError extends Error {
|
|
|
1642
1772
|
* will naturally fail again if the transport is still down.
|
|
1643
1773
|
*/
|
|
1644
1774
|
type OutcomeReconnect = () => Promise<void>;
|
|
1775
|
+
/** Common retry options for either legacy workflow or generic Attempt outcome delivery. */
|
|
1776
|
+
interface OutcomeSubmitOptions {
|
|
1777
|
+
readonly retry?: OutcomeSubmitRetryConfig;
|
|
1778
|
+
readonly reconnect?: OutcomeReconnect;
|
|
1779
|
+
}
|
|
1645
1780
|
/**
|
|
1646
1781
|
* Submit a workflow outcome for durable acknowledgement with
|
|
1647
1782
|
* decision-aware, reconnect-capable retry.
|
|
@@ -1666,10 +1801,16 @@ type OutcomeReconnect = () => Promise<void>;
|
|
|
1666
1801
|
* @returns Durable ACK decision (`accepted` or `duplicate`).
|
|
1667
1802
|
* @throws {@link OutcomeDeliveryError} On non-transient rejection or deadline expiry.
|
|
1668
1803
|
*/
|
|
1669
|
-
declare function submitOutcomeWithAck(bus: IMakaioBus, payload: OutcomeSubmitPayload, options?:
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1804
|
+
declare function submitOutcomeWithAck(bus: IMakaioBus, payload: OutcomeSubmitPayload, options?: OutcomeSubmitOptions): Promise<OutcomeAckDecision>;
|
|
1805
|
+
/**
|
|
1806
|
+
* Submit a generic Attempt terminal outcome with the same bounded retry policy
|
|
1807
|
+
* as legacy workflow results.
|
|
1808
|
+
* @param bus - Runtime bus authenticated as the Attempt peer.
|
|
1809
|
+
* @param payload - Fenced Attempt result and optional admitted operation.
|
|
1810
|
+
* @param options - Retry and reconnect behavior.
|
|
1811
|
+
* @returns Durable Authority acknowledgement.
|
|
1812
|
+
*/
|
|
1813
|
+
declare function submitAttemptOutcomeWithAck(bus: IMakaioBus, payload: AttemptOutcomeSubmitPayload, options?: OutcomeSubmitOptions): Promise<OutcomeAckDecision>;
|
|
1673
1814
|
//#endregion
|
|
1674
1815
|
//#region runtimes/node/src/workflow-worker/piscina-thin-workflow-provider.d.ts
|
|
1675
1816
|
/**
|
|
@@ -1688,9 +1829,10 @@ interface PiscinaThinWorkflowProviderOptions {
|
|
|
1688
1829
|
* can supply lightweight fakes without spawning real worker threads.
|
|
1689
1830
|
*
|
|
1690
1831
|
* Readiness is part of the requirement rather than an optional refinement:
|
|
1691
|
-
*
|
|
1692
|
-
*
|
|
1693
|
-
*
|
|
1832
|
+
* the thread's own registration is what makes the attempt ready, and this
|
|
1833
|
+
* provider watches that signal to abort the allocation when it fails. A
|
|
1834
|
+
* runner without one would silently swallow a refused registration instead
|
|
1835
|
+
* of failing where it is wired.
|
|
1694
1836
|
*/
|
|
1695
1837
|
readonly runner: ReadinessAwareWorkflowRunner;
|
|
1696
1838
|
/**
|
|
@@ -1731,13 +1873,14 @@ interface PiscinaThinWorkflowProviderOptions {
|
|
|
1731
1873
|
*/
|
|
1732
1874
|
interface ReadinessAwareWorkflowRunner extends IWorkflowRunner {
|
|
1733
1875
|
/**
|
|
1734
|
-
* Run once and separately expose the worker's
|
|
1876
|
+
* Run once and separately expose the worker's own registration readiness.
|
|
1735
1877
|
* @param config - Worker configuration for the run.
|
|
1736
1878
|
* @param signal - AbortSignal that cancels the run.
|
|
1737
1879
|
* @param manifest - Optional per-call contribution manifest.
|
|
1738
|
-
* @
|
|
1880
|
+
* @param attempt - Attempt identity the dispatched worker registers against.
|
|
1881
|
+
* @returns Terminal result promise and registration readiness promise.
|
|
1739
1882
|
*/
|
|
1740
|
-
runWithReadiness(config: WorkerProvisionRequest['workerConfig'], signal: AbortSignal, manifest
|
|
1883
|
+
runWithReadiness(config: WorkerProvisionRequest['workerConfig'], signal: AbortSignal, manifest: WorkerProvisionRequest['workerManifest'] | undefined, attempt: ThinWorkflowPiscinaAttemptBinding): ThinWorkflowPiscinaRunWithReadiness;
|
|
1741
1884
|
}
|
|
1742
1885
|
/**
|
|
1743
1886
|
* Built-in thin workflow provider backed by the existing workflow-level
|
|
@@ -1750,10 +1893,11 @@ interface ReadinessAwareWorkflowRunner extends IWorkflowRunner {
|
|
|
1750
1893
|
* infrastructure-only {@link WorkerHandle}.
|
|
1751
1894
|
*
|
|
1752
1895
|
* The handle controls allocation lifecycle (cancel/terminate) but does
|
|
1753
|
-
* NOT expose readiness or workflow results. Readiness is
|
|
1754
|
-
*
|
|
1755
|
-
*
|
|
1756
|
-
* the Authority's `control.outcome.submit`
|
|
1896
|
+
* NOT expose readiness or workflow results. Readiness is the worker thread's
|
|
1897
|
+
* own business: it registers its runtime with the ExecutionAttempt authority,
|
|
1898
|
+
* which publishes `execution-attempt.runtime.ready`. Workflow outcomes are
|
|
1899
|
+
* submitted and acknowledged through the Authority's `control.outcome.submit`
|
|
1900
|
+
* bus subject.
|
|
1757
1901
|
*
|
|
1758
1902
|
* Piscina is a local thin workflow runner: it declares that it is NOT
|
|
1759
1903
|
* recoverable. Allocation references are process-local and non-durable.
|
|
@@ -1806,9 +1950,14 @@ declare class PiscinaThinWorkflowProvider implements IWorkerProvider {
|
|
|
1806
1950
|
* way to positively prove that nothing was created. The narrow type states
|
|
1807
1951
|
* what it can prove today. Gaining the ability to confirm absence means
|
|
1808
1952
|
* deliberately widening this signature back to the contract union.
|
|
1953
|
+
* A worker configuration without a bus URL is rejected loudly rather than
|
|
1954
|
+
* allocated: the thread would have no transport, so it could never
|
|
1955
|
+
* authenticate as the attempt or register its runtime, and the allocation
|
|
1956
|
+
* would be a worker that is provisioned and permanently unready.
|
|
1809
1957
|
* @param request - Full provision request containing worker config and manifest.
|
|
1810
1958
|
* @param signal - AbortSignal for cooperative cancellation of the provision operation.
|
|
1811
1959
|
* @returns Allocated outcome with a validated allocation reference and infrastructure handle.
|
|
1960
|
+
* @throws When the worker configuration carries no bus URL.
|
|
1812
1961
|
*/
|
|
1813
1962
|
provision(request: WorkerProvisionRequest, signal: AbortSignal): Promise<WorkerAllocatedOutcome>;
|
|
1814
1963
|
/**
|
|
@@ -1816,7 +1965,9 @@ declare class PiscinaThinWorkflowProvider implements IWorkerProvider {
|
|
|
1816
1965
|
* the runner promise settles.
|
|
1817
1966
|
*
|
|
1818
1967
|
* On success, submits the runner's result directly. On failure, builds
|
|
1819
|
-
* a `failed` {@link WorkflowRunResult} from the error message.
|
|
1968
|
+
* a `failed` {@link WorkflowRunResult} from the error message. Attached
|
|
1969
|
+
* only once the thread's run was admitted: a rejection before admission is
|
|
1970
|
+
* infrastructure evidence, not a workflow outcome, and never reaches here.
|
|
1820
1971
|
*
|
|
1821
1972
|
* Uses the shared {@link submitOutcomeWithAck} helper for decision-aware
|
|
1822
1973
|
* retry with bounded exponential back-off. Since the Piscina provider
|
|
@@ -1966,7 +2117,7 @@ declare function createIsolatedWorkflowRuntime(options: CreateIsolatedWorkflowRu
|
|
|
1966
2117
|
* The harness receives these credentials after a successful bootstrap claim
|
|
1967
2118
|
* and uses them to establish the authenticated bus connection.
|
|
1968
2119
|
*/
|
|
1969
|
-
type HeadlessWorkerBootstrapCredentials =
|
|
2120
|
+
type HeadlessWorkerBootstrapCredentials = WorkerBootstrapCredentials;
|
|
1970
2121
|
/**
|
|
1971
2122
|
* Bootstrap the worker by claiming execution-scoped bus credentials.
|
|
1972
2123
|
*
|
|
@@ -1988,21 +2139,18 @@ type HeadlessWorkerBootstrap = (signal: AbortSignal) => Promise<HeadlessWorkerBo
|
|
|
1988
2139
|
*/
|
|
1989
2140
|
type HeadlessWorkerBusConnector = (bus: IMakaioBus, credentials: HeadlessWorkerBootstrapCredentials, signal: AbortSignal) => Promise<void>;
|
|
1990
2141
|
/**
|
|
1991
|
-
*
|
|
2142
|
+
* Workflow executable and contribution paths acquired inside Invocation.
|
|
1992
2143
|
*
|
|
1993
|
-
*
|
|
1994
|
-
*
|
|
1995
|
-
*
|
|
1996
|
-
* handles) should provide a cleanup callback to release them.
|
|
2144
|
+
* This legacy name does not declare a project Workspace. Cleanup is permitted
|
|
2145
|
+
* only after an acknowledged workload result without preservation obligations. A root
|
|
2146
|
+
* shared with the prepared project Workspace has that Workspace's cleanup owner.
|
|
1997
2147
|
*/
|
|
1998
2148
|
interface MaterializedWorkspace {
|
|
1999
2149
|
/** Materialized worker-local runtime context with absolute paths. */
|
|
2000
2150
|
readonly context: WorkerRuntimeContext;
|
|
2001
2151
|
/**
|
|
2002
|
-
* Optional
|
|
2003
|
-
*
|
|
2004
|
-
* Must be idempotent — the harness may call it multiple times or
|
|
2005
|
-
* after partial initialization. Rejections are swallowed.
|
|
2152
|
+
* Optional idempotent executable-root cleanup, after acknowledged execution.
|
|
2153
|
+
* Never called for technical failure, cancellation, unacknowledged outcomes or roots overlapping a project Workspace.
|
|
2006
2154
|
*/
|
|
2007
2155
|
readonly cleanup?: () => Promise<void>;
|
|
2008
2156
|
}
|
|
@@ -2012,7 +2160,7 @@ interface MaterializedWorkspace {
|
|
|
2012
2160
|
* The implementation resolves workspace snapshots or local directories,
|
|
2013
2161
|
* verifies contribution integrity, and returns a {@link MaterializedWorkspace}
|
|
2014
2162
|
* with absolute worker-local paths and an optional cleanup callback.
|
|
2015
|
-
* @param runContext -
|
|
2163
|
+
* @param runContext - Local DTO reconstructed from frozen input and selected Runtime inputs.
|
|
2016
2164
|
* @param signal - Cancellation signal.
|
|
2017
2165
|
* @returns Materialized workspace with runtime context and optional cleanup.
|
|
2018
2166
|
*/
|
|
@@ -2032,7 +2180,7 @@ type HeadlessWorkerContributionLoader = (runtimeContext: WorkerRuntimeContext, s
|
|
|
2032
2180
|
* The implementation loads the workflow from the run context and drives it
|
|
2033
2181
|
* through the orchestrator. The returned result is immutable.
|
|
2034
2182
|
* @param bus - Connected worker-local bus.
|
|
2035
|
-
* @param runContext -
|
|
2183
|
+
* @param runContext - Local DTO reconstructed from frozen input and selected Runtime inputs.
|
|
2036
2184
|
* @param runtimeContext - Materialized worker-local runtime context.
|
|
2037
2185
|
* @param signal - Effective cancellation signal (combines caller + bus cancel).
|
|
2038
2186
|
* @returns Immutable terminal workflow run result.
|
|
@@ -2060,11 +2208,19 @@ interface HeadlessWorkflowWorkerDeps {
|
|
|
2060
2208
|
readonly executionId: string;
|
|
2061
2209
|
/** Authority-created attempt identifier. */
|
|
2062
2210
|
readonly executionAttemptId: string;
|
|
2211
|
+
/** Immutable absolute deadline created with the Attempt, shared by every bootstrap phase. */
|
|
2212
|
+
readonly bootstrapDeadlineAt: string;
|
|
2213
|
+
/** Explicit host-delivered workflow environment; never inferred from ambient process state. */
|
|
2214
|
+
readonly workflowEnv: Readonly<Record<string, string>>;
|
|
2215
|
+
/** Private setup-process environment, supplied separately from workflowEnv and never persisted. */
|
|
2216
|
+
readonly setupEnv?: Readonly<NodeJS.ProcessEnv>;
|
|
2063
2217
|
/** Claim execution-scoped bus credentials. */
|
|
2064
2218
|
readonly bootstrap: HeadlessWorkerBootstrap;
|
|
2065
2219
|
/** Establish the authenticated bus connection. */
|
|
2066
2220
|
readonly connectBus: HeadlessWorkerBusConnector;
|
|
2067
|
-
/**
|
|
2221
|
+
/** Explicit project Workspace path; required only by an instruction requesting one. */
|
|
2222
|
+
readonly workspaceRoot?: string;
|
|
2223
|
+
/** Materialize executable and contribution paths inside admitted Invocation. */
|
|
2068
2224
|
readonly materialize: HeadlessWorkerMaterializer;
|
|
2069
2225
|
/** Load contribution packages from materialized entrypoints. */
|
|
2070
2226
|
readonly loadContributions: HeadlessWorkerContributionLoader;
|
|
@@ -2090,28 +2246,145 @@ interface HeadlessWorkflowWorkerDeps {
|
|
|
2090
2246
|
/**
|
|
2091
2247
|
* Terminal result of a headless worker execution.
|
|
2092
2248
|
*
|
|
2093
|
-
*
|
|
2094
|
-
*
|
|
2249
|
+
* Preserves technical failure, cancellation and actual workflow results, together with
|
|
2250
|
+
* the Authority's durable acknowledgement.
|
|
2095
2251
|
*/
|
|
2096
2252
|
interface HeadlessWorkflowWorkerResult {
|
|
2097
|
-
/**
|
|
2098
|
-
readonly
|
|
2253
|
+
/** Canonical technical failure, cancellation or the workflow's actual returned result. */
|
|
2254
|
+
readonly outcome: ExecutionAttemptOutcome;
|
|
2099
2255
|
/** Durable ACK decision from the Authority. */
|
|
2100
2256
|
readonly decision: OutcomeAckDecision;
|
|
2101
2257
|
}
|
|
2102
2258
|
/**
|
|
2103
|
-
*
|
|
2259
|
+
* Register one Runtime, then run optional Workspace Preparation and Invocation.
|
|
2104
2260
|
*
|
|
2105
|
-
*
|
|
2106
|
-
*
|
|
2107
|
-
*
|
|
2108
|
-
* @param
|
|
2109
|
-
* @
|
|
2110
|
-
* @
|
|
2111
|
-
* @throws When bootstrap, connection, materialization, or runtime composition fails.
|
|
2261
|
+
* The authenticated control bus stays connected through the canonical outcome
|
|
2262
|
+
* acknowledgement. Workflow code acquisition and runtime composition happen
|
|
2263
|
+
* only inside the installed workflow adapter's admitted Invocation.
|
|
2264
|
+
* @param deps - Provider and installed workflow adapter dependencies.
|
|
2265
|
+
* @param signal - Cancellation signal from the process or caller.
|
|
2266
|
+
* @returns Canonical outcome and durable acknowledgement.
|
|
2112
2267
|
*/
|
|
2113
2268
|
declare function runHeadlessWorkflowWorker(deps: HeadlessWorkflowWorkerDeps, signal: AbortSignal): Promise<HeadlessWorkflowWorkerResult>;
|
|
2114
2269
|
//#endregion
|
|
2270
|
+
//#region runtimes/node/src/workspace-preparation/setup-command.d.ts
|
|
2271
|
+
/** Result of one bounded setup command, after its owned process group has stopped. */
|
|
2272
|
+
interface SetupCommandResult {
|
|
2273
|
+
readonly status: 'completed' | 'failed' | 'cancelled' | 'timed-out' | 'spawn-failed' | 'stop-failed';
|
|
2274
|
+
readonly exitCode: number | null;
|
|
2275
|
+
/** Generic diagnostics deliberately exclude command arguments and environment values. */
|
|
2276
|
+
readonly message?: string;
|
|
2277
|
+
}
|
|
2278
|
+
//#endregion
|
|
2279
|
+
//#region runtimes/node/src/workspace-preparation/workspace-preparation.d.ts
|
|
2280
|
+
/** First failed setup command, or successful completion of the complete frozen recipe. */
|
|
2281
|
+
interface WorkspaceSetupResult extends SetupCommandResult {
|
|
2282
|
+
readonly commandIndex?: number;
|
|
2283
|
+
}
|
|
2284
|
+
/** Setup inputs supplied by the host, not stored in the portable workspace requirement. */
|
|
2285
|
+
interface WorkspaceSetupOptions {
|
|
2286
|
+
readonly signal?: AbortSignal;
|
|
2287
|
+
readonly env?: NodeJS.ProcessEnv;
|
|
2288
|
+
}
|
|
2289
|
+
/** A local realization whose release remains an explicit caller decision. */
|
|
2290
|
+
interface LocalWorkspaceHandle {
|
|
2291
|
+
readonly binding: ExecutionAttemptWorkspaceBinding;
|
|
2292
|
+
/** Execute the already-authorized recipe; failures retain the handle and files. */
|
|
2293
|
+
runSetup(options?: WorkspaceSetupOptions): Promise<WorkspaceSetupResult>;
|
|
2294
|
+
/** Call only after preservation policy permits release. External roots are never deleted. */
|
|
2295
|
+
release(): Promise<void>;
|
|
2296
|
+
}
|
|
2297
|
+
//#endregion
|
|
2298
|
+
//#region runtimes/node/src/workflow-worker/workload-invocation.d.ts
|
|
2299
|
+
/** One installed, versioned local executor for an opaque workload instruction. */
|
|
2300
|
+
interface InstalledWorkloadAdapter {
|
|
2301
|
+
/** Workload kind this adapter accepts. */
|
|
2302
|
+
readonly kind: string;
|
|
2303
|
+
/** Exact frozen input version this adapter accepts. */
|
|
2304
|
+
readonly version: string;
|
|
2305
|
+
/**
|
|
2306
|
+
* Bind workload-local control before any mutating operation is admitted.
|
|
2307
|
+
*
|
|
2308
|
+
* The returned signal may combine caller cancellation with workload-specific
|
|
2309
|
+
* control. Its release stays live through terminal acknowledgement so a
|
|
2310
|
+
* cancellation cannot race a locally detached subscription.
|
|
2311
|
+
* @param input - Frozen instruction and outer Runtime cancellation signal.
|
|
2312
|
+
* @returns Effective work signal and a release operation for local control state.
|
|
2313
|
+
*/
|
|
2314
|
+
bindControl?(input: {
|
|
2315
|
+
readonly instruction: ExecutionAttemptInstruction;
|
|
2316
|
+
readonly signal?: AbortSignal;
|
|
2317
|
+
}): Promise<WorkloadControlBinding>;
|
|
2318
|
+
/**
|
|
2319
|
+
* Execute only after Invocation admission.
|
|
2320
|
+
*
|
|
2321
|
+
* An adapter may acquire and load its own executable artifact here. That is
|
|
2322
|
+
* workload execution, not Workspace Preparation.
|
|
2323
|
+
* @param input - Frozen instruction, accepted optional Workspace binding and cancellation.
|
|
2324
|
+
* @returns Opaque JSON result interpreted by the owner-side adapter.
|
|
2325
|
+
*/
|
|
2326
|
+
invoke(input: {
|
|
2327
|
+
readonly instruction: ExecutionAttemptInstruction;
|
|
2328
|
+
readonly workspace?: ExecutionAttemptWorkspaceBinding;
|
|
2329
|
+
readonly signal?: AbortSignal;
|
|
2330
|
+
}): Promise<JsonValue>;
|
|
2331
|
+
}
|
|
2332
|
+
/** Workload-local control subscription retained through the terminal outcome acknowledgement. */
|
|
2333
|
+
interface WorkloadControlBinding {
|
|
2334
|
+
/** Effective signal for local setup and workload execution. */
|
|
2335
|
+
readonly signal: AbortSignal;
|
|
2336
|
+
/** Detach local control state after the terminal outcome is acknowledged. */
|
|
2337
|
+
release(): void;
|
|
2338
|
+
}
|
|
2339
|
+
/** Runtime-local dependencies for realizing one optional Workspace requirement. */
|
|
2340
|
+
interface WorkloadInvocationPreparation {
|
|
2341
|
+
/** Bind/create and retain one local Workspace until explicit release. */
|
|
2342
|
+
prepare(input: {
|
|
2343
|
+
readonly requirement: WorkspaceRequirement;
|
|
2344
|
+
readonly workspaceRoot: string;
|
|
2345
|
+
}): Promise<LocalWorkspaceHandle>;
|
|
2346
|
+
}
|
|
2347
|
+
/** Inputs for the fixed Preparation → Invocation sequence of an already registered Runtime. */
|
|
2348
|
+
interface RunWorkloadInvocationOptions {
|
|
2349
|
+
/** Authority-created Attempt identity. */
|
|
2350
|
+
readonly executionAttemptId: string;
|
|
2351
|
+
/** Generation accepted during Runtime registration. */
|
|
2352
|
+
readonly runtimeGeneration: number;
|
|
2353
|
+
/** Explicit host-selected local root, required only by a declared Workspace. */
|
|
2354
|
+
readonly workspaceRoot?: string;
|
|
2355
|
+
/** Private host environment for setup subprocesses; never included in the portable instruction or receipts. */
|
|
2356
|
+
readonly setupEnv?: Readonly<NodeJS.ProcessEnv>;
|
|
2357
|
+
/** Installed workload adapters available in this Runtime. */
|
|
2358
|
+
readonly adapters: readonly InstalledWorkloadAdapter[];
|
|
2359
|
+
/** Cancellation signal forwarded to local setup and workload execution. */
|
|
2360
|
+
readonly signal?: AbortSignal;
|
|
2361
|
+
/** Reconnect hook reused for terminal outcome acknowledgement. */
|
|
2362
|
+
readonly reconnect?: OutcomeReconnect;
|
|
2363
|
+
/** Bounded retry policy reused for terminal outcome acknowledgement. */
|
|
2364
|
+
readonly retry?: OutcomeSubmitRetryConfig;
|
|
2365
|
+
/** Local Workspace realization seam; defaults to the Node bind/create helper. */
|
|
2366
|
+
readonly preparation?: WorkloadInvocationPreparation;
|
|
2367
|
+
}
|
|
2368
|
+
/** Durable result visible after generic terminal-outcome acknowledgement. */
|
|
2369
|
+
interface WorkloadInvocationResult {
|
|
2370
|
+
/** Exact technical failure or opaque workload result committed by the Authority. */
|
|
2371
|
+
readonly outcome: ExecutionAttemptOutcome;
|
|
2372
|
+
/** Authority acknowledgement after canonical owner convergence. */
|
|
2373
|
+
readonly decision: OutcomeAckDecision;
|
|
2374
|
+
}
|
|
2375
|
+
/**
|
|
2376
|
+
* Execute the fixed generic workload sequence for an already registered Runtime.
|
|
2377
|
+
*
|
|
2378
|
+
* No Workspace is synthesized for workspace-less instructions. Source
|
|
2379
|
+
* acquisition remains unsupported by the local Preparation helper; workload
|
|
2380
|
+
* executable acquisition stays inside the admitted adapter invocation.
|
|
2381
|
+
* @param bus - Runtime bus authenticated as this Attempt.
|
|
2382
|
+
* @param options - Registered Attempt, installed adapters and optional local Workspace locator.
|
|
2383
|
+
* @returns The terminal outcome after canonical Authority acknowledgement.
|
|
2384
|
+
* @throws AuthorityRequestDeliveryError When admission or Preparation acknowledgement exceeds its delivery deadline.
|
|
2385
|
+
*/
|
|
2386
|
+
declare function runWorkloadInvocation(bus: IMakaioBus, options: RunWorkloadInvocationOptions): Promise<WorkloadInvocationResult>;
|
|
2387
|
+
//#endregion
|
|
2115
2388
|
//#region runtimes/node/src/workflow-worker/workflow-loader.d.ts
|
|
2116
2389
|
/**
|
|
2117
2390
|
* Resolve a {@link RuntimeLoadedWorkflow} from the parsed worker config.
|
|
@@ -2174,4 +2447,251 @@ declare function loadWorkflowModules(source: Exclude<WorkflowWorkerSource, {
|
|
|
2174
2447
|
*/
|
|
2175
2448
|
declare function loadWorkflowModule(source: WorkflowWorkerSource): Promise<RuntimeLoadedWorkflow>;
|
|
2176
2449
|
//#endregion
|
|
2177
|
-
|
|
2450
|
+
//#region runtimes/node/src/workflow-worker/runtime-registration-client.d.ts
|
|
2451
|
+
/**
|
|
2452
|
+
* Operation kinds a runtime endpoint may be handed by the authority.
|
|
2453
|
+
*
|
|
2454
|
+
* `runtime-probe` is excluded: the bounded probe is the authority's own proof
|
|
2455
|
+
* that the endpoint accepts a fenced instruction, and
|
|
2456
|
+
* {@link installOperationDeliveryEndpoint} answers it itself. A caller-supplied
|
|
2457
|
+
* probe handler would be a second way to answer the same delivery.
|
|
2458
|
+
*/
|
|
2459
|
+
type DeliverableOperationKind = Exclude<ExecutionAttemptOperationKind, 'runtime-probe'>;
|
|
2460
|
+
/**
|
|
2461
|
+
* Runtime-side executor for one delivered operation.
|
|
2462
|
+
*
|
|
2463
|
+
* Receives the delivery verbatim and returns the receipt the authority sees.
|
|
2464
|
+
* A handler that cannot honour the delivery returns a `refused` receipt with
|
|
2465
|
+
* its reason rather than throwing — a throw is reported to the authority as a
|
|
2466
|
+
* failed request, which it reads as an unproven endpoint.
|
|
2467
|
+
* @param delivery - The operation the authority handed to this runtime.
|
|
2468
|
+
* @returns The receipt reported back to the authority.
|
|
2469
|
+
*/
|
|
2470
|
+
type OperationDeliveryHandler = (delivery: ExecutionAttemptOperationDelivery) => ExecutionAttemptOperationReceipt | Promise<ExecutionAttemptOperationReceipt>;
|
|
2471
|
+
/**
|
|
2472
|
+
* Handlers a runtime installs for the operation kinds it can execute.
|
|
2473
|
+
*
|
|
2474
|
+
* Partial by design: a delivery whose kind has no handler is answered
|
|
2475
|
+
* `refused` / `unknown-kind`, which is the honest report of a runtime that
|
|
2476
|
+
* does not know the instruction.
|
|
2477
|
+
*/
|
|
2478
|
+
type OperationDeliveryHandlers = Partial<Record<DeliverableOperationKind, OperationDeliveryHandler>>;
|
|
2479
|
+
/** Identity the delivery endpoint is installed for. */
|
|
2480
|
+
interface OperationDeliveryEndpointIdentity {
|
|
2481
|
+
/** Attempt this runtime owns; the first half of the delivery filter. */
|
|
2482
|
+
readonly executionAttemptId: string;
|
|
2483
|
+
/** This runtime incarnation; the second half of the delivery filter. */
|
|
2484
|
+
readonly runtimeIncarnationId: string;
|
|
2485
|
+
/**
|
|
2486
|
+
* Generation this incarnation was accepted with, when already known.
|
|
2487
|
+
*
|
|
2488
|
+
* Set when the endpoint is re-installed on another bus after registration
|
|
2489
|
+
* (the pre-composition → runtime bus handoff). A fresh endpoint installed
|
|
2490
|
+
* before registration leaves it out and learns the generation through
|
|
2491
|
+
* {@link OperationDeliveryEndpoint.bindGeneration}.
|
|
2492
|
+
*/
|
|
2493
|
+
readonly runtimeGeneration?: number;
|
|
2494
|
+
}
|
|
2495
|
+
/** The installed delivery endpoint of one runtime incarnation. */
|
|
2496
|
+
interface OperationDeliveryEndpoint {
|
|
2497
|
+
/**
|
|
2498
|
+
* Fence later deliveries against the generation the authority accepted.
|
|
2499
|
+
*
|
|
2500
|
+
* Called once registration returned. The probe needs no fence — it is
|
|
2501
|
+
* addressed to this incarnation and arrives before the generation exists —
|
|
2502
|
+
* but every other delivery is refused `stale-generation` unless it carries
|
|
2503
|
+
* exactly this generation.
|
|
2504
|
+
* @param runtimeGeneration - Generation returned by registration.
|
|
2505
|
+
*/
|
|
2506
|
+
bindGeneration(runtimeGeneration: number): void;
|
|
2507
|
+
/** Remove the endpoint from its bus. Idempotent. */
|
|
2508
|
+
cleanup(): void;
|
|
2509
|
+
}
|
|
2510
|
+
/**
|
|
2511
|
+
* Install this runtime's responder for `execution-attempt.operation.deliver`.
|
|
2512
|
+
*
|
|
2513
|
+
* The subject is static and every live Worker Runtime subscribes to it, so the
|
|
2514
|
+
* addressing is a payload filter on the runtime's own attempt and incarnation
|
|
2515
|
+
* (`bus.withFilter({ executionAttemptId, runtimeIncarnationId })`, the same
|
|
2516
|
+
* move the adapter session endpoints make in `adapters/core`). A delivery for
|
|
2517
|
+
* another attempt — or for a newer incarnation of this attempt while this one
|
|
2518
|
+
* is still connected — is a filter miss that returns undefined and
|
|
2519
|
+
* auto-advances the dispatch chain to the next responder; it is not an error
|
|
2520
|
+
* and this endpoint never sees it.
|
|
2521
|
+
*
|
|
2522
|
+
* The endpoint must exist before the runtime registers: the authority delivers
|
|
2523
|
+
* the bounded probe inside the registration request, and an unsubscribed
|
|
2524
|
+
* runtime fails its own registration with `probe-failed`. The returned
|
|
2525
|
+
* propagation await is what makes "before" true across a transport — the
|
|
2526
|
+
* subscription is visible to the authority when this resolves.
|
|
2527
|
+
* @param bus - Connected runtime bus the endpoint is installed on.
|
|
2528
|
+
* @param identity - Attempt and incarnation this runtime is; the delivery filter.
|
|
2529
|
+
* @param handlers - Handlers for the operation kinds this runtime can execute.
|
|
2530
|
+
* @param signal - Optional cancellation while the endpoint becomes visible.
|
|
2531
|
+
* @returns The installed endpoint: a generation binder and its cleanup.
|
|
2532
|
+
*/
|
|
2533
|
+
declare function installOperationDeliveryEndpoint(bus: IMakaioBus, identity: OperationDeliveryEndpointIdentity, handlers: OperationDeliveryHandlers, signal?: AbortSignal): Promise<OperationDeliveryEndpoint>;
|
|
2534
|
+
/**
|
|
2535
|
+
* Error thrown when the authority refuses a runtime registration.
|
|
2536
|
+
*
|
|
2537
|
+
* A refusal hands out no generation, so there is nothing for the caller to
|
|
2538
|
+
* fence with and no partial success to report: the runtime cannot proceed.
|
|
2539
|
+
*/
|
|
2540
|
+
declare class RuntimeRegistrationRefusedError extends Error {
|
|
2541
|
+
readonly executionAttemptId: string;
|
|
2542
|
+
readonly refusalReason: ExecutionAttemptRuntimeRegisterRefusalReason | undefined;
|
|
2543
|
+
/**
|
|
2544
|
+
* @param executionAttemptId - Attempt whose registration was refused.
|
|
2545
|
+
* @param refusalReason - Authority's reason, absent only if it reported none.
|
|
2546
|
+
*/
|
|
2547
|
+
constructor(executionAttemptId: string, refusalReason: ExecutionAttemptRuntimeRegisterRefusalReason | undefined);
|
|
2548
|
+
}
|
|
2549
|
+
/**
|
|
2550
|
+
* Error thrown when the authority refuses an operation admission.
|
|
2551
|
+
*
|
|
2552
|
+
* A refused admission means the operation never passed the attempt's start
|
|
2553
|
+
* gate, so the caller must not run it.
|
|
2554
|
+
*/
|
|
2555
|
+
declare class OperationAdmissionRefusedError extends Error {
|
|
2556
|
+
readonly executionAttemptId: string;
|
|
2557
|
+
readonly admissionKey: string;
|
|
2558
|
+
readonly refusalReason: ExecutionAttemptOperationAdmitRefusalReason | undefined;
|
|
2559
|
+
/**
|
|
2560
|
+
* @param executionAttemptId - Attempt the admission was requested against.
|
|
2561
|
+
* @param admissionKey - Idempotency key the caller admitted under.
|
|
2562
|
+
* @param refusalReason - Authority's reason, absent only if it reported none.
|
|
2563
|
+
*/
|
|
2564
|
+
constructor(executionAttemptId: string, admissionKey: string, refusalReason: ExecutionAttemptOperationAdmitRefusalReason | undefined);
|
|
2565
|
+
}
|
|
2566
|
+
/** Parameters for registering this runtime incarnation with the authority. */
|
|
2567
|
+
interface RegisterWorkerRuntimeOptions {
|
|
2568
|
+
/** Authority-created attempt identifier this runtime claims. */
|
|
2569
|
+
readonly executionAttemptId: string;
|
|
2570
|
+
/** Identifier of this concrete runtime incarnation, unique per boot. */
|
|
2571
|
+
readonly runtimeIncarnationId: string;
|
|
2572
|
+
/** Cancellation signal for the registration request. */
|
|
2573
|
+
readonly signal?: AbortSignal;
|
|
2574
|
+
}
|
|
2575
|
+
/**
|
|
2576
|
+
* Register this runtime incarnation as the endpoint of its ExecutionAttempt.
|
|
2577
|
+
*
|
|
2578
|
+
* One request that returns only after the authority made readiness durable:
|
|
2579
|
+
* it allocates the generation, admits and delivers the bounded probe to the
|
|
2580
|
+
* endpoint installed by {@link installOperationDeliveryEndpoint}, persists the
|
|
2581
|
+
* completion, and publishes `execution-attempt.runtime.ready`. The reply is
|
|
2582
|
+
* the complete answer. Allocation visibility is awaited by the separate
|
|
2583
|
+
* bootstrap start barrier; registration itself never retries a refusal.
|
|
2584
|
+
*
|
|
2585
|
+
* A `duplicate` decision is readiness: the authority answers it only for an
|
|
2586
|
+
* incarnation that already holds a readiness instant, and it carries the same
|
|
2587
|
+
* generation that incarnation was registered with.
|
|
2588
|
+
* @param bus - Connected runtime bus authenticated as the attempt peer.
|
|
2589
|
+
* @param options - Attempt identity, incarnation identity, cancellation.
|
|
2590
|
+
* @returns The generation this runtime must fence all later traffic with.
|
|
2591
|
+
* @throws {@link RuntimeRegistrationRefusedError} When the authority refuses.
|
|
2592
|
+
*/
|
|
2593
|
+
declare function registerWorkerRuntime(bus: IMakaioBus, options: RegisterWorkerRuntimeOptions): Promise<number>;
|
|
2594
|
+
/** Parameters for admitting this runtime's workflow run through the start gate. */
|
|
2595
|
+
interface AdmitWorkflowRunOperationOptions {
|
|
2596
|
+
/** Authority-created attempt identifier the operation runs under. */
|
|
2597
|
+
readonly executionAttemptId: string;
|
|
2598
|
+
/** Generation this runtime was registered with. */
|
|
2599
|
+
readonly runtimeGeneration: number;
|
|
2600
|
+
/** Caller-chosen idempotency key for this admission. */
|
|
2601
|
+
readonly admissionKey: string;
|
|
2602
|
+
/** Cancellation signal for the admission request. */
|
|
2603
|
+
readonly signal?: AbortSignal;
|
|
2604
|
+
}
|
|
2605
|
+
/**
|
|
2606
|
+
* Admit this runtime's workflow run through the attempt's start gate.
|
|
2607
|
+
*
|
|
2608
|
+
* The legacy run passes the gate as one admitted operation: materialize, load,
|
|
2609
|
+
* compose, execute, and the outcome all stay inside it, and the outcome commit
|
|
2610
|
+
* settles the attempt rather than a separate completion call.
|
|
2611
|
+
*
|
|
2612
|
+
* A `duplicate` decision is the retry of an admission whose first pass already
|
|
2613
|
+
* succeeded, so it yields the existing operation identifier.
|
|
2614
|
+
* @param bus - Connected runtime bus authenticated as the attempt peer.
|
|
2615
|
+
* @param options - Attempt identity, fence, idempotency key, cancellation.
|
|
2616
|
+
* @returns The identifier of the admitted operation.
|
|
2617
|
+
* @throws {@link OperationAdmissionRefusedError} When the authority refuses.
|
|
2618
|
+
* @throws When the authority admits without naming an operation.
|
|
2619
|
+
*/
|
|
2620
|
+
declare function admitWorkflowRunOperation(bus: IMakaioBus, options: AdmitWorkflowRunOperationOptions): Promise<string>;
|
|
2621
|
+
/** Parameters for proving this runtime and admitting its workflow run. */
|
|
2622
|
+
interface RegisterAndAdmitWorkflowRunOptions {
|
|
2623
|
+
/** Authority-created attempt identifier this runtime claims. */
|
|
2624
|
+
readonly executionAttemptId: string;
|
|
2625
|
+
/** Identifier of this concrete runtime incarnation, unique per boot. */
|
|
2626
|
+
readonly runtimeIncarnationId: string;
|
|
2627
|
+
/** The delivery endpoint installed for this incarnation, bound to the accepted generation here. */
|
|
2628
|
+
readonly endpoint: OperationDeliveryEndpoint;
|
|
2629
|
+
/** Cancellation signal for both requests. */
|
|
2630
|
+
readonly signal?: AbortSignal;
|
|
2631
|
+
}
|
|
2632
|
+
/** What a runtime holds once its workflow run passed the start gate. */
|
|
2633
|
+
interface AdmittedWorkflowRun {
|
|
2634
|
+
/** Generation this runtime was accepted with. */
|
|
2635
|
+
readonly runtimeGeneration: number;
|
|
2636
|
+
/** Identifier of the admitted workflow-run operation. */
|
|
2637
|
+
readonly operationId: string;
|
|
2638
|
+
}
|
|
2639
|
+
/**
|
|
2640
|
+
* Prove this runtime to the authority and admit its workflow run, in order.
|
|
2641
|
+
*
|
|
2642
|
+
* The one sequence every workflow runtime performs before it pulls work:
|
|
2643
|
+
* register (the probe arrives at `options.endpoint` meanwhile), bind the
|
|
2644
|
+
* accepted generation onto that endpoint, then admit the run under the
|
|
2645
|
+
* incarnation's own key `workflow-run:<runtimeIncarnationId>`, so a retried
|
|
2646
|
+
* admission is answered `duplicate` with the same operation.
|
|
2647
|
+
* @param bus - Connected runtime bus authenticated as the attempt peer.
|
|
2648
|
+
* @param options - Attempt identity, incarnation identity, endpoint, cancellation.
|
|
2649
|
+
* @returns The accepted generation and the admitted operation.
|
|
2650
|
+
* @throws {@link RuntimeRegistrationRefusedError} When the authority refuses the runtime.
|
|
2651
|
+
* @throws {@link OperationAdmissionRefusedError} When the authority refuses the run.
|
|
2652
|
+
*/
|
|
2653
|
+
declare function registerAndAdmitWorkflowRun(bus: IMakaioBus, options: RegisterAndAdmitWorkflowRunOptions): Promise<AdmittedWorkflowRun>;
|
|
2654
|
+
//#endregion
|
|
2655
|
+
//#region runtimes/node/src/workflow-worker/bootstrap-start-client.d.ts
|
|
2656
|
+
/** Synchronously acquired connection ownership, including an unfinished connect. */
|
|
2657
|
+
interface BootstrapRuntimeConnection {
|
|
2658
|
+
/** Fresh isolated bus, owned until close or successful transfer. */
|
|
2659
|
+
readonly bus: IMakaioBus;
|
|
2660
|
+
/**
|
|
2661
|
+
* Connect authentication and subscription readiness.
|
|
2662
|
+
* @param signal - Cancellation of this pre-registration connection phase.
|
|
2663
|
+
*/
|
|
2664
|
+
connect(signal: AbortSignal): Promise<void>;
|
|
2665
|
+
/** Revoke this session, including an unfinished connection. */
|
|
2666
|
+
close(): void | Promise<void>;
|
|
2667
|
+
}
|
|
2668
|
+
/** One surviving authenticated connection whose start permission was granted. */
|
|
2669
|
+
interface StartedWorkerRuntime {
|
|
2670
|
+
readonly connection: BootstrapRuntimeConnection;
|
|
2671
|
+
readonly endpoint: OperationDeliveryEndpoint;
|
|
2672
|
+
}
|
|
2673
|
+
/** Durable Attempt identity and provider-specific connection acquisition. */
|
|
2674
|
+
interface BootstrapWorkerRuntimeOptions {
|
|
2675
|
+
readonly executionAttemptId: string;
|
|
2676
|
+
readonly runtimeIncarnationId: string;
|
|
2677
|
+
readonly bootstrapDeadlineAt: string;
|
|
2678
|
+
readonly signal: AbortSignal;
|
|
2679
|
+
readonly createConnection: () => BootstrapRuntimeConnection;
|
|
2680
|
+
}
|
|
2681
|
+
/** Explicit Authority refusal: reconnecting cannot turn it into permission. */
|
|
2682
|
+
declare class BootstrapStartRefusedError extends Error {
|
|
2683
|
+
readonly refusalReason: ExecutionAttemptBootstrapStartRefusalReason;
|
|
2684
|
+
/**
|
|
2685
|
+
* @param refusalReason - Non-secret refusal from the authoritative start gate.
|
|
2686
|
+
*/
|
|
2687
|
+
constructor(refusalReason: ExecutionAttemptBootstrapStartRefusalReason);
|
|
2688
|
+
}
|
|
2689
|
+
/**
|
|
2690
|
+
* Install the endpoint and await durable allocation permission before registration.
|
|
2691
|
+
* A failed connection and its endpoint are revoked before a fresh session starts.
|
|
2692
|
+
* @param options - Attempt budget, identity and synchronous connection factory.
|
|
2693
|
+
* @returns The surviving control connection and installed operation endpoint.
|
|
2694
|
+
*/
|
|
2695
|
+
declare function bootstrapWorkerRuntime(options: BootstrapWorkerRuntimeOptions): Promise<StartedWorkerRuntime>;
|
|
2696
|
+
//#endregion
|
|
2697
|
+
export { AuthorityRequestDeliveryError as $, selectFrameworkCorePackages as $t, HeadlessWorkerBootstrap as A, UpstreamTelemetryBootOptions as At, runHeadlessWorkflowWorker as B, computeFileDigest as Bt, loadWorkflowFromConfig as C, WorkflowRunResult$1 as Ct, WorkloadInvocationPreparation as D, MakaioRuntime as Dt, WorkloadControlBinding as E, CoreBootOptions as Et, HeadlessWorkerMaterializer as F, WorkspaceRootResolver as Ft, WorkflowRuntimeContributionLoader as G, WorkflowWorkerEntryResolverOptions as Gt, IsolatedWorkflowRuntime as H, parseSriIntegrity as Ht, HeadlessWorkerPostCommitObserver as I, assertContainedIn as It, InProcessWorkflowRunnerOptions as J, InitializeNodeDatabaseOptions as Jt, createIsolatedWorkflowRuntime as K, resolveWorkflowWorkerEntry as Kt, HeadlessWorkflowWorkerDeps as L, assertNoSymlinkEscape as Lt, HeadlessWorkerBusConnector as M, LocalDirectoryMaterializerOptions as Mt, HeadlessWorkerContributionLoader as N, MaterializationError as Nt, WorkloadInvocationResult as O, ServerTransportProvider as Ot, HeadlessWorkerExecutor as P, ParsedSriIntegrity as Pt, AttemptOutcomeSubmitPayload as Q, normalizeNodeHostCapabilities as Qt, HeadlessWorkflowWorkerResult as R, computeContributionPackageDigest as Rt, loadWorkflowModules as S, ThinWorkflowPiscinaRunnerOptions as St, RunWorkloadInvocationOptions as T, BootMakaioRuntimeOptions as Tt, IsolatedWorkflowRuntimeContext as U, verifyContribution as Ut, CreateIsolatedWorkflowRuntimeOptions as V, materializeLocalDirectory as Vt, WorkflowRuntimeAuthorityConnector as W, WorkflowWorkerEntryMode as Wt, PiscinaThinWorkflowProviderOptions as X, initializeNodeDatabase as Xt, PiscinaThinWorkflowProvider as Y, InitializeNodeDatabaseResult as Yt, AttemptOutcomeDeliveryError as Z, HostCapabilityDeclaration as Zt, admitWorkflowRunOperation as _, activateAdapterRuntimeIdentity as _n, withWorkerBootstrapDeadline as _t, bootstrapWorkerRuntime as a, resolveFrameworkSpecifier as an, submitAttemptOutcomeWithAck as at, registerWorkerRuntime as b, IWorkflowRunner$1 as bt, DeliverableOperationKind as c, HttpContributionPhase as cn, WorkerRunnerOptions as ct, OperationDeliveryEndpointIdentity as d, HonoRouteGraphOptions as dn, createNodeWorkflowRunner as dt, ShutdownStep as en, DELIVERED_DECISIONS as et, OperationDeliveryHandler as f, createHonoRouteGraph as fn, createNodeWorkflowRunnerPackageOptions as ft, RuntimeRegistrationRefusedError as g, PreparedAdapterRuntime as gn, BootstrapDeadlineExceededError as gt, RegisterWorkerRuntimeOptions as h, PrepareAdapterRuntimeInput as hn, runWorkerBootstrapExchange as ht, StartedWorkerRuntime as i, NoopFrameworkModuleResolver as in, OutcomeSubmitRetryConfig as it, HeadlessWorkerBootstrapCredentials as j, WorkflowRunnerBootOptions as jt, runWorkloadInvocation as k, TransportReadyInfo as kt, OperationAdmissionRefusedError as l, HttpRouteContribution as ln, CreateNodeWorkflowRunnerPackageOptionsParams as lt, RegisterAndAdmitWorkflowRunOptions as m, ActivatedAdapterRuntimeIdentity as mn, WorkerBootstrapExchangeOptions as mt, BootstrapStartRefusedError as n, FrameworkModuleResolver as nn, OutcomeReconnect as nt, AdmitWorkflowRunOperationOptions as o, HttpRouteGraphBuilder as on, submitOutcomeWithAck as ot, OperationDeliveryHandlers as p, ActivateAdapterRuntimeIdentityInput as pn, BootstrapExchangeResult as pt, InProcessWorkflowRunner as q, DatabaseBootOptions as qt, BootstrapWorkerRuntimeOptions as r, NodeFrameworkModuleResolver as rn, OutcomeSubmitPayload as rt, AdmittedWorkflowRun as s, createHttpRouteGraphBuilder as sn, WorkerRunner as st, BootstrapRuntimeConnection as t, BridgeBrowserOptions as tn, OutcomeDeliveryError as tt, OperationDeliveryEndpoint as u, HonoRouteGraph as un, NodeWorkflowRunnerPackageOptions as ut, installOperationDeliveryEndpoint as v, prepareAdapterRuntime as vn, createWorkerBusAuth as vt, InstalledWorkloadAdapter as w, BootCoordinatorSetupContext as wt, loadWorkflowModule as x, RuntimeLoadedWorkflow as xt, registerAndAdmitWorkflowRun as y, ThinWorkflowPiscinaRunner as yt, MaterializedWorkspace as z, computeDirectoryDigest as zt };
|