@makaio/framework 1.0.0-dev-1785407933303 → 1.0.0-dev-1786014320559
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 +4 -3
- package/dist/{account-identity-DFx8pwKL.mjs → account-identity-DGpXd8h_.mjs} +1 -1
- package/dist/adapter-BkdJaOOG.mjs +1 -0
- package/dist/adapter-subsystem/index.d.mts +138 -6
- package/dist/adapter-subsystem/index.mjs +1 -1
- package/dist/adapters/acp-client/index.d.mts +105 -7
- package/dist/adapters/acp-client/index.mjs +2 -2
- package/dist/adapters/claude/index.d.mts +24 -24
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +379 -812
- package/dist/adapters/index.mjs +6 -6
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/adapters/stream-session/index.d.mts +28 -7
- package/dist/adapters/stream-session/index.mjs +1 -1
- package/dist/agent-namespace-D51PODFf.mjs +1 -0
- package/dist/{ajv-DD3SIL2i.mjs → ajv-L5fKxaia.mjs} +2 -2
- package/dist/artifact-k3veR4Yx.mjs +1 -0
- package/dist/attach-error-BSlc7JfL.mjs +1 -0
- package/dist/{auth-DGEdiHF6.mjs → auth-A1K_7q-8.mjs} +1 -1
- package/dist/authority-state-bootstrap-YwtEImIB.mjs +1 -0
- package/dist/automation-trigger-CuSdQwir.mjs +1 -0
- package/dist/await-trigger-ph1S0zVI.mjs +1 -0
- package/dist/bus/index.d.mts +17 -3
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-BIj0_aG6.mjs +1 -0
- package/dist/bus-CqgrphNE.mjs +2 -0
- package/dist/{canonical-model-BAytQ4NV.mjs → canonical-model-DJASlL4m.mjs} +1 -1
- package/dist/{capabilities-BQEp34ir.mjs → capabilities-Bqckjh7G.mjs} +1 -1
- package/dist/{client-DbS847wW.mjs → client-BL5__WT0.mjs} +1 -1
- package/dist/clients/index.d.mts +7 -7
- 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-74fFeBha.mjs → compression-BbttSqm8.mjs} +1 -1
- package/dist/{config-namespace-TVX-hG4I.mjs → config-namespace-CyzeLWSg.mjs} +1 -1
- package/dist/{context-resolution-DNRkyQto.d.mts → context-resolution-CW0ya4QO.d.mts} +14 -14
- package/dist/contracts/adapter/index.d.mts +3 -3
- 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 +3 -3
- 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/automation-trigger/index.d.mts +4 -0
- package/dist/contracts/automation-trigger/index.mjs +1 -0
- 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 +1 -1
- package/dist/contracts/capabilities/index.mjs +1 -1
- 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 +1 -1
- package/dist/contracts/config/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +6 -5
- 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 +161 -100
- 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/reaction/index.d.mts +2 -0
- package/dist/contracts/reaction/index.mjs +1 -0
- package/dist/contracts/session/index.d.mts +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +3 -3
- 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 +1 -1
- package/dist/contracts/worker-node/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +3 -3
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/contribution-BH-wKsWI.d.mts +35 -0
- package/dist/core/index.d.mts +60 -1
- package/dist/core/index.mjs +1 -1
- package/dist/definition-BYgHlmMw.d.mts +375 -0
- package/dist/{definition-CJfiv8xm.mjs → definition-CDg-Jq1T.mjs} +1 -1
- package/dist/{detached-extension-handle-Ddfquy5_.mjs → detached-extension-handle-DKd17UB6.mjs} +1 -1
- package/dist/drizzle/0031_adapter_session_currency.sql +66 -0
- package/dist/drizzle/0032_native_session_ownership.sql +77 -0
- package/dist/drizzle/0033_m_msf3hu2s.sql +1 -0
- package/dist/drizzle/meta/_journal.json +21 -0
- package/dist/{execution-attempt-repository-DWXKY41_.d.mts → execution-attempt-repository-DFyAnchJ.d.mts} +1 -1
- package/dist/{execution-target-Cf645pDj.mjs → execution-target-ByNwZh5-.mjs} +1 -1
- package/dist/extension-DMdmj9gi.mjs +1 -0
- package/dist/extension-DUmibvMk.mjs +1 -0
- package/dist/extension-context-CqfddWXs.d.mts +295 -0
- package/dist/{extension-discovery-CQRdbVQ6.d.mts → extension-discovery-Fhps4icD.d.mts} +2 -0
- package/dist/{extension-namespace-Yu41YepM.mjs → extension-namespace-B554RmCp.mjs} +1 -1
- package/dist/extension-package-provenance-Dh_-Z-tE.mjs +1 -0
- package/dist/{filesystem-service-DlP2HfDg.mjs → filesystem-service-FAtd9gWH.mjs} +1 -1
- package/dist/framework-packages-D_2hBZ-p.mjs +1 -0
- package/dist/git/index.mjs +1 -1
- package/dist/{globby-1yCVCk8s.mjs → globby-BBLuT_vy.mjs} +1 -1
- package/dist/handlers-2yd00VEq.mjs +57 -0
- package/dist/{harness-DpwsFsE7.mjs → harness-KxbWGL4I.mjs} +1 -1
- package/dist/{hook-responses-Dh1PWXqJ.d.mts → hook-responses-CQZIv3L3.d.mts} +2 -293
- package/dist/{index-HsTxm-R3.d.mts → index-3eUIRy7T.d.mts} +250 -20
- package/dist/{index-brqfk9JQ.d.mts → index-B4xdTT3c.d.mts} +6 -6
- package/dist/{index-CmFbzuiW.d.mts → index-B5op6AsV.d.mts} +72 -62
- package/dist/{index-CMgLxw14.d.mts → index-B6GOuxVy2.d.mts} +18 -18
- package/dist/index-BFhJe-Sb.d.mts +302 -0
- package/dist/{index-fmR2JNgJ.d.mts → index-BQprJNA_.d.mts} +4 -4
- package/dist/{index-EjsSBQXy2.d.mts → index-BSQ30wYP.d.mts} +1 -1
- package/dist/{index-Hk9mpC3o.d.mts → index-BSbGB23v.d.mts} +8 -8
- package/dist/{index-BbF2gRwd.d.mts → index-BiAYXjgM.d.mts} +41 -41
- package/dist/{index-sFsAqeK1.d.mts → index-ByZi9bml.d.mts} +7616 -4158
- package/dist/{index-CMJZ2Z8m.d.mts → index-C7HcDpHE.d.mts} +4 -0
- package/dist/{index-BskPjMet.d.mts → index-CB4aIUoF.d.mts} +16 -16
- package/dist/{index-B-xrJCwa.d.mts → index-CDusRXio.d.mts} +136 -137
- package/dist/{index-CUvNKYkV.d.mts → index-CSN_0sCo.d.mts} +19 -2
- package/dist/{index-BAXkicoQ.d.mts → index-C__EQfKa.d.mts} +1 -1
- package/dist/{index-BfLulUMy2.d.mts → index-CqQYgsbB.d.mts} +1659 -217
- package/dist/{index-DF9ffhVe.d.mts → index-CwDiyJkJ.d.mts} +327 -756
- package/dist/{index-GHASUiem.d.mts → index-DBadVauL.d.mts} +1 -1
- package/dist/{index-gUhidukN.d.mts → index-DI7-tIL3.d.mts} +299 -2
- package/dist/index-DP3o_13U.d.mts +165 -0
- package/dist/{index-DSBT83c0.d.mts → index-DcYAAJ0V.d.mts} +24 -3
- package/dist/{index-DqkjRTr7.d.mts → index-Dch_AxUg.d.mts} +77 -39
- package/dist/{index-XZyMxxnU.d.mts → index-DcqSUsX6.d.mts} +39 -83
- package/dist/{index-B0Kf_OWi.d.mts → index-DgOfgjx3.d.mts} +1 -1
- package/dist/{index-Ds5_rDEJ.d.mts → index-DwLRZscE.d.mts} +1 -12
- package/dist/{index-DkiTJM5p.d.mts → index-DxYDRoDE2.d.mts} +17 -3
- package/dist/{index-CRvpVIqA.d.mts → index-OsbtyMgx2.d.mts} +10 -1
- package/dist/{index-BaZeoZoS.d.mts → index-bIe_57cL.d.mts} +1 -1
- package/dist/{json-value-Brslhqbm.d.mts → json-value-C1RGgS0a.d.mts} +16 -1
- package/dist/{json-value-DmU8ibo_.mjs → json-value-D57aJhVn.mjs} +1 -1
- 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 +9 -9
- package/dist/kernel/index.mjs +1 -1
- package/dist/kernel/namespace/index.d.mts +2 -2
- 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-C7-s68uf.mjs → lib-B_rJ6r0T.mjs} +1 -1
- package/dist/{lib-DErgth_E.mjs → lib-CnOAtohU.mjs} +1 -1
- package/dist/load-extensions-CW9uzNR5.mjs +1 -0
- package/dist/{load-extensions-BxsDB87B.d.mts → load-extensions-DUpaMQ7G.d.mts} +17 -13
- package/dist/{materialization-Jd198K3y.mjs → materialization-CcpCDhXh.mjs} +1 -1
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/model-ZH3L1dPW.mjs +1 -0
- package/dist/{namespace-BqxtpNAn.mjs → namespace-B7bntOB8.mjs} +1 -1
- package/dist/{namespace-CWUDFGOy.mjs → namespace-BFqkUTJp.mjs} +1 -1
- package/dist/{namespace-D-WH2uYV2.d.mts → namespace-CAy4P5mW.d.mts} +8 -8
- package/dist/{namespace-B8uKAzWJ.mjs → namespace-CFjdyNXG.mjs} +1 -1
- package/dist/{namespace-DV-Hr9sZ.d.mts → namespace-ChnRTUG4.d.mts} +11 -1
- package/dist/namespace-CxrOLeeP.mjs +1 -0
- package/dist/{namespace-g_mbIZq_.d.mts → namespace-DSlfFhB1.d.mts} +410 -26
- package/dist/{namespace-Dkod-w11.d.mts → namespace-DwZwGXgF.d.mts} +4 -0
- package/dist/{namespace-BXvD9t0I.d.mts → namespace-Rge9mMI-.d.mts} +27 -19
- package/dist/{native-session-supervisor-DRx0MX-d.mjs → native-session-supervisor-fZYPUk0-.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/{orchestrator-shared-BHCv-l2O.d.mts → orchestrator-shared-B-KRW1Z0.d.mts} +1 -0
- package/dist/orchestrator-shared-CTCZc6Vl.mjs +1 -0
- package/dist/ownership-memory-handler-Bblp93YC.mjs +1 -0
- package/dist/{package-DWMxGfzK.d.mts → package-Bf3hyuzs.d.mts} +234 -84
- package/dist/package-CBdvjyyZ.mjs +1 -0
- package/dist/package-CddkNbZI.mjs +1 -0
- package/dist/package-ypz4rKvn.mjs +7 -0
- package/dist/package.json +1 -1
- package/dist/{profile-BTAI31Nt.mjs → profile-BtznZlq3.mjs} +1 -1
- package/dist/{provider-context-Dq53Cgzz.mjs → provider-context-BrLZYnDW.mjs} +1 -1
- package/dist/{provider-context-PZIQWcqQ.mjs → provider-context-Dh-VOOYF.mjs} +1 -1
- package/dist/reaction-BS0k4eNN.mjs +1 -0
- package/dist/{registry-wfF2uTty.mjs → registry-BO_bOoky.mjs} +2 -2
- package/dist/{resolved-DZgqql2Z.mjs → resolved-DMByz1_2.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/workflow-worker/index.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schema-Dd-e89MO.mjs → schema-DBG7Jq5_.mjs} +1 -1
- package/dist/{schema-DKUb4rkr.d.mts → schema-DKTzriEY.d.mts} +519 -9
- package/dist/{schemas-B5eUUi6u.d.mts → schemas-9qeeHGBf.d.mts} +8 -8
- package/dist/{schemas-CRB2O5zo.mjs → schemas-BqD8LlQw.mjs} +1 -1
- package/dist/{schemas-DaHQzpgm.mjs → schemas-CsjN7cmM.mjs} +1 -1
- package/dist/schemas-DSkBOdx_.mjs +1 -0
- package/dist/schemas-DplrlAyR.mjs +1 -0
- package/dist/{schemas-DuIlOWR3.d.mts → schemas-VbB1FTxx.d.mts} +4 -0
- package/dist/scoped-bus-ClwTWqX8.mjs +1 -0
- package/dist/{selection-BNwTKEVT.mjs → selection-7Ku8DBnh.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 +4 -4
- package/dist/services/adapter-subsystem/index.mjs +1 -1
- package/dist/services/adapter-subsystem/namespace.d.mts +2 -2
- 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/automation-trigger/index.d.mts +943 -0
- package/dist/services/automation-trigger/index.mjs +1 -0
- 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 +4 -4
- package/dist/services/context-rules/index.mjs +1 -1
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/index.mjs +1 -1
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/namespace.mjs +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/execution-target/schemas.mjs +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/filesystem/index.mjs +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/git/namespace.d.mts +2 -2
- package/dist/services/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.d.mts +1 -1
- 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 +449 -83
- 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 +3 -3
- 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.mjs +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 +2 -2
- package/dist/services/session/handlers/index.mjs +1 -1
- package/dist/services/session/index.d.mts +10 -10
- 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 +2 -2
- package/dist/services/session/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.d.mts +12 -4
- package/dist/services/session/testing/index.mjs +36 -4
- 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 +8 -8
- 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/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 +1 -1
- package/dist/services/workflow-transitions/index.mjs +1 -1
- package/dist/session-BMy2kRpX.mjs +90 -0
- package/dist/session-Cipx34j6.mjs +1 -0
- package/dist/{session-lineage-B_JW5LpF.d.mts → session-lineage-B_PVa1XN.d.mts} +1 -1
- package/dist/shared-BFVuCDPx.mjs +1 -0
- package/dist/{skill-BR6rkfLe.mjs → skill-C1D51nhh.mjs} +1 -1
- package/dist/{src-DD0v-nIj.mjs → src-xbmzokNe.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 +42 -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/tool-approval-service-BVgN9Q1r.mjs +1 -0
- package/dist/{tools-PdG9fO1M.mjs → tools-DxwHox1a.mjs} +1 -1
- package/dist/{transition-DwqL8W9V.d.mts → transition-BF1nevaC.d.mts} +7 -34
- package/dist/{types-DMLDHFR9.d.mts → types-BNjPhj_a.d.mts} +1 -1
- package/dist/{types-DR60yv6W.d.mts → types-CijlWGwb.d.mts} +1575 -157
- package/dist/types-ClpEaoAm.d.mts +2917 -0
- package/dist/ui-hooks/index.d.mts +29 -2
- package/dist/ui-hooks/index.mjs +1 -1
- package/dist/ui-kernel/index.d.mts +2 -2
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/ui-views/index.d.mts +1 -1
- package/dist/utils/index.d.mts +77 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/{version-CoCeMxDT.mjs → version-BfNnVAGr.mjs} +1 -1
- package/dist/{view-builder-qp51cMWh.d.mts → view-builder-Bc9dx6jF.d.mts} +1 -1
- package/dist/{visibility-qhGWmpSJ.mjs → visibility-Dl1o2I01.mjs} +1 -1
- package/dist/{worker-node-Bl9_vqYi.mjs → worker-node-BDOYPEpi.mjs} +1 -1
- package/dist/{worker-node-DZTuT1DS.mjs → worker-node-DJ41Tr-F.mjs} +1 -1
- package/dist/workflow-Hzc5jlnV.mjs +1 -0
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/index.d.mts +161 -442
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/provider-operation.d.mts +1 -1
- package/dist/workflow-engine/testing/index.d.mts +2 -2
- package/dist/workflow-engine/testing/index.mjs +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.mjs +27 -27
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/workflow-engine/workflow-trigger-binding-consumer.d.mts +46 -0
- package/dist/workflow-engine/workflow-trigger-binding-consumer.mjs +1 -0
- package/dist/{workflow-transitions-DSc45ixc.mjs → workflow-transitions-DM0fN_eP.mjs} +1 -1
- package/dist/workflow-worker-DARC7UZl.mjs +1 -0
- package/dist/zod-json-schema-BAGAFfCN.mjs +1 -0
- package/package.json +29 -1
- package/dist/adapter-D5c5LrPN.mjs +0 -1
- package/dist/artifact-DGiXqb11.mjs +0 -1
- package/dist/attach-error-C3tngg6J.mjs +0 -1
- package/dist/authority-state-bootstrap-GPL_tqaT.mjs +0 -1
- package/dist/await-trigger-I3lrepb8.mjs +0 -1
- package/dist/bus-B6SAjgOC.mjs +0 -2
- package/dist/bus-C2l3K74u.mjs +0 -1
- package/dist/extension-DCA4pYrY.mjs +0 -1
- package/dist/extension-hjOPs10e.mjs +0 -1
- package/dist/framework-packages-C3RWfJDk.mjs +0 -1
- package/dist/handlers-CfnLyLfE.mjs +0 -57
- package/dist/load-extensions-D0DfjYLC.mjs +0 -1
- package/dist/model-BGgVmRnN.mjs +0 -1
- package/dist/namespace-DJfUADSV.mjs +0 -1
- package/dist/orchestrator-shared-BxmHCPvx.mjs +0 -1
- package/dist/package-CNUPPcU1.mjs +0 -7
- package/dist/package-Dft_RItb.mjs +0 -1
- package/dist/schemas-Cm09dXL4.mjs +0 -1
- package/dist/scoped-bus-C9BdNwfM.mjs +0 -1
- package/dist/session-BOGCd18q.mjs +0 -1
- package/dist/session-BTFiDoGz.mjs +0 -76
- package/dist/shared-BQ0CHIVy.mjs +0 -1
- package/dist/tool-approval-service-kBA0fRzm.mjs +0 -1
- package/dist/types-CJ_QZ1yW.d.mts +0 -1487
- package/dist/workflow-BfDbgtIQ.mjs +0 -1
- package/dist/workflow-worker-BN9XPxQO.mjs +0 -1
- package/dist/{adapter-auth-runtime-DO-FVTXg.mjs → adapter-auth-runtime-D9Lnl7cc.mjs} +0 -0
- package/dist/{adapter-binding-DQchUtrK.d.mts → adapter-binding-B-FBoCys.d.mts} +0 -0
- package/dist/{attempt-record-codec-CqO1_XnE.mjs → attempt-record-codec-DaFLKR5C.mjs} +0 -0
- package/dist/{base-orchestrator-BilsQNW1.d.mts → base-orchestrator-D9u4NyiM.d.mts} +0 -0
- package/dist/{capability-service-BqiLlRGA.mjs → capability-service-CJHNkjvm.mjs} +0 -0
- package/dist/{client-B--e2qcU.d.mts → client-4ihewPUm.d.mts} +0 -0
- package/dist/{client-binary-version-verifier-taewmKTY.mjs → client-binary-version-verifier-DJajc_Ff.mjs} +0 -0
- package/dist/{client-binary-version-verifier-CgjM_vGF.d.mts → client-binary-version-verifier-jDDZ64Ah.d.mts} +0 -0
- package/dist/{clients-namespace-DfxjG2ZP.d.mts → clients-namespace-DFWuUawf.d.mts} +0 -0
- package/dist/{config-namespace-BCqvufbD.d.mts → config-namespace-D1kyZj0B.d.mts} +0 -0
- package/dist/{create-static-mount-bbQhTt6W.mjs → create-static-mount-9tnGpIeK.mjs} +0 -0
- package/dist/{cross-spawn-B57KZuns.mjs → cross-spawn-BIgueAqr.mjs} +0 -0
- package/dist/{cursor-storage-DIFK_9hg.mjs → cursor-storage-ROWfiTh1.mjs} +0 -0
- package/dist/{definition-gnKgXU91.d.mts → definition-DB-kKc0d.d.mts} +0 -0
- package/dist/{definitions-xrrY0wgz.mjs → definitions-CF6YmEhL.mjs} +0 -0
- package/dist/{descriptor-to-package-DvF08krT.mjs → descriptor-to-package-BecVCopf.mjs} +0 -0
- package/dist/{drizzle-z_0SiGY8.mjs → drizzle-CPv3vdTE.mjs} +0 -0
- package/dist/{esm-CltRnX8_.mjs → esm-CBFWM8u_.mjs} +0 -0
- package/dist/{event-CmVjR6Ib.mjs → event-DR8U9Efx.mjs} +0 -0
- package/dist/{facet-BCI00njh.mjs → facet-DVsW12iF.mjs} +0 -0
- package/dist/{filesystem-service-CQ9yVkSz.d.mts → filesystem-service-Cm2RHKBa.d.mts} +0 -0
- package/dist/{handler-Cbv9FqDO.mjs → handler-Bqlk-6BY.mjs} +0 -0
- package/dist/{host-Caq6ZfSJ.mjs → host-k5yoyKHg.mjs} +0 -0
- package/dist/{identity-D6guMtmi.mjs → identity-DC3Pk0ps.mjs} +0 -0
- package/dist/{index-dtsLKOID.d.mts → index-42UdYStR.d.mts} +0 -0
- package/dist/{index-DR40QWlw.d.mts → index-BJAB-BW_.d.mts} +0 -0
- package/dist/{index-Dm1nUxCF.d.mts → index-BJMezANn.d.mts} +0 -0
- package/dist/{index-Cv-o5Krs.d.mts → index-BRCrFirq.d.mts} +0 -0
- package/dist/{index-BVRQEpAg.d.mts → index-BRzHs7Bx.d.mts} +6 -6
- /package/dist/{index-vA--0lOM.d.mts → index-BVcQcphK.d.mts} +0 -0
- /package/dist/{index-ye0oklfU.d.mts → index-BcvqDfcN.d.mts} +0 -0
- /package/dist/{index-CGZQVTid.d.mts → index-BeENojSx2.d.mts} +0 -0
- /package/dist/{index-DjgLchuQ.d.mts → index-Beo_Ik8-.d.mts} +0 -0
- /package/dist/{index-sS6KUlrx.d.mts → index-BgGe9WZz.d.mts} +0 -0
- /package/dist/{index-CWHfOz6d.d.mts → index-CK3f0bAL.d.mts} +0 -0
- /package/dist/{index-DZunhZec.d.mts → index-CQuRTeRa.d.mts} +0 -0
- /package/dist/{index-jTaAHsul.d.mts → index-CRmE88hi.d.mts} +0 -0
- /package/dist/{index-CjdRdsd0.d.mts → index-CvW9_SzR.d.mts} +0 -0
- /package/dist/{index-ByKi34v5.d.mts → index-CxSSdIZz.d.mts} +0 -0
- /package/dist/{index-vcSj12YQ.d.mts → index-E4SET1AA.d.mts} +0 -0
- /package/dist/{index-DN4NOCqN2.d.mts → index-Ol9RBB0W2.d.mts} +0 -0
- /package/dist/{index-BIdsFcQs2.d.mts → index-aoxdnhJ42.d.mts} +0 -0
- /package/dist/{index-SsBHjUqA.d.mts → index-nydhGvXa.d.mts} +0 -0
- /package/dist/{jsonl-transport-bQl3JwIu.mjs → jsonl-transport-Bp_6pB2a.mjs} +0 -0
- /package/dist/{lib-DOBXZmYX.mjs → lib-Bwdd2m81.mjs} +0 -0
- /package/dist/{model-registry-CmgcPDH3.mjs → model-registry-Y854mUml.mjs} +0 -0
- /package/dist/{model-registry-xyBKSye-.mjs → model-registry-yURX738J.mjs} +0 -0
- /package/dist/{modes-BheyN7SS.mjs → modes-DmUsjHdV.mjs} +0 -0
- /package/dist/{namespace-HO2J9sO8.mjs → namespace-B9FEGuEu.mjs} +0 -0
- /package/dist/{namespace-jDhZjw-i.d.mts → namespace-Bi3CmYQy.d.mts} +0 -0
- /package/dist/{namespace-GPA7zots.d.mts → namespace-BusZERU8.d.mts} +0 -0
- /package/dist/{namespace-BOkKoq34.d.mts → namespace-ByP1Iipi.d.mts} +0 -0
- /package/dist/{namespace-YytVKIgI.d.mts → namespace-C1D77w7U.d.mts} +0 -0
- /package/dist/{namespace-CErHuXtb.d.mts → namespace-C6CVEGH8.d.mts} +0 -0
- /package/dist/{namespace-C-9si-fV.mjs → namespace-CfIW0hpQ.mjs} +0 -0
- /package/dist/{namespace-YxU1xf-K.mjs → namespace-CkBbNFSU.mjs} +0 -0
- /package/dist/{namespace-DWCEo-9M.d.mts → namespace-DX1Ec15L.d.mts} +0 -0
- /package/dist/{namespace-CWGKCNZm.mjs → namespace-DbNWsPFY.mjs} +0 -0
- /package/dist/{namespace-Cv1RFP7n.d.mts → namespace-Dgg0uoe6.d.mts} +0 -0
- /package/dist/{namespace-tGRAod3o.d.mts → namespace-s2y_NFKf.d.mts} +0 -0
- /package/dist/{namespace-Blp4c8GK.d.mts → namespace-yREpGJgG.d.mts} +0 -0
- /package/dist/{out-CvjtANXN.mjs → out-DrhwCgqM.mjs} +0 -0
- /package/dist/{packages-DtEEP0Vt.mjs → packages-FBv3fAOR.mjs} +0 -0
- /package/dist/{packages-BZ6pzFIq.d.mts → packages-N3-2Kl-Y.d.mts} +0 -0
- /package/dist/{platform-Bv8llU9c.mjs → platform-BrsMv_S3.mjs} +0 -0
- /package/dist/{provider-operation-Cxoe2SUr.d.mts → provider-operation-DJ_TLZFf.d.mts} +0 -0
- /package/dist/{providers-Co5UszRH.mjs → providers-CCcn4Ndp.mjs} +0 -0
- /package/dist/{providers-namespace-DjFkmvBR.d.mts → providers-namespace-DeJBh6MP.d.mts} +0 -0
- /package/dist/{quick-lru-CrOpWwrf.mjs → quick-lru-uwB0hP-y.mjs} +0 -0
- /package/dist/{schema-introspection-DgWQCpwx.mjs → schema-introspection-C1wvklj9.mjs} +0 -0
- /package/dist/{schema-Db-y-09L.mjs → schema-jIapW8Kb.mjs} +0 -0
- /package/dist/{schemas-CR8hSqTy.d.mts → schemas-B7zo7Zcx.d.mts} +0 -0
- /package/dist/{schemas-CqRm0i9a.mjs → schemas-BNdiVBWh.mjs} +0 -0
- /package/dist/{schemas-B1NWNASS.d.mts → schemas-C-Bm6Oac.d.mts} +0 -0
- /package/dist/{schemas-BO7uOum6.d.mts → schemas-CD0wOQxx.d.mts} +0 -0
- /package/dist/{schemas-N6x2z7Lf.d.mts → schemas-CeUI2i5j.d.mts} +0 -0
- /package/dist/{schemas-CwbYk_kZ.d.mts → schemas-Cg-Kwp8c.d.mts} +0 -0
- /package/dist/{schemas-BtZqovRH.d.mts → schemas-Cv3rR9Sz.d.mts} +0 -0
- /package/dist/{schemas-tDf_WiC8.mjs → schemas-CvHFbzdy.mjs} +0 -0
- /package/dist/{schemas-BsVYZviy.d.mts → schemas-DZH9lpxs.d.mts} +0 -0
- /package/dist/{schemas-BGExwp3j.mjs → schemas-DgwEVUt-.mjs} +0 -0
- /package/dist/{schemas-Bfxskx_2.mjs → schemas-mLpOfMoN.mjs} +0 -0
- /package/dist/{schemas-CQyRBqD6.d.mts → schemas-qA279_j_.d.mts} +0 -0
- /package/dist/{schemas-miYxK_Z1.d.mts → schemas-sMoRnBdZ.d.mts} +0 -0
- /package/dist/{semver-DlM8znk4.mjs → semver-DTXuyLcK.mjs} +0 -0
- /package/dist/{server-lifecycle-Dsq56aqC.d.mts → server-lifecycle-C_8iKgat.d.mts} +0 -0
- /package/dist/{server-lifecycle-kmQ5PUDv.mjs → server-lifecycle-DKx_fWlq.mjs} +0 -0
- /package/dist/{shared-schemas-DXwyMCwZ.mjs → shared-schemas-aahW97QW.mjs} +0 -0
- /package/dist/{src-CCu8TwL6.mjs → src-DHqsl5Pg.mjs} +0 -0
- /package/dist/{storage-namespace-BSrv0vXR.mjs → storage-namespace-Dz2jsssp.mjs} +0 -0
- /package/dist/{storage-namespace-dfywhXR3.d.mts → storage-namespace-Tf3P5yJ5.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-BvlX0QV_.d.mts → storage-namespace-definition-BsnYAPot.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-CkMKt7-I.mjs → storage-namespace-definition-CDef0E20.mjs} +0 -0
- /package/dist/{supports-color-DUugCQsK.mjs → supports-color-i7OTnKcZ.mjs} +0 -0
- /package/dist/{telemetry-Pr3oP2rk.mjs → telemetry-BvCBUjFg.mjs} +0 -0
- /package/dist/{timeout-DWDhddRJ.mjs → timeout-B0nYjLc8.mjs} +0 -0
- /package/dist/{tray-menu-service-BBLa-Rcv.mjs → tray-menu-service-Deo6yyP8.mjs} +0 -0
- /package/dist/{types-BrcjaNPZ.d.mts → types-CNS55jvt.d.mts} +0 -0
- /package/dist/{types-b54n1o57.d.mts → types-Ce6LL25v.d.mts} +0 -0
- /package/dist/{types-DHmPneIO.d.mts → types-xCdGghb2.d.mts} +0 -0
- /package/dist/{ui-config-CyCdlns_.mjs → ui-config-BIyGzMNL.mjs} +0 -0
- /package/dist/{variant-krjlTdJt.mjs → variant-B4uWdxW7.mjs} +0 -0
- /package/dist/{window-registry-BDnZLPVx.d.mts → window-registry-BLtVx3Iw.d.mts} +0 -0
- /package/dist/{window-registry-I-imZHV_.mjs → window-registry-CoBJq3u4.mjs} +0 -0
|
@@ -1,18 +1,27 @@
|
|
|
1
|
-
import { q as ArtifactRevision$1 } from "./context-resolution-
|
|
2
|
-
import {
|
|
1
|
+
import { q as ArtifactRevision$1 } from "./context-resolution-CW0ya4QO.mjs";
|
|
2
|
+
import { n as AutomationTriggerBinding$1, o as AutomationTriggerParams, u as DefinedAutomationTrigger } from "./definition-BYgHlmMw.mjs";
|
|
3
|
+
import { a as JsonValue$1, t as JsonObjectContractSchema } from "./json-value-C1RGgS0a.mjs";
|
|
3
4
|
import { z } from "zod";
|
|
4
5
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
5
|
-
import { ExtractSubjectPayload, SubjectDefinition, TypedPayloadFilter } from "@makaio/framework/core";
|
|
6
|
+
import { ExtractSubjectPayload, PayloadFilter, SubjectDefinition, TypedPayloadFilter } from "@makaio/framework/core";
|
|
6
7
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
7
8
|
|
|
8
9
|
//#region core/contracts/src/workflow/schemas.d.ts
|
|
9
10
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
11
|
+
* Persisted workflow trigger binding.
|
|
12
|
+
*
|
|
13
|
+
* A workflow references an automation trigger by canonical {@link AutomationTriggerBinding.kind}
|
|
14
|
+
* and supplies the trigger-type parameters in `params`. `filter` and
|
|
15
|
+
* `filterExpression` are **consumer-owned**: they narrow an already-validated
|
|
16
|
+
* event after the trigger source activated, so they never belong to the trigger
|
|
17
|
+
* type's own parameter schema.
|
|
18
|
+
*
|
|
19
|
+
* Unknown keys are stripped rather than rejected so the compile-time-only
|
|
20
|
+
* phantom payload carrier on authored triggers never reaches storage.
|
|
12
21
|
*/
|
|
13
|
-
declare const
|
|
14
|
-
|
|
15
|
-
|
|
22
|
+
declare const WorkflowAutomationTriggerBindingSchema$1: z.ZodObject<{
|
|
23
|
+
kind: z.ZodString;
|
|
24
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
16
25
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
17
26
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
18
27
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -26,53 +35,16 @@ declare const BusEventTriggerSchema: z.ZodObject<{
|
|
|
26
35
|
}, z.core.$strict>]>>>;
|
|
27
36
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
28
37
|
}, z.core.$strip>;
|
|
29
|
-
type BusEventTrigger = z.infer<typeof BusEventTriggerSchema>;
|
|
30
|
-
/**
|
|
31
|
-
* Extension-contributed workflow trigger variant.
|
|
32
|
-
* Uses `type: 'extension'` as the discriminant with the actual extension trigger type in `extensionType`.
|
|
33
|
-
*/
|
|
34
|
-
declare const ExtensionWorkflowTriggerSchema: z.ZodObject<{
|
|
35
|
-
type: z.ZodLiteral<"extension">;
|
|
36
|
-
extensionType: z.ZodString;
|
|
37
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
38
|
-
}, z.core.$strip>;
|
|
39
|
-
type ExtensionWorkflowTrigger$1 = z.infer<typeof ExtensionWorkflowTriggerSchema>;
|
|
40
38
|
/**
|
|
41
|
-
*
|
|
42
|
-
*
|
|
39
|
+
* Persisted workflow trigger binding — an automation trigger binding plus the
|
|
40
|
+
* consumer-owned event filters applied by the workflow engine.
|
|
43
41
|
*/
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
-
type: z.ZodLiteral<"webhook">;
|
|
52
|
-
event: z.ZodString;
|
|
53
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
54
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
type: z.ZodLiteral<"extension">;
|
|
57
|
-
extensionType: z.ZodString;
|
|
58
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
59
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
-
type: z.ZodLiteral<"bus-event">;
|
|
61
|
-
subject: z.ZodString;
|
|
62
|
-
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
63
|
-
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
64
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
65
|
-
$ne: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
66
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
67
|
-
$exists: z.ZodBoolean;
|
|
68
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
69
|
-
$startsWith: z.ZodString;
|
|
70
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
71
|
-
$endsWith: z.ZodString;
|
|
72
|
-
}, z.core.$strict>]>>>;
|
|
73
|
-
filterExpression: z.ZodOptional<z.ZodString>;
|
|
74
|
-
}, z.core.$strip>], "type">;
|
|
75
|
-
type WorkflowTrigger = z.infer<typeof WorkflowTriggerSchema>;
|
|
42
|
+
interface WorkflowAutomationTriggerBinding$1 extends AutomationTriggerBinding$1 {
|
|
43
|
+
/** Structural payload filter applied to the emitted trigger event. */
|
|
44
|
+
readonly filter?: PayloadFilter;
|
|
45
|
+
/** jexl expression evaluated after {@link filter} passes. */
|
|
46
|
+
readonly filterExpression?: string;
|
|
47
|
+
}
|
|
76
48
|
/**
|
|
77
49
|
* Generic scope descriptor for workflow definitions and executions.
|
|
78
50
|
*
|
|
@@ -766,24 +738,9 @@ declare const WorkflowDefinitionSchema$1: z.ZodObject<{
|
|
|
766
738
|
type: z.ZodLiteral<"sequence">;
|
|
767
739
|
nodes: z.ZodLazy<z.ZodType<WorkflowNode[], unknown, z.core.$ZodTypeInternals<WorkflowNode[], unknown>>>;
|
|
768
740
|
}, z.core.$strip>;
|
|
769
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
type: z.ZodLiteral<"cron">;
|
|
773
|
-
schedule: z.ZodString;
|
|
774
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
775
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
776
|
-
type: z.ZodLiteral<"webhook">;
|
|
777
|
-
event: z.ZodString;
|
|
778
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
779
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
780
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
781
|
-
type: z.ZodLiteral<"extension">;
|
|
782
|
-
extensionType: z.ZodString;
|
|
783
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
784
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
785
|
-
type: z.ZodLiteral<"bus-event">;
|
|
786
|
-
subject: z.ZodString;
|
|
741
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
742
|
+
kind: z.ZodString;
|
|
743
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
787
744
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
788
745
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
789
746
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -796,7 +753,7 @@ declare const WorkflowDefinitionSchema$1: z.ZodObject<{
|
|
|
796
753
|
$endsWith: z.ZodString;
|
|
797
754
|
}, z.core.$strict>]>>>;
|
|
798
755
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
799
|
-
}, z.core.$strip
|
|
756
|
+
}, z.core.$strip>>>;
|
|
800
757
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
801
758
|
type: z.ZodLiteral<"global">;
|
|
802
759
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -857,8 +814,8 @@ declare const ExecutionStatusSchema$1: z.ZodEnum<{
|
|
|
857
814
|
completed: "completed";
|
|
858
815
|
cancelled: "cancelled";
|
|
859
816
|
failed: "failed";
|
|
860
|
-
paused: "paused";
|
|
861
817
|
running: "running";
|
|
818
|
+
paused: "paused";
|
|
862
819
|
finalizing: "finalizing";
|
|
863
820
|
}>;
|
|
864
821
|
type ExecutionStatus = z.infer<typeof ExecutionStatusSchema$1>;
|
|
@@ -874,8 +831,8 @@ declare const WorkflowExecutionSchema$1: z.ZodObject<{
|
|
|
874
831
|
completed: "completed";
|
|
875
832
|
cancelled: "cancelled";
|
|
876
833
|
failed: "failed";
|
|
877
|
-
paused: "paused";
|
|
878
834
|
running: "running";
|
|
835
|
+
paused: "paused";
|
|
879
836
|
finalizing: "finalizing";
|
|
880
837
|
}>;
|
|
881
838
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -933,8 +890,8 @@ declare const WorkflowFrameStateSchema$1: z.ZodObject<{
|
|
|
933
890
|
cancelled: "cancelled";
|
|
934
891
|
failed: "failed";
|
|
935
892
|
running: "running";
|
|
936
|
-
waiting: "waiting";
|
|
937
893
|
skipped: "skipped";
|
|
894
|
+
waiting: "waiting";
|
|
938
895
|
}>;
|
|
939
896
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
940
897
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -949,8 +906,8 @@ type WorkflowFrameState$1 = z.infer<typeof WorkflowFrameStateSchema$1>;
|
|
|
949
906
|
declare const WorkflowGateStatusSchema: z.ZodEnum<{
|
|
950
907
|
cancelled: "cancelled";
|
|
951
908
|
rejected: "rejected";
|
|
952
|
-
waiting: "waiting";
|
|
953
909
|
resumed: "resumed";
|
|
910
|
+
waiting: "waiting";
|
|
954
911
|
"timed-out": "timed-out";
|
|
955
912
|
}>;
|
|
956
913
|
type WorkflowGateStatus = z.infer<typeof WorkflowGateStatusSchema>;
|
|
@@ -970,8 +927,8 @@ declare const WorkflowGateInstanceSchema$1: z.ZodObject<{
|
|
|
970
927
|
status: z.ZodEnum<{
|
|
971
928
|
cancelled: "cancelled";
|
|
972
929
|
rejected: "rejected";
|
|
973
|
-
waiting: "waiting";
|
|
974
930
|
resumed: "resumed";
|
|
931
|
+
waiting: "waiting";
|
|
975
932
|
"timed-out": "timed-out";
|
|
976
933
|
}>;
|
|
977
934
|
autoAction: z.ZodEnum<{
|
|
@@ -1007,8 +964,8 @@ declare const WorkflowResolvedRoleSchema: z.ZodObject<{
|
|
|
1007
964
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
1008
965
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
1009
966
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
1010
|
-
fork: "fork";
|
|
1011
967
|
fresh: "fresh";
|
|
968
|
+
fork: "fork";
|
|
1012
969
|
}>>;
|
|
1013
970
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1014
971
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -1118,8 +1075,8 @@ declare const WorkflowResolvedAgentSchema: z.ZodObject<{
|
|
|
1118
1075
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
1119
1076
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
1120
1077
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
1121
|
-
fork: "fork";
|
|
1122
1078
|
fresh: "fresh";
|
|
1079
|
+
fork: "fork";
|
|
1123
1080
|
}>>;
|
|
1124
1081
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1125
1082
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -1270,8 +1227,8 @@ declare const ExecutionListQuerySchema$1: z.ZodObject<{
|
|
|
1270
1227
|
completed: "completed";
|
|
1271
1228
|
cancelled: "cancelled";
|
|
1272
1229
|
failed: "failed";
|
|
1273
|
-
paused: "paused";
|
|
1274
1230
|
running: "running";
|
|
1231
|
+
paused: "paused";
|
|
1275
1232
|
finalizing: "finalizing";
|
|
1276
1233
|
}>>;
|
|
1277
1234
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -1321,8 +1278,8 @@ declare const GateInstanceListQuerySchema$1: z.ZodObject<{
|
|
|
1321
1278
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1322
1279
|
cancelled: "cancelled";
|
|
1323
1280
|
rejected: "rejected";
|
|
1324
|
-
waiting: "waiting";
|
|
1325
1281
|
resumed: "resumed";
|
|
1282
|
+
waiting: "waiting";
|
|
1326
1283
|
"timed-out": "timed-out";
|
|
1327
1284
|
}>>;
|
|
1328
1285
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1726,56 +1683,6 @@ declare function createWorkflowDelegateResultFinalizerNamespace$1(finalizerId: s
|
|
|
1726
1683
|
}>, string>;
|
|
1727
1684
|
};
|
|
1728
1685
|
//#endregion
|
|
1729
|
-
//#region core/contracts/src/workflow/trigger-type-registry.d.ts
|
|
1730
|
-
interface WorkflowTriggerTypeRecord {
|
|
1731
|
-
/** Globally unique trigger type string. */
|
|
1732
|
-
type: string;
|
|
1733
|
-
/** Display name for the editor palette. */
|
|
1734
|
-
displayName: string;
|
|
1735
|
-
/** Lucide icon name. */
|
|
1736
|
-
icon: string;
|
|
1737
|
-
/** Palette group label (e.g., 'GitHub', 'Core'). */
|
|
1738
|
-
category: string;
|
|
1739
|
-
/** Human-readable description. */
|
|
1740
|
-
description?: string;
|
|
1741
|
-
/** JSON Schema derived from configSchema. */
|
|
1742
|
-
configJsonSchema: Record<string, JsonValue$1>;
|
|
1743
|
-
/** JSON Schema derived from outputSchema. */
|
|
1744
|
-
outputJsonSchema: Record<string, JsonValue$1>;
|
|
1745
|
-
/** 'builtin' or plugin name. */
|
|
1746
|
-
source: string;
|
|
1747
|
-
}
|
|
1748
|
-
/**
|
|
1749
|
-
* Registry for workflow trigger types.
|
|
1750
|
-
* Aggregates built-in and plugin-contributed trigger types.
|
|
1751
|
-
* Consumed by the editor palette and expression autocomplete.
|
|
1752
|
-
*/
|
|
1753
|
-
interface IWorkflowTriggerTypeRegistry$1 {
|
|
1754
|
-
/**
|
|
1755
|
-
* Register a trigger type.
|
|
1756
|
-
* @param record - Trigger type record to register
|
|
1757
|
-
* @returns Cleanup function to unregister
|
|
1758
|
-
*/
|
|
1759
|
-
register(record: WorkflowTriggerTypeRecord): () => void;
|
|
1760
|
-
/**
|
|
1761
|
-
* Get all registered trigger types.
|
|
1762
|
-
* @returns Array of all registered trigger type records
|
|
1763
|
-
*/
|
|
1764
|
-
getAll(): WorkflowTriggerTypeRecord[];
|
|
1765
|
-
/**
|
|
1766
|
-
* Get a trigger type by its type string.
|
|
1767
|
-
* @param type - The trigger type string to look up
|
|
1768
|
-
* @returns The trigger type record if found, undefined otherwise
|
|
1769
|
-
*/
|
|
1770
|
-
get(type: string): WorkflowTriggerTypeRecord | undefined;
|
|
1771
|
-
/**
|
|
1772
|
-
* Subscribe to registry changes.
|
|
1773
|
-
* @param listener - Callback invoked on any registration/unregistration
|
|
1774
|
-
* @returns Cleanup function to unsubscribe
|
|
1775
|
-
*/
|
|
1776
|
-
subscribe(listener: () => void): () => void;
|
|
1777
|
-
}
|
|
1778
|
-
//#endregion
|
|
1779
1686
|
//#region core/contracts/src/workflow/step-runner.d.ts
|
|
1780
1687
|
/**
|
|
1781
1688
|
* Discriminant for all workflow node types that produce lifecycle events.
|
|
@@ -2184,16 +2091,16 @@ declare const ArtifactQuerySourceSchema: z.ZodObject<{
|
|
|
2184
2091
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
2185
2092
|
maxLevel: z.ZodOptional<z.ZodEnum<{
|
|
2186
2093
|
inferred: "inferred";
|
|
2094
|
+
confirmed: "confirmed";
|
|
2187
2095
|
assumed: "assumed";
|
|
2188
2096
|
stated: "stated";
|
|
2189
|
-
confirmed: "confirmed";
|
|
2190
2097
|
verified: "verified";
|
|
2191
2098
|
}>>;
|
|
2192
2099
|
minLevel: z.ZodOptional<z.ZodEnum<{
|
|
2193
2100
|
inferred: "inferred";
|
|
2101
|
+
confirmed: "confirmed";
|
|
2194
2102
|
assumed: "assumed";
|
|
2195
2103
|
stated: "stated";
|
|
2196
|
-
confirmed: "confirmed";
|
|
2197
2104
|
verified: "verified";
|
|
2198
2105
|
}>>;
|
|
2199
2106
|
}, z.core.$strip>>;
|
|
@@ -2259,16 +2166,16 @@ declare const ContextSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2259
2166
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
2260
2167
|
maxLevel: z.ZodOptional<z.ZodEnum<{
|
|
2261
2168
|
inferred: "inferred";
|
|
2169
|
+
confirmed: "confirmed";
|
|
2262
2170
|
assumed: "assumed";
|
|
2263
2171
|
stated: "stated";
|
|
2264
|
-
confirmed: "confirmed";
|
|
2265
2172
|
verified: "verified";
|
|
2266
2173
|
}>>;
|
|
2267
2174
|
minLevel: z.ZodOptional<z.ZodEnum<{
|
|
2268
2175
|
inferred: "inferred";
|
|
2176
|
+
confirmed: "confirmed";
|
|
2269
2177
|
assumed: "assumed";
|
|
2270
2178
|
stated: "stated";
|
|
2271
|
-
confirmed: "confirmed";
|
|
2272
2179
|
verified: "verified";
|
|
2273
2180
|
}>>;
|
|
2274
2181
|
}, z.core.$strip>>;
|
|
@@ -2429,24 +2336,9 @@ declare const WorkflowSchemas: {
|
|
|
2429
2336
|
type: z.ZodLiteral<"sequence">;
|
|
2430
2337
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
2431
2338
|
}, z.core.$strip>;
|
|
2432
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
type: z.ZodLiteral<"cron">;
|
|
2436
|
-
schedule: z.ZodString;
|
|
2437
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
2438
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2439
|
-
type: z.ZodLiteral<"webhook">;
|
|
2440
|
-
event: z.ZodString;
|
|
2441
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
2442
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
2443
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2444
|
-
type: z.ZodLiteral<"extension">;
|
|
2445
|
-
extensionType: z.ZodString;
|
|
2446
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2447
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2448
|
-
type: z.ZodLiteral<"bus-event">;
|
|
2449
|
-
subject: z.ZodString;
|
|
2339
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2340
|
+
kind: z.ZodString;
|
|
2341
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
2450
2342
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
2451
2343
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
2452
2344
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2459,7 +2351,7 @@ declare const WorkflowSchemas: {
|
|
|
2459
2351
|
$endsWith: z.ZodString;
|
|
2460
2352
|
}, z.core.$strict>]>>>;
|
|
2461
2353
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
2462
|
-
}, z.core.$strip
|
|
2354
|
+
}, z.core.$strip>>>;
|
|
2463
2355
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2464
2356
|
type: z.ZodLiteral<"global">;
|
|
2465
2357
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2548,24 +2440,9 @@ declare const WorkflowSchemas: {
|
|
|
2548
2440
|
type: z.ZodLiteral<"sequence">;
|
|
2549
2441
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
2550
2442
|
}, z.core.$strip>;
|
|
2551
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
type: z.ZodLiteral<"cron">;
|
|
2555
|
-
schedule: z.ZodString;
|
|
2556
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
2557
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2558
|
-
type: z.ZodLiteral<"webhook">;
|
|
2559
|
-
event: z.ZodString;
|
|
2560
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
2561
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
2562
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2563
|
-
type: z.ZodLiteral<"extension">;
|
|
2564
|
-
extensionType: z.ZodString;
|
|
2565
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2566
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2567
|
-
type: z.ZodLiteral<"bus-event">;
|
|
2568
|
-
subject: z.ZodString;
|
|
2443
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2444
|
+
kind: z.ZodString;
|
|
2445
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
2569
2446
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
2570
2447
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
2571
2448
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2578,7 +2455,7 @@ declare const WorkflowSchemas: {
|
|
|
2578
2455
|
$endsWith: z.ZodString;
|
|
2579
2456
|
}, z.core.$strict>]>>>;
|
|
2580
2457
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
2581
|
-
}, z.core.$strip
|
|
2458
|
+
}, z.core.$strip>>>;
|
|
2582
2459
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2583
2460
|
type: z.ZodLiteral<"global">;
|
|
2584
2461
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2693,24 +2570,9 @@ declare const WorkflowSchemas: {
|
|
|
2693
2570
|
type: z.ZodLiteral<"sequence">;
|
|
2694
2571
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
2695
2572
|
}, z.core.$strip>;
|
|
2696
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
type: z.ZodLiteral<"cron">;
|
|
2700
|
-
schedule: z.ZodString;
|
|
2701
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
2702
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2703
|
-
type: z.ZodLiteral<"webhook">;
|
|
2704
|
-
event: z.ZodString;
|
|
2705
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
2706
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
2707
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2708
|
-
type: z.ZodLiteral<"extension">;
|
|
2709
|
-
extensionType: z.ZodString;
|
|
2710
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2711
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2712
|
-
type: z.ZodLiteral<"bus-event">;
|
|
2713
|
-
subject: z.ZodString;
|
|
2573
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2574
|
+
kind: z.ZodString;
|
|
2575
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
2714
2576
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
2715
2577
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
2716
2578
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2723,7 +2585,7 @@ declare const WorkflowSchemas: {
|
|
|
2723
2585
|
$endsWith: z.ZodString;
|
|
2724
2586
|
}, z.core.$strict>]>>>;
|
|
2725
2587
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
2726
|
-
}, z.core.$strip
|
|
2588
|
+
}, z.core.$strip>>>;
|
|
2727
2589
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2728
2590
|
type: z.ZodLiteral<"global">;
|
|
2729
2591
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2810,24 +2672,9 @@ declare const WorkflowSchemas: {
|
|
|
2810
2672
|
type: z.ZodLiteral<"sequence">;
|
|
2811
2673
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
2812
2674
|
}, z.core.$strip>;
|
|
2813
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
type: z.ZodLiteral<"cron">;
|
|
2817
|
-
schedule: z.ZodString;
|
|
2818
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
2819
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2820
|
-
type: z.ZodLiteral<"webhook">;
|
|
2821
|
-
event: z.ZodString;
|
|
2822
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
2823
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
2824
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2825
|
-
type: z.ZodLiteral<"extension">;
|
|
2826
|
-
extensionType: z.ZodString;
|
|
2827
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2828
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2829
|
-
type: z.ZodLiteral<"bus-event">;
|
|
2830
|
-
subject: z.ZodString;
|
|
2675
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2676
|
+
kind: z.ZodString;
|
|
2677
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
2831
2678
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
2832
2679
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
2833
2680
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2840,7 +2687,7 @@ declare const WorkflowSchemas: {
|
|
|
2840
2687
|
$endsWith: z.ZodString;
|
|
2841
2688
|
}, z.core.$strict>]>>>;
|
|
2842
2689
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
2843
|
-
}, z.core.$strip
|
|
2690
|
+
}, z.core.$strip>>>;
|
|
2844
2691
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2845
2692
|
type: z.ZodLiteral<"global">;
|
|
2846
2693
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2925,24 +2772,9 @@ declare const WorkflowSchemas: {
|
|
|
2925
2772
|
type: z.ZodLiteral<"sequence">;
|
|
2926
2773
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
2927
2774
|
}, z.core.$strip>;
|
|
2928
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
type: z.ZodLiteral<"cron">;
|
|
2932
|
-
schedule: z.ZodString;
|
|
2933
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
2934
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2935
|
-
type: z.ZodLiteral<"webhook">;
|
|
2936
|
-
event: z.ZodString;
|
|
2937
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
2938
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
2939
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2940
|
-
type: z.ZodLiteral<"extension">;
|
|
2941
|
-
extensionType: z.ZodString;
|
|
2942
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
2943
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2944
|
-
type: z.ZodLiteral<"bus-event">;
|
|
2945
|
-
subject: z.ZodString;
|
|
2775
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2776
|
+
kind: z.ZodString;
|
|
2777
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
2946
2778
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
2947
2779
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
2948
2780
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2955,7 +2787,7 @@ declare const WorkflowSchemas: {
|
|
|
2955
2787
|
$endsWith: z.ZodString;
|
|
2956
2788
|
}, z.core.$strict>]>>>;
|
|
2957
2789
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
2958
|
-
}, z.core.$strip
|
|
2790
|
+
}, z.core.$strip>>>;
|
|
2959
2791
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2960
2792
|
type: z.ZodLiteral<"global">;
|
|
2961
2793
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3119,24 +2951,9 @@ declare const WorkflowSchemas: {
|
|
|
3119
2951
|
type: z.ZodLiteral<"sequence">;
|
|
3120
2952
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
3121
2953
|
}, z.core.$strip>;
|
|
3122
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
type: z.ZodLiteral<"cron">;
|
|
3126
|
-
schedule: z.ZodString;
|
|
3127
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
3128
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3129
|
-
type: z.ZodLiteral<"webhook">;
|
|
3130
|
-
event: z.ZodString;
|
|
3131
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
3132
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
3133
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3134
|
-
type: z.ZodLiteral<"extension">;
|
|
3135
|
-
extensionType: z.ZodString;
|
|
3136
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
3137
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3138
|
-
type: z.ZodLiteral<"bus-event">;
|
|
3139
|
-
subject: z.ZodString;
|
|
2954
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2955
|
+
kind: z.ZodString;
|
|
2956
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
3140
2957
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
3141
2958
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
3142
2959
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3149,7 +2966,7 @@ declare const WorkflowSchemas: {
|
|
|
3149
2966
|
$endsWith: z.ZodString;
|
|
3150
2967
|
}, z.core.$strict>]>>>;
|
|
3151
2968
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
3152
|
-
}, z.core.$strip
|
|
2969
|
+
}, z.core.$strip>>>;
|
|
3153
2970
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3154
2971
|
type: z.ZodLiteral<"global">;
|
|
3155
2972
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3245,9 +3062,9 @@ declare const WorkflowSchemas: {
|
|
|
3245
3062
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
3246
3063
|
level: z.ZodEnum<{
|
|
3247
3064
|
inferred: "inferred";
|
|
3065
|
+
confirmed: "confirmed";
|
|
3248
3066
|
assumed: "assumed";
|
|
3249
3067
|
stated: "stated";
|
|
3250
|
-
confirmed: "confirmed";
|
|
3251
3068
|
verified: "verified";
|
|
3252
3069
|
}>;
|
|
3253
3070
|
basis: z.ZodArray<z.ZodObject<{
|
|
@@ -3356,7 +3173,7 @@ declare const WorkflowSchemas: {
|
|
|
3356
3173
|
};
|
|
3357
3174
|
timestamp: number;
|
|
3358
3175
|
confidence?: {
|
|
3359
|
-
level: "inferred" | "
|
|
3176
|
+
level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
|
|
3360
3177
|
basis: {
|
|
3361
3178
|
kind: string;
|
|
3362
3179
|
actor: {
|
|
@@ -3431,7 +3248,7 @@ declare const WorkflowSchemas: {
|
|
|
3431
3248
|
};
|
|
3432
3249
|
timestamp: number;
|
|
3433
3250
|
confidence?: {
|
|
3434
|
-
level: "inferred" | "
|
|
3251
|
+
level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
|
|
3435
3252
|
basis: {
|
|
3436
3253
|
kind: string;
|
|
3437
3254
|
actor: {
|
|
@@ -3512,7 +3329,7 @@ declare const WorkflowSchemas: {
|
|
|
3512
3329
|
};
|
|
3513
3330
|
timestamp: number;
|
|
3514
3331
|
confidence?: {
|
|
3515
|
-
level: "inferred" | "
|
|
3332
|
+
level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
|
|
3516
3333
|
basis: {
|
|
3517
3334
|
kind: string;
|
|
3518
3335
|
actor: {
|
|
@@ -3587,7 +3404,7 @@ declare const WorkflowSchemas: {
|
|
|
3587
3404
|
};
|
|
3588
3405
|
timestamp: number;
|
|
3589
3406
|
confidence?: {
|
|
3590
|
-
level: "inferred" | "
|
|
3407
|
+
level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
|
|
3591
3408
|
basis: {
|
|
3592
3409
|
kind: string;
|
|
3593
3410
|
actor: {
|
|
@@ -3632,8 +3449,8 @@ declare const WorkflowSchemas: {
|
|
|
3632
3449
|
completed: "completed";
|
|
3633
3450
|
cancelled: "cancelled";
|
|
3634
3451
|
failed: "failed";
|
|
3635
|
-
paused: "paused";
|
|
3636
3452
|
running: "running";
|
|
3453
|
+
paused: "paused";
|
|
3637
3454
|
finalizing: "finalizing";
|
|
3638
3455
|
}>;
|
|
3639
3456
|
}, z.core.$strip>;
|
|
@@ -3711,8 +3528,8 @@ declare const WorkflowSchemas: {
|
|
|
3711
3528
|
completed: "completed";
|
|
3712
3529
|
cancelled: "cancelled";
|
|
3713
3530
|
failed: "failed";
|
|
3714
|
-
paused: "paused";
|
|
3715
3531
|
running: "running";
|
|
3532
|
+
paused: "paused";
|
|
3716
3533
|
finalizing: "finalizing";
|
|
3717
3534
|
}>;
|
|
3718
3535
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -3769,8 +3586,8 @@ declare const WorkflowSchemas: {
|
|
|
3769
3586
|
completed: "completed";
|
|
3770
3587
|
cancelled: "cancelled";
|
|
3771
3588
|
failed: "failed";
|
|
3772
|
-
paused: "paused";
|
|
3773
3589
|
running: "running";
|
|
3590
|
+
paused: "paused";
|
|
3774
3591
|
finalizing: "finalizing";
|
|
3775
3592
|
}>>;
|
|
3776
3593
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -3793,8 +3610,8 @@ declare const WorkflowSchemas: {
|
|
|
3793
3610
|
completed: "completed";
|
|
3794
3611
|
cancelled: "cancelled";
|
|
3795
3612
|
failed: "failed";
|
|
3796
|
-
paused: "paused";
|
|
3797
3613
|
running: "running";
|
|
3614
|
+
paused: "paused";
|
|
3798
3615
|
finalizing: "finalizing";
|
|
3799
3616
|
}>;
|
|
3800
3617
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -3850,8 +3667,8 @@ declare const WorkflowSchemas: {
|
|
|
3850
3667
|
completed: "completed";
|
|
3851
3668
|
cancelled: "cancelled";
|
|
3852
3669
|
failed: "failed";
|
|
3853
|
-
paused: "paused";
|
|
3854
3670
|
running: "running";
|
|
3671
|
+
paused: "paused";
|
|
3855
3672
|
finalizing: "finalizing";
|
|
3856
3673
|
}>;
|
|
3857
3674
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -3935,8 +3752,8 @@ declare const WorkflowSchemas: {
|
|
|
3935
3752
|
status: z.ZodOptional<z.ZodEnum<{
|
|
3936
3753
|
cancelled: "cancelled";
|
|
3937
3754
|
rejected: "rejected";
|
|
3938
|
-
waiting: "waiting";
|
|
3939
3755
|
resumed: "resumed";
|
|
3756
|
+
waiting: "waiting";
|
|
3940
3757
|
"timed-out": "timed-out";
|
|
3941
3758
|
}>>;
|
|
3942
3759
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -3951,8 +3768,8 @@ declare const WorkflowSchemas: {
|
|
|
3951
3768
|
status: z.ZodEnum<{
|
|
3952
3769
|
cancelled: "cancelled";
|
|
3953
3770
|
rejected: "rejected";
|
|
3954
|
-
waiting: "waiting";
|
|
3955
3771
|
resumed: "resumed";
|
|
3772
|
+
waiting: "waiting";
|
|
3956
3773
|
"timed-out": "timed-out";
|
|
3957
3774
|
}>;
|
|
3958
3775
|
autoAction: z.ZodEnum<{
|
|
@@ -4049,8 +3866,8 @@ declare const WorkflowSchemas: {
|
|
|
4049
3866
|
cancelled: "cancelled";
|
|
4050
3867
|
failed: "failed";
|
|
4051
3868
|
running: "running";
|
|
4052
|
-
waiting: "waiting";
|
|
4053
3869
|
skipped: "skipped";
|
|
3870
|
+
waiting: "waiting";
|
|
4054
3871
|
}>;
|
|
4055
3872
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
4056
3873
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4062,21 +3879,6 @@ declare const WorkflowSchemas: {
|
|
|
4062
3879
|
}, z.core.$strip>>;
|
|
4063
3880
|
}, z.core.$strip>;
|
|
4064
3881
|
};
|
|
4065
|
-
listTriggerTypes: {
|
|
4066
|
-
request: z.ZodObject<{}, z.core.$strip>;
|
|
4067
|
-
response: z.ZodObject<{
|
|
4068
|
-
triggerTypes: z.ZodArray<z.ZodObject<{
|
|
4069
|
-
type: z.ZodString;
|
|
4070
|
-
displayName: z.ZodString;
|
|
4071
|
-
icon: z.ZodString;
|
|
4072
|
-
category: z.ZodString;
|
|
4073
|
-
description: z.ZodOptional<z.ZodString>;
|
|
4074
|
-
configJsonSchema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
4075
|
-
outputJsonSchema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
4076
|
-
source: z.ZodString;
|
|
4077
|
-
}, z.core.$strip>>;
|
|
4078
|
-
}, z.core.$strip>;
|
|
4079
|
-
};
|
|
4080
3882
|
/**
|
|
4081
3883
|
* Run a workflow from a TypeScript or JavaScript source file.
|
|
4082
3884
|
*
|
|
@@ -4102,6 +3904,10 @@ declare const WorkflowSchemas: {
|
|
|
4102
3904
|
sourcePath: z.ZodString;
|
|
4103
3905
|
}, z.core.$strict>], "kind">>;
|
|
4104
3906
|
triggerPayload: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
3907
|
+
triggerMode: z.ZodDefault<z.ZodEnum<{
|
|
3908
|
+
immediate: "immediate";
|
|
3909
|
+
"await-trigger": "await-trigger";
|
|
3910
|
+
}>>;
|
|
4105
3911
|
scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4106
3912
|
type: z.ZodLiteral<"global">;
|
|
4107
3913
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4247,8 +4053,8 @@ declare const WorkflowSchemas: {
|
|
|
4247
4053
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
4248
4054
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
4249
4055
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
4250
|
-
fork: "fork";
|
|
4251
4056
|
fresh: "fresh";
|
|
4057
|
+
fork: "fork";
|
|
4252
4058
|
}>>;
|
|
4253
4059
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4254
4060
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -4358,8 +4164,8 @@ declare const WorkflowSchemas: {
|
|
|
4358
4164
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
4359
4165
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
4360
4166
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
4361
|
-
fork: "fork";
|
|
4362
4167
|
fresh: "fresh";
|
|
4168
|
+
fork: "fork";
|
|
4363
4169
|
}>>;
|
|
4364
4170
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4365
4171
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -4516,24 +4322,9 @@ declare const WorkflowSchemas: {
|
|
|
4516
4322
|
type: z.ZodLiteral<"sequence">;
|
|
4517
4323
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
4518
4324
|
}, z.core.$strip>;
|
|
4519
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
type: z.ZodLiteral<"cron">;
|
|
4523
|
-
schedule: z.ZodString;
|
|
4524
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
4525
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4526
|
-
type: z.ZodLiteral<"webhook">;
|
|
4527
|
-
event: z.ZodString;
|
|
4528
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
4529
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
4530
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4531
|
-
type: z.ZodLiteral<"extension">;
|
|
4532
|
-
extensionType: z.ZodString;
|
|
4533
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
4534
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4535
|
-
type: z.ZodLiteral<"bus-event">;
|
|
4536
|
-
subject: z.ZodString;
|
|
4325
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4326
|
+
kind: z.ZodString;
|
|
4327
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
4537
4328
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
4538
4329
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
4539
4330
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4546,7 +4337,7 @@ declare const WorkflowSchemas: {
|
|
|
4546
4337
|
$endsWith: z.ZodString;
|
|
4547
4338
|
}, z.core.$strict>]>>>;
|
|
4548
4339
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
4549
|
-
}, z.core.$strip
|
|
4340
|
+
}, z.core.$strip>>>;
|
|
4550
4341
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4551
4342
|
type: z.ZodLiteral<"global">;
|
|
4552
4343
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4617,6 +4408,10 @@ declare const WorkflowSchemas: {
|
|
|
4617
4408
|
id: z.ZodString;
|
|
4618
4409
|
}, z.core.$strict>], "type">>;
|
|
4619
4410
|
triggerPayload: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
4411
|
+
triggerMode: z.ZodOptional<z.ZodEnum<{
|
|
4412
|
+
immediate: "immediate";
|
|
4413
|
+
"await-trigger": "await-trigger";
|
|
4414
|
+
}>>;
|
|
4620
4415
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
4621
4416
|
kind: z.ZodString;
|
|
4622
4417
|
id: z.ZodString;
|
|
@@ -4632,8 +4427,8 @@ declare const WorkflowSchemas: {
|
|
|
4632
4427
|
"exit-and-resume": "exit-and-resume";
|
|
4633
4428
|
}>>;
|
|
4634
4429
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
4635
|
-
worker: "worker";
|
|
4636
4430
|
authority: "authority";
|
|
4431
|
+
worker: "worker";
|
|
4637
4432
|
}>>;
|
|
4638
4433
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4639
4434
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -5001,8 +4796,8 @@ declare const WorkflowSchemas: {
|
|
|
5001
4796
|
completed: "completed";
|
|
5002
4797
|
cancelled: "cancelled";
|
|
5003
4798
|
failed: "failed";
|
|
5004
|
-
paused: "paused";
|
|
5005
4799
|
running: "running";
|
|
4800
|
+
paused: "paused";
|
|
5006
4801
|
finalizing: "finalizing";
|
|
5007
4802
|
}>;
|
|
5008
4803
|
startedAt: z.ZodNumber;
|
|
@@ -5049,8 +4844,8 @@ declare const WorkflowSchemas: {
|
|
|
5049
4844
|
cancelled: "cancelled";
|
|
5050
4845
|
failed: "failed";
|
|
5051
4846
|
running: "running";
|
|
5052
|
-
waiting: "waiting";
|
|
5053
4847
|
skipped: "skipped";
|
|
4848
|
+
waiting: "waiting";
|
|
5054
4849
|
}>;
|
|
5055
4850
|
attempt: z.ZodNumber;
|
|
5056
4851
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5079,8 +4874,8 @@ declare const WorkflowSchemas: {
|
|
|
5079
4874
|
completed: "completed";
|
|
5080
4875
|
cancelled: "cancelled";
|
|
5081
4876
|
failed: "failed";
|
|
5082
|
-
paused: "paused";
|
|
5083
4877
|
running: "running";
|
|
4878
|
+
paused: "paused";
|
|
5084
4879
|
finalizing: "finalizing";
|
|
5085
4880
|
}>>;
|
|
5086
4881
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5096,8 +4891,8 @@ declare const WorkflowSchemas: {
|
|
|
5096
4891
|
completed: "completed";
|
|
5097
4892
|
cancelled: "cancelled";
|
|
5098
4893
|
failed: "failed";
|
|
5099
|
-
paused: "paused";
|
|
5100
4894
|
running: "running";
|
|
4895
|
+
paused: "paused";
|
|
5101
4896
|
finalizing: "finalizing";
|
|
5102
4897
|
}>;
|
|
5103
4898
|
startedAt: z.ZodNumber;
|
|
@@ -5249,24 +5044,9 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5249
5044
|
type: z.ZodLiteral<"sequence">;
|
|
5250
5045
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
5251
5046
|
}, z.core.$strip>;
|
|
5252
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
type: z.ZodLiteral<"cron">;
|
|
5256
|
-
schedule: z.ZodString;
|
|
5257
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
5258
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5259
|
-
type: z.ZodLiteral<"webhook">;
|
|
5260
|
-
event: z.ZodString;
|
|
5261
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
5262
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
5263
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5264
|
-
type: z.ZodLiteral<"extension">;
|
|
5265
|
-
extensionType: z.ZodString;
|
|
5266
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5267
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5268
|
-
type: z.ZodLiteral<"bus-event">;
|
|
5269
|
-
subject: z.ZodString;
|
|
5047
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5048
|
+
kind: z.ZodString;
|
|
5049
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
5270
5050
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
5271
5051
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
5272
5052
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5279,7 +5059,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5279
5059
|
$endsWith: z.ZodString;
|
|
5280
5060
|
}, z.core.$strict>]>>>;
|
|
5281
5061
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
5282
|
-
}, z.core.$strip
|
|
5062
|
+
}, z.core.$strip>>>;
|
|
5283
5063
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5284
5064
|
type: z.ZodLiteral<"global">;
|
|
5285
5065
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5368,24 +5148,9 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5368
5148
|
type: z.ZodLiteral<"sequence">;
|
|
5369
5149
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
5370
5150
|
}, z.core.$strip>;
|
|
5371
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
type: z.ZodLiteral<"cron">;
|
|
5375
|
-
schedule: z.ZodString;
|
|
5376
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
5377
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5378
|
-
type: z.ZodLiteral<"webhook">;
|
|
5379
|
-
event: z.ZodString;
|
|
5380
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
5381
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
5382
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5383
|
-
type: z.ZodLiteral<"extension">;
|
|
5384
|
-
extensionType: z.ZodString;
|
|
5385
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5386
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5387
|
-
type: z.ZodLiteral<"bus-event">;
|
|
5388
|
-
subject: z.ZodString;
|
|
5151
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5152
|
+
kind: z.ZodString;
|
|
5153
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
5389
5154
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
5390
5155
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
5391
5156
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5398,7 +5163,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5398
5163
|
$endsWith: z.ZodString;
|
|
5399
5164
|
}, z.core.$strict>]>>>;
|
|
5400
5165
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
5401
|
-
}, z.core.$strip
|
|
5166
|
+
}, z.core.$strip>>>;
|
|
5402
5167
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5403
5168
|
type: z.ZodLiteral<"global">;
|
|
5404
5169
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5513,24 +5278,9 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5513
5278
|
type: z.ZodLiteral<"sequence">;
|
|
5514
5279
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
5515
5280
|
}, z.core.$strip>;
|
|
5516
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
type: z.ZodLiteral<"cron">;
|
|
5520
|
-
schedule: z.ZodString;
|
|
5521
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
5522
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5523
|
-
type: z.ZodLiteral<"webhook">;
|
|
5524
|
-
event: z.ZodString;
|
|
5525
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
5526
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
5527
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5528
|
-
type: z.ZodLiteral<"extension">;
|
|
5529
|
-
extensionType: z.ZodString;
|
|
5530
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5531
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5532
|
-
type: z.ZodLiteral<"bus-event">;
|
|
5533
|
-
subject: z.ZodString;
|
|
5281
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5282
|
+
kind: z.ZodString;
|
|
5283
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
5534
5284
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
5535
5285
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
5536
5286
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5543,7 +5293,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5543
5293
|
$endsWith: z.ZodString;
|
|
5544
5294
|
}, z.core.$strict>]>>>;
|
|
5545
5295
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
5546
|
-
}, z.core.$strip
|
|
5296
|
+
}, z.core.$strip>>>;
|
|
5547
5297
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5548
5298
|
type: z.ZodLiteral<"global">;
|
|
5549
5299
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5630,24 +5380,9 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5630
5380
|
type: z.ZodLiteral<"sequence">;
|
|
5631
5381
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
5632
5382
|
}, z.core.$strip>;
|
|
5633
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
type: z.ZodLiteral<"cron">;
|
|
5637
|
-
schedule: z.ZodString;
|
|
5638
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
5639
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5640
|
-
type: z.ZodLiteral<"webhook">;
|
|
5641
|
-
event: z.ZodString;
|
|
5642
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
5643
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
5644
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5645
|
-
type: z.ZodLiteral<"extension">;
|
|
5646
|
-
extensionType: z.ZodString;
|
|
5647
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5648
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5649
|
-
type: z.ZodLiteral<"bus-event">;
|
|
5650
|
-
subject: z.ZodString;
|
|
5383
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5384
|
+
kind: z.ZodString;
|
|
5385
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
5651
5386
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
5652
5387
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
5653
5388
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5660,7 +5395,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5660
5395
|
$endsWith: z.ZodString;
|
|
5661
5396
|
}, z.core.$strict>]>>>;
|
|
5662
5397
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
5663
|
-
}, z.core.$strip
|
|
5398
|
+
}, z.core.$strip>>>;
|
|
5664
5399
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5665
5400
|
type: z.ZodLiteral<"global">;
|
|
5666
5401
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5745,24 +5480,9 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5745
5480
|
type: z.ZodLiteral<"sequence">;
|
|
5746
5481
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
5747
5482
|
}, z.core.$strip>;
|
|
5748
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
type: z.ZodLiteral<"cron">;
|
|
5752
|
-
schedule: z.ZodString;
|
|
5753
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
5754
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5755
|
-
type: z.ZodLiteral<"webhook">;
|
|
5756
|
-
event: z.ZodString;
|
|
5757
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
5758
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
5759
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5760
|
-
type: z.ZodLiteral<"extension">;
|
|
5761
|
-
extensionType: z.ZodString;
|
|
5762
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5763
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5764
|
-
type: z.ZodLiteral<"bus-event">;
|
|
5765
|
-
subject: z.ZodString;
|
|
5483
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5484
|
+
kind: z.ZodString;
|
|
5485
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
5766
5486
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
5767
5487
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
5768
5488
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5775,7 +5495,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5775
5495
|
$endsWith: z.ZodString;
|
|
5776
5496
|
}, z.core.$strict>]>>>;
|
|
5777
5497
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
5778
|
-
}, z.core.$strip
|
|
5498
|
+
}, z.core.$strip>>>;
|
|
5779
5499
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5780
5500
|
type: z.ZodLiteral<"global">;
|
|
5781
5501
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5939,24 +5659,9 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5939
5659
|
type: z.ZodLiteral<"sequence">;
|
|
5940
5660
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
5941
5661
|
}, z.core.$strip>;
|
|
5942
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
type: z.ZodLiteral<"cron">;
|
|
5946
|
-
schedule: z.ZodString;
|
|
5947
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
5948
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5949
|
-
type: z.ZodLiteral<"webhook">;
|
|
5950
|
-
event: z.ZodString;
|
|
5951
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
5952
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
5953
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5954
|
-
type: z.ZodLiteral<"extension">;
|
|
5955
|
-
extensionType: z.ZodString;
|
|
5956
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5957
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5958
|
-
type: z.ZodLiteral<"bus-event">;
|
|
5959
|
-
subject: z.ZodString;
|
|
5662
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5663
|
+
kind: z.ZodString;
|
|
5664
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
5960
5665
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
5961
5666
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
5962
5667
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5969,7 +5674,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
5969
5674
|
$endsWith: z.ZodString;
|
|
5970
5675
|
}, z.core.$strict>]>>>;
|
|
5971
5676
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
5972
|
-
}, z.core.$strip
|
|
5677
|
+
}, z.core.$strip>>>;
|
|
5973
5678
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5974
5679
|
type: z.ZodLiteral<"global">;
|
|
5975
5680
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -6065,9 +5770,9 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6065
5770
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
6066
5771
|
level: z.ZodEnum<{
|
|
6067
5772
|
inferred: "inferred";
|
|
5773
|
+
confirmed: "confirmed";
|
|
6068
5774
|
assumed: "assumed";
|
|
6069
5775
|
stated: "stated";
|
|
6070
|
-
confirmed: "confirmed";
|
|
6071
5776
|
verified: "verified";
|
|
6072
5777
|
}>;
|
|
6073
5778
|
basis: z.ZodArray<z.ZodObject<{
|
|
@@ -6176,7 +5881,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6176
5881
|
};
|
|
6177
5882
|
timestamp: number;
|
|
6178
5883
|
confidence?: {
|
|
6179
|
-
level: "inferred" | "
|
|
5884
|
+
level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
|
|
6180
5885
|
basis: {
|
|
6181
5886
|
kind: string;
|
|
6182
5887
|
actor: {
|
|
@@ -6251,7 +5956,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6251
5956
|
};
|
|
6252
5957
|
timestamp: number;
|
|
6253
5958
|
confidence?: {
|
|
6254
|
-
level: "inferred" | "
|
|
5959
|
+
level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
|
|
6255
5960
|
basis: {
|
|
6256
5961
|
kind: string;
|
|
6257
5962
|
actor: {
|
|
@@ -6332,7 +6037,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6332
6037
|
};
|
|
6333
6038
|
timestamp: number;
|
|
6334
6039
|
confidence?: {
|
|
6335
|
-
level: "inferred" | "
|
|
6040
|
+
level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
|
|
6336
6041
|
basis: {
|
|
6337
6042
|
kind: string;
|
|
6338
6043
|
actor: {
|
|
@@ -6407,7 +6112,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6407
6112
|
};
|
|
6408
6113
|
timestamp: number;
|
|
6409
6114
|
confidence?: {
|
|
6410
|
-
level: "inferred" | "
|
|
6115
|
+
level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
|
|
6411
6116
|
basis: {
|
|
6412
6117
|
kind: string;
|
|
6413
6118
|
actor: {
|
|
@@ -6452,8 +6157,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6452
6157
|
completed: "completed";
|
|
6453
6158
|
cancelled: "cancelled";
|
|
6454
6159
|
failed: "failed";
|
|
6455
|
-
paused: "paused";
|
|
6456
6160
|
running: "running";
|
|
6161
|
+
paused: "paused";
|
|
6457
6162
|
finalizing: "finalizing";
|
|
6458
6163
|
}>;
|
|
6459
6164
|
}, z.core.$strip>;
|
|
@@ -6531,8 +6236,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6531
6236
|
completed: "completed";
|
|
6532
6237
|
cancelled: "cancelled";
|
|
6533
6238
|
failed: "failed";
|
|
6534
|
-
paused: "paused";
|
|
6535
6239
|
running: "running";
|
|
6240
|
+
paused: "paused";
|
|
6536
6241
|
finalizing: "finalizing";
|
|
6537
6242
|
}>;
|
|
6538
6243
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -6589,8 +6294,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6589
6294
|
completed: "completed";
|
|
6590
6295
|
cancelled: "cancelled";
|
|
6591
6296
|
failed: "failed";
|
|
6592
|
-
paused: "paused";
|
|
6593
6297
|
running: "running";
|
|
6298
|
+
paused: "paused";
|
|
6594
6299
|
finalizing: "finalizing";
|
|
6595
6300
|
}>>;
|
|
6596
6301
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -6613,8 +6318,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6613
6318
|
completed: "completed";
|
|
6614
6319
|
cancelled: "cancelled";
|
|
6615
6320
|
failed: "failed";
|
|
6616
|
-
paused: "paused";
|
|
6617
6321
|
running: "running";
|
|
6322
|
+
paused: "paused";
|
|
6618
6323
|
finalizing: "finalizing";
|
|
6619
6324
|
}>;
|
|
6620
6325
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -6670,8 +6375,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6670
6375
|
completed: "completed";
|
|
6671
6376
|
cancelled: "cancelled";
|
|
6672
6377
|
failed: "failed";
|
|
6673
|
-
paused: "paused";
|
|
6674
6378
|
running: "running";
|
|
6379
|
+
paused: "paused";
|
|
6675
6380
|
finalizing: "finalizing";
|
|
6676
6381
|
}>;
|
|
6677
6382
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -6755,8 +6460,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6755
6460
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6756
6461
|
cancelled: "cancelled";
|
|
6757
6462
|
rejected: "rejected";
|
|
6758
|
-
waiting: "waiting";
|
|
6759
6463
|
resumed: "resumed";
|
|
6464
|
+
waiting: "waiting";
|
|
6760
6465
|
"timed-out": "timed-out";
|
|
6761
6466
|
}>>;
|
|
6762
6467
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -6771,8 +6476,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6771
6476
|
status: z.ZodEnum<{
|
|
6772
6477
|
cancelled: "cancelled";
|
|
6773
6478
|
rejected: "rejected";
|
|
6774
|
-
waiting: "waiting";
|
|
6775
6479
|
resumed: "resumed";
|
|
6480
|
+
waiting: "waiting";
|
|
6776
6481
|
"timed-out": "timed-out";
|
|
6777
6482
|
}>;
|
|
6778
6483
|
autoAction: z.ZodEnum<{
|
|
@@ -6869,8 +6574,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6869
6574
|
cancelled: "cancelled";
|
|
6870
6575
|
failed: "failed";
|
|
6871
6576
|
running: "running";
|
|
6872
|
-
waiting: "waiting";
|
|
6873
6577
|
skipped: "skipped";
|
|
6578
|
+
waiting: "waiting";
|
|
6874
6579
|
}>;
|
|
6875
6580
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
6876
6581
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6882,21 +6587,6 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6882
6587
|
}, z.core.$strip>>;
|
|
6883
6588
|
}, z.core.$strip>;
|
|
6884
6589
|
};
|
|
6885
|
-
listTriggerTypes: {
|
|
6886
|
-
request: z.ZodObject<{}, z.core.$strip>;
|
|
6887
|
-
response: z.ZodObject<{
|
|
6888
|
-
triggerTypes: z.ZodArray<z.ZodObject<{
|
|
6889
|
-
type: z.ZodString;
|
|
6890
|
-
displayName: z.ZodString;
|
|
6891
|
-
icon: z.ZodString;
|
|
6892
|
-
category: z.ZodString;
|
|
6893
|
-
description: z.ZodOptional<z.ZodString>;
|
|
6894
|
-
configJsonSchema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
6895
|
-
outputJsonSchema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
6896
|
-
source: z.ZodString;
|
|
6897
|
-
}, z.core.$strip>>;
|
|
6898
|
-
}, z.core.$strip>;
|
|
6899
|
-
};
|
|
6900
6590
|
/**
|
|
6901
6591
|
* Run a workflow from a TypeScript or JavaScript source file.
|
|
6902
6592
|
*
|
|
@@ -6922,6 +6612,10 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6922
6612
|
sourcePath: z.ZodString;
|
|
6923
6613
|
}, z.core.$strict>], "kind">>;
|
|
6924
6614
|
triggerPayload: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
6615
|
+
triggerMode: z.ZodDefault<z.ZodEnum<{
|
|
6616
|
+
immediate: "immediate";
|
|
6617
|
+
"await-trigger": "await-trigger";
|
|
6618
|
+
}>>;
|
|
6925
6619
|
scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6926
6620
|
type: z.ZodLiteral<"global">;
|
|
6927
6621
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -7067,8 +6761,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7067
6761
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
7068
6762
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
7069
6763
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
7070
|
-
fork: "fork";
|
|
7071
6764
|
fresh: "fresh";
|
|
6765
|
+
fork: "fork";
|
|
7072
6766
|
}>>;
|
|
7073
6767
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7074
6768
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -7178,8 +6872,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7178
6872
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
7179
6873
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
7180
6874
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
7181
|
-
fork: "fork";
|
|
7182
6875
|
fresh: "fresh";
|
|
6876
|
+
fork: "fork";
|
|
7183
6877
|
}>>;
|
|
7184
6878
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7185
6879
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -7336,24 +7030,9 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7336
7030
|
type: z.ZodLiteral<"sequence">;
|
|
7337
7031
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
7338
7032
|
}, z.core.$strip>;
|
|
7339
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
type: z.ZodLiteral<"cron">;
|
|
7343
|
-
schedule: z.ZodString;
|
|
7344
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
7345
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
7346
|
-
type: z.ZodLiteral<"webhook">;
|
|
7347
|
-
event: z.ZodString;
|
|
7348
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
7349
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
7350
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
7351
|
-
type: z.ZodLiteral<"extension">;
|
|
7352
|
-
extensionType: z.ZodString;
|
|
7353
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
7354
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
7355
|
-
type: z.ZodLiteral<"bus-event">;
|
|
7356
|
-
subject: z.ZodString;
|
|
7033
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7034
|
+
kind: z.ZodString;
|
|
7035
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
7357
7036
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
7358
7037
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
7359
7038
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -7366,7 +7045,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7366
7045
|
$endsWith: z.ZodString;
|
|
7367
7046
|
}, z.core.$strict>]>>>;
|
|
7368
7047
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
7369
|
-
}, z.core.$strip
|
|
7048
|
+
}, z.core.$strip>>>;
|
|
7370
7049
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7371
7050
|
type: z.ZodLiteral<"global">;
|
|
7372
7051
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -7437,6 +7116,10 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7437
7116
|
id: z.ZodString;
|
|
7438
7117
|
}, z.core.$strict>], "type">>;
|
|
7439
7118
|
triggerPayload: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
7119
|
+
triggerMode: z.ZodOptional<z.ZodEnum<{
|
|
7120
|
+
immediate: "immediate";
|
|
7121
|
+
"await-trigger": "await-trigger";
|
|
7122
|
+
}>>;
|
|
7440
7123
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
7441
7124
|
kind: z.ZodString;
|
|
7442
7125
|
id: z.ZodString;
|
|
@@ -7452,8 +7135,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7452
7135
|
"exit-and-resume": "exit-and-resume";
|
|
7453
7136
|
}>>;
|
|
7454
7137
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
7455
|
-
worker: "worker";
|
|
7456
7138
|
authority: "authority";
|
|
7139
|
+
worker: "worker";
|
|
7457
7140
|
}>>;
|
|
7458
7141
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7459
7142
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -7821,8 +7504,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7821
7504
|
completed: "completed";
|
|
7822
7505
|
cancelled: "cancelled";
|
|
7823
7506
|
failed: "failed";
|
|
7824
|
-
paused: "paused";
|
|
7825
7507
|
running: "running";
|
|
7508
|
+
paused: "paused";
|
|
7826
7509
|
finalizing: "finalizing";
|
|
7827
7510
|
}>;
|
|
7828
7511
|
startedAt: z.ZodNumber;
|
|
@@ -7869,8 +7552,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7869
7552
|
cancelled: "cancelled";
|
|
7870
7553
|
failed: "failed";
|
|
7871
7554
|
running: "running";
|
|
7872
|
-
waiting: "waiting";
|
|
7873
7555
|
skipped: "skipped";
|
|
7556
|
+
waiting: "waiting";
|
|
7874
7557
|
}>;
|
|
7875
7558
|
attempt: z.ZodNumber;
|
|
7876
7559
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7899,8 +7582,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7899
7582
|
completed: "completed";
|
|
7900
7583
|
cancelled: "cancelled";
|
|
7901
7584
|
failed: "failed";
|
|
7902
|
-
paused: "paused";
|
|
7903
7585
|
running: "running";
|
|
7586
|
+
paused: "paused";
|
|
7904
7587
|
finalizing: "finalizing";
|
|
7905
7588
|
}>>;
|
|
7906
7589
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7916,8 +7599,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7916
7599
|
completed: "completed";
|
|
7917
7600
|
cancelled: "cancelled";
|
|
7918
7601
|
failed: "failed";
|
|
7919
|
-
paused: "paused";
|
|
7920
7602
|
running: "running";
|
|
7603
|
+
paused: "paused";
|
|
7921
7604
|
finalizing: "finalizing";
|
|
7922
7605
|
}>;
|
|
7923
7606
|
startedAt: z.ZodNumber;
|
|
@@ -8069,24 +7752,9 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8069
7752
|
type: z.ZodLiteral<"sequence">;
|
|
8070
7753
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
8071
7754
|
}, z.core.$strip>;
|
|
8072
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
type: z.ZodLiteral<"cron">;
|
|
8076
|
-
schedule: z.ZodString;
|
|
8077
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
8078
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8079
|
-
type: z.ZodLiteral<"webhook">;
|
|
8080
|
-
event: z.ZodString;
|
|
8081
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
8082
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
8083
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8084
|
-
type: z.ZodLiteral<"extension">;
|
|
8085
|
-
extensionType: z.ZodString;
|
|
8086
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8087
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8088
|
-
type: z.ZodLiteral<"bus-event">;
|
|
8089
|
-
subject: z.ZodString;
|
|
7755
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7756
|
+
kind: z.ZodString;
|
|
7757
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
8090
7758
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
8091
7759
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
8092
7760
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8099,7 +7767,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8099
7767
|
$endsWith: z.ZodString;
|
|
8100
7768
|
}, z.core.$strict>]>>>;
|
|
8101
7769
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
8102
|
-
}, z.core.$strip
|
|
7770
|
+
}, z.core.$strip>>>;
|
|
8103
7771
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8104
7772
|
type: z.ZodLiteral<"global">;
|
|
8105
7773
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8188,24 +7856,9 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8188
7856
|
type: z.ZodLiteral<"sequence">;
|
|
8189
7857
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
8190
7858
|
}, z.core.$strip>;
|
|
8191
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
8192
|
-
|
|
8193
|
-
|
|
8194
|
-
type: z.ZodLiteral<"cron">;
|
|
8195
|
-
schedule: z.ZodString;
|
|
8196
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
8197
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8198
|
-
type: z.ZodLiteral<"webhook">;
|
|
8199
|
-
event: z.ZodString;
|
|
8200
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
8201
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
8202
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8203
|
-
type: z.ZodLiteral<"extension">;
|
|
8204
|
-
extensionType: z.ZodString;
|
|
8205
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8206
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8207
|
-
type: z.ZodLiteral<"bus-event">;
|
|
8208
|
-
subject: z.ZodString;
|
|
7859
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7860
|
+
kind: z.ZodString;
|
|
7861
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
8209
7862
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
8210
7863
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
8211
7864
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8218,7 +7871,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8218
7871
|
$endsWith: z.ZodString;
|
|
8219
7872
|
}, z.core.$strict>]>>>;
|
|
8220
7873
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
8221
|
-
}, z.core.$strip
|
|
7874
|
+
}, z.core.$strip>>>;
|
|
8222
7875
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8223
7876
|
type: z.ZodLiteral<"global">;
|
|
8224
7877
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8333,24 +7986,9 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8333
7986
|
type: z.ZodLiteral<"sequence">;
|
|
8334
7987
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
8335
7988
|
}, z.core.$strip>;
|
|
8336
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
type: z.ZodLiteral<"cron">;
|
|
8340
|
-
schedule: z.ZodString;
|
|
8341
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
8342
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8343
|
-
type: z.ZodLiteral<"webhook">;
|
|
8344
|
-
event: z.ZodString;
|
|
8345
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
8346
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
8347
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8348
|
-
type: z.ZodLiteral<"extension">;
|
|
8349
|
-
extensionType: z.ZodString;
|
|
8350
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8351
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8352
|
-
type: z.ZodLiteral<"bus-event">;
|
|
8353
|
-
subject: z.ZodString;
|
|
7989
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7990
|
+
kind: z.ZodString;
|
|
7991
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
8354
7992
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
8355
7993
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
8356
7994
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8363,7 +8001,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8363
8001
|
$endsWith: z.ZodString;
|
|
8364
8002
|
}, z.core.$strict>]>>>;
|
|
8365
8003
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
8366
|
-
}, z.core.$strip
|
|
8004
|
+
}, z.core.$strip>>>;
|
|
8367
8005
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8368
8006
|
type: z.ZodLiteral<"global">;
|
|
8369
8007
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8450,24 +8088,9 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8450
8088
|
type: z.ZodLiteral<"sequence">;
|
|
8451
8089
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
8452
8090
|
}, z.core.$strip>;
|
|
8453
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
8454
|
-
|
|
8455
|
-
|
|
8456
|
-
type: z.ZodLiteral<"cron">;
|
|
8457
|
-
schedule: z.ZodString;
|
|
8458
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
8459
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8460
|
-
type: z.ZodLiteral<"webhook">;
|
|
8461
|
-
event: z.ZodString;
|
|
8462
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
8463
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
8464
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8465
|
-
type: z.ZodLiteral<"extension">;
|
|
8466
|
-
extensionType: z.ZodString;
|
|
8467
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8468
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8469
|
-
type: z.ZodLiteral<"bus-event">;
|
|
8470
|
-
subject: z.ZodString;
|
|
8091
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8092
|
+
kind: z.ZodString;
|
|
8093
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
8471
8094
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
8472
8095
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
8473
8096
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8480,7 +8103,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8480
8103
|
$endsWith: z.ZodString;
|
|
8481
8104
|
}, z.core.$strict>]>>>;
|
|
8482
8105
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
8483
|
-
}, z.core.$strip
|
|
8106
|
+
}, z.core.$strip>>>;
|
|
8484
8107
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8485
8108
|
type: z.ZodLiteral<"global">;
|
|
8486
8109
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8565,24 +8188,9 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8565
8188
|
type: z.ZodLiteral<"sequence">;
|
|
8566
8189
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
8567
8190
|
}, z.core.$strip>;
|
|
8568
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
8569
|
-
|
|
8570
|
-
|
|
8571
|
-
type: z.ZodLiteral<"cron">;
|
|
8572
|
-
schedule: z.ZodString;
|
|
8573
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
8574
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8575
|
-
type: z.ZodLiteral<"webhook">;
|
|
8576
|
-
event: z.ZodString;
|
|
8577
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
8578
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
8579
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8580
|
-
type: z.ZodLiteral<"extension">;
|
|
8581
|
-
extensionType: z.ZodString;
|
|
8582
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8583
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8584
|
-
type: z.ZodLiteral<"bus-event">;
|
|
8585
|
-
subject: z.ZodString;
|
|
8191
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8192
|
+
kind: z.ZodString;
|
|
8193
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
8586
8194
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
8587
8195
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
8588
8196
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8595,7 +8203,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8595
8203
|
$endsWith: z.ZodString;
|
|
8596
8204
|
}, z.core.$strict>]>>>;
|
|
8597
8205
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
8598
|
-
}, z.core.$strip
|
|
8206
|
+
}, z.core.$strip>>>;
|
|
8599
8207
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8600
8208
|
type: z.ZodLiteral<"global">;
|
|
8601
8209
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8759,24 +8367,9 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8759
8367
|
type: z.ZodLiteral<"sequence">;
|
|
8760
8368
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
8761
8369
|
}, z.core.$strip>;
|
|
8762
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
8763
|
-
|
|
8764
|
-
|
|
8765
|
-
type: z.ZodLiteral<"cron">;
|
|
8766
|
-
schedule: z.ZodString;
|
|
8767
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
8768
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8769
|
-
type: z.ZodLiteral<"webhook">;
|
|
8770
|
-
event: z.ZodString;
|
|
8771
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
8772
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
8773
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8774
|
-
type: z.ZodLiteral<"extension">;
|
|
8775
|
-
extensionType: z.ZodString;
|
|
8776
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8777
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8778
|
-
type: z.ZodLiteral<"bus-event">;
|
|
8779
|
-
subject: z.ZodString;
|
|
8370
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8371
|
+
kind: z.ZodString;
|
|
8372
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
8780
8373
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
8781
8374
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
8782
8375
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8789,7 +8382,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8789
8382
|
$endsWith: z.ZodString;
|
|
8790
8383
|
}, z.core.$strict>]>>>;
|
|
8791
8384
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
8792
|
-
}, z.core.$strip
|
|
8385
|
+
}, z.core.$strip>>>;
|
|
8793
8386
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8794
8387
|
type: z.ZodLiteral<"global">;
|
|
8795
8388
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8885,9 +8478,9 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8885
8478
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
8886
8479
|
level: z.ZodEnum<{
|
|
8887
8480
|
inferred: "inferred";
|
|
8481
|
+
confirmed: "confirmed";
|
|
8888
8482
|
assumed: "assumed";
|
|
8889
8483
|
stated: "stated";
|
|
8890
|
-
confirmed: "confirmed";
|
|
8891
8484
|
verified: "verified";
|
|
8892
8485
|
}>;
|
|
8893
8486
|
basis: z.ZodArray<z.ZodObject<{
|
|
@@ -8996,7 +8589,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8996
8589
|
};
|
|
8997
8590
|
timestamp: number;
|
|
8998
8591
|
confidence?: {
|
|
8999
|
-
level: "inferred" | "
|
|
8592
|
+
level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
|
|
9000
8593
|
basis: {
|
|
9001
8594
|
kind: string;
|
|
9002
8595
|
actor: {
|
|
@@ -9071,7 +8664,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9071
8664
|
};
|
|
9072
8665
|
timestamp: number;
|
|
9073
8666
|
confidence?: {
|
|
9074
|
-
level: "inferred" | "
|
|
8667
|
+
level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
|
|
9075
8668
|
basis: {
|
|
9076
8669
|
kind: string;
|
|
9077
8670
|
actor: {
|
|
@@ -9152,7 +8745,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9152
8745
|
};
|
|
9153
8746
|
timestamp: number;
|
|
9154
8747
|
confidence?: {
|
|
9155
|
-
level: "inferred" | "
|
|
8748
|
+
level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
|
|
9156
8749
|
basis: {
|
|
9157
8750
|
kind: string;
|
|
9158
8751
|
actor: {
|
|
@@ -9227,7 +8820,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9227
8820
|
};
|
|
9228
8821
|
timestamp: number;
|
|
9229
8822
|
confidence?: {
|
|
9230
|
-
level: "inferred" | "
|
|
8823
|
+
level: "inferred" | "confirmed" | "assumed" | "stated" | "verified";
|
|
9231
8824
|
basis: {
|
|
9232
8825
|
kind: string;
|
|
9233
8826
|
actor: {
|
|
@@ -9272,8 +8865,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9272
8865
|
completed: "completed";
|
|
9273
8866
|
cancelled: "cancelled";
|
|
9274
8867
|
failed: "failed";
|
|
9275
|
-
paused: "paused";
|
|
9276
8868
|
running: "running";
|
|
8869
|
+
paused: "paused";
|
|
9277
8870
|
finalizing: "finalizing";
|
|
9278
8871
|
}>;
|
|
9279
8872
|
}, z.core.$strip>;
|
|
@@ -9351,8 +8944,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9351
8944
|
completed: "completed";
|
|
9352
8945
|
cancelled: "cancelled";
|
|
9353
8946
|
failed: "failed";
|
|
9354
|
-
paused: "paused";
|
|
9355
8947
|
running: "running";
|
|
8948
|
+
paused: "paused";
|
|
9356
8949
|
finalizing: "finalizing";
|
|
9357
8950
|
}>;
|
|
9358
8951
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -9409,8 +9002,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9409
9002
|
completed: "completed";
|
|
9410
9003
|
cancelled: "cancelled";
|
|
9411
9004
|
failed: "failed";
|
|
9412
|
-
paused: "paused";
|
|
9413
9005
|
running: "running";
|
|
9006
|
+
paused: "paused";
|
|
9414
9007
|
finalizing: "finalizing";
|
|
9415
9008
|
}>>;
|
|
9416
9009
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -9433,8 +9026,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9433
9026
|
completed: "completed";
|
|
9434
9027
|
cancelled: "cancelled";
|
|
9435
9028
|
failed: "failed";
|
|
9436
|
-
paused: "paused";
|
|
9437
9029
|
running: "running";
|
|
9030
|
+
paused: "paused";
|
|
9438
9031
|
finalizing: "finalizing";
|
|
9439
9032
|
}>;
|
|
9440
9033
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -9490,8 +9083,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9490
9083
|
completed: "completed";
|
|
9491
9084
|
cancelled: "cancelled";
|
|
9492
9085
|
failed: "failed";
|
|
9493
|
-
paused: "paused";
|
|
9494
9086
|
running: "running";
|
|
9087
|
+
paused: "paused";
|
|
9495
9088
|
finalizing: "finalizing";
|
|
9496
9089
|
}>;
|
|
9497
9090
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -9575,8 +9168,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9575
9168
|
status: z.ZodOptional<z.ZodEnum<{
|
|
9576
9169
|
cancelled: "cancelled";
|
|
9577
9170
|
rejected: "rejected";
|
|
9578
|
-
waiting: "waiting";
|
|
9579
9171
|
resumed: "resumed";
|
|
9172
|
+
waiting: "waiting";
|
|
9580
9173
|
"timed-out": "timed-out";
|
|
9581
9174
|
}>>;
|
|
9582
9175
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -9591,8 +9184,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9591
9184
|
status: z.ZodEnum<{
|
|
9592
9185
|
cancelled: "cancelled";
|
|
9593
9186
|
rejected: "rejected";
|
|
9594
|
-
waiting: "waiting";
|
|
9595
9187
|
resumed: "resumed";
|
|
9188
|
+
waiting: "waiting";
|
|
9596
9189
|
"timed-out": "timed-out";
|
|
9597
9190
|
}>;
|
|
9598
9191
|
autoAction: z.ZodEnum<{
|
|
@@ -9689,8 +9282,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9689
9282
|
cancelled: "cancelled";
|
|
9690
9283
|
failed: "failed";
|
|
9691
9284
|
running: "running";
|
|
9692
|
-
waiting: "waiting";
|
|
9693
9285
|
skipped: "skipped";
|
|
9286
|
+
waiting: "waiting";
|
|
9694
9287
|
}>;
|
|
9695
9288
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
9696
9289
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9702,21 +9295,6 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9702
9295
|
}, z.core.$strip>>;
|
|
9703
9296
|
}, z.core.$strip>;
|
|
9704
9297
|
};
|
|
9705
|
-
listTriggerTypes: {
|
|
9706
|
-
request: z.ZodObject<{}, z.core.$strip>;
|
|
9707
|
-
response: z.ZodObject<{
|
|
9708
|
-
triggerTypes: z.ZodArray<z.ZodObject<{
|
|
9709
|
-
type: z.ZodString;
|
|
9710
|
-
displayName: z.ZodString;
|
|
9711
|
-
icon: z.ZodString;
|
|
9712
|
-
category: z.ZodString;
|
|
9713
|
-
description: z.ZodOptional<z.ZodString>;
|
|
9714
|
-
configJsonSchema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
9715
|
-
outputJsonSchema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
9716
|
-
source: z.ZodString;
|
|
9717
|
-
}, z.core.$strip>>;
|
|
9718
|
-
}, z.core.$strip>;
|
|
9719
|
-
};
|
|
9720
9298
|
/**
|
|
9721
9299
|
* Run a workflow from a TypeScript or JavaScript source file.
|
|
9722
9300
|
*
|
|
@@ -9742,6 +9320,10 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9742
9320
|
sourcePath: z.ZodString;
|
|
9743
9321
|
}, z.core.$strict>], "kind">>;
|
|
9744
9322
|
triggerPayload: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
9323
|
+
triggerMode: z.ZodDefault<z.ZodEnum<{
|
|
9324
|
+
immediate: "immediate";
|
|
9325
|
+
"await-trigger": "await-trigger";
|
|
9326
|
+
}>>;
|
|
9745
9327
|
scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9746
9328
|
type: z.ZodLiteral<"global">;
|
|
9747
9329
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -9887,8 +9469,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9887
9469
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
9888
9470
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
9889
9471
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
9890
|
-
fork: "fork";
|
|
9891
9472
|
fresh: "fresh";
|
|
9473
|
+
fork: "fork";
|
|
9892
9474
|
}>>;
|
|
9893
9475
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9894
9476
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -9998,8 +9580,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9998
9580
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
9999
9581
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
10000
9582
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
10001
|
-
fork: "fork";
|
|
10002
9583
|
fresh: "fresh";
|
|
9584
|
+
fork: "fork";
|
|
10003
9585
|
}>>;
|
|
10004
9586
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10005
9587
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -10156,24 +9738,9 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10156
9738
|
type: z.ZodLiteral<"sequence">;
|
|
10157
9739
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
10158
9740
|
}, z.core.$strip>;
|
|
10159
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
10160
|
-
|
|
10161
|
-
|
|
10162
|
-
type: z.ZodLiteral<"cron">;
|
|
10163
|
-
schedule: z.ZodString;
|
|
10164
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
10165
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
10166
|
-
type: z.ZodLiteral<"webhook">;
|
|
10167
|
-
event: z.ZodString;
|
|
10168
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
10169
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
10170
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
10171
|
-
type: z.ZodLiteral<"extension">;
|
|
10172
|
-
extensionType: z.ZodString;
|
|
10173
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
10174
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
10175
|
-
type: z.ZodLiteral<"bus-event">;
|
|
10176
|
-
subject: z.ZodString;
|
|
9741
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9742
|
+
kind: z.ZodString;
|
|
9743
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
10177
9744
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
10178
9745
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
10179
9746
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -10186,7 +9753,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10186
9753
|
$endsWith: z.ZodString;
|
|
10187
9754
|
}, z.core.$strict>]>>>;
|
|
10188
9755
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
10189
|
-
}, z.core.$strip
|
|
9756
|
+
}, z.core.$strip>>>;
|
|
10190
9757
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10191
9758
|
type: z.ZodLiteral<"global">;
|
|
10192
9759
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -10257,6 +9824,10 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10257
9824
|
id: z.ZodString;
|
|
10258
9825
|
}, z.core.$strict>], "type">>;
|
|
10259
9826
|
triggerPayload: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
9827
|
+
triggerMode: z.ZodOptional<z.ZodEnum<{
|
|
9828
|
+
immediate: "immediate";
|
|
9829
|
+
"await-trigger": "await-trigger";
|
|
9830
|
+
}>>;
|
|
10260
9831
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
10261
9832
|
kind: z.ZodString;
|
|
10262
9833
|
id: z.ZodString;
|
|
@@ -10272,8 +9843,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10272
9843
|
"exit-and-resume": "exit-and-resume";
|
|
10273
9844
|
}>>;
|
|
10274
9845
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
10275
|
-
worker: "worker";
|
|
10276
9846
|
authority: "authority";
|
|
9847
|
+
worker: "worker";
|
|
10277
9848
|
}>>;
|
|
10278
9849
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10279
9850
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -10641,8 +10212,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10641
10212
|
completed: "completed";
|
|
10642
10213
|
cancelled: "cancelled";
|
|
10643
10214
|
failed: "failed";
|
|
10644
|
-
paused: "paused";
|
|
10645
10215
|
running: "running";
|
|
10216
|
+
paused: "paused";
|
|
10646
10217
|
finalizing: "finalizing";
|
|
10647
10218
|
}>;
|
|
10648
10219
|
startedAt: z.ZodNumber;
|
|
@@ -10689,8 +10260,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10689
10260
|
cancelled: "cancelled";
|
|
10690
10261
|
failed: "failed";
|
|
10691
10262
|
running: "running";
|
|
10692
|
-
waiting: "waiting";
|
|
10693
10263
|
skipped: "skipped";
|
|
10264
|
+
waiting: "waiting";
|
|
10694
10265
|
}>;
|
|
10695
10266
|
attempt: z.ZodNumber;
|
|
10696
10267
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -10719,8 +10290,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10719
10290
|
completed: "completed";
|
|
10720
10291
|
cancelled: "cancelled";
|
|
10721
10292
|
failed: "failed";
|
|
10722
|
-
paused: "paused";
|
|
10723
10293
|
running: "running";
|
|
10294
|
+
paused: "paused";
|
|
10724
10295
|
finalizing: "finalizing";
|
|
10725
10296
|
}>>;
|
|
10726
10297
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -10736,8 +10307,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10736
10307
|
completed: "completed";
|
|
10737
10308
|
cancelled: "cancelled";
|
|
10738
10309
|
failed: "failed";
|
|
10739
|
-
paused: "paused";
|
|
10740
10310
|
running: "running";
|
|
10311
|
+
paused: "paused";
|
|
10741
10312
|
finalizing: "finalizing";
|
|
10742
10313
|
}>;
|
|
10743
10314
|
startedAt: z.ZodNumber;
|
|
@@ -10950,24 +10521,9 @@ declare const WorkflowRunContextSchema$1: z.ZodObject<{
|
|
|
10950
10521
|
type: z.ZodLiteral<"sequence">;
|
|
10951
10522
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
10952
10523
|
}, z.core.$strip>;
|
|
10953
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
10954
|
-
|
|
10955
|
-
|
|
10956
|
-
type: z.ZodLiteral<"cron">;
|
|
10957
|
-
schedule: z.ZodString;
|
|
10958
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
10959
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
10960
|
-
type: z.ZodLiteral<"webhook">;
|
|
10961
|
-
event: z.ZodString;
|
|
10962
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
10963
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
10964
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
10965
|
-
type: z.ZodLiteral<"extension">;
|
|
10966
|
-
extensionType: z.ZodString;
|
|
10967
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
10968
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
10969
|
-
type: z.ZodLiteral<"bus-event">;
|
|
10970
|
-
subject: z.ZodString;
|
|
10524
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10525
|
+
kind: z.ZodString;
|
|
10526
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
10971
10527
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
10972
10528
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
10973
10529
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -10980,7 +10536,7 @@ declare const WorkflowRunContextSchema$1: z.ZodObject<{
|
|
|
10980
10536
|
$endsWith: z.ZodString;
|
|
10981
10537
|
}, z.core.$strict>]>>>;
|
|
10982
10538
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
10983
|
-
}, z.core.$strip
|
|
10539
|
+
}, z.core.$strip>>>;
|
|
10984
10540
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10985
10541
|
type: z.ZodLiteral<"global">;
|
|
10986
10542
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -11051,6 +10607,10 @@ declare const WorkflowRunContextSchema$1: z.ZodObject<{
|
|
|
11051
10607
|
id: z.ZodString;
|
|
11052
10608
|
}, z.core.$strict>], "type">>;
|
|
11053
10609
|
triggerPayload: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
10610
|
+
triggerMode: z.ZodOptional<z.ZodEnum<{
|
|
10611
|
+
immediate: "immediate";
|
|
10612
|
+
"await-trigger": "await-trigger";
|
|
10613
|
+
}>>;
|
|
11054
10614
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
11055
10615
|
kind: z.ZodString;
|
|
11056
10616
|
id: z.ZodString;
|
|
@@ -11066,8 +10626,8 @@ declare const WorkflowRunContextSchema$1: z.ZodObject<{
|
|
|
11066
10626
|
"exit-and-resume": "exit-and-resume";
|
|
11067
10627
|
}>>;
|
|
11068
10628
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
11069
|
-
worker: "worker";
|
|
11070
10629
|
authority: "authority";
|
|
10630
|
+
worker: "worker";
|
|
11071
10631
|
}>>;
|
|
11072
10632
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11073
10633
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -11247,6 +10807,16 @@ declare const WorkflowWorkerSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
11247
10807
|
workflowId: z.ZodString;
|
|
11248
10808
|
}, z.core.$strict>], "kind">;
|
|
11249
10809
|
type WorkflowWorkerSource$1 = z.infer<typeof WorkflowWorkerSourceSchema>;
|
|
10810
|
+
/**
|
|
10811
|
+
* Determines whether a workflow worker executes immediately or first waits for
|
|
10812
|
+
* one of the workflow's declared automation triggers.
|
|
10813
|
+
*/
|
|
10814
|
+
declare const WorkflowTriggerModeSchema: z.ZodEnum<{
|
|
10815
|
+
immediate: "immediate";
|
|
10816
|
+
"await-trigger": "await-trigger";
|
|
10817
|
+
}>;
|
|
10818
|
+
/** Explicit workflow trigger execution mode. */
|
|
10819
|
+
type WorkflowTriggerMode = z.infer<typeof WorkflowTriggerModeSchema>;
|
|
11250
10820
|
/**
|
|
11251
10821
|
* Full configuration passed to a workflow worker process at startup.
|
|
11252
10822
|
*
|
|
@@ -11303,24 +10873,9 @@ declare const WorkflowWorkerConfigSchema$1: z.ZodObject<{
|
|
|
11303
10873
|
type: z.ZodLiteral<"sequence">;
|
|
11304
10874
|
nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
|
|
11305
10875
|
}, z.core.$strip>;
|
|
11306
|
-
triggers: z.ZodOptional<z.ZodArray<z.
|
|
11307
|
-
|
|
11308
|
-
|
|
11309
|
-
type: z.ZodLiteral<"cron">;
|
|
11310
|
-
schedule: z.ZodString;
|
|
11311
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
11312
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11313
|
-
type: z.ZodLiteral<"webhook">;
|
|
11314
|
-
event: z.ZodString;
|
|
11315
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
11316
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
11317
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11318
|
-
type: z.ZodLiteral<"extension">;
|
|
11319
|
-
extensionType: z.ZodString;
|
|
11320
|
-
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
11321
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11322
|
-
type: z.ZodLiteral<"bus-event">;
|
|
11323
|
-
subject: z.ZodString;
|
|
10876
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10877
|
+
kind: z.ZodString;
|
|
10878
|
+
params: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
11324
10879
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
|
|
11325
10880
|
$in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
11326
10881
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -11333,7 +10888,7 @@ declare const WorkflowWorkerConfigSchema$1: z.ZodObject<{
|
|
|
11333
10888
|
$endsWith: z.ZodString;
|
|
11334
10889
|
}, z.core.$strict>]>>>;
|
|
11335
10890
|
filterExpression: z.ZodOptional<z.ZodString>;
|
|
11336
|
-
}, z.core.$strip
|
|
10891
|
+
}, z.core.$strip>>>;
|
|
11337
10892
|
scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11338
10893
|
type: z.ZodLiteral<"global">;
|
|
11339
10894
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -11383,6 +10938,10 @@ declare const WorkflowWorkerConfigSchema$1: z.ZodObject<{
|
|
|
11383
10938
|
executionId: z.ZodString;
|
|
11384
10939
|
workflowId: z.ZodString;
|
|
11385
10940
|
triggerPayload: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
10941
|
+
triggerMode: z.ZodOptional<z.ZodEnum<{
|
|
10942
|
+
immediate: "immediate";
|
|
10943
|
+
"await-trigger": "await-trigger";
|
|
10944
|
+
}>>;
|
|
11386
10945
|
inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
11387
10946
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
11388
10947
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -11418,8 +10977,8 @@ declare const WorkflowWorkerConfigSchema$1: z.ZodObject<{
|
|
|
11418
10977
|
"exit-and-resume": "exit-and-resume";
|
|
11419
10978
|
}>>;
|
|
11420
10979
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
11421
|
-
worker: "worker";
|
|
11422
10980
|
authority: "authority";
|
|
10981
|
+
worker: "worker";
|
|
11423
10982
|
}>>;
|
|
11424
10983
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11425
10984
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -11625,9 +11184,9 @@ declare const WorkflowRunResultSchema$1: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
11625
11184
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
11626
11185
|
level: z.ZodEnum<{
|
|
11627
11186
|
inferred: "inferred";
|
|
11187
|
+
confirmed: "confirmed";
|
|
11628
11188
|
assumed: "assumed";
|
|
11629
11189
|
stated: "stated";
|
|
11630
|
-
confirmed: "confirmed";
|
|
11631
11190
|
verified: "verified";
|
|
11632
11191
|
}>;
|
|
11633
11192
|
basis: z.ZodArray<z.ZodObject<{
|
|
@@ -11917,8 +11476,8 @@ declare const WorkLogExecutionSummarySchema: z.ZodObject<{
|
|
|
11917
11476
|
completed: "completed";
|
|
11918
11477
|
cancelled: "cancelled";
|
|
11919
11478
|
failed: "failed";
|
|
11920
|
-
paused: "paused";
|
|
11921
11479
|
running: "running";
|
|
11480
|
+
paused: "paused";
|
|
11922
11481
|
finalizing: "finalizing";
|
|
11923
11482
|
}>;
|
|
11924
11483
|
startedAt: z.ZodNumber;
|
|
@@ -11961,8 +11520,8 @@ declare const WorkLogFrameEntrySchema$1: z.ZodObject<{
|
|
|
11961
11520
|
cancelled: "cancelled";
|
|
11962
11521
|
failed: "failed";
|
|
11963
11522
|
running: "running";
|
|
11964
|
-
waiting: "waiting";
|
|
11965
11523
|
skipped: "skipped";
|
|
11524
|
+
waiting: "waiting";
|
|
11966
11525
|
}>;
|
|
11967
11526
|
attempt: z.ZodNumber;
|
|
11968
11527
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -12015,8 +11574,8 @@ declare const WorkLogGateEventSchema: z.ZodObject<{
|
|
|
12015
11574
|
status: z.ZodEnum<{
|
|
12016
11575
|
cancelled: "cancelled";
|
|
12017
11576
|
rejected: "rejected";
|
|
12018
|
-
waiting: "waiting";
|
|
12019
11577
|
resumed: "resumed";
|
|
11578
|
+
waiting: "waiting";
|
|
12020
11579
|
"timed-out": "timed-out";
|
|
12021
11580
|
}>;
|
|
12022
11581
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -12083,16 +11642,22 @@ declare const WorkLogDynamicNodeMaterializationSchema: z.ZodObject<{
|
|
|
12083
11642
|
type WorkLogDynamicNodeMaterialization = z.infer<typeof WorkLogDynamicNodeMaterializationSchema>;
|
|
12084
11643
|
//#endregion
|
|
12085
11644
|
//#region core/contracts/src/workflow/authoring-triggers.d.ts
|
|
12086
|
-
/**
|
|
12087
|
-
|
|
12088
|
-
|
|
12089
|
-
|
|
12090
|
-
|
|
12091
|
-
|
|
12092
|
-
|
|
11645
|
+
/** Canonical kind of the built-in bus-event automation trigger. */
|
|
11646
|
+
declare const BUS_EVENT_AUTOMATION_TRIGGER_KIND$1 = "makaio.bus-event";
|
|
11647
|
+
/** Canonical kind of the built-in cron automation trigger. */
|
|
11648
|
+
declare const CRON_AUTOMATION_TRIGGER_KIND$1 = "makaio.cron";
|
|
11649
|
+
/** Timezone applied to a cron binding when the author does not specify one. */
|
|
11650
|
+
declare const DEFAULT_CRON_TIMEZONE = "UTC";
|
|
11651
|
+
/**
|
|
11652
|
+
* A persisted workflow trigger binding with a phantom type parameter carrying
|
|
11653
|
+
* the payload type its trigger emits.
|
|
11654
|
+
*
|
|
11655
|
+
* The phantom field exists only in the type system: authoring helpers never
|
|
11656
|
+
* write it and `WorkflowAutomationTriggerBindingSchema` strips unknown keys, so
|
|
11657
|
+
* the persisted binding stays exactly {@link WorkflowAutomationTriggerBinding}.
|
|
12093
11658
|
* @typeParam TPayload - The trigger event payload type
|
|
12094
11659
|
*/
|
|
12095
|
-
type WorkflowTriggerDef<TPayload> =
|
|
11660
|
+
type WorkflowTriggerDef<TPayload> = WorkflowAutomationTriggerBinding$1 & {
|
|
12096
11661
|
/**
|
|
12097
11662
|
* Phantom type carrier — never present at runtime.
|
|
12098
11663
|
* Use `ExtractTriggerPayload<T>` to access this type.
|
|
@@ -12109,11 +11674,49 @@ type ExtractTriggerPayload<T extends WorkflowTriggerDef<unknown>> = T extends Wo
|
|
|
12109
11674
|
* @typeParam TTriggers - Trigger tuple supplied to `defineWorkflow`
|
|
12110
11675
|
*/
|
|
12111
11676
|
type TriggerPayloadFromTriggers<TTriggers extends readonly WorkflowTriggerDef<unknown>[] | undefined> = TTriggers extends readonly WorkflowTriggerDef<unknown>[] ? ExtractTriggerPayload<TTriggers[number]> : never;
|
|
11677
|
+
/**
|
|
11678
|
+
* Consumer-owned event filters shared by every authoring wrapper.
|
|
11679
|
+
*
|
|
11680
|
+
* These narrow an event **after** the trigger source validated and emitted it,
|
|
11681
|
+
* which is why they are not part of any trigger type's parameter schema.
|
|
11682
|
+
* @typeParam TPayload - The trigger event payload type
|
|
11683
|
+
*/
|
|
11684
|
+
interface TriggerFilterOptions<TPayload> {
|
|
11685
|
+
/** Optional structural payload filter (AND semantics). */
|
|
11686
|
+
readonly filter?: TypedPayloadFilter<TPayload>;
|
|
11687
|
+
/** Optional jexl expression for complex filter conditions. */
|
|
11688
|
+
readonly filterExpression?: string;
|
|
11689
|
+
}
|
|
11690
|
+
/**
|
|
11691
|
+
* Binds a defined automation trigger to a workflow, preserving the trigger's
|
|
11692
|
+
* emitted payload type for `ctx.trigger` inference.
|
|
11693
|
+
*
|
|
11694
|
+
* Params are validated at authoring time, so an invalid binding fails where the
|
|
11695
|
+
* workflow is declared. The detached JSON-safe schema input is persisted; the
|
|
11696
|
+
* runtime applies defaults and transforms exactly once when it activates the
|
|
11697
|
+
* trigger.
|
|
11698
|
+
* @param definition - The automation trigger contributed by an extension
|
|
11699
|
+
* @param options - Activation params plus consumer-owned event filters
|
|
11700
|
+
* @returns A typed workflow trigger binding
|
|
11701
|
+
* @typeParam TParamsSchema - Live Zod schema for the trigger's parameters
|
|
11702
|
+
* @typeParam TEventSchema - Live Zod schema for the trigger's emitted event
|
|
11703
|
+
* @example
|
|
11704
|
+
* ```typescript
|
|
11705
|
+
* const trigger = AutomationWorkflowTrigger(GithubPullRequestOpenedTrigger, {
|
|
11706
|
+
* params: { repository: 'makaio-ai/makaio' },
|
|
11707
|
+
* filterExpression: "payload.baseRef == 'develop'",
|
|
11708
|
+
* });
|
|
11709
|
+
* ```
|
|
11710
|
+
*/
|
|
11711
|
+
declare function AutomationWorkflowTrigger<TParamsSchema extends z.ZodType<AutomationTriggerParams>, TEventSchema extends z.ZodType<Record<string, JsonValue$1>>>(definition: DefinedAutomationTrigger<TParamsSchema, TEventSchema>, options: {
|
|
11712
|
+
/** Trigger-type parameters, validated against `definition.paramsSchema`. */readonly params: z.input<TParamsSchema>;
|
|
11713
|
+
} & TriggerFilterOptions<z.output<TEventSchema>>): WorkflowTriggerDef<z.output<TEventSchema>>;
|
|
12112
11714
|
/**
|
|
12113
11715
|
* Creates a bus-event workflow trigger that fires when a typed subject emits
|
|
12114
11716
|
* a matching message.
|
|
12115
11717
|
* @param options - Trigger configuration options
|
|
12116
|
-
* @returns A typed workflow trigger
|
|
11718
|
+
* @returns A typed workflow trigger binding for {@link BUS_EVENT_AUTOMATION_TRIGGER_KIND}
|
|
11719
|
+
* @typeParam S - The subject definition being subscribed to
|
|
12117
11720
|
* @example
|
|
12118
11721
|
* ```typescript
|
|
12119
11722
|
* const trigger = BusEventWorkflowTrigger({
|
|
@@ -12122,68 +11725,46 @@ type TriggerPayloadFromTriggers<TTriggers extends readonly WorkflowTriggerDef<un
|
|
|
12122
11725
|
* });
|
|
12123
11726
|
* ```
|
|
12124
11727
|
*/
|
|
12125
|
-
declare function BusEventWorkflowTrigger<S extends SubjectDefinition>(options: {
|
|
12126
|
-
/** The bus subject to subscribe to. */readonly subject: S;
|
|
12127
|
-
|
|
12128
|
-
readonly filterExpression?: string;
|
|
12129
|
-
}): BusEventTrigger & {
|
|
12130
|
-
readonly __payload?: ExtractSubjectPayload<S>;
|
|
12131
|
-
};
|
|
12132
|
-
/**
|
|
12133
|
-
* Creates a manual workflow trigger (user-initiated only).
|
|
12134
|
-
* @returns A typed workflow trigger definition with `void` payload
|
|
12135
|
-
*/
|
|
12136
|
-
declare function ManualWorkflowTrigger(): WorkflowTriggerDef<void>;
|
|
11728
|
+
declare function BusEventWorkflowTrigger<S extends SubjectDefinition>(options: ExtractSubjectPayload<S> extends readonly unknown[] ? never : ExtractSubjectPayload<S> extends Record<string, JsonValue$1> ? {
|
|
11729
|
+
/** The bus subject to subscribe to. */readonly subject: S;
|
|
11730
|
+
} & TriggerFilterOptions<ExtractSubjectPayload<S>> : never): WorkflowTriggerDef<ExtractSubjectPayload<S>>;
|
|
12137
11731
|
/**
|
|
12138
11732
|
* Cron trigger payload — injected into `context.trigger` at execution time.
|
|
12139
11733
|
*/
|
|
12140
11734
|
interface CronTriggerPayload {
|
|
12141
|
-
/**
|
|
12142
|
-
readonly
|
|
12143
|
-
/** Zero-based index of this trigger in the workflow's `triggers` array. */
|
|
12144
|
-
readonly triggerIndex: number;
|
|
11735
|
+
/** UNIX epoch milliseconds of the scheduled occurrence that fired. */
|
|
11736
|
+
readonly scheduledFor: number;
|
|
12145
11737
|
}
|
|
11738
|
+
/**
|
|
11739
|
+
* Canonical parameter shape of a cron automation trigger binding.
|
|
11740
|
+
*
|
|
11741
|
+
* Shared by the authoring wrapper and the built-in `makaio.cron` trigger's
|
|
11742
|
+
* `paramsSchema`, because the timezone default is load-bearing: it is applied
|
|
11743
|
+
* before the canonical binding key is computed, so two bindings meaning the same
|
|
11744
|
+
* moment — one naming `UTC` explicitly, one omitting it — must normalise
|
|
11745
|
+
* identically on both sides of the seam. Two copies of this schema would let the
|
|
11746
|
+
* key fork.
|
|
11747
|
+
*
|
|
11748
|
+
* Presence and non-emptiness are checked here so a binding that could never
|
|
11749
|
+
* schedule fails where the workflow is declared. Expression *validity* stays a
|
|
11750
|
+
* runtime concern: the cron parser lives in the trigger's host-selected scheduler
|
|
11751
|
+
* and is deliberately not a dependency of the contracts package, so the trigger's
|
|
11752
|
+
* scheduler remains the single authority on which expressions are legal.
|
|
11753
|
+
*/
|
|
11754
|
+
declare const CronAutomationTriggerParamsSchema$1: z.ZodObject<{
|
|
11755
|
+
schedule: z.ZodString;
|
|
11756
|
+
timezone: z.ZodDefault<z.ZodString>;
|
|
11757
|
+
}, z.core.$strip>;
|
|
12146
11758
|
/**
|
|
12147
11759
|
* Creates a cron-based workflow trigger.
|
|
12148
11760
|
* @param options - Trigger configuration options
|
|
12149
|
-
* @returns A typed workflow trigger
|
|
11761
|
+
* @returns A typed workflow trigger binding for {@link CRON_AUTOMATION_TRIGGER_KIND}
|
|
11762
|
+
* @throws When `schedule` is empty, or when `timezone` is present but empty.
|
|
12150
11763
|
*/
|
|
12151
11764
|
declare function CronWorkflowTrigger(options: {
|
|
12152
|
-
/** Cron expression (e.g. `'0 9 * * 1'`). */readonly schedule: string; /**
|
|
11765
|
+
/** Cron expression (e.g. `'0 9 * * 1'`). */readonly schedule: string; /** IANA timezone string; defaults to {@link DEFAULT_CRON_TIMEZONE}. */
|
|
12153
11766
|
readonly timezone?: string;
|
|
12154
11767
|
}): WorkflowTriggerDef<CronTriggerPayload>;
|
|
12155
|
-
/**
|
|
12156
|
-
* Webhook trigger payload — injected into `context.trigger` at execution time.
|
|
12157
|
-
*/
|
|
12158
|
-
interface WebhookTriggerPayload {
|
|
12159
|
-
/** Webhook event name (e.g. `'push'`, `'pull_request'`). */
|
|
12160
|
-
readonly event: string;
|
|
12161
|
-
/** Branch filter value, if configured. */
|
|
12162
|
-
readonly branch?: string;
|
|
12163
|
-
/** Repository slug (`owner/name`), if configured. */
|
|
12164
|
-
readonly repo?: string;
|
|
12165
|
-
/** Raw webhook payload forwarded from the webhook handler. */
|
|
12166
|
-
readonly body: Record<string, unknown>;
|
|
12167
|
-
}
|
|
12168
|
-
/**
|
|
12169
|
-
* Creates a webhook-based workflow trigger.
|
|
12170
|
-
* @param options - Trigger configuration options
|
|
12171
|
-
* @returns A typed workflow trigger definition with {@link WebhookTriggerPayload}
|
|
12172
|
-
*/
|
|
12173
|
-
declare function WebhookWorkflowTrigger(options: {
|
|
12174
|
-
/** Webhook event name. */readonly event: string; /** Optional branch filter. */
|
|
12175
|
-
readonly branch?: string; /** Optional repository filter (`owner/name`). */
|
|
12176
|
-
readonly repo?: string;
|
|
12177
|
-
}): WorkflowTriggerDef<WebhookTriggerPayload>;
|
|
12178
|
-
/**
|
|
12179
|
-
* Creates an extension-contributed workflow trigger.
|
|
12180
|
-
* @param options - Trigger configuration options
|
|
12181
|
-
* @returns A typed workflow trigger definition with `Record<string, unknown>` payload
|
|
12182
|
-
*/
|
|
12183
|
-
declare function ExtensionWorkflowTrigger(options: {
|
|
12184
|
-
/** Extension trigger type identifier (`extensionName:eventName`). */readonly extensionType: `${string}:${string}`; /** Optional opaque runtime configuration. */
|
|
12185
|
-
readonly config?: Record<string, unknown>;
|
|
12186
|
-
}): WorkflowTriggerDef<Record<string, unknown>>;
|
|
12187
11768
|
//#endregion
|
|
12188
11769
|
//#region core/contracts/src/workflow/authoring-context.d.ts
|
|
12189
11770
|
/**
|
|
@@ -12470,8 +12051,8 @@ type IterateHandler<TTrigger = unknown, TPreviousSteps extends Record<string, Pr
|
|
|
12470
12051
|
* - fresh: Start with clean context
|
|
12471
12052
|
*/
|
|
12472
12053
|
declare const ContextModeSchema$1: z.ZodEnum<{
|
|
12473
|
-
fork: "fork";
|
|
12474
12054
|
fresh: "fresh";
|
|
12055
|
+
fork: "fork";
|
|
12475
12056
|
}>;
|
|
12476
12057
|
type ContextMode = z.infer<typeof ContextModeSchema$1>;
|
|
12477
12058
|
/**
|
|
@@ -12606,8 +12187,8 @@ declare const SubagentConfigSchema$1: z.ZodObject<{
|
|
|
12606
12187
|
"extra-high": "extra-high";
|
|
12607
12188
|
}>>;
|
|
12608
12189
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
12609
|
-
fork: "fork";
|
|
12610
12190
|
fresh: "fresh";
|
|
12191
|
+
fork: "fork";
|
|
12611
12192
|
}>>;
|
|
12612
12193
|
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12613
12194
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -12776,8 +12357,8 @@ declare const SpawnSubagentRpcRequestSchema$1: z.ZodObject<{
|
|
|
12776
12357
|
"extra-high": "extra-high";
|
|
12777
12358
|
}>>;
|
|
12778
12359
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
12779
|
-
fork: "fork";
|
|
12780
12360
|
fresh: "fresh";
|
|
12361
|
+
fork: "fork";
|
|
12781
12362
|
}>>;
|
|
12782
12363
|
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12783
12364
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -13435,16 +13016,6 @@ interface WorkflowBuilder<TTrigger = never, TState extends JsonValue$1 | undefin
|
|
|
13435
13016
|
}
|
|
13436
13017
|
//#endregion
|
|
13437
13018
|
//#region core/contracts/src/workflow/authoring-node-factories.d.ts
|
|
13438
|
-
/**
|
|
13439
|
-
* Converts a Zod schema to a JSON Schema record compatible with
|
|
13440
|
-
* `JsonSchemaRecordSchema`.
|
|
13441
|
-
*
|
|
13442
|
-
* Uses Zod v4's built-in `z.toJSONSchema()` and strips the `$schema` key so
|
|
13443
|
-
* the result is a plain JSON Schema document without the meta-schema pointer.
|
|
13444
|
-
* @param schema - Any Zod schema to convert
|
|
13445
|
-
* @returns A `Record<string, JsonValue>` suitable for storage in a workflow definition
|
|
13446
|
-
*/
|
|
13447
|
-
declare function zodSchemaToJsonRecord$1(schema: z.ZodTypeAny): Record<string, JsonValue$1>;
|
|
13448
13019
|
/**
|
|
13449
13020
|
* Creates a station node for use as a branch inside a `parallel()` call or
|
|
13450
13021
|
* an `iterateChain()` sub-chain.
|
|
@@ -13586,4 +13157,4 @@ declare function defineWorkflowBundle(config: {
|
|
|
13586
13157
|
/** Non-empty list of built workflows to include in the bundle. */readonly workflows: readonly BuiltWorkflow[];
|
|
13587
13158
|
}): WorkflowBundle;
|
|
13588
13159
|
//#endregion
|
|
13589
|
-
export {
|
|
13160
|
+
export { SubagentConfig$1 as $, WorkflowGateStatus as $i, JsonPatchOperation$1 as $n, WorkflowFinalizationIntent as $r, WorkerContributionManifestSchema as $t, CompleteTaskRequest as A, WorkflowStationNodeSchema as Aa, WorkflowAutomationTriggerBindingSchema$1 as Ai, parseArtifactRef as An, WorkflowCancelPayload as Ar, WorkLogDynamicNodeMaterialization as At, ListSubagentsBySessionRequest as B, WorkflowDelegateRoleNodeSchema as Bi, ArtifactQuerySourceSchema as Bn, WorkflowDelegateEconomicsSchema as Br, WorkLogUsageSummary as Bt, WorkflowStateAuthoringDefinition as C, WorkflowSequenceNode as Ca, LoopGateOutcome as Ci, WorkflowNodeVisitor as Cn, StepRunnerPlatformDefaults$1 as Cr, CronTriggerPayload as Ct, validateNoNestedLoops as D, WorkflowStateDefinition as Da, WorkflowArtifactWriteDeclaration as Di, WorkflowRunContextSource as Dn, TokenUsage as Dr, WorkflowTriggerDef as Dt, LoopGateHandler$1 as E, WorkflowSourceLocationSchema as Ea, WorkflowArtifactBindingSchema as Ei, WorkflowRunContextSchema$1 as En, StepTelemetrySchema as Er, ExtractTriggerPayload as Et, ContextModeSchema$1 as F, WorkflowDefinitionProvenanceSchema as Fi, WorkflowSchemas as Fn, WorkflowStepType as Fr, WorkLogFrameEntrySchema$1 as Ft, ReportProgressResponse as G, WorkflowExecutionScope as Gi, ContextBundle as Gn, WorkflowDelegateResultFinalizationResponse as Gr, ExternalExecutionFrameCompletion as Gt, PendingRequest$1 as H, WorkflowDynamicRegionSchema as Hi, BusEventPublishTargetSchema as Hn, WorkflowDelegateResultFinalizationGatewayRequestSchema as Hr, CompleteExternalExecutionRequest as Ht, DEFAULT_CONSTRAINTS$1 as I, WorkflowDefinitionSchema$1 as Ii, WorkflowSubjects$1 as In, WorkflowStepTypeSchema$1 as Ir, WorkLogGateEvent as It, SendToSubagentRequest as J, WorkflowFrameStateSchema$1 as Ji, ContextPublishTargetSchema as Jn, WorkflowDelegateToolObservation as Jr, ExternalExecutionFrameStartSchema as Jt, RequestInputRpcRequest as K, WorkflowExecutionScopeSchema as Ki, ContextBundleSchema as Kn, WorkflowDelegateResultFinalizationResponseSchema as Kr, ExternalExecutionFrameCompletionSchema as Kt, ExecuteSubagentResponse as L, WorkflowDelegateAgentNode as Li, ArtifactPublishTarget as Ln, createStepCancelSubject$1 as Lr, WorkLogGateEventSchema as Lt, CompletionMode$1 as M, WorkflowConditionSchema as Mi, WorkflowNamespace$1 as Mn, WorkflowCancelSubject as Mr, WorkLogExecutionSummary as Mt, CompletionModeSchema as N, WorkflowDefinition$1 as Ni, WorkflowProgressUpdate as Nn, WorkflowRunnerStepType as Nr, WorkLogExecutionSummarySchema as Nt, AwaitSubagentRequest as O, WorkflowStateDefinitionSchema as Oa, WorkflowArtifactWriteDeclarationSchema as Oi, WorkflowArtifactRef as On, TokenUsageSchema as Or, WorkLogArtifactWrite as Ot, ContextMode as P, WorkflowDefinitionProvenance as Pi, WorkflowProgressUpdateSchema as Pn, WorkflowRunnerStepTypeSchema as Pr, WorkLogFrameEntry as Pt, SpawnSubagentRpcResponse as Q, WorkflowGateNodeSchema as Qi, ResolvedContextEntrySchema as Qn, WorkflowFinalizationDeliveryResultSchema as Qr, WorkerContributionManifest$1 as Qt, KillSubagentRequest as R, WorkflowDelegateAgentNodeSchema as Ri, ArtifactPublishTargetSchema as Rn, createWorkflowCancelSubject$1 as Rr, WorkLogStats as Rt, WorkflowBuilder as S, WorkflowResolvedRoleSchema as Sa, GateInstanceListQuerySchema$1 as Si, WalkRelationship as Sn, StepRunnerBusAuthSchema as Sr, CronAutomationTriggerParamsSchema$1 as St, LoopGateContext as T, WorkflowSourceLocation as Ta, WorkflowArtifactBinding as Ti, WorkflowRunContext$1 as Tn, StepTelemetry as Tr, DEFAULT_CRON_TIMEZONE as Tt, PendingRequestSchema as U, WorkflowExecution$1 as Ui, BusRequestSource as Un, WorkflowDelegateResultFinalizationRequest as Ur, CompleteExternalExecutionRequestSchema as Ut, ListSubagentsBySessionResponse as V, WorkflowDynamicRegion as Vi, BusEventPublishTarget as Vn, WorkflowDelegateResultFinalizationGatewayRequest as Vr, WorkLogUsageSummarySchema as Vt, ReportProgressRequest as W, WorkflowExecutionSchema$1 as Wi, BusRequestSourceSchema as Wn, WorkflowDelegateResultFinalizationRequestSchema as Wr, EXTERNAL_EXECUTION_ID_PREFIX$1 as Wt, SpawnSubagentRpcRequest as X, WorkflowGateInstanceSchema$1 as Xi, ContextSourceSchema as Xn, WorkflowFinalizationClaim as Xr, RegisterExternalExecutionRequestSchema as Xt, SendToSubagentResponse as Y, WorkflowGateInstance as Yi, ContextSource as Yn, WorkflowDelegateToolObservationSchema as Yr, RegisterExternalExecutionRequest as Yt, SpawnSubagentRpcRequestSchema$1 as Z, WorkflowGateNode as Zi, ResolvedContextEntry as Zn, WorkflowFinalizationClaimSchema$1 as Zr, IWorkflowRunner$1 as Zt, LoopGateRegistration as _, WorkflowParallelNode as _a, ExecutionStatus as _i, ProjectedWorkflowGraph as _n, StepRunConfig as _r, WorkflowStateContext as _t, delegateToRole as a, WorkflowListQuery as aa, createWorkflowDelegateResultFinalizerNamespace$1 as ai, WorkflowTriggerMode as an, ExecutionLinkListQuerySchema$1 as ar, UsageStats$1 as at, ParallelMode as b, WorkflowResolvedAgentSchema as ba, ExecutionsByArtifactRefsQuerySchema$1 as bi, projectWorkflowGraph as bn, StepRunResultSchema as br, BusEventWorkflowTrigger as bt, iterateChain as c, WorkflowLoopNodeSchema as ca, EXECUTIONS_BY_ARTIFACT_REFS_MAX_LIMIT_PER_REF as ci, WorkflowWorkerBusAuthSchema as cn, ExecutionLinkTypeSchema as cr, ArtifactUpdateOperation as ct, AgentConfig as d, WorkflowNodeBaseSchema as da, EXECUTION_LIST_MAX_LIMIT$1 as di, WorkflowWorkerSource$1 as dn, SpanStatus as dr, PreviousStepOutput as dt, WorkflowGateStatusSchema as ea, WorkflowFinalizationIntentSchema as ei, WorkerRuntimeContext$1 as en, JsonPatchOperationSchema$1 as er, SubagentConfigSchema$1 as et, ArtifactBindingOptions as f, WorkflowNodeSchema as fa, EXECUTION_LIST_MIN_LIMIT$1 as fi, WorkflowWorkerSourceSchema as fn, SpanStatusSchema as fr, StationHandler$1 as ft, IterateOptions as g, WorkflowParallelModeSchema as ga, ExecutionListQuerySchema$1 as gi, ProjectedNodeRole as gn, StepCancelSubject as gr, WorkflowContextBase as gt, GateOptions as h, WorkflowParallelMode as ha, ExecutionListQuery as hi, ProjectedNode as hn, StepCancelPayloadSchema as hr, WorkflowContext as ht, delegateToAgent as i, WorkflowIterateNodeSchema as ia, WorkflowTerminalStatusSchema as ii, WorkflowRunnerRunOptions$1 as in, ExecutionLinkListQuery as ir, SubagentStatusSchema as it, CompleteTaskResponse as j, WorkflowCondition as ji, serializeArtifactRef$1 as jn, WorkflowCancelPayloadSchema as jr, WorkLogDynamicNodeMaterializationSchema as jt, AwaitSubagentResponse$1 as k, WorkflowStationNode as ka, WorkflowAutomationTriggerBinding$1 as ki, WorkflowArtifactRefSchema as kn, WORKFLOW_CANCELLED_REASON$1 as kr, WorkLogArtifactWriteSchema as kt, loop as l, WorkflowNode as la, EXECUTIONS_BY_ARTIFACT_REFS_MAX_REFS as li, WorkflowWorkerConfig$1 as ln, SpanRecord as lr, ArtifactUpdater as lt, DefineWorkflowOptions as m, WorkflowNodeTypeSchema as ma, ExecutionListCursorSchema as mi, ProjectedEdgeKind as mn, StepCancelPayload as mr, StepContext as mt, defineWorkflowBundle as n, WorkflowIterateChainNodeSchema as na, WorkflowFinalizerIdSchema$1 as ni, WorkflowRunResultSchema$1 as nn, WorkflowErrorCode$1 as nr, SubagentExecutionFailed as nt, gate as o, WorkflowListQuerySchema$1 as oa, createWorkflowFinalizerNamespace$1 as oi, WorkflowTriggerModeSchema as on, ExecutionLinkSchema$1 as or, ArtifactContext as ot, BuiltWorkflow as p, WorkflowNodeType as pa, ExecutionListCursor as pi, ProjectedEdge as pn, IStepRunner as pr, StationStepContext as pt, RequestInputRpcResponse as q, WorkflowFrameState$1 as qi, ContextPublishTarget as qn, WorkflowDelegateResultFinalizerIdSchema as qr, ExternalExecutionFrameStart as qt, defineWorkflow as r, WorkflowIterateNode as ra, WorkflowTerminalStatus as ri, WorkflowRunnerCompletion$1 as rn, ExecutionLink as rr, SubagentStatus$1 as rt, iterate as s, WorkflowLoopNode as sa, EXECUTIONS_BY_ARTIFACT_REFS_DEFAULT_LIMIT_PER_REF as si, WorkflowWorkerBusAuth as sn, ExecutionLinkType as sr, ArtifactPatch as st, WorkflowBundle as t, WorkflowIterateChainNode as ta, WorkflowFinalizerId as ti, WorkflowRunResult$1 as tn, WorkflowError$1 as tr, SubagentConstraints$1 as tt, station as u, WorkflowNodeBase as ua, EXECUTION_LIST_DEFAULT_LIMIT$1 as ui, WorkflowWorkerConfigSchema$1 as un, SpanRecordSchema$1 as ur, IterateHandler as ut, LoopOptions as v, WorkflowParallelNodeSchema as va, ExecutionStatusSchema$1 as vi, WorkflowDefinitionPath as vn, StepRunConfigSchema as vr, AutomationWorkflowTrigger as vt, WorkflowZodSchemas$1 as w, WorkflowSequenceNodeSchema as wa, LoopGateOutcomeSchema as wi, walkWorkflowDefinition$1 as wn, StepRunnerPlatformDefaultsSchema as wr, CronWorkflowTrigger as wt, ParallelOptions as x, WorkflowResolvedRole as xa, GateInstanceListQuery as xi, WalkContext as xn, StepRunnerBusAuth$1 as xr, CRON_AUTOMATION_TRIGGER_KIND$1 as xt, NodeOptions as y, WorkflowResolvedAgent as ya, ExecutionsByArtifactRefsQuery as yi, WorkflowDefinitionPathSegment as yn, StepRunResult as yr, BUS_EVENT_AUTOMATION_TRIGGER_KIND$1 as yt, KillSubagentResponse as z, WorkflowDelegateRoleNode as zi, ArtifactQuerySource as zn, WorkflowDelegateEconomics as zr, WorkLogStatsSchema as zt };
|