@makaio/framework 1.0.0-dev-1786014320559 → 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 +2 -2
- package/dist/{account-identity-DGpXd8h_.mjs → account-identity-B3vLwm9O.mjs} +1 -1
- package/dist/adapter-Dz1fX5Wa.mjs +1 -0
- package/dist/adapter-subsystem/index.d.mts +118 -76
- package/dist/adapter-subsystem/index.mjs +1 -1
- 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 +73 -53
- 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.mjs +1 -1
- package/dist/{artifact-k3veR4Yx.mjs → artifact-Btbuib48.mjs} +1 -1
- package/dist/attach-error-Cb3GbeKe.mjs +1 -0
- package/dist/{auth-A1K_7q-8.mjs → auth-C6tVtaOX.mjs} +1 -1
- package/dist/{authority-state-bootstrap-YwtEImIB.mjs → authority-state-bootstrap-CLYus369.mjs} +1 -1
- package/dist/{automation-trigger-CuSdQwir.mjs → automation-trigger-ByjNlClm.mjs} +1 -1
- package/dist/bus/index.d.mts +22 -4
- package/dist/bus/index.mjs +1 -1
- package/dist/{bus-CqgrphNE.mjs → bus-D6NoBhIV.mjs} +1 -1
- package/dist/bus-UgFdHybD.mjs +1 -0
- package/dist/caller-owned-adapter-stub-C1M7FKrv.mjs +1 -0
- package/dist/{canonical-model-DJASlL4m.mjs → canonical-model-DXOvCaVg.mjs} +1 -1
- package/dist/capabilities-BUwuA7XX.mjs +1 -0
- package/dist/capability-j3NekkIu.mjs +1 -0
- package/dist/{client-BL5__WT0.mjs → client-BkznbdsO.mjs} +1 -1
- package/dist/clients/index.d.mts +1 -1
- 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-BbttSqm8.mjs → compression-CtgeVLpP.mjs} +1 -1
- package/dist/{config-namespace-CyzeLWSg.mjs → config-namespace-CjWvw8ij.mjs} +1 -1
- package/dist/{context-resolution-CW0ya4QO.d.mts → context-resolution-841T7jBI.d.mts} +6 -6
- 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 +2 -2
- 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 +3 -3
- package/dist/contracts/automation-trigger/index.mjs +1 -1
- 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 +5 -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 +81 -71
- 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 +1 -1
- package/dist/contracts/reaction/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +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 +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{contribution-BH-wKsWI.d.mts → contribution-CUHLVLsT.d.mts} +2 -2
- package/dist/core/index.d.mts +25 -2
- package/dist/{definition-CDg-Jq1T.mjs → definition-BH4QLGLI.mjs} +1 -1
- package/dist/{definition-BYgHlmMw.d.mts → definition-DyGImhyi.d.mts} +1 -1
- package/dist/{detached-extension-handle-DKd17UB6.mjs → detached-extension-handle-D0aI0pJA.mjs} +1 -1
- 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 +28 -0
- package/dist/event-B8ELuk6k.mjs +1 -0
- package/dist/{execution-attempt-repository-DFyAnchJ.d.mts → execution-attempt-repository-BJ2W6wwx.d.mts} +1 -1
- package/dist/{execution-target-ByNwZh5-.mjs → execution-target-H0RWV7Py.mjs} +1 -1
- package/dist/{extension-DUmibvMk.mjs → extension-Bfkr2DBs.mjs} +1 -1
- package/dist/{extension-DMdmj9gi.mjs → extension-Cz39YNXy.mjs} +1 -1
- package/dist/{extension-context-CqfddWXs.d.mts → extension-context-QmFuHdq5.d.mts} +3 -3
- package/dist/{extension-discovery-Fhps4icD.d.mts → extension-discovery-Dhu3WplO.d.mts} +9 -1
- package/dist/{filesystem-service-FAtd9gWH.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-BBLuT_vy.mjs → globby-QBDqstzq.mjs} +1 -1
- package/dist/handlers-BsHAFtye.mjs +57 -0
- package/dist/{harness-KxbWGL4I.mjs → harness-YQ2ewID9.mjs} +1 -1
- package/dist/{hook-responses-CQZIv3L3.d.mts → hook-responses-9Ywsqzzq.d.mts} +1 -1
- package/dist/identity-OjRlG6dZ.mjs +1 -0
- package/dist/{index-B6GOuxVy2.d.mts → index-8NdPPzUh2.d.mts} +16 -16
- package/dist/{index-BFhJe-Sb.d.mts → index-B0VO0rAl.d.mts} +1 -1
- package/dist/{index-DI7-tIL3.d.mts → index-B0yMCJW8.d.mts} +39 -14
- package/dist/{index-CqQYgsbB.d.mts → index-BNzUyVwV.d.mts} +513 -170
- package/dist/{index-3eUIRy7T.d.mts → index-BkbnC65b.d.mts} +197 -25
- package/dist/index-Bqk0pJBQ2.d.mts +138 -0
- package/dist/{index-CB4aIUoF.d.mts → index-BuMsrli0.d.mts} +16 -16
- package/dist/{index-ByZi9bml.d.mts → index-C146Eq_J.d.mts} +567 -1833
- package/dist/{index-C__EQfKa.d.mts → index-CIEycZrt.d.mts} +1 -1
- package/dist/{index-DxYDRoDE2.d.mts → index-CMekqu_D.d.mts} +28 -8
- package/dist/{index-nydhGvXa.d.mts → index-CPRQ4dWX.d.mts} +0 -23
- package/dist/{index-BSQ30wYP.d.mts → index-CPi0UpRh.d.mts} +1 -1
- package/dist/{index-DcYAAJ0V.d.mts → index-CYjgoYeX.d.mts} +3 -3
- package/dist/{index-CSN_0sCo.d.mts → index-CmwAJ8-5.d.mts} +1 -1
- package/dist/index-Cny5RvjO.d.mts +800 -0
- package/dist/{index-CwDiyJkJ.d.mts → index-D-4jv_66.d.mts} +183 -183
- package/dist/{index-B4xdTT3c.d.mts → index-D8D-yibS2.d.mts} +10 -10
- package/dist/index-DHnSLGP4.d.mts +268 -0
- package/dist/{index-Dch_AxUg.d.mts → index-DI2lS7VT.d.mts} +15 -15
- package/dist/{index-DcqSUsX6.d.mts → index-DJ2KgJDJ2.d.mts} +16 -16
- package/dist/{index-CDusRXio.d.mts → index-DNI6UF9h.d.mts} +76 -76
- package/dist/index-DQ8o3JGi.d.mts +132 -0
- package/dist/index-DWBkiiXH.d.mts +18 -0
- package/dist/{index-BiAYXjgM.d.mts → index-DXtQRehh.d.mts} +26 -26
- package/dist/{index-B5op6AsV.d.mts → index-D_4K3Tf_.d.mts} +80 -205
- 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 +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-CnOAtohU.mjs → lib-BpGvHZye.mjs} +2 -2
- package/dist/{lib-B_rJ6r0T.mjs → lib-Cm-uEoC1.mjs} +1 -1
- package/dist/{load-extensions-DUpaMQ7G.d.mts → load-extensions-BQoXaHhR.d.mts} +1 -1
- package/dist/{load-extensions-CW9uzNR5.mjs → load-extensions-DG5LvPyM.mjs} +1 -1
- package/dist/{materialization-CcpCDhXh.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-B7bntOB8.mjs → namespace-BL7lHlmg.mjs} +1 -1
- package/dist/{namespace-CAy4P5mW.d.mts → namespace-BNp7n_gu.d.mts} +4 -4
- package/dist/{namespace-DSlfFhB1.d.mts → namespace-BRuHzhPo.d.mts} +154 -2
- package/dist/{namespace-ChnRTUG4.d.mts → namespace-C06lJSuj.d.mts} +6 -6
- package/dist/{namespace-Rge9mMI-.d.mts → namespace-DOezqDti.d.mts} +18 -18
- package/dist/{namespace-C6CVEGH8.d.mts → namespace-DknCutQZ.d.mts} +50 -0
- package/dist/namespace-sCPb79-7.mjs +1 -0
- package/dist/{native-session-supervisor-fZYPUk0-.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-B-KRW1Z0.d.mts → orchestrator-shared-CNHSImNY.d.mts} +9 -10
- package/dist/ownership-memory-handler-BpGdR_uG.mjs +1 -0
- package/dist/ownership-recovery-guard-DyW5vGBr.mjs +1 -0
- package/dist/{package-ypz4rKvn.mjs → package-B01gmu75.mjs} +1 -1
- package/dist/{package-Bf3hyuzs.d.mts → package-BNFTUFLB.d.mts} +2 -2
- package/dist/package-DttKA9wN.mjs +1 -0
- package/dist/{package-CddkNbZI.mjs → package-JtjbO-Oi.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/{profile-BtznZlq3.mjs → profile-N5qGUpF0.mjs} +1 -1
- package/dist/{provider-context-Dh-VOOYF.mjs → provider-context-CG42JlP9.mjs} +1 -1
- package/dist/{provider-context-BrLZYnDW.mjs → provider-context-zTDSH2x9.mjs} +1 -1
- package/dist/{reaction-BS0k4eNN.mjs → reaction-D3TNwPK8.mjs} +1 -1
- package/dist/{registry-BO_bOoky.mjs → registry-Dk12tAfv.mjs} +1 -1
- package/dist/{resolved-DMByz1_2.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 +6 -4
- 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-DKTzriEY.d.mts → schema-B3Pf7JP7.d.mts} +250 -3
- package/dist/{schema-DBG7Jq5_.mjs → schema-Dq-7si8u.mjs} +1 -1
- package/dist/{schemas-C-Bm6Oac.d.mts → schemas-BXc9qOpl.d.mts} +2 -0
- package/dist/{schemas-DSkBOdx_.mjs → schemas-BfO5jkrL.mjs} +1 -1
- package/dist/{schemas-B7zo7Zcx.d.mts → schemas-C1mxTfd7.d.mts} +60 -4
- package/dist/schemas-C3kyQWGf.mjs +1 -0
- package/dist/{schemas-9qeeHGBf.d.mts → schemas-Dd13TMgU.d.mts} +8 -8
- package/dist/{schemas-DZH9lpxs.d.mts → schemas-OWvBn7AH.d.mts} +4 -4
- package/dist/{schemas-CsjN7cmM.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-7Ku8DBnh.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 +3 -3
- 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/automation-trigger/index.mjs +1 -1
- 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 +4 -4
- 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 +164 -64
- package/dist/services/index.mjs +1 -1
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/log-import.mjs +1 -1
- package/dist/services/log-import/namespace.mjs +1 -1
- package/dist/services/log-import/schemas.mjs +1 -1
- package/dist/services/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 +1 -1
- 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 +22 -1
- package/dist/services/session/testing/index.mjs +38 -14
- 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 +8 -8
- package/dist/services/settings/namespace.mjs +1 -1
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/clients-namespace.mjs +1 -1
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/index.mjs +1 -1
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent/index.mjs +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/index.mjs +1 -1
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/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/{session-lineage-B_PVa1XN.d.mts → session-lineage-bUkd3fqx.d.mts} +1 -1
- package/dist/{shared-BFVuCDPx.mjs → shared-B9AWRm9A.mjs} +1 -1
- package/dist/{skill-C1D51nhh.mjs → skill-DGNtc_ww.mjs} +1 -1
- package/dist/{src-xbmzokNe.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 +41 -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-DxwHox1a.mjs → tools-DWKWX3eV.mjs} +1 -1
- package/dist/{transition-BF1nevaC.d.mts → transition-D3zUBTPc.d.mts} +6 -6
- package/dist/{types-BNjPhj_a.d.mts → types-CtDGkyLx2.d.mts} +1 -1
- package/dist/types-Cwza95hS.mjs +1 -0
- package/dist/{types-CijlWGwb.d.mts → types-DcxBYlPA.d.mts} +3023 -43
- package/dist/types-DnK6Wa_Y.d.mts +260 -0
- package/dist/{types-ClpEaoAm.d.mts → types-OKJCOjme.d.mts} +24 -4
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/utils/index.d.mts +22 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/utils/project-manifest.mjs +1 -1
- package/dist/{version-BfNnVAGr.mjs → version-BYeVh1pI.mjs} +1 -1
- package/dist/{view-builder-Bc9dx6jF.d.mts → view-builder-B0j9p5C0.d.mts} +4 -4
- package/dist/{visibility-Dl1o2I01.mjs → visibility-DtDLRBdr.mjs} +1 -1
- package/dist/worker-node-CjuQb9hl.mjs +1 -0
- package/dist/{worker-node-DJ41Tr-F.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 +126 -126
- 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 +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-transitions-DM0fN_eP.mjs → workflow-transitions-c_VQbyV0.mjs} +1 -1
- package/dist/workflow-worker-aNbdgqml.mjs +1 -0
- package/package.json +18 -1
- package/dist/adapter-BkdJaOOG.mjs +0 -1
- package/dist/agent-namespace-D51PODFf.mjs +0 -1
- package/dist/attach-error-BSlc7JfL.mjs +0 -1
- package/dist/bus-BIj0_aG6.mjs +0 -1
- package/dist/capabilities-Bqckjh7G.mjs +0 -1
- package/dist/capability-service-CJHNkjvm.mjs +0 -1
- package/dist/event-DR8U9Efx.mjs +0 -1
- package/dist/framework-packages-D_2hBZ-p.mjs +0 -1
- package/dist/handlers-2yd00VEq.mjs +0 -57
- package/dist/identity-DC3Pk0ps.mjs +0 -1
- package/dist/index-OsbtyMgx2.d.mts +0 -98
- package/dist/json-value-C1RGgS0a.d.mts +0 -72
- package/dist/json-value-D57aJhVn.mjs +0 -1
- package/dist/model-ZH3L1dPW.mjs +0 -1
- package/dist/namespace-CxrOLeeP.mjs +0 -1
- package/dist/orchestrator-shared-CTCZc6Vl.mjs +0 -1
- package/dist/ownership-memory-handler-Bblp93YC.mjs +0 -1
- package/dist/schemas-BqD8LlQw.mjs +0 -1
- package/dist/schemas-CvHFbzdy.mjs +0 -1
- package/dist/schemas-DplrlAyR.mjs +0 -1
- package/dist/scoped-bus-ClwTWqX8.mjs +0 -1
- package/dist/session-BMy2kRpX.mjs +0 -90
- package/dist/session-Cipx34j6.mjs +0 -1
- package/dist/tool-approval-service-BVgN9Q1r.mjs +0 -1
- package/dist/worker-node-BDOYPEpi.mjs +0 -1
- package/dist/workflow-Hzc5jlnV.mjs +0 -1
- package/dist/workflow-worker-DARC7UZl.mjs +0 -1
- package/dist/{adapter-auth-runtime-D9Lnl7cc.mjs → adapter-auth-runtime-DHHppU4f.mjs} +0 -0
- package/dist/{adapter-binding-B-FBoCys.d.mts → adapter-binding-CATvmGuz.d.mts} +0 -0
- package/dist/{ajv-L5fKxaia.mjs → ajv-krzJXh1X.mjs} +0 -0
- package/dist/{attempt-record-codec-DaFLKR5C.mjs → attempt-record-codec-BYfYkj4M.mjs} +0 -0
- package/dist/{await-trigger-ph1S0zVI.mjs → await-trigger-Bkg2BQfg.mjs} +0 -0
- package/dist/{base-orchestrator-D9u4NyiM.d.mts → base-orchestrator-B4YW6z_Q.d.mts} +0 -0
- package/dist/{index-Ol9RBB0W2.d.mts → capability-service-BW1-teFU.d.mts} +0 -0
- package/dist/{client-4ihewPUm.d.mts → client-BG0WX5Vz.d.mts} +0 -0
- package/dist/{client-binary-version-verifier-DJajc_Ff.mjs → client-binary-version-verifier-0lCKZOTg.mjs} +0 -0
- package/dist/{client-binary-version-verifier-jDDZ64Ah.d.mts → client-binary-version-verifier-lcv83Hq3.d.mts} +0 -0
- package/dist/{clients-namespace-DFWuUawf.d.mts → clients-namespace-DLAjOTTb.d.mts} +0 -0
- package/dist/{config-namespace-D1kyZj0B.d.mts → config-namespace-CH7sJZ4f.d.mts} +0 -0
- package/dist/{create-static-mount-9tnGpIeK.mjs → create-static-mount-DxuixuLZ.mjs} +0 -0
- package/dist/{cross-spawn-BIgueAqr.mjs → cross-spawn-CZygZJMH.mjs} +0 -0
- package/dist/{cursor-storage-ROWfiTh1.mjs → cursor-storage-bsc9lZKk.mjs} +0 -0
- package/dist/{definition-DB-kKc0d.d.mts → definition-BrgzUuFk.d.mts} +0 -0
- package/dist/{definitions-CF6YmEhL.mjs → definitions-CRpdnHYM.mjs} +0 -0
- package/dist/{descriptor-to-package-BecVCopf.mjs → descriptor-to-package-CcjdoWP4.mjs} +0 -0
- package/dist/{drizzle-CPv3vdTE.mjs → drizzle-Bzc-OGVI.mjs} +0 -0
- package/dist/{esm-CBFWM8u_.mjs → esm-i-S5TW72.mjs} +0 -0
- package/dist/{extension-namespace-B554RmCp.mjs → extension-namespace-QoTTwKPt.mjs} +0 -0
- package/dist/{extension-package-provenance-Dh_-Z-tE.mjs → extension-package-provenance-aYrZuS4W.mjs} +0 -0
- package/dist/{facet-DVsW12iF.mjs → facet-BnMh7Jyc.mjs} +0 -0
- package/dist/{filesystem-service-Cm2RHKBa.d.mts → filesystem-service-ZJ43SbBi.d.mts} +0 -0
- package/dist/{handler-Bqlk-6BY.mjs → handler-DF1fVDpf.mjs} +0 -0
- package/dist/{host-k5yoyKHg.mjs → host-B-_ntOMH.mjs} +0 -0
- package/dist/{index-DwLRZscE.d.mts → index-8y4hT9WL.d.mts} +0 -0
- package/dist/{index-C7HcDpHE.d.mts → index-B-3I98nw.d.mts} +0 -0
- package/dist/{index-BcvqDfcN.d.mts → index-B2Y1Wvbh.d.mts} +0 -0
- package/dist/{index-BRCrFirq.d.mts → index-B4svZC6L.d.mts} +0 -0
- package/dist/{index-CQuRTeRa.d.mts → index-B5dP8rj6.d.mts} +0 -0
- package/dist/{index-CRmE88hi.d.mts → index-BC-6qNeo.d.mts} +0 -0
- package/dist/{index-CxSSdIZz.d.mts → index-BFWvT0NG.d.mts} +0 -0
- package/dist/{index-DP3o_13U.d.mts → index-BM56936c.d.mts} +0 -0
- package/dist/{index-BVcQcphK.d.mts → index-BMRB9yhF.d.mts} +0 -0
- package/dist/{index-bIe_57cL.d.mts → index-BTEJfzjE.d.mts} +0 -0
- package/dist/{index-DgOfgjx3.d.mts → index-BfV8U4XX.d.mts} +0 -0
- package/dist/{index-DBadVauL.d.mts → index-BmevAPME2.d.mts} +0 -0
- package/dist/{index-BJAB-BW_.d.mts → index-C4V8Pmi4.d.mts} +0 -0
- package/dist/{index-aoxdnhJ42.d.mts → index-CL0Jo1b92.d.mts} +0 -0
- package/dist/{index-CvW9_SzR.d.mts → index-CVpaGijY.d.mts} +0 -0
- package/dist/{index-E4SET1AA.d.mts → index-CmbkCxj-.d.mts} +0 -0
- package/dist/{index-BgGe9WZz.d.mts → index-CqdMbYmR.d.mts} +0 -0
- package/dist/{index-BQprJNA_.d.mts → index-D037TVsm.d.mts} +0 -0
- package/dist/{index-BeENojSx2.d.mts → index-DgspOUa72.d.mts} +0 -0
- package/dist/{index-42UdYStR.d.mts → index-Ek4y8M9J2.d.mts} +0 -0
- package/dist/{index-Beo_Ik8-.d.mts → index-VzLAV0Yt.d.mts} +0 -0
- package/dist/{index-BSbGB23v.d.mts → index-jxPncqWZ2.d.mts} +0 -0
- package/dist/{index-BRzHs7Bx.d.mts → index-kzIjbrS02.d.mts} +6 -6
- /package/dist/{index-BJMezANn.d.mts → index-l01zsChf.d.mts} +0 -0
- /package/dist/{index-CK3f0bAL.d.mts → index-pvX-BIpr2.d.mts} +0 -0
- /package/dist/{jsonl-transport-Bp_6pB2a.mjs → jsonl-transport-Cyyh5Wje.mjs} +0 -0
- /package/dist/{lib-Bwdd2m81.mjs → lib-BqV8hYtk.mjs} +0 -0
- /package/dist/{model-registry-yURX738J.mjs → model-registry-C9rFu3kV.mjs} +0 -0
- /package/dist/{model-registry-Y854mUml.mjs → model-registry-Cixxx2jv.mjs} +0 -0
- /package/dist/{modes-DmUsjHdV.mjs → modes-DwsJ3yVl.mjs} +0 -0
- /package/dist/{namespace-ByP1Iipi.d.mts → namespace-B0ftHlK3.d.mts} +0 -0
- /package/dist/{namespace-C1D77w7U.d.mts → namespace-BGRHcrmp.d.mts} +0 -0
- /package/dist/{namespace-Bi3CmYQy.d.mts → namespace-BUYDmd0r.d.mts} +0 -0
- /package/dist/{namespace-CkBbNFSU.mjs → namespace-BW3Bfu9h.mjs} +0 -0
- /package/dist/{namespace-DX1Ec15L.d.mts → namespace-BdAK0lD8.d.mts} +0 -0
- /package/dist/{namespace-Dgg0uoe6.d.mts → namespace-CPG6u60N.d.mts} +0 -0
- /package/dist/{namespace-BusZERU8.d.mts → namespace-CVFaZv8x.d.mts} +0 -0
- /package/dist/{namespace-yREpGJgG.d.mts → namespace-DBO1OzYB.d.mts} +0 -0
- /package/dist/{namespace-CfIW0hpQ.mjs → namespace-DiwqpB-c.mjs} +0 -0
- /package/dist/{namespace-s2y_NFKf.d.mts → namespace-DqZweTbX.d.mts} +0 -0
- /package/dist/{namespace-CFjdyNXG.mjs → namespace-Du0accdE.mjs} +0 -0
- /package/dist/{namespace-BFqkUTJp.mjs → namespace-NXm_zvL1.mjs} +0 -0
- /package/dist/{namespace-B9FEGuEu.mjs → namespace-jVTsuZHX.mjs} +0 -0
- /package/dist/{namespace-DwZwGXgF.d.mts → namespace-l-HG1rLF.d.mts} +0 -0
- /package/dist/{namespace-DbNWsPFY.mjs → namespace-tjoxekmf.mjs} +0 -0
- /package/dist/{out-DrhwCgqM.mjs → out-8bOYN6EF.mjs} +0 -0
- /package/dist/{package-CBdvjyyZ.mjs → package-EGTn-Ng1.mjs} +0 -0
- /package/dist/{packages-FBv3fAOR.mjs → packages-Bp124-gx.mjs} +0 -0
- /package/dist/{packages-N3-2Kl-Y.d.mts → packages-CxPMEg8D.d.mts} +0 -0
- /package/dist/{platform-BrsMv_S3.mjs → platform-CxyYPrkf.mjs} +0 -0
- /package/dist/{provider-operation-DJ_TLZFf.d.mts → provider-operation-DbdyFwNm.d.mts} +0 -0
- /package/dist/{providers-CCcn4Ndp.mjs → providers-C-eekMxD.mjs} +0 -0
- /package/dist/{providers-namespace-DeJBh6MP.d.mts → providers-namespace-CfZKp-C0.d.mts} +0 -0
- /package/dist/{quick-lru-uwB0hP-y.mjs → quick-lru-CCEnf7y6.mjs} +0 -0
- /package/dist/{schema-jIapW8Kb.mjs → schema-C0opCPww.mjs} +0 -0
- /package/dist/{schema-introspection-C1wvklj9.mjs → schema-introspection-6-r_KEJQ.mjs} +0 -0
- /package/dist/{schemas-CeUI2i5j.d.mts → schemas-B50oWBuj.d.mts} +0 -0
- /package/dist/{schemas-CD0wOQxx.d.mts → schemas-B6Q-qdmn.d.mts} +0 -0
- /package/dist/{schemas-DgwEVUt-.mjs → schemas-B8hKbBwI.mjs} +0 -0
- /package/dist/{schemas-sMoRnBdZ.d.mts → schemas-BGvkTiCx.d.mts} +0 -0
- /package/dist/{schemas-BNdiVBWh.mjs → schemas-BivbWRkG.mjs} +0 -0
- /package/dist/{schemas-Cg-Kwp8c.d.mts → schemas-ChmQldVH.d.mts} +0 -0
- /package/dist/{schemas-VbB1FTxx.d.mts → schemas-D7ScxLrf.d.mts} +0 -0
- /package/dist/{schemas-Cv3rR9Sz.d.mts → schemas-Pe892GgN.d.mts} +0 -0
- /package/dist/{schemas-qA279_j_.d.mts → schemas-bfZNpl0B.d.mts} +0 -0
- /package/dist/{schemas-mLpOfMoN.mjs → schemas-scyC2tFF.mjs} +0 -0
- /package/dist/{semver-DTXuyLcK.mjs → semver-BI7kTNsY.mjs} +0 -0
- /package/dist/{server-lifecycle-DKx_fWlq.mjs → server-lifecycle-B_OZnoe-.mjs} +0 -0
- /package/dist/{server-lifecycle-C_8iKgat.d.mts → server-lifecycle-L8zja8t8.d.mts} +0 -0
- /package/dist/{shared-schemas-aahW97QW.mjs → shared-schemas-CQ6blrEW.mjs} +0 -0
- /package/dist/{src-DHqsl5Pg.mjs → src-BacfeiI4.mjs} +0 -0
- /package/dist/{storage-namespace-Dz2jsssp.mjs → storage-namespace-BZce8kkW.mjs} +0 -0
- /package/dist/{storage-namespace-Tf3P5yJ5.d.mts → storage-namespace-YmE8XCCL.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-CDef0E20.mjs → storage-namespace-definition-Cca-zwXU.mjs} +0 -0
- /package/dist/{supports-color-i7OTnKcZ.mjs → supports-color-SV_FgSN2.mjs} +0 -0
- /package/dist/{telemetry-BvCBUjFg.mjs → telemetry-BqoC87F-.mjs} +0 -0
- /package/dist/{timeout-B0nYjLc8.mjs → timeout-DVlN2Zhy.mjs} +0 -0
- /package/dist/{tray-menu-service-Deo6yyP8.mjs → tray-menu-service-eVVxgPLc.mjs} +0 -0
- /package/dist/{types-xCdGghb2.d.mts → types-BlB23n4f.d.mts} +0 -0
- /package/dist/{types-CNS55jvt.d.mts → types-DdpSEmTO.d.mts} +0 -0
- /package/dist/{types-Ce6LL25v.d.mts → types-tyv0B605.d.mts} +0 -0
- /package/dist/{ui-config-BIyGzMNL.mjs → ui-config-B35GloSX.mjs} +0 -0
- /package/dist/{variant-B4uWdxW7.mjs → variant-Dwnge3J_.mjs} +0 -0
- /package/dist/{window-registry-CoBJq3u4.mjs → window-registry-CKiMJjId.mjs} +0 -0
- /package/dist/{window-registry-BLtVx3Iw.d.mts → window-registry-Pcf35cac.d.mts} +0 -0
- /package/dist/{zod-json-schema-BAGAFfCN.mjs → zod-json-schema-Dixc-B1T.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as ArtifactRepresentations, L as ArtifactRef$1, U as ArtifactRelationTarget, Y as ArtifactScope, a as ResolvedArtifactContextWire$1, j as ArtifactObservation$1, k as ArtifactKindRegistration$1, l as ArtifactProjectionPolicy$1, q as ArtifactRevision$1, r as ArtifactContextUnresolvedReason, x as ArtifactActor, z as ArtifactRelation } from "./context-resolution-
|
|
1
|
+
import { G as ArtifactRepresentations, L as ArtifactRef$1, U as ArtifactRelationTarget, Y as ArtifactScope, a as ResolvedArtifactContextWire$1, j as ArtifactObservation$1, k as ArtifactKindRegistration$1, l as ArtifactProjectionPolicy$1, q as ArtifactRevision$1, r as ArtifactContextUnresolvedReason, x as ArtifactActor, z as ArtifactRelation } from "./context-resolution-841T7jBI.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
4
4
|
import { MakaioBusLike } from "@makaio/framework/core";
|
|
@@ -632,8 +632,8 @@ declare const ArtifactSchemas: {
|
|
|
632
632
|
comment: "comment";
|
|
633
633
|
}>;
|
|
634
634
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
635
|
-
workpiece: "workpiece";
|
|
636
635
|
artifact: "artifact";
|
|
636
|
+
workpiece: "workpiece";
|
|
637
637
|
}>>;
|
|
638
638
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
639
639
|
created: "created";
|
|
@@ -722,8 +722,8 @@ declare const ArtifactSchemas: {
|
|
|
722
722
|
comment: "comment";
|
|
723
723
|
}>;
|
|
724
724
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
725
|
-
workpiece: "workpiece";
|
|
726
725
|
artifact: "artifact";
|
|
726
|
+
workpiece: "workpiece";
|
|
727
727
|
}>>;
|
|
728
728
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
729
729
|
created: "created";
|
|
@@ -782,8 +782,8 @@ declare const ArtifactSchemas: {
|
|
|
782
782
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
783
783
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
784
784
|
local: "local";
|
|
785
|
-
artifact: "artifact";
|
|
786
785
|
evidence: "evidence";
|
|
786
|
+
artifact: "artifact";
|
|
787
787
|
}>>>;
|
|
788
788
|
}, z.core.$strip>;
|
|
789
789
|
response: z.ZodObject<{
|
|
@@ -806,8 +806,8 @@ declare const ArtifactSchemas: {
|
|
|
806
806
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
807
807
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
808
808
|
local: "local";
|
|
809
|
-
artifact: "artifact";
|
|
810
809
|
evidence: "evidence";
|
|
810
|
+
artifact: "artifact";
|
|
811
811
|
}>>>;
|
|
812
812
|
}, z.core.$strip>>;
|
|
813
813
|
}, z.core.$strip>;
|
|
@@ -817,6 +817,16 @@ declare const ArtifactSchemas: {
|
|
|
817
817
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
818
818
|
kind: z.ZodString;
|
|
819
819
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
820
|
+
scope: z.ZodObject<{
|
|
821
|
+
level: z.ZodString;
|
|
822
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
823
|
+
}, z.core.$strip>;
|
|
824
|
+
schemaVersion: z.ZodString;
|
|
825
|
+
actor: z.ZodObject<{
|
|
826
|
+
kind: z.ZodString;
|
|
827
|
+
id: z.ZodString;
|
|
828
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
829
|
+
}, z.core.$strip>;
|
|
820
830
|
relations: z.ZodArray<z.ZodObject<{
|
|
821
831
|
type: z.ZodString;
|
|
822
832
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -841,16 +851,6 @@ declare const ArtifactSchemas: {
|
|
|
841
851
|
locator: z.ZodOptional<z.ZodString>;
|
|
842
852
|
}, z.core.$strip>], "refClass">>;
|
|
843
853
|
}, z.core.$strip>>;
|
|
844
|
-
scope: z.ZodObject<{
|
|
845
|
-
level: z.ZodString;
|
|
846
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
847
|
-
}, z.core.$strip>;
|
|
848
|
-
schemaVersion: z.ZodString;
|
|
849
|
-
actor: z.ZodObject<{
|
|
850
|
-
kind: z.ZodString;
|
|
851
|
-
id: z.ZodString;
|
|
852
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
853
|
-
}, z.core.$strip>;
|
|
854
854
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
855
855
|
level: z.ZodEnum<{
|
|
856
856
|
inferred: "inferred";
|
|
@@ -999,6 +999,16 @@ declare const ArtifactSchemas: {
|
|
|
999
999
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1000
1000
|
kind: z.ZodString;
|
|
1001
1001
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1002
|
+
scope: z.ZodObject<{
|
|
1003
|
+
level: z.ZodString;
|
|
1004
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1005
|
+
}, z.core.$strip>;
|
|
1006
|
+
schemaVersion: z.ZodString;
|
|
1007
|
+
actor: z.ZodObject<{
|
|
1008
|
+
kind: z.ZodString;
|
|
1009
|
+
id: z.ZodString;
|
|
1010
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1011
|
+
}, z.core.$strip>;
|
|
1002
1012
|
relations: z.ZodArray<z.ZodObject<{
|
|
1003
1013
|
type: z.ZodString;
|
|
1004
1014
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1023,16 +1033,6 @@ declare const ArtifactSchemas: {
|
|
|
1023
1033
|
locator: z.ZodOptional<z.ZodString>;
|
|
1024
1034
|
}, z.core.$strip>], "refClass">>;
|
|
1025
1035
|
}, z.core.$strip>>;
|
|
1026
|
-
scope: z.ZodObject<{
|
|
1027
|
-
level: z.ZodString;
|
|
1028
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1029
|
-
}, z.core.$strip>;
|
|
1030
|
-
schemaVersion: z.ZodString;
|
|
1031
|
-
actor: z.ZodObject<{
|
|
1032
|
-
kind: z.ZodString;
|
|
1033
|
-
id: z.ZodString;
|
|
1034
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
1035
|
-
}, z.core.$strip>;
|
|
1036
1036
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
1037
1037
|
level: z.ZodEnum<{
|
|
1038
1038
|
inferred: "inferred";
|
|
@@ -1319,7 +1319,7 @@ declare const ArtifactSchemas: {
|
|
|
1319
1319
|
verified: "verified";
|
|
1320
1320
|
}>>;
|
|
1321
1321
|
}, z.core.$strip>>;
|
|
1322
|
-
indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue,
|
|
1322
|
+
indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
|
|
1323
1323
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1324
1324
|
}, z.core.$strip>;
|
|
1325
1325
|
response: z.ZodObject<{
|
|
@@ -2085,8 +2085,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2085
2085
|
comment: "comment";
|
|
2086
2086
|
}>;
|
|
2087
2087
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
2088
|
-
workpiece: "workpiece";
|
|
2089
2088
|
artifact: "artifact";
|
|
2089
|
+
workpiece: "workpiece";
|
|
2090
2090
|
}>>;
|
|
2091
2091
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2092
2092
|
created: "created";
|
|
@@ -2175,8 +2175,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2175
2175
|
comment: "comment";
|
|
2176
2176
|
}>;
|
|
2177
2177
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
2178
|
-
workpiece: "workpiece";
|
|
2179
2178
|
artifact: "artifact";
|
|
2179
|
+
workpiece: "workpiece";
|
|
2180
2180
|
}>>;
|
|
2181
2181
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2182
2182
|
created: "created";
|
|
@@ -2235,8 +2235,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2235
2235
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2236
2236
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2237
2237
|
local: "local";
|
|
2238
|
-
artifact: "artifact";
|
|
2239
2238
|
evidence: "evidence";
|
|
2239
|
+
artifact: "artifact";
|
|
2240
2240
|
}>>>;
|
|
2241
2241
|
}, z.core.$strip>;
|
|
2242
2242
|
response: z.ZodObject<{
|
|
@@ -2259,8 +2259,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2259
2259
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2260
2260
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2261
2261
|
local: "local";
|
|
2262
|
-
artifact: "artifact";
|
|
2263
2262
|
evidence: "evidence";
|
|
2263
|
+
artifact: "artifact";
|
|
2264
2264
|
}>>>;
|
|
2265
2265
|
}, z.core.$strip>>;
|
|
2266
2266
|
}, z.core.$strip>;
|
|
@@ -2270,6 +2270,16 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2270
2270
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2271
2271
|
kind: z.ZodString;
|
|
2272
2272
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2273
|
+
scope: z.ZodObject<{
|
|
2274
|
+
level: z.ZodString;
|
|
2275
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2276
|
+
}, z.core.$strip>;
|
|
2277
|
+
schemaVersion: z.ZodString;
|
|
2278
|
+
actor: z.ZodObject<{
|
|
2279
|
+
kind: z.ZodString;
|
|
2280
|
+
id: z.ZodString;
|
|
2281
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2282
|
+
}, z.core.$strip>;
|
|
2273
2283
|
relations: z.ZodArray<z.ZodObject<{
|
|
2274
2284
|
type: z.ZodString;
|
|
2275
2285
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2294,16 +2304,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2294
2304
|
locator: z.ZodOptional<z.ZodString>;
|
|
2295
2305
|
}, z.core.$strip>], "refClass">>;
|
|
2296
2306
|
}, z.core.$strip>>;
|
|
2297
|
-
scope: z.ZodObject<{
|
|
2298
|
-
level: z.ZodString;
|
|
2299
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2300
|
-
}, z.core.$strip>;
|
|
2301
|
-
schemaVersion: z.ZodString;
|
|
2302
|
-
actor: z.ZodObject<{
|
|
2303
|
-
kind: z.ZodString;
|
|
2304
|
-
id: z.ZodString;
|
|
2305
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
2306
|
-
}, z.core.$strip>;
|
|
2307
2307
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
2308
2308
|
level: z.ZodEnum<{
|
|
2309
2309
|
inferred: "inferred";
|
|
@@ -2452,6 +2452,16 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2452
2452
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2453
2453
|
kind: z.ZodString;
|
|
2454
2454
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2455
|
+
scope: z.ZodObject<{
|
|
2456
|
+
level: z.ZodString;
|
|
2457
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2458
|
+
}, z.core.$strip>;
|
|
2459
|
+
schemaVersion: z.ZodString;
|
|
2460
|
+
actor: z.ZodObject<{
|
|
2461
|
+
kind: z.ZodString;
|
|
2462
|
+
id: z.ZodString;
|
|
2463
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2464
|
+
}, z.core.$strip>;
|
|
2455
2465
|
relations: z.ZodArray<z.ZodObject<{
|
|
2456
2466
|
type: z.ZodString;
|
|
2457
2467
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2476,16 +2486,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2476
2486
|
locator: z.ZodOptional<z.ZodString>;
|
|
2477
2487
|
}, z.core.$strip>], "refClass">>;
|
|
2478
2488
|
}, z.core.$strip>>;
|
|
2479
|
-
scope: z.ZodObject<{
|
|
2480
|
-
level: z.ZodString;
|
|
2481
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2482
|
-
}, z.core.$strip>;
|
|
2483
|
-
schemaVersion: z.ZodString;
|
|
2484
|
-
actor: z.ZodObject<{
|
|
2485
|
-
kind: z.ZodString;
|
|
2486
|
-
id: z.ZodString;
|
|
2487
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
2488
|
-
}, z.core.$strip>;
|
|
2489
2489
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
2490
2490
|
level: z.ZodEnum<{
|
|
2491
2491
|
inferred: "inferred";
|
|
@@ -2772,7 +2772,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2772
2772
|
verified: "verified";
|
|
2773
2773
|
}>>;
|
|
2774
2774
|
}, z.core.$strip>>;
|
|
2775
|
-
indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue,
|
|
2775
|
+
indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
|
|
2776
2776
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2777
2777
|
}, z.core.$strip>;
|
|
2778
2778
|
response: z.ZodObject<{
|
|
@@ -3552,8 +3552,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3552
3552
|
comment: "comment";
|
|
3553
3553
|
}>;
|
|
3554
3554
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
3555
|
-
workpiece: "workpiece";
|
|
3556
3555
|
artifact: "artifact";
|
|
3556
|
+
workpiece: "workpiece";
|
|
3557
3557
|
}>>;
|
|
3558
3558
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3559
3559
|
created: "created";
|
|
@@ -3642,8 +3642,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3642
3642
|
comment: "comment";
|
|
3643
3643
|
}>;
|
|
3644
3644
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
3645
|
-
workpiece: "workpiece";
|
|
3646
3645
|
artifact: "artifact";
|
|
3646
|
+
workpiece: "workpiece";
|
|
3647
3647
|
}>>;
|
|
3648
3648
|
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3649
3649
|
created: "created";
|
|
@@ -3702,8 +3702,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3702
3702
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3703
3703
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3704
3704
|
local: "local";
|
|
3705
|
-
artifact: "artifact";
|
|
3706
3705
|
evidence: "evidence";
|
|
3706
|
+
artifact: "artifact";
|
|
3707
3707
|
}>>>;
|
|
3708
3708
|
}, z.core.$strip>;
|
|
3709
3709
|
response: z.ZodObject<{
|
|
@@ -3726,8 +3726,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3726
3726
|
targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3727
3727
|
targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3728
3728
|
local: "local";
|
|
3729
|
-
artifact: "artifact";
|
|
3730
3729
|
evidence: "evidence";
|
|
3730
|
+
artifact: "artifact";
|
|
3731
3731
|
}>>>;
|
|
3732
3732
|
}, z.core.$strip>>;
|
|
3733
3733
|
}, z.core.$strip>;
|
|
@@ -3737,6 +3737,16 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3737
3737
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3738
3738
|
kind: z.ZodString;
|
|
3739
3739
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
3740
|
+
scope: z.ZodObject<{
|
|
3741
|
+
level: z.ZodString;
|
|
3742
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3743
|
+
}, z.core.$strip>;
|
|
3744
|
+
schemaVersion: z.ZodString;
|
|
3745
|
+
actor: z.ZodObject<{
|
|
3746
|
+
kind: z.ZodString;
|
|
3747
|
+
id: z.ZodString;
|
|
3748
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3749
|
+
}, z.core.$strip>;
|
|
3740
3750
|
relations: z.ZodArray<z.ZodObject<{
|
|
3741
3751
|
type: z.ZodString;
|
|
3742
3752
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3761,16 +3771,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3761
3771
|
locator: z.ZodOptional<z.ZodString>;
|
|
3762
3772
|
}, z.core.$strip>], "refClass">>;
|
|
3763
3773
|
}, z.core.$strip>>;
|
|
3764
|
-
scope: z.ZodObject<{
|
|
3765
|
-
level: z.ZodString;
|
|
3766
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3767
|
-
}, z.core.$strip>;
|
|
3768
|
-
schemaVersion: z.ZodString;
|
|
3769
|
-
actor: z.ZodObject<{
|
|
3770
|
-
kind: z.ZodString;
|
|
3771
|
-
id: z.ZodString;
|
|
3772
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3773
|
-
}, z.core.$strip>;
|
|
3774
3774
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
3775
3775
|
level: z.ZodEnum<{
|
|
3776
3776
|
inferred: "inferred";
|
|
@@ -3919,6 +3919,16 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3919
3919
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3920
3920
|
kind: z.ZodString;
|
|
3921
3921
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
3922
|
+
scope: z.ZodObject<{
|
|
3923
|
+
level: z.ZodString;
|
|
3924
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3925
|
+
}, z.core.$strip>;
|
|
3926
|
+
schemaVersion: z.ZodString;
|
|
3927
|
+
actor: z.ZodObject<{
|
|
3928
|
+
kind: z.ZodString;
|
|
3929
|
+
id: z.ZodString;
|
|
3930
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3931
|
+
}, z.core.$strip>;
|
|
3922
3932
|
relations: z.ZodArray<z.ZodObject<{
|
|
3923
3933
|
type: z.ZodString;
|
|
3924
3934
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3943,16 +3953,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3943
3953
|
locator: z.ZodOptional<z.ZodString>;
|
|
3944
3954
|
}, z.core.$strip>], "refClass">>;
|
|
3945
3955
|
}, z.core.$strip>>;
|
|
3946
|
-
scope: z.ZodObject<{
|
|
3947
|
-
level: z.ZodString;
|
|
3948
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3949
|
-
}, z.core.$strip>;
|
|
3950
|
-
schemaVersion: z.ZodString;
|
|
3951
|
-
actor: z.ZodObject<{
|
|
3952
|
-
kind: z.ZodString;
|
|
3953
|
-
id: z.ZodString;
|
|
3954
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3955
|
-
}, z.core.$strip>;
|
|
3956
3956
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
3957
3957
|
level: z.ZodEnum<{
|
|
3958
3958
|
inferred: "inferred";
|
|
@@ -4239,7 +4239,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
4239
4239
|
verified: "verified";
|
|
4240
4240
|
}>>;
|
|
4241
4241
|
}, z.core.$strip>>;
|
|
4242
|
-
indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue,
|
|
4242
|
+
indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
|
|
4243
4243
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
4244
4244
|
}, z.core.$strip>;
|
|
4245
4245
|
response: z.ZodObject<{
|
|
@@ -0,0 +1,132 @@
|
|
|
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/capability/types.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Base interface all capability providers must implement.
|
|
9
|
+
*
|
|
10
|
+
* Capability providers are registered by extensions to provide
|
|
11
|
+
* platform-specific or service-specific functionality.
|
|
12
|
+
*/
|
|
13
|
+
interface ICapabilityProvider {
|
|
14
|
+
/** Unique identifier for this provider instance */
|
|
15
|
+
readonly id: string;
|
|
16
|
+
/** Human-readable name for display in UI */
|
|
17
|
+
readonly displayName: string;
|
|
18
|
+
/**
|
|
19
|
+
* Stable provider identity used for joins across registries.
|
|
20
|
+
*
|
|
21
|
+
* Unlike {@link id}, this should remain stable across runtime re-registration.
|
|
22
|
+
*/
|
|
23
|
+
readonly providerKey?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Optional validation method to check provider configuration/credentials.
|
|
26
|
+
* @returns Validation result with optional error message
|
|
27
|
+
*/
|
|
28
|
+
validate?(): Promise<{
|
|
29
|
+
valid: boolean;
|
|
30
|
+
error?: string;
|
|
31
|
+
}>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Interface for capability-based services that can be auto-wired by the runtime.
|
|
35
|
+
*
|
|
36
|
+
* Services implementing this interface can be registered declaratively
|
|
37
|
+
* and the runtime will handle initialization and shutdown automatically.
|
|
38
|
+
*/
|
|
39
|
+
interface ICapabilityBasedService {
|
|
40
|
+
/** The capability ID this service handles */
|
|
41
|
+
readonly capabilityId: string;
|
|
42
|
+
/** Initialize the service and register bus handlers */
|
|
43
|
+
init(): Promise<void>;
|
|
44
|
+
/** Destroy the service and cleanup handlers. Async teardown is allowed. */
|
|
45
|
+
destroy(): Promise<void> | void;
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region core/contracts/src/capability/schemas.d.ts
|
|
49
|
+
/**
|
|
50
|
+
* Provider summary for list responses.
|
|
51
|
+
*/
|
|
52
|
+
declare const ProviderSummarySchema: z.ZodObject<{
|
|
53
|
+
id: z.ZodString;
|
|
54
|
+
displayName: z.ZodString;
|
|
55
|
+
providerKey: z.ZodOptional<z.ZodString>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
/**
|
|
58
|
+
* Validation result for a single provider.
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* Capability provider registration payload.
|
|
62
|
+
*
|
|
63
|
+
* Note: Provider is typed as unknown at the Zod level because providers
|
|
64
|
+
* are runtime objects with methods that Zod cannot validate.
|
|
65
|
+
* Type safety is enforced via typed registration helpers in service packages.
|
|
66
|
+
*/
|
|
67
|
+
declare const ProviderRegistrationSchema: z.ZodObject<{
|
|
68
|
+
capabilityId: z.ZodString;
|
|
69
|
+
provider: z.ZodUnknown;
|
|
70
|
+
}, z.core.$strip>;
|
|
71
|
+
/**
|
|
72
|
+
* Capability provider unregistration payload.
|
|
73
|
+
*/
|
|
74
|
+
declare const ProviderUnregistrationSchema: z.ZodObject<{
|
|
75
|
+
capabilityId: z.ZodString;
|
|
76
|
+
providerId: z.ZodString;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
/**
|
|
79
|
+
* Capability domain schemas.
|
|
80
|
+
*
|
|
81
|
+
* Subjects for capability-related bus communication.
|
|
82
|
+
* Each key becomes a subject identifier as: `capability.{key}`
|
|
83
|
+
* @example
|
|
84
|
+
* ```typescript
|
|
85
|
+
* // List all push notification providers
|
|
86
|
+
* const result = await bus.request(CapabilitySubjects.listProviders, {
|
|
87
|
+
* capabilityId: 'push-notification',
|
|
88
|
+
* });
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
/** Type exports for external use */
|
|
92
|
+
type ProviderSummary = z.infer<typeof ProviderSummarySchema>;
|
|
93
|
+
type ProviderRegistration = z.infer<typeof ProviderRegistrationSchema>;
|
|
94
|
+
type ProviderUnregistration = z.infer<typeof ProviderUnregistrationSchema>;
|
|
95
|
+
//#endregion
|
|
96
|
+
//#region core/contracts/src/capability/namespace.d.ts
|
|
97
|
+
declare const CapabilitySubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"capability", {
|
|
98
|
+
listProviders: {
|
|
99
|
+
request: _$zod.ZodObject<{
|
|
100
|
+
capabilityId: _$zod.ZodString;
|
|
101
|
+
}, _$zod_v4_core0.$strip>;
|
|
102
|
+
response: _$zod.ZodObject<{
|
|
103
|
+
providers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
104
|
+
id: _$zod.ZodString;
|
|
105
|
+
displayName: _$zod.ZodString;
|
|
106
|
+
providerKey: _$zod.ZodOptional<_$zod.ZodString>;
|
|
107
|
+
}, _$zod_v4_core0.$strip>>;
|
|
108
|
+
}, _$zod_v4_core0.$strip>;
|
|
109
|
+
};
|
|
110
|
+
validate: {
|
|
111
|
+
request: _$zod.ZodObject<{
|
|
112
|
+
capabilityId: _$zod.ZodString;
|
|
113
|
+
}, _$zod_v4_core0.$strip>;
|
|
114
|
+
response: _$zod.ZodObject<{
|
|
115
|
+
results: _$zod.ZodArray<_$zod.ZodObject<{
|
|
116
|
+
id: _$zod.ZodString;
|
|
117
|
+
valid: _$zod.ZodBoolean;
|
|
118
|
+
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
119
|
+
}, _$zod_v4_core0.$strip>>;
|
|
120
|
+
}, _$zod_v4_core0.$strip>;
|
|
121
|
+
};
|
|
122
|
+
register: _$zod.ZodObject<{
|
|
123
|
+
capabilityId: _$zod.ZodString;
|
|
124
|
+
provider: _$zod.ZodUnknown;
|
|
125
|
+
}, _$zod_v4_core0.$strip>;
|
|
126
|
+
unregister: _$zod.ZodObject<{
|
|
127
|
+
capabilityId: _$zod.ZodString;
|
|
128
|
+
providerId: _$zod.ZodString;
|
|
129
|
+
}, _$zod_v4_core0.$strip>;
|
|
130
|
+
}>, "capability">;
|
|
131
|
+
//#endregion
|
|
132
|
+
export { ICapabilityBasedService as a, ProviderUnregistration as i, ProviderRegistration as n, ICapabilityProvider as o, ProviderSummary as r, CapabilitySubjects as t };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { t as CapabilityService } from "./capability-service-BW1-teFU.mjs";
|
|
2
|
+
import { IMakaioBus } from "@makaio/framework/bus";
|
|
3
|
+
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
4
|
+
import { MakaioNodeExtension } from "@makaio/framework/contracts";
|
|
5
|
+
|
|
6
|
+
//#region services/core/src/capability/package.d.ts
|
|
7
|
+
/** Token for the capability registry service. */
|
|
8
|
+
declare const CapabilityToken: _$_makaio_contracts0.ExtensionToken<CapabilityService>;
|
|
9
|
+
/**
|
|
10
|
+
* Package that starts the framework capability registry.
|
|
11
|
+
*
|
|
12
|
+
* The token and package live with the service rather than in the aggregate
|
|
13
|
+
* package list so that a domain depending on the capability registry can
|
|
14
|
+
* resolve the token without importing every other framework package.
|
|
15
|
+
*/
|
|
16
|
+
declare const capabilityPackage: MakaioNodeExtension<IMakaioBus>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { capabilityPackage as n, CapabilityToken as t };
|