@makaio/framework 1.0.0-dev-1789609124644 → 1.0.0-dev-1790066089222
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-C4v_gNTI.mjs → adapter-DSRgsh2d.mjs} +1 -1
- package/dist/adapter-subsystem/index.d.mts +15 -7
- package/dist/adapter-subsystem/index.mjs +1 -1
- package/dist/adapters/claude/index.mjs +3 -3
- 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/{attempt-record-codec-DaQ3WHUs.mjs → attempt-record-codec-DXpdMgyI.mjs} +1 -1
- package/dist/bus/index.d.mts +120 -8
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-ceMF9rsq.mjs +9 -0
- package/dist/client-DWSwtFyI.mjs +1 -0
- package/dist/clients/index.d.mts +179 -12
- 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/code-execution/worker-entry.mjs +1 -1
- package/dist/{code-execution-pUF4IO462.mjs → code-execution-DWSux6k1.mjs} +1 -1
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +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 +3 -3
- package/dist/contracts/client/index.mjs +1 -1
- 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 -47
- package/dist/contracts/context-projection/index.d.mts +232 -0
- package/dist/contracts/context-projection/index.mjs +1 -0
- package/dist/contracts/extension/index.d.mts +6 -6
- package/dist/contracts/extension/index.mjs +1 -1
- 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 +43 -43
- 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 +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 +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- 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-DDbHzCPF.d.mts → contribution-1GL7Rjaq.d.mts} +2 -2
- package/dist/credential-ref-w4ZYpYW0.d.mts +49 -0
- package/dist/{definition-CuaBQyde.d.mts → definition-DeIGoROj.d.mts} +1 -1
- package/dist/{descriptor-to-package-Dw8dnl5E.mjs → descriptor-to-package-BPIArq6N.mjs} +1 -1
- package/dist/{detached-extension-handle-DN3aqLyq.mjs → detached-extension-handle-W5_yfCyE.mjs} +1 -1
- package/dist/drizzle/0040_session_generation.sql +1 -0
- package/dist/drizzle/0041_session_principal_owner.sql +1 -0
- package/dist/drizzle/meta/_journal.json +14 -0
- package/dist/{execution-attempt-owner-recovery-CE_rvHKE.mjs → execution-attempt-owner-recovery-BZOEVYFH.mjs} +1 -1
- package/dist/extension-C6ANjR33.mjs +1 -0
- package/dist/{extension-context-BH31eOMv.d.mts → extension-context-pQ7Uio_s.d.mts} +44 -1
- package/dist/{extension-discovery-CA2IhDRo.d.mts → extension-discovery-Rup-gANp.d.mts} +114 -15
- package/dist/extension-kOwzAMud.mjs +1 -0
- package/dist/extension-namespace-CeRpt6C8.mjs +1 -0
- package/dist/{framework-packages-Bg4edkkM.mjs → framework-packages-U4Xhouxe.mjs} +1 -1
- package/dist/{hook-responses-Dq16X3Cb.d.mts → hook-responses-B882RcQc.d.mts} +48 -5
- package/dist/{index-Dm3d490n.d.mts → index-B2bxgKiK.d.mts} +1 -1
- package/dist/{index-7CVumCjj.d.mts → index-BTpkpHIS.d.mts} +65 -9
- package/dist/{index-Bh57xARQ.d.mts → index-BUv9gfRT.d.mts} +3 -3
- package/dist/{index-C6e9cwAl2.d.mts → index-BjQtqMxP2.d.mts} +4 -4
- package/dist/{index-B-u0Tu8X.d.mts → index-Bqi44ODz.d.mts} +37 -37
- package/dist/{index-CIzvBH8O.d.mts → index-C8two8wz.d.mts} +1 -1
- package/dist/{index-oxZt93RL.d.mts → index-CESqYf8a.d.mts} +2 -2
- package/dist/{index-C87P0WpY2.d.mts → index-CmCLAMNs.d.mts} +1 -1
- package/dist/index-CyEE1RI5.d.mts +869 -0
- package/dist/{index-De_oh9M-2.d.mts → index-D6Uq1btG.d.mts} +87 -10
- package/dist/{index-CRZ1jrxp.d.mts → index-DDSt0uS2.d.mts} +160 -12
- package/dist/{index-B6WkHnCQ.d.mts → index-DRxgmrad.d.mts} +1 -1
- package/dist/{index-U--ajOHy.d.mts → index-DUYjTfHD.d.mts} +1 -1
- package/dist/{index-HJkz7i4E.d.mts → index-DdJKsdya.d.mts} +188 -10
- package/dist/{index-B4pPwpKk.d.mts → index-DfREUyAk.d.mts} +1 -1
- package/dist/{index-ClKwF6LE.d.mts → index-Di-R1gmo.d.mts} +2 -2
- package/dist/{index-DWANFpTG.d.mts → index-Jdju2W3y.d.mts} +1 -1
- package/dist/{index-DQKVQPUS.d.mts → index-L6mssyeZ.d.mts} +1 -1
- package/dist/{index-B8v1-2-V2.d.mts → index-anIxF_eT.d.mts} +1 -1
- package/dist/{index-iVisrVdC2.d.mts → index-bYBnDBl32.d.mts} +539 -4
- package/dist/{index-Bg3WVL8n.d.mts → index-gNdH1F6r.d.mts} +531 -26
- package/dist/{index-zmDRR8gv2.d.mts → index-m5ZQFglW2.d.mts} +1 -1
- package/dist/{index-mTaFX2HH2.d.mts → index-uk8icWON2.d.mts} +419 -19
- 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 +3 -2
- package/dist/kernel/extension/index.mjs +1 -1
- package/dist/kernel/index.d.mts +6 -6
- package/dist/kernel/index.mjs +1 -1
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/observability/index.d.mts +2 -2
- package/dist/kernel/observability/index.mjs +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/{lib-BF5XBSfw.mjs → lib-BdyGVjpO.mjs} +1 -1
- package/dist/{lib-Dljw2Cqh.mjs → lib-DxP3tPm9.mjs} +1 -1
- package/dist/load-extensions-BGfSWW_R.mjs +1 -0
- package/dist/{load-extensions-DGstT4_p.d.mts → load-extensions-Be_lOjm_.d.mts} +27 -14
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/{namespace-BMdYJN_t.mjs → namespace-CqJhR19O.mjs} +1 -1
- package/dist/{namespace-Cmu-5_P9.d.mts → namespace-DudchWPb.d.mts} +457 -0
- package/dist/{namespace-BEbQb19g.d.mts → namespace-Eir1wQ_r.d.mts} +2 -2
- 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 +102 -4
- package/dist/node/transports/index.mjs +2 -2
- package/dist/{orchestrator-shared-CtPB6PAr.mjs → orchestrator-shared-CF-jPH91.mjs} +1 -1
- package/dist/ownership-memory-handler-C-y9zQf8.mjs +1 -0
- package/dist/package-AlsbnlSt.mjs +159 -0
- package/dist/{package-CDj3F-L3.d.mts → package-CwyC-Krg.d.mts} +1 -1
- package/dist/{package-DYScYC0D.mjs → package-kkPGlxMm.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/{registry-DNMjJ-Oj.mjs → registry-DtaRGU8i.mjs} +1 -0
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.d.mts +2 -2
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/boot-config.d.mts +45 -0
- package/dist/runtime-node/boot-config.mjs +1 -0
- package/dist/runtime-node/code-execution/index.d.mts +2 -2
- package/dist/runtime-node/code-execution/index.mjs +1 -1
- 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 +345 -27
- package/dist/runtime-node/index.mjs +21 -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-BA1cHBbc.d.mts → schema-FY0EakKe.d.mts} +56 -0
- package/dist/schemas-CkxAK13D.mjs +1 -0
- package/dist/{schemas-CaYEFzK_.d.mts → schemas-FgVQek-j.d.mts} +2 -2
- 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/automation-trigger/index.d.mts +19 -0
- 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-projection/index.d.mts +94 -0
- package/dist/services/context-projection/index.mjs +1 -0
- package/dist/services/context-rules/index.d.mts +1 -1
- 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/index.d.mts +45 -40
- 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/orchestrator-testing/index.mjs +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/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.mjs +4 -2
- 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-editor/index.d.mts +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/namespace.d.mts +232 -3
- package/dist/services/settings/namespace.mjs +1 -1
- 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-BNiMZnfF.mjs +1 -0
- package/dist/session-CMbztxNO.mjs +95 -0
- package/dist/src-BZdw54VU.mjs +1 -0
- package/dist/{src-CbAw9kjJ.mjs → src-C0sw_Vs_.mjs} +1 -1
- package/dist/{src-Xn6SS74f.mjs → src-CqQSqLQI.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/{tool-approval-service-pbkGcAV8.mjs → tool-approval-service-CRo3fZRF.mjs} +1 -1
- package/dist/{tools-C5Gy0IQG.mjs → tools-CKaxi3Mb.mjs} +1 -1
- package/dist/{transition-D-Lgbp1j.d.mts → transition-DMv8cgEd.d.mts} +2 -2
- package/dist/{types-CjYcHDPo2.d.mts → types-7L3BrU9m2.d.mts} +1 -1
- package/dist/{types-DhbllltK.d.mts → types-DNYO_Rxj.d.mts} +12 -3
- package/dist/ui-hooks/index.d.mts +17 -24
- package/dist/ui-hooks/index.mjs +1 -1
- package/dist/ui-kernel/index.d.mts +11 -2
- package/dist/ui-kernel/index.mjs +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/ui-views/index.mjs +1 -1
- package/dist/utils/index.d.mts +31 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/{view-builder-CHUTXJDl.d.mts → view-builder-DJGz9I-u.d.mts} +2 -2
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
- package/dist/workflow-engine/index.d.mts +2 -2
- 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/conformance.mjs +1 -1
- package/dist/workflow-engine/testing/index.d.mts +1 -1
- package/dist/workflow-engine/testing/index.mjs +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.mjs +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/{workflow-transitions-C0sg3kar.mjs → workflow-transitions-t0ORS1F5.mjs} +1 -1
- package/dist/workflow-worker-DXCXb3g-.mjs +3 -0
- package/package.json +9 -1
- package/dist/bus-BQ64i3DN.mjs +0 -9
- package/dist/client-Bg3_IdaF.mjs +0 -1
- package/dist/extension-CfrTp3rC.mjs +0 -1
- package/dist/extension-CnNcY1hR.mjs +0 -1
- package/dist/extension-namespace-Ct9L6SKr.mjs +0 -1
- package/dist/index-D_j_T3nS.d.mts +0 -435
- package/dist/load-extensions-BVgxTj_y.mjs +0 -1
- package/dist/ownership-memory-handler-xex7sLiX.mjs +0 -1
- package/dist/schemas-ClkcU_N5.mjs +0 -1
- package/dist/session-6UG5udTX.mjs +0 -95
- package/dist/session-BB0s7c2B.mjs +0 -1
- package/dist/workflow-worker-ChrMIcKm.mjs +0 -2
- /package/dist/{adapter-binding-BxjUfkOn.d.mts → adapter-binding-CaYBrIkL.d.mts} +0 -0
- /package/dist/{attempt-control-evidence-7lwRG73Y.mjs → attempt-control-evidence-CHBnJoqN.mjs} +0 -0
- /package/dist/{attempt-fixtures-DHdYmr3o.mjs → attempt-fixtures-D3IsP0KH.mjs} +0 -0
- /package/dist/{authority-state-bootstrap-CvuWPywM.mjs → authority-state-bootstrap-4F5Wc_6l.mjs} +0 -0
- /package/dist/{base-orchestrator-CrXiMJzf.d.mts → base-orchestrator-1ofFsqUz.d.mts} +0 -0
- /package/dist/{bootstrap-start-client-C1ZHbv6e.mjs → bootstrap-start-client-9nOdeDYl.mjs} +0 -0
- /package/dist/{capability-service-CQ1aw_p-.d.mts → capability-service-CUN0MIS7.d.mts} +0 -0
- /package/dist/{client-ByjHcS78.d.mts → client-BY3sBW2L.d.mts} +0 -0
- /package/dist/{client-binary-version-verifier-C4fEAUdo.d.mts → client-binary-version-verifier-BeO4Eptw.d.mts} +0 -0
- /package/dist/{clients-namespace-D4BxF2Nw.d.mts → clients-namespace-D92YsbKI.d.mts} +0 -0
- /package/dist/{config-namespace-B1zyOYwH.d.mts → config-namespace-OEckUfVE.d.mts} +0 -0
- /package/dist/{create-static-mount-Dgxgi4W3.mjs → create-static-mount-4B-mNtx1.mjs} +0 -0
- /package/dist/{cross-spawn-BMCAyqrN.mjs → cross-spawn-DGqEuNyT.mjs} +0 -0
- /package/dist/{definition-ClWxAKQ2.d.mts → definition-DLJg-P4G.d.mts} +0 -0
- /package/dist/{esm-Ccx-3z8E.mjs → esm-DwiWcwH0.mjs} +0 -0
- /package/dist/{execution-attempt-repository-aabFKcXN.mjs → execution-attempt-repository-CY289HlC.mjs} +0 -0
- /package/dist/{execution-attempt-repository-BUah8hma.d.mts → execution-attempt-repository-DOb5V4N2.d.mts} +0 -0
- /package/dist/{extension-package-provenance-C7oO5JAE.mjs → extension-package-provenance-ClpN3GHp.mjs} +0 -0
- /package/dist/{filesystem-service-CDYoiwWY.d.mts → filesystem-service-BmavE-uO.d.mts} +0 -0
- /package/dist/{index-BbkcbY6d.d.mts → index--gbsE1W0.d.mts} +0 -0
- /package/dist/{index-DdVpWkaI.d.mts → index-B36rL4gp.d.mts} +0 -0
- /package/dist/{index-DM72_93s.d.mts → index-BD1SbHpP.d.mts} +0 -0
- /package/dist/{index-KdlZRuTp.d.mts → index-BDcK7jqJ2.d.mts} +0 -0
- /package/dist/{index-DAaQ--ki.d.mts → index-BQYGOXY5.d.mts} +0 -0
- /package/dist/{index-gAyARaKS.d.mts → index-BneZFJ7x.d.mts} +0 -0
- /package/dist/{index-D8ELwT5y.d.mts → index-BujgCaKt.d.mts} +0 -0
- /package/dist/{index-DfU8s_xP.d.mts → index-C2StVLk4.d.mts} +0 -0
- /package/dist/{index-BGnQ0EyD.d.mts → index-CCTzitBA.d.mts} +0 -0
- /package/dist/{index-CVRT01082.d.mts → index-Cj_V1aRL.d.mts} +0 -0
- /package/dist/{index-nkix3hP7.d.mts → index-CpN2C9jq.d.mts} +0 -0
- /package/dist/{index-D6p17KPs.d.mts → index-CsRPJ9FV.d.mts} +0 -0
- /package/dist/{index-BPNfYEA22.d.mts → index-CvdvuhTL2.d.mts} +0 -0
- /package/dist/{index-DmX9W3xH2.d.mts → index-D3peNmHN2.d.mts} +0 -0
- /package/dist/{index-DiZ4LmyE.d.mts → index-D7smT-YD.d.mts} +0 -0
- /package/dist/{index-B78CRVi9.d.mts → index-DEx4ZFkz.d.mts} +0 -0
- /package/dist/{index-CjDQn6lw.d.mts → index-DGoJayJg.d.mts} +0 -0
- /package/dist/{index-F7cVpFJ9.d.mts → index-DTvYp2GT.d.mts} +0 -0
- /package/dist/{index-Htfr-K5U2.d.mts → index-DqliLe_D2.d.mts} +0 -0
- /package/dist/{index-BCU5oByg.d.mts → index-DubyRZD9.d.mts} +0 -0
- /package/dist/{index-DjSUOMlr.d.mts → index-DwOpaQAE.d.mts} +0 -0
- /package/dist/{index-BZoOYV-y.d.mts → index-DxkSkszz.d.mts} +0 -0
- /package/dist/{index-tbjIqwa3.d.mts → index-TBJ1kIGA.d.mts} +0 -0
- /package/dist/{index-DXQTkwLB.d.mts → index-YOXWpZAS.d.mts} +0 -0
- /package/dist/{index-CXpgL3gz2.d.mts → index-aIJ7A4DC2.d.mts} +0 -0
- /package/dist/{index-D6liU_KS.d.mts → index-fxh7TB0q.d.mts} +0 -0
- /package/dist/{index-xsaaa85T.d.mts → index-qczb9Yx3.d.mts} +0 -0
- /package/dist/{index-C_kOkO3E.d.mts → index-zqo2mX_Z.d.mts} +0 -0
- /package/dist/{json-value-Ymw2f8i_.d.mts → json-value-Bjl8jzom.d.mts} +0 -0
- /package/dist/{jsonl-transport-Bg033Ng0.mjs → jsonl-transport-Ct1RWs0h.mjs} +0 -0
- /package/dist/{lib-BizqbepU.mjs → lib-DomKag_k.mjs} +0 -0
- /package/dist/{namespace-rJ3ycPMg.d.mts → namespace-Bhx72V7S.d.mts} +0 -0
- /package/dist/{namespace-BCVKdu-U.d.mts → namespace-CxEQv9iZ.d.mts} +0 -0
- /package/dist/{namespace-COHHDh2I.d.mts → namespace-D09uQ231.d.mts} +0 -0
- /package/dist/{namespace-UFcDEBJB.d.mts → namespace-D5DkpaaN.d.mts} +0 -0
- /package/dist/{namespace-CvK86QFk.d.mts → namespace-DHLwz4o3.d.mts} +0 -0
- /package/dist/{namespace-B5IFLQc-.d.mts → namespace-DHbrNQYD.d.mts} +0 -0
- /package/dist/{namespace-s0e215xO.d.mts → namespace-DyD06b5-.d.mts} +0 -0
- /package/dist/{namespace-C1pPZKtI.d.mts → namespace-Dz5_Hrz7.d.mts} +0 -0
- /package/dist/{namespace-Phxf0Lep.d.mts → namespace-Lkv2nyzb.d.mts} +0 -0
- /package/dist/{namespace-DM5vykb7.d.mts → namespace-hlhPqSsw.d.mts} +0 -0
- /package/dist/{namespace-DlOQmhgX.d.mts → namespace-x-gk5SmK.d.mts} +0 -0
- /package/dist/{namespace-f6Kz5cwX.d.mts → namespace-zusFEJPh.d.mts} +0 -0
- /package/dist/{orchestrator-shared--srEeSaY.d.mts → orchestrator-shared-ChU5qRSe.d.mts} +0 -0
- /package/dist/{packages-B98-WETs.d.mts → packages-D2s51nGU.d.mts} +0 -0
- /package/dist/{providers-namespace-DRcl03bo.d.mts → providers-namespace-BLVt8OyP.d.mts} +0 -0
- /package/dist/{runtime-inputs-DBtVIy9h.d.mts → runtime-inputs-BU_kBrP7.d.mts} +0 -0
- /package/dist/{schemas-CEJe8O6P.d.mts → schemas-3KTmPuZg.d.mts} +0 -0
- /package/dist/{schemas-D_-iXLQ9.d.mts → schemas-B-5_Dp4_.d.mts} +0 -0
- /package/dist/{schemas-CeItAAQM.d.mts → schemas-BLxdGZkr.d.mts} +0 -0
- /package/dist/{schemas-Cj6Gbqch.d.mts → schemas-BegArpU_.d.mts} +0 -0
- /package/dist/{schemas-Ca5RILd-2.d.mts → schemas-BzB6z9oX2.d.mts} +0 -0
- /package/dist/{schemas-CtzZDp29.d.mts → schemas-CBBzvIh0.d.mts} +0 -0
- /package/dist/{schemas-Cq1d5tid.d.mts → schemas-CD3Mq-jC.d.mts} +0 -0
- /package/dist/{schemas-LiiyNNpr.d.mts → schemas-Cl7fPlRv.d.mts} +0 -0
- /package/dist/{schemas-DJ2vMsgm.d.mts → schemas-CqawCYTY.d.mts} +0 -0
- /package/dist/{schemas-2_D4iVbb.d.mts → schemas-DEg6R9ph.d.mts} +0 -0
- /package/dist/{schemas-JjyFxrC0.d.mts → schemas-rMUsvzeJ.d.mts} +0 -0
- /package/dist/{server-lifecycle-DUKp1Fbf.d.mts → server-lifecycle-CTJvpdeL.d.mts} +0 -0
- /package/dist/{session-lineage-C3myyt5x.d.mts → session-lineage-BuGN3RZs.d.mts} +0 -0
- /package/dist/{storage-namespace-IvLOIP7j.d.mts → storage-namespace-B5r_ScUz.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-Cv0XiTXb.d.mts → storage-namespace-definition-DiYr8UNl.d.mts} +0 -0
- /package/dist/{types-hkExapGH.d.mts → types-BSx8YYlc.d.mts} +0 -0
- /package/dist/{types-BYEybzjX.d.mts → types-CpEoQapk.d.mts} +0 -0
- /package/dist/{types-QRSc2AUU.d.mts → types-Cuhnt15L.d.mts} +0 -0
- /package/dist/{types-QsyX4H21.d.mts → types-DEGuc-fn.d.mts} +0 -0
- /package/dist/{types-BRM1AZaP.d.mts → types-DciLiPMd.d.mts} +0 -0
- /package/dist/{types-CsmvIK25.mjs → types-wwuw7RkB.mjs} +0 -0
- /package/dist/{window-registry-DeG37kt8.d.mts → window-registry-C3W2wtlX.d.mts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-
|
|
1
|
+
import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-DiYr8UNl.mjs";
|
|
2
2
|
import * as _$zod from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -104,6 +104,9 @@ declare const ExtensionInfoSchema: z.ZodObject<{
|
|
|
104
104
|
headless: "headless";
|
|
105
105
|
}>>;
|
|
106
106
|
enabled: z.ZodBoolean;
|
|
107
|
+
extensionManaged: z.ZodBoolean;
|
|
108
|
+
persistedEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
critical: z.ZodBoolean;
|
|
107
110
|
browser: z.ZodOptional<z.ZodObject<{
|
|
108
111
|
entrypoint: z.ZodString;
|
|
109
112
|
}, z.core.$strip>>;
|
|
@@ -112,6 +115,92 @@ declare const ExtensionInfoSchema: z.ZodObject<{
|
|
|
112
115
|
type ExtensionInfo = z.infer<typeof ExtensionInfoSchema>;
|
|
113
116
|
//#endregion
|
|
114
117
|
//#region packages/kernel/src/observability/extension-namespace.d.ts
|
|
118
|
+
/**
|
|
119
|
+
* Outcome of one `kernel:extension.setEnabled` request.
|
|
120
|
+
*
|
|
121
|
+
* Mirrors the `TransitionOutcome` union the coordinator's toggle helpers
|
|
122
|
+
* compute internally (see `extension/extension-toggle.ts`) so the bus
|
|
123
|
+
* response can carry the same fidelity instead of collapsing it to a single
|
|
124
|
+
* `success` boolean. `kernel:extension.setEnabled` is persist-only — it never
|
|
125
|
+
* runs a live state-machine transition — so for that RPC this is a
|
|
126
|
+
* comparison between the durably persisted preference and the process's
|
|
127
|
+
* actual runtime state, not the result of an attempted transition:
|
|
128
|
+
* - `'applied'` — the persisted preference already matches the process's
|
|
129
|
+
* current runtime state; no restart is needed for it to take effect.
|
|
130
|
+
* - `'rejected'` — the request was refused outright without persisting
|
|
131
|
+
* anything: an unknown extension name, a disable of a `critical` package or
|
|
132
|
+
* of one whose criticality could not be resolved, or a coordinator already
|
|
133
|
+
* shutting down. Every such refusal is a *response*, carrying a
|
|
134
|
+
* {@link SetEnabledReasonSchema} code for which one it was, rather than a
|
|
135
|
+
* fault — a caller that cannot inspect the host itself must be able to tell
|
|
136
|
+
* "refused, and here is why" apart from "the call failed".
|
|
137
|
+
* `TransitionOutcome` is shared with the coordinator-internal
|
|
138
|
+
* `applyExtensionTransition` primitive, where `'rejected'` additionally
|
|
139
|
+
* covers a state-machine refusal such as retrying a transition on an entry
|
|
140
|
+
* the boot phase skipped entirely.
|
|
141
|
+
* - `'restart-required'` — the preference was persisted, but it diverges
|
|
142
|
+
* from the process's current runtime state; only the next process restart
|
|
143
|
+
* applies it.
|
|
144
|
+
*/
|
|
145
|
+
declare const TransitionOutcomeSchema: z.ZodEnum<{
|
|
146
|
+
rejected: "rejected";
|
|
147
|
+
applied: "applied";
|
|
148
|
+
"restart-required": "restart-required";
|
|
149
|
+
}>;
|
|
150
|
+
/** Inferred union type for {@link TransitionOutcomeSchema}. */
|
|
151
|
+
type TransitionOutcome = z.infer<typeof TransitionOutcomeSchema>;
|
|
152
|
+
/**
|
|
153
|
+
* Machine-readable detail accompanying one `kernel:extension.setEnabled`
|
|
154
|
+
* outcome.
|
|
155
|
+
*
|
|
156
|
+
* The {@link TransitionOutcomeSchema} alone cannot tell a caller *why* a
|
|
157
|
+
* request was refused, or why a persisted preference cannot take effect yet —
|
|
158
|
+
* both of which decide what an operator is told and whether they can act on
|
|
159
|
+
* it. Codes rather than prose so the wording stays with the surface that
|
|
160
|
+
* renders it:
|
|
161
|
+
*
|
|
162
|
+
* Refusals (`'rejected'`, nothing was written):
|
|
163
|
+
* - `'critical'` — a disable targeting a `critical` package. The runtime
|
|
164
|
+
* force-starts it on every boot regardless of the store, so persisting the
|
|
165
|
+
* disable would only produce a permanent, ignored entry.
|
|
166
|
+
* - `'criticality-unknown'` — a disable targeting a package whose criticality
|
|
167
|
+
* could not be resolved, because its server entrypoint could not be read.
|
|
168
|
+
* Fail-closed: a later boot that *can* read the export might force-start it.
|
|
169
|
+
* - `'not-installed'` — no loaded extension and no installed package carries
|
|
170
|
+
* this name on this host.
|
|
171
|
+
* - `'no-catalog'` — the name is not loaded here and this runtime exposes no
|
|
172
|
+
* installed-extension catalog, so it cannot tell a real installed package
|
|
173
|
+
* apart from a typo and refuses rather than persisting on the caller's word.
|
|
174
|
+
* - `'name-collision'` — more than one installed package claims this name and
|
|
175
|
+
* the runtime cannot resolve it to a single extension, so the next boot
|
|
176
|
+
* refuses before any preference is read. A preference written now could
|
|
177
|
+
* never be acted on, and would silently apply to whichever copy an operator
|
|
178
|
+
* happens to leave behind.
|
|
179
|
+
* - `'shutting-down'` — the coordinator is tearing down.
|
|
180
|
+
*
|
|
181
|
+
* Persisted, but not in effect (`'restart-required'`, or `'applied'` when the
|
|
182
|
+
* runtime already matches the request):
|
|
183
|
+
* - `'runtime-state-diverges'` — the loaded extension's runtime state differs
|
|
184
|
+
* from the persisted preference; only a restart reconciles them.
|
|
185
|
+
* - `'not-loaded'` — the package is installed but this process never loaded it
|
|
186
|
+
* (surface affinity, unmet requirements, or boot-time suppression).
|
|
187
|
+
* - `'framework-package-shadowed'` — a framework package currently holds this
|
|
188
|
+
* name, so the installed package under it stays shadowed until it no longer
|
|
189
|
+
* does.
|
|
190
|
+
*/
|
|
191
|
+
declare const SetEnabledReasonSchema: z.ZodEnum<{
|
|
192
|
+
critical: "critical";
|
|
193
|
+
"not-installed": "not-installed";
|
|
194
|
+
"criticality-unknown": "criticality-unknown";
|
|
195
|
+
"no-catalog": "no-catalog";
|
|
196
|
+
"name-collision": "name-collision";
|
|
197
|
+
"shutting-down": "shutting-down";
|
|
198
|
+
"runtime-state-diverges": "runtime-state-diverges";
|
|
199
|
+
"not-loaded": "not-loaded";
|
|
200
|
+
"framework-package-shadowed": "framework-package-shadowed";
|
|
201
|
+
}>;
|
|
202
|
+
/** Inferred union type for {@link SetEnabledReasonSchema}. */
|
|
203
|
+
type SetEnabledReason = z.infer<typeof SetEnabledReasonSchema>;
|
|
115
204
|
/**
|
|
116
205
|
* Extension namespace for bus operations.
|
|
117
206
|
*/
|
|
@@ -195,6 +284,9 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
|
|
|
195
284
|
headless: "headless";
|
|
196
285
|
}>>;
|
|
197
286
|
enabled: z.ZodBoolean;
|
|
287
|
+
extensionManaged: z.ZodBoolean;
|
|
288
|
+
persistedEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
289
|
+
critical: z.ZodBoolean;
|
|
198
290
|
browser: z.ZodOptional<z.ZodObject<{
|
|
199
291
|
entrypoint: z.ZodString;
|
|
200
292
|
}, z.core.$strip>>;
|
|
@@ -233,6 +325,9 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
|
|
|
233
325
|
headless: "headless";
|
|
234
326
|
}>>;
|
|
235
327
|
enabled: z.ZodBoolean;
|
|
328
|
+
extensionManaged: z.ZodBoolean;
|
|
329
|
+
persistedEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
330
|
+
critical: z.ZodBoolean;
|
|
236
331
|
browser: z.ZodOptional<z.ZodObject<{
|
|
237
332
|
entrypoint: z.ZodString;
|
|
238
333
|
}, z.core.$strip>>;
|
|
@@ -240,13 +335,30 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
|
|
|
240
335
|
}, z.core.$strip>;
|
|
241
336
|
};
|
|
242
337
|
/**
|
|
243
|
-
*
|
|
338
|
+
* Durably record the operator's enablement preference for an extension.
|
|
244
339
|
*
|
|
245
340
|
* Subject: `kernel:extension.setEnabled`
|
|
246
341
|
* Type: RPC (request/response)
|
|
247
|
-
* Purpose: Allows the user or platform config to
|
|
248
|
-
*
|
|
249
|
-
*
|
|
342
|
+
* Purpose: Allows the user or platform config to persist an enable/disable
|
|
343
|
+
* preference for an extension. This is persist-only: the coordinator never
|
|
344
|
+
* applies the change to the running process, because several package
|
|
345
|
+
* contributions are composed exactly once at boot and cannot be replayed
|
|
346
|
+
* for one package in isolation. The response's `outcome` reports whether
|
|
347
|
+
* the process's current runtime state already matches the request
|
|
348
|
+
* (`'applied'`) or a restart is needed for it to take effect
|
|
349
|
+
* (`'restart-required'`).
|
|
350
|
+
*
|
|
351
|
+
* Names this coordinator never loaded are addressable too, provided it
|
|
352
|
+
* exposes an installed-extension catalog (`kernel:extension.catalog`): the
|
|
353
|
+
* request is validated against that catalog — the name must be installed
|
|
354
|
+
* here, and a disable of a `critical` package, or of one whose criticality
|
|
355
|
+
* could not be resolved, is refused — before anything is written. This is
|
|
356
|
+
* what lets a caller that cannot see this host's filesystem persist a
|
|
357
|
+
* preference without having to vouch for the name itself. A name several
|
|
358
|
+
* installed copies claim is resolved against this coordinator's own runtime
|
|
359
|
+
* surface first, since two copies restricted to different surfaces both load
|
|
360
|
+
* — each on its own — and only one of them is the copy this runtime would
|
|
361
|
+
* start; a name that stays unresolvable is refused outright.
|
|
250
362
|
* @param name - Unique extension identifier to toggle.
|
|
251
363
|
* @param enabled - Target enabled state.
|
|
252
364
|
*/
|
|
@@ -257,6 +369,77 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
|
|
|
257
369
|
}, z.core.$strip>;
|
|
258
370
|
response: z.ZodObject<{
|
|
259
371
|
success: z.ZodBoolean;
|
|
372
|
+
outcome: z.ZodEnum<{
|
|
373
|
+
rejected: "rejected";
|
|
374
|
+
applied: "applied";
|
|
375
|
+
"restart-required": "restart-required";
|
|
376
|
+
}>;
|
|
377
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
378
|
+
critical: "critical";
|
|
379
|
+
"not-installed": "not-installed";
|
|
380
|
+
"criticality-unknown": "criticality-unknown";
|
|
381
|
+
"no-catalog": "no-catalog";
|
|
382
|
+
"name-collision": "name-collision";
|
|
383
|
+
"shutting-down": "shutting-down";
|
|
384
|
+
"runtime-state-diverges": "runtime-state-diverges";
|
|
385
|
+
"not-loaded": "not-loaded";
|
|
386
|
+
"framework-package-shadowed": "framework-package-shadowed";
|
|
387
|
+
}>>;
|
|
388
|
+
}, z.core.$strip>;
|
|
389
|
+
};
|
|
390
|
+
/**
|
|
391
|
+
* Request every extension package installed on the host running this
|
|
392
|
+
* coordinator.
|
|
393
|
+
*
|
|
394
|
+
* Subject: `kernel:extension.catalog`
|
|
395
|
+
* Type: RPC (request/response)
|
|
396
|
+
* Purpose: Exposes the coordinator host's own installed-package view —
|
|
397
|
+
* across every discovery tier it reads, including the project-local
|
|
398
|
+
* `node_modules` of the directory it was started from — enriched with the
|
|
399
|
+
* enablement facts only the host holding the durable store can answer.
|
|
400
|
+
* Callers that cannot inspect this host's filesystem (a client configured
|
|
401
|
+
* against a remote bus, or one invoked from a different working directory)
|
|
402
|
+
* have no other way to enumerate installed-but-not-loaded extensions, and
|
|
403
|
+
* `kernel:extension.setEnabled` validates against this same catalog.
|
|
404
|
+
*
|
|
405
|
+
* Returns `{ entries: null }` — not an empty array — when this runtime has
|
|
406
|
+
* no installed-extension catalog at all, because "nothing is installed" and
|
|
407
|
+
* "this host cannot answer" must not read alike to a caller deciding
|
|
408
|
+
* whether to trust the result.
|
|
409
|
+
*/
|
|
410
|
+
catalog: {
|
|
411
|
+
request: z.ZodObject<{}, z.core.$strip>;
|
|
412
|
+
response: z.ZodObject<{
|
|
413
|
+
entries: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
414
|
+
name: z.ZodString;
|
|
415
|
+
version: z.ZodString;
|
|
416
|
+
origin: z.ZodEnum<{
|
|
417
|
+
local: "local";
|
|
418
|
+
npm: "npm";
|
|
419
|
+
"project-local": "project-local";
|
|
420
|
+
}>;
|
|
421
|
+
critical: z.ZodOptional<z.ZodBoolean>;
|
|
422
|
+
criticalityUnknown: z.ZodOptional<z.ZodBoolean>;
|
|
423
|
+
declaresServerEntrypoint: z.ZodOptional<z.ZodBoolean>;
|
|
424
|
+
npmName: z.ZodOptional<z.ZodString>;
|
|
425
|
+
surface: z.ZodOptional<z.ZodEnum<{
|
|
426
|
+
interactive: "interactive";
|
|
427
|
+
headless: "headless";
|
|
428
|
+
}>>;
|
|
429
|
+
shadowedBy: z.ZodOptional<z.ZodEnum<{
|
|
430
|
+
local: "local";
|
|
431
|
+
npm: "npm";
|
|
432
|
+
"project-local": "project-local";
|
|
433
|
+
}>>;
|
|
434
|
+
collidesWith: z.ZodOptional<z.ZodEnum<{
|
|
435
|
+
local: "local";
|
|
436
|
+
npm: "npm";
|
|
437
|
+
"project-local": "project-local";
|
|
438
|
+
}>>;
|
|
439
|
+
collisionIgnoresSurface: z.ZodOptional<z.ZodBoolean>;
|
|
440
|
+
extensionManaged: z.ZodBoolean;
|
|
441
|
+
persistedEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
442
|
+
}, z.core.$strip>>>;
|
|
260
443
|
}, z.core.$strip>;
|
|
261
444
|
};
|
|
262
445
|
/**
|
|
@@ -438,6 +621,7 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
|
|
|
438
621
|
name: z.ZodString;
|
|
439
622
|
frameworkSubject: z.ZodOptional<z.ZodString>;
|
|
440
623
|
responseCapabilities: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
624
|
+
minimumVersion: z.ZodOptional<z.ZodString>;
|
|
441
625
|
}, z.core.$strict>>>;
|
|
442
626
|
}, z.core.$strip>>, z.ZodTransform<{
|
|
443
627
|
supportsHooks: boolean;
|
|
@@ -448,6 +632,7 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
|
|
|
448
632
|
name: string;
|
|
449
633
|
responseCapabilities: readonly string[];
|
|
450
634
|
frameworkSubject?: string | undefined;
|
|
635
|
+
minimumVersion?: string | undefined;
|
|
451
636
|
}[];
|
|
452
637
|
}, {
|
|
453
638
|
supportsHooks: boolean;
|
|
@@ -458,6 +643,7 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
|
|
|
458
643
|
name: string;
|
|
459
644
|
responseCapabilities: readonly string[];
|
|
460
645
|
frameworkSubject?: string | undefined;
|
|
646
|
+
minimumVersion?: string | undefined;
|
|
461
647
|
}[];
|
|
462
648
|
} | undefined>>;
|
|
463
649
|
managedInstall: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -503,14 +689,24 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
|
|
|
503
689
|
}, z.core.$strip>;
|
|
504
690
|
};
|
|
505
691
|
/**
|
|
506
|
-
*
|
|
692
|
+
* Confirm an accepted enable/disable call and the extension's effective state.
|
|
507
693
|
*
|
|
508
694
|
* Subject: `kernel:extension.enabledChanged`
|
|
509
695
|
* Type: Event (fire-and-forget)
|
|
510
|
-
* Purpose: Emitted
|
|
511
|
-
*
|
|
696
|
+
* Purpose: Emitted whenever the coordinator-internal
|
|
697
|
+
* `applyExtensionTransition` restart primitive accepts an enable/disable
|
|
698
|
+
* request (its outcome is `'applied'`, never `'rejected'`), so observers
|
|
699
|
+
* can learn the extension's effective runtime state without polling. This
|
|
700
|
+
* is **not** a promise that a state transition actually occurred: an
|
|
701
|
+
* idempotent enable-on-`active` or disable-on-`stopped` call is also
|
|
702
|
+
* `'applied'` and also announced here, with `entry.enabled` unchanged.
|
|
703
|
+
* `kernel:extension.setEnabled` does **not** emit this event: that RPC is
|
|
704
|
+
* persist-only and never attempts a live transition (see its own doc
|
|
705
|
+
* above), so a durable preference change whose `outcome` is `'applied'` or
|
|
706
|
+
* `'restart-required'` produces no `enabledChanged` event until whatever
|
|
707
|
+
* coordinator-internal mechanism actually restarts the extension.
|
|
512
708
|
* @param name - Unique extension identifier.
|
|
513
|
-
* @param enabled -
|
|
709
|
+
* @param enabled - The extension's effective enabled state after the call.
|
|
514
710
|
*/
|
|
515
711
|
enabledChanged: z.ZodObject<{
|
|
516
712
|
name: z.ZodString;
|
|
@@ -606,8 +802,9 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
|
|
|
606
802
|
* - `stateChanged` — event: emitted when an extension transitions between lifecycle states
|
|
607
803
|
* - `list` — RPC: retrieve all registered extensions and their current state
|
|
608
804
|
* - `get` — RPC: retrieve a single extension's info by name
|
|
609
|
-
* - `setEnabled` — RPC:
|
|
610
|
-
* - `
|
|
805
|
+
* - `setEnabled` — RPC: persist an operator enable/disable preference
|
|
806
|
+
* - `catalog` — RPC: list every extension package installed on the coordinator's host
|
|
807
|
+
* - `enabledChanged` — event: confirms an accepted enable/disable call and the extension's effective state
|
|
611
808
|
* - `warnings.list` — RPC: retrieve active health warnings for all (or one) extension
|
|
612
809
|
* - `warnings.changed` — event: emitted after every health-check run with the latest warning snapshot
|
|
613
810
|
* @example
|
|
@@ -698,6 +895,9 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
698
895
|
headless: "headless";
|
|
699
896
|
}>>;
|
|
700
897
|
enabled: z.ZodBoolean;
|
|
898
|
+
extensionManaged: z.ZodBoolean;
|
|
899
|
+
persistedEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
900
|
+
critical: z.ZodBoolean;
|
|
701
901
|
browser: z.ZodOptional<z.ZodObject<{
|
|
702
902
|
entrypoint: z.ZodString;
|
|
703
903
|
}, z.core.$strip>>;
|
|
@@ -736,6 +936,9 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
736
936
|
headless: "headless";
|
|
737
937
|
}>>;
|
|
738
938
|
enabled: z.ZodBoolean;
|
|
939
|
+
extensionManaged: z.ZodBoolean;
|
|
940
|
+
persistedEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
941
|
+
critical: z.ZodBoolean;
|
|
739
942
|
browser: z.ZodOptional<z.ZodObject<{
|
|
740
943
|
entrypoint: z.ZodString;
|
|
741
944
|
}, z.core.$strip>>;
|
|
@@ -743,13 +946,30 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
743
946
|
}, z.core.$strip>;
|
|
744
947
|
};
|
|
745
948
|
/**
|
|
746
|
-
*
|
|
949
|
+
* Durably record the operator's enablement preference for an extension.
|
|
747
950
|
*
|
|
748
951
|
* Subject: `kernel:extension.setEnabled`
|
|
749
952
|
* Type: RPC (request/response)
|
|
750
|
-
* Purpose: Allows the user or platform config to
|
|
751
|
-
*
|
|
752
|
-
*
|
|
953
|
+
* Purpose: Allows the user or platform config to persist an enable/disable
|
|
954
|
+
* preference for an extension. This is persist-only: the coordinator never
|
|
955
|
+
* applies the change to the running process, because several package
|
|
956
|
+
* contributions are composed exactly once at boot and cannot be replayed
|
|
957
|
+
* for one package in isolation. The response's `outcome` reports whether
|
|
958
|
+
* the process's current runtime state already matches the request
|
|
959
|
+
* (`'applied'`) or a restart is needed for it to take effect
|
|
960
|
+
* (`'restart-required'`).
|
|
961
|
+
*
|
|
962
|
+
* Names this coordinator never loaded are addressable too, provided it
|
|
963
|
+
* exposes an installed-extension catalog (`kernel:extension.catalog`): the
|
|
964
|
+
* request is validated against that catalog — the name must be installed
|
|
965
|
+
* here, and a disable of a `critical` package, or of one whose criticality
|
|
966
|
+
* could not be resolved, is refused — before anything is written. This is
|
|
967
|
+
* what lets a caller that cannot see this host's filesystem persist a
|
|
968
|
+
* preference without having to vouch for the name itself. A name several
|
|
969
|
+
* installed copies claim is resolved against this coordinator's own runtime
|
|
970
|
+
* surface first, since two copies restricted to different surfaces both load
|
|
971
|
+
* — each on its own — and only one of them is the copy this runtime would
|
|
972
|
+
* start; a name that stays unresolvable is refused outright.
|
|
753
973
|
* @param name - Unique extension identifier to toggle.
|
|
754
974
|
* @param enabled - Target enabled state.
|
|
755
975
|
*/
|
|
@@ -760,6 +980,77 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
760
980
|
}, z.core.$strip>;
|
|
761
981
|
response: z.ZodObject<{
|
|
762
982
|
success: z.ZodBoolean;
|
|
983
|
+
outcome: z.ZodEnum<{
|
|
984
|
+
rejected: "rejected";
|
|
985
|
+
applied: "applied";
|
|
986
|
+
"restart-required": "restart-required";
|
|
987
|
+
}>;
|
|
988
|
+
reason: z.ZodOptional<z.ZodEnum<{
|
|
989
|
+
critical: "critical";
|
|
990
|
+
"not-installed": "not-installed";
|
|
991
|
+
"criticality-unknown": "criticality-unknown";
|
|
992
|
+
"no-catalog": "no-catalog";
|
|
993
|
+
"name-collision": "name-collision";
|
|
994
|
+
"shutting-down": "shutting-down";
|
|
995
|
+
"runtime-state-diverges": "runtime-state-diverges";
|
|
996
|
+
"not-loaded": "not-loaded";
|
|
997
|
+
"framework-package-shadowed": "framework-package-shadowed";
|
|
998
|
+
}>>;
|
|
999
|
+
}, z.core.$strip>;
|
|
1000
|
+
};
|
|
1001
|
+
/**
|
|
1002
|
+
* Request every extension package installed on the host running this
|
|
1003
|
+
* coordinator.
|
|
1004
|
+
*
|
|
1005
|
+
* Subject: `kernel:extension.catalog`
|
|
1006
|
+
* Type: RPC (request/response)
|
|
1007
|
+
* Purpose: Exposes the coordinator host's own installed-package view —
|
|
1008
|
+
* across every discovery tier it reads, including the project-local
|
|
1009
|
+
* `node_modules` of the directory it was started from — enriched with the
|
|
1010
|
+
* enablement facts only the host holding the durable store can answer.
|
|
1011
|
+
* Callers that cannot inspect this host's filesystem (a client configured
|
|
1012
|
+
* against a remote bus, or one invoked from a different working directory)
|
|
1013
|
+
* have no other way to enumerate installed-but-not-loaded extensions, and
|
|
1014
|
+
* `kernel:extension.setEnabled` validates against this same catalog.
|
|
1015
|
+
*
|
|
1016
|
+
* Returns `{ entries: null }` — not an empty array — when this runtime has
|
|
1017
|
+
* no installed-extension catalog at all, because "nothing is installed" and
|
|
1018
|
+
* "this host cannot answer" must not read alike to a caller deciding
|
|
1019
|
+
* whether to trust the result.
|
|
1020
|
+
*/
|
|
1021
|
+
catalog: {
|
|
1022
|
+
request: z.ZodObject<{}, z.core.$strip>;
|
|
1023
|
+
response: z.ZodObject<{
|
|
1024
|
+
entries: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1025
|
+
name: z.ZodString;
|
|
1026
|
+
version: z.ZodString;
|
|
1027
|
+
origin: z.ZodEnum<{
|
|
1028
|
+
local: "local";
|
|
1029
|
+
npm: "npm";
|
|
1030
|
+
"project-local": "project-local";
|
|
1031
|
+
}>;
|
|
1032
|
+
critical: z.ZodOptional<z.ZodBoolean>;
|
|
1033
|
+
criticalityUnknown: z.ZodOptional<z.ZodBoolean>;
|
|
1034
|
+
declaresServerEntrypoint: z.ZodOptional<z.ZodBoolean>;
|
|
1035
|
+
npmName: z.ZodOptional<z.ZodString>;
|
|
1036
|
+
surface: z.ZodOptional<z.ZodEnum<{
|
|
1037
|
+
interactive: "interactive";
|
|
1038
|
+
headless: "headless";
|
|
1039
|
+
}>>;
|
|
1040
|
+
shadowedBy: z.ZodOptional<z.ZodEnum<{
|
|
1041
|
+
local: "local";
|
|
1042
|
+
npm: "npm";
|
|
1043
|
+
"project-local": "project-local";
|
|
1044
|
+
}>>;
|
|
1045
|
+
collidesWith: z.ZodOptional<z.ZodEnum<{
|
|
1046
|
+
local: "local";
|
|
1047
|
+
npm: "npm";
|
|
1048
|
+
"project-local": "project-local";
|
|
1049
|
+
}>>;
|
|
1050
|
+
collisionIgnoresSurface: z.ZodOptional<z.ZodBoolean>;
|
|
1051
|
+
extensionManaged: z.ZodBoolean;
|
|
1052
|
+
persistedEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1053
|
+
}, z.core.$strip>>>;
|
|
763
1054
|
}, z.core.$strip>;
|
|
764
1055
|
};
|
|
765
1056
|
/**
|
|
@@ -941,6 +1232,7 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
941
1232
|
name: z.ZodString;
|
|
942
1233
|
frameworkSubject: z.ZodOptional<z.ZodString>;
|
|
943
1234
|
responseCapabilities: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1235
|
+
minimumVersion: z.ZodOptional<z.ZodString>;
|
|
944
1236
|
}, z.core.$strict>>>;
|
|
945
1237
|
}, z.core.$strip>>, z.ZodTransform<{
|
|
946
1238
|
supportsHooks: boolean;
|
|
@@ -951,6 +1243,7 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
951
1243
|
name: string;
|
|
952
1244
|
responseCapabilities: readonly string[];
|
|
953
1245
|
frameworkSubject?: string | undefined;
|
|
1246
|
+
minimumVersion?: string | undefined;
|
|
954
1247
|
}[];
|
|
955
1248
|
}, {
|
|
956
1249
|
supportsHooks: boolean;
|
|
@@ -961,6 +1254,7 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
961
1254
|
name: string;
|
|
962
1255
|
responseCapabilities: readonly string[];
|
|
963
1256
|
frameworkSubject?: string | undefined;
|
|
1257
|
+
minimumVersion?: string | undefined;
|
|
964
1258
|
}[];
|
|
965
1259
|
} | undefined>>;
|
|
966
1260
|
managedInstall: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1006,14 +1300,24 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
1006
1300
|
}, z.core.$strip>;
|
|
1007
1301
|
};
|
|
1008
1302
|
/**
|
|
1009
|
-
*
|
|
1303
|
+
* Confirm an accepted enable/disable call and the extension's effective state.
|
|
1010
1304
|
*
|
|
1011
1305
|
* Subject: `kernel:extension.enabledChanged`
|
|
1012
1306
|
* Type: Event (fire-and-forget)
|
|
1013
|
-
* Purpose: Emitted
|
|
1014
|
-
*
|
|
1307
|
+
* Purpose: Emitted whenever the coordinator-internal
|
|
1308
|
+
* `applyExtensionTransition` restart primitive accepts an enable/disable
|
|
1309
|
+
* request (its outcome is `'applied'`, never `'rejected'`), so observers
|
|
1310
|
+
* can learn the extension's effective runtime state without polling. This
|
|
1311
|
+
* is **not** a promise that a state transition actually occurred: an
|
|
1312
|
+
* idempotent enable-on-`active` or disable-on-`stopped` call is also
|
|
1313
|
+
* `'applied'` and also announced here, with `entry.enabled` unchanged.
|
|
1314
|
+
* `kernel:extension.setEnabled` does **not** emit this event: that RPC is
|
|
1315
|
+
* persist-only and never attempts a live transition (see its own doc
|
|
1316
|
+
* above), so a durable preference change whose `outcome` is `'applied'` or
|
|
1317
|
+
* `'restart-required'` produces no `enabledChanged` event until whatever
|
|
1318
|
+
* coordinator-internal mechanism actually restarts the extension.
|
|
1015
1319
|
* @param name - Unique extension identifier.
|
|
1016
|
-
* @param enabled -
|
|
1320
|
+
* @param enabled - The extension's effective enabled state after the call.
|
|
1017
1321
|
*/
|
|
1018
1322
|
enabledChanged: z.ZodObject<{
|
|
1019
1323
|
name: z.ZodString;
|
|
@@ -1103,4 +1407,100 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
1103
1407
|
}, z.core.$strip>;
|
|
1104
1408
|
}>, "kernel:extension">;
|
|
1105
1409
|
//#endregion
|
|
1106
|
-
|
|
1410
|
+
//#region packages/kernel/src/observability/installed-extension-catalog-schemas.d.ts
|
|
1411
|
+
/**
|
|
1412
|
+
* Discovery tier an installed extension package was found in.
|
|
1413
|
+
*
|
|
1414
|
+
* - `'project-local'` — the highest-priority tier: the `node_modules` of the
|
|
1415
|
+
* project directory the runtime was started from, or the descriptor roots a
|
|
1416
|
+
* host declared for itself in runtime config, which rank the same.
|
|
1417
|
+
* - `'local'` — a symlinked install under the data home's `extensions/`.
|
|
1418
|
+
* - `'npm'` — a registry install under the data home's `node_modules/`.
|
|
1419
|
+
*
|
|
1420
|
+
* Reported verbatim so a caller can tell an extension shared through the data
|
|
1421
|
+
* home apart from one that only exists in the host's own project tree.
|
|
1422
|
+
*/
|
|
1423
|
+
declare const InstalledExtensionOriginSchema: z.ZodEnum<{
|
|
1424
|
+
local: "local";
|
|
1425
|
+
npm: "npm";
|
|
1426
|
+
"project-local": "project-local";
|
|
1427
|
+
}>;
|
|
1428
|
+
/** Inferred union of installed-extension discovery tiers. */
|
|
1429
|
+
type InstalledExtensionOrigin = z.infer<typeof InstalledExtensionOriginSchema>;
|
|
1430
|
+
/**
|
|
1431
|
+
* One installed executable extension package, as seen without starting any
|
|
1432
|
+
* extension service.
|
|
1433
|
+
*
|
|
1434
|
+
* Keyed by executable package identity — the descriptor name, or one of its
|
|
1435
|
+
* dot-prefixed children — because that is what the enablement store, the
|
|
1436
|
+
* runtime loader, and every enablement RPC address. A single descriptor whose
|
|
1437
|
+
* server entrypoint exports several packages produces one record per package.
|
|
1438
|
+
*/
|
|
1439
|
+
declare const InstalledExtensionRecordSchema: z.ZodObject<{
|
|
1440
|
+
name: z.ZodString;
|
|
1441
|
+
version: z.ZodString;
|
|
1442
|
+
origin: z.ZodEnum<{
|
|
1443
|
+
local: "local";
|
|
1444
|
+
npm: "npm";
|
|
1445
|
+
"project-local": "project-local";
|
|
1446
|
+
}>;
|
|
1447
|
+
critical: z.ZodOptional<z.ZodBoolean>;
|
|
1448
|
+
criticalityUnknown: z.ZodOptional<z.ZodBoolean>;
|
|
1449
|
+
declaresServerEntrypoint: z.ZodOptional<z.ZodBoolean>;
|
|
1450
|
+
npmName: z.ZodOptional<z.ZodString>;
|
|
1451
|
+
surface: z.ZodOptional<z.ZodEnum<{
|
|
1452
|
+
interactive: "interactive";
|
|
1453
|
+
headless: "headless";
|
|
1454
|
+
}>>;
|
|
1455
|
+
shadowedBy: z.ZodOptional<z.ZodEnum<{
|
|
1456
|
+
local: "local";
|
|
1457
|
+
npm: "npm";
|
|
1458
|
+
"project-local": "project-local";
|
|
1459
|
+
}>>;
|
|
1460
|
+
collidesWith: z.ZodOptional<z.ZodEnum<{
|
|
1461
|
+
local: "local";
|
|
1462
|
+
npm: "npm";
|
|
1463
|
+
"project-local": "project-local";
|
|
1464
|
+
}>>;
|
|
1465
|
+
collisionIgnoresSurface: z.ZodOptional<z.ZodBoolean>;
|
|
1466
|
+
}, z.core.$strip>;
|
|
1467
|
+
/** Inferred type for one installed executable extension package. */
|
|
1468
|
+
type InstalledExtensionRecord = z.infer<typeof InstalledExtensionRecordSchema>;
|
|
1469
|
+
/**
|
|
1470
|
+
* One installed package as reported over the bus, enriched with the enablement
|
|
1471
|
+
* facts only the coordinator holding the durable store can answer.
|
|
1472
|
+
*/
|
|
1473
|
+
declare const InstalledExtensionCatalogEntrySchema: z.ZodObject<{
|
|
1474
|
+
name: z.ZodString;
|
|
1475
|
+
version: z.ZodString;
|
|
1476
|
+
origin: z.ZodEnum<{
|
|
1477
|
+
local: "local";
|
|
1478
|
+
npm: "npm";
|
|
1479
|
+
"project-local": "project-local";
|
|
1480
|
+
}>;
|
|
1481
|
+
critical: z.ZodOptional<z.ZodBoolean>;
|
|
1482
|
+
criticalityUnknown: z.ZodOptional<z.ZodBoolean>;
|
|
1483
|
+
declaresServerEntrypoint: z.ZodOptional<z.ZodBoolean>;
|
|
1484
|
+
npmName: z.ZodOptional<z.ZodString>;
|
|
1485
|
+
surface: z.ZodOptional<z.ZodEnum<{
|
|
1486
|
+
interactive: "interactive";
|
|
1487
|
+
headless: "headless";
|
|
1488
|
+
}>>;
|
|
1489
|
+
shadowedBy: z.ZodOptional<z.ZodEnum<{
|
|
1490
|
+
local: "local";
|
|
1491
|
+
npm: "npm";
|
|
1492
|
+
"project-local": "project-local";
|
|
1493
|
+
}>>;
|
|
1494
|
+
collidesWith: z.ZodOptional<z.ZodEnum<{
|
|
1495
|
+
local: "local";
|
|
1496
|
+
npm: "npm";
|
|
1497
|
+
"project-local": "project-local";
|
|
1498
|
+
}>>;
|
|
1499
|
+
collisionIgnoresSurface: z.ZodOptional<z.ZodBoolean>;
|
|
1500
|
+
extensionManaged: z.ZodBoolean;
|
|
1501
|
+
persistedEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1502
|
+
}, z.core.$strip>;
|
|
1503
|
+
/** Inferred type for one catalog entry reported by `kernel:extension.catalog`. */
|
|
1504
|
+
type InstalledExtensionCatalogEntry = z.infer<typeof InstalledExtensionCatalogEntrySchema>;
|
|
1505
|
+
//#endregion
|
|
1506
|
+
export { ServiceInfoSchema as C, ServiceInfo as S, ComponentStateSchema as _, InstalledExtensionRecord as a, ExtensionWarningEntry as b, ExtensionSubjects as c, TransitionOutcome as d, TransitionOutcomeSchema as f, ComponentState as g, ComponentInfoSchema as h, InstalledExtensionOriginSchema as i, SetEnabledReason as l, ComponentInfo as m, InstalledExtensionCatalogEntrySchema as n, InstalledExtensionRecordSchema as o, ComponentIdentitySchema as p, InstalledExtensionOrigin as r, ExtensionNamespace as s, InstalledExtensionCatalogEntry as t, SetEnabledReasonSchema as u, ExtensionInfo as v, ExtensionWarningEntrySchema as x, ExtensionInfoSchema as y };
|
|
@@ -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-Cuhnt15L.mjs";
|
|
2
|
+
import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-D09uQ231.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-D09uQ231.mjs";
|
|
2
2
|
export { CliNamespace, CliRpcSubjects };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { d as TransitionOutcome } from "../../index-uk8icWON2.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-CyEE1RI5.mjs";
|
|
3
|
+
export { ContributionProcessor, ExtensionConfigResolution, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionOperatorConfigError, ExtensionRuntimeSurface, InstalledExtensionCatalogSource, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, SetEnabledResult, TransitionOutcome, coalesceExtensionOverrides, filterEligibleExtensions, resolveInstalledExtensionRecord };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a as e,i as t,n,r,t as i}from"../../extension-kOwzAMud.mjs";export{i as ExtensionCoordinator,e as ExtensionOperatorConfigError,r as coalesceExtensionOverrides,t as filterEligibleExtensions,n as resolveInstalledExtensionRecord};
|
package/dist/kernel/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
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-uk8icWON2.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-CyEE1RI5.mjs";
|
|
3
|
+
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-C3W2wtlX.mjs";
|
|
4
|
+
import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-DubyRZD9.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-Cj_V1aRL.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
8
8
|
|
|
@@ -299,4 +299,4 @@ declare class ServiceSkipError extends Error {
|
|
|
299
299
|
*/
|
|
300
300
|
declare function createShutdownSequence(steps: ReadonlyArray<() => Promise<void> | void>): () => Promise<void>;
|
|
301
301
|
//#endregion
|
|
302
|
-
export { BootNamespace, BootSubjects, type ComponentInfo, type ComponentState, ComponentStateSchema, type ContributionProcessor, EphemeralIdentityProvider, ExtensionCoordinator, type ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, type ExtensionRuntimeSurface, ExtensionSubjects, type IdentityProvider, type KernelExtensionContext, type KernelMakaioExtension, KernelNamespace, KernelSchemas, KernelSubjects, type MachineIdentity, MemoryStorageProvider, NoTransportProvider, type RuntimeCapability, type RuntimeEnvironment, STYLE_DEFAULTS, type ServiceInfo, ServiceInfoSchema, ServiceSkipError, type StorageCleanup, type StorageProvider, type TransportProvider, type WindowRegistration, WindowRegistry, type WindowStyle, coalesceExtensionOverrides, createShutdownSequence, filterEligibleExtensions };
|
|
302
|
+
export { BootNamespace, BootSubjects, type ComponentInfo, type ComponentState, ComponentStateSchema, type ContributionProcessor, EphemeralIdentityProvider, type ExtensionConfigResolution, ExtensionCoordinator, type ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionOperatorConfigError, type ExtensionRuntimeSurface, ExtensionSubjects, type IdentityProvider, type InstalledExtensionCatalogEntry, InstalledExtensionCatalogEntrySchema, type InstalledExtensionCatalogSource, type InstalledExtensionOrigin, type InstalledExtensionRecord, InstalledExtensionRecordSchema, type KernelExtensionContext, type KernelMakaioExtension, KernelNamespace, KernelSchemas, KernelSubjects, type MachineIdentity, MemoryStorageProvider, NoTransportProvider, type RuntimeCapability, type RuntimeEnvironment, STYLE_DEFAULTS, type ServiceInfo, ServiceInfoSchema, ServiceSkipError, type SetEnabledReason, type SetEnabledResult, type StorageCleanup, type StorageProvider, type TransitionOutcome, type TransportProvider, type WindowRegistration, WindowRegistry, type WindowStyle, coalesceExtensionOverrides, createShutdownSequence, filterEligibleExtensions, resolveInstalledExtensionRecord };
|
package/dist/kernel/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,r as t,t as n}from"../namespace-CnRQ8tCJ.mjs";import{n as r,t as i}from"../window-registry-2MZdZPdA.mjs";import"./window/index.mjs";import{n as a,r as o,t as s}from"../providers-CahjB0Kh.mjs";import{a as c,
|
|
1
|
+
import{n as e,r as t,t as n}from"../namespace-CnRQ8tCJ.mjs";import{n as r,t as i}from"../window-registry-2MZdZPdA.mjs";import"./window/index.mjs";import{n as a,r as o,t as s}from"../providers-CahjB0Kh.mjs";import{a as c,c as l,i as u,n as d,o as f,r as p,s as m,t as h}from"../extension-kOwzAMud.mjs";import{a as g,d as _,n as v,p as y,s as b,t as x,u as S}from"../extension-namespace-CeRpt6C8.mjs";import"./observability/index.mjs";function C(e){let t=null;return()=>(t??=(async()=>{let t=[];for(let n of e)try{await n()}catch(e){t.push(e)}if(t.length>0)throw AggregateError(t,`Shutdown completed with ${t.length} of ${e.length} steps failing`)})(),t)}export{m as BootNamespace,l as BootSubjects,S as ComponentStateSchema,s as EphemeralIdentityProvider,h as ExtensionCoordinator,_ as ExtensionInfoSchema,x as ExtensionNamespace,c as ExtensionOperatorConfigError,v as ExtensionSubjects,g as InstalledExtensionCatalogEntrySchema,b as InstalledExtensionRecordSchema,n as KernelNamespace,t as KernelSchemas,e as KernelSubjects,o as MemoryStorageProvider,a as NoTransportProvider,i as STYLE_DEFAULTS,y as ServiceInfoSchema,f as ServiceSkipError,r as WindowRegistry,p as coalesceExtensionOverrides,C as createShutdownSequence,u as filterEligibleExtensions,d as resolveInstalledExtensionRecord};
|