@makaio/framework 1.0.0-dev-1781382091626 → 1.0.0-dev-1781442380278
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-CgzOqnVm.mjs → account-identity-D-9gunfD.mjs} +1 -1
- package/dist/adapter-BH1X0THX.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/bus/index.d.mts +21 -20
- package/dist/bus/index.mjs +1 -1
- package/dist/canonical-model-BNb0IFWC.mjs +1 -0
- package/dist/{client-BBJf1mVA.mjs → client-D24ebgGH.mjs} +1 -1
- package/dist/compression-vRUOO-28.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 +2 -0
- package/dist/contracts/canonical-model/index.mjs +1 -0
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +1 -1
- 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 +784 -1221
- 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 +1 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/skill/index.mjs +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.mjs +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/toast/index.mjs +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/variant/index.mjs +1 -1
- package/dist/{definition-DWWzV-k0.d.mts → definition-CZcVOhXZ.d.mts} +1 -1
- package/dist/{detached-extension-handle-Diiwgm13.mjs → detached-extension-handle-BYxNmLfv.mjs} +1 -1
- package/dist/{extension-ZBN4BGre.mjs → extension-CTkoi8MV.mjs} +1 -1
- package/dist/{extension-DfNcE0zm.mjs → extension-DEUfzXcg.mjs} +1 -1
- package/dist/{filesystem-service-BjfrUmGS.mjs → filesystem-service-T8JOIWeP.mjs} +1 -1
- package/dist/git/index.mjs +1 -1
- package/dist/{globby-BIH65cbN.mjs → globby-Bos1vjKj.mjs} +1 -1
- package/dist/handlers-Cpy9Q8ho.mjs +41 -0
- package/dist/{harness-B8E_wRwa.mjs → harness-HEpELa_v.mjs} +1 -1
- package/dist/{index-Bw_zL7Rs.d.mts → index-6QvT0ljq.d.mts} +1 -1
- package/dist/{index-BT5tNA3Y.d.mts → index-B3mq3Qjf.d.mts} +1 -1
- package/dist/{index-B8tAGwHR.d.mts → index-BF84QInS.d.mts} +1130 -389
- package/dist/{index-CKP_uNGT.d.mts → index-BQ8H7cvY.d.mts} +16 -16
- package/dist/{index-C3zfJg6s.d.mts → index-BSFmBEDL.d.mts} +1 -1
- package/dist/{index-Abq3I8wg.d.mts → index-Cj3XCjXZ.d.mts} +341 -338
- package/dist/{index-B1Rz7oUy.d.mts → index-DHVoVh-j.d.mts} +8 -8
- package/dist/{index-B2xbnMZe.d.mts → index-DLPjliGd.d.mts} +1 -1
- package/dist/index-DUsm-DeE.d.mts +859 -0
- package/dist/{index-DQppnGdC.d.mts → index-DigeEyrf.d.mts} +23 -20
- package/dist/{index-dAjtejnc.d.mts → index-DvETyI0_.d.mts} +1 -1
- package/dist/{index-EsXVjKsv.d.mts → index-DyqZej9j.d.mts} +8 -8
- package/dist/{index-COwW_2Gb.d.mts → index-HiAth5G0.d.mts} +15 -15
- package/dist/{index-DW8EiMJ9.d.mts → index-LrZlZUvQ.d.mts} +12 -12
- package/dist/{index-wP87FKTQ2.d.mts → index-oUqyVvsD.d.mts} +3 -3
- 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-Cq5R6Tx9.mjs → lib-DkLlhp9Z.mjs} +1 -1
- package/dist/{lib-nlcl5kRW.mjs → lib-jOuIcSs9.mjs} +1 -1
- package/dist/{load-extensions-D9nbDIiW.d.mts → load-extensions-CQqw0Smr.d.mts} +1 -1
- package/dist/{load-extensions-wELQ4BBN.mjs → load-extensions-D-DyzN4j.mjs} +1 -1
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/{namespace-BPlAuhc_.d.mts → namespace-B1Bldc48.d.mts} +117 -9
- package/dist/{namespace-Ds6HkJEU.d.mts → namespace-BXuuv8L9.d.mts} +154 -144
- package/dist/{namespace-Dfq6MDN9.mjs → namespace-BxrHvS5c.mjs} +1 -1
- package/dist/namespace-CH_NWUKW.mjs +1 -0
- package/dist/{namespace-5BLWcC3Q.d.mts → namespace-DM3TSh_y.d.mts} +58 -58
- package/dist/{namespace--ROWLToE.d.mts → namespace-Q-z7Lr2f.d.mts} +4 -4
- package/dist/{native-session-supervisor-DeKpxhWO.mjs → native-session-supervisor-DbrqcFq9.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-BKFXaKPL.mjs → orchestrator-shared-yFP8e7d5.mjs} +1 -1
- package/dist/{package-DzN_jdqd.mjs → package-DMoFY63f.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/primitive-runtime-DWbV7f_r.mjs +1 -0
- package/dist/{profile-D39-Zy_W.mjs → profile-r4G32bCH.mjs} +1 -1
- package/dist/{provider-context-wp4VSJFI.mjs → provider-context-Ds6GNYnE.mjs} +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/extension-discovery.d.mts +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +3 -3
- package/dist/runtime-node/index.mjs +24 -26
- 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-cNoxaiT0.d.mts → schema-BKdn_bdY.d.mts} +3 -3
- package/dist/{schema-C3TgjrsV.mjs → schema-atatXwNg.mjs} +1 -1
- package/dist/{schemas-on3_N5HP.d.mts → schemas-CyEdMtnQ.d.mts} +154 -144
- package/dist/schemas-CzvG8xq7.mjs +1 -0
- package/dist/{schemas-DsyYsfVN2.d.mts → schemas-DvjQHkmw2.d.mts} +12 -12
- 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 +9 -9
- 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 +129 -124
- 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 +12 -12
- 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-ZAJrcudH.mjs +39 -0
- package/dist/session-owtKCoUX.mjs +1 -0
- package/dist/{skill-BNQnWVIG.mjs → skill-B_VlGon5.mjs} +1 -1
- package/dist/{src-CBG3IHUl.mjs → src-6n-8M8EU.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-DNHV5x0M.mjs → tool-approval-service-B_28RhuK.mjs} +1 -1
- package/dist/{tools-CQImrHAp.mjs → tools-BpzJterj.mjs} +1 -1
- package/dist/{types-D5IMwOkJ.d.mts → types-BB8iIAjZ.d.mts} +1 -1
- package/dist/{types-BtsKrzK7.d.mts → types-Bo2-N1YR.d.mts} +994 -345
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{version-B4NO_fID.mjs → version-SYP_DX4M.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +23 -23
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-worker-CK9Sqj7D.mjs → workflow-worker-CjuRYLmJ.mjs} +1 -1
- package/package.json +5 -1
- package/dist/adapter-UpcpZDOv.mjs +0 -1
- package/dist/handlers-BAB4fQNH.mjs +0 -41
- package/dist/namespace-BXqetkc3.mjs +0 -1
- package/dist/primitive-runtime-CNC_bSac.mjs +0 -1
- package/dist/schemas-CuKayWhA.mjs +0 -1
- package/dist/session-BwX5_k47.mjs +0 -1
- package/dist/session-P4nX60Xx.mjs +0 -39
- /package/dist/{ajv-BA2z5ztb.mjs → ajv-Cx19PP7Q.mjs} +0 -0
- /package/dist/{await-trigger-DREnXCEJ.mjs → await-trigger-uKEHY8E4.mjs} +0 -0
- /package/dist/{base-orchestrator-M5mAB5-w.d.mts → base-orchestrator-BRq4MXa7.d.mts} +0 -0
- /package/dist/{capability-service-jjrFLM6r.mjs → capability-service-CHl8rrwb.mjs} +0 -0
- /package/dist/{cleanEnvForAdapter-vZfPGi0X.mjs → cleanEnvForAdapter-D32WnVuy.mjs} +0 -0
- /package/dist/{client-BJVDImPV.d.mts → client-D2ZftNb6.d.mts} +0 -0
- /package/dist/{clients-namespace-SFk7OTop.d.mts → clients-namespace-CeAB0t06.d.mts} +0 -0
- /package/dist/{config-namespace-DydHz9so.mjs → config-namespace-DW5KHKPW.mjs} +0 -0
- /package/dist/{config-namespace-BzAvE2nY.d.mts → config-namespace-DloU-hNB.d.mts} +0 -0
- /package/dist/{create-static-mount-BB1MIQ9J.mjs → create-static-mount-Bi0VpYS8.mjs} +0 -0
- /package/dist/{cross-spawn-BL6EvJBv.mjs → cross-spawn-C58yEvsS.mjs} +0 -0
- /package/dist/{cursor-storage-CmKjSvKY.mjs → cursor-storage-CpuT5POU.mjs} +0 -0
- /package/dist/{definition-BSghHJpQ.d.mts → definition-BdxbXbrq.d.mts} +0 -0
- /package/dist/{definition-q6iLw11H.d.mts → definition-BwLJnqEo.d.mts} +0 -0
- /package/dist/{descriptor-to-package-CY8oc2gl.mjs → descriptor-to-package-D-FNxohm.mjs} +0 -0
- /package/dist/{drizzle-wjquQK2m.mjs → drizzle-D7dkDEB5.mjs} +0 -0
- /package/dist/{esm-CQVFKEW5.mjs → esm-CP2zvvlx.mjs} +0 -0
- /package/dist/{event-BEllCn16.mjs → event-DaXakaHo.mjs} +0 -0
- /package/dist/{execution-target-CQGYaaM2.mjs → execution-target-Da6Vjvba.mjs} +0 -0
- /package/dist/{extension-discovery-CkV_VRdJ.d.mts → extension-discovery-Bv5FDtrM.d.mts} +0 -0
- /package/dist/{extension-namespace-BBgYOttA.mjs → extension-namespace-O3sKdnY9.mjs} +0 -0
- /package/dist/{facet-DMrryX_0.mjs → facet-Q_vgXb23.mjs} +0 -0
- /package/dist/{filesystem-service-Ddngll0j.d.mts → filesystem-service-89fN-2Dd.d.mts} +0 -0
- /package/dist/{handler-DqpiV9eA.mjs → handler-BIA3ld4C.mjs} +0 -0
- /package/dist/{host-DbMiI5wQ.mjs → host-DFqmG2qO.mjs} +0 -0
- /package/dist/{identity-Bmx-8fPa.mjs → identity-CA5MzB19.mjs} +0 -0
- /package/dist/{index-RUN1iHYu.d.mts → index-B1PgTu7q.d.mts} +0 -0
- /package/dist/{index-Buo9H8RK.d.mts → index-BDnI2oqX.d.mts} +0 -0
- /package/dist/{index-Dsq2zKvu.d.mts → index-BE-yMFTz.d.mts} +0 -0
- /package/dist/{index-CDU_s69P.d.mts → index-BUilJdHr.d.mts} +0 -0
- /package/dist/{index-BpniJgxu.d.mts → index-BVMF3kRv.d.mts} +0 -0
- /package/dist/{index-C33Tq1ei2.d.mts → index-BVhnqzDC2.d.mts} +0 -0
- /package/dist/{index-Cz9JMjZK.d.mts → index-BeNVLvtk2.d.mts} +0 -0
- /package/dist/{index-D0SUjZmU.d.mts → index-BplsE3qw.d.mts} +0 -0
- /package/dist/{index-C6BhKRnH.d.mts → index-BtL_9HBk.d.mts} +0 -0
- /package/dist/{index-Bsp0O_sI.d.mts → index-CBTp2XuF.d.mts} +0 -0
- /package/dist/{index-BMpRB6iE.d.mts → index-CYZqADXY2.d.mts} +0 -0
- /package/dist/{index-DSV1aFgK.d.mts → index-CfpfkKih.d.mts} +0 -0
- /package/dist/{index-BxFA1XcP.d.mts → index-CkPIPbx9.d.mts} +0 -0
- /package/dist/{index-DOfq0qqv.d.mts → index-D0RWuwl5.d.mts} +0 -0
- /package/dist/{index-CGJjA-hR2.d.mts → index-DHHKwLww.d.mts} +0 -0
- /package/dist/{index-zgm2j9V92.d.mts → index-DJSffYTW2.d.mts} +0 -0
- /package/dist/{index-BpXX9WZJ.d.mts → index-DNmENr9M.d.mts} +0 -0
- /package/dist/{index-DlvMtyHK.d.mts → index-DUI1W-zN.d.mts} +0 -0
- /package/dist/{index-9IDJUJ4X.d.mts → index-DVgKfgh1.d.mts} +0 -0
- /package/dist/{index-D6Iyvz9T.d.mts → index-DWqSqcpW.d.mts} +0 -0
- /package/dist/{index-BBvcP-P0.d.mts → index-DdCyeZ59.d.mts} +0 -0
- /package/dist/{index-Drz_a7kW.d.mts → index-cFuQpzIm.d.mts} +0 -0
- /package/dist/{index-Dyz7dzLW.d.mts → index-cN4DkU5Y2.d.mts} +0 -0
- /package/dist/{index-BnQSPC6c.d.mts → index-kOSSuOcK.d.mts} +0 -0
- /package/dist/{index-BbCjtc3h.d.mts → index-orAkFukT.d.mts} +0 -0
- /package/dist/{jsonl-transport-C21tpVfe.mjs → jsonl-transport-Bb8ltqOe.mjs} +0 -0
- /package/dist/{lib-CNOQJtgs.mjs → lib-BmcGxHXH.mjs} +0 -0
- /package/dist/{materialization-3QUnQLbC.mjs → materialization-DsPIGQP1.mjs} +0 -0
- /package/dist/{model-registry-B0AIdj7O.mjs → model-registry-DLeMw3l8.mjs} +0 -0
- /package/dist/{model-registry-j-rCKcik.mjs → model-registry-DQDclqdw.mjs} +0 -0
- /package/dist/{namespace--s0d86h-.d.mts → namespace-2G7A4Sza.d.mts} +0 -0
- /package/dist/{namespace-BSNFeJA4.d.mts → namespace-Ba1gUpUu.d.mts} +0 -0
- /package/dist/{namespace-BBVtD1gu.d.mts → namespace-CEqkI6Zu.d.mts} +0 -0
- /package/dist/{namespace-BbjCyZC9.mjs → namespace-CN-Llu7H.mjs} +0 -0
- /package/dist/{namespace-CHMszppN.d.mts → namespace-CWgNi8Gv.d.mts} +0 -0
- /package/dist/{namespace-aJJfBJU5.d.mts → namespace-DKnJL0Ja.d.mts} +0 -0
- /package/dist/{namespace-XTGCaSXj.d.mts → namespace-DMhz3yvr.d.mts} +0 -0
- /package/dist/{namespace-DzVf1hVH.d.mts → namespace-DcUwOJ4f.d.mts} +0 -0
- /package/dist/{namespace-B60mn8J-2.d.mts → namespace-Dr1wDUZA2.d.mts} +0 -0
- /package/dist/{namespace-BgPoC46Q.mjs → namespace-DrpHLJAy.mjs} +0 -0
- /package/dist/{namespace-ENv7H7Na.mjs → namespace-FJsnoEQy.mjs} +0 -0
- /package/dist/{namespace-D6X67cUk.mjs → namespace-UUw-S7ia.mjs} +0 -0
- /package/dist/{namespace-uuR0Fg5r.d.mts → namespace-nQS4XwnT.d.mts} +0 -0
- /package/dist/{namespace-nlsvvMtD.d.mts → namespace-q5dD3acO.d.mts} +0 -0
- /package/dist/{namespace-FT8igkn4.mjs → namespace-uGUGfpGQ.mjs} +0 -0
- /package/dist/{namespace-CUOGcGPG.mjs → namespace-zWB-ULrX.mjs} +0 -0
- /package/dist/{orchestrator-shared-D91Wk7z-.d.mts → orchestrator-shared-CbS4ueeq.d.mts} +0 -0
- /package/dist/{out-C1JFb2Bp.mjs → out-BUHr98Xe.mjs} +0 -0
- /package/dist/{package--RZnpN2J.d.mts → package-BEbo1-6S.d.mts} +0 -0
- /package/dist/{package-BzJvtM5O.mjs → package-YQeRE8bV.mjs} +0 -0
- /package/dist/{platform-Dhv22LiX.mjs → platform-CsO-MRJP.mjs} +0 -0
- /package/dist/{providers-B1p0P-vB.mjs → providers-FEZT2bQG.mjs} +0 -0
- /package/dist/{providers-namespace-BqWYkydw.d.mts → providers-namespace-DMUyEbmp.d.mts} +0 -0
- /package/dist/{quick-lru-B9nWXbXI.mjs → quick-lru-C7AXdpbU.mjs} +0 -0
- /package/dist/{registry-RG-bkw3c.mjs → registry-udUhXSIC.mjs} +0 -0
- /package/dist/{schema-CzhOc7TV.mjs → schema-Ba64XQjo.mjs} +0 -0
- /package/dist/{schema-introspection-CuRZPYEc.mjs → schema-introspection-D5FaI5B_.mjs} +0 -0
- /package/dist/{schemas-BCIuTWRl2.mjs → schemas-5kegIs9D.mjs} +0 -0
- /package/dist/{schemas-B77Gi8Xr.d.mts → schemas-9Ifo5zSf.d.mts} +0 -0
- /package/dist/{schemas-BdAf5u58.mjs → schemas-9QC3nvYP.mjs} +0 -0
- /package/dist/{schemas-Dyk7JuVl.d.mts → schemas-BSAKbVyd.d.mts} +0 -0
- /package/dist/{schemas-o2Q24yOF.d.mts → schemas-BbFAwUpf.d.mts} +0 -0
- /package/dist/{schemas-Kq33MTPY.d.mts → schemas-BxI5Yq8d.d.mts} +0 -0
- /package/dist/{schemas-Chyj6HuZ.d.mts → schemas-CRS7tkFP.d.mts} +0 -0
- /package/dist/{schemas-B5ToLwIs.d.mts → schemas-Cae5dubB.d.mts} +0 -0
- /package/dist/{schemas-hSrzflwZ.mjs → schemas-DAYPhB5K.mjs} +0 -0
- /package/dist/{schemas-DZUaRcYl.d.mts → schemas-DZfBym73.d.mts} +0 -0
- /package/dist/{schemas-C792eVAZ.d.mts → schemas-DznsZ0bq.d.mts} +0 -0
- /package/dist/{schemas-DUE6mc1O.d.mts → schemas-IDGAJ_zv.d.mts} +0 -0
- /package/dist/{semver-DhHJv6Dt.mjs → semver-ClOD8k8c.mjs} +0 -0
- /package/dist/{server-lifecycle-47mygK3E.d.mts → server-lifecycle-5iHxcgBO.d.mts} +0 -0
- /package/dist/{server-lifecycle-Cg47L59Q.mjs → server-lifecycle-CFQaPTf7.mjs} +0 -0
- /package/dist/{session-lineage-CKg6mErA.d.mts → session-lineage-DFkJgYt5.d.mts} +0 -0
- /package/dist/{shared-schemas-DYL7a-No.mjs → shared-schemas-jG3EtHZT.mjs} +0 -0
- /package/dist/{src-DedDL9iv.mjs → src-CRDOZl7K.mjs} +0 -0
- /package/dist/{storage-namespace-BXO3lDVy.mjs → storage-namespace-C1JVmZF1.mjs} +0 -0
- /package/dist/{storage-namespace-definition-C3XbpiP8.d.mts → storage-namespace-definition-BPYSLTfN.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-RvjfFysN.mjs → storage-namespace-definition-Df8S3E3r.mjs} +0 -0
- /package/dist/{storage-namespace-BXmMUd7a.d.mts → storage-namespace-gey7EUhM.d.mts} +0 -0
- /package/dist/{supports-color-fVsgozsi.mjs → supports-color-AnssSSH9.mjs} +0 -0
- /package/dist/{telemetry-O0394b7p.mjs → telemetry-DdbvlZ8s.mjs} +0 -0
- /package/dist/{tray-menu-service-B5YPK_YF.mjs → tray-menu-service-am356993.mjs} +0 -0
- /package/dist/{types-D-bP8RRE.d.mts → types-Bj7cOrBQ.d.mts} +0 -0
- /package/dist/{types-D6jnDjP2.d.mts → types-D-GeeSdd.d.mts} +0 -0
- /package/dist/{types-5Gw3iVpK.d.mts → types-DhlQpVEb.d.mts} +0 -0
- /package/dist/{types-B0BtvVAq.d.mts → types-xLd-e0wf.d.mts} +0 -0
- /package/dist/{variant-COVbYmMs.mjs → variant-BdNN5edM.mjs} +0 -0
- /package/dist/{window-registry-CfEi_Ji4.d.mts → window-registry-CA6AC8n7.d.mts} +0 -0
- /package/dist/{window-registry-XjOExitT.mjs → window-registry-LRjWPwr4.mjs} +0 -0
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { C as AdapterNamespace, _ as StartAgentRequest, a as AgentSelection, b as AdapterRuntimeOptions, c as AgentSelectionKindMap, d as SessionDiscoveredSchema, l as AgentSelectionSchema, n as ProviderContextSchema, o as AgentSelectionBase, r as AdapterSelection, s as AgentSelectionBaseSchema, t as ProviderContext, u as SessionDiscovered, v as StartAgentResponse, w as AdapterSubjects } from "../index-
|
|
2
|
-
import { a as ROOT_SESSION_LINEAGE_KIND, c as SUBAGENT_SESSION_LINEAGE_KIND, d as SessionLineageKindSchema, i as ForkSessionLineageSchema, l as SessionLineage, n as CompressSessionLineageSchema, o as RootSessionLineageSchema, p as SubagentSessionLineageSchema, r as FORK_SESSION_LINEAGE_KIND, s as SESSION_LINEAGE_KINDS, t as COMPRESS_SESSION_LINEAGE_KIND, u as SessionLineageKind } from "../session-lineage-
|
|
3
|
-
import { $ as ArtifactObservationSchema, A as ArtifactDraft, B as BeforeArtifactHookRegistration, C as ArtifactStatusChangedPayload, Ct as ConfidenceMetadataSchema, D as ArtifactKindDefinition, Dt as LocalRefSchema, E as ArtifactDataOf, Et as LocalRef, F as ArtifactLifecycleHookRegistration, G as ArtifactCompareRequestSchema, H as ArtifactActor, I as ArtifactLifecycleSemanticEvent, J as ArtifactConflictPolicy, K as ArtifactCompareResponse, L as ArtifactReactionHookContext, M as ArtifactHookFilter, N as ArtifactLifecycleHookDefinition, O as ArtifactOf, Ot as RelationTypeRegistration, P as ArtifactLifecycleHookEvent, Q as ArtifactObservation, R as ArtifactReactionHookRegistration, S as ArtifactSchemas, St as ConfidenceMetadata, T as AnyArtifactKindDefinition, Tt as EvidenceRefSchema, U as ArtifactActorSchema, V as defineArtifactLifecycleHooks, W as ArtifactCompareRequest, X as ArtifactKindRegistration, Y as ArtifactConflictPolicySchema, Z as ArtifactKindRegistrationSchema, _ as ArtifactResolveRequest, _t as ArtifactScopeSchema, a as ArtifactKindListRequest, at as ArtifactRefSchema, b as ArtifactReviseResponse, bt as ConfidenceLevel, c as ArtifactKindRegisterResponse, d as ArtifactQueryResponse, dt as ArtifactRelationTargetSchema, et as ArtifactQueryRequest, f as ArtifactRelationAddedPayload, ft as ArtifactRepresentations, g as ArtifactRelationTypeRegisterResponse, gt as ArtifactScope, h as ArtifactRelationTypeRegisterRequest, ht as ArtifactRevisionSchema, i as ArtifactKindChangedPayload, it as ArtifactRef, j as ArtifactDraftPatch, k as defineArtifactKind, kt as RelationTypeRegistrationSchema, l as ArtifactNamespace, lt as ArtifactRelationSchema, m as ArtifactRelationTypeListResponse, mt as ArtifactRevision, n as ArtifactCreateResponse, nt as ArtifactQueryScope, o as ArtifactKindListResponse, ot as ArtifactRelation, p as ArtifactRelationTypeListRequest, pt as ArtifactRepresentationsSchema, q as ArtifactCompareResponseSchema, r as ArtifactCreatedPayload, rt as ArtifactQueryScopeSchema, s as ArtifactKindRegisterRequest, t as ArtifactCreateRequest, tt as ArtifactQueryRequestSchema, u as ArtifactObservationAddedPayload, ut as ArtifactRelationTarget, v as ArtifactResolveResponse, vt as ConfidenceBasis, w as ArtifactSubjects, wt as EvidenceRef, x as ArtifactRevisedPayload, xt as ConfidenceLevelSchema, y as ArtifactReviseRequest, yt as ConfidenceBasisSchema, z as BeforeArtifactHookContext } from "../index-
|
|
4
|
-
import { a as ProjectedField, c as ProjectedFieldSemanticSchema, d as SurfaceBindingTarget, f as SurfaceBindingTargetSchema, i as ArtifactProjectionPolicySchema, l as SurfaceBindingRegistration, n as ArtifactMaterializationRefSchema, o as ProjectedFieldSchema, r as ArtifactProjectionPolicy, s as ProjectedFieldSemantic, t as ArtifactMaterializationRef, u as SurfaceBindingRegistrationSchema } from "../schemas-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { a as
|
|
11
|
-
import { i as
|
|
12
|
-
import {
|
|
13
|
-
import { $ as
|
|
14
|
-
import {
|
|
15
|
-
import { n as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { a as
|
|
19
|
-
import { a as
|
|
20
|
-
import { a as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { a as
|
|
1
|
+
import { C as AdapterNamespace, _ as StartAgentRequest, a as AgentSelection, b as AdapterRuntimeOptions, c as AgentSelectionKindMap, d as SessionDiscoveredSchema, l as AgentSelectionSchema, n as ProviderContextSchema, o as AgentSelectionBase, r as AdapterSelection, s as AgentSelectionBaseSchema, t as ProviderContext, u as SessionDiscovered, v as StartAgentResponse, w as AdapterSubjects } from "../index-Cj3XCjXZ.mjs";
|
|
2
|
+
import { a as ROOT_SESSION_LINEAGE_KIND, c as SUBAGENT_SESSION_LINEAGE_KIND, d as SessionLineageKindSchema, i as ForkSessionLineageSchema, l as SessionLineage, n as CompressSessionLineageSchema, o as RootSessionLineageSchema, p as SubagentSessionLineageSchema, r as FORK_SESSION_LINEAGE_KIND, s as SESSION_LINEAGE_KINDS, t as COMPRESS_SESSION_LINEAGE_KIND, u as SessionLineageKind } from "../session-lineage-DFkJgYt5.mjs";
|
|
3
|
+
import { $ as ArtifactObservationSchema, A as ArtifactDraft, B as BeforeArtifactHookRegistration, C as ArtifactStatusChangedPayload, Ct as ConfidenceMetadataSchema, D as ArtifactKindDefinition, Dt as LocalRefSchema, E as ArtifactDataOf, Et as LocalRef, F as ArtifactLifecycleHookRegistration, G as ArtifactCompareRequestSchema, H as ArtifactActor, I as ArtifactLifecycleSemanticEvent, J as ArtifactConflictPolicy, K as ArtifactCompareResponse, L as ArtifactReactionHookContext, M as ArtifactHookFilter, N as ArtifactLifecycleHookDefinition, O as ArtifactOf, Ot as RelationTypeRegistration, P as ArtifactLifecycleHookEvent, Q as ArtifactObservation, R as ArtifactReactionHookRegistration, S as ArtifactSchemas, St as ConfidenceMetadata, T as AnyArtifactKindDefinition, Tt as EvidenceRefSchema, U as ArtifactActorSchema, V as defineArtifactLifecycleHooks, W as ArtifactCompareRequest, X as ArtifactKindRegistration, Y as ArtifactConflictPolicySchema, Z as ArtifactKindRegistrationSchema, _ as ArtifactResolveRequest, _t as ArtifactScopeSchema, a as ArtifactKindListRequest, at as ArtifactRefSchema, b as ArtifactReviseResponse, bt as ConfidenceLevel, c as ArtifactKindRegisterResponse, d as ArtifactQueryResponse, dt as ArtifactRelationTargetSchema, et as ArtifactQueryRequest, f as ArtifactRelationAddedPayload, ft as ArtifactRepresentations, g as ArtifactRelationTypeRegisterResponse, gt as ArtifactScope, h as ArtifactRelationTypeRegisterRequest, ht as ArtifactRevisionSchema, i as ArtifactKindChangedPayload, it as ArtifactRef, j as ArtifactDraftPatch, k as defineArtifactKind, kt as RelationTypeRegistrationSchema, l as ArtifactNamespace, lt as ArtifactRelationSchema, m as ArtifactRelationTypeListResponse, mt as ArtifactRevision, n as ArtifactCreateResponse, nt as ArtifactQueryScope, o as ArtifactKindListResponse, ot as ArtifactRelation, p as ArtifactRelationTypeListRequest, pt as ArtifactRepresentationsSchema, q as ArtifactCompareResponseSchema, r as ArtifactCreatedPayload, rt as ArtifactQueryScopeSchema, s as ArtifactKindRegisterRequest, t as ArtifactCreateRequest, tt as ArtifactQueryRequestSchema, u as ArtifactObservationAddedPayload, ut as ArtifactRelationTarget, v as ArtifactResolveResponse, vt as ConfidenceBasis, w as ArtifactSubjects, wt as EvidenceRef, x as ArtifactRevisedPayload, xt as ConfidenceLevelSchema, y as ArtifactReviseRequest, yt as ConfidenceBasisSchema, z as BeforeArtifactHookContext } from "../index-HiAth5G0.mjs";
|
|
4
|
+
import { a as ProjectedField, c as ProjectedFieldSemanticSchema, d as SurfaceBindingTarget, f as SurfaceBindingTargetSchema, i as ArtifactProjectionPolicySchema, l as SurfaceBindingRegistration, n as ArtifactMaterializationRefSchema, o as ProjectedFieldSchema, r as ArtifactProjectionPolicy, s as ProjectedFieldSemantic, t as ArtifactMaterializationRef, u as SurfaceBindingRegistrationSchema } from "../schemas-BbFAwUpf.mjs";
|
|
5
|
+
import { T as ResolvableCanonicalModel, d as parseCanonicalModel, l as VIRTUAL_NAME_RE, n as CanonicalModelSubjects, o as CanonicalModelSelection, r as CanonicalModelResolvedSelection, u as isCanonicalModelParseError } from "../index-DUsm-DeE.mjs";
|
|
6
|
+
import { A as VersionRange, M as isUniversalRange, N as versionSatisfies, O as VersionLiteral, S as PostInstallDescriptor, _ as LogSourceDefinitionSchema, a as ClientDefinitionSchema, b as NpmInstallDescriptor, f as ClientToolDefinition, g as LogSourceDefinition, j as VersionRangeSchema, k as VersionLiteralSchema, n as ClientBinaryCompatibilitySchema, p as ClientToolDefinitionSchema, r as ClientDefinition, t as ClientBinaryCompatibility, v as ManagedInstallDescriptor, w as SignedBinaryBucketInstallDescriptor, y as ManagedInstallDescriptorSchema } from "../definition-BdxbXbrq.mjs";
|
|
7
|
+
import { Cn as ClientExecutionContext, Ht as InstallStage, J as ClientSessionToolPost, Jt as ClientAccountIdentifier, K as ClientSessionStarted, Kt as ManagedInstallStrategy, Q as ClientSessionTurnCompleted, Rt as ClientVersionChanged, U as ClientSubjects, V as createClientDefinition, W as ClientSessionObservedBase, Wt as InstalledVersionEntry, X as ClientSessionToolPre, Xt as ClientAccountObserveRequest, Yt as ClientAccountIdentifierSchema, _t as ClientBinaryListEntry, at as ClientWiringEntrySchema, cn as ClientSessionAccountObserveRequest, ct as ClientRuntimeObserveRequest, dn as ClientSessionLocator, gn as ClientUsageSnapshot, ht as ClientRuntimeStarted, in as ClientScanResult, it as ClientWiringEntry, ln as ClientSessionAccountObserveResponse, nn as ClientIdentityObservationSchema, nt as ClientSessionUserPromptSubmitted, on as ClientScanTarget, pn as ClientUsageIngestRequest, tn as ClientIdentityObservation, un as ClientSessionAccountObserveSchema, vn as ClientUsageWindow, xt as ClientInstallProgress, yt as ClientInstallCompleted } from "../index-BSFmBEDL.mjs";
|
|
8
|
+
import { a as FocusContext, i as ActionIntent, t as SurfaceType } from "../index-BE-yMFTz.mjs";
|
|
9
|
+
import { _ as TTSCapability, a as ConfigUpdateRequest, b as RelayConfig, c as AIModelMetadata, d as AIReasoningLevelSchema, f as DiscoveredAIModel, g as STTCapability, h as ReasoningLevelMap, i as ConfigSchemas, l as AIModelSchema, m as ProviderAIModelSchema, n as ConfigSubjects, o as ConfigUpdateResponse, p as ProviderAIModel, r as ConfigGetResponse, s as AIModel, u as AIReasoningLevel, v as Config, y as ConfigSchema } from "../config-namespace-DloU-hNB.mjs";
|
|
10
|
+
import { $n as CliArgManifest, A as TransitionConditionSchema, B as BootstrapExportContext, Bn as ExtensionWarningAction, Bt as TileDeclaration, C as ExtensionTransitionActionsContribution, Cn as SessionEventActionOptions, Cr as dep, D as TransitionActionInvocation, Dt as PageDeclaration, E as TransitionActionHandler, Et as PageComponentProps, F as TransitionRuleDefinitionSchema, Fn as NodeExtensionContext, G as ExtensionBootstrap, Gt as UiContextSnapshot, H as BootstrapImportContext, Hn as ExtensionWarningEntry, Ht as TileProps, I as BootstrapAsset, In as ExtensionIdentity, It as WidgetProps, Jn as AdapterDefinitionContract, Jt as UiNavigationLevelMap, K as getBootstrapAssetKey, Kt as UiContextValueMap, L as BootstrapAssetKey, Ln as ExtensionService, M as TransitionEventType, N as TransitionEventTypeSchema, O as TransitionActionInvocationSchema, Or as AdapterClientRef, P as TransitionRuleDefinition, Pn as ExtensionContext, Pt as WidgetDeclaration, Qn as extensionToken, R as BootstrapChoice, Rn as ExtensionServiceLifecycle, S as MakaioNodeExtension, Sn as SessionEventActionDeclaration, Sr as allMigrationsPaths, T as TransitionActionFactory, Tn as WhenContext, Tr as CapabilityToken, Tt as ToolCallFormatterDeclaration, U as BootstrapImportResult, Un as ExtensionWarningEntrySchema, V as BootstrapExportResult, W as BootstrapResult, Wn as ExtensionWarningSchema, Wt as UiContextDimension, Xn as AdapterProviderRef, Xt as UiScope, Yn as AdapterProviderDefinitionContract, Yt as UiRuntimeNavigationLevel, Zn as ExtensionToken, Zt as UiScopeMap, _ as ExtensionArtifactLifecycleHooksContribution, _n as PickerConfig, _t as MakaioWebUiComponentProps, a as DetachedTransportSchema, an as HashTriggerSuggestResult, ar as ExtensionDependency, at as StationNodeBlockRun, bn as SelectionFeedback, c as ExtensionDescriptorBase, cn as ActionShortcut, ct as WorkflowStepBlock, d as ExtensionEntrypoints, dn as EntrypointConfig, dr as STORAGE_DIALECTS, f as ExtensionEntrypointsSchema, fn as EventFilter, fr as StorageDialect, ft as ExtensionConfigComponentProps, g as ArtifactLifecycleHooksContributionContext, gn as MessageRole, gt as MakaioWebUiActions, h as safeParseExtensionDescriptor, hn as MessageEventFilter, hr as TrayManifest, i as DetachedTransportConfig, it as RegisteredTriggerBlock, j as TransitionEvaluationContext, k as TransitionCondition, ln as ActionShortcutModifiers, lt as WorkflowStepBlockRun, m as parseExtensionDescriptor, mn as ExecuteResult, mt as LoaderContext, n as parseExtensionConfig, nn as HashTriggerContext, nr as CliManifestSchema, nt as DelegateRoleNodeBlockRun, o as EmbeddedDescriptor, on as ActionCategory, or as ExtensionDependencySchema, ot as WorkflowBlockCollection, p as isDetachedDescriptor, pn as ExecuteContext, pr as StorageManifest, pt as ExtensionFieldTypeLoader, q as AdapterContribution, qn as getExtensionWarningActionLabel, qt as UiNavigationLevel, r as DetachedDescriptor, rn as HashTriggerMetadata, rr as CliSubcommandManifest, rt as RegisteredStepBlock, s as ExtensionDescriptor, sn as ActionCategoryMap, st as WorkflowBlockMetadata, t as ExtensionConfigProvider, ti as BrowserEntrypointSchema, tn as HashTrigger, tr as CliManifest, tt as DelegateAgentNodeBlockRun, u as ExtensionDescriptorSchema, un as CreateSessionEventActionResult, ut as WorkflowTriggerBlock, v as ExtensionContributionProcessor, vn as PickerOpenContext, w as ExtensionTransitionRulesContribution, wn as StructuralEventFilter, wr as primaryMigrationsPath, x as MakaioExtension, xn as SessionEventActionContext, yn as SelectionChangeContext, yr as WindowParamSpec, yt as MakaioWebUiRoute, z as BootstrapDiscoverContext, zn as ExtensionWarning } from "../index-DHVoVh-j.mjs";
|
|
11
|
+
import { a as ProviderDefinition, i as ProtocolIdSchema, n as ProtocolEndpointsSchema, o as ProviderDefinitionInput, r as ProtocolId, s as ProviderDefinitionSchema, t as ProtocolEndpoints } from "../definition-BwLJnqEo.mjs";
|
|
12
|
+
import { i as TimeoutConfigSchema, n as TimeoutCategory, r as TimeoutConfig, t as RequiredTimeoutConfig } from "../index-CBTp2XuF.mjs";
|
|
13
|
+
import { $ as ImportStatus, B as TurnInitiator, C as SessionEventTypeMap, D as MessageRouting, G as TurnUsage, H as TurnSchema, K as TurnUsageSchema, M as SessionMessageBlock, O as MessageRoutingSchema, P as SessionMessageOrigin, R as SessionMessageSchema, S as SessionEventType, T as SendMessageRequest$1, U as TurnStatus, V as TurnInitiatorSchema, W as TurnStatusSchema, Y as AgentRole, Z as BranchKind, _ as ForkChildInfo, a as SessionPreviewData, b as SESSION_EVENT_TYPES, ct as safeValidateSnapshot, d as SegmentPolicy, dt as SessionPreviewDataSchema, ft as SessionWithPreviewSchema, h as SessionUpdatedEvent, ht as MakaioSessionAgentSchema, i as MakaioSessionEvent, it as SnapshotExportOptions, j as SessionMessage, k as MessageRoutingStatus, l as ForkTransforms, lt as validateSnapshot, mt as AgentStatusSchema, nt as SessionSnapshot, o as SessionWithPreview, ot as SnapshotImportConflictErrorData, p as SessionCreated, q as UsageMetrics, r as MakaioSessionAgent, rt as SessionSnapshotSchema, s as isKnownSessionEvent, st as SnapshotPreviewData, t as IMakaioSession, tt as SNAPSHOT_VERSION, u as ForkTransformsSchema, ut as MakaioSessionSchema, x as SessionEventPayload, y as MakaioSessionEventSchema, z as Turn } from "../types-Bo2-N1YR.mjs";
|
|
14
|
+
import { $ as JsonValueSchema, A as FieldOption, B as ResponseSchemaDescriptorSchema, D as EntityUIConfig, E as CustomFieldDefinition, F as FieldWidget, G as StructuredOutputValidationErrorSchema, H as ResponseSchemaNameSchema, I as FormFieldProps, J as StructuredOutputValidationStatusSchema, K as StructuredOutputValidationSchema, O as EntityUIConfigSchema, P as FieldType, Q as JsonValue, R as StandardFieldDefinition, S as SystemPrompt, U as StructuredOutputValidation, V as ResponseSchemaName, W as StructuredOutputValidationError, Y as JsonObjectContractSchema, a as ErrorCategorySchema, d as MessageInput, i as ErrorCategory, k as FieldDefinition, l as MessageDeliveryMode, o as Message$1, p as MessageOutcome, q as StructuredOutputValidationStatus, r as ERROR_CATEGORIES, s as MessageBlock, t as ContentSource, y as SendMessageResultInnerResult, z as ResponseSchemaDescriptor } from "../index-B3mq3Qjf.mjs";
|
|
15
|
+
import { _ as FacetNamespaceRegistration, a as FacetNamespaceRegisterRequest, c as FacetSubjects, d as FacetAppliesTo, f as FacetAppliesToSchema, g as FacetCardinalitySchema, h as FacetCardinality, i as FacetNamespaceListResponse, l as FacetNamespaceDefinition, m as FacetAuthoritySchema, n as FacetNamespaceChangedPayload, o as FacetNamespaceRegisterResponse, p as FacetAuthority, r as FacetNamespaceListRequest, s as FacetSchemas, t as FacetNamespace, u as defineFacetNamespace, v as FacetNamespaceRegistrationSchema } from "../index-DUI1W-zN.mjs";
|
|
16
|
+
import { n as defineSurfaceBinding, t as SurfaceBindingDefinition } from "../definition-CZcVOhXZ.mjs";
|
|
17
|
+
import { A as HarnessDefinitionSchema, C as ApprovalPolicy, D as HarnessDefinitionBaseSchema, E as HarnessDefinition, O as HarnessDefinitionCreate, S as HarnessSubjects, _ as ToolCapabilitySchema, d as expandProfileToolCapabilities, g as ToolCapability, h as CapabilityPickerValue, k as HarnessDefinitionCreateSchema, l as ProfileToolCapabilitiesConfig, m as CapabilityItem, o as codexCapabilityMap, p as CapabilityGroup, r as DEFAULT_HARNESSES, u as expandCapabilities, v as ToolMetaTag, w as ApprovalPolicySchema, y as computeMetaTags } from "../index-B1PgTu7q.mjs";
|
|
18
|
+
import { a as WindowCreateRequest, c as WindowFocusResponse, d as WindowListResponse, f as WindowOpenedEvent, g as HostSubjects, h as HostNamespace, i as WindowClosedEvent, l as WindowLabelChangedEvent, m as WindowStateSchema, n as TrayActivateRequest, o as WindowCreateResponse, p as WindowState, r as TrayActivateResponse, s as WindowFocusRequest, t as HostSchemas, u as WindowListRequest } from "../index-BUilJdHr.mjs";
|
|
19
|
+
import { a as resolveModelVisibility, i as ModelVisibilitySchema, n as ModelFilterModeSchema, r as ModelVisibility, t as ModelFilterMode } from "../index-BDnI2oqX.mjs";
|
|
20
|
+
import { a as ModelRegistrySupportedModelsResponse, i as ModelRegistrySupportedModelsRequest, n as ModelRegistrySupportedModel, o as ModelRegistryPublicNamespace, r as ModelRegistrySupportedModelSchema, s as ModelRegistryPublicSubjects } from "../index-CfpfkKih.mjs";
|
|
21
|
+
import { a as PlatformSchemas, i as AutoLaunchStatusResponse, n as AutoLaunchEnableRequest, o as PlatformNamespace, r as AutoLaunchEnableResponse, s as PlatformSubjects, t as AutoLaunchDisableResponse } from "../index-DWqSqcpW.mjs";
|
|
22
|
+
import { F as CONNECTOR_SWAP_CANCELLED_CODE, G as ContextWindowState, H as UI_WARNINGS_CATEGORY, I as ConnectorSwapCancelledError, K as ForkOptions, L as isConnectorSwapCancelledError, N as ResolveAgentConfigResponse, R as CONNECTOR_SWAP_WARNING_OPTION_IDS, S as isInViewBranch, U as SessionContext, V as INTERACTIVE_DIALOG_TIMEOUT_MS, W as SessionContextSchema, X as SessionSubjects, Y as SessionNamespace, a as SessionStorageSubjects, c as SessionEventStorageSubjects, d as messageCursorKey, f as messageToCursor, g as MessageStorageSubjects, h as MessageStorageNamespace, i as SessionStorageSetSessionSchema, l as compareMessageCursorAsc, m as MessagePageCursorSchema, n as SessionStorageNamespace, o as SessionStorageUpdateSchema, p as MessagePageCursor, q as SessionExtensionContext, r as SessionStorageSetRequestSchema, s as SessionEventStorageNamespace, t as ImportUpsertRequest, u as compareMessageCursorDesc, v as CompressionMode, y as CompressionModeSchema, z as CONNECTOR_SWAP_WARNING_SUPPRESSED_KEY } from "../index-BF84QInS.mjs";
|
|
23
|
+
import { A as SkillRecordInputSchema, C as SkillGetActiveSkillsResponse, E as SkillQuery, F as SkillRuntimePolicySchema, L as SkillScope, M as SkillReinjection, O as SkillRecord, P as SkillRuntimePolicy, S as SkillGetActiveSkillsRequest, T as SkillGetCatalogResponse, U as SkillNamespace, V as SkillTurnEntry, W as SkillSubjects, b as SkillFrontmatter, c as SkillActivateRequest, f as SkillActivationTrigger, g as SkillCatalogTurnEntry, i as ActivatedSkillMetadata, k as SkillRecordInput, l as SkillActivateResponse, m as SkillCatalogEntry, n as SkillStorageSubjects, o as ActiveSkillState, p as SkillActivationTriggerSchema, r as validateSkillScope, t as SkillStorageNamespace, u as SkillActivationMode, v as SkillDeactivationReason, w as SkillGetCatalogRequest, x as SkillFrontmatterSchema, y as SkillDeactivationReasonSchema, z as SkillSource } from "../index-BQ8H7cvY.mjs";
|
|
24
|
+
import { a as VariantGetInfoResponse, d as VariantUpgradeStatusSchema, i as MakaioVariantSchema, l as VariantUpgradeProgressEvent, n as VariantSubjects, o as VariantRequestUpgradeRequest, r as MakaioVariant, s as VariantRequestUpgradeResponse, t as VariantNamespace, u as VariantUpgradeStatus } from "../index-DyqZej9j.mjs";
|
|
25
|
+
import { _ as SupervisorSessionStatusSchema, a as NativeSupervisorLaunchRequest, c as NativeSupervisorStatusRequest, d as NativeSupervisorStopRequest, g as SupervisorSessionStatus, m as SupervisorRuntimeSnapshot, n as NativeSupervisorAttachRequest, y as NativeSessionSupervisorSubjects } from "../index-DdCyeZ59.mjs";
|
|
26
|
+
import { a as MaterializationSubjects, c as SurfaceBindingListResponse, i as MaterializationSchemas, l as SurfaceBindingRegisterRequest, n as MaterializationNamespace, o as SurfaceBindingChangedPayload, s as SurfaceBindingListRequest, u as SurfaceBindingRegisterResponse } from "../index-cN4DkU5Y2.mjs";
|
|
27
|
+
import { a as SubjectTelemetryFactSchema, c as SubjectTelemetryNamespace, i as SubjectTelemetryFact, l as SubjectTelemetrySubjects, n as SubjectTelemetryAttributeValueSchema, o as SubjectTelemetryMessageTypeSchema, r as SubjectTelemetryDirectionSchema, s as SubjectTelemetrySchemas, t as SubjectTelemetryAttributeValue } from "../index-DHHKwLww.mjs";
|
|
27
28
|
import * as _$zod from "zod";
|
|
28
29
|
import { z } from "zod";
|
|
29
30
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -31,497 +32,6 @@ import { ExtractSubjectPayload, MakaioBusLike, RegistrableBusNamespaceDefinition
|
|
|
31
32
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
32
33
|
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
33
34
|
|
|
34
|
-
//#region core/contracts/src/canonical-model/types.d.ts
|
|
35
|
-
/** Exhaustive tuple of all {@link CanonicalModelParseErrorCode} values. */
|
|
36
|
-
declare const CANONICAL_MODEL_PARSE_ERROR_CODES: readonly ["empty", "empty-model", "empty-routing", "empty-segment", "too-many-segments", "invalid-segment", "invalid-virtual-name", "empty-virtual-name"];
|
|
37
|
-
/**
|
|
38
|
-
* Error codes produced by the canonical model parser.
|
|
39
|
-
*
|
|
40
|
-
* Each code identifies a distinct malformed-input condition:
|
|
41
|
-
* - `'empty'` - empty or whitespace-only input
|
|
42
|
-
* - `'empty-model'` - `'::'` present with nothing after it
|
|
43
|
-
* - `'empty-routing'` - `'::'` present with nothing before it
|
|
44
|
-
* - `'empty-segment'` - consecutive slashes produce an empty routing segment
|
|
45
|
-
* - `'too-many-segments'` - more than two routing segments before `'::'`
|
|
46
|
-
* - `'invalid-segment'` - routing segment contains characters outside `[a-z0-9._-]`
|
|
47
|
-
* - `'invalid-virtual-name'` - virtual model name contains characters outside `[a-z0-9_-]`
|
|
48
|
-
* - `'empty-virtual-name'` - bare `'~'` sigil with no name following it
|
|
49
|
-
*/
|
|
50
|
-
type CanonicalModelParseErrorCode = (typeof CANONICAL_MODEL_PARSE_ERROR_CODES)[number];
|
|
51
|
-
/**
|
|
52
|
-
* Parse error returned by the canonical model parser.
|
|
53
|
-
*
|
|
54
|
-
* Discriminated by `kind: 'parse-error'` so it can be combined into
|
|
55
|
-
* {@link CanonicalModelParseResult} and narrowed with a type guard.
|
|
56
|
-
*/
|
|
57
|
-
interface CanonicalModelParseError {
|
|
58
|
-
readonly kind: 'parse-error';
|
|
59
|
-
/** Machine-readable error category. */
|
|
60
|
-
readonly code: CanonicalModelParseErrorCode;
|
|
61
|
-
/** Human-readable description of the problem. */
|
|
62
|
-
readonly message: string;
|
|
63
|
-
/** The verbatim input string that produced the error. */
|
|
64
|
-
readonly input: string;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Bare model reference - no routing qualifier.
|
|
68
|
-
*
|
|
69
|
-
* The entire input is treated as the verbatim model name and resolved
|
|
70
|
-
* against the default adapter/provider at runtime.
|
|
71
|
-
*/
|
|
72
|
-
interface BareModelRef {
|
|
73
|
-
readonly kind: 'bare';
|
|
74
|
-
/** Verbatim model name as provided by the caller (for example `'sonnet'`). */
|
|
75
|
-
readonly model: string;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Qualified model reference - one or two routing segments followed by `'::'` and a model name.
|
|
79
|
-
*
|
|
80
|
-
* Routing segments are case-normalised to lowercase during parsing.
|
|
81
|
-
* The model name is passed through verbatim.
|
|
82
|
-
*/
|
|
83
|
-
interface QualifiedModelRef {
|
|
84
|
-
readonly kind: 'qualified';
|
|
85
|
-
/** First routing segment - adapter or provider slug, lowercased. */
|
|
86
|
-
readonly segment1: string;
|
|
87
|
-
/** Second routing segment - provider slug when `segment1` is an adapter, lowercased. */
|
|
88
|
-
readonly segment2?: string;
|
|
89
|
-
/** Verbatim model name appearing after `'::'`. */
|
|
90
|
-
readonly model: string;
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Virtual model reference - a logical alias introduced with the `'~'` sigil.
|
|
94
|
-
*
|
|
95
|
-
* Hosts may translate this higher-level reference through the existing
|
|
96
|
-
* virtual-model resolution seam. The framework-owned canonical-model resolver
|
|
97
|
-
* intentionally does not consume this parsed form.
|
|
98
|
-
*/
|
|
99
|
-
interface VirtualModelRef {
|
|
100
|
-
readonly kind: 'virtual';
|
|
101
|
-
/** Virtual model name without the leading `'~'` sigil. */
|
|
102
|
-
readonly name: string;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Discriminated union of all successfully parsed canonical model forms.
|
|
106
|
-
*
|
|
107
|
-
* Narrow with `result.kind` or use the {@link isCanonicalModelParseError} type
|
|
108
|
-
* guard to separate success from failure.
|
|
109
|
-
*/
|
|
110
|
-
type ParsedCanonicalModel = BareModelRef | QualifiedModelRef | VirtualModelRef;
|
|
111
|
-
/**
|
|
112
|
-
* Framework-resolvable parsed canonical model forms.
|
|
113
|
-
*
|
|
114
|
-
* Host-only `kind: 'virtual'` expansion is intentionally excluded from the
|
|
115
|
-
* framework resolver contract.
|
|
116
|
-
*/
|
|
117
|
-
type ResolvableCanonicalModel = BareModelRef | QualifiedModelRef;
|
|
118
|
-
/**
|
|
119
|
-
* Result of parsing a canonical model string.
|
|
120
|
-
*
|
|
121
|
-
* Either a successfully parsed {@link ParsedCanonicalModel} or a
|
|
122
|
-
* {@link CanonicalModelParseError} describing why parsing failed.
|
|
123
|
-
*/
|
|
124
|
-
type CanonicalModelParseResult = ParsedCanonicalModel | CanonicalModelParseError;
|
|
125
|
-
//#endregion
|
|
126
|
-
//#region core/contracts/src/canonical-model/parser.d.ts
|
|
127
|
-
/**
|
|
128
|
-
* Matches a valid virtual model name: starts with `[a-z0-9]`, followed by
|
|
129
|
-
* `[a-z0-9_-]*`.
|
|
130
|
-
*
|
|
131
|
-
* Exported so host-owned virtual-model schemas can enforce the same naming
|
|
132
|
-
* rule at write time.
|
|
133
|
-
*/
|
|
134
|
-
declare const VIRTUAL_NAME_RE: RegExp;
|
|
135
|
-
/**
|
|
136
|
-
* Parse a canonical model string into a structured reference.
|
|
137
|
-
*
|
|
138
|
-
* The grammar is:
|
|
139
|
-
* ```
|
|
140
|
-
* canonical := "~" virtual_model_name
|
|
141
|
-
* | routing "::" model_name
|
|
142
|
-
* | model_name
|
|
143
|
-
*
|
|
144
|
-
* routing := segment
|
|
145
|
-
* | segment "/" segment
|
|
146
|
-
*
|
|
147
|
-
* segment := [a-z0-9][a-z0-9._-]*
|
|
148
|
-
* model_name := <any non-empty string>
|
|
149
|
-
* virtual_model_name := [a-z0-9][a-z0-9_-]*
|
|
150
|
-
* ```
|
|
151
|
-
*
|
|
152
|
-
* Routing segments are lowercased during parsing because they are
|
|
153
|
-
* case-insensitive for matching purposes. Model names are passed through
|
|
154
|
-
* verbatim as they are provider-defined and case-sensitive.
|
|
155
|
-
* @param input - The canonical model string to parse
|
|
156
|
-
* @returns A parsed reference or a parse error
|
|
157
|
-
*/
|
|
158
|
-
declare function parseCanonicalModel(input: string): CanonicalModelParseResult;
|
|
159
|
-
/**
|
|
160
|
-
* Type guard for distinguishing parse errors from successful parse results.
|
|
161
|
-
* @param result - The parse result to check
|
|
162
|
-
* @returns `true` when the result is a parse error
|
|
163
|
-
*/
|
|
164
|
-
declare function isCanonicalModelParseError(result: CanonicalModelParseResult): result is CanonicalModelParseError;
|
|
165
|
-
//#endregion
|
|
166
|
-
//#region core/contracts/src/canonical-model/selection.d.ts
|
|
167
|
-
/**
|
|
168
|
-
* Agent selection for `kind: 'canonical-model'`.
|
|
169
|
-
*
|
|
170
|
-
* The `model` field carries the canonical model reference string verbatim.
|
|
171
|
-
* Resolution happens immediately at the `AgentResolutionSubjects.resolve`
|
|
172
|
-
* chokepoint, so this kind never persists into runtime spawn paths.
|
|
173
|
-
*/
|
|
174
|
-
declare const CanonicalModelSelectionSchema: z.ZodObject<{
|
|
175
|
-
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
176
|
-
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
177
|
-
none: "none";
|
|
178
|
-
low: "low";
|
|
179
|
-
medium: "medium";
|
|
180
|
-
high: "high";
|
|
181
|
-
"extra-high": "extra-high";
|
|
182
|
-
}>>;
|
|
183
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
184
|
-
systemPrompt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
185
|
-
mode: z.ZodLiteral<"append">;
|
|
186
|
-
content: z.ZodString;
|
|
187
|
-
}, z.core.$strip>]>>;
|
|
188
|
-
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
189
|
-
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
190
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
191
|
-
mcpSessionContext: z.ZodOptional<z.ZodObject<{
|
|
192
|
-
sessionId: z.ZodString;
|
|
193
|
-
directTools: z.ZodArray<z.ZodObject<{
|
|
194
|
-
fullName: z.ZodString;
|
|
195
|
-
originalName: z.ZodString;
|
|
196
|
-
serverName: z.ZodString;
|
|
197
|
-
description: z.ZodOptional<z.ZodString>;
|
|
198
|
-
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
199
|
-
exposureMode: z.ZodEnum<{
|
|
200
|
-
direct: "direct";
|
|
201
|
-
discovery: "discovery";
|
|
202
|
-
hidden: "hidden";
|
|
203
|
-
}>;
|
|
204
|
-
enabled: z.ZodBoolean;
|
|
205
|
-
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
206
|
-
discovery: "discovery";
|
|
207
|
-
toolset: "toolset";
|
|
208
|
-
}>>;
|
|
209
|
-
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
210
|
-
exposed: z.ZodBoolean;
|
|
211
|
-
}, z.core.$strip>>;
|
|
212
|
-
servers: z.ZodArray<z.ZodObject<{
|
|
213
|
-
name: z.ZodString;
|
|
214
|
-
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
215
|
-
type: z.ZodLiteral<"stdio">;
|
|
216
|
-
command: z.ZodString;
|
|
217
|
-
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
218
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
219
|
-
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
220
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
221
|
-
url: z.ZodString;
|
|
222
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
223
|
-
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
224
|
-
name: z.ZodString;
|
|
225
|
-
permission_policy: z.ZodEnum<{
|
|
226
|
-
always_allow: "always_allow";
|
|
227
|
-
always_ask: "always_ask";
|
|
228
|
-
always_deny: "always_deny";
|
|
229
|
-
}>;
|
|
230
|
-
}, z.core.$strip>>>;
|
|
231
|
-
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
232
|
-
type: z.ZodLiteral<"sse">;
|
|
233
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
234
|
-
url: z.ZodString;
|
|
235
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
236
|
-
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
237
|
-
name: z.ZodString;
|
|
238
|
-
permission_policy: z.ZodEnum<{
|
|
239
|
-
always_allow: "always_allow";
|
|
240
|
-
always_ask: "always_ask";
|
|
241
|
-
always_deny: "always_deny";
|
|
242
|
-
}>;
|
|
243
|
-
}, z.core.$strip>>>;
|
|
244
|
-
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
245
|
-
type: z.ZodLiteral<"http">;
|
|
246
|
-
}, z.core.$strip>], "type">;
|
|
247
|
-
exposureMode: z.ZodEnum<{
|
|
248
|
-
direct: "direct";
|
|
249
|
-
discovery: "discovery";
|
|
250
|
-
}>;
|
|
251
|
-
}, z.core.$strip>>;
|
|
252
|
-
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
253
|
-
fullName: z.ZodString;
|
|
254
|
-
originalName: z.ZodString;
|
|
255
|
-
serverName: z.ZodString;
|
|
256
|
-
description: z.ZodOptional<z.ZodString>;
|
|
257
|
-
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
258
|
-
exposureMode: z.ZodEnum<{
|
|
259
|
-
direct: "direct";
|
|
260
|
-
discovery: "discovery";
|
|
261
|
-
hidden: "hidden";
|
|
262
|
-
}>;
|
|
263
|
-
enabled: z.ZodBoolean;
|
|
264
|
-
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
265
|
-
discovery: "discovery";
|
|
266
|
-
toolset: "toolset";
|
|
267
|
-
}>>;
|
|
268
|
-
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
269
|
-
exposed: z.ZodBoolean;
|
|
270
|
-
}, z.core.$strip>>;
|
|
271
|
-
}, z.core.$strip>>;
|
|
272
|
-
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
273
|
-
kind: z.ZodLiteral<"canonical-model">;
|
|
274
|
-
model: z.ZodString;
|
|
275
|
-
}, z.core.$loose>;
|
|
276
|
-
type CanonicalModelSelection = z.infer<typeof CanonicalModelSelectionSchema>;
|
|
277
|
-
declare module '@makaio/framework/contracts' {
|
|
278
|
-
interface AgentSelectionKindMap {
|
|
279
|
-
'canonical-model': CanonicalModelSelection;
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
//#endregion
|
|
283
|
-
//#region core/contracts/src/canonical-model/schemas.d.ts
|
|
284
|
-
/**
|
|
285
|
-
* Resolved adapter selection produced by framework canonical-model resolution.
|
|
286
|
-
*
|
|
287
|
-
* Canonical-model resolution is intentionally limited to adapter/provider/model
|
|
288
|
-
* routing. Host-only virtual-model expansion happens at the higher-level
|
|
289
|
-
* agent-resolution seam.
|
|
290
|
-
*/
|
|
291
|
-
declare const CanonicalModelResolvedSelectionSchema: z.ZodObject<{
|
|
292
|
-
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
293
|
-
none: "none";
|
|
294
|
-
low: "low";
|
|
295
|
-
medium: "medium";
|
|
296
|
-
high: "high";
|
|
297
|
-
"extra-high": "extra-high";
|
|
298
|
-
}>>;
|
|
299
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
300
|
-
systemPrompt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
301
|
-
mode: z.ZodLiteral<"append">;
|
|
302
|
-
content: z.ZodString;
|
|
303
|
-
}, z.core.$strip>]>>;
|
|
304
|
-
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
305
|
-
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
306
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
307
|
-
mcpSessionContext: z.ZodOptional<z.ZodObject<{
|
|
308
|
-
sessionId: z.ZodString;
|
|
309
|
-
directTools: z.ZodArray<z.ZodObject<{
|
|
310
|
-
fullName: z.ZodString;
|
|
311
|
-
originalName: z.ZodString;
|
|
312
|
-
serverName: z.ZodString;
|
|
313
|
-
description: z.ZodOptional<z.ZodString>;
|
|
314
|
-
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
315
|
-
exposureMode: z.ZodEnum<{
|
|
316
|
-
direct: "direct";
|
|
317
|
-
discovery: "discovery";
|
|
318
|
-
hidden: "hidden";
|
|
319
|
-
}>;
|
|
320
|
-
enabled: z.ZodBoolean;
|
|
321
|
-
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
322
|
-
discovery: "discovery";
|
|
323
|
-
toolset: "toolset";
|
|
324
|
-
}>>;
|
|
325
|
-
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
326
|
-
exposed: z.ZodBoolean;
|
|
327
|
-
}, z.core.$strip>>;
|
|
328
|
-
servers: z.ZodArray<z.ZodObject<{
|
|
329
|
-
name: z.ZodString;
|
|
330
|
-
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
331
|
-
type: z.ZodLiteral<"stdio">;
|
|
332
|
-
command: z.ZodString;
|
|
333
|
-
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
334
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
335
|
-
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
336
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
337
|
-
url: z.ZodString;
|
|
338
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
339
|
-
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
340
|
-
name: z.ZodString;
|
|
341
|
-
permission_policy: z.ZodEnum<{
|
|
342
|
-
always_allow: "always_allow";
|
|
343
|
-
always_ask: "always_ask";
|
|
344
|
-
always_deny: "always_deny";
|
|
345
|
-
}>;
|
|
346
|
-
}, z.core.$strip>>>;
|
|
347
|
-
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
348
|
-
type: z.ZodLiteral<"sse">;
|
|
349
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
350
|
-
url: z.ZodString;
|
|
351
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
352
|
-
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
353
|
-
name: z.ZodString;
|
|
354
|
-
permission_policy: z.ZodEnum<{
|
|
355
|
-
always_allow: "always_allow";
|
|
356
|
-
always_ask: "always_ask";
|
|
357
|
-
always_deny: "always_deny";
|
|
358
|
-
}>;
|
|
359
|
-
}, z.core.$strip>>>;
|
|
360
|
-
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
361
|
-
type: z.ZodLiteral<"http">;
|
|
362
|
-
}, z.core.$strip>], "type">;
|
|
363
|
-
exposureMode: z.ZodEnum<{
|
|
364
|
-
direct: "direct";
|
|
365
|
-
discovery: "discovery";
|
|
366
|
-
}>;
|
|
367
|
-
}, z.core.$strip>>;
|
|
368
|
-
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
369
|
-
fullName: z.ZodString;
|
|
370
|
-
originalName: z.ZodString;
|
|
371
|
-
serverName: z.ZodString;
|
|
372
|
-
description: z.ZodOptional<z.ZodString>;
|
|
373
|
-
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
374
|
-
exposureMode: z.ZodEnum<{
|
|
375
|
-
direct: "direct";
|
|
376
|
-
discovery: "discovery";
|
|
377
|
-
hidden: "hidden";
|
|
378
|
-
}>;
|
|
379
|
-
enabled: z.ZodBoolean;
|
|
380
|
-
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
381
|
-
discovery: "discovery";
|
|
382
|
-
toolset: "toolset";
|
|
383
|
-
}>>;
|
|
384
|
-
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
385
|
-
exposed: z.ZodBoolean;
|
|
386
|
-
}, z.core.$strip>>;
|
|
387
|
-
}, z.core.$strip>>;
|
|
388
|
-
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
389
|
-
adapterId: z.ZodOptional<z.ZodString>;
|
|
390
|
-
kind: z.ZodLiteral<"adapter">;
|
|
391
|
-
adapterName: z.ZodString;
|
|
392
|
-
providerConfigId: z.ZodString;
|
|
393
|
-
model: z.ZodString;
|
|
394
|
-
}, z.core.$loose>;
|
|
395
|
-
type CanonicalModelResolvedSelection = z.infer<typeof CanonicalModelResolvedSelectionSchema>;
|
|
396
|
-
//#endregion
|
|
397
|
-
//#region core/contracts/src/canonical-model/namespace.d.ts
|
|
398
|
-
/** Typed subjects for canonical model bus operations. */
|
|
399
|
-
declare const CanonicalModelSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"canonicalModel", {
|
|
400
|
-
resolve: {
|
|
401
|
-
request: _$zod.ZodObject<{
|
|
402
|
-
parsed: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
403
|
-
kind: _$zod.ZodLiteral<"bare">;
|
|
404
|
-
model: _$zod.ZodString;
|
|
405
|
-
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
406
|
-
kind: _$zod.ZodLiteral<"qualified">;
|
|
407
|
-
segment1: _$zod.ZodString;
|
|
408
|
-
segment2: _$zod.ZodOptional<_$zod.ZodString>;
|
|
409
|
-
model: _$zod.ZodString;
|
|
410
|
-
}, _$zod_v4_core0.$strip>], "kind">;
|
|
411
|
-
context: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
412
|
-
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
413
|
-
projectId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
414
|
-
promptText: _$zod.ZodOptional<_$zod.ZodString>;
|
|
415
|
-
sessionContext: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
416
|
-
}, _$zod_v4_core0.$strip>>;
|
|
417
|
-
}, _$zod_v4_core0.$strip>;
|
|
418
|
-
response: _$zod.ZodObject<{
|
|
419
|
-
reasoningEffort: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
420
|
-
none: "none";
|
|
421
|
-
low: "low";
|
|
422
|
-
medium: "medium";
|
|
423
|
-
high: "high";
|
|
424
|
-
"extra-high": "extra-high";
|
|
425
|
-
}>>;
|
|
426
|
-
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
427
|
-
systemPrompt: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
|
|
428
|
-
mode: _$zod.ZodLiteral<"append">;
|
|
429
|
-
content: _$zod.ZodString;
|
|
430
|
-
}, _$zod_v4_core0.$strip>]>>;
|
|
431
|
-
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
432
|
-
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
433
|
-
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
434
|
-
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
435
|
-
sessionId: _$zod.ZodString;
|
|
436
|
-
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
437
|
-
fullName: _$zod.ZodString;
|
|
438
|
-
originalName: _$zod.ZodString;
|
|
439
|
-
serverName: _$zod.ZodString;
|
|
440
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
441
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
442
|
-
exposureMode: _$zod.ZodEnum<{
|
|
443
|
-
direct: "direct";
|
|
444
|
-
discovery: "discovery";
|
|
445
|
-
hidden: "hidden";
|
|
446
|
-
}>;
|
|
447
|
-
enabled: _$zod.ZodBoolean;
|
|
448
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
449
|
-
discovery: "discovery";
|
|
450
|
-
toolset: "toolset";
|
|
451
|
-
}>>;
|
|
452
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
453
|
-
exposed: _$zod.ZodBoolean;
|
|
454
|
-
}, _$zod_v4_core0.$strip>>;
|
|
455
|
-
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
456
|
-
name: _$zod.ZodString;
|
|
457
|
-
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
458
|
-
type: _$zod.ZodLiteral<"stdio">;
|
|
459
|
-
command: _$zod.ZodString;
|
|
460
|
-
args: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
461
|
-
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
462
|
-
alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
463
|
-
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
464
|
-
url: _$zod.ZodString;
|
|
465
|
-
headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
466
|
-
tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
467
|
-
name: _$zod.ZodString;
|
|
468
|
-
permission_policy: _$zod.ZodEnum<{
|
|
469
|
-
always_allow: "always_allow";
|
|
470
|
-
always_ask: "always_ask";
|
|
471
|
-
always_deny: "always_deny";
|
|
472
|
-
}>;
|
|
473
|
-
}, _$zod_v4_core0.$strip>>>;
|
|
474
|
-
alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
475
|
-
type: _$zod.ZodLiteral<"sse">;
|
|
476
|
-
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
477
|
-
url: _$zod.ZodString;
|
|
478
|
-
headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
479
|
-
tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
480
|
-
name: _$zod.ZodString;
|
|
481
|
-
permission_policy: _$zod.ZodEnum<{
|
|
482
|
-
always_allow: "always_allow";
|
|
483
|
-
always_ask: "always_ask";
|
|
484
|
-
always_deny: "always_deny";
|
|
485
|
-
}>;
|
|
486
|
-
}, _$zod_v4_core0.$strip>>>;
|
|
487
|
-
alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
488
|
-
type: _$zod.ZodLiteral<"http">;
|
|
489
|
-
}, _$zod_v4_core0.$strip>], "type">;
|
|
490
|
-
exposureMode: _$zod.ZodEnum<{
|
|
491
|
-
direct: "direct";
|
|
492
|
-
discovery: "discovery";
|
|
493
|
-
}>;
|
|
494
|
-
}, _$zod_v4_core0.$strip>>;
|
|
495
|
-
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
496
|
-
fullName: _$zod.ZodString;
|
|
497
|
-
originalName: _$zod.ZodString;
|
|
498
|
-
serverName: _$zod.ZodString;
|
|
499
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
500
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
501
|
-
exposureMode: _$zod.ZodEnum<{
|
|
502
|
-
direct: "direct";
|
|
503
|
-
discovery: "discovery";
|
|
504
|
-
hidden: "hidden";
|
|
505
|
-
}>;
|
|
506
|
-
enabled: _$zod.ZodBoolean;
|
|
507
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
508
|
-
discovery: "discovery";
|
|
509
|
-
toolset: "toolset";
|
|
510
|
-
}>>;
|
|
511
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
512
|
-
exposed: _$zod.ZodBoolean;
|
|
513
|
-
}, _$zod_v4_core0.$strip>>;
|
|
514
|
-
}, _$zod_v4_core0.$strip>>;
|
|
515
|
-
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
516
|
-
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
517
|
-
kind: _$zod.ZodLiteral<"adapter">;
|
|
518
|
-
adapterName: _$zod.ZodString;
|
|
519
|
-
providerConfigId: _$zod.ZodString;
|
|
520
|
-
model: _$zod.ZodString;
|
|
521
|
-
}, _$zod_v4_core0.$loose>;
|
|
522
|
-
};
|
|
523
|
-
}>, "canonicalModel">;
|
|
524
|
-
//#endregion
|
|
525
35
|
//#region core/contracts/src/agent/namespace.d.ts
|
|
526
36
|
declare const AgentNamespace: _$_makaio_core0.BusNamespaceDefinition<"agent", {
|
|
527
37
|
'user_message.sent': _$zod.ZodObject<{
|
|
@@ -758,25 +268,6 @@ declare const AgentNamespace: _$_makaio_core0.BusNamespaceDefinition<"agent", {
|
|
|
758
268
|
occurredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
759
269
|
mcpSessionContext: _$zod.ZodObject<{
|
|
760
270
|
sessionId: _$zod.ZodString;
|
|
761
|
-
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
762
|
-
fullName: _$zod.ZodString;
|
|
763
|
-
originalName: _$zod.ZodString;
|
|
764
|
-
serverName: _$zod.ZodString;
|
|
765
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
766
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
767
|
-
exposureMode: _$zod.ZodEnum<{
|
|
768
|
-
direct: "direct";
|
|
769
|
-
discovery: "discovery";
|
|
770
|
-
hidden: "hidden";
|
|
771
|
-
}>;
|
|
772
|
-
enabled: _$zod.ZodBoolean;
|
|
773
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
774
|
-
discovery: "discovery";
|
|
775
|
-
toolset: "toolset";
|
|
776
|
-
}>>;
|
|
777
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
778
|
-
exposed: _$zod.ZodBoolean;
|
|
779
|
-
}, _$zod_v4_core0.$strip>>;
|
|
780
271
|
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
781
272
|
name: _$zod.ZodString;
|
|
782
273
|
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -817,16 +308,16 @@ declare const AgentNamespace: _$_makaio_core0.BusNamespaceDefinition<"agent", {
|
|
|
817
308
|
discovery: "discovery";
|
|
818
309
|
}>;
|
|
819
310
|
}, _$zod_v4_core0.$strip>>;
|
|
820
|
-
|
|
311
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
821
312
|
fullName: _$zod.ZodString;
|
|
822
313
|
originalName: _$zod.ZodString;
|
|
823
314
|
serverName: _$zod.ZodString;
|
|
824
315
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
825
316
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
826
317
|
exposureMode: _$zod.ZodEnum<{
|
|
318
|
+
hidden: "hidden";
|
|
827
319
|
direct: "direct";
|
|
828
320
|
discovery: "discovery";
|
|
829
|
-
hidden: "hidden";
|
|
830
321
|
}>;
|
|
831
322
|
enabled: _$zod.ZodBoolean;
|
|
832
323
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -836,8 +327,27 @@ declare const AgentNamespace: _$_makaio_core0.BusNamespaceDefinition<"agent", {
|
|
|
836
327
|
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
837
328
|
exposed: _$zod.ZodBoolean;
|
|
838
329
|
}, _$zod_v4_core0.$strip>>;
|
|
839
|
-
|
|
840
|
-
|
|
330
|
+
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
331
|
+
fullName: _$zod.ZodString;
|
|
332
|
+
originalName: _$zod.ZodString;
|
|
333
|
+
serverName: _$zod.ZodString;
|
|
334
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
335
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
336
|
+
exposureMode: _$zod.ZodEnum<{
|
|
337
|
+
hidden: "hidden";
|
|
338
|
+
direct: "direct";
|
|
339
|
+
discovery: "discovery";
|
|
340
|
+
}>;
|
|
341
|
+
enabled: _$zod.ZodBoolean;
|
|
342
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
343
|
+
discovery: "discovery";
|
|
344
|
+
toolset: "toolset";
|
|
345
|
+
}>>;
|
|
346
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
347
|
+
exposed: _$zod.ZodBoolean;
|
|
348
|
+
}, _$zod_v4_core0.$strip>>;
|
|
349
|
+
}, _$zod_v4_core0.$strip>;
|
|
350
|
+
turnActiveBehavior: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
841
351
|
reject: "reject";
|
|
842
352
|
stageForNextTurn: "stageForNextTurn";
|
|
843
353
|
}>>;
|
|
@@ -853,9 +363,9 @@ declare const AgentNamespace: _$_makaio_core0.BusNamespaceDefinition<"agent", {
|
|
|
853
363
|
request: _$zod.ZodObject<{
|
|
854
364
|
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
855
365
|
messageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
856
|
-
agentId: _$zod.ZodString;
|
|
857
366
|
adapterId: _$zod.ZodString;
|
|
858
367
|
adapterName: _$zod.ZodString;
|
|
368
|
+
agentId: _$zod.ZodString;
|
|
859
369
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
860
370
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
861
371
|
occurredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -2043,25 +1553,6 @@ declare const AgentSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
|
|
|
2043
1553
|
occurredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2044
1554
|
mcpSessionContext: _$zod.ZodObject<{
|
|
2045
1555
|
sessionId: _$zod.ZodString;
|
|
2046
|
-
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2047
|
-
fullName: _$zod.ZodString;
|
|
2048
|
-
originalName: _$zod.ZodString;
|
|
2049
|
-
serverName: _$zod.ZodString;
|
|
2050
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2051
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
2052
|
-
exposureMode: _$zod.ZodEnum<{
|
|
2053
|
-
direct: "direct";
|
|
2054
|
-
discovery: "discovery";
|
|
2055
|
-
hidden: "hidden";
|
|
2056
|
-
}>;
|
|
2057
|
-
enabled: _$zod.ZodBoolean;
|
|
2058
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2059
|
-
discovery: "discovery";
|
|
2060
|
-
toolset: "toolset";
|
|
2061
|
-
}>>;
|
|
2062
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2063
|
-
exposed: _$zod.ZodBoolean;
|
|
2064
|
-
}, _$zod_v4_core0.$strip>>;
|
|
2065
1556
|
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2066
1557
|
name: _$zod.ZodString;
|
|
2067
1558
|
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -2102,16 +1593,35 @@ declare const AgentSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
|
|
|
2102
1593
|
discovery: "discovery";
|
|
2103
1594
|
}>;
|
|
2104
1595
|
}, _$zod_v4_core0.$strip>>;
|
|
2105
|
-
|
|
1596
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2106
1597
|
fullName: _$zod.ZodString;
|
|
2107
1598
|
originalName: _$zod.ZodString;
|
|
2108
1599
|
serverName: _$zod.ZodString;
|
|
2109
1600
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2110
1601
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
2111
1602
|
exposureMode: _$zod.ZodEnum<{
|
|
1603
|
+
hidden: "hidden";
|
|
2112
1604
|
direct: "direct";
|
|
2113
1605
|
discovery: "discovery";
|
|
1606
|
+
}>;
|
|
1607
|
+
enabled: _$zod.ZodBoolean;
|
|
1608
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1609
|
+
discovery: "discovery";
|
|
1610
|
+
toolset: "toolset";
|
|
1611
|
+
}>>;
|
|
1612
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1613
|
+
exposed: _$zod.ZodBoolean;
|
|
1614
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1615
|
+
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1616
|
+
fullName: _$zod.ZodString;
|
|
1617
|
+
originalName: _$zod.ZodString;
|
|
1618
|
+
serverName: _$zod.ZodString;
|
|
1619
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1620
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
1621
|
+
exposureMode: _$zod.ZodEnum<{
|
|
2114
1622
|
hidden: "hidden";
|
|
1623
|
+
direct: "direct";
|
|
1624
|
+
discovery: "discovery";
|
|
2115
1625
|
}>;
|
|
2116
1626
|
enabled: _$zod.ZodBoolean;
|
|
2117
1627
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -2138,9 +1648,9 @@ declare const AgentSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
|
|
|
2138
1648
|
request: _$zod.ZodObject<{
|
|
2139
1649
|
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2140
1650
|
messageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2141
|
-
agentId: _$zod.ZodString;
|
|
2142
1651
|
adapterId: _$zod.ZodString;
|
|
2143
1652
|
adapterName: _$zod.ZodString;
|
|
1653
|
+
agentId: _$zod.ZodString;
|
|
2144
1654
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2145
1655
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2146
1656
|
occurredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -3355,25 +2865,6 @@ declare const AgentSchemas: {
|
|
|
3355
2865
|
occurredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
3356
2866
|
mcpSessionContext: _$zod.ZodObject<{
|
|
3357
2867
|
sessionId: _$zod.ZodString;
|
|
3358
|
-
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
3359
|
-
fullName: _$zod.ZodString;
|
|
3360
|
-
originalName: _$zod.ZodString;
|
|
3361
|
-
serverName: _$zod.ZodString;
|
|
3362
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3363
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
3364
|
-
exposureMode: _$zod.ZodEnum<{
|
|
3365
|
-
direct: "direct";
|
|
3366
|
-
discovery: "discovery";
|
|
3367
|
-
hidden: "hidden";
|
|
3368
|
-
}>;
|
|
3369
|
-
enabled: _$zod.ZodBoolean;
|
|
3370
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
3371
|
-
discovery: "discovery";
|
|
3372
|
-
toolset: "toolset";
|
|
3373
|
-
}>>;
|
|
3374
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
3375
|
-
exposed: _$zod.ZodBoolean;
|
|
3376
|
-
}, _$zod_v4_core0.$strip>>;
|
|
3377
2868
|
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
3378
2869
|
name: _$zod.ZodString;
|
|
3379
2870
|
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -3414,16 +2905,35 @@ declare const AgentSchemas: {
|
|
|
3414
2905
|
discovery: "discovery";
|
|
3415
2906
|
}>;
|
|
3416
2907
|
}, _$zod_v4_core0.$strip>>;
|
|
3417
|
-
|
|
2908
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
3418
2909
|
fullName: _$zod.ZodString;
|
|
3419
2910
|
originalName: _$zod.ZodString;
|
|
3420
2911
|
serverName: _$zod.ZodString;
|
|
3421
2912
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3422
2913
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
3423
2914
|
exposureMode: _$zod.ZodEnum<{
|
|
2915
|
+
hidden: "hidden";
|
|
3424
2916
|
direct: "direct";
|
|
3425
2917
|
discovery: "discovery";
|
|
2918
|
+
}>;
|
|
2919
|
+
enabled: _$zod.ZodBoolean;
|
|
2920
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2921
|
+
discovery: "discovery";
|
|
2922
|
+
toolset: "toolset";
|
|
2923
|
+
}>>;
|
|
2924
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2925
|
+
exposed: _$zod.ZodBoolean;
|
|
2926
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2927
|
+
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2928
|
+
fullName: _$zod.ZodString;
|
|
2929
|
+
originalName: _$zod.ZodString;
|
|
2930
|
+
serverName: _$zod.ZodString;
|
|
2931
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2932
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
2933
|
+
exposureMode: _$zod.ZodEnum<{
|
|
3426
2934
|
hidden: "hidden";
|
|
2935
|
+
direct: "direct";
|
|
2936
|
+
discovery: "discovery";
|
|
3427
2937
|
}>;
|
|
3428
2938
|
enabled: _$zod.ZodBoolean;
|
|
3429
2939
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -3450,9 +2960,9 @@ declare const AgentSchemas: {
|
|
|
3450
2960
|
request: _$zod.ZodObject<{
|
|
3451
2961
|
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3452
2962
|
messageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3453
|
-
agentId: _$zod.ZodString;
|
|
3454
2963
|
adapterId: _$zod.ZodString;
|
|
3455
2964
|
adapterName: _$zod.ZodString;
|
|
2965
|
+
agentId: _$zod.ZodString;
|
|
3456
2966
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3457
2967
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3458
2968
|
occurredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -5151,9 +4661,9 @@ declare const ResolvedAgentConfigSchema: z.ZodObject<{
|
|
|
5151
4661
|
directTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5152
4662
|
discoveryTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5153
4663
|
toolExposure: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
4664
|
+
hidden: "hidden";
|
|
5154
4665
|
direct: "direct";
|
|
5155
4666
|
discovery: "discovery";
|
|
5156
|
-
hidden: "hidden";
|
|
5157
4667
|
}>>>;
|
|
5158
4668
|
}, z.core.$strip>>;
|
|
5159
4669
|
}, z.core.$strip>;
|
|
@@ -5202,25 +4712,6 @@ declare const AgentResolutionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5202
4712
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
5203
4713
|
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
5204
4714
|
sessionId: _$zod.ZodString;
|
|
5205
|
-
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
5206
|
-
fullName: _$zod.ZodString;
|
|
5207
|
-
originalName: _$zod.ZodString;
|
|
5208
|
-
serverName: _$zod.ZodString;
|
|
5209
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5210
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
5211
|
-
exposureMode: _$zod.ZodEnum<{
|
|
5212
|
-
direct: "direct";
|
|
5213
|
-
discovery: "discovery";
|
|
5214
|
-
hidden: "hidden";
|
|
5215
|
-
}>;
|
|
5216
|
-
enabled: _$zod.ZodBoolean;
|
|
5217
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5218
|
-
discovery: "discovery";
|
|
5219
|
-
toolset: "toolset";
|
|
5220
|
-
}>>;
|
|
5221
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
5222
|
-
exposed: _$zod.ZodBoolean;
|
|
5223
|
-
}, _$zod_v4_core0.$strip>>;
|
|
5224
4715
|
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
5225
4716
|
name: _$zod.ZodString;
|
|
5226
4717
|
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -5261,16 +4752,35 @@ declare const AgentResolutionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5261
4752
|
discovery: "discovery";
|
|
5262
4753
|
}>;
|
|
5263
4754
|
}, _$zod_v4_core0.$strip>>;
|
|
5264
|
-
|
|
4755
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
5265
4756
|
fullName: _$zod.ZodString;
|
|
5266
4757
|
originalName: _$zod.ZodString;
|
|
5267
4758
|
serverName: _$zod.ZodString;
|
|
5268
4759
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5269
4760
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
5270
4761
|
exposureMode: _$zod.ZodEnum<{
|
|
4762
|
+
hidden: "hidden";
|
|
5271
4763
|
direct: "direct";
|
|
5272
4764
|
discovery: "discovery";
|
|
4765
|
+
}>;
|
|
4766
|
+
enabled: _$zod.ZodBoolean;
|
|
4767
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
4768
|
+
discovery: "discovery";
|
|
4769
|
+
toolset: "toolset";
|
|
4770
|
+
}>>;
|
|
4771
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
4772
|
+
exposed: _$zod.ZodBoolean;
|
|
4773
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4774
|
+
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4775
|
+
fullName: _$zod.ZodString;
|
|
4776
|
+
originalName: _$zod.ZodString;
|
|
4777
|
+
serverName: _$zod.ZodString;
|
|
4778
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4779
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
4780
|
+
exposureMode: _$zod.ZodEnum<{
|
|
5273
4781
|
hidden: "hidden";
|
|
4782
|
+
direct: "direct";
|
|
4783
|
+
discovery: "discovery";
|
|
5274
4784
|
}>;
|
|
5275
4785
|
enabled: _$zod.ZodBoolean;
|
|
5276
4786
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -5282,6 +4792,7 @@ declare const AgentResolutionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5282
4792
|
}, _$zod_v4_core0.$strip>>;
|
|
5283
4793
|
}, _$zod_v4_core0.$strip>>;
|
|
5284
4794
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
4795
|
+
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
5285
4796
|
}, _$zod_v4_core0.$loose>;
|
|
5286
4797
|
context: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
5287
4798
|
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -5325,9 +4836,9 @@ declare const AgentResolutionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5325
4836
|
directTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
5326
4837
|
discoveryTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
5327
4838
|
toolExposure: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
4839
|
+
hidden: "hidden";
|
|
5328
4840
|
direct: "direct";
|
|
5329
4841
|
discovery: "discovery";
|
|
5330
|
-
hidden: "hidden";
|
|
5331
4842
|
}>>>;
|
|
5332
4843
|
}, _$zod_v4_core0.$strip>>;
|
|
5333
4844
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -11068,6 +10579,10 @@ declare const WorkflowStationNodeSchema: z.ZodObject<{
|
|
|
11068
10579
|
role: z.ZodOptional<z.ZodString>;
|
|
11069
10580
|
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
11070
10581
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
10582
|
+
completion: z.ZodOptional<z.ZodEnum<{
|
|
10583
|
+
tool: "tool";
|
|
10584
|
+
turn: "turn";
|
|
10585
|
+
}>>;
|
|
11071
10586
|
}, z.core.$strip>;
|
|
11072
10587
|
type WorkflowStationNode = z.infer<typeof WorkflowStationNodeSchema>;
|
|
11073
10588
|
/**
|
|
@@ -11120,6 +10635,10 @@ declare const WorkflowDelegateRoleNodeSchema: z.ZodObject<{
|
|
|
11120
10635
|
prompt: z.ZodString;
|
|
11121
10636
|
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
11122
10637
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
10638
|
+
completion: z.ZodOptional<z.ZodEnum<{
|
|
10639
|
+
tool: "tool";
|
|
10640
|
+
turn: "turn";
|
|
10641
|
+
}>>;
|
|
11123
10642
|
}, z.core.$strip>;
|
|
11124
10643
|
type WorkflowDelegateRoleNode = z.infer<typeof WorkflowDelegateRoleNodeSchema>;
|
|
11125
10644
|
/**
|
|
@@ -11482,8 +11001,8 @@ declare const ExecutionStatusSchema: z.ZodEnum<{
|
|
|
11482
11001
|
completed: "completed";
|
|
11483
11002
|
cancelled: "cancelled";
|
|
11484
11003
|
failed: "failed";
|
|
11485
|
-
paused: "paused";
|
|
11486
11004
|
running: "running";
|
|
11005
|
+
paused: "paused";
|
|
11487
11006
|
}>;
|
|
11488
11007
|
type ExecutionStatus = z.infer<typeof ExecutionStatusSchema>;
|
|
11489
11008
|
/**
|
|
@@ -11498,8 +11017,8 @@ declare const WorkflowExecutionSchema: z.ZodObject<{
|
|
|
11498
11017
|
completed: "completed";
|
|
11499
11018
|
cancelled: "cancelled";
|
|
11500
11019
|
failed: "failed";
|
|
11501
|
-
paused: "paused";
|
|
11502
11020
|
running: "running";
|
|
11021
|
+
paused: "paused";
|
|
11503
11022
|
}>;
|
|
11504
11023
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
11505
11024
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -11642,6 +11161,10 @@ declare const WorkflowResolvedRoleSchema: z.ZodObject<{
|
|
|
11642
11161
|
credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
11643
11162
|
ambientCredentialEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11644
11163
|
}, z.core.$strip>>;
|
|
11164
|
+
completion: z.ZodOptional<z.ZodEnum<{
|
|
11165
|
+
tool: "tool";
|
|
11166
|
+
turn: "turn";
|
|
11167
|
+
}>>;
|
|
11645
11168
|
}, z.core.$strip>;
|
|
11646
11169
|
type WorkflowResolvedRole = z.infer<typeof WorkflowResolvedRoleSchema>;
|
|
11647
11170
|
/**
|
|
@@ -11679,6 +11202,10 @@ declare const WorkflowResolvedAgentSchema: z.ZodObject<{
|
|
|
11679
11202
|
credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
11680
11203
|
ambientCredentialEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11681
11204
|
}, z.core.$strip>>;
|
|
11205
|
+
completion: z.ZodOptional<z.ZodEnum<{
|
|
11206
|
+
tool: "tool";
|
|
11207
|
+
turn: "turn";
|
|
11208
|
+
}>>;
|
|
11682
11209
|
}, z.core.$strip>;
|
|
11683
11210
|
type WorkflowResolvedAgent = WorkflowResolvedRole;
|
|
11684
11211
|
/**
|
|
@@ -11744,8 +11271,8 @@ declare const ExecutionListQuerySchema: z.ZodObject<{
|
|
|
11744
11271
|
completed: "completed";
|
|
11745
11272
|
cancelled: "cancelled";
|
|
11746
11273
|
failed: "failed";
|
|
11747
|
-
paused: "paused";
|
|
11748
11274
|
running: "running";
|
|
11275
|
+
paused: "paused";
|
|
11749
11276
|
}>>;
|
|
11750
11277
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
11751
11278
|
kind: z.ZodString;
|
|
@@ -11973,6 +11500,10 @@ declare const StepRunConfigSchema: z.ZodObject<{
|
|
|
11973
11500
|
role: z.ZodOptional<z.ZodString>;
|
|
11974
11501
|
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
11975
11502
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
11503
|
+
completion: z.ZodOptional<z.ZodEnum<{
|
|
11504
|
+
tool: "tool";
|
|
11505
|
+
turn: "turn";
|
|
11506
|
+
}>>;
|
|
11976
11507
|
}, z.core.$strip>;
|
|
11977
11508
|
resolvedInputs: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
11978
11509
|
busUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -13037,8 +12568,8 @@ declare const WorkflowSchemas: {
|
|
|
13037
12568
|
completed: "completed";
|
|
13038
12569
|
cancelled: "cancelled";
|
|
13039
12570
|
failed: "failed";
|
|
13040
|
-
paused: "paused";
|
|
13041
12571
|
running: "running";
|
|
12572
|
+
paused: "paused";
|
|
13042
12573
|
}>;
|
|
13043
12574
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
13044
12575
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -13094,8 +12625,8 @@ declare const WorkflowSchemas: {
|
|
|
13094
12625
|
completed: "completed";
|
|
13095
12626
|
cancelled: "cancelled";
|
|
13096
12627
|
failed: "failed";
|
|
13097
|
-
paused: "paused";
|
|
13098
12628
|
running: "running";
|
|
12629
|
+
paused: "paused";
|
|
13099
12630
|
}>>;
|
|
13100
12631
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
13101
12632
|
kind: z.ZodString;
|
|
@@ -13117,8 +12648,8 @@ declare const WorkflowSchemas: {
|
|
|
13117
12648
|
completed: "completed";
|
|
13118
12649
|
cancelled: "cancelled";
|
|
13119
12650
|
failed: "failed";
|
|
13120
|
-
paused: "paused";
|
|
13121
12651
|
running: "running";
|
|
12652
|
+
paused: "paused";
|
|
13122
12653
|
}>;
|
|
13123
12654
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
13124
12655
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -13407,6 +12938,10 @@ declare const WorkflowSchemas: {
|
|
|
13407
12938
|
credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
13408
12939
|
ambientCredentialEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13409
12940
|
}, z.core.$strip>>;
|
|
12941
|
+
completion: z.ZodOptional<z.ZodEnum<{
|
|
12942
|
+
tool: "tool";
|
|
12943
|
+
turn: "turn";
|
|
12944
|
+
}>>;
|
|
13410
12945
|
}, z.core.$strip>;
|
|
13411
12946
|
};
|
|
13412
12947
|
/**
|
|
@@ -13444,6 +12979,10 @@ declare const WorkflowSchemas: {
|
|
|
13444
12979
|
credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
13445
12980
|
ambientCredentialEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13446
12981
|
}, z.core.$strip>>;
|
|
12982
|
+
completion: z.ZodOptional<z.ZodEnum<{
|
|
12983
|
+
tool: "tool";
|
|
12984
|
+
turn: "turn";
|
|
12985
|
+
}>>;
|
|
13447
12986
|
}, z.core.$strip>;
|
|
13448
12987
|
};
|
|
13449
12988
|
/**
|
|
@@ -14001,8 +13540,8 @@ declare const WorkflowSchemas: {
|
|
|
14001
13540
|
completed: "completed";
|
|
14002
13541
|
cancelled: "cancelled";
|
|
14003
13542
|
failed: "failed";
|
|
14004
|
-
paused: "paused";
|
|
14005
13543
|
running: "running";
|
|
13544
|
+
paused: "paused";
|
|
14006
13545
|
}>;
|
|
14007
13546
|
startedAt: z.ZodNumber;
|
|
14008
13547
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -14029,8 +13568,8 @@ declare const WorkflowSchemas: {
|
|
|
14029
13568
|
completed: "completed";
|
|
14030
13569
|
cancelled: "cancelled";
|
|
14031
13570
|
failed: "failed";
|
|
14032
|
-
paused: "paused";
|
|
14033
13571
|
running: "running";
|
|
13572
|
+
paused: "paused";
|
|
14034
13573
|
}>>;
|
|
14035
13574
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
14036
13575
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
@@ -14045,8 +13584,8 @@ declare const WorkflowSchemas: {
|
|
|
14045
13584
|
completed: "completed";
|
|
14046
13585
|
cancelled: "cancelled";
|
|
14047
13586
|
failed: "failed";
|
|
14048
|
-
paused: "paused";
|
|
14049
13587
|
running: "running";
|
|
13588
|
+
paused: "paused";
|
|
14050
13589
|
}>;
|
|
14051
13590
|
startedAt: z.ZodNumber;
|
|
14052
13591
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -14756,8 +14295,8 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
|
|
|
14756
14295
|
completed: "completed";
|
|
14757
14296
|
cancelled: "cancelled";
|
|
14758
14297
|
failed: "failed";
|
|
14759
|
-
paused: "paused";
|
|
14760
14298
|
running: "running";
|
|
14299
|
+
paused: "paused";
|
|
14761
14300
|
}>;
|
|
14762
14301
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
14763
14302
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -14813,8 +14352,8 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
|
|
|
14813
14352
|
completed: "completed";
|
|
14814
14353
|
cancelled: "cancelled";
|
|
14815
14354
|
failed: "failed";
|
|
14816
|
-
paused: "paused";
|
|
14817
14355
|
running: "running";
|
|
14356
|
+
paused: "paused";
|
|
14818
14357
|
}>>;
|
|
14819
14358
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
14820
14359
|
kind: z.ZodString;
|
|
@@ -14836,8 +14375,8 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
|
|
|
14836
14375
|
completed: "completed";
|
|
14837
14376
|
cancelled: "cancelled";
|
|
14838
14377
|
failed: "failed";
|
|
14839
|
-
paused: "paused";
|
|
14840
14378
|
running: "running";
|
|
14379
|
+
paused: "paused";
|
|
14841
14380
|
}>;
|
|
14842
14381
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
14843
14382
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -15126,6 +14665,10 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
|
|
|
15126
14665
|
credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
15127
14666
|
ambientCredentialEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15128
14667
|
}, z.core.$strip>>;
|
|
14668
|
+
completion: z.ZodOptional<z.ZodEnum<{
|
|
14669
|
+
tool: "tool";
|
|
14670
|
+
turn: "turn";
|
|
14671
|
+
}>>;
|
|
15129
14672
|
}, z.core.$strip>;
|
|
15130
14673
|
};
|
|
15131
14674
|
/**
|
|
@@ -15163,6 +14706,10 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
|
|
|
15163
14706
|
credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
15164
14707
|
ambientCredentialEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15165
14708
|
}, z.core.$strip>>;
|
|
14709
|
+
completion: z.ZodOptional<z.ZodEnum<{
|
|
14710
|
+
tool: "tool";
|
|
14711
|
+
turn: "turn";
|
|
14712
|
+
}>>;
|
|
15166
14713
|
}, z.core.$strip>;
|
|
15167
14714
|
};
|
|
15168
14715
|
/**
|
|
@@ -15720,8 +15267,8 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
|
|
|
15720
15267
|
completed: "completed";
|
|
15721
15268
|
cancelled: "cancelled";
|
|
15722
15269
|
failed: "failed";
|
|
15723
|
-
paused: "paused";
|
|
15724
15270
|
running: "running";
|
|
15271
|
+
paused: "paused";
|
|
15725
15272
|
}>;
|
|
15726
15273
|
startedAt: z.ZodNumber;
|
|
15727
15274
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15748,8 +15295,8 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
|
|
|
15748
15295
|
completed: "completed";
|
|
15749
15296
|
cancelled: "cancelled";
|
|
15750
15297
|
failed: "failed";
|
|
15751
|
-
paused: "paused";
|
|
15752
15298
|
running: "running";
|
|
15299
|
+
paused: "paused";
|
|
15753
15300
|
}>>;
|
|
15754
15301
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
15755
15302
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15764,8 +15311,8 @@ declare const WorkflowNamespace: _$_makaio_core0.BusNamespaceDefinition<"workflo
|
|
|
15764
15311
|
completed: "completed";
|
|
15765
15312
|
cancelled: "cancelled";
|
|
15766
15313
|
failed: "failed";
|
|
15767
|
-
paused: "paused";
|
|
15768
15314
|
running: "running";
|
|
15315
|
+
paused: "paused";
|
|
15769
15316
|
}>;
|
|
15770
15317
|
startedAt: z.ZodNumber;
|
|
15771
15318
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -16475,8 +16022,8 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
16475
16022
|
completed: "completed";
|
|
16476
16023
|
cancelled: "cancelled";
|
|
16477
16024
|
failed: "failed";
|
|
16478
|
-
paused: "paused";
|
|
16479
16025
|
running: "running";
|
|
16026
|
+
paused: "paused";
|
|
16480
16027
|
}>;
|
|
16481
16028
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
16482
16029
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -16532,8 +16079,8 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
16532
16079
|
completed: "completed";
|
|
16533
16080
|
cancelled: "cancelled";
|
|
16534
16081
|
failed: "failed";
|
|
16535
|
-
paused: "paused";
|
|
16536
16082
|
running: "running";
|
|
16083
|
+
paused: "paused";
|
|
16537
16084
|
}>>;
|
|
16538
16085
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
16539
16086
|
kind: z.ZodString;
|
|
@@ -16555,8 +16102,8 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
16555
16102
|
completed: "completed";
|
|
16556
16103
|
cancelled: "cancelled";
|
|
16557
16104
|
failed: "failed";
|
|
16558
|
-
paused: "paused";
|
|
16559
16105
|
running: "running";
|
|
16106
|
+
paused: "paused";
|
|
16560
16107
|
}>;
|
|
16561
16108
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
16562
16109
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -16845,6 +16392,10 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
16845
16392
|
credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16846
16393
|
ambientCredentialEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16847
16394
|
}, z.core.$strip>>;
|
|
16395
|
+
completion: z.ZodOptional<z.ZodEnum<{
|
|
16396
|
+
tool: "tool";
|
|
16397
|
+
turn: "turn";
|
|
16398
|
+
}>>;
|
|
16848
16399
|
}, z.core.$strip>;
|
|
16849
16400
|
};
|
|
16850
16401
|
/**
|
|
@@ -16882,6 +16433,10 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
16882
16433
|
credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16883
16434
|
ambientCredentialEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16884
16435
|
}, z.core.$strip>>;
|
|
16436
|
+
completion: z.ZodOptional<z.ZodEnum<{
|
|
16437
|
+
tool: "tool";
|
|
16438
|
+
turn: "turn";
|
|
16439
|
+
}>>;
|
|
16885
16440
|
}, z.core.$strip>;
|
|
16886
16441
|
};
|
|
16887
16442
|
/**
|
|
@@ -17439,8 +16994,8 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
17439
16994
|
completed: "completed";
|
|
17440
16995
|
cancelled: "cancelled";
|
|
17441
16996
|
failed: "failed";
|
|
17442
|
-
paused: "paused";
|
|
17443
16997
|
running: "running";
|
|
16998
|
+
paused: "paused";
|
|
17444
16999
|
}>;
|
|
17445
17000
|
startedAt: z.ZodNumber;
|
|
17446
17001
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -17467,8 +17022,8 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
17467
17022
|
completed: "completed";
|
|
17468
17023
|
cancelled: "cancelled";
|
|
17469
17024
|
failed: "failed";
|
|
17470
|
-
paused: "paused";
|
|
17471
17025
|
running: "running";
|
|
17026
|
+
paused: "paused";
|
|
17472
17027
|
}>>;
|
|
17473
17028
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
17474
17029
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
@@ -17483,8 +17038,8 @@ declare const WorkflowSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
17483
17038
|
completed: "completed";
|
|
17484
17039
|
cancelled: "cancelled";
|
|
17485
17040
|
failed: "failed";
|
|
17486
|
-
paused: "paused";
|
|
17487
17041
|
running: "running";
|
|
17042
|
+
paused: "paused";
|
|
17488
17043
|
}>;
|
|
17489
17044
|
startedAt: z.ZodNumber;
|
|
17490
17045
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -18294,8 +17849,8 @@ declare const WorkLogExecutionSummarySchema: z.ZodObject<{
|
|
|
18294
17849
|
completed: "completed";
|
|
18295
17850
|
cancelled: "cancelled";
|
|
18296
17851
|
failed: "failed";
|
|
18297
|
-
paused: "paused";
|
|
18298
17852
|
running: "running";
|
|
17853
|
+
paused: "paused";
|
|
18299
17854
|
}>;
|
|
18300
17855
|
startedAt: z.ZodNumber;
|
|
18301
17856
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -18452,266 +18007,593 @@ declare const WorkLogDynamicNodeMaterializationSchema: z.ZodObject<{
|
|
|
18452
18007
|
}, z.core.$strip>;
|
|
18453
18008
|
type WorkLogDynamicNodeMaterialization = z.infer<typeof WorkLogDynamicNodeMaterializationSchema>;
|
|
18454
18009
|
//#endregion
|
|
18455
|
-
//#region core/contracts/src/
|
|
18010
|
+
//#region core/contracts/src/subagent/schemas.d.ts
|
|
18456
18011
|
/**
|
|
18457
|
-
*
|
|
18458
|
-
*
|
|
18459
|
-
* -
|
|
18460
|
-
* - `set` — replace the current data entirely with the patch
|
|
18461
|
-
* - `append` — for array-typed fields in the patch, append items instead of replacing
|
|
18012
|
+
* Context mode for subagent spawning.
|
|
18013
|
+
* - fork: Inherit parent's conversation history
|
|
18014
|
+
* - fresh: Start with clean context
|
|
18462
18015
|
*/
|
|
18463
|
-
|
|
18016
|
+
declare const ContextModeSchema: z.ZodEnum<{
|
|
18017
|
+
fork: "fork";
|
|
18018
|
+
fresh: "fresh";
|
|
18019
|
+
}>;
|
|
18020
|
+
type ContextMode = z.infer<typeof ContextModeSchema>;
|
|
18464
18021
|
/**
|
|
18465
|
-
*
|
|
18466
|
-
*
|
|
18467
|
-
*
|
|
18468
|
-
*
|
|
18469
|
-
*
|
|
18022
|
+
* Subagent status enum.
|
|
18023
|
+
* - spawning: Session creation in progress (set by spawn tool)
|
|
18024
|
+
* - running: Session created, agent executing (set by SubagentService)
|
|
18025
|
+
* - waiting_input: Blocked on request_input
|
|
18026
|
+
* - hung: No activity within inactivity timeout (non-terminal; coordinator decides action)
|
|
18027
|
+
* - completed/failed/cancelled: Terminal states
|
|
18470
18028
|
*/
|
|
18471
|
-
|
|
18472
|
-
|
|
18473
|
-
|
|
18474
|
-
|
|
18475
|
-
|
|
18476
|
-
|
|
18029
|
+
declare const SubagentStatusSchema: z.ZodEnum<{
|
|
18030
|
+
completed: "completed";
|
|
18031
|
+
cancelled: "cancelled";
|
|
18032
|
+
failed: "failed";
|
|
18033
|
+
spawning: "spawning";
|
|
18034
|
+
running: "running";
|
|
18035
|
+
waiting_input: "waiting_input";
|
|
18036
|
+
hung: "hung";
|
|
18037
|
+
}>;
|
|
18038
|
+
type SubagentStatus = z.infer<typeof SubagentStatusSchema>;
|
|
18477
18039
|
/**
|
|
18478
|
-
*
|
|
18040
|
+
* Completion mode for a spawned subagent.
|
|
18479
18041
|
*
|
|
18480
|
-
*
|
|
18481
|
-
*
|
|
18482
|
-
*
|
|
18483
|
-
*
|
|
18484
|
-
*
|
|
18485
|
-
*
|
|
18042
|
+
* - `'tool'` — the child must call `completeTask` to terminate (default, existing semantics).
|
|
18043
|
+
* - `'turn'` — the first completed agent turn terminalizes the subagent with the final
|
|
18044
|
+
* assistant message as its result. Use this for single-shot subagents that produce prose
|
|
18045
|
+
* or structured output without needing to call a completion tool.
|
|
18046
|
+
*
|
|
18047
|
+
* Conceptual note: subagents are conversations, not one-shot calls — the parent can send
|
|
18048
|
+
* follow-ups and the child can ask questions. "The agent stopped talking" does not generally
|
|
18049
|
+
* mean "the task is done", which is why `'tool'` is the default. Declare `'turn'` only when
|
|
18050
|
+
* the subagent's first response IS the result.
|
|
18486
18051
|
*/
|
|
18487
|
-
|
|
18052
|
+
declare const CompletionModeSchema: z.ZodEnum<{
|
|
18053
|
+
tool: "tool";
|
|
18054
|
+
turn: "turn";
|
|
18055
|
+
}>;
|
|
18056
|
+
type CompletionMode = z.infer<typeof CompletionModeSchema>;
|
|
18488
18057
|
/**
|
|
18489
|
-
*
|
|
18490
|
-
*
|
|
18491
|
-
* Provides a read-only snapshot of the current artifact data and the two
|
|
18492
|
-
* mutation methods — `updateArtifact` and `updateStatus` — that write new
|
|
18493
|
-
* revisions through the generic artifact bus.
|
|
18494
|
-
*
|
|
18495
|
-
* Present only when the workflow declares an artifact binding via `.artifact()`.
|
|
18496
|
-
* @typeParam TData - Artifact data shape for this workflow's binding.
|
|
18058
|
+
* Configuration for spawning a subagent.
|
|
18497
18059
|
*/
|
|
18498
|
-
|
|
18499
|
-
|
|
18500
|
-
|
|
18501
|
-
|
|
18502
|
-
|
|
18503
|
-
|
|
18504
|
-
|
|
18505
|
-
|
|
18506
|
-
|
|
18507
|
-
|
|
18508
|
-
|
|
18509
|
-
|
|
18510
|
-
|
|
18511
|
-
|
|
18512
|
-
|
|
18513
|
-
|
|
18514
|
-
|
|
18515
|
-
|
|
18516
|
-
|
|
18517
|
-
|
|
18518
|
-
|
|
18519
|
-
|
|
18520
|
-
|
|
18521
|
-
|
|
18522
|
-
|
|
18523
|
-
|
|
18524
|
-
|
|
18525
|
-
|
|
18526
|
-
|
|
18527
|
-
|
|
18528
|
-
|
|
18529
|
-
|
|
18530
|
-
|
|
18531
|
-
|
|
18532
|
-
|
|
18533
|
-
|
|
18534
|
-
|
|
18060
|
+
declare const SubagentConfigSchema: z.ZodObject<{
|
|
18061
|
+
task: z.ZodString;
|
|
18062
|
+
adapterName: z.ZodOptional<z.ZodString>;
|
|
18063
|
+
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
18064
|
+
providerContext: z.ZodOptional<z.ZodObject<{
|
|
18065
|
+
providerConfigId: z.ZodString;
|
|
18066
|
+
definitionId: z.ZodString;
|
|
18067
|
+
endpointOverrides: z.ZodOptional<z.ZodObject<{
|
|
18068
|
+
anthropic: z.ZodOptional<z.ZodString>;
|
|
18069
|
+
openai: z.ZodOptional<z.ZodString>;
|
|
18070
|
+
}, z.core.$strip>>;
|
|
18071
|
+
credentialRefs: z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>;
|
|
18072
|
+
credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18073
|
+
ambientCredentialEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18074
|
+
}, z.core.$strip>>;
|
|
18075
|
+
harnessId: z.ZodOptional<z.ZodString>;
|
|
18076
|
+
model: z.ZodOptional<z.ZodString>;
|
|
18077
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
18078
|
+
none: "none";
|
|
18079
|
+
low: "low";
|
|
18080
|
+
medium: "medium";
|
|
18081
|
+
high: "high";
|
|
18082
|
+
"extra-high": "extra-high";
|
|
18083
|
+
}>>;
|
|
18084
|
+
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
18085
|
+
fork: "fork";
|
|
18086
|
+
fresh: "fresh";
|
|
18087
|
+
}>>;
|
|
18088
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18089
|
+
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18090
|
+
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18091
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
18092
|
+
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
18093
|
+
responseSchema: z.ZodOptional<z.ZodObject<{
|
|
18094
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
18095
|
+
name: z.ZodOptional<z.ZodString>;
|
|
18096
|
+
strict: z.ZodOptional<z.ZodBoolean>;
|
|
18097
|
+
}, z.core.$strict>>;
|
|
18098
|
+
executionTargetId: z.ZodOptional<z.ZodString>;
|
|
18099
|
+
completion: z.ZodOptional<z.ZodEnum<{
|
|
18100
|
+
tool: "tool";
|
|
18101
|
+
turn: "turn";
|
|
18102
|
+
}>>;
|
|
18103
|
+
}, z.core.$strip>;
|
|
18104
|
+
type SubagentConfig = z.infer<typeof SubagentConfigSchema>;
|
|
18535
18105
|
/**
|
|
18536
|
-
* Platform
|
|
18537
|
-
* and {@link StepContext}.
|
|
18538
|
-
*
|
|
18539
|
-
* Separating these base fields from the trigger field allows {@link StepContext}
|
|
18540
|
-
* to narrow `trigger` to the concrete payload type while re-using all other fields.
|
|
18106
|
+
* Platform-level constraints for subagent spawning.
|
|
18541
18107
|
*/
|
|
18542
|
-
|
|
18543
|
-
|
|
18544
|
-
|
|
18545
|
-
|
|
18546
|
-
|
|
18547
|
-
|
|
18548
|
-
|
|
18549
|
-
|
|
18550
|
-
|
|
18551
|
-
|
|
18552
|
-
|
|
18553
|
-
|
|
18554
|
-
|
|
18555
|
-
/** Bound workflow configuration values for this execution. */
|
|
18556
|
-
readonly config: Record<string, unknown>;
|
|
18557
|
-
/** Extra environment variables injected into the worker process. */
|
|
18558
|
-
readonly env: Record<string, string>;
|
|
18559
|
-
/** Unique execution identifier. */
|
|
18560
|
-
readonly executionId: string;
|
|
18561
|
-
/** Workflow definition identifier. */
|
|
18562
|
-
readonly workflowId: string;
|
|
18563
|
-
}
|
|
18108
|
+
declare const SubagentConstraintsSchema: z.ZodObject<{
|
|
18109
|
+
maxDepth: z.ZodDefault<z.ZodNumber>;
|
|
18110
|
+
maxConcurrentPerSession: z.ZodDefault<z.ZodNumber>;
|
|
18111
|
+
maxTotalActive: z.ZodDefault<z.ZodNumber>;
|
|
18112
|
+
defaultRequestTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
18113
|
+
defaultAwaitTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
18114
|
+
stateRetentionMs: z.ZodDefault<z.ZodNumber>;
|
|
18115
|
+
inactivityTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
18116
|
+
sweepIntervalMs: z.ZodDefault<z.ZodNumber>;
|
|
18117
|
+
allowedAdapters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
18118
|
+
allowedModels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
18119
|
+
}, z.core.$strip>;
|
|
18120
|
+
type SubagentConstraints = z.infer<typeof SubagentConstraintsSchema>;
|
|
18564
18121
|
/**
|
|
18565
|
-
*
|
|
18566
|
-
*
|
|
18567
|
-
* These fields are populated from the coordinator context at dispatch time.
|
|
18122
|
+
* Default runtime constraints (derived from schema defaults to avoid duplication).
|
|
18568
18123
|
*/
|
|
18569
|
-
|
|
18570
|
-
|
|
18571
|
-
|
|
18572
|
-
|
|
18124
|
+
declare const DEFAULT_CONSTRAINTS: SubagentConstraints;
|
|
18125
|
+
declare const PendingRequestSchema: z.ZodObject<{
|
|
18126
|
+
messageId: z.ZodString;
|
|
18127
|
+
question: z.ZodString;
|
|
18128
|
+
context: z.ZodOptional<z.ZodString>;
|
|
18129
|
+
}, z.core.$strip>;
|
|
18130
|
+
type PendingRequest = z.infer<typeof PendingRequestSchema>;
|
|
18131
|
+
declare const ExecuteSubagentResponseSchema: z.ZodObject<{
|
|
18132
|
+
success: z.ZodBoolean;
|
|
18133
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
18134
|
+
error: z.ZodOptional<z.ZodString>;
|
|
18135
|
+
}, z.core.$strip>;
|
|
18136
|
+
type ExecuteSubagentResponse = z.infer<typeof ExecuteSubagentResponseSchema>;
|
|
18573
18137
|
/**
|
|
18574
|
-
*
|
|
18575
|
-
*
|
|
18576
|
-
* Predecessors can be completed or skipped. Both remain visible so downstream
|
|
18577
|
-
* functions can branch on the terminal status of every declared predecessor.
|
|
18578
|
-
* @typeParam TOutput - The station's inferred output type
|
|
18138
|
+
* Subagent execution failed during startup.
|
|
18579
18139
|
*/
|
|
18580
|
-
|
|
18581
|
-
|
|
18582
|
-
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
|
|
18586
|
-
|
|
18140
|
+
declare const SubagentExecutionFailedSchema: z.ZodObject<{
|
|
18141
|
+
subagentId: z.ZodString;
|
|
18142
|
+
parentSessionId: z.ZodString;
|
|
18143
|
+
error: z.ZodString;
|
|
18144
|
+
phase: z.ZodEnum<{
|
|
18145
|
+
session_create: "session_create";
|
|
18146
|
+
adapter_start: "adapter_start";
|
|
18147
|
+
agent_start: "agent_start";
|
|
18148
|
+
}>;
|
|
18149
|
+
}, z.core.$strip>;
|
|
18150
|
+
type SubagentExecutionFailed = z.infer<typeof SubagentExecutionFailedSchema>;
|
|
18587
18151
|
/**
|
|
18588
|
-
*
|
|
18589
|
-
*
|
|
18590
|
-
* Extends {@link WorkflowContextBase} with a typed `trigger` field and the
|
|
18591
|
-
* `previousSteps` map.
|
|
18592
|
-
* @typeParam TTrigger - The trigger payload type
|
|
18593
|
-
* @typeParam TPreviousSteps - Map of completed predecessor station outputs
|
|
18594
|
-
* @typeParam TArtifactData - Artifact data shape; defaults to `Record<string, unknown>`
|
|
18595
|
-
* when no artifact binding is declared
|
|
18596
|
-
* @typeParam TBus - Runtime bus type supplied by the host runtime; defaults to
|
|
18597
|
-
* `unknown` so the contracts package stays free of any bus implementation dependency.
|
|
18598
|
-
* Bind to `IMakaioBus` (from `@makaio/bus-core`) in host layers that need full bus
|
|
18599
|
-
* authoring surface access inside station handlers.
|
|
18152
|
+
* Spawn RPC - replaces tool calling manager.track().
|
|
18153
|
+
* Service validates constraints, tracks subagent, emits spawned event.
|
|
18600
18154
|
*/
|
|
18601
|
-
|
|
18602
|
-
|
|
18603
|
-
|
|
18604
|
-
|
|
18605
|
-
|
|
18606
|
-
|
|
18607
|
-
|
|
18608
|
-
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
|
|
18617
|
-
|
|
18618
|
-
|
|
18619
|
-
|
|
18620
|
-
|
|
18621
|
-
|
|
18622
|
-
|
|
18623
|
-
|
|
18624
|
-
|
|
18625
|
-
|
|
18626
|
-
|
|
18627
|
-
|
|
18628
|
-
|
|
18629
|
-
|
|
18630
|
-
|
|
18631
|
-
|
|
18632
|
-
|
|
18633
|
-
|
|
18634
|
-
|
|
18635
|
-
|
|
18636
|
-
|
|
18637
|
-
|
|
18638
|
-
|
|
18639
|
-
|
|
18640
|
-
|
|
18641
|
-
|
|
18642
|
-
|
|
18643
|
-
|
|
18155
|
+
declare const SpawnSubagentRpcRequestSchema: z.ZodObject<{
|
|
18156
|
+
parentSessionId: z.ZodString;
|
|
18157
|
+
config: z.ZodObject<{
|
|
18158
|
+
task: z.ZodString;
|
|
18159
|
+
adapterName: z.ZodOptional<z.ZodString>;
|
|
18160
|
+
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
18161
|
+
providerContext: z.ZodOptional<z.ZodObject<{
|
|
18162
|
+
providerConfigId: z.ZodString;
|
|
18163
|
+
definitionId: z.ZodString;
|
|
18164
|
+
endpointOverrides: z.ZodOptional<z.ZodObject<{
|
|
18165
|
+
anthropic: z.ZodOptional<z.ZodString>;
|
|
18166
|
+
openai: z.ZodOptional<z.ZodString>;
|
|
18167
|
+
}, z.core.$strip>>;
|
|
18168
|
+
credentialRefs: z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>;
|
|
18169
|
+
credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18170
|
+
ambientCredentialEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18171
|
+
}, z.core.$strip>>;
|
|
18172
|
+
harnessId: z.ZodOptional<z.ZodString>;
|
|
18173
|
+
model: z.ZodOptional<z.ZodString>;
|
|
18174
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
18175
|
+
none: "none";
|
|
18176
|
+
low: "low";
|
|
18177
|
+
medium: "medium";
|
|
18178
|
+
high: "high";
|
|
18179
|
+
"extra-high": "extra-high";
|
|
18180
|
+
}>>;
|
|
18181
|
+
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
18182
|
+
fork: "fork";
|
|
18183
|
+
fresh: "fresh";
|
|
18184
|
+
}>>;
|
|
18185
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18186
|
+
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18187
|
+
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18188
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
18189
|
+
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
18190
|
+
responseSchema: z.ZodOptional<z.ZodObject<{
|
|
18191
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
18192
|
+
name: z.ZodOptional<z.ZodString>;
|
|
18193
|
+
strict: z.ZodOptional<z.ZodBoolean>;
|
|
18194
|
+
}, z.core.$strict>>;
|
|
18195
|
+
executionTargetId: z.ZodOptional<z.ZodString>;
|
|
18196
|
+
completion: z.ZodOptional<z.ZodEnum<{
|
|
18197
|
+
tool: "tool";
|
|
18198
|
+
turn: "turn";
|
|
18199
|
+
}>>;
|
|
18200
|
+
}, z.core.$strip>;
|
|
18201
|
+
depth: z.ZodNumber;
|
|
18202
|
+
spawningToolCallId: z.ZodOptional<z.ZodString>;
|
|
18203
|
+
}, z.core.$strip>;
|
|
18204
|
+
type SpawnSubagentRpcRequest = z.infer<typeof SpawnSubagentRpcRequestSchema>;
|
|
18205
|
+
declare const SpawnSubagentRpcResponseSchema: z.ZodObject<{
|
|
18206
|
+
subagentId: z.ZodString;
|
|
18207
|
+
status: z.ZodLiteral<"spawning">;
|
|
18208
|
+
}, z.core.$strip>;
|
|
18209
|
+
type SpawnSubagentRpcResponse = z.infer<typeof SpawnSubagentRpcResponseSchema>;
|
|
18644
18210
|
/**
|
|
18645
|
-
*
|
|
18646
|
-
*
|
|
18647
|
-
*
|
|
18648
|
-
* Used in the fluent builder methods where trigger and dependency types are
|
|
18649
|
-
* not tracked at the builder call site.
|
|
18211
|
+
* Await RPC - replaces callback-based awaiter.
|
|
18212
|
+
* Blocks until subagent reaches terminal state or timeout.
|
|
18650
18213
|
*/
|
|
18651
|
-
|
|
18214
|
+
declare const AwaitSubagentRequestSchema: z.ZodObject<{
|
|
18215
|
+
subagentId: z.ZodString;
|
|
18216
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
18217
|
+
}, z.core.$strip>;
|
|
18218
|
+
type AwaitSubagentRequest = z.infer<typeof AwaitSubagentRequestSchema>;
|
|
18219
|
+
declare const AwaitSubagentResponseSchema: z.ZodObject<{
|
|
18220
|
+
status: z.ZodEnum<{
|
|
18221
|
+
completed: "completed";
|
|
18222
|
+
cancelled: "cancelled";
|
|
18223
|
+
failed: "failed";
|
|
18224
|
+
waiting_input: "waiting_input";
|
|
18225
|
+
timeout: "timeout";
|
|
18226
|
+
}>;
|
|
18227
|
+
result: z.ZodOptional<z.ZodString>;
|
|
18228
|
+
error: z.ZodOptional<z.ZodString>;
|
|
18229
|
+
pendingRequest: z.ZodOptional<z.ZodObject<{
|
|
18230
|
+
messageId: z.ZodString;
|
|
18231
|
+
question: z.ZodString;
|
|
18232
|
+
context: z.ZodOptional<z.ZodString>;
|
|
18233
|
+
}, z.core.$strip>>;
|
|
18234
|
+
completionSource: z.ZodOptional<z.ZodEnum<{
|
|
18235
|
+
tool: "tool";
|
|
18236
|
+
turn: "turn";
|
|
18237
|
+
}>>;
|
|
18238
|
+
}, z.core.$strip>;
|
|
18239
|
+
type AwaitSubagentResponse = z.infer<typeof AwaitSubagentResponseSchema>;
|
|
18652
18240
|
/**
|
|
18653
|
-
*
|
|
18654
|
-
* semantically used for `iterate` node bodies.
|
|
18241
|
+
* Send RPC - sends message to subagent, optionally resolving pending request.
|
|
18655
18242
|
*/
|
|
18656
|
-
|
|
18657
|
-
|
|
18658
|
-
|
|
18243
|
+
declare const SendToSubagentRequestSchema: z.ZodObject<{
|
|
18244
|
+
subagentId: z.ZodString;
|
|
18245
|
+
content: z.ZodString;
|
|
18246
|
+
inResponseTo: z.ZodOptional<z.ZodString>;
|
|
18247
|
+
}, z.core.$strip>;
|
|
18248
|
+
type SendToSubagentRequest = z.infer<typeof SendToSubagentRequestSchema>;
|
|
18249
|
+
declare const SendToSubagentResponseSchema: z.ZodObject<{
|
|
18250
|
+
sent: z.ZodBoolean;
|
|
18251
|
+
resolvedPending: z.ZodBoolean;
|
|
18252
|
+
}, z.core.$strip>;
|
|
18253
|
+
type SendToSubagentResponse = z.infer<typeof SendToSubagentResponseSchema>;
|
|
18659
18254
|
/**
|
|
18660
|
-
*
|
|
18661
|
-
*
|
|
18662
|
-
* Intentionally not an interface extending `WorkflowTrigger` because
|
|
18663
|
-
* `WorkflowTrigger` is a discriminated union — TypeScript does not permit
|
|
18664
|
-
* extending unions. Instead this type uses an intersection so the full trigger
|
|
18665
|
-
* shape is preserved while the phantom `__payload` field threads through.
|
|
18666
|
-
* @typeParam TPayload - The trigger event payload type
|
|
18255
|
+
* Kill RPC - terminates a running subagent.
|
|
18667
18256
|
*/
|
|
18668
|
-
|
|
18669
|
-
|
|
18670
|
-
|
|
18671
|
-
|
|
18672
|
-
|
|
18673
|
-
|
|
18674
|
-
|
|
18257
|
+
declare const KillSubagentRequestSchema: z.ZodObject<{
|
|
18258
|
+
subagentId: z.ZodString;
|
|
18259
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
18260
|
+
}, z.core.$strip>;
|
|
18261
|
+
type KillSubagentRequest = z.infer<typeof KillSubagentRequestSchema>;
|
|
18262
|
+
declare const KillSubagentResponseSchema: z.ZodObject<{
|
|
18263
|
+
killed: z.ZodBoolean;
|
|
18264
|
+
}, z.core.$strip>;
|
|
18265
|
+
type KillSubagentResponse = z.infer<typeof KillSubagentResponseSchema>;
|
|
18675
18266
|
/**
|
|
18676
|
-
*
|
|
18677
|
-
* @typeParam T - The typed trigger definition
|
|
18267
|
+
* Report Progress RPC - child reports progress update.
|
|
18678
18268
|
*/
|
|
18679
|
-
|
|
18269
|
+
declare const ReportProgressRequestSchema: z.ZodObject<{
|
|
18270
|
+
subagentId: z.ZodString;
|
|
18271
|
+
update: z.ZodString;
|
|
18272
|
+
percentComplete: z.ZodOptional<z.ZodNumber>;
|
|
18273
|
+
}, z.core.$strip>;
|
|
18274
|
+
type ReportProgressRequest = z.infer<typeof ReportProgressRequestSchema>;
|
|
18275
|
+
declare const ReportProgressResponseSchema: z.ZodObject<{
|
|
18276
|
+
reported: z.ZodBoolean;
|
|
18277
|
+
}, z.core.$strip>;
|
|
18278
|
+
type ReportProgressResponse = z.infer<typeof ReportProgressResponseSchema>;
|
|
18680
18279
|
/**
|
|
18681
|
-
*
|
|
18682
|
-
*
|
|
18280
|
+
* Request Input RPC - child requests input from parent.
|
|
18281
|
+
* Blocks until parent responds or timeout.
|
|
18683
18282
|
*/
|
|
18684
|
-
|
|
18283
|
+
declare const RequestInputRpcRequestSchema: z.ZodObject<{
|
|
18284
|
+
subagentId: z.ZodString;
|
|
18285
|
+
question: z.ZodString;
|
|
18286
|
+
context: z.ZodOptional<z.ZodString>;
|
|
18287
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
18288
|
+
}, z.core.$strip>;
|
|
18289
|
+
type RequestInputRpcRequest = z.infer<typeof RequestInputRpcRequestSchema>;
|
|
18290
|
+
declare const RequestInputRpcResponseSchema: z.ZodObject<{
|
|
18291
|
+
responded: z.ZodBoolean;
|
|
18292
|
+
response: z.ZodOptional<z.ZodString>;
|
|
18293
|
+
timedOut: z.ZodBoolean;
|
|
18294
|
+
}, z.core.$strip>;
|
|
18295
|
+
type RequestInputRpcResponse = z.infer<typeof RequestInputRpcResponseSchema>;
|
|
18685
18296
|
/**
|
|
18686
|
-
*
|
|
18687
|
-
* a matching message.
|
|
18688
|
-
* @param options - Trigger configuration options
|
|
18689
|
-
* @returns A typed workflow trigger definition
|
|
18690
|
-
* @example
|
|
18691
|
-
* ```typescript
|
|
18692
|
-
* const trigger = BusEventWorkflowTrigger({
|
|
18693
|
-
* subject: GitNamespace.subjects.checkout,
|
|
18694
|
-
* filter: { isNewWorktree: true },
|
|
18695
|
-
* });
|
|
18696
|
-
* ```
|
|
18297
|
+
* Complete Task RPC - child signals task completion.
|
|
18697
18298
|
*/
|
|
18698
|
-
declare
|
|
18699
|
-
|
|
18700
|
-
|
|
18701
|
-
|
|
18702
|
-
}
|
|
18703
|
-
|
|
18704
|
-
|
|
18299
|
+
declare const CompleteTaskRequestSchema: z.ZodObject<{
|
|
18300
|
+
subagentId: z.ZodString;
|
|
18301
|
+
result: z.ZodString;
|
|
18302
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
18303
|
+
}, z.core.$strip>;
|
|
18304
|
+
type CompleteTaskRequest = z.infer<typeof CompleteTaskRequestSchema>;
|
|
18305
|
+
declare const CompleteTaskResponseSchema: z.ZodObject<{
|
|
18306
|
+
completed: z.ZodBoolean;
|
|
18307
|
+
}, z.core.$strip>;
|
|
18308
|
+
type CompleteTaskResponse = z.infer<typeof CompleteTaskResponseSchema>;
|
|
18705
18309
|
/**
|
|
18706
|
-
*
|
|
18707
|
-
*
|
|
18310
|
+
* List subagents by parent session RPC.
|
|
18311
|
+
* Returns all non-terminal subagents spawned by the given parent session.
|
|
18312
|
+
*
|
|
18313
|
+
* Note: SubagentService tracks subagents in memory only. This list will be
|
|
18314
|
+
* empty after a process restart — subagents re-register as they report back.
|
|
18708
18315
|
*/
|
|
18709
|
-
declare
|
|
18316
|
+
declare const ListSubagentsBySessionRequestSchema: z.ZodObject<{
|
|
18317
|
+
parentSessionId: z.ZodString;
|
|
18318
|
+
}, z.core.$strip>;
|
|
18319
|
+
type ListSubagentsBySessionRequest = z.infer<typeof ListSubagentsBySessionRequestSchema>;
|
|
18320
|
+
declare const ListSubagentsBySessionResponseSchema: z.ZodObject<{
|
|
18321
|
+
subagents: z.ZodArray<z.ZodObject<{
|
|
18322
|
+
subagentId: z.ZodString;
|
|
18323
|
+
task: z.ZodString;
|
|
18324
|
+
status: z.ZodEnum<{
|
|
18325
|
+
completed: "completed";
|
|
18326
|
+
cancelled: "cancelled";
|
|
18327
|
+
failed: "failed";
|
|
18328
|
+
spawning: "spawning";
|
|
18329
|
+
running: "running";
|
|
18330
|
+
waiting_input: "waiting_input";
|
|
18331
|
+
hung: "hung";
|
|
18332
|
+
}>;
|
|
18333
|
+
}, z.core.$strip>>;
|
|
18334
|
+
}, z.core.$strip>;
|
|
18335
|
+
type ListSubagentsBySessionResponse = z.infer<typeof ListSubagentsBySessionResponseSchema>;
|
|
18336
|
+
//#endregion
|
|
18337
|
+
//#region core/contracts/src/workflow/authoring-context.d.ts
|
|
18710
18338
|
/**
|
|
18711
|
-
*
|
|
18339
|
+
* Declarative operations for {@link ArtifactContext.updateArtifact} patches.
|
|
18340
|
+
*
|
|
18341
|
+
* - `merge` — deep-merge the patch into the current data
|
|
18342
|
+
* - `set` — replace the current data entirely with the patch
|
|
18343
|
+
* - `append` — for array-typed fields in the patch, append items instead of replacing
|
|
18712
18344
|
*/
|
|
18713
|
-
|
|
18714
|
-
|
|
18345
|
+
type ArtifactUpdateOperation = 'merge' | 'set' | 'append';
|
|
18346
|
+
/**
|
|
18347
|
+
* Declarative patch descriptor for {@link ArtifactContext.updateArtifact}.
|
|
18348
|
+
*
|
|
18349
|
+
* When passed instead of a functional updater, `operation` controls how the
|
|
18350
|
+
* runtime merges `data` into the current artifact snapshot.
|
|
18351
|
+
* @typeParam TData - Artifact data shape for this workflow's binding.
|
|
18352
|
+
*/
|
|
18353
|
+
interface ArtifactPatch<TData extends Record<string, unknown>> {
|
|
18354
|
+
/** Declarative operation applied to the current data. */
|
|
18355
|
+
readonly operation: ArtifactUpdateOperation;
|
|
18356
|
+
/** Partial or full data payload to apply. */
|
|
18357
|
+
readonly data: Partial<TData>;
|
|
18358
|
+
}
|
|
18359
|
+
/**
|
|
18360
|
+
* Functional updater signature for {@link ArtifactContext.updateArtifact}.
|
|
18361
|
+
*
|
|
18362
|
+
* Receives the current artifact data snapshot and returns the full next state.
|
|
18363
|
+
* The runtime validates the returned value against the workflow's artifact
|
|
18364
|
+
* schema before writing a new revision.
|
|
18365
|
+
* @typeParam TData - Artifact data shape for this workflow's binding.
|
|
18366
|
+
* @param current - Read-only snapshot of the current artifact data.
|
|
18367
|
+
* @returns The full next artifact data payload.
|
|
18368
|
+
*/
|
|
18369
|
+
type ArtifactUpdater<TData extends Record<string, unknown>> = (current: Readonly<TData>) => TData | Promise<TData>;
|
|
18370
|
+
/**
|
|
18371
|
+
* Artifact access API exposed on {@link StepContext}.
|
|
18372
|
+
*
|
|
18373
|
+
* Provides a read-only snapshot of the current artifact data and the two
|
|
18374
|
+
* mutation methods — `updateArtifact` and `updateStatus` — that write new
|
|
18375
|
+
* revisions through the generic artifact bus.
|
|
18376
|
+
*
|
|
18377
|
+
* Present only when the workflow declares an artifact binding via `.artifact()`.
|
|
18378
|
+
* @typeParam TData - Artifact data shape for this workflow's binding.
|
|
18379
|
+
*/
|
|
18380
|
+
interface ArtifactContext<TData extends Record<string, unknown> = Record<string, unknown>> {
|
|
18381
|
+
/**
|
|
18382
|
+
* Read-only snapshot of the artifact data as it was at the start of the
|
|
18383
|
+
* current station execution.
|
|
18384
|
+
*
|
|
18385
|
+
* Mutations are not allowed directly on this object — use `updateArtifact`
|
|
18386
|
+
* or `updateStatus` to produce a new revision.
|
|
18387
|
+
*/
|
|
18388
|
+
readonly data: Readonly<TData>;
|
|
18389
|
+
/**
|
|
18390
|
+
* Write a new artifact revision using a declarative patch or a functional
|
|
18391
|
+
* updater.
|
|
18392
|
+
*
|
|
18393
|
+
* When a {@link ArtifactPatch} is supplied, the runtime applies the
|
|
18394
|
+
* declared `operation` to produce the next data payload. When an
|
|
18395
|
+
* {@link ArtifactUpdater} function is supplied, it receives the current
|
|
18396
|
+
* data snapshot and must return the full next state.
|
|
18397
|
+
*
|
|
18398
|
+
* Every call validates the next data against the workflow's declared artifact
|
|
18399
|
+
* schema and writes a new revision through the artifact bus before emitting
|
|
18400
|
+
* a `workflow.artifact.updated` event.
|
|
18401
|
+
* @param update - Declarative patch or functional updater.
|
|
18402
|
+
* @returns The revision identifier assigned by the artifact service.
|
|
18403
|
+
*/
|
|
18404
|
+
updateArtifact(update: ArtifactPatch<TData> | ArtifactUpdater<TData>): Promise<string>;
|
|
18405
|
+
/**
|
|
18406
|
+
* Convenience shorthand for updating the status field declared via
|
|
18407
|
+
* `statusPath` on the artifact binding.
|
|
18408
|
+
*
|
|
18409
|
+
* Equivalent to calling `updateArtifact` with a `set` patch targeting only
|
|
18410
|
+
* the status field. Throws if the workflow's artifact binding has no
|
|
18411
|
+
* `statusPath` configured.
|
|
18412
|
+
* @param value - The new status string value.
|
|
18413
|
+
* @returns The revision identifier assigned by the artifact service.
|
|
18414
|
+
*/
|
|
18415
|
+
updateStatus(value: string): Promise<string>;
|
|
18416
|
+
}
|
|
18417
|
+
/**
|
|
18418
|
+
* Platform and workspace context fields shared by both {@link WorkflowContext}
|
|
18419
|
+
* and {@link StepContext}.
|
|
18420
|
+
*
|
|
18421
|
+
* Separating these base fields from the trigger field allows {@link StepContext}
|
|
18422
|
+
* to narrow `trigger` to the concrete payload type while re-using all other fields.
|
|
18423
|
+
*/
|
|
18424
|
+
interface WorkflowContextBase {
|
|
18425
|
+
/** Absolute path to the active repository root. */
|
|
18426
|
+
readonly repoPath: string;
|
|
18427
|
+
/** Absolute path to the Makaio home directory. */
|
|
18428
|
+
readonly makaioHome: string;
|
|
18429
|
+
/** Host operating system. */
|
|
18430
|
+
readonly os: 'darwin' | 'linux' | 'win32';
|
|
18431
|
+
/** CPU architecture (e.g. `'arm64'`, `'x64'`). */
|
|
18432
|
+
readonly arch: string;
|
|
18433
|
+
/** Active git worktree path, if different from `repoPath`. */
|
|
18434
|
+
readonly worktree?: string;
|
|
18435
|
+
/** Bound input value for this execution. */
|
|
18436
|
+
readonly inputs: JsonValue;
|
|
18437
|
+
/** Bound workflow configuration values for this execution. */
|
|
18438
|
+
readonly config: Record<string, unknown>;
|
|
18439
|
+
/** Extra environment variables injected into the worker process. */
|
|
18440
|
+
readonly env: Record<string, string>;
|
|
18441
|
+
/** Unique execution identifier. */
|
|
18442
|
+
readonly executionId: string;
|
|
18443
|
+
/** Workflow definition identifier. */
|
|
18444
|
+
readonly workflowId: string;
|
|
18445
|
+
}
|
|
18446
|
+
/**
|
|
18447
|
+
* Platform and workspace context available to every workflow station function.
|
|
18448
|
+
*
|
|
18449
|
+
* These fields are populated from the coordinator context at dispatch time.
|
|
18450
|
+
*/
|
|
18451
|
+
interface WorkflowContext extends WorkflowContextBase {
|
|
18452
|
+
/** Payload from the trigger that started this execution. */
|
|
18453
|
+
readonly trigger: Record<string, unknown>;
|
|
18454
|
+
}
|
|
18455
|
+
/**
|
|
18456
|
+
* The shape of a declared predecessor entry in `ctx.previousSteps`.
|
|
18457
|
+
*
|
|
18458
|
+
* Predecessors can be completed or skipped. Both remain visible so downstream
|
|
18459
|
+
* functions can branch on the terminal status of every declared predecessor.
|
|
18460
|
+
* @typeParam TOutput - The station's inferred output type
|
|
18461
|
+
*/
|
|
18462
|
+
type PreviousStepOutput<TOutput extends JsonValue> = {
|
|
18463
|
+
/** JSON-serializable value produced by the completed station. */readonly output: TOutput; /** Upstream station completed and produced an output. */
|
|
18464
|
+
readonly status: 'completed';
|
|
18465
|
+
} | {
|
|
18466
|
+
/** Skipped upstream stations do not produce an output. */readonly output?: undefined; /** Upstream station was skipped by its `when`/`skip` condition. */
|
|
18467
|
+
readonly status: 'skipped';
|
|
18468
|
+
};
|
|
18469
|
+
/**
|
|
18470
|
+
* Full execution context passed to a station handler function.
|
|
18471
|
+
*
|
|
18472
|
+
* Extends {@link WorkflowContextBase} with a typed `trigger` field and the
|
|
18473
|
+
* `previousSteps` map.
|
|
18474
|
+
* @typeParam TTrigger - The trigger payload type
|
|
18475
|
+
* @typeParam TPreviousSteps - Map of completed predecessor station outputs
|
|
18476
|
+
* @typeParam TArtifactData - Artifact data shape; defaults to `Record<string, unknown>`
|
|
18477
|
+
* when no artifact binding is declared
|
|
18478
|
+
* @typeParam TBus - Runtime bus type supplied by the host runtime; defaults to
|
|
18479
|
+
* `unknown` so the contracts package stays free of any bus implementation dependency.
|
|
18480
|
+
* Bind to `IMakaioBus` (from `@makaio/bus-core`) in host layers that need full bus
|
|
18481
|
+
* authoring surface access inside station handlers.
|
|
18482
|
+
*/
|
|
18483
|
+
interface StepContext<TTrigger, TPreviousSteps extends Record<string, PreviousStepOutput<JsonValue>>, TArtifactData extends Record<string, unknown> = Record<string, unknown>, TBus = unknown> extends WorkflowContextBase {
|
|
18484
|
+
/** Typed payload from the trigger that started this execution. */
|
|
18485
|
+
readonly trigger: TTrigger;
|
|
18486
|
+
/**
|
|
18487
|
+
* Outputs from earlier completed nodes keyed by node ID.
|
|
18488
|
+
* Entries may be absent when an earlier node was not executed in this path.
|
|
18489
|
+
*/
|
|
18490
|
+
readonly previousSteps: TPreviousSteps;
|
|
18491
|
+
/** Current collection item when running inside an `iterate` expansion. */
|
|
18492
|
+
readonly item?: unknown;
|
|
18493
|
+
/** Zero-based iteration index when running inside an `iterate` expansion. */
|
|
18494
|
+
readonly index?: number;
|
|
18495
|
+
/** Output from the previous chain item when running inside an `iterate-chain`. */
|
|
18496
|
+
readonly previous?: JsonValue;
|
|
18497
|
+
/** Abort signal for cooperative cancellation of long-running station handlers. */
|
|
18498
|
+
readonly signal: AbortSignal;
|
|
18499
|
+
/**
|
|
18500
|
+
* Artifact access API for the workflow's primary artifact binding.
|
|
18501
|
+
*
|
|
18502
|
+
* Present when the workflow declares an artifact binding via `.artifact()`
|
|
18503
|
+
* and the runtime has successfully resolved or created the artifact at
|
|
18504
|
+
* execution start. `undefined` when no binding is configured or the
|
|
18505
|
+
* artifact could not be initialised.
|
|
18506
|
+
*/
|
|
18507
|
+
readonly artifact?: ArtifactContext<TArtifactData>;
|
|
18508
|
+
/**
|
|
18509
|
+
* Runtime bus for station handlers that need to query or write durable
|
|
18510
|
+
* artifacts as part of their authored output.
|
|
18511
|
+
*
|
|
18512
|
+
* Typed as the `TBus` type parameter (defaults to `unknown` in the
|
|
18513
|
+
* contracts package). Host runtimes that thread `IMakaioBus` through the
|
|
18514
|
+
* execution pipeline will expose the fully-typed bus here.
|
|
18515
|
+
*/
|
|
18516
|
+
readonly bus: TBus;
|
|
18517
|
+
/**
|
|
18518
|
+
* Emit a structured progress signal.
|
|
18519
|
+
*
|
|
18520
|
+
* Progress updates are consumed by observers and materialization providers
|
|
18521
|
+
* for real-time projections, but are not durable WorkLog entries.
|
|
18522
|
+
* @param update - The progress signal to emit.
|
|
18523
|
+
*/
|
|
18524
|
+
readonly updateProgress: (update: WorkflowProgressUpdate) => Promise<void>;
|
|
18525
|
+
}
|
|
18526
|
+
/**
|
|
18527
|
+
* Generic station handler — a function accepting a {@link StepContext} and
|
|
18528
|
+
* returning a JSON-serializable value.
|
|
18529
|
+
*
|
|
18530
|
+
* Used in the fluent builder methods where trigger and dependency types are
|
|
18531
|
+
* not tracked at the builder call site.
|
|
18532
|
+
*/
|
|
18533
|
+
type StationHandler = (ctx: StepContext<unknown, Record<string, PreviousStepOutput<JsonValue>>>) => JsonValue | Promise<JsonValue>;
|
|
18534
|
+
/**
|
|
18535
|
+
* Generic iterate handler — same signature as {@link StationHandler} but
|
|
18536
|
+
* semantically used for `iterate` node bodies.
|
|
18537
|
+
*/
|
|
18538
|
+
type IterateHandler = StationHandler;
|
|
18539
|
+
//#endregion
|
|
18540
|
+
//#region core/contracts/src/workflow/authoring-triggers.d.ts
|
|
18541
|
+
/**
|
|
18542
|
+
* A workflow trigger with a phantom type parameter carrying the payload type.
|
|
18543
|
+
*
|
|
18544
|
+
* Intentionally not an interface extending `WorkflowTrigger` because
|
|
18545
|
+
* `WorkflowTrigger` is a discriminated union — TypeScript does not permit
|
|
18546
|
+
* extending unions. Instead this type uses an intersection so the full trigger
|
|
18547
|
+
* shape is preserved while the phantom `__payload` field threads through.
|
|
18548
|
+
* @typeParam TPayload - The trigger event payload type
|
|
18549
|
+
*/
|
|
18550
|
+
type WorkflowTriggerDef<TPayload> = WorkflowTrigger & {
|
|
18551
|
+
/**
|
|
18552
|
+
* Phantom type carrier — never present at runtime.
|
|
18553
|
+
* Use `ExtractTriggerPayload<T>` to access this type.
|
|
18554
|
+
*/
|
|
18555
|
+
readonly __payload?: TPayload;
|
|
18556
|
+
};
|
|
18557
|
+
/**
|
|
18558
|
+
* Extract the payload type from a {@link WorkflowTriggerDef}.
|
|
18559
|
+
* @typeParam T - The typed trigger definition
|
|
18560
|
+
*/
|
|
18561
|
+
type ExtractTriggerPayload<T extends WorkflowTriggerDef<unknown>> = T extends WorkflowTriggerDef<infer TPayload> ? TPayload : never;
|
|
18562
|
+
/**
|
|
18563
|
+
* Derives the trigger payload union from a tuple of typed trigger definitions.
|
|
18564
|
+
* @typeParam TTriggers - Trigger tuple supplied to `defineWorkflow`
|
|
18565
|
+
*/
|
|
18566
|
+
type TriggerPayloadFromTriggers<TTriggers extends readonly WorkflowTriggerDef<unknown>[] | undefined> = TTriggers extends readonly WorkflowTriggerDef<unknown>[] ? ExtractTriggerPayload<TTriggers[number]> : never;
|
|
18567
|
+
/**
|
|
18568
|
+
* Creates a bus-event workflow trigger that fires when a typed subject emits
|
|
18569
|
+
* a matching message.
|
|
18570
|
+
* @param options - Trigger configuration options
|
|
18571
|
+
* @returns A typed workflow trigger definition
|
|
18572
|
+
* @example
|
|
18573
|
+
* ```typescript
|
|
18574
|
+
* const trigger = BusEventWorkflowTrigger({
|
|
18575
|
+
* subject: GitNamespace.subjects.checkout,
|
|
18576
|
+
* filter: { isNewWorktree: true },
|
|
18577
|
+
* });
|
|
18578
|
+
* ```
|
|
18579
|
+
*/
|
|
18580
|
+
declare function BusEventWorkflowTrigger<S extends SubjectDefinition>(options: {
|
|
18581
|
+
/** The bus subject to subscribe to. */readonly subject: S; /** Optional structural payload filter (AND semantics). */
|
|
18582
|
+
readonly filter?: TypedPayloadFilter<ExtractSubjectPayload<S>>; /** Optional jexl expression for complex filter conditions. */
|
|
18583
|
+
readonly filterExpression?: string;
|
|
18584
|
+
}): BusEventTrigger & {
|
|
18585
|
+
readonly __payload?: ExtractSubjectPayload<S>;
|
|
18586
|
+
};
|
|
18587
|
+
/**
|
|
18588
|
+
* Creates a manual workflow trigger (user-initiated only).
|
|
18589
|
+
* @returns A typed workflow trigger definition with `void` payload
|
|
18590
|
+
*/
|
|
18591
|
+
declare function ManualWorkflowTrigger(): WorkflowTriggerDef<void>;
|
|
18592
|
+
/**
|
|
18593
|
+
* Cron trigger payload — injected into `context.trigger` at execution time.
|
|
18594
|
+
*/
|
|
18595
|
+
interface CronTriggerPayload {
|
|
18596
|
+
/** Epoch milliseconds when the cron fired. */
|
|
18715
18597
|
readonly firedAt: number;
|
|
18716
18598
|
/** Zero-based index of this trigger in the workflow's `triggers` array. */
|
|
18717
18599
|
readonly triggerIndex: number;
|
|
@@ -18775,11 +18657,23 @@ interface NodeOptions {
|
|
|
18775
18657
|
readonly skip?: string;
|
|
18776
18658
|
}
|
|
18777
18659
|
/**
|
|
18778
|
-
*
|
|
18660
|
+
* Options for delegate-role nodes created via the fluent builder or standalone factory.
|
|
18779
18661
|
*/
|
|
18780
|
-
|
|
18781
|
-
/**
|
|
18782
|
-
|
|
18662
|
+
type DelegateToRoleOptions = NodeOptions & {
|
|
18663
|
+
/** Prompt text passed to the role subagent. Defaults to the node ID. */readonly prompt?: string;
|
|
18664
|
+
/**
|
|
18665
|
+
* JSON Schema for the expected role delegation output.
|
|
18666
|
+
*/
|
|
18667
|
+
readonly outputSchema?: Record<string, JsonValue>; /** Timeout in milliseconds for the delegated role execution. */
|
|
18668
|
+
readonly timeoutMs?: number; /** Completion behavior requested from the spawned role subagent. */
|
|
18669
|
+
readonly completion?: CompletionMode;
|
|
18670
|
+
};
|
|
18671
|
+
/**
|
|
18672
|
+
* Configuration for a delegate-agent node created via the fluent builder.
|
|
18673
|
+
*/
|
|
18674
|
+
interface AgentConfig {
|
|
18675
|
+
/** Identifier of the registered agent definition to invoke. */
|
|
18676
|
+
readonly agentId: string;
|
|
18783
18677
|
/**
|
|
18784
18678
|
* jexl expression resolving to the agent input payload.
|
|
18785
18679
|
* When omitted the agent receives the full execution context.
|
|
@@ -19016,12 +18910,10 @@ interface WorkflowBuilder<TTrigger = never> extends BuiltWorkflow {
|
|
|
19016
18910
|
* Appends a delegate-role node to the root sequence.
|
|
19017
18911
|
* @param id - Unique node identifier
|
|
19018
18912
|
* @param role - Named product role to delegate to
|
|
19019
|
-
* @param options - Optional node conditions; `prompt` defaults to the node ID
|
|
18913
|
+
* @param options - Optional node conditions and role delegation settings; `prompt` defaults to the node ID
|
|
19020
18914
|
* @returns This builder for chaining
|
|
19021
18915
|
*/
|
|
19022
|
-
delegateToRole(id: string, role: string, options?:
|
|
19023
|
-
readonly prompt?: string;
|
|
19024
|
-
}): WorkflowBuilder<TTrigger>;
|
|
18916
|
+
delegateToRole(id: string, role: string, options?: DelegateToRoleOptions): WorkflowBuilder<TTrigger>;
|
|
19025
18917
|
/**
|
|
19026
18918
|
* Appends a parallel node with static branches to the root sequence.
|
|
19027
18919
|
*
|
|
@@ -19120,12 +19012,10 @@ declare function delegateToAgent(id: string, config: AgentConfig, options?: Node
|
|
|
19120
19012
|
* or an `iterateChain()` sub-chain.
|
|
19121
19013
|
* @param id - Unique node identifier
|
|
19122
19014
|
* @param role - Named product role to delegate to
|
|
19123
|
-
* @param options - Optional node conditions
|
|
19015
|
+
* @param options - Optional node conditions and role delegation settings
|
|
19124
19016
|
* @returns A {@link WorkflowDelegateRoleNode}
|
|
19125
19017
|
*/
|
|
19126
|
-
declare function delegateToRole(id: string, role: string, options?:
|
|
19127
|
-
readonly prompt?: string;
|
|
19128
|
-
}): WorkflowDelegateRoleNode;
|
|
19018
|
+
declare function delegateToRole(id: string, role: string, options?: DelegateToRoleOptions): WorkflowDelegateRoleNode;
|
|
19129
19019
|
/**
|
|
19130
19020
|
* Creates a gate node for use as a standalone node or as a branch entry.
|
|
19131
19021
|
* @param id - Unique gate node identifier
|
|
@@ -19781,9 +19671,9 @@ declare const McpTransportConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
19781
19671
|
}, z.core.$strip>], "type">;
|
|
19782
19672
|
/** Exposure mode for MCP tools */
|
|
19783
19673
|
declare const McpExposureModeSchema: z.ZodEnum<{
|
|
19674
|
+
hidden: "hidden";
|
|
19784
19675
|
direct: "direct";
|
|
19785
19676
|
discovery: "discovery";
|
|
19786
|
-
hidden: "hidden";
|
|
19787
19677
|
}>;
|
|
19788
19678
|
/** Exposure mode variant that excludes hidden. */
|
|
19789
19679
|
declare const McpNonHiddenExposureModeSchema: z.ZodEnum<{
|
|
@@ -19807,9 +19697,9 @@ declare const McpProfileConfigSchema: z.ZodObject<{
|
|
|
19807
19697
|
directTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19808
19698
|
discoveryTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19809
19699
|
toolExposure: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
19700
|
+
hidden: "hidden";
|
|
19810
19701
|
direct: "direct";
|
|
19811
19702
|
discovery: "discovery";
|
|
19812
|
-
hidden: "hidden";
|
|
19813
19703
|
}>>>;
|
|
19814
19704
|
}, z.core.$strip>;
|
|
19815
19705
|
/** Resolved server info passed to adapter strategies */
|
|
@@ -19861,9 +19751,9 @@ declare const McpToolStateSchema: z.ZodObject<{
|
|
|
19861
19751
|
description: z.ZodOptional<z.ZodString>;
|
|
19862
19752
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
19863
19753
|
exposureMode: z.ZodEnum<{
|
|
19754
|
+
hidden: "hidden";
|
|
19864
19755
|
direct: "direct";
|
|
19865
19756
|
discovery: "discovery";
|
|
19866
|
-
hidden: "hidden";
|
|
19867
19757
|
}>;
|
|
19868
19758
|
enabled: z.ZodBoolean;
|
|
19869
19759
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -19925,9 +19815,9 @@ declare const McpSessionContextSchema: z.ZodObject<{
|
|
|
19925
19815
|
description: z.ZodOptional<z.ZodString>;
|
|
19926
19816
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
19927
19817
|
exposureMode: z.ZodEnum<{
|
|
19818
|
+
hidden: "hidden";
|
|
19928
19819
|
direct: "direct";
|
|
19929
19820
|
discovery: "discovery";
|
|
19930
|
-
hidden: "hidden";
|
|
19931
19821
|
}>;
|
|
19932
19822
|
enabled: z.ZodBoolean;
|
|
19933
19823
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -19944,9 +19834,9 @@ declare const McpSessionContextSchema: z.ZodObject<{
|
|
|
19944
19834
|
description: z.ZodOptional<z.ZodString>;
|
|
19945
19835
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
19946
19836
|
exposureMode: z.ZodEnum<{
|
|
19837
|
+
hidden: "hidden";
|
|
19947
19838
|
direct: "direct";
|
|
19948
19839
|
discovery: "discovery";
|
|
19949
|
-
hidden: "hidden";
|
|
19950
19840
|
}>;
|
|
19951
19841
|
enabled: z.ZodBoolean;
|
|
19952
19842
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -19965,25 +19855,6 @@ declare const McpSessionContextSchema: z.ZodObject<{
|
|
|
19965
19855
|
*/
|
|
19966
19856
|
declare const McpRuntimeSessionContextSchema: z.ZodObject<{
|
|
19967
19857
|
sessionId: z.ZodString;
|
|
19968
|
-
directTools: z.ZodArray<z.ZodObject<{
|
|
19969
|
-
fullName: z.ZodString;
|
|
19970
|
-
originalName: z.ZodString;
|
|
19971
|
-
serverName: z.ZodString;
|
|
19972
|
-
description: z.ZodOptional<z.ZodString>;
|
|
19973
|
-
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
19974
|
-
exposureMode: z.ZodEnum<{
|
|
19975
|
-
direct: "direct";
|
|
19976
|
-
discovery: "discovery";
|
|
19977
|
-
hidden: "hidden";
|
|
19978
|
-
}>;
|
|
19979
|
-
enabled: z.ZodBoolean;
|
|
19980
|
-
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
19981
|
-
discovery: "discovery";
|
|
19982
|
-
toolset: "toolset";
|
|
19983
|
-
}>>;
|
|
19984
|
-
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
19985
|
-
exposed: z.ZodBoolean;
|
|
19986
|
-
}, z.core.$strip>>;
|
|
19987
19858
|
servers: z.ZodArray<z.ZodObject<{
|
|
19988
19859
|
name: z.ZodString;
|
|
19989
19860
|
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -20024,16 +19895,35 @@ declare const McpRuntimeSessionContextSchema: z.ZodObject<{
|
|
|
20024
19895
|
discovery: "discovery";
|
|
20025
19896
|
}>;
|
|
20026
19897
|
}, z.core.$strip>>;
|
|
20027
|
-
|
|
19898
|
+
directTools: z.ZodArray<z.ZodObject<{
|
|
20028
19899
|
fullName: z.ZodString;
|
|
20029
19900
|
originalName: z.ZodString;
|
|
20030
19901
|
serverName: z.ZodString;
|
|
20031
19902
|
description: z.ZodOptional<z.ZodString>;
|
|
20032
19903
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20033
19904
|
exposureMode: z.ZodEnum<{
|
|
19905
|
+
hidden: "hidden";
|
|
20034
19906
|
direct: "direct";
|
|
20035
19907
|
discovery: "discovery";
|
|
19908
|
+
}>;
|
|
19909
|
+
enabled: z.ZodBoolean;
|
|
19910
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
19911
|
+
discovery: "discovery";
|
|
19912
|
+
toolset: "toolset";
|
|
19913
|
+
}>>;
|
|
19914
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
19915
|
+
exposed: z.ZodBoolean;
|
|
19916
|
+
}, z.core.$strip>>;
|
|
19917
|
+
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
19918
|
+
fullName: z.ZodString;
|
|
19919
|
+
originalName: z.ZodString;
|
|
19920
|
+
serverName: z.ZodString;
|
|
19921
|
+
description: z.ZodOptional<z.ZodString>;
|
|
19922
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
19923
|
+
exposureMode: z.ZodEnum<{
|
|
20036
19924
|
hidden: "hidden";
|
|
19925
|
+
direct: "direct";
|
|
19926
|
+
discovery: "discovery";
|
|
20037
19927
|
}>;
|
|
20038
19928
|
enabled: z.ZodBoolean;
|
|
20039
19929
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -20118,9 +20008,9 @@ declare const McpSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
|
|
|
20118
20008
|
directTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
20119
20009
|
discoveryTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
20120
20010
|
toolExposure: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
20011
|
+
hidden: "hidden";
|
|
20121
20012
|
direct: "direct";
|
|
20122
20013
|
discovery: "discovery";
|
|
20123
|
-
hidden: "hidden";
|
|
20124
20014
|
}>>>;
|
|
20125
20015
|
}, _$zod_v4_core0.$strip>>;
|
|
20126
20016
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -20175,9 +20065,9 @@ declare const McpSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
|
|
|
20175
20065
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
20176
20066
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
20177
20067
|
exposureMode: _$zod.ZodEnum<{
|
|
20068
|
+
hidden: "hidden";
|
|
20178
20069
|
direct: "direct";
|
|
20179
20070
|
discovery: "discovery";
|
|
20180
|
-
hidden: "hidden";
|
|
20181
20071
|
}>;
|
|
20182
20072
|
enabled: _$zod.ZodBoolean;
|
|
20183
20073
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -20194,9 +20084,9 @@ declare const McpSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
|
|
|
20194
20084
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
20195
20085
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
20196
20086
|
exposureMode: _$zod.ZodEnum<{
|
|
20087
|
+
hidden: "hidden";
|
|
20197
20088
|
direct: "direct";
|
|
20198
20089
|
discovery: "discovery";
|
|
20199
|
-
hidden: "hidden";
|
|
20200
20090
|
}>;
|
|
20201
20091
|
enabled: _$zod.ZodBoolean;
|
|
20202
20092
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -20242,333 +20132,6 @@ declare const McpSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
|
|
|
20242
20132
|
};
|
|
20243
20133
|
}>, "mcp">;
|
|
20244
20134
|
//#endregion
|
|
20245
|
-
//#region core/contracts/src/subagent/schemas.d.ts
|
|
20246
|
-
/**
|
|
20247
|
-
* Context mode for subagent spawning.
|
|
20248
|
-
* - fork: Inherit parent's conversation history
|
|
20249
|
-
* - fresh: Start with clean context
|
|
20250
|
-
*/
|
|
20251
|
-
declare const ContextModeSchema: z.ZodEnum<{
|
|
20252
|
-
fork: "fork";
|
|
20253
|
-
fresh: "fresh";
|
|
20254
|
-
}>;
|
|
20255
|
-
type ContextMode = z.infer<typeof ContextModeSchema>;
|
|
20256
|
-
/**
|
|
20257
|
-
* Subagent status enum.
|
|
20258
|
-
* - spawning: Session creation in progress (set by spawn tool)
|
|
20259
|
-
* - running: Session created, agent executing (set by SubagentService)
|
|
20260
|
-
* - waiting_input: Blocked on request_input
|
|
20261
|
-
* - hung: No activity within inactivity timeout (non-terminal; coordinator decides action)
|
|
20262
|
-
* - completed/failed/cancelled: Terminal states
|
|
20263
|
-
*/
|
|
20264
|
-
declare const SubagentStatusSchema: z.ZodEnum<{
|
|
20265
|
-
completed: "completed";
|
|
20266
|
-
cancelled: "cancelled";
|
|
20267
|
-
failed: "failed";
|
|
20268
|
-
spawning: "spawning";
|
|
20269
|
-
running: "running";
|
|
20270
|
-
waiting_input: "waiting_input";
|
|
20271
|
-
hung: "hung";
|
|
20272
|
-
}>;
|
|
20273
|
-
type SubagentStatus = z.infer<typeof SubagentStatusSchema>;
|
|
20274
|
-
/**
|
|
20275
|
-
* Completion mode for a spawned subagent.
|
|
20276
|
-
*
|
|
20277
|
-
* - `'tool'` — the child must call `completeTask` to terminate (default, existing semantics).
|
|
20278
|
-
* - `'turn'` — the first completed agent turn terminalizes the subagent with the final
|
|
20279
|
-
* assistant message as its result. Use this for single-shot subagents that produce prose
|
|
20280
|
-
* or structured output without needing to call a completion tool.
|
|
20281
|
-
*
|
|
20282
|
-
* Conceptual note: subagents are conversations, not one-shot calls — the parent can send
|
|
20283
|
-
* follow-ups and the child can ask questions. "The agent stopped talking" does not generally
|
|
20284
|
-
* mean "the task is done", which is why `'tool'` is the default. Declare `'turn'` only when
|
|
20285
|
-
* the subagent's first response IS the result.
|
|
20286
|
-
*/
|
|
20287
|
-
declare const CompletionModeSchema: z.ZodEnum<{
|
|
20288
|
-
tool: "tool";
|
|
20289
|
-
turn: "turn";
|
|
20290
|
-
}>;
|
|
20291
|
-
type CompletionMode = z.infer<typeof CompletionModeSchema>;
|
|
20292
|
-
/**
|
|
20293
|
-
* Configuration for spawning a subagent.
|
|
20294
|
-
*/
|
|
20295
|
-
declare const SubagentConfigSchema: z.ZodObject<{
|
|
20296
|
-
task: z.ZodString;
|
|
20297
|
-
adapterName: z.ZodOptional<z.ZodString>;
|
|
20298
|
-
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
20299
|
-
providerContext: z.ZodOptional<z.ZodObject<{
|
|
20300
|
-
providerConfigId: z.ZodString;
|
|
20301
|
-
definitionId: z.ZodString;
|
|
20302
|
-
endpointOverrides: z.ZodOptional<z.ZodObject<{
|
|
20303
|
-
anthropic: z.ZodOptional<z.ZodString>;
|
|
20304
|
-
openai: z.ZodOptional<z.ZodString>;
|
|
20305
|
-
}, z.core.$strip>>;
|
|
20306
|
-
credentialRefs: z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>;
|
|
20307
|
-
credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
20308
|
-
ambientCredentialEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20309
|
-
}, z.core.$strip>>;
|
|
20310
|
-
harnessId: z.ZodOptional<z.ZodString>;
|
|
20311
|
-
model: z.ZodOptional<z.ZodString>;
|
|
20312
|
-
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
20313
|
-
none: "none";
|
|
20314
|
-
low: "low";
|
|
20315
|
-
medium: "medium";
|
|
20316
|
-
high: "high";
|
|
20317
|
-
"extra-high": "extra-high";
|
|
20318
|
-
}>>;
|
|
20319
|
-
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
20320
|
-
fork: "fork";
|
|
20321
|
-
fresh: "fresh";
|
|
20322
|
-
}>>;
|
|
20323
|
-
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20324
|
-
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20325
|
-
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20326
|
-
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
20327
|
-
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
20328
|
-
responseSchema: z.ZodOptional<z.ZodObject<{
|
|
20329
|
-
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
20330
|
-
name: z.ZodOptional<z.ZodString>;
|
|
20331
|
-
strict: z.ZodOptional<z.ZodBoolean>;
|
|
20332
|
-
}, z.core.$strict>>;
|
|
20333
|
-
executionTargetId: z.ZodOptional<z.ZodString>;
|
|
20334
|
-
completion: z.ZodOptional<z.ZodEnum<{
|
|
20335
|
-
tool: "tool";
|
|
20336
|
-
turn: "turn";
|
|
20337
|
-
}>>;
|
|
20338
|
-
}, z.core.$strip>;
|
|
20339
|
-
type SubagentConfig = z.infer<typeof SubagentConfigSchema>;
|
|
20340
|
-
/**
|
|
20341
|
-
* Platform-level constraints for subagent spawning.
|
|
20342
|
-
*/
|
|
20343
|
-
declare const SubagentConstraintsSchema: z.ZodObject<{
|
|
20344
|
-
maxDepth: z.ZodDefault<z.ZodNumber>;
|
|
20345
|
-
maxConcurrentPerSession: z.ZodDefault<z.ZodNumber>;
|
|
20346
|
-
maxTotalActive: z.ZodDefault<z.ZodNumber>;
|
|
20347
|
-
defaultRequestTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
20348
|
-
defaultAwaitTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
20349
|
-
stateRetentionMs: z.ZodDefault<z.ZodNumber>;
|
|
20350
|
-
inactivityTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
20351
|
-
sweepIntervalMs: z.ZodDefault<z.ZodNumber>;
|
|
20352
|
-
allowedAdapters: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
20353
|
-
allowedModels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
20354
|
-
}, z.core.$strip>;
|
|
20355
|
-
type SubagentConstraints = z.infer<typeof SubagentConstraintsSchema>;
|
|
20356
|
-
/**
|
|
20357
|
-
* Default runtime constraints (derived from schema defaults to avoid duplication).
|
|
20358
|
-
*/
|
|
20359
|
-
declare const DEFAULT_CONSTRAINTS: SubagentConstraints;
|
|
20360
|
-
declare const PendingRequestSchema: z.ZodObject<{
|
|
20361
|
-
messageId: z.ZodString;
|
|
20362
|
-
question: z.ZodString;
|
|
20363
|
-
context: z.ZodOptional<z.ZodString>;
|
|
20364
|
-
}, z.core.$strip>;
|
|
20365
|
-
type PendingRequest = z.infer<typeof PendingRequestSchema>;
|
|
20366
|
-
declare const ExecuteSubagentResponseSchema: z.ZodObject<{
|
|
20367
|
-
success: z.ZodBoolean;
|
|
20368
|
-
agentId: z.ZodOptional<z.ZodString>;
|
|
20369
|
-
error: z.ZodOptional<z.ZodString>;
|
|
20370
|
-
}, z.core.$strip>;
|
|
20371
|
-
type ExecuteSubagentResponse = z.infer<typeof ExecuteSubagentResponseSchema>;
|
|
20372
|
-
/**
|
|
20373
|
-
* Subagent execution failed during startup.
|
|
20374
|
-
*/
|
|
20375
|
-
declare const SubagentExecutionFailedSchema: z.ZodObject<{
|
|
20376
|
-
subagentId: z.ZodString;
|
|
20377
|
-
parentSessionId: z.ZodString;
|
|
20378
|
-
error: z.ZodString;
|
|
20379
|
-
phase: z.ZodEnum<{
|
|
20380
|
-
session_create: "session_create";
|
|
20381
|
-
adapter_start: "adapter_start";
|
|
20382
|
-
agent_start: "agent_start";
|
|
20383
|
-
}>;
|
|
20384
|
-
}, z.core.$strip>;
|
|
20385
|
-
type SubagentExecutionFailed = z.infer<typeof SubagentExecutionFailedSchema>;
|
|
20386
|
-
/**
|
|
20387
|
-
* Spawn RPC - replaces tool calling manager.track().
|
|
20388
|
-
* Service validates constraints, tracks subagent, emits spawned event.
|
|
20389
|
-
*/
|
|
20390
|
-
declare const SpawnSubagentRpcRequestSchema: z.ZodObject<{
|
|
20391
|
-
parentSessionId: z.ZodString;
|
|
20392
|
-
config: z.ZodObject<{
|
|
20393
|
-
task: z.ZodString;
|
|
20394
|
-
adapterName: z.ZodOptional<z.ZodString>;
|
|
20395
|
-
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
20396
|
-
providerContext: z.ZodOptional<z.ZodObject<{
|
|
20397
|
-
providerConfigId: z.ZodString;
|
|
20398
|
-
definitionId: z.ZodString;
|
|
20399
|
-
endpointOverrides: z.ZodOptional<z.ZodObject<{
|
|
20400
|
-
anthropic: z.ZodOptional<z.ZodString>;
|
|
20401
|
-
openai: z.ZodOptional<z.ZodString>;
|
|
20402
|
-
}, z.core.$strip>>;
|
|
20403
|
-
credentialRefs: z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>;
|
|
20404
|
-
credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
20405
|
-
ambientCredentialEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20406
|
-
}, z.core.$strip>>;
|
|
20407
|
-
harnessId: z.ZodOptional<z.ZodString>;
|
|
20408
|
-
model: z.ZodOptional<z.ZodString>;
|
|
20409
|
-
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
20410
|
-
none: "none";
|
|
20411
|
-
low: "low";
|
|
20412
|
-
medium: "medium";
|
|
20413
|
-
high: "high";
|
|
20414
|
-
"extra-high": "extra-high";
|
|
20415
|
-
}>>;
|
|
20416
|
-
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
20417
|
-
fork: "fork";
|
|
20418
|
-
fresh: "fresh";
|
|
20419
|
-
}>>;
|
|
20420
|
-
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20421
|
-
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20422
|
-
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20423
|
-
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
20424
|
-
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
20425
|
-
responseSchema: z.ZodOptional<z.ZodObject<{
|
|
20426
|
-
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
20427
|
-
name: z.ZodOptional<z.ZodString>;
|
|
20428
|
-
strict: z.ZodOptional<z.ZodBoolean>;
|
|
20429
|
-
}, z.core.$strict>>;
|
|
20430
|
-
executionTargetId: z.ZodOptional<z.ZodString>;
|
|
20431
|
-
completion: z.ZodOptional<z.ZodEnum<{
|
|
20432
|
-
tool: "tool";
|
|
20433
|
-
turn: "turn";
|
|
20434
|
-
}>>;
|
|
20435
|
-
}, z.core.$strip>;
|
|
20436
|
-
depth: z.ZodNumber;
|
|
20437
|
-
spawningToolCallId: z.ZodOptional<z.ZodString>;
|
|
20438
|
-
}, z.core.$strip>;
|
|
20439
|
-
type SpawnSubagentRpcRequest = z.infer<typeof SpawnSubagentRpcRequestSchema>;
|
|
20440
|
-
declare const SpawnSubagentRpcResponseSchema: z.ZodObject<{
|
|
20441
|
-
subagentId: z.ZodString;
|
|
20442
|
-
status: z.ZodLiteral<"spawning">;
|
|
20443
|
-
}, z.core.$strip>;
|
|
20444
|
-
type SpawnSubagentRpcResponse = z.infer<typeof SpawnSubagentRpcResponseSchema>;
|
|
20445
|
-
/**
|
|
20446
|
-
* Await RPC - replaces callback-based awaiter.
|
|
20447
|
-
* Blocks until subagent reaches terminal state or timeout.
|
|
20448
|
-
*/
|
|
20449
|
-
declare const AwaitSubagentRequestSchema: z.ZodObject<{
|
|
20450
|
-
subagentId: z.ZodString;
|
|
20451
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
20452
|
-
}, z.core.$strip>;
|
|
20453
|
-
type AwaitSubagentRequest = z.infer<typeof AwaitSubagentRequestSchema>;
|
|
20454
|
-
declare const AwaitSubagentResponseSchema: z.ZodObject<{
|
|
20455
|
-
status: z.ZodEnum<{
|
|
20456
|
-
completed: "completed";
|
|
20457
|
-
cancelled: "cancelled";
|
|
20458
|
-
failed: "failed";
|
|
20459
|
-
waiting_input: "waiting_input";
|
|
20460
|
-
timeout: "timeout";
|
|
20461
|
-
}>;
|
|
20462
|
-
result: z.ZodOptional<z.ZodString>;
|
|
20463
|
-
error: z.ZodOptional<z.ZodString>;
|
|
20464
|
-
pendingRequest: z.ZodOptional<z.ZodObject<{
|
|
20465
|
-
messageId: z.ZodString;
|
|
20466
|
-
question: z.ZodString;
|
|
20467
|
-
context: z.ZodOptional<z.ZodString>;
|
|
20468
|
-
}, z.core.$strip>>;
|
|
20469
|
-
completionSource: z.ZodOptional<z.ZodEnum<{
|
|
20470
|
-
tool: "tool";
|
|
20471
|
-
turn: "turn";
|
|
20472
|
-
}>>;
|
|
20473
|
-
}, z.core.$strip>;
|
|
20474
|
-
type AwaitSubagentResponse = z.infer<typeof AwaitSubagentResponseSchema>;
|
|
20475
|
-
/**
|
|
20476
|
-
* Send RPC - sends message to subagent, optionally resolving pending request.
|
|
20477
|
-
*/
|
|
20478
|
-
declare const SendToSubagentRequestSchema: z.ZodObject<{
|
|
20479
|
-
subagentId: z.ZodString;
|
|
20480
|
-
content: z.ZodString;
|
|
20481
|
-
inResponseTo: z.ZodOptional<z.ZodString>;
|
|
20482
|
-
}, z.core.$strip>;
|
|
20483
|
-
type SendToSubagentRequest = z.infer<typeof SendToSubagentRequestSchema>;
|
|
20484
|
-
declare const SendToSubagentResponseSchema: z.ZodObject<{
|
|
20485
|
-
sent: z.ZodBoolean;
|
|
20486
|
-
resolvedPending: z.ZodBoolean;
|
|
20487
|
-
}, z.core.$strip>;
|
|
20488
|
-
type SendToSubagentResponse = z.infer<typeof SendToSubagentResponseSchema>;
|
|
20489
|
-
/**
|
|
20490
|
-
* Kill RPC - terminates a running subagent.
|
|
20491
|
-
*/
|
|
20492
|
-
declare const KillSubagentRequestSchema: z.ZodObject<{
|
|
20493
|
-
subagentId: z.ZodString;
|
|
20494
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
20495
|
-
}, z.core.$strip>;
|
|
20496
|
-
type KillSubagentRequest = z.infer<typeof KillSubagentRequestSchema>;
|
|
20497
|
-
declare const KillSubagentResponseSchema: z.ZodObject<{
|
|
20498
|
-
killed: z.ZodBoolean;
|
|
20499
|
-
}, z.core.$strip>;
|
|
20500
|
-
type KillSubagentResponse = z.infer<typeof KillSubagentResponseSchema>;
|
|
20501
|
-
/**
|
|
20502
|
-
* Report Progress RPC - child reports progress update.
|
|
20503
|
-
*/
|
|
20504
|
-
declare const ReportProgressRequestSchema: z.ZodObject<{
|
|
20505
|
-
subagentId: z.ZodString;
|
|
20506
|
-
update: z.ZodString;
|
|
20507
|
-
percentComplete: z.ZodOptional<z.ZodNumber>;
|
|
20508
|
-
}, z.core.$strip>;
|
|
20509
|
-
type ReportProgressRequest = z.infer<typeof ReportProgressRequestSchema>;
|
|
20510
|
-
declare const ReportProgressResponseSchema: z.ZodObject<{
|
|
20511
|
-
reported: z.ZodBoolean;
|
|
20512
|
-
}, z.core.$strip>;
|
|
20513
|
-
type ReportProgressResponse = z.infer<typeof ReportProgressResponseSchema>;
|
|
20514
|
-
/**
|
|
20515
|
-
* Request Input RPC - child requests input from parent.
|
|
20516
|
-
* Blocks until parent responds or timeout.
|
|
20517
|
-
*/
|
|
20518
|
-
declare const RequestInputRpcRequestSchema: z.ZodObject<{
|
|
20519
|
-
subagentId: z.ZodString;
|
|
20520
|
-
question: z.ZodString;
|
|
20521
|
-
context: z.ZodOptional<z.ZodString>;
|
|
20522
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
20523
|
-
}, z.core.$strip>;
|
|
20524
|
-
type RequestInputRpcRequest = z.infer<typeof RequestInputRpcRequestSchema>;
|
|
20525
|
-
declare const RequestInputRpcResponseSchema: z.ZodObject<{
|
|
20526
|
-
responded: z.ZodBoolean;
|
|
20527
|
-
response: z.ZodOptional<z.ZodString>;
|
|
20528
|
-
timedOut: z.ZodBoolean;
|
|
20529
|
-
}, z.core.$strip>;
|
|
20530
|
-
type RequestInputRpcResponse = z.infer<typeof RequestInputRpcResponseSchema>;
|
|
20531
|
-
/**
|
|
20532
|
-
* Complete Task RPC - child signals task completion.
|
|
20533
|
-
*/
|
|
20534
|
-
declare const CompleteTaskRequestSchema: z.ZodObject<{
|
|
20535
|
-
subagentId: z.ZodString;
|
|
20536
|
-
result: z.ZodString;
|
|
20537
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
20538
|
-
}, z.core.$strip>;
|
|
20539
|
-
type CompleteTaskRequest = z.infer<typeof CompleteTaskRequestSchema>;
|
|
20540
|
-
declare const CompleteTaskResponseSchema: z.ZodObject<{
|
|
20541
|
-
completed: z.ZodBoolean;
|
|
20542
|
-
}, z.core.$strip>;
|
|
20543
|
-
type CompleteTaskResponse = z.infer<typeof CompleteTaskResponseSchema>;
|
|
20544
|
-
/**
|
|
20545
|
-
* List subagents by parent session RPC.
|
|
20546
|
-
* Returns all non-terminal subagents spawned by the given parent session.
|
|
20547
|
-
*
|
|
20548
|
-
* Note: SubagentService tracks subagents in memory only. This list will be
|
|
20549
|
-
* empty after a process restart — subagents re-register as they report back.
|
|
20550
|
-
*/
|
|
20551
|
-
declare const ListSubagentsBySessionRequestSchema: z.ZodObject<{
|
|
20552
|
-
parentSessionId: z.ZodString;
|
|
20553
|
-
}, z.core.$strip>;
|
|
20554
|
-
type ListSubagentsBySessionRequest = z.infer<typeof ListSubagentsBySessionRequestSchema>;
|
|
20555
|
-
declare const ListSubagentsBySessionResponseSchema: z.ZodObject<{
|
|
20556
|
-
subagents: z.ZodArray<z.ZodObject<{
|
|
20557
|
-
subagentId: z.ZodString;
|
|
20558
|
-
task: z.ZodString;
|
|
20559
|
-
status: z.ZodEnum<{
|
|
20560
|
-
completed: "completed";
|
|
20561
|
-
cancelled: "cancelled";
|
|
20562
|
-
failed: "failed";
|
|
20563
|
-
spawning: "spawning";
|
|
20564
|
-
running: "running";
|
|
20565
|
-
waiting_input: "waiting_input";
|
|
20566
|
-
hung: "hung";
|
|
20567
|
-
}>;
|
|
20568
|
-
}, z.core.$strip>>;
|
|
20569
|
-
}, z.core.$strip>;
|
|
20570
|
-
type ListSubagentsBySessionResponse = z.infer<typeof ListSubagentsBySessionResponseSchema>;
|
|
20571
|
-
//#endregion
|
|
20572
20135
|
//#region core/contracts/src/subagent/errors.d.ts
|
|
20573
20136
|
/**
|
|
20574
20137
|
* Subagent error codes for programmatic handling.
|