@makaio/framework 1.0.0-dev-1789000242829 → 1.0.0-dev-1789056039016
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.makaio-build.json +2 -2
- package/dist/adapters/claude/index.d.mts +60 -60
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/node.d.mts +1 -1
- package/dist/artifact--nbPrvm5.mjs +1 -0
- package/dist/attempt-control-evidence-BKw1U3wL.mjs +1 -0
- package/dist/bootstrap-start-client-D7t7d9ty.mjs +1 -0
- package/dist/bus/index.mjs +1 -1
- package/dist/clients/index.d.mts +1 -1
- package/dist/clients/managed-install.d.mts +1 -1
- package/dist/code-execution/worker-entry.d.mts +1 -1
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/auth/index.d.mts +2 -2
- package/dist/contracts/automation-trigger/index.d.mts +3 -3
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/code-execution/index.d.mts +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +5 -5
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +287 -61
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/shared/index.d.mts +2 -2
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +3 -3
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{contribution-BfEEQ8YZ.d.mts → contribution-BWanQHUz.d.mts} +2 -2
- package/dist/{definition-6d5JBi55.d.mts → definition-DSOXLpQj.d.mts} +1 -1
- package/dist/{detached-extension-handle-BJnk3WEh.mjs → detached-extension-handle-BNvRSUVO.mjs} +1 -1
- package/dist/{execution-attempt-repository-DSpz2kyW.d.mts → execution-attempt-repository-BoNwNybg.d.mts} +85 -3
- package/dist/{hook-responses-CpEfxEmG.d.mts → hook-responses-DVjMuGh9.d.mts} +1 -1
- package/dist/{index-CCNCo440.d.mts → index-B4KCyY6J.d.mts} +16 -16
- package/dist/{index-Bj2JCo9V.d.mts → index-BXair-QK.d.mts} +1 -1
- package/dist/{index-BfzuauBt2.d.mts → index-BgKU1PuR2.d.mts} +1 -1
- package/dist/{index-DvoitgXV.d.mts → index-C0jn5nKJ.d.mts} +11 -11
- package/dist/{index-CRM23ToM2.d.mts → index-CAURP-Tl2.d.mts} +3 -3
- package/dist/{index-BTluq4-E.d.mts → index-CKvliyuY.d.mts} +4847 -1730
- package/dist/{index-BlHq_Ksb.d.mts → index-CLmjrH8K.d.mts} +2 -2
- package/dist/{index-GTCM4lXx.d.mts → index-CO6ADD43.d.mts} +25 -25
- package/dist/{index-BM-FPWjs2.d.mts → index-CTNGL-cq2.d.mts} +1 -1
- package/dist/{index-CDhbUjUH.d.mts → index-CU9xmTkP.d.mts} +1 -1
- package/dist/{index-hm8NV4CJ2.d.mts → index-CVP9K9-a2.d.mts} +8 -8
- package/dist/{index-BfwHYuRf.d.mts → index-Caai1zAG.d.mts} +1 -1
- package/dist/{index-D7IZQNhD.d.mts → index-CgYGg-Ne2.d.mts} +2 -2
- package/dist/{index-Bn6sN1op.d.mts → index-DUH2eTyC.d.mts} +1 -1
- package/dist/{index-C742b1FV.d.mts → index-DUdGqxHD.d.mts} +1 -1
- package/dist/{index-Dzozmb5u.d.mts → index-Ddk-kjif.d.mts} +3 -3
- package/dist/{index-DY_0TRvM.d.mts → index-DhW9WHFS.d.mts} +2 -2
- package/dist/{index-6kg8YFYt.d.mts → index-DnZksNTM.d.mts} +1 -1
- package/dist/{index-B3G-Hzwn.d.mts → index-Dp3UZQv_.d.mts} +1 -1
- package/dist/{index-BxJRljy-.d.mts → index-Dtc5UYJG.d.mts} +237 -102
- package/dist/{index-DR308wUB2.d.mts → index-H2NL2OwF2.d.mts} +119 -7
- package/dist/{index-CjMMvZch.d.mts → index-LRAmVQLj.d.mts} +278 -44
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/index.d.mts +5 -5
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/{lib-BmXBuE-w.mjs → lib-B1Mvm4hQ.mjs} +1 -1
- package/dist/{lib-R-c_q77C.mjs → lib-D1-cvcTz.mjs} +1 -1
- package/dist/{load-extensions-Bu10B5B1.d.mts → load-extensions-D6SVKBPw.d.mts} +1 -1
- package/dist/{load-extensions-s4YmICgn.mjs → load-extensions-bwisKaW0.mjs} +1 -1
- package/dist/{namespace-btfJrUf6.d.mts → namespace-CYYFqmtJ.d.mts} +6 -6
- package/dist/{namespace-CfA0C0JR.d.mts → namespace-CfNNUjVv.d.mts} +2 -2
- package/dist/{namespace-BHb_9sh4.d.mts → namespace-DyWNxLt1.d.mts} +6 -6
- package/dist/{namespace-Dmbm2JzV.d.mts → namespace-l1Rcc4mp.d.mts} +2 -2
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/{package-BaTrCWZl.d.mts → package-CnR_tOsW.d.mts} +21 -3
- package/dist/package-tvzH3A0x.mjs +7 -0
- package/dist/package.json +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/code-execution/index.d.mts +2 -2
- package/dist/runtime-node/extension-discovery.d.mts +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +6 -6
- package/dist/runtime-node/index.mjs +21 -21
- 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.mjs +1 -1
- package/dist/{schemas-DYIVJDlx.d.mts → schemas-BGcAiQE0.d.mts} +4 -4
- package/dist/{schemas-CQe4xCRn.d.mts → schemas-D6JvwH-h.d.mts} +2 -2
- package/dist/{schemas-Cz7H2f7S.d.mts → schemas-DChhgfU0.d.mts} +7 -7
- package/dist/{schemas-yXs929kr.d.mts → schemas-Dt1YwXLN.d.mts} +7 -7
- package/dist/{schemas-BkCqhK3X.d.mts → schemas-FkLOBJgq.d.mts} +4 -4
- package/dist/{schemas-GyKYcV-Z2.d.mts → schemas-Fn-eeay32.d.mts} +7 -7
- package/dist/{schemas-bcDK-fK3.d.mts → schemas-_NrySTmN.d.mts} +7 -7
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +3 -3
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/capability/index.d.mts +2 -2
- package/dist/services/code-execution/index.d.mts +1 -1
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +1 -1
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/git/namespace.d.mts +2 -2
- package/dist/services/git/schemas.d.mts +1 -1
- package/dist/services/index.d.mts +57 -57
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/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/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-CmLn6zYj.mjs → src-BZdlyUxT.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/{storage-namespace-zRXWqAfO.d.mts → storage-namespace-BUSNKZLw.d.mts} +10 -10
- package/dist/{transition-bYkXnLY2.d.mts → transition-D2VKNtv6.d.mts} +2 -2
- package/dist/{types-Bnc-pdB12.d.mts → types-DafDuOcH2.d.mts} +1 -1
- package/dist/{types-BNKqcHfP.d.mts → types-DyXXIK4c.d.mts} +3 -3
- package/dist/ui-kernel/index.d.mts +4 -4
- package/dist/ui-kernel/pages/namespace.d.mts +4 -4
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{view-builder-CA5qUx85.d.mts → view-builder-BFEvUe6n.d.mts} +1 -1
- package/dist/worker-L8vWpbYa.mjs +1 -0
- package/dist/{workflow-5yHn_Knq.mjs → workflow-DNks09Ip.mjs} +1 -1
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/index.d.mts +98 -60
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/provider-operation.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.mjs +2 -2
- package/dist/workflow-engine/testing/index.d.mts +3 -1
- package/dist/workflow-engine/testing/index.mjs +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.mjs +50 -33
- package/dist/workflow-worker-BDA-E_pm.mjs +2 -0
- package/package.json +1 -1
- package/dist/artifact-Cxm5ZX7L.mjs +0 -1
- package/dist/bootstrap-start-client-rW55mDI-.mjs +0 -1
- package/dist/package-BT94BLu4.mjs +0 -7
- package/dist/worker-Cx1JDOB9.mjs +0 -1
- package/dist/workflow-worker-BAO7pQpx.mjs +0 -2
- /package/dist/{adapter-binding-DhANVB-O.d.mts → adapter-binding-CTssGlH_.d.mts} +0 -0
- /package/dist/{attempt-fixtures-CMx-2OlG.mjs → attempt-fixtures-B8FSy_vs.mjs} +0 -0
- /package/dist/{attempt-record-codec-D2Gb_epJ.mjs → attempt-record-codec-BrungudT.mjs} +0 -0
- /package/dist/{base-orchestrator-tAgnJAKu.d.mts → base-orchestrator-C5Z9Aowq.d.mts} +0 -0
- /package/dist/{capability-service-Cpkonrc0.d.mts → capability-service-DX3wLjdt.d.mts} +0 -0
- /package/dist/{client-At2zn3yg.d.mts → client-BsXMxeCN.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-EOj8xXqm.d.mts → client-binary-version-verifier-uMFQoKZj.d.mts} +0 -0
- /package/dist/{clients-namespace-CVRwXq8f.d.mts → clients-namespace-1hXA6qNd.d.mts} +0 -0
- /package/dist/{config-namespace-D7GbrasR.d.mts → config-namespace-Bpq9WOY4.d.mts} +0 -0
- /package/dist/{create-static-mount-BIH26VH8.mjs → create-static-mount-Cr24q94C.mjs} +0 -0
- /package/dist/{definition-VK1rERAp.d.mts → definition-Ckt_WmJw.d.mts} +0 -0
- /package/dist/{extension-context-Cpf_n5FH.d.mts → extension-context-BGNUn34r.d.mts} +0 -0
- /package/dist/{extension-discovery-B0ZL076T.d.mts → extension-discovery-Dx118u_N.d.mts} +0 -0
- /package/dist/{filesystem-service-BWoNtujU.d.mts → filesystem-service-DtApanQk.d.mts} +0 -0
- /package/dist/{index-Bk0Xjk-B.d.mts → index-1AKlC3kZ.d.mts} +0 -0
- /package/dist/{index-CDA33y5A.d.mts → index-5KVPGsig.d.mts} +0 -0
- /package/dist/{index-8a41yDOl.d.mts → index-B4lidHiL.d.mts} +0 -0
- /package/dist/{index-Bzxs2nVR.d.mts → index-BLhNHkiK.d.mts} +0 -0
- /package/dist/{index-DzHc6hsJ.d.mts → index-Bw7benCh.d.mts} +0 -0
- /package/dist/{index-DXSVC0bM.d.mts → index-C0zo4Id_.d.mts} +0 -0
- /package/dist/{index-BL1F1xYB.d.mts → index-C3n8beRR.d.mts} +0 -0
- /package/dist/{index-C8oBOTl_.d.mts → index-C86rKLPD.d.mts} +0 -0
- /package/dist/{index-BIlFSGnW.d.mts → index-CIl66QhT.d.mts} +0 -0
- /package/dist/{index-Dckvm0Ml2.d.mts → index-CK5GEXLB2.d.mts} +0 -0
- /package/dist/{index-D4XNkbM4.d.mts → index-CUcEfh31.d.mts} +0 -0
- /package/dist/{index-DwY1Mt9a.d.mts → index-CrDp6vHG.d.mts} +0 -0
- /package/dist/{index-CilWtThn.d.mts → index-CrvTRZqh.d.mts} +0 -0
- /package/dist/{index-DCfYa3cF.d.mts → index-CzKJC3Bt.d.mts} +0 -0
- /package/dist/{index-BBkJsViX2.d.mts → index-D4FE3jHM2.d.mts} +0 -0
- /package/dist/{index-Ccaqmi0J.d.mts → index-DK8lSIvY.d.mts} +0 -0
- /package/dist/{index-Du-eXjEN.d.mts → index-DLsopffG.d.mts} +0 -0
- /package/dist/{index-BcPO9w0j.d.mts → index-DNN9jOVO.d.mts} +0 -0
- /package/dist/{index-C75h1xHF2.d.mts → index-DO0QO0ux2.d.mts} +0 -0
- /package/dist/{index-krTCFThl2.d.mts → index-DSRxn5Zr2.d.mts} +0 -0
- /package/dist/{index-CSJOBx3H.d.mts → index-Dfv9hyZE.d.mts} +0 -0
- /package/dist/{index-BpsurXEW.d.mts → index-DqS8eCAT.d.mts} +0 -0
- /package/dist/{index-CjazerMN.d.mts → index-Dv5aNxoa.d.mts} +0 -0
- /package/dist/{index-CWeWBh-_.d.mts → index-DxxORQny.d.mts} +0 -0
- /package/dist/{index-BTHdi23O.d.mts → index-DyBuGOvY.d.mts} +0 -0
- /package/dist/{index-CVh7ZP2I.d.mts → index-fpGFhEmI.d.mts} +0 -0
- /package/dist/{index-DwKPj8jD.d.mts → index-lLuIAmRB.d.mts} +0 -0
- /package/dist/{index-Bn1JTbn_2.d.mts → index-qLkIGcgv2.d.mts} +0 -0
- /package/dist/{index-DCHdW5g-.d.mts → index-tCFckLG6.d.mts} +0 -0
- /package/dist/{json-value-BKUDMT7k.d.mts → json-value-Bjl8jzom.d.mts} +0 -0
- /package/dist/{jsonl-transport-3yp3clGp.mjs → jsonl-transport-D4ch0vsf.mjs} +0 -0
- /package/dist/{lib-DF6sgNx_.mjs → lib-BLdnqIFF.mjs} +0 -0
- /package/dist/{namespace-fEBskugJ.d.mts → namespace--mFdPlbu.d.mts} +0 -0
- /package/dist/{namespace-KTRWfIPy.d.mts → namespace-Bivbsfms.d.mts} +0 -0
- /package/dist/{namespace-BiEV44Mk.d.mts → namespace-C-4xI2rm.d.mts} +0 -0
- /package/dist/{namespace-B0_Sg-1m.d.mts → namespace-CQPcYS-Q.d.mts} +0 -0
- /package/dist/{namespace-BNNFD-ul.d.mts → namespace-CvCk6Y9i.d.mts} +0 -0
- /package/dist/{namespace-BgaVgd00.d.mts → namespace-DXrdGpbs.d.mts} +0 -0
- /package/dist/{namespace-B3MnuAqp.d.mts → namespace-Dwf7aOLt.d.mts} +0 -0
- /package/dist/{namespace-Czr38fiF.d.mts → namespace-E4ajXk0W.d.mts} +0 -0
- /package/dist/{namespace-CY-9Evdf.d.mts → namespace-TX9DlWiQ.d.mts} +0 -0
- /package/dist/{namespace-CjmNxtr1.d.mts → namespace-XUB3XnBK.d.mts} +0 -0
- /package/dist/{orchestrator-shared-Cwc6JKkV.d.mts → orchestrator-shared-D2I9gyOl.d.mts} +0 -0
- /package/dist/{packages-DTz_1dCa.d.mts → packages-Dj9Nul23.d.mts} +0 -0
- /package/dist/{providers-namespace-Bming6U8.d.mts → providers-namespace-BA0JT--_.d.mts} +0 -0
- /package/dist/{runtime-inputs-DeOea-ab.d.mts → runtime-inputs-CIYLDuBM.d.mts} +0 -0
- /package/dist/{schema-DFCBjTB7.d.mts → schema-B098Jz9p.d.mts} +0 -0
- /package/dist/{schemas-DqWwz4eR.d.mts → schemas-ADuQFkhH.d.mts} +0 -0
- /package/dist/{schemas-BLy33xay.d.mts → schemas-BZyi7v9g.d.mts} +0 -0
- /package/dist/{schemas-CSeLgroC.d.mts → schemas-D9WJH6We.d.mts} +0 -0
- /package/dist/{schemas-DwqibWUL.d.mts → schemas-DKy_XYjq.d.mts} +0 -0
- /package/dist/{schemas-DTBWnWjN.d.mts → schemas-DMxM4U1A.d.mts} +0 -0
- /package/dist/{server-lifecycle-_m_x1_TC.d.mts → server-lifecycle-B8UabaW3.d.mts} +0 -0
- /package/dist/{session-lineage-CEyJWg_J.d.mts → session-lineage-CoNs4WZy.d.mts} +0 -0
- /package/dist/{src-DdaPoQOD.mjs → src-D9PYcdDS.mjs} +0 -0
- /package/dist/{storage-namespace-definition-CsaZPU3n.d.mts → storage-namespace-definition-1uCuoHvM.d.mts} +0 -0
- /package/dist/{types-CccTiXH2.d.mts → types-BlaguWul.d.mts} +0 -0
- /package/dist/{types-nor1SQLZ.d.mts → types-CbXf822E.d.mts} +0 -0
- /package/dist/{types-DjxvRcX6.d.mts → types-KF8zuMhi.d.mts} +0 -0
- /package/dist/{types-Dswhi1L9.d.mts → types-RWRXplnM.d.mts} +0 -0
- /package/dist/{types-DXGVwrQn.d.mts → types-nY8yr3th.d.mts} +0 -0
- /package/dist/{window-registry-DQ7udUzI.d.mts → window-registry-Dq5uOWpH.d.mts} +0 -0
|
@@ -67,6 +67,56 @@ type WorkerBootstrapCredentials$1 = z.infer<typeof WorkerBootstrapCredentialsSch
|
|
|
67
67
|
type WorkerBootstrapGrantedClaimResponse = z.infer<typeof WorkerBootstrapGrantedClaimResponseSchema>;
|
|
68
68
|
/** Non-secret remote claim refusal. */
|
|
69
69
|
type WorkerBootstrapClaimRefusalReason = z.infer<typeof WorkerBootstrapClaimRefusalReasonSchema>;
|
|
70
|
+
/**
|
|
71
|
+
* Why an owner-authorized Cancel is still undelivered after one bounded pass.
|
|
72
|
+
*
|
|
73
|
+
* Every member names something a delivery pass observed *instead of* stop
|
|
74
|
+
* evidence. None of them asserts that the Worker stopped, that it kept
|
|
75
|
+
* running, or that its compute may be reclaimed.
|
|
76
|
+
*/
|
|
77
|
+
declare const WorkerCancelUndeliveredKindSchema: z.ZodEnum<{
|
|
78
|
+
refused: "refused";
|
|
79
|
+
unavailable: "unavailable";
|
|
80
|
+
"invalid-receipt": "invalid-receipt";
|
|
81
|
+
"receipt-not-recorded": "receipt-not-recorded";
|
|
82
|
+
}>;
|
|
83
|
+
/**
|
|
84
|
+
* One bounded cooperative-Cancel pass that produced no stop evidence.
|
|
85
|
+
*
|
|
86
|
+
* This is a **control-delivery diagnostic, never a terminal state**. It reports
|
|
87
|
+
* what one delivery pass did not prove and leaves the Attempt's real outcome to
|
|
88
|
+
* the canonical lifecycle events. A still-running Worker whose Cancel went
|
|
89
|
+
* undelivered must remain able to reach `lifecycle.completed`,
|
|
90
|
+
* `lifecycle.failed` or `lifecycle.terminated` afterwards.
|
|
91
|
+
*
|
|
92
|
+
* That is why the subject deliberately lives under `control.`, not under
|
|
93
|
+
* `lifecycle.`: `lifecycle.*` is the Worker status vocabulary, and any status
|
|
94
|
+
* consumer may treat `lifecycle.failed` as terminal and ignore later
|
|
95
|
+
* transitions. Reporting an undelivered Cancel there would terminalize a live
|
|
96
|
+
* Worker and drop its later canonical outcome. A diagnostic under `control.`
|
|
97
|
+
* is additive and stays outside the status vocabulary by construction.
|
|
98
|
+
*
|
|
99
|
+
* The identity fields are the Worker lifecycle identity on purpose: a consumer
|
|
100
|
+
* correlates a diagnostic to the same Attempt row a lifecycle event projects.
|
|
101
|
+
*/
|
|
102
|
+
declare const WorkerCancelUndeliveredSchema: z.ZodObject<{
|
|
103
|
+
executionAttemptId: z.ZodString;
|
|
104
|
+
executionId: z.ZodString;
|
|
105
|
+
environment: z.ZodString;
|
|
106
|
+
metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
107
|
+
kind: z.ZodEnum<{
|
|
108
|
+
refused: "refused";
|
|
109
|
+
unavailable: "unavailable";
|
|
110
|
+
"invalid-receipt": "invalid-receipt";
|
|
111
|
+
"receipt-not-recorded": "receipt-not-recorded";
|
|
112
|
+
}>;
|
|
113
|
+
detail: z.ZodString;
|
|
114
|
+
observedAt: z.ZodISODateTime;
|
|
115
|
+
}, z.core.$strip>;
|
|
116
|
+
/** Delivery outcome that left an owner-authorized Cancel undelivered. */
|
|
117
|
+
type WorkerCancelUndeliveredKind = z.infer<typeof WorkerCancelUndeliveredKindSchema>;
|
|
118
|
+
/** One reported cooperative-Cancel pass that produced no stop evidence. */
|
|
119
|
+
type WorkerCancelUndelivered = z.infer<typeof WorkerCancelUndeliveredSchema>;
|
|
70
120
|
/**
|
|
71
121
|
* Framework-level Worker dispatch request.
|
|
72
122
|
*
|
|
@@ -302,6 +352,10 @@ declare const WorkerDispatchResponseSchema: z.ZodObject<{
|
|
|
302
352
|
* - `control.outcome.submit` — worker submits an execution outcome for durable ACK
|
|
303
353
|
* - `control.bootstrap.claim`— worker claims execution-scoped bus credentials
|
|
304
354
|
* - `runtime.inputs.get` — authenticated runtime pulls its selected realization inputs
|
|
355
|
+
* - `control.cancel-undelivered` — one cooperative Cancel pass produced no stop evidence
|
|
356
|
+
*
|
|
357
|
+
* `control.cancel-undelivered` is a delivery diagnostic, not a lifecycle state:
|
|
358
|
+
* it never terminalizes a Worker and never supersedes a canonical outcome.
|
|
305
359
|
*/
|
|
306
360
|
declare const WorkerSchemas$1: {
|
|
307
361
|
/**
|
|
@@ -649,9 +703,9 @@ declare const WorkerSchemas$1: {
|
|
|
649
703
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
650
704
|
level: z.ZodEnum<{
|
|
651
705
|
inferred: "inferred";
|
|
706
|
+
confirmed: "confirmed";
|
|
652
707
|
assumed: "assumed";
|
|
653
708
|
stated: "stated";
|
|
654
|
-
confirmed: "confirmed";
|
|
655
709
|
verified: "verified";
|
|
656
710
|
}>;
|
|
657
711
|
basis: z.ZodArray<z.ZodObject<{
|
|
@@ -723,8 +777,8 @@ declare const WorkerSchemas$1: {
|
|
|
723
777
|
}, z.core.$strict>;
|
|
724
778
|
response: z.ZodObject<{
|
|
725
779
|
decision: z.ZodEnum<{
|
|
726
|
-
accepted: "accepted";
|
|
727
780
|
fenced: "fenced";
|
|
781
|
+
accepted: "accepted";
|
|
728
782
|
duplicate: "duplicate";
|
|
729
783
|
conflict: "conflict";
|
|
730
784
|
}>;
|
|
@@ -770,6 +824,36 @@ declare const WorkerSchemas$1: {
|
|
|
770
824
|
}>;
|
|
771
825
|
}, z.core.$strict>], "status">;
|
|
772
826
|
};
|
|
827
|
+
/**
|
|
828
|
+
* One bounded cooperative-Cancel delivery pass produced no stop evidence.
|
|
829
|
+
*
|
|
830
|
+
* Emitted by the party that owns delivery of an owner-authorized Cancel, once
|
|
831
|
+
* per pass that ended without evidence that the addressed runtime stopped. It
|
|
832
|
+
* is the only channel that makes that absence visible, and it reports a
|
|
833
|
+
* delivery fact only: never a Worker state, and never permission to reclaim
|
|
834
|
+
* the Worker's compute.
|
|
835
|
+
*
|
|
836
|
+
* Not a lifecycle subject by design — see
|
|
837
|
+
* {@link WorkerCancelUndeliveredSchema}. Status projections consume
|
|
838
|
+
* `lifecycle.*` and must stay unaffected by this diagnostic.
|
|
839
|
+
*
|
|
840
|
+
* Subject: `worker.control.cancel-undelivered`
|
|
841
|
+
* Type: Event (notification; no reply)
|
|
842
|
+
*/
|
|
843
|
+
'control.cancel-undelivered': z.ZodObject<{
|
|
844
|
+
executionAttemptId: z.ZodString;
|
|
845
|
+
executionId: z.ZodString;
|
|
846
|
+
environment: z.ZodString;
|
|
847
|
+
metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
848
|
+
kind: z.ZodEnum<{
|
|
849
|
+
refused: "refused";
|
|
850
|
+
unavailable: "unavailable";
|
|
851
|
+
"invalid-receipt": "invalid-receipt";
|
|
852
|
+
"receipt-not-recorded": "receipt-not-recorded";
|
|
853
|
+
}>;
|
|
854
|
+
detail: z.ZodString;
|
|
855
|
+
observedAt: z.ZodISODateTime;
|
|
856
|
+
}, z.core.$strip>;
|
|
773
857
|
/**
|
|
774
858
|
* Dispatch has selected a provider; Worker allocation is in progress.
|
|
775
859
|
*
|
|
@@ -1221,9 +1305,9 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
|
|
|
1221
1305
|
confidence: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1222
1306
|
level: _$zod.ZodEnum<{
|
|
1223
1307
|
inferred: "inferred";
|
|
1308
|
+
confirmed: "confirmed";
|
|
1224
1309
|
assumed: "assumed";
|
|
1225
1310
|
stated: "stated";
|
|
1226
|
-
confirmed: "confirmed";
|
|
1227
1311
|
verified: "verified";
|
|
1228
1312
|
}>;
|
|
1229
1313
|
basis: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -1295,8 +1379,8 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
|
|
|
1295
1379
|
}, _$zod_v4_core0.$strict>;
|
|
1296
1380
|
response: _$zod.ZodObject<{
|
|
1297
1381
|
decision: _$zod.ZodEnum<{
|
|
1298
|
-
accepted: "accepted";
|
|
1299
1382
|
fenced: "fenced";
|
|
1383
|
+
accepted: "accepted";
|
|
1300
1384
|
duplicate: "duplicate";
|
|
1301
1385
|
conflict: "conflict";
|
|
1302
1386
|
}>;
|
|
@@ -1331,6 +1415,20 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
|
|
|
1331
1415
|
}>;
|
|
1332
1416
|
}, _$zod_v4_core0.$strict>], "status">;
|
|
1333
1417
|
};
|
|
1418
|
+
'control.cancel-undelivered': _$zod.ZodObject<{
|
|
1419
|
+
executionAttemptId: _$zod.ZodString;
|
|
1420
|
+
executionId: _$zod.ZodString;
|
|
1421
|
+
environment: _$zod.ZodString;
|
|
1422
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1423
|
+
kind: _$zod.ZodEnum<{
|
|
1424
|
+
refused: "refused";
|
|
1425
|
+
unavailable: "unavailable";
|
|
1426
|
+
"invalid-receipt": "invalid-receipt";
|
|
1427
|
+
"receipt-not-recorded": "receipt-not-recorded";
|
|
1428
|
+
}>;
|
|
1429
|
+
detail: _$zod.ZodString;
|
|
1430
|
+
observedAt: _$zod.ZodISODateTime;
|
|
1431
|
+
}, _$zod_v4_core0.$strip>;
|
|
1334
1432
|
'lifecycle.provisioning': _$zod.ZodObject<{
|
|
1335
1433
|
executionAttemptId: _$zod.ZodString;
|
|
1336
1434
|
executionId: _$zod.ZodString;
|
|
@@ -1716,9 +1814,9 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
1716
1814
|
confidence: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1717
1815
|
level: _$zod.ZodEnum<{
|
|
1718
1816
|
inferred: "inferred";
|
|
1817
|
+
confirmed: "confirmed";
|
|
1719
1818
|
assumed: "assumed";
|
|
1720
1819
|
stated: "stated";
|
|
1721
|
-
confirmed: "confirmed";
|
|
1722
1820
|
verified: "verified";
|
|
1723
1821
|
}>;
|
|
1724
1822
|
basis: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -1790,8 +1888,8 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
1790
1888
|
}, _$zod_v4_core0.$strict>;
|
|
1791
1889
|
response: _$zod.ZodObject<{
|
|
1792
1890
|
decision: _$zod.ZodEnum<{
|
|
1793
|
-
accepted: "accepted";
|
|
1794
1891
|
fenced: "fenced";
|
|
1892
|
+
accepted: "accepted";
|
|
1795
1893
|
duplicate: "duplicate";
|
|
1796
1894
|
conflict: "conflict";
|
|
1797
1895
|
}>;
|
|
@@ -1826,6 +1924,20 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
1826
1924
|
}>;
|
|
1827
1925
|
}, _$zod_v4_core0.$strict>], "status">;
|
|
1828
1926
|
};
|
|
1927
|
+
'control.cancel-undelivered': _$zod.ZodObject<{
|
|
1928
|
+
executionAttemptId: _$zod.ZodString;
|
|
1929
|
+
executionId: _$zod.ZodString;
|
|
1930
|
+
environment: _$zod.ZodString;
|
|
1931
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1932
|
+
kind: _$zod.ZodEnum<{
|
|
1933
|
+
refused: "refused";
|
|
1934
|
+
unavailable: "unavailable";
|
|
1935
|
+
"invalid-receipt": "invalid-receipt";
|
|
1936
|
+
"receipt-not-recorded": "receipt-not-recorded";
|
|
1937
|
+
}>;
|
|
1938
|
+
detail: _$zod.ZodString;
|
|
1939
|
+
observedAt: _$zod.ZodISODateTime;
|
|
1940
|
+
}, _$zod_v4_core0.$strip>;
|
|
1829
1941
|
'lifecycle.provisioning': _$zod.ZodObject<{
|
|
1830
1942
|
executionAttemptId: _$zod.ZodString;
|
|
1831
1943
|
executionId: _$zod.ZodString;
|
|
@@ -1899,4 +2011,4 @@ declare const SuspensionStrategySchema: z.ZodEnum<{
|
|
|
1899
2011
|
/** Provider suspension behavior selected for a workflow execution. */
|
|
1900
2012
|
type SuspensionStrategy = z.infer<typeof SuspensionStrategySchema>;
|
|
1901
2013
|
//#endregion
|
|
1902
|
-
export {
|
|
2014
|
+
export { WorkerRuntimeInputsGetResponse as C, WorkerRuntimeInputsGetRequest as S, WorkerCancelUndeliveredKind as _, WorkerSubjects$1 as a, WorkerDispatchRequestSchema as b, WorkerBootstrapClaimRequest as c, WorkerBootstrapCredentials$1 as d, WorkerBootstrapCredentialsSchema as f, WorkerCancelUndelivered as g, WorkerBootstrapGrantedClaimResponseSchema as h, WorkerNamespace as i, WorkerBootstrapClaimResponse as l, WorkerBootstrapGrantedClaimResponse as m, SuspensionStrategySchema as n, WorkerBootstrapClaimRefusalReason as o, WorkerBootstrapDeadlineAtSchema$1 as p, WORKER_BOOTSTRAP_IDENTITY_ID as r, WorkerBootstrapClaimRefusalReasonSchema as s, SuspensionStrategy as t, WorkerBootstrapClaimResponseSchema as u, WorkerCancelUndeliveredKindSchema as v, WorkerSchemas$1 as w, WorkerDispatchResponseSchema as x, WorkerCancelUndeliveredSchema as y };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as ExtensionDiscovery } from "./extension-discovery-
|
|
1
|
+
import { r as ExtensionDiscovery } from "./extension-discovery-Dx118u_N.mjs";
|
|
2
2
|
import { RegistrableBusNamespaceDefinition } from "@makaio/framework/core";
|
|
3
|
-
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, WorkerBootstrapCredentials, WorkerCapabilities, WorkerContributionManifest, WorkerContributionRef, WorkerDispatch, WorkerMaterializationSpec, WorkerProvisionOutcome, WorkerProvisionRequest, WorkerRequirements, WorkerRuntimeContext, WorkflowDefinition, WorkflowRunContext, WorkflowRunResult, WorkflowRunResult as WorkflowRunResult$1, WorkflowRunnerCompletion, WorkflowRunnerCompletion as WorkflowRunnerCompletion$1, WorkflowRunnerRunOptions, WorkflowWorkerConfig, WorkflowWorkerSource, WorkflowZodSchemas, WorkspaceRequirement } from "@makaio/framework/contracts";
|
|
4
|
-
import { BusTransport, IMakaioBus, SubjectTelemetryProjectorRegistry } from "@makaio/framework/bus";
|
|
3
|
+
import { ExecutionAttemptBootstrapStartRefusalReason, ExecutionAttemptControlReportResponse, ExecutionAttemptInstruction, ExecutionAttemptOperationAdmitRefusalReason, ExecutionAttemptOperationDelivery, ExecutionAttemptOperationKind, ExecutionAttemptOperationReceipt, ExecutionAttemptOutcome, ExecutionAttemptRuntimeRegisterRefusalReason, ExecutionAttemptWorkspaceBinding, ExtensionConfigProvider, IWorkerProvider, IWorkflowRunner, IWorkflowRunner as IWorkflowRunner$1, JsonValue, LoopGateHandler, MakaioNodeExtension, NormalizedWorkerCapabilities, OutcomeAckDecision, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, TrayManifest, WorkerBootstrapCredentials, WorkerCapabilities, WorkerContributionManifest, WorkerContributionRef, WorkerDispatch, WorkerMaterializationSpec, WorkerProvisionOutcome, WorkerProvisionRequest, WorkerRequirements, WorkerRuntimeContext, WorkflowDefinition, WorkflowRunContext, WorkflowRunResult, WorkflowRunResult as WorkflowRunResult$1, WorkflowRunnerCompletion, WorkflowRunnerCompletion as WorkflowRunnerCompletion$1, WorkflowRunnerRunOptions, WorkflowWorkerConfig, WorkflowWorkerSource, WorkflowZodSchemas, WorkspaceRequirement } from "@makaio/framework/contracts";
|
|
4
|
+
import { BusTransport, IFilteredBus, IMakaioBus, SubjectTelemetryProjectorRegistry } from "@makaio/framework/bus";
|
|
5
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";
|
|
@@ -2150,16 +2150,40 @@ interface IsolatedWorkflowRuntime {
|
|
|
2150
2150
|
declare function createIsolatedWorkflowRuntime(options: CreateIsolatedWorkflowRuntimeOptions): Promise<IsolatedWorkflowRuntime>;
|
|
2151
2151
|
//#endregion
|
|
2152
2152
|
//#region runtimes/node/src/workspace-preparation/setup-command.d.ts
|
|
2153
|
+
/**
|
|
2154
|
+
* Bounded fact about the Setup process group, recorded by the driver itself.
|
|
2155
|
+
* `exited`: the group closed on its own and quiescence of the whole group was proven.
|
|
2156
|
+
* `signalled-and-quiesced`: the driver signalled the group and proved it quiescent afterwards.
|
|
2157
|
+
* `signalled-unconfirmed`: the driver signalled the group but could not prove quiescence
|
|
2158
|
+
* (poll timed out, `ps` unavailable, or a signal failed) — never treat as a stop proof.
|
|
2159
|
+
* `unsignalled-unconfirmed`: no signal reached the group (all attempts were absent or EPERM)
|
|
2160
|
+
* and quiescence could not be proven either — the group state is entirely unknown.
|
|
2161
|
+
*
|
|
2162
|
+
* The driver records raw values only. Rendering a human-readable summary and
|
|
2163
|
+
* formatting the instant belong to whoever reports the fact, not to the driver:
|
|
2164
|
+
* one fact can be reported to several boundaries with different wording.
|
|
2165
|
+
*/
|
|
2166
|
+
type SetupProcessGroupObservation = {
|
|
2167
|
+
readonly pid: number;
|
|
2168
|
+
readonly outcome: 'exited' | 'signalled-and-quiesced' | 'signalled-unconfirmed' | 'unsignalled-unconfirmed'; /** Why quiescence stayed unproven; absent whenever the outcome proves quiescence. */
|
|
2169
|
+
readonly cause?: 'poll-timeout' | 'ps-unavailable' | 'signal-error'; /** Instant the driver recorded this outcome. */
|
|
2170
|
+
readonly observedAt: Date;
|
|
2171
|
+
};
|
|
2153
2172
|
/** Result of one bounded setup command, after its owned process group has stopped. */
|
|
2154
2173
|
interface SetupCommandResult {
|
|
2155
2174
|
readonly status: 'completed' | 'failed' | 'cancelled' | 'timed-out' | 'spawn-failed' | 'stop-failed';
|
|
2156
2175
|
readonly exitCode: number | null;
|
|
2157
2176
|
/** Generic diagnostics deliberately exclude command arguments and environment values. */
|
|
2158
2177
|
readonly message?: string;
|
|
2178
|
+
/** Process-group observation, present exactly when a process was spawned. */
|
|
2179
|
+
readonly processGroup?: SetupProcessGroupObservation;
|
|
2159
2180
|
}
|
|
2160
2181
|
//#endregion
|
|
2161
2182
|
//#region runtimes/node/src/workspace-preparation/workspace-preparation.d.ts
|
|
2162
|
-
/**
|
|
2183
|
+
/**
|
|
2184
|
+
* First failed setup command, or successful completion of the complete frozen recipe.
|
|
2185
|
+
* Inherits `processGroup` from `SetupCommandResult` — present when a process was spawned.
|
|
2186
|
+
*/
|
|
2163
2187
|
interface WorkspaceSetupResult extends SetupCommandResult {
|
|
2164
2188
|
readonly commandIndex?: number;
|
|
2165
2189
|
}
|
|
@@ -2177,6 +2201,116 @@ interface LocalWorkspaceHandle {
|
|
|
2177
2201
|
release(): Promise<void>;
|
|
2178
2202
|
}
|
|
2179
2203
|
//#endregion
|
|
2204
|
+
//#region runtimes/node/src/workflow-worker/attempt-control-conclusion.d.ts
|
|
2205
|
+
/** Operation kinds the control endpoint cares about. */
|
|
2206
|
+
type AdmittedOperationKind = Extract<ExecutionAttemptOperationKind, 'workspace-preparation' | 'workload-invocation'>;
|
|
2207
|
+
/**
|
|
2208
|
+
* What the runtime knows about the Setup process group of a concluded preparation.
|
|
2209
|
+
*
|
|
2210
|
+
* `'not-started'`: the operation concluded before any setup command ran, so no
|
|
2211
|
+
* process group ever existed under it.
|
|
2212
|
+
* `'no-spawn'`: setup ran and returned a result without a process group, which
|
|
2213
|
+
* the driver contract states exactly when no process was ever spawned — so
|
|
2214
|
+
* the absence of a live group is proven, not unknown.
|
|
2215
|
+
* `'no-observation'`: the driver threw before handing over any result, so it
|
|
2216
|
+
* supplied no process-group fact either way.
|
|
2217
|
+
*/
|
|
2218
|
+
type SetupConclusion = 'not-started' | 'no-spawn' | 'no-observation' | SetupProcessGroupObservation;
|
|
2219
|
+
/**
|
|
2220
|
+
* The one terminal fact an admitted operation concludes with.
|
|
2221
|
+
*
|
|
2222
|
+
* Preparation carries its Setup process-group fact; a workload invocation has
|
|
2223
|
+
* no equivalent, because the generic adapter observes no process of its own.
|
|
2224
|
+
*/
|
|
2225
|
+
type ConcludedOperation = {
|
|
2226
|
+
readonly kind: 'workspace-preparation';
|
|
2227
|
+
readonly operationId: string;
|
|
2228
|
+
readonly setup: SetupConclusion;
|
|
2229
|
+
} | {
|
|
2230
|
+
readonly kind: 'workload-invocation';
|
|
2231
|
+
readonly operationId: string;
|
|
2232
|
+
};
|
|
2233
|
+
/** Snapshot of observer state used for conclusion derivation. */
|
|
2234
|
+
interface AttemptControlState {
|
|
2235
|
+
/** Whether the authority has delivered a cancel to this endpoint. */
|
|
2236
|
+
readonly cancelReceived: boolean;
|
|
2237
|
+
/**
|
|
2238
|
+
* Whether the runtime is still waiting for an admission response.
|
|
2239
|
+
* While true, `admission-closed` is never a valid conclusion.
|
|
2240
|
+
*/
|
|
2241
|
+
readonly admissionPending: boolean;
|
|
2242
|
+
/**
|
|
2243
|
+
* Whether an admission request reached a completed authority response. A
|
|
2244
|
+
* settled admission that admitted nothing closed this runtime out; an
|
|
2245
|
+
* unanswered one stays pending, because it may still occupy the attempt.
|
|
2246
|
+
*/
|
|
2247
|
+
readonly admissionSettled: boolean;
|
|
2248
|
+
/** Reason the last settled admission was refused, or null if none was refused. */
|
|
2249
|
+
readonly admissionRefusalReason: ExecutionAttemptOperationAdmitRefusalReason | null;
|
|
2250
|
+
/** Last admitted mutating operation, or null if none. */
|
|
2251
|
+
readonly admittedOperation: {
|
|
2252
|
+
readonly kind: AdmittedOperationKind;
|
|
2253
|
+
readonly operationId: string;
|
|
2254
|
+
} | null;
|
|
2255
|
+
/** Terminal fact of the operation that concluded, or null while none has. */
|
|
2256
|
+
readonly conclusion: ConcludedOperation | null;
|
|
2257
|
+
/** Whether the runtime has signalled that no further transitions will occur. */
|
|
2258
|
+
readonly finished: boolean;
|
|
2259
|
+
}
|
|
2260
|
+
/**
|
|
2261
|
+
* Records runtime-local operation lifecycle events so the control endpoint
|
|
2262
|
+
* can derive an honest scoped conclusion after a cancel is received.
|
|
2263
|
+
*
|
|
2264
|
+
* The invocation path calls these methods as it moves through admission and
|
|
2265
|
+
* its operations. The observer never throws; it records state and triggers
|
|
2266
|
+
* conclusion derivation.
|
|
2267
|
+
*/
|
|
2268
|
+
declare class AttemptOperationObserver {
|
|
2269
|
+
private readonly state;
|
|
2270
|
+
private readonly onUpdate;
|
|
2271
|
+
/**
|
|
2272
|
+
* @param onUpdate - Called after every state transition that may change the conclusion.
|
|
2273
|
+
*/
|
|
2274
|
+
constructor(onUpdate: () => void);
|
|
2275
|
+
/** Signal that a cancel has been received (called by the delivery handler). */
|
|
2276
|
+
markCancelReceived(): void;
|
|
2277
|
+
/**
|
|
2278
|
+
* The runtime is waiting for an admission response; conclusion is deferred.
|
|
2279
|
+
* Call before sending `operation.admit`, and before {@link admissionSettled}.
|
|
2280
|
+
*/
|
|
2281
|
+
admissionPending(): void;
|
|
2282
|
+
/**
|
|
2283
|
+
* An admission request reached a completed authority response.
|
|
2284
|
+
*
|
|
2285
|
+
* Any completed response settles the question of whether this runtime holds
|
|
2286
|
+
* an operation — a refusal for any reason means it does not. A transport
|
|
2287
|
+
* failure is not a settlement and must leave the admission pending.
|
|
2288
|
+
* @param refusalReason - Authority refusal reason, omitted when the operation was admitted.
|
|
2289
|
+
*/
|
|
2290
|
+
admissionSettled(refusalReason?: ExecutionAttemptOperationAdmitRefusalReason): void;
|
|
2291
|
+
/**
|
|
2292
|
+
* An operation was admitted by the authority.
|
|
2293
|
+
* @param kind - `'workspace-preparation'` or `'workload-invocation'`.
|
|
2294
|
+
* @param operationId - Authority-assigned stable operation identifier.
|
|
2295
|
+
*/
|
|
2296
|
+
operationAdmitted(kind: AdmittedOperationKind, operationId: string): void;
|
|
2297
|
+
/**
|
|
2298
|
+
* The admitted operation concluded, carrying its one terminal fact.
|
|
2299
|
+
* @param concluded - Operation identity and the setup fact it concluded with.
|
|
2300
|
+
*/
|
|
2301
|
+
operationConcluded(concluded: ConcludedOperation): void;
|
|
2302
|
+
/**
|
|
2303
|
+
* The runtime has completed; no further transitions will occur.
|
|
2304
|
+
* Enables `admission-closed` when no mutating operation was ever admitted.
|
|
2305
|
+
*/
|
|
2306
|
+
finished(): void;
|
|
2307
|
+
/**
|
|
2308
|
+
* Return an immutable snapshot suitable for derivation.
|
|
2309
|
+
* @returns Immutable copy of the current observer state.
|
|
2310
|
+
*/
|
|
2311
|
+
snapshot(): AttemptControlState;
|
|
2312
|
+
}
|
|
2313
|
+
//#endregion
|
|
2180
2314
|
//#region runtimes/node/src/workflow-worker/workload-invocation.d.ts
|
|
2181
2315
|
/** One installed, versioned local executor for an opaque workload instruction. */
|
|
2182
2316
|
interface InstalledWorkloadAdapter {
|
|
@@ -2247,6 +2381,11 @@ interface RunWorkloadInvocationOptions {
|
|
|
2247
2381
|
readonly retry?: OutcomeSubmitRetryConfig;
|
|
2248
2382
|
/** Local Workspace realization seam; defaults to the Node bind/create helper. */
|
|
2249
2383
|
readonly preparation?: WorkloadInvocationPreparation;
|
|
2384
|
+
/**
|
|
2385
|
+
* Optional observer fed by the invocation path so the control endpoint can
|
|
2386
|
+
* derive an honest scoped conclusion after a cancel delivery.
|
|
2387
|
+
*/
|
|
2388
|
+
readonly control?: AttemptOperationObserver;
|
|
2250
2389
|
}
|
|
2251
2390
|
/** Durable result visible after generic terminal-outcome acknowledgement. */
|
|
2252
2391
|
interface WorkloadInvocationResult {
|
|
@@ -2511,6 +2650,31 @@ declare function loadWorkflowModules(source: Exclude<WorkflowWorkerSource, {
|
|
|
2511
2650
|
declare function loadWorkflowModule(source: WorkflowWorkerSource): Promise<RuntimeLoadedWorkflow>;
|
|
2512
2651
|
//#endregion
|
|
2513
2652
|
//#region runtimes/node/src/workflow-worker/runtime-registration-client.d.ts
|
|
2653
|
+
/** Identity a fenced attempt endpoint filters and fences its deliveries with. */
|
|
2654
|
+
interface FencedAttemptEndpointIdentity {
|
|
2655
|
+
/** Attempt this runtime owns; the first half of the delivery filter. */
|
|
2656
|
+
readonly executionAttemptId: string;
|
|
2657
|
+
/** This runtime incarnation; the second half of the delivery filter. */
|
|
2658
|
+
readonly runtimeIncarnationId: string;
|
|
2659
|
+
/**
|
|
2660
|
+
* Generation this incarnation was accepted with, when already known.
|
|
2661
|
+
*
|
|
2662
|
+
* A fresh endpoint installed before registration leaves it out and learns
|
|
2663
|
+
* the generation through {@link FencedAttemptEndpoint.bindGeneration}.
|
|
2664
|
+
*/
|
|
2665
|
+
readonly runtimeGeneration?: number;
|
|
2666
|
+
}
|
|
2667
|
+
/** The installed, generation-fenced endpoint of one runtime incarnation. */
|
|
2668
|
+
interface FencedAttemptEndpoint {
|
|
2669
|
+
/**
|
|
2670
|
+
* Fence later deliveries against the generation the authority accepted, and
|
|
2671
|
+
* release any delivery that deferred its answer until this generation existed.
|
|
2672
|
+
* @param runtimeGeneration - Generation returned by registration.
|
|
2673
|
+
*/
|
|
2674
|
+
bindGeneration(runtimeGeneration: number): void;
|
|
2675
|
+
/** Remove the endpoint from its bus. Idempotent. */
|
|
2676
|
+
cleanup(): void;
|
|
2677
|
+
}
|
|
2514
2678
|
/**
|
|
2515
2679
|
* Operation kinds a runtime endpoint may be handed by the authority.
|
|
2516
2680
|
*
|
|
@@ -2539,52 +2703,35 @@ type OperationDeliveryHandler = (delivery: ExecutionAttemptOperationDelivery) =>
|
|
|
2539
2703
|
* does not know the instruction.
|
|
2540
2704
|
*/
|
|
2541
2705
|
type OperationDeliveryHandlers = Partial<Record<DeliverableOperationKind, OperationDeliveryHandler>>;
|
|
2542
|
-
/**
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
}
|
|
2558
|
-
/** The installed delivery endpoint of one runtime incarnation. */
|
|
2559
|
-
interface OperationDeliveryEndpoint {
|
|
2560
|
-
/**
|
|
2561
|
-
* Fence later deliveries against the generation the authority accepted.
|
|
2562
|
-
*
|
|
2563
|
-
* Called once registration returned. The probe needs no fence — it is
|
|
2564
|
-
* addressed to this incarnation and arrives before the generation exists —
|
|
2565
|
-
* but every other delivery is refused `stale-generation` unless it carries
|
|
2566
|
-
* exactly this generation.
|
|
2567
|
-
* @param runtimeGeneration - Generation returned by registration.
|
|
2568
|
-
*/
|
|
2569
|
-
bindGeneration(runtimeGeneration: number): void;
|
|
2570
|
-
/** Remove the endpoint from its bus. Idempotent. */
|
|
2571
|
-
cleanup(): void;
|
|
2572
|
-
}
|
|
2706
|
+
/**
|
|
2707
|
+
* Identity the delivery endpoint is installed for.
|
|
2708
|
+
*
|
|
2709
|
+
* `runtimeGeneration` is set when the endpoint is re-installed on another bus
|
|
2710
|
+
* after registration (the pre-composition → runtime bus handoff).
|
|
2711
|
+
*/
|
|
2712
|
+
type OperationDeliveryEndpointIdentity = FencedAttemptEndpointIdentity;
|
|
2713
|
+
/**
|
|
2714
|
+
* The installed delivery endpoint of one runtime incarnation.
|
|
2715
|
+
*
|
|
2716
|
+
* The probe needs no fence — it is addressed to this incarnation and arrives
|
|
2717
|
+
* before the generation exists — but every other delivery is refused
|
|
2718
|
+
* `stale-generation` unless it carries exactly the bound generation.
|
|
2719
|
+
*/
|
|
2720
|
+
type OperationDeliveryEndpoint = FencedAttemptEndpoint;
|
|
2573
2721
|
/**
|
|
2574
2722
|
* Install this runtime's responder for `execution-attempt.operation.deliver`.
|
|
2575
2723
|
*
|
|
2576
2724
|
* The subject is static and every live Worker Runtime subscribes to it, so the
|
|
2577
|
-
* addressing is
|
|
2578
|
-
*
|
|
2579
|
-
*
|
|
2580
|
-
*
|
|
2581
|
-
*
|
|
2582
|
-
*
|
|
2583
|
-
* and this endpoint never sees it.
|
|
2725
|
+
* addressing is the attempt and incarnation payload filter
|
|
2726
|
+
* {@link installFencedAttemptEndpoint} applies (the same move the adapter
|
|
2727
|
+
* session endpoints make in `adapters/core`). A delivery for another attempt —
|
|
2728
|
+
* or for a newer incarnation of this attempt while this one is still connected
|
|
2729
|
+
* — is a filter miss that returns undefined and auto-advances the dispatch
|
|
2730
|
+
* chain to the next responder; it is not an error and this endpoint never sees it.
|
|
2584
2731
|
*
|
|
2585
2732
|
* The endpoint must exist before the runtime registers: the authority delivers
|
|
2586
2733
|
* the bounded probe inside the registration request, and an unsubscribed
|
|
2587
|
-
* runtime fails its own registration with `probe-failed`. The
|
|
2734
|
+
* runtime fails its own registration with `probe-failed`. The scaffold's
|
|
2588
2735
|
* propagation await is what makes "before" true across a transport — the
|
|
2589
2736
|
* subscription is visible to the authority when this resolves.
|
|
2590
2737
|
* @param bus - Connected runtime bus the endpoint is installed on.
|
|
@@ -2757,4 +2904,91 @@ declare class BootstrapStartRefusedError extends Error {
|
|
|
2757
2904
|
*/
|
|
2758
2905
|
declare function bootstrapWorkerRuntime(options: BootstrapWorkerRuntimeOptions): Promise<StartedWorkerRuntime>;
|
|
2759
2906
|
//#endregion
|
|
2760
|
-
|
|
2907
|
+
//#region runtimes/node/src/workflow-worker/attempt-control-client.d.ts
|
|
2908
|
+
/** Options for the report transport retried independently of the cancel signal. */
|
|
2909
|
+
type AttemptControlReportOptions = OutcomeSubmitOptions;
|
|
2910
|
+
/** Dependencies for the attempt control endpoint installer. */
|
|
2911
|
+
interface AttemptControlEndpointDeps {
|
|
2912
|
+
/** Retry and reconnect options for the `control.report` retrying transport. */
|
|
2913
|
+
readonly reportOptions?: AttemptControlReportOptions;
|
|
2914
|
+
/** Outer cancellation signal for endpoint installation only, not for report delivery. */
|
|
2915
|
+
readonly signal?: AbortSignal;
|
|
2916
|
+
/** Wall-clock supplier; defaults to `() => new Date()`. */
|
|
2917
|
+
readonly now?: () => Date;
|
|
2918
|
+
}
|
|
2919
|
+
/**
|
|
2920
|
+
* Identity the control endpoint is installed for.
|
|
2921
|
+
*
|
|
2922
|
+
* The same attempt, incarnation and optional accepted generation the operation
|
|
2923
|
+
* delivery endpoint is installed with; both are fenced the same way.
|
|
2924
|
+
*/
|
|
2925
|
+
type AttemptControlEndpointIdentity = FencedAttemptEndpointIdentity;
|
|
2926
|
+
/** Last report delivery outcome recorded by the endpoint. */
|
|
2927
|
+
interface AttemptControlLastReport {
|
|
2928
|
+
/** Terminal delivery status. */
|
|
2929
|
+
readonly status: 'accepted' | 'duplicate' | 'refused' | 'error';
|
|
2930
|
+
/** Authority response when delivery succeeded or was refused. */
|
|
2931
|
+
readonly response?: ExecutionAttemptControlReportResponse;
|
|
2932
|
+
/** Transport-level error when delivery failed. */
|
|
2933
|
+
readonly error?: unknown;
|
|
2934
|
+
}
|
|
2935
|
+
/**
|
|
2936
|
+
* Handle returned by {@link installAttemptControlEndpoint} after
|
|
2937
|
+
* `waitForSubscriptionPropagation` confirms the subscription is visible.
|
|
2938
|
+
*/
|
|
2939
|
+
interface InstalledAttemptControlEndpoint {
|
|
2940
|
+
/**
|
|
2941
|
+
* Bind the accepted runtime generation received from the registration RPC.
|
|
2942
|
+
*
|
|
2943
|
+
* No delivery passes the generation fence before this, and a delivery that
|
|
2944
|
+
* arrives while the registration RPC is still in flight defers its answer
|
|
2945
|
+
* until this is called rather than being refused as stale.
|
|
2946
|
+
* @param runtimeGeneration - Authority-assigned generation number.
|
|
2947
|
+
*/
|
|
2948
|
+
bindGeneration(runtimeGeneration: number): void;
|
|
2949
|
+
/**
|
|
2950
|
+
* Remove the bus subscription. A later delivery is a filter miss and is
|
|
2951
|
+
* never answered by this endpoint.
|
|
2952
|
+
*/
|
|
2953
|
+
cleanup(): void;
|
|
2954
|
+
/**
|
|
2955
|
+
* Effective cancel signal, aborted once the first delivery passes the fence
|
|
2956
|
+
* and the receipt is stored.
|
|
2957
|
+
*/
|
|
2958
|
+
readonly signal: AbortSignal;
|
|
2959
|
+
/**
|
|
2960
|
+
* Observer the invocation path uses to record lifecycle transitions so
|
|
2961
|
+
* the endpoint can derive an honest scoped conclusion.
|
|
2962
|
+
*/
|
|
2963
|
+
readonly observer: AttemptOperationObserver;
|
|
2964
|
+
/**
|
|
2965
|
+
* Await any in-flight `control.report` delivery. Resolves without
|
|
2966
|
+
* throwing; transport failure is recorded in {@link lastReport}.
|
|
2967
|
+
*/
|
|
2968
|
+
settle(): Promise<void>;
|
|
2969
|
+
/** Last recorded report delivery outcome, useful for tests and logging. */
|
|
2970
|
+
readonly lastReport: AttemptControlLastReport | undefined;
|
|
2971
|
+
}
|
|
2972
|
+
/**
|
|
2973
|
+
* Install this runtime's responder for `execution-attempt.control.deliver`.
|
|
2974
|
+
*
|
|
2975
|
+
* The subject is static and filtered by `{ executionAttemptId, runtimeIncarnationId }`
|
|
2976
|
+
* on the runtime bus — the same fenced scaffold the operation delivery endpoint
|
|
2977
|
+
* uses. A delivery for another attempt or incarnation is a filter miss, never
|
|
2978
|
+
* seen here. See the trust-boundary note on
|
|
2979
|
+
* {@link installFencedAttemptEndpoint} for the gap that filter leaves open, and
|
|
2980
|
+
* for why it is wider on this subject than on `operation.deliver`.
|
|
2981
|
+
*
|
|
2982
|
+
* The endpoint must exist before the runtime registers so that the authority's
|
|
2983
|
+
* `reconcileAttemptCancellation` call can reach it. The scaffold's
|
|
2984
|
+
* `waitForSubscriptionPropagation` await is what makes "before" true across the
|
|
2985
|
+
* transport.
|
|
2986
|
+
* @param bus - Connected runtime bus authenticated as the attempt peer.
|
|
2987
|
+
* @param identity - Attempt and incarnation this runtime is registered against.
|
|
2988
|
+
* @param deps - Report options, installation signal, and wall-clock supplier.
|
|
2989
|
+
* @returns The installed endpoint with a bound generation, cancel signal, observer,
|
|
2990
|
+
* and `settle()` awaitable.
|
|
2991
|
+
*/
|
|
2992
|
+
declare function installAttemptControlEndpoint(bus: IMakaioBus, identity: AttemptControlEndpointIdentity, deps?: AttemptControlEndpointDeps): Promise<InstalledAttemptControlEndpoint>;
|
|
2993
|
+
//#endregion
|
|
2994
|
+
export { WorkflowRuntimeAuthorityConnector as $, materializeLocalDirectory as $t, createLocalGitWorkspacePreparation as A, prepareAdapterRuntime as An, createWorkerBusAuth as At, HeadlessWorkflowWorkerResult as B, ServerTransportProvider as Bt, admitWorkflowRunOperation as C, HonoRouteGraphOptions as Cn, createNodeWorkflowRunner as Ct, loadWorkflowModule as D, PrepareAdapterRuntimeInput as Dn, runWorkerBootstrapExchange as Dt, registerWorkerRuntime as E, ActivatedAdapterRuntimeIdentity as En, WorkerBootstrapExchangeOptions as Et, HeadlessWorkerContributionLoader as F, WorkflowRunResult$1 as Ft, WorkloadControlBinding as G, MaterializationError as Gt, runHeadlessWorkflowWorker as H, UpstreamTelemetryBootOptions as Ht, HeadlessWorkerExecutor as I, BootCoordinatorSetupContext as It, runWorkloadInvocation as J, assertContainedIn as Jt, WorkloadInvocationPreparation as K, ParsedSriIntegrity as Kt, HeadlessWorkerMaterializer as L, BootMakaioRuntimeOptions as Lt, HeadlessWorkerBootstrap as M, IWorkflowRunner$1 as Mt, HeadlessWorkerBootstrapCredentials as N, RuntimeLoadedWorkflow as Nt, loadWorkflowModules as O, PreparedAdapterRuntime as On, BootstrapDeadlineExceededError as Ot, HeadlessWorkerBusConnector as P, ThinWorkflowPiscinaRunnerOptions as Pt, IsolatedWorkflowRuntimeContext as Q, computeFileDigest as Qt, HeadlessWorkerPostCommitObserver as R, CoreBootOptions as Rt, RuntimeRegistrationRefusedError as S, HonoRouteGraph as Sn, NodeWorkflowRunnerPackageOptions as St, registerAndAdmitWorkflowRun as T, ActivateAdapterRuntimeIdentityInput as Tn, BootstrapExchangeResult as Tt, InstalledWorkloadAdapter as U, WorkflowRunnerBootOptions as Ut, MaterializedWorkspace as V, TransportReadyInfo as Vt, RunWorkloadInvocationOptions as W, LocalDirectoryMaterializerOptions as Wt, CreateIsolatedWorkflowRuntimeOptions as X, computeContributionPackageDigest as Xt, SetupProcessGroupObservation as Y, assertNoSymlinkEscape as Yt, IsolatedWorkflowRuntime as Z, computeDirectoryDigest as Zt, OperationDeliveryEndpointIdentity as _, resolveFrameworkSpecifier as _n, submitAttemptOutcomeWithAck as _t, InstalledAttemptControlEndpoint as a, DatabaseBootOptions as an, PiscinaThinWorkflowProviderOptions as at, RegisterAndAdmitWorkflowRunOptions as b, HttpContributionPhase as bn, WorkerRunnerOptions as bt, BootstrapStartRefusedError as c, initializeNodeDatabase as cn, createWorkflowLaunchResolver as ct, bootstrapWorkerRuntime as d, selectFrameworkCorePackages as dn, AuthorityRequestDeliveryError as dt, parseSriIntegrity as en, WorkflowRuntimeContributionLoader as et, AdmitWorkflowRunOperationOptions as f, ShutdownStep as fn, DELIVERED_DECISIONS as ft, OperationDeliveryEndpoint as g, NoopFrameworkModuleResolver as gn, OutcomeSubmitRetryConfig as gt, OperationAdmissionRefusedError as h, NodeFrameworkModuleResolver as hn, OutcomeSubmitPayload as ht, AttemptControlReportOptions as i, resolveWorkflowWorkerEntry as in, PiscinaThinWorkflowProvider as it, LocalGitSourceOptions as j, ThinWorkflowPiscinaRunner as jt, loadWorkflowFromConfig as k, activateAdapterRuntimeIdentity as kn, withWorkerBootstrapDeadline as kt, BootstrapWorkerRuntimeOptions as l, HostCapabilityDeclaration as ln, AttemptOutcomeDeliveryError as lt, DeliverableOperationKind as m, FrameworkModuleResolver as mn, OutcomeReconnect as mt, AttemptControlEndpointIdentity as n, WorkflowWorkerEntryMode as nn, InProcessWorkflowRunner as nt, installAttemptControlEndpoint as o, InitializeNodeDatabaseOptions as on, WorkflowAttemptInstructionReader as ot, AdmittedWorkflowRun as p, BridgeBrowserOptions as pn, OutcomeDeliveryError as pt, WorkloadInvocationResult as q, WorkspaceRootResolver as qt, AttemptControlLastReport as r, WorkflowWorkerEntryResolverOptions as rn, InProcessWorkflowRunnerOptions as rt, BootstrapRuntimeConnection as s, InitializeNodeDatabaseResult as sn, WorkflowLaunchResolver as st, AttemptControlEndpointDeps as t, verifyContribution as tn, createIsolatedWorkflowRuntime as tt, StartedWorkerRuntime as u, normalizeNodeHostCapabilities as un, AttemptOutcomeSubmitPayload as ut, OperationDeliveryHandler as v, HttpRouteGraphBuilder as vn, submitOutcomeWithAck as vt, installOperationDeliveryEndpoint as w, createHonoRouteGraph as wn, createNodeWorkflowRunnerPackageOptions as wt, RegisterWorkerRuntimeOptions as x, HttpRouteContribution as xn, CreateNodeWorkflowRunnerPackageOptionsParams as xt, OperationDeliveryHandlers as y, createHttpRouteGraphBuilder as yn, WorkerRunner as yt, HeadlessWorkflowWorkerDeps as z, MakaioRuntime as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as CliSubcommandDefinition, c as EmbeddedBusHandle, d as ProvideBusContext, f as defineCliSubcommand, i as CliContribution, l as INTERACTIVE_SUBCOMMAND, n as BeforeRunContext, o as CliSubcommandEntry, p as requireBus, r as BeforeRunResult, s as CommandContext, t as ALWAYS_PROCEED, u as OutputWriter } from "../../types-
|
|
2
|
-
import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-
|
|
1
|
+
import { a as CliSubcommandDefinition, c as EmbeddedBusHandle, d as ProvideBusContext, f as defineCliSubcommand, i as CliContribution, l as INTERACTIVE_SUBCOMMAND, n as BeforeRunContext, o as CliSubcommandEntry, p as requireBus, r as BeforeRunResult, s as CommandContext, t as ALWAYS_PROCEED, u as OutputWriter } from "../../types-CbXf822E.mjs";
|
|
2
|
+
import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-Dwf7aOLt.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { CliArgManifest } from "@makaio/framework/contracts/extension";
|
|
5
5
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-
|
|
1
|
+
import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-Dwf7aOLt.mjs";
|
|
2
2
|
export { CliNamespace, CliRpcSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-
|
|
1
|
+
import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-Ddk-kjif.mjs";
|
|
2
2
|
export { ContributionProcessor, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, coalesceExtensionOverrides, filterEligibleExtensions };
|
package/dist/kernel/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-
|
|
2
|
-
import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-
|
|
3
|
-
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-
|
|
4
|
-
import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-
|
|
5
|
-
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-
|
|
1
|
+
import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-CK5GEXLB2.mjs";
|
|
2
|
+
import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-Ddk-kjif.mjs";
|
|
3
|
+
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-Dq5uOWpH.mjs";
|
|
4
|
+
import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-1AKlC3kZ.mjs";
|
|
5
|
+
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-DSRxn5Zr2.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
8
8
|
|