@makaio/framework 1.0.0-dev-1781729807808 → 1.0.0-dev-1781884053376
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.makaio-build.json +2 -2
- package/dist/{account-identity-D-9gunfD.mjs → account-identity-D5TUafYg.mjs} +1 -1
- package/dist/adapter-BmdC3QwV.mjs +1 -0
- package/dist/adapter-subsystem/index.mjs +1 -1
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/index.mjs +1 -1
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/await-trigger-DwVldnMt.mjs +1 -0
- package/dist/bus/index.d.mts +20 -20
- package/dist/bus/index.mjs +1 -1
- package/dist/canonical-model-BM5WAnQW.mjs +1 -0
- package/dist/{client-D24ebgGH.mjs → client-BO-0jTSV.mjs} +1 -1
- package/dist/clients/index.mjs +1 -1
- package/dist/compression-CXEHx0rS.mjs +1 -0
- 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/canonical-model/index.d.mts +1 -1
- package/dist/contracts/canonical-model/index.mjs +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +7 -7
- package/dist/contracts/config/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +3 -3
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/facet/index.mjs +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/harness/index.mjs +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/host/index.mjs +1 -1
- package/dist/contracts/index.d.mts +202 -9904
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/model-registry/index.mjs +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.mjs +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/platform/index.mjs +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +2 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/skill/index.mjs +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.mjs +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/toast/index.mjs +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/variant/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +3 -0
- package/dist/contracts/workflow/index.mjs +1 -0
- package/dist/{definition-CZcVOhXZ.d.mts → definition-D_3U4OLJ.d.mts} +1 -1
- package/dist/{detached-extension-handle-BYxNmLfv.mjs → detached-extension-handle-Cx6-0eqg.mjs} +1 -1
- package/dist/{extension-CTkoi8MV.mjs → extension-BJHRahFl.mjs} +1 -1
- package/dist/{extension-CkU_hqra.mjs → extension-CfL70C5n.mjs} +1 -1
- package/dist/{filesystem-service-T8JOIWeP.mjs → filesystem-service-Bmyqo6po.mjs} +1 -1
- package/dist/git/index.mjs +1 -1
- package/dist/{globby-Bos1vjKj.mjs → globby-D4SANVoq.mjs} +1 -1
- package/dist/{handlers-dnpT_hsm.mjs → handlers-BAycjV02.mjs} +1 -1
- package/dist/{harness-HEpELa_v.mjs → harness-DkUpbsuY.mjs} +1 -1
- package/dist/{index-HiAth5G0.d.mts → index--diIlm1t.d.mts} +42 -42
- package/dist/{index-Cy75lJ1O.d.mts → index-BUrNl0QJ.d.mts} +16 -16
- package/dist/{index-XcnFGiKL.d.mts → index-BvjLe_w9.d.mts} +8 -8
- package/dist/{index-WWYQEH0q.d.mts → index-BwZpSUql.d.mts} +16 -16
- package/dist/{index-Dn73XrXA.d.mts → index-CBN898N1.d.mts} +13 -460
- package/dist/{index-xeg-bqxO.d.mts → index-CqImyhjX.d.mts} +100 -100
- package/dist/{index-CkpGuNLe.d.mts → index-D2WJ0Zpt.d.mts} +10 -10
- package/dist/index-D6sjCuQA.d.mts +10036 -0
- package/dist/{index-6QvT0ljq.d.mts → index-D9-vOJvZ.d.mts} +1 -1
- package/dist/{index-BQ8H7cvY.d.mts → index-D94cDExW2.d.mts} +16 -16
- package/dist/{index-CUYDEQvN.d.mts → index-DYcyc2rR.d.mts} +5 -5
- package/dist/{index-Dbd0Tgba.d.mts → index-Di84JjS0.d.mts} +1 -1
- package/dist/{index-ByRAbcZd.d.mts → index-DiifAKRu.d.mts} +7 -2
- package/dist/{index-BuaP2Q0b.d.mts → index-DoWQjCE-.d.mts} +336 -336
- package/dist/{index-C2XLjebs.d.mts → index-Mi_UJoUV.d.mts} +8 -8
- package/dist/{index-BZuF4I8O.d.mts → index-NkNbYFud.d.mts} +1 -55
- package/dist/{index-BFW1X6SW.d.mts → index-SAGZBNB0.d.mts} +363 -363
- package/dist/{index-Dpu4e9NK.d.mts → index-UKndP4iV.d.mts} +3 -3
- package/dist/{index-cN4DkU5Y2.d.mts → index-q8nLr74m.d.mts} +9 -9
- package/dist/{index-DLPjliGd.d.mts → index-wfSedMR9.d.mts} +1 -1
- package/dist/{index-DUI1W-zN.d.mts → index-xyXYG5WO.d.mts} +8 -8
- package/dist/json-value-DtIkQN7g.d.mts +57 -0
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/index.mjs +1 -1
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/cli/register.mjs +1 -1
- package/dist/kernel/cli/schemas.mjs +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/extension/index.mjs +1 -1
- package/dist/kernel/index.d.mts +5 -5
- package/dist/kernel/index.mjs +1 -1
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/namespace/index.mjs +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/observability/index.mjs +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/providers/index.mjs +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/kernel/window/index.mjs +1 -1
- package/dist/{lib-B-R6VZW0.mjs → lib-Ba55od_d.mjs} +1 -1
- package/dist/{lib-BwYODPdd.mjs → lib-CM_BUxN8.mjs} +1 -1
- package/dist/{load-extensions-D-DyzN4j.mjs → load-extensions-Cze1RHcG.mjs} +1 -1
- package/dist/{load-extensions-CQqw0Smr.d.mts → load-extensions-DNRIy4zC.d.mts} +1 -1
- package/dist/loop-gate-handlers-BLoGCWMQ.mjs +1 -0
- package/dist/mcp-http-server/index.mjs +2 -2
- package/dist/{namespace-Ba1gUpUu.d.mts → namespace-3yGm4WF9.d.mts} +2 -2
- package/dist/{namespace-B091meTj.d.mts → namespace-65uwTpbg.d.mts} +6 -6
- package/dist/{namespace-Daq_-170.d.mts → namespace-Bcn5EuKq.d.mts} +5 -5
- package/dist/{namespace-B1Bldc48.d.mts → namespace-BeMGmLrp.d.mts} +9 -9
- package/dist/{namespace-BxrHvS5c.mjs → namespace-C-piH3w4.mjs} +1 -1
- package/dist/{namespace-BQgZChZl.d.mts → namespace-CGGzwaCj.d.mts} +154 -154
- package/dist/{namespace-6u1Uf-iw2.d.mts → namespace-D8P8Sxce2.d.mts} +2 -2
- package/dist/namespace-DibbhCPP.mjs +1 -0
- package/dist/{namespace-CZgcOQTh.d.mts → namespace-d_0I6P7N.d.mts} +26 -26
- package/dist/{namespace-CO3DK1v_.d.mts → namespace-qC3OUGCB.d.mts} +42 -42
- package/dist/{native-session-supervisor-DbrqcFq9.mjs → native-session-supervisor-7ElwM6Is.mjs} +1 -1
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/index.mjs +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.mjs +1 -1
- package/dist/{orchestrator-shared-yFP8e7d5.mjs → orchestrator-shared-Cxk3x8Vs.mjs} +1 -1
- package/dist/package-B1AXe-oz.mjs +1 -0
- package/dist/{package-fwIv7zzj.d.mts → package-MmQvNJ3u.d.mts} +1 -1
- package/dist/package.json +1 -1
- package/dist/{profile-r4G32bCH.mjs → profile-BMBXUqqh.mjs} +1 -1
- package/dist/{provider-context-Ds6GNYnE.mjs → provider-context-DC_eq7es.mjs} +1 -1
- package/dist/provider-context-DjSUpHSM.mjs +1 -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/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 +3 -3
- package/dist/runtime-node/index.mjs +2 -2
- 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-DcZifH6p.d.mts → schema-BD0TvgFP.d.mts} +2 -2
- package/dist/{schema-atatXwNg.mjs → schema-D6WAI8OL.mjs} +1 -1
- package/dist/schemas-CE1gbhxu.mjs +1 -0
- package/dist/{schemas-IDGAJ_zv.d.mts → schemas-CscdPqCt.d.mts} +3 -3
- package/dist/{schemas-fEoe6H0K.d.mts → schemas-CyL5UEV7.d.mts} +154 -154
- package/dist/{schemas-BqscWIoC.d.mts → schemas-D4zaFE2p.d.mts} +6 -6
- package/dist/{schemas-BbFAwUpf.d.mts → schemas-DXjyGVpx.d.mts} +5 -5
- package/dist/{schemas-CTIaU6Rt2.d.mts → schemas-TQPiRl642.d.mts} +13 -13
- package/dist/schemas-yNBjlOKi.mjs +1 -0
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/index.mjs +1 -1
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/index.mjs +1 -1
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/adapter-subsystem/namespace.mjs +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/capability/index.d.mts +1 -1
- package/dist/services/capability/index.mjs +1 -1
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +12 -12
- package/dist/services/context-rules/index.mjs +1 -1
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/index.mjs +1 -1
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/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/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.mjs +1 -1
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/index.d.mts +141 -141
- package/dist/services/index.mjs +1 -1
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/log-import.mjs +1 -1
- package/dist/services/log-import/namespace.d.mts +2 -2
- package/dist/services/log-import/namespace.mjs +1 -1
- package/dist/services/log-import/schemas.d.mts +1 -1
- package/dist/services/log-import/schemas.mjs +1 -1
- package/dist/services/model-registry/index.d.mts +1 -1
- package/dist/services/model-registry/index.mjs +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/provider-context/index.mjs +1 -1
- package/dist/services/provider-runtime/index.mjs +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/handlers/index.mjs +1 -1
- package/dist/services/session/index.d.mts +9 -9
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/messages/namespace.mjs +1 -1
- package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.mjs +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.mjs +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session/testing/index.mjs +1 -1
- package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session/turns/namespace.mjs +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/session-editor/index.mjs +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/index.mjs +1 -1
- package/dist/services/settings/namespace.d.mts +10 -10
- package/dist/services/settings/namespace.mjs +1 -1
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/clients-namespace.mjs +1 -1
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/index.mjs +1 -1
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent/index.mjs +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/index.mjs +1 -1
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/{session-R-wciAdJ.mjs → session-0nWT4st6.mjs} +1 -1
- package/dist/{session-DApMcL_0.mjs → session-DLTZOum3.mjs} +1 -1
- package/dist/{session-lineage-D_8W1MI0.d.mts → session-lineage-5-wRBzuC.d.mts} +1 -1
- package/dist/{skill-B_VlGon5.mjs → skill-N-ttlp1i.mjs} +1 -1
- package/dist/{src-6n-8M8EU.mjs → src-Ck2sbaDa.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/storage/handlers/index.mjs +1 -1
- package/dist/{tool-approval-service-DhAqQqev.mjs → tool-approval-service-DEQiipxj.mjs} +1 -1
- package/dist/{tools-DeZIVtxe.mjs → tools-DFOsOboy.mjs} +1 -1
- package/dist/transition-CCflZ6JS.d.mts +454 -0
- package/dist/{types-CCsvoUTA.d.mts → types-BXUm60GF.d.mts} +258 -257
- package/dist/{types-BB8iIAjZ.d.mts → types-InWSdi-V.d.mts} +1 -1
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{version-SYP_DX4M.mjs → version-DoV_pSzT.mjs} +1 -1
- package/dist/workflow-BCKOJ4UC.mjs +1 -0
- package/dist/workflow-engine/index.d.mts +78 -72
- 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.d.mts +3 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-worker-DMFhz1q_.mjs → workflow-worker-BIpYi6o7.mjs} +1 -1
- package/package.json +5 -1
- package/dist/adapter-Cxcqmp04.mjs +0 -1
- package/dist/await-trigger-Cjfj0yp_.mjs +0 -1
- package/dist/canonical-model-C-jhofjd.mjs +0 -1
- package/dist/compression-BPOKUc6y.mjs +0 -1
- package/dist/namespace-CH_NWUKW.mjs +0 -1
- package/dist/package-DP8lk0-a.mjs +0 -1
- package/dist/primitive-runtime-Dw6OC8w5.mjs +0 -1
- package/dist/schemas-dNCdjOLB.mjs +0 -1
- /package/dist/{ajv-Cx19PP7Q.mjs → ajv-B5dPIck0.mjs} +0 -0
- /package/dist/{base-orchestrator-BRq4MXa7.d.mts → base-orchestrator-Cw0vpNgB.d.mts} +0 -0
- /package/dist/{capability-service-CHl8rrwb.mjs → capability-service-XlymTzz1.mjs} +0 -0
- /package/dist/{cleanEnvForAdapter-D32WnVuy.mjs → cleanEnvForAdapter-BooAgM2R.mjs} +0 -0
- /package/dist/{client-D2ZftNb6.d.mts → client-CebV_fZc.d.mts} +0 -0
- /package/dist/{clients-namespace-CeAB0t06.d.mts → clients-namespace-Bt_VTkEU.d.mts} +0 -0
- /package/dist/{config-namespace-DW5KHKPW.mjs → config-namespace-CY9leBnE.mjs} +0 -0
- /package/dist/{config-namespace-DloU-hNB.d.mts → config-namespace-DqdFE6zk.d.mts} +0 -0
- /package/dist/{create-static-mount-Bi0VpYS8.mjs → create-static-mount-DkK28kKW.mjs} +0 -0
- /package/dist/{cross-spawn-C58yEvsS.mjs → cross-spawn-CDXy3BjE.mjs} +0 -0
- /package/dist/{cursor-storage-CpuT5POU.mjs → cursor-storage-luQAg7E_.mjs} +0 -0
- /package/dist/{definition-GOb_oOmb.d.mts → definition-Cllhr9mi.d.mts} +0 -0
- /package/dist/{definition-BdxbXbrq.d.mts → definition-CuJvtYeG.d.mts} +0 -0
- /package/dist/{descriptor-to-package-D-FNxohm.mjs → descriptor-to-package-DdpjpT7n.mjs} +0 -0
- /package/dist/{drizzle-D7dkDEB5.mjs → drizzle-DVTAl7Us.mjs} +0 -0
- /package/dist/{esm-CP2zvvlx.mjs → esm-CQG9Pc7n.mjs} +0 -0
- /package/dist/{event-DaXakaHo.mjs → event-DguYjV6D.mjs} +0 -0
- /package/dist/{execution-target-Da6Vjvba.mjs → execution-target-BR8bLkCR.mjs} +0 -0
- /package/dist/{extension-discovery-Bv5FDtrM.d.mts → extension-discovery-CIZn5bkq.d.mts} +0 -0
- /package/dist/{extension-namespace-O3sKdnY9.mjs → extension-namespace-v3K0qVry.mjs} +0 -0
- /package/dist/{facet-Q_vgXb23.mjs → facet-BM4y4aQP.mjs} +0 -0
- /package/dist/{filesystem-service-89fN-2Dd.d.mts → filesystem-service-Cwp0sWNc.d.mts} +0 -0
- /package/dist/{handler-BIA3ld4C.mjs → handler-2bPhRn0u.mjs} +0 -0
- /package/dist/{host-DFqmG2qO.mjs → host-vY07gek-.mjs} +0 -0
- /package/dist/{identity-CA5MzB19.mjs → identity-BarL3JYI.mjs} +0 -0
- /package/dist/{index-BVhnqzDC2.d.mts → index-B92mToDo2.d.mts} +0 -0
- /package/dist/{index-cFuQpzIm.d.mts → index-BjoOSg95.d.mts} +0 -0
- /package/dist/{index-BeNVLvtk2.d.mts → index-BvLXySoB2.d.mts} +0 -0
- /package/dist/{index-DJSffYTW2.d.mts → index-C23g_M_J2.d.mts} +0 -0
- /package/dist/{index-kOSSuOcK.d.mts → index-C4nStEdA.d.mts} +0 -0
- /package/dist/{index-DHHKwLww.d.mts → index-COI1tjAf.d.mts} +0 -0
- /package/dist/{index-orAkFukT.d.mts → index-CpKikwK4.d.mts} +0 -0
- /package/dist/{index-DNmENr9M.d.mts → index-CqCe7Phc.d.mts} +0 -0
- /package/dist/{index-CkPIPbx9.d.mts → index-Cr9lh21j.d.mts} +0 -0
- /package/dist/{index-CBTp2XuF.d.mts → index-CuHqL95P.d.mts} +0 -0
- /package/dist/{index-CfpfkKih.d.mts → index-D3ahzHwb.d.mts} +0 -0
- /package/dist/{index-BE-yMFTz.d.mts → index-D7Hkmrr3.d.mts} +0 -0
- /package/dist/{index-DWqSqcpW.d.mts → index-DOOrKin9.d.mts} +0 -0
- /package/dist/{index-CYZqADXY2.d.mts → index-DUD7wikz2.d.mts} +0 -0
- /package/dist/{index-BUilJdHr.d.mts → index-Dfi8Rorw.d.mts} +0 -0
- /package/dist/{index-BplsE3qw.d.mts → index-DtwGhFFQ.d.mts} +0 -0
- /package/dist/{index-DVgKfgh1.d.mts → index-OGIC4puQ.d.mts} +0 -0
- /package/dist/{index-D0RWuwl5.d.mts → index-Y8rMeYYX.d.mts} +0 -0
- /package/dist/{index-BtL_9HBk.d.mts → index-gAFwNiJT.d.mts} +0 -0
- /package/dist/{index-DdCyeZ59.d.mts → index-wq7XeqyG.d.mts} +0 -0
- /package/dist/{jsonl-transport-Bb8ltqOe.mjs → jsonl-transport-CGPgD8iU.mjs} +0 -0
- /package/dist/{lib-BmcGxHXH.mjs → lib-ZKtnbCqH.mjs} +0 -0
- /package/dist/{materialization-DsPIGQP1.mjs → materialization-DBXjSiBn.mjs} +0 -0
- /package/dist/{model-registry-DQDclqdw.mjs → model-registry-C2VXobZj.mjs} +0 -0
- /package/dist/{model-registry-DLeMw3l8.mjs → model-registry-rYICIwyR.mjs} +0 -0
- /package/dist/{namespace-q5dD3acO.d.mts → namespace-B3ol3pc-.d.mts} +0 -0
- /package/dist/{namespace-DrpHLJAy.mjs → namespace-BO3tODGC.mjs} +0 -0
- /package/dist/{namespace-uGUGfpGQ.mjs → namespace-BdO4e1Fm.mjs} +0 -0
- /package/dist/{namespace-2G7A4Sza.d.mts → namespace-BsYKEMd8.d.mts} +0 -0
- /package/dist/{namespace-DMhz3yvr.d.mts → namespace-CQ8uza7o.d.mts} +0 -0
- /package/dist/{namespace-zWB-ULrX.mjs → namespace-CVMZVqB5.mjs} +0 -0
- /package/dist/{namespace-nQS4XwnT.d.mts → namespace-D2s-4pyg.d.mts} +0 -0
- /package/dist/{namespace-FJsnoEQy.mjs → namespace-DBHwyhME.mjs} +0 -0
- /package/dist/{namespace-CN-Llu7H.mjs → namespace-DYSFDC2G.mjs} +0 -0
- /package/dist/{namespace-DcUwOJ4f.d.mts → namespace-Dk4OslmY.d.mts} +0 -0
- /package/dist/{namespace-DKnJL0Ja.d.mts → namespace-LUNf8zo5.d.mts} +0 -0
- /package/dist/{namespace-UUw-S7ia.mjs → namespace-wke7juzy.mjs} +0 -0
- /package/dist/{orchestrator-shared-CbS4ueeq.d.mts → orchestrator-shared-ChOdIgh6.d.mts} +0 -0
- /package/dist/{out-BUHr98Xe.mjs → out-BoEZjBNz.mjs} +0 -0
- /package/dist/{package-YQeRE8bV.mjs → package-CF_Zm2v4.mjs} +0 -0
- /package/dist/{platform-CsO-MRJP.mjs → platform-DnbSvm2u.mjs} +0 -0
- /package/dist/{providers-FEZT2bQG.mjs → providers-Bd7BOZs0.mjs} +0 -0
- /package/dist/{providers-namespace-B4INLPUc.d.mts → providers-namespace-5GoTlHXz.d.mts} +0 -0
- /package/dist/{quick-lru-C7AXdpbU.mjs → quick-lru-6e7I1Bgf.mjs} +0 -0
- /package/dist/{registry-CwjZvH2s.mjs → registry-U_3aYSin.mjs} +0 -0
- /package/dist/{schema-Ba64XQjo.mjs → schema-DHlTAy0N.mjs} +0 -0
- /package/dist/{schema-introspection-D5FaI5B_.mjs → schema-introspection-B7xODt4I.mjs} +0 -0
- /package/dist/{schemas-9QC3nvYP.mjs → schemas-ArqQTC0Q.mjs} +0 -0
- /package/dist/{schemas-DznsZ0bq.d.mts → schemas-B6tEKf9T.d.mts} +0 -0
- /package/dist/{schemas-CRS7tkFP.d.mts → schemas-BemsLc_V.d.mts} +0 -0
- /package/dist/{schemas-5kegIs9D.mjs → schemas-CPI00yvh.mjs} +0 -0
- /package/dist/{schemas-9Ifo5zSf.d.mts → schemas-DKncXGnb.d.mts} +0 -0
- /package/dist/{schemas-DZfBym73.d.mts → schemas-DWfo0wp4.d.mts} +0 -0
- /package/dist/{schemas-BxI5Yq8d.d.mts → schemas-DmGRSeIq.d.mts} +0 -0
- /package/dist/{schemas-BSAKbVyd.d.mts → schemas-KlH1hB7u.d.mts} +0 -0
- /package/dist/{schemas-DAYPhB5K.mjs → schemas-XeIBqwvE.mjs} +0 -0
- /package/dist/{semver-ClOD8k8c.mjs → semver-CIhHqMkw.mjs} +0 -0
- /package/dist/{server-lifecycle-CFQaPTf7.mjs → server-lifecycle-C5Z5PSMD.mjs} +0 -0
- /package/dist/{server-lifecycle-5iHxcgBO.d.mts → server-lifecycle-_AA6EfzL.d.mts} +0 -0
- /package/dist/{shared-schemas-jG3EtHZT.mjs → shared-schemas-BEVG96xW.mjs} +0 -0
- /package/dist/{src-CRDOZl7K.mjs → src-_VODAJnf.mjs} +0 -0
- /package/dist/{storage-namespace-C1JVmZF1.mjs → storage-namespace-D5q9CrBp.mjs} +0 -0
- /package/dist/{storage-namespace-gey7EUhM.d.mts → storage-namespace-Di1A3DMm.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-BPYSLTfN.d.mts → storage-namespace-definition-BffdI5Bz.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-Df8S3E3r.mjs → storage-namespace-definition-CzXPW45M.mjs} +0 -0
- /package/dist/{supports-color-AnssSSH9.mjs → supports-color-DcXkvGDF.mjs} +0 -0
- /package/dist/{telemetry-DdbvlZ8s.mjs → telemetry-Cvi4rxiE.mjs} +0 -0
- /package/dist/{tray-menu-service-am356993.mjs → tray-menu-service-B2AxiQqL.mjs} +0 -0
- /package/dist/{types-DhlQpVEb.d.mts → types-BMS6yfLS.d.mts} +0 -0
- /package/dist/{types-xLd-e0wf.d.mts → types-Bo78h9e3.d.mts} +0 -0
- /package/dist/{types-D-GeeSdd.d.mts → types-CPmOg4X7.d.mts} +0 -0
- /package/dist/{types-Bj7cOrBQ.d.mts → types-DCvp_swt.d.mts} +0 -0
- /package/dist/{variant-BdNN5edM.mjs → variant-5huHjUTm.mjs} +0 -0
- /package/dist/{window-registry-LRjWPwr4.mjs → window-registry-PkrFIwX2.mjs} +0 -0
- /package/dist/{window-registry-CA6AC8n7.d.mts → window-registry-ofIUQnfo.d.mts} +0 -0
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
import { mt as ArtifactRevision$1 } from "./index--diIlm1t.mjs";
|
|
2
|
+
import { i as JsonValue$1 } from "./json-value-DtIkQN7g.mjs";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
5
|
+
|
|
6
|
+
//#region core/contracts/src/workflow/blocks.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* JSON Schema document used for `outputSchema` fields on step block run mappings.
|
|
9
|
+
*
|
|
10
|
+
* A JSON Schema document is a JSON object (`Record<string, JsonValue>`). Using
|
|
11
|
+
* the inferred type from {@link JsonSchemaRecordSchema} keeps this type consistent
|
|
12
|
+
* with the schema validator used in persisted workflow node definitions.
|
|
13
|
+
*/
|
|
14
|
+
type JsonSchemaRecord = Record<string, JsonValue$1>;
|
|
15
|
+
/**
|
|
16
|
+
* Step block run mapping that compiles into a `station` primitive node.
|
|
17
|
+
*
|
|
18
|
+
* A station node is an atomic work unit executed by an AI agent or registered
|
|
19
|
+
* runtime handler. The `prompt` is a template evaluated against the builder
|
|
20
|
+
* form values; the optional `role` selects the executor role.
|
|
21
|
+
*/
|
|
22
|
+
interface StationNodeBlockRun {
|
|
23
|
+
/** Run mapping discriminant. */
|
|
24
|
+
readonly type: 'station';
|
|
25
|
+
/**
|
|
26
|
+
* Task prompt template compiled into the station node.
|
|
27
|
+
* Supports `{{ config.<field> }}` and `{{ input.<field> }}` interpolation.
|
|
28
|
+
*/
|
|
29
|
+
readonly prompt: string;
|
|
30
|
+
/**
|
|
31
|
+
* Named role reference forwarded to the compiled station node.
|
|
32
|
+
* Resolved via the bus `resolveRole` RPC before execution.
|
|
33
|
+
*/
|
|
34
|
+
readonly role?: string;
|
|
35
|
+
/**
|
|
36
|
+
* JSON Schema for the expected station output.
|
|
37
|
+
* Forwarded verbatim to the compiled station node's `outputSchema` field.
|
|
38
|
+
*/
|
|
39
|
+
readonly outputSchema?: JsonSchemaRecord;
|
|
40
|
+
/**
|
|
41
|
+
* Positive timeout in milliseconds forwarded to the compiled station node.
|
|
42
|
+
* Defaults to 300 000 ms at execution time when omitted.
|
|
43
|
+
*/
|
|
44
|
+
readonly timeoutMs?: number;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Step block run mapping that compiles into a `delegate-agent` primitive node.
|
|
48
|
+
*
|
|
49
|
+
* The `agentId` references a registered agent definition. The block builder
|
|
50
|
+
* resolves `inputExpression` against the configured form values when compiling
|
|
51
|
+
* the node.
|
|
52
|
+
*/
|
|
53
|
+
interface DelegateAgentNodeBlockRun {
|
|
54
|
+
/** Run mapping discriminant. */
|
|
55
|
+
readonly type: 'delegate-agent';
|
|
56
|
+
/**
|
|
57
|
+
* Identifier of the registered agent definition to invoke.
|
|
58
|
+
*/
|
|
59
|
+
readonly agentId: string;
|
|
60
|
+
/**
|
|
61
|
+
* jexl expression template resolving to the agent input payload.
|
|
62
|
+
* Supports `{{ config.<field> }}` and `{{ input.<field> }}` interpolation
|
|
63
|
+
* that the builder resolves when compiling into a concrete node.
|
|
64
|
+
*/
|
|
65
|
+
readonly inputExpression?: string;
|
|
66
|
+
/**
|
|
67
|
+
* JSON Schema for the expected agent output.
|
|
68
|
+
* Forwarded verbatim to the compiled node's `outputSchema` field.
|
|
69
|
+
*/
|
|
70
|
+
readonly outputSchema?: JsonSchemaRecord;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Step block run mapping that compiles into a `delegate-role` primitive node.
|
|
74
|
+
*
|
|
75
|
+
* The `role` is a product-resolved named executor. The `prompt` template is
|
|
76
|
+
* evaluated against the builder form values when compiling the node.
|
|
77
|
+
*/
|
|
78
|
+
interface DelegateRoleNodeBlockRun {
|
|
79
|
+
/** Run mapping discriminant. */
|
|
80
|
+
readonly type: 'delegate-role';
|
|
81
|
+
/**
|
|
82
|
+
* Named role reference resolved via the bus `resolveRole` RPC at execution time.
|
|
83
|
+
*/
|
|
84
|
+
readonly role: string;
|
|
85
|
+
/**
|
|
86
|
+
* Task prompt template forwarded to the compiled node.
|
|
87
|
+
* Supports `{{ config.<field> }}` and `{{ input.<field> }}` interpolation.
|
|
88
|
+
*/
|
|
89
|
+
readonly prompt: string;
|
|
90
|
+
/**
|
|
91
|
+
* JSON Schema for the expected delegation output.
|
|
92
|
+
* Forwarded verbatim to the compiled node's `outputSchema` field.
|
|
93
|
+
*/
|
|
94
|
+
readonly outputSchema?: JsonSchemaRecord;
|
|
95
|
+
/**
|
|
96
|
+
* Positive timeout in milliseconds forwarded to the compiled node.
|
|
97
|
+
* Defaults to 300 000 ms at execution time when omitted.
|
|
98
|
+
*/
|
|
99
|
+
readonly timeoutMs?: number;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Discriminated union of all supported workflow step block run mappings.
|
|
103
|
+
*
|
|
104
|
+
* Each variant maps a declared step block to a concrete primitive node type.
|
|
105
|
+
* The builder compiles the selected variant into the workflow definition as the
|
|
106
|
+
* corresponding {@link WorkflowNode} subtype when the block is placed in the canvas.
|
|
107
|
+
*
|
|
108
|
+
* Extend this union when new primitive node types require builder support.
|
|
109
|
+
*/
|
|
110
|
+
type WorkflowStepBlockRun = StationNodeBlockRun | DelegateAgentNodeBlockRun | DelegateRoleNodeBlockRun;
|
|
111
|
+
/**
|
|
112
|
+
* Metadata shared by all workflow blocks.
|
|
113
|
+
*/
|
|
114
|
+
interface WorkflowBlockMetadata {
|
|
115
|
+
/** Stable identifier, namespaced by extension (e.g., 'coderabbit.review-posted'). */
|
|
116
|
+
name: string;
|
|
117
|
+
/** Human-readable label for the builder UI. */
|
|
118
|
+
label: string;
|
|
119
|
+
/** Short description for tooltips and catalog. */
|
|
120
|
+
description: string;
|
|
121
|
+
/** Grouping tags for the builder palette. Uncategorized blocks appear in "Other". */
|
|
122
|
+
categories?: string[];
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* A trigger block declaration — determines WHEN a workflow starts.
|
|
126
|
+
* @typeParam TConfig - Zod shape for the builder configuration form.
|
|
127
|
+
* @typeParam TOutput - Zod type for the payload passed into the workflow as input.
|
|
128
|
+
*/
|
|
129
|
+
interface WorkflowTriggerBlock<TConfig extends z.ZodRawShape = z.ZodRawShape, TOutput extends z.ZodType = z.ZodType> {
|
|
130
|
+
/** Shared metadata used in the builder palette and catalog. */
|
|
131
|
+
metadata: WorkflowBlockMetadata;
|
|
132
|
+
/** Drives the configuration form in the builder UI. */
|
|
133
|
+
configSchema: z.ZodObject<TConfig>;
|
|
134
|
+
/** The payload shape passed into the workflow when this trigger fires. */
|
|
135
|
+
outputSchema: TOutput;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* A step block declaration — determines WHAT happens inside a workflow.
|
|
139
|
+
*
|
|
140
|
+
* The `runs` field specifies which primitive node type this block compiles to
|
|
141
|
+
* when placed in the workflow canvas. The builder reads `runs` to construct a
|
|
142
|
+
* concrete {@link WorkflowNode} (station, delegate-agent, or delegate-role) for
|
|
143
|
+
* the persisted workflow definition.
|
|
144
|
+
* @typeParam TConfig - Zod shape for the builder configuration form.
|
|
145
|
+
* @typeParam TInput - Zod type for what this step expects from upstream.
|
|
146
|
+
* @typeParam TOutput - Zod type for what downstream steps can reference.
|
|
147
|
+
*/
|
|
148
|
+
interface WorkflowStepBlock<TConfig extends z.ZodRawShape = z.ZodRawShape, TInput extends z.ZodType = z.ZodType, TOutput extends z.ZodType = z.ZodType> {
|
|
149
|
+
/** Shared metadata used in the builder palette and catalog. */
|
|
150
|
+
metadata: WorkflowBlockMetadata;
|
|
151
|
+
/** Drives the configuration form in the builder UI. */
|
|
152
|
+
configSchema: z.ZodObject<TConfig>;
|
|
153
|
+
/** What this step expects from upstream (expressions/config). */
|
|
154
|
+
inputSchema: TInput;
|
|
155
|
+
/** What downstream steps can reference via steps.<id>.result. */
|
|
156
|
+
outputSchema: TOutput;
|
|
157
|
+
/**
|
|
158
|
+
* Primitive node compilation target for this step block.
|
|
159
|
+
*
|
|
160
|
+
* The builder reads this field and constructs the corresponding primitive
|
|
161
|
+
* node ({@link WorkflowStationNode}, {@link WorkflowDelegateAgentNode}, or
|
|
162
|
+
* {@link WorkflowDelegateRoleNode}) when the block is placed on the canvas.
|
|
163
|
+
*/
|
|
164
|
+
runs: WorkflowStepBlockRun;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Collection of workflow blocks contributed by an extension.
|
|
168
|
+
*/
|
|
169
|
+
interface WorkflowBlockCollection$1 {
|
|
170
|
+
/** Trigger block declarations — each determines WHEN a workflow starts. */
|
|
171
|
+
readonly triggers?: readonly WorkflowTriggerBlock[];
|
|
172
|
+
/** Step block declarations — each determines WHAT happens inside a workflow. */
|
|
173
|
+
readonly steps?: readonly WorkflowStepBlock[];
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Serialized trigger block as stored in the registry and served via bus.
|
|
177
|
+
*
|
|
178
|
+
* Schema fields are stored as JSON Schema objects for transport and builder
|
|
179
|
+
* catalog rendering.
|
|
180
|
+
*/
|
|
181
|
+
interface RegisteredTriggerBlock$1 {
|
|
182
|
+
/** Trigger metadata combined with the owning extension name. */
|
|
183
|
+
metadata: WorkflowBlockMetadata & {
|
|
184
|
+
extensionName: string;
|
|
185
|
+
};
|
|
186
|
+
/** JSON Schema representation of the builder configuration form. */
|
|
187
|
+
configSchema: Record<string, unknown>;
|
|
188
|
+
/** JSON Schema representation of the trigger output payload. */
|
|
189
|
+
outputSchema: Record<string, unknown>;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Serialized step block as stored in the registry and served via bus.
|
|
193
|
+
*
|
|
194
|
+
* Schema fields are stored as JSON Schema objects for transport and builder
|
|
195
|
+
* catalog rendering. The `runs` field is preserved verbatim from the block
|
|
196
|
+
* declaration so the builder can construct the target primitive node directly.
|
|
197
|
+
*/
|
|
198
|
+
interface RegisteredStepBlock$1 {
|
|
199
|
+
/** Step metadata combined with the owning extension name. */
|
|
200
|
+
metadata: WorkflowBlockMetadata & {
|
|
201
|
+
extensionName: string;
|
|
202
|
+
};
|
|
203
|
+
/** JSON Schema representation of the builder configuration form. */
|
|
204
|
+
configSchema: Record<string, unknown>;
|
|
205
|
+
/** JSON Schema representation of the expected upstream input. */
|
|
206
|
+
inputSchema: Record<string, unknown>;
|
|
207
|
+
/** JSON Schema representation of what downstream steps can reference. */
|
|
208
|
+
outputSchema: Record<string, unknown>;
|
|
209
|
+
/**
|
|
210
|
+
* Primitive node compilation target preserved verbatim from the block declaration.
|
|
211
|
+
* The builder uses this to construct the appropriate primitive node when
|
|
212
|
+
* placing the block on the canvas.
|
|
213
|
+
*/
|
|
214
|
+
runs: WorkflowStepBlockRun;
|
|
215
|
+
}
|
|
216
|
+
//#endregion
|
|
217
|
+
//#region core/contracts/src/workflow/transition.d.ts
|
|
218
|
+
/**
|
|
219
|
+
* The set of artifact bus events that can trigger a transition rule.
|
|
220
|
+
*
|
|
221
|
+
* - `artifact.created` — fires when a new artifact is created
|
|
222
|
+
* - `artifact.revised` — fires when an existing artifact receives a new revision
|
|
223
|
+
* - `artifact.status.changed` — fires when a tracked status field changes
|
|
224
|
+
*/
|
|
225
|
+
declare const TransitionEventTypeSchema: z.ZodEnum<{
|
|
226
|
+
"artifact.created": "artifact.created";
|
|
227
|
+
"artifact.revised": "artifact.revised";
|
|
228
|
+
"artifact.status.changed": "artifact.status.changed";
|
|
229
|
+
}>;
|
|
230
|
+
type TransitionEventType$1 = z.infer<typeof TransitionEventTypeSchema>;
|
|
231
|
+
/**
|
|
232
|
+
* Serializable condition evaluated against an artifact event payload.
|
|
233
|
+
*
|
|
234
|
+
* Stored as an opaque JSON record in the contracts layer. The pipeline
|
|
235
|
+
* service interprets this using `@makaio/rules` at evaluation time,
|
|
236
|
+
* supporting field comparisons, `$and`/`$or`/`$not` combinators, and
|
|
237
|
+
* `$expr` jexl expression strings.
|
|
238
|
+
*
|
|
239
|
+
* Evaluation context shape:
|
|
240
|
+
* - `artifact` — the `ArtifactRevision` involved in the event
|
|
241
|
+
* - `previous` — the previous `ArtifactRef` for `artifact.revised` events
|
|
242
|
+
* - `previousArtifact` — the resolved previous `ArtifactRevision` for
|
|
243
|
+
* `artifact.revised` events when the artifact store can provide it
|
|
244
|
+
* - `path` — the status path for `artifact.status.changed` events
|
|
245
|
+
* - `current` — the new status value for `artifact.status.changed` events
|
|
246
|
+
*/
|
|
247
|
+
declare const TransitionConditionSchema: z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
248
|
+
type TransitionCondition = z.infer<typeof TransitionConditionSchema>;
|
|
249
|
+
/**
|
|
250
|
+
* Invocation descriptor for the action to execute when a transition rule fires.
|
|
251
|
+
*
|
|
252
|
+
* `type` selects the registered action handler; `input` supplies the
|
|
253
|
+
* action-specific payload; `executionHints` threads optional infrastructure
|
|
254
|
+
* hints to the execution host.
|
|
255
|
+
*
|
|
256
|
+
* Built-in action type:
|
|
257
|
+
* - `'workflow.start'` — start a workflow execution via the bus
|
|
258
|
+
*/
|
|
259
|
+
declare const TransitionActionInvocationSchema: z.ZodObject<{
|
|
260
|
+
type: z.ZodString;
|
|
261
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
262
|
+
executionHints: z.ZodOptional<z.ZodObject<{
|
|
263
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
264
|
+
kind: z.ZodLiteral<"path">;
|
|
265
|
+
path: z.ZodString;
|
|
266
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
267
|
+
kind: z.ZodLiteral<"source">;
|
|
268
|
+
filename: z.ZodString;
|
|
269
|
+
source: z.ZodString;
|
|
270
|
+
}, z.core.$strict>], "kind">>;
|
|
271
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
272
|
+
isolation: z.ZodOptional<z.ZodEnum<{
|
|
273
|
+
local: "local";
|
|
274
|
+
remote: "remote";
|
|
275
|
+
container: "container";
|
|
276
|
+
}>>;
|
|
277
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
278
|
+
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
279
|
+
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
280
|
+
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
281
|
+
}, z.core.$strip>;
|
|
282
|
+
type TransitionActionInvocation$1 = z.infer<typeof TransitionActionInvocationSchema>;
|
|
283
|
+
/**
|
|
284
|
+
* Declarative rule that watches artifact events and triggers workflow actions.
|
|
285
|
+
*
|
|
286
|
+
* Transition rules are purely serializable — no functions. The pipeline service
|
|
287
|
+
* evaluates the `when` condition against the incoming artifact event payload and
|
|
288
|
+
* dispatches the `action` through the `TransitionActionRegistry` when the
|
|
289
|
+
* condition matches.
|
|
290
|
+
*
|
|
291
|
+
* ID namespacing:
|
|
292
|
+
* - Bundle-contributed rules: `'<bundleId>.<localId>'`
|
|
293
|
+
* - Extension-contributed rules: `'<extensionName>.<localId>'`
|
|
294
|
+
*
|
|
295
|
+
* Duplicate IDs across all sources hard-fail activation.
|
|
296
|
+
*/
|
|
297
|
+
declare const TransitionRuleDefinitionSchema$1: z.ZodObject<{
|
|
298
|
+
id: z.ZodString;
|
|
299
|
+
description: z.ZodOptional<z.ZodString>;
|
|
300
|
+
on: z.ZodEnum<{
|
|
301
|
+
"artifact.created": "artifact.created";
|
|
302
|
+
"artifact.revised": "artifact.revised";
|
|
303
|
+
"artifact.status.changed": "artifact.status.changed";
|
|
304
|
+
}>;
|
|
305
|
+
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
306
|
+
action: z.ZodObject<{
|
|
307
|
+
type: z.ZodString;
|
|
308
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
309
|
+
executionHints: z.ZodOptional<z.ZodObject<{
|
|
310
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
311
|
+
kind: z.ZodLiteral<"path">;
|
|
312
|
+
path: z.ZodString;
|
|
313
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
314
|
+
kind: z.ZodLiteral<"source">;
|
|
315
|
+
filename: z.ZodString;
|
|
316
|
+
source: z.ZodString;
|
|
317
|
+
}, z.core.$strict>], "kind">>;
|
|
318
|
+
requirements: z.ZodOptional<z.ZodObject<{
|
|
319
|
+
isolation: z.ZodOptional<z.ZodEnum<{
|
|
320
|
+
local: "local";
|
|
321
|
+
remote: "remote";
|
|
322
|
+
container: "container";
|
|
323
|
+
}>>;
|
|
324
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
325
|
+
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
326
|
+
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
327
|
+
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
328
|
+
}, z.core.$strip>;
|
|
329
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
330
|
+
}, z.core.$strip>;
|
|
331
|
+
type TransitionRuleDefinition$1 = z.infer<typeof TransitionRuleDefinitionSchema$1>;
|
|
332
|
+
/**
|
|
333
|
+
* Transition rule contribution surface for extension packages.
|
|
334
|
+
*
|
|
335
|
+
* Declarative static rules contributed by an extension. Processed by
|
|
336
|
+
* `TransitionContributionProcessor` during extension activation.
|
|
337
|
+
*/
|
|
338
|
+
interface ExtensionTransitionRulesContribution {
|
|
339
|
+
/**
|
|
340
|
+
* Transition rule definitions contributed by this extension.
|
|
341
|
+
*
|
|
342
|
+
* All IDs must be prefixed with `'<extensionName>.'` (enforced by the
|
|
343
|
+
* contribution processor). Duplicate IDs hard-fail activation.
|
|
344
|
+
*/
|
|
345
|
+
readonly rules: readonly TransitionRuleDefinition$1[];
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Callable transition action handler.
|
|
349
|
+
*
|
|
350
|
+
* Invoked by the pipeline when a matching rule fires. Receives the resolved
|
|
351
|
+
* invocation and the artifact event context so it can read artifact data when
|
|
352
|
+
* building downstream bus requests.
|
|
353
|
+
*/
|
|
354
|
+
interface TransitionActionHandler {
|
|
355
|
+
/**
|
|
356
|
+
* Execute the action.
|
|
357
|
+
* @param invocation - Resolved action invocation descriptor.
|
|
358
|
+
* @param context - Evaluation context built from the triggering artifact event.
|
|
359
|
+
* @returns Promise that resolves when the action dispatch completes.
|
|
360
|
+
*/
|
|
361
|
+
readonly execute: (invocation: TransitionActionInvocation$1, context: TransitionEvaluationContext$1) => Promise<void>;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Factory that creates a {@link TransitionActionHandler} for a given action type.
|
|
365
|
+
*
|
|
366
|
+
* Factories are registered at contribution time and instantiated lazily by the
|
|
367
|
+
* pipeline service.
|
|
368
|
+
*/
|
|
369
|
+
type TransitionActionFactory$1 = () => TransitionActionHandler;
|
|
370
|
+
/**
|
|
371
|
+
* Transition action factory contribution surface for extension packages.
|
|
372
|
+
*
|
|
373
|
+
* Extensions that need custom action semantics beyond the built-in
|
|
374
|
+
* `workflow.start` action register their handler factories here.
|
|
375
|
+
*/
|
|
376
|
+
interface ExtensionTransitionActionsContribution {
|
|
377
|
+
/**
|
|
378
|
+
* Map of action type strings to action handler factories.
|
|
379
|
+
*
|
|
380
|
+
* Each key is a registered action `type` string as declared in
|
|
381
|
+
* {@link TransitionActionInvocationSchema}. Values are factories
|
|
382
|
+
* called once per rule dispatch to produce a fresh handler.
|
|
383
|
+
*
|
|
384
|
+
* All keys must be prefixed with `'<extensionName>.'`.
|
|
385
|
+
*/
|
|
386
|
+
readonly actions: Readonly<Record<string, TransitionActionFactory$1>>;
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* Context object passed to condition evaluation and action dispatch.
|
|
390
|
+
*
|
|
391
|
+
* The pipeline builds this from the incoming artifact event payload so
|
|
392
|
+
* that rules can reference `artifact`, `previous`, `path`, and `current`
|
|
393
|
+
* fields using dot-notation in their `when` conditions.
|
|
394
|
+
*/
|
|
395
|
+
interface TransitionEvaluationContext$1 {
|
|
396
|
+
/**
|
|
397
|
+
* The artifact revision involved in the event.
|
|
398
|
+
*
|
|
399
|
+
* The transition pipeline resolves ref-oriented artifact events, such as
|
|
400
|
+
* `artifact.status.changed`, before evaluating rules so authoring sees a
|
|
401
|
+
* consistent full-revision context.
|
|
402
|
+
*/
|
|
403
|
+
readonly artifact: ArtifactRevision$1;
|
|
404
|
+
/**
|
|
405
|
+
* Previous value from the artifact event. For `artifact.revised` this is the
|
|
406
|
+
* previous artifact ref; for `artifact.status.changed` this is the previous
|
|
407
|
+
* status value.
|
|
408
|
+
*/
|
|
409
|
+
readonly previous?: unknown;
|
|
410
|
+
/**
|
|
411
|
+
* Resolved previous artifact revision for `artifact.revised` events.
|
|
412
|
+
*
|
|
413
|
+
* This preserves `previous` as the original event value while giving rules a
|
|
414
|
+
* full before/after snapshot when they need to detect semantic deltas.
|
|
415
|
+
*/
|
|
416
|
+
readonly previousArtifact?: ArtifactRevision$1;
|
|
417
|
+
/**
|
|
418
|
+
* JSON Pointer path to the status field that changed.
|
|
419
|
+
* Present only for `artifact.status.changed` events.
|
|
420
|
+
*/
|
|
421
|
+
readonly path?: string;
|
|
422
|
+
/**
|
|
423
|
+
* Current status value after the change.
|
|
424
|
+
* Present only for `artifact.status.changed` events.
|
|
425
|
+
*/
|
|
426
|
+
readonly current?: unknown;
|
|
427
|
+
/**
|
|
428
|
+
* Loop-protection metadata injected by the pipeline.
|
|
429
|
+
*
|
|
430
|
+
* Downstream actions can inspect this to detect and break
|
|
431
|
+
* artifact-triggered → workflow → artifact cycles.
|
|
432
|
+
*/
|
|
433
|
+
readonly _transition: {
|
|
434
|
+
/**
|
|
435
|
+
* The transition rule ID that fired this action.
|
|
436
|
+
*/
|
|
437
|
+
readonly ruleId: string;
|
|
438
|
+
/**
|
|
439
|
+
* The artifact event type that matched the rule.
|
|
440
|
+
*/
|
|
441
|
+
readonly eventType: TransitionEventType$1;
|
|
442
|
+
/**
|
|
443
|
+
* Depth counter tracking recursive transition invocations.
|
|
444
|
+
*
|
|
445
|
+
* The pipeline increments this on each nested trigger level.
|
|
446
|
+
* Action handlers that re-emit artifact events must propagate this
|
|
447
|
+
* metadata so the pipeline can reject invocations that exceed the
|
|
448
|
+
* configured maximum depth.
|
|
449
|
+
*/
|
|
450
|
+
readonly depth: number;
|
|
451
|
+
};
|
|
452
|
+
}
|
|
453
|
+
//#endregion
|
|
454
|
+
export { WorkflowTriggerBlock as C, WorkflowStepBlockRun as S, RegisteredTriggerBlock$1 as _, TransitionActionInvocation$1 as a, WorkflowBlockMetadata as b, TransitionConditionSchema as c, TransitionEventTypeSchema as d, TransitionRuleDefinition$1 as f, RegisteredStepBlock$1 as g, DelegateRoleNodeBlockRun as h, TransitionActionHandler as i, TransitionEvaluationContext$1 as l, DelegateAgentNodeBlockRun as m, ExtensionTransitionRulesContribution as n, TransitionActionInvocationSchema as o, TransitionRuleDefinitionSchema$1 as p, TransitionActionFactory$1 as r, TransitionCondition as s, ExtensionTransitionActionsContribution as t, TransitionEventType$1 as u, StationNodeBlockRun as v, WorkflowStepBlock as x, WorkflowBlockCollection$1 as y };
|