@makaio/framework 1.0.0-dev-1784889676396 → 1.0.0-dev-1785344643235
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 +3 -2
- package/dist/{account-identity-CP4DC0DL.mjs → account-identity-DFx8pwKL.mjs} +1 -1
- package/dist/{adapter-CYobxqN_.mjs → adapter-D5c5LrPN.mjs} +1 -1
- package/dist/adapters/claude/index.d.mts +204 -27
- package/dist/adapters/claude/index.mjs +3 -3
- package/dist/adapters/config/index.d.mts +2 -2
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +49 -4
- package/dist/adapters/index.mjs +3 -3
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/{artifact-DCkizHkS.mjs → artifact-DGiXqb11.mjs} +1 -1
- package/dist/attempt-record-codec-CqO1_XnE.mjs +1 -0
- package/dist/{auth-C3NOWqTU.mjs → auth-DGEdiHF6.mjs} +1 -1
- package/dist/authority-state-bootstrap-GPL_tqaT.mjs +1 -0
- package/dist/bus/index.mjs +1 -1
- package/dist/{canonical-model-EMRYCVjX.mjs → canonical-model-BAytQ4NV.mjs} +1 -1
- package/dist/capabilities-BQEp34ir.mjs +1 -0
- package/dist/{client-OYk0Ttck.mjs → client-DbS847wW.mjs} +1 -1
- package/dist/clients/index.d.mts +5 -3
- package/dist/clients/index.mjs +1 -1
- package/dist/clients/managed-install.d.mts +1 -1
- package/dist/clients/managed-install.mjs +1 -1
- package/dist/{compression-CZ_6fYq8.mjs → compression-74fFeBha.mjs} +1 -1
- package/dist/{config-namespace-DTA6EQL8.mjs → config-namespace-TVX-hG4I.mjs} +1 -1
- package/dist/{context-resolution-B9ANWbG0.d.mts → context-resolution-BQBk4Ish.d.mts} +6 -4
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +2 -2
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/auth/index.d.mts +2 -2
- package/dist/contracts/auth/index.mjs +1 -1
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/canonical-model/index.mjs +1 -1
- package/dist/contracts/capabilities/index.d.mts +2 -0
- package/dist/contracts/capabilities/index.mjs +1 -0
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +24 -2
- package/dist/contracts/config/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +4 -4
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/facet/index.mjs +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/harness/index.mjs +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/host/index.mjs +1 -1
- package/dist/contracts/index.d.mts +1682 -9431
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/model-registry/index.mjs +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.mjs +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/platform/index.mjs +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/provider/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +2 -2
- package/dist/contracts/shared/index.mjs +1 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/skill/index.mjs +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.mjs +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/timeout/index.mjs +1 -1
- package/dist/contracts/toast/index.mjs +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/variant/index.mjs +1 -1
- package/dist/contracts/worker-node/index.d.mts +2 -0
- package/dist/contracts/worker-node/index.mjs +1 -0
- package/dist/contracts/workflow/index.d.mts +3 -3
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{definition-K3m51lgO.mjs → definition-CJfiv8xm.mjs} +1 -1
- package/dist/{detached-extension-handle-BsywhHfk.mjs → detached-extension-handle-Ddfquy5_.mjs} +1 -1
- package/dist/drizzle/0030_remote-worker-execution.sql +6 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/execution-attempt-repository-DWXKY41_.d.mts +1056 -0
- package/dist/execution-target-Cf645pDj.mjs +1 -0
- package/dist/{extension-Cgg45Xk1.mjs → extension-DCA4pYrY.mjs} +1 -1
- package/dist/extension-hjOPs10e.mjs +1 -0
- package/dist/{filesystem-service-Cupz_Z7S.mjs → filesystem-service-DlP2HfDg.mjs} +1 -1
- package/dist/framework-packages-C3RWfJDk.mjs +1 -0
- package/dist/git/index.mjs +1 -1
- package/dist/{globby-DWp7V-P2.mjs → globby-1yCVCk8s.mjs} +1 -1
- package/dist/{handlers-cMBmexF4.mjs → handlers-CfnLyLfE.mjs} +1 -1
- package/dist/{harness-DflvHAGV.mjs → harness-DpwsFsE7.mjs} +1 -1
- package/dist/{index-BhXCCgJV2.d.mts → index-4fE_hUP02.d.mts} +1 -1
- package/dist/{index-BMx59xb7.d.mts → index-8gKx-OVP.d.mts} +13 -7
- package/dist/index-B0Kf_OWi.d.mts +267 -0
- package/dist/{index-DRiTICBU.d.mts → index-BAXkicoQ.d.mts} +1 -1
- package/dist/{index-CnXXq6sW.d.mts → index-BC79QrGC.d.mts} +10 -10
- package/dist/{index-CvmWRumB.d.mts → index-BQLUVXIB.d.mts} +1024 -888
- package/dist/{index-CKO9S6oo.d.mts → index-BXD3kEs_.d.mts} +28 -10
- package/dist/{index-DUf47Jn_.d.mts → index-BskPjMet.d.mts} +8 -8
- package/dist/{index-CjyfQ_vQ.d.mts → index-CL-0NeQW.d.mts} +8 -5
- package/dist/{index-Cw7_69gV.d.mts → index-CRvpVIqA.d.mts} +1 -1
- package/dist/{index-7FjcxGlK.d.mts → index-CUvNKYkV.d.mts} +1 -1
- package/dist/{index-CtUTCAJ6.d.mts → index-CVaRZoiu.d.mts} +4 -4
- package/dist/{index-Cw84_Dqi.d.mts → index-CnMu8BQl.d.mts} +4 -4
- package/dist/{index-DaMfTvfz.d.mts → index-DA9g2A5P.d.mts} +1 -1
- package/dist/{index-Bi5jFT9S.d.mts → index-DJAmSnuh.d.mts} +12 -12
- package/dist/{index-pjATMrvJ.d.mts → index-DkiTJM5p.d.mts} +693 -31
- package/dist/{index-jbgHR5J2.d.mts → index-GHASUiem.d.mts} +1 -1
- package/dist/{index-BDDbcWNI.d.mts → index-HsTxm-R3.d.mts} +3 -3
- package/dist/{index-Bs3CXR232.d.mts → index-I5YG-qrb2.d.mts} +6 -6
- package/dist/{index-0Ju2i8gV.d.mts → index-SsBHjUqA.d.mts} +204 -165
- package/dist/index-XZyMxxnU.d.mts +1602 -0
- package/dist/{index-dkvGHN10.d.mts → index-brqfk9JQ.d.mts} +6 -6
- package/dist/{index-D43lQCHs.d.mts → index-q0Tiqems.d.mts} +131 -131
- package/dist/index-w_FmghjT.d.mts +7295 -0
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/index.mjs +1 -1
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/cli/register.mjs +1 -1
- package/dist/kernel/cli/schemas.mjs +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/extension/index.mjs +1 -1
- package/dist/kernel/index.d.mts +14 -8
- package/dist/kernel/index.mjs +1 -1
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/namespace/index.mjs +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/observability/index.mjs +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/providers/index.mjs +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/kernel/window/index.mjs +1 -1
- package/dist/{lib-BeMM738r.mjs → lib-C7-s68uf.mjs} +1 -1
- package/dist/{lib-B7TpTzkG.mjs → lib-DErgth_E.mjs} +2 -2
- package/dist/{load-extensions-BLdG90Zi.d.mts → load-extensions-BxsDB87B.d.mts} +1 -1
- package/dist/{load-extensions-CUmFCcYi.mjs → load-extensions-D0DfjYLC.mjs} +1 -1
- package/dist/{materialization-s8eR1eQ4.mjs → materialization-Jd198K3y.mjs} +1 -1
- package/dist/mcp-http-server/index.d.mts +305 -79
- package/dist/mcp-http-server/index.mjs +4 -4
- package/dist/model-BGgVmRnN.mjs +1 -0
- package/dist/modes-BheyN7SS.mjs +1 -0
- package/dist/{namespace-DwQtzlY-.mjs → namespace-BqxtpNAn.mjs} +1 -1
- package/dist/{namespace-BHliaabz.d.mts → namespace-DBm9K23m.d.mts} +6 -6
- package/dist/{namespace-zOfq1Uhn.d.mts → namespace-DI4Yx_xu.d.mts} +27 -27
- package/dist/namespace-DJfUADSV.mjs +1 -0
- package/dist/{namespace-BphMM6S82.d.mts → namespace-DPgxPa8m2.d.mts} +1 -1
- package/dist/{namespace-Bd49QmzS.d.mts → namespace-DWCEo-9M.d.mts} +0 -60
- package/dist/{namespace-CriPb5wY.d.mts → namespace-jPUGV-b2.d.mts} +42 -42
- package/dist/{native-session-supervisor-Bgz-Q1WH.mjs → native-session-supervisor-DRx0MX-d.mjs} +1 -1
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/index.mjs +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.mjs +1 -1
- package/dist/node/transports/index.d.mts +81 -9
- package/dist/node/transports/index.mjs +2 -2
- package/dist/{orchestrator-shared-CY7Tu7kZ.mjs → orchestrator-shared-BxmHCPvx.mjs} +1 -1
- package/dist/package-CNUPPcU1.mjs +7 -0
- package/dist/package-DWMxGfzK.d.mts +827 -0
- package/dist/{package-DKnzOvoR.mjs → package-Dft_RItb.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/{packages-zDnokBpl.mjs → packages-DtEEP0Vt.mjs} +1 -1
- package/dist/{profile-BRi6K6am.mjs → profile-BTAI31Nt.mjs} +1 -1
- package/dist/{provider-context-DOsjOjiR.mjs → provider-context-Dq53Cgzz.mjs} +1 -1
- package/dist/{provider-context-BYkMl--1.mjs → provider-context-PZIQWcqQ.mjs} +1 -1
- package/dist/provider-operation-Cxoe2SUr.d.mts +207 -0
- package/dist/providers/index.mjs +1 -1
- package/dist/{registry-Dw6l7k3e.mjs → registry-wfF2uTty.mjs} +29 -29
- package/dist/{resolved-O2XXjTeu.mjs → resolved-DZgqql2Z.mjs} +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/extension-discovery.d.mts +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +4 -4
- package/dist/runtime-node/index.mjs +24 -24
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/makaio-config.mjs +1 -1
- package/dist/runtime-node/static/model-registry.yaml +348 -0
- 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 +7 -4
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schema-BO9TgmOs.d.mts → schema-Bwr_NrOS.d.mts} +2 -2
- package/dist/{schema-BI0aCHvV.mjs → schema-Dd-e89MO.mjs} +1 -1
- package/dist/{schemas-B5tMYfhC.d.mts → schemas-C4yUXs4G.d.mts} +4 -4
- package/dist/schemas-CRB2O5zo.mjs +1 -0
- package/dist/{schemas-Dgj3WaOI.mjs → schemas-Cm09dXL4.mjs} +1 -1
- package/dist/{schemas-BJ8VMXhO.mjs → schemas-DaHQzpgm.mjs} +1 -1
- package/dist/{schemas-BDC2Nqj1.d.mts → schemas-ENwK6jmV.d.mts} +14 -14
- package/dist/{schemas-ChF2z4RB.d.mts → schemas-N6x2z7Lf.d.mts} +0 -45
- package/dist/schemas-tDf_WiC8.mjs +1 -0
- package/dist/selection-BNwTKEVT.mjs +1 -0
- package/dist/service-base/index.d.mts +47 -2
- package/dist/service-base/index.mjs +1 -1
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/index.mjs +1 -1
- 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/index.mjs +1 -1
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/adapter-subsystem/namespace.mjs +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 +1 -1
- package/dist/services/capability/index.mjs +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 +7 -7
- package/dist/services/context-rules/index.mjs +1 -1
- package/dist/services/execution-target/index.d.mts +4 -4
- 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/index.mjs +1 -1
- package/dist/services/git/namespace.d.mts +2 -2
- package/dist/services/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.d.mts +2 -2
- package/dist/services/git/schemas.mjs +1 -1
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/index.d.mts +86 -371
- 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/log-import/log-import.mjs +1 -1
- package/dist/services/log-import/namespace.d.mts +2 -2
- package/dist/services/log-import/namespace.mjs +1 -1
- package/dist/services/log-import/schemas.d.mts +1 -1
- package/dist/services/log-import/schemas.mjs +1 -1
- package/dist/services/materialization/index.d.mts +1 -1
- package/dist/services/materialization/index.mjs +1 -1
- package/dist/services/model-registry/index.d.mts +1 -1
- package/dist/services/model-registry/index.mjs +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/provider-context/index.mjs +1 -1
- package/dist/services/provider-runtime/index.mjs +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/handlers/index.mjs +1 -1
- package/dist/services/session/index.d.mts +9 -9
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/messages/namespace.mjs +1 -1
- package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.mjs +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.mjs +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session/testing/index.mjs +1 -1
- package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session/turns/namespace.mjs +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/session-editor/index.mjs +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/index.mjs +1 -1
- package/dist/services/settings/namespace.d.mts +14 -14
- package/dist/services/settings/namespace.mjs +1 -1
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/clients-namespace.mjs +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/index.mjs +1 -1
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent/index.mjs +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/index.mjs +1 -1
- 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 +2 -0
- package/dist/services/workflow-transitions/index.mjs +1 -0
- package/dist/{session-Carng3Yk.mjs → session-BOGCd18q.mjs} +1 -1
- package/dist/{session-idI1jk5X.mjs → session-BTFiDoGz.mjs} +1 -1
- package/dist/{session-lineage-Cte63dGx.d.mts → session-lineage-B_JW5LpF.d.mts} +1 -1
- package/dist/{shared-RP_KARKF.mjs → shared-BQ0CHIVy.mjs} +1 -1
- package/dist/{skill-CpNjWFuE.mjs → skill-BR6rkfLe.mjs} +1 -1
- package/dist/{src-XihJcAQS.mjs → src-DD0v-nIj.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/index.d.mts +50 -2
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/storage/handlers/index.mjs +1 -1
- package/dist/testing/drizzle-harness.d.mts +44 -3
- package/dist/testing/drizzle-harness.mjs +1 -1
- package/dist/{tool-approval-service-fIZ9x0kL.mjs → tool-approval-service-kBA0fRzm.mjs} +1 -1
- package/dist/tools-PdG9fO1M.mjs +1 -0
- package/dist/{transition-BodgGLZx.d.mts → transition-DuVzKt8-.d.mts} +3 -42
- package/dist/{types-LspCUW09.d.mts → types-B1MNcwgH.d.mts} +1 -1
- package/dist/{types-Bzxo7ATi.d.mts → types-BqVAOzJP.d.mts} +48 -48
- package/dist/{types-DBb5jY4Z.d.mts → types-CJ_QZ1yW.d.mts} +47 -3
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/index.mjs +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/utils/index.d.mts +18 -4
- package/dist/utils/index.mjs +1 -1
- package/dist/{version-BbWrAPld.mjs → version-CoCeMxDT.mjs} +1 -1
- package/dist/{view-builder-tU7iaxrk.d.mts → view-builder-CvoSL2oL.d.mts} +2 -1
- package/dist/visibility-qhGWmpSJ.mjs +1 -0
- package/dist/worker-node-Bl9_vqYi.mjs +1 -0
- package/dist/worker-node-DZTuT1DS.mjs +1 -0
- package/dist/workflow-BfDbgtIQ.mjs +1 -0
- package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -0
- package/dist/workflow-engine/execution-attempt-repository.mjs +1 -0
- package/dist/workflow-engine/index.d.mts +619 -685
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/provider-operation.d.mts +2 -0
- package/dist/workflow-engine/provider-operation.mjs +1 -0
- package/dist/workflow-engine/testing/index.d.mts +146 -0
- package/dist/workflow-engine/testing/index.mjs +1 -0
- package/dist/workflow-engine/testing/sqlite.d.mts +22 -0
- package/dist/workflow-engine/testing/sqlite.mjs +130 -0
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/workflow-transitions-DSc45ixc.mjs +1 -0
- package/dist/workflow-worker-BN9XPxQO.mjs +1 -0
- package/package.json +20 -3
- package/dist/authority-state-bootstrap-C_-F_dtq.mjs +0 -1
- package/dist/execution-target-CsZXIvli.mjs +0 -1
- package/dist/extension-CjTu6mzW.mjs +0 -1
- package/dist/model-uE5IyUFJ.mjs +0 -1
- package/dist/namespace-C05pkLbN.mjs +0 -1
- package/dist/package-BSG1681x.d.mts +0 -427
- package/dist/package-DW1Upu8E.mjs +0 -7
- package/dist/schemas-BRxU_oqL.mjs +0 -1
- package/dist/schemas-C-J4W1ID.mjs +0 -1
- package/dist/selection-YRuVSdck.mjs +0 -1
- package/dist/tools-Cs2DwjCC.mjs +0 -1
- package/dist/visibility-Cb62p9bv.mjs +0 -1
- package/dist/workflow-BX-FxDb0.mjs +0 -1
- package/dist/workflow-worker-DR9qYOFc.mjs +0 -1
- /package/dist/{adapter-auth-runtime-DFBLXD5K.mjs → adapter-auth-runtime-DO-FVTXg.mjs} +0 -0
- /package/dist/{adapter-binding-Dfk_g-lP.d.mts → adapter-binding-DQchUtrK.d.mts} +0 -0
- /package/dist/{ajv-C8r45sFs.mjs → ajv-DD3SIL2i.mjs} +0 -0
- /package/dist/{attach-error-DCnzW-Yz.mjs → attach-error-C3tngg6J.mjs} +0 -0
- /package/dist/{await-trigger-UceeyCyi.mjs → await-trigger-I3lrepb8.mjs} +0 -0
- /package/dist/{base-orchestrator-5yH3l39s.d.mts → base-orchestrator-BilsQNW1.d.mts} +0 -0
- /package/dist/{capability-service-BzKBK0n2.mjs → capability-service-BqiLlRGA.mjs} +0 -0
- /package/dist/{client-DYEHDiJN.d.mts → client-B--e2qcU.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-C12PvQmz.d.mts → client-binary-version-verifier-CgjM_vGF.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-Dv7TGFxh.mjs → client-binary-version-verifier-taewmKTY.mjs} +0 -0
- /package/dist/{clients-namespace-DcFmhtLv.d.mts → clients-namespace-DfxjG2ZP.d.mts} +0 -0
- /package/dist/{config-namespace-DmP7NVju.d.mts → config-namespace-BCqvufbD.d.mts} +0 -0
- /package/dist/{create-static-mount-BLbqGmva.mjs → create-static-mount-bbQhTt6W.mjs} +0 -0
- /package/dist/{cross-spawn-BXxQUsPS.mjs → cross-spawn-B57KZuns.mjs} +0 -0
- /package/dist/{cursor-storage-DCj4uUxr.mjs → cursor-storage-DIFK_9hg.mjs} +0 -0
- /package/dist/{definition-BEvV7tbD.d.mts → definition-gnKgXU91.d.mts} +0 -0
- /package/dist/{definitions-C1pgx0Nq.mjs → definitions-xrrY0wgz.mjs} +0 -0
- /package/dist/{descriptor-to-package-VfB8lK5w.mjs → descriptor-to-package-DvF08krT.mjs} +0 -0
- /package/dist/{drizzle-oCH9H53q.mjs → drizzle-z_0SiGY8.mjs} +0 -0
- /package/dist/{esm-ClQELElL.mjs → esm-CltRnX8_.mjs} +0 -0
- /package/dist/{event-BOLVCfhH.mjs → event-CmVjR6Ib.mjs} +0 -0
- /package/dist/{extension-discovery-B6p3iZaV.d.mts → extension-discovery-CQRdbVQ6.d.mts} +0 -0
- /package/dist/{extension-namespace-vrh4ERXR.mjs → extension-namespace-Yu41YepM.mjs} +0 -0
- /package/dist/{facet-DqPBpqkl.mjs → facet-BCI00njh.mjs} +0 -0
- /package/dist/{filesystem-service-CGdboor3.d.mts → filesystem-service-CQ9yVkSz.d.mts} +0 -0
- /package/dist/{handler-GGOD_ofd.mjs → handler-Cbv9FqDO.mjs} +0 -0
- /package/dist/{hook-responses-Dg8wDvRo.d.mts → hook-responses-Dh1PWXqJ.d.mts} +0 -0
- /package/dist/{host-BfgdjlII.mjs → host-Caq6ZfSJ.mjs} +0 -0
- /package/dist/{identity-BmEHHoBw.mjs → identity-D6guMtmi.mjs} +0 -0
- /package/dist/{index-DEchpaya.d.mts → index-BIdsFcQs2.d.mts} +0 -0
- /package/dist/{index-DquI_1X5.d.mts → index-BVRQEpAg.d.mts} +0 -0
- /package/dist/{index-Brdc35b-.d.mts → index-BaZeoZoS.d.mts} +0 -0
- /package/dist/{index-BSmwpgkR.d.mts → index-ByKi34v5.d.mts} +0 -0
- /package/dist/{index-oYGf2zIe.d.mts → index-CGZQVTid.d.mts} +0 -0
- /package/dist/{index-Chy9aknK.d.mts → index-CMJZ2Z8m.d.mts} +0 -0
- /package/dist/{index-Bd1GC1kU2.d.mts → index-CjdRdsd0.d.mts} +0 -0
- /package/dist/{index-DYUxNOIX.d.mts → index-Cv-o5Krs.d.mts} +0 -0
- /package/dist/{index-DC0yVsYL.d.mts → index-DN4NOCqN2.d.mts} +0 -0
- /package/dist/{index-CcsJnJOD.d.mts → index-DR40QWlw.d.mts} +0 -0
- /package/dist/{index-BG9-vQHD.d.mts → index-DZunhZec.d.mts} +0 -0
- /package/dist/{index-BsBvs0aK.d.mts → index-DjgLchuQ.d.mts} +0 -0
- /package/dist/{index-pgYFJ5h6.d.mts → index-Dm1nUxCF.d.mts} +0 -0
- /package/dist/{index-C96LlS5m.d.mts → index-Ds5_rDEJ.d.mts} +0 -0
- /package/dist/{index-GYZs75UP.d.mts → index-dtsLKOID.d.mts} +0 -0
- /package/dist/{index-8fJ6dkzR.d.mts → index-gUhidukN.d.mts} +0 -0
- /package/dist/{index-BgpYhR2z.d.mts → index-jTaAHsul.d.mts} +0 -0
- /package/dist/{index-Ci3_i-WC2.d.mts → index-sS6KUlrx.d.mts} +0 -0
- /package/dist/{index-CFeY8lfU.d.mts → index-vA--0lOM.d.mts} +0 -0
- /package/dist/{index-BUYyZm5I.d.mts → index-vcSj12YQ.d.mts} +0 -0
- /package/dist/{index-CdEhEXlY.d.mts → index-ye0oklfU.d.mts} +0 -0
- /package/dist/{json-value-BwVdTylT.d.mts → json-value-Brslhqbm.d.mts} +0 -0
- /package/dist/{jsonl-transport-D8RBF0dK.mjs → jsonl-transport-bQl3JwIu.mjs} +0 -0
- /package/dist/{lib-3_xcE8J-.mjs → lib-DOBXZmYX.mjs} +0 -0
- /package/dist/{model-registry-CoegIvks.mjs → model-registry-CmgcPDH3.mjs} +0 -0
- /package/dist/{model-registry-BneK5SGo.mjs → model-registry-xyBKSye-.mjs} +0 -0
- /package/dist/{namespace-CDO4rY11.mjs → namespace-B8uKAzWJ.mjs} +0 -0
- /package/dist/{namespace-BsF9IxJ9.d.mts → namespace-BOkKoq34.d.mts} +0 -0
- /package/dist/{namespace-SQAGytmu.d.mts → namespace-Blp4c8GK.d.mts} +0 -0
- /package/dist/{namespace-BeED_Ojz.mjs → namespace-C-9si-fV.mjs} +0 -0
- /package/dist/{namespace-De9Mg3zv.d.mts → namespace-CErHuXtb.d.mts} +0 -0
- /package/dist/{namespace-BHj13hbA.mjs → namespace-CWGKCNZm.mjs} +0 -0
- /package/dist/{namespace-D7pE2QWv.mjs → namespace-CWUDFGOy.mjs} +0 -0
- /package/dist/{namespace-D9HNjIdc.d.mts → namespace-Cv1RFP7n.d.mts} +0 -0
- /package/dist/{namespace-CI313bRv.d.mts → namespace-Dkod-w11.d.mts} +0 -0
- /package/dist/{namespace-lWlqWTKu.d.mts → namespace-GPA7zots.d.mts} +0 -0
- /package/dist/{namespace-DWwWnLBu.mjs → namespace-HO2J9sO8.mjs} +0 -0
- /package/dist/{namespace-C238RqwB.mjs → namespace-YxU1xf-K.mjs} +0 -0
- /package/dist/{namespace-BetqZA7Z.d.mts → namespace-YytVKIgI.d.mts} +0 -0
- /package/dist/{namespace-B9CYb9Gh.d.mts → namespace-jDhZjw-i.d.mts} +0 -0
- /package/dist/{namespace-BSXHdCVh2.d.mts → namespace-tGRAod3o.d.mts} +0 -0
- /package/dist/{orchestrator-shared-BB6j8ezL.d.mts → orchestrator-shared-BHCv-l2O.d.mts} +0 -0
- /package/dist/{out-CFkI17mk.mjs → out-CvjtANXN.mjs} +0 -0
- /package/dist/{packages-DeIgn0Hn.d.mts → packages-BZ6pzFIq.d.mts} +0 -0
- /package/dist/{platform-CWhGFQFX.mjs → platform-Bv8llU9c.mjs} +0 -0
- /package/dist/{providers-CUnrif24.mjs → providers-Co5UszRH.mjs} +0 -0
- /package/dist/{providers-namespace-sPbGcZ6I.d.mts → providers-namespace-DjFkmvBR.d.mts} +0 -0
- /package/dist/{quick-lru-CTBjxfgD.mjs → quick-lru-CrOpWwrf.mjs} +0 -0
- /package/dist/{schema-cus0dJ81.mjs → schema-Db-y-09L.mjs} +0 -0
- /package/dist/{schema-introspection-BsWLmoFp.mjs → schema-introspection-DgWQCpwx.mjs} +0 -0
- /package/dist/{schemas-DYvvMd3c.d.mts → schemas-B1NWNASS.d.mts} +0 -0
- /package/dist/{schemas-CMyv7l7-.mjs → schemas-BGExwp3j.mjs} +0 -0
- /package/dist/{schemas-Dmij0PIc.d.mts → schemas-BO7uOum6.d.mts} +0 -0
- /package/dist/{schemas-BGS9RfqV.mjs → schemas-Bfxskx_2.mjs} +0 -0
- /package/dist/{schemas-BKKpQC4X2.d.mts → schemas-BtZqovRH.d.mts} +0 -0
- /package/dist/{schemas-BAvt2HDy.d.mts → schemas-CQyRBqD6.d.mts} +0 -0
- /package/dist/{schemas-D55eXBgl.d.mts → schemas-CR8hSqTy.d.mts} +0 -0
- /package/dist/{schemas-CWxf_Yut.mjs → schemas-CqRm0i9a.mjs} +0 -0
- /package/dist/{schemas-CiWCNQ9a2.d.mts → schemas-CwbYk_kZ.d.mts} +0 -0
- /package/dist/{schemas-CbMWN9-z.d.mts → schemas-DuIlOWR3.d.mts} +0 -0
- /package/dist/{schemas-B4FyOOJj.d.mts → schemas-miYxK_Z1.d.mts} +0 -0
- /package/dist/{semver-D3Y7uMEb.mjs → semver-DlM8znk4.mjs} +0 -0
- /package/dist/{server-lifecycle-C-3OgoKi.d.mts → server-lifecycle-Dsq56aqC.d.mts} +0 -0
- /package/dist/{server-lifecycle-DV6NMsgH.mjs → server-lifecycle-kmQ5PUDv.mjs} +0 -0
- /package/dist/{shared-schemas-BNCPgGYP.mjs → shared-schemas-DXwyMCwZ.mjs} +0 -0
- /package/dist/{src-ftBp6GpR.mjs → src-CCu8TwL6.mjs} +0 -0
- /package/dist/{storage-namespace-B1GI4elv.mjs → storage-namespace-BSrv0vXR.mjs} +0 -0
- /package/dist/{storage-namespace-definition-V8sc3drq.d.mts → storage-namespace-definition-BvlX0QV_.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-4UYuij1r.mjs → storage-namespace-definition-CkMKt7-I.mjs} +0 -0
- /package/dist/{storage-namespace-9N9R61pI.d.mts → storage-namespace-dfywhXR3.d.mts} +0 -0
- /package/dist/{supports-color-DwW9N6YC.mjs → supports-color-DUugCQsK.mjs} +0 -0
- /package/dist/{telemetry-B42EMbZt.mjs → telemetry-Pr3oP2rk.mjs} +0 -0
- /package/dist/{timeout-CvONPl0l.mjs → timeout-DWDhddRJ.mjs} +0 -0
- /package/dist/{tray-menu-service-Dgedanv-.mjs → tray-menu-service-BBLa-Rcv.mjs} +0 -0
- /package/dist/{types-DkFvBdIY.d.mts → types-BrcjaNPZ.d.mts} +0 -0
- /package/dist/{types-DVLq657Y.d.mts → types-DHmPneIO.d.mts} +0 -0
- /package/dist/{types-Bju4dmAg.d.mts → types-b54n1o57.d.mts} +0 -0
- /package/dist/{ui-config-B2L3Xgqo.mjs → ui-config-CyCdlns_.mjs} +0 -0
- /package/dist/{variant-ByI-RZua.mjs → variant-krjlTdJt.mjs} +0 -0
- /package/dist/{window-registry-Qcnvlhp7.d.mts → window-registry-BDnZLPVx.d.mts} +0 -0
- /package/dist/{window-registry-DsWnCc8z.mjs → window-registry-I-imZHV_.mjs} +0 -0
|
@@ -0,0 +1,1602 @@
|
|
|
1
|
+
import * as _$zod from "zod";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
4
|
+
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
5
|
+
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
6
|
+
|
|
7
|
+
//#region core/contracts/src/worker-node/schemas.d.ts
|
|
8
|
+
/**
|
|
9
|
+
* Framework-level WorkerNode dispatch request.
|
|
10
|
+
*
|
|
11
|
+
* Pool selection and provider allocation remain caller-owned. This request is
|
|
12
|
+
* the generic bus seam used by workflow-level runners that need WorkerNode
|
|
13
|
+
* execution without importing a concrete pool service.
|
|
14
|
+
*/
|
|
15
|
+
declare const WorkerNodeDispatchRequestSchema: z.ZodObject<{
|
|
16
|
+
executionAttemptId: z.ZodString;
|
|
17
|
+
config: z.ZodObject<{
|
|
18
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19
|
+
kind: z.ZodLiteral<"path">;
|
|
20
|
+
path: z.ZodString;
|
|
21
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
22
|
+
kind: z.ZodLiteral<"source">;
|
|
23
|
+
filename: z.ZodString;
|
|
24
|
+
source: z.ZodString;
|
|
25
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
26
|
+
kind: z.ZodLiteral<"definition">;
|
|
27
|
+
workflowId: z.ZodString;
|
|
28
|
+
}, z.core.$strict>], "kind">;
|
|
29
|
+
definition: z.ZodOptional<z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
name: z.ZodOptional<z.ZodString>;
|
|
32
|
+
description: z.ZodOptional<z.ZodString>;
|
|
33
|
+
inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
34
|
+
configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
35
|
+
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
36
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
37
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
38
|
+
initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
artifact: z.ZodOptional<z.ZodObject<{
|
|
41
|
+
kind: z.ZodString;
|
|
42
|
+
schemaVersion: z.ZodString;
|
|
43
|
+
scope: z.ZodObject<{
|
|
44
|
+
level: z.ZodString;
|
|
45
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
resolve: z.ZodOptional<z.ZodString>;
|
|
48
|
+
create: z.ZodOptional<z.ZodString>;
|
|
49
|
+
statusPath: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
root: z.ZodObject<{
|
|
52
|
+
id: z.ZodString;
|
|
53
|
+
when: z.ZodOptional<z.ZodString>;
|
|
54
|
+
skip: z.ZodOptional<z.ZodString>;
|
|
55
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
56
|
+
kind: z.ZodString;
|
|
57
|
+
schemaVersion: z.ZodString;
|
|
58
|
+
scope: z.ZodObject<{
|
|
59
|
+
level: z.ZodString;
|
|
60
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
dataExpression: z.ZodOptional<z.ZodString>;
|
|
63
|
+
}, z.core.$strip>>>;
|
|
64
|
+
type: z.ZodLiteral<"sequence">;
|
|
65
|
+
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
66
|
+
}, z.core.$strip>;
|
|
67
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
68
|
+
type: z.ZodLiteral<"manual">;
|
|
69
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
70
|
+
type: z.ZodLiteral<"cron">;
|
|
71
|
+
schedule: z.ZodString;
|
|
72
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
73
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
+
type: z.ZodLiteral<"webhook">;
|
|
75
|
+
event: z.ZodString;
|
|
76
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
77
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
78
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
79
|
+
type: z.ZodLiteral<"extension">;
|
|
80
|
+
extensionType: z.ZodString;
|
|
81
|
+
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
82
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
+
type: z.ZodLiteral<"bus-event">;
|
|
84
|
+
subject: z.ZodString;
|
|
85
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
86
|
+
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
87
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
88
|
+
$ne: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
89
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
90
|
+
$exists: z.ZodBoolean;
|
|
91
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
92
|
+
$startsWith: z.ZodString;
|
|
93
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
94
|
+
$endsWith: z.ZodString;
|
|
95
|
+
}, z.core.$strict>]>>>;
|
|
96
|
+
filterExpression: z.ZodOptional<z.ZodString>;
|
|
97
|
+
}, z.core.$strip>], "type">>>;
|
|
98
|
+
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
99
|
+
type: z.ZodLiteral<"global">;
|
|
100
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
101
|
+
type: z.ZodLiteral<"workspace">;
|
|
102
|
+
id: z.ZodString;
|
|
103
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
104
|
+
type: z.ZodLiteral<"session">;
|
|
105
|
+
id: z.ZodString;
|
|
106
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
107
|
+
type: z.ZodLiteral<"external">;
|
|
108
|
+
kind: z.ZodString;
|
|
109
|
+
id: z.ZodString;
|
|
110
|
+
}, z.core.$strict>], "type">>;
|
|
111
|
+
canvasLayout: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
112
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
113
|
+
kind: z.ZodLiteral<"editor">;
|
|
114
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
115
|
+
kind: z.ZodLiteral<"extension">;
|
|
116
|
+
extension: z.ZodString;
|
|
117
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
118
|
+
syncedAt: z.ZodOptional<z.ZodString>;
|
|
119
|
+
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
120
|
+
}, z.core.$strict>], "kind">>;
|
|
121
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
122
|
+
kind: z.ZodLiteral<"path">;
|
|
123
|
+
path: z.ZodString;
|
|
124
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
125
|
+
kind: z.ZodLiteral<"source">;
|
|
126
|
+
filename: z.ZodString;
|
|
127
|
+
source: z.ZodString;
|
|
128
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
129
|
+
kind: z.ZodLiteral<"definition">;
|
|
130
|
+
workflowId: z.ZodString;
|
|
131
|
+
}, z.core.$strict>], "kind">>;
|
|
132
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
133
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
134
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
135
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
136
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
138
|
+
"local-directory": "local-directory";
|
|
139
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
140
|
+
}>>>;
|
|
141
|
+
}, z.core.$strip>>;
|
|
142
|
+
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
143
|
+
}, z.core.$strip>>;
|
|
144
|
+
executionId: z.ZodString;
|
|
145
|
+
workflowId: z.ZodString;
|
|
146
|
+
triggerPayload: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
147
|
+
inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
148
|
+
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
149
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
kind: z.ZodString;
|
|
151
|
+
id: z.ZodString;
|
|
152
|
+
}, z.core.$strip>>;
|
|
153
|
+
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
154
|
+
type: z.ZodLiteral<"global">;
|
|
155
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
156
|
+
type: z.ZodLiteral<"workspace">;
|
|
157
|
+
id: z.ZodString;
|
|
158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
159
|
+
type: z.ZodLiteral<"session">;
|
|
160
|
+
id: z.ZodString;
|
|
161
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
162
|
+
type: z.ZodLiteral<"external">;
|
|
163
|
+
kind: z.ZodString;
|
|
164
|
+
id: z.ZodString;
|
|
165
|
+
}, z.core.$strict>], "type">>;
|
|
166
|
+
busUrl: z.ZodOptional<z.ZodString>;
|
|
167
|
+
busAuth: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
168
|
+
kind: z.ZodLiteral<"none">;
|
|
169
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
170
|
+
kind: z.ZodLiteral<"hmac">;
|
|
171
|
+
secret: z.ZodString;
|
|
172
|
+
}, z.core.$strict>], "kind">>;
|
|
173
|
+
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
174
|
+
coordinatorSessionId: z.ZodString;
|
|
175
|
+
cancelSubject: z.ZodString;
|
|
176
|
+
suspensionStrategy: z.ZodDefault<z.ZodEnum<{
|
|
177
|
+
"wait-in-process": "wait-in-process";
|
|
178
|
+
"exit-and-redispatch": "exit-and-redispatch";
|
|
179
|
+
"exit-and-resume": "exit-and-resume";
|
|
180
|
+
}>>;
|
|
181
|
+
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
182
|
+
worker: "worker";
|
|
183
|
+
authority: "authority";
|
|
184
|
+
}>>;
|
|
185
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
186
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
187
|
+
workspaceId: z.ZodString;
|
|
188
|
+
rootDigest: z.ZodString;
|
|
189
|
+
sourcePath: z.ZodString;
|
|
190
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
191
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
192
|
+
snapshotId: z.ZodString;
|
|
193
|
+
digest: z.ZodString;
|
|
194
|
+
sourcePath: z.ZodString;
|
|
195
|
+
}, z.core.$strict>], "kind">>;
|
|
196
|
+
}, z.core.$strip>;
|
|
197
|
+
manifest: z.ZodOptional<z.ZodObject<{
|
|
198
|
+
contributionRefs: z.ZodArray<z.ZodObject<{
|
|
199
|
+
packageName: z.ZodString;
|
|
200
|
+
version: z.ZodString;
|
|
201
|
+
entrypoint: z.ZodString;
|
|
202
|
+
integrity: z.ZodString;
|
|
203
|
+
}, z.core.$strict>>;
|
|
204
|
+
}, z.core.$strict>>;
|
|
205
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
206
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
207
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
208
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
209
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
210
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
211
|
+
"local-directory": "local-directory";
|
|
212
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
213
|
+
}>>>;
|
|
214
|
+
}, z.core.$strip>>;
|
|
215
|
+
metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
/**
|
|
218
|
+
* Framework-level WorkerNode dispatch response.
|
|
219
|
+
*
|
|
220
|
+
* Returns an allocation acknowledgment after the provider has provisioned
|
|
221
|
+
* a resource and the allocation reference has been persisted. Callers
|
|
222
|
+
* that need the workflow result must await it through the Authority's
|
|
223
|
+
* in-process waiter (`waitForOutcome`).
|
|
224
|
+
*/
|
|
225
|
+
declare const WorkerNodeDispatchResponseSchema: z.ZodObject<{
|
|
226
|
+
executionAttemptId: z.ZodString;
|
|
227
|
+
allocationRef: z.ZodObject<{
|
|
228
|
+
version: z.ZodLiteral<1>;
|
|
229
|
+
providerId: z.ZodString;
|
|
230
|
+
providerData: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
231
|
+
}, z.core.$strict>;
|
|
232
|
+
}, z.core.$strict>;
|
|
233
|
+
/**
|
|
234
|
+
* WorkerNode lifecycle bus schemas.
|
|
235
|
+
*
|
|
236
|
+
* All keys map to `worker-node.<key>` subjects on the bus. Each subject
|
|
237
|
+
* represents a discrete phase in the node lifecycle so listeners can react
|
|
238
|
+
* selectively without receiving unrelated payloads.
|
|
239
|
+
*
|
|
240
|
+
* Lifecycle states in order:
|
|
241
|
+
* - `lifecycle.provisioning` — dispatch has selected a provider; node allocation is in progress
|
|
242
|
+
* - `lifecycle.booting` — environment is initialising (importing packages, connecting to bus)
|
|
243
|
+
* - `lifecycle.ready` — node is connected and ready to accept work
|
|
244
|
+
* - `lifecycle.busy` — node has started executing the workflow
|
|
245
|
+
* - `lifecycle.completed` — execution finished successfully
|
|
246
|
+
* - `lifecycle.failed` — execution terminated with an error
|
|
247
|
+
* - `lifecycle.terminated` — node environment has been torn down
|
|
248
|
+
* - `lifecycle.paused` — node parked at a gate and exited for later resume
|
|
249
|
+
*
|
|
250
|
+
* Control subjects:
|
|
251
|
+
* - `control.attempt-ready` — worker reports readiness for its attempt
|
|
252
|
+
* - `control.outcome.submit` — worker submits an execution outcome for durable ACK
|
|
253
|
+
* - `control.bootstrap.claim`— worker claims execution-scoped bus credentials
|
|
254
|
+
*/
|
|
255
|
+
declare const WorkerNodeSchemas: {
|
|
256
|
+
/**
|
|
257
|
+
* Dispatch a workflow execution to a WorkerNode dispatcher.
|
|
258
|
+
*
|
|
259
|
+
* Subject: `worker-node.dispatch`
|
|
260
|
+
* Type: Request (RPC)
|
|
261
|
+
*/
|
|
262
|
+
dispatch: {
|
|
263
|
+
request: z.ZodObject<{
|
|
264
|
+
executionAttemptId: z.ZodString;
|
|
265
|
+
config: z.ZodObject<{
|
|
266
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
267
|
+
kind: z.ZodLiteral<"path">;
|
|
268
|
+
path: z.ZodString;
|
|
269
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
270
|
+
kind: z.ZodLiteral<"source">;
|
|
271
|
+
filename: z.ZodString;
|
|
272
|
+
source: z.ZodString;
|
|
273
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
274
|
+
kind: z.ZodLiteral<"definition">;
|
|
275
|
+
workflowId: z.ZodString;
|
|
276
|
+
}, z.core.$strict>], "kind">;
|
|
277
|
+
definition: z.ZodOptional<z.ZodObject<{
|
|
278
|
+
id: z.ZodString;
|
|
279
|
+
name: z.ZodOptional<z.ZodString>;
|
|
280
|
+
description: z.ZodOptional<z.ZodString>;
|
|
281
|
+
inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
282
|
+
configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
283
|
+
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
284
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
285
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
286
|
+
initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
287
|
+
}, z.core.$strip>>;
|
|
288
|
+
artifact: z.ZodOptional<z.ZodObject<{
|
|
289
|
+
kind: z.ZodString;
|
|
290
|
+
schemaVersion: z.ZodString;
|
|
291
|
+
scope: z.ZodObject<{
|
|
292
|
+
level: z.ZodString;
|
|
293
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
294
|
+
}, z.core.$strip>;
|
|
295
|
+
resolve: z.ZodOptional<z.ZodString>;
|
|
296
|
+
create: z.ZodOptional<z.ZodString>;
|
|
297
|
+
statusPath: z.ZodOptional<z.ZodString>;
|
|
298
|
+
}, z.core.$strip>>;
|
|
299
|
+
root: z.ZodObject<{
|
|
300
|
+
id: z.ZodString;
|
|
301
|
+
when: z.ZodOptional<z.ZodString>;
|
|
302
|
+
skip: z.ZodOptional<z.ZodString>;
|
|
303
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
304
|
+
kind: z.ZodString;
|
|
305
|
+
schemaVersion: z.ZodString;
|
|
306
|
+
scope: z.ZodObject<{
|
|
307
|
+
level: z.ZodString;
|
|
308
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
309
|
+
}, z.core.$strip>;
|
|
310
|
+
dataExpression: z.ZodOptional<z.ZodString>;
|
|
311
|
+
}, z.core.$strip>>>;
|
|
312
|
+
type: z.ZodLiteral<"sequence">;
|
|
313
|
+
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
314
|
+
}, z.core.$strip>;
|
|
315
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
316
|
+
type: z.ZodLiteral<"manual">;
|
|
317
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
318
|
+
type: z.ZodLiteral<"cron">;
|
|
319
|
+
schedule: z.ZodString;
|
|
320
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
321
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
322
|
+
type: z.ZodLiteral<"webhook">;
|
|
323
|
+
event: z.ZodString;
|
|
324
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
325
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
326
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
327
|
+
type: z.ZodLiteral<"extension">;
|
|
328
|
+
extensionType: z.ZodString;
|
|
329
|
+
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
330
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
331
|
+
type: z.ZodLiteral<"bus-event">;
|
|
332
|
+
subject: z.ZodString;
|
|
333
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
334
|
+
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
335
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
336
|
+
$ne: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
337
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
338
|
+
$exists: z.ZodBoolean;
|
|
339
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
340
|
+
$startsWith: z.ZodString;
|
|
341
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
342
|
+
$endsWith: z.ZodString;
|
|
343
|
+
}, z.core.$strict>]>>>;
|
|
344
|
+
filterExpression: z.ZodOptional<z.ZodString>;
|
|
345
|
+
}, z.core.$strip>], "type">>>;
|
|
346
|
+
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
347
|
+
type: z.ZodLiteral<"global">;
|
|
348
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
349
|
+
type: z.ZodLiteral<"workspace">;
|
|
350
|
+
id: z.ZodString;
|
|
351
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
352
|
+
type: z.ZodLiteral<"session">;
|
|
353
|
+
id: z.ZodString;
|
|
354
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
355
|
+
type: z.ZodLiteral<"external">;
|
|
356
|
+
kind: z.ZodString;
|
|
357
|
+
id: z.ZodString;
|
|
358
|
+
}, z.core.$strict>], "type">>;
|
|
359
|
+
canvasLayout: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
360
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
361
|
+
kind: z.ZodLiteral<"editor">;
|
|
362
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
363
|
+
kind: z.ZodLiteral<"extension">;
|
|
364
|
+
extension: z.ZodString;
|
|
365
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
366
|
+
syncedAt: z.ZodOptional<z.ZodString>;
|
|
367
|
+
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
368
|
+
}, z.core.$strict>], "kind">>;
|
|
369
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
370
|
+
kind: z.ZodLiteral<"path">;
|
|
371
|
+
path: z.ZodString;
|
|
372
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
373
|
+
kind: z.ZodLiteral<"source">;
|
|
374
|
+
filename: z.ZodString;
|
|
375
|
+
source: z.ZodString;
|
|
376
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
377
|
+
kind: z.ZodLiteral<"definition">;
|
|
378
|
+
workflowId: z.ZodString;
|
|
379
|
+
}, z.core.$strict>], "kind">>;
|
|
380
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
381
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
382
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
383
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
384
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
385
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
386
|
+
"local-directory": "local-directory";
|
|
387
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
388
|
+
}>>>;
|
|
389
|
+
}, z.core.$strip>>;
|
|
390
|
+
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
391
|
+
}, z.core.$strip>>;
|
|
392
|
+
executionId: z.ZodString;
|
|
393
|
+
workflowId: z.ZodString;
|
|
394
|
+
triggerPayload: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
395
|
+
inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
396
|
+
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
397
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
398
|
+
kind: z.ZodString;
|
|
399
|
+
id: z.ZodString;
|
|
400
|
+
}, z.core.$strip>>;
|
|
401
|
+
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
402
|
+
type: z.ZodLiteral<"global">;
|
|
403
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
404
|
+
type: z.ZodLiteral<"workspace">;
|
|
405
|
+
id: z.ZodString;
|
|
406
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
407
|
+
type: z.ZodLiteral<"session">;
|
|
408
|
+
id: z.ZodString;
|
|
409
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
410
|
+
type: z.ZodLiteral<"external">;
|
|
411
|
+
kind: z.ZodString;
|
|
412
|
+
id: z.ZodString;
|
|
413
|
+
}, z.core.$strict>], "type">>;
|
|
414
|
+
busUrl: z.ZodOptional<z.ZodString>;
|
|
415
|
+
busAuth: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
416
|
+
kind: z.ZodLiteral<"none">;
|
|
417
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
418
|
+
kind: z.ZodLiteral<"hmac">;
|
|
419
|
+
secret: z.ZodString;
|
|
420
|
+
}, z.core.$strict>], "kind">>;
|
|
421
|
+
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
422
|
+
coordinatorSessionId: z.ZodString;
|
|
423
|
+
cancelSubject: z.ZodString;
|
|
424
|
+
suspensionStrategy: z.ZodDefault<z.ZodEnum<{
|
|
425
|
+
"wait-in-process": "wait-in-process";
|
|
426
|
+
"exit-and-redispatch": "exit-and-redispatch";
|
|
427
|
+
"exit-and-resume": "exit-and-resume";
|
|
428
|
+
}>>;
|
|
429
|
+
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
430
|
+
worker: "worker";
|
|
431
|
+
authority: "authority";
|
|
432
|
+
}>>;
|
|
433
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
434
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
435
|
+
workspaceId: z.ZodString;
|
|
436
|
+
rootDigest: z.ZodString;
|
|
437
|
+
sourcePath: z.ZodString;
|
|
438
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
439
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
440
|
+
snapshotId: z.ZodString;
|
|
441
|
+
digest: z.ZodString;
|
|
442
|
+
sourcePath: z.ZodString;
|
|
443
|
+
}, z.core.$strict>], "kind">>;
|
|
444
|
+
}, z.core.$strip>;
|
|
445
|
+
manifest: z.ZodOptional<z.ZodObject<{
|
|
446
|
+
contributionRefs: z.ZodArray<z.ZodObject<{
|
|
447
|
+
packageName: z.ZodString;
|
|
448
|
+
version: z.ZodString;
|
|
449
|
+
entrypoint: z.ZodString;
|
|
450
|
+
integrity: z.ZodString;
|
|
451
|
+
}, z.core.$strict>>;
|
|
452
|
+
}, z.core.$strict>>;
|
|
453
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
454
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
455
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
456
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
457
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
458
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
459
|
+
"local-directory": "local-directory";
|
|
460
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
461
|
+
}>>>;
|
|
462
|
+
}, z.core.$strip>>;
|
|
463
|
+
metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
464
|
+
}, z.core.$strip>;
|
|
465
|
+
response: z.ZodObject<{
|
|
466
|
+
executionAttemptId: z.ZodString;
|
|
467
|
+
allocationRef: z.ZodObject<{
|
|
468
|
+
version: z.ZodLiteral<1>;
|
|
469
|
+
providerId: z.ZodString;
|
|
470
|
+
providerData: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
471
|
+
}, z.core.$strict>;
|
|
472
|
+
}, z.core.$strict>;
|
|
473
|
+
};
|
|
474
|
+
/**
|
|
475
|
+
* Worker reports that it has booted, connected to the bus, and is ready
|
|
476
|
+
* to execute the workflow for its assigned attempt.
|
|
477
|
+
*
|
|
478
|
+
* The Authority and lifecycle emitters consume this to transition the
|
|
479
|
+
* attempt into the active execution phase.
|
|
480
|
+
*
|
|
481
|
+
* Subject: `worker-node.control.attempt-ready`
|
|
482
|
+
* Type: Event
|
|
483
|
+
*/
|
|
484
|
+
'control.attempt-ready': z.ZodObject<{
|
|
485
|
+
executionAttemptId: z.ZodString;
|
|
486
|
+
executionId: z.ZodString;
|
|
487
|
+
adapters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
488
|
+
}, z.core.$strict>;
|
|
489
|
+
/**
|
|
490
|
+
* Worker submits a terminal workflow outcome for durable acknowledgement.
|
|
491
|
+
*
|
|
492
|
+
* The Authority validates the attempt, commits the outcome through the
|
|
493
|
+
* injected repository, and returns an ACK decision. Workers must not
|
|
494
|
+
* exit until they receive the ACK.
|
|
495
|
+
*
|
|
496
|
+
* Subject: `worker-node.control.outcome.submit`
|
|
497
|
+
* Type: Request (RPC)
|
|
498
|
+
*/
|
|
499
|
+
'control.outcome.submit': {
|
|
500
|
+
request: z.ZodObject<{
|
|
501
|
+
executionAttemptId: z.ZodString;
|
|
502
|
+
executionId: z.ZodString;
|
|
503
|
+
result: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
504
|
+
executionId: z.ZodString;
|
|
505
|
+
workflowId: z.ZodString;
|
|
506
|
+
status: z.ZodLiteral<"completed">;
|
|
507
|
+
artifact: z.ZodOptional<z.ZodObject<{
|
|
508
|
+
kind: z.ZodString;
|
|
509
|
+
id: z.ZodString;
|
|
510
|
+
revision: z.ZodString;
|
|
511
|
+
scope: z.ZodObject<{
|
|
512
|
+
level: z.ZodString;
|
|
513
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
514
|
+
}, z.core.$strip>;
|
|
515
|
+
schemaVersion: z.ZodString;
|
|
516
|
+
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
517
|
+
relations: z.ZodArray<z.ZodObject<{
|
|
518
|
+
type: z.ZodString;
|
|
519
|
+
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
520
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
521
|
+
kind: z.ZodString;
|
|
522
|
+
id: z.ZodString;
|
|
523
|
+
revision: z.ZodString;
|
|
524
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
525
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
526
|
+
artifact: z.ZodObject<{
|
|
527
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
528
|
+
kind: z.ZodString;
|
|
529
|
+
id: z.ZodString;
|
|
530
|
+
revision: z.ZodString;
|
|
531
|
+
}, z.core.$strip>;
|
|
532
|
+
localId: z.ZodString;
|
|
533
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
534
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
535
|
+
kind: z.ZodString;
|
|
536
|
+
id: z.ZodString;
|
|
537
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
538
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
539
|
+
}, z.core.$strip>], "refClass">>;
|
|
540
|
+
}, z.core.$strip>>;
|
|
541
|
+
confidence: z.ZodOptional<z.ZodObject<{
|
|
542
|
+
level: z.ZodEnum<{
|
|
543
|
+
inferred: "inferred";
|
|
544
|
+
assumed: "assumed";
|
|
545
|
+
stated: "stated";
|
|
546
|
+
confirmed: "confirmed";
|
|
547
|
+
verified: "verified";
|
|
548
|
+
}>;
|
|
549
|
+
basis: z.ZodArray<z.ZodObject<{
|
|
550
|
+
kind: z.ZodString;
|
|
551
|
+
actor: z.ZodObject<{
|
|
552
|
+
kind: z.ZodString;
|
|
553
|
+
id: z.ZodString;
|
|
554
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
555
|
+
}, z.core.$strip>;
|
|
556
|
+
timestamp: z.ZodNumber;
|
|
557
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
558
|
+
evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
559
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
560
|
+
kind: z.ZodString;
|
|
561
|
+
id: z.ZodString;
|
|
562
|
+
revision: z.ZodString;
|
|
563
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
564
|
+
refClass: z.ZodDefault<z.ZodLiteral<"local">>;
|
|
565
|
+
artifact: z.ZodObject<{
|
|
566
|
+
refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
|
|
567
|
+
kind: z.ZodString;
|
|
568
|
+
id: z.ZodString;
|
|
569
|
+
revision: z.ZodString;
|
|
570
|
+
}, z.core.$strip>;
|
|
571
|
+
localId: z.ZodString;
|
|
572
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
573
|
+
refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
|
|
574
|
+
kind: z.ZodString;
|
|
575
|
+
id: z.ZodString;
|
|
576
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
577
|
+
locator: z.ZodOptional<z.ZodString>;
|
|
578
|
+
}, z.core.$strip>], "refClass">>>;
|
|
579
|
+
}, z.core.$strip>>;
|
|
580
|
+
}, z.core.$strip>>;
|
|
581
|
+
representations: z.ZodOptional<z.ZodObject<{
|
|
582
|
+
markdown: z.ZodOptional<z.ZodString>;
|
|
583
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
584
|
+
plaintext: z.ZodOptional<z.ZodString>;
|
|
585
|
+
}, z.core.$strip>>;
|
|
586
|
+
actor: z.ZodObject<{
|
|
587
|
+
kind: z.ZodString;
|
|
588
|
+
id: z.ZodString;
|
|
589
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
590
|
+
}, z.core.$strip>;
|
|
591
|
+
timestamp: z.ZodNumber;
|
|
592
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
593
|
+
}, z.core.$strip>>;
|
|
594
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
595
|
+
executionId: z.ZodString;
|
|
596
|
+
workflowId: z.ZodString;
|
|
597
|
+
status: z.ZodLiteral<"failed">;
|
|
598
|
+
error: z.ZodString;
|
|
599
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
600
|
+
executionId: z.ZodString;
|
|
601
|
+
workflowId: z.ZodString;
|
|
602
|
+
status: z.ZodLiteral<"cancelled">;
|
|
603
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
604
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
605
|
+
executionId: z.ZodString;
|
|
606
|
+
workflowId: z.ZodString;
|
|
607
|
+
status: z.ZodLiteral<"paused">;
|
|
608
|
+
pausedAtGateId: z.ZodString;
|
|
609
|
+
pausedAtFrameId: z.ZodString;
|
|
610
|
+
}, z.core.$strict>], "status">;
|
|
611
|
+
}, z.core.$strict>;
|
|
612
|
+
response: z.ZodObject<{
|
|
613
|
+
decision: z.ZodEnum<{
|
|
614
|
+
accepted: "accepted";
|
|
615
|
+
duplicate: "duplicate";
|
|
616
|
+
conflict: "conflict";
|
|
617
|
+
fenced: "fenced";
|
|
618
|
+
}>;
|
|
619
|
+
}, z.core.$strict>;
|
|
620
|
+
};
|
|
621
|
+
/**
|
|
622
|
+
* Worker node claims its execution-scoped bus credentials during bootstrap.
|
|
623
|
+
*
|
|
624
|
+
* The node authenticates its WebSocket connection as a bootstrap peer, then
|
|
625
|
+
* presents its execution/attempt identity. The server validates that trusted
|
|
626
|
+
* transport identity and the durable allocation before exchanging it for an
|
|
627
|
+
* execution-scoped `busAuthSecret` used for subsequent communication.
|
|
628
|
+
*
|
|
629
|
+
* Subject: `worker-node.control.bootstrap.claim`
|
|
630
|
+
* Type: Request (RPC)
|
|
631
|
+
*/
|
|
632
|
+
'control.bootstrap.claim': {
|
|
633
|
+
request: z.ZodObject<{
|
|
634
|
+
executionId: z.ZodString;
|
|
635
|
+
executionAttemptId: z.ZodString;
|
|
636
|
+
}, z.core.$strict>;
|
|
637
|
+
response: z.ZodObject<{
|
|
638
|
+
busUrl: z.ZodString;
|
|
639
|
+
busAuthSecret: z.ZodString;
|
|
640
|
+
}, z.core.$strict>;
|
|
641
|
+
};
|
|
642
|
+
/**
|
|
643
|
+
* Dispatch has selected a provider; node allocation is in progress.
|
|
644
|
+
*
|
|
645
|
+
* Subject: `worker-node.lifecycle.provisioning`
|
|
646
|
+
* Type: Event
|
|
647
|
+
*/
|
|
648
|
+
'lifecycle.provisioning': z.ZodObject<{
|
|
649
|
+
executionAttemptId: z.ZodString;
|
|
650
|
+
executionId: z.ZodString;
|
|
651
|
+
environment: z.ZodString;
|
|
652
|
+
metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
653
|
+
}, z.core.$strip>;
|
|
654
|
+
/**
|
|
655
|
+
* Environment is initialising (importing packages, connecting to bus).
|
|
656
|
+
*
|
|
657
|
+
* Subject: `worker-node.lifecycle.booting`
|
|
658
|
+
* Type: Event
|
|
659
|
+
*/
|
|
660
|
+
'lifecycle.booting': z.ZodObject<{
|
|
661
|
+
executionAttemptId: z.ZodString;
|
|
662
|
+
executionId: z.ZodString;
|
|
663
|
+
environment: z.ZodString;
|
|
664
|
+
metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
665
|
+
}, z.core.$strip>;
|
|
666
|
+
/**
|
|
667
|
+
* Node is connected and ready to accept work.
|
|
668
|
+
*
|
|
669
|
+
* Subject: `worker-node.lifecycle.ready`
|
|
670
|
+
* Type: Event
|
|
671
|
+
*/
|
|
672
|
+
'lifecycle.ready': z.ZodObject<{
|
|
673
|
+
executionAttemptId: z.ZodString;
|
|
674
|
+
executionId: z.ZodString;
|
|
675
|
+
environment: z.ZodString;
|
|
676
|
+
metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
677
|
+
adapters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
678
|
+
}, z.core.$strip>;
|
|
679
|
+
/**
|
|
680
|
+
* Node has started executing the workflow.
|
|
681
|
+
*
|
|
682
|
+
* Subject: `worker-node.lifecycle.busy`
|
|
683
|
+
* Type: Event
|
|
684
|
+
*/
|
|
685
|
+
'lifecycle.busy': z.ZodObject<{
|
|
686
|
+
executionAttemptId: z.ZodString;
|
|
687
|
+
executionId: z.ZodString;
|
|
688
|
+
environment: z.ZodString;
|
|
689
|
+
metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
690
|
+
}, z.core.$strip>;
|
|
691
|
+
/**
|
|
692
|
+
* Execution finished successfully.
|
|
693
|
+
*
|
|
694
|
+
* Subject: `worker-node.lifecycle.completed`
|
|
695
|
+
* Type: Event
|
|
696
|
+
*/
|
|
697
|
+
'lifecycle.completed': z.ZodObject<{
|
|
698
|
+
executionAttemptId: z.ZodString;
|
|
699
|
+
executionId: z.ZodString;
|
|
700
|
+
environment: z.ZodString;
|
|
701
|
+
metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
702
|
+
}, z.core.$strip>;
|
|
703
|
+
/**
|
|
704
|
+
* Execution terminated with an error.
|
|
705
|
+
*
|
|
706
|
+
* Subject: `worker-node.lifecycle.failed`
|
|
707
|
+
* Type: Event
|
|
708
|
+
*/
|
|
709
|
+
'lifecycle.failed': z.ZodObject<{
|
|
710
|
+
executionAttemptId: z.ZodString;
|
|
711
|
+
executionId: z.ZodString;
|
|
712
|
+
environment: z.ZodString;
|
|
713
|
+
metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
714
|
+
error: z.ZodString;
|
|
715
|
+
}, z.core.$strip>;
|
|
716
|
+
/**
|
|
717
|
+
* Node environment has been torn down.
|
|
718
|
+
*
|
|
719
|
+
* Subject: `worker-node.lifecycle.terminated`
|
|
720
|
+
* Type: Event
|
|
721
|
+
*/
|
|
722
|
+
'lifecycle.terminated': z.ZodObject<{
|
|
723
|
+
executionAttemptId: z.ZodString;
|
|
724
|
+
executionId: z.ZodString;
|
|
725
|
+
environment: z.ZodString;
|
|
726
|
+
metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
727
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
728
|
+
}, z.core.$strip>;
|
|
729
|
+
/**
|
|
730
|
+
* Node has suspended at a gate and the worker has exited.
|
|
731
|
+
*
|
|
732
|
+
* Emitted by providers using `exit-and-redispatch` or `exit-and-resume`
|
|
733
|
+
* suspension strategies before the environment tears down. In-process
|
|
734
|
+
* providers that block at the gate do not emit this event.
|
|
735
|
+
*
|
|
736
|
+
* Subject: `worker-node.lifecycle.paused`
|
|
737
|
+
* Type: Event
|
|
738
|
+
*/
|
|
739
|
+
'lifecycle.paused': z.ZodObject<{
|
|
740
|
+
executionAttemptId: z.ZodString;
|
|
741
|
+
executionId: z.ZodString;
|
|
742
|
+
environment: z.ZodString;
|
|
743
|
+
metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
744
|
+
pausedAtGateId: z.ZodString;
|
|
745
|
+
pausedAtFrameId: z.ZodString;
|
|
746
|
+
}, z.core.$strip>;
|
|
747
|
+
};
|
|
748
|
+
/** Bootstrap coordinates presented by a remote worker. */
|
|
749
|
+
type WorkerBootstrapClaimRequest = z.infer<(typeof WorkerNodeSchemas)['control.bootstrap.claim']['request']>;
|
|
750
|
+
/** Execution-scoped credentials issued after a successful bootstrap claim. */
|
|
751
|
+
type WorkerBootstrapClaimResponse$1 = z.infer<(typeof WorkerNodeSchemas)['control.bootstrap.claim']['response']>;
|
|
752
|
+
//#endregion
|
|
753
|
+
//#region core/contracts/src/worker-node/namespace.d.ts
|
|
754
|
+
/** Well-known restricted transport identity used for worker bootstrap claims. */
|
|
755
|
+
declare const WORKER_BOOTSTRAP_IDENTITY_ID = "worker-bootstrap";
|
|
756
|
+
/**
|
|
757
|
+
* WorkerNode bus namespace definition.
|
|
758
|
+
*
|
|
759
|
+
* Register at boot time via `bus.registerNamespace(WorkerNodeNamespace)` or
|
|
760
|
+
* include in the `FrameworkContractNamespaces` catalog.
|
|
761
|
+
*/
|
|
762
|
+
declare const WorkerNodeNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker-node", {
|
|
763
|
+
dispatch: {
|
|
764
|
+
request: _$zod.ZodObject<{
|
|
765
|
+
executionAttemptId: _$zod.ZodString;
|
|
766
|
+
config: _$zod.ZodObject<{
|
|
767
|
+
source: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
768
|
+
kind: _$zod.ZodLiteral<"path">;
|
|
769
|
+
path: _$zod.ZodString;
|
|
770
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
771
|
+
kind: _$zod.ZodLiteral<"source">;
|
|
772
|
+
filename: _$zod.ZodString;
|
|
773
|
+
source: _$zod.ZodString;
|
|
774
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
775
|
+
kind: _$zod.ZodLiteral<"definition">;
|
|
776
|
+
workflowId: _$zod.ZodString;
|
|
777
|
+
}, _$zod_v4_core0.$strict>], "kind">;
|
|
778
|
+
definition: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
779
|
+
id: _$zod.ZodString;
|
|
780
|
+
name: _$zod.ZodOptional<_$zod.ZodString>;
|
|
781
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
782
|
+
inputSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
783
|
+
configSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
784
|
+
outputSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
785
|
+
state: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
786
|
+
schema: _$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
787
|
+
initial: _$zod.ZodOptional<_$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
788
|
+
}, _$zod_v4_core0.$strip>>;
|
|
789
|
+
artifact: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
790
|
+
kind: _$zod.ZodString;
|
|
791
|
+
schemaVersion: _$zod.ZodString;
|
|
792
|
+
scope: _$zod.ZodObject<{
|
|
793
|
+
level: _$zod.ZodString;
|
|
794
|
+
ids: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
795
|
+
}, _$zod_v4_core0.$strip>;
|
|
796
|
+
resolve: _$zod.ZodOptional<_$zod.ZodString>;
|
|
797
|
+
create: _$zod.ZodOptional<_$zod.ZodString>;
|
|
798
|
+
statusPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
799
|
+
}, _$zod_v4_core0.$strip>>;
|
|
800
|
+
root: _$zod.ZodObject<{
|
|
801
|
+
id: _$zod.ZodString;
|
|
802
|
+
when: _$zod.ZodOptional<_$zod.ZodString>;
|
|
803
|
+
skip: _$zod.ZodOptional<_$zod.ZodString>;
|
|
804
|
+
writes: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
805
|
+
kind: _$zod.ZodString;
|
|
806
|
+
schemaVersion: _$zod.ZodString;
|
|
807
|
+
scope: _$zod.ZodObject<{
|
|
808
|
+
level: _$zod.ZodString;
|
|
809
|
+
ids: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
810
|
+
}, _$zod_v4_core0.$strip>;
|
|
811
|
+
dataExpression: _$zod.ZodOptional<_$zod.ZodString>;
|
|
812
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
813
|
+
type: _$zod.ZodLiteral<"sequence">;
|
|
814
|
+
nodes: _$zod.ZodLazy<_$zod.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
815
|
+
}, _$zod_v4_core0.$strip>;
|
|
816
|
+
triggers: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
817
|
+
type: _$zod.ZodLiteral<"manual">;
|
|
818
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
819
|
+
type: _$zod.ZodLiteral<"cron">;
|
|
820
|
+
schedule: _$zod.ZodString;
|
|
821
|
+
timezone: _$zod.ZodOptional<_$zod.ZodString>;
|
|
822
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
823
|
+
type: _$zod.ZodLiteral<"webhook">;
|
|
824
|
+
event: _$zod.ZodString;
|
|
825
|
+
branch: _$zod.ZodOptional<_$zod.ZodString>;
|
|
826
|
+
repo: _$zod.ZodOptional<_$zod.ZodString>;
|
|
827
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
828
|
+
type: _$zod.ZodLiteral<"extension">;
|
|
829
|
+
extensionType: _$zod.ZodString;
|
|
830
|
+
config: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
831
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
832
|
+
type: _$zod.ZodLiteral<"bus-event">;
|
|
833
|
+
subject: _$zod.ZodString;
|
|
834
|
+
filter: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodNull]>, _$zod.ZodObject<{
|
|
835
|
+
$in: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodNull]>>;
|
|
836
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
837
|
+
$ne: _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodNull]>;
|
|
838
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
839
|
+
$exists: _$zod.ZodBoolean;
|
|
840
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
841
|
+
$startsWith: _$zod.ZodString;
|
|
842
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
843
|
+
$endsWith: _$zod.ZodString;
|
|
844
|
+
}, _$zod_v4_core0.$strict>]>>>;
|
|
845
|
+
filterExpression: _$zod.ZodOptional<_$zod.ZodString>;
|
|
846
|
+
}, _$zod_v4_core0.$strip>], "type">>>;
|
|
847
|
+
scope: _$zod.ZodDefault<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
848
|
+
type: _$zod.ZodLiteral<"global">;
|
|
849
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
850
|
+
type: _$zod.ZodLiteral<"workspace">;
|
|
851
|
+
id: _$zod.ZodString;
|
|
852
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
853
|
+
type: _$zod.ZodLiteral<"session">;
|
|
854
|
+
id: _$zod.ZodString;
|
|
855
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
856
|
+
type: _$zod.ZodLiteral<"external">;
|
|
857
|
+
kind: _$zod.ZodString;
|
|
858
|
+
id: _$zod.ZodString;
|
|
859
|
+
}, _$zod_v4_core0.$strict>], "type">>;
|
|
860
|
+
canvasLayout: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
861
|
+
source: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
862
|
+
kind: _$zod.ZodLiteral<"editor">;
|
|
863
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
864
|
+
kind: _$zod.ZodLiteral<"extension">;
|
|
865
|
+
extension: _$zod.ZodString;
|
|
866
|
+
externalId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
867
|
+
syncedAt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
868
|
+
metadata: _$zod.ZodDefault<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
869
|
+
}, _$zod_v4_core0.$strict>], "kind">>;
|
|
870
|
+
executableSource: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
871
|
+
kind: _$zod.ZodLiteral<"path">;
|
|
872
|
+
path: _$zod.ZodString;
|
|
873
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
874
|
+
kind: _$zod.ZodLiteral<"source">;
|
|
875
|
+
filename: _$zod.ZodString;
|
|
876
|
+
source: _$zod.ZodString;
|
|
877
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
878
|
+
kind: _$zod.ZodLiteral<"definition">;
|
|
879
|
+
workflowId: _$zod.ZodString;
|
|
880
|
+
}, _$zod_v4_core0.$strict>], "kind">>;
|
|
881
|
+
requirements: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
882
|
+
maxRuntimeMs: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
883
|
+
persistentStorage: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
884
|
+
customCapabilities: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
|
|
885
|
+
recoverableAllocation: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
886
|
+
materializationModes: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodEnum<{
|
|
887
|
+
"local-directory": "local-directory";
|
|
888
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
889
|
+
}>>>;
|
|
890
|
+
}, _$zod_v4_core0.$strip>>;
|
|
891
|
+
successFinalizerId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
892
|
+
}, _$zod_v4_core0.$strip>>;
|
|
893
|
+
executionId: _$zod.ZodString;
|
|
894
|
+
workflowId: _$zod.ZodString;
|
|
895
|
+
triggerPayload: _$zod.ZodDefault<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
896
|
+
inputs: _$zod.ZodDefault<_$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
897
|
+
config: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
898
|
+
artifactRef: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
899
|
+
kind: _$zod.ZodString;
|
|
900
|
+
id: _$zod.ZodString;
|
|
901
|
+
}, _$zod_v4_core0.$strip>>;
|
|
902
|
+
scope: _$zod.ZodDefault<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
903
|
+
type: _$zod.ZodLiteral<"global">;
|
|
904
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
905
|
+
type: _$zod.ZodLiteral<"workspace">;
|
|
906
|
+
id: _$zod.ZodString;
|
|
907
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
908
|
+
type: _$zod.ZodLiteral<"session">;
|
|
909
|
+
id: _$zod.ZodString;
|
|
910
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
911
|
+
type: _$zod.ZodLiteral<"external">;
|
|
912
|
+
kind: _$zod.ZodString;
|
|
913
|
+
id: _$zod.ZodString;
|
|
914
|
+
}, _$zod_v4_core0.$strict>], "type">>;
|
|
915
|
+
busUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
916
|
+
busAuth: _$zod.ZodDefault<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
917
|
+
kind: _$zod.ZodLiteral<"none">;
|
|
918
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
919
|
+
kind: _$zod.ZodLiteral<"hmac">;
|
|
920
|
+
secret: _$zod.ZodString;
|
|
921
|
+
}, _$zod_v4_core0.$strict>], "kind">>;
|
|
922
|
+
env: _$zod.ZodDefault<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
923
|
+
coordinatorSessionId: _$zod.ZodString;
|
|
924
|
+
cancelSubject: _$zod.ZodString;
|
|
925
|
+
suspensionStrategy: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
926
|
+
"wait-in-process": "wait-in-process";
|
|
927
|
+
"exit-and-redispatch": "exit-and-redispatch";
|
|
928
|
+
"exit-and-resume": "exit-and-resume";
|
|
929
|
+
}>>;
|
|
930
|
+
terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
931
|
+
worker: "worker";
|
|
932
|
+
authority: "authority";
|
|
933
|
+
}>>;
|
|
934
|
+
materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
935
|
+
kind: _$zod.ZodLiteral<"local-directory">;
|
|
936
|
+
workspaceId: _$zod.ZodString;
|
|
937
|
+
rootDigest: _$zod.ZodString;
|
|
938
|
+
sourcePath: _$zod.ZodString;
|
|
939
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
940
|
+
kind: _$zod.ZodLiteral<"workspace-snapshot">;
|
|
941
|
+
snapshotId: _$zod.ZodString;
|
|
942
|
+
digest: _$zod.ZodString;
|
|
943
|
+
sourcePath: _$zod.ZodString;
|
|
944
|
+
}, _$zod_v4_core0.$strict>], "kind">>;
|
|
945
|
+
}, _$zod_v4_core0.$strip>;
|
|
946
|
+
manifest: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
947
|
+
contributionRefs: _$zod.ZodArray<_$zod.ZodObject<{
|
|
948
|
+
packageName: _$zod.ZodString;
|
|
949
|
+
version: _$zod.ZodString;
|
|
950
|
+
entrypoint: _$zod.ZodString;
|
|
951
|
+
integrity: _$zod.ZodString;
|
|
952
|
+
}, _$zod_v4_core0.$strict>>;
|
|
953
|
+
}, _$zod_v4_core0.$strict>>;
|
|
954
|
+
requirements: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
955
|
+
maxRuntimeMs: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
956
|
+
persistentStorage: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
957
|
+
customCapabilities: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
|
|
958
|
+
recoverableAllocation: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
959
|
+
materializationModes: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodEnum<{
|
|
960
|
+
"local-directory": "local-directory";
|
|
961
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
962
|
+
}>>>;
|
|
963
|
+
}, _$zod_v4_core0.$strip>>;
|
|
964
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
965
|
+
}, _$zod_v4_core0.$strip>;
|
|
966
|
+
response: _$zod.ZodObject<{
|
|
967
|
+
executionAttemptId: _$zod.ZodString;
|
|
968
|
+
allocationRef: _$zod.ZodObject<{
|
|
969
|
+
version: _$zod.ZodLiteral<1>;
|
|
970
|
+
providerId: _$zod.ZodString;
|
|
971
|
+
providerData: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
972
|
+
}, _$zod_v4_core0.$strict>;
|
|
973
|
+
}, _$zod_v4_core0.$strict>;
|
|
974
|
+
};
|
|
975
|
+
'control.attempt-ready': _$zod.ZodObject<{
|
|
976
|
+
executionAttemptId: _$zod.ZodString;
|
|
977
|
+
executionId: _$zod.ZodString;
|
|
978
|
+
adapters: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
|
|
979
|
+
}, _$zod_v4_core0.$strict>;
|
|
980
|
+
'control.outcome.submit': {
|
|
981
|
+
request: _$zod.ZodObject<{
|
|
982
|
+
executionAttemptId: _$zod.ZodString;
|
|
983
|
+
executionId: _$zod.ZodString;
|
|
984
|
+
result: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
985
|
+
executionId: _$zod.ZodString;
|
|
986
|
+
workflowId: _$zod.ZodString;
|
|
987
|
+
status: _$zod.ZodLiteral<"completed">;
|
|
988
|
+
artifact: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
989
|
+
kind: _$zod.ZodString;
|
|
990
|
+
id: _$zod.ZodString;
|
|
991
|
+
revision: _$zod.ZodString;
|
|
992
|
+
scope: _$zod.ZodObject<{
|
|
993
|
+
level: _$zod.ZodString;
|
|
994
|
+
ids: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
995
|
+
}, _$zod_v4_core0.$strip>;
|
|
996
|
+
schemaVersion: _$zod.ZodString;
|
|
997
|
+
data: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
998
|
+
relations: _$zod.ZodArray<_$zod.ZodObject<{
|
|
999
|
+
type: _$zod.ZodString;
|
|
1000
|
+
target: _$zod.ZodPreprocess<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1001
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
|
|
1002
|
+
kind: _$zod.ZodString;
|
|
1003
|
+
id: _$zod.ZodString;
|
|
1004
|
+
revision: _$zod.ZodString;
|
|
1005
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1006
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"local">>;
|
|
1007
|
+
artifact: _$zod.ZodObject<{
|
|
1008
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
|
|
1009
|
+
kind: _$zod.ZodString;
|
|
1010
|
+
id: _$zod.ZodString;
|
|
1011
|
+
revision: _$zod.ZodString;
|
|
1012
|
+
}, _$zod_v4_core0.$strip>;
|
|
1013
|
+
localId: _$zod.ZodString;
|
|
1014
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1015
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"evidence">>;
|
|
1016
|
+
kind: _$zod.ZodString;
|
|
1017
|
+
id: _$zod.ZodString;
|
|
1018
|
+
revision: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1019
|
+
locator: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1020
|
+
}, _$zod_v4_core0.$strip>], "refClass">>;
|
|
1021
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1022
|
+
confidence: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1023
|
+
level: _$zod.ZodEnum<{
|
|
1024
|
+
inferred: "inferred";
|
|
1025
|
+
assumed: "assumed";
|
|
1026
|
+
stated: "stated";
|
|
1027
|
+
confirmed: "confirmed";
|
|
1028
|
+
verified: "verified";
|
|
1029
|
+
}>;
|
|
1030
|
+
basis: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1031
|
+
kind: _$zod.ZodString;
|
|
1032
|
+
actor: _$zod.ZodObject<{
|
|
1033
|
+
kind: _$zod.ZodString;
|
|
1034
|
+
id: _$zod.ZodString;
|
|
1035
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1036
|
+
}, _$zod_v4_core0.$strip>;
|
|
1037
|
+
timestamp: _$zod.ZodNumber;
|
|
1038
|
+
detail: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1039
|
+
evidenceRef: _$zod.ZodOptional<_$zod.ZodPreprocess<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1040
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
|
|
1041
|
+
kind: _$zod.ZodString;
|
|
1042
|
+
id: _$zod.ZodString;
|
|
1043
|
+
revision: _$zod.ZodString;
|
|
1044
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1045
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"local">>;
|
|
1046
|
+
artifact: _$zod.ZodObject<{
|
|
1047
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
|
|
1048
|
+
kind: _$zod.ZodString;
|
|
1049
|
+
id: _$zod.ZodString;
|
|
1050
|
+
revision: _$zod.ZodString;
|
|
1051
|
+
}, _$zod_v4_core0.$strip>;
|
|
1052
|
+
localId: _$zod.ZodString;
|
|
1053
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1054
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"evidence">>;
|
|
1055
|
+
kind: _$zod.ZodString;
|
|
1056
|
+
id: _$zod.ZodString;
|
|
1057
|
+
revision: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1058
|
+
locator: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1059
|
+
}, _$zod_v4_core0.$strip>], "refClass">>>;
|
|
1060
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1061
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1062
|
+
representations: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1063
|
+
markdown: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1064
|
+
summary: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1065
|
+
plaintext: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1066
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1067
|
+
actor: _$zod.ZodObject<{
|
|
1068
|
+
kind: _$zod.ZodString;
|
|
1069
|
+
id: _$zod.ZodString;
|
|
1070
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1071
|
+
}, _$zod_v4_core0.$strip>;
|
|
1072
|
+
timestamp: _$zod.ZodNumber;
|
|
1073
|
+
createdAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1074
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1075
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1076
|
+
executionId: _$zod.ZodString;
|
|
1077
|
+
workflowId: _$zod.ZodString;
|
|
1078
|
+
status: _$zod.ZodLiteral<"failed">;
|
|
1079
|
+
error: _$zod.ZodString;
|
|
1080
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1081
|
+
executionId: _$zod.ZodString;
|
|
1082
|
+
workflowId: _$zod.ZodString;
|
|
1083
|
+
status: _$zod.ZodLiteral<"cancelled">;
|
|
1084
|
+
reason: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1085
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1086
|
+
executionId: _$zod.ZodString;
|
|
1087
|
+
workflowId: _$zod.ZodString;
|
|
1088
|
+
status: _$zod.ZodLiteral<"paused">;
|
|
1089
|
+
pausedAtGateId: _$zod.ZodString;
|
|
1090
|
+
pausedAtFrameId: _$zod.ZodString;
|
|
1091
|
+
}, _$zod_v4_core0.$strict>], "status">;
|
|
1092
|
+
}, _$zod_v4_core0.$strict>;
|
|
1093
|
+
response: _$zod.ZodObject<{
|
|
1094
|
+
decision: _$zod.ZodEnum<{
|
|
1095
|
+
accepted: "accepted";
|
|
1096
|
+
duplicate: "duplicate";
|
|
1097
|
+
conflict: "conflict";
|
|
1098
|
+
fenced: "fenced";
|
|
1099
|
+
}>;
|
|
1100
|
+
}, _$zod_v4_core0.$strict>;
|
|
1101
|
+
};
|
|
1102
|
+
'control.bootstrap.claim': {
|
|
1103
|
+
request: _$zod.ZodObject<{
|
|
1104
|
+
executionId: _$zod.ZodString;
|
|
1105
|
+
executionAttemptId: _$zod.ZodString;
|
|
1106
|
+
}, _$zod_v4_core0.$strict>;
|
|
1107
|
+
response: _$zod.ZodObject<{
|
|
1108
|
+
busUrl: _$zod.ZodString;
|
|
1109
|
+
busAuthSecret: _$zod.ZodString;
|
|
1110
|
+
}, _$zod_v4_core0.$strict>;
|
|
1111
|
+
};
|
|
1112
|
+
'lifecycle.provisioning': _$zod.ZodObject<{
|
|
1113
|
+
executionAttemptId: _$zod.ZodString;
|
|
1114
|
+
executionId: _$zod.ZodString;
|
|
1115
|
+
environment: _$zod.ZodString;
|
|
1116
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1117
|
+
}, _$zod_v4_core0.$strip>;
|
|
1118
|
+
'lifecycle.booting': _$zod.ZodObject<{
|
|
1119
|
+
executionAttemptId: _$zod.ZodString;
|
|
1120
|
+
executionId: _$zod.ZodString;
|
|
1121
|
+
environment: _$zod.ZodString;
|
|
1122
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1123
|
+
}, _$zod_v4_core0.$strip>;
|
|
1124
|
+
'lifecycle.ready': _$zod.ZodObject<{
|
|
1125
|
+
executionAttemptId: _$zod.ZodString;
|
|
1126
|
+
executionId: _$zod.ZodString;
|
|
1127
|
+
environment: _$zod.ZodString;
|
|
1128
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1129
|
+
adapters: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1130
|
+
}, _$zod_v4_core0.$strip>;
|
|
1131
|
+
'lifecycle.busy': _$zod.ZodObject<{
|
|
1132
|
+
executionAttemptId: _$zod.ZodString;
|
|
1133
|
+
executionId: _$zod.ZodString;
|
|
1134
|
+
environment: _$zod.ZodString;
|
|
1135
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1136
|
+
}, _$zod_v4_core0.$strip>;
|
|
1137
|
+
'lifecycle.completed': _$zod.ZodObject<{
|
|
1138
|
+
executionAttemptId: _$zod.ZodString;
|
|
1139
|
+
executionId: _$zod.ZodString;
|
|
1140
|
+
environment: _$zod.ZodString;
|
|
1141
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1142
|
+
}, _$zod_v4_core0.$strip>;
|
|
1143
|
+
'lifecycle.failed': _$zod.ZodObject<{
|
|
1144
|
+
executionAttemptId: _$zod.ZodString;
|
|
1145
|
+
executionId: _$zod.ZodString;
|
|
1146
|
+
environment: _$zod.ZodString;
|
|
1147
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1148
|
+
error: _$zod.ZodString;
|
|
1149
|
+
}, _$zod_v4_core0.$strip>;
|
|
1150
|
+
'lifecycle.terminated': _$zod.ZodObject<{
|
|
1151
|
+
executionAttemptId: _$zod.ZodString;
|
|
1152
|
+
executionId: _$zod.ZodString;
|
|
1153
|
+
environment: _$zod.ZodString;
|
|
1154
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1155
|
+
reason: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1156
|
+
}, _$zod_v4_core0.$strip>;
|
|
1157
|
+
'lifecycle.paused': _$zod.ZodObject<{
|
|
1158
|
+
executionAttemptId: _$zod.ZodString;
|
|
1159
|
+
executionId: _$zod.ZodString;
|
|
1160
|
+
environment: _$zod.ZodString;
|
|
1161
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1162
|
+
pausedAtGateId: _$zod.ZodString;
|
|
1163
|
+
pausedAtFrameId: _$zod.ZodString;
|
|
1164
|
+
}, _$zod_v4_core0.$strip>;
|
|
1165
|
+
}>;
|
|
1166
|
+
/**
|
|
1167
|
+
* Typed subject tokens for the `worker-node` bus namespace.
|
|
1168
|
+
*
|
|
1169
|
+
* Use these tokens in `bus.on()`, `bus.emit()`, and `bus.request()` calls
|
|
1170
|
+
* instead of raw subject strings to get schema validation and type inference.
|
|
1171
|
+
* @example
|
|
1172
|
+
* ```typescript
|
|
1173
|
+
* bus.on(WorkerNodeSubjects.lifecycle.ready, (payload) => {
|
|
1174
|
+
* console.log('node ready', payload.executionAttemptId);
|
|
1175
|
+
* });
|
|
1176
|
+
* ```
|
|
1177
|
+
*/
|
|
1178
|
+
declare const WorkerNodeSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"worker-node", {
|
|
1179
|
+
dispatch: {
|
|
1180
|
+
request: _$zod.ZodObject<{
|
|
1181
|
+
executionAttemptId: _$zod.ZodString;
|
|
1182
|
+
config: _$zod.ZodObject<{
|
|
1183
|
+
source: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1184
|
+
kind: _$zod.ZodLiteral<"path">;
|
|
1185
|
+
path: _$zod.ZodString;
|
|
1186
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1187
|
+
kind: _$zod.ZodLiteral<"source">;
|
|
1188
|
+
filename: _$zod.ZodString;
|
|
1189
|
+
source: _$zod.ZodString;
|
|
1190
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1191
|
+
kind: _$zod.ZodLiteral<"definition">;
|
|
1192
|
+
workflowId: _$zod.ZodString;
|
|
1193
|
+
}, _$zod_v4_core0.$strict>], "kind">;
|
|
1194
|
+
definition: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1195
|
+
id: _$zod.ZodString;
|
|
1196
|
+
name: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1197
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1198
|
+
inputSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1199
|
+
configSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1200
|
+
outputSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1201
|
+
state: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1202
|
+
schema: _$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
1203
|
+
initial: _$zod.ZodOptional<_$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
1204
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1205
|
+
artifact: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1206
|
+
kind: _$zod.ZodString;
|
|
1207
|
+
schemaVersion: _$zod.ZodString;
|
|
1208
|
+
scope: _$zod.ZodObject<{
|
|
1209
|
+
level: _$zod.ZodString;
|
|
1210
|
+
ids: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1211
|
+
}, _$zod_v4_core0.$strip>;
|
|
1212
|
+
resolve: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1213
|
+
create: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1214
|
+
statusPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1215
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1216
|
+
root: _$zod.ZodObject<{
|
|
1217
|
+
id: _$zod.ZodString;
|
|
1218
|
+
when: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1219
|
+
skip: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1220
|
+
writes: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1221
|
+
kind: _$zod.ZodString;
|
|
1222
|
+
schemaVersion: _$zod.ZodString;
|
|
1223
|
+
scope: _$zod.ZodObject<{
|
|
1224
|
+
level: _$zod.ZodString;
|
|
1225
|
+
ids: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1226
|
+
}, _$zod_v4_core0.$strip>;
|
|
1227
|
+
dataExpression: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1228
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
1229
|
+
type: _$zod.ZodLiteral<"sequence">;
|
|
1230
|
+
nodes: _$zod.ZodLazy<_$zod.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
1231
|
+
}, _$zod_v4_core0.$strip>;
|
|
1232
|
+
triggers: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1233
|
+
type: _$zod.ZodLiteral<"manual">;
|
|
1234
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1235
|
+
type: _$zod.ZodLiteral<"cron">;
|
|
1236
|
+
schedule: _$zod.ZodString;
|
|
1237
|
+
timezone: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1238
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1239
|
+
type: _$zod.ZodLiteral<"webhook">;
|
|
1240
|
+
event: _$zod.ZodString;
|
|
1241
|
+
branch: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1242
|
+
repo: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1243
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1244
|
+
type: _$zod.ZodLiteral<"extension">;
|
|
1245
|
+
extensionType: _$zod.ZodString;
|
|
1246
|
+
config: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1247
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1248
|
+
type: _$zod.ZodLiteral<"bus-event">;
|
|
1249
|
+
subject: _$zod.ZodString;
|
|
1250
|
+
filter: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodNull]>, _$zod.ZodObject<{
|
|
1251
|
+
$in: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodNull]>>;
|
|
1252
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1253
|
+
$ne: _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodNull]>;
|
|
1254
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1255
|
+
$exists: _$zod.ZodBoolean;
|
|
1256
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1257
|
+
$startsWith: _$zod.ZodString;
|
|
1258
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1259
|
+
$endsWith: _$zod.ZodString;
|
|
1260
|
+
}, _$zod_v4_core0.$strict>]>>>;
|
|
1261
|
+
filterExpression: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1262
|
+
}, _$zod_v4_core0.$strip>], "type">>>;
|
|
1263
|
+
scope: _$zod.ZodDefault<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1264
|
+
type: _$zod.ZodLiteral<"global">;
|
|
1265
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1266
|
+
type: _$zod.ZodLiteral<"workspace">;
|
|
1267
|
+
id: _$zod.ZodString;
|
|
1268
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1269
|
+
type: _$zod.ZodLiteral<"session">;
|
|
1270
|
+
id: _$zod.ZodString;
|
|
1271
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1272
|
+
type: _$zod.ZodLiteral<"external">;
|
|
1273
|
+
kind: _$zod.ZodString;
|
|
1274
|
+
id: _$zod.ZodString;
|
|
1275
|
+
}, _$zod_v4_core0.$strict>], "type">>;
|
|
1276
|
+
canvasLayout: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
1277
|
+
source: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1278
|
+
kind: _$zod.ZodLiteral<"editor">;
|
|
1279
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1280
|
+
kind: _$zod.ZodLiteral<"extension">;
|
|
1281
|
+
extension: _$zod.ZodString;
|
|
1282
|
+
externalId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1283
|
+
syncedAt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1284
|
+
metadata: _$zod.ZodDefault<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1285
|
+
}, _$zod_v4_core0.$strict>], "kind">>;
|
|
1286
|
+
executableSource: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1287
|
+
kind: _$zod.ZodLiteral<"path">;
|
|
1288
|
+
path: _$zod.ZodString;
|
|
1289
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1290
|
+
kind: _$zod.ZodLiteral<"source">;
|
|
1291
|
+
filename: _$zod.ZodString;
|
|
1292
|
+
source: _$zod.ZodString;
|
|
1293
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1294
|
+
kind: _$zod.ZodLiteral<"definition">;
|
|
1295
|
+
workflowId: _$zod.ZodString;
|
|
1296
|
+
}, _$zod_v4_core0.$strict>], "kind">>;
|
|
1297
|
+
requirements: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1298
|
+
maxRuntimeMs: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1299
|
+
persistentStorage: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1300
|
+
customCapabilities: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1301
|
+
recoverableAllocation: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1302
|
+
materializationModes: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodEnum<{
|
|
1303
|
+
"local-directory": "local-directory";
|
|
1304
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
1305
|
+
}>>>;
|
|
1306
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1307
|
+
successFinalizerId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1308
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1309
|
+
executionId: _$zod.ZodString;
|
|
1310
|
+
workflowId: _$zod.ZodString;
|
|
1311
|
+
triggerPayload: _$zod.ZodDefault<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1312
|
+
inputs: _$zod.ZodDefault<_$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
1313
|
+
config: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1314
|
+
artifactRef: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1315
|
+
kind: _$zod.ZodString;
|
|
1316
|
+
id: _$zod.ZodString;
|
|
1317
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1318
|
+
scope: _$zod.ZodDefault<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1319
|
+
type: _$zod.ZodLiteral<"global">;
|
|
1320
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1321
|
+
type: _$zod.ZodLiteral<"workspace">;
|
|
1322
|
+
id: _$zod.ZodString;
|
|
1323
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1324
|
+
type: _$zod.ZodLiteral<"session">;
|
|
1325
|
+
id: _$zod.ZodString;
|
|
1326
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1327
|
+
type: _$zod.ZodLiteral<"external">;
|
|
1328
|
+
kind: _$zod.ZodString;
|
|
1329
|
+
id: _$zod.ZodString;
|
|
1330
|
+
}, _$zod_v4_core0.$strict>], "type">>;
|
|
1331
|
+
busUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1332
|
+
busAuth: _$zod.ZodDefault<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1333
|
+
kind: _$zod.ZodLiteral<"none">;
|
|
1334
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1335
|
+
kind: _$zod.ZodLiteral<"hmac">;
|
|
1336
|
+
secret: _$zod.ZodString;
|
|
1337
|
+
}, _$zod_v4_core0.$strict>], "kind">>;
|
|
1338
|
+
env: _$zod.ZodDefault<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1339
|
+
coordinatorSessionId: _$zod.ZodString;
|
|
1340
|
+
cancelSubject: _$zod.ZodString;
|
|
1341
|
+
suspensionStrategy: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
1342
|
+
"wait-in-process": "wait-in-process";
|
|
1343
|
+
"exit-and-redispatch": "exit-and-redispatch";
|
|
1344
|
+
"exit-and-resume": "exit-and-resume";
|
|
1345
|
+
}>>;
|
|
1346
|
+
terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1347
|
+
worker: "worker";
|
|
1348
|
+
authority: "authority";
|
|
1349
|
+
}>>;
|
|
1350
|
+
materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1351
|
+
kind: _$zod.ZodLiteral<"local-directory">;
|
|
1352
|
+
workspaceId: _$zod.ZodString;
|
|
1353
|
+
rootDigest: _$zod.ZodString;
|
|
1354
|
+
sourcePath: _$zod.ZodString;
|
|
1355
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1356
|
+
kind: _$zod.ZodLiteral<"workspace-snapshot">;
|
|
1357
|
+
snapshotId: _$zod.ZodString;
|
|
1358
|
+
digest: _$zod.ZodString;
|
|
1359
|
+
sourcePath: _$zod.ZodString;
|
|
1360
|
+
}, _$zod_v4_core0.$strict>], "kind">>;
|
|
1361
|
+
}, _$zod_v4_core0.$strip>;
|
|
1362
|
+
manifest: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1363
|
+
contributionRefs: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1364
|
+
packageName: _$zod.ZodString;
|
|
1365
|
+
version: _$zod.ZodString;
|
|
1366
|
+
entrypoint: _$zod.ZodString;
|
|
1367
|
+
integrity: _$zod.ZodString;
|
|
1368
|
+
}, _$zod_v4_core0.$strict>>;
|
|
1369
|
+
}, _$zod_v4_core0.$strict>>;
|
|
1370
|
+
requirements: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1371
|
+
maxRuntimeMs: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1372
|
+
persistentStorage: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1373
|
+
customCapabilities: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1374
|
+
recoverableAllocation: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1375
|
+
materializationModes: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodEnum<{
|
|
1376
|
+
"local-directory": "local-directory";
|
|
1377
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
1378
|
+
}>>>;
|
|
1379
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1380
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1381
|
+
}, _$zod_v4_core0.$strip>;
|
|
1382
|
+
response: _$zod.ZodObject<{
|
|
1383
|
+
executionAttemptId: _$zod.ZodString;
|
|
1384
|
+
allocationRef: _$zod.ZodObject<{
|
|
1385
|
+
version: _$zod.ZodLiteral<1>;
|
|
1386
|
+
providerId: _$zod.ZodString;
|
|
1387
|
+
providerData: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1388
|
+
}, _$zod_v4_core0.$strict>;
|
|
1389
|
+
}, _$zod_v4_core0.$strict>;
|
|
1390
|
+
};
|
|
1391
|
+
'control.attempt-ready': _$zod.ZodObject<{
|
|
1392
|
+
executionAttemptId: _$zod.ZodString;
|
|
1393
|
+
executionId: _$zod.ZodString;
|
|
1394
|
+
adapters: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1395
|
+
}, _$zod_v4_core0.$strict>;
|
|
1396
|
+
'control.outcome.submit': {
|
|
1397
|
+
request: _$zod.ZodObject<{
|
|
1398
|
+
executionAttemptId: _$zod.ZodString;
|
|
1399
|
+
executionId: _$zod.ZodString;
|
|
1400
|
+
result: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1401
|
+
executionId: _$zod.ZodString;
|
|
1402
|
+
workflowId: _$zod.ZodString;
|
|
1403
|
+
status: _$zod.ZodLiteral<"completed">;
|
|
1404
|
+
artifact: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1405
|
+
kind: _$zod.ZodString;
|
|
1406
|
+
id: _$zod.ZodString;
|
|
1407
|
+
revision: _$zod.ZodString;
|
|
1408
|
+
scope: _$zod.ZodObject<{
|
|
1409
|
+
level: _$zod.ZodString;
|
|
1410
|
+
ids: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1411
|
+
}, _$zod_v4_core0.$strip>;
|
|
1412
|
+
schemaVersion: _$zod.ZodString;
|
|
1413
|
+
data: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1414
|
+
relations: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1415
|
+
type: _$zod.ZodString;
|
|
1416
|
+
target: _$zod.ZodPreprocess<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1417
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
|
|
1418
|
+
kind: _$zod.ZodString;
|
|
1419
|
+
id: _$zod.ZodString;
|
|
1420
|
+
revision: _$zod.ZodString;
|
|
1421
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1422
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"local">>;
|
|
1423
|
+
artifact: _$zod.ZodObject<{
|
|
1424
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
|
|
1425
|
+
kind: _$zod.ZodString;
|
|
1426
|
+
id: _$zod.ZodString;
|
|
1427
|
+
revision: _$zod.ZodString;
|
|
1428
|
+
}, _$zod_v4_core0.$strip>;
|
|
1429
|
+
localId: _$zod.ZodString;
|
|
1430
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1431
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"evidence">>;
|
|
1432
|
+
kind: _$zod.ZodString;
|
|
1433
|
+
id: _$zod.ZodString;
|
|
1434
|
+
revision: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1435
|
+
locator: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1436
|
+
}, _$zod_v4_core0.$strip>], "refClass">>;
|
|
1437
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1438
|
+
confidence: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1439
|
+
level: _$zod.ZodEnum<{
|
|
1440
|
+
inferred: "inferred";
|
|
1441
|
+
assumed: "assumed";
|
|
1442
|
+
stated: "stated";
|
|
1443
|
+
confirmed: "confirmed";
|
|
1444
|
+
verified: "verified";
|
|
1445
|
+
}>;
|
|
1446
|
+
basis: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1447
|
+
kind: _$zod.ZodString;
|
|
1448
|
+
actor: _$zod.ZodObject<{
|
|
1449
|
+
kind: _$zod.ZodString;
|
|
1450
|
+
id: _$zod.ZodString;
|
|
1451
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1452
|
+
}, _$zod_v4_core0.$strip>;
|
|
1453
|
+
timestamp: _$zod.ZodNumber;
|
|
1454
|
+
detail: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1455
|
+
evidenceRef: _$zod.ZodOptional<_$zod.ZodPreprocess<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1456
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
|
|
1457
|
+
kind: _$zod.ZodString;
|
|
1458
|
+
id: _$zod.ZodString;
|
|
1459
|
+
revision: _$zod.ZodString;
|
|
1460
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1461
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"local">>;
|
|
1462
|
+
artifact: _$zod.ZodObject<{
|
|
1463
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
|
|
1464
|
+
kind: _$zod.ZodString;
|
|
1465
|
+
id: _$zod.ZodString;
|
|
1466
|
+
revision: _$zod.ZodString;
|
|
1467
|
+
}, _$zod_v4_core0.$strip>;
|
|
1468
|
+
localId: _$zod.ZodString;
|
|
1469
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1470
|
+
refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"evidence">>;
|
|
1471
|
+
kind: _$zod.ZodString;
|
|
1472
|
+
id: _$zod.ZodString;
|
|
1473
|
+
revision: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1474
|
+
locator: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1475
|
+
}, _$zod_v4_core0.$strip>], "refClass">>>;
|
|
1476
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1477
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1478
|
+
representations: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1479
|
+
markdown: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1480
|
+
summary: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1481
|
+
plaintext: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1482
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1483
|
+
actor: _$zod.ZodObject<{
|
|
1484
|
+
kind: _$zod.ZodString;
|
|
1485
|
+
id: _$zod.ZodString;
|
|
1486
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1487
|
+
}, _$zod_v4_core0.$strip>;
|
|
1488
|
+
timestamp: _$zod.ZodNumber;
|
|
1489
|
+
createdAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1490
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1491
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1492
|
+
executionId: _$zod.ZodString;
|
|
1493
|
+
workflowId: _$zod.ZodString;
|
|
1494
|
+
status: _$zod.ZodLiteral<"failed">;
|
|
1495
|
+
error: _$zod.ZodString;
|
|
1496
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1497
|
+
executionId: _$zod.ZodString;
|
|
1498
|
+
workflowId: _$zod.ZodString;
|
|
1499
|
+
status: _$zod.ZodLiteral<"cancelled">;
|
|
1500
|
+
reason: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1501
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1502
|
+
executionId: _$zod.ZodString;
|
|
1503
|
+
workflowId: _$zod.ZodString;
|
|
1504
|
+
status: _$zod.ZodLiteral<"paused">;
|
|
1505
|
+
pausedAtGateId: _$zod.ZodString;
|
|
1506
|
+
pausedAtFrameId: _$zod.ZodString;
|
|
1507
|
+
}, _$zod_v4_core0.$strict>], "status">;
|
|
1508
|
+
}, _$zod_v4_core0.$strict>;
|
|
1509
|
+
response: _$zod.ZodObject<{
|
|
1510
|
+
decision: _$zod.ZodEnum<{
|
|
1511
|
+
accepted: "accepted";
|
|
1512
|
+
duplicate: "duplicate";
|
|
1513
|
+
conflict: "conflict";
|
|
1514
|
+
fenced: "fenced";
|
|
1515
|
+
}>;
|
|
1516
|
+
}, _$zod_v4_core0.$strict>;
|
|
1517
|
+
};
|
|
1518
|
+
'control.bootstrap.claim': {
|
|
1519
|
+
request: _$zod.ZodObject<{
|
|
1520
|
+
executionId: _$zod.ZodString;
|
|
1521
|
+
executionAttemptId: _$zod.ZodString;
|
|
1522
|
+
}, _$zod_v4_core0.$strict>;
|
|
1523
|
+
response: _$zod.ZodObject<{
|
|
1524
|
+
busUrl: _$zod.ZodString;
|
|
1525
|
+
busAuthSecret: _$zod.ZodString;
|
|
1526
|
+
}, _$zod_v4_core0.$strict>;
|
|
1527
|
+
};
|
|
1528
|
+
'lifecycle.provisioning': _$zod.ZodObject<{
|
|
1529
|
+
executionAttemptId: _$zod.ZodString;
|
|
1530
|
+
executionId: _$zod.ZodString;
|
|
1531
|
+
environment: _$zod.ZodString;
|
|
1532
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1533
|
+
}, _$zod_v4_core0.$strip>;
|
|
1534
|
+
'lifecycle.booting': _$zod.ZodObject<{
|
|
1535
|
+
executionAttemptId: _$zod.ZodString;
|
|
1536
|
+
executionId: _$zod.ZodString;
|
|
1537
|
+
environment: _$zod.ZodString;
|
|
1538
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1539
|
+
}, _$zod_v4_core0.$strip>;
|
|
1540
|
+
'lifecycle.ready': _$zod.ZodObject<{
|
|
1541
|
+
executionAttemptId: _$zod.ZodString;
|
|
1542
|
+
executionId: _$zod.ZodString;
|
|
1543
|
+
environment: _$zod.ZodString;
|
|
1544
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1545
|
+
adapters: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1546
|
+
}, _$zod_v4_core0.$strip>;
|
|
1547
|
+
'lifecycle.busy': _$zod.ZodObject<{
|
|
1548
|
+
executionAttemptId: _$zod.ZodString;
|
|
1549
|
+
executionId: _$zod.ZodString;
|
|
1550
|
+
environment: _$zod.ZodString;
|
|
1551
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1552
|
+
}, _$zod_v4_core0.$strip>;
|
|
1553
|
+
'lifecycle.completed': _$zod.ZodObject<{
|
|
1554
|
+
executionAttemptId: _$zod.ZodString;
|
|
1555
|
+
executionId: _$zod.ZodString;
|
|
1556
|
+
environment: _$zod.ZodString;
|
|
1557
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1558
|
+
}, _$zod_v4_core0.$strip>;
|
|
1559
|
+
'lifecycle.failed': _$zod.ZodObject<{
|
|
1560
|
+
executionAttemptId: _$zod.ZodString;
|
|
1561
|
+
executionId: _$zod.ZodString;
|
|
1562
|
+
environment: _$zod.ZodString;
|
|
1563
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1564
|
+
error: _$zod.ZodString;
|
|
1565
|
+
}, _$zod_v4_core0.$strip>;
|
|
1566
|
+
'lifecycle.terminated': _$zod.ZodObject<{
|
|
1567
|
+
executionAttemptId: _$zod.ZodString;
|
|
1568
|
+
executionId: _$zod.ZodString;
|
|
1569
|
+
environment: _$zod.ZodString;
|
|
1570
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1571
|
+
reason: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1572
|
+
}, _$zod_v4_core0.$strip>;
|
|
1573
|
+
'lifecycle.paused': _$zod.ZodObject<{
|
|
1574
|
+
executionAttemptId: _$zod.ZodString;
|
|
1575
|
+
executionId: _$zod.ZodString;
|
|
1576
|
+
environment: _$zod.ZodString;
|
|
1577
|
+
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1578
|
+
pausedAtGateId: _$zod.ZodString;
|
|
1579
|
+
pausedAtFrameId: _$zod.ZodString;
|
|
1580
|
+
}, _$zod_v4_core0.$strip>;
|
|
1581
|
+
}>, "worker-node">;
|
|
1582
|
+
//#endregion
|
|
1583
|
+
//#region core/contracts/src/worker-node/suspension.d.ts
|
|
1584
|
+
/**
|
|
1585
|
+
* Strategy a WorkerNode provider uses when a workflow reaches a suspension point.
|
|
1586
|
+
*
|
|
1587
|
+
* - `wait-in-process`: the worker blocks in-process until the gate is resolved
|
|
1588
|
+
* (default, suitable for local Piscina threads and in-process runners).
|
|
1589
|
+
* - `exit-and-redispatch`: the worker exits and is re-dispatched via a fresh
|
|
1590
|
+
* `provision()` call when the gate resolves; state must be externally persisted.
|
|
1591
|
+
* - `exit-and-resume`: the worker exits and is later resumed on its original
|
|
1592
|
+
* provider-managed environment via the provider's attach/resume path.
|
|
1593
|
+
*/
|
|
1594
|
+
declare const SuspensionStrategySchema: z.ZodEnum<{
|
|
1595
|
+
"wait-in-process": "wait-in-process";
|
|
1596
|
+
"exit-and-redispatch": "exit-and-redispatch";
|
|
1597
|
+
"exit-and-resume": "exit-and-resume";
|
|
1598
|
+
}>;
|
|
1599
|
+
/** Provider suspension behavior selected for a workflow execution. */
|
|
1600
|
+
type SuspensionStrategy = z.infer<typeof SuspensionStrategySchema>;
|
|
1601
|
+
//#endregion
|
|
1602
|
+
export { WorkerNodeSubjects$1 as a, WorkerNodeDispatchRequestSchema as c, WorkerNodeNamespace as i, WorkerNodeDispatchResponseSchema as l, SuspensionStrategySchema as n, WorkerBootstrapClaimRequest as o, WORKER_BOOTSTRAP_IDENTITY_ID as r, WorkerBootstrapClaimResponse$1 as s, SuspensionStrategy as t, WorkerNodeSchemas as u };
|