@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,89 @@
|
|
|
1
|
+
import { n as ResolveIdRequest } from "./schemas-DaRSfYLf.mjs";
|
|
2
|
+
import { IMakaioBus } from "@makaio/framework/bus";
|
|
3
|
+
|
|
4
|
+
//#region services/core/src/adapter-runtime/identity.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Build the deterministic runtime adapter id for a machine-local adapter.
|
|
7
|
+
* @param machineId - Runtime machine identifier.
|
|
8
|
+
* @param adapterName - Stable adapter driver name.
|
|
9
|
+
* @returns Deterministic UUID-shaped runtime adapter id.
|
|
10
|
+
*/
|
|
11
|
+
declare function buildDeterministicAdapterId(machineId: string, adapterName: string): string;
|
|
12
|
+
/**
|
|
13
|
+
* Resolve an adapter id request against the current runtime machine.
|
|
14
|
+
* @param request - Forward lookup payload.
|
|
15
|
+
* @param currentMachineId - Runtime-default machine identifier.
|
|
16
|
+
* @returns Deterministic UUID-shaped runtime adapter id.
|
|
17
|
+
*/
|
|
18
|
+
declare function resolveDeterministicAdapterId(request: ResolveIdRequest, currentMachineId?: string): string;
|
|
19
|
+
/**
|
|
20
|
+
* Service-lifetime adapter identity index.
|
|
21
|
+
*/
|
|
22
|
+
declare class AdapterIdentityRegistry {
|
|
23
|
+
private readonly currentMachineId?;
|
|
24
|
+
private readonly adapterNamesById;
|
|
25
|
+
private localAdapterIds;
|
|
26
|
+
/**
|
|
27
|
+
* Create a new identity registry.
|
|
28
|
+
* @param currentMachineId - Runtime-default machine identifier.
|
|
29
|
+
*/
|
|
30
|
+
constructor(currentMachineId?: string | undefined);
|
|
31
|
+
/**
|
|
32
|
+
* Replace the set of locally known adapters while preserving remote ids
|
|
33
|
+
* already resolved during this service lifetime.
|
|
34
|
+
* @param adapterNames - Current local adapter names.
|
|
35
|
+
*/
|
|
36
|
+
replaceKnownAdapterNames(adapterNames: Iterable<string>): void;
|
|
37
|
+
/**
|
|
38
|
+
* Resolve and remember an adapter id.
|
|
39
|
+
* @param request - Forward lookup payload.
|
|
40
|
+
* @returns Deterministic runtime adapter id.
|
|
41
|
+
*/
|
|
42
|
+
resolveId(request: ResolveIdRequest): string;
|
|
43
|
+
/**
|
|
44
|
+
* Remember a resolved adapter id without re-deriving it.
|
|
45
|
+
* @param adapterId - Runtime adapter id.
|
|
46
|
+
* @param adapterName - Stable adapter driver name.
|
|
47
|
+
*/
|
|
48
|
+
rememberAdapterId(adapterId: string, adapterName: string): void;
|
|
49
|
+
/**
|
|
50
|
+
* Resolve a runtime adapter id back to its known adapter name.
|
|
51
|
+
* @param adapterId - Runtime adapter id.
|
|
52
|
+
* @returns Adapter name when known.
|
|
53
|
+
*/
|
|
54
|
+
resolveAdapterName(adapterId: string): string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Hydrate local deterministic adapter names from the provided catalog and
|
|
57
|
+
* retry the reverse lookup.
|
|
58
|
+
* @param adapterId - Runtime adapter id to resolve.
|
|
59
|
+
* @param listKnownAdapterNames - Canonical name supplier.
|
|
60
|
+
* @returns Adapter name when known after hydration.
|
|
61
|
+
*/
|
|
62
|
+
resolveAdapterNameFromKnownNames(adapterId: string, listKnownAdapterNames: () => Promise<Iterable<string>>): Promise<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Clear all remembered ids.
|
|
65
|
+
*/
|
|
66
|
+
clear(): void;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Registered adapter identity helpers for tests and lightweight hosts.
|
|
70
|
+
*/
|
|
71
|
+
interface RegisteredAdapterRuntimeIdentityHandlers {
|
|
72
|
+
/** Mutable identity registry backing the registered handlers. */
|
|
73
|
+
readonly registry: AdapterIdentityRegistry;
|
|
74
|
+
/** Cleanup function that unregisters the handlers. */
|
|
75
|
+
readonly cleanup: () => void;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Register runtime adapter identity handlers.
|
|
79
|
+
* @param bus - Bus instance used for registration.
|
|
80
|
+
* @param options - Runtime identity configuration.
|
|
81
|
+
* @returns Registry instance and cleanup function.
|
|
82
|
+
*/
|
|
83
|
+
declare function registerAdapterRuntimeIdentityHandlers(bus: IMakaioBus, options?: {
|
|
84
|
+
currentMachineId?: string;
|
|
85
|
+
knownAdapterNames?: Iterable<string>;
|
|
86
|
+
listKnownAdapterNames?: () => Promise<Iterable<string>>;
|
|
87
|
+
}): RegisteredAdapterRuntimeIdentityHandlers;
|
|
88
|
+
//#endregion
|
|
89
|
+
export { resolveDeterministicAdapterId as a, registerAdapterRuntimeIdentityHandlers as i, RegisteredAdapterRuntimeIdentityHandlers as n, buildDeterministicAdapterId as r, AdapterIdentityRegistry as t };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { IMakaioBus } from "@makaio/framework/bus";
|
|
2
|
+
import { ProviderContext } from "@makaio/framework/contracts";
|
|
3
|
+
|
|
4
|
+
//#region services/core/src/provider-context/build-provider-context.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Resolve the bus-safe provider context via the adapter subsystem subject.
|
|
7
|
+
*
|
|
8
|
+
* The adapter subsystem owns the canonical provider-context assembly. This
|
|
9
|
+
* helper keeps framework consumers on that seam while preserving the local
|
|
10
|
+
* error contract for missing provider configs.
|
|
11
|
+
* @param bus - Bus instance used to request the subsystem subject
|
|
12
|
+
* @param providerConfigId - Provider config identifier to resolve
|
|
13
|
+
* @returns Unresolved provider context with credential refs
|
|
14
|
+
* @throws Error when the config cannot be found
|
|
15
|
+
*/
|
|
16
|
+
declare function buildProviderContext(bus: IMakaioBus, providerConfigId: string): Promise<ProviderContext>;
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region services/core/src/provider-context/activate-provider-context.d.ts
|
|
19
|
+
/**
|
|
20
|
+
* Fire the credential activation hook for a provider context.
|
|
21
|
+
*
|
|
22
|
+
* Callers await this before starting an adapter so extensions such as
|
|
23
|
+
* account-manager can prepare native credential stores ahead of connector-side
|
|
24
|
+
* resolution. Missing handlers are treated as a no-op and handler failures are
|
|
25
|
+
* intentionally suppressed because activation must not block agent startup.
|
|
26
|
+
* @param bus - Bus used to invoke the activation hook
|
|
27
|
+
* @param providerContext - Provider context whose refs should be activated
|
|
28
|
+
*/
|
|
29
|
+
declare function activateProviderContext(bus: IMakaioBus, providerContext: ProviderContext): Promise<void>;
|
|
30
|
+
/**
|
|
31
|
+
* Fire the credential activation hook and propagate failures.
|
|
32
|
+
*
|
|
33
|
+
* Rotation paths use this stricter variant so a failed native-store update does
|
|
34
|
+
* not report a successful credential swap.
|
|
35
|
+
* @param bus - Bus used to invoke the activation hook
|
|
36
|
+
* @param providerContext - Provider context whose refs should be activated
|
|
37
|
+
*/
|
|
38
|
+
declare function activateProviderContextStrict(bus: IMakaioBus, providerContext: ProviderContext): Promise<void>;
|
|
39
|
+
//#endregion
|
|
40
|
+
export { activateProviderContextStrict as n, buildProviderContext as r, activateProviderContext as t };
|
|
@@ -0,0 +1,134 @@
|
|
|
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/platform/namespace.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Platform capability namespace.
|
|
9
|
+
*
|
|
10
|
+
* Cross-platform bus subjects for OS-level capabilities.
|
|
11
|
+
* Each platform package registers handlers for its supported capabilities.
|
|
12
|
+
*/
|
|
13
|
+
declare const PlatformNamespace: _$_makaio_core0.BusNamespaceDefinition<"platform", {
|
|
14
|
+
'autoLaunch.enable': {
|
|
15
|
+
request: _$zod.ZodObject<{
|
|
16
|
+
hidden: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodBoolean>>;
|
|
17
|
+
}, _$zod_v4_core0.$strip>;
|
|
18
|
+
response: _$zod.ZodObject<{
|
|
19
|
+
enabled: _$zod.ZodBoolean;
|
|
20
|
+
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
21
|
+
}, _$zod_v4_core0.$strip>;
|
|
22
|
+
};
|
|
23
|
+
'autoLaunch.disable': {
|
|
24
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
25
|
+
response: _$zod.ZodObject<{
|
|
26
|
+
disabled: _$zod.ZodBoolean;
|
|
27
|
+
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
28
|
+
}, _$zod_v4_core0.$strip>;
|
|
29
|
+
};
|
|
30
|
+
'autoLaunch.getStatus': {
|
|
31
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
32
|
+
response: _$zod.ZodObject<{
|
|
33
|
+
enabled: _$zod.ZodBoolean;
|
|
34
|
+
supported: _$zod.ZodBoolean;
|
|
35
|
+
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
36
|
+
}, _$zod_v4_core0.$strip>;
|
|
37
|
+
};
|
|
38
|
+
}>;
|
|
39
|
+
/** Type-safe subjects for platform capability operations. */
|
|
40
|
+
declare const PlatformSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"platform", {
|
|
41
|
+
'autoLaunch.enable': {
|
|
42
|
+
request: _$zod.ZodObject<{
|
|
43
|
+
hidden: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodBoolean>>;
|
|
44
|
+
}, _$zod_v4_core0.$strip>;
|
|
45
|
+
response: _$zod.ZodObject<{
|
|
46
|
+
enabled: _$zod.ZodBoolean;
|
|
47
|
+
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
48
|
+
}, _$zod_v4_core0.$strip>;
|
|
49
|
+
};
|
|
50
|
+
'autoLaunch.disable': {
|
|
51
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
52
|
+
response: _$zod.ZodObject<{
|
|
53
|
+
disabled: _$zod.ZodBoolean;
|
|
54
|
+
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
55
|
+
}, _$zod_v4_core0.$strip>;
|
|
56
|
+
};
|
|
57
|
+
'autoLaunch.getStatus': {
|
|
58
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
59
|
+
response: _$zod.ZodObject<{
|
|
60
|
+
enabled: _$zod.ZodBoolean;
|
|
61
|
+
supported: _$zod.ZodBoolean;
|
|
62
|
+
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
63
|
+
}, _$zod_v4_core0.$strip>;
|
|
64
|
+
};
|
|
65
|
+
}>, "platform">;
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region core/contracts/src/platform/schemas.d.ts
|
|
68
|
+
/**
|
|
69
|
+
* Platform capability schemas.
|
|
70
|
+
*
|
|
71
|
+
* Cross-platform bus subjects for OS-level capabilities. Each platform
|
|
72
|
+
* package (`platform-macos`, `platform-linux`, `platform-windows`)
|
|
73
|
+
* registers handlers for the capabilities it supports.
|
|
74
|
+
*
|
|
75
|
+
* Consumers interact exclusively through these subjects — never through
|
|
76
|
+
* OS APIs directly.
|
|
77
|
+
*/
|
|
78
|
+
declare const PlatformSchemas: {
|
|
79
|
+
/**
|
|
80
|
+
* Enable auto-launch at login.
|
|
81
|
+
*
|
|
82
|
+
* The platform provider registers the application as a login item
|
|
83
|
+
* (macOS), autostart entry (Linux), or Run key (Windows).
|
|
84
|
+
*
|
|
85
|
+
* Subject: `platform.autoLaunch.enable`
|
|
86
|
+
* Type: Request (RPC)
|
|
87
|
+
*/
|
|
88
|
+
'autoLaunch.enable': {
|
|
89
|
+
request: z.ZodObject<{
|
|
90
|
+
hidden: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
response: z.ZodObject<{
|
|
93
|
+
enabled: z.ZodBoolean;
|
|
94
|
+
error: z.ZodOptional<z.ZodString>;
|
|
95
|
+
}, z.core.$strip>;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Disable auto-launch at login.
|
|
99
|
+
*
|
|
100
|
+
* Subject: `platform.autoLaunch.disable`
|
|
101
|
+
* Type: Request (RPC)
|
|
102
|
+
*/
|
|
103
|
+
'autoLaunch.disable': {
|
|
104
|
+
request: z.ZodObject<{}, z.core.$strip>;
|
|
105
|
+
response: z.ZodObject<{
|
|
106
|
+
disabled: z.ZodBoolean;
|
|
107
|
+
error: z.ZodOptional<z.ZodString>;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Query auto-launch status.
|
|
112
|
+
*
|
|
113
|
+
* Subject: `platform.autoLaunch.getStatus`
|
|
114
|
+
* Type: Request (RPC)
|
|
115
|
+
*/
|
|
116
|
+
'autoLaunch.getStatus': {
|
|
117
|
+
request: z.ZodObject<{}, z.core.$strip>;
|
|
118
|
+
response: z.ZodObject<{
|
|
119
|
+
enabled: z.ZodBoolean;
|
|
120
|
+
supported: z.ZodBoolean;
|
|
121
|
+
error: z.ZodOptional<z.ZodString>;
|
|
122
|
+
}, z.core.$strip>;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
/** Request payload for `platform.autoLaunch.enable`. */
|
|
126
|
+
type AutoLaunchEnableRequest = z.infer<(typeof PlatformSchemas)['autoLaunch.enable']['request']>;
|
|
127
|
+
/** Response payload for `platform.autoLaunch.enable`. */
|
|
128
|
+
type AutoLaunchEnableResponse = z.infer<(typeof PlatformSchemas)['autoLaunch.enable']['response']>;
|
|
129
|
+
/** Response payload for `platform.autoLaunch.disable`. */
|
|
130
|
+
type AutoLaunchDisableResponse = z.infer<(typeof PlatformSchemas)['autoLaunch.disable']['response']>;
|
|
131
|
+
/** Response payload for `platform.autoLaunch.getStatus`. */
|
|
132
|
+
type AutoLaunchStatusResponse = z.infer<(typeof PlatformSchemas)['autoLaunch.getStatus']['response']>;
|
|
133
|
+
//#endregion
|
|
134
|
+
export { PlatformSchemas as a, AutoLaunchStatusResponse as i, AutoLaunchEnableRequest as n, PlatformNamespace as o, AutoLaunchEnableResponse as r, PlatformSubjects as s, AutoLaunchDisableResponse as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{z as e}from"zod";const t=e.lazy(()=>e.union([e.string(),e.number().finite(),e.boolean(),e.null(),e.array(t),e.record(e.string(),t)])),n=e.record(e.string(),t),r=n,i=e.record(e.string(),t);export{t as i,n,i as r,r as t};
|
|
@@ -0,0 +1,143 @@
|
|
|
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-MfJZ67e9.mjs";
|
|
2
|
+
import * as _$zod from "zod";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
5
|
+
import { CliArgManifest } from "@makaio/framework/contracts/extension";
|
|
6
|
+
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
7
|
+
|
|
8
|
+
//#region packages/kernel/src/cli/schema-introspection.d.ts
|
|
9
|
+
/**
|
|
10
|
+
* Convert a Zod object schema into serializable CLI argument manifests.
|
|
11
|
+
*
|
|
12
|
+
* Walks the schema's shape, reads `.meta()` from each field (unwrapping
|
|
13
|
+
* optional/default wrappers), and produces a {@link CliArgManifest} per field.
|
|
14
|
+
* This is the serialization counterpart to `schema-adapter.ts`'s registration
|
|
15
|
+
* logic — same introspection, different output format.
|
|
16
|
+
* @param schema - A Zod object schema defining a subcommand's arguments.
|
|
17
|
+
* @returns An array of serializable argument manifests.
|
|
18
|
+
*/
|
|
19
|
+
declare function toCliArgManifests(schema: z.ZodObject<z.ZodRawShape>): CliArgManifest[];
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region packages/kernel/src/cli/schema-utils.d.ts
|
|
22
|
+
/**
|
|
23
|
+
* Zod 4's `ZodRawShape[string]` resolves to the internal `$ZodType` which
|
|
24
|
+
* lacks public API methods (`.meta()`, `.isOptional()`). At runtime these
|
|
25
|
+
* methods exist — this type alias restores access.
|
|
26
|
+
*/
|
|
27
|
+
type FieldSchema = z.ZodType;
|
|
28
|
+
/**
|
|
29
|
+
* Extract `.meta()` from a Zod schema, unwrapping optionals/defaults.
|
|
30
|
+
*
|
|
31
|
+
* Recursively follows `unwrap()` so that meta attached to the inner schema
|
|
32
|
+
* of `z.optional(z.string().meta({…}))` is still found.
|
|
33
|
+
* @param schema - The Zod schema to inspect.
|
|
34
|
+
* @returns The resolved Zod global metadata or `undefined`.
|
|
35
|
+
*/
|
|
36
|
+
declare function getMeta(schema: FieldSchema): z.GlobalMeta | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Check if a Zod schema resolves to a boolean type, unwrapping wrappers
|
|
39
|
+
* recursively.
|
|
40
|
+
* @param schema - The Zod schema to inspect.
|
|
41
|
+
* @returns `true` if the schema represents a boolean value.
|
|
42
|
+
*/
|
|
43
|
+
declare function isBooleanSchema(schema: FieldSchema): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Check if a Zod schema resolves to a number type, unwrapping wrappers
|
|
46
|
+
* recursively.
|
|
47
|
+
* @param schema - The Zod schema to inspect.
|
|
48
|
+
* @returns `true` if the schema represents a numeric value.
|
|
49
|
+
*/
|
|
50
|
+
declare function isNumberSchema(schema: FieldSchema): boolean;
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region packages/kernel/src/bus/cli/namespace.d.ts
|
|
53
|
+
/** CLI bus namespace — `cli.*` subjects. */
|
|
54
|
+
declare const CliNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel:cli", {
|
|
55
|
+
listContributions: {
|
|
56
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
57
|
+
response: _$zod.ZodObject<{
|
|
58
|
+
contributions: _$zod.ZodArray<_$zod.ZodObject<{
|
|
59
|
+
name: _$zod.ZodString;
|
|
60
|
+
description: _$zod.ZodString;
|
|
61
|
+
subcommands: _$zod.ZodOptional<_$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodObject<{
|
|
62
|
+
name: _$zod.ZodString;
|
|
63
|
+
description: _$zod.ZodString;
|
|
64
|
+
args: _$zod.ZodOptional<_$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodObject<{
|
|
65
|
+
name: _$zod.ZodString;
|
|
66
|
+
description: _$zod.ZodString;
|
|
67
|
+
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
68
|
+
positional: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
69
|
+
short: _$zod.ZodOptional<_$zod.ZodString>;
|
|
70
|
+
type: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
71
|
+
string: "string";
|
|
72
|
+
number: "number";
|
|
73
|
+
boolean: "boolean";
|
|
74
|
+
}>>;
|
|
75
|
+
}, _$zod_v4_core0.$strip>>>>;
|
|
76
|
+
}, _$zod_v4_core0.$strip>>>>;
|
|
77
|
+
hasInteractive: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
78
|
+
canProvideBus: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
79
|
+
}, _$zod_v4_core0.$strip>>;
|
|
80
|
+
}, _$zod_v4_core0.$strip>;
|
|
81
|
+
};
|
|
82
|
+
execute: {
|
|
83
|
+
request: _$zod.ZodObject<{
|
|
84
|
+
command: _$zod.ZodString;
|
|
85
|
+
subcommand: _$zod.ZodString;
|
|
86
|
+
args: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
87
|
+
}, _$zod_v4_core0.$strip>;
|
|
88
|
+
response: _$zod.ZodObject<{
|
|
89
|
+
exitCode: _$zod.ZodNumber;
|
|
90
|
+
stdout: _$zod.ZodArray<_$zod.ZodString>;
|
|
91
|
+
stderr: _$zod.ZodArray<_$zod.ZodString>;
|
|
92
|
+
}, _$zod_v4_core0.$strip>;
|
|
93
|
+
};
|
|
94
|
+
}>;
|
|
95
|
+
/**
|
|
96
|
+
* Typed subjects for CLI RPC operations.
|
|
97
|
+
*
|
|
98
|
+
* - `CliRpcSubjects.listContributions` — discover extension CLI commands
|
|
99
|
+
* - `CliRpcSubjects.execute` — run a subcommand on the server
|
|
100
|
+
*/
|
|
101
|
+
declare const CliRpcSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"kernel:cli", {
|
|
102
|
+
listContributions: {
|
|
103
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
104
|
+
response: _$zod.ZodObject<{
|
|
105
|
+
contributions: _$zod.ZodArray<_$zod.ZodObject<{
|
|
106
|
+
name: _$zod.ZodString;
|
|
107
|
+
description: _$zod.ZodString;
|
|
108
|
+
subcommands: _$zod.ZodOptional<_$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodObject<{
|
|
109
|
+
name: _$zod.ZodString;
|
|
110
|
+
description: _$zod.ZodString;
|
|
111
|
+
args: _$zod.ZodOptional<_$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodObject<{
|
|
112
|
+
name: _$zod.ZodString;
|
|
113
|
+
description: _$zod.ZodString;
|
|
114
|
+
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
115
|
+
positional: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
116
|
+
short: _$zod.ZodOptional<_$zod.ZodString>;
|
|
117
|
+
type: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
118
|
+
string: "string";
|
|
119
|
+
number: "number";
|
|
120
|
+
boolean: "boolean";
|
|
121
|
+
}>>;
|
|
122
|
+
}, _$zod_v4_core0.$strip>>>>;
|
|
123
|
+
}, _$zod_v4_core0.$strip>>>>;
|
|
124
|
+
hasInteractive: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
125
|
+
canProvideBus: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
126
|
+
}, _$zod_v4_core0.$strip>>;
|
|
127
|
+
}, _$zod_v4_core0.$strip>;
|
|
128
|
+
};
|
|
129
|
+
execute: {
|
|
130
|
+
request: _$zod.ZodObject<{
|
|
131
|
+
command: _$zod.ZodString;
|
|
132
|
+
subcommand: _$zod.ZodString;
|
|
133
|
+
args: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
134
|
+
}, _$zod_v4_core0.$strip>;
|
|
135
|
+
response: _$zod.ZodObject<{
|
|
136
|
+
exitCode: _$zod.ZodNumber;
|
|
137
|
+
stdout: _$zod.ZodArray<_$zod.ZodString>;
|
|
138
|
+
stderr: _$zod.ZodArray<_$zod.ZodString>;
|
|
139
|
+
}, _$zod_v4_core0.$strip>;
|
|
140
|
+
};
|
|
141
|
+
}>, "kernel:cli">;
|
|
142
|
+
//#endregion
|
|
143
|
+
export { ALWAYS_PROCEED, type BeforeRunContext, type BeforeRunResult, type CliContribution, CliNamespace, CliRpcSubjects, type CliSubcommandDefinition, type CliSubcommandEntry, type CommandContext, type EmbeddedBusHandle, type FieldSchema, INTERACTIVE_SUBCOMMAND, type OutputWriter, type ProvideBusContext, defineCliSubcommand, getMeta, isBooleanSchema, isNumberSchema, requireBus, toCliArgManifests };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,i as t,n,o as r,r as i,t as a}from"../../schema-introspection-Dn1jWQs1.mjs";const o=`__interactive__`,s={proceed:!0};function c(e){if(!e.bus)throw Error(`This command requires a running Makaio server.`);return e.bus}function l(e,t,n,r){return{name:e,description:t,schema:n,handler:r}}export{s as ALWAYS_PROCEED,e as CliNamespace,r as CliRpcSubjects,o as INTERACTIVE_SUBCOMMAND,l as defineCliSubcommand,n as getMeta,i as isBooleanSchema,t as isNumberSchema,c as requireBus,a as toCliArgManifests};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region packages/kernel/src/bus/cli/schemas.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* CLI namespace schema definitions.
|
|
6
|
+
*
|
|
7
|
+
* Both subjects are request/response RPCs — no fire-and-forget events.
|
|
8
|
+
*/
|
|
9
|
+
declare const CliSchemas: {
|
|
10
|
+
/**
|
|
11
|
+
* List all CLI contributions from loaded extensions.
|
|
12
|
+
*
|
|
13
|
+
* Returns CLI manifest objects (serializable metadata only, no
|
|
14
|
+
* handler code). The CLI uses this to register remote commands and
|
|
15
|
+
* generate `--help` output.
|
|
16
|
+
*/
|
|
17
|
+
listContributions: {
|
|
18
|
+
request: z.ZodObject<{}, z.core.$strip>;
|
|
19
|
+
response: z.ZodObject<{
|
|
20
|
+
contributions: z.ZodArray<z.ZodObject<{
|
|
21
|
+
name: z.ZodString;
|
|
22
|
+
description: z.ZodString;
|
|
23
|
+
subcommands: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
24
|
+
name: z.ZodString;
|
|
25
|
+
description: z.ZodString;
|
|
26
|
+
args: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
27
|
+
name: z.ZodString;
|
|
28
|
+
description: z.ZodString;
|
|
29
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
positional: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
short: z.ZodOptional<z.ZodString>;
|
|
32
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
33
|
+
string: "string";
|
|
34
|
+
number: "number";
|
|
35
|
+
boolean: "boolean";
|
|
36
|
+
}>>;
|
|
37
|
+
}, z.core.$strip>>>>;
|
|
38
|
+
}, z.core.$strip>>>>;
|
|
39
|
+
hasInteractive: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
canProvideBus: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Execute a CLI subcommand on the server.
|
|
46
|
+
*
|
|
47
|
+
* The server validates args through the subcommand's Zod schema, runs the
|
|
48
|
+
* handler with a buffering output writer, and returns captured output.
|
|
49
|
+
*/
|
|
50
|
+
execute: {
|
|
51
|
+
request: z.ZodObject<{
|
|
52
|
+
command: z.ZodString;
|
|
53
|
+
subcommand: z.ZodString;
|
|
54
|
+
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
response: z.ZodObject<{
|
|
57
|
+
exitCode: z.ZodNumber;
|
|
58
|
+
stdout: z.ZodArray<z.ZodString>;
|
|
59
|
+
stderr: z.ZodArray<z.ZodString>;
|
|
60
|
+
}, z.core.$strip>;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
//#endregion
|
|
64
|
+
export { CliSchemas };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"../../schemas-jFe1AuI-.mjs";export{e as CliSchemas};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-D90OmGmV.mjs";
|
|
2
|
+
export { ContributionProcessor, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, coalesceExtensionOverrides, filterEligibleExtensions };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,r as t,t as n}from"../../extension-C-4BHMRI.mjs";export{n as ExtensionCoordinator,e as coalesceExtensionOverrides,t as filterEligibleExtensions};
|