@makaio/framework 1.0.0-dev-1781472900225 → 1.0.0-dev-1781729394463
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-B5I7Wp4y.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 +3 -3
- 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-DcMVmNW5.mjs +1 -0
- package/dist/bus/index.d.mts +21 -21
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-BgodbPl9.mjs +2 -0
- package/dist/bus-HgaFcCZ1.mjs +1 -0
- package/dist/canonical-model-BWGkgf3v.mjs +1 -0
- package/dist/{client-D24ebgGH.mjs → client-BO-0jTSV.mjs} +1 -1
- package/dist/compression-DMoeVgKx.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 +208 -9719
- 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 +3 -3
- package/dist/contracts/provider/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +3 -3
- 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-BJ_975aA.mjs +1 -0
- package/dist/{definition-B2FH_eOh.d.mts → definition-Cllhr9mi.d.mts} +13 -2
- package/dist/{definition-CZcVOhXZ.d.mts → definition-b9jyJqPD.d.mts} +1 -1
- package/dist/{detached-extension-handle-BYxNmLfv.mjs → detached-extension-handle-Cx6-0eqg.mjs} +1 -1
- package/dist/drizzle/0020_m_mqf47r9j.sql +1 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/{extension-CTkoi8MV.mjs → extension-BJHRahFl.mjs} +1 -1
- package/dist/{extension-DNrcv3V7.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-Cpy9Q8ho.mjs → handlers-BAycjV02.mjs} +2 -2
- package/dist/{harness-HEpELa_v.mjs → harness-DkUpbsuY.mjs} +1 -1
- package/dist/{index-BafN3wmA.d.mts → index-BAQ6QBcU.d.mts} +18 -18
- package/dist/{index-DDAviCTa.d.mts → index-BEzRpWsS.d.mts} +393 -354
- package/dist/{index-CciZTbYG.d.mts → index-CW_LbXdg.d.mts} +4 -4
- package/dist/{index-DKR_B-Oa.d.mts → index-CYHWOXUm.d.mts} +1 -1
- package/dist/{index-CKaFWH2Q.d.mts → index-CZJc-V9L.d.mts} +40 -19
- package/dist/index-Cjo24O5I.d.mts +10036 -0
- package/dist/{index-C2XLjebs.d.mts → index-CmHdpW0E.d.mts} +4 -4
- package/dist/{index-nEJX7pZ7.d.mts → index-D1KPCXBN.d.mts} +3 -3
- package/dist/{index-6QvT0ljq.d.mts → index-D9-vOJvZ.d.mts} +1 -1
- package/dist/{index-DGbTPRLw.d.mts → index-DKNmj2sa.d.mts} +22 -22
- package/dist/{index-BQ8H7cvY.d.mts → index-DLNRgZPo2.d.mts} +1 -1
- package/dist/{index-xeg-bqxO.d.mts → index-DMz-2ACU.d.mts} +105 -105
- package/dist/{index-DUI1W-zN.d.mts → index-DTBQOCar.d.mts} +8 -8
- package/dist/{index-XzH0OovV.d.mts → index-DWKCb-eJ.d.mts} +2 -2
- package/dist/{index-BBteExwv.d.mts → index-DiifAKRu.d.mts} +11 -4
- package/dist/{index-ldkFQKNM.d.mts → index-Dw7ErgWU.d.mts} +10 -457
- package/dist/{index-BZuF4I8O.d.mts → index-NkNbYFud.d.mts} +1 -55
- package/dist/{index-DBd4CgV5.d.mts → index-aciWhUWw.d.mts} +393 -393
- package/dist/{index-BaajomEP.d.mts → index-kwq54nx4.d.mts} +15 -15
- package/dist/{index-DNmENr9M.d.mts → index-mU2lnU7O.d.mts} +6 -6
- 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-DkLlhp9Z.mjs → lib-Ba55od_d.mjs} +3 -3
- package/dist/{lib-jOuIcSs9.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-CwU5zAGs.mjs +1 -0
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/{namespace-Ba1gUpUu.d.mts → namespace-3yGm4WF9.d.mts} +2 -2
- package/dist/{namespace-D8fZyqIh.d.mts → namespace-B95uYmZB.d.mts} +30 -30
- package/dist/{namespace-BxrHvS5c.mjs → namespace-C-piH3w4.mjs} +1 -1
- package/dist/{namespace-BQgZChZl.d.mts → namespace-COEUMuHL.d.mts} +154 -154
- package/dist/{namespace-Q-z7Lr2f.d.mts → namespace-CTsfVI3H.d.mts} +3 -3
- package/dist/{namespace-vf2H23bo.d.mts → namespace-DYJZAGzR.d.mts} +76 -39
- package/dist/namespace-DibbhCPP.mjs +1 -0
- 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-fwIv7zzj.d.mts → package-MmQvNJ3u.d.mts} +1 -1
- package/dist/package-rdrXr17q.mjs +1 -0
- 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/{providers-namespace-C0C-Sb4N.d.mts → providers-namespace-5GoTlHXz.d.mts} +7 -7
- package/dist/{registry-udUhXSIC.mjs → registry-U_3aYSin.mjs} +2 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/extension-discovery.d.mts +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +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-zLCdL-0u.d.mts → schema-B2bO5Yui.d.mts} +28 -2
- package/dist/{schema-atatXwNg.mjs → schema-D6WAI8OL.mjs} +1 -1
- package/dist/schemas-BWasvfw2.mjs +1 -0
- package/dist/{schemas-fEoe6H0K.d.mts → schemas-CDBn9MTz.d.mts} +154 -154
- package/dist/schemas-CE1gbhxu.mjs +1 -0
- package/dist/{schemas-IDGAJ_zv.d.mts → schemas-CscdPqCt.d.mts} +3 -3
- package/dist/{schemas-BbFAwUpf.d.mts → schemas-DMMWmWjq.d.mts} +1 -1
- package/dist/scoped-bus-H3xMYR0E.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 +1 -1
- 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/git/namespace.d.mts +2 -2
- package/dist/services/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.d.mts +1 -1
- package/dist/services/git/schemas.mjs +1 -1
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/index.d.mts +140 -140
- 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.mjs +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/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.mjs +2 -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.mjs +1 -1
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/clients-namespace.mjs +1 -1
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/index.mjs +1 -1
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent/index.mjs +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/index.mjs +1 -1
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/session-0nWT4st6.mjs +39 -0
- package/dist/session-Bey-bzcX.mjs +1 -0
- 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-B_28RhuK.mjs → tool-approval-service-DEQiipxj.mjs} +1 -1
- package/dist/{tools-BpzJterj.mjs → tools-uAgIrqan.mjs} +1 -1
- package/dist/transition-Coowd2dA.d.mts +454 -0
- package/dist/{types-BB8iIAjZ.d.mts → types-BslClRkH.d.mts} +1 -1
- package/dist/{types-DaznHkuE.d.mts → types-Cagp7JXb.d.mts} +279 -260
- 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 +61 -31
- 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-CjuRYLmJ.mjs → workflow-worker-CojIlB6k.mjs} +1 -1
- package/package.json +1 -1
- package/dist/adapter-ux2xaQ6H.mjs +0 -1
- package/dist/await-trigger-uKEHY8E4.mjs +0 -1
- package/dist/bus-EZNBPRYi.mjs +0 -2
- package/dist/bus-TDrZtNyc.mjs +0 -1
- package/dist/canonical-model-BE7t86yt.mjs +0 -1
- package/dist/compression-Cy9DIqyr.mjs +0 -1
- package/dist/definition-Bija4lGr.mjs +0 -1
- package/dist/namespace-CH_NWUKW.mjs +0 -1
- package/dist/package-lxB0vpby.mjs +0 -1
- package/dist/primitive-runtime-BSg8J7VX.mjs +0 -1
- package/dist/schemas-Dvm_0GDr.mjs +0 -1
- package/dist/scoped-bus-CRC3ba_l.mjs +0 -1
- package/dist/session-Is5VSP2V.mjs +0 -1
- package/dist/session-ZAJrcudH.mjs +0 -39
- /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-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-9vCtepE32.d.mts → index-BWIkf5oJ.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-DLPjliGd.d.mts → index-CfIW5biI.d.mts} +0 -0
- /package/dist/{index-orAkFukT.d.mts → index-CpKikwK4.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-CEqkI6Zu.d.mts → namespace-65uwTpbg.d.mts} +0 -0
- /package/dist/{namespace-6u1Uf-iw2.d.mts → namespace-6sIu5nBI2.d.mts} +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-B1Bldc48.d.mts → namespace-KMxsPJwm.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/{quick-lru-C7AXdpbU.mjs → quick-lru-6e7I1Bgf.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-C5iazMbM2.d.mts → schemas-ByssHRGU2.d.mts} +0 -0
- /package/dist/{schemas-5kegIs9D.mjs → schemas-CPI00yvh.mjs} +0 -0
- /package/dist/{schemas-Cae5dubB.d.mts → schemas-D4zaFE2p.d.mts} +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/{session-lineage-D_8W1MI0.d.mts → session-lineage-Cht4jbvV.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
|
@@ -11,8 +11,8 @@ import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
|
11
11
|
*/
|
|
12
12
|
declare const FacetAuthoritySchema: z.ZodEnum<{
|
|
13
13
|
system: "system";
|
|
14
|
-
agent: "agent";
|
|
15
14
|
human: "human";
|
|
15
|
+
agent: "agent";
|
|
16
16
|
}>;
|
|
17
17
|
/**
|
|
18
18
|
* Cardinality of values a facet namespace permits per target.
|
|
@@ -53,8 +53,8 @@ declare const FacetNamespaceRegistrationSchema: z.ZodObject<{
|
|
|
53
53
|
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
54
54
|
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
55
55
|
system: "system";
|
|
56
|
-
agent: "agent";
|
|
57
56
|
human: "human";
|
|
57
|
+
agent: "agent";
|
|
58
58
|
}>>>;
|
|
59
59
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
60
60
|
workpiece: "workpiece";
|
|
@@ -157,8 +157,8 @@ declare const FacetSchemas: {
|
|
|
157
157
|
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
158
158
|
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
159
159
|
system: "system";
|
|
160
|
-
agent: "agent";
|
|
161
160
|
human: "human";
|
|
161
|
+
agent: "agent";
|
|
162
162
|
}>>>;
|
|
163
163
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
164
164
|
workpiece: "workpiece";
|
|
@@ -185,8 +185,8 @@ declare const FacetSchemas: {
|
|
|
185
185
|
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
186
186
|
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
187
187
|
system: "system";
|
|
188
|
-
agent: "agent";
|
|
189
188
|
human: "human";
|
|
189
|
+
agent: "agent";
|
|
190
190
|
}>>>;
|
|
191
191
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
192
192
|
workpiece: "workpiece";
|
|
@@ -223,8 +223,8 @@ declare const FacetNamespace: _$_makaio_core0.BusNamespaceDefinition<"facet", {
|
|
|
223
223
|
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
224
224
|
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
225
225
|
system: "system";
|
|
226
|
-
agent: "agent";
|
|
227
226
|
human: "human";
|
|
227
|
+
agent: "agent";
|
|
228
228
|
}>>>;
|
|
229
229
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
230
230
|
workpiece: "workpiece";
|
|
@@ -251,8 +251,8 @@ declare const FacetNamespace: _$_makaio_core0.BusNamespaceDefinition<"facet", {
|
|
|
251
251
|
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
252
252
|
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
253
253
|
system: "system";
|
|
254
|
-
agent: "agent";
|
|
255
254
|
human: "human";
|
|
255
|
+
agent: "agent";
|
|
256
256
|
}>>>;
|
|
257
257
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
258
258
|
workpiece: "workpiece";
|
|
@@ -295,8 +295,8 @@ declare const FacetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
|
|
|
295
295
|
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
296
296
|
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
297
297
|
system: "system";
|
|
298
|
-
agent: "agent";
|
|
299
298
|
human: "human";
|
|
299
|
+
agent: "agent";
|
|
300
300
|
}>>>;
|
|
301
301
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
302
302
|
workpiece: "workpiece";
|
|
@@ -323,8 +323,8 @@ declare const FacetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
|
|
|
323
323
|
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
324
324
|
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
325
325
|
system: "system";
|
|
326
|
-
agent: "agent";
|
|
327
326
|
human: "human";
|
|
327
|
+
agent: "agent";
|
|
328
328
|
}>>>;
|
|
329
329
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
330
330
|
workpiece: "workpiece";
|
|
@@ -342,7 +342,7 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
|
|
|
342
342
|
"show-all": "show-all";
|
|
343
343
|
}>>;
|
|
344
344
|
credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
345
|
-
capabilities: z.ZodOptional<z.
|
|
345
|
+
capabilities: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
346
346
|
}, z.core.$strip>;
|
|
347
347
|
}, z.core.$strip>>;
|
|
348
348
|
clients: z.ZodArray<z.ZodObject<{
|
|
@@ -797,7 +797,7 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
797
797
|
"show-all": "show-all";
|
|
798
798
|
}>>;
|
|
799
799
|
credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
800
|
-
capabilities: z.ZodOptional<z.
|
|
800
|
+
capabilities: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
801
801
|
}, z.core.$strip>;
|
|
802
802
|
}, z.core.$strip>>;
|
|
803
803
|
clients: z.ZodArray<z.ZodObject<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as ExtensionDiscovery } from "./extension-discovery-
|
|
1
|
+
import { r as ExtensionDiscovery } from "./extension-discovery-CIZn5bkq.mjs";
|
|
2
2
|
import { RegistrableBusNamespaceDefinition } from "@makaio/framework/core";
|
|
3
3
|
import { BusTransport, IMakaioBus, SubjectTelemetryProjectorRegistry } from "@makaio/framework/bus";
|
|
4
|
-
import { ExtensionConfigProvider, IWorkerNodeProvider, IWorkflowRunner, IWorkflowRunner as IWorkflowRunner$1, NormalizedWorkerNodeCapabilities, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, TrayManifest, WorkerContributionManifest, WorkerNodeCapabilities, WorkerNodeDispatch, WorkerNodeHandle, WorkerNodeProvisionRequest, WorkerNodeRequirements, WorkflowDefinition, WorkflowRunResult, WorkflowRunResult as WorkflowRunResult$1, WorkflowRunnerRunOptions, WorkflowWorkerConfig, WorkflowWorkerSource, WorkflowZodSchemas } from "@makaio/framework/contracts";
|
|
4
|
+
import { ExtensionConfigProvider, IWorkerNodeProvider, IWorkflowRunner, IWorkflowRunner as IWorkflowRunner$1, LoopGateHandler, NormalizedWorkerNodeCapabilities, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, TrayManifest, WorkerContributionManifest, WorkerNodeCapabilities, WorkerNodeDispatch, WorkerNodeHandle, WorkerNodeProvisionRequest, WorkerNodeRequirements, WorkflowDefinition, WorkflowRunResult, WorkflowRunResult as WorkflowRunResult$1, WorkflowRunnerRunOptions, WorkflowWorkerConfig, WorkflowWorkerSource, WorkflowZodSchemas } from "@makaio/framework/contracts";
|
|
5
5
|
import { DispatchingAuth, TransportAuth } from "@makaio/framework/node/transports";
|
|
6
6
|
import { StorageEngine } from "@makaio/framework/storage/drizzle";
|
|
7
7
|
import { ContributionProcessor, ExtensionCoordinator, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, TransportProvider, WindowRegistry } from "@makaio/framework/kernel";
|
|
@@ -886,6 +886,11 @@ interface RuntimeLoadedWorkflow {
|
|
|
886
886
|
* Used by the orchestrator to dispatch `station`-type nodes.
|
|
887
887
|
*/
|
|
888
888
|
readonly runtimeHandlers: ReadonlyMap<string, StationHandler>;
|
|
889
|
+
/**
|
|
890
|
+
* Loop gate handler functions keyed by handler name.
|
|
891
|
+
* Used by the orchestrator to evaluate loop convergence gates.
|
|
892
|
+
*/
|
|
893
|
+
readonly runtimeLoopGates?: ReadonlyMap<string, LoopGateHandler>;
|
|
889
894
|
}
|
|
890
895
|
/**
|
|
891
896
|
* Configuration options for the thin Piscina-backed workflow runner.
|
|
@@ -1232,8 +1237,10 @@ declare class InProcessWorkflowRunner implements IWorkflowRunner {
|
|
|
1232
1237
|
* builds the {@link RuntimeLoadedWorkflow} in-place from the serialized definition.
|
|
1233
1238
|
* Pipeline-primitive definitions are fully serializable, so `runtimeHandlers`
|
|
1234
1239
|
* is always an empty Map for definition-sourced dispatch.
|
|
1235
|
-
* - All other source kinds delegate to the file-loader
|
|
1236
|
-
*
|
|
1240
|
+
* - All other source kinds delegate to the file-loader for runtime handlers.
|
|
1241
|
+
* When `config.definition` is present, that serialized definition is the
|
|
1242
|
+
* execution snapshot and replaces the file-loaded definition after the source
|
|
1243
|
+
* identity check.
|
|
1237
1244
|
* @param config - Parsed and validated worker configuration.
|
|
1238
1245
|
* @returns The loaded workflow ready for the orchestrator.
|
|
1239
1246
|
* @throws When `source.kind === 'definition'` but `config.definition` is absent.
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { F as ArtifactLifecycleHookRegistration$1, P as ArtifactLifecycleHookEvent, T as AnyArtifactKindDefinition
|
|
2
|
-
import { A as VersionRange, O as VersionLiteral$1, r as ClientDefinition$1 } from "./definition-
|
|
3
|
-
import {
|
|
4
|
-
import { t as RequiredTimeoutConfig } from "./index-
|
|
5
|
-
import { b as SESSION_EVENT_TYPES, i as MakaioSessionEvent$1, j as SessionMessage$1 } from "./types-
|
|
6
|
-
import { D as EntityUIConfig, I as FormFieldProps
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { F as ArtifactLifecycleHookRegistration$1, P as ArtifactLifecycleHookEvent, T as AnyArtifactKindDefinition } from "./index-DKNmj2sa.mjs";
|
|
2
|
+
import { A as VersionRange, O as VersionLiteral$1, r as ClientDefinition$1 } from "./definition-CuJvtYeG.mjs";
|
|
3
|
+
import { c as ProviderDefinitionInput$1, r as ProtocolId$1 } from "./definition-Cllhr9mi.mjs";
|
|
4
|
+
import { t as RequiredTimeoutConfig } from "./index-CuHqL95P.mjs";
|
|
5
|
+
import { b as SESSION_EVENT_TYPES, i as MakaioSessionEvent$1, j as SessionMessage$1 } from "./types-Cagp7JXb.mjs";
|
|
6
|
+
import { D as EntityUIConfig, I as FormFieldProps } from "./index-NkNbYFud.mjs";
|
|
7
|
+
import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, y as WorkflowBlockCollection$1 } from "./transition-Coowd2dA.mjs";
|
|
8
|
+
import { l as FacetNamespaceDefinition } from "./index-DTBQOCar.mjs";
|
|
9
|
+
import { t as SurfaceBindingDefinition } from "./definition-b9jyJqPD.mjs";
|
|
9
10
|
import { z } from "zod";
|
|
10
11
|
import { MakaioBusLike, PayloadFilter, RegistrableBusNamespaceDefinition, SubjectSchema } from "@makaio/framework/core";
|
|
11
12
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
@@ -3073,217 +3074,6 @@ type ExtensionConfigComponentLoader<TConfig = unknown> = () => Promise<{
|
|
|
3073
3074
|
default: ComponentType<ExtensionConfigComponentProps<TConfig>>;
|
|
3074
3075
|
}>;
|
|
3075
3076
|
//#endregion
|
|
3076
|
-
//#region core/contracts/src/workflow/blocks.d.ts
|
|
3077
|
-
/**
|
|
3078
|
-
* JSON Schema document used for `outputSchema` fields on step block run mappings.
|
|
3079
|
-
*
|
|
3080
|
-
* A JSON Schema document is a JSON object (`Record<string, JsonValue>`). Using
|
|
3081
|
-
* the inferred type from {@link JsonSchemaRecordSchema} keeps this type consistent
|
|
3082
|
-
* with the schema validator used in persisted workflow node definitions.
|
|
3083
|
-
*/
|
|
3084
|
-
type JsonSchemaRecord = Record<string, JsonValue$1>;
|
|
3085
|
-
/**
|
|
3086
|
-
* Step block run mapping that compiles into a `station` primitive node.
|
|
3087
|
-
*
|
|
3088
|
-
* A station node is an atomic work unit executed by an AI agent or registered
|
|
3089
|
-
* runtime handler. The `prompt` is a template evaluated against the builder
|
|
3090
|
-
* form values; the optional `role` selects the executor role.
|
|
3091
|
-
*/
|
|
3092
|
-
interface StationNodeBlockRun {
|
|
3093
|
-
/** Run mapping discriminant. */
|
|
3094
|
-
readonly type: 'station';
|
|
3095
|
-
/**
|
|
3096
|
-
* Task prompt template compiled into the station node.
|
|
3097
|
-
* Supports `{{ config.<field> }}` and `{{ input.<field> }}` interpolation.
|
|
3098
|
-
*/
|
|
3099
|
-
readonly prompt: string;
|
|
3100
|
-
/**
|
|
3101
|
-
* Named role reference forwarded to the compiled station node.
|
|
3102
|
-
* Resolved via the bus `resolveRole` RPC before execution.
|
|
3103
|
-
*/
|
|
3104
|
-
readonly role?: string;
|
|
3105
|
-
/**
|
|
3106
|
-
* JSON Schema for the expected station output.
|
|
3107
|
-
* Forwarded verbatim to the compiled station node's `outputSchema` field.
|
|
3108
|
-
*/
|
|
3109
|
-
readonly outputSchema?: JsonSchemaRecord;
|
|
3110
|
-
/**
|
|
3111
|
-
* Positive timeout in milliseconds forwarded to the compiled station node.
|
|
3112
|
-
* Defaults to 300 000 ms at execution time when omitted.
|
|
3113
|
-
*/
|
|
3114
|
-
readonly timeoutMs?: number;
|
|
3115
|
-
}
|
|
3116
|
-
/**
|
|
3117
|
-
* Step block run mapping that compiles into a `delegate-agent` primitive node.
|
|
3118
|
-
*
|
|
3119
|
-
* The `agentId` references a registered agent definition. The block builder
|
|
3120
|
-
* resolves `inputExpression` against the configured form values when compiling
|
|
3121
|
-
* the node.
|
|
3122
|
-
*/
|
|
3123
|
-
interface DelegateAgentNodeBlockRun {
|
|
3124
|
-
/** Run mapping discriminant. */
|
|
3125
|
-
readonly type: 'delegate-agent';
|
|
3126
|
-
/**
|
|
3127
|
-
* Identifier of the registered agent definition to invoke.
|
|
3128
|
-
*/
|
|
3129
|
-
readonly agentId: string;
|
|
3130
|
-
/**
|
|
3131
|
-
* jexl expression template resolving to the agent input payload.
|
|
3132
|
-
* Supports `{{ config.<field> }}` and `{{ input.<field> }}` interpolation
|
|
3133
|
-
* that the builder resolves when compiling into a concrete node.
|
|
3134
|
-
*/
|
|
3135
|
-
readonly inputExpression?: string;
|
|
3136
|
-
/**
|
|
3137
|
-
* JSON Schema for the expected agent output.
|
|
3138
|
-
* Forwarded verbatim to the compiled node's `outputSchema` field.
|
|
3139
|
-
*/
|
|
3140
|
-
readonly outputSchema?: JsonSchemaRecord;
|
|
3141
|
-
}
|
|
3142
|
-
/**
|
|
3143
|
-
* Step block run mapping that compiles into a `delegate-role` primitive node.
|
|
3144
|
-
*
|
|
3145
|
-
* The `role` is a product-resolved named executor. The `prompt` template is
|
|
3146
|
-
* evaluated against the builder form values when compiling the node.
|
|
3147
|
-
*/
|
|
3148
|
-
interface DelegateRoleNodeBlockRun {
|
|
3149
|
-
/** Run mapping discriminant. */
|
|
3150
|
-
readonly type: 'delegate-role';
|
|
3151
|
-
/**
|
|
3152
|
-
* Named role reference resolved via the bus `resolveRole` RPC at execution time.
|
|
3153
|
-
*/
|
|
3154
|
-
readonly role: string;
|
|
3155
|
-
/**
|
|
3156
|
-
* Task prompt template forwarded to the compiled node.
|
|
3157
|
-
* Supports `{{ config.<field> }}` and `{{ input.<field> }}` interpolation.
|
|
3158
|
-
*/
|
|
3159
|
-
readonly prompt: string;
|
|
3160
|
-
/**
|
|
3161
|
-
* JSON Schema for the expected delegation output.
|
|
3162
|
-
* Forwarded verbatim to the compiled node's `outputSchema` field.
|
|
3163
|
-
*/
|
|
3164
|
-
readonly outputSchema?: JsonSchemaRecord;
|
|
3165
|
-
/**
|
|
3166
|
-
* Positive timeout in milliseconds forwarded to the compiled node.
|
|
3167
|
-
* Defaults to 300 000 ms at execution time when omitted.
|
|
3168
|
-
*/
|
|
3169
|
-
readonly timeoutMs?: number;
|
|
3170
|
-
}
|
|
3171
|
-
/**
|
|
3172
|
-
* Discriminated union of all supported workflow step block run mappings.
|
|
3173
|
-
*
|
|
3174
|
-
* Each variant maps a declared step block to a concrete primitive node type.
|
|
3175
|
-
* The builder compiles the selected variant into the workflow definition as the
|
|
3176
|
-
* corresponding {@link WorkflowNode} subtype when the block is placed in the canvas.
|
|
3177
|
-
*
|
|
3178
|
-
* Extend this union when new primitive node types require builder support.
|
|
3179
|
-
*/
|
|
3180
|
-
type WorkflowStepBlockRun = StationNodeBlockRun | DelegateAgentNodeBlockRun | DelegateRoleNodeBlockRun;
|
|
3181
|
-
/**
|
|
3182
|
-
* Metadata shared by all workflow blocks.
|
|
3183
|
-
*/
|
|
3184
|
-
interface WorkflowBlockMetadata {
|
|
3185
|
-
/** Stable identifier, namespaced by extension (e.g., 'coderabbit.review-posted'). */
|
|
3186
|
-
name: string;
|
|
3187
|
-
/** Human-readable label for the builder UI. */
|
|
3188
|
-
label: string;
|
|
3189
|
-
/** Short description for tooltips and catalog. */
|
|
3190
|
-
description: string;
|
|
3191
|
-
/** Grouping tags for the builder palette. Uncategorized blocks appear in "Other". */
|
|
3192
|
-
categories?: string[];
|
|
3193
|
-
}
|
|
3194
|
-
/**
|
|
3195
|
-
* A trigger block declaration — determines WHEN a workflow starts.
|
|
3196
|
-
* @typeParam TConfig - Zod shape for the builder configuration form.
|
|
3197
|
-
* @typeParam TOutput - Zod type for the payload passed into the workflow as input.
|
|
3198
|
-
*/
|
|
3199
|
-
interface WorkflowTriggerBlock<TConfig extends z.ZodRawShape = z.ZodRawShape, TOutput extends z.ZodType = z.ZodType> {
|
|
3200
|
-
/** Shared metadata used in the builder palette and catalog. */
|
|
3201
|
-
metadata: WorkflowBlockMetadata;
|
|
3202
|
-
/** Drives the configuration form in the builder UI. */
|
|
3203
|
-
configSchema: z.ZodObject<TConfig>;
|
|
3204
|
-
/** The payload shape passed into the workflow when this trigger fires. */
|
|
3205
|
-
outputSchema: TOutput;
|
|
3206
|
-
}
|
|
3207
|
-
/**
|
|
3208
|
-
* A step block declaration — determines WHAT happens inside a workflow.
|
|
3209
|
-
*
|
|
3210
|
-
* The `runs` field specifies which primitive node type this block compiles to
|
|
3211
|
-
* when placed in the workflow canvas. The builder reads `runs` to construct a
|
|
3212
|
-
* concrete {@link WorkflowNode} (station, delegate-agent, or delegate-role) for
|
|
3213
|
-
* the persisted workflow definition.
|
|
3214
|
-
* @typeParam TConfig - Zod shape for the builder configuration form.
|
|
3215
|
-
* @typeParam TInput - Zod type for what this step expects from upstream.
|
|
3216
|
-
* @typeParam TOutput - Zod type for what downstream steps can reference.
|
|
3217
|
-
*/
|
|
3218
|
-
interface WorkflowStepBlock<TConfig extends z.ZodRawShape = z.ZodRawShape, TInput extends z.ZodType = z.ZodType, TOutput extends z.ZodType = z.ZodType> {
|
|
3219
|
-
/** Shared metadata used in the builder palette and catalog. */
|
|
3220
|
-
metadata: WorkflowBlockMetadata;
|
|
3221
|
-
/** Drives the configuration form in the builder UI. */
|
|
3222
|
-
configSchema: z.ZodObject<TConfig>;
|
|
3223
|
-
/** What this step expects from upstream (expressions/config). */
|
|
3224
|
-
inputSchema: TInput;
|
|
3225
|
-
/** What downstream steps can reference via steps.<id>.result. */
|
|
3226
|
-
outputSchema: TOutput;
|
|
3227
|
-
/**
|
|
3228
|
-
* Primitive node compilation target for this step block.
|
|
3229
|
-
*
|
|
3230
|
-
* The builder reads this field and constructs the corresponding primitive
|
|
3231
|
-
* node ({@link WorkflowStationNode}, {@link WorkflowDelegateAgentNode}, or
|
|
3232
|
-
* {@link WorkflowDelegateRoleNode}) when the block is placed on the canvas.
|
|
3233
|
-
*/
|
|
3234
|
-
runs: WorkflowStepBlockRun;
|
|
3235
|
-
}
|
|
3236
|
-
/**
|
|
3237
|
-
* Collection of workflow blocks contributed by an extension.
|
|
3238
|
-
*/
|
|
3239
|
-
interface WorkflowBlockCollection$1 {
|
|
3240
|
-
/** Trigger block declarations — each determines WHEN a workflow starts. */
|
|
3241
|
-
readonly triggers?: readonly WorkflowTriggerBlock[];
|
|
3242
|
-
/** Step block declarations — each determines WHAT happens inside a workflow. */
|
|
3243
|
-
readonly steps?: readonly WorkflowStepBlock[];
|
|
3244
|
-
}
|
|
3245
|
-
/**
|
|
3246
|
-
* Serialized trigger block as stored in the registry and served via bus.
|
|
3247
|
-
*
|
|
3248
|
-
* Schema fields are stored as JSON Schema objects for transport and builder
|
|
3249
|
-
* catalog rendering.
|
|
3250
|
-
*/
|
|
3251
|
-
interface RegisteredTriggerBlock$1 {
|
|
3252
|
-
/** Trigger metadata combined with the owning extension name. */
|
|
3253
|
-
metadata: WorkflowBlockMetadata & {
|
|
3254
|
-
extensionName: string;
|
|
3255
|
-
};
|
|
3256
|
-
/** JSON Schema representation of the builder configuration form. */
|
|
3257
|
-
configSchema: Record<string, unknown>;
|
|
3258
|
-
/** JSON Schema representation of the trigger output payload. */
|
|
3259
|
-
outputSchema: Record<string, unknown>;
|
|
3260
|
-
}
|
|
3261
|
-
/**
|
|
3262
|
-
* Serialized step block as stored in the registry and served via bus.
|
|
3263
|
-
*
|
|
3264
|
-
* Schema fields are stored as JSON Schema objects for transport and builder
|
|
3265
|
-
* catalog rendering. The `runs` field is preserved verbatim from the block
|
|
3266
|
-
* declaration so the builder can construct the target primitive node directly.
|
|
3267
|
-
*/
|
|
3268
|
-
interface RegisteredStepBlock$1 {
|
|
3269
|
-
/** Step metadata combined with the owning extension name. */
|
|
3270
|
-
metadata: WorkflowBlockMetadata & {
|
|
3271
|
-
extensionName: string;
|
|
3272
|
-
};
|
|
3273
|
-
/** JSON Schema representation of the builder configuration form. */
|
|
3274
|
-
configSchema: Record<string, unknown>;
|
|
3275
|
-
/** JSON Schema representation of the expected upstream input. */
|
|
3276
|
-
inputSchema: Record<string, unknown>;
|
|
3277
|
-
/** JSON Schema representation of what downstream steps can reference. */
|
|
3278
|
-
outputSchema: Record<string, unknown>;
|
|
3279
|
-
/**
|
|
3280
|
-
* Primitive node compilation target preserved verbatim from the block declaration.
|
|
3281
|
-
* The builder uses this to construct the appropriate primitive node when
|
|
3282
|
-
* placing the block on the canvas.
|
|
3283
|
-
*/
|
|
3284
|
-
runs: WorkflowStepBlockRun;
|
|
3285
|
-
}
|
|
3286
|
-
//#endregion
|
|
3287
3077
|
//#region core/contracts/src/extension/contributions/workflow-block-types.d.ts
|
|
3288
3078
|
/**
|
|
3289
3079
|
* Workflow block contribution — triggers and steps for the workflow builder.
|
|
@@ -3561,243 +3351,6 @@ interface ExtensionBootstrap<TBus extends MakaioBusLike = MakaioBusLike> {
|
|
|
3561
3351
|
import: (ctx: BootstrapImportContext<TBus>, asset: BootstrapAsset, content: string, action: 'replace' | 'skip') => Promise<BootstrapImportResult>;
|
|
3562
3352
|
}
|
|
3563
3353
|
//#endregion
|
|
3564
|
-
//#region core/contracts/src/workflow/transition.d.ts
|
|
3565
|
-
/**
|
|
3566
|
-
* The set of artifact bus events that can trigger a transition rule.
|
|
3567
|
-
*
|
|
3568
|
-
* - `artifact.created` — fires when a new artifact is created
|
|
3569
|
-
* - `artifact.revised` — fires when an existing artifact receives a new revision
|
|
3570
|
-
* - `artifact.status.changed` — fires when a tracked status field changes
|
|
3571
|
-
*/
|
|
3572
|
-
declare const TransitionEventTypeSchema: z.ZodEnum<{
|
|
3573
|
-
"artifact.created": "artifact.created";
|
|
3574
|
-
"artifact.revised": "artifact.revised";
|
|
3575
|
-
"artifact.status.changed": "artifact.status.changed";
|
|
3576
|
-
}>;
|
|
3577
|
-
type TransitionEventType$1 = z.infer<typeof TransitionEventTypeSchema>;
|
|
3578
|
-
/**
|
|
3579
|
-
* Serializable condition evaluated against an artifact event payload.
|
|
3580
|
-
*
|
|
3581
|
-
* Stored as an opaque JSON record in the contracts layer. The pipeline
|
|
3582
|
-
* service interprets this using `@makaio/rules` at evaluation time,
|
|
3583
|
-
* supporting field comparisons, `$and`/`$or`/`$not` combinators, and
|
|
3584
|
-
* `$expr` jexl expression strings.
|
|
3585
|
-
*
|
|
3586
|
-
* Evaluation context shape:
|
|
3587
|
-
* - `artifact` — the `ArtifactRevision` involved in the event
|
|
3588
|
-
* - `previous` — the previous `ArtifactRef` for `artifact.revised` events
|
|
3589
|
-
* - `previousArtifact` — the resolved previous `ArtifactRevision` for
|
|
3590
|
-
* `artifact.revised` events when the artifact store can provide it
|
|
3591
|
-
* - `path` — the status path for `artifact.status.changed` events
|
|
3592
|
-
* - `current` — the new status value for `artifact.status.changed` events
|
|
3593
|
-
*/
|
|
3594
|
-
declare const TransitionConditionSchema: z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
3595
|
-
type TransitionCondition = z.infer<typeof TransitionConditionSchema>;
|
|
3596
|
-
/**
|
|
3597
|
-
* Invocation descriptor for the action to execute when a transition rule fires.
|
|
3598
|
-
*
|
|
3599
|
-
* `type` selects the registered action handler; `input` supplies the
|
|
3600
|
-
* action-specific payload; `executionHints` threads optional infrastructure
|
|
3601
|
-
* hints to the execution host.
|
|
3602
|
-
*
|
|
3603
|
-
* Built-in action type:
|
|
3604
|
-
* - `'workflow.start'` — start a workflow execution via the bus
|
|
3605
|
-
*/
|
|
3606
|
-
declare const TransitionActionInvocationSchema: z.ZodObject<{
|
|
3607
|
-
type: z.ZodString;
|
|
3608
|
-
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
3609
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
3610
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3611
|
-
kind: z.ZodLiteral<"path">;
|
|
3612
|
-
path: z.ZodString;
|
|
3613
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3614
|
-
kind: z.ZodLiteral<"source">;
|
|
3615
|
-
filename: z.ZodString;
|
|
3616
|
-
source: z.ZodString;
|
|
3617
|
-
}, z.core.$strict>], "kind">>;
|
|
3618
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
3619
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
3620
|
-
local: "local";
|
|
3621
|
-
remote: "remote";
|
|
3622
|
-
container: "container";
|
|
3623
|
-
}>>;
|
|
3624
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3625
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
3626
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
3627
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
3628
|
-
}, z.core.$strip>;
|
|
3629
|
-
type TransitionActionInvocation$1 = z.infer<typeof TransitionActionInvocationSchema>;
|
|
3630
|
-
/**
|
|
3631
|
-
* Declarative rule that watches artifact events and triggers workflow actions.
|
|
3632
|
-
*
|
|
3633
|
-
* Transition rules are purely serializable — no functions. The pipeline service
|
|
3634
|
-
* evaluates the `when` condition against the incoming artifact event payload and
|
|
3635
|
-
* dispatches the `action` through the `TransitionActionRegistry` when the
|
|
3636
|
-
* condition matches.
|
|
3637
|
-
*
|
|
3638
|
-
* ID namespacing:
|
|
3639
|
-
* - Bundle-contributed rules: `'<bundleId>.<localId>'`
|
|
3640
|
-
* - Extension-contributed rules: `'<extensionName>.<localId>'`
|
|
3641
|
-
*
|
|
3642
|
-
* Duplicate IDs across all sources hard-fail activation.
|
|
3643
|
-
*/
|
|
3644
|
-
declare const TransitionRuleDefinitionSchema$1: z.ZodObject<{
|
|
3645
|
-
id: z.ZodString;
|
|
3646
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3647
|
-
on: z.ZodEnum<{
|
|
3648
|
-
"artifact.created": "artifact.created";
|
|
3649
|
-
"artifact.revised": "artifact.revised";
|
|
3650
|
-
"artifact.status.changed": "artifact.status.changed";
|
|
3651
|
-
}>;
|
|
3652
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
3653
|
-
action: z.ZodObject<{
|
|
3654
|
-
type: z.ZodString;
|
|
3655
|
-
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
3656
|
-
executionHints: z.ZodOptional<z.ZodObject<{
|
|
3657
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3658
|
-
kind: z.ZodLiteral<"path">;
|
|
3659
|
-
path: z.ZodString;
|
|
3660
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3661
|
-
kind: z.ZodLiteral<"source">;
|
|
3662
|
-
filename: z.ZodString;
|
|
3663
|
-
source: z.ZodString;
|
|
3664
|
-
}, z.core.$strict>], "kind">>;
|
|
3665
|
-
requirements: z.ZodOptional<z.ZodObject<{
|
|
3666
|
-
isolation: z.ZodOptional<z.ZodEnum<{
|
|
3667
|
-
local: "local";
|
|
3668
|
-
remote: "remote";
|
|
3669
|
-
container: "container";
|
|
3670
|
-
}>>;
|
|
3671
|
-
capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3672
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
3673
|
-
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
3674
|
-
}, z.core.$catchall<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>>;
|
|
3675
|
-
}, z.core.$strip>;
|
|
3676
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3677
|
-
}, z.core.$strip>;
|
|
3678
|
-
type TransitionRuleDefinition$1 = z.infer<typeof TransitionRuleDefinitionSchema$1>;
|
|
3679
|
-
/**
|
|
3680
|
-
* Transition rule contribution surface for extension packages.
|
|
3681
|
-
*
|
|
3682
|
-
* Declarative static rules contributed by an extension. Processed by
|
|
3683
|
-
* `TransitionContributionProcessor` during extension activation.
|
|
3684
|
-
*/
|
|
3685
|
-
interface ExtensionTransitionRulesContribution {
|
|
3686
|
-
/**
|
|
3687
|
-
* Transition rule definitions contributed by this extension.
|
|
3688
|
-
*
|
|
3689
|
-
* All IDs must be prefixed with `'<extensionName>.'` (enforced by the
|
|
3690
|
-
* contribution processor). Duplicate IDs hard-fail activation.
|
|
3691
|
-
*/
|
|
3692
|
-
readonly rules: readonly TransitionRuleDefinition$1[];
|
|
3693
|
-
}
|
|
3694
|
-
/**
|
|
3695
|
-
* Callable transition action handler.
|
|
3696
|
-
*
|
|
3697
|
-
* Invoked by the pipeline when a matching rule fires. Receives the resolved
|
|
3698
|
-
* invocation and the artifact event context so it can read artifact data when
|
|
3699
|
-
* building downstream bus requests.
|
|
3700
|
-
*/
|
|
3701
|
-
interface TransitionActionHandler {
|
|
3702
|
-
/**
|
|
3703
|
-
* Execute the action.
|
|
3704
|
-
* @param invocation - Resolved action invocation descriptor.
|
|
3705
|
-
* @param context - Evaluation context built from the triggering artifact event.
|
|
3706
|
-
* @returns Promise that resolves when the action dispatch completes.
|
|
3707
|
-
*/
|
|
3708
|
-
readonly execute: (invocation: TransitionActionInvocation$1, context: TransitionEvaluationContext$1) => Promise<void>;
|
|
3709
|
-
}
|
|
3710
|
-
/**
|
|
3711
|
-
* Factory that creates a {@link TransitionActionHandler} for a given action type.
|
|
3712
|
-
*
|
|
3713
|
-
* Factories are registered at contribution time and instantiated lazily by the
|
|
3714
|
-
* pipeline service.
|
|
3715
|
-
*/
|
|
3716
|
-
type TransitionActionFactory$1 = () => TransitionActionHandler;
|
|
3717
|
-
/**
|
|
3718
|
-
* Transition action factory contribution surface for extension packages.
|
|
3719
|
-
*
|
|
3720
|
-
* Extensions that need custom action semantics beyond the built-in
|
|
3721
|
-
* `workflow.start` action register their handler factories here.
|
|
3722
|
-
*/
|
|
3723
|
-
interface ExtensionTransitionActionsContribution {
|
|
3724
|
-
/**
|
|
3725
|
-
* Map of action type strings to action handler factories.
|
|
3726
|
-
*
|
|
3727
|
-
* Each key is a registered action `type` string as declared in
|
|
3728
|
-
* {@link TransitionActionInvocationSchema}. Values are factories
|
|
3729
|
-
* called once per rule dispatch to produce a fresh handler.
|
|
3730
|
-
*
|
|
3731
|
-
* All keys must be prefixed with `'<extensionName>.'`.
|
|
3732
|
-
*/
|
|
3733
|
-
readonly actions: Readonly<Record<string, TransitionActionFactory$1>>;
|
|
3734
|
-
}
|
|
3735
|
-
/**
|
|
3736
|
-
* Context object passed to condition evaluation and action dispatch.
|
|
3737
|
-
*
|
|
3738
|
-
* The pipeline builds this from the incoming artifact event payload so
|
|
3739
|
-
* that rules can reference `artifact`, `previous`, `path`, and `current`
|
|
3740
|
-
* fields using dot-notation in their `when` conditions.
|
|
3741
|
-
*/
|
|
3742
|
-
interface TransitionEvaluationContext$1 {
|
|
3743
|
-
/**
|
|
3744
|
-
* The artifact revision involved in the event.
|
|
3745
|
-
*
|
|
3746
|
-
* The transition pipeline resolves ref-oriented artifact events, such as
|
|
3747
|
-
* `artifact.status.changed`, before evaluating rules so authoring sees a
|
|
3748
|
-
* consistent full-revision context.
|
|
3749
|
-
*/
|
|
3750
|
-
readonly artifact: ArtifactRevision$1;
|
|
3751
|
-
/**
|
|
3752
|
-
* Previous value from the artifact event. For `artifact.revised` this is the
|
|
3753
|
-
* previous artifact ref; for `artifact.status.changed` this is the previous
|
|
3754
|
-
* status value.
|
|
3755
|
-
*/
|
|
3756
|
-
readonly previous?: unknown;
|
|
3757
|
-
/**
|
|
3758
|
-
* Resolved previous artifact revision for `artifact.revised` events.
|
|
3759
|
-
*
|
|
3760
|
-
* This preserves `previous` as the original event value while giving rules a
|
|
3761
|
-
* full before/after snapshot when they need to detect semantic deltas.
|
|
3762
|
-
*/
|
|
3763
|
-
readonly previousArtifact?: ArtifactRevision$1;
|
|
3764
|
-
/**
|
|
3765
|
-
* JSON Pointer path to the status field that changed.
|
|
3766
|
-
* Present only for `artifact.status.changed` events.
|
|
3767
|
-
*/
|
|
3768
|
-
readonly path?: string;
|
|
3769
|
-
/**
|
|
3770
|
-
* Current status value after the change.
|
|
3771
|
-
* Present only for `artifact.status.changed` events.
|
|
3772
|
-
*/
|
|
3773
|
-
readonly current?: unknown;
|
|
3774
|
-
/**
|
|
3775
|
-
* Loop-protection metadata injected by the pipeline.
|
|
3776
|
-
*
|
|
3777
|
-
* Downstream actions can inspect this to detect and break
|
|
3778
|
-
* artifact-triggered → workflow → artifact cycles.
|
|
3779
|
-
*/
|
|
3780
|
-
readonly _transition: {
|
|
3781
|
-
/**
|
|
3782
|
-
* The transition rule ID that fired this action.
|
|
3783
|
-
*/
|
|
3784
|
-
readonly ruleId: string;
|
|
3785
|
-
/**
|
|
3786
|
-
* The artifact event type that matched the rule.
|
|
3787
|
-
*/
|
|
3788
|
-
readonly eventType: TransitionEventType$1;
|
|
3789
|
-
/**
|
|
3790
|
-
* Depth counter tracking recursive transition invocations.
|
|
3791
|
-
*
|
|
3792
|
-
* The pipeline increments this on each nested trigger level.
|
|
3793
|
-
* Action handlers that re-emit artifact events must propagate this
|
|
3794
|
-
* metadata so the pipeline can reject invocations that exceed the
|
|
3795
|
-
* configured maximum depth.
|
|
3796
|
-
*/
|
|
3797
|
-
readonly depth: number;
|
|
3798
|
-
};
|
|
3799
|
-
}
|
|
3800
|
-
//#endregion
|
|
3801
3354
|
//#region core/contracts/src/extension/makaio-extension.d.ts
|
|
3802
3355
|
/**
|
|
3803
3356
|
* Awaited contribution processor registered with the runtime coordinator.
|
|
@@ -4721,4 +4274,4 @@ interface ExtensionConfigProvider$1 {
|
|
|
4721
4274
|
loadEnabled(name: string): boolean | undefined;
|
|
4722
4275
|
}
|
|
4723
4276
|
//#endregion
|
|
4724
|
-
export {
|
|
4277
|
+
export { PluginToolCallFormatterInput as $, allMigrationsPaths as $n, SessionEventActionDeclaration as $t, BootstrapImportResult as A, CliArgManifest as An, UiSurfaceFlagsSchema as Ar, GatheredEntry as At, LogImportContribution as B, RuntimeRequirement as Bn, ActionShortcutModifiers as Bt, BootstrapAsset as C, ExtensionWarningSeveritySchema as Cn, ProviderManifestSchema as Cr, UiContextValueMap as Ct, BootstrapExportContext as D, AdapterProviderRef as Dn, TriggerManifestSchema as Dr, UiScope$1 as Dt, BootstrapDiscoverContext as E, AdapterProviderDefinitionContract$1 as En, TriggerManifest as Er, UiRuntimeNavigationLevel as Et, ExtensionNamespaceContribution as F, CliSubcommandManifestSchema as Fn, HashTriggerStage as Ft, LoaderContext as G, StorageManifestSchema as Gn, ExecuteResult as Gt, ExtensionConfigComponentLoader as H, STORAGE_DIALECTS as Hn, EntrypointConfig as Ht, ExtensionSessionEventActionsContribution as I, ExtensionDependency as In, HashTriggerSuggestResult as It, MakaioWebUiComponentProps as J, WindowManifest as Jn, PickerConfig as Jt, MakaioWebUiAction as K, TrayManifest$1 as Kn, MessageEventFilter as Kt, ExtensionToolsContribution as L, ExtensionDependencySchema as Ln, ActionCategory as Lt, ExtensionBootstrap as M, CliManifest as Mn, BrowserEntrypointSchema$1 as Mr, HashTrigger as Mt, getBootstrapAssetKey as N, CliManifestSchema as Nn, HashTriggerContext as Nt, BootstrapExportResult as O, ExtensionToken$1 as On, TriggerStage as Or, UiScopeMap as Ot, AdapterContribution as P, CliSubcommandManifest as Pn, HashTriggerMetadata as Pt, PluginFormattedToolCallOutput as Q, WindowStyle as Qn, SessionEventActionContext as Qt, ExtensionTriggersContribution as R, ExtensionManifest as Rn, ActionCategoryMap as Rt, MakaioNodeExtension$1 as S, ExtensionWarningSeverity as Sn, ProviderManifest as Sr, UiContextSnapshot$1 as St, BootstrapChoice as T, AdapterDefinitionContract$1 as Tn, SessionEventActionManifestSchema as Tr, UiNavigationLevelMap as Tt, ExtensionConfigComponentProps as U, StorageDialect$1 as Un, EventFilter as Ut, ExtensionWorkflowBlocksContribution as V, RuntimeRequirementSchema as Vn, CreateSessionEventActionResult as Vt, ExtensionFieldTypeLoader as W, StorageManifest as Wn, ExecuteContext as Wt, MakaioWebUiRoute as X, WindowParamSpec as Xn, SelectionChangeContext as Xt, MakaioWebUiLoader as Y, WindowManifestSchema as Yn, PickerOpenContext as Yt, PromisifiedActions as Z, WindowParamSpecSchema as Zn, SelectionFeedback as Zt, ExtensionArtifactLifecycleHooksContribution as _, ExtensionWarningAction as _n, LogImporterManifestSchema as _r, TileDeclaration as _t, DetachedTransportSchema as a, ExtensionCliBeforeRunResult as an, AdapterClientRef$1 as ar, PageMode as at, ExtensionRuntimeBootContribution as b, ExtensionWarningEntrySchema as bn, ProtocolRef as br, TileRenderers as bt, ExtensionDescriptorBase as c, ExtensionCliInteractiveContext as cn, AdapterManifestSchema as cr, SlotId as ct, ExtensionEntrypoints as d, ExtensionContext$1 as dn, ArtifactLifecycleHookManifestSchema as dr, WidgetDeclaration as dt, SessionEventActionOptions as en, dep$1 as er, PluginTransformedContent as et, ExtensionEntrypointsSchema as f, NodeExtensionContext$1 as fn, ClientManifest as fr, WidgetDefinition as ft, ArtifactLifecycleHooksContributionContext as g, ExtensionWarning as gn, LogImporterManifest as gr, TileCapabilities as gt, safeParseExtensionDescriptor$1 as h, ExtensionServiceLifecycle$1 as hn, ContributionManifestSchema as hr, WidgetSize$1 as ht, DetachedTransportConfig as i, ExtensionCliBeforeRunContext as in, CapabilityTokenSchema as ir, PageDeclaration as it, BootstrapResult as j, CliArgManifestSchema as jn, BrowserEntrypoint as jr, HashSuggestion as jt, BootstrapImportContext as k, extensionToken$1 as kn, UiSurfaceFlags as kr, GatheredContext as kt, ExtensionDescriptorParseResult as l, ExtensionCliOutputWriter as ln, ArtifactLifecycleHookEventSchema as lr, SlotPlacementDeclaration as lt, parseExtensionDescriptor$1 as m, ExtensionService$1 as mn, ContributionManifest as mr, WidgetRenderers as mt, parseExtensionConfig as n, WhenContext as nn, CapabilityToken as nr, ToolCallFormatterDeclaration as nt, EmbeddedDescriptor as o, ExtensionCliContribution as on, AdapterClientRefSchema as or, SlotContentDeclaration as ot, isDetachedDescriptor$1 as p, ExtensionIdentity as pn, ClientManifestSchema as pr, WidgetProps as pt, MakaioWebUiActions as q, TrayManifestSchema as qn, MessageRole as qt, DetachedDescriptor as r, ExtensionRuntimeOwnership as rn, CapabilityTokenMap as rr, PageComponentProps as rt, ExtensionDescriptor$1 as s, ExtensionCliHandlerContext as sn, AdapterManifest as sr, SlotDeclaration as st, ExtensionConfigProvider$1 as t, StructuralEventFilter as tn, primaryMigrationsPath$1 as tr, PluginTransformedContentType as tt, ExtensionDescriptorSchema as u, ExtensionCliSubcommandEntry as un, ArtifactLifecycleHookManifest as ur, WidgetSize as ut, ExtensionContributionProcessor$1 as v, ExtensionWarningActionSchema as vn, ProtocolConfig as vr, TileIconLoader as vt, BootstrapAssetKey as w, getExtensionWarningActionLabel as wn, SessionEventActionManifest as wr, UiNavigationLevel$1 as wt, MakaioExtension$1 as x, ExtensionWarningSchema as xn, ProtocolRefSchema as xr, UiContextDimension as xt, ExtensionRuntimeBootContext as y, ExtensionWarningEntry as yn, ProtocolConfigSchema as yr, TileProps as yt, ExtensionUiContribution as z, ExtensionManifestSchema as zn, ActionShortcut as zt };
|