@makaio/framework 1.0.0-dev-1785409369816 → 1.0.0-dev-1787670071418
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/.makaio-build.json +4 -3
- package/dist/{account-identity-DFx8pwKL.mjs → account-identity-B3vLwm9O.mjs} +1 -1
- package/dist/adapter-Dz1fX5Wa.mjs +1 -0
- package/dist/adapter-subsystem/index.d.mts +194 -20
- package/dist/adapter-subsystem/index.mjs +1 -1
- package/dist/adapters/acp-client/index.d.mts +105 -7
- package/dist/adapters/acp-client/index.mjs +2 -2
- package/dist/adapters/claude/index.d.mts +5 -5
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +405 -824
- package/dist/adapters/index.mjs +6 -6
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/adapters/stream-session/index.d.mts +28 -7
- package/dist/adapters/stream-session/index.mjs +1 -1
- package/dist/{ajv-DD3SIL2i.mjs → ajv-krzJXh1X.mjs} +2 -2
- package/dist/artifact-Btbuib48.mjs +1 -0
- package/dist/attach-error-Cb3GbeKe.mjs +1 -0
- package/dist/{auth-DGEdiHF6.mjs → auth-C6tVtaOX.mjs} +1 -1
- package/dist/authority-state-bootstrap-CLYus369.mjs +1 -0
- package/dist/automation-trigger-ByjNlClm.mjs +1 -0
- package/dist/await-trigger-Bkg2BQfg.mjs +1 -0
- package/dist/bus/index.d.mts +41 -9
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-D6NoBhIV.mjs +2 -0
- package/dist/bus-UgFdHybD.mjs +1 -0
- package/dist/caller-owned-adapter-stub-C1M7FKrv.mjs +1 -0
- package/dist/{canonical-model-BAytQ4NV.mjs → canonical-model-DXOvCaVg.mjs} +1 -1
- package/dist/capabilities-BUwuA7XX.mjs +1 -0
- package/dist/capability-j3NekkIu.mjs +1 -0
- package/dist/{client-DbS847wW.mjs → client-BkznbdsO.mjs} +1 -1
- package/dist/clients/index.d.mts +2 -2
- package/dist/clients/index.mjs +1 -1
- package/dist/clients/managed-install.d.mts +1 -1
- package/dist/clients/managed-install.mjs +1 -1
- package/dist/code-execution/worker-entry.d.mts +21 -0
- package/dist/code-execution/worker-entry.mjs +1 -0
- package/dist/code-execution-Ckmn8OZu.mjs +1 -0
- package/dist/code-execution-CweDSWco.mjs +1 -0
- package/dist/code-execution-DqkQjKa1.mjs +1 -0
- package/dist/{compression-74fFeBha.mjs → compression-CtgeVLpP.mjs} +1 -1
- package/dist/{config-namespace-TVX-hG4I.mjs → config-namespace-CjWvw8ij.mjs} +1 -1
- package/dist/{context-resolution-DdyhpH4L.d.mts → context-resolution-841T7jBI.d.mts} +11 -11
- package/dist/contracts/adapter/index.d.mts +3 -3
- 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 +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/auth/index.d.mts +2 -2
- package/dist/contracts/auth/index.mjs +1 -1
- package/dist/contracts/automation-trigger/index.d.mts +4 -0
- package/dist/contracts/automation-trigger/index.mjs +1 -0
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/canonical-model/index.mjs +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.mjs +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/code-execution/index.d.mts +2 -0
- package/dist/contracts/code-execution/index.mjs +1 -0
- 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 +6 -5
- 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 +171 -100
- 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/provider/index.mjs +1 -1
- package/dist/contracts/reaction/index.d.mts +2 -0
- package/dist/contracts/reaction/index.mjs +1 -0
- package/dist/contracts/session/index.d.mts +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +3 -3
- package/dist/contracts/shared/index.mjs +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/timeout/index.mjs +1 -1
- package/dist/contracts/toast/index.mjs +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/variant/index.mjs +1 -1
- package/dist/contracts/worker-node/index.d.mts +1 -1
- package/dist/contracts/worker-node/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +3 -3
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/contribution-CUHLVLsT.d.mts +35 -0
- package/dist/core/index.d.mts +84 -2
- package/dist/core/index.mjs +1 -1
- package/dist/{definition-CJfiv8xm.mjs → definition-BH4QLGLI.mjs} +1 -1
- package/dist/definition-DyGImhyi.d.mts +375 -0
- package/dist/{detached-extension-handle-Ddfquy5_.mjs → detached-extension-handle-D0aI0pJA.mjs} +1 -1
- package/dist/drizzle/0031_adapter_session_currency.sql +66 -0
- package/dist/drizzle/0032_native_session_ownership.sql +77 -0
- package/dist/drizzle/0033_m_msf3hu2s.sql +1 -0
- package/dist/drizzle/0034_m_msha1388.sql +41 -0
- package/dist/drizzle/0035_m_mshgj6x7.sql +40 -0
- package/dist/drizzle/0036_m_msivwbgm.sql +1 -0
- package/dist/drizzle/0037_runtime_instance_incarnation_counter.sql +6 -0
- package/dist/drizzle/meta/_journal.json +49 -0
- package/dist/event-B8ELuk6k.mjs +1 -0
- package/dist/{execution-attempt-repository-DWXKY41_.d.mts → execution-attempt-repository-BJ2W6wwx.d.mts} +1 -1
- package/dist/{execution-target-Cf645pDj.mjs → execution-target-H0RWV7Py.mjs} +1 -1
- package/dist/extension-Bfkr2DBs.mjs +1 -0
- package/dist/extension-Cz39YNXy.mjs +1 -0
- package/dist/extension-context-QmFuHdq5.d.mts +295 -0
- package/dist/{extension-discovery-CQRdbVQ6.d.mts → extension-discovery-Dhu3WplO.d.mts} +11 -1
- package/dist/{extension-namespace-Yu41YepM.mjs → extension-namespace-QoTTwKPt.mjs} +1 -1
- package/dist/extension-package-provenance-aYrZuS4W.mjs +1 -0
- package/dist/{filesystem-service-DlP2HfDg.mjs → filesystem-service-CiUw0YN5.mjs} +1 -1
- package/dist/framework-packages-BHgul8Kl.mjs +1 -0
- package/dist/git/index.mjs +2 -2
- package/dist/{globby-1yCVCk8s.mjs → globby-QBDqstzq.mjs} +1 -1
- package/dist/handlers-BsHAFtye.mjs +57 -0
- package/dist/{harness-DpwsFsE7.mjs → harness-YQ2ewID9.mjs} +1 -1
- package/dist/{hook-responses-Dh1PWXqJ.d.mts → hook-responses-9Ywsqzzq.d.mts} +2 -293
- package/dist/identity-OjRlG6dZ.mjs +1 -0
- package/dist/{index-CMgLxw14.d.mts → index-8NdPPzUh2.d.mts} +2 -2
- package/dist/{index-Ds5_rDEJ.d.mts → index-8y4hT9WL.d.mts} +1 -12
- package/dist/{index-BVlXneHH.d.mts → index-B-3I98nw.d.mts} +14 -10
- package/dist/index-B0VO0rAl.d.mts +302 -0
- package/dist/{index-gUhidukN.d.mts → index-B0yMCJW8.d.mts} +324 -2
- package/dist/index-BM56936c.d.mts +165 -0
- package/dist/{index-CLvQsL6s2.d.mts → index-BNzUyVwV.d.mts} +2105 -320
- package/dist/{index-BaZeoZoS.d.mts → index-BTEJfzjE.d.mts} +1 -1
- package/dist/{index-B0Kf_OWi.d.mts → index-BfV8U4XX.d.mts} +1 -1
- package/dist/{index-DCZ8BX9S.d.mts → index-BkbnC65b.d.mts} +487 -85
- package/dist/{index-GHASUiem.d.mts → index-BmevAPME2.d.mts} +1 -1
- package/dist/index-Bqk0pJBQ2.d.mts +138 -0
- package/dist/{index-B9UW_vPM.d.mts → index-C146Eq_J.d.mts} +2465 -273
- package/dist/{index-BAXkicoQ.d.mts → index-CIEycZrt.d.mts} +1 -1
- package/dist/{index-DkiTJM5p.d.mts → index-CMekqu_D.d.mts} +44 -10
- package/dist/{index-SsBHjUqA.d.mts → index-CPRQ4dWX.d.mts} +0 -23
- package/dist/{index-EjsSBQXy2.d.mts → index-CPi0UpRh.d.mts} +1 -1
- package/dist/{index-DSBT83c0.d.mts → index-CYjgoYeX.d.mts} +24 -3
- package/dist/{index-DnG-QFpG.d.mts → index-CmwAJ8-5.d.mts} +18 -1
- package/dist/index-Cny5RvjO.d.mts +800 -0
- package/dist/{index-BNMnIe-j.d.mts → index-D-4jv_66.d.mts} +434 -863
- package/dist/{index-brqfk9JQ.d.mts → index-D8D-yibS2.d.mts} +4 -4
- package/dist/index-DHnSLGP4.d.mts +268 -0
- package/dist/{index-D5Nb7IEP.d.mts → index-DI2lS7VT.d.mts} +79 -41
- package/dist/{index-D_ODXsBv.d.mts → index-DJ2KgJDJ2.d.mts} +51 -95
- package/dist/{index-cqLS1eFV.d.mts → index-DNI6UF9h.d.mts} +133 -134
- package/dist/index-DQ8o3JGi.d.mts +132 -0
- package/dist/index-DWBkiiXH.d.mts +18 -0
- package/dist/{index-DlsHL9Jg.d.mts → index-DXtQRehh.d.mts} +12 -12
- package/dist/{index-4VfqCjl2.d.mts → index-D_4K3Tf_.d.mts} +79 -194
- package/dist/index-Dg11JxKZ.d.mts +496 -0
- package/dist/json-value-BBZ6uGwc.mjs +1 -0
- package/dist/json-value-DPqb-SJ8.d.mts +177 -0
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/index.mjs +1 -1
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/cli/register.mjs +1 -1
- package/dist/kernel/cli/schemas.mjs +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/extension/index.mjs +1 -1
- package/dist/kernel/index.d.mts +9 -9
- package/dist/kernel/index.mjs +1 -1
- package/dist/kernel/namespace/index.d.mts +2 -2
- 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-DErgth_E.mjs → lib-BpGvHZye.mjs} +2 -2
- package/dist/{lib-C7-s68uf.mjs → lib-Cm-uEoC1.mjs} +1 -1
- package/dist/{load-extensions-BxsDB87B.d.mts → load-extensions-BQoXaHhR.d.mts} +17 -13
- package/dist/load-extensions-DG5LvPyM.mjs +1 -0
- package/dist/{materialization-Jd198K3y.mjs → materialization-lVd9_-jr.mjs} +1 -1
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/model-DrzPt3ou.mjs +1 -0
- package/dist/{namespace-BqxtpNAn.mjs → namespace-BL7lHlmg.mjs} +1 -1
- package/dist/{namespace-CjjFvrIA2.d.mts → namespace-BNp7n_gu.d.mts} +25 -25
- package/dist/{namespace-g_mbIZq_.d.mts → namespace-BRuHzhPo.d.mts} +564 -28
- package/dist/{namespace-DV-Hr9sZ.d.mts → namespace-C06lJSuj.d.mts} +17 -7
- package/dist/{namespace-TseEI3Pu.d.mts → namespace-DOezqDti.d.mts} +18 -10
- package/dist/{namespace-CErHuXtb.d.mts → namespace-DknCutQZ.d.mts} +50 -0
- package/dist/{namespace-B8uKAzWJ.mjs → namespace-Du0accdE.mjs} +1 -1
- package/dist/{namespace-CWUDFGOy.mjs → namespace-NXm_zvL1.mjs} +1 -1
- package/dist/{namespace-CupOzbRv.d.mts → namespace-l-HG1rLF.d.mts} +24 -20
- package/dist/namespace-sCPb79-7.mjs +1 -0
- package/dist/{native-session-supervisor-DRx0MX-d.mjs → native-session-supervisor-LKio8XZn.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/npm-package-name-DuTYVICk.mjs +1 -0
- package/dist/orchestrator-shared-BGlN-m-V.mjs +1 -0
- package/dist/{orchestrator-shared-BHCv-l2O.d.mts → orchestrator-shared-CNHSImNY.d.mts} +10 -10
- package/dist/ownership-memory-handler-BpGdR_uG.mjs +1 -0
- package/dist/ownership-recovery-guard-DyW5vGBr.mjs +1 -0
- package/dist/package-B01gmu75.mjs +7 -0
- package/dist/{package-DWMxGfzK.d.mts → package-BNFTUFLB.d.mts} +234 -84
- package/dist/package-DttKA9wN.mjs +1 -0
- package/dist/package-EGTn-Ng1.mjs +1 -0
- package/dist/package-JtjbO-Oi.mjs +1 -0
- package/dist/package.json +1 -1
- package/dist/{profile-BTAI31Nt.mjs → profile-N5qGUpF0.mjs} +1 -1
- package/dist/{provider-context-PZIQWcqQ.mjs → provider-context-CG42JlP9.mjs} +1 -1
- package/dist/{provider-context-Dq53Cgzz.mjs → provider-context-zTDSH2x9.mjs} +1 -1
- package/dist/reaction-D3TNwPK8.mjs +1 -0
- package/dist/{registry-wfF2uTty.mjs → registry-Dk12tAfv.mjs} +2 -2
- package/dist/{resolved-DZgqql2Z.mjs → resolved-sq8RXNDf.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/rules/schemas.mjs +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/code-execution/index.d.mts +3 -0
- package/dist/runtime-node/code-execution/index.mjs +1 -0
- package/dist/runtime-node/extension-discovery.d.mts +2 -2
- package/dist/runtime-node/extension-discovery.mjs +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 +7 -5
- package/dist/runtime-node/index.mjs +24 -24
- 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-DKUb4rkr.d.mts → schema-B3Pf7JP7.d.mts} +778 -21
- package/dist/{schema-Dd-e89MO.mjs → schema-Dq-7si8u.mjs} +1 -1
- package/dist/{schemas-B1NWNASS.d.mts → schemas-BXc9qOpl.d.mts} +2 -0
- package/dist/schemas-BfO5jkrL.mjs +1 -0
- package/dist/{schemas-CR8hSqTy.d.mts → schemas-C1mxTfd7.d.mts} +60 -4
- package/dist/schemas-C3kyQWGf.mjs +1 -0
- package/dist/{schemas-DnYiAvfz.d.mts → schemas-D7ScxLrf.d.mts} +24 -20
- package/dist/{schemas-BsVYZviy.d.mts → schemas-OWvBn7AH.d.mts} +4 -4
- package/dist/{schemas-DaHQzpgm.mjs → schemas-QWDnauKX.mjs} +1 -1
- package/dist/schemas-TK29KWx-.mjs +1 -0
- package/dist/schemas-_2Syo_01.mjs +1 -0
- package/dist/scoped-bus-DoPmCJeM.mjs +1 -0
- package/dist/{selection-BNwTKEVT.mjs → selection-DL3ric7K.mjs} +1 -1
- package/dist/services/adapter-runtime/index.d.mts +4 -4
- 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 +2 -2
- package/dist/services/adapter-runtime/schemas.mjs +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +4 -4
- package/dist/services/adapter-subsystem/index.mjs +1 -1
- package/dist/services/adapter-subsystem/namespace.d.mts +2 -2
- 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/automation-trigger/index.d.mts +943 -0
- package/dist/services/automation-trigger/index.mjs +1 -0
- package/dist/services/capability/index.d.mts +3 -2
- package/dist/services/capability/index.mjs +1 -1
- package/dist/services/code-execution/index.d.mts +2 -0
- package/dist/services/code-execution/index.mjs +1 -0
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +1 -1
- package/dist/services/context-rules/index.mjs +1 -1
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/index.mjs +1 -1
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/namespace.mjs +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/execution-target/schemas.mjs +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.d.mts +18 -0
- package/dist/services/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.d.mts +10 -1
- package/dist/services/git/schemas.mjs +1 -1
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/index.d.mts +567 -101
- 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 +3 -3
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/log-import.mjs +1 -1
- package/dist/services/log-import/namespace.mjs +1 -1
- package/dist/services/log-import/schemas.mjs +1 -1
- package/dist/services/materialization/index.d.mts +1 -1
- package/dist/services/materialization/index.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 +2 -2
- package/dist/services/session/handlers/index.mjs +1 -1
- package/dist/services/session/index.d.mts +10 -10
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/messages/namespace.mjs +1 -1
- package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.mjs +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.mjs +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +2 -2
- package/dist/services/session/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.d.mts +33 -4
- package/dist/services/session/testing/index.mjs +68 -12
- package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session/turns/namespace.mjs +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/session-editor/index.mjs +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/index.mjs +1 -1
- package/dist/services/settings/namespace.mjs +1 -1
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/clients-namespace.mjs +1 -1
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/index.mjs +1 -1
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent/index.mjs +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/index.mjs +1 -1
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/services/workflow-transitions/index.d.mts +1 -1
- package/dist/services/workflow-transitions/index.mjs +1 -1
- package/dist/session-BOpTI79g.mjs +1 -0
- package/dist/session-CXOPk3yg.mjs +95 -0
- package/dist/shared-B9AWRm9A.mjs +1 -0
- package/dist/{skill-BR6rkfLe.mjs → skill-DGNtc_ww.mjs} +1 -1
- package/dist/{src-DD0v-nIj.mjs → src-BmSQ3rlz.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 +81 -2
- 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-BFDOFUGC.mjs +1 -0
- package/dist/{tools-PdG9fO1M.mjs → tools-DWKWX3eV.mjs} +1 -1
- package/dist/{transition-Du3MQzJV.d.mts → transition-D3zUBTPc.d.mts} +11 -38
- package/dist/{types-D7_kevBK.d.mts → types-BlB23n4f.d.mts} +1 -1
- package/dist/{types-DMLDHFR9.d.mts → types-CtDGkyLx2.d.mts} +1 -1
- package/dist/types-Cwza95hS.mjs +1 -0
- package/dist/{types-Dzrwa1GY.d.mts → types-DcxBYlPA.d.mts} +5834 -1436
- package/dist/types-DnK6Wa_Y.d.mts +260 -0
- package/dist/types-OKJCOjme.d.mts +2937 -0
- package/dist/ui-hooks/index.d.mts +29 -2
- package/dist/ui-hooks/index.mjs +1 -1
- package/dist/ui-kernel/index.d.mts +2 -2
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/ui-views/index.d.mts +1 -1
- package/dist/utils/index.d.mts +98 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/utils/project-manifest.mjs +1 -1
- package/dist/{version-CoCeMxDT.mjs → version-BYeVh1pI.mjs} +1 -1
- package/dist/{view-builder-DeFd-k7C.d.mts → view-builder-B0j9p5C0.d.mts} +4 -4
- package/dist/{visibility-qhGWmpSJ.mjs → visibility-DtDLRBdr.mjs} +1 -1
- package/dist/worker-node-CjuQb9hl.mjs +1 -0
- package/dist/{worker-node-DZTuT1DS.mjs → worker-node-Dtf9ilsR.mjs} +1 -1
- package/dist/workflow-C4mck_NW.mjs +1 -0
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/index.d.mts +237 -518
- 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/provider-operation.d.mts +1 -1
- package/dist/workflow-engine/testing/index.d.mts +2 -2
- package/dist/workflow-engine/testing/index.mjs +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.mjs +27 -27
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/workflow-engine/workflow-trigger-binding-consumer.d.mts +46 -0
- package/dist/workflow-engine/workflow-trigger-binding-consumer.mjs +1 -0
- package/dist/{workflow-transitions-DSc45ixc.mjs → workflow-transitions-c_VQbyV0.mjs} +1 -1
- package/dist/workflow-worker-aNbdgqml.mjs +1 -0
- package/dist/zod-json-schema-Dixc-B1T.mjs +1 -0
- package/package.json +46 -1
- package/dist/adapter-D5c5LrPN.mjs +0 -1
- package/dist/artifact-DGiXqb11.mjs +0 -1
- package/dist/attach-error-C3tngg6J.mjs +0 -1
- package/dist/authority-state-bootstrap-GPL_tqaT.mjs +0 -1
- package/dist/await-trigger-I3lrepb8.mjs +0 -1
- package/dist/bus-B6SAjgOC.mjs +0 -2
- package/dist/bus-C2l3K74u.mjs +0 -1
- package/dist/capabilities-BQEp34ir.mjs +0 -1
- package/dist/capability-service-BqiLlRGA.mjs +0 -1
- package/dist/event-CmVjR6Ib.mjs +0 -1
- package/dist/extension-DCA4pYrY.mjs +0 -1
- package/dist/extension-hjOPs10e.mjs +0 -1
- package/dist/framework-packages-C3RWfJDk.mjs +0 -1
- package/dist/handlers-CfnLyLfE.mjs +0 -57
- package/dist/identity-D6guMtmi.mjs +0 -1
- package/dist/index-CRvpVIqA.d.mts +0 -89
- package/dist/json-value-Brslhqbm.d.mts +0 -57
- package/dist/json-value-DmU8ibo_.mjs +0 -1
- package/dist/load-extensions-D0DfjYLC.mjs +0 -1
- package/dist/model-BGgVmRnN.mjs +0 -1
- package/dist/namespace-DJfUADSV.mjs +0 -1
- package/dist/orchestrator-shared-BxmHCPvx.mjs +0 -1
- package/dist/package-CNUPPcU1.mjs +0 -7
- package/dist/package-Dft_RItb.mjs +0 -1
- package/dist/schemas-CRB2O5zo.mjs +0 -1
- package/dist/schemas-Cm09dXL4.mjs +0 -1
- package/dist/schemas-tDf_WiC8.mjs +0 -1
- package/dist/scoped-bus-C9BdNwfM.mjs +0 -1
- package/dist/session-BOGCd18q.mjs +0 -1
- package/dist/session-BTFiDoGz.mjs +0 -76
- package/dist/shared-BQ0CHIVy.mjs +0 -1
- package/dist/tool-approval-service-kBA0fRzm.mjs +0 -1
- package/dist/types-CJ_QZ1yW.d.mts +0 -1487
- package/dist/worker-node-Bl9_vqYi.mjs +0 -1
- package/dist/workflow-BfDbgtIQ.mjs +0 -1
- package/dist/workflow-worker-BN9XPxQO.mjs +0 -1
- package/dist/{adapter-auth-runtime-DO-FVTXg.mjs → adapter-auth-runtime-DHHppU4f.mjs} +0 -0
- package/dist/{adapter-binding-DQchUtrK.d.mts → adapter-binding-CATvmGuz.d.mts} +0 -0
- package/dist/{attempt-record-codec-CqO1_XnE.mjs → attempt-record-codec-BYfYkj4M.mjs} +0 -0
- package/dist/{base-orchestrator-BilsQNW1.d.mts → base-orchestrator-B4YW6z_Q.d.mts} +0 -0
- package/dist/{index-DN4NOCqN2.d.mts → capability-service-BW1-teFU.d.mts} +0 -0
- package/dist/{client-B--e2qcU.d.mts → client-BG0WX5Vz.d.mts} +0 -0
- package/dist/{client-binary-version-verifier-taewmKTY.mjs → client-binary-version-verifier-0lCKZOTg.mjs} +0 -0
- package/dist/{client-binary-version-verifier-CgjM_vGF.d.mts → client-binary-version-verifier-lcv83Hq3.d.mts} +0 -0
- package/dist/{clients-namespace-DfxjG2ZP.d.mts → clients-namespace-DLAjOTTb.d.mts} +0 -0
- package/dist/{config-namespace-BCqvufbD.d.mts → config-namespace-CH7sJZ4f.d.mts} +0 -0
- package/dist/{create-static-mount-bbQhTt6W.mjs → create-static-mount-DxuixuLZ.mjs} +0 -0
- package/dist/{cross-spawn-B57KZuns.mjs → cross-spawn-CZygZJMH.mjs} +0 -0
- package/dist/{cursor-storage-DIFK_9hg.mjs → cursor-storage-bsc9lZKk.mjs} +0 -0
- package/dist/{definition-gnKgXU91.d.mts → definition-BrgzUuFk.d.mts} +0 -0
- package/dist/{definitions-xrrY0wgz.mjs → definitions-CRpdnHYM.mjs} +0 -0
- package/dist/{descriptor-to-package-DvF08krT.mjs → descriptor-to-package-CcjdoWP4.mjs} +0 -0
- package/dist/{drizzle-z_0SiGY8.mjs → drizzle-Bzc-OGVI.mjs} +0 -0
- package/dist/{esm-CltRnX8_.mjs → esm-i-S5TW72.mjs} +0 -0
- package/dist/{facet-BCI00njh.mjs → facet-BnMh7Jyc.mjs} +0 -0
- package/dist/{filesystem-service-CQ9yVkSz.d.mts → filesystem-service-ZJ43SbBi.d.mts} +0 -0
- package/dist/{handler-Cbv9FqDO.mjs → handler-DF1fVDpf.mjs} +0 -0
- package/dist/{host-Caq6ZfSJ.mjs → host-B-_ntOMH.mjs} +0 -0
- package/dist/{index-ye0oklfU.d.mts → index-B2Y1Wvbh.d.mts} +0 -0
- package/dist/{index-Cv-o5Krs.d.mts → index-B4svZC6L.d.mts} +0 -0
- package/dist/{index-DZunhZec.d.mts → index-B5dP8rj6.d.mts} +0 -0
- package/dist/{index-jTaAHsul.d.mts → index-BC-6qNeo.d.mts} +0 -0
- package/dist/{index-ByKi34v5.d.mts → index-BFWvT0NG.d.mts} +0 -0
- package/dist/{index-vA--0lOM.d.mts → index-BMRB9yhF.d.mts} +0 -0
- package/dist/{index-BskPjMet.d.mts → index-BuMsrli0.d.mts} +0 -0
- package/dist/{index-DR40QWlw.d.mts → index-C4V8Pmi4.d.mts} +0 -0
- package/dist/{index-BIdsFcQs2.d.mts → index-CL0Jo1b92.d.mts} +0 -0
- package/dist/{index-CjdRdsd0.d.mts → index-CVpaGijY.d.mts} +0 -0
- package/dist/{index-vcSj12YQ.d.mts → index-CmbkCxj-.d.mts} +0 -0
- package/dist/{index-sS6KUlrx.d.mts → index-CqdMbYmR.d.mts} +0 -0
- package/dist/{index-CnMu8BQl.d.mts → index-D037TVsm.d.mts} +0 -0
- package/dist/{index-CGZQVTid.d.mts → index-DgspOUa72.d.mts} +0 -0
- package/dist/{index-dtsLKOID.d.mts → index-Ek4y8M9J2.d.mts} +0 -0
- package/dist/{index-DjgLchuQ.d.mts → index-VzLAV0Yt.d.mts} +0 -0
- package/dist/{index-DXN_L5D6.d.mts → index-jxPncqWZ2.d.mts} +0 -0
- package/dist/{index-BVRQEpAg.d.mts → index-kzIjbrS02.d.mts} +6 -6
- /package/dist/{index-Dm1nUxCF.d.mts → index-l01zsChf.d.mts} +0 -0
- /package/dist/{index-CWHfOz6d.d.mts → index-pvX-BIpr2.d.mts} +0 -0
- /package/dist/{jsonl-transport-bQl3JwIu.mjs → jsonl-transport-Cyyh5Wje.mjs} +0 -0
- /package/dist/{lib-DOBXZmYX.mjs → lib-BqV8hYtk.mjs} +0 -0
- /package/dist/{model-registry-xyBKSye-.mjs → model-registry-C9rFu3kV.mjs} +0 -0
- /package/dist/{model-registry-CmgcPDH3.mjs → model-registry-Cixxx2jv.mjs} +0 -0
- /package/dist/{modes-BheyN7SS.mjs → modes-DwsJ3yVl.mjs} +0 -0
- /package/dist/{namespace-BOkKoq34.d.mts → namespace-B0ftHlK3.d.mts} +0 -0
- /package/dist/{namespace-YytVKIgI.d.mts → namespace-BGRHcrmp.d.mts} +0 -0
- /package/dist/{namespace-jDhZjw-i.d.mts → namespace-BUYDmd0r.d.mts} +0 -0
- /package/dist/{namespace-YxU1xf-K.mjs → namespace-BW3Bfu9h.mjs} +0 -0
- /package/dist/{namespace-DWCEo-9M.d.mts → namespace-BdAK0lD8.d.mts} +0 -0
- /package/dist/{namespace-Cv1RFP7n.d.mts → namespace-CPG6u60N.d.mts} +0 -0
- /package/dist/{namespace-GPA7zots.d.mts → namespace-CVFaZv8x.d.mts} +0 -0
- /package/dist/{namespace-Blp4c8GK.d.mts → namespace-DBO1OzYB.d.mts} +0 -0
- /package/dist/{namespace-C-9si-fV.mjs → namespace-DiwqpB-c.mjs} +0 -0
- /package/dist/{namespace-tGRAod3o.d.mts → namespace-DqZweTbX.d.mts} +0 -0
- /package/dist/{namespace-HO2J9sO8.mjs → namespace-jVTsuZHX.mjs} +0 -0
- /package/dist/{namespace-CWGKCNZm.mjs → namespace-tjoxekmf.mjs} +0 -0
- /package/dist/{out-CvjtANXN.mjs → out-8bOYN6EF.mjs} +0 -0
- /package/dist/{packages-DtEEP0Vt.mjs → packages-Bp124-gx.mjs} +0 -0
- /package/dist/{packages-BZ6pzFIq.d.mts → packages-CxPMEg8D.d.mts} +0 -0
- /package/dist/{platform-Bv8llU9c.mjs → platform-CxyYPrkf.mjs} +0 -0
- /package/dist/{provider-operation-Cxoe2SUr.d.mts → provider-operation-DbdyFwNm.d.mts} +0 -0
- /package/dist/{providers-Co5UszRH.mjs → providers-C-eekMxD.mjs} +0 -0
- /package/dist/{providers-namespace-DjFkmvBR.d.mts → providers-namespace-CfZKp-C0.d.mts} +0 -0
- /package/dist/{quick-lru-CrOpWwrf.mjs → quick-lru-CCEnf7y6.mjs} +0 -0
- /package/dist/{schema-Db-y-09L.mjs → schema-C0opCPww.mjs} +0 -0
- /package/dist/{schema-introspection-DgWQCpwx.mjs → schema-introspection-6-r_KEJQ.mjs} +0 -0
- /package/dist/{schemas-N6x2z7Lf.d.mts → schemas-B50oWBuj.d.mts} +0 -0
- /package/dist/{schemas-BO7uOum6.d.mts → schemas-B6Q-qdmn.d.mts} +0 -0
- /package/dist/{schemas-BGExwp3j.mjs → schemas-B8hKbBwI.mjs} +0 -0
- /package/dist/{schemas-miYxK_Z1.d.mts → schemas-BGvkTiCx.d.mts} +0 -0
- /package/dist/{schemas-CqRm0i9a.mjs → schemas-BivbWRkG.mjs} +0 -0
- /package/dist/{schemas-CwbYk_kZ.d.mts → schemas-ChmQldVH.d.mts} +0 -0
- /package/dist/{schemas-DrVg4aQQ.d.mts → schemas-Dd13TMgU.d.mts} +0 -0
- /package/dist/{schemas-BtZqovRH.d.mts → schemas-Pe892GgN.d.mts} +0 -0
- /package/dist/{schemas-CQyRBqD6.d.mts → schemas-bfZNpl0B.d.mts} +0 -0
- /package/dist/{schemas-Bfxskx_2.mjs → schemas-scyC2tFF.mjs} +0 -0
- /package/dist/{semver-DlM8znk4.mjs → semver-BI7kTNsY.mjs} +0 -0
- /package/dist/{server-lifecycle-kmQ5PUDv.mjs → server-lifecycle-B_OZnoe-.mjs} +0 -0
- /package/dist/{server-lifecycle-Dsq56aqC.d.mts → server-lifecycle-L8zja8t8.d.mts} +0 -0
- /package/dist/{session-lineage-B_JW5LpF.d.mts → session-lineage-bUkd3fqx.d.mts} +0 -0
- /package/dist/{shared-schemas-DXwyMCwZ.mjs → shared-schemas-CQ6blrEW.mjs} +0 -0
- /package/dist/{src-CCu8TwL6.mjs → src-BacfeiI4.mjs} +0 -0
- /package/dist/{storage-namespace-BSrv0vXR.mjs → storage-namespace-BZce8kkW.mjs} +0 -0
- /package/dist/{storage-namespace-dfywhXR3.d.mts → storage-namespace-YmE8XCCL.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-BvlX0QV_.d.mts → storage-namespace-definition-BsnYAPot.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-CkMKt7-I.mjs → storage-namespace-definition-Cca-zwXU.mjs} +0 -0
- /package/dist/{supports-color-DUugCQsK.mjs → supports-color-SV_FgSN2.mjs} +0 -0
- /package/dist/{telemetry-Pr3oP2rk.mjs → telemetry-BqoC87F-.mjs} +0 -0
- /package/dist/{timeout-DWDhddRJ.mjs → timeout-DVlN2Zhy.mjs} +0 -0
- /package/dist/{tray-menu-service-BBLa-Rcv.mjs → tray-menu-service-eVVxgPLc.mjs} +0 -0
- /package/dist/{types-BrcjaNPZ.d.mts → types-DdpSEmTO.d.mts} +0 -0
- /package/dist/{types-b54n1o57.d.mts → types-tyv0B605.d.mts} +0 -0
- /package/dist/{ui-config-CyCdlns_.mjs → ui-config-B35GloSX.mjs} +0 -0
- /package/dist/{variant-krjlTdJt.mjs → variant-Dwnge3J_.mjs} +0 -0
- /package/dist/{window-registry-I-imZHV_.mjs → window-registry-CKiMJjId.mjs} +0 -0
- /package/dist/{window-registry-BDnZLPVx.d.mts → window-registry-Pcf35cac.d.mts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { t as ExtensionContext } from "./extension-context-QmFuHdq5.mjs";
|
|
1
2
|
import { z } from "zod";
|
|
2
|
-
import { MakaioBusLike } from "@makaio/framework/core";
|
|
3
3
|
|
|
4
4
|
//#region core/contracts/src/version/primitives.d.ts
|
|
5
5
|
/**
|
|
@@ -413,297 +413,6 @@ declare const ClientDefinitionSchema: z.ZodObject<{
|
|
|
413
413
|
type ClientDefinitionInput = z.input<typeof ClientDefinitionSchema>;
|
|
414
414
|
type ClientDefinition = z.infer<typeof ClientDefinitionSchema>;
|
|
415
415
|
//#endregion
|
|
416
|
-
//#region core/contracts/src/extension/extension-token.d.ts
|
|
417
|
-
/**
|
|
418
|
-
* Typed extension service tokens.
|
|
419
|
-
*
|
|
420
|
-
* Extension tokens pair a runtime extension name with the service type the
|
|
421
|
-
* extension exposes. Consumers import an extension-owned token instead of
|
|
422
|
-
* repeating string literals at service lookup call sites.
|
|
423
|
-
*/
|
|
424
|
-
/**
|
|
425
|
-
* Typed token for retrieving an extension service from an extension context.
|
|
426
|
-
*
|
|
427
|
-
* The type parameter is intentionally phantom: the runtime uses {@link name}
|
|
428
|
-
* while TypeScript carries the expected service type through `getService`.
|
|
429
|
-
* @typeParam T - Service type exposed by the extension.
|
|
430
|
-
*/
|
|
431
|
-
interface ExtensionToken<T = unknown> {
|
|
432
|
-
/** Extension name registered with the runtime coordinator. */
|
|
433
|
-
readonly name: string;
|
|
434
|
-
/** Phantom marker for the token's service type. */
|
|
435
|
-
readonly __service?: T;
|
|
436
|
-
}
|
|
437
|
-
/**
|
|
438
|
-
* Create a typed extension service token.
|
|
439
|
-
* @param name - Extension name registered with the runtime coordinator.
|
|
440
|
-
* @returns Frozen token carrying the extension name and service type.
|
|
441
|
-
*/
|
|
442
|
-
declare function extensionToken<T>(name: string): ExtensionToken<T>;
|
|
443
|
-
//#endregion
|
|
444
|
-
//#region core/contracts/src/extension/extension-warning.d.ts
|
|
445
|
-
/**
|
|
446
|
-
* Discriminated union of actionable responses to an extension warning.
|
|
447
|
-
*
|
|
448
|
-
* Each variant carries the data the host needs to execute the action without
|
|
449
|
-
* further round-trips to the extension.
|
|
450
|
-
*
|
|
451
|
-
* - `configure-integration` — open the integration settings for a client.
|
|
452
|
-
* - `install-extension` — prompt the user to install another extension.
|
|
453
|
-
* - `open-url` — navigate to an external or internal URL.
|
|
454
|
-
* - `run-command` — invoke a registered bus command by name.
|
|
455
|
-
*/
|
|
456
|
-
declare const ExtensionWarningActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
457
|
-
kind: z.ZodLiteral<"configure-integration">;
|
|
458
|
-
clientId: z.ZodString;
|
|
459
|
-
bundle: z.ZodString;
|
|
460
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
461
|
-
kind: z.ZodLiteral<"install-extension">;
|
|
462
|
-
extensionName: z.ZodString;
|
|
463
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
464
|
-
kind: z.ZodLiteral<"open-url">;
|
|
465
|
-
url: z.ZodString;
|
|
466
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
467
|
-
kind: z.ZodLiteral<"run-command">;
|
|
468
|
-
command: z.ZodString;
|
|
469
|
-
}, z.core.$strip>], "kind">;
|
|
470
|
-
/**
|
|
471
|
-
* Severity levels for an {@link ExtensionWarning}.
|
|
472
|
-
*
|
|
473
|
-
* - `'info'` — informational note; the extension functions normally.
|
|
474
|
-
* - `'recommended'` — a recommended configuration is missing; functionality is reduced.
|
|
475
|
-
* - `'degraded'` — the extension is operating in a degraded fallback mode.
|
|
476
|
-
*/
|
|
477
|
-
declare const ExtensionWarningSeveritySchema: z.ZodEnum<{
|
|
478
|
-
info: "info";
|
|
479
|
-
degraded: "degraded";
|
|
480
|
-
recommended: "recommended";
|
|
481
|
-
}>;
|
|
482
|
-
/**
|
|
483
|
-
* A single health warning emitted by a package's `checkHealth` hook.
|
|
484
|
-
*
|
|
485
|
-
* The host collects these after startup and may display them in the UI as
|
|
486
|
-
* notification toasts or persistent status indicators.
|
|
487
|
-
*/
|
|
488
|
-
declare const ExtensionWarningSchema: z.ZodObject<{
|
|
489
|
-
severity: z.ZodEnum<{
|
|
490
|
-
info: "info";
|
|
491
|
-
degraded: "degraded";
|
|
492
|
-
recommended: "recommended";
|
|
493
|
-
}>;
|
|
494
|
-
title: z.ZodString;
|
|
495
|
-
message: z.ZodString;
|
|
496
|
-
action: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
497
|
-
kind: z.ZodLiteral<"configure-integration">;
|
|
498
|
-
clientId: z.ZodString;
|
|
499
|
-
bundle: z.ZodString;
|
|
500
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
501
|
-
kind: z.ZodLiteral<"install-extension">;
|
|
502
|
-
extensionName: z.ZodString;
|
|
503
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
504
|
-
kind: z.ZodLiteral<"open-url">;
|
|
505
|
-
url: z.ZodString;
|
|
506
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
507
|
-
kind: z.ZodLiteral<"run-command">;
|
|
508
|
-
command: z.ZodString;
|
|
509
|
-
}, z.core.$strip>], "kind">>;
|
|
510
|
-
}, z.core.$strip>;
|
|
511
|
-
/** Inferred TypeScript type for {@link ExtensionWarningSchema}. */
|
|
512
|
-
type ExtensionWarning = z.infer<typeof ExtensionWarningSchema>;
|
|
513
|
-
/** Inferred TypeScript type for {@link ExtensionWarningActionSchema}. */
|
|
514
|
-
type ExtensionWarningAction = z.infer<typeof ExtensionWarningActionSchema>;
|
|
515
|
-
/** Inferred TypeScript type for {@link ExtensionWarningSeveritySchema}. */
|
|
516
|
-
type ExtensionWarningSeverity = z.infer<typeof ExtensionWarningSeveritySchema>;
|
|
517
|
-
/**
|
|
518
|
-
* Return the default user-facing label for an extension warning action.
|
|
519
|
-
*
|
|
520
|
-
* Kept with the action contract so every surface labels the same action kind
|
|
521
|
-
* consistently without duplicating switch statements.
|
|
522
|
-
* @param action - Extension warning action to label.
|
|
523
|
-
* @returns Short button label for the action kind.
|
|
524
|
-
*/
|
|
525
|
-
declare function getExtensionWarningActionLabel(action: ExtensionWarningAction): string;
|
|
526
|
-
/**
|
|
527
|
-
* Aggregated warning entry grouping all health warnings for a single extension.
|
|
528
|
-
*
|
|
529
|
-
* Used as the payload shape for `kernel:extension.warnings.list` responses and
|
|
530
|
-
* `kernel:extension.warnings.changed` events so consumers receive extension identity
|
|
531
|
-
* alongside the full warning array in one atomic value.
|
|
532
|
-
*/
|
|
533
|
-
declare const ExtensionWarningEntrySchema: z.ZodObject<{
|
|
534
|
-
extensionName: z.ZodString;
|
|
535
|
-
warnings: z.ZodArray<z.ZodObject<{
|
|
536
|
-
severity: z.ZodEnum<{
|
|
537
|
-
info: "info";
|
|
538
|
-
degraded: "degraded";
|
|
539
|
-
recommended: "recommended";
|
|
540
|
-
}>;
|
|
541
|
-
title: z.ZodString;
|
|
542
|
-
message: z.ZodString;
|
|
543
|
-
action: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
544
|
-
kind: z.ZodLiteral<"configure-integration">;
|
|
545
|
-
clientId: z.ZodString;
|
|
546
|
-
bundle: z.ZodString;
|
|
547
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
548
|
-
kind: z.ZodLiteral<"install-extension">;
|
|
549
|
-
extensionName: z.ZodString;
|
|
550
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
551
|
-
kind: z.ZodLiteral<"open-url">;
|
|
552
|
-
url: z.ZodString;
|
|
553
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
554
|
-
kind: z.ZodLiteral<"run-command">;
|
|
555
|
-
command: z.ZodString;
|
|
556
|
-
}, z.core.$strip>], "kind">>;
|
|
557
|
-
}, z.core.$strip>>;
|
|
558
|
-
}, z.core.$strip>;
|
|
559
|
-
/** Inferred TypeScript type for {@link ExtensionWarningEntrySchema}. */
|
|
560
|
-
type ExtensionWarningEntry = z.infer<typeof ExtensionWarningEntrySchema>;
|
|
561
|
-
//#endregion
|
|
562
|
-
//#region core/contracts/src/extension/extension-lifecycle.d.ts
|
|
563
|
-
declare const extensionIdentityBrand: unique symbol;
|
|
564
|
-
/**
|
|
565
|
-
* Opaque extension identity minted by the runtime coordinator.
|
|
566
|
-
*
|
|
567
|
-
* This identity proves which loaded extension is calling runtime-owned seams
|
|
568
|
-
* such as future direct channels. Extension code receives it through
|
|
569
|
-
* {@link ExtensionContext.identity}; external callers cannot construct one
|
|
570
|
-
* without a type assertion.
|
|
571
|
-
*/
|
|
572
|
-
interface ExtensionIdentity {
|
|
573
|
-
/** Extension name associated with this identity. */
|
|
574
|
-
readonly extensionName: string;
|
|
575
|
-
/** Opaque brand preventing structural construction. */
|
|
576
|
-
readonly [extensionIdentityBrand]: true;
|
|
577
|
-
}
|
|
578
|
-
/**
|
|
579
|
-
* Minimal lifecycle shape accepted as an extension service.
|
|
580
|
-
*
|
|
581
|
-
* BaseService satisfies this interface, but plain service classes can also
|
|
582
|
-
* participate in extension startup when they expose the same lifecycle.
|
|
583
|
-
*/
|
|
584
|
-
interface ExtensionServiceLifecycle {
|
|
585
|
-
/** Initialize the service when startup work is not constructor-owned. */
|
|
586
|
-
init?(): Promise<void> | void;
|
|
587
|
-
/** Destroy the service and release resources when teardown is required. */
|
|
588
|
-
destroy?(): Promise<void> | void;
|
|
589
|
-
/**
|
|
590
|
-
* Called after the extension reaches active state.
|
|
591
|
-
*
|
|
592
|
-
* Returns zero or more {@link ExtensionWarning} entries describing integration
|
|
593
|
-
* health issues the user may want to act on. An empty array (or omitting the
|
|
594
|
-
* hook entirely) signals that the extension is fully healthy.
|
|
595
|
-
* @returns Active health warnings, or an empty array when the extension is healthy.
|
|
596
|
-
*/
|
|
597
|
-
checkHealth?(): Promise<ExtensionWarning[]> | ExtensionWarning[];
|
|
598
|
-
}
|
|
599
|
-
/**
|
|
600
|
-
* Service shape returned by {@link MakaioExtension.create}.
|
|
601
|
-
*
|
|
602
|
-
* Any class that extends `BaseService` satisfies this interface structurally
|
|
603
|
-
* because `BaseService` exposes the same lifecycle methods.
|
|
604
|
-
*/
|
|
605
|
-
type ExtensionService = ExtensionServiceLifecycle;
|
|
606
|
-
//#endregion
|
|
607
|
-
//#region core/contracts/src/extension/extension-context.d.ts
|
|
608
|
-
/**
|
|
609
|
-
* Generic context provided by a host runtime when creating an extension's service.
|
|
610
|
-
*
|
|
611
|
-
* Contains host-agnostic runtime seams: the bus instance, extension identity,
|
|
612
|
-
* extension-local data directory, machine identity, config, service lookup, and
|
|
613
|
-
* lifecycle controls. Host-specific environment details belong on explicit
|
|
614
|
-
* context extensions such as {@link NodeExtensionContext}.
|
|
615
|
-
*/
|
|
616
|
-
interface ExtensionContext<TBus extends MakaioBusLike = MakaioBusLike> {
|
|
617
|
-
/** Bus instance for registering handlers and emitting events. */
|
|
618
|
-
readonly bus: TBus;
|
|
619
|
-
/** Coordinator-minted identity for the extension being created. */
|
|
620
|
-
readonly identity: ExtensionIdentity;
|
|
621
|
-
/**
|
|
622
|
-
* Per-extension writable data directory resolved by the host runtime.
|
|
623
|
-
*
|
|
624
|
-
* Use this for extension-local persistence (caches, state files, etc.).
|
|
625
|
-
*/
|
|
626
|
-
readonly dataDir: string;
|
|
627
|
-
/**
|
|
628
|
-
* Stable machine identifier used for machine-scoped persistence and
|
|
629
|
-
* encryption key derivation.
|
|
630
|
-
*
|
|
631
|
-
* Resolved by the composition root (e.g., `node-machine-id`) before
|
|
632
|
-
* extensions are started.
|
|
633
|
-
*/
|
|
634
|
-
readonly machineId: string;
|
|
635
|
-
/**
|
|
636
|
-
* Resolved configuration for this extension, merged from stored values and
|
|
637
|
-
* descriptor defaults. Present only when the extension declared a
|
|
638
|
-
* `configSchema` on its {@link MakaioExtension}.
|
|
639
|
-
*
|
|
640
|
-
* Extensions should parse this with their Zod schema to get typed config:
|
|
641
|
-
* ```ts
|
|
642
|
-
* const config = parseExtensionConfig(MyConfigSchema, ctx.config);
|
|
643
|
-
* ```
|
|
644
|
-
*/
|
|
645
|
-
readonly config?: unknown;
|
|
646
|
-
/**
|
|
647
|
-
* Retrieve a service exposed by another active extension.
|
|
648
|
-
* @param token - Extension-owned token identifying the desired service.
|
|
649
|
-
* @returns The active service instance, or `undefined` when unavailable.
|
|
650
|
-
*/
|
|
651
|
-
getService<T>(token: ExtensionToken<T>): T | undefined;
|
|
652
|
-
/**
|
|
653
|
-
* Attempt a dynamic import, returning `null` when the package is not installed.
|
|
654
|
-
*
|
|
655
|
-
* Only swallows errors caused by the package itself being absent. Transitive
|
|
656
|
-
* dependency failures and module evaluation errors are re-thrown.
|
|
657
|
-
* @typeParam T - Expected module shape (caller-asserted, not runtime-verified).
|
|
658
|
-
* @param specifier - Package specifier to import.
|
|
659
|
-
* @returns The imported module cast to `T`, or `null` when the package is not installed.
|
|
660
|
-
*/
|
|
661
|
-
readonly tryImport: <T>(specifier: string) => Promise<T | null>;
|
|
662
|
-
/**
|
|
663
|
-
* Abort signal triggered during graceful shutdown.
|
|
664
|
-
*
|
|
665
|
-
* Extensions can pass this to long-running operations (fetch, timers, streams)
|
|
666
|
-
* so they cancel promptly when the runtime is stopping.
|
|
667
|
-
*/
|
|
668
|
-
readonly signal: AbortSignal;
|
|
669
|
-
/**
|
|
670
|
-
* Check whether an extension with the given name is active.
|
|
671
|
-
*
|
|
672
|
-
* Returns `true` when the named extension has been loaded and reached
|
|
673
|
-
* `active` state. Use this for optional integration checks without
|
|
674
|
-
* requiring an ExtensionToken.
|
|
675
|
-
* @param name - Extension name to check.
|
|
676
|
-
* @returns `true` when the extension is active.
|
|
677
|
-
*/
|
|
678
|
-
readonly hasExtension: (name: string) => boolean;
|
|
679
|
-
}
|
|
680
|
-
/**
|
|
681
|
-
* Node.js host extension context.
|
|
682
|
-
*
|
|
683
|
-
* Adds the OS and filesystem fields supplied by Node-based composition roots.
|
|
684
|
-
* Extensions that need these fields should opt into this context explicitly;
|
|
685
|
-
* host-agnostic extensions can type themselves against {@link ExtensionContext}.
|
|
686
|
-
*/
|
|
687
|
-
interface NodeExtensionContext<TBus extends MakaioBusLike = MakaioBusLike> extends ExtensionContext<TBus> {
|
|
688
|
-
/** Working directory selected by the Node host for relative filesystem operations. */
|
|
689
|
-
readonly cwd?: string;
|
|
690
|
-
/** Current platform identifier (e.g., `'darwin'`, `'linux'`, `'win32'`). */
|
|
691
|
-
readonly platform: NodeJS.Platform;
|
|
692
|
-
/** User's home directory path. */
|
|
693
|
-
readonly homedir: string;
|
|
694
|
-
/** Resolved `.makaio` directory root (e.g., `~/.makaio`). */
|
|
695
|
-
readonly makaioHome: string;
|
|
696
|
-
/** Current OS username. */
|
|
697
|
-
readonly username: string;
|
|
698
|
-
/**
|
|
699
|
-
* WebSocket URL for the host bus, when the runtime exposes one.
|
|
700
|
-
*
|
|
701
|
-
* Detached `bus-websocket` extensions use this to connect back to the host.
|
|
702
|
-
* Hosts without a WebSocket bus omit it.
|
|
703
|
-
*/
|
|
704
|
-
readonly busUrl?: string;
|
|
705
|
-
}
|
|
706
|
-
//#endregion
|
|
707
416
|
//#region core/contracts/src/client/hook-responses.d.ts
|
|
708
417
|
/**
|
|
709
418
|
* A canonical `context.append` effect — a simple string-append that works
|
|
@@ -1109,4 +818,4 @@ declare function isValidTimeoutMs(timeoutMs: number): boolean;
|
|
|
1109
818
|
*/
|
|
1110
819
|
declare function validateClosedPolicy(selectors: readonly InteractionSelector[], catalog: ProviderContractCatalogEntry): string[];
|
|
1111
820
|
//#endregion
|
|
1112
|
-
export {
|
|
821
|
+
export { VersionLiteralSchema as $, ClientHookEventDeclarationSchema as A, LogSourceDefinitionSchema as B, validateClosedPolicy as C, ClientDefinitionInput as D, ClientDefinition as E, ClientToolDefinition as F, PostInstallDescriptor as G, ManagedInstallDescriptorSchema as H, ClientToolDefinitionSchema as I, SignedBinaryBucketInstallDescriptorSchema as J, PostInstallDescriptorSchema as K, ConfigIsolation as L, ClientRuntimeCapabilitiesSchema as M, ClientToolCapabilityAnnotation as N, ClientDefinitionSchema as O, ClientToolCapabilityAnnotationSchema as P, VersionLiteral as Q, ConfigIsolationSchema as R, isValidTimeoutMs as S, ClientBinaryCompatibilitySchema as T, NpmInstallDescriptor as U, ManagedInstallDescriptor as V, NpmInstallDescriptorSchema as W, VersionCommandSchema as X, VersionCommand as Y, deriveHookEventTransportMode as Z, ProviderContributionEnvelope as _, CapabilitySelector as a, createAppendEffect as b, ContributorDefinition as c, EventNameSelector as d, VersionRange as et, ExtensionClientHookResponsesContribution as f, ProviderContractCatalogEntry as g, InteractionSelector as h, CanonicalEffect as i, ClientRuntimeCapabilities as j, ClientHookEventDeclaration as k, ContributorResponse as l, InteractionBlockability as m, ActivationValidationError as n, isUniversalRange as nt, ContributorActivationContext as o, FailurePolicy as p, SignedBinaryBucketInstallDescriptor as q, CanonicalAppendEffect as r, versionSatisfies as rt, ContributorCallbackContext as s, ActivationErrorCode as t, VersionRangeSchema as tt, DEFAULT_FAILURE_POLICY as u, RuntimeOutcome as v, ClientBinaryCompatibility as w, isValidContributorId as x, RuntimeOutcomeCode as y, LogSourceDefinition as z };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{AdapterRuntimeSubjects as e}from"./services/adapter-runtime/namespace.mjs";import{AdapterSubjects as t}from"@makaio/framework/contracts";const n=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],r=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];function i(e,t){return e>>>t|e<<32-t}function a(e){let t=new TextEncoder().encode(e),a=t.length*8,o=t.length+9+63>>6<<6>>>0,s=new Uint8Array(o);s.set(t),s[t.length]=128;let c=new DataView(s.buffer),l=Math.floor(a/4294967296),u=a>>>0;c.setUint32(o-8,l,!1),c.setUint32(o-4,u,!1);let d=[...r],f=new Uint32Array(64);for(let e=0;e<s.length;e+=64){for(let t=0;t<16;t+=1)f[t]=c.getUint32(e+t*4,!1);for(let e=16;e<64;e+=1){let t=i(f[e-15],7)^i(f[e-15],18)^f[e-15]>>>3,n=i(f[e-2],17)^i(f[e-2],19)^f[e-2]>>>10;f[e]=f[e-16]+t+f[e-7]+n>>>0}let[t,r,a,o,s,l,u,p]=d;for(let e=0;e<64;e+=1){let c=i(s,6)^i(s,11)^i(s,25),d=s&l^~s&u,m=p+c+d+n[e]+f[e]>>>0,h=(i(t,2)^i(t,13)^i(t,22))+(t&r^t&a^r&a)>>>0;p=u,u=l,l=s,s=o+m>>>0,o=a,a=r,r=t,t=m+h>>>0}d[0]=d[0]+t>>>0,d[1]=d[1]+r>>>0,d[2]=d[2]+a>>>0,d[3]=d[3]+o>>>0,d[4]=d[4]+s>>>0,d[5]=d[5]+l>>>0,d[6]=d[6]+u>>>0,d[7]=d[7]+p>>>0}return d.map(e=>e.toString(16).padStart(8,`0`)).join(``)}function o(e){return JSON.stringify([e.adapterId,e.adapterName,e.machineId,e.ownerInstanceId])}function s(e){return e.ownerInstanceId!==void 0}function c(e,t){let n=a(JSON.stringify([e,t]));return[n.slice(0,8),n.slice(8,12),`5${n.slice(13,16)}`,`a${n.slice(17,20)}`,n.slice(20,32)].join(`-`)}function l(e,t){let n=e.machineId??t;if(!n)throw Error(`resolveId requires machineId when no runtime default machine is configured for adapterName="${e.adapterName}"`);return c(n,e.adapterName)}var u=class{currentMachineId;adapterNamesById=new Map;liveIdentities=new Map;localAdapterIds=new Set;constructor(e){this.currentMachineId=e}replaceKnownAdapterNames(e){for(let e of this.localAdapterIds)this.adapterNamesById.delete(e);if(this.localAdapterIds=new Set,this.currentMachineId)for(let t of e){let e=c(this.currentMachineId,t);this.adapterNamesById.set(e,t),this.localAdapterIds.add(e)}}resolveId(e){let t=l(e,this.currentMachineId);return this.rememberAdapterId(t,e.adapterName),t}rememberAdapterId(e,t){this.adapterNamesById.set(e,t)}rememberLiveIdentity(e){this.adapterNamesById.set(e.adapterId,e.adapterName),this.liveIdentities.set(o(e),{...e})}resolveLiveIdentity(e){if(s(e)){let t=this.liveIdentities.get(o(e));return t===void 0?void 0:{...t}}let t=[...this.liveIdentities.values()].filter(t=>t.adapterId===e.adapterId&&t.adapterName===e.adapterName&&t.machineId===e.machineId);return t.length===1?{...t[0]}:void 0}forgetLiveIdentity(e){this.liveIdentities.delete(o(e))}resolveAdapterName(e){return this.adapterNamesById.get(e)}async resolveAdapterNameFromKnownNames(e,t){return this.resolveAdapterName(e)||(this.replaceKnownAdapterNames(await t()),this.resolveAdapterName(e))}clear(){this.adapterNamesById.clear(),this.liveIdentities.clear(),this.localAdapterIds.clear()}};function d(e,n){return[e.on(t.initialized,e=>{n.rememberLiveIdentity({adapterId:e.payload.adapterId,adapterName:e.payload.adapterName,machineId:e.payload.machineId,ownerInstanceId:e.payload.ownerInstanceId})}),e.on(t.deinitialized,e=>{n.forgetLiveIdentity({adapterId:e.payload.adapterId,adapterName:e.payload.adapterName,machineId:e.payload.machineId,ownerInstanceId:e.payload.ownerInstanceId})})]}function f(e,t){if(!(t.machineId!==e.currentMachineId||!s(t)))return e.resolveLiveAdapterIdentity?.(t.adapterId)}function p(e,t){return e!==void 0&&(t.ownerInstanceId===void 0||e.ownerInstanceId===t.ownerInstanceId)}function m(e,t){return p(e,t)&&e?.adapterName===t.adapterName&&e.machineId===t.machineId}function h(t,n,r){return t.on(e.resolveLiveIdentity,async e=>{let t=e.payload.machineId===r.currentMachineId,i=f(r,e.payload);if(i!==void 0&&e.payload.ownerInstanceId!==void 0&&i.ownerInstanceId!==e.payload.ownerInstanceId&&(await e.next(),e.result!==void 0))return;let a=n.resolveLiveIdentity(e.payload),o=!t||e.payload.ownerInstanceId!==void 0||r.resolveLiveAdapterIdentity===void 0||r.resolveLiveAdapterIdentity(e.payload.adapterId)!==void 0?i??a:void 0;if(!(!p(o,e.payload)&&(await e.next(),e.result!==void 0))){if(!m(o,e.payload))throw Error(`No live adapter matches adapterId="${e.payload.adapterId}", adapterName="${e.payload.adapterName}", machineId="${e.payload.machineId}"`);e.setResult(o)}})}function g(t,n={}){let r=new u(n.currentMachineId);n.knownAdapterNames&&r.replaceKnownAdapterNames(n.knownAdapterNames);for(let e of n.listLiveAdapterIdentities?.()??[])r.rememberLiveIdentity(e);let i=[...d(t,r),t.on(e.resolveId,async e=>{if((e.payload.machineId===void 0||e.payload.machineId===n.currentMachineId)&&n.currentMachineId!==void 0&&n.resolveLiveAdapterId!==void 0){let t=n.resolveLiveAdapterId(e.payload.adapterName);if(!t){if(await e.next(),e.result!==void 0)return;throw Error(`No live local adapter is registered for adapterName="${e.payload.adapterName}"`)}r.rememberAdapterId(t,e.payload.adapterName),e.setResult({adapterId:t});return}e.setResult({adapterId:r.resolveId(e.payload)})}),t.on(e.getMachineId,e=>{e.setResult({machineId:n.currentMachineId})}),t.on(e.resolveName,async e=>{let t=r.resolveAdapterName(e.payload.adapterId)??(n.listKnownAdapterNames?await r.resolveAdapterNameFromKnownNames(e.payload.adapterId,n.listKnownAdapterNames):void 0);if(!t)throw Error(`Adapter not found for adapterId="${e.payload.adapterId}"`);e.setResult({adapterName:t})}),h(t,r,n)];return{registry:r,cleanup:()=>{for(let e of i)e()}}}export{l as i,c as n,g as r,u as t};
|
|
@@ -157,7 +157,7 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
|
|
|
157
157
|
contributes: z.ZodOptional<z.ZodObject<{
|
|
158
158
|
adapters: z.ZodBoolean;
|
|
159
159
|
tools: z.ZodBoolean;
|
|
160
|
-
|
|
160
|
+
hashTriggers: z.ZodBoolean;
|
|
161
161
|
providers: z.ZodBoolean;
|
|
162
162
|
clients: z.ZodBoolean;
|
|
163
163
|
ui: z.ZodBoolean;
|
|
@@ -660,7 +660,7 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
660
660
|
contributes: z.ZodOptional<z.ZodObject<{
|
|
661
661
|
adapters: z.ZodBoolean;
|
|
662
662
|
tools: z.ZodBoolean;
|
|
663
|
-
|
|
663
|
+
hashTriggers: z.ZodBoolean;
|
|
664
664
|
providers: z.ZodBoolean;
|
|
665
665
|
clients: z.ZodBoolean;
|
|
666
666
|
ui: z.ZodBoolean;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as _$zod from "zod";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
4
|
-
import { IWorkflowTriggerTypeRegistry } from "@makaio/framework/contracts";
|
|
5
4
|
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
6
5
|
|
|
7
6
|
//#region packages/kernel/src/namespace/kernel-schemas.d.ts
|
|
@@ -245,15 +244,5 @@ declare const KernelSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
245
244
|
}, _$zod_v4_core0.$strip>;
|
|
246
245
|
};
|
|
247
246
|
}>, "kernel">;
|
|
248
|
-
/**
|
|
249
|
-
* Set the workflow trigger type registry reference.
|
|
250
|
-
* @param value - Workflow trigger type registry instance or undefined.
|
|
251
|
-
*/
|
|
252
|
-
declare function setWorkflowTriggerTypeRegistry(value: IWorkflowTriggerTypeRegistry | undefined): void;
|
|
253
|
-
/**
|
|
254
|
-
* Get the workflow trigger type registry reference.
|
|
255
|
-
* @returns Workflow trigger type registry instance or undefined.
|
|
256
|
-
*/
|
|
257
|
-
declare function getWorkflowTriggerTypeRegistry(): IWorkflowTriggerTypeRegistry | undefined;
|
|
258
247
|
//#endregion
|
|
259
|
-
export {
|
|
248
|
+
export { KernelSubjects as n, KernelSchemas as r, KernelNamespace as t };
|
|
@@ -310,9 +310,9 @@ declare const CanonicalModelSelectionSchema: z.ZodObject<{
|
|
|
310
310
|
description: z.ZodOptional<z.ZodString>;
|
|
311
311
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
312
312
|
exposureMode: z.ZodEnum<{
|
|
313
|
-
hidden: "hidden";
|
|
314
313
|
direct: "direct";
|
|
315
314
|
discovery: "discovery";
|
|
315
|
+
hidden: "hidden";
|
|
316
316
|
}>;
|
|
317
317
|
enabled: z.ZodBoolean;
|
|
318
318
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -329,9 +329,9 @@ declare const CanonicalModelSelectionSchema: z.ZodObject<{
|
|
|
329
329
|
description: z.ZodOptional<z.ZodString>;
|
|
330
330
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
331
331
|
exposureMode: z.ZodEnum<{
|
|
332
|
-
hidden: "hidden";
|
|
333
332
|
direct: "direct";
|
|
334
333
|
discovery: "discovery";
|
|
334
|
+
hidden: "hidden";
|
|
335
335
|
}>;
|
|
336
336
|
enabled: z.ZodBoolean;
|
|
337
337
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -427,9 +427,9 @@ declare const CanonicalModelResolvedSelectionSchema: z.ZodObject<{
|
|
|
427
427
|
description: z.ZodOptional<z.ZodString>;
|
|
428
428
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
429
429
|
exposureMode: z.ZodEnum<{
|
|
430
|
-
hidden: "hidden";
|
|
431
430
|
direct: "direct";
|
|
432
431
|
discovery: "discovery";
|
|
432
|
+
hidden: "hidden";
|
|
433
433
|
}>;
|
|
434
434
|
enabled: z.ZodBoolean;
|
|
435
435
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -446,9 +446,9 @@ declare const CanonicalModelResolvedSelectionSchema: z.ZodObject<{
|
|
|
446
446
|
description: z.ZodOptional<z.ZodString>;
|
|
447
447
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
448
448
|
exposureMode: z.ZodEnum<{
|
|
449
|
-
hidden: "hidden";
|
|
450
449
|
direct: "direct";
|
|
451
450
|
discovery: "discovery";
|
|
451
|
+
hidden: "hidden";
|
|
452
452
|
}>;
|
|
453
453
|
enabled: z.ZodBoolean;
|
|
454
454
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -462,6 +462,7 @@ declare const CanonicalModelResolvedSelectionSchema: z.ZodObject<{
|
|
|
462
462
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
463
463
|
adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
464
464
|
adapterId: z.ZodOptional<z.ZodString>;
|
|
465
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
465
466
|
kind: z.ZodLiteral<"adapter">;
|
|
466
467
|
adapterName: z.ZodString;
|
|
467
468
|
providerConfigId: z.ZodString;
|
|
@@ -557,9 +558,9 @@ declare const CanonicalModelSchemas: {
|
|
|
557
558
|
description: z.ZodOptional<z.ZodString>;
|
|
558
559
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
559
560
|
exposureMode: z.ZodEnum<{
|
|
560
|
-
hidden: "hidden";
|
|
561
561
|
direct: "direct";
|
|
562
562
|
discovery: "discovery";
|
|
563
|
+
hidden: "hidden";
|
|
563
564
|
}>;
|
|
564
565
|
enabled: z.ZodBoolean;
|
|
565
566
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -576,9 +577,9 @@ declare const CanonicalModelSchemas: {
|
|
|
576
577
|
description: z.ZodOptional<z.ZodString>;
|
|
577
578
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
578
579
|
exposureMode: z.ZodEnum<{
|
|
579
|
-
hidden: "hidden";
|
|
580
580
|
direct: "direct";
|
|
581
581
|
discovery: "discovery";
|
|
582
|
+
hidden: "hidden";
|
|
582
583
|
}>;
|
|
583
584
|
enabled: z.ZodBoolean;
|
|
584
585
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -592,6 +593,7 @@ declare const CanonicalModelSchemas: {
|
|
|
592
593
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
593
594
|
adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
594
595
|
adapterId: z.ZodOptional<z.ZodString>;
|
|
596
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
595
597
|
kind: z.ZodLiteral<"adapter">;
|
|
596
598
|
adapterName: z.ZodString;
|
|
597
599
|
providerConfigId: z.ZodString;
|
|
@@ -686,9 +688,9 @@ declare const CanonicalModelNamespace: _$_makaio_core0.BusNamespaceDefinition<"c
|
|
|
686
688
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
687
689
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
688
690
|
exposureMode: _$zod.ZodEnum<{
|
|
689
|
-
hidden: "hidden";
|
|
690
691
|
direct: "direct";
|
|
691
692
|
discovery: "discovery";
|
|
693
|
+
hidden: "hidden";
|
|
692
694
|
}>;
|
|
693
695
|
enabled: _$zod.ZodBoolean;
|
|
694
696
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -705,9 +707,9 @@ declare const CanonicalModelNamespace: _$_makaio_core0.BusNamespaceDefinition<"c
|
|
|
705
707
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
706
708
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
707
709
|
exposureMode: _$zod.ZodEnum<{
|
|
708
|
-
hidden: "hidden";
|
|
709
710
|
direct: "direct";
|
|
710
711
|
discovery: "discovery";
|
|
712
|
+
hidden: "hidden";
|
|
711
713
|
}>;
|
|
712
714
|
enabled: _$zod.ZodBoolean;
|
|
713
715
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -721,6 +723,7 @@ declare const CanonicalModelNamespace: _$_makaio_core0.BusNamespaceDefinition<"c
|
|
|
721
723
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
722
724
|
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
723
725
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
726
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
724
727
|
kind: _$zod.ZodLiteral<"adapter">;
|
|
725
728
|
adapterName: _$zod.ZodString;
|
|
726
729
|
providerConfigId: _$zod.ZodString;
|
|
@@ -813,9 +816,9 @@ declare const CanonicalModelSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
813
816
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
814
817
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
815
818
|
exposureMode: _$zod.ZodEnum<{
|
|
816
|
-
hidden: "hidden";
|
|
817
819
|
direct: "direct";
|
|
818
820
|
discovery: "discovery";
|
|
821
|
+
hidden: "hidden";
|
|
819
822
|
}>;
|
|
820
823
|
enabled: _$zod.ZodBoolean;
|
|
821
824
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -832,9 +835,9 @@ declare const CanonicalModelSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
832
835
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
833
836
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
834
837
|
exposureMode: _$zod.ZodEnum<{
|
|
835
|
-
hidden: "hidden";
|
|
836
838
|
direct: "direct";
|
|
837
839
|
discovery: "discovery";
|
|
840
|
+
hidden: "hidden";
|
|
838
841
|
}>;
|
|
839
842
|
enabled: _$zod.ZodBoolean;
|
|
840
843
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -848,6 +851,7 @@ declare const CanonicalModelSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
848
851
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
849
852
|
adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
850
853
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
854
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
851
855
|
kind: _$zod.ZodLiteral<"adapter">;
|
|
852
856
|
adapterName: _$zod.ZodString;
|
|
853
857
|
providerConfigId: _$zod.ZodString;
|