@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,5 +1,5 @@
|
|
|
1
|
-
import { q as ArtifactRevision$1 } from "./context-resolution-
|
|
2
|
-
import { i as JsonValue$1, t as JsonObjectContractSchema } from "./json-value-
|
|
1
|
+
import { q as ArtifactRevision$1 } from "./context-resolution-BQBk4Ish.mjs";
|
|
2
|
+
import { i as JsonValue$1, t as JsonObjectContractSchema } from "./json-value-Brslhqbm.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
5
5
|
import { ExtractSubjectPayload, SubjectDefinition, TypedPayloadFilter } from "@makaio/framework/core";
|
|
@@ -173,12 +173,12 @@ type WorkflowSourceLocation = z.infer<typeof WorkflowSourceLocationSchema>;
|
|
|
173
173
|
* - `sequence` — ordered list of child nodes (the structural container)
|
|
174
174
|
*/
|
|
175
175
|
declare const WorkflowNodeTypeSchema: z.ZodEnum<{
|
|
176
|
-
sequence: "sequence";
|
|
177
176
|
station: "station";
|
|
178
177
|
"delegate-agent": "delegate-agent";
|
|
179
178
|
"delegate-role": "delegate-role";
|
|
180
|
-
|
|
179
|
+
sequence: "sequence";
|
|
181
180
|
parallel: "parallel";
|
|
181
|
+
gate: "gate";
|
|
182
182
|
iterate: "iterate";
|
|
183
183
|
"iterate-chain": "iterate-chain";
|
|
184
184
|
loop: "loop";
|
|
@@ -820,26 +820,28 @@ declare const WorkflowDefinitionSchema$1: z.ZodObject<{
|
|
|
820
820
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
821
821
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
822
822
|
}, z.core.$strict>], "kind">>;
|
|
823
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
824
|
+
kind: z.ZodLiteral<"path">;
|
|
825
|
+
path: z.ZodString;
|
|
826
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
827
|
+
kind: z.ZodLiteral<"source">;
|
|
828
|
+
filename: z.ZodString;
|
|
829
|
+
source: z.ZodString;
|
|
830
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
831
|
+
kind: z.ZodLiteral<"definition">;
|
|
832
|
+
workflowId: z.ZodString;
|
|
833
|
+
}, z.core.$strict>], "kind">>;
|
|
834
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
835
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
836
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
837
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
838
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
839
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
840
|
+
"local-directory": "local-directory";
|
|
841
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
842
|
+
}>>>;
|
|
843
|
+
}, z.core.$strip>>;
|
|
823
844
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
824
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
825
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
826
|
-
kind: z.ZodLiteral<"path">;
|
|
827
|
-
path: z.ZodString;
|
|
828
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
829
|
-
kind: z.ZodLiteral<"source">;
|
|
830
|
-
filename: z.ZodString;
|
|
831
|
-
source: z.ZodString;
|
|
832
|
-
}, z.core.$strict>], "kind">>;
|
|
833
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
834
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
835
|
-
local: "local";
|
|
836
|
-
remote: "remote";
|
|
837
|
-
container: "container";
|
|
838
|
-
}>>;
|
|
839
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
840
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
841
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
842
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
843
845
|
}, z.core.$strip>;
|
|
844
846
|
/**
|
|
845
847
|
* Workflow definition stored in the database.
|
|
@@ -855,8 +857,8 @@ declare const ExecutionStatusSchema$1: z.ZodEnum<{
|
|
|
855
857
|
completed: "completed";
|
|
856
858
|
cancelled: "cancelled";
|
|
857
859
|
failed: "failed";
|
|
858
|
-
running: "running";
|
|
859
860
|
paused: "paused";
|
|
861
|
+
running: "running";
|
|
860
862
|
finalizing: "finalizing";
|
|
861
863
|
}>;
|
|
862
864
|
type ExecutionStatus = z.infer<typeof ExecutionStatusSchema$1>;
|
|
@@ -872,8 +874,8 @@ declare const WorkflowExecutionSchema$1: z.ZodObject<{
|
|
|
872
874
|
completed: "completed";
|
|
873
875
|
cancelled: "cancelled";
|
|
874
876
|
failed: "failed";
|
|
875
|
-
running: "running";
|
|
876
877
|
paused: "paused";
|
|
878
|
+
running: "running";
|
|
877
879
|
finalizing: "finalizing";
|
|
878
880
|
}>;
|
|
879
881
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -913,12 +915,12 @@ declare const WorkflowFrameStateSchema$1: z.ZodObject<{
|
|
|
913
915
|
frameId: z.ZodString;
|
|
914
916
|
nodeId: z.ZodString;
|
|
915
917
|
nodeType: z.ZodEnum<{
|
|
916
|
-
sequence: "sequence";
|
|
917
918
|
station: "station";
|
|
918
919
|
"delegate-agent": "delegate-agent";
|
|
919
920
|
"delegate-role": "delegate-role";
|
|
920
|
-
|
|
921
|
+
sequence: "sequence";
|
|
921
922
|
parallel: "parallel";
|
|
923
|
+
gate: "gate";
|
|
922
924
|
iterate: "iterate";
|
|
923
925
|
"iterate-chain": "iterate-chain";
|
|
924
926
|
loop: "loop";
|
|
@@ -1005,8 +1007,8 @@ declare const WorkflowResolvedRoleSchema: z.ZodObject<{
|
|
|
1005
1007
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
1006
1008
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
1007
1009
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
1008
|
-
fresh: "fresh";
|
|
1009
1010
|
fork: "fork";
|
|
1011
|
+
fresh: "fresh";
|
|
1010
1012
|
}>>;
|
|
1011
1013
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1012
1014
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -1116,8 +1118,8 @@ declare const WorkflowResolvedAgentSchema: z.ZodObject<{
|
|
|
1116
1118
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
1117
1119
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
1118
1120
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
1119
|
-
fresh: "fresh";
|
|
1120
1121
|
fork: "fork";
|
|
1122
|
+
fresh: "fresh";
|
|
1121
1123
|
}>>;
|
|
1122
1124
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1123
1125
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -1268,8 +1270,8 @@ declare const ExecutionListQuerySchema$1: z.ZodObject<{
|
|
|
1268
1270
|
completed: "completed";
|
|
1269
1271
|
cancelled: "cancelled";
|
|
1270
1272
|
failed: "failed";
|
|
1271
|
-
running: "running";
|
|
1272
1273
|
paused: "paused";
|
|
1274
|
+
running: "running";
|
|
1273
1275
|
finalizing: "finalizing";
|
|
1274
1276
|
}>>;
|
|
1275
1277
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -1472,11 +1474,69 @@ declare const WorkflowDelegateResultFinalizationRequestSchema: z.ZodObject<{
|
|
|
1472
1474
|
}, z.core.$strict>;
|
|
1473
1475
|
}, z.core.$strict>>;
|
|
1474
1476
|
}, z.core.$strict>;
|
|
1477
|
+
/**
|
|
1478
|
+
* Static authority gateway request for one delegate result finalization.
|
|
1479
|
+
*
|
|
1480
|
+
* Unlike the dynamically named finalizer subject, this envelope is safe to
|
|
1481
|
+
* expose to restricted remote execution attempts. The Authority validates the
|
|
1482
|
+
* selected finalizer against its durable definition snapshot before routing
|
|
1483
|
+
* the enclosed payload to the finalizer's local namespace.
|
|
1484
|
+
*/
|
|
1485
|
+
declare const WorkflowDelegateResultFinalizationGatewayRequestSchema: z.ZodObject<{
|
|
1486
|
+
executionId: z.ZodString;
|
|
1487
|
+
workflowId: z.ZodString;
|
|
1488
|
+
frameId: z.ZodString;
|
|
1489
|
+
nodeId: z.ZodString;
|
|
1490
|
+
nodeType: z.ZodEnum<{
|
|
1491
|
+
"delegate-agent": "delegate-agent";
|
|
1492
|
+
"delegate-role": "delegate-role";
|
|
1493
|
+
}>;
|
|
1494
|
+
rawResult: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
1495
|
+
toolObservations: z.ZodArray<z.ZodObject<{
|
|
1496
|
+
toolName: z.ZodString;
|
|
1497
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
1498
|
+
success: "success";
|
|
1499
|
+
failure: "failure";
|
|
1500
|
+
}>>;
|
|
1501
|
+
artifact: z.ZodOptional<z.ZodObject<{
|
|
1502
|
+
kind: z.ZodString;
|
|
1503
|
+
id: z.ZodString;
|
|
1504
|
+
revision: z.ZodString;
|
|
1505
|
+
}, z.core.$strict>>;
|
|
1506
|
+
}, z.core.$strict>>;
|
|
1507
|
+
economics: z.ZodOptional<z.ZodObject<{
|
|
1508
|
+
durationMs: z.ZodNumber;
|
|
1509
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1510
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1511
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1512
|
+
toolCallCount: z.ZodOptional<z.ZodNumber>;
|
|
1513
|
+
binding: z.ZodObject<{
|
|
1514
|
+
adapterName: z.ZodString;
|
|
1515
|
+
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
1516
|
+
providerDefinitionId: z.ZodOptional<z.ZodString>;
|
|
1517
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1518
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
1519
|
+
mode: z.ZodEnum<{
|
|
1520
|
+
explicit: "explicit";
|
|
1521
|
+
inferred: "inferred";
|
|
1522
|
+
none: "none";
|
|
1523
|
+
}>;
|
|
1524
|
+
owner: z.ZodEnum<{
|
|
1525
|
+
provider: "provider";
|
|
1526
|
+
client: "client";
|
|
1527
|
+
}>;
|
|
1528
|
+
methodId: z.ZodString;
|
|
1529
|
+
}, z.core.$strict>>;
|
|
1530
|
+
}, z.core.$strict>;
|
|
1531
|
+
}, z.core.$strict>>;
|
|
1532
|
+
finalizerId: z.ZodString;
|
|
1533
|
+
}, z.core.$strict>;
|
|
1475
1534
|
/** Authority response containing the durable delegate frame output. */
|
|
1476
1535
|
declare const WorkflowDelegateResultFinalizationResponseSchema: z.ZodObject<{
|
|
1477
1536
|
output: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
1478
1537
|
}, z.core.$strict>;
|
|
1479
1538
|
type WorkflowDelegateResultFinalizationRequest = z.infer<typeof WorkflowDelegateResultFinalizationRequestSchema>;
|
|
1539
|
+
type WorkflowDelegateResultFinalizationGatewayRequest = z.infer<typeof WorkflowDelegateResultFinalizationGatewayRequestSchema>;
|
|
1480
1540
|
type WorkflowDelegateEconomics = z.infer<typeof WorkflowDelegateEconomicsSchema>;
|
|
1481
1541
|
type WorkflowDelegateResultFinalizationResponse = z.infer<typeof WorkflowDelegateResultFinalizationResponseSchema>;
|
|
1482
1542
|
/**
|
|
@@ -2423,26 +2483,28 @@ declare const WorkflowSchemas: {
|
|
|
2423
2483
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
2424
2484
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2425
2485
|
}, z.core.$strict>], "kind">>;
|
|
2486
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2487
|
+
kind: z.ZodLiteral<"path">;
|
|
2488
|
+
path: z.ZodString;
|
|
2489
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2490
|
+
kind: z.ZodLiteral<"source">;
|
|
2491
|
+
filename: z.ZodString;
|
|
2492
|
+
source: z.ZodString;
|
|
2493
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2494
|
+
kind: z.ZodLiteral<"definition">;
|
|
2495
|
+
workflowId: z.ZodString;
|
|
2496
|
+
}, z.core.$strict>], "kind">>;
|
|
2497
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
2498
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
2499
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
2500
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2501
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
2502
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2503
|
+
"local-directory": "local-directory";
|
|
2504
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
2505
|
+
}>>>;
|
|
2506
|
+
}, z.core.$strip>>;
|
|
2426
2507
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
2427
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
2428
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2429
|
-
kind: z.ZodLiteral<"path">;
|
|
2430
|
-
path: z.ZodString;
|
|
2431
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2432
|
-
kind: z.ZodLiteral<"source">;
|
|
2433
|
-
filename: z.ZodString;
|
|
2434
|
-
source: z.ZodString;
|
|
2435
|
-
}, z.core.$strict>], "kind">>;
|
|
2436
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
2437
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
2438
|
-
local: "local";
|
|
2439
|
-
remote: "remote";
|
|
2440
|
-
container: "container";
|
|
2441
|
-
}>>;
|
|
2442
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2443
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2444
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
2445
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2446
2508
|
}, z.core.$strip>>;
|
|
2447
2509
|
}, z.core.$strip>;
|
|
2448
2510
|
};
|
|
@@ -2540,26 +2602,28 @@ declare const WorkflowSchemas: {
|
|
|
2540
2602
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
2541
2603
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2542
2604
|
}, z.core.$strict>], "kind">>;
|
|
2605
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2606
|
+
kind: z.ZodLiteral<"path">;
|
|
2607
|
+
path: z.ZodString;
|
|
2608
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2609
|
+
kind: z.ZodLiteral<"source">;
|
|
2610
|
+
filename: z.ZodString;
|
|
2611
|
+
source: z.ZodString;
|
|
2612
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2613
|
+
kind: z.ZodLiteral<"definition">;
|
|
2614
|
+
workflowId: z.ZodString;
|
|
2615
|
+
}, z.core.$strict>], "kind">>;
|
|
2616
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
2617
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
2618
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
2619
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2620
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
2621
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2622
|
+
"local-directory": "local-directory";
|
|
2623
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
2624
|
+
}>>>;
|
|
2625
|
+
}, z.core.$strip>>;
|
|
2543
2626
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
2544
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
2545
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2546
|
-
kind: z.ZodLiteral<"path">;
|
|
2547
|
-
path: z.ZodString;
|
|
2548
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2549
|
-
kind: z.ZodLiteral<"source">;
|
|
2550
|
-
filename: z.ZodString;
|
|
2551
|
-
source: z.ZodString;
|
|
2552
|
-
}, z.core.$strict>], "kind">>;
|
|
2553
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
2554
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
2555
|
-
local: "local";
|
|
2556
|
-
remote: "remote";
|
|
2557
|
-
container: "container";
|
|
2558
|
-
}>>;
|
|
2559
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2560
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2561
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
2562
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2563
2627
|
}, z.core.$strip>;
|
|
2564
2628
|
}, z.core.$strip>;
|
|
2565
2629
|
response: z.ZodObject<{
|
|
@@ -2683,26 +2747,28 @@ declare const WorkflowSchemas: {
|
|
|
2683
2747
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
2684
2748
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2685
2749
|
}, z.core.$strict>], "kind">>;
|
|
2750
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2751
|
+
kind: z.ZodLiteral<"path">;
|
|
2752
|
+
path: z.ZodString;
|
|
2753
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2754
|
+
kind: z.ZodLiteral<"source">;
|
|
2755
|
+
filename: z.ZodString;
|
|
2756
|
+
source: z.ZodString;
|
|
2757
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2758
|
+
kind: z.ZodLiteral<"definition">;
|
|
2759
|
+
workflowId: z.ZodString;
|
|
2760
|
+
}, z.core.$strict>], "kind">>;
|
|
2761
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
2762
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
2763
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
2764
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2765
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
2766
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2767
|
+
"local-directory": "local-directory";
|
|
2768
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
2769
|
+
}>>>;
|
|
2770
|
+
}, z.core.$strip>>;
|
|
2686
2771
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
2687
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
2688
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2689
|
-
kind: z.ZodLiteral<"path">;
|
|
2690
|
-
path: z.ZodString;
|
|
2691
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2692
|
-
kind: z.ZodLiteral<"source">;
|
|
2693
|
-
filename: z.ZodString;
|
|
2694
|
-
source: z.ZodString;
|
|
2695
|
-
}, z.core.$strict>], "kind">>;
|
|
2696
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
2697
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
2698
|
-
local: "local";
|
|
2699
|
-
remote: "remote";
|
|
2700
|
-
container: "container";
|
|
2701
|
-
}>>;
|
|
2702
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2703
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2704
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
2705
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2706
2772
|
}, z.core.$strip>>;
|
|
2707
2773
|
}, z.core.$strip>;
|
|
2708
2774
|
};
|
|
@@ -2798,26 +2864,28 @@ declare const WorkflowSchemas: {
|
|
|
2798
2864
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
2799
2865
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2800
2866
|
}, z.core.$strict>], "kind">>;
|
|
2867
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2868
|
+
kind: z.ZodLiteral<"path">;
|
|
2869
|
+
path: z.ZodString;
|
|
2870
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2871
|
+
kind: z.ZodLiteral<"source">;
|
|
2872
|
+
filename: z.ZodString;
|
|
2873
|
+
source: z.ZodString;
|
|
2874
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2875
|
+
kind: z.ZodLiteral<"definition">;
|
|
2876
|
+
workflowId: z.ZodString;
|
|
2877
|
+
}, z.core.$strict>], "kind">>;
|
|
2878
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
2879
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
2880
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
2881
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2882
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
2883
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2884
|
+
"local-directory": "local-directory";
|
|
2885
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
2886
|
+
}>>>;
|
|
2887
|
+
}, z.core.$strip>>;
|
|
2801
2888
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
2802
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
2803
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2804
|
-
kind: z.ZodLiteral<"path">;
|
|
2805
|
-
path: z.ZodString;
|
|
2806
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2807
|
-
kind: z.ZodLiteral<"source">;
|
|
2808
|
-
filename: z.ZodString;
|
|
2809
|
-
source: z.ZodString;
|
|
2810
|
-
}, z.core.$strict>], "kind">>;
|
|
2811
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
2812
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
2813
|
-
local: "local";
|
|
2814
|
-
remote: "remote";
|
|
2815
|
-
container: "container";
|
|
2816
|
-
}>>;
|
|
2817
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2818
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2819
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
2820
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2821
2889
|
}, z.core.$strip>;
|
|
2822
2890
|
'definition.updated': z.ZodObject<{
|
|
2823
2891
|
id: z.ZodString;
|
|
@@ -2911,26 +2979,28 @@ declare const WorkflowSchemas: {
|
|
|
2911
2979
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
2912
2980
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2913
2981
|
}, z.core.$strict>], "kind">>;
|
|
2982
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2983
|
+
kind: z.ZodLiteral<"path">;
|
|
2984
|
+
path: z.ZodString;
|
|
2985
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2986
|
+
kind: z.ZodLiteral<"source">;
|
|
2987
|
+
filename: z.ZodString;
|
|
2988
|
+
source: z.ZodString;
|
|
2989
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2990
|
+
kind: z.ZodLiteral<"definition">;
|
|
2991
|
+
workflowId: z.ZodString;
|
|
2992
|
+
}, z.core.$strict>], "kind">>;
|
|
2993
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
2994
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
2995
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
2996
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2997
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
2998
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2999
|
+
"local-directory": "local-directory";
|
|
3000
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
3001
|
+
}>>>;
|
|
3002
|
+
}, z.core.$strip>>;
|
|
2914
3003
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
2915
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
2916
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2917
|
-
kind: z.ZodLiteral<"path">;
|
|
2918
|
-
path: z.ZodString;
|
|
2919
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2920
|
-
kind: z.ZodLiteral<"source">;
|
|
2921
|
-
filename: z.ZodString;
|
|
2922
|
-
source: z.ZodString;
|
|
2923
|
-
}, z.core.$strict>], "kind">>;
|
|
2924
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
2925
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
2926
|
-
local: "local";
|
|
2927
|
-
remote: "remote";
|
|
2928
|
-
container: "container";
|
|
2929
|
-
}>>;
|
|
2930
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2931
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2932
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
2933
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2934
3004
|
}, z.core.$strip>;
|
|
2935
3005
|
'definition.deleted': z.ZodObject<{
|
|
2936
3006
|
id: z.ZodString;
|
|
@@ -2957,25 +3027,6 @@ declare const WorkflowSchemas: {
|
|
|
2957
3027
|
kind: z.ZodString;
|
|
2958
3028
|
id: z.ZodString;
|
|
2959
3029
|
}, z.core.$strict>], "type">>;
|
|
2960
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
2961
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2962
|
-
kind: z.ZodLiteral<"path">;
|
|
2963
|
-
path: z.ZodString;
|
|
2964
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2965
|
-
kind: z.ZodLiteral<"source">;
|
|
2966
|
-
filename: z.ZodString;
|
|
2967
|
-
source: z.ZodString;
|
|
2968
|
-
}, z.core.$strict>], "kind">>;
|
|
2969
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
2970
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
2971
|
-
local: "local";
|
|
2972
|
-
remote: "remote";
|
|
2973
|
-
container: "container";
|
|
2974
|
-
}>>;
|
|
2975
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2976
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2977
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
2978
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
2979
3030
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
2980
3031
|
triggerPayload: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2981
3032
|
}, z.core.$strip>;
|
|
@@ -3009,25 +3060,6 @@ declare const WorkflowSchemas: {
|
|
|
3009
3060
|
kind: z.ZodString;
|
|
3010
3061
|
id: z.ZodString;
|
|
3011
3062
|
}, z.core.$strict>], "type">>;
|
|
3012
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
3013
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3014
|
-
kind: z.ZodLiteral<"path">;
|
|
3015
|
-
path: z.ZodString;
|
|
3016
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3017
|
-
kind: z.ZodLiteral<"source">;
|
|
3018
|
-
filename: z.ZodString;
|
|
3019
|
-
source: z.ZodString;
|
|
3020
|
-
}, z.core.$strict>], "kind">>;
|
|
3021
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
3022
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
3023
|
-
local: "local";
|
|
3024
|
-
remote: "remote";
|
|
3025
|
-
container: "container";
|
|
3026
|
-
}>>;
|
|
3027
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3028
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
3029
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
3030
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
3031
3063
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
3032
3064
|
triggerPayload: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
3033
3065
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -3141,26 +3173,28 @@ declare const WorkflowSchemas: {
|
|
|
3141
3173
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
3142
3174
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
3143
3175
|
}, z.core.$strict>], "kind">>;
|
|
3176
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3177
|
+
kind: z.ZodLiteral<"path">;
|
|
3178
|
+
path: z.ZodString;
|
|
3179
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3180
|
+
kind: z.ZodLiteral<"source">;
|
|
3181
|
+
filename: z.ZodString;
|
|
3182
|
+
source: z.ZodString;
|
|
3183
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3184
|
+
kind: z.ZodLiteral<"definition">;
|
|
3185
|
+
workflowId: z.ZodString;
|
|
3186
|
+
}, z.core.$strict>], "kind">>;
|
|
3187
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
3188
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
3189
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
3190
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3191
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
3192
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3193
|
+
"local-directory": "local-directory";
|
|
3194
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
3195
|
+
}>>>;
|
|
3196
|
+
}, z.core.$strip>>;
|
|
3144
3197
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
3145
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
3146
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3147
|
-
kind: z.ZodLiteral<"path">;
|
|
3148
|
-
path: z.ZodString;
|
|
3149
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3150
|
-
kind: z.ZodLiteral<"source">;
|
|
3151
|
-
filename: z.ZodString;
|
|
3152
|
-
source: z.ZodString;
|
|
3153
|
-
}, z.core.$strict>], "kind">>;
|
|
3154
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
3155
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
3156
|
-
local: "local";
|
|
3157
|
-
remote: "remote";
|
|
3158
|
-
container: "container";
|
|
3159
|
-
}>>;
|
|
3160
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3161
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
3162
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
3163
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
3164
3198
|
}, z.core.$strip>;
|
|
3165
3199
|
}, z.core.$strict>;
|
|
3166
3200
|
response: z.ZodObject<{
|
|
@@ -3598,12 +3632,71 @@ declare const WorkflowSchemas: {
|
|
|
3598
3632
|
completed: "completed";
|
|
3599
3633
|
cancelled: "cancelled";
|
|
3600
3634
|
failed: "failed";
|
|
3601
|
-
running: "running";
|
|
3602
3635
|
paused: "paused";
|
|
3636
|
+
running: "running";
|
|
3603
3637
|
finalizing: "finalizing";
|
|
3604
3638
|
}>;
|
|
3605
3639
|
}, z.core.$strip>;
|
|
3606
3640
|
};
|
|
3641
|
+
/**
|
|
3642
|
+
* Finalize a successful delegate result through the Authority-owned static
|
|
3643
|
+
* gateway. The handler verifies the attempt peer and durable node selector
|
|
3644
|
+
* before invoking the selected local finalizer.
|
|
3645
|
+
*/
|
|
3646
|
+
finalizeDelegateResult: {
|
|
3647
|
+
request: z.ZodObject<{
|
|
3648
|
+
executionId: z.ZodString;
|
|
3649
|
+
workflowId: z.ZodString;
|
|
3650
|
+
frameId: z.ZodString;
|
|
3651
|
+
nodeId: z.ZodString;
|
|
3652
|
+
nodeType: z.ZodEnum<{
|
|
3653
|
+
"delegate-agent": "delegate-agent";
|
|
3654
|
+
"delegate-role": "delegate-role";
|
|
3655
|
+
}>;
|
|
3656
|
+
rawResult: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
3657
|
+
toolObservations: z.ZodArray<z.ZodObject<{
|
|
3658
|
+
toolName: z.ZodString;
|
|
3659
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
3660
|
+
success: "success";
|
|
3661
|
+
failure: "failure";
|
|
3662
|
+
}>>;
|
|
3663
|
+
artifact: z.ZodOptional<z.ZodObject<{
|
|
3664
|
+
kind: z.ZodString;
|
|
3665
|
+
id: z.ZodString;
|
|
3666
|
+
revision: z.ZodString;
|
|
3667
|
+
}, z.core.$strict>>;
|
|
3668
|
+
}, z.core.$strict>>;
|
|
3669
|
+
economics: z.ZodOptional<z.ZodObject<{
|
|
3670
|
+
durationMs: z.ZodNumber;
|
|
3671
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
3672
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
3673
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
3674
|
+
toolCallCount: z.ZodOptional<z.ZodNumber>;
|
|
3675
|
+
binding: z.ZodObject<{
|
|
3676
|
+
adapterName: z.ZodString;
|
|
3677
|
+
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
3678
|
+
providerDefinitionId: z.ZodOptional<z.ZodString>;
|
|
3679
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3680
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
3681
|
+
mode: z.ZodEnum<{
|
|
3682
|
+
explicit: "explicit";
|
|
3683
|
+
inferred: "inferred";
|
|
3684
|
+
none: "none";
|
|
3685
|
+
}>;
|
|
3686
|
+
owner: z.ZodEnum<{
|
|
3687
|
+
provider: "provider";
|
|
3688
|
+
client: "client";
|
|
3689
|
+
}>;
|
|
3690
|
+
methodId: z.ZodString;
|
|
3691
|
+
}, z.core.$strict>>;
|
|
3692
|
+
}, z.core.$strict>;
|
|
3693
|
+
}, z.core.$strict>>;
|
|
3694
|
+
finalizerId: z.ZodString;
|
|
3695
|
+
}, z.core.$strict>;
|
|
3696
|
+
response: z.ZodObject<{
|
|
3697
|
+
output: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
3698
|
+
}, z.core.$strict>;
|
|
3699
|
+
};
|
|
3607
3700
|
getExecution: {
|
|
3608
3701
|
request: z.ZodObject<{
|
|
3609
3702
|
executionId: z.ZodString;
|
|
@@ -3618,8 +3711,8 @@ declare const WorkflowSchemas: {
|
|
|
3618
3711
|
completed: "completed";
|
|
3619
3712
|
cancelled: "cancelled";
|
|
3620
3713
|
failed: "failed";
|
|
3621
|
-
running: "running";
|
|
3622
3714
|
paused: "paused";
|
|
3715
|
+
running: "running";
|
|
3623
3716
|
finalizing: "finalizing";
|
|
3624
3717
|
}>;
|
|
3625
3718
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -3676,8 +3769,8 @@ declare const WorkflowSchemas: {
|
|
|
3676
3769
|
completed: "completed";
|
|
3677
3770
|
cancelled: "cancelled";
|
|
3678
3771
|
failed: "failed";
|
|
3679
|
-
running: "running";
|
|
3680
3772
|
paused: "paused";
|
|
3773
|
+
running: "running";
|
|
3681
3774
|
finalizing: "finalizing";
|
|
3682
3775
|
}>>;
|
|
3683
3776
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -3700,8 +3793,8 @@ declare const WorkflowSchemas: {
|
|
|
3700
3793
|
completed: "completed";
|
|
3701
3794
|
cancelled: "cancelled";
|
|
3702
3795
|
failed: "failed";
|
|
3703
|
-
running: "running";
|
|
3704
3796
|
paused: "paused";
|
|
3797
|
+
running: "running";
|
|
3705
3798
|
finalizing: "finalizing";
|
|
3706
3799
|
}>;
|
|
3707
3800
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -3757,8 +3850,8 @@ declare const WorkflowSchemas: {
|
|
|
3757
3850
|
completed: "completed";
|
|
3758
3851
|
cancelled: "cancelled";
|
|
3759
3852
|
failed: "failed";
|
|
3760
|
-
running: "running";
|
|
3761
3853
|
paused: "paused";
|
|
3854
|
+
running: "running";
|
|
3762
3855
|
finalizing: "finalizing";
|
|
3763
3856
|
}>;
|
|
3764
3857
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -3938,12 +4031,12 @@ declare const WorkflowSchemas: {
|
|
|
3938
4031
|
frameId: z.ZodString;
|
|
3939
4032
|
nodeId: z.ZodString;
|
|
3940
4033
|
nodeType: z.ZodEnum<{
|
|
3941
|
-
sequence: "sequence";
|
|
3942
4034
|
station: "station";
|
|
3943
4035
|
"delegate-agent": "delegate-agent";
|
|
3944
4036
|
"delegate-role": "delegate-role";
|
|
3945
|
-
|
|
4037
|
+
sequence: "sequence";
|
|
3946
4038
|
parallel: "parallel";
|
|
4039
|
+
gate: "gate";
|
|
3947
4040
|
iterate: "iterate";
|
|
3948
4041
|
"iterate-chain": "iterate-chain";
|
|
3949
4042
|
loop: "loop";
|
|
@@ -3997,6 +4090,17 @@ declare const WorkflowSchemas: {
|
|
|
3997
4090
|
runFile: {
|
|
3998
4091
|
request: z.ZodObject<{
|
|
3999
4092
|
filePath: z.ZodString;
|
|
4093
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4094
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
4095
|
+
workspaceId: z.ZodString;
|
|
4096
|
+
rootDigest: z.ZodString;
|
|
4097
|
+
sourcePath: z.ZodString;
|
|
4098
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4099
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
4100
|
+
snapshotId: z.ZodString;
|
|
4101
|
+
digest: z.ZodString;
|
|
4102
|
+
sourcePath: z.ZodString;
|
|
4103
|
+
}, z.core.$strict>], "kind">>;
|
|
4000
4104
|
triggerPayload: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
4001
4105
|
scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4002
4106
|
type: z.ZodLiteral<"global">;
|
|
@@ -4143,8 +4247,8 @@ declare const WorkflowSchemas: {
|
|
|
4143
4247
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
4144
4248
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
4145
4249
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
4146
|
-
fresh: "fresh";
|
|
4147
4250
|
fork: "fork";
|
|
4251
|
+
fresh: "fresh";
|
|
4148
4252
|
}>>;
|
|
4149
4253
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4150
4254
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -4254,8 +4358,8 @@ declare const WorkflowSchemas: {
|
|
|
4254
4358
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
4255
4359
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
4256
4360
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
4257
|
-
fresh: "fresh";
|
|
4258
4361
|
fork: "fork";
|
|
4362
|
+
fresh: "fresh";
|
|
4259
4363
|
}>>;
|
|
4260
4364
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4261
4365
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -4352,8 +4456,9 @@ declare const WorkflowSchemas: {
|
|
|
4352
4456
|
*
|
|
4353
4457
|
* Trust-boundary rules (enforced by the handler, not the schema):
|
|
4354
4458
|
* - Local callers: always permitted.
|
|
4355
|
-
* - Direct HMAC callers: `
|
|
4356
|
-
* -
|
|
4459
|
+
* - Direct HMAC callers: authenticated `workflow-execution-attempt` peer
|
|
4460
|
+
* whose Authority-issued `executionId` claim matches the request.
|
|
4461
|
+
* - Relay/E2E callers: authenticated, encrypted peer bound to `executionId`.
|
|
4357
4462
|
*/
|
|
4358
4463
|
getRunContext: {
|
|
4359
4464
|
request: z.ZodObject<{
|
|
@@ -4465,33 +4570,37 @@ declare const WorkflowSchemas: {
|
|
|
4465
4570
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
4466
4571
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
4467
4572
|
}, z.core.$strict>], "kind">>;
|
|
4573
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4574
|
+
kind: z.ZodLiteral<"path">;
|
|
4575
|
+
path: z.ZodString;
|
|
4576
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4577
|
+
kind: z.ZodLiteral<"source">;
|
|
4578
|
+
filename: z.ZodString;
|
|
4579
|
+
source: z.ZodString;
|
|
4580
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4581
|
+
kind: z.ZodLiteral<"definition">;
|
|
4582
|
+
workflowId: z.ZodString;
|
|
4583
|
+
}, z.core.$strict>], "kind">>;
|
|
4584
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
4585
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
4586
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
4587
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4588
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
4589
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4590
|
+
"local-directory": "local-directory";
|
|
4591
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
4592
|
+
}>>>;
|
|
4593
|
+
}, z.core.$strip>>;
|
|
4468
4594
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
4469
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
4470
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4471
|
-
kind: z.ZodLiteral<"path">;
|
|
4472
|
-
path: z.ZodString;
|
|
4473
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4474
|
-
kind: z.ZodLiteral<"source">;
|
|
4475
|
-
filename: z.ZodString;
|
|
4476
|
-
source: z.ZodString;
|
|
4477
|
-
}, z.core.$strict>], "kind">>;
|
|
4478
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
4479
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
4480
|
-
local: "local";
|
|
4481
|
-
remote: "remote";
|
|
4482
|
-
container: "container";
|
|
4483
|
-
}>>;
|
|
4484
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4485
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
4486
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
4487
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
4488
4595
|
}, z.core.$strip>>;
|
|
4489
4596
|
workerManifest: z.ZodDefault<z.ZodObject<{
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4597
|
+
contributionRefs: z.ZodArray<z.ZodObject<{
|
|
4598
|
+
packageName: z.ZodString;
|
|
4599
|
+
version: z.ZodString;
|
|
4600
|
+
entrypoint: z.ZodString;
|
|
4601
|
+
integrity: z.ZodString;
|
|
4602
|
+
}, z.core.$strict>>;
|
|
4603
|
+
}, z.core.$strict>>;
|
|
4495
4604
|
inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
4496
4605
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
4497
4606
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -4513,38 +4622,8 @@ declare const WorkflowSchemas: {
|
|
|
4513
4622
|
id: z.ZodString;
|
|
4514
4623
|
}, z.core.$strip>>;
|
|
4515
4624
|
coordinatorSessionId: z.ZodString;
|
|
4516
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
4517
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4518
|
-
kind: z.ZodLiteral<"path">;
|
|
4519
|
-
path: z.ZodString;
|
|
4520
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4521
|
-
kind: z.ZodLiteral<"source">;
|
|
4522
|
-
filename: z.ZodString;
|
|
4523
|
-
source: z.ZodString;
|
|
4524
|
-
}, z.core.$strict>], "kind">>;
|
|
4525
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
4526
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
4527
|
-
local: "local";
|
|
4528
|
-
remote: "remote";
|
|
4529
|
-
container: "container";
|
|
4530
|
-
}>>;
|
|
4531
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4532
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
4533
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
4534
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
4535
4625
|
dispatchMetadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
4536
4626
|
cancelSubject: z.ZodString;
|
|
4537
|
-
context: z.ZodObject<{
|
|
4538
|
-
repoPath: z.ZodString;
|
|
4539
|
-
makaioHome: z.ZodString;
|
|
4540
|
-
os: z.ZodEnum<{
|
|
4541
|
-
darwin: "darwin";
|
|
4542
|
-
linux: "linux";
|
|
4543
|
-
win32: "win32";
|
|
4544
|
-
}>;
|
|
4545
|
-
arch: z.ZodString;
|
|
4546
|
-
worktree: z.ZodOptional<z.ZodString>;
|
|
4547
|
-
}, z.core.$strip>;
|
|
4548
4627
|
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4549
4628
|
createdAt: z.ZodNumber;
|
|
4550
4629
|
suspensionStrategy: z.ZodDefault<z.ZodEnum<{
|
|
@@ -4553,9 +4632,20 @@ declare const WorkflowSchemas: {
|
|
|
4553
4632
|
"exit-and-resume": "exit-and-resume";
|
|
4554
4633
|
}>>;
|
|
4555
4634
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
4556
|
-
authority: "authority";
|
|
4557
4635
|
worker: "worker";
|
|
4636
|
+
authority: "authority";
|
|
4558
4637
|
}>>;
|
|
4638
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4639
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
4640
|
+
workspaceId: z.ZodString;
|
|
4641
|
+
rootDigest: z.ZodString;
|
|
4642
|
+
sourcePath: z.ZodString;
|
|
4643
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4644
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
4645
|
+
snapshotId: z.ZodString;
|
|
4646
|
+
digest: z.ZodString;
|
|
4647
|
+
sourcePath: z.ZodString;
|
|
4648
|
+
}, z.core.$strict>], "kind">>;
|
|
4559
4649
|
}, z.core.$strip>;
|
|
4560
4650
|
};
|
|
4561
4651
|
'execution.started': z.ZodObject<{
|
|
@@ -4781,12 +4871,12 @@ declare const WorkflowSchemas: {
|
|
|
4781
4871
|
frameId: z.ZodString;
|
|
4782
4872
|
nodeId: z.ZodString;
|
|
4783
4873
|
nodeType: z.ZodEnum<{
|
|
4784
|
-
sequence: "sequence";
|
|
4785
4874
|
station: "station";
|
|
4786
4875
|
"delegate-agent": "delegate-agent";
|
|
4787
4876
|
"delegate-role": "delegate-role";
|
|
4788
|
-
|
|
4877
|
+
sequence: "sequence";
|
|
4789
4878
|
parallel: "parallel";
|
|
4879
|
+
gate: "gate";
|
|
4790
4880
|
iterate: "iterate";
|
|
4791
4881
|
"iterate-chain": "iterate-chain";
|
|
4792
4882
|
loop: "loop";
|
|
@@ -4911,8 +5001,8 @@ declare const WorkflowSchemas: {
|
|
|
4911
5001
|
completed: "completed";
|
|
4912
5002
|
cancelled: "cancelled";
|
|
4913
5003
|
failed: "failed";
|
|
4914
|
-
running: "running";
|
|
4915
5004
|
paused: "paused";
|
|
5005
|
+
running: "running";
|
|
4916
5006
|
finalizing: "finalizing";
|
|
4917
5007
|
}>;
|
|
4918
5008
|
startedAt: z.ZodNumber;
|
|
@@ -4942,12 +5032,12 @@ declare const WorkflowSchemas: {
|
|
|
4942
5032
|
frameId: z.ZodString;
|
|
4943
5033
|
nodeId: z.ZodString;
|
|
4944
5034
|
nodeType: z.ZodEnum<{
|
|
4945
|
-
sequence: "sequence";
|
|
4946
5035
|
station: "station";
|
|
4947
5036
|
"delegate-agent": "delegate-agent";
|
|
4948
5037
|
"delegate-role": "delegate-role";
|
|
4949
|
-
|
|
5038
|
+
sequence: "sequence";
|
|
4950
5039
|
parallel: "parallel";
|
|
5040
|
+
gate: "gate";
|
|
4951
5041
|
iterate: "iterate";
|
|
4952
5042
|
"iterate-chain": "iterate-chain";
|
|
4953
5043
|
loop: "loop";
|
|
@@ -4989,8 +5079,8 @@ declare const WorkflowSchemas: {
|
|
|
4989
5079
|
completed: "completed";
|
|
4990
5080
|
cancelled: "cancelled";
|
|
4991
5081
|
failed: "failed";
|
|
4992
|
-
running: "running";
|
|
4993
5082
|
paused: "paused";
|
|
5083
|
+
running: "running";
|
|
4994
5084
|
finalizing: "finalizing";
|
|
4995
5085
|
}>>;
|
|
4996
5086
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5006,8 +5096,8 @@ declare const WorkflowSchemas: {
|
|
|
5006
5096
|
completed: "completed";
|
|
5007
5097
|
cancelled: "cancelled";
|
|
5008
5098
|
failed: "failed";
|
|
5009
|
-
running: "running";
|
|
5010
5099
|
paused: "paused";
|
|
5100
|
+
running: "running";
|
|
5011
5101
|
finalizing: "finalizing";
|
|
5012
5102
|
}>;
|
|
5013
5103
|
startedAt: z.ZodNumber;
|
|
@@ -5213,26 +5303,28 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5213
5303
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
5214
5304
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5215
5305
|
}, z.core.$strict>], "kind">>;
|
|
5306
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5307
|
+
kind: z.ZodLiteral<"path">;
|
|
5308
|
+
path: z.ZodString;
|
|
5309
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5310
|
+
kind: z.ZodLiteral<"source">;
|
|
5311
|
+
filename: z.ZodString;
|
|
5312
|
+
source: z.ZodString;
|
|
5313
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5314
|
+
kind: z.ZodLiteral<"definition">;
|
|
5315
|
+
workflowId: z.ZodString;
|
|
5316
|
+
}, z.core.$strict>], "kind">>;
|
|
5317
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
5318
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
5319
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
5320
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5321
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
5322
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5323
|
+
"local-directory": "local-directory";
|
|
5324
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
5325
|
+
}>>>;
|
|
5326
|
+
}, z.core.$strip>>;
|
|
5216
5327
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
5217
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
5218
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5219
|
-
kind: z.ZodLiteral<"path">;
|
|
5220
|
-
path: z.ZodString;
|
|
5221
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5222
|
-
kind: z.ZodLiteral<"source">;
|
|
5223
|
-
filename: z.ZodString;
|
|
5224
|
-
source: z.ZodString;
|
|
5225
|
-
}, z.core.$strict>], "kind">>;
|
|
5226
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
5227
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
5228
|
-
local: "local";
|
|
5229
|
-
remote: "remote";
|
|
5230
|
-
container: "container";
|
|
5231
|
-
}>>;
|
|
5232
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5233
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5234
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
5235
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5236
5328
|
}, z.core.$strip>>;
|
|
5237
5329
|
}, z.core.$strip>;
|
|
5238
5330
|
};
|
|
@@ -5330,26 +5422,28 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5330
5422
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
5331
5423
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5332
5424
|
}, z.core.$strict>], "kind">>;
|
|
5425
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5426
|
+
kind: z.ZodLiteral<"path">;
|
|
5427
|
+
path: z.ZodString;
|
|
5428
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5429
|
+
kind: z.ZodLiteral<"source">;
|
|
5430
|
+
filename: z.ZodString;
|
|
5431
|
+
source: z.ZodString;
|
|
5432
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5433
|
+
kind: z.ZodLiteral<"definition">;
|
|
5434
|
+
workflowId: z.ZodString;
|
|
5435
|
+
}, z.core.$strict>], "kind">>;
|
|
5436
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
5437
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
5438
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
5439
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5440
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
5441
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5442
|
+
"local-directory": "local-directory";
|
|
5443
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
5444
|
+
}>>>;
|
|
5445
|
+
}, z.core.$strip>>;
|
|
5333
5446
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
5334
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
5335
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5336
|
-
kind: z.ZodLiteral<"path">;
|
|
5337
|
-
path: z.ZodString;
|
|
5338
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5339
|
-
kind: z.ZodLiteral<"source">;
|
|
5340
|
-
filename: z.ZodString;
|
|
5341
|
-
source: z.ZodString;
|
|
5342
|
-
}, z.core.$strict>], "kind">>;
|
|
5343
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
5344
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
5345
|
-
local: "local";
|
|
5346
|
-
remote: "remote";
|
|
5347
|
-
container: "container";
|
|
5348
|
-
}>>;
|
|
5349
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5350
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5351
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
5352
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5353
5447
|
}, z.core.$strip>;
|
|
5354
5448
|
}, z.core.$strip>;
|
|
5355
5449
|
response: z.ZodObject<{
|
|
@@ -5473,26 +5567,28 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5473
5567
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
5474
5568
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5475
5569
|
}, z.core.$strict>], "kind">>;
|
|
5570
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5571
|
+
kind: z.ZodLiteral<"path">;
|
|
5572
|
+
path: z.ZodString;
|
|
5573
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5574
|
+
kind: z.ZodLiteral<"source">;
|
|
5575
|
+
filename: z.ZodString;
|
|
5576
|
+
source: z.ZodString;
|
|
5577
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5578
|
+
kind: z.ZodLiteral<"definition">;
|
|
5579
|
+
workflowId: z.ZodString;
|
|
5580
|
+
}, z.core.$strict>], "kind">>;
|
|
5581
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
5582
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
5583
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
5584
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5585
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
5586
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5587
|
+
"local-directory": "local-directory";
|
|
5588
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
5589
|
+
}>>>;
|
|
5590
|
+
}, z.core.$strip>>;
|
|
5476
5591
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
5477
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
5478
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5479
|
-
kind: z.ZodLiteral<"path">;
|
|
5480
|
-
path: z.ZodString;
|
|
5481
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5482
|
-
kind: z.ZodLiteral<"source">;
|
|
5483
|
-
filename: z.ZodString;
|
|
5484
|
-
source: z.ZodString;
|
|
5485
|
-
}, z.core.$strict>], "kind">>;
|
|
5486
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
5487
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
5488
|
-
local: "local";
|
|
5489
|
-
remote: "remote";
|
|
5490
|
-
container: "container";
|
|
5491
|
-
}>>;
|
|
5492
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5493
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5494
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
5495
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5496
5592
|
}, z.core.$strip>>;
|
|
5497
5593
|
}, z.core.$strip>;
|
|
5498
5594
|
};
|
|
@@ -5588,26 +5684,28 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5588
5684
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
5589
5685
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5590
5686
|
}, z.core.$strict>], "kind">>;
|
|
5687
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5688
|
+
kind: z.ZodLiteral<"path">;
|
|
5689
|
+
path: z.ZodString;
|
|
5690
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5691
|
+
kind: z.ZodLiteral<"source">;
|
|
5692
|
+
filename: z.ZodString;
|
|
5693
|
+
source: z.ZodString;
|
|
5694
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5695
|
+
kind: z.ZodLiteral<"definition">;
|
|
5696
|
+
workflowId: z.ZodString;
|
|
5697
|
+
}, z.core.$strict>], "kind">>;
|
|
5698
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
5699
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
5700
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
5701
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5702
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
5703
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5704
|
+
"local-directory": "local-directory";
|
|
5705
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
5706
|
+
}>>>;
|
|
5707
|
+
}, z.core.$strip>>;
|
|
5591
5708
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
5592
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
5593
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5594
|
-
kind: z.ZodLiteral<"path">;
|
|
5595
|
-
path: z.ZodString;
|
|
5596
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5597
|
-
kind: z.ZodLiteral<"source">;
|
|
5598
|
-
filename: z.ZodString;
|
|
5599
|
-
source: z.ZodString;
|
|
5600
|
-
}, z.core.$strict>], "kind">>;
|
|
5601
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
5602
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
5603
|
-
local: "local";
|
|
5604
|
-
remote: "remote";
|
|
5605
|
-
container: "container";
|
|
5606
|
-
}>>;
|
|
5607
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5608
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5609
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
5610
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5611
5709
|
}, z.core.$strip>;
|
|
5612
5710
|
'definition.updated': z.ZodObject<{
|
|
5613
5711
|
id: z.ZodString;
|
|
@@ -5701,26 +5799,28 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5701
5799
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
5702
5800
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5703
5801
|
}, z.core.$strict>], "kind">>;
|
|
5802
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5803
|
+
kind: z.ZodLiteral<"path">;
|
|
5804
|
+
path: z.ZodString;
|
|
5805
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5806
|
+
kind: z.ZodLiteral<"source">;
|
|
5807
|
+
filename: z.ZodString;
|
|
5808
|
+
source: z.ZodString;
|
|
5809
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5810
|
+
kind: z.ZodLiteral<"definition">;
|
|
5811
|
+
workflowId: z.ZodString;
|
|
5812
|
+
}, z.core.$strict>], "kind">>;
|
|
5813
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
5814
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
5815
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
5816
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5817
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
5818
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5819
|
+
"local-directory": "local-directory";
|
|
5820
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
5821
|
+
}>>>;
|
|
5822
|
+
}, z.core.$strip>>;
|
|
5704
5823
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
5705
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
5706
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5707
|
-
kind: z.ZodLiteral<"path">;
|
|
5708
|
-
path: z.ZodString;
|
|
5709
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5710
|
-
kind: z.ZodLiteral<"source">;
|
|
5711
|
-
filename: z.ZodString;
|
|
5712
|
-
source: z.ZodString;
|
|
5713
|
-
}, z.core.$strict>], "kind">>;
|
|
5714
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
5715
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
5716
|
-
local: "local";
|
|
5717
|
-
remote: "remote";
|
|
5718
|
-
container: "container";
|
|
5719
|
-
}>>;
|
|
5720
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5721
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5722
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
5723
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5724
5824
|
}, z.core.$strip>;
|
|
5725
5825
|
'definition.deleted': z.ZodObject<{
|
|
5726
5826
|
id: z.ZodString;
|
|
@@ -5747,25 +5847,6 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5747
5847
|
kind: z.ZodString;
|
|
5748
5848
|
id: z.ZodString;
|
|
5749
5849
|
}, z.core.$strict>], "type">>;
|
|
5750
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
5751
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5752
|
-
kind: z.ZodLiteral<"path">;
|
|
5753
|
-
path: z.ZodString;
|
|
5754
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5755
|
-
kind: z.ZodLiteral<"source">;
|
|
5756
|
-
filename: z.ZodString;
|
|
5757
|
-
source: z.ZodString;
|
|
5758
|
-
}, z.core.$strict>], "kind">>;
|
|
5759
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
5760
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
5761
|
-
local: "local";
|
|
5762
|
-
remote: "remote";
|
|
5763
|
-
container: "container";
|
|
5764
|
-
}>>;
|
|
5765
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5766
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5767
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
5768
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5769
5850
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
5770
5851
|
triggerPayload: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5771
5852
|
}, z.core.$strip>;
|
|
@@ -5799,25 +5880,6 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5799
5880
|
kind: z.ZodString;
|
|
5800
5881
|
id: z.ZodString;
|
|
5801
5882
|
}, z.core.$strict>], "type">>;
|
|
5802
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
5803
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5804
|
-
kind: z.ZodLiteral<"path">;
|
|
5805
|
-
path: z.ZodString;
|
|
5806
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5807
|
-
kind: z.ZodLiteral<"source">;
|
|
5808
|
-
filename: z.ZodString;
|
|
5809
|
-
source: z.ZodString;
|
|
5810
|
-
}, z.core.$strict>], "kind">>;
|
|
5811
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
5812
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
5813
|
-
local: "local";
|
|
5814
|
-
remote: "remote";
|
|
5815
|
-
container: "container";
|
|
5816
|
-
}>>;
|
|
5817
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5818
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5819
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
5820
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5821
5883
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
5822
5884
|
triggerPayload: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5823
5885
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -5931,26 +5993,28 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5931
5993
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
5932
5994
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5933
5995
|
}, z.core.$strict>], "kind">>;
|
|
5996
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5997
|
+
kind: z.ZodLiteral<"path">;
|
|
5998
|
+
path: z.ZodString;
|
|
5999
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6000
|
+
kind: z.ZodLiteral<"source">;
|
|
6001
|
+
filename: z.ZodString;
|
|
6002
|
+
source: z.ZodString;
|
|
6003
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6004
|
+
kind: z.ZodLiteral<"definition">;
|
|
6005
|
+
workflowId: z.ZodString;
|
|
6006
|
+
}, z.core.$strict>], "kind">>;
|
|
6007
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
6008
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
6009
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
6010
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6011
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
6012
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6013
|
+
"local-directory": "local-directory";
|
|
6014
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
6015
|
+
}>>>;
|
|
6016
|
+
}, z.core.$strip>>;
|
|
5934
6017
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
5935
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
5936
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5937
|
-
kind: z.ZodLiteral<"path">;
|
|
5938
|
-
path: z.ZodString;
|
|
5939
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5940
|
-
kind: z.ZodLiteral<"source">;
|
|
5941
|
-
filename: z.ZodString;
|
|
5942
|
-
source: z.ZodString;
|
|
5943
|
-
}, z.core.$strict>], "kind">>;
|
|
5944
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
5945
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
5946
|
-
local: "local";
|
|
5947
|
-
remote: "remote";
|
|
5948
|
-
container: "container";
|
|
5949
|
-
}>>;
|
|
5950
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5951
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5952
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
5953
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
5954
6018
|
}, z.core.$strip>;
|
|
5955
6019
|
}, z.core.$strict>;
|
|
5956
6020
|
response: z.ZodObject<{
|
|
@@ -6388,12 +6452,71 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6388
6452
|
completed: "completed";
|
|
6389
6453
|
cancelled: "cancelled";
|
|
6390
6454
|
failed: "failed";
|
|
6391
|
-
running: "running";
|
|
6392
6455
|
paused: "paused";
|
|
6456
|
+
running: "running";
|
|
6393
6457
|
finalizing: "finalizing";
|
|
6394
6458
|
}>;
|
|
6395
6459
|
}, z.core.$strip>;
|
|
6396
6460
|
};
|
|
6461
|
+
/**
|
|
6462
|
+
* Finalize a successful delegate result through the Authority-owned static
|
|
6463
|
+
* gateway. The handler verifies the attempt peer and durable node selector
|
|
6464
|
+
* before invoking the selected local finalizer.
|
|
6465
|
+
*/
|
|
6466
|
+
finalizeDelegateResult: {
|
|
6467
|
+
request: z.ZodObject<{
|
|
6468
|
+
executionId: z.ZodString;
|
|
6469
|
+
workflowId: z.ZodString;
|
|
6470
|
+
frameId: z.ZodString;
|
|
6471
|
+
nodeId: z.ZodString;
|
|
6472
|
+
nodeType: z.ZodEnum<{
|
|
6473
|
+
"delegate-agent": "delegate-agent";
|
|
6474
|
+
"delegate-role": "delegate-role";
|
|
6475
|
+
}>;
|
|
6476
|
+
rawResult: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
6477
|
+
toolObservations: z.ZodArray<z.ZodObject<{
|
|
6478
|
+
toolName: z.ZodString;
|
|
6479
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
6480
|
+
success: "success";
|
|
6481
|
+
failure: "failure";
|
|
6482
|
+
}>>;
|
|
6483
|
+
artifact: z.ZodOptional<z.ZodObject<{
|
|
6484
|
+
kind: z.ZodString;
|
|
6485
|
+
id: z.ZodString;
|
|
6486
|
+
revision: z.ZodString;
|
|
6487
|
+
}, z.core.$strict>>;
|
|
6488
|
+
}, z.core.$strict>>;
|
|
6489
|
+
economics: z.ZodOptional<z.ZodObject<{
|
|
6490
|
+
durationMs: z.ZodNumber;
|
|
6491
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
6492
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
6493
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
6494
|
+
toolCallCount: z.ZodOptional<z.ZodNumber>;
|
|
6495
|
+
binding: z.ZodObject<{
|
|
6496
|
+
adapterName: z.ZodString;
|
|
6497
|
+
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
6498
|
+
providerDefinitionId: z.ZodOptional<z.ZodString>;
|
|
6499
|
+
model: z.ZodOptional<z.ZodString>;
|
|
6500
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
6501
|
+
mode: z.ZodEnum<{
|
|
6502
|
+
explicit: "explicit";
|
|
6503
|
+
inferred: "inferred";
|
|
6504
|
+
none: "none";
|
|
6505
|
+
}>;
|
|
6506
|
+
owner: z.ZodEnum<{
|
|
6507
|
+
provider: "provider";
|
|
6508
|
+
client: "client";
|
|
6509
|
+
}>;
|
|
6510
|
+
methodId: z.ZodString;
|
|
6511
|
+
}, z.core.$strict>>;
|
|
6512
|
+
}, z.core.$strict>;
|
|
6513
|
+
}, z.core.$strict>>;
|
|
6514
|
+
finalizerId: z.ZodString;
|
|
6515
|
+
}, z.core.$strict>;
|
|
6516
|
+
response: z.ZodObject<{
|
|
6517
|
+
output: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
6518
|
+
}, z.core.$strict>;
|
|
6519
|
+
};
|
|
6397
6520
|
getExecution: {
|
|
6398
6521
|
request: z.ZodObject<{
|
|
6399
6522
|
executionId: z.ZodString;
|
|
@@ -6408,8 +6531,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6408
6531
|
completed: "completed";
|
|
6409
6532
|
cancelled: "cancelled";
|
|
6410
6533
|
failed: "failed";
|
|
6411
|
-
running: "running";
|
|
6412
6534
|
paused: "paused";
|
|
6535
|
+
running: "running";
|
|
6413
6536
|
finalizing: "finalizing";
|
|
6414
6537
|
}>;
|
|
6415
6538
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -6466,8 +6589,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6466
6589
|
completed: "completed";
|
|
6467
6590
|
cancelled: "cancelled";
|
|
6468
6591
|
failed: "failed";
|
|
6469
|
-
running: "running";
|
|
6470
6592
|
paused: "paused";
|
|
6593
|
+
running: "running";
|
|
6471
6594
|
finalizing: "finalizing";
|
|
6472
6595
|
}>>;
|
|
6473
6596
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -6490,8 +6613,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6490
6613
|
completed: "completed";
|
|
6491
6614
|
cancelled: "cancelled";
|
|
6492
6615
|
failed: "failed";
|
|
6493
|
-
running: "running";
|
|
6494
6616
|
paused: "paused";
|
|
6617
|
+
running: "running";
|
|
6495
6618
|
finalizing: "finalizing";
|
|
6496
6619
|
}>;
|
|
6497
6620
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -6547,8 +6670,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6547
6670
|
completed: "completed";
|
|
6548
6671
|
cancelled: "cancelled";
|
|
6549
6672
|
failed: "failed";
|
|
6550
|
-
running: "running";
|
|
6551
6673
|
paused: "paused";
|
|
6674
|
+
running: "running";
|
|
6552
6675
|
finalizing: "finalizing";
|
|
6553
6676
|
}>;
|
|
6554
6677
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -6728,12 +6851,12 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6728
6851
|
frameId: z.ZodString;
|
|
6729
6852
|
nodeId: z.ZodString;
|
|
6730
6853
|
nodeType: z.ZodEnum<{
|
|
6731
|
-
sequence: "sequence";
|
|
6732
6854
|
station: "station";
|
|
6733
6855
|
"delegate-agent": "delegate-agent";
|
|
6734
6856
|
"delegate-role": "delegate-role";
|
|
6735
|
-
|
|
6857
|
+
sequence: "sequence";
|
|
6736
6858
|
parallel: "parallel";
|
|
6859
|
+
gate: "gate";
|
|
6737
6860
|
iterate: "iterate";
|
|
6738
6861
|
"iterate-chain": "iterate-chain";
|
|
6739
6862
|
loop: "loop";
|
|
@@ -6787,6 +6910,17 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6787
6910
|
runFile: {
|
|
6788
6911
|
request: z.ZodObject<{
|
|
6789
6912
|
filePath: z.ZodString;
|
|
6913
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6914
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
6915
|
+
workspaceId: z.ZodString;
|
|
6916
|
+
rootDigest: z.ZodString;
|
|
6917
|
+
sourcePath: z.ZodString;
|
|
6918
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6919
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
6920
|
+
snapshotId: z.ZodString;
|
|
6921
|
+
digest: z.ZodString;
|
|
6922
|
+
sourcePath: z.ZodString;
|
|
6923
|
+
}, z.core.$strict>], "kind">>;
|
|
6790
6924
|
triggerPayload: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
6791
6925
|
scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6792
6926
|
type: z.ZodLiteral<"global">;
|
|
@@ -6933,8 +7067,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6933
7067
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
6934
7068
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
6935
7069
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
6936
|
-
fresh: "fresh";
|
|
6937
7070
|
fork: "fork";
|
|
7071
|
+
fresh: "fresh";
|
|
6938
7072
|
}>>;
|
|
6939
7073
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6940
7074
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -7044,8 +7178,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7044
7178
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
7045
7179
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
7046
7180
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
7047
|
-
fresh: "fresh";
|
|
7048
7181
|
fork: "fork";
|
|
7182
|
+
fresh: "fresh";
|
|
7049
7183
|
}>>;
|
|
7050
7184
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7051
7185
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -7142,8 +7276,9 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7142
7276
|
*
|
|
7143
7277
|
* Trust-boundary rules (enforced by the handler, not the schema):
|
|
7144
7278
|
* - Local callers: always permitted.
|
|
7145
|
-
* - Direct HMAC callers: `
|
|
7146
|
-
* -
|
|
7279
|
+
* - Direct HMAC callers: authenticated `workflow-execution-attempt` peer
|
|
7280
|
+
* whose Authority-issued `executionId` claim matches the request.
|
|
7281
|
+
* - Relay/E2E callers: authenticated, encrypted peer bound to `executionId`.
|
|
7147
7282
|
*/
|
|
7148
7283
|
getRunContext: {
|
|
7149
7284
|
request: z.ZodObject<{
|
|
@@ -7255,33 +7390,37 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7255
7390
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
7256
7391
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
7257
7392
|
}, z.core.$strict>], "kind">>;
|
|
7393
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7394
|
+
kind: z.ZodLiteral<"path">;
|
|
7395
|
+
path: z.ZodString;
|
|
7396
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7397
|
+
kind: z.ZodLiteral<"source">;
|
|
7398
|
+
filename: z.ZodString;
|
|
7399
|
+
source: z.ZodString;
|
|
7400
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7401
|
+
kind: z.ZodLiteral<"definition">;
|
|
7402
|
+
workflowId: z.ZodString;
|
|
7403
|
+
}, z.core.$strict>], "kind">>;
|
|
7404
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
7405
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
7406
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
7407
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
7408
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
7409
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7410
|
+
"local-directory": "local-directory";
|
|
7411
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
7412
|
+
}>>>;
|
|
7413
|
+
}, z.core.$strip>>;
|
|
7258
7414
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
7259
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
7260
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7261
|
-
kind: z.ZodLiteral<"path">;
|
|
7262
|
-
path: z.ZodString;
|
|
7263
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7264
|
-
kind: z.ZodLiteral<"source">;
|
|
7265
|
-
filename: z.ZodString;
|
|
7266
|
-
source: z.ZodString;
|
|
7267
|
-
}, z.core.$strict>], "kind">>;
|
|
7268
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
7269
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
7270
|
-
local: "local";
|
|
7271
|
-
remote: "remote";
|
|
7272
|
-
container: "container";
|
|
7273
|
-
}>>;
|
|
7274
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7275
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
7276
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
7277
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
7278
7415
|
}, z.core.$strip>>;
|
|
7279
7416
|
workerManifest: z.ZodDefault<z.ZodObject<{
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
|
|
7284
|
-
|
|
7417
|
+
contributionRefs: z.ZodArray<z.ZodObject<{
|
|
7418
|
+
packageName: z.ZodString;
|
|
7419
|
+
version: z.ZodString;
|
|
7420
|
+
entrypoint: z.ZodString;
|
|
7421
|
+
integrity: z.ZodString;
|
|
7422
|
+
}, z.core.$strict>>;
|
|
7423
|
+
}, z.core.$strict>>;
|
|
7285
7424
|
inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
7286
7425
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
7287
7426
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -7303,38 +7442,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7303
7442
|
id: z.ZodString;
|
|
7304
7443
|
}, z.core.$strip>>;
|
|
7305
7444
|
coordinatorSessionId: z.ZodString;
|
|
7306
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
7307
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7308
|
-
kind: z.ZodLiteral<"path">;
|
|
7309
|
-
path: z.ZodString;
|
|
7310
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7311
|
-
kind: z.ZodLiteral<"source">;
|
|
7312
|
-
filename: z.ZodString;
|
|
7313
|
-
source: z.ZodString;
|
|
7314
|
-
}, z.core.$strict>], "kind">>;
|
|
7315
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
7316
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
7317
|
-
local: "local";
|
|
7318
|
-
remote: "remote";
|
|
7319
|
-
container: "container";
|
|
7320
|
-
}>>;
|
|
7321
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7322
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
7323
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
7324
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
7325
7445
|
dispatchMetadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
7326
7446
|
cancelSubject: z.ZodString;
|
|
7327
|
-
context: z.ZodObject<{
|
|
7328
|
-
repoPath: z.ZodString;
|
|
7329
|
-
makaioHome: z.ZodString;
|
|
7330
|
-
os: z.ZodEnum<{
|
|
7331
|
-
darwin: "darwin";
|
|
7332
|
-
linux: "linux";
|
|
7333
|
-
win32: "win32";
|
|
7334
|
-
}>;
|
|
7335
|
-
arch: z.ZodString;
|
|
7336
|
-
worktree: z.ZodOptional<z.ZodString>;
|
|
7337
|
-
}, z.core.$strip>;
|
|
7338
7447
|
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7339
7448
|
createdAt: z.ZodNumber;
|
|
7340
7449
|
suspensionStrategy: z.ZodDefault<z.ZodEnum<{
|
|
@@ -7343,9 +7452,20 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7343
7452
|
"exit-and-resume": "exit-and-resume";
|
|
7344
7453
|
}>>;
|
|
7345
7454
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
7346
|
-
authority: "authority";
|
|
7347
7455
|
worker: "worker";
|
|
7456
|
+
authority: "authority";
|
|
7348
7457
|
}>>;
|
|
7458
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7459
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
7460
|
+
workspaceId: z.ZodString;
|
|
7461
|
+
rootDigest: z.ZodString;
|
|
7462
|
+
sourcePath: z.ZodString;
|
|
7463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7464
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
7465
|
+
snapshotId: z.ZodString;
|
|
7466
|
+
digest: z.ZodString;
|
|
7467
|
+
sourcePath: z.ZodString;
|
|
7468
|
+
}, z.core.$strict>], "kind">>;
|
|
7349
7469
|
}, z.core.$strip>;
|
|
7350
7470
|
};
|
|
7351
7471
|
'execution.started': z.ZodObject<{
|
|
@@ -7571,12 +7691,12 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7571
7691
|
frameId: z.ZodString;
|
|
7572
7692
|
nodeId: z.ZodString;
|
|
7573
7693
|
nodeType: z.ZodEnum<{
|
|
7574
|
-
sequence: "sequence";
|
|
7575
7694
|
station: "station";
|
|
7576
7695
|
"delegate-agent": "delegate-agent";
|
|
7577
7696
|
"delegate-role": "delegate-role";
|
|
7578
|
-
|
|
7697
|
+
sequence: "sequence";
|
|
7579
7698
|
parallel: "parallel";
|
|
7699
|
+
gate: "gate";
|
|
7580
7700
|
iterate: "iterate";
|
|
7581
7701
|
"iterate-chain": "iterate-chain";
|
|
7582
7702
|
loop: "loop";
|
|
@@ -7701,8 +7821,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7701
7821
|
completed: "completed";
|
|
7702
7822
|
cancelled: "cancelled";
|
|
7703
7823
|
failed: "failed";
|
|
7704
|
-
running: "running";
|
|
7705
7824
|
paused: "paused";
|
|
7825
|
+
running: "running";
|
|
7706
7826
|
finalizing: "finalizing";
|
|
7707
7827
|
}>;
|
|
7708
7828
|
startedAt: z.ZodNumber;
|
|
@@ -7732,12 +7852,12 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7732
7852
|
frameId: z.ZodString;
|
|
7733
7853
|
nodeId: z.ZodString;
|
|
7734
7854
|
nodeType: z.ZodEnum<{
|
|
7735
|
-
sequence: "sequence";
|
|
7736
7855
|
station: "station";
|
|
7737
7856
|
"delegate-agent": "delegate-agent";
|
|
7738
7857
|
"delegate-role": "delegate-role";
|
|
7739
|
-
|
|
7858
|
+
sequence: "sequence";
|
|
7740
7859
|
parallel: "parallel";
|
|
7860
|
+
gate: "gate";
|
|
7741
7861
|
iterate: "iterate";
|
|
7742
7862
|
"iterate-chain": "iterate-chain";
|
|
7743
7863
|
loop: "loop";
|
|
@@ -7779,8 +7899,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7779
7899
|
completed: "completed";
|
|
7780
7900
|
cancelled: "cancelled";
|
|
7781
7901
|
failed: "failed";
|
|
7782
|
-
running: "running";
|
|
7783
7902
|
paused: "paused";
|
|
7903
|
+
running: "running";
|
|
7784
7904
|
finalizing: "finalizing";
|
|
7785
7905
|
}>>;
|
|
7786
7906
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7796,8 +7916,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7796
7916
|
completed: "completed";
|
|
7797
7917
|
cancelled: "cancelled";
|
|
7798
7918
|
failed: "failed";
|
|
7799
|
-
running: "running";
|
|
7800
7919
|
paused: "paused";
|
|
7920
|
+
running: "running";
|
|
7801
7921
|
finalizing: "finalizing";
|
|
7802
7922
|
}>;
|
|
7803
7923
|
startedAt: z.ZodNumber;
|
|
@@ -8003,26 +8123,28 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8003
8123
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
8004
8124
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8005
8125
|
}, z.core.$strict>], "kind">>;
|
|
8126
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8127
|
+
kind: z.ZodLiteral<"path">;
|
|
8128
|
+
path: z.ZodString;
|
|
8129
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8130
|
+
kind: z.ZodLiteral<"source">;
|
|
8131
|
+
filename: z.ZodString;
|
|
8132
|
+
source: z.ZodString;
|
|
8133
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8134
|
+
kind: z.ZodLiteral<"definition">;
|
|
8135
|
+
workflowId: z.ZodString;
|
|
8136
|
+
}, z.core.$strict>], "kind">>;
|
|
8137
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
8138
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
8139
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
8140
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
8141
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
8142
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8143
|
+
"local-directory": "local-directory";
|
|
8144
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
8145
|
+
}>>>;
|
|
8146
|
+
}, z.core.$strip>>;
|
|
8006
8147
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
8007
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
8008
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8009
|
-
kind: z.ZodLiteral<"path">;
|
|
8010
|
-
path: z.ZodString;
|
|
8011
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
8012
|
-
kind: z.ZodLiteral<"source">;
|
|
8013
|
-
filename: z.ZodString;
|
|
8014
|
-
source: z.ZodString;
|
|
8015
|
-
}, z.core.$strict>], "kind">>;
|
|
8016
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
8017
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
8018
|
-
local: "local";
|
|
8019
|
-
remote: "remote";
|
|
8020
|
-
container: "container";
|
|
8021
|
-
}>>;
|
|
8022
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8023
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8024
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
8025
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8026
8148
|
}, z.core.$strip>>;
|
|
8027
8149
|
}, z.core.$strip>;
|
|
8028
8150
|
};
|
|
@@ -8120,26 +8242,28 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8120
8242
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
8121
8243
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8122
8244
|
}, z.core.$strict>], "kind">>;
|
|
8245
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8246
|
+
kind: z.ZodLiteral<"path">;
|
|
8247
|
+
path: z.ZodString;
|
|
8248
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8249
|
+
kind: z.ZodLiteral<"source">;
|
|
8250
|
+
filename: z.ZodString;
|
|
8251
|
+
source: z.ZodString;
|
|
8252
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8253
|
+
kind: z.ZodLiteral<"definition">;
|
|
8254
|
+
workflowId: z.ZodString;
|
|
8255
|
+
}, z.core.$strict>], "kind">>;
|
|
8256
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
8257
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
8258
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
8259
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
8260
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
8261
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8262
|
+
"local-directory": "local-directory";
|
|
8263
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
8264
|
+
}>>>;
|
|
8265
|
+
}, z.core.$strip>>;
|
|
8123
8266
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
8124
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
8125
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8126
|
-
kind: z.ZodLiteral<"path">;
|
|
8127
|
-
path: z.ZodString;
|
|
8128
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
8129
|
-
kind: z.ZodLiteral<"source">;
|
|
8130
|
-
filename: z.ZodString;
|
|
8131
|
-
source: z.ZodString;
|
|
8132
|
-
}, z.core.$strict>], "kind">>;
|
|
8133
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
8134
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
8135
|
-
local: "local";
|
|
8136
|
-
remote: "remote";
|
|
8137
|
-
container: "container";
|
|
8138
|
-
}>>;
|
|
8139
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8140
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8141
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
8142
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8143
8267
|
}, z.core.$strip>;
|
|
8144
8268
|
}, z.core.$strip>;
|
|
8145
8269
|
response: z.ZodObject<{
|
|
@@ -8263,26 +8387,28 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8263
8387
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
8264
8388
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8265
8389
|
}, z.core.$strict>], "kind">>;
|
|
8390
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8391
|
+
kind: z.ZodLiteral<"path">;
|
|
8392
|
+
path: z.ZodString;
|
|
8393
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8394
|
+
kind: z.ZodLiteral<"source">;
|
|
8395
|
+
filename: z.ZodString;
|
|
8396
|
+
source: z.ZodString;
|
|
8397
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8398
|
+
kind: z.ZodLiteral<"definition">;
|
|
8399
|
+
workflowId: z.ZodString;
|
|
8400
|
+
}, z.core.$strict>], "kind">>;
|
|
8401
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
8402
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
8403
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
8404
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
8405
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
8406
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8407
|
+
"local-directory": "local-directory";
|
|
8408
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
8409
|
+
}>>>;
|
|
8410
|
+
}, z.core.$strip>>;
|
|
8266
8411
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
8267
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
8268
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8269
|
-
kind: z.ZodLiteral<"path">;
|
|
8270
|
-
path: z.ZodString;
|
|
8271
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
8272
|
-
kind: z.ZodLiteral<"source">;
|
|
8273
|
-
filename: z.ZodString;
|
|
8274
|
-
source: z.ZodString;
|
|
8275
|
-
}, z.core.$strict>], "kind">>;
|
|
8276
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
8277
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
8278
|
-
local: "local";
|
|
8279
|
-
remote: "remote";
|
|
8280
|
-
container: "container";
|
|
8281
|
-
}>>;
|
|
8282
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8283
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8284
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
8285
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8286
8412
|
}, z.core.$strip>>;
|
|
8287
8413
|
}, z.core.$strip>;
|
|
8288
8414
|
};
|
|
@@ -8378,26 +8504,28 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8378
8504
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
8379
8505
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8380
8506
|
}, z.core.$strict>], "kind">>;
|
|
8507
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8508
|
+
kind: z.ZodLiteral<"path">;
|
|
8509
|
+
path: z.ZodString;
|
|
8510
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8511
|
+
kind: z.ZodLiteral<"source">;
|
|
8512
|
+
filename: z.ZodString;
|
|
8513
|
+
source: z.ZodString;
|
|
8514
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8515
|
+
kind: z.ZodLiteral<"definition">;
|
|
8516
|
+
workflowId: z.ZodString;
|
|
8517
|
+
}, z.core.$strict>], "kind">>;
|
|
8518
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
8519
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
8520
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
8521
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
8522
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
8523
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8524
|
+
"local-directory": "local-directory";
|
|
8525
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
8526
|
+
}>>>;
|
|
8527
|
+
}, z.core.$strip>>;
|
|
8381
8528
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
8382
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
8383
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8384
|
-
kind: z.ZodLiteral<"path">;
|
|
8385
|
-
path: z.ZodString;
|
|
8386
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
8387
|
-
kind: z.ZodLiteral<"source">;
|
|
8388
|
-
filename: z.ZodString;
|
|
8389
|
-
source: z.ZodString;
|
|
8390
|
-
}, z.core.$strict>], "kind">>;
|
|
8391
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
8392
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
8393
|
-
local: "local";
|
|
8394
|
-
remote: "remote";
|
|
8395
|
-
container: "container";
|
|
8396
|
-
}>>;
|
|
8397
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8398
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8399
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
8400
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8401
8529
|
}, z.core.$strip>;
|
|
8402
8530
|
'definition.updated': z.ZodObject<{
|
|
8403
8531
|
id: z.ZodString;
|
|
@@ -8491,26 +8619,28 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8491
8619
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
8492
8620
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8493
8621
|
}, z.core.$strict>], "kind">>;
|
|
8622
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8623
|
+
kind: z.ZodLiteral<"path">;
|
|
8624
|
+
path: z.ZodString;
|
|
8625
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8626
|
+
kind: z.ZodLiteral<"source">;
|
|
8627
|
+
filename: z.ZodString;
|
|
8628
|
+
source: z.ZodString;
|
|
8629
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8630
|
+
kind: z.ZodLiteral<"definition">;
|
|
8631
|
+
workflowId: z.ZodString;
|
|
8632
|
+
}, z.core.$strict>], "kind">>;
|
|
8633
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
8634
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
8635
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
8636
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
8637
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
8638
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8639
|
+
"local-directory": "local-directory";
|
|
8640
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
8641
|
+
}>>>;
|
|
8642
|
+
}, z.core.$strip>>;
|
|
8494
8643
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
8495
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
8496
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8497
|
-
kind: z.ZodLiteral<"path">;
|
|
8498
|
-
path: z.ZodString;
|
|
8499
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
8500
|
-
kind: z.ZodLiteral<"source">;
|
|
8501
|
-
filename: z.ZodString;
|
|
8502
|
-
source: z.ZodString;
|
|
8503
|
-
}, z.core.$strict>], "kind">>;
|
|
8504
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
8505
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
8506
|
-
local: "local";
|
|
8507
|
-
remote: "remote";
|
|
8508
|
-
container: "container";
|
|
8509
|
-
}>>;
|
|
8510
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8511
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8512
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
8513
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8514
8644
|
}, z.core.$strip>;
|
|
8515
8645
|
'definition.deleted': z.ZodObject<{
|
|
8516
8646
|
id: z.ZodString;
|
|
@@ -8532,30 +8662,11 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8532
8662
|
}, z.core.$strict>, z.ZodObject<{
|
|
8533
8663
|
type: z.ZodLiteral<"session">;
|
|
8534
8664
|
id: z.ZodString;
|
|
8535
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
8536
|
-
type: z.ZodLiteral<"external">;
|
|
8537
|
-
kind: z.ZodString;
|
|
8538
|
-
id: z.ZodString;
|
|
8539
|
-
}, z.core.$strict>], "type">>;
|
|
8540
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
8541
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8542
|
-
kind: z.ZodLiteral<"path">;
|
|
8543
|
-
path: z.ZodString;
|
|
8544
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
8545
|
-
kind: z.ZodLiteral<"source">;
|
|
8546
|
-
filename: z.ZodString;
|
|
8547
|
-
source: z.ZodString;
|
|
8548
|
-
}, z.core.$strict>], "kind">>;
|
|
8549
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
8550
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
8551
|
-
local: "local";
|
|
8552
|
-
remote: "remote";
|
|
8553
|
-
container: "container";
|
|
8554
|
-
}>>;
|
|
8555
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8556
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8557
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
8558
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8665
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8666
|
+
type: z.ZodLiteral<"external">;
|
|
8667
|
+
kind: z.ZodString;
|
|
8668
|
+
id: z.ZodString;
|
|
8669
|
+
}, z.core.$strict>], "type">>;
|
|
8559
8670
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
8560
8671
|
triggerPayload: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8561
8672
|
}, z.core.$strip>;
|
|
@@ -8589,25 +8700,6 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8589
8700
|
kind: z.ZodString;
|
|
8590
8701
|
id: z.ZodString;
|
|
8591
8702
|
}, z.core.$strict>], "type">>;
|
|
8592
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
8593
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8594
|
-
kind: z.ZodLiteral<"path">;
|
|
8595
|
-
path: z.ZodString;
|
|
8596
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
8597
|
-
kind: z.ZodLiteral<"source">;
|
|
8598
|
-
filename: z.ZodString;
|
|
8599
|
-
source: z.ZodString;
|
|
8600
|
-
}, z.core.$strict>], "kind">>;
|
|
8601
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
8602
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
8603
|
-
local: "local";
|
|
8604
|
-
remote: "remote";
|
|
8605
|
-
container: "container";
|
|
8606
|
-
}>>;
|
|
8607
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8608
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8609
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
8610
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8611
8703
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
8612
8704
|
triggerPayload: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8613
8705
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -8721,26 +8813,28 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8721
8813
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
8722
8814
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8723
8815
|
}, z.core.$strict>], "kind">>;
|
|
8816
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8817
|
+
kind: z.ZodLiteral<"path">;
|
|
8818
|
+
path: z.ZodString;
|
|
8819
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8820
|
+
kind: z.ZodLiteral<"source">;
|
|
8821
|
+
filename: z.ZodString;
|
|
8822
|
+
source: z.ZodString;
|
|
8823
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8824
|
+
kind: z.ZodLiteral<"definition">;
|
|
8825
|
+
workflowId: z.ZodString;
|
|
8826
|
+
}, z.core.$strict>], "kind">>;
|
|
8827
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
8828
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
8829
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
8830
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
8831
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
8832
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8833
|
+
"local-directory": "local-directory";
|
|
8834
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
8835
|
+
}>>>;
|
|
8836
|
+
}, z.core.$strip>>;
|
|
8724
8837
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
8725
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
8726
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8727
|
-
kind: z.ZodLiteral<"path">;
|
|
8728
|
-
path: z.ZodString;
|
|
8729
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
8730
|
-
kind: z.ZodLiteral<"source">;
|
|
8731
|
-
filename: z.ZodString;
|
|
8732
|
-
source: z.ZodString;
|
|
8733
|
-
}, z.core.$strict>], "kind">>;
|
|
8734
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
8735
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
8736
|
-
local: "local";
|
|
8737
|
-
remote: "remote";
|
|
8738
|
-
container: "container";
|
|
8739
|
-
}>>;
|
|
8740
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8741
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8742
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
8743
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
8744
8838
|
}, z.core.$strip>;
|
|
8745
8839
|
}, z.core.$strict>;
|
|
8746
8840
|
response: z.ZodObject<{
|
|
@@ -9178,12 +9272,71 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9178
9272
|
completed: "completed";
|
|
9179
9273
|
cancelled: "cancelled";
|
|
9180
9274
|
failed: "failed";
|
|
9181
|
-
running: "running";
|
|
9182
9275
|
paused: "paused";
|
|
9276
|
+
running: "running";
|
|
9183
9277
|
finalizing: "finalizing";
|
|
9184
9278
|
}>;
|
|
9185
9279
|
}, z.core.$strip>;
|
|
9186
9280
|
};
|
|
9281
|
+
/**
|
|
9282
|
+
* Finalize a successful delegate result through the Authority-owned static
|
|
9283
|
+
* gateway. The handler verifies the attempt peer and durable node selector
|
|
9284
|
+
* before invoking the selected local finalizer.
|
|
9285
|
+
*/
|
|
9286
|
+
finalizeDelegateResult: {
|
|
9287
|
+
request: z.ZodObject<{
|
|
9288
|
+
executionId: z.ZodString;
|
|
9289
|
+
workflowId: z.ZodString;
|
|
9290
|
+
frameId: z.ZodString;
|
|
9291
|
+
nodeId: z.ZodString;
|
|
9292
|
+
nodeType: z.ZodEnum<{
|
|
9293
|
+
"delegate-agent": "delegate-agent";
|
|
9294
|
+
"delegate-role": "delegate-role";
|
|
9295
|
+
}>;
|
|
9296
|
+
rawResult: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
9297
|
+
toolObservations: z.ZodArray<z.ZodObject<{
|
|
9298
|
+
toolName: z.ZodString;
|
|
9299
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
9300
|
+
success: "success";
|
|
9301
|
+
failure: "failure";
|
|
9302
|
+
}>>;
|
|
9303
|
+
artifact: z.ZodOptional<z.ZodObject<{
|
|
9304
|
+
kind: z.ZodString;
|
|
9305
|
+
id: z.ZodString;
|
|
9306
|
+
revision: z.ZodString;
|
|
9307
|
+
}, z.core.$strict>>;
|
|
9308
|
+
}, z.core.$strict>>;
|
|
9309
|
+
economics: z.ZodOptional<z.ZodObject<{
|
|
9310
|
+
durationMs: z.ZodNumber;
|
|
9311
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
9312
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
9313
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
9314
|
+
toolCallCount: z.ZodOptional<z.ZodNumber>;
|
|
9315
|
+
binding: z.ZodObject<{
|
|
9316
|
+
adapterName: z.ZodString;
|
|
9317
|
+
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
9318
|
+
providerDefinitionId: z.ZodOptional<z.ZodString>;
|
|
9319
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9320
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
9321
|
+
mode: z.ZodEnum<{
|
|
9322
|
+
explicit: "explicit";
|
|
9323
|
+
inferred: "inferred";
|
|
9324
|
+
none: "none";
|
|
9325
|
+
}>;
|
|
9326
|
+
owner: z.ZodEnum<{
|
|
9327
|
+
provider: "provider";
|
|
9328
|
+
client: "client";
|
|
9329
|
+
}>;
|
|
9330
|
+
methodId: z.ZodString;
|
|
9331
|
+
}, z.core.$strict>>;
|
|
9332
|
+
}, z.core.$strict>;
|
|
9333
|
+
}, z.core.$strict>>;
|
|
9334
|
+
finalizerId: z.ZodString;
|
|
9335
|
+
}, z.core.$strict>;
|
|
9336
|
+
response: z.ZodObject<{
|
|
9337
|
+
output: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
9338
|
+
}, z.core.$strict>;
|
|
9339
|
+
};
|
|
9187
9340
|
getExecution: {
|
|
9188
9341
|
request: z.ZodObject<{
|
|
9189
9342
|
executionId: z.ZodString;
|
|
@@ -9198,8 +9351,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9198
9351
|
completed: "completed";
|
|
9199
9352
|
cancelled: "cancelled";
|
|
9200
9353
|
failed: "failed";
|
|
9201
|
-
running: "running";
|
|
9202
9354
|
paused: "paused";
|
|
9355
|
+
running: "running";
|
|
9203
9356
|
finalizing: "finalizing";
|
|
9204
9357
|
}>;
|
|
9205
9358
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -9256,8 +9409,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9256
9409
|
completed: "completed";
|
|
9257
9410
|
cancelled: "cancelled";
|
|
9258
9411
|
failed: "failed";
|
|
9259
|
-
running: "running";
|
|
9260
9412
|
paused: "paused";
|
|
9413
|
+
running: "running";
|
|
9261
9414
|
finalizing: "finalizing";
|
|
9262
9415
|
}>>;
|
|
9263
9416
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -9280,8 +9433,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9280
9433
|
completed: "completed";
|
|
9281
9434
|
cancelled: "cancelled";
|
|
9282
9435
|
failed: "failed";
|
|
9283
|
-
running: "running";
|
|
9284
9436
|
paused: "paused";
|
|
9437
|
+
running: "running";
|
|
9285
9438
|
finalizing: "finalizing";
|
|
9286
9439
|
}>;
|
|
9287
9440
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -9337,8 +9490,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9337
9490
|
completed: "completed";
|
|
9338
9491
|
cancelled: "cancelled";
|
|
9339
9492
|
failed: "failed";
|
|
9340
|
-
running: "running";
|
|
9341
9493
|
paused: "paused";
|
|
9494
|
+
running: "running";
|
|
9342
9495
|
finalizing: "finalizing";
|
|
9343
9496
|
}>;
|
|
9344
9497
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -9518,12 +9671,12 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9518
9671
|
frameId: z.ZodString;
|
|
9519
9672
|
nodeId: z.ZodString;
|
|
9520
9673
|
nodeType: z.ZodEnum<{
|
|
9521
|
-
sequence: "sequence";
|
|
9522
9674
|
station: "station";
|
|
9523
9675
|
"delegate-agent": "delegate-agent";
|
|
9524
9676
|
"delegate-role": "delegate-role";
|
|
9525
|
-
|
|
9677
|
+
sequence: "sequence";
|
|
9526
9678
|
parallel: "parallel";
|
|
9679
|
+
gate: "gate";
|
|
9527
9680
|
iterate: "iterate";
|
|
9528
9681
|
"iterate-chain": "iterate-chain";
|
|
9529
9682
|
loop: "loop";
|
|
@@ -9577,6 +9730,17 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9577
9730
|
runFile: {
|
|
9578
9731
|
request: z.ZodObject<{
|
|
9579
9732
|
filePath: z.ZodString;
|
|
9733
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9734
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
9735
|
+
workspaceId: z.ZodString;
|
|
9736
|
+
rootDigest: z.ZodString;
|
|
9737
|
+
sourcePath: z.ZodString;
|
|
9738
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9739
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
9740
|
+
snapshotId: z.ZodString;
|
|
9741
|
+
digest: z.ZodString;
|
|
9742
|
+
sourcePath: z.ZodString;
|
|
9743
|
+
}, z.core.$strict>], "kind">>;
|
|
9580
9744
|
triggerPayload: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
9581
9745
|
scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9582
9746
|
type: z.ZodLiteral<"global">;
|
|
@@ -9723,8 +9887,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9723
9887
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
9724
9888
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
9725
9889
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
9726
|
-
fresh: "fresh";
|
|
9727
9890
|
fork: "fork";
|
|
9891
|
+
fresh: "fresh";
|
|
9728
9892
|
}>>;
|
|
9729
9893
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9730
9894
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -9834,8 +9998,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9834
9998
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
9835
9999
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
9836
10000
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
9837
|
-
fresh: "fresh";
|
|
9838
10001
|
fork: "fork";
|
|
10002
|
+
fresh: "fresh";
|
|
9839
10003
|
}>>;
|
|
9840
10004
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9841
10005
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -9932,8 +10096,9 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9932
10096
|
*
|
|
9933
10097
|
* Trust-boundary rules (enforced by the handler, not the schema):
|
|
9934
10098
|
* - Local callers: always permitted.
|
|
9935
|
-
* - Direct HMAC callers: `
|
|
9936
|
-
* -
|
|
10099
|
+
* - Direct HMAC callers: authenticated `workflow-execution-attempt` peer
|
|
10100
|
+
* whose Authority-issued `executionId` claim matches the request.
|
|
10101
|
+
* - Relay/E2E callers: authenticated, encrypted peer bound to `executionId`.
|
|
9937
10102
|
*/
|
|
9938
10103
|
getRunContext: {
|
|
9939
10104
|
request: z.ZodObject<{
|
|
@@ -10045,33 +10210,37 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10045
10210
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
10046
10211
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
10047
10212
|
}, z.core.$strict>], "kind">>;
|
|
10213
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10214
|
+
kind: z.ZodLiteral<"path">;
|
|
10215
|
+
path: z.ZodString;
|
|
10216
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10217
|
+
kind: z.ZodLiteral<"source">;
|
|
10218
|
+
filename: z.ZodString;
|
|
10219
|
+
source: z.ZodString;
|
|
10220
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10221
|
+
kind: z.ZodLiteral<"definition">;
|
|
10222
|
+
workflowId: z.ZodString;
|
|
10223
|
+
}, z.core.$strict>], "kind">>;
|
|
10224
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
10225
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
10226
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
10227
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10228
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
10229
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
10230
|
+
"local-directory": "local-directory";
|
|
10231
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
10232
|
+
}>>>;
|
|
10233
|
+
}, z.core.$strip>>;
|
|
10048
10234
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
10049
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
10050
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10051
|
-
kind: z.ZodLiteral<"path">;
|
|
10052
|
-
path: z.ZodString;
|
|
10053
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
10054
|
-
kind: z.ZodLiteral<"source">;
|
|
10055
|
-
filename: z.ZodString;
|
|
10056
|
-
source: z.ZodString;
|
|
10057
|
-
}, z.core.$strict>], "kind">>;
|
|
10058
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
10059
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
10060
|
-
local: "local";
|
|
10061
|
-
remote: "remote";
|
|
10062
|
-
container: "container";
|
|
10063
|
-
}>>;
|
|
10064
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10065
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
10066
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
10067
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
10068
10235
|
}, z.core.$strip>>;
|
|
10069
10236
|
workerManifest: z.ZodDefault<z.ZodObject<{
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
|
|
10073
|
-
|
|
10074
|
-
|
|
10237
|
+
contributionRefs: z.ZodArray<z.ZodObject<{
|
|
10238
|
+
packageName: z.ZodString;
|
|
10239
|
+
version: z.ZodString;
|
|
10240
|
+
entrypoint: z.ZodString;
|
|
10241
|
+
integrity: z.ZodString;
|
|
10242
|
+
}, z.core.$strict>>;
|
|
10243
|
+
}, z.core.$strict>>;
|
|
10075
10244
|
inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
10076
10245
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
10077
10246
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -10093,38 +10262,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10093
10262
|
id: z.ZodString;
|
|
10094
10263
|
}, z.core.$strip>>;
|
|
10095
10264
|
coordinatorSessionId: z.ZodString;
|
|
10096
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
10097
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10098
|
-
kind: z.ZodLiteral<"path">;
|
|
10099
|
-
path: z.ZodString;
|
|
10100
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
10101
|
-
kind: z.ZodLiteral<"source">;
|
|
10102
|
-
filename: z.ZodString;
|
|
10103
|
-
source: z.ZodString;
|
|
10104
|
-
}, z.core.$strict>], "kind">>;
|
|
10105
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
10106
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
10107
|
-
local: "local";
|
|
10108
|
-
remote: "remote";
|
|
10109
|
-
container: "container";
|
|
10110
|
-
}>>;
|
|
10111
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10112
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
10113
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
10114
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
10115
10265
|
dispatchMetadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
10116
10266
|
cancelSubject: z.ZodString;
|
|
10117
|
-
context: z.ZodObject<{
|
|
10118
|
-
repoPath: z.ZodString;
|
|
10119
|
-
makaioHome: z.ZodString;
|
|
10120
|
-
os: z.ZodEnum<{
|
|
10121
|
-
darwin: "darwin";
|
|
10122
|
-
linux: "linux";
|
|
10123
|
-
win32: "win32";
|
|
10124
|
-
}>;
|
|
10125
|
-
arch: z.ZodString;
|
|
10126
|
-
worktree: z.ZodOptional<z.ZodString>;
|
|
10127
|
-
}, z.core.$strip>;
|
|
10128
10267
|
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
10129
10268
|
createdAt: z.ZodNumber;
|
|
10130
10269
|
suspensionStrategy: z.ZodDefault<z.ZodEnum<{
|
|
@@ -10133,9 +10272,20 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10133
10272
|
"exit-and-resume": "exit-and-resume";
|
|
10134
10273
|
}>>;
|
|
10135
10274
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
10136
|
-
authority: "authority";
|
|
10137
10275
|
worker: "worker";
|
|
10276
|
+
authority: "authority";
|
|
10138
10277
|
}>>;
|
|
10278
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10279
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
10280
|
+
workspaceId: z.ZodString;
|
|
10281
|
+
rootDigest: z.ZodString;
|
|
10282
|
+
sourcePath: z.ZodString;
|
|
10283
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10284
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
10285
|
+
snapshotId: z.ZodString;
|
|
10286
|
+
digest: z.ZodString;
|
|
10287
|
+
sourcePath: z.ZodString;
|
|
10288
|
+
}, z.core.$strict>], "kind">>;
|
|
10139
10289
|
}, z.core.$strip>;
|
|
10140
10290
|
};
|
|
10141
10291
|
'execution.started': z.ZodObject<{
|
|
@@ -10361,12 +10511,12 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10361
10511
|
frameId: z.ZodString;
|
|
10362
10512
|
nodeId: z.ZodString;
|
|
10363
10513
|
nodeType: z.ZodEnum<{
|
|
10364
|
-
sequence: "sequence";
|
|
10365
10514
|
station: "station";
|
|
10366
10515
|
"delegate-agent": "delegate-agent";
|
|
10367
10516
|
"delegate-role": "delegate-role";
|
|
10368
|
-
|
|
10517
|
+
sequence: "sequence";
|
|
10369
10518
|
parallel: "parallel";
|
|
10519
|
+
gate: "gate";
|
|
10370
10520
|
iterate: "iterate";
|
|
10371
10521
|
"iterate-chain": "iterate-chain";
|
|
10372
10522
|
loop: "loop";
|
|
@@ -10491,8 +10641,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10491
10641
|
completed: "completed";
|
|
10492
10642
|
cancelled: "cancelled";
|
|
10493
10643
|
failed: "failed";
|
|
10494
|
-
running: "running";
|
|
10495
10644
|
paused: "paused";
|
|
10645
|
+
running: "running";
|
|
10496
10646
|
finalizing: "finalizing";
|
|
10497
10647
|
}>;
|
|
10498
10648
|
startedAt: z.ZodNumber;
|
|
@@ -10522,12 +10672,12 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10522
10672
|
frameId: z.ZodString;
|
|
10523
10673
|
nodeId: z.ZodString;
|
|
10524
10674
|
nodeType: z.ZodEnum<{
|
|
10525
|
-
sequence: "sequence";
|
|
10526
10675
|
station: "station";
|
|
10527
10676
|
"delegate-agent": "delegate-agent";
|
|
10528
10677
|
"delegate-role": "delegate-role";
|
|
10529
|
-
|
|
10678
|
+
sequence: "sequence";
|
|
10530
10679
|
parallel: "parallel";
|
|
10680
|
+
gate: "gate";
|
|
10531
10681
|
iterate: "iterate";
|
|
10532
10682
|
"iterate-chain": "iterate-chain";
|
|
10533
10683
|
loop: "loop";
|
|
@@ -10569,8 +10719,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10569
10719
|
completed: "completed";
|
|
10570
10720
|
cancelled: "cancelled";
|
|
10571
10721
|
failed: "failed";
|
|
10572
|
-
running: "running";
|
|
10573
10722
|
paused: "paused";
|
|
10723
|
+
running: "running";
|
|
10574
10724
|
finalizing: "finalizing";
|
|
10575
10725
|
}>>;
|
|
10576
10726
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -10586,8 +10736,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10586
10736
|
completed: "completed";
|
|
10587
10737
|
cancelled: "cancelled";
|
|
10588
10738
|
failed: "failed";
|
|
10589
|
-
running: "running";
|
|
10590
10739
|
paused: "paused";
|
|
10740
|
+
running: "running";
|
|
10591
10741
|
finalizing: "finalizing";
|
|
10592
10742
|
}>;
|
|
10593
10743
|
startedAt: z.ZodNumber;
|
|
@@ -10717,6 +10867,26 @@ declare function serializeArtifactRef$1(ref: WorkflowArtifactRef): string;
|
|
|
10717
10867
|
declare function parseArtifactRef(key: string): WorkflowArtifactRef;
|
|
10718
10868
|
//#endregion
|
|
10719
10869
|
//#region core/contracts/src/workflow/run-context.d.ts
|
|
10870
|
+
/**
|
|
10871
|
+
* Durable source descriptor for a workflow execution.
|
|
10872
|
+
*
|
|
10873
|
+
* Bootstrap worker configuration may contain a worker-local path. Durable
|
|
10874
|
+
* path sources are instead workspace-relative and acquire their local
|
|
10875
|
+
* realization only through a materialization spec.
|
|
10876
|
+
*/
|
|
10877
|
+
declare const WorkflowRunContextSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10878
|
+
kind: z.ZodLiteral<"path">;
|
|
10879
|
+
path: z.ZodString;
|
|
10880
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10881
|
+
kind: z.ZodLiteral<"source">;
|
|
10882
|
+
filename: z.ZodString;
|
|
10883
|
+
source: z.ZodString;
|
|
10884
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10885
|
+
kind: z.ZodLiteral<"definition">;
|
|
10886
|
+
workflowId: z.ZodString;
|
|
10887
|
+
}, z.core.$strict>], "kind">;
|
|
10888
|
+
/** Durable source descriptor for a workflow execution. */
|
|
10889
|
+
type WorkflowRunContextSource = z.infer<typeof WorkflowRunContextSourceSchema>;
|
|
10720
10890
|
/**
|
|
10721
10891
|
* Persisted, per-execution snapshot of the configuration and context needed to
|
|
10722
10892
|
* run a workflow.
|
|
@@ -10834,33 +11004,37 @@ declare const WorkflowRunContextSchema$1: z.ZodObject<{
|
|
|
10834
11004
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
10835
11005
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
10836
11006
|
}, z.core.$strict>], "kind">>;
|
|
11007
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11008
|
+
kind: z.ZodLiteral<"path">;
|
|
11009
|
+
path: z.ZodString;
|
|
11010
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11011
|
+
kind: z.ZodLiteral<"source">;
|
|
11012
|
+
filename: z.ZodString;
|
|
11013
|
+
source: z.ZodString;
|
|
11014
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11015
|
+
kind: z.ZodLiteral<"definition">;
|
|
11016
|
+
workflowId: z.ZodString;
|
|
11017
|
+
}, z.core.$strict>], "kind">>;
|
|
11018
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
11019
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
11020
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
11021
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
11022
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
11023
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11024
|
+
"local-directory": "local-directory";
|
|
11025
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
11026
|
+
}>>>;
|
|
11027
|
+
}, z.core.$strip>>;
|
|
10837
11028
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
10838
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
10839
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10840
|
-
kind: z.ZodLiteral<"path">;
|
|
10841
|
-
path: z.ZodString;
|
|
10842
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
10843
|
-
kind: z.ZodLiteral<"source">;
|
|
10844
|
-
filename: z.ZodString;
|
|
10845
|
-
source: z.ZodString;
|
|
10846
|
-
}, z.core.$strict>], "kind">>;
|
|
10847
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
10848
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
10849
|
-
local: "local";
|
|
10850
|
-
remote: "remote";
|
|
10851
|
-
container: "container";
|
|
10852
|
-
}>>;
|
|
10853
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10854
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
10855
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
10856
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
10857
11029
|
}, z.core.$strip>>;
|
|
10858
11030
|
workerManifest: z.ZodDefault<z.ZodObject<{
|
|
10859
|
-
|
|
10860
|
-
|
|
10861
|
-
|
|
10862
|
-
|
|
10863
|
-
|
|
11031
|
+
contributionRefs: z.ZodArray<z.ZodObject<{
|
|
11032
|
+
packageName: z.ZodString;
|
|
11033
|
+
version: z.ZodString;
|
|
11034
|
+
entrypoint: z.ZodString;
|
|
11035
|
+
integrity: z.ZodString;
|
|
11036
|
+
}, z.core.$strict>>;
|
|
11037
|
+
}, z.core.$strict>>;
|
|
10864
11038
|
inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
10865
11039
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
10866
11040
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -10882,38 +11056,8 @@ declare const WorkflowRunContextSchema$1: z.ZodObject<{
|
|
|
10882
11056
|
id: z.ZodString;
|
|
10883
11057
|
}, z.core.$strip>>;
|
|
10884
11058
|
coordinatorSessionId: z.ZodString;
|
|
10885
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
10886
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10887
|
-
kind: z.ZodLiteral<"path">;
|
|
10888
|
-
path: z.ZodString;
|
|
10889
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
10890
|
-
kind: z.ZodLiteral<"source">;
|
|
10891
|
-
filename: z.ZodString;
|
|
10892
|
-
source: z.ZodString;
|
|
10893
|
-
}, z.core.$strict>], "kind">>;
|
|
10894
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
10895
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
10896
|
-
local: "local";
|
|
10897
|
-
remote: "remote";
|
|
10898
|
-
container: "container";
|
|
10899
|
-
}>>;
|
|
10900
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10901
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
10902
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
10903
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
10904
11059
|
dispatchMetadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
10905
11060
|
cancelSubject: z.ZodString;
|
|
10906
|
-
context: z.ZodObject<{
|
|
10907
|
-
repoPath: z.ZodString;
|
|
10908
|
-
makaioHome: z.ZodString;
|
|
10909
|
-
os: z.ZodEnum<{
|
|
10910
|
-
darwin: "darwin";
|
|
10911
|
-
linux: "linux";
|
|
10912
|
-
win32: "win32";
|
|
10913
|
-
}>;
|
|
10914
|
-
arch: z.ZodString;
|
|
10915
|
-
worktree: z.ZodOptional<z.ZodString>;
|
|
10916
|
-
}, z.core.$strip>;
|
|
10917
11061
|
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
10918
11062
|
createdAt: z.ZodNumber;
|
|
10919
11063
|
suspensionStrategy: z.ZodDefault<z.ZodEnum<{
|
|
@@ -10922,11 +11066,22 @@ declare const WorkflowRunContextSchema$1: z.ZodObject<{
|
|
|
10922
11066
|
"exit-and-resume": "exit-and-resume";
|
|
10923
11067
|
}>>;
|
|
10924
11068
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
10925
|
-
authority: "authority";
|
|
10926
11069
|
worker: "worker";
|
|
11070
|
+
authority: "authority";
|
|
10927
11071
|
}>>;
|
|
11072
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11073
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
11074
|
+
workspaceId: z.ZodString;
|
|
11075
|
+
rootDigest: z.ZodString;
|
|
11076
|
+
sourcePath: z.ZodString;
|
|
11077
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11078
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
11079
|
+
snapshotId: z.ZodString;
|
|
11080
|
+
digest: z.ZodString;
|
|
11081
|
+
sourcePath: z.ZodString;
|
|
11082
|
+
}, z.core.$strict>], "kind">>;
|
|
10928
11083
|
}, z.core.$strip>;
|
|
10929
|
-
type WorkflowRunContext = z.infer<typeof WorkflowRunContextSchema$1>;
|
|
11084
|
+
type WorkflowRunContext$1 = z.infer<typeof WorkflowRunContextSchema$1>;
|
|
10930
11085
|
//#endregion
|
|
10931
11086
|
//#region core/contracts/src/workflow/walk.d.ts
|
|
10932
11087
|
/** How the current node was reached from its parent. */
|
|
@@ -11080,7 +11235,7 @@ type WorkflowWorkerBusAuth = z.infer<typeof WorkflowWorkerBusAuthSchema>;
|
|
|
11080
11235
|
* - `source`: load workflow from inline source code with a virtual filename
|
|
11081
11236
|
* - `definition`: load workflow by its registered definition ID
|
|
11082
11237
|
*/
|
|
11083
|
-
declare const WorkflowWorkerSourceSchema
|
|
11238
|
+
declare const WorkflowWorkerSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11084
11239
|
kind: z.ZodLiteral<"path">;
|
|
11085
11240
|
path: z.ZodString;
|
|
11086
11241
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -11091,7 +11246,7 @@ declare const WorkflowWorkerSourceSchema$1: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
11091
11246
|
kind: z.ZodLiteral<"definition">;
|
|
11092
11247
|
workflowId: z.ZodString;
|
|
11093
11248
|
}, z.core.$strict>], "kind">;
|
|
11094
|
-
type WorkflowWorkerSource$1 = z.infer<typeof WorkflowWorkerSourceSchema
|
|
11249
|
+
type WorkflowWorkerSource$1 = z.infer<typeof WorkflowWorkerSourceSchema>;
|
|
11095
11250
|
/**
|
|
11096
11251
|
* Full configuration passed to a workflow worker process at startup.
|
|
11097
11252
|
*
|
|
@@ -11202,26 +11357,28 @@ declare const WorkflowWorkerConfigSchema$1: z.ZodObject<{
|
|
|
11202
11357
|
syncedAt: z.ZodOptional<z.ZodString>;
|
|
11203
11358
|
metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
11204
11359
|
}, z.core.$strict>], "kind">>;
|
|
11360
|
+
executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11361
|
+
kind: z.ZodLiteral<"path">;
|
|
11362
|
+
path: z.ZodString;
|
|
11363
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11364
|
+
kind: z.ZodLiteral<"source">;
|
|
11365
|
+
filename: z.ZodString;
|
|
11366
|
+
source: z.ZodString;
|
|
11367
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11368
|
+
kind: z.ZodLiteral<"definition">;
|
|
11369
|
+
workflowId: z.ZodString;
|
|
11370
|
+
}, z.core.$strict>], "kind">>;
|
|
11371
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
11372
|
+
maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
|
|
11373
|
+
persistentStorage: z.ZodOptional<z.ZodBoolean>;
|
|
11374
|
+
customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
11375
|
+
recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
|
|
11376
|
+
materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11377
|
+
"local-directory": "local-directory";
|
|
11378
|
+
"workspace-snapshot": "workspace-snapshot";
|
|
11379
|
+
}>>>;
|
|
11380
|
+
}, z.core.$strip>>;
|
|
11205
11381
|
successFinalizerId: z.ZodOptional<z.ZodString>;
|
|
11206
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
11207
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11208
|
-
kind: z.ZodLiteral<"path">;
|
|
11209
|
-
path: z.ZodString;
|
|
11210
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
11211
|
-
kind: z.ZodLiteral<"source">;
|
|
11212
|
-
filename: z.ZodString;
|
|
11213
|
-
source: z.ZodString;
|
|
11214
|
-
}, z.core.$strict>], "kind">>;
|
|
11215
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
11216
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
11217
|
-
local: "local";
|
|
11218
|
-
remote: "remote";
|
|
11219
|
-
container: "container";
|
|
11220
|
-
}>>;
|
|
11221
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11222
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
11223
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
11224
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
11225
11382
|
}, z.core.$strip>>;
|
|
11226
11383
|
executionId: z.ZodString;
|
|
11227
11384
|
workflowId: z.ZodString;
|
|
@@ -11252,38 +11409,8 @@ declare const WorkflowWorkerConfigSchema$1: z.ZodObject<{
|
|
|
11252
11409
|
kind: z.ZodLiteral<"hmac">;
|
|
11253
11410
|
secret: z.ZodString;
|
|
11254
11411
|
}, z.core.$strict>], "kind">>;
|
|
11255
|
-
context: z.ZodObject<{
|
|
11256
|
-
repoPath: z.ZodString;
|
|
11257
|
-
makaioHome: z.ZodString;
|
|
11258
|
-
os: z.ZodEnum<{
|
|
11259
|
-
darwin: "darwin";
|
|
11260
|
-
linux: "linux";
|
|
11261
|
-
win32: "win32";
|
|
11262
|
-
}>;
|
|
11263
|
-
arch: z.ZodString;
|
|
11264
|
-
worktree: z.ZodOptional<z.ZodString>;
|
|
11265
|
-
}, z.core.$strip>;
|
|
11266
11412
|
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
11267
11413
|
coordinatorSessionId: z.ZodString;
|
|
11268
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
11269
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11270
|
-
kind: z.ZodLiteral<"path">;
|
|
11271
|
-
path: z.ZodString;
|
|
11272
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
11273
|
-
kind: z.ZodLiteral<"source">;
|
|
11274
|
-
filename: z.ZodString;
|
|
11275
|
-
source: z.ZodString;
|
|
11276
|
-
}, z.core.$strict>], "kind">>;
|
|
11277
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
11278
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
11279
|
-
local: "local";
|
|
11280
|
-
remote: "remote";
|
|
11281
|
-
container: "container";
|
|
11282
|
-
}>>;
|
|
11283
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11284
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
11285
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
11286
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
11287
11414
|
cancelSubject: z.ZodString;
|
|
11288
11415
|
suspensionStrategy: z.ZodDefault<z.ZodEnum<{
|
|
11289
11416
|
"wait-in-process": "wait-in-process";
|
|
@@ -11291,11 +11418,49 @@ declare const WorkflowWorkerConfigSchema$1: z.ZodObject<{
|
|
|
11291
11418
|
"exit-and-resume": "exit-and-resume";
|
|
11292
11419
|
}>>;
|
|
11293
11420
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
11294
|
-
authority: "authority";
|
|
11295
11421
|
worker: "worker";
|
|
11422
|
+
authority: "authority";
|
|
11296
11423
|
}>>;
|
|
11424
|
+
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11425
|
+
kind: z.ZodLiteral<"local-directory">;
|
|
11426
|
+
workspaceId: z.ZodString;
|
|
11427
|
+
rootDigest: z.ZodString;
|
|
11428
|
+
sourcePath: z.ZodString;
|
|
11429
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11430
|
+
kind: z.ZodLiteral<"workspace-snapshot">;
|
|
11431
|
+
snapshotId: z.ZodString;
|
|
11432
|
+
digest: z.ZodString;
|
|
11433
|
+
sourcePath: z.ZodString;
|
|
11434
|
+
}, z.core.$strict>], "kind">>;
|
|
11297
11435
|
}, z.core.$strip>;
|
|
11298
11436
|
type WorkflowWorkerConfig$1 = z.infer<typeof WorkflowWorkerConfigSchema$1>;
|
|
11437
|
+
/**
|
|
11438
|
+
* Ephemeral realization context produced by the materializer on the worker.
|
|
11439
|
+
*
|
|
11440
|
+
* Contains worker-local absolute paths and platform information. This type
|
|
11441
|
+
* is NEVER persisted as part of {@link WorkflowRunContext} or any durable
|
|
11442
|
+
* record. It exists only for the lifetime of a single worker process and
|
|
11443
|
+
* is constructed from the portable {@link WorkerMaterializationSpec} after
|
|
11444
|
+
* the materializer resolves the workspace on the local filesystem.
|
|
11445
|
+
*
|
|
11446
|
+
* - `workspaceRoot`: absolute path to the realized workspace root on this worker.
|
|
11447
|
+
* - `sourcePath`: absolute path to the workflow source file within the workspace.
|
|
11448
|
+
* - `contributionEntrypoints`: absolute paths to resolved contribution entrypoints.
|
|
11449
|
+
* - `platform`: worker operating system (`darwin`, `linux`, `win32`).
|
|
11450
|
+
* - `arch`: worker CPU architecture (e.g. `arm64`, `x64`).
|
|
11451
|
+
*/
|
|
11452
|
+
interface WorkerRuntimeContext$1 {
|
|
11453
|
+
/** Absolute path to the realized workspace root on this worker. */
|
|
11454
|
+
readonly workspaceRoot: string;
|
|
11455
|
+
/** Absolute path to the workflow source file within the workspace. */
|
|
11456
|
+
readonly sourcePath: string;
|
|
11457
|
+
/** Absolute paths to resolved contribution entrypoints in load order. */
|
|
11458
|
+
readonly contributionEntrypoints: readonly string[];
|
|
11459
|
+
/** Worker operating system. */
|
|
11460
|
+
readonly platform: 'darwin' | 'linux' | 'win32';
|
|
11461
|
+
/** Worker CPU architecture (e.g. `'arm64'`, `'x64'`). */
|
|
11462
|
+
readonly arch: string;
|
|
11463
|
+
}
|
|
11299
11464
|
/**
|
|
11300
11465
|
* Shared identity fields present on every workflow run result variant.
|
|
11301
11466
|
*/
|
|
@@ -11419,7 +11584,7 @@ type WorkflowRunResult$1 = WorkflowCompletedRunResult | WorkflowFailedRunResult
|
|
|
11419
11584
|
* When `status` is `'paused'`, both `pausedAtGateId` and `pausedAtFrameId`
|
|
11420
11585
|
* are required to uniquely identify the suspended gate frame.
|
|
11421
11586
|
*/
|
|
11422
|
-
declare const WorkflowRunResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11587
|
+
declare const WorkflowRunResultSchema$1: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11423
11588
|
executionId: z.ZodString;
|
|
11424
11589
|
workflowId: z.ZodString;
|
|
11425
11590
|
status: z.ZodLiteral<"completed">;
|
|
@@ -11532,25 +11697,22 @@ declare const WorkflowRunResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
11532
11697
|
*
|
|
11533
11698
|
* Fully serializable so it can cross worker-thread, process, container, or
|
|
11534
11699
|
* remote node boundaries without carrying runtime objects.
|
|
11535
|
-
|
|
11536
|
-
declare const WorkerContributionPackageRefSchema: z.ZodObject<{
|
|
11537
|
-
name: z.ZodString;
|
|
11538
|
-
importPath: z.ZodString;
|
|
11539
|
-
}, z.core.$strip>;
|
|
11540
|
-
type WorkerContributionPackageRef = z.infer<typeof WorkerContributionPackageRefSchema>;
|
|
11700
|
+
*
|
|
11541
11701
|
/**
|
|
11542
|
-
* Serializable manifest declaring worker-local extension packages.
|
|
11702
|
+
* Serializable manifest declaring the exact worker-local extension packages.
|
|
11543
11703
|
*
|
|
11544
|
-
*
|
|
11545
|
-
*
|
|
11546
|
-
*
|
|
11704
|
+
* Product pool dispatch resolves project-level package pins into this exact
|
|
11705
|
+
* identity before provisioning. Materializers verify every ref, and workers
|
|
11706
|
+
* load only the verified worker-local entrypoints returned by materialization.
|
|
11547
11707
|
*/
|
|
11548
11708
|
declare const WorkerContributionManifestSchema: z.ZodObject<{
|
|
11549
|
-
|
|
11550
|
-
|
|
11551
|
-
|
|
11552
|
-
|
|
11553
|
-
|
|
11709
|
+
contributionRefs: z.ZodArray<z.ZodObject<{
|
|
11710
|
+
packageName: z.ZodString;
|
|
11711
|
+
version: z.ZodString;
|
|
11712
|
+
entrypoint: z.ZodString;
|
|
11713
|
+
integrity: z.ZodString;
|
|
11714
|
+
}, z.core.$strict>>;
|
|
11715
|
+
}, z.core.$strict>;
|
|
11554
11716
|
type WorkerContributionManifest$1 = z.infer<typeof WorkerContributionManifestSchema>;
|
|
11555
11717
|
/**
|
|
11556
11718
|
* Optional controls for one workflow runner invocation.
|
|
@@ -11563,6 +11725,25 @@ interface WorkflowRunnerRunOptions$1 {
|
|
|
11563
11725
|
*/
|
|
11564
11726
|
readonly dispatchMetadata?: z.infer<typeof JsonObjectContractSchema>;
|
|
11565
11727
|
}
|
|
11728
|
+
/**
|
|
11729
|
+
* Envelope returned by {@link IWorkflowRunner.run} that tells the caller
|
|
11730
|
+
* whether the terminal result has already been durably committed by an
|
|
11731
|
+
* Authority or still needs host-side finalization.
|
|
11732
|
+
*
|
|
11733
|
+
* - `uncommitted`: the runner produced the result but the durable lifecycle
|
|
11734
|
+
* transition has not been performed. The host executor must finalize or
|
|
11735
|
+
* park the execution (in-process and Piscina runners).
|
|
11736
|
+
* - `authority-committed`: the Authority outcome RPC has converged canonical
|
|
11737
|
+
* state. The host executor verifies durable state but must not invoke
|
|
11738
|
+
* the fallback finalizer (WorkerNode dispatch runners).
|
|
11739
|
+
*/
|
|
11740
|
+
type WorkflowRunnerCompletion$1 = {
|
|
11741
|
+
readonly state: 'uncommitted';
|
|
11742
|
+
readonly result: WorkflowRunResult$1;
|
|
11743
|
+
} | {
|
|
11744
|
+
readonly state: 'authority-committed';
|
|
11745
|
+
readonly result: WorkflowRunResult$1;
|
|
11746
|
+
};
|
|
11566
11747
|
/**
|
|
11567
11748
|
* Contract for dispatching a full workflow execution to an isolated environment.
|
|
11568
11749
|
*
|
|
@@ -11582,9 +11763,9 @@ interface IWorkflowRunner$1 {
|
|
|
11582
11763
|
* @param signal - AbortSignal for cooperative cancellation.
|
|
11583
11764
|
* @param manifest - Optional per-call contribution manifest. Overrides the runner's default.
|
|
11584
11765
|
* @param options - Optional per-run controls for dispatch-capable runners.
|
|
11585
|
-
* @returns
|
|
11766
|
+
* @returns Completion envelope indicating whether the result needs host finalization.
|
|
11586
11767
|
*/
|
|
11587
|
-
run(config: WorkflowWorkerConfig$1, signal: AbortSignal, manifest?: WorkerContributionManifest$1, options?: WorkflowRunnerRunOptions$1): Promise<
|
|
11768
|
+
run(config: WorkflowWorkerConfig$1, signal: AbortSignal, manifest?: WorkerContributionManifest$1, options?: WorkflowRunnerRunOptions$1): Promise<WorkflowRunnerCompletion$1>;
|
|
11588
11769
|
/**
|
|
11589
11770
|
* Release underlying resources (thread pool, processes, connections).
|
|
11590
11771
|
*
|
|
@@ -11736,8 +11917,8 @@ declare const WorkLogExecutionSummarySchema: z.ZodObject<{
|
|
|
11736
11917
|
completed: "completed";
|
|
11737
11918
|
cancelled: "cancelled";
|
|
11738
11919
|
failed: "failed";
|
|
11739
|
-
running: "running";
|
|
11740
11920
|
paused: "paused";
|
|
11921
|
+
running: "running";
|
|
11741
11922
|
finalizing: "finalizing";
|
|
11742
11923
|
}>;
|
|
11743
11924
|
startedAt: z.ZodNumber;
|
|
@@ -11763,12 +11944,12 @@ declare const WorkLogFrameEntrySchema$1: z.ZodObject<{
|
|
|
11763
11944
|
frameId: z.ZodString;
|
|
11764
11945
|
nodeId: z.ZodString;
|
|
11765
11946
|
nodeType: z.ZodEnum<{
|
|
11766
|
-
sequence: "sequence";
|
|
11767
11947
|
station: "station";
|
|
11768
11948
|
"delegate-agent": "delegate-agent";
|
|
11769
11949
|
"delegate-role": "delegate-role";
|
|
11770
|
-
|
|
11950
|
+
sequence: "sequence";
|
|
11771
11951
|
parallel: "parallel";
|
|
11952
|
+
gate: "gate";
|
|
11772
11953
|
iterate: "iterate";
|
|
11773
11954
|
"iterate-chain": "iterate-chain";
|
|
11774
11955
|
loop: "loop";
|
|
@@ -12289,8 +12470,8 @@ type IterateHandler<TTrigger = unknown, TPreviousSteps extends Record<string, Pr
|
|
|
12289
12470
|
* - fresh: Start with clean context
|
|
12290
12471
|
*/
|
|
12291
12472
|
declare const ContextModeSchema$1: z.ZodEnum<{
|
|
12292
|
-
fresh: "fresh";
|
|
12293
12473
|
fork: "fork";
|
|
12474
|
+
fresh: "fresh";
|
|
12294
12475
|
}>;
|
|
12295
12476
|
type ContextMode = z.infer<typeof ContextModeSchema$1>;
|
|
12296
12477
|
/**
|
|
@@ -12425,8 +12606,8 @@ declare const SubagentConfigSchema$1: z.ZodObject<{
|
|
|
12425
12606
|
"extra-high": "extra-high";
|
|
12426
12607
|
}>>;
|
|
12427
12608
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
12428
|
-
fresh: "fresh";
|
|
12429
12609
|
fork: "fork";
|
|
12610
|
+
fresh: "fresh";
|
|
12430
12611
|
}>>;
|
|
12431
12612
|
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12432
12613
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -12595,8 +12776,8 @@ declare const SpawnSubagentRpcRequestSchema$1: z.ZodObject<{
|
|
|
12595
12776
|
"extra-high": "extra-high";
|
|
12596
12777
|
}>>;
|
|
12597
12778
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
12598
|
-
fresh: "fresh";
|
|
12599
12779
|
fork: "fork";
|
|
12780
|
+
fresh: "fresh";
|
|
12600
12781
|
}>>;
|
|
12601
12782
|
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12602
12783
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -13405,49 +13586,4 @@ declare function defineWorkflowBundle(config: {
|
|
|
13405
13586
|
/** Non-empty list of built workflows to include in the bundle. */readonly workflows: readonly BuiltWorkflow[];
|
|
13406
13587
|
}): WorkflowBundle;
|
|
13407
13588
|
//#endregion
|
|
13408
|
-
|
|
13409
|
-
/**
|
|
13410
|
-
* Executable source override for module-backed stored definitions.
|
|
13411
|
-
*
|
|
13412
|
-
* Generated workflow definitions can carry only trigger/provenance metadata
|
|
13413
|
-
* while their runtime remains in a module. This hint lets the executor dispatch
|
|
13414
|
-
* those definitions through a concrete file or inline source without knowing
|
|
13415
|
-
* which extension produced them.
|
|
13416
|
-
*/
|
|
13417
|
-
declare const ExecutionSourceHintSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13418
|
-
kind: z.ZodLiteral<"path">;
|
|
13419
|
-
path: z.ZodString;
|
|
13420
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
13421
|
-
kind: z.ZodLiteral<"source">;
|
|
13422
|
-
filename: z.ZodString;
|
|
13423
|
-
source: z.ZodString;
|
|
13424
|
-
}, z.core.$strict>], "kind">;
|
|
13425
|
-
/**
|
|
13426
|
-
* Advisory hints for worker provisioning passed to the workflow executor.
|
|
13427
|
-
*
|
|
13428
|
-
* Most values remain opaque provider-specific scheduling, pool, isolation, or
|
|
13429
|
-
* capability hints. `source` is the one generic executable hint: when present,
|
|
13430
|
-
* the executor uses it as the worker source for definition-backed starts.
|
|
13431
|
-
*/
|
|
13432
|
-
declare const ExecutionHintsSchema$1: z.ZodObject<{
|
|
13433
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13434
|
-
kind: z.ZodLiteral<"path">;
|
|
13435
|
-
path: z.ZodString;
|
|
13436
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
13437
|
-
kind: z.ZodLiteral<"source">;
|
|
13438
|
-
filename: z.ZodString;
|
|
13439
|
-
source: z.ZodString;
|
|
13440
|
-
}, z.core.$strict>], "kind">>;
|
|
13441
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
13442
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
13443
|
-
local: "local";
|
|
13444
|
-
remote: "remote";
|
|
13445
|
-
container: "container";
|
|
13446
|
-
}>>;
|
|
13447
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13448
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
13449
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
13450
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
13451
|
-
type ExecutionHints = z.infer<typeof ExecutionHintsSchema$1>;
|
|
13452
|
-
//#endregion
|
|
13453
|
-
export { SendToSubagentResponse as $, WorkflowGateNode as $i, JsonPatchOperation$1 as $n, WorkflowFinalizationIntent as $r, RegisterExternalExecutionRequestSchema as $t, LoopGateHandler$1 as A, WorkflowStateDefinitionSchema as Aa, WorkflowArtifactBindingSchema as Ai, parseArtifactRef as An, WorkflowCancelPayload as Ar, WorkflowTriggerDef as At, DEFAULT_CONSTRAINTS$1 as B, WorkflowDelegateAgentNodeSchema as Bi, ArtifactQuerySourceSchema as Bn, WorkflowTriggerTypeRecord as Br, WorkLogGateEventSchema as Bt, NodeOptions as C, WorkflowResolvedRole as Ca, ExtensionWorkflowTrigger$1 as Ci, WalkRelationship as Cn, StepRunnerPlatformDefaults$1 as Cr, CronTriggerPayload as Ct, WorkflowStateAuthoringDefinition as D, WorkflowSourceLocation as Da, LoopGateOutcome as Di, WorkflowRunContextSchema$1 as Dn, TokenUsage as Dr, ManualWorkflowTrigger as Dt, WorkflowBuilder as E, WorkflowSequenceNodeSchema as Ea, GateInstanceListQuerySchema$1 as Ei, WorkflowRunContext as En, StepTelemetrySchema as Er, ExtractTriggerPayload as Et, CompleteTaskResponse as F, WorkflowDefinition$1 as Fi, WorkflowSchemas as Fn, WorkflowStepType as Fr, WorkLogExecutionSummary as Ft, ListSubagentsBySessionResponse as G, WorkflowExecution$1 as Gi, ContextBundle as Gn, WorkflowDelegateResultFinalizationResponse as Gr, CompleteExternalExecutionRequest as Gt, KillSubagentRequest as H, WorkflowDelegateRoleNodeSchema as Hi, BusEventPublishTargetSchema as Hn, WorkflowDelegateEconomicsSchema as Hr, WorkLogStatsSchema as Ht, CompletionMode$1 as I, WorkflowDefinitionProvenance as Ii, WorkflowSubjects$1 as In, WorkflowStepTypeSchema$1 as Ir, WorkLogExecutionSummarySchema as It, ReportProgressRequest as J, WorkflowExecutionScopeSchema as Ji, ContextPublishTargetSchema as Jn, WorkflowDelegateToolObservation as Jr, ExternalExecutionFrameCompletion as Jt, PendingRequest$1 as K, WorkflowExecutionSchema$1 as Ki, ContextBundleSchema as Kn, WorkflowDelegateResultFinalizationResponseSchema as Kr, CompleteExternalExecutionRequestSchema as Kt, CompletionModeSchema as L, WorkflowDefinitionProvenanceSchema as Li, ArtifactPublishTarget as Ln, createStepCancelSubject$1 as Lr, WorkLogFrameEntry as Lt, AwaitSubagentRequest as M, WorkflowStationNodeSchema as Ma, WorkflowArtifactWriteDeclarationSchema as Mi, WorkflowNamespace$1 as Mn, WorkflowCancelSubject as Mr, WorkLogArtifactWriteSchema as Mt, AwaitSubagentResponse$1 as N, WorkflowTrigger as Na, WorkflowCondition as Ni, WorkflowProgressUpdate as Nn, WorkflowRunnerStepType as Nr, WorkLogDynamicNodeMaterialization as Nt, WorkflowZodSchemas$1 as O, WorkflowSourceLocationSchema as Oa, LoopGateOutcomeSchema as Oi, WorkflowArtifactRef as On, TokenUsageSchema as Or, WebhookTriggerPayload as Ot, CompleteTaskRequest as P, WorkflowTriggerSchema as Pa, WorkflowConditionSchema as Pi, WorkflowProgressUpdateSchema as Pn, WorkflowRunnerStepTypeSchema as Pr, WorkLogDynamicNodeMaterializationSchema as Pt, SendToSubagentRequest as Q, WorkflowGateInstanceSchema$1 as Qi, ResolvedContextEntrySchema as Qn, WorkflowFinalizationDeliveryResultSchema as Qr, RegisterExternalExecutionRequest as Qt, ContextMode as R, WorkflowDefinitionSchema$1 as Ri, ArtifactPublishTargetSchema as Rn, createWorkflowCancelSubject$1 as Rr, WorkLogFrameEntrySchema$1 as Rt, LoopOptions as S, WorkflowResolvedAgentSchema as Sa, ExecutionsByArtifactRefsQuerySchema$1 as Si, WalkContext as Sn, StepRunnerBusAuthSchema as Sr, BusEventWorkflowTrigger as St, ParallelOptions as T, WorkflowSequenceNode as Ta, GateInstanceListQuery as Ti, walkWorkflowDefinition$1 as Tn, StepTelemetry as Tr, ExtensionWorkflowTrigger as Tt, KillSubagentResponse as U, WorkflowDynamicRegion as Ui, BusRequestSource as Un, WorkflowDelegateResultFinalizationRequest as Ur, WorkLogUsageSummary as Ut, ExecuteSubagentResponse as V, WorkflowDelegateRoleNode as Vi, BusEventPublishTarget as Vn, WorkflowDelegateEconomics as Vr, WorkLogStats as Vt, ListSubagentsBySessionRequest as W, WorkflowDynamicRegionSchema as Wi, BusRequestSourceSchema as Wn, WorkflowDelegateResultFinalizationRequestSchema as Wr, WorkLogUsageSummarySchema as Wt, RequestInputRpcRequest as X, WorkflowFrameStateSchema$1 as Xi, ContextSourceSchema as Xn, WorkflowFinalizationClaim as Xr, ExternalExecutionFrameStart as Xt, ReportProgressResponse as Y, WorkflowFrameState$1 as Yi, ContextSource as Yn, WorkflowDelegateToolObservationSchema as Yr, ExternalExecutionFrameCompletionSchema as Yt, RequestInputRpcResponse as Z, WorkflowGateInstance as Zi, ResolvedContextEntry as Zn, WorkflowFinalizationClaimSchema$1 as Zr, ExternalExecutionFrameStartSchema as Zt, BuiltWorkflow as _, WorkflowParallelMode as _a, ExecutionListQuery as _i, ProjectedNodeRole as _n, StepRunConfig as _r, StationStepContext as _t, defineWorkflowBundle as a, WorkflowIterateNode as aa, createWorkflowDelegateResultFinalizerNamespace$1 as ai, WorkflowRunResult$1 as an, ExecutionLinkListQuerySchema$1 as ar, SubagentConstraints$1 as at, IterateOptions as b, WorkflowParallelNodeSchema as ba, ExecutionStatusSchema$1 as bi, WorkflowDefinitionPathSegment as bn, StepRunResultSchema as br, WorkflowContextBase as bt, delegateToRole as c, WorkflowListQuerySchema$1 as ca, BusEventTriggerSchema as ci, WorkflowWorkerBusAuth as cn, ExecutionLinkTypeSchema as cr, SubagentStatusSchema as ct, iterateChain as d, WorkflowNode as da, EXECUTIONS_BY_ARTIFACT_REFS_MAX_REFS as di, WorkflowWorkerConfigSchema$1 as dn, SpanStatus as dr, ArtifactPatch as dt, WorkflowGateNodeSchema as ea, WorkflowFinalizationIntentSchema as ei, IWorkflowRunner$1 as en, JsonPatchOperationSchema$1 as er, SpawnSubagentRpcRequest as et, loop as f, WorkflowNodeBase as fa, EXECUTION_LIST_DEFAULT_LIMIT$1 as fi, WorkflowWorkerSource$1 as fn, SpanStatusSchema as fr, ArtifactUpdateOperation as ft, ArtifactBindingOptions as g, WorkflowNodeTypeSchema as ga, ExecutionListCursorSchema as gi, ProjectedNode as gn, StepCancelSubject as gr, StationHandler$1 as gt, AgentConfig as h, WorkflowNodeType as ha, ExecutionListCursor as hi, ProjectedEdgeKind as hn, StepCancelPayloadSchema as hr, PreviousStepOutput as ht, WorkflowBundle as i, WorkflowIterateChainNodeSchema as ia, WorkflowTerminalStatusSchema as ii, WorkerContributionPackageRefSchema as in, ExecutionLinkListQuery as ir, SubagentConfigSchema$1 as it, validateNoNestedLoops as j, WorkflowStationNode as ja, WorkflowArtifactWriteDeclaration as ji, serializeArtifactRef$1 as jn, WorkflowCancelPayloadSchema as jr, WorkLogArtifactWrite as jt, LoopGateContext as k, WorkflowStateDefinition as ka, WorkflowArtifactBinding as ki, WorkflowArtifactRefSchema as kn, WORKFLOW_CANCELLED_REASON$1 as kr, WebhookWorkflowTrigger as kt, gate as l, WorkflowLoopNode as la, EXECUTIONS_BY_ARTIFACT_REFS_DEFAULT_LIMIT_PER_REF as li, WorkflowWorkerBusAuthSchema as ln, SpanRecord as lr, UsageStats$1 as lt, zodSchemaToJsonRecord$1 as m, WorkflowNodeSchema as ma, EXECUTION_LIST_MIN_LIMIT$1 as mi, ProjectedEdge as mn, StepCancelPayload as mr, IterateHandler as mt, ExecutionHintsSchema$1 as n, WorkflowGateStatusSchema as na, WorkflowFinalizerIdSchema$1 as ni, WorkerContributionManifestSchema as nn, WorkflowErrorCode$1 as nr, SpawnSubagentRpcResponse as nt, defineWorkflow as o, WorkflowIterateNodeSchema as oa, createWorkflowFinalizerNamespace$1 as oi, WorkflowRunResultSchema as on, ExecutionLinkSchema$1 as or, SubagentExecutionFailed as ot, station as p, WorkflowNodeBaseSchema as pa, EXECUTION_LIST_MAX_LIMIT$1 as pi, WorkflowWorkerSourceSchema$1 as pn, IStepRunner as pr, ArtifactUpdater as pt, PendingRequestSchema as q, WorkflowExecutionScope as qi, ContextPublishTarget as qn, WorkflowDelegateResultFinalizerIdSchema as qr, EXTERNAL_EXECUTION_ID_PREFIX$1 as qt, ExecutionSourceHintSchema as r, WorkflowIterateChainNode as ra, WorkflowTerminalStatus as ri, WorkerContributionPackageRef as rn, ExecutionLink as rr, SubagentConfig$1 as rt, delegateToAgent as s, WorkflowListQuery as sa, BusEventTrigger as si, WorkflowRunnerRunOptions$1 as sn, ExecutionLinkType as sr, SubagentStatus$1 as st, ExecutionHints as t, WorkflowGateStatus as ta, WorkflowFinalizerId as ti, WorkerContributionManifest$1 as tn, WorkflowError$1 as tr, SpawnSubagentRpcRequestSchema$1 as tt, iterate as u, WorkflowLoopNodeSchema as ua, EXECUTIONS_BY_ARTIFACT_REFS_MAX_LIMIT_PER_REF as ui, WorkflowWorkerConfig$1 as un, SpanRecordSchema$1 as ur, ArtifactContext as ut, DefineWorkflowOptions as v, WorkflowParallelModeSchema as va, ExecutionListQuerySchema$1 as vi, ProjectedWorkflowGraph as vn, StepRunConfigSchema as vr, StepContext as vt, ParallelMode as w, WorkflowResolvedRoleSchema as wa, ExtensionWorkflowTriggerSchema as wi, WorkflowNodeVisitor as wn, StepRunnerPlatformDefaultsSchema as wr, CronWorkflowTrigger as wt, LoopGateRegistration as x, WorkflowResolvedAgent as xa, ExecutionsByArtifactRefsQuery as xi, projectWorkflowGraph as xn, StepRunnerBusAuth$1 as xr, WorkflowStateContext as xt, GateOptions as y, WorkflowParallelNode as ya, ExecutionStatus as yi, WorkflowDefinitionPath as yn, StepRunResult as yr, WorkflowContext as yt, ContextModeSchema$1 as z, WorkflowDelegateAgentNode as zi, ArtifactQuerySource as zn, IWorkflowTriggerTypeRegistry$1 as zr, WorkLogGateEvent as zt };
|
|
13589
|
+
export { SpawnSubagentRpcResponse as $, WorkflowGateNode as $i, WorkflowError$1 as $n, WorkflowFinalizationIntent as $r, WorkerContributionManifestSchema as $t, AwaitSubagentResponse$1 as A, WorkflowStateDefinitionSchema as Aa, WorkflowArtifactBindingSchema as Ai, WorkflowNamespace$1 as An, WorkflowCancelSubject as Ar, WorkLogDynamicNodeMaterialization as At, KillSubagentResponse as B, WorkflowDelegateAgentNodeSchema as Bi, BusEventPublishTargetSchema as Bn, WorkflowDelegateEconomicsSchema as Br, WorkLogUsageSummary as Bt, WorkflowBuilder as C, WorkflowResolvedRole as Ca, ExtensionWorkflowTrigger$1 as Ci, WorkflowRunContext$1 as Cn, StepTelemetry as Cr, ExtractTriggerPayload as Ct, LoopGateHandler$1 as D, WorkflowSourceLocation as Da, LoopGateOutcome as Di, WorkflowArtifactRefSchema as Dn, WORKFLOW_CANCELLED_REASON$1 as Dr, WorkflowTriggerDef as Dt, LoopGateContext as E, WorkflowSequenceNodeSchema as Ea, GateInstanceListQuerySchema$1 as Ei, WorkflowArtifactRef as En, TokenUsageSchema as Er, WebhookWorkflowTrigger as Et, ContextMode as F, WorkflowDefinition$1 as Fi, ArtifactPublishTarget as Fn, createStepCancelSubject$1 as Fr, WorkLogFrameEntrySchema$1 as Ft, ReportProgressRequest as G, WorkflowExecution$1 as Gi, ContextPublishTarget as Gn, WorkflowDelegateResultFinalizationResponse as Gr, ExternalExecutionFrameCompletion as Gt, ListSubagentsBySessionResponse as H, WorkflowDelegateRoleNodeSchema as Hi, BusRequestSourceSchema as Hn, WorkflowDelegateResultFinalizationGatewayRequestSchema as Hr, CompleteExternalExecutionRequest as Ht, ContextModeSchema$1 as I, WorkflowDefinitionProvenance as Ii, ArtifactPublishTargetSchema as In, createWorkflowCancelSubject$1 as Ir, WorkLogGateEvent as It, RequestInputRpcResponse as J, WorkflowExecutionScopeSchema as Ji, ContextSourceSchema as Jn, WorkflowDelegateToolObservation as Jr, ExternalExecutionFrameStartSchema as Jt, ReportProgressResponse as K, WorkflowExecutionSchema$1 as Ki, ContextPublishTargetSchema as Kn, WorkflowDelegateResultFinalizationResponseSchema as Kr, ExternalExecutionFrameCompletionSchema as Kt, DEFAULT_CONSTRAINTS$1 as L, WorkflowDefinitionProvenanceSchema as Li, ArtifactQuerySource as Ln, IWorkflowTriggerTypeRegistry$1 as Lr, WorkLogGateEventSchema as Lt, CompleteTaskResponse as M, WorkflowStationNodeSchema as Ma, WorkflowArtifactWriteDeclarationSchema as Mi, WorkflowProgressUpdateSchema as Mn, WorkflowRunnerStepTypeSchema as Mr, WorkLogExecutionSummary as Mt, CompletionMode$1 as N, WorkflowTrigger as Na, WorkflowCondition as Ni, WorkflowSchemas as Nn, WorkflowStepType as Nr, WorkLogExecutionSummarySchema as Nt, validateNoNestedLoops as O, WorkflowSourceLocationSchema as Oa, LoopGateOutcomeSchema as Oi, parseArtifactRef as On, WorkflowCancelPayload as Or, WorkLogArtifactWrite as Ot, CompletionModeSchema as P, WorkflowTriggerSchema as Pa, WorkflowConditionSchema as Pi, WorkflowSubjects$1 as Pn, WorkflowStepTypeSchema$1 as Pr, WorkLogFrameEntry as Pt, SpawnSubagentRpcRequestSchema$1 as Q, WorkflowGateInstanceSchema$1 as Qi, JsonPatchOperationSchema$1 as Qn, WorkflowFinalizationDeliveryResultSchema as Qr, WorkerContributionManifest$1 as Qt, ExecuteSubagentResponse as R, WorkflowDefinitionSchema$1 as Ri, ArtifactQuerySourceSchema as Rn, WorkflowTriggerTypeRecord as Rr, WorkLogStats as Rt, ParallelOptions as S, WorkflowResolvedAgentSchema as Sa, ExecutionsByArtifactRefsQuerySchema$1 as Si, walkWorkflowDefinition$1 as Sn, StepRunnerPlatformDefaultsSchema as Sr, ExtensionWorkflowTrigger as St, WorkflowZodSchemas$1 as T, WorkflowSequenceNode as Ta, GateInstanceListQuery as Ti, WorkflowRunContextSource as Tn, TokenUsage as Tr, WebhookTriggerPayload as Tt, PendingRequest$1 as U, WorkflowDynamicRegion as Ui, ContextBundle as Un, WorkflowDelegateResultFinalizationRequest as Ur, CompleteExternalExecutionRequestSchema as Ut, ListSubagentsBySessionRequest as V, WorkflowDelegateRoleNode as Vi, BusRequestSource as Vn, WorkflowDelegateResultFinalizationGatewayRequest as Vr, WorkLogUsageSummarySchema as Vt, PendingRequestSchema as W, WorkflowDynamicRegionSchema as Wi, ContextBundleSchema as Wn, WorkflowDelegateResultFinalizationRequestSchema as Wr, EXTERNAL_EXECUTION_ID_PREFIX$1 as Wt, SendToSubagentResponse as X, WorkflowFrameStateSchema$1 as Xi, ResolvedContextEntrySchema as Xn, WorkflowFinalizationClaim as Xr, RegisterExternalExecutionRequestSchema as Xt, SendToSubagentRequest as Y, WorkflowFrameState$1 as Yi, ResolvedContextEntry as Yn, WorkflowDelegateToolObservationSchema as Yr, RegisterExternalExecutionRequest as Yt, SpawnSubagentRpcRequest as Z, WorkflowGateInstance as Zi, JsonPatchOperation$1 as Zn, WorkflowFinalizationClaimSchema$1 as Zr, IWorkflowRunner$1 as Zt, IterateOptions as _, WorkflowParallelMode as _a, ExecutionListQuery as _i, WorkflowDefinitionPathSegment as _n, StepRunResult as _r, WorkflowContextBase as _t, delegateToRole as a, WorkflowIterateNode as aa, createWorkflowDelegateResultFinalizerNamespace$1 as ai, WorkflowWorkerBusAuth as an, ExecutionLinkType as ar, SubagentStatusSchema as at, NodeOptions as b, WorkflowParallelNodeSchema as ba, ExecutionStatusSchema$1 as bi, WalkRelationship as bn, StepRunnerBusAuthSchema as br, CronTriggerPayload as bt, iterateChain as c, WorkflowListQuerySchema$1 as ca, BusEventTriggerSchema as ci, WorkflowWorkerConfigSchema$1 as cn, SpanRecordSchema$1 as cr, ArtifactPatch as ct, zodSchemaToJsonRecord$1 as d, WorkflowNode as da, EXECUTIONS_BY_ARTIFACT_REFS_MAX_REFS as di, ProjectedEdge as dn, IStepRunner as dr, IterateHandler as dt, WorkflowGateNodeSchema as ea, WorkflowFinalizationIntentSchema as ei, WorkerRuntimeContext$1 as en, WorkflowErrorCode$1 as er, SubagentConfig$1 as et, AgentConfig as f, WorkflowNodeBase as fa, EXECUTION_LIST_DEFAULT_LIMIT$1 as fi, ProjectedEdgeKind as fn, StepCancelPayload as fr, PreviousStepOutput as ft, GateOptions as g, WorkflowNodeTypeSchema as ga, ExecutionListCursorSchema as gi, WorkflowDefinitionPath as gn, StepRunConfigSchema as gr, WorkflowContext as gt, DefineWorkflowOptions as h, WorkflowNodeType as ha, ExecutionListCursor as hi, ProjectedWorkflowGraph as hn, StepRunConfig as hr, StepContext as ht, delegateToAgent as i, WorkflowIterateChainNodeSchema as ia, WorkflowTerminalStatusSchema as ii, WorkflowRunnerRunOptions$1 as in, ExecutionLinkSchema$1 as ir, SubagentStatus$1 as it, CompleteTaskRequest as j, WorkflowStationNode as ja, WorkflowArtifactWriteDeclaration as ji, WorkflowProgressUpdate as jn, WorkflowRunnerStepType as jr, WorkLogDynamicNodeMaterializationSchema as jt, AwaitSubagentRequest as k, WorkflowStateDefinition as ka, WorkflowArtifactBinding as ki, serializeArtifactRef$1 as kn, WorkflowCancelPayloadSchema as kr, WorkLogArtifactWriteSchema as kt, loop as l, WorkflowLoopNode as la, EXECUTIONS_BY_ARTIFACT_REFS_DEFAULT_LIMIT_PER_REF as li, WorkflowWorkerSource$1 as ln, SpanStatus as lr, ArtifactUpdateOperation as lt, BuiltWorkflow as m, WorkflowNodeSchema as ma, EXECUTION_LIST_MIN_LIMIT$1 as mi, ProjectedNodeRole as mn, StepCancelSubject as mr, StationStepContext as mt, defineWorkflowBundle as n, WorkflowGateStatusSchema as na, WorkflowFinalizerIdSchema$1 as ni, WorkflowRunResultSchema$1 as nn, ExecutionLinkListQuery as nr, SubagentConstraints$1 as nt, gate as o, WorkflowIterateNodeSchema as oa, createWorkflowFinalizerNamespace$1 as oi, WorkflowWorkerBusAuthSchema as on, ExecutionLinkTypeSchema as or, UsageStats$1 as ot, ArtifactBindingOptions as p, WorkflowNodeBaseSchema as pa, EXECUTION_LIST_MAX_LIMIT$1 as pi, ProjectedNode as pn, StepCancelPayloadSchema as pr, StationHandler$1 as pt, RequestInputRpcRequest as q, WorkflowExecutionScope as qi, ContextSource as qn, WorkflowDelegateResultFinalizerIdSchema as qr, ExternalExecutionFrameStart as qt, defineWorkflow as r, WorkflowIterateChainNode as ra, WorkflowTerminalStatus as ri, WorkflowRunnerCompletion$1 as rn, ExecutionLinkListQuerySchema$1 as rr, SubagentExecutionFailed as rt, iterate as s, WorkflowListQuery as sa, BusEventTrigger as si, WorkflowWorkerConfig$1 as sn, SpanRecord as sr, ArtifactContext as st, WorkflowBundle as t, WorkflowGateStatus as ta, WorkflowFinalizerId as ti, WorkflowRunResult$1 as tn, ExecutionLink as tr, SubagentConfigSchema$1 as tt, station as u, WorkflowLoopNodeSchema as ua, EXECUTIONS_BY_ARTIFACT_REFS_MAX_LIMIT_PER_REF as ui, WorkflowWorkerSourceSchema as un, SpanStatusSchema as ur, ArtifactUpdater as ut, LoopGateRegistration as v, WorkflowParallelModeSchema as va, ExecutionListQuerySchema$1 as vi, projectWorkflowGraph as vn, StepRunResultSchema as vr, WorkflowStateContext as vt, WorkflowStateAuthoringDefinition as w, WorkflowResolvedRoleSchema as wa, ExtensionWorkflowTriggerSchema as wi, WorkflowRunContextSchema$1 as wn, StepTelemetrySchema as wr, ManualWorkflowTrigger as wt, ParallelMode as x, WorkflowResolvedAgent as xa, ExecutionsByArtifactRefsQuery as xi, WorkflowNodeVisitor as xn, StepRunnerPlatformDefaults$1 as xr, CronWorkflowTrigger as xt, LoopOptions as y, WorkflowParallelNode as ya, ExecutionStatus as yi, WalkContext as yn, StepRunnerBusAuth$1 as yr, BusEventWorkflowTrigger as yt, KillSubagentRequest as z, WorkflowDelegateAgentNode as zi, BusEventPublishTarget as zn, WorkflowDelegateEconomics as zr, WorkLogStatsSchema as zt };
|