@makaio/framework 1.0.0-dev-1781117225170 → 1.0.0-dev-1781354548379
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/README.md +29 -0
- package/dist/.makaio-build.json +2 -2
- package/dist/adapter-UpcpZDOv.mjs +1 -0
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +13 -5
- package/dist/adapters/index.mjs +2 -2
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/bus/index.mjs +1 -1
- package/dist/client-BJVDImPV.d.mts +175 -0
- package/dist/clients/index.d.mts +101 -1
- package/dist/clients/index.mjs +2 -2
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +4 -4
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +786 -108
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/session/index.d.mts +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/{definition-Cp-5xJp_.d.mts → definition-DqJOg6Lv.d.mts} +1 -1
- package/dist/{detached-extension-handle-oXbjv1tA.mjs → detached-extension-handle-Diiwgm13.mjs} +1 -1
- package/dist/drizzle/0001_messages_content_tsv.na.md +18 -0
- package/dist/drizzle/0012_legal_kate_bishop.sql +3 -0
- package/dist/drizzle/0013_eager_rhodey.sql +56 -0
- package/dist/drizzle/0014_fancy_ultimo.sql +1 -0
- package/dist/drizzle/0015_m_mqbh8q5b.sql +1 -0
- package/dist/drizzle/0016_m_mqbmq8h7.sql +1 -0
- package/dist/drizzle/0017_m_mqbnf924.sql +1 -0
- package/dist/drizzle/meta/0012_snapshot.json +2934 -0
- package/dist/drizzle/meta/0013_snapshot.json +2954 -0
- package/dist/drizzle/meta/0014_snapshot.json +2959 -0
- package/dist/drizzle/meta/0015_snapshot.json +2966 -0
- package/dist/drizzle/meta/0016_snapshot.json +2973 -0
- package/dist/drizzle/meta/0017_snapshot.json +2980 -0
- package/dist/drizzle/meta/_journal.json +42 -0
- package/dist/drizzle-wjquQK2m.mjs +1 -0
- package/dist/extension-DfNcE0zm.mjs +1 -0
- package/dist/extension-ZBN4BGre.mjs +1 -0
- package/dist/{filesystem-service-CBJT7A5w.mjs → filesystem-service-BjfrUmGS.mjs} +1 -1
- package/dist/{globby-C0lgTOUl.mjs → globby-BIH65cbN.mjs} +1 -1
- package/dist/handler-DqpiV9eA.mjs +1 -0
- package/dist/handlers-BAB4fQNH.mjs +41 -0
- package/dist/{index-uQl_1wQO.d.mts → index-BAhJKQLX.d.mts} +8 -8
- package/dist/{index-i7o6FtS0.d.mts → index-BDRKAxIV.d.mts} +129 -2
- package/dist/{index-CXfWW8cP.d.mts → index-BHAOu6Hs.d.mts} +20 -20
- package/dist/{index-t9Vt4Jbb.d.mts → index-BHzgDuRE.d.mts} +20 -3
- package/dist/{index-SFkbbDxs.d.mts → index-BYkOUd0x.d.mts} +1 -1
- package/dist/{index-CmGvjpUG.d.mts → index-BheaEhyI.d.mts} +6 -6
- package/dist/{index-Dsu1tPHm.d.mts → index-Bibt5jAX.d.mts} +8 -8
- package/dist/{index-Bw8SkcWG.d.mts → index-Bw_zL7Rs.d.mts} +1 -1
- package/dist/{index-ClgVA8Rz.d.mts → index-C3zfJg6s.d.mts} +6 -6
- package/dist/{index-v2kRZnfw2.d.mts → index-CH5U3zSA2.d.mts} +20 -10
- package/dist/{index-hWzUQtDn.d.mts → index-CTn_Xi-p.d.mts} +92 -19
- package/dist/{index-BY-fz0Jy.d.mts → index-DPIdX6kb.d.mts} +358 -110
- package/dist/{index-kLBWooVu.d.mts → index-Da4ABgRq.d.mts} +12 -12
- package/dist/{index-C1uZLARQ.d.mts → index-DrGLAuZc.d.mts} +1409 -72
- package/dist/{index-CT-zFurA.d.mts → index-Drz_a7kW.d.mts} +1 -1
- package/dist/{index-BELri1Hy.d.mts → index-IekAD8Gp.d.mts} +8 -8
- package/dist/{index-C_jIVT40.d.mts → index-fVgKVvta.d.mts} +1 -1
- package/dist/{index-BFaeVdsn2.d.mts → index-zgm2j9V92.d.mts} +44 -2
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/extension/index.mjs +1 -1
- package/dist/kernel/index.d.mts +5 -5
- package/dist/kernel/index.mjs +1 -1
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/{lib-zuQKc8ym.mjs → lib-Cq5R6Tx9.mjs} +1 -1
- package/dist/{lib-IkUYa2Qs.mjs → lib-nlcl5kRW.mjs} +1 -1
- package/dist/{load-extensions-DE8qDIqi.d.mts → load-extensions-D9nbDIiW.d.mts} +1 -1
- package/dist/{load-extensions-CwxilDj1.mjs → load-extensions-wELQ4BBN.mjs} +1 -1
- package/dist/mcp-http-server/index.d.mts +132 -19
- package/dist/mcp-http-server/index.mjs +2 -2
- package/dist/{namespace-Dik_dNeE.d.mts → namespace--s0d86h-.d.mts} +144 -0
- package/dist/{namespace-ffepZB8Y.d.mts → namespace-B73Sxj5L.d.mts} +6 -6
- package/dist/{namespace-CZPu_jvy.d.mts → namespace-Boe6l5n9.d.mts} +82 -46
- package/dist/{namespace-Da_dHfdm.d.mts → namespace-BxxBhcV_.d.mts} +2 -2
- package/dist/namespace-Dfq6MDN9.mjs +1 -0
- package/dist/{namespace-DvHoeMUV.d.mts → namespace-aJJfBJU5.d.mts} +173 -3
- 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-FnWrPS09.mjs → orchestrator-shared-BKFXaKPL.mjs} +1 -1
- package/dist/{package-B2HkKyRz.d.mts → package--RZnpN2J.d.mts} +2 -3
- package/dist/package-BzJvtM5O.mjs +1 -0
- package/dist/package-DzN_jdqd.mjs +1 -0
- package/dist/package.json +1 -1
- package/dist/primitive-runtime-CNC_bSac.mjs +1 -0
- package/dist/registry-RG-bkw3c.mjs +146 -0
- 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/bus/runtime/namespace.d.mts +8 -8
- package/dist/runtime-node/bus/runtime/schemas.d.mts +11 -4
- package/dist/runtime-node/bus/runtime/schemas.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 +77 -38
- package/dist/runtime-node/index.mjs +26 -53
- 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-C3TgjrsV.mjs +1 -0
- package/dist/schema-CzhOc7TV.mjs +1 -0
- package/dist/{schema-CfuF2cXW.d.mts → schema-DGMLvVoQ.d.mts} +237 -11
- package/dist/schemas-CuKayWhA.mjs +1 -0
- package/dist/{schemas-SPI-Y87l2.d.mts → schemas-kVcJMjjn2.d.mts} +6 -6
- package/dist/{schemas-BiMxSTUx.d.mts → schemas-t1VR6_b_.d.mts} +3 -3
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/capability/index.d.mts +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/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/filesystem/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/harness/index.d.mts +31 -20
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/harness/storage/schema.d.mts +60 -16
- package/dist/services/harness/storage/schema.mjs +1 -1
- package/dist/services/index.d.mts +166 -69
- 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 +9 -15
- package/dist/services/log-import/index.mjs +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/model-registry/index.d.mts +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/provider-context/index.mjs +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/handlers/index.mjs +1 -1
- package/dist/services/session/index.d.mts +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 +18 -2
- package/dist/services/session/testing/index.mjs +54 -3
- 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/settings/index.d.mts +3 -3
- package/dist/services/settings/index.mjs +1 -1
- package/dist/services/settings/namespace.d.mts +6 -6
- 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/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/turn/schemas.d.mts +72 -0
- package/dist/services/turn/schemas.mjs +1 -1
- package/dist/{session-C1Cami7U.mjs → session-BwX5_k47.mjs} +1 -1
- package/dist/session-P4nX60Xx.mjs +39 -0
- package/dist/{src-DI5TcYUW.mjs → src-CBG3IHUl.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +2 -78
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/columns/postgres.d.mts +88 -0
- package/dist/storage/drizzle/columns/postgres.mjs +1 -0
- package/dist/storage/drizzle/columns/sqlite.d.mts +81 -0
- package/dist/storage/drizzle/columns/sqlite.mjs +1 -0
- package/dist/storage/drizzle/index.d.mts +976 -23
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/storage/handlers/index.mjs +1 -1
- package/dist/testing/drizzle-harness.d.mts +52 -6
- package/dist/testing/drizzle-harness.mjs +1 -1
- package/dist/testing/index.d.mts +34 -2
- package/dist/testing/index.mjs +1 -1
- package/dist/{tool-approval-service-BgNcJvKx.mjs → tool-approval-service-DNHV5x0M.mjs} +1 -1
- package/dist/tools-CQImrHAp.mjs +1 -0
- package/dist/{types-CZHV05Lu.d.mts → types-BpuLMR2m.d.mts} +616 -433
- package/dist/{types-C5Uy3WEy.d.mts → types-D0fPFh-D.d.mts} +1 -1
- package/dist/{types-0u6hpELc.d.mts → types-D6jnDjP2.d.mts} +18 -5
- package/dist/ui-components/index.d.mts +36 -37
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/ui-views/index.d.mts +2 -2
- package/dist/workflow-engine/index.d.mts +539 -110
- 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/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-worker-hDaQzTBl.mjs → workflow-worker-CK9Sqj7D.mjs} +1 -1
- package/package.json +49 -1
- package/dist/adapter-Dt2FDMs4.mjs +0 -1
- package/dist/drizzle-DpjZFY_j.mjs +0 -1
- package/dist/extension--5Q190u_.mjs +0 -1
- package/dist/extension-DFIZ3FCJ.mjs +0 -1
- package/dist/handlers-Bev7-xjL.mjs +0 -41
- package/dist/namespace-CDiM5Bcr.mjs +0 -1
- package/dist/namespace-h0HIuqx0.mjs +0 -1
- package/dist/package-C9wOiMK9.mjs +0 -1
- package/dist/package-OE9dMQsq.mjs +0 -1
- package/dist/primitive-runtime-1Z3JbRUj.mjs +0 -1
- package/dist/schema-DCJyzRHe.mjs +0 -1
- package/dist/schema-DOnJmAPw.mjs +0 -1
- package/dist/schemas-CSUwpaNm.mjs +0 -1
- package/dist/session-BnfsJoZi.mjs +0 -134
- package/dist/tools-B8d8Iqqx.mjs +0 -1
- package/dist/types-yTKQTAok.d.mts +0 -31
- /package/dist/{ajv-0JG5NFEd.mjs → ajv-BA2z5ztb.mjs} +0 -0
- /package/dist/{await-trigger-CHuOd5co.mjs → await-trigger-DREnXCEJ.mjs} +0 -0
- /package/dist/{base-orchestrator-D-S9v5VY.d.mts → base-orchestrator-M5mAB5-w.d.mts} +0 -0
- /package/dist/{cleanEnvForAdapter-BlpmyXYk.mjs → cleanEnvForAdapter-vZfPGi0X.mjs} +0 -0
- /package/dist/{clients-namespace-E97p_GKF.d.mts → clients-namespace-SFk7OTop.d.mts} +0 -0
- /package/dist/{config-namespace-R_34Wfps.d.mts → config-namespace-BzAvE2nY.d.mts} +0 -0
- /package/dist/{create-static-mount-B9Szo_7y.mjs → create-static-mount-BB1MIQ9J.mjs} +0 -0
- /package/dist/{cross-spawn-CTptpCy4.mjs → cross-spawn-BL6EvJBv.mjs} +0 -0
- /package/dist/{cursor-storage-YikwAZR5.mjs → cursor-storage-CmKjSvKY.mjs} +0 -0
- /package/dist/{definition-CYzWS2eR.d.mts → definition-BSghHJpQ.d.mts} +0 -0
- /package/dist/{definition-CvOuzWNT.d.mts → definition-q6iLw11H.d.mts} +0 -0
- /package/dist/{descriptor-to-package-9nrAH_D5.mjs → descriptor-to-package-CY8oc2gl.mjs} +0 -0
- /package/dist/{esm-CglYG5aA.mjs → esm-CQVFKEW5.mjs} +0 -0
- /package/dist/{extension-discovery-BD1-oNU_.d.mts → extension-discovery-CkV_VRdJ.d.mts} +0 -0
- /package/dist/{filesystem-service-BcwRp4k1.d.mts → filesystem-service-Ddngll0j.d.mts} +0 -0
- /package/dist/{index-DJQew2k-.d.mts → index-9IDJUJ4X.d.mts} +0 -0
- /package/dist/{index-CNYPKkyH.d.mts → index-BBvcP-P0.d.mts} +0 -0
- /package/dist/{index-DfUBcVtG.d.mts → index-BCKRUuI2.d.mts} +0 -0
- /package/dist/{index-Dn9Uum3F.d.mts → index-BMpRB6iE.d.mts} +0 -0
- /package/dist/{index-CdNDnxXR.d.mts → index-BbCjtc3h.d.mts} +0 -0
- /package/dist/{index-B6RGNugn.d.mts → index-BnQSPC6c.d.mts} +0 -0
- /package/dist/{index-DUPZKsd3.d.mts → index-BpXX9WZJ.d.mts} +0 -0
- /package/dist/{index-DUhXk_q6.d.mts → index-BpniJgxu.d.mts} +0 -0
- /package/dist/{index-ChG8ZUNP.d.mts → index-Bsp0O_sI.d.mts} +0 -0
- /package/dist/{index-CF7dnqQj.d.mts → index-Buo9H8RK.d.mts} +0 -0
- /package/dist/{index-9KnLzPYu.d.mts → index-BxFA1XcP.d.mts} +0 -0
- /package/dist/{index-AZ4iLe7O2.d.mts → index-C33Tq1ei2.d.mts} +0 -0
- /package/dist/{index--0CnhN0g.d.mts → index-C6BhKRnH.d.mts} +0 -0
- /package/dist/{index-BV8rSmDZ.d.mts → index-CDU_s69P.d.mts} +0 -0
- /package/dist/{index-BDlpFEsp2.d.mts → index-CGJjA-hR2.d.mts} +0 -0
- /package/dist/{index-DNGUXQGC.d.mts → index-Cz9JMjZK.d.mts} +0 -0
- /package/dist/{index-C-YBGCCG.d.mts → index-D0SUjZmU.d.mts} +0 -0
- /package/dist/{index-yNb7G73-.d.mts → index-D6Iyvz9T.d.mts} +0 -0
- /package/dist/{index-ziQTLYUO.d.mts → index-DOfq0qqv.d.mts} +0 -0
- /package/dist/{index-BYxgW2i0.d.mts → index-DSV1aFgK.d.mts} +0 -0
- /package/dist/{index-Dbwm5Y-Q.d.mts → index-Dsq2zKvu.d.mts} +0 -0
- /package/dist/{jsonl-transport-DBHQgcIm.mjs → jsonl-transport-C21tpVfe.mjs} +0 -0
- /package/dist/{lib-CaOdTS9F.mjs → lib-CNOQJtgs.mjs} +0 -0
- /package/dist/{namespace-DnZ4rS6T2.d.mts → namespace-B60mn8J-2.d.mts} +0 -0
- /package/dist/{namespace-DfYutvMT.d.mts → namespace-BBVtD1gu.d.mts} +0 -0
- /package/dist/{namespace-BaJJxBsI.d.mts → namespace-CHMszppN.d.mts} +0 -0
- /package/dist/{namespace-uGw5nK6d.d.mts → namespace-CqUGzG53.d.mts} +0 -0
- /package/dist/{namespace-13uMtVGj.d.mts → namespace-DRFJN-_z.d.mts} +0 -0
- /package/dist/{namespace-TfZGCy7N.d.mts → namespace-DzVf1hVH.d.mts} +0 -0
- /package/dist/{namespace-QTFnJWHC.d.mts → namespace-XTGCaSXj.d.mts} +0 -0
- /package/dist/{namespace-CTrNKkxY.d.mts → namespace-nlsvvMtD.d.mts} +0 -0
- /package/dist/{namespace-DkDvQJhB.d.mts → namespace-uuR0Fg5r.d.mts} +0 -0
- /package/dist/{orchestrator-shared-BZVeoRfr.d.mts → orchestrator-shared-D91Wk7z-.d.mts} +0 -0
- /package/dist/{out-CiFds_ap.mjs → out-C1JFb2Bp.mjs} +0 -0
- /package/dist/{provider-context-lfG0BpqX.mjs → provider-context-wp4VSJFI.mjs} +0 -0
- /package/dist/{providers-namespace-Cc9FQ-Zt.d.mts → providers-namespace-BqWYkydw.d.mts} +0 -0
- /package/dist/{schemas-BD-1NGmS.d.mts → schemas-B5ToLwIs.d.mts} +0 -0
- /package/dist/{schemas-Hy-lsBpg.d.mts → schemas-B77Gi8Xr.d.mts} +0 -0
- /package/dist/{schemas-BzK1I1eX.d.mts → schemas-C792eVAZ.d.mts} +0 -0
- /package/dist/{schemas-CYS6bkht.d.mts → schemas-Chyj6HuZ.d.mts} +0 -0
- /package/dist/{schemas-DL_bGYyZ.d.mts → schemas-DZUaRcYl.d.mts} +0 -0
- /package/dist/{schemas-DdZwjeF0.d.mts → schemas-Dv5FxHDT.d.mts} +0 -0
- /package/dist/{schemas-CsjB6gel.d.mts → schemas-Dyk7JuVl.d.mts} +0 -0
- /package/dist/{schemas-DFWGb4uj.d.mts → schemas-Kq33MTPY.d.mts} +0 -0
- /package/dist/{schemas-BFeP62V4.d.mts → schemas-lqvZ6UpK.d.mts} +0 -0
- /package/dist/{server-lifecycle-DVAbXQzg.d.mts → server-lifecycle-47mygK3E.d.mts} +0 -0
- /package/dist/{server-lifecycle-JTFuSJhg.mjs → server-lifecycle-Cg47L59Q.mjs} +0 -0
- /package/dist/{session-lineage-CxHc3_bm.d.mts → session-lineage-CKg6mErA.d.mts} +0 -0
- /package/dist/{shared-schemas-CKe2uN4-.mjs → shared-schemas-DYL7a-No.mjs} +0 -0
- /package/dist/{src-4_2jBceX.mjs → src-DedDL9iv.mjs} +0 -0
- /package/dist/{storage-namespace-I30TaZP7.d.mts → storage-namespace-BXmMUd7a.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-ZNBL3v2h.d.mts → storage-namespace-definition-C3XbpiP8.d.mts} +0 -0
- /package/dist/{types-11QnNmpW.d.mts → types-5Gw3iVpK.d.mts} +0 -0
- /package/dist/{types-BKNpS4Xw.d.mts → types-B0BtvVAq.d.mts} +0 -0
- /package/dist/{types-BtMNh2FS.d.mts → types-D-bP8RRE.d.mts} +0 -0
- /package/dist/{window-registry-QD1rTk_f.d.mts → window-registry-CfEi_Ji4.d.mts} +0 -0
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { a as WorkflowExecutor, i as WorkflowEngineService, n as createWorkflowEnginePackage, o as registerDrizzleWorkflowStorage, r as workflowEnginePackage, t as WorkflowEngineToken } from "../package
|
|
1
|
+
import { a as WorkflowExecutor, i as WorkflowEngineService, n as createWorkflowEnginePackage, o as registerDrizzleWorkflowStorage, r as workflowEnginePackage, t as WorkflowEngineToken } from "../package--RZnpN2J.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
4
4
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
5
|
-
import { WorkflowExecutionSchema, WorkflowListQuerySchema } from "@makaio/framework/contracts";
|
|
6
|
-
import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
|
|
5
|
+
import { JsonValue, WorkflowExecutionSchema, WorkflowListQuerySchema } from "@makaio/framework/contracts";
|
|
7
6
|
import * as _$_makaio_storage_core0 from "@makaio/framework/storage";
|
|
7
|
+
import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
|
|
8
|
+
import * as _$drizzle_orm_pg_core0 from "drizzle-orm/pg-core";
|
|
9
|
+
import * as _$_makaio_storage_drizzle0 from "@makaio/framework/storage/drizzle";
|
|
10
|
+
import * as _$drizzle_orm0 from "drizzle-orm";
|
|
8
11
|
import { WorkflowExpressionContext } from "@makaio/framework/expression";
|
|
9
12
|
|
|
10
13
|
//#region subsystems/workflow-engine/src/storage/namespace.d.ts
|
|
@@ -407,8 +410,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
407
410
|
completed: "completed";
|
|
408
411
|
cancelled: "cancelled";
|
|
409
412
|
failed: "failed";
|
|
410
|
-
paused: "paused";
|
|
411
413
|
running: "running";
|
|
414
|
+
paused: "paused";
|
|
412
415
|
}>;
|
|
413
416
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
414
417
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -430,6 +433,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
430
433
|
kind: z.ZodString;
|
|
431
434
|
id: z.ZodString;
|
|
432
435
|
}, z.core.$strict>], "type">;
|
|
436
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
437
|
+
kind: z.ZodString;
|
|
438
|
+
id: z.ZodString;
|
|
439
|
+
}, z.core.$strip>>;
|
|
433
440
|
}, z.core.$strip>>;
|
|
434
441
|
}, z.core.$strip>;
|
|
435
442
|
};
|
|
@@ -444,8 +451,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
444
451
|
completed: "completed";
|
|
445
452
|
cancelled: "cancelled";
|
|
446
453
|
failed: "failed";
|
|
447
|
-
paused: "paused";
|
|
448
454
|
running: "running";
|
|
455
|
+
paused: "paused";
|
|
449
456
|
}>;
|
|
450
457
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
451
458
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -467,6 +474,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
467
474
|
kind: z.ZodString;
|
|
468
475
|
id: z.ZodString;
|
|
469
476
|
}, z.core.$strict>], "type">;
|
|
477
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
478
|
+
kind: z.ZodString;
|
|
479
|
+
id: z.ZodString;
|
|
480
|
+
}, z.core.$strip>>;
|
|
470
481
|
}, z.core.$strip>;
|
|
471
482
|
}, z.core.$strip>;
|
|
472
483
|
response: z.ZodObject<{
|
|
@@ -488,8 +499,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
488
499
|
completed: "completed";
|
|
489
500
|
cancelled: "cancelled";
|
|
490
501
|
failed: "failed";
|
|
491
|
-
paused: "paused";
|
|
492
502
|
running: "running";
|
|
503
|
+
paused: "paused";
|
|
493
504
|
}>;
|
|
494
505
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
495
506
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -511,6 +522,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
511
522
|
kind: z.ZodString;
|
|
512
523
|
id: z.ZodString;
|
|
513
524
|
}, z.core.$strict>], "type">;
|
|
525
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
526
|
+
kind: z.ZodString;
|
|
527
|
+
id: z.ZodString;
|
|
528
|
+
}, z.core.$strip>>;
|
|
514
529
|
}, z.core.$strip>;
|
|
515
530
|
runContext: z.ZodObject<{
|
|
516
531
|
executionId: z.ZodString;
|
|
@@ -715,8 +730,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
715
730
|
completed: "completed";
|
|
716
731
|
cancelled: "cancelled";
|
|
717
732
|
failed: "failed";
|
|
718
|
-
paused: "paused";
|
|
719
733
|
running: "running";
|
|
734
|
+
paused: "paused";
|
|
720
735
|
}>>;
|
|
721
736
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
722
737
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -750,6 +765,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
750
765
|
}>;
|
|
751
766
|
timeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
752
767
|
resumeData: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
768
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
753
769
|
createdAt: z.ZodNumber;
|
|
754
770
|
resolvedAt: z.ZodOptional<z.ZodNumber>;
|
|
755
771
|
status: z.ZodLiteral<"cancelled">;
|
|
@@ -783,9 +799,13 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
783
799
|
completed: "completed";
|
|
784
800
|
cancelled: "cancelled";
|
|
785
801
|
failed: "failed";
|
|
786
|
-
paused: "paused";
|
|
787
802
|
running: "running";
|
|
803
|
+
paused: "paused";
|
|
788
804
|
}>>;
|
|
805
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
806
|
+
kind: z.ZodString;
|
|
807
|
+
id: z.ZodString;
|
|
808
|
+
}, z.core.$strip>>;
|
|
789
809
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
790
810
|
cursor: z.ZodOptional<z.ZodObject<{
|
|
791
811
|
startedAt: z.ZodNumber;
|
|
@@ -802,8 +822,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
802
822
|
completed: "completed";
|
|
803
823
|
cancelled: "cancelled";
|
|
804
824
|
failed: "failed";
|
|
805
|
-
paused: "paused";
|
|
806
825
|
running: "running";
|
|
826
|
+
paused: "paused";
|
|
807
827
|
}>;
|
|
808
828
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
809
829
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -825,6 +845,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
825
845
|
kind: z.ZodString;
|
|
826
846
|
id: z.ZodString;
|
|
827
847
|
}, z.core.$strict>], "type">;
|
|
848
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
849
|
+
kind: z.ZodString;
|
|
850
|
+
id: z.ZodString;
|
|
851
|
+
}, z.core.$strip>>;
|
|
828
852
|
}, z.core.$strip>>;
|
|
829
853
|
}, z.core.$strip>;
|
|
830
854
|
};
|
|
@@ -858,8 +882,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
858
882
|
cancelled: "cancelled";
|
|
859
883
|
failed: "failed";
|
|
860
884
|
running: "running";
|
|
861
|
-
waiting: "waiting";
|
|
862
885
|
skipped: "skipped";
|
|
886
|
+
waiting: "waiting";
|
|
863
887
|
}>;
|
|
864
888
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
865
889
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -903,8 +927,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
903
927
|
cancelled: "cancelled";
|
|
904
928
|
failed: "failed";
|
|
905
929
|
running: "running";
|
|
906
|
-
waiting: "waiting";
|
|
907
930
|
skipped: "skipped";
|
|
931
|
+
waiting: "waiting";
|
|
908
932
|
}>;
|
|
909
933
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
910
934
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -945,8 +969,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
945
969
|
cancelled: "cancelled";
|
|
946
970
|
failed: "failed";
|
|
947
971
|
running: "running";
|
|
948
|
-
waiting: "waiting";
|
|
949
972
|
skipped: "skipped";
|
|
973
|
+
waiting: "waiting";
|
|
950
974
|
}>;
|
|
951
975
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
952
976
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -973,8 +997,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
973
997
|
status: z.ZodEnum<{
|
|
974
998
|
cancelled: "cancelled";
|
|
975
999
|
rejected: "rejected";
|
|
976
|
-
waiting: "waiting";
|
|
977
1000
|
resumed: "resumed";
|
|
1001
|
+
waiting: "waiting";
|
|
978
1002
|
"timed-out": "timed-out";
|
|
979
1003
|
}>;
|
|
980
1004
|
autoAction: z.ZodEnum<{
|
|
@@ -983,6 +1007,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
983
1007
|
}>;
|
|
984
1008
|
timeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
985
1009
|
resumeData: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
1010
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
986
1011
|
createdAt: z.ZodNumber;
|
|
987
1012
|
resolvedAt: z.ZodOptional<z.ZodNumber>;
|
|
988
1013
|
}, z.core.$strip>;
|
|
@@ -1012,6 +1037,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1012
1037
|
}>;
|
|
1013
1038
|
timeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
1014
1039
|
resumeData: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
1040
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1015
1041
|
createdAt: z.ZodNumber;
|
|
1016
1042
|
resolvedAt: z.ZodOptional<z.ZodNumber>;
|
|
1017
1043
|
status: z.ZodEnum<{
|
|
@@ -1054,6 +1080,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1054
1080
|
kind: z.ZodString;
|
|
1055
1081
|
id: z.ZodString;
|
|
1056
1082
|
}, z.core.$strict>], "type">;
|
|
1083
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
1084
|
+
kind: z.ZodString;
|
|
1085
|
+
id: z.ZodString;
|
|
1086
|
+
}, z.core.$strip>>;
|
|
1057
1087
|
status: z.ZodLiteral<"paused">;
|
|
1058
1088
|
}, z.core.$strip>;
|
|
1059
1089
|
gate: z.ZodObject<{
|
|
@@ -1068,6 +1098,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1068
1098
|
}>;
|
|
1069
1099
|
timeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
1070
1100
|
resumeData: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
1101
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1071
1102
|
createdAt: z.ZodNumber;
|
|
1072
1103
|
resolvedAt: z.ZodOptional<z.ZodNumber>;
|
|
1073
1104
|
status: z.ZodLiteral<"waiting">;
|
|
@@ -1098,8 +1129,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1098
1129
|
status: z.ZodEnum<{
|
|
1099
1130
|
cancelled: "cancelled";
|
|
1100
1131
|
rejected: "rejected";
|
|
1101
|
-
waiting: "waiting";
|
|
1102
1132
|
resumed: "resumed";
|
|
1133
|
+
waiting: "waiting";
|
|
1103
1134
|
"timed-out": "timed-out";
|
|
1104
1135
|
}>;
|
|
1105
1136
|
autoAction: z.ZodEnum<{
|
|
@@ -1108,17 +1139,26 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1108
1139
|
}>;
|
|
1109
1140
|
timeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
1110
1141
|
resumeData: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
1142
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1111
1143
|
createdAt: z.ZodNumber;
|
|
1112
1144
|
resolvedAt: z.ZodOptional<z.ZodNumber>;
|
|
1113
1145
|
}, z.core.$strip>>;
|
|
1114
1146
|
}, z.core.$strip>;
|
|
1115
1147
|
};
|
|
1116
1148
|
/**
|
|
1117
|
-
* List
|
|
1149
|
+
* List gate instances by execution and/or status (bounded query).
|
|
1118
1150
|
*/
|
|
1119
1151
|
listGateInstances: {
|
|
1120
1152
|
request: z.ZodObject<{
|
|
1121
|
-
executionId: z.ZodString
|
|
1153
|
+
executionId: z.ZodOptional<z.ZodString>;
|
|
1154
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1155
|
+
cancelled: "cancelled";
|
|
1156
|
+
rejected: "rejected";
|
|
1157
|
+
resumed: "resumed";
|
|
1158
|
+
waiting: "waiting";
|
|
1159
|
+
"timed-out": "timed-out";
|
|
1160
|
+
}>>;
|
|
1161
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
1122
1162
|
}, z.core.$strip>;
|
|
1123
1163
|
response: z.ZodObject<{
|
|
1124
1164
|
gates: z.ZodArray<z.ZodObject<{
|
|
@@ -1130,8 +1170,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1130
1170
|
status: z.ZodEnum<{
|
|
1131
1171
|
cancelled: "cancelled";
|
|
1132
1172
|
rejected: "rejected";
|
|
1133
|
-
waiting: "waiting";
|
|
1134
1173
|
resumed: "resumed";
|
|
1174
|
+
waiting: "waiting";
|
|
1135
1175
|
"timed-out": "timed-out";
|
|
1136
1176
|
}>;
|
|
1137
1177
|
autoAction: z.ZodEnum<{
|
|
@@ -1140,6 +1180,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1140
1180
|
}>;
|
|
1141
1181
|
timeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
1142
1182
|
resumeData: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
1183
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1143
1184
|
createdAt: z.ZodNumber;
|
|
1144
1185
|
resolvedAt: z.ZodOptional<z.ZodNumber>;
|
|
1145
1186
|
}, z.core.$strip>>;
|
|
@@ -1164,8 +1205,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1164
1205
|
status: z.ZodEnum<{
|
|
1165
1206
|
cancelled: "cancelled";
|
|
1166
1207
|
rejected: "rejected";
|
|
1167
|
-
waiting: "waiting";
|
|
1168
1208
|
resumed: "resumed";
|
|
1209
|
+
waiting: "waiting";
|
|
1169
1210
|
"timed-out": "timed-out";
|
|
1170
1211
|
}>;
|
|
1171
1212
|
autoAction: z.ZodEnum<{
|
|
@@ -1174,6 +1215,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1174
1215
|
}>;
|
|
1175
1216
|
timeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
1176
1217
|
resumeData: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
1218
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1177
1219
|
createdAt: z.ZodNumber;
|
|
1178
1220
|
resolvedAt: z.ZodOptional<z.ZodNumber>;
|
|
1179
1221
|
}, z.core.$strip>>;
|
|
@@ -1685,7 +1727,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1685
1727
|
schema: undefined;
|
|
1686
1728
|
columns: {
|
|
1687
1729
|
createdAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1688
|
-
name:
|
|
1730
|
+
name: string;
|
|
1689
1731
|
tableName: "workflow_definitions";
|
|
1690
1732
|
dataType: "number";
|
|
1691
1733
|
columnType: "SQLiteInteger";
|
|
@@ -1702,7 +1744,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1702
1744
|
generated: undefined;
|
|
1703
1745
|
}, {}, {}>;
|
|
1704
1746
|
updatedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1705
|
-
name:
|
|
1747
|
+
name: string;
|
|
1706
1748
|
tableName: "workflow_definitions";
|
|
1707
1749
|
dataType: "number";
|
|
1708
1750
|
columnType: "SQLiteInteger";
|
|
@@ -1719,7 +1761,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1719
1761
|
generated: undefined;
|
|
1720
1762
|
}, {}, {}>;
|
|
1721
1763
|
canvasLayout: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1722
|
-
name:
|
|
1764
|
+
name: string;
|
|
1723
1765
|
tableName: "workflow_definitions";
|
|
1724
1766
|
dataType: "json";
|
|
1725
1767
|
columnType: "SQLiteTextJson";
|
|
@@ -1738,7 +1780,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1738
1780
|
$type: Record<string, _$_makaio_contracts0.JsonValue>;
|
|
1739
1781
|
}>;
|
|
1740
1782
|
source: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1741
|
-
name:
|
|
1783
|
+
name: string;
|
|
1742
1784
|
tableName: "workflow_definitions";
|
|
1743
1785
|
dataType: "json";
|
|
1744
1786
|
columnType: "SQLiteTextJson";
|
|
@@ -1773,7 +1815,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1773
1815
|
};
|
|
1774
1816
|
}>;
|
|
1775
1817
|
executionHints: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1776
|
-
name:
|
|
1818
|
+
name: string;
|
|
1777
1819
|
tableName: "workflow_definitions";
|
|
1778
1820
|
dataType: "json";
|
|
1779
1821
|
columnType: "SQLiteTextJson";
|
|
@@ -1939,7 +1981,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1939
1981
|
length: number | undefined;
|
|
1940
1982
|
}>;
|
|
1941
1983
|
root: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1942
|
-
name:
|
|
1984
|
+
name: string;
|
|
1943
1985
|
tableName: "workflow_definitions";
|
|
1944
1986
|
dataType: "json";
|
|
1945
1987
|
columnType: "SQLiteTextJson";
|
|
@@ -1988,7 +2030,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1988
2030
|
};
|
|
1989
2031
|
}>;
|
|
1990
2032
|
inputSchema: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
1991
|
-
name:
|
|
2033
|
+
name: string;
|
|
1992
2034
|
tableName: "workflow_definitions";
|
|
1993
2035
|
dataType: "json";
|
|
1994
2036
|
columnType: "SQLiteTextJson";
|
|
@@ -2007,7 +2049,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2007
2049
|
$type: Record<string, _$_makaio_contracts0.JsonValue>;
|
|
2008
2050
|
}>;
|
|
2009
2051
|
configSchema: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2010
|
-
name:
|
|
2052
|
+
name: string;
|
|
2011
2053
|
tableName: "workflow_definitions";
|
|
2012
2054
|
dataType: "json";
|
|
2013
2055
|
columnType: "SQLiteTextJson";
|
|
@@ -2026,7 +2068,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2026
2068
|
$type: Record<string, _$_makaio_contracts0.JsonValue>;
|
|
2027
2069
|
}>;
|
|
2028
2070
|
outputSchema: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2029
|
-
name:
|
|
2071
|
+
name: string;
|
|
2030
2072
|
tableName: "workflow_definitions";
|
|
2031
2073
|
dataType: "json";
|
|
2032
2074
|
columnType: "SQLiteTextJson";
|
|
@@ -2045,7 +2087,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2045
2087
|
$type: Record<string, _$_makaio_contracts0.JsonValue>;
|
|
2046
2088
|
}>;
|
|
2047
2089
|
artifact: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2048
|
-
name:
|
|
2090
|
+
name: string;
|
|
2049
2091
|
tableName: "workflow_definitions";
|
|
2050
2092
|
dataType: "json";
|
|
2051
2093
|
columnType: "SQLiteTextJson";
|
|
@@ -2084,7 +2126,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2084
2126
|
} | undefined;
|
|
2085
2127
|
}>;
|
|
2086
2128
|
triggers: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2087
|
-
name:
|
|
2129
|
+
name: string;
|
|
2088
2130
|
tableName: "workflow_definitions";
|
|
2089
2131
|
dataType: "json";
|
|
2090
2132
|
columnType: "SQLiteTextJson";
|
|
@@ -2289,7 +2331,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2289
2331
|
tableName: "workflow_executions";
|
|
2290
2332
|
dataType: "string";
|
|
2291
2333
|
columnType: "SQLiteText";
|
|
2292
|
-
data: "pending" | "completed" | "cancelled" | "failed" | "
|
|
2334
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "paused";
|
|
2293
2335
|
driverParam: string;
|
|
2294
2336
|
notNull: true;
|
|
2295
2337
|
hasDefault: false;
|
|
@@ -2304,7 +2346,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2304
2346
|
length: number | undefined;
|
|
2305
2347
|
}>;
|
|
2306
2348
|
inputs: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2307
|
-
name:
|
|
2349
|
+
name: string;
|
|
2308
2350
|
tableName: "workflow_executions";
|
|
2309
2351
|
dataType: "json";
|
|
2310
2352
|
columnType: "SQLiteTextJson";
|
|
@@ -2361,7 +2403,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2361
2403
|
length: number | undefined;
|
|
2362
2404
|
}>;
|
|
2363
2405
|
startedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2364
|
-
name:
|
|
2406
|
+
name: string;
|
|
2365
2407
|
tableName: "workflow_executions";
|
|
2366
2408
|
dataType: "number";
|
|
2367
2409
|
columnType: "SQLiteInteger";
|
|
@@ -2378,7 +2420,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2378
2420
|
generated: undefined;
|
|
2379
2421
|
}, {}, {}>;
|
|
2380
2422
|
completedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2381
|
-
name:
|
|
2423
|
+
name: string;
|
|
2382
2424
|
tableName: "workflow_executions";
|
|
2383
2425
|
dataType: "number";
|
|
2384
2426
|
columnType: "SQLiteInteger";
|
|
@@ -2395,7 +2437,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2395
2437
|
generated: undefined;
|
|
2396
2438
|
}, {}, {}>;
|
|
2397
2439
|
triggerPayload: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2398
|
-
name:
|
|
2440
|
+
name: string;
|
|
2399
2441
|
tableName: "workflow_executions";
|
|
2400
2442
|
dataType: "json";
|
|
2401
2443
|
columnType: "SQLiteTextJson";
|
|
@@ -2413,6 +2455,44 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2413
2455
|
}, {}, {
|
|
2414
2456
|
$type: Record<string, _$_makaio_contracts0.JsonValue>;
|
|
2415
2457
|
}>;
|
|
2458
|
+
artifactKind: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2459
|
+
name: "artifact_kind";
|
|
2460
|
+
tableName: "workflow_executions";
|
|
2461
|
+
dataType: "string";
|
|
2462
|
+
columnType: "SQLiteText";
|
|
2463
|
+
data: string;
|
|
2464
|
+
driverParam: string;
|
|
2465
|
+
notNull: false;
|
|
2466
|
+
hasDefault: false;
|
|
2467
|
+
isPrimaryKey: false;
|
|
2468
|
+
isAutoincrement: false;
|
|
2469
|
+
hasRuntimeDefault: false;
|
|
2470
|
+
enumValues: [string, ...string[]];
|
|
2471
|
+
baseColumn: never;
|
|
2472
|
+
identity: undefined;
|
|
2473
|
+
generated: undefined;
|
|
2474
|
+
}, {}, {
|
|
2475
|
+
length: number | undefined;
|
|
2476
|
+
}>;
|
|
2477
|
+
artifactId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2478
|
+
name: "artifact_id";
|
|
2479
|
+
tableName: "workflow_executions";
|
|
2480
|
+
dataType: "string";
|
|
2481
|
+
columnType: "SQLiteText";
|
|
2482
|
+
data: string;
|
|
2483
|
+
driverParam: string;
|
|
2484
|
+
notNull: false;
|
|
2485
|
+
hasDefault: false;
|
|
2486
|
+
isPrimaryKey: false;
|
|
2487
|
+
isAutoincrement: false;
|
|
2488
|
+
hasRuntimeDefault: false;
|
|
2489
|
+
enumValues: [string, ...string[]];
|
|
2490
|
+
baseColumn: never;
|
|
2491
|
+
identity: undefined;
|
|
2492
|
+
generated: undefined;
|
|
2493
|
+
}, {}, {
|
|
2494
|
+
length: number | undefined;
|
|
2495
|
+
}>;
|
|
2416
2496
|
};
|
|
2417
2497
|
dialect: "sqlite";
|
|
2418
2498
|
}>;
|
|
@@ -2498,7 +2578,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2498
2578
|
$type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain";
|
|
2499
2579
|
}>;
|
|
2500
2580
|
path: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2501
|
-
name:
|
|
2581
|
+
name: string;
|
|
2502
2582
|
tableName: "workflow_execution_frames";
|
|
2503
2583
|
dataType: "json";
|
|
2504
2584
|
columnType: "SQLiteTextJson";
|
|
@@ -2540,7 +2620,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2540
2620
|
tableName: "workflow_execution_frames";
|
|
2541
2621
|
dataType: "string";
|
|
2542
2622
|
columnType: "SQLiteText";
|
|
2543
|
-
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "
|
|
2623
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
|
|
2544
2624
|
driverParam: string;
|
|
2545
2625
|
notNull: true;
|
|
2546
2626
|
hasDefault: true;
|
|
@@ -2553,10 +2633,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2553
2633
|
generated: undefined;
|
|
2554
2634
|
}, {}, {
|
|
2555
2635
|
length: number | undefined;
|
|
2556
|
-
$type: "pending" | "completed" | "cancelled" | "failed" | "running" | "
|
|
2636
|
+
$type: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
|
|
2557
2637
|
}>;
|
|
2558
2638
|
attempt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2559
|
-
name:
|
|
2639
|
+
name: string;
|
|
2560
2640
|
tableName: "workflow_execution_frames";
|
|
2561
2641
|
dataType: "number";
|
|
2562
2642
|
columnType: "SQLiteInteger";
|
|
@@ -2573,7 +2653,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2573
2653
|
generated: undefined;
|
|
2574
2654
|
}, {}, {}>;
|
|
2575
2655
|
iteration: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2576
|
-
name:
|
|
2656
|
+
name: string;
|
|
2577
2657
|
tableName: "workflow_execution_frames";
|
|
2578
2658
|
dataType: "number";
|
|
2579
2659
|
columnType: "SQLiteInteger";
|
|
@@ -2609,7 +2689,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2609
2689
|
length: number | undefined;
|
|
2610
2690
|
}>;
|
|
2611
2691
|
output: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2612
|
-
name:
|
|
2692
|
+
name: string;
|
|
2613
2693
|
tableName: "workflow_execution_frames";
|
|
2614
2694
|
dataType: "json";
|
|
2615
2695
|
columnType: "SQLiteTextJson";
|
|
@@ -2628,7 +2708,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2628
2708
|
$type: _$_makaio_contracts0.JsonValue;
|
|
2629
2709
|
}>;
|
|
2630
2710
|
outputPresent: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2631
|
-
name:
|
|
2711
|
+
name: string;
|
|
2632
2712
|
tableName: "workflow_execution_frames";
|
|
2633
2713
|
dataType: "boolean";
|
|
2634
2714
|
columnType: "SQLiteBoolean";
|
|
@@ -2664,7 +2744,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2664
2744
|
length: number | undefined;
|
|
2665
2745
|
}>;
|
|
2666
2746
|
startedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2667
|
-
name:
|
|
2747
|
+
name: string;
|
|
2668
2748
|
tableName: "workflow_execution_frames";
|
|
2669
2749
|
dataType: "number";
|
|
2670
2750
|
columnType: "SQLiteInteger";
|
|
@@ -2681,7 +2761,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2681
2761
|
generated: undefined;
|
|
2682
2762
|
}, {}, {}>;
|
|
2683
2763
|
completedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2684
|
-
name:
|
|
2764
|
+
name: string;
|
|
2685
2765
|
tableName: "workflow_execution_frames";
|
|
2686
2766
|
dataType: "number";
|
|
2687
2767
|
columnType: "SQLiteInteger";
|
|
@@ -2781,7 +2861,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2781
2861
|
length: number | undefined;
|
|
2782
2862
|
}>;
|
|
2783
2863
|
schema: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2784
|
-
name:
|
|
2864
|
+
name: string;
|
|
2785
2865
|
tableName: "workflow_gate_instances";
|
|
2786
2866
|
dataType: "json";
|
|
2787
2867
|
columnType: "SQLiteTextJson";
|
|
@@ -2823,7 +2903,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2823
2903
|
tableName: "workflow_gate_instances";
|
|
2824
2904
|
dataType: "string";
|
|
2825
2905
|
columnType: "SQLiteText";
|
|
2826
|
-
data: "cancelled" | "rejected" | "
|
|
2906
|
+
data: "cancelled" | "rejected" | "resumed" | "waiting" | "timed-out";
|
|
2827
2907
|
driverParam: string;
|
|
2828
2908
|
notNull: true;
|
|
2829
2909
|
hasDefault: true;
|
|
@@ -2836,7 +2916,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2836
2916
|
generated: undefined;
|
|
2837
2917
|
}, {}, {
|
|
2838
2918
|
length: number | undefined;
|
|
2839
|
-
$type: "cancelled" | "rejected" | "
|
|
2919
|
+
$type: "cancelled" | "rejected" | "resumed" | "waiting" | "timed-out";
|
|
2840
2920
|
}>;
|
|
2841
2921
|
autoAction: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2842
2922
|
name: "auto_action";
|
|
@@ -2858,7 +2938,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2858
2938
|
length: number | undefined;
|
|
2859
2939
|
}>;
|
|
2860
2940
|
timeoutMs: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2861
|
-
name:
|
|
2941
|
+
name: string;
|
|
2862
2942
|
tableName: "workflow_gate_instances";
|
|
2863
2943
|
dataType: "number";
|
|
2864
2944
|
columnType: "SQLiteInteger";
|
|
@@ -2875,7 +2955,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2875
2955
|
generated: undefined;
|
|
2876
2956
|
}, {}, {}>;
|
|
2877
2957
|
resumeData: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2878
|
-
name:
|
|
2958
|
+
name: string;
|
|
2879
2959
|
tableName: "workflow_gate_instances";
|
|
2880
2960
|
dataType: "json";
|
|
2881
2961
|
columnType: "SQLiteTextJson";
|
|
@@ -2893,8 +2973,27 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2893
2973
|
}, {}, {
|
|
2894
2974
|
$type: _$_makaio_contracts0.JsonValue;
|
|
2895
2975
|
}>;
|
|
2976
|
+
reason: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2977
|
+
name: "reason";
|
|
2978
|
+
tableName: "workflow_gate_instances";
|
|
2979
|
+
dataType: "string";
|
|
2980
|
+
columnType: "SQLiteText";
|
|
2981
|
+
data: string;
|
|
2982
|
+
driverParam: string;
|
|
2983
|
+
notNull: false;
|
|
2984
|
+
hasDefault: false;
|
|
2985
|
+
isPrimaryKey: false;
|
|
2986
|
+
isAutoincrement: false;
|
|
2987
|
+
hasRuntimeDefault: false;
|
|
2988
|
+
enumValues: [string, ...string[]];
|
|
2989
|
+
baseColumn: never;
|
|
2990
|
+
identity: undefined;
|
|
2991
|
+
generated: undefined;
|
|
2992
|
+
}, {}, {
|
|
2993
|
+
length: number | undefined;
|
|
2994
|
+
}>;
|
|
2896
2995
|
resumeDataPresent: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2897
|
-
name:
|
|
2996
|
+
name: string;
|
|
2898
2997
|
tableName: "workflow_gate_instances";
|
|
2899
2998
|
dataType: "boolean";
|
|
2900
2999
|
columnType: "SQLiteBoolean";
|
|
@@ -2911,7 +3010,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2911
3010
|
generated: undefined;
|
|
2912
3011
|
}, {}, {}>;
|
|
2913
3012
|
createdAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2914
|
-
name:
|
|
3013
|
+
name: string;
|
|
2915
3014
|
tableName: "workflow_gate_instances";
|
|
2916
3015
|
dataType: "number";
|
|
2917
3016
|
columnType: "SQLiteInteger";
|
|
@@ -2928,7 +3027,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2928
3027
|
generated: undefined;
|
|
2929
3028
|
}, {}, {}>;
|
|
2930
3029
|
resolvedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2931
|
-
name:
|
|
3030
|
+
name: string;
|
|
2932
3031
|
tableName: "workflow_gate_instances";
|
|
2933
3032
|
dataType: "number";
|
|
2934
3033
|
columnType: "SQLiteInteger";
|
|
@@ -3048,7 +3147,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3048
3147
|
$type: "completed" | "failed" | "running" | "skipped";
|
|
3049
3148
|
}>;
|
|
3050
3149
|
startedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3051
|
-
name:
|
|
3150
|
+
name: string;
|
|
3052
3151
|
tableName: "workflow_step_spans";
|
|
3053
3152
|
dataType: "number";
|
|
3054
3153
|
columnType: "SQLiteInteger";
|
|
@@ -3065,7 +3164,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3065
3164
|
generated: undefined;
|
|
3066
3165
|
}, {}, {}>;
|
|
3067
3166
|
completedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3068
|
-
name:
|
|
3167
|
+
name: string;
|
|
3069
3168
|
tableName: "workflow_step_spans";
|
|
3070
3169
|
dataType: "number";
|
|
3071
3170
|
columnType: "SQLiteInteger";
|
|
@@ -3082,7 +3181,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3082
3181
|
generated: undefined;
|
|
3083
3182
|
}, {}, {}>;
|
|
3084
3183
|
durationMs: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3085
|
-
name:
|
|
3184
|
+
name: string;
|
|
3086
3185
|
tableName: "workflow_step_spans";
|
|
3087
3186
|
dataType: "number";
|
|
3088
3187
|
columnType: "SQLiteInteger";
|
|
@@ -3099,7 +3198,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3099
3198
|
generated: undefined;
|
|
3100
3199
|
}, {}, {}>;
|
|
3101
3200
|
inputTokens: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3102
|
-
name:
|
|
3201
|
+
name: string;
|
|
3103
3202
|
tableName: "workflow_step_spans";
|
|
3104
3203
|
dataType: "number";
|
|
3105
3204
|
columnType: "SQLiteInteger";
|
|
@@ -3116,7 +3215,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3116
3215
|
generated: undefined;
|
|
3117
3216
|
}, {}, {}>;
|
|
3118
3217
|
outputTokens: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3119
|
-
name:
|
|
3218
|
+
name: string;
|
|
3120
3219
|
tableName: "workflow_step_spans";
|
|
3121
3220
|
dataType: "number";
|
|
3122
3221
|
columnType: "SQLiteInteger";
|
|
@@ -3133,7 +3232,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3133
3232
|
generated: undefined;
|
|
3134
3233
|
}, {}, {}>;
|
|
3135
3234
|
estimatedCost: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3136
|
-
name:
|
|
3235
|
+
name: string;
|
|
3137
3236
|
tableName: "workflow_step_spans";
|
|
3138
3237
|
dataType: "number";
|
|
3139
3238
|
columnType: "SQLiteReal";
|
|
@@ -3150,7 +3249,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3150
3249
|
generated: undefined;
|
|
3151
3250
|
}, {}, {}>;
|
|
3152
3251
|
toolCallCount: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3153
|
-
name:
|
|
3252
|
+
name: string;
|
|
3154
3253
|
tableName: "workflow_step_spans";
|
|
3155
3254
|
dataType: "number";
|
|
3156
3255
|
columnType: "SQLiteInteger";
|
|
@@ -3270,7 +3369,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3270
3369
|
$type: "triggered-by" | "feedback-loop";
|
|
3271
3370
|
}>;
|
|
3272
3371
|
metadata: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3273
|
-
name:
|
|
3372
|
+
name: string;
|
|
3274
3373
|
tableName: "workflow_execution_links";
|
|
3275
3374
|
dataType: "json";
|
|
3276
3375
|
columnType: "SQLiteTextJson";
|
|
@@ -3429,7 +3528,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3429
3528
|
length: number | undefined;
|
|
3430
3529
|
}>;
|
|
3431
3530
|
definitionSnapshot: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3432
|
-
name:
|
|
3531
|
+
name: string;
|
|
3433
3532
|
tableName: "workflow_run_contexts";
|
|
3434
3533
|
dataType: "json";
|
|
3435
3534
|
columnType: "SQLiteTextJson";
|
|
@@ -3658,7 +3757,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3658
3757
|
};
|
|
3659
3758
|
}>;
|
|
3660
3759
|
workerManifest: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3661
|
-
name:
|
|
3760
|
+
name: string;
|
|
3662
3761
|
tableName: "workflow_run_contexts";
|
|
3663
3762
|
dataType: "json";
|
|
3664
3763
|
columnType: "SQLiteTextJson";
|
|
@@ -3687,7 +3786,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3687
3786
|
};
|
|
3688
3787
|
}>;
|
|
3689
3788
|
inputs: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3690
|
-
name:
|
|
3789
|
+
name: string;
|
|
3691
3790
|
tableName: "workflow_run_contexts";
|
|
3692
3791
|
dataType: "json";
|
|
3693
3792
|
columnType: "SQLiteTextJson";
|
|
@@ -3706,7 +3805,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3706
3805
|
$type: _$_makaio_contracts0.JsonValue;
|
|
3707
3806
|
}>;
|
|
3708
3807
|
config: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3709
|
-
name:
|
|
3808
|
+
name: string;
|
|
3710
3809
|
tableName: "workflow_run_contexts";
|
|
3711
3810
|
dataType: "json";
|
|
3712
3811
|
columnType: "SQLiteTextJson";
|
|
@@ -3725,7 +3824,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3725
3824
|
$type: Record<string, _$_makaio_contracts0.JsonValue>;
|
|
3726
3825
|
}>;
|
|
3727
3826
|
triggerPayload: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3728
|
-
name:
|
|
3827
|
+
name: string;
|
|
3729
3828
|
tableName: "workflow_run_contexts";
|
|
3730
3829
|
dataType: "json";
|
|
3731
3830
|
columnType: "SQLiteTextJson";
|
|
@@ -3744,7 +3843,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3744
3843
|
$type: Record<string, _$_makaio_contracts0.JsonValue>;
|
|
3745
3844
|
}>;
|
|
3746
3845
|
artifactRef: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3747
|
-
name:
|
|
3846
|
+
name: string;
|
|
3748
3847
|
tableName: "workflow_run_contexts";
|
|
3749
3848
|
dataType: "json";
|
|
3750
3849
|
columnType: "SQLiteTextJson";
|
|
@@ -3769,7 +3868,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3769
3868
|
} | undefined;
|
|
3770
3869
|
}>;
|
|
3771
3870
|
executionHints: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3772
|
-
name:
|
|
3871
|
+
name: string;
|
|
3773
3872
|
tableName: "workflow_run_contexts";
|
|
3774
3873
|
dataType: "json";
|
|
3775
3874
|
columnType: "SQLiteTextJson";
|
|
@@ -3820,7 +3919,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3820
3919
|
} | undefined;
|
|
3821
3920
|
}>;
|
|
3822
3921
|
dispatchMetadata: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3823
|
-
name:
|
|
3922
|
+
name: string;
|
|
3824
3923
|
tableName: "workflow_run_contexts";
|
|
3825
3924
|
dataType: "json";
|
|
3826
3925
|
columnType: "SQLiteTextJson";
|
|
@@ -3916,7 +4015,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3916
4015
|
length: number | undefined;
|
|
3917
4016
|
}>;
|
|
3918
4017
|
context: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3919
|
-
name:
|
|
4018
|
+
name: string;
|
|
3920
4019
|
tableName: "workflow_run_contexts";
|
|
3921
4020
|
dataType: "json";
|
|
3922
4021
|
columnType: "SQLiteTextJson";
|
|
@@ -3947,7 +4046,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3947
4046
|
};
|
|
3948
4047
|
}>;
|
|
3949
4048
|
env: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3950
|
-
name:
|
|
4049
|
+
name: string;
|
|
3951
4050
|
tableName: "workflow_run_contexts";
|
|
3952
4051
|
dataType: "json";
|
|
3953
4052
|
columnType: "SQLiteTextJson";
|
|
@@ -3966,7 +4065,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3966
4065
|
$type: Record<string, string>;
|
|
3967
4066
|
}>;
|
|
3968
4067
|
createdAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3969
|
-
name:
|
|
4068
|
+
name: string;
|
|
3970
4069
|
tableName: "workflow_run_contexts";
|
|
3971
4070
|
dataType: "number";
|
|
3972
4071
|
columnType: "SQLiteInteger";
|
|
@@ -4071,7 +4170,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4071
4170
|
tableName: "worklog_summaries";
|
|
4072
4171
|
dataType: "string";
|
|
4073
4172
|
columnType: "SQLiteText";
|
|
4074
|
-
data: "pending" | "completed" | "cancelled" | "failed" | "
|
|
4173
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "paused";
|
|
4075
4174
|
driverParam: string;
|
|
4076
4175
|
notNull: true;
|
|
4077
4176
|
hasDefault: false;
|
|
@@ -4086,7 +4185,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4086
4185
|
length: number | undefined;
|
|
4087
4186
|
}>;
|
|
4088
4187
|
startedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4089
|
-
name:
|
|
4188
|
+
name: string;
|
|
4090
4189
|
tableName: "worklog_summaries";
|
|
4091
4190
|
dataType: "number";
|
|
4092
4191
|
columnType: "SQLiteInteger";
|
|
@@ -4103,7 +4202,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4103
4202
|
generated: undefined;
|
|
4104
4203
|
}, {}, {}>;
|
|
4105
4204
|
completedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4106
|
-
name:
|
|
4205
|
+
name: string;
|
|
4107
4206
|
tableName: "worklog_summaries";
|
|
4108
4207
|
dataType: "number";
|
|
4109
4208
|
columnType: "SQLiteInteger";
|
|
@@ -4120,7 +4219,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4120
4219
|
generated: undefined;
|
|
4121
4220
|
}, {}, {}>;
|
|
4122
4221
|
durationMs: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4123
|
-
name:
|
|
4222
|
+
name: string;
|
|
4124
4223
|
tableName: "worklog_summaries";
|
|
4125
4224
|
dataType: "number";
|
|
4126
4225
|
columnType: "SQLiteInteger";
|
|
@@ -4137,7 +4236,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4137
4236
|
generated: undefined;
|
|
4138
4237
|
}, {}, {}>;
|
|
4139
4238
|
totalInputTokens: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4140
|
-
name:
|
|
4239
|
+
name: string;
|
|
4141
4240
|
tableName: "worklog_summaries";
|
|
4142
4241
|
dataType: "number";
|
|
4143
4242
|
columnType: "SQLiteInteger";
|
|
@@ -4154,7 +4253,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4154
4253
|
generated: undefined;
|
|
4155
4254
|
}, {}, {}>;
|
|
4156
4255
|
totalOutputTokens: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4157
|
-
name:
|
|
4256
|
+
name: string;
|
|
4158
4257
|
tableName: "worklog_summaries";
|
|
4159
4258
|
dataType: "number";
|
|
4160
4259
|
columnType: "SQLiteInteger";
|
|
@@ -4171,7 +4270,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4171
4270
|
generated: undefined;
|
|
4172
4271
|
}, {}, {}>;
|
|
4173
4272
|
totalEstimatedCost: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4174
|
-
name:
|
|
4273
|
+
name: string;
|
|
4175
4274
|
tableName: "worklog_summaries";
|
|
4176
4275
|
dataType: "number";
|
|
4177
4276
|
columnType: "SQLiteReal";
|
|
@@ -4310,7 +4409,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4310
4409
|
$type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain";
|
|
4311
4410
|
}>;
|
|
4312
4411
|
path: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4313
|
-
name:
|
|
4412
|
+
name: string;
|
|
4314
4413
|
tableName: "worklog_frame_entries";
|
|
4315
4414
|
dataType: "json";
|
|
4316
4415
|
columnType: "SQLiteTextJson";
|
|
@@ -4333,7 +4432,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4333
4432
|
tableName: "worklog_frame_entries";
|
|
4334
4433
|
dataType: "string";
|
|
4335
4434
|
columnType: "SQLiteText";
|
|
4336
|
-
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "
|
|
4435
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
|
|
4337
4436
|
driverParam: string;
|
|
4338
4437
|
notNull: true;
|
|
4339
4438
|
hasDefault: false;
|
|
@@ -4348,7 +4447,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4348
4447
|
length: number | undefined;
|
|
4349
4448
|
}>;
|
|
4350
4449
|
attempt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4351
|
-
name:
|
|
4450
|
+
name: string;
|
|
4352
4451
|
tableName: "worklog_frame_entries";
|
|
4353
4452
|
dataType: "number";
|
|
4354
4453
|
columnType: "SQLiteInteger";
|
|
@@ -4365,7 +4464,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4365
4464
|
generated: undefined;
|
|
4366
4465
|
}, {}, {}>;
|
|
4367
4466
|
iteration: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4368
|
-
name:
|
|
4467
|
+
name: string;
|
|
4369
4468
|
tableName: "worklog_frame_entries";
|
|
4370
4469
|
dataType: "number";
|
|
4371
4470
|
columnType: "SQLiteInteger";
|
|
@@ -4401,7 +4500,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4401
4500
|
length: number | undefined;
|
|
4402
4501
|
}>;
|
|
4403
4502
|
startedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4404
|
-
name:
|
|
4503
|
+
name: string;
|
|
4405
4504
|
tableName: "worklog_frame_entries";
|
|
4406
4505
|
dataType: "number";
|
|
4407
4506
|
columnType: "SQLiteInteger";
|
|
@@ -4418,7 +4517,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4418
4517
|
generated: undefined;
|
|
4419
4518
|
}, {}, {}>;
|
|
4420
4519
|
completedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4421
|
-
name:
|
|
4520
|
+
name: string;
|
|
4422
4521
|
tableName: "worklog_frame_entries";
|
|
4423
4522
|
dataType: "number";
|
|
4424
4523
|
columnType: "SQLiteInteger";
|
|
@@ -4435,7 +4534,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4435
4534
|
generated: undefined;
|
|
4436
4535
|
}, {}, {}>;
|
|
4437
4536
|
durationMs: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4438
|
-
name:
|
|
4537
|
+
name: string;
|
|
4439
4538
|
tableName: "worklog_frame_entries";
|
|
4440
4539
|
dataType: "number";
|
|
4441
4540
|
columnType: "SQLiteInteger";
|
|
@@ -4452,7 +4551,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4452
4551
|
generated: undefined;
|
|
4453
4552
|
}, {}, {}>;
|
|
4454
4553
|
inputTokens: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4455
|
-
name:
|
|
4554
|
+
name: string;
|
|
4456
4555
|
tableName: "worklog_frame_entries";
|
|
4457
4556
|
dataType: "number";
|
|
4458
4557
|
columnType: "SQLiteInteger";
|
|
@@ -4469,7 +4568,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4469
4568
|
generated: undefined;
|
|
4470
4569
|
}, {}, {}>;
|
|
4471
4570
|
outputTokens: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4472
|
-
name:
|
|
4571
|
+
name: string;
|
|
4473
4572
|
tableName: "worklog_frame_entries";
|
|
4474
4573
|
dataType: "number";
|
|
4475
4574
|
columnType: "SQLiteInteger";
|
|
@@ -4486,7 +4585,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4486
4585
|
generated: undefined;
|
|
4487
4586
|
}, {}, {}>;
|
|
4488
4587
|
estimatedCost: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4489
|
-
name:
|
|
4588
|
+
name: string;
|
|
4490
4589
|
tableName: "worklog_frame_entries";
|
|
4491
4590
|
dataType: "number";
|
|
4492
4591
|
columnType: "SQLiteReal";
|
|
@@ -4605,7 +4704,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4605
4704
|
length: number | undefined;
|
|
4606
4705
|
}>;
|
|
4607
4706
|
artifact: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4608
|
-
name:
|
|
4707
|
+
name: string;
|
|
4609
4708
|
tableName: "worklog_artifact_writes";
|
|
4610
4709
|
dataType: "json";
|
|
4611
4710
|
columnType: "SQLiteTextJson";
|
|
@@ -4663,7 +4762,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4663
4762
|
length: number | undefined;
|
|
4664
4763
|
}>;
|
|
4665
4764
|
writtenAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4666
|
-
name:
|
|
4765
|
+
name: string;
|
|
4667
4766
|
tableName: "worklog_artifact_writes";
|
|
4668
4767
|
dataType: "number";
|
|
4669
4768
|
columnType: "SQLiteInteger";
|
|
@@ -4767,7 +4866,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4767
4866
|
tableName: "worklog_gate_events";
|
|
4768
4867
|
dataType: "string";
|
|
4769
4868
|
columnType: "SQLiteText";
|
|
4770
|
-
data: "cancelled" | "rejected" | "
|
|
4869
|
+
data: "cancelled" | "rejected" | "resumed" | "waiting" | "timed-out";
|
|
4771
4870
|
driverParam: string;
|
|
4772
4871
|
notNull: true;
|
|
4773
4872
|
hasDefault: false;
|
|
@@ -4780,7 +4879,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4780
4879
|
generated: undefined;
|
|
4781
4880
|
}, {}, {
|
|
4782
4881
|
length: number | undefined;
|
|
4783
|
-
$type: "cancelled" | "rejected" | "
|
|
4882
|
+
$type: "cancelled" | "rejected" | "resumed" | "waiting" | "timed-out";
|
|
4784
4883
|
}>;
|
|
4785
4884
|
prompt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4786
4885
|
name: "prompt";
|
|
@@ -4802,7 +4901,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4802
4901
|
length: number | undefined;
|
|
4803
4902
|
}>;
|
|
4804
4903
|
openedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4805
|
-
name:
|
|
4904
|
+
name: string;
|
|
4806
4905
|
tableName: "worklog_gate_events";
|
|
4807
4906
|
dataType: "number";
|
|
4808
4907
|
columnType: "SQLiteInteger";
|
|
@@ -4819,7 +4918,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4819
4918
|
generated: undefined;
|
|
4820
4919
|
}, {}, {}>;
|
|
4821
4920
|
resolvedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4822
|
-
name:
|
|
4921
|
+
name: string;
|
|
4823
4922
|
tableName: "worklog_gate_events";
|
|
4824
4923
|
dataType: "number";
|
|
4825
4924
|
columnType: "SQLiteInteger";
|
|
@@ -4836,7 +4935,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4836
4935
|
generated: undefined;
|
|
4837
4936
|
}, {}, {}>;
|
|
4838
4937
|
resumeData: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4839
|
-
name:
|
|
4938
|
+
name: string;
|
|
4840
4939
|
tableName: "worklog_gate_events";
|
|
4841
4940
|
dataType: "json";
|
|
4842
4941
|
columnType: "SQLiteTextJson";
|
|
@@ -5239,8 +5338,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5239
5338
|
completed: "completed";
|
|
5240
5339
|
cancelled: "cancelled";
|
|
5241
5340
|
failed: "failed";
|
|
5242
|
-
paused: "paused";
|
|
5243
5341
|
running: "running";
|
|
5342
|
+
paused: "paused";
|
|
5244
5343
|
}>;
|
|
5245
5344
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
5246
5345
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -5262,6 +5361,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5262
5361
|
kind: z.ZodString;
|
|
5263
5362
|
id: z.ZodString;
|
|
5264
5363
|
}, z.core.$strict>], "type">;
|
|
5364
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
5365
|
+
kind: z.ZodString;
|
|
5366
|
+
id: z.ZodString;
|
|
5367
|
+
}, z.core.$strip>>;
|
|
5265
5368
|
}, z.core.$strip>>;
|
|
5266
5369
|
}, z.core.$strip>;
|
|
5267
5370
|
};
|
|
@@ -5276,8 +5379,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5276
5379
|
completed: "completed";
|
|
5277
5380
|
cancelled: "cancelled";
|
|
5278
5381
|
failed: "failed";
|
|
5279
|
-
paused: "paused";
|
|
5280
5382
|
running: "running";
|
|
5383
|
+
paused: "paused";
|
|
5281
5384
|
}>;
|
|
5282
5385
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
5283
5386
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -5299,6 +5402,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5299
5402
|
kind: z.ZodString;
|
|
5300
5403
|
id: z.ZodString;
|
|
5301
5404
|
}, z.core.$strict>], "type">;
|
|
5405
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
5406
|
+
kind: z.ZodString;
|
|
5407
|
+
id: z.ZodString;
|
|
5408
|
+
}, z.core.$strip>>;
|
|
5302
5409
|
}, z.core.$strip>;
|
|
5303
5410
|
}, z.core.$strip>;
|
|
5304
5411
|
response: z.ZodObject<{
|
|
@@ -5320,8 +5427,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5320
5427
|
completed: "completed";
|
|
5321
5428
|
cancelled: "cancelled";
|
|
5322
5429
|
failed: "failed";
|
|
5323
|
-
paused: "paused";
|
|
5324
5430
|
running: "running";
|
|
5431
|
+
paused: "paused";
|
|
5325
5432
|
}>;
|
|
5326
5433
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
5327
5434
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -5343,6 +5450,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5343
5450
|
kind: z.ZodString;
|
|
5344
5451
|
id: z.ZodString;
|
|
5345
5452
|
}, z.core.$strict>], "type">;
|
|
5453
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
5454
|
+
kind: z.ZodString;
|
|
5455
|
+
id: z.ZodString;
|
|
5456
|
+
}, z.core.$strip>>;
|
|
5346
5457
|
}, z.core.$strip>;
|
|
5347
5458
|
runContext: z.ZodObject<{
|
|
5348
5459
|
executionId: z.ZodString;
|
|
@@ -5547,8 +5658,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5547
5658
|
completed: "completed";
|
|
5548
5659
|
cancelled: "cancelled";
|
|
5549
5660
|
failed: "failed";
|
|
5550
|
-
paused: "paused";
|
|
5551
5661
|
running: "running";
|
|
5662
|
+
paused: "paused";
|
|
5552
5663
|
}>>;
|
|
5553
5664
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5554
5665
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5582,6 +5693,7 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5582
5693
|
}>;
|
|
5583
5694
|
timeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
5584
5695
|
resumeData: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
5696
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5585
5697
|
createdAt: z.ZodNumber;
|
|
5586
5698
|
resolvedAt: z.ZodOptional<z.ZodNumber>;
|
|
5587
5699
|
status: z.ZodLiteral<"cancelled">;
|
|
@@ -5615,9 +5727,13 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5615
5727
|
completed: "completed";
|
|
5616
5728
|
cancelled: "cancelled";
|
|
5617
5729
|
failed: "failed";
|
|
5618
|
-
paused: "paused";
|
|
5619
5730
|
running: "running";
|
|
5731
|
+
paused: "paused";
|
|
5620
5732
|
}>>;
|
|
5733
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
5734
|
+
kind: z.ZodString;
|
|
5735
|
+
id: z.ZodString;
|
|
5736
|
+
}, z.core.$strip>>;
|
|
5621
5737
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
5622
5738
|
cursor: z.ZodOptional<z.ZodObject<{
|
|
5623
5739
|
startedAt: z.ZodNumber;
|
|
@@ -5634,8 +5750,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5634
5750
|
completed: "completed";
|
|
5635
5751
|
cancelled: "cancelled";
|
|
5636
5752
|
failed: "failed";
|
|
5637
|
-
paused: "paused";
|
|
5638
5753
|
running: "running";
|
|
5754
|
+
paused: "paused";
|
|
5639
5755
|
}>;
|
|
5640
5756
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
5641
5757
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -5657,6 +5773,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5657
5773
|
kind: z.ZodString;
|
|
5658
5774
|
id: z.ZodString;
|
|
5659
5775
|
}, z.core.$strict>], "type">;
|
|
5776
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
5777
|
+
kind: z.ZodString;
|
|
5778
|
+
id: z.ZodString;
|
|
5779
|
+
}, z.core.$strip>>;
|
|
5660
5780
|
}, z.core.$strip>>;
|
|
5661
5781
|
}, z.core.$strip>;
|
|
5662
5782
|
};
|
|
@@ -5690,8 +5810,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5690
5810
|
cancelled: "cancelled";
|
|
5691
5811
|
failed: "failed";
|
|
5692
5812
|
running: "running";
|
|
5693
|
-
waiting: "waiting";
|
|
5694
5813
|
skipped: "skipped";
|
|
5814
|
+
waiting: "waiting";
|
|
5695
5815
|
}>;
|
|
5696
5816
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
5697
5817
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5735,8 +5855,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5735
5855
|
cancelled: "cancelled";
|
|
5736
5856
|
failed: "failed";
|
|
5737
5857
|
running: "running";
|
|
5738
|
-
waiting: "waiting";
|
|
5739
5858
|
skipped: "skipped";
|
|
5859
|
+
waiting: "waiting";
|
|
5740
5860
|
}>;
|
|
5741
5861
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
5742
5862
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5777,8 +5897,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5777
5897
|
cancelled: "cancelled";
|
|
5778
5898
|
failed: "failed";
|
|
5779
5899
|
running: "running";
|
|
5780
|
-
waiting: "waiting";
|
|
5781
5900
|
skipped: "skipped";
|
|
5901
|
+
waiting: "waiting";
|
|
5782
5902
|
}>;
|
|
5783
5903
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
5784
5904
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5805,8 +5925,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5805
5925
|
status: z.ZodEnum<{
|
|
5806
5926
|
cancelled: "cancelled";
|
|
5807
5927
|
rejected: "rejected";
|
|
5808
|
-
waiting: "waiting";
|
|
5809
5928
|
resumed: "resumed";
|
|
5929
|
+
waiting: "waiting";
|
|
5810
5930
|
"timed-out": "timed-out";
|
|
5811
5931
|
}>;
|
|
5812
5932
|
autoAction: z.ZodEnum<{
|
|
@@ -5815,6 +5935,7 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5815
5935
|
}>;
|
|
5816
5936
|
timeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
5817
5937
|
resumeData: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
5938
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5818
5939
|
createdAt: z.ZodNumber;
|
|
5819
5940
|
resolvedAt: z.ZodOptional<z.ZodNumber>;
|
|
5820
5941
|
}, z.core.$strip>;
|
|
@@ -5844,6 +5965,7 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5844
5965
|
}>;
|
|
5845
5966
|
timeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
5846
5967
|
resumeData: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
5968
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5847
5969
|
createdAt: z.ZodNumber;
|
|
5848
5970
|
resolvedAt: z.ZodOptional<z.ZodNumber>;
|
|
5849
5971
|
status: z.ZodEnum<{
|
|
@@ -5886,6 +6008,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5886
6008
|
kind: z.ZodString;
|
|
5887
6009
|
id: z.ZodString;
|
|
5888
6010
|
}, z.core.$strict>], "type">;
|
|
6011
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
6012
|
+
kind: z.ZodString;
|
|
6013
|
+
id: z.ZodString;
|
|
6014
|
+
}, z.core.$strip>>;
|
|
5889
6015
|
status: z.ZodLiteral<"paused">;
|
|
5890
6016
|
}, z.core.$strip>;
|
|
5891
6017
|
gate: z.ZodObject<{
|
|
@@ -5900,6 +6026,7 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5900
6026
|
}>;
|
|
5901
6027
|
timeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
5902
6028
|
resumeData: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
6029
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5903
6030
|
createdAt: z.ZodNumber;
|
|
5904
6031
|
resolvedAt: z.ZodOptional<z.ZodNumber>;
|
|
5905
6032
|
status: z.ZodLiteral<"waiting">;
|
|
@@ -5930,8 +6057,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5930
6057
|
status: z.ZodEnum<{
|
|
5931
6058
|
cancelled: "cancelled";
|
|
5932
6059
|
rejected: "rejected";
|
|
5933
|
-
waiting: "waiting";
|
|
5934
6060
|
resumed: "resumed";
|
|
6061
|
+
waiting: "waiting";
|
|
5935
6062
|
"timed-out": "timed-out";
|
|
5936
6063
|
}>;
|
|
5937
6064
|
autoAction: z.ZodEnum<{
|
|
@@ -5940,17 +6067,26 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5940
6067
|
}>;
|
|
5941
6068
|
timeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
5942
6069
|
resumeData: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
6070
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5943
6071
|
createdAt: z.ZodNumber;
|
|
5944
6072
|
resolvedAt: z.ZodOptional<z.ZodNumber>;
|
|
5945
6073
|
}, z.core.$strip>>;
|
|
5946
6074
|
}, z.core.$strip>;
|
|
5947
6075
|
};
|
|
5948
6076
|
/**
|
|
5949
|
-
* List
|
|
6077
|
+
* List gate instances by execution and/or status (bounded query).
|
|
5950
6078
|
*/
|
|
5951
6079
|
listGateInstances: {
|
|
5952
6080
|
request: z.ZodObject<{
|
|
5953
|
-
executionId: z.ZodString
|
|
6081
|
+
executionId: z.ZodOptional<z.ZodString>;
|
|
6082
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
6083
|
+
cancelled: "cancelled";
|
|
6084
|
+
rejected: "rejected";
|
|
6085
|
+
resumed: "resumed";
|
|
6086
|
+
waiting: "waiting";
|
|
6087
|
+
"timed-out": "timed-out";
|
|
6088
|
+
}>>;
|
|
6089
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
5954
6090
|
}, z.core.$strip>;
|
|
5955
6091
|
response: z.ZodObject<{
|
|
5956
6092
|
gates: z.ZodArray<z.ZodObject<{
|
|
@@ -5962,8 +6098,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5962
6098
|
status: z.ZodEnum<{
|
|
5963
6099
|
cancelled: "cancelled";
|
|
5964
6100
|
rejected: "rejected";
|
|
5965
|
-
waiting: "waiting";
|
|
5966
6101
|
resumed: "resumed";
|
|
6102
|
+
waiting: "waiting";
|
|
5967
6103
|
"timed-out": "timed-out";
|
|
5968
6104
|
}>;
|
|
5969
6105
|
autoAction: z.ZodEnum<{
|
|
@@ -5972,6 +6108,7 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5972
6108
|
}>;
|
|
5973
6109
|
timeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
5974
6110
|
resumeData: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
6111
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5975
6112
|
createdAt: z.ZodNumber;
|
|
5976
6113
|
resolvedAt: z.ZodOptional<z.ZodNumber>;
|
|
5977
6114
|
}, z.core.$strip>>;
|
|
@@ -5996,8 +6133,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5996
6133
|
status: z.ZodEnum<{
|
|
5997
6134
|
cancelled: "cancelled";
|
|
5998
6135
|
rejected: "rejected";
|
|
5999
|
-
waiting: "waiting";
|
|
6000
6136
|
resumed: "resumed";
|
|
6137
|
+
waiting: "waiting";
|
|
6001
6138
|
"timed-out": "timed-out";
|
|
6002
6139
|
}>;
|
|
6003
6140
|
autoAction: z.ZodEnum<{
|
|
@@ -6006,6 +6143,7 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6006
6143
|
}>;
|
|
6007
6144
|
timeoutMs: z.ZodNullable<z.ZodNumber>;
|
|
6008
6145
|
resumeData: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
6146
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
6009
6147
|
createdAt: z.ZodNumber;
|
|
6010
6148
|
resolvedAt: z.ZodOptional<z.ZodNumber>;
|
|
6011
6149
|
}, z.core.$strip>>;
|
|
@@ -6565,4 +6703,295 @@ declare function runShellStep(options: RunShellStepOptions): Promise<ShellStepOu
|
|
|
6565
6703
|
*/
|
|
6566
6704
|
declare function buildWorkflowExpressionContextFromResolvedInputs(resolvedInputs: Record<string, unknown>): WorkflowExpressionContext;
|
|
6567
6705
|
//#endregion
|
|
6568
|
-
|
|
6706
|
+
//#region subsystems/workflow-engine/src/storage/schema.d.ts
|
|
6707
|
+
/**
|
|
6708
|
+
* Workflow definitions table.
|
|
6709
|
+
* Stores pipeline-primitive workflow definitions with a `root` sequence node tree.
|
|
6710
|
+
*/
|
|
6711
|
+
declare const workflowDefinitionsDual: _$_makaio_storage_drizzle0.DualTable<"workflow_definitions", {
|
|
6712
|
+
/** Creation timestamp. */createdAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>>; /** Last update timestamp. */
|
|
6713
|
+
updatedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>>; /** Canvas layout hints for the visual editor (JSON object). */
|
|
6714
|
+
canvasLayout: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, Record<string, JsonValue>>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, Record<string, JsonValue>>>;
|
|
6715
|
+
/**
|
|
6716
|
+
* Provenance record for extension-synced definitions (JSON).
|
|
6717
|
+
* Absent on locally-authored definitions.
|
|
6718
|
+
*/
|
|
6719
|
+
source: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, {
|
|
6720
|
+
kind: "editor";
|
|
6721
|
+
} | {
|
|
6722
|
+
kind: "extension";
|
|
6723
|
+
extension: string;
|
|
6724
|
+
metadata: Record<string, unknown>;
|
|
6725
|
+
externalId?: string | undefined;
|
|
6726
|
+
syncedAt?: string | undefined;
|
|
6727
|
+
}>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, {
|
|
6728
|
+
kind: "editor";
|
|
6729
|
+
} | {
|
|
6730
|
+
kind: "extension";
|
|
6731
|
+
extension: string;
|
|
6732
|
+
metadata: Record<string, unknown>;
|
|
6733
|
+
externalId?: string | undefined;
|
|
6734
|
+
syncedAt?: string | undefined;
|
|
6735
|
+
}>>;
|
|
6736
|
+
/**
|
|
6737
|
+
* Advisory execution hints for worker provisioning (JSON).
|
|
6738
|
+
* Merged with per-call hints at execution start.
|
|
6739
|
+
*/
|
|
6740
|
+
executionHints: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, {
|
|
6741
|
+
[x: string]: JsonValue;
|
|
6742
|
+
source?: {
|
|
6743
|
+
kind: "path";
|
|
6744
|
+
path: string;
|
|
6745
|
+
} | {
|
|
6746
|
+
kind: "source";
|
|
6747
|
+
filename: string;
|
|
6748
|
+
source: string;
|
|
6749
|
+
} | undefined;
|
|
6750
|
+
requirements?: {
|
|
6751
|
+
[x: string]: JsonValue;
|
|
6752
|
+
isolation?: "local" | "remote" | "container" | undefined;
|
|
6753
|
+
capabilities?: string[] | undefined;
|
|
6754
|
+
} | undefined;
|
|
6755
|
+
providers?: Record<string, JsonValue> | undefined;
|
|
6756
|
+
}>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, {
|
|
6757
|
+
[x: string]: JsonValue;
|
|
6758
|
+
source?: {
|
|
6759
|
+
kind: "path";
|
|
6760
|
+
path: string;
|
|
6761
|
+
} | {
|
|
6762
|
+
kind: "source";
|
|
6763
|
+
filename: string;
|
|
6764
|
+
source: string;
|
|
6765
|
+
} | undefined;
|
|
6766
|
+
requirements?: {
|
|
6767
|
+
[x: string]: JsonValue;
|
|
6768
|
+
isolation?: "local" | "remote" | "container" | undefined;
|
|
6769
|
+
capabilities?: string[] | undefined;
|
|
6770
|
+
} | undefined;
|
|
6771
|
+
providers?: Record<string, JsonValue> | undefined;
|
|
6772
|
+
}>>;
|
|
6773
|
+
scopeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"], number | undefined>>, "external" | "session" | "global" | "workspace">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"]>>, "external" | "session" | "global" | "workspace">>;
|
|
6774
|
+
scopeKind: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_kind", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_kind", [string, ...string[]]>>>>;
|
|
6775
|
+
scopeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_id", [string, ...string[]]>>>>; /** Unique workflow identifier. */
|
|
6776
|
+
id: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"id", [string, ...string[]]>>>>; /** Workflow name. */
|
|
6777
|
+
name: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"name", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"name", [string, ...string[]]>>>; /** Human-readable description. */
|
|
6778
|
+
description: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"description", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"description", [string, ...string[]]>>;
|
|
6779
|
+
/**
|
|
6780
|
+
* Root sequence node tree (JSON).
|
|
6781
|
+
* Replaces the old flat `steps` DAG with a structured `WorkflowSequenceNode` tree.
|
|
6782
|
+
*/
|
|
6783
|
+
root: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, {
|
|
6784
|
+
id: string;
|
|
6785
|
+
type: "sequence";
|
|
6786
|
+
nodes: _$_makaio_contracts0.WorkflowNode[];
|
|
6787
|
+
when?: string | undefined;
|
|
6788
|
+
skip?: string | undefined;
|
|
6789
|
+
writes?: {
|
|
6790
|
+
kind: string;
|
|
6791
|
+
schemaVersion: string;
|
|
6792
|
+
scope: {
|
|
6793
|
+
level: string;
|
|
6794
|
+
ids?: Record<string, string> | undefined;
|
|
6795
|
+
};
|
|
6796
|
+
dataExpression?: string | undefined;
|
|
6797
|
+
}[] | undefined;
|
|
6798
|
+
}>>, _$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, {
|
|
6799
|
+
id: string;
|
|
6800
|
+
type: "sequence";
|
|
6801
|
+
nodes: _$_makaio_contracts0.WorkflowNode[];
|
|
6802
|
+
when?: string | undefined;
|
|
6803
|
+
skip?: string | undefined;
|
|
6804
|
+
writes?: {
|
|
6805
|
+
kind: string;
|
|
6806
|
+
schemaVersion: string;
|
|
6807
|
+
scope: {
|
|
6808
|
+
level: string;
|
|
6809
|
+
ids?: Record<string, string> | undefined;
|
|
6810
|
+
};
|
|
6811
|
+
dataExpression?: string | undefined;
|
|
6812
|
+
}[] | undefined;
|
|
6813
|
+
}>>>; /** JSON Schema for workflow input parameters (JSON object). */
|
|
6814
|
+
inputSchema: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, Record<string, JsonValue>>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, Record<string, JsonValue>>>; /** JSON Schema for static workflow configuration (JSON object). */
|
|
6815
|
+
configSchema: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, Record<string, JsonValue>>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, Record<string, JsonValue>>>; /** JSON Schema for the workflow's primary output (JSON object). */
|
|
6816
|
+
outputSchema: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, Record<string, JsonValue>>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, Record<string, JsonValue>>>; /** Primary artifact binding for workflow output/state (JSON object). */
|
|
6817
|
+
artifact: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, {
|
|
6818
|
+
kind: string;
|
|
6819
|
+
schemaVersion: string;
|
|
6820
|
+
scope: {
|
|
6821
|
+
level: string;
|
|
6822
|
+
ids?: Record<string, string> | undefined;
|
|
6823
|
+
};
|
|
6824
|
+
resolve?: string | undefined;
|
|
6825
|
+
create?: string | undefined;
|
|
6826
|
+
statusPath?: string | undefined;
|
|
6827
|
+
} | undefined>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, {
|
|
6828
|
+
kind: string;
|
|
6829
|
+
schemaVersion: string;
|
|
6830
|
+
scope: {
|
|
6831
|
+
level: string;
|
|
6832
|
+
ids?: Record<string, string> | undefined;
|
|
6833
|
+
};
|
|
6834
|
+
resolve?: string | undefined;
|
|
6835
|
+
create?: string | undefined;
|
|
6836
|
+
statusPath?: string | undefined;
|
|
6837
|
+
} | undefined>>; /** Trigger configuration (JSON array). Null means manual-only default. */
|
|
6838
|
+
triggers: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, ({
|
|
6839
|
+
type: "manual";
|
|
6840
|
+
} | {
|
|
6841
|
+
type: "cron";
|
|
6842
|
+
schedule: string;
|
|
6843
|
+
timezone?: string | undefined;
|
|
6844
|
+
} | {
|
|
6845
|
+
type: "webhook";
|
|
6846
|
+
event: string;
|
|
6847
|
+
branch?: string | undefined;
|
|
6848
|
+
repo?: string | undefined;
|
|
6849
|
+
} | {
|
|
6850
|
+
type: "extension";
|
|
6851
|
+
extensionType: string;
|
|
6852
|
+
config?: Record<string, unknown> | undefined;
|
|
6853
|
+
} | {
|
|
6854
|
+
type: "bus-event";
|
|
6855
|
+
subject: string;
|
|
6856
|
+
filter?: Record<string, string | number | boolean | {
|
|
6857
|
+
$in: (string | number | boolean | null)[];
|
|
6858
|
+
} | {
|
|
6859
|
+
$ne: string | number | boolean | null;
|
|
6860
|
+
} | {
|
|
6861
|
+
$exists: boolean;
|
|
6862
|
+
} | {
|
|
6863
|
+
$startsWith: string;
|
|
6864
|
+
} | {
|
|
6865
|
+
$endsWith: string;
|
|
6866
|
+
} | null> | undefined;
|
|
6867
|
+
filterExpression?: string | undefined;
|
|
6868
|
+
})[]>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, ({
|
|
6869
|
+
type: "manual";
|
|
6870
|
+
} | {
|
|
6871
|
+
type: "cron";
|
|
6872
|
+
schedule: string;
|
|
6873
|
+
timezone?: string | undefined;
|
|
6874
|
+
} | {
|
|
6875
|
+
type: "webhook";
|
|
6876
|
+
event: string;
|
|
6877
|
+
branch?: string | undefined;
|
|
6878
|
+
repo?: string | undefined;
|
|
6879
|
+
} | {
|
|
6880
|
+
type: "extension";
|
|
6881
|
+
extensionType: string;
|
|
6882
|
+
config?: Record<string, unknown> | undefined;
|
|
6883
|
+
} | {
|
|
6884
|
+
type: "bus-event";
|
|
6885
|
+
subject: string;
|
|
6886
|
+
filter?: Record<string, string | number | boolean | {
|
|
6887
|
+
$in: (string | number | boolean | null)[];
|
|
6888
|
+
} | {
|
|
6889
|
+
$ne: string | number | boolean | null;
|
|
6890
|
+
} | {
|
|
6891
|
+
$exists: boolean;
|
|
6892
|
+
} | {
|
|
6893
|
+
$startsWith: string;
|
|
6894
|
+
} | {
|
|
6895
|
+
$endsWith: string;
|
|
6896
|
+
} | null> | undefined;
|
|
6897
|
+
filterExpression?: string | undefined;
|
|
6898
|
+
})[]>>;
|
|
6899
|
+
}>;
|
|
6900
|
+
/**
|
|
6901
|
+
* Workflow executions table.
|
|
6902
|
+
* Stores runtime state of workflow executions.
|
|
6903
|
+
*/
|
|
6904
|
+
declare const workflowExecutionsDual: _$_makaio_storage_drizzle0.DualTable<"workflow_executions", {
|
|
6905
|
+
scopeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"], number | undefined>>, "external" | "session" | "global" | "workspace">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"]>>, "external" | "session" | "global" | "workspace">>;
|
|
6906
|
+
scopeKind: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_kind", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_kind", [string, ...string[]]>>>>;
|
|
6907
|
+
scopeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_id", [string, ...string[]]>>>>; /** Unique execution identifier. */
|
|
6908
|
+
id: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"id", [string, ...string[]]>>>>; /** Workflow definition or ephemeral source execution identifier. */
|
|
6909
|
+
workflowId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"workflow_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"workflow_id", [string, ...string[]]>>>; /** Coordinator session ID for this execution. */
|
|
6910
|
+
coordinatorSessionId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"coordinator_session_id", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"coordinator_session_id", [string, ...string[]]>>; /** Current execution status. */
|
|
6911
|
+
status: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"status", ["pending", "running", "paused", "completed", "failed", "cancelled"], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"status", ["pending", "running", "paused", "completed", "failed", "cancelled"]>>>; /** Bound workflow input value (JSON). */
|
|
6912
|
+
inputs: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, JsonValue>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, JsonValue>>; /** Error message if execution failed. */
|
|
6913
|
+
error: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"error", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"error", [string, ...string[]]>>; /** Cancellation reason if execution was cancelled. */
|
|
6914
|
+
reason: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"reason", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"reason", [string, ...string[]]>>; /** Execution start timestamp. */
|
|
6915
|
+
startedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>>; /** Execution completion timestamp. */
|
|
6916
|
+
completedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Trigger payload from the firing trigger (JSON object). */
|
|
6917
|
+
triggerPayload: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, Record<string, JsonValue>>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, Record<string, JsonValue>>>; /** Artifact kind the execution is bound to (flat for indexed filtering). */
|
|
6918
|
+
artifactKind: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"artifact_kind", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"artifact_kind", [string, ...string[]]>>; /** Artifact identifier within its kind. */
|
|
6919
|
+
artifactId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"artifact_id", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"artifact_id", [string, ...string[]]>>;
|
|
6920
|
+
}>;
|
|
6921
|
+
/**
|
|
6922
|
+
* Workflow step spans table.
|
|
6923
|
+
* Stores OTel-inspired telemetry for each node execution.
|
|
6924
|
+
*/
|
|
6925
|
+
declare const workflowStepSpansDual: _$_makaio_storage_drizzle0.DualTable<"workflow_step_spans", {
|
|
6926
|
+
/** Workflow execution this span belongs to. */executionId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"execution_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"execution_id", [string, ...string[]]>>>; /** Runtime frame this span represents within the execution. */
|
|
6927
|
+
frameId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"frame_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"frame_id", [string, ...string[]]>>>; /** Step identifier within the workflow definition. */
|
|
6928
|
+
stepId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"step_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"step_id", [string, ...string[]]>>>; /** Step type discriminant. */
|
|
6929
|
+
stepType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"step_type", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"step_type", [string, ...string[]]>>>; /** Current span status. */
|
|
6930
|
+
status: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"status", [string, ...string[]], number | undefined>, "completed" | "failed" | "running" | "skipped">>, _$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"status", [string, ...string[]]>, "completed" | "failed" | "running" | "skipped">>>; /** Step start timestamp (epoch ms). */
|
|
6931
|
+
startedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Step completion timestamp (epoch ms). */
|
|
6932
|
+
completedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Wall-clock duration in milliseconds. */
|
|
6933
|
+
durationMs: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Input tokens consumed (agent steps). */
|
|
6934
|
+
inputTokens: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Output tokens produced (agent steps). */
|
|
6935
|
+
outputTokens: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Estimated cost in USD (agent steps). */
|
|
6936
|
+
estimatedCost: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteRealBuilderInitial<string>, _$drizzle_orm_pg_core0.PgDoublePrecisionBuilderInitial<string>>; /** Number of tool calls (agent steps). */
|
|
6937
|
+
toolCallCount: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Serialized step input (JSON string). */
|
|
6938
|
+
input: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"input", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"input", [string, ...string[]]>>; /** Serialized step output (JSON string). */
|
|
6939
|
+
output: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"output", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"output", [string, ...string[]]>>;
|
|
6940
|
+
}>;
|
|
6941
|
+
/**
|
|
6942
|
+
* WorkLog execution summaries table.
|
|
6943
|
+
*
|
|
6944
|
+
* One row per workflow execution. Updated in place as execution lifecycle
|
|
6945
|
+
* events arrive. Suitable for list views, dashboards, and status polling.
|
|
6946
|
+
*
|
|
6947
|
+
* CENTRAL tier — migrated alongside `workflow_executions`.
|
|
6948
|
+
*/
|
|
6949
|
+
declare const worklogSummariesDual: _$_makaio_storage_drizzle0.DualTable<"worklog_summaries", {
|
|
6950
|
+
/** Unique execution identifier (1:1 with workflow_executions.id). */executionId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"execution_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"execution_id", [string, ...string[]]>>>>; /** Workflow definition identifier. */
|
|
6951
|
+
workflowId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"workflow_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"workflow_id", [string, ...string[]]>>>; /** Human-readable workflow name at execution start. */
|
|
6952
|
+
workflowName: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"workflow_name", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"workflow_name", [string, ...string[]]>>;
|
|
6953
|
+
/**
|
|
6954
|
+
* Current execution status. Kept in sync via event projection.
|
|
6955
|
+
*/
|
|
6956
|
+
status: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"status", ["pending", "running", "paused", "completed", "failed", "cancelled"], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"status", ["pending", "running", "paused", "completed", "failed", "cancelled"]>>>; /** Epoch milliseconds when the execution started. */
|
|
6957
|
+
startedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>>; /** Epoch milliseconds when the execution reached a terminal status. */
|
|
6958
|
+
completedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Wall-clock duration in milliseconds. Present once execution completes. */
|
|
6959
|
+
durationMs: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Aggregated input tokens across all station frames. */
|
|
6960
|
+
totalInputTokens: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Aggregated output tokens across all station frames. */
|
|
6961
|
+
totalOutputTokens: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Aggregated estimated cost in USD across all station frames. */
|
|
6962
|
+
totalEstimatedCost: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteRealBuilderInitial<string>, _$drizzle_orm_pg_core0.PgDoublePrecisionBuilderInitial<string>>; /** Human-readable error message when `status` is `'failed'`. */
|
|
6963
|
+
error: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"error", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"error", [string, ...string[]]>>; /** Identifier of the node that caused failure. */
|
|
6964
|
+
failedNodeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"failed_node_id", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"failed_node_id", [string, ...string[]]>>;
|
|
6965
|
+
}>;
|
|
6966
|
+
/**
|
|
6967
|
+
* WorkLog frame entries table.
|
|
6968
|
+
*
|
|
6969
|
+
* One row per frame execution. Updated as frame lifecycle events arrive.
|
|
6970
|
+
* Multiple rows may exist per `nodeId` for iterate/iterate-chain expansions.
|
|
6971
|
+
*
|
|
6972
|
+
* CENTRAL tier — migrated alongside `workflow_executions`.
|
|
6973
|
+
*/
|
|
6974
|
+
declare const worklogFrameEntriesDual: _$_makaio_storage_drizzle0.DualTable<"worklog_frame_entries", {
|
|
6975
|
+
/** Unique frame identifier within the execution. */frameId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"frame_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"frame_id", [string, ...string[]]>>>>; /** Execution this frame belongs to. */
|
|
6976
|
+
executionId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"execution_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"execution_id", [string, ...string[]]>>>; /** Node identifier from the workflow definition. */
|
|
6977
|
+
nodeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"node_id", [string, ...string[]]>>>; /** Node type discriminant. */
|
|
6978
|
+
nodeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_type", [string, ...string[]], number | undefined>>, "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"node_type", [string, ...string[]]>>, "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain">>;
|
|
6979
|
+
/**
|
|
6980
|
+
* Ordered path of frame IDs from the root frame to this frame (inclusive).
|
|
6981
|
+
* Stored as a JSON array for tree correlation.
|
|
6982
|
+
*/
|
|
6983
|
+
path: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, string[]>>, _$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, string[]>>>; /** Current or terminal frame status. */
|
|
6984
|
+
status: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"status", ["pending", "running", "waiting", "completed", "failed", "skipped", "cancelled"], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"status", ["pending", "running", "waiting", "completed", "failed", "skipped", "cancelled"]>>>; /** Zero-based attempt index. 0 for first attempt, incremented on retry. */
|
|
6985
|
+
attempt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>>>; /** Zero-based iteration index for frames inside an iterate node. */
|
|
6986
|
+
iteration: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Branch key for frames inside a parallel node. */
|
|
6987
|
+
branchKey: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"branch_key", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"branch_key", [string, ...string[]]>>; /** Epoch milliseconds when the frame started executing. */
|
|
6988
|
+
startedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Epoch milliseconds when the frame reached a terminal status. */
|
|
6989
|
+
completedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Wall-clock duration in milliseconds. */
|
|
6990
|
+
durationMs: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Input tokens consumed (station frames with LLM execution). */
|
|
6991
|
+
inputTokens: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Output tokens produced (station frames with LLM execution). */
|
|
6992
|
+
outputTokens: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Estimated cost in USD (station frames with LLM execution). */
|
|
6993
|
+
estimatedCost: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteRealBuilderInitial<string>, _$drizzle_orm_pg_core0.PgDoublePrecisionBuilderInitial<string>>; /** Human-readable error message when `status` is `'failed'`. */
|
|
6994
|
+
error: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"error", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"error", [string, ...string[]]>>;
|
|
6995
|
+
}>;
|
|
6996
|
+
//#endregion
|
|
6997
|
+
export { WorkflowEngineService, WorkflowEngineToken, WorkflowExecutor, WorkflowStorageNamespace, WorkflowStorageSubjects, buildWorkflowExpressionContextFromResolvedInputs, createWorkflowEnginePackage, registerDrizzleWorkflowStorage, runShellStep, workflowDefinitionsDual, workflowEnginePackage, workflowExecutionsDual, workflowStepSpansDual, worklogFrameEntriesDual, worklogSummariesDual };
|