@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,11 +1,11 @@
|
|
|
1
|
-
import { r as ExtensionDiscovery } from "./extension-discovery-
|
|
1
|
+
import { r as ExtensionDiscovery } from "./extension-discovery-Dhu3WplO.mjs";
|
|
2
2
|
import { RegistrableBusNamespaceDefinition } from "@makaio/framework/core";
|
|
3
3
|
import { BusTransport, IMakaioBus, SubjectTelemetryProjectorRegistry } from "@makaio/framework/bus";
|
|
4
|
-
import { ExtensionConfigProvider, IWorkerNodeProvider, IWorkflowRunner, IWorkflowRunner as IWorkflowRunner$1, LoopGateHandler, NormalizedWorkerNodeCapabilities, OutcomeAckDecision, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, TrayManifest, WorkerBootstrapClaimResponse, WorkerContributionManifest, WorkerContributionRef, WorkerMaterializationSpec, WorkerNodeAllocatedOutcome, WorkerNodeCapabilities, WorkerNodeDispatch, WorkerNodeProvisionRequest, WorkerNodeRequirements, WorkerRuntimeContext, WorkflowDefinition, WorkflowRunContext, WorkflowRunResult, WorkflowRunResult as WorkflowRunResult$1, WorkflowRunnerCompletion, WorkflowRunnerCompletion as WorkflowRunnerCompletion$1, WorkflowRunnerRunOptions, WorkflowWorkerConfig, WorkflowWorkerSource, WorkflowZodSchemas } from "@makaio/framework/contracts";
|
|
4
|
+
import { ExtensionConfigProvider, IWorkerNodeProvider, IWorkflowRunner, IWorkflowRunner as IWorkflowRunner$1, LoopGateHandler, MakaioNodeExtension, NormalizedWorkerNodeCapabilities, OutcomeAckDecision, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, TrayManifest, WorkerBootstrapClaimResponse, WorkerContributionManifest, WorkerContributionRef, WorkerMaterializationSpec, WorkerNodeAllocatedOutcome, WorkerNodeCapabilities, WorkerNodeDispatch, WorkerNodeProvisionRequest, WorkerNodeRequirements, WorkerRuntimeContext, WorkflowDefinition, WorkflowRunContext, WorkflowRunResult, WorkflowRunResult as WorkflowRunResult$1, WorkflowRunnerCompletion, WorkflowRunnerCompletion as WorkflowRunnerCompletion$1, WorkflowRunnerRunOptions, WorkflowWorkerConfig, WorkflowWorkerSource, WorkflowZodSchemas } from "@makaio/framework/contracts";
|
|
5
5
|
import { DispatchingAuth, TransportAuth } from "@makaio/framework/node/transports";
|
|
6
|
+
import { ContributionProcessor, ExtensionCoordinator, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, TransportProvider, WindowRegistry } from "@makaio/framework/kernel";
|
|
6
7
|
import { StorageEngine } from "@makaio/framework/storage/drizzle";
|
|
7
8
|
import { Toolset } from "@makaio/framework/tools";
|
|
8
|
-
import { ContributionProcessor, ExtensionCoordinator, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, TransportProvider, WindowRegistry } from "@makaio/framework/kernel";
|
|
9
9
|
import { IAdapterConfigRepository } from "@makaio/framework/services/adapter-subsystem";
|
|
10
10
|
import { PostInstallHandler, StrategyDependencies } from "@makaio/framework/clients";
|
|
11
11
|
import { DatabaseClient } from "@makaio/framework/storage/drizzle/client";
|
|
@@ -31,15 +31,14 @@ import { Server } from "node:http";
|
|
|
31
31
|
* are awaited during activation.
|
|
32
32
|
* 2. {@link activateAdapterRuntimeIdentity} — call **after** `coordinator.startAll()`:
|
|
33
33
|
* registers the adapter-runtime identity handlers and the adapter-name
|
|
34
|
-
* resolver, which resolve `adapterName` to the
|
|
35
|
-
*
|
|
34
|
+
* resolver, which resolve local `adapterName` values to the registered live
|
|
35
|
+
* adapter id that `AIAdapter` instances filter `AdapterSubjects.startAgent` on.
|
|
36
36
|
*
|
|
37
37
|
* The locality invariant this seam upholds: the `currentMachineId` passed to
|
|
38
38
|
* {@link activateAdapterRuntimeIdentity} MUST be the same machine id the
|
|
39
|
-
* coordinator injects as `extensionContextBase.machineId
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* adapter listens on and `startAgent` silently falls through to the transport.
|
|
39
|
+
* coordinator injects as `extensionContextBase.machineId`. A local resolver
|
|
40
|
+
* then reads the adapter subsystem's live registry at request time; explicitly
|
|
41
|
+
* foreign requests remain deterministic until a targeted remote RPC exists.
|
|
43
42
|
*/
|
|
44
43
|
/** Input for {@link prepareAdapterRuntime} (the pre-`startAll` phase). */
|
|
45
44
|
interface PrepareAdapterRuntimeInput {
|
|
@@ -74,6 +73,27 @@ interface ActivateAdapterRuntimeIdentityInput {
|
|
|
74
73
|
* `extensionContextBase.machineId` (see the locality invariant above).
|
|
75
74
|
*/
|
|
76
75
|
readonly currentMachineId: string;
|
|
76
|
+
/**
|
|
77
|
+
* Read the adapter subsystem's current live instance by driver name.
|
|
78
|
+
* Production composition roots must provide this authoritative resolver.
|
|
79
|
+
* Omit it only for lightweight compatibility hosts, which retain deterministic
|
|
80
|
+
* local derivation and cannot model liveness.
|
|
81
|
+
*/
|
|
82
|
+
readonly resolveLiveAdapterId?: (adapterName: string) => string | undefined;
|
|
83
|
+
/** Resolve a current live identity by instance ID. */
|
|
84
|
+
readonly resolveLiveAdapterIdentity?: (adapterId: string) => {
|
|
85
|
+
adapterId: string;
|
|
86
|
+
adapterName: string;
|
|
87
|
+
machineId: string;
|
|
88
|
+
ownerInstanceId: string;
|
|
89
|
+
} | undefined;
|
|
90
|
+
/** Snapshot identities already live before handlers are installed. */
|
|
91
|
+
readonly listLiveAdapterIdentities?: () => Iterable<{
|
|
92
|
+
adapterId: string;
|
|
93
|
+
adapterName: string;
|
|
94
|
+
machineId: string;
|
|
95
|
+
ownerInstanceId: string;
|
|
96
|
+
}>;
|
|
77
97
|
/**
|
|
78
98
|
* Optional override for enumerating known adapter names. Defaults to querying
|
|
79
99
|
* `AdapterSubsystemSubjects.listAdapterConfigs` on the bus, matching the host.
|
|
@@ -100,7 +120,7 @@ declare function prepareAdapterRuntime(input: PrepareAdapterRuntimeInput): Prepa
|
|
|
100
120
|
*
|
|
101
121
|
* Call after `coordinator.startAll()` so that `CapabilityService` and the
|
|
102
122
|
* adapter subsystem have registered their handlers.
|
|
103
|
-
* @param input - Bus,
|
|
123
|
+
* @param input - Bus, runtime identity, local-live resolver, and optional name enumerator.
|
|
104
124
|
* @returns A cleanup that tears both registrations down.
|
|
105
125
|
*/
|
|
106
126
|
declare function activateAdapterRuntimeIdentity(input: ActivateAdapterRuntimeIdentityInput): ActivatedAdapterRuntimeIdentity;
|
|
@@ -912,6 +932,20 @@ interface CoreBootOptions {
|
|
|
912
932
|
* persistence contract.
|
|
913
933
|
*/
|
|
914
934
|
readonly adapterConfigRepository?: IAdapterConfigRepository;
|
|
935
|
+
/**
|
|
936
|
+
* Host-selected automation cron scheduler provider package.
|
|
937
|
+
*
|
|
938
|
+
* `makaio.cron` bindings own no timers: they delegate to the single provider
|
|
939
|
+
* registered under `AutomationCronSchedulerToken`. Supply this option when the
|
|
940
|
+
* host schedules somewhere other than in-process — for example centrally,
|
|
941
|
+
* through a relay — so exactly one host decides when a cron binding fires.
|
|
942
|
+
*
|
|
943
|
+
* When omitted, boot registers the framework's local in-process provider,
|
|
944
|
+
* unless a loaded extension already registers one. Boot fails when the
|
|
945
|
+
* supplied package does not register the scheduler service, and when two
|
|
946
|
+
* providers would be active at once.
|
|
947
|
+
*/
|
|
948
|
+
readonly automationCronSchedulerPackage?: MakaioNodeExtension<IMakaioBus>;
|
|
915
949
|
/**
|
|
916
950
|
* Host-provided persisted runtime machine identity.
|
|
917
951
|
*
|
|
@@ -179,7 +179,6 @@ declare const ContainerLocalWorkflowSpawnRequestSchema: z.ZodObject<{
|
|
|
179
179
|
mode: z.ZodLiteral<"container-local">;
|
|
180
180
|
repoPath: z.ZodString;
|
|
181
181
|
baseBranch: z.ZodString;
|
|
182
|
-
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
183
182
|
executionId: z.ZodString;
|
|
184
183
|
executionAttemptId: z.ZodString;
|
|
185
184
|
}, z.core.$strict>;
|
|
@@ -199,7 +198,6 @@ declare const ContainerLocalSpawnRequestSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
199
198
|
mode: z.ZodLiteral<"container-local">;
|
|
200
199
|
repoPath: z.ZodString;
|
|
201
200
|
baseBranch: z.ZodString;
|
|
202
|
-
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
203
201
|
}, z.core.$strict>, z.ZodObject<{
|
|
204
202
|
sessionId: z.ZodString;
|
|
205
203
|
adapter: z.ZodString;
|
|
@@ -211,7 +209,6 @@ declare const ContainerLocalSpawnRequestSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
211
209
|
mode: z.ZodLiteral<"container-local">;
|
|
212
210
|
repoPath: z.ZodString;
|
|
213
211
|
baseBranch: z.ZodString;
|
|
214
|
-
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
215
212
|
executionId: z.ZodString;
|
|
216
213
|
executionAttemptId: z.ZodString;
|
|
217
214
|
}, z.core.$strict>]>;
|
|
@@ -246,7 +243,6 @@ declare const SpawnRequestSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.Zo
|
|
|
246
243
|
mode: z.ZodLiteral<"container-local">;
|
|
247
244
|
repoPath: z.ZodString;
|
|
248
245
|
baseBranch: z.ZodString;
|
|
249
|
-
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
250
246
|
}, z.core.$strict>, z.ZodObject<{
|
|
251
247
|
sessionId: z.ZodString;
|
|
252
248
|
adapter: z.ZodString;
|
|
@@ -258,7 +254,6 @@ declare const SpawnRequestSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.Zo
|
|
|
258
254
|
mode: z.ZodLiteral<"container-local">;
|
|
259
255
|
repoPath: z.ZodString;
|
|
260
256
|
baseBranch: z.ZodString;
|
|
261
|
-
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
262
257
|
executionId: z.ZodString;
|
|
263
258
|
executionAttemptId: z.ZodString;
|
|
264
259
|
}, z.core.$strict>]>, z.ZodObject<{
|
|
@@ -293,7 +288,6 @@ declare const ContainerBootstrapSpawnRequestSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
293
288
|
mode: z.ZodLiteral<"container-local">;
|
|
294
289
|
repoPath: z.ZodString;
|
|
295
290
|
baseBranch: z.ZodString;
|
|
296
|
-
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
297
291
|
}, z.core.$strict>, z.ZodObject<{
|
|
298
292
|
sessionId: z.ZodString;
|
|
299
293
|
adapter: z.ZodString;
|
|
@@ -305,7 +299,6 @@ declare const ContainerBootstrapSpawnRequestSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
305
299
|
mode: z.ZodLiteral<"container-local">;
|
|
306
300
|
repoPath: z.ZodString;
|
|
307
301
|
baseBranch: z.ZodString;
|
|
308
|
-
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
309
302
|
executionId: z.ZodString;
|
|
310
303
|
executionAttemptId: z.ZodString;
|
|
311
304
|
}, z.core.$strict>]>, z.ZodObject<{
|
|
@@ -471,7 +464,6 @@ declare const DockerNamespace: _$_makaio_core0.BusNamespaceDefinition<"docker",
|
|
|
471
464
|
mode: z.ZodLiteral<"container-local">;
|
|
472
465
|
repoPath: z.ZodString;
|
|
473
466
|
baseBranch: z.ZodString;
|
|
474
|
-
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
475
467
|
}, z.core.$strict>, z.ZodObject<{
|
|
476
468
|
sessionId: z.ZodString;
|
|
477
469
|
adapter: z.ZodString;
|
|
@@ -483,7 +475,6 @@ declare const DockerNamespace: _$_makaio_core0.BusNamespaceDefinition<"docker",
|
|
|
483
475
|
mode: z.ZodLiteral<"container-local">;
|
|
484
476
|
repoPath: z.ZodString;
|
|
485
477
|
baseBranch: z.ZodString;
|
|
486
|
-
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
487
478
|
executionId: z.ZodString;
|
|
488
479
|
executionAttemptId: z.ZodString;
|
|
489
480
|
}, z.core.$strict>]>, z.ZodObject<{
|
|
@@ -521,7 +512,6 @@ declare const DockerNamespace: _$_makaio_core0.BusNamespaceDefinition<"docker",
|
|
|
521
512
|
mode: z.ZodLiteral<"container-local">;
|
|
522
513
|
repoPath: z.ZodString;
|
|
523
514
|
baseBranch: z.ZodString;
|
|
524
|
-
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
525
515
|
}, z.core.$strict>, z.ZodObject<{
|
|
526
516
|
sessionId: z.ZodString;
|
|
527
517
|
adapter: z.ZodString;
|
|
@@ -533,7 +523,6 @@ declare const DockerNamespace: _$_makaio_core0.BusNamespaceDefinition<"docker",
|
|
|
533
523
|
mode: z.ZodLiteral<"container-local">;
|
|
534
524
|
repoPath: z.ZodString;
|
|
535
525
|
baseBranch: z.ZodString;
|
|
536
|
-
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
537
526
|
executionId: z.ZodString;
|
|
538
527
|
executionAttemptId: z.ZodString;
|
|
539
528
|
}, z.core.$strict>]>, z.ZodObject<{
|
|
@@ -670,7 +659,6 @@ declare const DockerSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
670
659
|
mode: z.ZodLiteral<"container-local">;
|
|
671
660
|
repoPath: z.ZodString;
|
|
672
661
|
baseBranch: z.ZodString;
|
|
673
|
-
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
674
662
|
}, z.core.$strict>, z.ZodObject<{
|
|
675
663
|
sessionId: z.ZodString;
|
|
676
664
|
adapter: z.ZodString;
|
|
@@ -682,7 +670,6 @@ declare const DockerSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
682
670
|
mode: z.ZodLiteral<"container-local">;
|
|
683
671
|
repoPath: z.ZodString;
|
|
684
672
|
baseBranch: z.ZodString;
|
|
685
|
-
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
686
673
|
executionId: z.ZodString;
|
|
687
674
|
executionAttemptId: z.ZodString;
|
|
688
675
|
}, z.core.$strict>]>, z.ZodObject<{
|
|
@@ -720,7 +707,6 @@ declare const DockerSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
720
707
|
mode: z.ZodLiteral<"container-local">;
|
|
721
708
|
repoPath: z.ZodString;
|
|
722
709
|
baseBranch: z.ZodString;
|
|
723
|
-
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
724
710
|
}, z.core.$strict>, z.ZodObject<{
|
|
725
711
|
sessionId: z.ZodString;
|
|
726
712
|
adapter: z.ZodString;
|
|
@@ -732,7 +718,6 @@ declare const DockerSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
732
718
|
mode: z.ZodLiteral<"container-local">;
|
|
733
719
|
repoPath: z.ZodString;
|
|
734
720
|
baseBranch: z.ZodString;
|
|
735
|
-
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
736
721
|
executionId: z.ZodString;
|
|
737
722
|
executionAttemptId: z.ZodString;
|
|
738
723
|
}, z.core.$strict>]>, z.ZodObject<{
|
|
@@ -864,7 +849,6 @@ declare const ContainerSpawnNamespace: _$_makaio_core0.BusNamespaceDefinition<"d
|
|
|
864
849
|
mode: _$zod.ZodLiteral<"container-local">;
|
|
865
850
|
repoPath: _$zod.ZodString;
|
|
866
851
|
baseBranch: _$zod.ZodString;
|
|
867
|
-
worktreeBranch: _$zod.ZodOptional<_$zod.ZodString>;
|
|
868
852
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
869
853
|
sessionId: _$zod.ZodString;
|
|
870
854
|
adapter: _$zod.ZodString;
|
|
@@ -876,7 +860,6 @@ declare const ContainerSpawnNamespace: _$_makaio_core0.BusNamespaceDefinition<"d
|
|
|
876
860
|
mode: _$zod.ZodLiteral<"container-local">;
|
|
877
861
|
repoPath: _$zod.ZodString;
|
|
878
862
|
baseBranch: _$zod.ZodString;
|
|
879
|
-
worktreeBranch: _$zod.ZodOptional<_$zod.ZodString>;
|
|
880
863
|
executionId: _$zod.ZodString;
|
|
881
864
|
executionAttemptId: _$zod.ZodString;
|
|
882
865
|
}, _$zod_v4_core0.$strict>]>, _$zod.ZodObject<{
|
|
@@ -910,7 +893,6 @@ declare const ContainerSpawnNamespace: _$_makaio_core0.BusNamespaceDefinition<"d
|
|
|
910
893
|
mode: _$zod.ZodLiteral<"container-local">;
|
|
911
894
|
repoPath: _$zod.ZodString;
|
|
912
895
|
baseBranch: _$zod.ZodString;
|
|
913
|
-
worktreeBranch: _$zod.ZodOptional<_$zod.ZodString>;
|
|
914
896
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
915
897
|
sessionId: _$zod.ZodString;
|
|
916
898
|
adapter: _$zod.ZodString;
|
|
@@ -922,7 +904,6 @@ declare const ContainerSpawnNamespace: _$_makaio_core0.BusNamespaceDefinition<"d
|
|
|
922
904
|
mode: _$zod.ZodLiteral<"container-local">;
|
|
923
905
|
repoPath: _$zod.ZodString;
|
|
924
906
|
baseBranch: _$zod.ZodString;
|
|
925
|
-
worktreeBranch: _$zod.ZodOptional<_$zod.ZodString>;
|
|
926
907
|
executionId: _$zod.ZodString;
|
|
927
908
|
executionAttemptId: _$zod.ZodString;
|
|
928
909
|
}, _$zod_v4_core0.$strict>]>, _$zod.ZodObject<{
|
|
@@ -1052,7 +1033,6 @@ declare const ContainerSpawnSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
1052
1033
|
mode: _$zod.ZodLiteral<"container-local">;
|
|
1053
1034
|
repoPath: _$zod.ZodString;
|
|
1054
1035
|
baseBranch: _$zod.ZodString;
|
|
1055
|
-
worktreeBranch: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1056
1036
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1057
1037
|
sessionId: _$zod.ZodString;
|
|
1058
1038
|
adapter: _$zod.ZodString;
|
|
@@ -1064,7 +1044,6 @@ declare const ContainerSpawnSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
1064
1044
|
mode: _$zod.ZodLiteral<"container-local">;
|
|
1065
1045
|
repoPath: _$zod.ZodString;
|
|
1066
1046
|
baseBranch: _$zod.ZodString;
|
|
1067
|
-
worktreeBranch: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1068
1047
|
executionId: _$zod.ZodString;
|
|
1069
1048
|
executionAttemptId: _$zod.ZodString;
|
|
1070
1049
|
}, _$zod_v4_core0.$strict>]>, _$zod.ZodObject<{
|
|
@@ -1098,7 +1077,6 @@ declare const ContainerSpawnSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
1098
1077
|
mode: _$zod.ZodLiteral<"container-local">;
|
|
1099
1078
|
repoPath: _$zod.ZodString;
|
|
1100
1079
|
baseBranch: _$zod.ZodString;
|
|
1101
|
-
worktreeBranch: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1102
1080
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1103
1081
|
sessionId: _$zod.ZodString;
|
|
1104
1082
|
adapter: _$zod.ZodString;
|
|
@@ -1110,7 +1088,6 @@ declare const ContainerSpawnSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
1110
1088
|
mode: _$zod.ZodLiteral<"container-local">;
|
|
1111
1089
|
repoPath: _$zod.ZodString;
|
|
1112
1090
|
baseBranch: _$zod.ZodString;
|
|
1113
|
-
worktreeBranch: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1114
1091
|
executionId: _$zod.ZodString;
|
|
1115
1092
|
executionAttemptId: _$zod.ZodString;
|
|
1116
1093
|
}, _$zod_v4_core0.$strict>]>, _$zod.ZodObject<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as AdapterRuntimeSnapshotErrorCode } from "./schemas-
|
|
1
|
+
import { c as AdapterRuntimeSnapshotErrorCode } from "./schemas-OWvBn7AH.mjs";
|
|
2
2
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
3
3
|
import { ProviderContext, ResolvedProviderContext } from "@makaio/framework/contracts";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as CliContribution } from "./types-
|
|
2
|
-
import { c as ExtensionInfo } from "./index-
|
|
3
|
-
import { r as WindowRegistry } from "./window-registry-
|
|
1
|
+
import { i as CliContribution } from "./types-tyv0B605.mjs";
|
|
2
|
+
import { c as ExtensionInfo } from "./index-8NdPPzUh2.mjs";
|
|
3
|
+
import { r as WindowRegistry } from "./window-registry-Pcf35cac.mjs";
|
|
4
4
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
5
5
|
import { ExtensionContributionProcessor, ExtensionService, ExtensionToken, MakaioExtension, NodeExtensionContext, StorageDialect, TrayManifest, VersionLiteral } from "@makaio/framework/contracts";
|
|
6
6
|
|
|
@@ -167,6 +167,9 @@ interface ExtensionCoordinatorOptions {
|
|
|
167
167
|
* Non-critical failures are isolated so remaining extensions continue to start.
|
|
168
168
|
* Critical extension failures abort boot because the host declared them mandatory.
|
|
169
169
|
*
|
|
170
|
+
* Lifecycle transitions are serialized. Extension lifecycle callbacks must not
|
|
171
|
+
* await another coordinator lifecycle call, because it waits in the same lane.
|
|
172
|
+
*
|
|
170
173
|
* During {@link load}, window manifests are registered into
|
|
171
174
|
* {@link windowRegistry}, tray entries are collected into {@link trayEntries},
|
|
172
175
|
* and CLI contributions are collected into {@link cliContributions}. Static
|
|
@@ -197,6 +200,10 @@ declare class ExtensionCoordinator {
|
|
|
197
200
|
private loadOrder;
|
|
198
201
|
private loaded;
|
|
199
202
|
private started;
|
|
203
|
+
private shutdownRequested;
|
|
204
|
+
private shutdownPromise;
|
|
205
|
+
/** FIFO lane for lifecycle transitions that mutate extension entries. */
|
|
206
|
+
private lifecycleTail;
|
|
200
207
|
private rpcCleanups;
|
|
201
208
|
private readonly contributionProcessors;
|
|
202
209
|
/**
|
|
@@ -286,6 +293,8 @@ declare class ExtensionCoordinator {
|
|
|
286
293
|
* critical package fails.
|
|
287
294
|
*/
|
|
288
295
|
startAll(): Promise<void>;
|
|
296
|
+
/** Run the admitted startup transition in the coordinator lifecycle lane. */
|
|
297
|
+
private startAllInLifecycleLane;
|
|
289
298
|
/**
|
|
290
299
|
* Shut down all active packages in reverse dependency order.
|
|
291
300
|
*
|
|
@@ -295,9 +304,12 @@ declare class ExtensionCoordinator {
|
|
|
295
304
|
* together so the caller can treat termination as unclean.
|
|
296
305
|
*
|
|
297
306
|
* Safe to call even if {@link startAll} was never called.
|
|
307
|
+
* @returns A promise that settles after every admitted transition and teardown complete.
|
|
298
308
|
* @throws An AggregateError when any package failed to shut down cleanly.
|
|
299
309
|
*/
|
|
300
310
|
shutdown(): Promise<void>;
|
|
311
|
+
/** Run shutdown after every lifecycle transition admitted before shutdown. */
|
|
312
|
+
private shutdownInLifecycleLane;
|
|
301
313
|
/**
|
|
302
314
|
* Return the current state snapshot for all registered packages.
|
|
303
315
|
* @returns Array of {@link ExtensionInfo} objects reflecting current observable states.
|
|
@@ -377,6 +389,15 @@ declare class ExtensionCoordinator {
|
|
|
377
389
|
* @returns `true` on success, `false` when the state machine rejects.
|
|
378
390
|
*/
|
|
379
391
|
handleSetEnabled(name: string, enabled: boolean): Promise<boolean>;
|
|
392
|
+
/**
|
|
393
|
+
* Schedule a lifecycle transition after every previously admitted transition.
|
|
394
|
+
*
|
|
395
|
+
* The tail recovers from failures so one rejected operation cannot strand
|
|
396
|
+
* later shutdown or toggle work behind a rejected promise.
|
|
397
|
+
* @param operation - Lifecycle transition to run exclusively.
|
|
398
|
+
* @returns The operation's result.
|
|
399
|
+
*/
|
|
400
|
+
private enqueueLifecycle;
|
|
380
401
|
/**
|
|
381
402
|
* Create the shared extension-context helper host without exposing coordinator internals.
|
|
382
403
|
* @returns Helper host for config resolution and ExtensionContext construction.
|
|
@@ -1,6 +1,23 @@
|
|
|
1
|
+
import { l as JsonValue$1 } from "./json-value-DPqb-SJ8.mjs";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
3
4
|
|
|
5
|
+
//#region core/contracts/src/shared/zod-json-schema.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Converts a live Zod schema to a plain JSON Schema record compatible with
|
|
8
|
+
* `JsonSchemaRecordSchema`.
|
|
9
|
+
*
|
|
10
|
+
* Uses Zod v4's built-in `z.toJSONSchema()` and strips the `$schema` dialect
|
|
11
|
+
* marker so the result can be embedded directly in serializable payloads —
|
|
12
|
+
* workflow definitions, artifact kind registrations, Reaction descriptors —
|
|
13
|
+
* without triggering schema-dialect validation in consumers.
|
|
14
|
+
* @param schema - Any Zod schema to convert.
|
|
15
|
+
* @param direction - Whether to serialize the schema's input or output shape.
|
|
16
|
+
* Defaults to output, preserving Zod's default conversion behavior.
|
|
17
|
+
* @returns A plain JSON Schema record without a `$schema` key.
|
|
18
|
+
*/
|
|
19
|
+
declare function zodSchemaToJsonRecord$1(schema: z.ZodType, direction?: 'input' | 'output'): Record<string, JsonValue$1>;
|
|
20
|
+
//#endregion
|
|
4
21
|
//#region core/contracts/src/shared/response-schema.d.ts
|
|
5
22
|
/**
|
|
6
23
|
* Validates that a provider schema name is safe for use with all supported providers.
|
|
@@ -765,4 +782,4 @@ declare const ErrorCategorySchema: z.ZodEnum<{
|
|
|
765
782
|
}>;
|
|
766
783
|
type ErrorCategory = z.infer<typeof ErrorCategorySchema>;
|
|
767
784
|
//#endregion
|
|
768
|
-
export { FieldOption as A, ResponseSchemaDescriptorSchema as B, SystemPromptSchema as C, EntityUIConfig$1 as D, CustomFieldDefinition as E, FieldWidget as F, StructuredOutputValidationErrorSchema as G, ResponseSchemaNameSchema as H, FormFieldProps as I, StructuredOutputValidationStatusSchema as J, StructuredOutputValidationSchema as K, PluginWidgetRegistry as L, FieldOverride as M, FieldOverrideSchema as N, EntityUIConfigSchema$1 as O, FieldType as P, StandardFieldDefinition as R, SystemPrompt$1 as S, BuiltinWidget as T, StructuredOutputValidation$1 as U, ResponseSchemaName as V, StructuredOutputValidationError as W, NormalizedMessageInputSchema as _, ErrorCategorySchema as a, SendMessageResultInnerResultSchema as b, MessageBlockSchema as c, MessageInput$1 as d, MessageInputSchema as f, NormalizedMessageInput as g, MessageSchema as h, ErrorCategory as i, FieldOptionSchema as j, FieldDefinition as k, MessageDeliveryMode$1 as l, MessageOutcomeSchema as m, ContentSourceSchema as n, Message$1 as o, MessageOutcome$1 as p, StructuredOutputValidationStatus as q, ERROR_CATEGORIES as r, MessageBlock$1 as s, ContentSource as t, MessageDeliveryModeSchema as u, SendMessageResult as v, BaseFieldDefinition as w, SendMessageResultSchema as x, SendMessageResultInnerResult$1 as y, ResponseSchemaDescriptor$1 as z };
|
|
785
|
+
export { FieldOption as A, ResponseSchemaDescriptorSchema as B, SystemPromptSchema as C, EntityUIConfig$1 as D, CustomFieldDefinition as E, FieldWidget as F, StructuredOutputValidationErrorSchema as G, ResponseSchemaNameSchema as H, FormFieldProps as I, StructuredOutputValidationStatusSchema as J, StructuredOutputValidationSchema as K, PluginWidgetRegistry as L, FieldOverride as M, FieldOverrideSchema as N, EntityUIConfigSchema$1 as O, FieldType as P, StandardFieldDefinition as R, SystemPrompt$1 as S, BuiltinWidget as T, StructuredOutputValidation$1 as U, ResponseSchemaName as V, StructuredOutputValidationError as W, zodSchemaToJsonRecord$1 as Y, NormalizedMessageInputSchema as _, ErrorCategorySchema as a, SendMessageResultInnerResultSchema as b, MessageBlockSchema as c, MessageInput$1 as d, MessageInputSchema as f, NormalizedMessageInput as g, MessageSchema as h, ErrorCategory as i, FieldOptionSchema as j, FieldDefinition as k, MessageDeliveryMode$1 as l, MessageOutcomeSchema as m, ContentSourceSchema as n, Message$1 as o, MessageOutcome$1 as p, StructuredOutputValidationStatus as q, ERROR_CATEGORIES as r, MessageBlock$1 as s, ContentSource as t, MessageDeliveryModeSchema as u, SendMessageResult as v, BaseFieldDefinition as w, SendMessageResultSchema as x, SendMessageResultInnerResult$1 as y, ResponseSchemaDescriptor$1 as z };
|