@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
|
@@ -0,0 +1,859 @@
|
|
|
1
|
+
import * as _$zod from "zod";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
4
|
+
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
5
|
+
|
|
6
|
+
//#region core/contracts/src/canonical-model/types.d.ts
|
|
7
|
+
/** Exhaustive tuple of all {@link CanonicalModelParseErrorCode} values. */
|
|
8
|
+
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"];
|
|
9
|
+
/**
|
|
10
|
+
* Error codes produced by the canonical model parser.
|
|
11
|
+
*
|
|
12
|
+
* Each code identifies a distinct malformed-input condition:
|
|
13
|
+
* - `'empty'` - empty or whitespace-only input
|
|
14
|
+
* - `'empty-model'` - `'::'` present with nothing after it
|
|
15
|
+
* - `'empty-routing'` - `'::'` present with nothing before it
|
|
16
|
+
* - `'empty-segment'` - consecutive slashes produce an empty routing segment
|
|
17
|
+
* - `'too-many-segments'` - more than two routing segments before `'::'`
|
|
18
|
+
* - `'invalid-segment'` - routing segment contains characters outside `[a-z0-9._-]`
|
|
19
|
+
* - `'invalid-virtual-name'` - virtual model name contains characters outside `[a-z0-9_-]`
|
|
20
|
+
* - `'empty-virtual-name'` - bare `'~'` sigil with no name following it
|
|
21
|
+
*/
|
|
22
|
+
type CanonicalModelParseErrorCode = (typeof CANONICAL_MODEL_PARSE_ERROR_CODES)[number];
|
|
23
|
+
/** Zod schema for {@link CanonicalModelParseErrorCode}. */
|
|
24
|
+
declare const CanonicalModelParseErrorCodeSchema: z.ZodEnum<{
|
|
25
|
+
empty: "empty";
|
|
26
|
+
"empty-model": "empty-model";
|
|
27
|
+
"empty-routing": "empty-routing";
|
|
28
|
+
"empty-segment": "empty-segment";
|
|
29
|
+
"too-many-segments": "too-many-segments";
|
|
30
|
+
"invalid-segment": "invalid-segment";
|
|
31
|
+
"invalid-virtual-name": "invalid-virtual-name";
|
|
32
|
+
"empty-virtual-name": "empty-virtual-name";
|
|
33
|
+
}>;
|
|
34
|
+
/**
|
|
35
|
+
* Parse error returned by the canonical model parser.
|
|
36
|
+
*
|
|
37
|
+
* Discriminated by `kind: 'parse-error'` so it can be combined into
|
|
38
|
+
* {@link CanonicalModelParseResult} and narrowed with a type guard.
|
|
39
|
+
*/
|
|
40
|
+
interface CanonicalModelParseError {
|
|
41
|
+
readonly kind: 'parse-error';
|
|
42
|
+
/** Machine-readable error category. */
|
|
43
|
+
readonly code: CanonicalModelParseErrorCode;
|
|
44
|
+
/** Human-readable description of the problem. */
|
|
45
|
+
readonly message: string;
|
|
46
|
+
/** The verbatim input string that produced the error. */
|
|
47
|
+
readonly input: string;
|
|
48
|
+
}
|
|
49
|
+
/** Zod schema for {@link CanonicalModelParseError}. */
|
|
50
|
+
declare const CanonicalModelParseErrorSchema: z.ZodObject<{
|
|
51
|
+
kind: z.ZodLiteral<"parse-error">;
|
|
52
|
+
code: z.ZodEnum<{
|
|
53
|
+
empty: "empty";
|
|
54
|
+
"empty-model": "empty-model";
|
|
55
|
+
"empty-routing": "empty-routing";
|
|
56
|
+
"empty-segment": "empty-segment";
|
|
57
|
+
"too-many-segments": "too-many-segments";
|
|
58
|
+
"invalid-segment": "invalid-segment";
|
|
59
|
+
"invalid-virtual-name": "invalid-virtual-name";
|
|
60
|
+
"empty-virtual-name": "empty-virtual-name";
|
|
61
|
+
}>;
|
|
62
|
+
message: z.ZodString;
|
|
63
|
+
input: z.ZodString;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
/**
|
|
66
|
+
* Bare model reference - no routing qualifier.
|
|
67
|
+
*
|
|
68
|
+
* The entire input is treated as the verbatim model name and resolved
|
|
69
|
+
* against the default adapter/provider at runtime.
|
|
70
|
+
*/
|
|
71
|
+
interface BareModelRef {
|
|
72
|
+
readonly kind: 'bare';
|
|
73
|
+
/** Verbatim model name as provided by the caller (for example `'sonnet'`). */
|
|
74
|
+
readonly model: string;
|
|
75
|
+
}
|
|
76
|
+
/** Zod schema for {@link BareModelRef}. */
|
|
77
|
+
declare const BareModelRefSchema: z.ZodObject<{
|
|
78
|
+
kind: z.ZodLiteral<"bare">;
|
|
79
|
+
model: z.ZodString;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
/**
|
|
82
|
+
* Qualified model reference - one or two routing segments followed by `'::'` and a model name.
|
|
83
|
+
*
|
|
84
|
+
* Routing segments are case-normalised to lowercase during parsing.
|
|
85
|
+
* The model name is passed through verbatim.
|
|
86
|
+
*/
|
|
87
|
+
interface QualifiedModelRef {
|
|
88
|
+
readonly kind: 'qualified';
|
|
89
|
+
/** First routing segment - adapter or provider slug, lowercased. */
|
|
90
|
+
readonly segment1: string;
|
|
91
|
+
/** Second routing segment - provider slug when `segment1` is an adapter, lowercased. */
|
|
92
|
+
readonly segment2?: string;
|
|
93
|
+
/** Verbatim model name appearing after `'::'`. */
|
|
94
|
+
readonly model: string;
|
|
95
|
+
}
|
|
96
|
+
/** Zod schema for {@link QualifiedModelRef}. */
|
|
97
|
+
declare const QualifiedModelRefSchema: z.ZodObject<{
|
|
98
|
+
kind: z.ZodLiteral<"qualified">;
|
|
99
|
+
segment1: z.ZodString;
|
|
100
|
+
segment2: z.ZodOptional<z.ZodString>;
|
|
101
|
+
model: z.ZodString;
|
|
102
|
+
}, z.core.$strip>;
|
|
103
|
+
/**
|
|
104
|
+
* Virtual model reference - a logical alias introduced with the `'~'` sigil.
|
|
105
|
+
*
|
|
106
|
+
* Hosts may translate this higher-level reference through the existing
|
|
107
|
+
* virtual-model resolution seam. The framework-owned canonical-model resolver
|
|
108
|
+
* intentionally does not consume this parsed form.
|
|
109
|
+
*/
|
|
110
|
+
interface VirtualModelRef {
|
|
111
|
+
readonly kind: 'virtual';
|
|
112
|
+
/** Virtual model name without the leading `'~'` sigil. */
|
|
113
|
+
readonly name: string;
|
|
114
|
+
}
|
|
115
|
+
/** Zod schema for {@link VirtualModelRef}. */
|
|
116
|
+
declare const VirtualModelRefSchema: z.ZodObject<{
|
|
117
|
+
kind: z.ZodLiteral<"virtual">;
|
|
118
|
+
name: z.ZodString;
|
|
119
|
+
}, z.core.$strip>;
|
|
120
|
+
/**
|
|
121
|
+
* Discriminated union of all successfully parsed canonical model forms.
|
|
122
|
+
*
|
|
123
|
+
* Narrow with `result.kind` or use the {@link isCanonicalModelParseError} type
|
|
124
|
+
* guard to separate success from failure.
|
|
125
|
+
*/
|
|
126
|
+
type ParsedCanonicalModel = BareModelRef | QualifiedModelRef | VirtualModelRef;
|
|
127
|
+
/** Zod schema for {@link ParsedCanonicalModel}. */
|
|
128
|
+
declare const ParsedCanonicalModelSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
129
|
+
kind: z.ZodLiteral<"bare">;
|
|
130
|
+
model: z.ZodString;
|
|
131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
132
|
+
kind: z.ZodLiteral<"qualified">;
|
|
133
|
+
segment1: z.ZodString;
|
|
134
|
+
segment2: z.ZodOptional<z.ZodString>;
|
|
135
|
+
model: z.ZodString;
|
|
136
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
137
|
+
kind: z.ZodLiteral<"virtual">;
|
|
138
|
+
name: z.ZodString;
|
|
139
|
+
}, z.core.$strip>], "kind">;
|
|
140
|
+
/**
|
|
141
|
+
* Framework-resolvable parsed canonical model forms.
|
|
142
|
+
*
|
|
143
|
+
* Host-only `kind: 'virtual'` expansion is intentionally excluded from the
|
|
144
|
+
* framework resolver contract.
|
|
145
|
+
*/
|
|
146
|
+
type ResolvableCanonicalModel = BareModelRef | QualifiedModelRef;
|
|
147
|
+
/** Zod schema for {@link ResolvableCanonicalModel}. */
|
|
148
|
+
declare const ResolvableCanonicalModelSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
149
|
+
kind: z.ZodLiteral<"bare">;
|
|
150
|
+
model: z.ZodString;
|
|
151
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
152
|
+
kind: z.ZodLiteral<"qualified">;
|
|
153
|
+
segment1: z.ZodString;
|
|
154
|
+
segment2: z.ZodOptional<z.ZodString>;
|
|
155
|
+
model: z.ZodString;
|
|
156
|
+
}, z.core.$strip>], "kind">;
|
|
157
|
+
/**
|
|
158
|
+
* Result of parsing a canonical model string.
|
|
159
|
+
*
|
|
160
|
+
* Either a successfully parsed {@link ParsedCanonicalModel} or a
|
|
161
|
+
* {@link CanonicalModelParseError} describing why parsing failed.
|
|
162
|
+
*/
|
|
163
|
+
type CanonicalModelParseResult = ParsedCanonicalModel | CanonicalModelParseError;
|
|
164
|
+
/** Zod schema for {@link CanonicalModelParseResult}. */
|
|
165
|
+
declare const CanonicalModelParseResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
166
|
+
kind: z.ZodLiteral<"bare">;
|
|
167
|
+
model: z.ZodString;
|
|
168
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
169
|
+
kind: z.ZodLiteral<"qualified">;
|
|
170
|
+
segment1: z.ZodString;
|
|
171
|
+
segment2: z.ZodOptional<z.ZodString>;
|
|
172
|
+
model: z.ZodString;
|
|
173
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
174
|
+
kind: z.ZodLiteral<"virtual">;
|
|
175
|
+
name: z.ZodString;
|
|
176
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
177
|
+
kind: z.ZodLiteral<"parse-error">;
|
|
178
|
+
code: z.ZodEnum<{
|
|
179
|
+
empty: "empty";
|
|
180
|
+
"empty-model": "empty-model";
|
|
181
|
+
"empty-routing": "empty-routing";
|
|
182
|
+
"empty-segment": "empty-segment";
|
|
183
|
+
"too-many-segments": "too-many-segments";
|
|
184
|
+
"invalid-segment": "invalid-segment";
|
|
185
|
+
"invalid-virtual-name": "invalid-virtual-name";
|
|
186
|
+
"empty-virtual-name": "empty-virtual-name";
|
|
187
|
+
}>;
|
|
188
|
+
message: z.ZodString;
|
|
189
|
+
input: z.ZodString;
|
|
190
|
+
}, z.core.$strip>], "kind">;
|
|
191
|
+
//#endregion
|
|
192
|
+
//#region core/contracts/src/canonical-model/parser.d.ts
|
|
193
|
+
/**
|
|
194
|
+
* Matches a valid routing segment: starts with `[a-z0-9]`, followed by
|
|
195
|
+
* `[a-z0-9._-]*`.
|
|
196
|
+
*
|
|
197
|
+
* Exported so other schema layers can share the same routing constraint.
|
|
198
|
+
*/
|
|
199
|
+
declare const SEGMENT_RE: RegExp;
|
|
200
|
+
/**
|
|
201
|
+
* Matches a valid virtual model name: starts with `[a-z0-9]`, followed by
|
|
202
|
+
* `[a-z0-9_-]*`.
|
|
203
|
+
*
|
|
204
|
+
* Exported so host-owned virtual-model schemas can enforce the same naming
|
|
205
|
+
* rule at write time.
|
|
206
|
+
*/
|
|
207
|
+
declare const VIRTUAL_NAME_RE: RegExp;
|
|
208
|
+
/**
|
|
209
|
+
* Parse a canonical model string into a structured reference.
|
|
210
|
+
*
|
|
211
|
+
* The grammar is:
|
|
212
|
+
* ```
|
|
213
|
+
* canonical := "~" virtual_model_name
|
|
214
|
+
* | routing "::" model_name
|
|
215
|
+
* | model_name
|
|
216
|
+
*
|
|
217
|
+
* routing := segment
|
|
218
|
+
* | segment "/" segment
|
|
219
|
+
*
|
|
220
|
+
* segment := [a-z0-9][a-z0-9._-]*
|
|
221
|
+
* model_name := <any non-empty string>
|
|
222
|
+
* virtual_model_name := [a-z0-9][a-z0-9_-]*
|
|
223
|
+
* ```
|
|
224
|
+
*
|
|
225
|
+
* Routing segments are lowercased during parsing because they are
|
|
226
|
+
* case-insensitive for matching purposes. Model names are passed through
|
|
227
|
+
* verbatim as they are provider-defined and case-sensitive.
|
|
228
|
+
* @param input - The canonical model string to parse
|
|
229
|
+
* @returns A parsed reference or a parse error
|
|
230
|
+
*/
|
|
231
|
+
declare function parseCanonicalModel(input: string): CanonicalModelParseResult;
|
|
232
|
+
/**
|
|
233
|
+
* Type guard for distinguishing parse errors from successful parse results.
|
|
234
|
+
* @param result - The parse result to check
|
|
235
|
+
* @returns `true` when the result is a parse error
|
|
236
|
+
*/
|
|
237
|
+
declare function isCanonicalModelParseError(result: CanonicalModelParseResult): result is CanonicalModelParseError;
|
|
238
|
+
//#endregion
|
|
239
|
+
//#region core/contracts/src/canonical-model/selection.d.ts
|
|
240
|
+
/**
|
|
241
|
+
* Agent selection for `kind: 'canonical-model'`.
|
|
242
|
+
*
|
|
243
|
+
* The `model` field carries the canonical model reference string verbatim.
|
|
244
|
+
* Resolution happens immediately at the `AgentResolutionSubjects.resolve`
|
|
245
|
+
* chokepoint, so this kind never persists into runtime spawn paths.
|
|
246
|
+
*/
|
|
247
|
+
declare const CanonicalModelSelectionSchema: z.ZodObject<{
|
|
248
|
+
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
249
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
250
|
+
none: "none";
|
|
251
|
+
low: "low";
|
|
252
|
+
medium: "medium";
|
|
253
|
+
high: "high";
|
|
254
|
+
"extra-high": "extra-high";
|
|
255
|
+
}>>;
|
|
256
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
257
|
+
systemPrompt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
258
|
+
mode: z.ZodLiteral<"append">;
|
|
259
|
+
content: z.ZodString;
|
|
260
|
+
}, z.core.$strip>]>>;
|
|
261
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
262
|
+
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
263
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
264
|
+
mcpSessionContext: z.ZodOptional<z.ZodObject<{
|
|
265
|
+
sessionId: z.ZodString;
|
|
266
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
267
|
+
name: z.ZodString;
|
|
268
|
+
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
269
|
+
type: z.ZodLiteral<"stdio">;
|
|
270
|
+
command: z.ZodString;
|
|
271
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
272
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
273
|
+
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
274
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
275
|
+
url: z.ZodString;
|
|
276
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
277
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
278
|
+
name: z.ZodString;
|
|
279
|
+
permission_policy: z.ZodEnum<{
|
|
280
|
+
always_allow: "always_allow";
|
|
281
|
+
always_ask: "always_ask";
|
|
282
|
+
always_deny: "always_deny";
|
|
283
|
+
}>;
|
|
284
|
+
}, z.core.$strip>>>;
|
|
285
|
+
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
286
|
+
type: z.ZodLiteral<"sse">;
|
|
287
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
288
|
+
url: z.ZodString;
|
|
289
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
290
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
291
|
+
name: z.ZodString;
|
|
292
|
+
permission_policy: z.ZodEnum<{
|
|
293
|
+
always_allow: "always_allow";
|
|
294
|
+
always_ask: "always_ask";
|
|
295
|
+
always_deny: "always_deny";
|
|
296
|
+
}>;
|
|
297
|
+
}, z.core.$strip>>>;
|
|
298
|
+
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
299
|
+
type: z.ZodLiteral<"http">;
|
|
300
|
+
}, z.core.$strip>], "type">;
|
|
301
|
+
exposureMode: z.ZodEnum<{
|
|
302
|
+
direct: "direct";
|
|
303
|
+
discovery: "discovery";
|
|
304
|
+
}>;
|
|
305
|
+
}, z.core.$strip>>;
|
|
306
|
+
directTools: z.ZodArray<z.ZodObject<{
|
|
307
|
+
fullName: z.ZodString;
|
|
308
|
+
originalName: z.ZodString;
|
|
309
|
+
serverName: z.ZodString;
|
|
310
|
+
description: z.ZodOptional<z.ZodString>;
|
|
311
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
312
|
+
exposureMode: z.ZodEnum<{
|
|
313
|
+
hidden: "hidden";
|
|
314
|
+
direct: "direct";
|
|
315
|
+
discovery: "discovery";
|
|
316
|
+
}>;
|
|
317
|
+
enabled: z.ZodBoolean;
|
|
318
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
319
|
+
discovery: "discovery";
|
|
320
|
+
toolset: "toolset";
|
|
321
|
+
}>>;
|
|
322
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
323
|
+
exposed: z.ZodBoolean;
|
|
324
|
+
}, z.core.$strip>>;
|
|
325
|
+
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
326
|
+
fullName: z.ZodString;
|
|
327
|
+
originalName: z.ZodString;
|
|
328
|
+
serverName: z.ZodString;
|
|
329
|
+
description: z.ZodOptional<z.ZodString>;
|
|
330
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
331
|
+
exposureMode: z.ZodEnum<{
|
|
332
|
+
hidden: "hidden";
|
|
333
|
+
direct: "direct";
|
|
334
|
+
discovery: "discovery";
|
|
335
|
+
}>;
|
|
336
|
+
enabled: z.ZodBoolean;
|
|
337
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
338
|
+
discovery: "discovery";
|
|
339
|
+
toolset: "toolset";
|
|
340
|
+
}>>;
|
|
341
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
342
|
+
exposed: z.ZodBoolean;
|
|
343
|
+
}, z.core.$strip>>;
|
|
344
|
+
}, z.core.$strip>>;
|
|
345
|
+
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
346
|
+
adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
347
|
+
kind: z.ZodLiteral<"canonical-model">;
|
|
348
|
+
model: z.ZodString;
|
|
349
|
+
}, z.core.$loose>;
|
|
350
|
+
type CanonicalModelSelection = z.infer<typeof CanonicalModelSelectionSchema>;
|
|
351
|
+
declare module '@makaio/framework/contracts' {
|
|
352
|
+
interface AgentSelectionKindMap {
|
|
353
|
+
'canonical-model': CanonicalModelSelection;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
//#endregion
|
|
357
|
+
//#region core/contracts/src/canonical-model/schemas.d.ts
|
|
358
|
+
/**
|
|
359
|
+
* Resolved adapter selection produced by framework canonical-model resolution.
|
|
360
|
+
*
|
|
361
|
+
* Canonical-model resolution is intentionally limited to adapter/provider/model
|
|
362
|
+
* routing. Host-only virtual-model expansion happens at the higher-level
|
|
363
|
+
* agent-resolution seam.
|
|
364
|
+
*/
|
|
365
|
+
declare const CanonicalModelResolvedSelectionSchema: z.ZodObject<{
|
|
366
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
367
|
+
none: "none";
|
|
368
|
+
low: "low";
|
|
369
|
+
medium: "medium";
|
|
370
|
+
high: "high";
|
|
371
|
+
"extra-high": "extra-high";
|
|
372
|
+
}>>;
|
|
373
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
374
|
+
systemPrompt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
375
|
+
mode: z.ZodLiteral<"append">;
|
|
376
|
+
content: z.ZodString;
|
|
377
|
+
}, z.core.$strip>]>>;
|
|
378
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
379
|
+
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
380
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
381
|
+
mcpSessionContext: z.ZodOptional<z.ZodObject<{
|
|
382
|
+
sessionId: z.ZodString;
|
|
383
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
384
|
+
name: z.ZodString;
|
|
385
|
+
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
386
|
+
type: z.ZodLiteral<"stdio">;
|
|
387
|
+
command: z.ZodString;
|
|
388
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
389
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
390
|
+
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
391
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
392
|
+
url: z.ZodString;
|
|
393
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
394
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
395
|
+
name: z.ZodString;
|
|
396
|
+
permission_policy: z.ZodEnum<{
|
|
397
|
+
always_allow: "always_allow";
|
|
398
|
+
always_ask: "always_ask";
|
|
399
|
+
always_deny: "always_deny";
|
|
400
|
+
}>;
|
|
401
|
+
}, z.core.$strip>>>;
|
|
402
|
+
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
403
|
+
type: z.ZodLiteral<"sse">;
|
|
404
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
405
|
+
url: z.ZodString;
|
|
406
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
407
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
408
|
+
name: z.ZodString;
|
|
409
|
+
permission_policy: z.ZodEnum<{
|
|
410
|
+
always_allow: "always_allow";
|
|
411
|
+
always_ask: "always_ask";
|
|
412
|
+
always_deny: "always_deny";
|
|
413
|
+
}>;
|
|
414
|
+
}, z.core.$strip>>>;
|
|
415
|
+
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
416
|
+
type: z.ZodLiteral<"http">;
|
|
417
|
+
}, z.core.$strip>], "type">;
|
|
418
|
+
exposureMode: z.ZodEnum<{
|
|
419
|
+
direct: "direct";
|
|
420
|
+
discovery: "discovery";
|
|
421
|
+
}>;
|
|
422
|
+
}, z.core.$strip>>;
|
|
423
|
+
directTools: z.ZodArray<z.ZodObject<{
|
|
424
|
+
fullName: z.ZodString;
|
|
425
|
+
originalName: z.ZodString;
|
|
426
|
+
serverName: z.ZodString;
|
|
427
|
+
description: z.ZodOptional<z.ZodString>;
|
|
428
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
429
|
+
exposureMode: z.ZodEnum<{
|
|
430
|
+
hidden: "hidden";
|
|
431
|
+
direct: "direct";
|
|
432
|
+
discovery: "discovery";
|
|
433
|
+
}>;
|
|
434
|
+
enabled: z.ZodBoolean;
|
|
435
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
436
|
+
discovery: "discovery";
|
|
437
|
+
toolset: "toolset";
|
|
438
|
+
}>>;
|
|
439
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
440
|
+
exposed: z.ZodBoolean;
|
|
441
|
+
}, z.core.$strip>>;
|
|
442
|
+
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
443
|
+
fullName: z.ZodString;
|
|
444
|
+
originalName: z.ZodString;
|
|
445
|
+
serverName: z.ZodString;
|
|
446
|
+
description: z.ZodOptional<z.ZodString>;
|
|
447
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
448
|
+
exposureMode: z.ZodEnum<{
|
|
449
|
+
hidden: "hidden";
|
|
450
|
+
direct: "direct";
|
|
451
|
+
discovery: "discovery";
|
|
452
|
+
}>;
|
|
453
|
+
enabled: z.ZodBoolean;
|
|
454
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
455
|
+
discovery: "discovery";
|
|
456
|
+
toolset: "toolset";
|
|
457
|
+
}>>;
|
|
458
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
459
|
+
exposed: z.ZodBoolean;
|
|
460
|
+
}, z.core.$strip>>;
|
|
461
|
+
}, z.core.$strip>>;
|
|
462
|
+
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
463
|
+
adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
464
|
+
adapterId: z.ZodOptional<z.ZodString>;
|
|
465
|
+
kind: z.ZodLiteral<"adapter">;
|
|
466
|
+
adapterName: z.ZodString;
|
|
467
|
+
providerConfigId: z.ZodString;
|
|
468
|
+
model: z.ZodString;
|
|
469
|
+
}, z.core.$loose>;
|
|
470
|
+
type CanonicalModelResolvedSelection = z.infer<typeof CanonicalModelResolvedSelectionSchema>;
|
|
471
|
+
/**
|
|
472
|
+
* Bus schemas for framework canonical-model resolution.
|
|
473
|
+
*
|
|
474
|
+
* Each key becomes a subject identifier as `canonicalModel.<key>`.
|
|
475
|
+
*/
|
|
476
|
+
declare const CanonicalModelSchemas: {
|
|
477
|
+
resolve: {
|
|
478
|
+
request: z.ZodObject<{
|
|
479
|
+
parsed: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
480
|
+
kind: z.ZodLiteral<"bare">;
|
|
481
|
+
model: z.ZodString;
|
|
482
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
483
|
+
kind: z.ZodLiteral<"qualified">;
|
|
484
|
+
segment1: z.ZodString;
|
|
485
|
+
segment2: z.ZodOptional<z.ZodString>;
|
|
486
|
+
model: z.ZodString;
|
|
487
|
+
}, z.core.$strip>], "kind">;
|
|
488
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
489
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
490
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
491
|
+
promptText: z.ZodOptional<z.ZodString>;
|
|
492
|
+
sessionContext: z.ZodOptional<z.ZodUnknown>;
|
|
493
|
+
}, z.core.$strip>>;
|
|
494
|
+
}, z.core.$strip>;
|
|
495
|
+
response: z.ZodObject<{
|
|
496
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
497
|
+
none: "none";
|
|
498
|
+
low: "low";
|
|
499
|
+
medium: "medium";
|
|
500
|
+
high: "high";
|
|
501
|
+
"extra-high": "extra-high";
|
|
502
|
+
}>>;
|
|
503
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
504
|
+
systemPrompt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
505
|
+
mode: z.ZodLiteral<"append">;
|
|
506
|
+
content: z.ZodString;
|
|
507
|
+
}, z.core.$strip>]>>;
|
|
508
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
509
|
+
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
510
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
511
|
+
mcpSessionContext: z.ZodOptional<z.ZodObject<{
|
|
512
|
+
sessionId: z.ZodString;
|
|
513
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
514
|
+
name: z.ZodString;
|
|
515
|
+
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
516
|
+
type: z.ZodLiteral<"stdio">;
|
|
517
|
+
command: z.ZodString;
|
|
518
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
519
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
520
|
+
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
521
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
522
|
+
url: z.ZodString;
|
|
523
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
524
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
525
|
+
name: z.ZodString;
|
|
526
|
+
permission_policy: z.ZodEnum<{
|
|
527
|
+
always_allow: "always_allow";
|
|
528
|
+
always_ask: "always_ask";
|
|
529
|
+
always_deny: "always_deny";
|
|
530
|
+
}>;
|
|
531
|
+
}, z.core.$strip>>>;
|
|
532
|
+
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
533
|
+
type: z.ZodLiteral<"sse">;
|
|
534
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
535
|
+
url: z.ZodString;
|
|
536
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
537
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
538
|
+
name: z.ZodString;
|
|
539
|
+
permission_policy: z.ZodEnum<{
|
|
540
|
+
always_allow: "always_allow";
|
|
541
|
+
always_ask: "always_ask";
|
|
542
|
+
always_deny: "always_deny";
|
|
543
|
+
}>;
|
|
544
|
+
}, z.core.$strip>>>;
|
|
545
|
+
alwaysLoad: z.ZodOptional<z.ZodBoolean>;
|
|
546
|
+
type: z.ZodLiteral<"http">;
|
|
547
|
+
}, z.core.$strip>], "type">;
|
|
548
|
+
exposureMode: z.ZodEnum<{
|
|
549
|
+
direct: "direct";
|
|
550
|
+
discovery: "discovery";
|
|
551
|
+
}>;
|
|
552
|
+
}, z.core.$strip>>;
|
|
553
|
+
directTools: z.ZodArray<z.ZodObject<{
|
|
554
|
+
fullName: z.ZodString;
|
|
555
|
+
originalName: z.ZodString;
|
|
556
|
+
serverName: z.ZodString;
|
|
557
|
+
description: z.ZodOptional<z.ZodString>;
|
|
558
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
559
|
+
exposureMode: z.ZodEnum<{
|
|
560
|
+
hidden: "hidden";
|
|
561
|
+
direct: "direct";
|
|
562
|
+
discovery: "discovery";
|
|
563
|
+
}>;
|
|
564
|
+
enabled: z.ZodBoolean;
|
|
565
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
566
|
+
discovery: "discovery";
|
|
567
|
+
toolset: "toolset";
|
|
568
|
+
}>>;
|
|
569
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
570
|
+
exposed: z.ZodBoolean;
|
|
571
|
+
}, z.core.$strip>>;
|
|
572
|
+
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
573
|
+
fullName: z.ZodString;
|
|
574
|
+
originalName: z.ZodString;
|
|
575
|
+
serverName: z.ZodString;
|
|
576
|
+
description: z.ZodOptional<z.ZodString>;
|
|
577
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
578
|
+
exposureMode: z.ZodEnum<{
|
|
579
|
+
hidden: "hidden";
|
|
580
|
+
direct: "direct";
|
|
581
|
+
discovery: "discovery";
|
|
582
|
+
}>;
|
|
583
|
+
enabled: z.ZodBoolean;
|
|
584
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
585
|
+
discovery: "discovery";
|
|
586
|
+
toolset: "toolset";
|
|
587
|
+
}>>;
|
|
588
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
589
|
+
exposed: z.ZodBoolean;
|
|
590
|
+
}, z.core.$strip>>;
|
|
591
|
+
}, z.core.$strip>>;
|
|
592
|
+
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
593
|
+
adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
594
|
+
adapterId: z.ZodOptional<z.ZodString>;
|
|
595
|
+
kind: z.ZodLiteral<"adapter">;
|
|
596
|
+
adapterName: z.ZodString;
|
|
597
|
+
providerConfigId: z.ZodString;
|
|
598
|
+
model: z.ZodString;
|
|
599
|
+
}, z.core.$loose>;
|
|
600
|
+
};
|
|
601
|
+
};
|
|
602
|
+
//#endregion
|
|
603
|
+
//#region core/contracts/src/canonical-model/namespace.d.ts
|
|
604
|
+
/** Bus namespace definition for framework canonical-model resolution. */
|
|
605
|
+
declare const CanonicalModelNamespace: _$_makaio_core0.BusNamespaceDefinition<"canonicalModel", {
|
|
606
|
+
resolve: {
|
|
607
|
+
request: _$zod.ZodObject<{
|
|
608
|
+
parsed: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
609
|
+
kind: _$zod.ZodLiteral<"bare">;
|
|
610
|
+
model: _$zod.ZodString;
|
|
611
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
612
|
+
kind: _$zod.ZodLiteral<"qualified">;
|
|
613
|
+
segment1: _$zod.ZodString;
|
|
614
|
+
segment2: _$zod.ZodOptional<_$zod.ZodString>;
|
|
615
|
+
model: _$zod.ZodString;
|
|
616
|
+
}, _$zod_v4_core0.$strip>], "kind">;
|
|
617
|
+
context: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
618
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
619
|
+
projectId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
620
|
+
promptText: _$zod.ZodOptional<_$zod.ZodString>;
|
|
621
|
+
sessionContext: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
622
|
+
}, _$zod_v4_core0.$strip>>;
|
|
623
|
+
}, _$zod_v4_core0.$strip>;
|
|
624
|
+
response: _$zod.ZodObject<{
|
|
625
|
+
reasoningEffort: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
626
|
+
none: "none";
|
|
627
|
+
low: "low";
|
|
628
|
+
medium: "medium";
|
|
629
|
+
high: "high";
|
|
630
|
+
"extra-high": "extra-high";
|
|
631
|
+
}>>;
|
|
632
|
+
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
633
|
+
systemPrompt: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
|
|
634
|
+
mode: _$zod.ZodLiteral<"append">;
|
|
635
|
+
content: _$zod.ZodString;
|
|
636
|
+
}, _$zod_v4_core0.$strip>]>>;
|
|
637
|
+
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
638
|
+
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
639
|
+
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
640
|
+
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
641
|
+
sessionId: _$zod.ZodString;
|
|
642
|
+
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
643
|
+
name: _$zod.ZodString;
|
|
644
|
+
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
645
|
+
type: _$zod.ZodLiteral<"stdio">;
|
|
646
|
+
command: _$zod.ZodString;
|
|
647
|
+
args: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
648
|
+
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
649
|
+
alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
650
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
651
|
+
url: _$zod.ZodString;
|
|
652
|
+
headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
653
|
+
tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
654
|
+
name: _$zod.ZodString;
|
|
655
|
+
permission_policy: _$zod.ZodEnum<{
|
|
656
|
+
always_allow: "always_allow";
|
|
657
|
+
always_ask: "always_ask";
|
|
658
|
+
always_deny: "always_deny";
|
|
659
|
+
}>;
|
|
660
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
661
|
+
alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
662
|
+
type: _$zod.ZodLiteral<"sse">;
|
|
663
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
664
|
+
url: _$zod.ZodString;
|
|
665
|
+
headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
666
|
+
tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
667
|
+
name: _$zod.ZodString;
|
|
668
|
+
permission_policy: _$zod.ZodEnum<{
|
|
669
|
+
always_allow: "always_allow";
|
|
670
|
+
always_ask: "always_ask";
|
|
671
|
+
always_deny: "always_deny";
|
|
672
|
+
}>;
|
|
673
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
674
|
+
alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
675
|
+
type: _$zod.ZodLiteral<"http">;
|
|
676
|
+
}, _$zod_v4_core0.$strip>], "type">;
|
|
677
|
+
exposureMode: _$zod.ZodEnum<{
|
|
678
|
+
direct: "direct";
|
|
679
|
+
discovery: "discovery";
|
|
680
|
+
}>;
|
|
681
|
+
}, _$zod_v4_core0.$strip>>;
|
|
682
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
683
|
+
fullName: _$zod.ZodString;
|
|
684
|
+
originalName: _$zod.ZodString;
|
|
685
|
+
serverName: _$zod.ZodString;
|
|
686
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
687
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
688
|
+
exposureMode: _$zod.ZodEnum<{
|
|
689
|
+
hidden: "hidden";
|
|
690
|
+
direct: "direct";
|
|
691
|
+
discovery: "discovery";
|
|
692
|
+
}>;
|
|
693
|
+
enabled: _$zod.ZodBoolean;
|
|
694
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
695
|
+
discovery: "discovery";
|
|
696
|
+
toolset: "toolset";
|
|
697
|
+
}>>;
|
|
698
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
699
|
+
exposed: _$zod.ZodBoolean;
|
|
700
|
+
}, _$zod_v4_core0.$strip>>;
|
|
701
|
+
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
702
|
+
fullName: _$zod.ZodString;
|
|
703
|
+
originalName: _$zod.ZodString;
|
|
704
|
+
serverName: _$zod.ZodString;
|
|
705
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
706
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
707
|
+
exposureMode: _$zod.ZodEnum<{
|
|
708
|
+
hidden: "hidden";
|
|
709
|
+
direct: "direct";
|
|
710
|
+
discovery: "discovery";
|
|
711
|
+
}>;
|
|
712
|
+
enabled: _$zod.ZodBoolean;
|
|
713
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
714
|
+
discovery: "discovery";
|
|
715
|
+
toolset: "toolset";
|
|
716
|
+
}>>;
|
|
717
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
718
|
+
exposed: _$zod.ZodBoolean;
|
|
719
|
+
}, _$zod_v4_core0.$strip>>;
|
|
720
|
+
}, _$zod_v4_core0.$strip>>;
|
|
721
|
+
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
722
|
+
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
723
|
+
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
724
|
+
kind: _$zod.ZodLiteral<"adapter">;
|
|
725
|
+
adapterName: _$zod.ZodString;
|
|
726
|
+
providerConfigId: _$zod.ZodString;
|
|
727
|
+
model: _$zod.ZodString;
|
|
728
|
+
}, _$zod_v4_core0.$loose>;
|
|
729
|
+
};
|
|
730
|
+
}>;
|
|
731
|
+
/** Typed subjects for canonical model bus operations. */
|
|
732
|
+
declare const CanonicalModelSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"canonicalModel", {
|
|
733
|
+
resolve: {
|
|
734
|
+
request: _$zod.ZodObject<{
|
|
735
|
+
parsed: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
736
|
+
kind: _$zod.ZodLiteral<"bare">;
|
|
737
|
+
model: _$zod.ZodString;
|
|
738
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
739
|
+
kind: _$zod.ZodLiteral<"qualified">;
|
|
740
|
+
segment1: _$zod.ZodString;
|
|
741
|
+
segment2: _$zod.ZodOptional<_$zod.ZodString>;
|
|
742
|
+
model: _$zod.ZodString;
|
|
743
|
+
}, _$zod_v4_core0.$strip>], "kind">;
|
|
744
|
+
context: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
745
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
746
|
+
projectId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
747
|
+
promptText: _$zod.ZodOptional<_$zod.ZodString>;
|
|
748
|
+
sessionContext: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
749
|
+
}, _$zod_v4_core0.$strip>>;
|
|
750
|
+
}, _$zod_v4_core0.$strip>;
|
|
751
|
+
response: _$zod.ZodObject<{
|
|
752
|
+
reasoningEffort: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
753
|
+
none: "none";
|
|
754
|
+
low: "low";
|
|
755
|
+
medium: "medium";
|
|
756
|
+
high: "high";
|
|
757
|
+
"extra-high": "extra-high";
|
|
758
|
+
}>>;
|
|
759
|
+
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
760
|
+
systemPrompt: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
|
|
761
|
+
mode: _$zod.ZodLiteral<"append">;
|
|
762
|
+
content: _$zod.ZodString;
|
|
763
|
+
}, _$zod_v4_core0.$strip>]>>;
|
|
764
|
+
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
765
|
+
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
766
|
+
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
767
|
+
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
768
|
+
sessionId: _$zod.ZodString;
|
|
769
|
+
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
770
|
+
name: _$zod.ZodString;
|
|
771
|
+
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
772
|
+
type: _$zod.ZodLiteral<"stdio">;
|
|
773
|
+
command: _$zod.ZodString;
|
|
774
|
+
args: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
775
|
+
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
776
|
+
alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
777
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
778
|
+
url: _$zod.ZodString;
|
|
779
|
+
headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
780
|
+
tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
781
|
+
name: _$zod.ZodString;
|
|
782
|
+
permission_policy: _$zod.ZodEnum<{
|
|
783
|
+
always_allow: "always_allow";
|
|
784
|
+
always_ask: "always_ask";
|
|
785
|
+
always_deny: "always_deny";
|
|
786
|
+
}>;
|
|
787
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
788
|
+
alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
789
|
+
type: _$zod.ZodLiteral<"sse">;
|
|
790
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
791
|
+
url: _$zod.ZodString;
|
|
792
|
+
headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
793
|
+
tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
794
|
+
name: _$zod.ZodString;
|
|
795
|
+
permission_policy: _$zod.ZodEnum<{
|
|
796
|
+
always_allow: "always_allow";
|
|
797
|
+
always_ask: "always_ask";
|
|
798
|
+
always_deny: "always_deny";
|
|
799
|
+
}>;
|
|
800
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
801
|
+
alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
802
|
+
type: _$zod.ZodLiteral<"http">;
|
|
803
|
+
}, _$zod_v4_core0.$strip>], "type">;
|
|
804
|
+
exposureMode: _$zod.ZodEnum<{
|
|
805
|
+
direct: "direct";
|
|
806
|
+
discovery: "discovery";
|
|
807
|
+
}>;
|
|
808
|
+
}, _$zod_v4_core0.$strip>>;
|
|
809
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
810
|
+
fullName: _$zod.ZodString;
|
|
811
|
+
originalName: _$zod.ZodString;
|
|
812
|
+
serverName: _$zod.ZodString;
|
|
813
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
814
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
815
|
+
exposureMode: _$zod.ZodEnum<{
|
|
816
|
+
hidden: "hidden";
|
|
817
|
+
direct: "direct";
|
|
818
|
+
discovery: "discovery";
|
|
819
|
+
}>;
|
|
820
|
+
enabled: _$zod.ZodBoolean;
|
|
821
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
822
|
+
discovery: "discovery";
|
|
823
|
+
toolset: "toolset";
|
|
824
|
+
}>>;
|
|
825
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
826
|
+
exposed: _$zod.ZodBoolean;
|
|
827
|
+
}, _$zod_v4_core0.$strip>>;
|
|
828
|
+
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
829
|
+
fullName: _$zod.ZodString;
|
|
830
|
+
originalName: _$zod.ZodString;
|
|
831
|
+
serverName: _$zod.ZodString;
|
|
832
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
833
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
834
|
+
exposureMode: _$zod.ZodEnum<{
|
|
835
|
+
hidden: "hidden";
|
|
836
|
+
direct: "direct";
|
|
837
|
+
discovery: "discovery";
|
|
838
|
+
}>;
|
|
839
|
+
enabled: _$zod.ZodBoolean;
|
|
840
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
841
|
+
discovery: "discovery";
|
|
842
|
+
toolset: "toolset";
|
|
843
|
+
}>>;
|
|
844
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
845
|
+
exposed: _$zod.ZodBoolean;
|
|
846
|
+
}, _$zod_v4_core0.$strip>>;
|
|
847
|
+
}, _$zod_v4_core0.$strip>>;
|
|
848
|
+
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
849
|
+
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
850
|
+
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
851
|
+
kind: _$zod.ZodLiteral<"adapter">;
|
|
852
|
+
adapterName: _$zod.ZodString;
|
|
853
|
+
providerConfigId: _$zod.ZodString;
|
|
854
|
+
model: _$zod.ZodString;
|
|
855
|
+
}, _$zod_v4_core0.$loose>;
|
|
856
|
+
};
|
|
857
|
+
}>, "canonicalModel">;
|
|
858
|
+
//#endregion
|
|
859
|
+
export { QualifiedModelRef as C, VirtualModelRef as D, ResolvableCanonicalModelSchema as E, VirtualModelRefSchema as O, ParsedCanonicalModelSchema as S, ResolvableCanonicalModel as T, CanonicalModelParseErrorCodeSchema as _, CanonicalModelSchemas as a, CanonicalModelParseResultSchema as b, SEGMENT_RE as c, parseCanonicalModel as d, BareModelRef as f, CanonicalModelParseErrorCode as g, CanonicalModelParseError as h, CanonicalModelResolvedSelectionSchema as i, VIRTUAL_NAME_RE as l, CANONICAL_MODEL_PARSE_ERROR_CODES as m, CanonicalModelSubjects as n, CanonicalModelSelection as o, BareModelRefSchema as p, CanonicalModelResolvedSelection as r, CanonicalModelSelectionSchema as s, CanonicalModelNamespace as t, isCanonicalModelParseError as u, CanonicalModelParseErrorSchema as v, QualifiedModelRefSchema as w, ParsedCanonicalModel as x, CanonicalModelParseResult as y };
|