@makaio/framework 1.0.0-dev-1781022866275 → 1.0.0-dev-1781023871421
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 +5 -0
- package/dist/account-identity-DT5NOtFi.mjs +1 -0
- package/dist/adapter-C1eI-fGV.mjs +1 -0
- package/dist/adapters/acp-client/index.d.mts +6208 -0
- package/dist/adapters/acp-client/index.mjs +3 -0
- package/dist/adapters/config/index.d.mts +429 -0
- package/dist/adapters/config/index.mjs +1 -0
- package/dist/adapters/index.d.mts +4202 -0
- package/dist/adapters/index.mjs +18 -0
- package/dist/adapters/node.d.mts +263 -0
- package/dist/adapters/node.mjs +4 -0
- package/dist/adapters/stream-session/index.d.mts +1414 -0
- package/dist/adapters/stream-session/index.mjs +1 -0
- package/dist/adapters/stream-session/testing/index.d.mts +29 -0
- package/dist/adapters/stream-session/testing/index.mjs +1 -0
- package/dist/artifact-B3npq1cy.mjs +1 -0
- package/dist/base-orchestrator-wyumsn3b.d.mts +772 -0
- package/dist/bus/index.d.mts +3994 -0
- package/dist/bus/index.mjs +1 -0
- package/dist/bus-Caz3Jpbc.mjs +1 -0
- package/dist/bus-Hb-LGzgb.mjs +2 -0
- package/dist/capability-service-CJbmhfv9.mjs +1 -0
- package/dist/chunk-DTipWd-i.mjs +1 -0
- package/dist/chunk-cpUYaJdV.mjs +1 -0
- package/dist/cleanEnvForAdapter-KkYzQa1f.mjs +1 -0
- package/dist/client-bx74gm4R.mjs +1 -0
- package/dist/clients/index.d.mts +2639 -0
- package/dist/clients/index.mjs +2 -0
- package/dist/clients-namespace-GmSJpBUV.d.mts +332 -0
- package/dist/config-namespace-CPY9YsR8.d.mts +638 -0
- package/dist/config-namespace-ncYg2ct_.mjs +1 -0
- package/dist/contracts/adapter/index.d.mts +3 -0
- package/dist/contracts/adapter/index.mjs +1 -0
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +2 -0
- package/dist/contracts/adapter/schemas/session-lineage.mjs +1 -0
- package/dist/contracts/artifact/index.d.mts +2 -0
- package/dist/contracts/artifact/index.mjs +1 -0
- package/dist/contracts/client/index.d.mts +3 -0
- package/dist/contracts/client/index.mjs +1 -0
- package/dist/contracts/common/index.d.mts +2 -0
- package/dist/contracts/common/index.mjs +1 -0
- package/dist/contracts/config/index.d.mts +455 -0
- package/dist/contracts/config/index.mjs +1 -0
- package/dist/contracts/extension/index.d.mts +4 -0
- package/dist/contracts/extension/index.mjs +1 -0
- package/dist/contracts/facet/index.d.mts +2 -0
- package/dist/contracts/facet/index.mjs +1 -0
- package/dist/contracts/harness/index.d.mts +2 -0
- package/dist/contracts/harness/index.mjs +1 -0
- package/dist/contracts/host/index.d.mts +2 -0
- package/dist/contracts/host/index.mjs +1 -0
- package/dist/contracts/index.d.mts +23046 -0
- package/dist/contracts/index.mjs +1 -0
- package/dist/contracts/materialization/index.d.mts +4 -0
- package/dist/contracts/materialization/index.mjs +1 -0
- package/dist/contracts/model-registry/index.d.mts +2 -0
- package/dist/contracts/model-registry/index.mjs +1 -0
- package/dist/contracts/native-session-supervisor/index.d.mts +2 -0
- package/dist/contracts/native-session-supervisor/index.mjs +1 -0
- package/dist/contracts/platform/index.d.mts +2 -0
- package/dist/contracts/platform/index.mjs +1 -0
- package/dist/contracts/provider/index.d.mts +3 -0
- package/dist/contracts/provider/index.mjs +1 -0
- package/dist/contracts/session/index.d.mts +3 -0
- package/dist/contracts/session/index.mjs +1 -0
- package/dist/contracts/shared/index.d.mts +2 -0
- package/dist/contracts/shared/index.mjs +1 -0
- package/dist/contracts/skill/index.d.mts +2 -0
- package/dist/contracts/skill/index.mjs +1 -0
- package/dist/contracts/telemetry/index.d.mts +2 -0
- package/dist/contracts/telemetry/index.mjs +1 -0
- package/dist/contracts/timeout/index.d.mts +2 -0
- package/dist/contracts/timeout/index.mjs +1 -0
- package/dist/contracts/toast/index.d.mts +198 -0
- package/dist/contracts/toast/index.mjs +1 -0
- package/dist/contracts/variant/index.d.mts +2 -0
- package/dist/contracts/variant/index.mjs +1 -0
- package/dist/core/index.d.mts +1263 -0
- package/dist/core/index.mjs +1 -0
- package/dist/credential-ref-YWQQENEo.mjs +1 -0
- package/dist/cursor-storage-CtVJ3JzB.mjs +1 -0
- package/dist/definition-BLCdXGzh.d.mts +383 -0
- package/dist/definition-CrgHIpTK.d.mts +60 -0
- package/dist/definition-DZMXOnjX.mjs +1 -0
- package/dist/definition-pkJ6szUl.d.mts +158 -0
- package/dist/drizzle-Eq8W1EbD.mjs +1 -0
- package/dist/event-Ca2yUf5i.mjs +1 -0
- package/dist/execution-target-CRPTfZlc.mjs +1 -0
- package/dist/extension-C-4BHMRI.mjs +1 -0
- package/dist/extension-CpIUgBKI.mjs +1 -0
- package/dist/extension-namespace-cMh_mMiL.mjs +1 -0
- package/dist/facet-BuwhrThl.mjs +1 -0
- package/dist/filesystem-service-B8rhBRgB.mjs +1 -0
- package/dist/filesystem-service-p_iJVHd4.d.mts +66 -0
- package/dist/git/index.d.mts +210 -0
- package/dist/git/index.mjs +18 -0
- package/dist/globby-rtWVaFHv.mjs +41 -0
- package/dist/handlers-CkTsQLra.mjs +41 -0
- package/dist/harness-BRCMcvQN.mjs +1 -0
- package/dist/hooks/index.d.mts +423 -0
- package/dist/hooks/index.mjs +1 -0
- package/dist/host-Br9VuOyr.mjs +1 -0
- package/dist/identity-Cz2IeEtm.mjs +1 -0
- package/dist/index-472sOmsW.d.mts +218 -0
- package/dist/index-8SZkg7s6.d.mts +353 -0
- package/dist/index-B3PK4FIn.d.mts +5116 -0
- package/dist/index-B80L4YqA.d.mts +180 -0
- package/dist/index-BFg9BUpx.d.mts +355 -0
- package/dist/index-BGfWS6GE.d.mts +483 -0
- package/dist/index-BVgfS-AJ.d.mts +109 -0
- package/dist/index-B_zQC98V.d.mts +995 -0
- package/dist/index-Bh_Ne7LF.d.mts +1008 -0
- package/dist/index-Bvb2mMH6.d.mts +1730 -0
- package/dist/index-CCGVh9BF2.d.mts +749 -0
- package/dist/index-CGmcS0Ma.d.mts +412 -0
- package/dist/index-CHQ1SqT0.d.mts +117 -0
- package/dist/index-CLpjm52M.d.mts +183 -0
- package/dist/index-Caig6TeF.d.mts +6746 -0
- package/dist/index-CelJCBjk.d.mts +2992 -0
- package/dist/index-ChunCFu4.d.mts +11 -0
- package/dist/index-Cm0dUkWL.d.mts +4651 -0
- package/dist/index-CokQYGVP.d.mts +184 -0
- package/dist/index-Cs0kZXIz2.d.mts +37 -0
- package/dist/index-D5d5HeWI2.d.mts +259 -0
- package/dist/index-D90OmGmV.d.mts +389 -0
- package/dist/index-D9MwJ2Q8.d.mts +67 -0
- package/dist/index-DANINzMu.d.mts +40 -0
- package/dist/index-DBw-89vC2.d.mts +3640 -0
- package/dist/index-DGBu6bHi2.d.mts +438 -0
- package/dist/index-DKC62dY5.d.mts +146 -0
- package/dist/index-DKia0MX1.d.mts +43 -0
- package/dist/index-DMKnON5s.d.mts +28 -0
- package/dist/index-DUaw0Dw8.d.mts +14747 -0
- package/dist/index-De3kPhlN.d.mts +72 -0
- package/dist/index-L4GjJDKb.d.mts +822 -0
- package/dist/index-U-A8eyGT.d.mts +1490 -0
- package/dist/index-eemAKwsB.d.mts +362 -0
- package/dist/index-mNec7V-9.d.mts +1075 -0
- package/dist/index-soFznFCy2.d.mts +89 -0
- package/dist/index-vtXJuwrz.d.mts +40 -0
- package/dist/index-x_lVDp_J.d.mts +134 -0
- package/dist/json-value-CmhSGMLv.mjs +1 -0
- package/dist/kernel/cli/index.d.mts +143 -0
- package/dist/kernel/cli/index.mjs +1 -0
- package/dist/kernel/cli/schemas.d.mts +64 -0
- package/dist/kernel/cli/schemas.mjs +1 -0
- package/dist/kernel/extension/index.d.mts +2 -0
- package/dist/kernel/extension/index.mjs +1 -0
- package/dist/kernel/index.d.mts +296 -0
- package/dist/kernel/index.mjs +1 -0
- package/dist/kernel/namespace/index.d.mts +2 -0
- package/dist/kernel/namespace/index.mjs +1 -0
- package/dist/kernel/observability/index.d.mts +2 -0
- package/dist/kernel/observability/index.mjs +1 -0
- package/dist/kernel/providers/index.d.mts +2 -0
- package/dist/kernel/providers/index.mjs +1 -0
- package/dist/kernel/window/index.d.mts +2 -0
- package/dist/kernel/window/index.mjs +1 -0
- package/dist/materialization-CuUBu4XI.mjs +1 -0
- package/dist/model-registry-CfXytvzx.mjs +1 -0
- package/dist/model-registry-Scn_MC2d.mjs +1 -0
- package/dist/namespace-5QQqbF-B.d.mts +3133 -0
- package/dist/namespace-BM7Djng9.d.mts +189 -0
- package/dist/namespace-BoD94mrN.mjs +1 -0
- package/dist/namespace-BwzZJqTV.mjs +1 -0
- package/dist/namespace-CFLAmQfh.mjs +1 -0
- package/dist/namespace-CTm3nEvh.d.mts +51 -0
- package/dist/namespace-CaaNnKcR.d.mts +921 -0
- package/dist/namespace-CaoZ3S78.d.mts +43 -0
- package/dist/namespace-CxhsoFUP.d.mts +607 -0
- package/dist/namespace-DD8Oiqo7.d.mts +580 -0
- package/dist/namespace-DLovh2Ws.d.mts +1313 -0
- package/dist/namespace-DgqkaOVu.d.mts +768 -0
- package/dist/namespace-DkRgbZYn.mjs +1 -0
- package/dist/namespace-Dr8K0MCp.d.mts +2047 -0
- package/dist/namespace-DuXK5AYN.mjs +1 -0
- package/dist/namespace-EQniz-Aw.d.mts +142 -0
- package/dist/namespace-IV1QK__V.d.mts +159 -0
- package/dist/namespace-LViZ-EQk.mjs +1 -0
- package/dist/namespace-TyiTsLFv.d.mts +3020 -0
- package/dist/namespace-Yna5-Pws.mjs +1 -0
- package/dist/namespace-xcmbQlxh.mjs +1 -0
- package/dist/native-session-supervisor-B1TnaPUF.mjs +1 -0
- package/dist/node/bus-server/index.d.mts +178 -0
- package/dist/node/bus-server/index.mjs +1 -0
- package/dist/node/bus-server/server-lifecycle.d.mts +2 -0
- package/dist/node/bus-server/server-lifecycle.mjs +1 -0
- package/dist/node/machine-identity/index.d.mts +85 -0
- package/dist/node/machine-identity/index.mjs +3 -0
- package/dist/node/transports/index.d.mts +1945 -0
- package/dist/node/transports/index.mjs +2 -0
- package/dist/orchestrator-shared-CIDiFJMD.mjs +1 -0
- package/dist/orchestrator-shared-Dfa7FMyw.d.mts +249 -0
- package/dist/package-DKVlsMP3.mjs +1 -0
- package/dist/platform-DZ7z-wXD.mjs +1 -0
- package/dist/profile-6ynCD5k3.mjs +1 -0
- package/dist/provider-context-CK6B4X_8.mjs +1 -0
- package/dist/providers/index.d.mts +135 -0
- package/dist/providers/index.mjs +1 -0
- package/dist/providers-namespace-DSEpli4A.d.mts +583 -0
- package/dist/providers-u8i15co9.mjs +1 -0
- package/dist/schema-CoyE6mPt.mjs +1 -0
- package/dist/schema-M5YTvSAG.d.mts +949 -0
- package/dist/schema-e0wU_lcV.mjs +1 -0
- package/dist/schema-introspection-Dn1jWQs1.mjs +1 -0
- package/dist/schemas-Bd0OjRQf.d.mts +46 -0
- package/dist/schemas-C46QfKzv.d.mts +459 -0
- package/dist/schemas-CDBSjg7o.d.mts +237 -0
- package/dist/schemas-CR1Rripy.mjs +1 -0
- package/dist/schemas-CVvwIfG4.mjs +1 -0
- package/dist/schemas-CaLhkkLn.mjs +1 -0
- package/dist/schemas-ClOOT1W6.d.mts +174 -0
- package/dist/schemas-DATniTHb.d.mts +182 -0
- package/dist/schemas-DE-GNmSD.mjs +1 -0
- package/dist/schemas-DVF1A4DF.d.mts +160 -0
- package/dist/schemas-DaRSfYLf.d.mts +73 -0
- package/dist/schemas-DiYVzG6e.d.mts +315 -0
- package/dist/schemas-hSrzflwZ.mjs +1 -0
- package/dist/schemas-j7ivZ2HI.d.mts +944 -0
- package/dist/schemas-jFe1AuI-.mjs +1 -0
- package/dist/schemas-wg_6PAdV.d.mts +153 -0
- package/dist/scoped-bus-04pwo1uM.mjs +1 -0
- package/dist/server-lifecycle-FXTPW39-.mjs +1 -0
- package/dist/server-lifecycle-YoSGFGnU.d.mts +160 -0
- package/dist/service-base/index.d.mts +98 -0
- package/dist/service-base/index.mjs +1 -0
- package/dist/services/adapter-runtime/index.d.mts +4 -0
- package/dist/services/adapter-runtime/index.mjs +1 -0
- package/dist/services/adapter-runtime/namespace.d.mts +2 -0
- package/dist/services/adapter-runtime/namespace.mjs +1 -0
- package/dist/services/adapter-runtime/schemas.d.mts +2 -0
- package/dist/services/adapter-runtime/schemas.mjs +1 -0
- package/dist/services/adapter-subsystem/index.d.mts +3 -0
- package/dist/services/adapter-subsystem/index.mjs +1 -0
- package/dist/services/adapter-subsystem/namespace.d.mts +2 -0
- package/dist/services/adapter-subsystem/namespace.mjs +1 -0
- package/dist/services/agent-runtime/index.d.mts +3 -0
- package/dist/services/agent-runtime/index.mjs +1 -0
- package/dist/services/agent-runtime/namespace.d.mts +2 -0
- package/dist/services/agent-runtime/namespace.mjs +1 -0
- package/dist/services/agent-runtime/schemas.d.mts +2 -0
- package/dist/services/agent-runtime/schemas.mjs +1 -0
- package/dist/services/capability/index.d.mts +2 -0
- package/dist/services/capability/index.mjs +1 -0
- package/dist/services/cli-detection/namespace.d.mts +56 -0
- package/dist/services/cli-detection/namespace.mjs +1 -0
- package/dist/services/codebase/index.d.mts +3 -0
- package/dist/services/codebase/index.mjs +1 -0
- package/dist/services/codebase/namespace.d.mts +2 -0
- package/dist/services/codebase/namespace.mjs +1 -0
- package/dist/services/codebase/schemas.d.mts +2 -0
- package/dist/services/codebase/schemas.mjs +1 -0
- package/dist/services/compression/index.d.mts +3 -0
- package/dist/services/compression/index.mjs +1 -0
- package/dist/services/compression/namespace.d.mts +2 -0
- package/dist/services/compression/namespace.mjs +1 -0
- package/dist/services/compression/schemas.d.mts +2 -0
- package/dist/services/compression/schemas.mjs +1 -0
- package/dist/services/context-rules/index.d.mts +412 -0
- package/dist/services/context-rules/index.mjs +1 -0
- package/dist/services/credential-change/index.d.mts +17 -0
- package/dist/services/credential-change/index.mjs +1 -0
- package/dist/services/definition/index.d.mts +2 -0
- package/dist/services/definition/index.mjs +1 -0
- package/dist/services/definition/namespace.d.mts +71 -0
- package/dist/services/definition/namespace.mjs +1 -0
- package/dist/services/definition/schemas.d.mts +38 -0
- package/dist/services/definition/schemas.mjs +1 -0
- package/dist/services/dialog/namespace.d.mts +105 -0
- package/dist/services/dialog/namespace.mjs +1 -0
- package/dist/services/dialog/schemas.d.mts +109 -0
- package/dist/services/dialog/schemas.mjs +1 -0
- package/dist/services/execution-target/index.d.mts +4 -0
- package/dist/services/execution-target/index.mjs +1 -0
- package/dist/services/execution-target/namespace.d.mts +2 -0
- package/dist/services/execution-target/namespace.mjs +1 -0
- package/dist/services/execution-target/schemas.d.mts +2 -0
- package/dist/services/execution-target/schemas.mjs +1 -0
- package/dist/services/filesystem/index.d.mts +3 -0
- package/dist/services/filesystem/index.mjs +1 -0
- package/dist/services/filesystem/namespace.d.mts +432 -0
- package/dist/services/filesystem/namespace.mjs +1 -0
- package/dist/services/filesystem/schemas.d.mts +240 -0
- package/dist/services/filesystem/schemas.mjs +1 -0
- package/dist/services/git/namespace.d.mts +1163 -0
- package/dist/services/git/namespace.mjs +1 -0
- package/dist/services/git/schemas.d.mts +932 -0
- package/dist/services/git/schemas.mjs +1 -0
- package/dist/services/harness/index.d.mts +861 -0
- package/dist/services/harness/index.mjs +1 -0
- package/dist/services/harness/storage/schema.d.mts +424 -0
- package/dist/services/harness/storage/schema.mjs +1 -0
- package/dist/services/index.d.mts +6185 -0
- package/dist/services/index.mjs +1 -0
- package/dist/services/local-notification/index.d.mts +25 -0
- package/dist/services/local-notification/index.mjs +1 -0
- package/dist/services/local-notification/namespace.d.mts +73 -0
- package/dist/services/local-notification/namespace.mjs +1 -0
- package/dist/services/local-notification/schemas.d.mts +88 -0
- package/dist/services/local-notification/schemas.mjs +1 -0
- package/dist/services/log-import/browser.d.mts +3 -0
- package/dist/services/log-import/browser.mjs +1 -0
- package/dist/services/log-import/index.d.mts +274 -0
- package/dist/services/log-import/index.mjs +2 -0
- package/dist/services/log-import/log-import.d.mts +3 -0
- package/dist/services/log-import/log-import.mjs +1 -0
- package/dist/services/log-import/namespace.d.mts +327 -0
- package/dist/services/log-import/namespace.mjs +1 -0
- package/dist/services/log-import/schemas.d.mts +217 -0
- package/dist/services/log-import/schemas.mjs +1 -0
- package/dist/services/model-registry/index.d.mts +2 -0
- package/dist/services/model-registry/index.mjs +1 -0
- package/dist/services/preferences/index.d.mts +3 -0
- package/dist/services/preferences/index.mjs +1 -0
- package/dist/services/preferences/schemas.d.mts +2 -0
- package/dist/services/preferences/schemas.mjs +1 -0
- package/dist/services/preferences/storage-namespace.d.mts +3 -0
- package/dist/services/preferences/storage-namespace.mjs +1 -0
- package/dist/services/provider-context/index.d.mts +2 -0
- package/dist/services/provider-context/index.mjs +1 -0
- package/dist/services/provider-runtime/index.d.mts +136 -0
- package/dist/services/provider-runtime/index.mjs +1 -0
- package/dist/services/session/handlers/index.d.mts +2 -0
- package/dist/services/session/handlers/index.mjs +1 -0
- package/dist/services/session/index.d.mts +10 -0
- package/dist/services/session/index.mjs +1 -0
- package/dist/services/session/messages/namespace.d.mts +2 -0
- package/dist/services/session/messages/namespace.mjs +1 -0
- package/dist/services/session/orchestrator-testing/index.d.mts +2 -0
- package/dist/services/session/orchestrator-testing/index.mjs +1 -0
- package/dist/services/session/session-events/namespace.d.mts +2 -0
- package/dist/services/session/session-events/namespace.mjs +1 -0
- package/dist/services/session/storage/namespace.d.mts +2 -0
- package/dist/services/session/storage/namespace.mjs +1 -0
- package/dist/services/session/storage/schema.d.mts +2 -0
- package/dist/services/session/storage/schema.mjs +1 -0
- package/dist/services/session/testing/index.d.mts +35 -0
- package/dist/services/session/testing/index.mjs +65 -0
- package/dist/services/session/testing/orchestrator-shared.d.mts +2 -0
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -0
- package/dist/services/session/turns/namespace.d.mts +2 -0
- package/dist/services/session/turns/namespace.mjs +1 -0
- package/dist/services/session-editor/index.d.mts +119 -0
- package/dist/services/session-editor/index.mjs +1 -0
- package/dist/services/settings/index.d.mts +47 -0
- package/dist/services/settings/index.mjs +1 -0
- package/dist/services/settings/namespace.d.mts +663 -0
- package/dist/services/settings/namespace.mjs +1 -0
- package/dist/services/settings/storage/clients-namespace.d.mts +2 -0
- package/dist/services/settings/storage/clients-namespace.mjs +1 -0
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +184 -0
- package/dist/services/settings/storage/extension-configs/namespace.mjs +1 -0
- package/dist/services/settings/storage/index.d.mts +4 -0
- package/dist/services/settings/storage/index.mjs +1 -0
- package/dist/services/settings/storage/providers-namespace.d.mts +2 -0
- package/dist/services/settings/storage/providers-namespace.mjs +1 -0
- package/dist/services/subagent/index.d.mts +2 -0
- package/dist/services/subagent/index.mjs +1 -0
- package/dist/services/subagent-template/index.d.mts +3 -0
- package/dist/services/subagent-template/index.mjs +1 -0
- package/dist/services/subagent-template/namespace.d.mts +2 -0
- package/dist/services/subagent-template/namespace.mjs +1 -0
- package/dist/services/subagent-template/schemas.d.mts +2 -0
- package/dist/services/subagent-template/schemas.mjs +1 -0
- package/dist/services/tool-approval/index.d.mts +2 -0
- package/dist/services/tool-approval/index.mjs +1 -0
- package/dist/services/tools/index.d.mts +2 -0
- package/dist/services/tools/index.mjs +1 -0
- package/dist/services/tray-menu/index.d.mts +4 -0
- package/dist/services/tray-menu/index.mjs +1 -0
- package/dist/services/tray-menu/namespace.d.mts +2 -0
- package/dist/services/tray-menu/namespace.mjs +1 -0
- package/dist/services/tray-menu/schemas.d.mts +2 -0
- package/dist/services/tray-menu/schemas.mjs +1 -0
- package/dist/services/turn/index.d.mts +2 -0
- package/dist/services/turn/index.mjs +1 -0
- package/dist/services/turn/namespace.d.mts +2 -0
- package/dist/services/turn/namespace.mjs +1 -0
- package/dist/services/turn/schemas.d.mts +335 -0
- package/dist/services/turn/schemas.mjs +1 -0
- package/dist/session-BoldSdNZ2.mjs +134 -0
- package/dist/session-DuVOYctZ.mjs +1 -0
- package/dist/session-lineage-CRsc9g1x.d.mts +65 -0
- package/dist/shared-DpOEfD8F.mjs +1 -0
- package/dist/shared-schemas-CPShiLNp.mjs +1 -0
- package/dist/skill-CQO4mDqK.mjs +1 -0
- package/dist/storage/drizzle/client.d.mts +78 -0
- package/dist/storage/drizzle/client.mjs +1 -0
- package/dist/storage/drizzle/index.d.mts +137 -0
- package/dist/storage/drizzle/index.mjs +1 -0
- package/dist/storage/handlers/drizzle/index.d.mts +2 -0
- package/dist/storage/handlers/drizzle/index.mjs +1 -0
- package/dist/storage/handlers/index.d.mts +33 -0
- package/dist/storage/handlers/index.mjs +1 -0
- package/dist/storage/index.d.mts +192 -0
- package/dist/storage/index.mjs +1 -0
- package/dist/storage-namespace-BXkoh5Sy.d.mts +221 -0
- package/dist/storage-namespace-DWsYLAXa.mjs +1 -0
- package/dist/storage-namespace-definition-Bkx5rSto.d.mts +17 -0
- package/dist/storage-namespace-definition-CqSdsuCC.mjs +1 -0
- package/dist/style.css +3782 -0
- package/dist/telemetry-CvdLBWuk.mjs +1 -0
- package/dist/testing/drizzle-harness.d.mts +130 -0
- package/dist/testing/drizzle-harness.mjs +1 -0
- package/dist/testing/index.d.mts +106 -0
- package/dist/testing/index.mjs +1 -0
- package/dist/timeout-XsYIOKrc.mjs +1 -0
- package/dist/tool-approval-service-BvZWhYZp.mjs +1 -0
- package/dist/tools/index.d.mts +835 -0
- package/dist/tools/index.mjs +1 -0
- package/dist/tools/testing/index.d.mts +53 -0
- package/dist/tools/testing/index.mjs +1 -0
- package/dist/tools-D-luYcDw.mjs +1431 -0
- package/dist/tray-menu-service-DuXq5k22.mjs +1 -0
- package/dist/types-BCMUtBj1.d.mts +1106 -0
- package/dist/types-C2Ob9zz_.d.mts +128 -0
- package/dist/types-CCdqjeuH.d.mts +262 -0
- package/dist/types-DZHvOc_Q.d.mts +305 -0
- package/dist/types-Dy3YTcTF.d.mts +6777 -0
- package/dist/types-MfJZ67e9.d.mts +315 -0
- package/dist/types-dyP-bXXE.d.mts +31 -0
- package/dist/ui-components/index.d.mts +2342 -0
- package/dist/ui-components/index.mjs +8 -0
- package/dist/ui-config-9bDRwFZr.mjs +1 -0
- package/dist/ui-hooks/index.d.mts +1915 -0
- package/dist/ui-hooks/index.mjs +1 -0
- package/dist/ui-kernel/index.d.mts +2793 -0
- package/dist/ui-kernel/index.mjs +1 -0
- package/dist/ui-kernel/pages/namespace.d.mts +88 -0
- package/dist/ui-kernel/pages/namespace.mjs +1 -0
- package/dist/ui-kernel/pages/schemas.d.mts +2 -0
- package/dist/ui-kernel/pages/schemas.mjs +1 -0
- package/dist/ui-views/index.d.mts +487 -0
- package/dist/ui-views/index.mjs +30 -0
- package/dist/utils/health-probe.d.mts +26 -0
- package/dist/utils/health-probe.mjs +1 -0
- package/dist/utils/index.d.mts +262 -0
- package/dist/utils/index.mjs +2 -0
- package/dist/utils/keychain.d.mts +31 -0
- package/dist/utils/keychain.mjs +1 -0
- package/dist/utils/project-manifest.d.mts +130 -0
- package/dist/utils/project-manifest.mjs +1 -0
- package/dist/utils/resolve-package-root.d.mts +12 -0
- package/dist/utils/resolve-package-root.mjs +1 -0
- package/dist/utils/scope-paths.d.mts +33 -0
- package/dist/utils/scope-paths.mjs +1 -0
- package/dist/utils/workspace-packages.d.mts +59 -0
- package/dist/utils/workspace-packages.mjs +1 -0
- package/dist/utils/workspace-root.d.mts +24 -0
- package/dist/utils/workspace-root.mjs +2 -0
- package/dist/variant-CT6XBP6T.mjs +1 -0
- package/dist/version-BeT3ASEe.mjs +1 -0
- package/dist/visibility-Cb62p9bv.mjs +1 -0
- package/dist/window-registry-CBcrGTv4.d.mts +130 -0
- package/dist/window-registry-DW-dKRjQ.mjs +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import * as _$zod from "zod";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
4
|
+
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
5
|
+
|
|
6
|
+
//#region core/contracts/src/variant/schemas.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Supported build variant identifiers for the Electrobun desktop host.
|
|
9
|
+
*
|
|
10
|
+
* - `'base'` — system WebView (no bundled CEF)
|
|
11
|
+
* - `'cef'` — Chromium Embedded Framework bundled into the distributable
|
|
12
|
+
*/
|
|
13
|
+
declare const MakaioVariantSchema: z.ZodEnum<{
|
|
14
|
+
base: "base";
|
|
15
|
+
cef: "cef";
|
|
16
|
+
}>;
|
|
17
|
+
/** Inferred TypeScript type for a variant identifier. */
|
|
18
|
+
type MakaioVariant = z.infer<typeof MakaioVariantSchema>;
|
|
19
|
+
/**
|
|
20
|
+
* Upgrade status values emitted during a variant upgrade operation.
|
|
21
|
+
*
|
|
22
|
+
* - `'downloading'` — initiating download
|
|
23
|
+
* - `'progress'` — download in progress
|
|
24
|
+
* - `'applying'` — applying the downloaded files
|
|
25
|
+
* - `'complete'` — upgrade finished successfully
|
|
26
|
+
* - `'error'` — upgrade failed
|
|
27
|
+
*/
|
|
28
|
+
declare const VariantUpgradeStatusSchema: z.ZodEnum<{
|
|
29
|
+
error: "error";
|
|
30
|
+
complete: "complete";
|
|
31
|
+
progress: "progress";
|
|
32
|
+
downloading: "downloading";
|
|
33
|
+
applying: "applying";
|
|
34
|
+
}>;
|
|
35
|
+
/** Inferred TypeScript type for an upgrade status value. */
|
|
36
|
+
type VariantUpgradeStatus = z.infer<typeof VariantUpgradeStatusSchema>;
|
|
37
|
+
/**
|
|
38
|
+
* Variant domain bus schemas.
|
|
39
|
+
*
|
|
40
|
+
* Each key becomes a subject identifier as `host:variant.<key>`.
|
|
41
|
+
*/
|
|
42
|
+
declare const VariantSchemas: {
|
|
43
|
+
/**
|
|
44
|
+
* Query the current variant configuration from the host.
|
|
45
|
+
*
|
|
46
|
+
* Request: empty — the handler reads the resolved variant at startup.
|
|
47
|
+
* Response: full variant info — identifier, CEF-bundle flag, and default renderer.
|
|
48
|
+
*
|
|
49
|
+
* Subject: `host:variant.getInfo`
|
|
50
|
+
* Type: Request (RPC)
|
|
51
|
+
*/
|
|
52
|
+
getInfo: {
|
|
53
|
+
request: z.ZodObject<{}, z.core.$strip>;
|
|
54
|
+
response: z.ZodObject<{
|
|
55
|
+
variant: z.ZodEnum<{
|
|
56
|
+
base: "base";
|
|
57
|
+
cef: "cef";
|
|
58
|
+
}>;
|
|
59
|
+
bundleCEF: z.ZodBoolean;
|
|
60
|
+
defaultRenderer: z.ZodEnum<{
|
|
61
|
+
native: "native";
|
|
62
|
+
cef: "cef";
|
|
63
|
+
}>;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Request a variant switch on the host.
|
|
68
|
+
*
|
|
69
|
+
* The host may accept or decline the request. When accepted it may report
|
|
70
|
+
* the estimated download size so the caller can display a confirmation UI.
|
|
71
|
+
* A declined response must include a human-readable `message` explaining why.
|
|
72
|
+
*
|
|
73
|
+
* Subject: `host:variant.requestUpgrade`
|
|
74
|
+
* Type: Request (RPC)
|
|
75
|
+
*/
|
|
76
|
+
requestUpgrade: {
|
|
77
|
+
request: z.ZodObject<{
|
|
78
|
+
targetVariant: z.ZodEnum<{
|
|
79
|
+
base: "base";
|
|
80
|
+
cef: "cef";
|
|
81
|
+
}>;
|
|
82
|
+
}, z.core.$strip>;
|
|
83
|
+
response: z.ZodUnion<readonly [z.ZodObject<{
|
|
84
|
+
accepted: z.ZodLiteral<true>;
|
|
85
|
+
downloadSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
message: z.ZodOptional<z.ZodString>;
|
|
87
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
88
|
+
accepted: z.ZodLiteral<false>;
|
|
89
|
+
message: z.ZodString;
|
|
90
|
+
}, z.core.$strip>]>;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Emitted by the host while a variant upgrade is in progress.
|
|
94
|
+
*
|
|
95
|
+
* Consumers subscribe to track download and apply progress for display
|
|
96
|
+
* in the UI (e.g. a progress bar).
|
|
97
|
+
*
|
|
98
|
+
* Subject: `host:variant.upgradeProgress`
|
|
99
|
+
* Type: Event
|
|
100
|
+
*/
|
|
101
|
+
upgradeProgress: z.ZodObject<{
|
|
102
|
+
status: z.ZodEnum<{
|
|
103
|
+
error: "error";
|
|
104
|
+
complete: "complete";
|
|
105
|
+
progress: "progress";
|
|
106
|
+
downloading: "downloading";
|
|
107
|
+
applying: "applying";
|
|
108
|
+
}>;
|
|
109
|
+
percent: z.ZodOptional<z.ZodNumber>;
|
|
110
|
+
message: z.ZodOptional<z.ZodString>;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
};
|
|
113
|
+
/** Response payload for `host:variant.getInfo`. */
|
|
114
|
+
type VariantGetInfoResponse = z.infer<(typeof VariantSchemas)['getInfo']['response']>;
|
|
115
|
+
/** Request payload for `host:variant.requestUpgrade`. */
|
|
116
|
+
type VariantRequestUpgradeRequest = z.infer<(typeof VariantSchemas)['requestUpgrade']['request']>;
|
|
117
|
+
/** Response payload for `host:variant.requestUpgrade`. */
|
|
118
|
+
type VariantRequestUpgradeResponse = z.infer<(typeof VariantSchemas)['requestUpgrade']['response']>;
|
|
119
|
+
/** Payload of the `host:variant.upgradeProgress` event. */
|
|
120
|
+
type VariantUpgradeProgressEvent = z.infer<(typeof VariantSchemas)['upgradeProgress']>;
|
|
121
|
+
//#endregion
|
|
122
|
+
//#region core/contracts/src/variant/namespace.d.ts
|
|
123
|
+
/**
|
|
124
|
+
* Variant namespace definition.
|
|
125
|
+
* Provides typed subjects for variant detection and upgrade operations.
|
|
126
|
+
*/
|
|
127
|
+
declare const VariantNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:variant", {
|
|
128
|
+
getInfo: {
|
|
129
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
130
|
+
response: _$zod.ZodObject<{
|
|
131
|
+
variant: _$zod.ZodEnum<{
|
|
132
|
+
base: "base";
|
|
133
|
+
cef: "cef";
|
|
134
|
+
}>;
|
|
135
|
+
bundleCEF: _$zod.ZodBoolean;
|
|
136
|
+
defaultRenderer: _$zod.ZodEnum<{
|
|
137
|
+
native: "native";
|
|
138
|
+
cef: "cef";
|
|
139
|
+
}>;
|
|
140
|
+
}, _$zod_v4_core0.$strip>;
|
|
141
|
+
};
|
|
142
|
+
requestUpgrade: {
|
|
143
|
+
request: _$zod.ZodObject<{
|
|
144
|
+
targetVariant: _$zod.ZodEnum<{
|
|
145
|
+
base: "base";
|
|
146
|
+
cef: "cef";
|
|
147
|
+
}>;
|
|
148
|
+
}, _$zod_v4_core0.$strip>;
|
|
149
|
+
response: _$zod.ZodUnion<readonly [_$zod.ZodObject<{
|
|
150
|
+
accepted: _$zod.ZodLiteral<true>;
|
|
151
|
+
downloadSizeBytes: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
152
|
+
message: _$zod.ZodOptional<_$zod.ZodString>;
|
|
153
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
154
|
+
accepted: _$zod.ZodLiteral<false>;
|
|
155
|
+
message: _$zod.ZodString;
|
|
156
|
+
}, _$zod_v4_core0.$strip>]>;
|
|
157
|
+
};
|
|
158
|
+
upgradeProgress: _$zod.ZodObject<{
|
|
159
|
+
status: _$zod.ZodEnum<{
|
|
160
|
+
error: "error";
|
|
161
|
+
complete: "complete";
|
|
162
|
+
progress: "progress";
|
|
163
|
+
downloading: "downloading";
|
|
164
|
+
applying: "applying";
|
|
165
|
+
}>;
|
|
166
|
+
percent: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
167
|
+
message: _$zod.ZodOptional<_$zod.ZodString>;
|
|
168
|
+
}, _$zod_v4_core0.$strip>;
|
|
169
|
+
}>;
|
|
170
|
+
/**
|
|
171
|
+
* Variant subjects for type-safe bus operations.
|
|
172
|
+
* Use these with MakaioBus.request(), MakaioBus.on(), etc.
|
|
173
|
+
*/
|
|
174
|
+
declare const VariantSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"host:variant", {
|
|
175
|
+
getInfo: {
|
|
176
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
177
|
+
response: _$zod.ZodObject<{
|
|
178
|
+
variant: _$zod.ZodEnum<{
|
|
179
|
+
base: "base";
|
|
180
|
+
cef: "cef";
|
|
181
|
+
}>;
|
|
182
|
+
bundleCEF: _$zod.ZodBoolean;
|
|
183
|
+
defaultRenderer: _$zod.ZodEnum<{
|
|
184
|
+
native: "native";
|
|
185
|
+
cef: "cef";
|
|
186
|
+
}>;
|
|
187
|
+
}, _$zod_v4_core0.$strip>;
|
|
188
|
+
};
|
|
189
|
+
requestUpgrade: {
|
|
190
|
+
request: _$zod.ZodObject<{
|
|
191
|
+
targetVariant: _$zod.ZodEnum<{
|
|
192
|
+
base: "base";
|
|
193
|
+
cef: "cef";
|
|
194
|
+
}>;
|
|
195
|
+
}, _$zod_v4_core0.$strip>;
|
|
196
|
+
response: _$zod.ZodUnion<readonly [_$zod.ZodObject<{
|
|
197
|
+
accepted: _$zod.ZodLiteral<true>;
|
|
198
|
+
downloadSizeBytes: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
199
|
+
message: _$zod.ZodOptional<_$zod.ZodString>;
|
|
200
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
201
|
+
accepted: _$zod.ZodLiteral<false>;
|
|
202
|
+
message: _$zod.ZodString;
|
|
203
|
+
}, _$zod_v4_core0.$strip>]>;
|
|
204
|
+
};
|
|
205
|
+
upgradeProgress: _$zod.ZodObject<{
|
|
206
|
+
status: _$zod.ZodEnum<{
|
|
207
|
+
error: "error";
|
|
208
|
+
complete: "complete";
|
|
209
|
+
progress: "progress";
|
|
210
|
+
downloading: "downloading";
|
|
211
|
+
applying: "applying";
|
|
212
|
+
}>;
|
|
213
|
+
percent: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
214
|
+
message: _$zod.ZodOptional<_$zod.ZodString>;
|
|
215
|
+
}, _$zod_v4_core0.$strip>;
|
|
216
|
+
}>, "host:variant">;
|
|
217
|
+
//#endregion
|
|
218
|
+
export { VariantGetInfoResponse as a, VariantSchemas as c, VariantUpgradeStatusSchema as d, MakaioVariantSchema as i, VariantUpgradeProgressEvent as l, VariantSubjects as n, VariantRequestUpgradeRequest as o, MakaioVariant as r, VariantRequestUpgradeResponse as s, VariantNamespace as t, VariantUpgradeStatus as u };
|
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
3
|
+
|
|
4
|
+
//#region core/contracts/src/facet/schemas.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Authority actors permitted to assert or modify a facet value.
|
|
7
|
+
*
|
|
8
|
+
* - `'human'` — end-user acting through the UI or a client tool
|
|
9
|
+
* - `'system'` — runtime infrastructure (e.g., lifecycle rules)
|
|
10
|
+
* - `'agent'` — an AI or automated agent operating in a session
|
|
11
|
+
*/
|
|
12
|
+
declare const FacetAuthoritySchema: z.ZodEnum<{
|
|
13
|
+
agent: "agent";
|
|
14
|
+
system: "system";
|
|
15
|
+
human: "human";
|
|
16
|
+
}>;
|
|
17
|
+
/**
|
|
18
|
+
* Cardinality of values a facet namespace permits per target.
|
|
19
|
+
*
|
|
20
|
+
* - `'single'` — at most one value active at a time (e.g., a status field)
|
|
21
|
+
* - `'multiple'` — several values may coexist (e.g., labels or tags)
|
|
22
|
+
*/
|
|
23
|
+
declare const FacetCardinalitySchema: z.ZodEnum<{
|
|
24
|
+
single: "single";
|
|
25
|
+
multiple: "multiple";
|
|
26
|
+
}>;
|
|
27
|
+
/**
|
|
28
|
+
* Entity classes that a facet namespace may be applied to.
|
|
29
|
+
*
|
|
30
|
+
* - `'workpiece'` — a top-level unit of work (e.g., a task or session)
|
|
31
|
+
* - `'artifact'` — a versioned framework artifact revision
|
|
32
|
+
* - `'surface'` — a UI surface or layout area
|
|
33
|
+
*/
|
|
34
|
+
declare const FacetAppliesToSchema: z.ZodEnum<{
|
|
35
|
+
surface: "surface";
|
|
36
|
+
workpiece: "workpiece";
|
|
37
|
+
artifact: "artifact";
|
|
38
|
+
}>;
|
|
39
|
+
/**
|
|
40
|
+
* Serializable registration record for a named facet namespace.
|
|
41
|
+
*
|
|
42
|
+
* Facet namespace registrations are declared by framework services and product
|
|
43
|
+
* extensions, then consumed by the facet service to validate and route facet
|
|
44
|
+
* assertions. The `namespace` field is a kebab-case identifier unique within
|
|
45
|
+
* the facet registry.
|
|
46
|
+
*/
|
|
47
|
+
declare const FacetNamespaceRegistrationSchema: z.ZodObject<{
|
|
48
|
+
namespace: z.ZodString;
|
|
49
|
+
cardinality: z.ZodEnum<{
|
|
50
|
+
single: "single";
|
|
51
|
+
multiple: "multiple";
|
|
52
|
+
}>;
|
|
53
|
+
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
54
|
+
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
55
|
+
agent: "agent";
|
|
56
|
+
system: "system";
|
|
57
|
+
human: "human";
|
|
58
|
+
}>>>;
|
|
59
|
+
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
60
|
+
surface: "surface";
|
|
61
|
+
workpiece: "workpiece";
|
|
62
|
+
artifact: "artifact";
|
|
63
|
+
}>>>;
|
|
64
|
+
description: z.ZodOptional<z.ZodString>;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
/** Serializable registration record for a named facet namespace. */
|
|
67
|
+
type FacetNamespaceRegistration = z.infer<typeof FacetNamespaceRegistrationSchema>;
|
|
68
|
+
/** Authority actor permitted to assert or modify a facet value. */
|
|
69
|
+
type FacetAuthority = z.infer<typeof FacetAuthoritySchema>;
|
|
70
|
+
/** Cardinality policy for a facet namespace. */
|
|
71
|
+
type FacetCardinality = z.infer<typeof FacetCardinalitySchema>;
|
|
72
|
+
/** Entity class a facet namespace may be applied to. */
|
|
73
|
+
type FacetAppliesTo = z.infer<typeof FacetAppliesToSchema>;
|
|
74
|
+
//#endregion
|
|
75
|
+
//#region core/contracts/src/facet/definition.d.ts
|
|
76
|
+
/**
|
|
77
|
+
* A facet namespace definition with a serializable registration record.
|
|
78
|
+
*
|
|
79
|
+
* Created by {@link defineFacetNamespace}. The definition retains the original
|
|
80
|
+
* options and produces a bus-transportable {@link FacetNamespaceRegistration}
|
|
81
|
+
* via `toRegistration()`.
|
|
82
|
+
*
|
|
83
|
+
* The interface is intentionally opaque: only `namespace` is exposed directly
|
|
84
|
+
* so that callers have a stable, lightweight handle on the definition.
|
|
85
|
+
* All other properties (`cardinality`, `values`, `authority`, `appliesTo`,
|
|
86
|
+
* `description`) are accessible exclusively through `toRegistration()`, which
|
|
87
|
+
* also produces the serializable, bus-transportable snapshot. This design
|
|
88
|
+
* avoids spreading raw mutable fields onto a long-lived definition object and
|
|
89
|
+
* keeps the contract aligned with the bus registration shape.
|
|
90
|
+
*/
|
|
91
|
+
interface FacetNamespaceDefinition {
|
|
92
|
+
/** Unique namespace identifier (e.g., `'status'`, `'review-state'`). */
|
|
93
|
+
readonly namespace: string;
|
|
94
|
+
/**
|
|
95
|
+
* Produces a serializable registration record suitable for bus transport.
|
|
96
|
+
* @returns A {@link FacetNamespaceRegistration} snapshot with all array
|
|
97
|
+
* fields copied to prevent shared-reference mutation.
|
|
98
|
+
*/
|
|
99
|
+
readonly toRegistration: () => FacetNamespaceRegistration;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Options for {@link defineFacetNamespace}.
|
|
103
|
+
*
|
|
104
|
+
* Structurally identical to {@link FacetNamespaceRegistration} — every field
|
|
105
|
+
* is included in the serializable registration output.
|
|
106
|
+
*/
|
|
107
|
+
type DefineFacetNamespaceOptions = FacetNamespaceRegistration;
|
|
108
|
+
/**
|
|
109
|
+
* Creates a facet namespace definition with a serializable registration.
|
|
110
|
+
*
|
|
111
|
+
* The returned definition exposes the `namespace` identifier directly and
|
|
112
|
+
* produces a bus-transportable {@link FacetNamespaceRegistration} via
|
|
113
|
+
* `toRegistration()`. Array fields (`values`, `authority`, `appliesTo`) are
|
|
114
|
+
* defensively copied so callers cannot mutate the registration snapshot.
|
|
115
|
+
* @param options - Facet namespace registration options including cardinality,
|
|
116
|
+
* values, authority, and the entity classes the facet applies to.
|
|
117
|
+
* @returns A {@link FacetNamespaceDefinition} with a `toRegistration` method.
|
|
118
|
+
* @example
|
|
119
|
+
* ```ts
|
|
120
|
+
* export const statusFacet = defineFacetNamespace({
|
|
121
|
+
* namespace: 'status',
|
|
122
|
+
* cardinality: 'single',
|
|
123
|
+
* values: ['pending', 'processing', 'blocked', 'completed'],
|
|
124
|
+
* authority: ['system'],
|
|
125
|
+
* appliesTo: ['workpiece'],
|
|
126
|
+
* });
|
|
127
|
+
* ```
|
|
128
|
+
*/
|
|
129
|
+
declare function defineFacetNamespace(options: DefineFacetNamespaceOptions): FacetNamespaceDefinition;
|
|
130
|
+
//#endregion
|
|
131
|
+
//#region core/contracts/src/facet/namespace.d.ts
|
|
132
|
+
/**
|
|
133
|
+
* Framework-level facet bus schemas.
|
|
134
|
+
*
|
|
135
|
+
* Defines the RPC and event subjects for the facet namespace registry.
|
|
136
|
+
* The schema set covers:
|
|
137
|
+
*
|
|
138
|
+
* - `namespace.register` — register a new facet namespace with the facet service (RPC)
|
|
139
|
+
* - `namespace.list` — query registered facet namespaces (RPC)
|
|
140
|
+
* - `namespace.changed` — emitted when a facet namespace registration is added or updated (event)
|
|
141
|
+
*
|
|
142
|
+
* Product hosts that extend the framework facet namespace should register a
|
|
143
|
+
* product-owned namespace rather than merging additional subjects into this one.
|
|
144
|
+
*/
|
|
145
|
+
declare const FacetSchemas: {
|
|
146
|
+
/**
|
|
147
|
+
* Register a new facet namespace with the facet service (RPC).
|
|
148
|
+
* Returns `{ registered: true }` when successfully stored.
|
|
149
|
+
*/
|
|
150
|
+
'namespace.register': {
|
|
151
|
+
request: z.ZodObject<{
|
|
152
|
+
namespace: z.ZodString;
|
|
153
|
+
cardinality: z.ZodEnum<{
|
|
154
|
+
single: "single";
|
|
155
|
+
multiple: "multiple";
|
|
156
|
+
}>;
|
|
157
|
+
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
158
|
+
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
159
|
+
agent: "agent";
|
|
160
|
+
system: "system";
|
|
161
|
+
human: "human";
|
|
162
|
+
}>>>;
|
|
163
|
+
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
164
|
+
surface: "surface";
|
|
165
|
+
workpiece: "workpiece";
|
|
166
|
+
artifact: "artifact";
|
|
167
|
+
}>>>;
|
|
168
|
+
description: z.ZodOptional<z.ZodString>;
|
|
169
|
+
}, z.core.$strip>;
|
|
170
|
+
response: z.ZodObject<{
|
|
171
|
+
registered: z.ZodBoolean;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
}; /** List registered facet namespaces, optionally filtered by namespace string (RPC). */
|
|
174
|
+
'namespace.list': {
|
|
175
|
+
request: z.ZodObject<{
|
|
176
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
response: z.ZodObject<{
|
|
179
|
+
namespaces: z.ZodArray<z.ZodObject<{
|
|
180
|
+
namespace: z.ZodString;
|
|
181
|
+
cardinality: z.ZodEnum<{
|
|
182
|
+
single: "single";
|
|
183
|
+
multiple: "multiple";
|
|
184
|
+
}>;
|
|
185
|
+
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
186
|
+
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
187
|
+
agent: "agent";
|
|
188
|
+
system: "system";
|
|
189
|
+
human: "human";
|
|
190
|
+
}>>>;
|
|
191
|
+
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
192
|
+
surface: "surface";
|
|
193
|
+
workpiece: "workpiece";
|
|
194
|
+
artifact: "artifact";
|
|
195
|
+
}>>>;
|
|
196
|
+
description: z.ZodOptional<z.ZodString>;
|
|
197
|
+
}, z.core.$strip>>;
|
|
198
|
+
}, z.core.$strip>;
|
|
199
|
+
}; /** Emitted when a facet namespace registration is added or updated. */
|
|
200
|
+
'namespace.changed': z.ZodObject<{
|
|
201
|
+
namespace: z.ZodString;
|
|
202
|
+
}, z.core.$strip>;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Facet bus namespace.
|
|
206
|
+
*
|
|
207
|
+
* Registers the `facet` namespace with framework-level RPC and event subjects
|
|
208
|
+
* for the facet namespace registry. Use `FacetSubjects` to access typed bus
|
|
209
|
+
* subject descriptors.
|
|
210
|
+
*/
|
|
211
|
+
declare const FacetNamespace: _$_makaio_core0.BusNamespaceDefinition<"facet", {
|
|
212
|
+
/**
|
|
213
|
+
* Register a new facet namespace with the facet service (RPC).
|
|
214
|
+
* Returns `{ registered: true }` when successfully stored.
|
|
215
|
+
*/
|
|
216
|
+
'namespace.register': {
|
|
217
|
+
request: z.ZodObject<{
|
|
218
|
+
namespace: z.ZodString;
|
|
219
|
+
cardinality: z.ZodEnum<{
|
|
220
|
+
single: "single";
|
|
221
|
+
multiple: "multiple";
|
|
222
|
+
}>;
|
|
223
|
+
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
224
|
+
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
225
|
+
agent: "agent";
|
|
226
|
+
system: "system";
|
|
227
|
+
human: "human";
|
|
228
|
+
}>>>;
|
|
229
|
+
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
230
|
+
surface: "surface";
|
|
231
|
+
workpiece: "workpiece";
|
|
232
|
+
artifact: "artifact";
|
|
233
|
+
}>>>;
|
|
234
|
+
description: z.ZodOptional<z.ZodString>;
|
|
235
|
+
}, z.core.$strip>;
|
|
236
|
+
response: z.ZodObject<{
|
|
237
|
+
registered: z.ZodBoolean;
|
|
238
|
+
}, z.core.$strip>;
|
|
239
|
+
}; /** List registered facet namespaces, optionally filtered by namespace string (RPC). */
|
|
240
|
+
'namespace.list': {
|
|
241
|
+
request: z.ZodObject<{
|
|
242
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
243
|
+
}, z.core.$strip>;
|
|
244
|
+
response: z.ZodObject<{
|
|
245
|
+
namespaces: z.ZodArray<z.ZodObject<{
|
|
246
|
+
namespace: z.ZodString;
|
|
247
|
+
cardinality: z.ZodEnum<{
|
|
248
|
+
single: "single";
|
|
249
|
+
multiple: "multiple";
|
|
250
|
+
}>;
|
|
251
|
+
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
252
|
+
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
253
|
+
agent: "agent";
|
|
254
|
+
system: "system";
|
|
255
|
+
human: "human";
|
|
256
|
+
}>>>;
|
|
257
|
+
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
258
|
+
surface: "surface";
|
|
259
|
+
workpiece: "workpiece";
|
|
260
|
+
artifact: "artifact";
|
|
261
|
+
}>>>;
|
|
262
|
+
description: z.ZodOptional<z.ZodString>;
|
|
263
|
+
}, z.core.$strip>>;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
}; /** Emitted when a facet namespace registration is added or updated. */
|
|
266
|
+
'namespace.changed': z.ZodObject<{
|
|
267
|
+
namespace: z.ZodString;
|
|
268
|
+
}, z.core.$strip>;
|
|
269
|
+
}>;
|
|
270
|
+
/**
|
|
271
|
+
* Typed subjects for facet bus communication.
|
|
272
|
+
*
|
|
273
|
+
* Available subjects:
|
|
274
|
+
* - `FacetSubjects['namespace.register']` — register a facet namespace (RPC)
|
|
275
|
+
* - `FacetSubjects['namespace.list']` — list facet namespaces (RPC)
|
|
276
|
+
* - `FacetSubjects['namespace.changed']` — facet namespace changed event
|
|
277
|
+
*
|
|
278
|
+
* Nested shorthand (via dot-segment nesting):
|
|
279
|
+
* - `FacetSubjects.namespace.register` — register (RPC)
|
|
280
|
+
* - `FacetSubjects.namespace.list` — list (RPC)
|
|
281
|
+
* - `FacetSubjects.namespace.changed` — changed event
|
|
282
|
+
*/
|
|
283
|
+
declare const FacetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"facet", {
|
|
284
|
+
/**
|
|
285
|
+
* Register a new facet namespace with the facet service (RPC).
|
|
286
|
+
* Returns `{ registered: true }` when successfully stored.
|
|
287
|
+
*/
|
|
288
|
+
'namespace.register': {
|
|
289
|
+
request: z.ZodObject<{
|
|
290
|
+
namespace: z.ZodString;
|
|
291
|
+
cardinality: z.ZodEnum<{
|
|
292
|
+
single: "single";
|
|
293
|
+
multiple: "multiple";
|
|
294
|
+
}>;
|
|
295
|
+
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
296
|
+
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
297
|
+
agent: "agent";
|
|
298
|
+
system: "system";
|
|
299
|
+
human: "human";
|
|
300
|
+
}>>>;
|
|
301
|
+
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
302
|
+
surface: "surface";
|
|
303
|
+
workpiece: "workpiece";
|
|
304
|
+
artifact: "artifact";
|
|
305
|
+
}>>>;
|
|
306
|
+
description: z.ZodOptional<z.ZodString>;
|
|
307
|
+
}, z.core.$strip>;
|
|
308
|
+
response: z.ZodObject<{
|
|
309
|
+
registered: z.ZodBoolean;
|
|
310
|
+
}, z.core.$strip>;
|
|
311
|
+
}; /** List registered facet namespaces, optionally filtered by namespace string (RPC). */
|
|
312
|
+
'namespace.list': {
|
|
313
|
+
request: z.ZodObject<{
|
|
314
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
315
|
+
}, z.core.$strip>;
|
|
316
|
+
response: z.ZodObject<{
|
|
317
|
+
namespaces: z.ZodArray<z.ZodObject<{
|
|
318
|
+
namespace: z.ZodString;
|
|
319
|
+
cardinality: z.ZodEnum<{
|
|
320
|
+
single: "single";
|
|
321
|
+
multiple: "multiple";
|
|
322
|
+
}>;
|
|
323
|
+
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
324
|
+
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
325
|
+
agent: "agent";
|
|
326
|
+
system: "system";
|
|
327
|
+
human: "human";
|
|
328
|
+
}>>>;
|
|
329
|
+
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
330
|
+
surface: "surface";
|
|
331
|
+
workpiece: "workpiece";
|
|
332
|
+
artifact: "artifact";
|
|
333
|
+
}>>>;
|
|
334
|
+
description: z.ZodOptional<z.ZodString>;
|
|
335
|
+
}, z.core.$strip>>;
|
|
336
|
+
}, z.core.$strip>;
|
|
337
|
+
}; /** Emitted when a facet namespace registration is added or updated. */
|
|
338
|
+
'namespace.changed': z.ZodObject<{
|
|
339
|
+
namespace: z.ZodString;
|
|
340
|
+
}, z.core.$strip>;
|
|
341
|
+
}>, "facet">;
|
|
342
|
+
/** Request payload for registering a facet namespace. */
|
|
343
|
+
type FacetNamespaceRegisterRequest = z.infer<(typeof FacetSchemas)['namespace.register']['request']>;
|
|
344
|
+
/** Response payload for registering a facet namespace. */
|
|
345
|
+
type FacetNamespaceRegisterResponse = z.infer<(typeof FacetSchemas)['namespace.register']['response']>;
|
|
346
|
+
/** Request payload for listing facet namespaces. */
|
|
347
|
+
type FacetNamespaceListRequest = z.infer<(typeof FacetSchemas)['namespace.list']['request']>;
|
|
348
|
+
/** Response payload for listing facet namespaces. */
|
|
349
|
+
type FacetNamespaceListResponse = z.infer<(typeof FacetSchemas)['namespace.list']['response']>;
|
|
350
|
+
/** Payload for the facet namespace changed event. */
|
|
351
|
+
type FacetNamespaceChangedPayload = z.infer<(typeof FacetSchemas)['namespace.changed']>;
|
|
352
|
+
//#endregion
|
|
353
|
+
export { FacetNamespaceRegistration as _, FacetNamespaceRegisterRequest as a, FacetSubjects as c, FacetAppliesTo as d, FacetAppliesToSchema as f, FacetCardinalitySchema as g, FacetCardinality as h, FacetNamespaceListResponse as i, FacetNamespaceDefinition as l, FacetAuthoritySchema as m, FacetNamespaceChangedPayload as n, FacetNamespaceRegisterResponse as o, FacetAuthority as p, FacetNamespaceListRequest as r, FacetSchemas as s, FacetNamespace as t, defineFacetNamespace as u, FacetNamespaceRegistrationSchema as v };
|