@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
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as ProviderOperationClaim, c as ProviderOperationObligation, i as ProcessBoundProvisionerLossProof, l as ProviderOperationOwnershipRecord, n as InitialProviderOperationClaimContextSource, o as ProviderOperationClaimDecision, r as PROVIDER_OPERATION_OBLIGATIONS, s as ProviderOperationMutationDecision, t as InitialProviderOperationClaimContext } from "../provider-operation-Cxoe2SUr.mjs";
|
|
2
|
+
import { A as RecoverableAttemptRecord, C as ProvisioningClaimDecision, D as RecordProviderOperationUncertaintyInput, E as RecordInfrastructureFailureInput, M as TakeOverProviderOperationInput, N as sameAllocationRef, O as RecordProvisionerIncarnationLostInput, P as sameWorkflowResult, S as ProvisioningAbsenceDecision, T as RecordAllocationTerminatedInput, _ as ExecutionAttemptStatus, a as BeginProvisioningInput, b as PendingAttemptAbandonmentDecision, c as EXECUTION_ATTEMPT_SETTLEMENT_KINDS, d as ExecutionAttemptOutcomeCommit, f as ExecutionAttemptOutcomeDecision, g as ExecutionAttemptSettlementKind, h as ExecutionAttemptRepository, i as AllocationTerminationDecision, j as RenewProviderOperationClaimInput, k as RecordProvisioningAbsentInput, l as EXECUTION_ATTEMPT_STATUSES, m as ExecutionAttemptRecoveryOperations, n as AllocationRefEvolution, o as DiscoveredAllocationDecision, p as ExecutionAttemptRecord, r as AllocationRefEvolutionDecision, s as DuplicateExecutionAttemptError, t as AllocationRecordingDecision, u as ExecutionAttemptCreate, v as HandoffProviderOperationInput, w as RecordAllocationInput, x as ProvisionerIncarnationLossDecision, y as InfrastructureFailureDecision } from "../execution-attempt-repository-DWXKY41_.mjs";
|
|
3
|
+
import { a as WorkflowEngineServiceOptions, c as WorkflowMaterializationSpecResolution, d as registerDrizzleWorkflowStorage, i as WorkflowEngineService, l as WorkflowMaterializationSpecResolver, n as createWorkflowEnginePackage, o as WorkflowExecutor, r as workflowEnginePackage, s as ExecutionAttemptAuthority, t as WorkflowEngineToken, u as WorkflowWorkspaceRootResolver } from "../package-DWMxGfzK.mjs";
|
|
2
4
|
import { z } from "zod";
|
|
3
5
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
4
6
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
5
7
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
6
|
-
import { JsonPatchOperation, JsonValue, WorkflowExecution, WorkflowExecutionSchema, WorkflowListQuerySchema, WorkflowRunResult, createWorkflowFinalizerNamespace } from "@makaio/framework/contracts";
|
|
8
|
+
import { JsonPatchOperation, JsonValue, WorkflowExecution, WorkflowExecutionSchema, WorkflowListQuerySchema, WorkflowRunResult, WorkflowRunnerCompletion, createWorkflowFinalizerNamespace } from "@makaio/framework/contracts";
|
|
7
9
|
import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
|
|
8
10
|
import * as _$drizzle_orm_pg_core0 from "drizzle-orm/pg-core";
|
|
9
11
|
import * as _$_makaio_storage_drizzle0 from "@makaio/framework/storage/drizzle";
|
|
@@ -21,6 +23,29 @@ interface WorkflowSuccessFinalizer {
|
|
|
21
23
|
readonly finalizeSubject: ReturnType<typeof createWorkflowFinalizerNamespace>['subjects']['finalize'];
|
|
22
24
|
}
|
|
23
25
|
//#endregion
|
|
26
|
+
//#region subsystems/workflow-engine/src/authority-dispatch-runner.d.ts
|
|
27
|
+
/**
|
|
28
|
+
* Inputs for dispatching an Authority-owned workflow attempt.
|
|
29
|
+
*/
|
|
30
|
+
interface AuthorityDispatchRunnerOptions {
|
|
31
|
+
/** Authority that persists and owns the execution attempt. */
|
|
32
|
+
readonly authority: ExecutionAttemptAuthority;
|
|
33
|
+
/** Workflow execution that owns the attempt. */
|
|
34
|
+
readonly executionId: string;
|
|
35
|
+
/** Dispatch operation whose successful return acknowledges acceptance. */
|
|
36
|
+
readonly dispatch: (executionAttemptId: string) => Promise<unknown>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Dispatch an Authority-owned attempt and await its canonical terminal outcome.
|
|
40
|
+
*
|
|
41
|
+
* A rejected dispatch operation is not proof that no provider received the
|
|
42
|
+
* request. The pending-abandonment CAS distinguishes a confirmed pre-allocation
|
|
43
|
+
* failure from a lost acknowledgement after provisioning, allocation, or settlement.
|
|
44
|
+
* @param options - Authority, execution identity, and dispatch operation.
|
|
45
|
+
* @returns The Authority-committed workflow completion.
|
|
46
|
+
*/
|
|
47
|
+
declare function runAuthorityDispatchedAttempt(options: AuthorityDispatchRunnerOptions): Promise<WorkflowRunnerCompletion>;
|
|
48
|
+
//#endregion
|
|
24
49
|
//#region subsystems/workflow-engine/src/storage/namespace.d.ts
|
|
25
50
|
/**
|
|
26
51
|
* Storage namespace for workflow persistence.
|
|
@@ -139,26 +164,28 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
139
164
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
140
165
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
141
166
|
}, z.core.$strict>], "kind">>;
|
|
167
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
168
|
+
kind: z.ZodLiteral<"path">;
|
|
169
|
+
path: z.ZodString;
|
|
170
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
171
|
+
kind: z.ZodLiteral<"source">;
|
|
172
|
+
filename: z.ZodString;
|
|
173
|
+
source: z.ZodString;
|
|
174
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
175
|
+
kind: z.ZodLiteral<"definition">;
|
|
176
|
+
workflowId: z.ZodString;
|
|
177
|
+
}, z.core.$strict>], "kind">>;
|
|
178
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
179
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
180
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
181
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
182
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
183
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
184
|
+
"local-directory": "local-directory";
|
|
185
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
186
|
+
}>>>;
|
|
187
|
+
}, z.core.$strip>>;
|
|
142
188
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
143
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
144
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
145
|
-
kind: z.ZodLiteral<"path">;
|
|
146
|
-
path: z.ZodString;
|
|
147
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
148
|
-
kind: z.ZodLiteral<"source">;
|
|
149
|
-
filename: z.ZodString;
|
|
150
|
-
source: z.ZodString;
|
|
151
|
-
}, z.core.$strict>], "kind">>;
|
|
152
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
153
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
154
|
-
local: "local";
|
|
155
|
-
remote: "remote";
|
|
156
|
-
container: "container";
|
|
157
|
-
}>>;
|
|
158
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
159
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
160
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
161
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
162
189
|
}, z.core.$strip>>;
|
|
163
190
|
}, z.core.$strip>;
|
|
164
191
|
};
|
|
@@ -256,26 +283,28 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
256
283
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
257
284
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
258
285
|
}, z.core.$strict>], "kind">>;
|
|
286
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
287
|
+
kind: z.ZodLiteral<"path">;
|
|
288
|
+
path: z.ZodString;
|
|
289
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
290
|
+
kind: z.ZodLiteral<"source">;
|
|
291
|
+
filename: z.ZodString;
|
|
292
|
+
source: z.ZodString;
|
|
293
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
294
|
+
kind: z.ZodLiteral<"definition">;
|
|
295
|
+
workflowId: z.ZodString;
|
|
296
|
+
}, z.core.$strict>], "kind">>;
|
|
297
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
298
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
299
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
300
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
301
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
302
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
303
|
+
"local-directory": "local-directory";
|
|
304
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
305
|
+
}>>>;
|
|
306
|
+
}, z.core.$strip>>;
|
|
259
307
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
260
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
261
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
262
|
-
kind: z.ZodLiteral<"path">;
|
|
263
|
-
path: z.ZodString;
|
|
264
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
265
|
-
kind: z.ZodLiteral<"source">;
|
|
266
|
-
filename: z.ZodString;
|
|
267
|
-
source: z.ZodString;
|
|
268
|
-
}, z.core.$strict>], "kind">>;
|
|
269
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
270
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
271
|
-
local: "local";
|
|
272
|
-
remote: "remote";
|
|
273
|
-
container: "container";
|
|
274
|
-
}>>;
|
|
275
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
276
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
277
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
278
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
279
308
|
}, z.core.$strip>;
|
|
280
309
|
}, z.core.$strip>;
|
|
281
310
|
response: z.ZodObject<{
|
|
@@ -399,26 +428,28 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
399
428
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
400
429
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
401
430
|
}, z.core.$strict>], "kind">>;
|
|
431
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
432
|
+
kind: z.ZodLiteral<"path">;
|
|
433
|
+
path: z.ZodString;
|
|
434
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
435
|
+
kind: z.ZodLiteral<"source">;
|
|
436
|
+
filename: z.ZodString;
|
|
437
|
+
source: z.ZodString;
|
|
438
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
439
|
+
kind: z.ZodLiteral<"definition">;
|
|
440
|
+
workflowId: z.ZodString;
|
|
441
|
+
}, z.core.$strict>], "kind">>;
|
|
442
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
443
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
444
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
445
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
446
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
447
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
448
|
+
"local-directory": "local-directory";
|
|
449
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
450
|
+
}>>>;
|
|
451
|
+
}, z.core.$strip>>;
|
|
402
452
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
403
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
404
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
405
|
-
kind: z.ZodLiteral<"path">;
|
|
406
|
-
path: z.ZodString;
|
|
407
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
408
|
-
kind: z.ZodLiteral<"source">;
|
|
409
|
-
filename: z.ZodString;
|
|
410
|
-
source: z.ZodString;
|
|
411
|
-
}, z.core.$strict>], "kind">>;
|
|
412
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
413
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
414
|
-
local: "local";
|
|
415
|
-
remote: "remote";
|
|
416
|
-
container: "container";
|
|
417
|
-
}>>;
|
|
418
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
419
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
420
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
421
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
422
453
|
}, z.core.$strip>>;
|
|
423
454
|
}, z.core.$strip>;
|
|
424
455
|
};
|
|
@@ -436,8 +467,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
436
467
|
completed: "completed";
|
|
437
468
|
cancelled: "cancelled";
|
|
438
469
|
failed: "failed";
|
|
439
|
-
running: "running";
|
|
440
470
|
paused: "paused";
|
|
471
|
+
running: "running";
|
|
441
472
|
finalizing: "finalizing";
|
|
442
473
|
}>;
|
|
443
474
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -478,8 +509,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
478
509
|
completed: "completed";
|
|
479
510
|
cancelled: "cancelled";
|
|
480
511
|
failed: "failed";
|
|
481
|
-
running: "running";
|
|
482
512
|
paused: "paused";
|
|
513
|
+
running: "running";
|
|
483
514
|
finalizing: "finalizing";
|
|
484
515
|
}>;
|
|
485
516
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -527,8 +558,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
527
558
|
completed: "completed";
|
|
528
559
|
cancelled: "cancelled";
|
|
529
560
|
failed: "failed";
|
|
530
|
-
running: "running";
|
|
531
561
|
paused: "paused";
|
|
562
|
+
running: "running";
|
|
532
563
|
finalizing: "finalizing";
|
|
533
564
|
}>;
|
|
534
565
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -662,33 +693,37 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
662
693
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
663
694
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
664
695
|
}, z.core.$strict>], "kind">>;
|
|
696
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
697
|
+
kind: z.ZodLiteral<"path">;
|
|
698
|
+
path: z.ZodString;
|
|
699
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
700
|
+
kind: z.ZodLiteral<"source">;
|
|
701
|
+
filename: z.ZodString;
|
|
702
|
+
source: z.ZodString;
|
|
703
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
704
|
+
kind: z.ZodLiteral<"definition">;
|
|
705
|
+
workflowId: z.ZodString;
|
|
706
|
+
}, z.core.$strict>], "kind">>;
|
|
707
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
708
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
709
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
710
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
711
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
712
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
713
|
+
"local-directory": "local-directory";
|
|
714
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
715
|
+
}>>>;
|
|
716
|
+
}, z.core.$strip>>;
|
|
665
717
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
666
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
667
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
668
|
-
kind: z.ZodLiteral<"path">;
|
|
669
|
-
path: z.ZodString;
|
|
670
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
671
|
-
kind: z.ZodLiteral<"source">;
|
|
672
|
-
filename: z.ZodString;
|
|
673
|
-
source: z.ZodString;
|
|
674
|
-
}, z.core.$strict>], "kind">>;
|
|
675
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
676
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
677
|
-
local: "local";
|
|
678
|
-
remote: "remote";
|
|
679
|
-
container: "container";
|
|
680
|
-
}>>;
|
|
681
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
682
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
683
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
684
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
685
718
|
}, z.core.$strip>>;
|
|
686
719
|
workerManifest: z.ZodDefault<z.ZodObject<{
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
720
|
+
contributionRefs: z.ZodArray<z.ZodObject<{
|
|
721
|
+
packageName: z.ZodString;
|
|
722
|
+
version: z.ZodString;
|
|
723
|
+
entrypoint: z.ZodString;
|
|
724
|
+
integrity: z.ZodString;
|
|
725
|
+
}, z.core.$strict>>;
|
|
726
|
+
}, z.core.$strict>>;
|
|
692
727
|
inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
693
728
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
694
729
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -710,38 +745,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
710
745
|
id: z.ZodString;
|
|
711
746
|
}, z.core.$strip>>;
|
|
712
747
|
coordinatorSessionId: z.ZodString;
|
|
713
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
714
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
715
|
-
kind: z.ZodLiteral<"path">;
|
|
716
|
-
path: z.ZodString;
|
|
717
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
718
|
-
kind: z.ZodLiteral<"source">;
|
|
719
|
-
filename: z.ZodString;
|
|
720
|
-
source: z.ZodString;
|
|
721
|
-
}, z.core.$strict>], "kind">>;
|
|
722
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
723
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
724
|
-
local: "local";
|
|
725
|
-
remote: "remote";
|
|
726
|
-
container: "container";
|
|
727
|
-
}>>;
|
|
728
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
729
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
730
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
731
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
732
748
|
dispatchMetadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
733
749
|
cancelSubject: z.ZodString;
|
|
734
|
-
context: z.ZodObject<{
|
|
735
|
-
repoPath: z.ZodString;
|
|
736
|
-
makaioHome: z.ZodString;
|
|
737
|
-
os: z.ZodEnum<{
|
|
738
|
-
darwin: "darwin";
|
|
739
|
-
linux: "linux";
|
|
740
|
-
win32: "win32";
|
|
741
|
-
}>;
|
|
742
|
-
arch: z.ZodString;
|
|
743
|
-
worktree: z.ZodOptional<z.ZodString>;
|
|
744
|
-
}, z.core.$strip>;
|
|
745
750
|
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
746
751
|
createdAt: z.ZodNumber;
|
|
747
752
|
suspensionStrategy: z.ZodDefault<z.ZodEnum<{
|
|
@@ -750,9 +755,20 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
750
755
|
"exit-and-resume": "exit-and-resume";
|
|
751
756
|
}>>;
|
|
752
757
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
753
|
-
authority: "authority";
|
|
754
758
|
worker: "worker";
|
|
759
|
+
authority: "authority";
|
|
755
760
|
}>>;
|
|
761
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
762
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
763
|
+
workspaceId: z.ZodString;
|
|
764
|
+
rootDigest: z.ZodString;
|
|
765
|
+
sourcePath: z.ZodString;
|
|
766
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
767
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
768
|
+
snapshotId: z.ZodString;
|
|
769
|
+
digest: z.ZodString;
|
|
770
|
+
sourcePath: z.ZodString;
|
|
771
|
+
}, z.core.$strict>], "kind">>;
|
|
756
772
|
}, z.core.$strip>;
|
|
757
773
|
initialState: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
758
774
|
executionLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -808,12 +824,12 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
808
824
|
frameId: z.ZodString;
|
|
809
825
|
nodeId: z.ZodString;
|
|
810
826
|
nodeType: z.ZodEnum<{
|
|
811
|
-
sequence: "sequence";
|
|
812
827
|
station: "station";
|
|
813
828
|
"delegate-agent": "delegate-agent";
|
|
814
829
|
"delegate-role": "delegate-role";
|
|
815
|
-
|
|
830
|
+
sequence: "sequence";
|
|
816
831
|
parallel: "parallel";
|
|
832
|
+
gate: "gate";
|
|
817
833
|
iterate: "iterate";
|
|
818
834
|
"iterate-chain": "iterate-chain";
|
|
819
835
|
loop: "loop";
|
|
@@ -853,12 +869,12 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
853
869
|
frameId: z.ZodString;
|
|
854
870
|
nodeId: z.ZodString;
|
|
855
871
|
nodeType: z.ZodEnum<{
|
|
856
|
-
sequence: "sequence";
|
|
857
872
|
station: "station";
|
|
858
873
|
"delegate-agent": "delegate-agent";
|
|
859
874
|
"delegate-role": "delegate-role";
|
|
860
|
-
|
|
875
|
+
sequence: "sequence";
|
|
861
876
|
parallel: "parallel";
|
|
877
|
+
gate: "gate";
|
|
862
878
|
iterate: "iterate";
|
|
863
879
|
"iterate-chain": "iterate-chain";
|
|
864
880
|
loop: "loop";
|
|
@@ -893,8 +909,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
893
909
|
completed: "completed";
|
|
894
910
|
cancelled: "cancelled";
|
|
895
911
|
failed: "failed";
|
|
896
|
-
running: "running";
|
|
897
912
|
paused: "paused";
|
|
913
|
+
running: "running";
|
|
898
914
|
finalizing: "finalizing";
|
|
899
915
|
}>>;
|
|
900
916
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1090,8 +1106,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1090
1106
|
completed: "completed";
|
|
1091
1107
|
cancelled: "cancelled";
|
|
1092
1108
|
failed: "failed";
|
|
1093
|
-
running: "running";
|
|
1094
1109
|
paused: "paused";
|
|
1110
|
+
running: "running";
|
|
1095
1111
|
finalizing: "finalizing";
|
|
1096
1112
|
}>>;
|
|
1097
1113
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -1114,8 +1130,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1114
1130
|
completed: "completed";
|
|
1115
1131
|
cancelled: "cancelled";
|
|
1116
1132
|
failed: "failed";
|
|
1117
|
-
running: "running";
|
|
1118
1133
|
paused: "paused";
|
|
1134
|
+
running: "running";
|
|
1119
1135
|
finalizing: "finalizing";
|
|
1120
1136
|
}>;
|
|
1121
1137
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -1167,8 +1183,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1167
1183
|
completed: "completed";
|
|
1168
1184
|
cancelled: "cancelled";
|
|
1169
1185
|
failed: "failed";
|
|
1170
|
-
running: "running";
|
|
1171
1186
|
paused: "paused";
|
|
1187
|
+
running: "running";
|
|
1172
1188
|
finalizing: "finalizing";
|
|
1173
1189
|
}>;
|
|
1174
1190
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -1211,12 +1227,12 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1211
1227
|
frameId: z.ZodString;
|
|
1212
1228
|
nodeId: z.ZodString;
|
|
1213
1229
|
nodeType: z.ZodEnum<{
|
|
1214
|
-
sequence: "sequence";
|
|
1215
1230
|
station: "station";
|
|
1216
1231
|
"delegate-agent": "delegate-agent";
|
|
1217
1232
|
"delegate-role": "delegate-role";
|
|
1218
|
-
|
|
1233
|
+
sequence: "sequence";
|
|
1219
1234
|
parallel: "parallel";
|
|
1235
|
+
gate: "gate";
|
|
1220
1236
|
iterate: "iterate";
|
|
1221
1237
|
"iterate-chain": "iterate-chain";
|
|
1222
1238
|
loop: "loop";
|
|
@@ -1257,12 +1273,12 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1257
1273
|
frameId: z.ZodString;
|
|
1258
1274
|
nodeId: z.ZodString;
|
|
1259
1275
|
nodeType: z.ZodEnum<{
|
|
1260
|
-
sequence: "sequence";
|
|
1261
1276
|
station: "station";
|
|
1262
1277
|
"delegate-agent": "delegate-agent";
|
|
1263
1278
|
"delegate-role": "delegate-role";
|
|
1264
|
-
|
|
1279
|
+
sequence: "sequence";
|
|
1265
1280
|
parallel: "parallel";
|
|
1281
|
+
gate: "gate";
|
|
1266
1282
|
iterate: "iterate";
|
|
1267
1283
|
"iterate-chain": "iterate-chain";
|
|
1268
1284
|
loop: "loop";
|
|
@@ -1300,12 +1316,12 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1300
1316
|
frameId: z.ZodString;
|
|
1301
1317
|
nodeId: z.ZodString;
|
|
1302
1318
|
nodeType: z.ZodEnum<{
|
|
1303
|
-
sequence: "sequence";
|
|
1304
1319
|
station: "station";
|
|
1305
1320
|
"delegate-agent": "delegate-agent";
|
|
1306
1321
|
"delegate-role": "delegate-role";
|
|
1307
|
-
|
|
1322
|
+
sequence: "sequence";
|
|
1308
1323
|
parallel: "parallel";
|
|
1324
|
+
gate: "gate";
|
|
1309
1325
|
iterate: "iterate";
|
|
1310
1326
|
"iterate-chain": "iterate-chain";
|
|
1311
1327
|
loop: "loop";
|
|
@@ -1783,33 +1799,37 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1783
1799
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
1784
1800
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1785
1801
|
}, z.core.$strict>], "kind">>;
|
|
1802
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1803
|
+
kind: z.ZodLiteral<"path">;
|
|
1804
|
+
path: z.ZodString;
|
|
1805
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1806
|
+
kind: z.ZodLiteral<"source">;
|
|
1807
|
+
filename: z.ZodString;
|
|
1808
|
+
source: z.ZodString;
|
|
1809
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1810
|
+
kind: z.ZodLiteral<"definition">;
|
|
1811
|
+
workflowId: z.ZodString;
|
|
1812
|
+
}, z.core.$strict>], "kind">>;
|
|
1813
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
1814
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
1815
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
1816
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1817
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
1818
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1819
|
+
"local-directory": "local-directory";
|
|
1820
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
1821
|
+
}>>>;
|
|
1822
|
+
}, z.core.$strip>>;
|
|
1786
1823
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
1787
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
1788
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1789
|
-
kind: z.ZodLiteral<"path">;
|
|
1790
|
-
path: z.ZodString;
|
|
1791
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1792
|
-
kind: z.ZodLiteral<"source">;
|
|
1793
|
-
filename: z.ZodString;
|
|
1794
|
-
source: z.ZodString;
|
|
1795
|
-
}, z.core.$strict>], "kind">>;
|
|
1796
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
1797
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
1798
|
-
local: "local";
|
|
1799
|
-
remote: "remote";
|
|
1800
|
-
container: "container";
|
|
1801
|
-
}>>;
|
|
1802
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1803
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
1804
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
1805
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
1806
1824
|
}, z.core.$strip>>;
|
|
1807
1825
|
workerManifest: z.ZodDefault<z.ZodObject<{
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1826
|
+
contributionRefs: z.ZodArray<z.ZodObject<{
|
|
1827
|
+
packageName: z.ZodString;
|
|
1828
|
+
version: z.ZodString;
|
|
1829
|
+
entrypoint: z.ZodString;
|
|
1830
|
+
integrity: z.ZodString;
|
|
1831
|
+
}, z.core.$strict>>;
|
|
1832
|
+
}, z.core.$strict>>;
|
|
1813
1833
|
inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
1814
1834
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1815
1835
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1831,38 +1851,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1831
1851
|
id: z.ZodString;
|
|
1832
1852
|
}, z.core.$strip>>;
|
|
1833
1853
|
coordinatorSessionId: z.ZodString;
|
|
1834
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
1835
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1836
|
-
kind: z.ZodLiteral<"path">;
|
|
1837
|
-
path: z.ZodString;
|
|
1838
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1839
|
-
kind: z.ZodLiteral<"source">;
|
|
1840
|
-
filename: z.ZodString;
|
|
1841
|
-
source: z.ZodString;
|
|
1842
|
-
}, z.core.$strict>], "kind">>;
|
|
1843
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
1844
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
1845
|
-
local: "local";
|
|
1846
|
-
remote: "remote";
|
|
1847
|
-
container: "container";
|
|
1848
|
-
}>>;
|
|
1849
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1850
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
1851
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
1852
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
1853
1854
|
dispatchMetadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1854
1855
|
cancelSubject: z.ZodString;
|
|
1855
|
-
context: z.ZodObject<{
|
|
1856
|
-
repoPath: z.ZodString;
|
|
1857
|
-
makaioHome: z.ZodString;
|
|
1858
|
-
os: z.ZodEnum<{
|
|
1859
|
-
darwin: "darwin";
|
|
1860
|
-
linux: "linux";
|
|
1861
|
-
win32: "win32";
|
|
1862
|
-
}>;
|
|
1863
|
-
arch: z.ZodString;
|
|
1864
|
-
worktree: z.ZodOptional<z.ZodString>;
|
|
1865
|
-
}, z.core.$strip>;
|
|
1866
1856
|
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1867
1857
|
createdAt: z.ZodNumber;
|
|
1868
1858
|
suspensionStrategy: z.ZodDefault<z.ZodEnum<{
|
|
@@ -1871,9 +1861,20 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1871
1861
|
"exit-and-resume": "exit-and-resume";
|
|
1872
1862
|
}>>;
|
|
1873
1863
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
1874
|
-
authority: "authority";
|
|
1875
1864
|
worker: "worker";
|
|
1865
|
+
authority: "authority";
|
|
1876
1866
|
}>>;
|
|
1867
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1868
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
1869
|
+
workspaceId: z.ZodString;
|
|
1870
|
+
rootDigest: z.ZodString;
|
|
1871
|
+
sourcePath: z.ZodString;
|
|
1872
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1873
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
1874
|
+
snapshotId: z.ZodString;
|
|
1875
|
+
digest: z.ZodString;
|
|
1876
|
+
sourcePath: z.ZodString;
|
|
1877
|
+
}, z.core.$strict>], "kind">>;
|
|
1877
1878
|
}, z.core.$strip>;
|
|
1878
1879
|
initialState: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
1879
1880
|
}, z.core.$strip>;
|
|
@@ -1996,33 +1997,37 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1996
1997
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
1997
1998
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1998
1999
|
}, z.core.$strict>], "kind">>;
|
|
2000
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2001
|
+
kind: z.ZodLiteral<"path">;
|
|
2002
|
+
path: z.ZodString;
|
|
2003
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2004
|
+
kind: z.ZodLiteral<"source">;
|
|
2005
|
+
filename: z.ZodString;
|
|
2006
|
+
source: z.ZodString;
|
|
2007
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2008
|
+
kind: z.ZodLiteral<"definition">;
|
|
2009
|
+
workflowId: z.ZodString;
|
|
2010
|
+
}, z.core.$strict>], "kind">>;
|
|
2011
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
2012
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
2013
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
2014
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2015
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
2016
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2017
|
+
"local-directory": "local-directory";
|
|
2018
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
2019
|
+
}>>>;
|
|
2020
|
+
}, z.core.$strip>>;
|
|
1999
2021
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
2000
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
2001
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2002
|
-
kind: z.ZodLiteral<"path">;
|
|
2003
|
-
path: z.ZodString;
|
|
2004
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2005
|
-
kind: z.ZodLiteral<"source">;
|
|
2006
|
-
filename: z.ZodString;
|
|
2007
|
-
source: z.ZodString;
|
|
2008
|
-
}, z.core.$strict>], "kind">>;
|
|
2009
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
2010
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
2011
|
-
local: "local";
|
|
2012
|
-
remote: "remote";
|
|
2013
|
-
container: "container";
|
|
2014
|
-
}>>;
|
|
2015
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2016
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2017
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
2018
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2019
2022
|
}, z.core.$strip>>;
|
|
2020
2023
|
workerManifest: z.ZodDefault<z.ZodObject<{
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2024
|
+
contributionRefs: z.ZodArray<z.ZodObject<{
|
|
2025
|
+
packageName: z.ZodString;
|
|
2026
|
+
version: z.ZodString;
|
|
2027
|
+
entrypoint: z.ZodString;
|
|
2028
|
+
integrity: z.ZodString;
|
|
2029
|
+
}, z.core.$strict>>;
|
|
2030
|
+
}, z.core.$strict>>;
|
|
2026
2031
|
inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
2027
2032
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2028
2033
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2044,38 +2049,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2044
2049
|
id: z.ZodString;
|
|
2045
2050
|
}, z.core.$strip>>;
|
|
2046
2051
|
coordinatorSessionId: z.ZodString;
|
|
2047
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
2048
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2049
|
-
kind: z.ZodLiteral<"path">;
|
|
2050
|
-
path: z.ZodString;
|
|
2051
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2052
|
-
kind: z.ZodLiteral<"source">;
|
|
2053
|
-
filename: z.ZodString;
|
|
2054
|
-
source: z.ZodString;
|
|
2055
|
-
}, z.core.$strict>], "kind">>;
|
|
2056
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
2057
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
2058
|
-
local: "local";
|
|
2059
|
-
remote: "remote";
|
|
2060
|
-
container: "container";
|
|
2061
|
-
}>>;
|
|
2062
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2063
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2064
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
2065
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2066
2052
|
dispatchMetadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2067
2053
|
cancelSubject: z.ZodString;
|
|
2068
|
-
context: z.ZodObject<{
|
|
2069
|
-
repoPath: z.ZodString;
|
|
2070
|
-
makaioHome: z.ZodString;
|
|
2071
|
-
os: z.ZodEnum<{
|
|
2072
|
-
darwin: "darwin";
|
|
2073
|
-
linux: "linux";
|
|
2074
|
-
win32: "win32";
|
|
2075
|
-
}>;
|
|
2076
|
-
arch: z.ZodString;
|
|
2077
|
-
worktree: z.ZodOptional<z.ZodString>;
|
|
2078
|
-
}, z.core.$strip>;
|
|
2079
2054
|
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2080
2055
|
createdAt: z.ZodNumber;
|
|
2081
2056
|
suspensionStrategy: z.ZodDefault<z.ZodEnum<{
|
|
@@ -2084,9 +2059,20 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2084
2059
|
"exit-and-resume": "exit-and-resume";
|
|
2085
2060
|
}>>;
|
|
2086
2061
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
2087
|
-
authority: "authority";
|
|
2088
2062
|
worker: "worker";
|
|
2063
|
+
authority: "authority";
|
|
2089
2064
|
}>>;
|
|
2065
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2066
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
2067
|
+
workspaceId: z.ZodString;
|
|
2068
|
+
rootDigest: z.ZodString;
|
|
2069
|
+
sourcePath: z.ZodString;
|
|
2070
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2071
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
2072
|
+
snapshotId: z.ZodString;
|
|
2073
|
+
digest: z.ZodString;
|
|
2074
|
+
sourcePath: z.ZodString;
|
|
2075
|
+
}, z.core.$strict>], "kind">>;
|
|
2090
2076
|
}, z.core.$strip>>;
|
|
2091
2077
|
}, z.core.$strip>;
|
|
2092
2078
|
}>; /** Initialize execution state snapshot at sequence 0. */
|
|
@@ -2216,46 +2202,56 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2216
2202
|
syncedAt?: string | undefined;
|
|
2217
2203
|
};
|
|
2218
2204
|
}>;
|
|
2219
|
-
|
|
2220
|
-
name:
|
|
2205
|
+
executableSource: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2206
|
+
name: string;
|
|
2221
2207
|
tableName: "workflow_definitions";
|
|
2222
|
-
dataType: "
|
|
2223
|
-
columnType: "
|
|
2224
|
-
data:
|
|
2208
|
+
dataType: "json";
|
|
2209
|
+
columnType: "SQLiteTextJson";
|
|
2210
|
+
data: {
|
|
2211
|
+
kind: "path";
|
|
2212
|
+
path: string;
|
|
2213
|
+
} | {
|
|
2214
|
+
kind: "source";
|
|
2215
|
+
filename: string;
|
|
2216
|
+
source: string;
|
|
2217
|
+
} | {
|
|
2218
|
+
kind: "definition";
|
|
2219
|
+
workflowId: string;
|
|
2220
|
+
};
|
|
2225
2221
|
driverParam: string;
|
|
2226
2222
|
notNull: false;
|
|
2227
2223
|
hasDefault: false;
|
|
2228
2224
|
isPrimaryKey: false;
|
|
2229
2225
|
isAutoincrement: false;
|
|
2230
2226
|
hasRuntimeDefault: false;
|
|
2231
|
-
enumValues:
|
|
2227
|
+
enumValues: undefined;
|
|
2232
2228
|
baseColumn: never;
|
|
2233
2229
|
identity: undefined;
|
|
2234
2230
|
generated: undefined;
|
|
2235
2231
|
}, {}, {
|
|
2236
|
-
|
|
2232
|
+
$type: {
|
|
2233
|
+
kind: "path";
|
|
2234
|
+
path: string;
|
|
2235
|
+
} | {
|
|
2236
|
+
kind: "source";
|
|
2237
|
+
filename: string;
|
|
2238
|
+
source: string;
|
|
2239
|
+
} | {
|
|
2240
|
+
kind: "definition";
|
|
2241
|
+
workflowId: string;
|
|
2242
|
+
};
|
|
2237
2243
|
}>;
|
|
2238
|
-
|
|
2244
|
+
requirements: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2239
2245
|
name: string;
|
|
2240
2246
|
tableName: "workflow_definitions";
|
|
2241
2247
|
dataType: "json";
|
|
2242
2248
|
columnType: "SQLiteTextJson";
|
|
2243
2249
|
data: {
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
kind: "source";
|
|
2250
|
-
filename: string;
|
|
2251
|
-
source: string;
|
|
2252
|
-
} | undefined;
|
|
2253
|
-
requirements?: {
|
|
2254
|
-
[x: string]: _$_makaio_contracts0.JsonValue;
|
|
2255
|
-
isolation?: "local" | "remote" | "container" | undefined;
|
|
2256
|
-
capabilities?: string[] | undefined;
|
|
2257
|
-
} | undefined;
|
|
2258
|
-
providers?: Record<string, _$_makaio_contracts0.JsonValue> | undefined;
|
|
2250
|
+
customCapabilities: string[];
|
|
2251
|
+
maxRuntimeMs?: number | undefined;
|
|
2252
|
+
persistentStorage?: boolean | undefined;
|
|
2253
|
+
recoverableAllocation?: boolean | undefined;
|
|
2254
|
+
materializationModes?: ("local-directory" | "workspace-snapshot")[] | undefined;
|
|
2259
2255
|
};
|
|
2260
2256
|
driverParam: string;
|
|
2261
2257
|
notNull: false;
|
|
@@ -2269,23 +2265,32 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2269
2265
|
generated: undefined;
|
|
2270
2266
|
}, {}, {
|
|
2271
2267
|
$type: {
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
kind: "source";
|
|
2278
|
-
filename: string;
|
|
2279
|
-
source: string;
|
|
2280
|
-
} | undefined;
|
|
2281
|
-
requirements?: {
|
|
2282
|
-
[x: string]: _$_makaio_contracts0.JsonValue;
|
|
2283
|
-
isolation?: "local" | "remote" | "container" | undefined;
|
|
2284
|
-
capabilities?: string[] | undefined;
|
|
2285
|
-
} | undefined;
|
|
2286
|
-
providers?: Record<string, _$_makaio_contracts0.JsonValue> | undefined;
|
|
2268
|
+
customCapabilities: string[];
|
|
2269
|
+
maxRuntimeMs?: number | undefined;
|
|
2270
|
+
persistentStorage?: boolean | undefined;
|
|
2271
|
+
recoverableAllocation?: boolean | undefined;
|
|
2272
|
+
materializationModes?: ("local-directory" | "workspace-snapshot")[] | undefined;
|
|
2287
2273
|
};
|
|
2288
2274
|
}>;
|
|
2275
|
+
successFinalizerId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2276
|
+
name: "success_finalizer_id";
|
|
2277
|
+
tableName: "workflow_definitions";
|
|
2278
|
+
dataType: "string";
|
|
2279
|
+
columnType: "SQLiteText";
|
|
2280
|
+
data: string;
|
|
2281
|
+
driverParam: string;
|
|
2282
|
+
notNull: false;
|
|
2283
|
+
hasDefault: false;
|
|
2284
|
+
isPrimaryKey: false;
|
|
2285
|
+
isAutoincrement: false;
|
|
2286
|
+
hasRuntimeDefault: false;
|
|
2287
|
+
enumValues: [string, ...string[]];
|
|
2288
|
+
baseColumn: never;
|
|
2289
|
+
identity: undefined;
|
|
2290
|
+
generated: undefined;
|
|
2291
|
+
}, {}, {
|
|
2292
|
+
length: number | undefined;
|
|
2293
|
+
}>;
|
|
2289
2294
|
scopeType: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2290
2295
|
name: "scope_type";
|
|
2291
2296
|
tableName: "workflow_definitions";
|
|
@@ -2777,7 +2782,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2777
2782
|
tableName: "workflow_executions";
|
|
2778
2783
|
dataType: "string";
|
|
2779
2784
|
columnType: "SQLiteText";
|
|
2780
|
-
data: "pending" | "completed" | "cancelled" | "failed" | "
|
|
2785
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "paused" | "running" | "finalizing";
|
|
2781
2786
|
driverParam: string;
|
|
2782
2787
|
notNull: true;
|
|
2783
2788
|
hasDefault: false;
|
|
@@ -3046,7 +3051,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3046
3051
|
tableName: "workflow_execution_frames";
|
|
3047
3052
|
dataType: "string";
|
|
3048
3053
|
columnType: "SQLiteText";
|
|
3049
|
-
data: "
|
|
3054
|
+
data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
|
|
3050
3055
|
driverParam: string;
|
|
3051
3056
|
notNull: true;
|
|
3052
3057
|
hasDefault: false;
|
|
@@ -3059,7 +3064,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3059
3064
|
generated: undefined;
|
|
3060
3065
|
}, {}, {
|
|
3061
3066
|
length: number | undefined;
|
|
3062
|
-
$type: "
|
|
3067
|
+
$type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
|
|
3063
3068
|
}>;
|
|
3064
3069
|
path: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3065
3070
|
name: string;
|
|
@@ -4108,24 +4113,25 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4108
4113
|
externalId?: string | undefined;
|
|
4109
4114
|
syncedAt?: string | undefined;
|
|
4110
4115
|
} | undefined;
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
} | undefined;
|
|
4122
|
-
requirements?: {
|
|
4123
|
-
[x: string]: _$_makaio_contracts0.JsonValue;
|
|
4124
|
-
isolation?: "local" | "remote" | "container" | undefined;
|
|
4125
|
-
capabilities?: string[] | undefined;
|
|
4126
|
-
} | undefined;
|
|
4127
|
-
providers?: Record<string, _$_makaio_contracts0.JsonValue> | undefined;
|
|
4116
|
+
executableSource?: {
|
|
4117
|
+
kind: "path";
|
|
4118
|
+
path: string;
|
|
4119
|
+
} | {
|
|
4120
|
+
kind: "source";
|
|
4121
|
+
filename: string;
|
|
4122
|
+
source: string;
|
|
4123
|
+
} | {
|
|
4124
|
+
kind: "definition";
|
|
4125
|
+
workflowId: string;
|
|
4128
4126
|
} | undefined;
|
|
4127
|
+
requirements?: {
|
|
4128
|
+
customCapabilities: string[];
|
|
4129
|
+
maxRuntimeMs?: number | undefined;
|
|
4130
|
+
persistentStorage?: boolean | undefined;
|
|
4131
|
+
recoverableAllocation?: boolean | undefined;
|
|
4132
|
+
materializationModes?: ("local-directory" | "workspace-snapshot")[] | undefined;
|
|
4133
|
+
} | undefined;
|
|
4134
|
+
successFinalizerId?: string | undefined;
|
|
4129
4135
|
};
|
|
4130
4136
|
driverParam: string;
|
|
4131
4137
|
notNull: false;
|
|
@@ -4230,24 +4236,25 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4230
4236
|
externalId?: string | undefined;
|
|
4231
4237
|
syncedAt?: string | undefined;
|
|
4232
4238
|
} | undefined;
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4239
|
+
executableSource?: {
|
|
4240
|
+
kind: "path";
|
|
4241
|
+
path: string;
|
|
4242
|
+
} | {
|
|
4243
|
+
kind: "source";
|
|
4244
|
+
filename: string;
|
|
4245
|
+
source: string;
|
|
4246
|
+
} | {
|
|
4247
|
+
kind: "definition";
|
|
4248
|
+
workflowId: string;
|
|
4249
|
+
} | undefined;
|
|
4250
|
+
requirements?: {
|
|
4251
|
+
customCapabilities: string[];
|
|
4252
|
+
maxRuntimeMs?: number | undefined;
|
|
4253
|
+
persistentStorage?: boolean | undefined;
|
|
4254
|
+
recoverableAllocation?: boolean | undefined;
|
|
4255
|
+
materializationModes?: ("local-directory" | "workspace-snapshot")[] | undefined;
|
|
4250
4256
|
} | undefined;
|
|
4257
|
+
successFinalizerId?: string | undefined;
|
|
4251
4258
|
};
|
|
4252
4259
|
}>;
|
|
4253
4260
|
workerManifest: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
@@ -4256,9 +4263,11 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4256
4263
|
dataType: "json";
|
|
4257
4264
|
columnType: "SQLiteTextJson";
|
|
4258
4265
|
data: {
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4266
|
+
contributionRefs: {
|
|
4267
|
+
packageName: string;
|
|
4268
|
+
version: string;
|
|
4269
|
+
entrypoint: string;
|
|
4270
|
+
integrity: string;
|
|
4262
4271
|
}[];
|
|
4263
4272
|
};
|
|
4264
4273
|
driverParam: string;
|
|
@@ -4273,9 +4282,11 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4273
4282
|
generated: undefined;
|
|
4274
4283
|
}, {}, {
|
|
4275
4284
|
$type: {
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4285
|
+
contributionRefs: {
|
|
4286
|
+
packageName: string;
|
|
4287
|
+
version: string;
|
|
4288
|
+
entrypoint: string;
|
|
4289
|
+
integrity: string;
|
|
4279
4290
|
}[];
|
|
4280
4291
|
};
|
|
4281
4292
|
}>;
|
|
@@ -4361,57 +4372,6 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4361
4372
|
id: string;
|
|
4362
4373
|
} | undefined;
|
|
4363
4374
|
}>;
|
|
4364
|
-
executionHints: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4365
|
-
name: string;
|
|
4366
|
-
tableName: "workflow_run_contexts";
|
|
4367
|
-
dataType: "json";
|
|
4368
|
-
columnType: "SQLiteTextJson";
|
|
4369
|
-
data: {
|
|
4370
|
-
[x: string]: _$_makaio_contracts0.JsonValue;
|
|
4371
|
-
source?: {
|
|
4372
|
-
kind: "path";
|
|
4373
|
-
path: string;
|
|
4374
|
-
} | {
|
|
4375
|
-
kind: "source";
|
|
4376
|
-
filename: string;
|
|
4377
|
-
source: string;
|
|
4378
|
-
} | undefined;
|
|
4379
|
-
requirements?: {
|
|
4380
|
-
[x: string]: _$_makaio_contracts0.JsonValue;
|
|
4381
|
-
isolation?: "local" | "remote" | "container" | undefined;
|
|
4382
|
-
capabilities?: string[] | undefined;
|
|
4383
|
-
} | undefined;
|
|
4384
|
-
providers?: Record<string, _$_makaio_contracts0.JsonValue> | undefined;
|
|
4385
|
-
} | undefined;
|
|
4386
|
-
driverParam: string;
|
|
4387
|
-
notNull: false;
|
|
4388
|
-
hasDefault: false;
|
|
4389
|
-
isPrimaryKey: false;
|
|
4390
|
-
isAutoincrement: false;
|
|
4391
|
-
hasRuntimeDefault: false;
|
|
4392
|
-
enumValues: undefined;
|
|
4393
|
-
baseColumn: never;
|
|
4394
|
-
identity: undefined;
|
|
4395
|
-
generated: undefined;
|
|
4396
|
-
}, {}, {
|
|
4397
|
-
$type: {
|
|
4398
|
-
[x: string]: _$_makaio_contracts0.JsonValue;
|
|
4399
|
-
source?: {
|
|
4400
|
-
kind: "path";
|
|
4401
|
-
path: string;
|
|
4402
|
-
} | {
|
|
4403
|
-
kind: "source";
|
|
4404
|
-
filename: string;
|
|
4405
|
-
source: string;
|
|
4406
|
-
} | undefined;
|
|
4407
|
-
requirements?: {
|
|
4408
|
-
[x: string]: _$_makaio_contracts0.JsonValue;
|
|
4409
|
-
isolation?: "local" | "remote" | "container" | undefined;
|
|
4410
|
-
capabilities?: string[] | undefined;
|
|
4411
|
-
} | undefined;
|
|
4412
|
-
providers?: Record<string, _$_makaio_contracts0.JsonValue> | undefined;
|
|
4413
|
-
} | undefined;
|
|
4414
|
-
}>;
|
|
4415
4375
|
dispatchMetadata: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4416
4376
|
name: string;
|
|
4417
4377
|
tableName: "workflow_run_contexts";
|
|
@@ -4508,37 +4468,6 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4508
4468
|
}, {}, {
|
|
4509
4469
|
length: number | undefined;
|
|
4510
4470
|
}>;
|
|
4511
|
-
context: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4512
|
-
name: string;
|
|
4513
|
-
tableName: "workflow_run_contexts";
|
|
4514
|
-
dataType: "json";
|
|
4515
|
-
columnType: "SQLiteTextJson";
|
|
4516
|
-
data: {
|
|
4517
|
-
repoPath: string;
|
|
4518
|
-
makaioHome: string;
|
|
4519
|
-
os: "darwin" | "linux" | "win32";
|
|
4520
|
-
arch: string;
|
|
4521
|
-
worktree?: string;
|
|
4522
|
-
};
|
|
4523
|
-
driverParam: string;
|
|
4524
|
-
notNull: true;
|
|
4525
|
-
hasDefault: false;
|
|
4526
|
-
isPrimaryKey: false;
|
|
4527
|
-
isAutoincrement: false;
|
|
4528
|
-
hasRuntimeDefault: false;
|
|
4529
|
-
enumValues: undefined;
|
|
4530
|
-
baseColumn: never;
|
|
4531
|
-
identity: undefined;
|
|
4532
|
-
generated: undefined;
|
|
4533
|
-
}, {}, {
|
|
4534
|
-
$type: {
|
|
4535
|
-
repoPath: string;
|
|
4536
|
-
makaioHome: string;
|
|
4537
|
-
os: "darwin" | "linux" | "win32";
|
|
4538
|
-
arch: string;
|
|
4539
|
-
worktree?: string;
|
|
4540
|
-
};
|
|
4541
|
-
}>;
|
|
4542
4471
|
env: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4543
4472
|
name: string;
|
|
4544
4473
|
tableName: "workflow_run_contexts";
|
|
@@ -4600,7 +4529,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4600
4529
|
tableName: "workflow_run_contexts";
|
|
4601
4530
|
dataType: "string";
|
|
4602
4531
|
columnType: "SQLiteText";
|
|
4603
|
-
data: "
|
|
4532
|
+
data: "worker" | "authority" | undefined;
|
|
4604
4533
|
driverParam: string;
|
|
4605
4534
|
notNull: false;
|
|
4606
4535
|
hasDefault: false;
|
|
@@ -4613,7 +4542,46 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4613
4542
|
generated: undefined;
|
|
4614
4543
|
}, {}, {
|
|
4615
4544
|
length: number | undefined;
|
|
4616
|
-
$type: "
|
|
4545
|
+
$type: "worker" | "authority" | undefined;
|
|
4546
|
+
}>;
|
|
4547
|
+
materializationSpec: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4548
|
+
name: string;
|
|
4549
|
+
tableName: "workflow_run_contexts";
|
|
4550
|
+
dataType: "json";
|
|
4551
|
+
columnType: "SQLiteTextJson";
|
|
4552
|
+
data: {
|
|
4553
|
+
kind: "local-directory";
|
|
4554
|
+
workspaceId: string;
|
|
4555
|
+
rootDigest: string;
|
|
4556
|
+
sourcePath: string;
|
|
4557
|
+
} | {
|
|
4558
|
+
kind: "workspace-snapshot";
|
|
4559
|
+
snapshotId: string;
|
|
4560
|
+
digest: string;
|
|
4561
|
+
sourcePath: string;
|
|
4562
|
+
};
|
|
4563
|
+
driverParam: string;
|
|
4564
|
+
notNull: false;
|
|
4565
|
+
hasDefault: false;
|
|
4566
|
+
isPrimaryKey: false;
|
|
4567
|
+
isAutoincrement: false;
|
|
4568
|
+
hasRuntimeDefault: false;
|
|
4569
|
+
enumValues: undefined;
|
|
4570
|
+
baseColumn: never;
|
|
4571
|
+
identity: undefined;
|
|
4572
|
+
generated: undefined;
|
|
4573
|
+
}, {}, {
|
|
4574
|
+
$type: {
|
|
4575
|
+
kind: "local-directory";
|
|
4576
|
+
workspaceId: string;
|
|
4577
|
+
rootDigest: string;
|
|
4578
|
+
sourcePath: string;
|
|
4579
|
+
} | {
|
|
4580
|
+
kind: "workspace-snapshot";
|
|
4581
|
+
snapshotId: string;
|
|
4582
|
+
digest: string;
|
|
4583
|
+
sourcePath: string;
|
|
4584
|
+
};
|
|
4617
4585
|
}>;
|
|
4618
4586
|
};
|
|
4619
4587
|
dialect: "sqlite";
|
|
@@ -4684,7 +4652,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4684
4652
|
tableName: "worklog_summaries";
|
|
4685
4653
|
dataType: "string";
|
|
4686
4654
|
columnType: "SQLiteText";
|
|
4687
|
-
data: "pending" | "completed" | "cancelled" | "failed" | "
|
|
4655
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "paused" | "running" | "finalizing";
|
|
4688
4656
|
driverParam: string;
|
|
4689
4657
|
notNull: true;
|
|
4690
4658
|
hasDefault: false;
|
|
@@ -4907,7 +4875,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4907
4875
|
tableName: "worklog_frame_entries";
|
|
4908
4876
|
dataType: "string";
|
|
4909
4877
|
columnType: "SQLiteText";
|
|
4910
|
-
data: "
|
|
4878
|
+
data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
|
|
4911
4879
|
driverParam: string;
|
|
4912
4880
|
notNull: true;
|
|
4913
4881
|
hasDefault: false;
|
|
@@ -4920,7 +4888,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4920
4888
|
generated: undefined;
|
|
4921
4889
|
}, {}, {
|
|
4922
4890
|
length: number | undefined;
|
|
4923
|
-
$type: "
|
|
4891
|
+
$type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
|
|
4924
4892
|
}>;
|
|
4925
4893
|
path: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4926
4894
|
name: string;
|
|
@@ -5967,26 +5935,28 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5967
5935
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
5968
5936
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5969
5937
|
}, z.core.$strict>], "kind">>;
|
|
5938
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5939
|
+
kind: z.ZodLiteral<"path">;
|
|
5940
|
+
path: z.ZodString;
|
|
5941
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5942
|
+
kind: z.ZodLiteral<"source">;
|
|
5943
|
+
filename: z.ZodString;
|
|
5944
|
+
source: z.ZodString;
|
|
5945
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5946
|
+
kind: z.ZodLiteral<"definition">;
|
|
5947
|
+
workflowId: z.ZodString;
|
|
5948
|
+
}, z.core.$strict>], "kind">>;
|
|
5949
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
5950
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
5951
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
5952
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5953
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
5954
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5955
|
+
"local-directory": "local-directory";
|
|
5956
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
5957
|
+
}>>>;
|
|
5958
|
+
}, z.core.$strip>>;
|
|
5970
5959
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
5971
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
5972
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5973
|
-
kind: z.ZodLiteral<"path">;
|
|
5974
|
-
path: z.ZodString;
|
|
5975
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5976
|
-
kind: z.ZodLiteral<"source">;
|
|
5977
|
-
filename: z.ZodString;
|
|
5978
|
-
source: z.ZodString;
|
|
5979
|
-
}, z.core.$strict>], "kind">>;
|
|
5980
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
5981
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
5982
|
-
local: "local";
|
|
5983
|
-
remote: "remote";
|
|
5984
|
-
container: "container";
|
|
5985
|
-
}>>;
|
|
5986
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5987
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5988
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
5989
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5990
5960
|
}, z.core.$strip>>;
|
|
5991
5961
|
}, z.core.$strip>;
|
|
5992
5962
|
};
|
|
@@ -6084,26 +6054,28 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6084
6054
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
6085
6055
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
6086
6056
|
}, z.core.$strict>], "kind">>;
|
|
6057
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6058
|
+
kind: z.ZodLiteral<"path">;
|
|
6059
|
+
path: z.ZodString;
|
|
6060
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6061
|
+
kind: z.ZodLiteral<"source">;
|
|
6062
|
+
filename: z.ZodString;
|
|
6063
|
+
source: z.ZodString;
|
|
6064
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6065
|
+
kind: z.ZodLiteral<"definition">;
|
|
6066
|
+
workflowId: z.ZodString;
|
|
6067
|
+
}, z.core.$strict>], "kind">>;
|
|
6068
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
6069
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
6070
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
6071
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6072
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
6073
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6074
|
+
"local-directory": "local-directory";
|
|
6075
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
6076
|
+
}>>>;
|
|
6077
|
+
}, z.core.$strip>>;
|
|
6087
6078
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
6088
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
6089
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6090
|
-
kind: z.ZodLiteral<"path">;
|
|
6091
|
-
path: z.ZodString;
|
|
6092
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
6093
|
-
kind: z.ZodLiteral<"source">;
|
|
6094
|
-
filename: z.ZodString;
|
|
6095
|
-
source: z.ZodString;
|
|
6096
|
-
}, z.core.$strict>], "kind">>;
|
|
6097
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
6098
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
6099
|
-
local: "local";
|
|
6100
|
-
remote: "remote";
|
|
6101
|
-
container: "container";
|
|
6102
|
-
}>>;
|
|
6103
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6104
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
6105
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
6106
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
6107
6079
|
}, z.core.$strip>;
|
|
6108
6080
|
}, z.core.$strip>;
|
|
6109
6081
|
response: z.ZodObject<{
|
|
@@ -6227,26 +6199,28 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6227
6199
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
6228
6200
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
6229
6201
|
}, z.core.$strict>], "kind">>;
|
|
6202
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6203
|
+
kind: z.ZodLiteral<"path">;
|
|
6204
|
+
path: z.ZodString;
|
|
6205
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6206
|
+
kind: z.ZodLiteral<"source">;
|
|
6207
|
+
filename: z.ZodString;
|
|
6208
|
+
source: z.ZodString;
|
|
6209
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6210
|
+
kind: z.ZodLiteral<"definition">;
|
|
6211
|
+
workflowId: z.ZodString;
|
|
6212
|
+
}, z.core.$strict>], "kind">>;
|
|
6213
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
6214
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
6215
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
6216
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6217
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
6218
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6219
|
+
"local-directory": "local-directory";
|
|
6220
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
6221
|
+
}>>>;
|
|
6222
|
+
}, z.core.$strip>>;
|
|
6230
6223
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
6231
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
6232
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6233
|
-
kind: z.ZodLiteral<"path">;
|
|
6234
|
-
path: z.ZodString;
|
|
6235
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
6236
|
-
kind: z.ZodLiteral<"source">;
|
|
6237
|
-
filename: z.ZodString;
|
|
6238
|
-
source: z.ZodString;
|
|
6239
|
-
}, z.core.$strict>], "kind">>;
|
|
6240
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
6241
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
6242
|
-
local: "local";
|
|
6243
|
-
remote: "remote";
|
|
6244
|
-
container: "container";
|
|
6245
|
-
}>>;
|
|
6246
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6247
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
6248
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
6249
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
6250
6224
|
}, z.core.$strip>>;
|
|
6251
6225
|
}, z.core.$strip>;
|
|
6252
6226
|
};
|
|
@@ -6264,8 +6238,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6264
6238
|
completed: "completed";
|
|
6265
6239
|
cancelled: "cancelled";
|
|
6266
6240
|
failed: "failed";
|
|
6267
|
-
running: "running";
|
|
6268
6241
|
paused: "paused";
|
|
6242
|
+
running: "running";
|
|
6269
6243
|
finalizing: "finalizing";
|
|
6270
6244
|
}>;
|
|
6271
6245
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -6306,8 +6280,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6306
6280
|
completed: "completed";
|
|
6307
6281
|
cancelled: "cancelled";
|
|
6308
6282
|
failed: "failed";
|
|
6309
|
-
running: "running";
|
|
6310
6283
|
paused: "paused";
|
|
6284
|
+
running: "running";
|
|
6311
6285
|
finalizing: "finalizing";
|
|
6312
6286
|
}>;
|
|
6313
6287
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -6355,8 +6329,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6355
6329
|
completed: "completed";
|
|
6356
6330
|
cancelled: "cancelled";
|
|
6357
6331
|
failed: "failed";
|
|
6358
|
-
running: "running";
|
|
6359
6332
|
paused: "paused";
|
|
6333
|
+
running: "running";
|
|
6360
6334
|
finalizing: "finalizing";
|
|
6361
6335
|
}>;
|
|
6362
6336
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -6490,33 +6464,37 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6490
6464
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
6491
6465
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
6492
6466
|
}, z.core.$strict>], "kind">>;
|
|
6467
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6468
|
+
kind: z.ZodLiteral<"path">;
|
|
6469
|
+
path: z.ZodString;
|
|
6470
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6471
|
+
kind: z.ZodLiteral<"source">;
|
|
6472
|
+
filename: z.ZodString;
|
|
6473
|
+
source: z.ZodString;
|
|
6474
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6475
|
+
kind: z.ZodLiteral<"definition">;
|
|
6476
|
+
workflowId: z.ZodString;
|
|
6477
|
+
}, z.core.$strict>], "kind">>;
|
|
6478
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
6479
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
6480
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
6481
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6482
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
6483
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6484
|
+
"local-directory": "local-directory";
|
|
6485
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
6486
|
+
}>>>;
|
|
6487
|
+
}, z.core.$strip>>;
|
|
6493
6488
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
6494
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
6495
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6496
|
-
kind: z.ZodLiteral<"path">;
|
|
6497
|
-
path: z.ZodString;
|
|
6498
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
6499
|
-
kind: z.ZodLiteral<"source">;
|
|
6500
|
-
filename: z.ZodString;
|
|
6501
|
-
source: z.ZodString;
|
|
6502
|
-
}, z.core.$strict>], "kind">>;
|
|
6503
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
6504
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
6505
|
-
local: "local";
|
|
6506
|
-
remote: "remote";
|
|
6507
|
-
container: "container";
|
|
6508
|
-
}>>;
|
|
6509
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6510
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
6511
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
6512
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
6513
6489
|
}, z.core.$strip>>;
|
|
6514
6490
|
workerManifest: z.ZodDefault<z.ZodObject<{
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6491
|
+
contributionRefs: z.ZodArray<z.ZodObject<{
|
|
6492
|
+
packageName: z.ZodString;
|
|
6493
|
+
version: z.ZodString;
|
|
6494
|
+
entrypoint: z.ZodString;
|
|
6495
|
+
integrity: z.ZodString;
|
|
6496
|
+
}, z.core.$strict>>;
|
|
6497
|
+
}, z.core.$strict>>;
|
|
6520
6498
|
inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
6521
6499
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
6522
6500
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -6538,38 +6516,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6538
6516
|
id: z.ZodString;
|
|
6539
6517
|
}, z.core.$strip>>;
|
|
6540
6518
|
coordinatorSessionId: z.ZodString;
|
|
6541
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
6542
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6543
|
-
kind: z.ZodLiteral<"path">;
|
|
6544
|
-
path: z.ZodString;
|
|
6545
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
6546
|
-
kind: z.ZodLiteral<"source">;
|
|
6547
|
-
filename: z.ZodString;
|
|
6548
|
-
source: z.ZodString;
|
|
6549
|
-
}, z.core.$strict>], "kind">>;
|
|
6550
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
6551
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
6552
|
-
local: "local";
|
|
6553
|
-
remote: "remote";
|
|
6554
|
-
container: "container";
|
|
6555
|
-
}>>;
|
|
6556
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6557
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
6558
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
6559
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
6560
6519
|
dispatchMetadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
6561
6520
|
cancelSubject: z.ZodString;
|
|
6562
|
-
context: z.ZodObject<{
|
|
6563
|
-
repoPath: z.ZodString;
|
|
6564
|
-
makaioHome: z.ZodString;
|
|
6565
|
-
os: z.ZodEnum<{
|
|
6566
|
-
darwin: "darwin";
|
|
6567
|
-
linux: "linux";
|
|
6568
|
-
win32: "win32";
|
|
6569
|
-
}>;
|
|
6570
|
-
arch: z.ZodString;
|
|
6571
|
-
worktree: z.ZodOptional<z.ZodString>;
|
|
6572
|
-
}, z.core.$strip>;
|
|
6573
6521
|
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6574
6522
|
createdAt: z.ZodNumber;
|
|
6575
6523
|
suspensionStrategy: z.ZodDefault<z.ZodEnum<{
|
|
@@ -6578,9 +6526,20 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6578
6526
|
"exit-and-resume": "exit-and-resume";
|
|
6579
6527
|
}>>;
|
|
6580
6528
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
6581
|
-
authority: "authority";
|
|
6582
6529
|
worker: "worker";
|
|
6530
|
+
authority: "authority";
|
|
6583
6531
|
}>>;
|
|
6532
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6533
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
6534
|
+
workspaceId: z.ZodString;
|
|
6535
|
+
rootDigest: z.ZodString;
|
|
6536
|
+
sourcePath: z.ZodString;
|
|
6537
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6538
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
6539
|
+
snapshotId: z.ZodString;
|
|
6540
|
+
digest: z.ZodString;
|
|
6541
|
+
sourcePath: z.ZodString;
|
|
6542
|
+
}, z.core.$strict>], "kind">>;
|
|
6584
6543
|
}, z.core.$strip>;
|
|
6585
6544
|
initialState: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
6586
6545
|
executionLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -6636,12 +6595,12 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6636
6595
|
frameId: z.ZodString;
|
|
6637
6596
|
nodeId: z.ZodString;
|
|
6638
6597
|
nodeType: z.ZodEnum<{
|
|
6639
|
-
sequence: "sequence";
|
|
6640
6598
|
station: "station";
|
|
6641
6599
|
"delegate-agent": "delegate-agent";
|
|
6642
6600
|
"delegate-role": "delegate-role";
|
|
6643
|
-
|
|
6601
|
+
sequence: "sequence";
|
|
6644
6602
|
parallel: "parallel";
|
|
6603
|
+
gate: "gate";
|
|
6645
6604
|
iterate: "iterate";
|
|
6646
6605
|
"iterate-chain": "iterate-chain";
|
|
6647
6606
|
loop: "loop";
|
|
@@ -6681,12 +6640,12 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6681
6640
|
frameId: z.ZodString;
|
|
6682
6641
|
nodeId: z.ZodString;
|
|
6683
6642
|
nodeType: z.ZodEnum<{
|
|
6684
|
-
sequence: "sequence";
|
|
6685
6643
|
station: "station";
|
|
6686
6644
|
"delegate-agent": "delegate-agent";
|
|
6687
6645
|
"delegate-role": "delegate-role";
|
|
6688
|
-
|
|
6646
|
+
sequence: "sequence";
|
|
6689
6647
|
parallel: "parallel";
|
|
6648
|
+
gate: "gate";
|
|
6690
6649
|
iterate: "iterate";
|
|
6691
6650
|
"iterate-chain": "iterate-chain";
|
|
6692
6651
|
loop: "loop";
|
|
@@ -6721,8 +6680,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6721
6680
|
completed: "completed";
|
|
6722
6681
|
cancelled: "cancelled";
|
|
6723
6682
|
failed: "failed";
|
|
6724
|
-
running: "running";
|
|
6725
6683
|
paused: "paused";
|
|
6684
|
+
running: "running";
|
|
6726
6685
|
finalizing: "finalizing";
|
|
6727
6686
|
}>>;
|
|
6728
6687
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6918,8 +6877,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6918
6877
|
completed: "completed";
|
|
6919
6878
|
cancelled: "cancelled";
|
|
6920
6879
|
failed: "failed";
|
|
6921
|
-
running: "running";
|
|
6922
6880
|
paused: "paused";
|
|
6881
|
+
running: "running";
|
|
6923
6882
|
finalizing: "finalizing";
|
|
6924
6883
|
}>>;
|
|
6925
6884
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -6942,8 +6901,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6942
6901
|
completed: "completed";
|
|
6943
6902
|
cancelled: "cancelled";
|
|
6944
6903
|
failed: "failed";
|
|
6945
|
-
running: "running";
|
|
6946
6904
|
paused: "paused";
|
|
6905
|
+
running: "running";
|
|
6947
6906
|
finalizing: "finalizing";
|
|
6948
6907
|
}>;
|
|
6949
6908
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -6995,8 +6954,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6995
6954
|
completed: "completed";
|
|
6996
6955
|
cancelled: "cancelled";
|
|
6997
6956
|
failed: "failed";
|
|
6998
|
-
running: "running";
|
|
6999
6957
|
paused: "paused";
|
|
6958
|
+
running: "running";
|
|
7000
6959
|
finalizing: "finalizing";
|
|
7001
6960
|
}>;
|
|
7002
6961
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -7039,12 +6998,12 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7039
6998
|
frameId: z.ZodString;
|
|
7040
6999
|
nodeId: z.ZodString;
|
|
7041
7000
|
nodeType: z.ZodEnum<{
|
|
7042
|
-
sequence: "sequence";
|
|
7043
7001
|
station: "station";
|
|
7044
7002
|
"delegate-agent": "delegate-agent";
|
|
7045
7003
|
"delegate-role": "delegate-role";
|
|
7046
|
-
|
|
7004
|
+
sequence: "sequence";
|
|
7047
7005
|
parallel: "parallel";
|
|
7006
|
+
gate: "gate";
|
|
7048
7007
|
iterate: "iterate";
|
|
7049
7008
|
"iterate-chain": "iterate-chain";
|
|
7050
7009
|
loop: "loop";
|
|
@@ -7085,12 +7044,12 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7085
7044
|
frameId: z.ZodString;
|
|
7086
7045
|
nodeId: z.ZodString;
|
|
7087
7046
|
nodeType: z.ZodEnum<{
|
|
7088
|
-
sequence: "sequence";
|
|
7089
7047
|
station: "station";
|
|
7090
7048
|
"delegate-agent": "delegate-agent";
|
|
7091
7049
|
"delegate-role": "delegate-role";
|
|
7092
|
-
|
|
7050
|
+
sequence: "sequence";
|
|
7093
7051
|
parallel: "parallel";
|
|
7052
|
+
gate: "gate";
|
|
7094
7053
|
iterate: "iterate";
|
|
7095
7054
|
"iterate-chain": "iterate-chain";
|
|
7096
7055
|
loop: "loop";
|
|
@@ -7128,12 +7087,12 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7128
7087
|
frameId: z.ZodString;
|
|
7129
7088
|
nodeId: z.ZodString;
|
|
7130
7089
|
nodeType: z.ZodEnum<{
|
|
7131
|
-
sequence: "sequence";
|
|
7132
7090
|
station: "station";
|
|
7133
7091
|
"delegate-agent": "delegate-agent";
|
|
7134
7092
|
"delegate-role": "delegate-role";
|
|
7135
|
-
|
|
7093
|
+
sequence: "sequence";
|
|
7136
7094
|
parallel: "parallel";
|
|
7095
|
+
gate: "gate";
|
|
7137
7096
|
iterate: "iterate";
|
|
7138
7097
|
"iterate-chain": "iterate-chain";
|
|
7139
7098
|
loop: "loop";
|
|
@@ -7611,33 +7570,37 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7611
7570
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
7612
7571
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
7613
7572
|
}, z.core.$strict>], "kind">>;
|
|
7573
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7574
|
+
kind: z.ZodLiteral<"path">;
|
|
7575
|
+
path: z.ZodString;
|
|
7576
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7577
|
+
kind: z.ZodLiteral<"source">;
|
|
7578
|
+
filename: z.ZodString;
|
|
7579
|
+
source: z.ZodString;
|
|
7580
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7581
|
+
kind: z.ZodLiteral<"definition">;
|
|
7582
|
+
workflowId: z.ZodString;
|
|
7583
|
+
}, z.core.$strict>], "kind">>;
|
|
7584
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
7585
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
7586
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
7587
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
7588
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
7589
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7590
|
+
"local-directory": "local-directory";
|
|
7591
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
7592
|
+
}>>>;
|
|
7593
|
+
}, z.core.$strip>>;
|
|
7614
7594
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
7615
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
7616
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7617
|
-
kind: z.ZodLiteral<"path">;
|
|
7618
|
-
path: z.ZodString;
|
|
7619
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7620
|
-
kind: z.ZodLiteral<"source">;
|
|
7621
|
-
filename: z.ZodString;
|
|
7622
|
-
source: z.ZodString;
|
|
7623
|
-
}, z.core.$strict>], "kind">>;
|
|
7624
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
7625
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
7626
|
-
local: "local";
|
|
7627
|
-
remote: "remote";
|
|
7628
|
-
container: "container";
|
|
7629
|
-
}>>;
|
|
7630
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7631
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
7632
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
7633
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
7634
7595
|
}, z.core.$strip>>;
|
|
7635
7596
|
workerManifest: z.ZodDefault<z.ZodObject<{
|
|
7636
|
-
|
|
7637
|
-
|
|
7638
|
-
|
|
7639
|
-
|
|
7640
|
-
|
|
7597
|
+
contributionRefs: z.ZodArray<z.ZodObject<{
|
|
7598
|
+
packageName: z.ZodString;
|
|
7599
|
+
version: z.ZodString;
|
|
7600
|
+
entrypoint: z.ZodString;
|
|
7601
|
+
integrity: z.ZodString;
|
|
7602
|
+
}, z.core.$strict>>;
|
|
7603
|
+
}, z.core.$strict>>;
|
|
7641
7604
|
inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
7642
7605
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
7643
7606
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -7659,38 +7622,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7659
7622
|
id: z.ZodString;
|
|
7660
7623
|
}, z.core.$strip>>;
|
|
7661
7624
|
coordinatorSessionId: z.ZodString;
|
|
7662
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
7663
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7664
|
-
kind: z.ZodLiteral<"path">;
|
|
7665
|
-
path: z.ZodString;
|
|
7666
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7667
|
-
kind: z.ZodLiteral<"source">;
|
|
7668
|
-
filename: z.ZodString;
|
|
7669
|
-
source: z.ZodString;
|
|
7670
|
-
}, z.core.$strict>], "kind">>;
|
|
7671
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
7672
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
7673
|
-
local: "local";
|
|
7674
|
-
remote: "remote";
|
|
7675
|
-
container: "container";
|
|
7676
|
-
}>>;
|
|
7677
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7678
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
7679
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
7680
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
7681
7625
|
dispatchMetadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
7682
7626
|
cancelSubject: z.ZodString;
|
|
7683
|
-
context: z.ZodObject<{
|
|
7684
|
-
repoPath: z.ZodString;
|
|
7685
|
-
makaioHome: z.ZodString;
|
|
7686
|
-
os: z.ZodEnum<{
|
|
7687
|
-
darwin: "darwin";
|
|
7688
|
-
linux: "linux";
|
|
7689
|
-
win32: "win32";
|
|
7690
|
-
}>;
|
|
7691
|
-
arch: z.ZodString;
|
|
7692
|
-
worktree: z.ZodOptional<z.ZodString>;
|
|
7693
|
-
}, z.core.$strip>;
|
|
7694
7627
|
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7695
7628
|
createdAt: z.ZodNumber;
|
|
7696
7629
|
suspensionStrategy: z.ZodDefault<z.ZodEnum<{
|
|
@@ -7699,9 +7632,20 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7699
7632
|
"exit-and-resume": "exit-and-resume";
|
|
7700
7633
|
}>>;
|
|
7701
7634
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
7702
|
-
authority: "authority";
|
|
7703
7635
|
worker: "worker";
|
|
7636
|
+
authority: "authority";
|
|
7704
7637
|
}>>;
|
|
7638
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7639
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
7640
|
+
workspaceId: z.ZodString;
|
|
7641
|
+
rootDigest: z.ZodString;
|
|
7642
|
+
sourcePath: z.ZodString;
|
|
7643
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7644
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
7645
|
+
snapshotId: z.ZodString;
|
|
7646
|
+
digest: z.ZodString;
|
|
7647
|
+
sourcePath: z.ZodString;
|
|
7648
|
+
}, z.core.$strict>], "kind">>;
|
|
7705
7649
|
}, z.core.$strip>;
|
|
7706
7650
|
initialState: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
7707
7651
|
}, z.core.$strip>;
|
|
@@ -7824,33 +7768,37 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7824
7768
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
7825
7769
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
7826
7770
|
}, z.core.$strict>], "kind">>;
|
|
7771
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7772
|
+
kind: z.ZodLiteral<"path">;
|
|
7773
|
+
path: z.ZodString;
|
|
7774
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7775
|
+
kind: z.ZodLiteral<"source">;
|
|
7776
|
+
filename: z.ZodString;
|
|
7777
|
+
source: z.ZodString;
|
|
7778
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7779
|
+
kind: z.ZodLiteral<"definition">;
|
|
7780
|
+
workflowId: z.ZodString;
|
|
7781
|
+
}, z.core.$strict>], "kind">>;
|
|
7782
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
7783
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
7784
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
7785
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
7786
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
7787
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7788
|
+
"local-directory": "local-directory";
|
|
7789
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
7790
|
+
}>>>;
|
|
7791
|
+
}, z.core.$strip>>;
|
|
7827
7792
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
7828
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
7829
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7830
|
-
kind: z.ZodLiteral<"path">;
|
|
7831
|
-
path: z.ZodString;
|
|
7832
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7833
|
-
kind: z.ZodLiteral<"source">;
|
|
7834
|
-
filename: z.ZodString;
|
|
7835
|
-
source: z.ZodString;
|
|
7836
|
-
}, z.core.$strict>], "kind">>;
|
|
7837
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
7838
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
7839
|
-
local: "local";
|
|
7840
|
-
remote: "remote";
|
|
7841
|
-
container: "container";
|
|
7842
|
-
}>>;
|
|
7843
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7844
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
7845
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
7846
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
7847
7793
|
}, z.core.$strip>>;
|
|
7848
7794
|
workerManifest: z.ZodDefault<z.ZodObject<{
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7795
|
+
contributionRefs: z.ZodArray<z.ZodObject<{
|
|
7796
|
+
packageName: z.ZodString;
|
|
7797
|
+
version: z.ZodString;
|
|
7798
|
+
entrypoint: z.ZodString;
|
|
7799
|
+
integrity: z.ZodString;
|
|
7800
|
+
}, z.core.$strict>>;
|
|
7801
|
+
}, z.core.$strict>>;
|
|
7854
7802
|
inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
7855
7803
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
7856
7804
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -7872,38 +7820,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7872
7820
|
id: z.ZodString;
|
|
7873
7821
|
}, z.core.$strip>>;
|
|
7874
7822
|
coordinatorSessionId: z.ZodString;
|
|
7875
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
7876
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7877
|
-
kind: z.ZodLiteral<"path">;
|
|
7878
|
-
path: z.ZodString;
|
|
7879
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7880
|
-
kind: z.ZodLiteral<"source">;
|
|
7881
|
-
filename: z.ZodString;
|
|
7882
|
-
source: z.ZodString;
|
|
7883
|
-
}, z.core.$strict>], "kind">>;
|
|
7884
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
7885
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
7886
|
-
local: "local";
|
|
7887
|
-
remote: "remote";
|
|
7888
|
-
container: "container";
|
|
7889
|
-
}>>;
|
|
7890
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7891
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
7892
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
7893
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
7894
7823
|
dispatchMetadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
7895
7824
|
cancelSubject: z.ZodString;
|
|
7896
|
-
context: z.ZodObject<{
|
|
7897
|
-
repoPath: z.ZodString;
|
|
7898
|
-
makaioHome: z.ZodString;
|
|
7899
|
-
os: z.ZodEnum<{
|
|
7900
|
-
darwin: "darwin";
|
|
7901
|
-
linux: "linux";
|
|
7902
|
-
win32: "win32";
|
|
7903
|
-
}>;
|
|
7904
|
-
arch: z.ZodString;
|
|
7905
|
-
worktree: z.ZodOptional<z.ZodString>;
|
|
7906
|
-
}, z.core.$strip>;
|
|
7907
7825
|
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7908
7826
|
createdAt: z.ZodNumber;
|
|
7909
7827
|
suspensionStrategy: z.ZodDefault<z.ZodEnum<{
|
|
@@ -7912,9 +7830,20 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7912
7830
|
"exit-and-resume": "exit-and-resume";
|
|
7913
7831
|
}>>;
|
|
7914
7832
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
7915
|
-
authority: "authority";
|
|
7916
7833
|
worker: "worker";
|
|
7834
|
+
authority: "authority";
|
|
7917
7835
|
}>>;
|
|
7836
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7837
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
7838
|
+
workspaceId: z.ZodString;
|
|
7839
|
+
rootDigest: z.ZodString;
|
|
7840
|
+
sourcePath: z.ZodString;
|
|
7841
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7842
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
7843
|
+
snapshotId: z.ZodString;
|
|
7844
|
+
digest: z.ZodString;
|
|
7845
|
+
sourcePath: z.ZodString;
|
|
7846
|
+
}, z.core.$strict>], "kind">>;
|
|
7918
7847
|
}, z.core.$strip>>;
|
|
7919
7848
|
}, z.core.$strip>;
|
|
7920
7849
|
}>; /** Initialize execution state snapshot at sequence 0. */
|
|
@@ -8060,45 +7989,50 @@ declare const workflowDefinitionsDual: _$_makaio_storage_drizzle0.DualTable<"wor
|
|
|
8060
7989
|
metadata: Record<string, unknown>;
|
|
8061
7990
|
externalId?: string | undefined;
|
|
8062
7991
|
syncedAt?: string | undefined;
|
|
8063
|
-
}>>;
|
|
8064
|
-
successFinalizerId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"success_finalizer_id", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"success_finalizer_id", [string, ...string[]]>>;
|
|
7992
|
+
}>>;
|
|
8065
7993
|
/**
|
|
8066
|
-
*
|
|
8067
|
-
*
|
|
7994
|
+
* Portable executable source for worker dispatch (JSON).
|
|
7995
|
+
* Tells the runtime where to load the workflow module on a worker node.
|
|
8068
7996
|
*/
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
requirements?: {
|
|
8080
|
-
[x: string]: JsonValue;
|
|
8081
|
-
isolation?: "local" | "remote" | "container" | undefined;
|
|
8082
|
-
capabilities?: string[] | undefined;
|
|
8083
|
-
} | undefined;
|
|
8084
|
-
providers?: Record<string, JsonValue> | undefined;
|
|
7997
|
+
executableSource: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, {
|
|
7998
|
+
kind: "path";
|
|
7999
|
+
path: string;
|
|
8000
|
+
} | {
|
|
8001
|
+
kind: "source";
|
|
8002
|
+
filename: string;
|
|
8003
|
+
source: string;
|
|
8004
|
+
} | {
|
|
8005
|
+
kind: "definition";
|
|
8006
|
+
workflowId: string;
|
|
8085
8007
|
}>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, {
|
|
8086
|
-
|
|
8087
|
-
|
|
8088
|
-
|
|
8089
|
-
|
|
8090
|
-
|
|
8091
|
-
|
|
8092
|
-
|
|
8093
|
-
|
|
8094
|
-
|
|
8095
|
-
requirements?: {
|
|
8096
|
-
[x: string]: JsonValue;
|
|
8097
|
-
isolation?: "local" | "remote" | "container" | undefined;
|
|
8098
|
-
capabilities?: string[] | undefined;
|
|
8099
|
-
} | undefined;
|
|
8100
|
-
providers?: Record<string, JsonValue> | undefined;
|
|
8008
|
+
kind: "path";
|
|
8009
|
+
path: string;
|
|
8010
|
+
} | {
|
|
8011
|
+
kind: "source";
|
|
8012
|
+
filename: string;
|
|
8013
|
+
source: string;
|
|
8014
|
+
} | {
|
|
8015
|
+
kind: "definition";
|
|
8016
|
+
workflowId: string;
|
|
8101
8017
|
}>>;
|
|
8018
|
+
/**
|
|
8019
|
+
* Resource requirements for WorkerNode provider selection (JSON).
|
|
8020
|
+
* Constrains pool/provider matching during dispatch.
|
|
8021
|
+
*/
|
|
8022
|
+
requirements: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, {
|
|
8023
|
+
customCapabilities: string[];
|
|
8024
|
+
maxRuntimeMs?: number | undefined;
|
|
8025
|
+
persistentStorage?: boolean | undefined;
|
|
8026
|
+
recoverableAllocation?: boolean | undefined;
|
|
8027
|
+
materializationModes?: ("local-directory" | "workspace-snapshot")[] | undefined;
|
|
8028
|
+
}>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, {
|
|
8029
|
+
customCapabilities: string[];
|
|
8030
|
+
maxRuntimeMs?: number | undefined;
|
|
8031
|
+
persistentStorage?: boolean | undefined;
|
|
8032
|
+
recoverableAllocation?: boolean | undefined;
|
|
8033
|
+
materializationModes?: ("local-directory" | "workspace-snapshot")[] | undefined;
|
|
8034
|
+
}>>; /** Definition-owned finalizer selected after successful execution. */
|
|
8035
|
+
successFinalizerId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"success_finalizer_id", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"success_finalizer_id", [string, ...string[]]>>;
|
|
8102
8036
|
scopeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"], number | undefined>>, "external" | "session" | "global" | "workspace">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"]>>, "external" | "session" | "global" | "workspace">>;
|
|
8103
8037
|
scopeKind: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_kind", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_kind", [string, ...string[]]>>>>;
|
|
8104
8038
|
scopeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_id", [string, ...string[]]>>>>; /** Unique workflow identifier. */
|
|
@@ -8313,7 +8247,7 @@ declare const worklogFrameEntriesDual: _$_makaio_storage_drizzle0.DualTable<"wor
|
|
|
8313
8247
|
/** Unique frame identifier within the execution. */frameId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"frame_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"frame_id", [string, ...string[]]>>>>; /** Execution this frame belongs to. */
|
|
8314
8248
|
executionId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"execution_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"execution_id", [string, ...string[]]>>>; /** Node identifier from the workflow definition. */
|
|
8315
8249
|
nodeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"node_id", [string, ...string[]]>>>; /** Node type discriminant. */
|
|
8316
|
-
nodeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_type", [string, ...string[]], number | undefined>>, "
|
|
8250
|
+
nodeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_type", [string, ...string[]], number | undefined>>, "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"node_type", [string, ...string[]]>>, "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop">>;
|
|
8317
8251
|
/**
|
|
8318
8252
|
* Ordered path of frame IDs from the root frame to this frame (inclusive).
|
|
8319
8253
|
* Stored as a JSON array for tree correlation.
|
|
@@ -8414,4 +8348,4 @@ declare function patchWorkflowState(db: MakaioDatabase, params: {
|
|
|
8414
8348
|
value: JsonValue;
|
|
8415
8349
|
}>;
|
|
8416
8350
|
//#endregion
|
|
8417
|
-
export { WorkflowEngineService, WorkflowEngineToken, WorkflowExecutor, WorkflowStorageNamespace, WorkflowStorageSubjects, type WorkflowSuccessFinalizer, buildWorkflowExpressionContextFromResolvedInputs, createWorkflowEnginePackage, getWorkflowState, initializeWorkflowState, patchWorkflowState, registerDrizzleWorkflowStorage, runShellStep, workflowDefinitionsDual, workflowEnginePackage, workflowExecutionStateDual, workflowExecutionStateEventsDual, workflowExecutionsDual, workflowFinalizationsDual, workflowStepSpansDual, worklogFrameEntriesDual, worklogSummariesDual };
|
|
8351
|
+
export { type AllocationRecordingDecision, type AllocationRefEvolution, type AllocationRefEvolutionDecision, type AllocationTerminationDecision, type AuthorityDispatchRunnerOptions, type BeginProvisioningInput, type DiscoveredAllocationDecision, DuplicateExecutionAttemptError, EXECUTION_ATTEMPT_SETTLEMENT_KINDS, EXECUTION_ATTEMPT_STATUSES, ExecutionAttemptAuthority, type ExecutionAttemptCreate, type ExecutionAttemptOutcomeCommit, type ExecutionAttemptOutcomeDecision, type ExecutionAttemptRecord, type ExecutionAttemptRecoveryOperations, type ExecutionAttemptRepository, type ExecutionAttemptSettlementKind, type ExecutionAttemptStatus, type HandoffProviderOperationInput, type InfrastructureFailureDecision, type InitialProviderOperationClaimContext, type InitialProviderOperationClaimContextSource, PROVIDER_OPERATION_OBLIGATIONS, type PendingAttemptAbandonmentDecision, type ProcessBoundProvisionerLossProof, type ProviderOperationClaim, type ProviderOperationClaimDecision, type ProviderOperationMutationDecision, type ProviderOperationObligation, type ProviderOperationOwnershipRecord, type ProvisionerIncarnationLossDecision, type ProvisioningAbsenceDecision, type ProvisioningClaimDecision, type RecordAllocationInput, type RecordAllocationTerminatedInput, type RecordInfrastructureFailureInput, type RecordProviderOperationUncertaintyInput, type RecordProvisionerIncarnationLostInput, type RecordProvisioningAbsentInput, type RecoverableAttemptRecord, type RenewProviderOperationClaimInput, type TakeOverProviderOperationInput, WorkflowEngineService, type WorkflowEngineServiceOptions, WorkflowEngineToken, WorkflowExecutor, type WorkflowMaterializationSpecResolution, type WorkflowMaterializationSpecResolver, WorkflowStorageNamespace, WorkflowStorageSubjects, type WorkflowSuccessFinalizer, type WorkflowWorkspaceRootResolver, buildWorkflowExpressionContextFromResolvedInputs, createWorkflowEnginePackage, getWorkflowState, initializeWorkflowState, patchWorkflowState, registerDrizzleWorkflowStorage, runAuthorityDispatchedAttempt, runShellStep, sameAllocationRef, sameWorkflowResult, workflowDefinitionsDual, workflowEnginePackage, workflowExecutionStateDual, workflowExecutionStateEventsDual, workflowExecutionsDual, workflowFinalizationsDual, workflowStepSpansDual, worklogFrameEntriesDual, worklogSummariesDual };
|