@makaio/framework 1.0.0-dev-1790114433794 → 1.0.0-dev-1790165101280
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.makaio-build.json +2 -2
- package/dist/adapter-subsystem/index.mjs +1 -1
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/node.d.mts +1 -1
- package/dist/bus/index.d.mts +27 -2
- package/dist/bus/index.mjs +1 -1
- package/dist/{bus-CX0d5tTa.mjs → bus-D4DBDaoS.mjs} +1 -1
- package/dist/clients/index.d.mts +2 -1
- package/dist/clients/index.mjs +1 -1
- package/dist/clients/managed-install.d.mts +1 -1
- package/dist/code-execution/worker-entry.d.mts +1 -1
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +2 -2
- package/dist/contracts/auth/index.d.mts +2 -2
- package/dist/contracts/automation-trigger/index.d.mts +3 -3
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/code-execution/index.d.mts +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +2 -2
- package/dist/contracts/extension/index.d.mts +5 -5
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +47 -47
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +2 -2
- package/dist/contracts/native-session-supervisor/index.mjs +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/shared/index.d.mts +2 -2
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +2 -2
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/{contribution-1GL7Rjaq.d.mts → contribution-kpR61mnG.d.mts} +2 -2
- package/dist/{definition-DeIGoROj.d.mts → definition-DWhjp0db.d.mts} +1 -1
- package/dist/{detached-extension-handle-W5_yfCyE.mjs → detached-extension-handle-QrXVNUR2.mjs} +1 -1
- package/dist/{extension-context-pQ7Uio_s.d.mts → extension-context-CmhBCbbq.d.mts} +4 -4
- package/dist/filesystem-service-CIaAqTRi.mjs +1 -0
- package/dist/{framework-packages-U4Xhouxe.mjs → framework-packages-C2tvdFmP.mjs} +1 -1
- package/dist/{hook-responses-B882RcQc.d.mts → hook-responses-C3nUIm-6.d.mts} +1 -1
- package/dist/{index-6bsTWnnc.d.mts → index-04uTOEVU.d.mts} +39 -39
- package/dist/{index-FyY9jdCQ2.d.mts → index-8HtSFrzb.d.mts} +16 -16
- package/dist/{index-UjNxC0VC2.d.mts → index-9O8N514B2.d.mts} +4 -4
- package/dist/{index-DQU8ZoJr.d.mts → index-BM53WQaQ.d.mts} +1 -1
- package/dist/{index-ConhyAnB.d.mts → index-BTLbhl35.d.mts} +21 -21
- package/dist/{index-Di-R1gmo.d.mts → index-BYwt4CNf.d.mts} +80 -80
- package/dist/{index-L6mssyeZ.d.mts → index-BfFi98B_.d.mts} +1 -1
- package/dist/{index-CESqYf8a.d.mts → index-C0Jfr8UK.d.mts} +2 -2
- package/dist/{index-DqliLe_D2.d.mts → index-C9Dz8UoK2.d.mts} +242 -7
- package/dist/{index-BtMWM80d.d.mts → index-CFMaXW-s.d.mts} +36 -36
- package/dist/{index-DUYjTfHD.d.mts → index-CLwnkYRD.d.mts} +1 -1
- package/dist/{index-aIJ7A4DC2.d.mts → index-CRjWqvy02.d.mts} +4 -4
- package/dist/{index-C8two8wz.d.mts → index-CdkIg4Gu.d.mts} +1 -1
- package/dist/{index-DfREUyAk.d.mts → index-CkE9MwNX.d.mts} +1 -1
- package/dist/{index-DJVQG6Nn.d.mts → index-CpGWwlRN.d.mts} +14 -14
- package/dist/{index-BDcK7jqJ2.d.mts → index-Csua5M_M2.d.mts} +8 -8
- package/dist/{index-DJxg7U2X.d.mts → index-D5BLD2Pw.d.mts} +7 -3
- package/dist/{index-B2bxgKiK.d.mts → index-D9BLsMs8.d.mts} +1 -1
- package/dist/{index-DdJKsdya.d.mts → index-D9hIDsPr.d.mts} +1 -1
- package/dist/{index-D6Uq1btG.d.mts → index-DDCixELI.d.mts} +1 -1
- package/dist/{index-m5ZQFglW2.d.mts → index-DVo_rb2w2.d.mts} +12 -12
- package/dist/{index-DpLjyQ-Z.d.mts → index-J6C4thLY.d.mts} +3 -3
- package/dist/{index-D2TphOHU2.d.mts → index-LCumcYK12.d.mts} +3 -3
- package/dist/{index-anIxF_eT.d.mts → index-aAo9ugCm.d.mts} +4 -4
- package/dist/{index-Jdju2W3y.d.mts → index-t6LnywuE.d.mts} +1 -1
- package/dist/{index-zqo2mX_Z.d.mts → index-ul45YFff.d.mts} +6 -6
- package/dist/{index-CmCLAMNs.d.mts → index-xad0YUyF.d.mts} +1 -1
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/extension/index.d.mts +2 -2
- package/dist/kernel/index.d.mts +5 -5
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/{load-extensions-Be_lOjm_.d.mts → load-extensions-CCzTHlUE.d.mts} +1 -1
- package/dist/{load-extensions-BGfSWW_R.mjs → load-extensions-eyXZhbRn.mjs} +1 -1
- package/dist/{namespace-zusFEJPh.d.mts → namespace-B1FBjHfn.d.mts} +6 -6
- package/dist/native-session-supervisor-BmnAZuia.mjs +1 -0
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/transports/index.d.mts +53 -1
- package/dist/node/transports/index.mjs +2 -2
- package/dist/node-bridge-backend-DtRT--yn.mjs +1 -0
- package/dist/node-pty-backend-C72EgRws.mjs +1 -0
- package/dist/{package-CwyC-Krg.d.mts → package-BswWlFSn.d.mts} +1 -1
- package/dist/{package-kkPGlxMm.mjs → package-CeEUAKHI.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.d.mts +5 -0
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/bridge/pty-bridge.cjs +222 -0
- package/dist/runtime-node/code-execution/index.d.mts +2 -2
- package/dist/runtime-node/extension-discovery.d.mts +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +5 -5
- package/dist/runtime-node/index.mjs +25 -21
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/{schemas-BLxdGZkr.d.mts → schemas-BzSB9u68.d.mts} +4 -4
- package/dist/{schemas-B7YzDHLs.d.mts → schemas-CjFPsYeV.d.mts} +4 -4
- package/dist/{schemas-DNNHiY8g2.d.mts → schemas-DPtj1sPC2.d.mts} +7 -7
- package/dist/service-base/index.d.mts +35 -5
- package/dist/service-base/index.mjs +1 -1
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +3 -3
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/capability/index.d.mts +2 -2
- package/dist/services/code-execution/index.d.mts +1 -1
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +4 -4
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/filesystem/index.mjs +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/git/namespace.d.mts +2 -2
- package/dist/services/git/schemas.d.mts +2 -2
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +51 -51
- 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/materialization/index.d.mts +1 -1
- package/dist/services/model-registry/index.d.mts +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/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +9 -9
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session/testing/index.mjs +1 -1
- package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/subagent/index.d.mts +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/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-CMbztxNO.mjs → session-D38UuGGX.mjs} +1 -1
- package/dist/{session-lineage-BuGN3RZs.d.mts → session-lineage-CmP7L5g2.d.mts} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/{storage-namespace-DaCB01dg.d.mts → storage-namespace-CwwiV3kt.d.mts} +10 -10
- package/dist/{tool-approval-service-CRo3fZRF.mjs → tool-approval-service-vG2mEC9p.mjs} +1 -1
- package/dist/{tools-CKaxi3Mb.mjs → tools-ByDy0ueE.mjs} +1 -1
- package/dist/{transition-DMv8cgEd.d.mts → transition-B0qsutdE.d.mts} +2 -2
- package/dist/{types-Dvsn8TOX.d.mts → types-BP_P1izV.d.mts} +3 -3
- package/dist/{types-7L3BrU9m2.d.mts → types-DyBD5MdV2.d.mts} +1 -1
- package/dist/ui-kernel/index.d.mts +4 -4
- package/dist/ui-kernel/pages/namespace.d.mts +4 -4
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{view-builder-BVIbIS_J.d.mts → view-builder-nKz9DKfE.d.mts} +4 -4
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/index.d.mts +25 -25
- 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/conformance.d.mts +1 -1
- package/dist/workflow-engine/testing/index.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/{workflow-transitions-t0ORS1F5.mjs → workflow-transitions-UOXY-VZa.mjs} +1 -1
- package/package.json +2 -1
- package/dist/filesystem-service-ClZEAw7E.mjs +0 -1
- package/dist/native-session-supervisor-DtuN1Dgs.mjs +0 -1
- package/dist/{adapter-binding-CaYBrIkL.d.mts → adapter-binding-DF-j-XHg.d.mts} +0 -0
- package/dist/{base-orchestrator-1ofFsqUz.d.mts → base-orchestrator-FNFJ6Cwf.d.mts} +0 -0
- package/dist/{capability-service-CUN0MIS7.d.mts → capability-service-BHcRd1td.d.mts} +0 -0
- package/dist/{client-BY3sBW2L.d.mts → client-Sx_N8LXo.d.mts} +0 -0
- package/dist/{client-binary-version-verifier-BeO4Eptw.d.mts → client-binary-version-verifier-C8gtKQFO.d.mts} +0 -0
- package/dist/{clients-namespace-D92YsbKI.d.mts → clients-namespace-CASHxXUM.d.mts} +0 -0
- package/dist/{config-namespace-OEckUfVE.d.mts → config-namespace-CeTODseW.d.mts} +0 -0
- package/dist/{credential-ref-w4ZYpYW0.d.mts → credential-ref-MsnUkz9G.d.mts} +0 -0
- package/dist/{definition-DLJg-P4G.d.mts → definition-D2SO1tX-.d.mts} +0 -0
- package/dist/{execution-attempt-repository-DOb5V4N2.d.mts → execution-attempt-repository-C2XKRZ3O.d.mts} +0 -0
- package/dist/{extension-discovery-Rup-gANp.d.mts → extension-discovery-BqSPn73R.d.mts} +0 -0
- package/dist/{filesystem-service-BmavE-uO.d.mts → filesystem-service-5Ecp3nSV.d.mts} +0 -0
- package/dist/{index-DubyRZD9.d.mts → index-62OoZLGr.d.mts} +0 -0
- package/dist/{index-DEx4ZFkz.d.mts → index-BCuWtlv5.d.mts} +0 -0
- package/dist/{index-BneZFJ7x.d.mts → index-BEPn58tG.d.mts} +0 -0
- package/dist/{index-CpN2C9jq.d.mts → index-BOxMyaqG.d.mts} +0 -0
- package/dist/{index-fxh7TB0q.d.mts → index-BTd3fTkW.d.mts} +0 -0
- package/dist/{index-DGoJayJg.d.mts → index-BV3nQpdO.d.mts} +0 -0
- package/dist/{index--gbsE1W0.d.mts → index-B_Hf4XPX.d.mts} +0 -0
- package/dist/{index-BQYGOXY5.d.mts → index-BjrbddkU.d.mts} +0 -0
- package/dist/{index-D7smT-YD.d.mts → index-BleQ0SR7.d.mts} +0 -0
- package/dist/{index-CvdvuhTL2.d.mts → index-By1UhKYU2.d.mts} +0 -0
- package/dist/{index-YOXWpZAS.d.mts → index-CURT4JaX.d.mts} +0 -0
- package/dist/{index-CCTzitBA.d.mts → index-Ce6-SiB3.d.mts} +0 -0
- package/dist/{index-DxkSkszz.d.mts → index-CwVSr7Ow.d.mts} +0 -0
- package/dist/{index-DOD7Lmgu.d.mts → index-D5Lw1UsO.d.mts} +0 -0
- package/dist/{index-C2StVLk4.d.mts → index-DAqAa9aL.d.mts} +0 -0
- package/dist/{index-CsRPJ9FV.d.mts → index-DDnY7JhE.d.mts} +0 -0
- package/dist/{index-DTvYp2GT.d.mts → index-DMgbNdEU.d.mts} +0 -0
- package/dist/{index-BD1SbHpP.d.mts → index-DOui-7u2.d.mts} +0 -0
- package/dist/{index-BujgCaKt.d.mts → index-DsmyofuM.d.mts} +0 -0
- package/dist/{index-DwOpaQAE.d.mts → index-N0-r5Hcd.d.mts} +0 -0
- package/dist/{index-Cj_V1aRL.d.mts → index-_OD_Nz3m.d.mts} +0 -0
- package/dist/{index-TBJ1kIGA.d.mts → index-rik4Uc5G.d.mts} +0 -0
- package/dist/{index-D3peNmHN2.d.mts → index-u0EteHlR2.d.mts} +0 -0
- package/dist/{index-B36rL4gp.d.mts → index-w1AeWV4F.d.mts} +0 -0
- package/dist/{json-value-Bjl8jzom.d.mts → json-value--pv1-OHx.d.mts} +0 -0
- package/dist/{namespace-DudchWPb.d.mts → namespace-6O0G1s65.d.mts} +0 -0
- package/dist/{namespace-BtOBQybk.d.mts → namespace-BEi98VfQ.d.mts} +0 -0
- package/dist/{namespace-B1CgZ0oQ.d.mts → namespace-C5tKjqgb.d.mts} +0 -0
- package/dist/{namespace-hlhPqSsw.d.mts → namespace-CHSwZhH7.d.mts} +0 -0
- package/dist/{namespace-D09uQ231.d.mts → namespace-CJ5sH_Bp.d.mts} +0 -0
- package/dist/{namespace-DHLwz4o3.d.mts → namespace-CL9OyrHs.d.mts} +0 -0
- package/dist/{namespace-DHbrNQYD.d.mts → namespace-D38Fmd0E.d.mts} +0 -0
- package/dist/{namespace-MW-Eg_yB.d.mts → namespace-D6W4Erwp.d.mts} +0 -0
- package/dist/{namespace-CxEQv9iZ.d.mts → namespace-DbtfwD5Z.d.mts} +0 -0
- package/dist/{namespace-D5DkpaaN.d.mts → namespace-HLrZerLd.d.mts} +0 -0
- package/dist/{namespace-Bhx72V7S.d.mts → namespace-KomML5ti.d.mts} +0 -0
- package/dist/{namespace-Dz5_Hrz7.d.mts → namespace-QV_2m25r.d.mts} +0 -0
- package/dist/{namespace-DyD06b5-.d.mts → namespace-Sd6qj6w22.d.mts} +0 -0
- package/dist/{orchestrator-shared-ChU5qRSe.d.mts → orchestrator-shared-Bvo0u-1D.d.mts} +0 -0
- package/dist/{packages-D2s51nGU.d.mts → packages-KX9yofCa.d.mts} +0 -0
- package/dist/{providers-namespace-BLVt8OyP.d.mts → providers-namespace-B-l-OQZk.d.mts} +0 -0
- package/dist/{runtime-inputs-BU_kBrP7.d.mts → runtime-inputs-B7nWstrY.d.mts} +0 -0
- package/dist/{schema-FY0EakKe.d.mts → schema-De6d0FWI.d.mts} +0 -0
- package/dist/{schemas-CqawCYTY.d.mts → schemas-BGTuiO3u.d.mts} +0 -0
- package/dist/{schemas-CD3Mq-jC.d.mts → schemas-BOT1HUv6.d.mts} +0 -0
- package/dist/{schemas-3KTmPuZg.d.mts → schemas-BXkSHQaF.d.mts} +0 -0
- package/dist/{schemas--wiEYYQs.d.mts → schemas-Bv7ecHxV.d.mts} +0 -0
- package/dist/{schemas-B-5_Dp4_.d.mts → schemas-C0Fb2-LN.d.mts} +0 -0
- package/dist/{schemas-DiXL8NfA.d.mts → schemas-Cb9OJ9va.d.mts} +0 -0
- package/dist/{schemas-CBBzvIh0.d.mts → schemas-Dxfk39-v.d.mts} +0 -0
- package/dist/{schemas-BegArpU_.d.mts → schemas-feb64ScA.d.mts} +0 -0
- package/dist/{schemas-rMUsvzeJ.d.mts → schemas-rliUGyrt.d.mts} +1 -1
- /package/dist/{server-lifecycle-CTJvpdeL.d.mts → server-lifecycle-BINetU26.d.mts} +0 -0
- /package/dist/{src-C0sw_Vs_.mjs → src-CkKKoY0M.mjs} +0 -0
- /package/dist/{storage-namespace-definition-DiYr8UNl.d.mts → storage-namespace-definition-DV3IipmH.d.mts} +0 -0
- /package/dist/{types-DEGuc-fn.d.mts → types-B_mVEuYd.d.mts} +0 -0
- /package/dist/{types-CpEoQapk.d.mts → types-BrsmFcWl.d.mts} +0 -0
- /package/dist/{types-DciLiPMd.d.mts → types-CjoaGe_E.d.mts} +0 -0
- /package/dist/{types-BSx8YYlc.d.mts → types-CqVuKsLC.d.mts} +0 -0
- /package/dist/{types-Cuhnt15L.d.mts → types-D7WtaoMR.d.mts} +0 -0
- /package/dist/{window-registry-C3W2wtlX.d.mts → window-registry-1jI3f9ir.d.mts} +0 -0
|
@@ -146,6 +146,7 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
|
|
|
146
146
|
enabled: z.ZodArray<z.ZodString>;
|
|
147
147
|
disabled: z.ZodArray<z.ZodString>;
|
|
148
148
|
}, z.core.$strip>;
|
|
149
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
149
150
|
registryTools: z.ZodObject<{
|
|
150
151
|
enabled: z.ZodArray<z.ZodString>;
|
|
151
152
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -175,7 +176,6 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
|
|
|
175
176
|
"always-ask": "always-ask";
|
|
176
177
|
"full-access": "full-access";
|
|
177
178
|
}>>>;
|
|
178
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
179
179
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
180
180
|
reject: "reject";
|
|
181
181
|
"always-ask": "always-ask";
|
|
@@ -322,6 +322,7 @@ declare const HarnessSchemas: {
|
|
|
322
322
|
enabled: z.ZodArray<z.ZodString>;
|
|
323
323
|
disabled: z.ZodArray<z.ZodString>;
|
|
324
324
|
}, z.core.$strip>;
|
|
325
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
325
326
|
registryTools: z.ZodObject<{
|
|
326
327
|
enabled: z.ZodArray<z.ZodString>;
|
|
327
328
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -351,7 +352,6 @@ declare const HarnessSchemas: {
|
|
|
351
352
|
"always-ask": "always-ask";
|
|
352
353
|
"full-access": "full-access";
|
|
353
354
|
}>>>;
|
|
354
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
355
355
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
356
356
|
reject: "reject";
|
|
357
357
|
"always-ask": "always-ask";
|
|
@@ -765,6 +765,7 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
|
|
|
765
765
|
enabled: z.ZodArray<z.ZodString>;
|
|
766
766
|
disabled: z.ZodArray<z.ZodString>;
|
|
767
767
|
}, z.core.$strip>;
|
|
768
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
768
769
|
registryTools: z.ZodObject<{
|
|
769
770
|
enabled: z.ZodArray<z.ZodString>;
|
|
770
771
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -794,7 +795,6 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
|
|
|
794
795
|
"always-ask": "always-ask";
|
|
795
796
|
"full-access": "full-access";
|
|
796
797
|
}>>>;
|
|
797
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
798
798
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
799
799
|
reject: "reject";
|
|
800
800
|
"always-ask": "always-ask";
|
|
@@ -1208,6 +1208,7 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
|
|
|
1208
1208
|
enabled: z.ZodArray<z.ZodString>;
|
|
1209
1209
|
disabled: z.ZodArray<z.ZodString>;
|
|
1210
1210
|
}, z.core.$strip>;
|
|
1211
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1211
1212
|
registryTools: z.ZodObject<{
|
|
1212
1213
|
enabled: z.ZodArray<z.ZodString>;
|
|
1213
1214
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -1237,7 +1238,6 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
|
|
|
1237
1238
|
"always-ask": "always-ask";
|
|
1238
1239
|
"full-access": "full-access";
|
|
1239
1240
|
}>>>;
|
|
1240
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1241
1241
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
1242
1242
|
reject: "reject";
|
|
1243
1243
|
"always-ask": "always-ask";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as CapabilityService } from "./capability-service-
|
|
1
|
+
import { t as CapabilityService } from "./capability-service-BHcRd1td.mjs";
|
|
2
2
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
3
3
|
import { MakaioNodeExtension } from "@makaio/framework/contracts";
|
|
4
4
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
@@ -197,8 +197,8 @@ declare const MaterializationSchemas: {
|
|
|
197
197
|
template: z.ZodString;
|
|
198
198
|
}, z.core.$strip>], "kind">;
|
|
199
199
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
200
|
-
artifact: "artifact";
|
|
201
200
|
workpiece: "workpiece";
|
|
201
|
+
artifact: "artifact";
|
|
202
202
|
surface: "surface";
|
|
203
203
|
}>>;
|
|
204
204
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -239,8 +239,8 @@ declare const MaterializationSchemas: {
|
|
|
239
239
|
template: z.ZodString;
|
|
240
240
|
}, z.core.$strip>], "kind">;
|
|
241
241
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
242
|
-
artifact: "artifact";
|
|
243
242
|
workpiece: "workpiece";
|
|
243
|
+
artifact: "artifact";
|
|
244
244
|
surface: "surface";
|
|
245
245
|
}>>;
|
|
246
246
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -439,8 +439,8 @@ declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"
|
|
|
439
439
|
template: z.ZodString;
|
|
440
440
|
}, z.core.$strip>], "kind">;
|
|
441
441
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
442
|
-
artifact: "artifact";
|
|
443
442
|
workpiece: "workpiece";
|
|
443
|
+
artifact: "artifact";
|
|
444
444
|
surface: "surface";
|
|
445
445
|
}>>;
|
|
446
446
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -481,8 +481,8 @@ declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"
|
|
|
481
481
|
template: z.ZodString;
|
|
482
482
|
}, z.core.$strip>], "kind">;
|
|
483
483
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
484
|
-
artifact: "artifact";
|
|
485
484
|
workpiece: "workpiece";
|
|
485
|
+
artifact: "artifact";
|
|
486
486
|
surface: "surface";
|
|
487
487
|
}>>;
|
|
488
488
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -693,8 +693,8 @@ declare const MaterializationSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_c
|
|
|
693
693
|
template: z.ZodString;
|
|
694
694
|
}, z.core.$strip>], "kind">;
|
|
695
695
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
696
|
-
artifact: "artifact";
|
|
697
696
|
workpiece: "workpiece";
|
|
697
|
+
artifact: "artifact";
|
|
698
698
|
surface: "surface";
|
|
699
699
|
}>>;
|
|
700
700
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -735,8 +735,8 @@ declare const MaterializationSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_c
|
|
|
735
735
|
template: z.ZodString;
|
|
736
736
|
}, z.core.$strip>], "kind">;
|
|
737
737
|
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
738
|
-
artifact: "artifact";
|
|
739
738
|
workpiece: "workpiece";
|
|
739
|
+
artifact: "artifact";
|
|
740
740
|
surface: "surface";
|
|
741
741
|
}>>;
|
|
742
742
|
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ExtensionContext$1, r as NodeExtensionContext$1 } from "./extension-context-
|
|
1
|
+
import { n as ExtensionContext$1, r as NodeExtensionContext$1 } from "./extension-context-CmhBCbbq.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as CliSubcommandDefinition, c as EmbeddedBusHandle, d as ProvideBusContext, f as defineCliSubcommand, i as CliContribution, l as INTERACTIVE_SUBCOMMAND, n as BeforeRunContext, o as CliSubcommandEntry, p as requireBus, r as BeforeRunResult, s as CommandContext, t as ALWAYS_PROCEED, u as OutputWriter } from "../../types-
|
|
2
|
-
import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-
|
|
1
|
+
import { a as CliSubcommandDefinition, c as EmbeddedBusHandle, d as ProvideBusContext, f as defineCliSubcommand, i as CliContribution, l as INTERACTIVE_SUBCOMMAND, n as BeforeRunContext, o as CliSubcommandEntry, p as requireBus, r as BeforeRunResult, s as CommandContext, t as ALWAYS_PROCEED, u as OutputWriter } from "../../types-D7WtaoMR.mjs";
|
|
2
|
+
import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-CJ5sH_Bp.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { CliArgManifest } from "@makaio/framework/contracts/extension";
|
|
5
5
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-
|
|
1
|
+
import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-CJ5sH_Bp.mjs";
|
|
2
2
|
export { CliNamespace, CliRpcSubjects };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { d as TransitionOutcome } from "../../index-
|
|
2
|
-
import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, l as ExtensionCoordinatorOptions, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../../index-
|
|
1
|
+
import { d as TransitionOutcome } from "../../index-8HtSFrzb.mjs";
|
|
2
|
+
import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, l as ExtensionCoordinatorOptions, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../../index-J6C4thLY.mjs";
|
|
3
3
|
export { ContributionProcessor, ExtensionConfigResolution, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionOperatorConfigError, ExtensionRuntimeSurface, InstalledExtensionCatalogSource, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, SetEnabledResult, TransitionOutcome, coalesceExtensionOverrides, filterEligibleExtensions, resolveInstalledExtensionRecord };
|
package/dist/kernel/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, c as ExtensionSubjects, d as TransitionOutcome, g as ComponentState, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, v as ExtensionInfo, y as ExtensionInfoSchema } from "../index-
|
|
2
|
-
import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../index-
|
|
3
|
-
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-
|
|
4
|
-
import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-
|
|
5
|
-
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-
|
|
1
|
+
import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, c as ExtensionSubjects, d as TransitionOutcome, g as ComponentState, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, v as ExtensionInfo, y as ExtensionInfoSchema } from "../index-8HtSFrzb.mjs";
|
|
2
|
+
import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../index-J6C4thLY.mjs";
|
|
3
|
+
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-1jI3f9ir.mjs";
|
|
4
|
+
import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-62OoZLGr.mjs";
|
|
5
|
+
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-_OD_Nz3m.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
8
8
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../../index-
|
|
1
|
+
import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../../index-62OoZLGr.mjs";
|
|
2
2
|
export { KernelNamespace, KernelSchemas, KernelSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, b as ExtensionWarningEntry, c as ExtensionSubjects, d as TransitionOutcome, f as TransitionOutcomeSchema, g as ComponentState, h as ComponentInfoSchema, i as InstalledExtensionOriginSchema, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, p as ComponentIdentitySchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, u as SetEnabledReasonSchema, v as ExtensionInfo, x as ExtensionWarningEntrySchema, y as ExtensionInfoSchema } from "../../index-
|
|
1
|
+
import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, b as ExtensionWarningEntry, c as ExtensionSubjects, d as TransitionOutcome, f as TransitionOutcomeSchema, g as ComponentState, h as ComponentInfoSchema, i as InstalledExtensionOriginSchema, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, p as ComponentIdentitySchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, u as SetEnabledReasonSchema, v as ExtensionInfo, x as ExtensionWarningEntrySchema, y as ExtensionInfoSchema } from "../../index-8HtSFrzb.mjs";
|
|
2
2
|
export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, InstalledExtensionCatalogEntry, InstalledExtensionCatalogEntrySchema, InstalledExtensionOrigin, InstalledExtensionOriginSchema, InstalledExtensionRecord, InstalledExtensionRecordSchema, ServiceInfo, ServiceInfoSchema, SetEnabledReason, SetEnabledReasonSchema, TransitionOutcome, TransitionOutcomeSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../../index-
|
|
1
|
+
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../../index-_OD_Nz3m.mjs";
|
|
2
2
|
export { EphemeralIdentityProvider, IdentityProvider, MachineIdentity, MemoryStorageProvider, NoTransportProvider, StorageCleanup, StorageProvider, TransportProvider };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../../window-registry-
|
|
1
|
+
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../../window-registry-1jI3f9ir.mjs";
|
|
2
2
|
export { STYLE_DEFAULTS, type WindowRegistration, WindowRegistry, type WindowStyle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ExtensionEntrypointModule, t as DiscoveredExtension } from "./extension-discovery-
|
|
1
|
+
import { i as ExtensionEntrypointModule, t as DiscoveredExtension } from "./extension-discovery-BqSPn73R.mjs";
|
|
2
2
|
import { KernelMakaioExtension } from "@makaio/framework/kernel";
|
|
3
3
|
import { CliContribution } from "@makaio/framework/kernel/cli";
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./descriptor-to-package-BPIArq6N.mjs";import{n as t}from"./extension-package-provenance-ClpN3GHp.mjs";import{pathToFileURL as n}from"node:url";import*as r from"node:path";import*as i from"node:fs";import{isExtensionManifestLike as a,normalizeExtensionManifestExport as o,versionSatisfies as s}from"@makaio/framework/contracts";import{AutomationCronSchedulerToken as c}from"@makaio/framework/services/automation-trigger";var l=class extends Error{};async function u(e,t){let{frameworkVersion:n,importModule:r=k}=t,i=[],a=[],o=new Map,s;for(let t of e){let{descriptor:e,extensionPath:c}=t,l=`[extensions] ${e.name}@${e.version}`;if(!_(t,n))continue;if(e.execution===`detached`){let t;try{s??=(await import(`./detached-extension-handle-
|
|
1
|
+
import{t as e}from"./descriptor-to-package-BPIArq6N.mjs";import{n as t}from"./extension-package-provenance-ClpN3GHp.mjs";import{pathToFileURL as n}from"node:url";import*as r from"node:path";import*as i from"node:fs";import{isExtensionManifestLike as a,normalizeExtensionManifestExport as o,versionSatisfies as s}from"@makaio/framework/contracts";import{AutomationCronSchedulerToken as c}from"@makaio/framework/services/automation-trigger";var l=class extends Error{};async function u(e,t){let{frameworkVersion:n,importModule:r=k}=t,i=[],a=[],o=new Map,s;for(let t of e){let{descriptor:e,extensionPath:c}=t,l=`[extensions] ${e.name}@${e.version}`;if(!_(t,n))continue;if(e.execution===`detached`){let t;try{s??=(await import(`./detached-extension-handle-QrXVNUR2.mjs`)).createDetachedExtensionPackage,t=s(e,c)}catch(e){console.warn(`${l}: failed to synthesize detached extension package:`,e instanceof Error?e.message:e);continue}i.push(t),e.config?.defaults&&o.set(e.name,e.config.defaults);continue}if(!e.entrypoints.server){!e.entrypoints.browser&&!e.entrypoints.cli&&console.warn(`${l}: no executable entrypoint declared, skipping`);continue}let u;if(t.preloadedModule)u=t.preloadedModule;else try{let t=w(`server`,e.entrypoints.server,c);if(!t){console.warn(`${l}: server entrypoint could not be resolved within extension directory, skipping`);continue}u=await r(t)}catch(e){console.warn(`${l}: failed to import server entry:`,e instanceof Error?e.message:e);continue}let f=p(u.default,e.name,l);f&&(i.push(...f),d(u,f,l,a),e.config?.defaults&&o.set(e.name,e.config.defaults))}return{packages:i,automationCronSchedulerHostPolicies:a,configDefaults:o}}function d(e,t,n,r){let i=e.automationCronSchedulerHostPolicy;if(i===void 0)return;if(!f(i))throw new l(`${n}: named export 'automationCronSchedulerHostPolicy' is not a valid owner-anchored scheduler policy`);let a=t.find(({name:e})=>e===i.ownerPackageName);if(!a)throw new l(`${n}: automation cron scheduler policy owner '${i.ownerPackageName}' is not a normalized descriptor default package`);if(i.package.name!==c.name)throw new l(`${n}: automation cron scheduler policy package '${i.package.name}' must be named '${c.name}'`);r.push({ownerPackage:a,package:i.package})}function f(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=e;return typeof t.ownerPackageName==`string`&&y(t.package)}function p(e,t,n){return o(e,t,e=>console.warn(`${n}: ${e}`))}async function m(e,n,r){let{importModule:i=k,frameworkVersion:a}=r,o=[...n],s=new Map;o.forEach((e,t)=>{s.has(e.name)||s.set(e.name,t)});let c=new Map;for(let n of e){let e=h(n,a);if(!e)continue;let r=`[extensions] ${n.descriptor.name}@${n.descriptor.version}`,l=s.get(n.descriptor.name),u=l===void 0?void 0:o[l];if(u?.cli)continue;let d=await v(n,e,r,i);if(!d)continue;if(!b(d.default)){console.warn(`${r}: default export is not a valid CliContribution, skipping`);continue}let f=n.descriptor.cli?.name??n.descriptor.name;if(d.default.name!==f){console.warn(`${r}: imported CLI contribution name '${d.default.name}' does not match descriptor CLI name '${f}', skipping`);continue}if(l!==void 0&&u!==void 0){o[l]=t({...u,cli:d.default},u);continue}if(n.descriptor.entrypoints?.server||n.descriptor.entrypoints?.browser){console.warn(`${r}: server or browser entry is present but no package was loaded, skipping CLI-only synthesis`);continue}s.set(n.descriptor.name,o.length),o.push(g(n,d.default)),n.descriptor.config?.defaults&&c.set(n.descriptor.name,n.descriptor.config.defaults)}return{packages:o,configDefaults:c}}function h(e,t){if(_(e,t)&&e.descriptor.execution!==`detached`)return e.descriptor.entrypoints?.cli}function g(t,n){return{...e(t.descriptor),cli:n}}function _(e,t){let{descriptor:n}=e,r=`[extensions] ${n.name}@${n.version}`;try{return s(t,n.makaio.framework)?!0:(console.warn(`${r}: requires framework ${n.makaio.framework}, current is ${t}, skipping`),!1)}catch(e){return console.warn(`${r}: invalid version metadata (framework=${t}, range=${n.makaio.framework}), skipping:`,e instanceof Error?e.message:e),!1}}async function v(e,t,n,r){try{let i=w(`cli`,t,e.extensionPath);if(!i){console.warn(`${n}: cli entrypoint has no resolvable candidate within extension directory, skipping`);return}return await r(i)}catch(e){console.warn(`${n}: failed to import cli entry:`,e instanceof Error?e.message:e);return}}function y(e){return a(e)}function b(e){if(typeof e!=`object`||!e)return!1;let t=e;return typeof t.name!=`string`||typeof t.description!=`string`||!Array.isArray(t.subcommands)||`interactive`in t&&t.interactive!==void 0&&typeof t.interactive!=`function`?!1:t.subcommands.length===0?typeof t.interactive==`function`:t.subcommands.every(x)}function x(e){if(typeof e!=`object`||!e)return!1;let t=e;return typeof t.name==`string`&&typeof t.description==`string`&&S(t.schema)&&typeof t.handler==`function`}function S(e){return typeof e==`object`&&!!e&&typeof e.safeParse==`function`}function C(e,t){return t===!0?e:t}function w(e,t,n){if(!r.isAbsolute(n))return;let i=C(e,t),a=O(n),o=r.resolve(n,`src`,`${i}.ts`);if(E(o,a))return o;let s=r.resolve(n,`dist`,`${i}.mjs`);if(E(s,a))return s}function T(e,t){let n=O(t);return D(O(e),n)}function E(e,t){try{return D(i.realpathSync(e),t)}catch{return!1}}function D(e,t){return e.startsWith(t+r.sep)}function O(e){let t=r.resolve(e);try{return i.realpathSync(t)}catch{return t}}async function k(e){return await import(n(e).href)}export{_ as a,u as c,b as i,p as l,m as n,y as o,C as r,T as s,l as t,w as u};
|
|
@@ -14,8 +14,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
|
|
|
14
14
|
response: _$zod.ZodObject<{
|
|
15
15
|
config: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
16
16
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
17
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
18
17
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
18
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
19
19
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
20
20
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
21
21
|
label: _$zod.ZodString;
|
|
@@ -39,8 +39,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
|
|
|
39
39
|
response: _$zod.ZodObject<{
|
|
40
40
|
configs: _$zod.ZodArray<_$zod.ZodObject<{
|
|
41
41
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
42
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
43
42
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
43
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
44
44
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
45
45
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
46
46
|
label: _$zod.ZodString;
|
|
@@ -1650,8 +1650,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
|
|
|
1650
1650
|
response: _$zod.ZodObject<{
|
|
1651
1651
|
config: _$zod.ZodObject<{
|
|
1652
1652
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1653
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1654
1653
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1654
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1655
1655
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1656
1656
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1657
1657
|
label: _$zod.ZodString;
|
|
@@ -1875,8 +1875,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
1875
1875
|
response: _$zod.ZodObject<{
|
|
1876
1876
|
config: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
1877
1877
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1878
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1879
1878
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1879
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1880
1880
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1881
1881
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1882
1882
|
label: _$zod.ZodString;
|
|
@@ -1900,8 +1900,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
1900
1900
|
response: _$zod.ZodObject<{
|
|
1901
1901
|
configs: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1902
1902
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1903
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1904
1903
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1904
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1905
1905
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1906
1906
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1907
1907
|
label: _$zod.ZodString;
|
|
@@ -3511,8 +3511,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
3511
3511
|
response: _$zod.ZodObject<{
|
|
3512
3512
|
config: _$zod.ZodObject<{
|
|
3513
3513
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3514
|
-
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3515
3514
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3515
|
+
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3516
3516
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3517
3517
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
3518
3518
|
label: _$zod.ZodString;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./profile-1fvMljlJ.mjs";import{z as t}from"zod";import{createBusNamespace as n,hostLocalRequest as r}from"@makaio/framework/core";const i=t.enum([`running`,`stopped`,`exited`,`unknown`]),a={request:t.object({clientId:t.string(),cwd:t.string(),command:t.string(),args:t.array(t.string()),env:t.record(t.string(),t.string()).optional(),sessionId:t.string().optional(),clientProfileName:e.optional(),adapterSessionId:t.string().optional(),metadata:t.record(t.string(),t.unknown()).optional()}),response:t.object({supervisorSessionId:t.string(),pid:t.number().int().positive()})},o={request:t.union([t.object({supervisorSessionId:t.string()}).strict(),t.object({sessionId:t.string()}).strict(),t.object({adapterSessionId:t.string()}).strict()]),response:t.object({success:t.boolean(),supervisorSessionId:t.string().optional(),pid:t.number().int().positive().optional(),terminalAttachment:t.object({canAttach:t.boolean()}).optional()})},s=r({request:t.object({attachmentId:t.string().uuid(),locator:o.request}),response:t.object({success:t.boolean(),supervisorSessionId:t.string().optional(),pid:t.number().int().positive().optional(),bufferedOutput:t.string().optional(),wasTruncated:t.boolean().optional(),lastSeq:t.number().int().nonnegative().optional()})}),c=r({request:t.object({attachmentId:t.string().uuid(),data:t.string().min(1)}),response:t.object({success:t.boolean()})}),l=r({request:t.object({attachmentId:t.string().uuid(),cols:t.number().int().positive(),rows:t.number().int().positive()}),response:t.object({success:t.boolean()})}),u=r({request:t.object({attachmentId:t.string().uuid()}),response:t.object({success:t.boolean()})}),d=t.object({attachmentId:t.string().uuid(),seq:t.number().int().positive(),data:t.string()}),f=t.object({attachmentId:t.string().uuid()}),p={request:t.object({supervisorSessionId:t.string(),signal:t.string().optional()}),response:t.object({success:t.boolean()})},m=t.object({supervisorSessionId:t.string(),clientId:t.string(),pid:t.number().int().positive().nullable(),status:i,cwd:t.string(),sessionId:t.string().optional(),adapterSessionId:t.string().optional(),startedAt:t.number().int().nonnegative(),stoppedAt:t.number().int().nonnegative().optional()}),h={request:t.union([t.object({}).strict(),t.object({supervisorSessionId:t.string()}).strict(),t.object({sessionId:t.string()}).strict(),t.object({adapterSessionId:t.string()}).strict()]),response:t.object({runtimes:t.array(m)})},g={launch:a,attach:o,"terminal.open":s,"terminal.input":c,"terminal.resize":l,"terminal.close":u,"terminal.output":d,"terminal.closed":f,stop:p,status:h},_=n(`native-session-supervisor`,g),v=_.subjects;export{a,u as c,s as d,d as f,i as h,o as i,f as l,m,v as n,h as o,l as p,g as r,p as s,_ as t,c as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as BusServerConfig, n as startBusServer, r as BusServer, t as StartBusServerOptions } from "../../server-lifecycle-
|
|
1
|
+
import { i as BusServerConfig, n as startBusServer, r as BusServer, t as StartBusServerOptions } from "../../server-lifecycle-BINetU26.mjs";
|
|
2
2
|
import { BusBroadcastMessage, BusMessage, BusRequestMessage, BusTransport, BusTransportError } from "@makaio/framework/bus";
|
|
3
3
|
import { TransportAuth, WebSocketLike, WebSocketServerLike, WebSocketServerLike as WebSocketServerLike$1 } from "@makaio/framework/node/transports";
|
|
4
4
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as startBusServer, t as StartBusServerOptions } from "../../server-lifecycle-
|
|
1
|
+
import { n as startBusServer, t as StartBusServerOptions } from "../../server-lifecycle-BINetU26.mjs";
|
|
2
2
|
export { StartBusServerOptions, startBusServer };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
1
2
|
import { PayloadFilter, TransportPeerContext, TransportReceiveContext } from "@makaio/framework/core";
|
|
2
3
|
import { BusBroadcastMessage, BusEventMessage, BusMessage, BusReceiveHandler, BusRequestMessage, BusTransport, BusTransportError, SubscriptionDeliveryClass } from "@makaio/framework/bus";
|
|
3
4
|
|
|
@@ -180,6 +181,8 @@ declare class HmacAuth implements TransportAuth {
|
|
|
180
181
|
* Cleaned up in `cleanupSocket()` when the socket disconnects.
|
|
181
182
|
*/
|
|
182
183
|
private serverAuthenticatedPeers;
|
|
184
|
+
/** Stable, server-generated connection identities for authenticated sockets. */
|
|
185
|
+
private serverConnectionIds;
|
|
183
186
|
/**
|
|
184
187
|
* Maps each identity-bound socket to the secret it authenticated with.
|
|
185
188
|
*
|
|
@@ -343,6 +346,20 @@ declare class HmacAuth implements TransportAuth {
|
|
|
343
346
|
cleanup(): void;
|
|
344
347
|
}
|
|
345
348
|
//#endregion
|
|
349
|
+
//#region transports/ws/src/auth/local-cli-identity.d.ts
|
|
350
|
+
/** Stable identity presented by CLI WebSocket clients on the same host. */
|
|
351
|
+
declare const MAKAIO_LOCAL_CLI_HMAC_IDENTITY_ID = "makaio-cli-local:v1";
|
|
352
|
+
/** Peer kind hosts accept for local CLI supervisor controls. */
|
|
353
|
+
declare const MAKAIO_LOCAL_CLI_PEER_KIND = "makaio-cli-local";
|
|
354
|
+
/**
|
|
355
|
+
* Register the local CLI identity for the lifetime of a host transport.
|
|
356
|
+
* The shared host bus secret is the trust boundary; this peer kind is not a
|
|
357
|
+
* separate credential from other processes that already possess that secret.
|
|
358
|
+
* @param secret - Existing authenticated-bus secret shared with the CLI.
|
|
359
|
+
* @returns Cleanup function that unregisters this registration generation.
|
|
360
|
+
*/
|
|
361
|
+
declare function registerMakaioLocalCliHmacIdentity(secret: string): () => void;
|
|
362
|
+
//#endregion
|
|
346
363
|
//#region transports/ws/src/auth/identity-secret-registry.d.ts
|
|
347
364
|
/** Options for registering an HMAC identity secret. */
|
|
348
365
|
interface HmacIdentitySecretRegistrationOptions {
|
|
@@ -839,6 +856,19 @@ declare class DispatchingAuth implements TransportAuth {
|
|
|
839
856
|
* @returns true if the message was handled as an auth message, false otherwise
|
|
840
857
|
*/
|
|
841
858
|
handleAuthMessage(message: unknown, socket?: WebSocketLike): boolean;
|
|
859
|
+
/**
|
|
860
|
+
* Return trusted receive context from the strategy selected for this socket.
|
|
861
|
+
* Single-strategy dispatchers delegate directly because no per-socket route is recorded.
|
|
862
|
+
* @param socket - Optional server-side socket.
|
|
863
|
+
* @returns Trusted receive context, or undefined when the selected strategy has none.
|
|
864
|
+
*/
|
|
865
|
+
getReceiveContext(socket?: WebSocketLike): _$_makaio_core0.TransportReceiveContext | undefined;
|
|
866
|
+
/**
|
|
867
|
+
* Return whether the strategy selected for a socket still authorizes it.
|
|
868
|
+
* @param socket - Server-side socket whose authorization should be checked.
|
|
869
|
+
* @returns True when no selected strategy provides a liveness check, otherwise its result.
|
|
870
|
+
*/
|
|
871
|
+
isSocketAuthenticated(socket: WebSocketLike): boolean;
|
|
842
872
|
/**
|
|
843
873
|
* Clean up authentication resources for a specific socket.
|
|
844
874
|
*
|
|
@@ -869,6 +899,12 @@ declare class DispatchingAuth implements TransportAuth {
|
|
|
869
899
|
* @returns The sole configured strategy, or `undefined`
|
|
870
900
|
*/
|
|
871
901
|
private resolveSingleStrategy;
|
|
902
|
+
/**
|
|
903
|
+
* Resolve a socket's selected strategy, with direct fallback for single-strategy dispatchers.
|
|
904
|
+
* @param socket - Optional server-side socket.
|
|
905
|
+
* @returns The selected or sole strategy, or undefined when no route is available.
|
|
906
|
+
*/
|
|
907
|
+
private resolveSocketStrategy;
|
|
872
908
|
/**
|
|
873
909
|
* Select the appropriate strategy based on the first auth message type.
|
|
874
910
|
*
|
|
@@ -1546,6 +1582,7 @@ declare class ServerTransport implements BusTransport {
|
|
|
1546
1582
|
private readonly broadcastAggregator;
|
|
1547
1583
|
private readonly correlations;
|
|
1548
1584
|
private connectionListener;
|
|
1585
|
+
private readonly connectionClosedHandlers;
|
|
1549
1586
|
/**
|
|
1550
1587
|
* @param options - Server transport configuration
|
|
1551
1588
|
*/
|
|
@@ -1590,6 +1627,21 @@ declare class ServerTransport implements BusTransport {
|
|
|
1590
1627
|
* @returns Promise resolving to `true` if delivered to at least one client, `false` otherwise
|
|
1591
1628
|
*/
|
|
1592
1629
|
send(message: BusMessage, timeout?: number): Promise<boolean>;
|
|
1630
|
+
/**
|
|
1631
|
+
* Deliver an event to exactly one server-generated WebSocket connection.
|
|
1632
|
+
* @param message - Event to deliver.
|
|
1633
|
+
* @param connectionId - Server-generated connection identity.
|
|
1634
|
+
* @returns Whether the target is still connected and received the event.
|
|
1635
|
+
*/
|
|
1636
|
+
sendToConnection(message: Extract<BusMessage, {
|
|
1637
|
+
type: 'event';
|
|
1638
|
+
}>, connectionId: string): Promise<boolean>;
|
|
1639
|
+
/**
|
|
1640
|
+
* Subscribe to server-owned WebSocket connection teardown.
|
|
1641
|
+
* @param handler - Called after a connection is no longer routable.
|
|
1642
|
+
* @returns Unsubscribe function.
|
|
1643
|
+
*/
|
|
1644
|
+
onConnectionClosed(handler: (connectionId: string) => void): () => void;
|
|
1593
1645
|
/**
|
|
1594
1646
|
* Register a handler for incoming messages from clients.
|
|
1595
1647
|
* @param handler - Handler function for incoming messages
|
|
@@ -2251,4 +2303,4 @@ declare module '@makaio/framework/bus' {
|
|
|
2251
2303
|
}
|
|
2252
2304
|
}
|
|
2253
2305
|
//#endregion
|
|
2254
|
-
export { type ClientTransportCodec, DispatchingAuth, E2EAuth, E2ERelayAuth, type E2ERelayAuthOptions, HmacAuth, type HmacIdentitySecretRegistrationOptions, type HmacIdentitySecretRotationOptions, type RelayControlBusMessage, type RelayControlEnvelopeMessage, type RelayControlHelpers, type RelayControlRegistry, ServerTransport, type TransportAuth, WebSocketClientTransport, type WebSocketClientTransportHeartbeatOptions, type WebSocketClientTransportOptions, type WebSocketClientTransportReadinessMode, type WebSocketClientTransportReconnectOptions, type WebSocketCloseEvent, WebSocketConnectionError, type WebSocketConnectionErrorCode, type WebSocketLike, type WebSocketServerLike, captureHmacIdentitySecretCleanup, clearHmacIdentitySecretsForTesting, createE2EClientTransport, createE2ERelayClientTransport, createE2ERelayCodec, createRelayControlHelpers, createRelayControlRegistry, createWebSocketCloseEvent, createWebSocketTransport, index_d_exports as crypto, extractSocketErrorMessage, registerHmacIdentitySecret, resolveHmacIdentityAllowedMessageSubjects, resolveHmacIdentityAllowedSubscriptionSubjects, resolveHmacIdentityPeer, resolveHmacIdentitySecret, rotateHmacIdentitySecret };
|
|
2306
|
+
export { type ClientTransportCodec, DispatchingAuth, E2EAuth, E2ERelayAuth, type E2ERelayAuthOptions, HmacAuth, type HmacIdentitySecretRegistrationOptions, type HmacIdentitySecretRotationOptions, MAKAIO_LOCAL_CLI_HMAC_IDENTITY_ID, MAKAIO_LOCAL_CLI_PEER_KIND, type RelayControlBusMessage, type RelayControlEnvelopeMessage, type RelayControlHelpers, type RelayControlRegistry, ServerTransport, type TransportAuth, WebSocketClientTransport, type WebSocketClientTransportHeartbeatOptions, type WebSocketClientTransportOptions, type WebSocketClientTransportReadinessMode, type WebSocketClientTransportReconnectOptions, type WebSocketCloseEvent, WebSocketConnectionError, type WebSocketConnectionErrorCode, type WebSocketLike, type WebSocketServerLike, captureHmacIdentitySecretCleanup, clearHmacIdentitySecretsForTesting, createE2EClientTransport, createE2ERelayClientTransport, createE2ERelayCodec, createRelayControlHelpers, createRelayControlRegistry, createWebSocketCloseEvent, createWebSocketTransport, index_d_exports as crypto, extractSocketErrorMessage, registerHmacIdentitySecret, registerMakaioLocalCliHmacIdentity, resolveHmacIdentityAllowedMessageSubjects, resolveHmacIdentityAllowedSubscriptionSubjects, resolveHmacIdentityPeer, resolveHmacIdentitySecret, rotateHmacIdentitySecret };
|