@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,412 @@
|
|
|
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/native-session-supervisor/namespace.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Native Session Supervisor namespace definition.
|
|
9
|
+
*
|
|
10
|
+
* Defines the global `native-session-supervisor.*` subjects for launching,
|
|
11
|
+
* attaching to, stopping, and querying supervised native process runtimes.
|
|
12
|
+
* @packageDocumentation
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* MakaioBus namespace definition under the `native-session-supervisor` prefix.
|
|
16
|
+
*/
|
|
17
|
+
declare const NativeSessionSupervisorNamespace: _$_makaio_core0.BusNamespaceDefinition<"native-session-supervisor", {
|
|
18
|
+
launch: {
|
|
19
|
+
request: _$zod.ZodObject<{
|
|
20
|
+
clientId: _$zod.ZodString;
|
|
21
|
+
cwd: _$zod.ZodString;
|
|
22
|
+
command: _$zod.ZodString;
|
|
23
|
+
args: _$zod.ZodArray<_$zod.ZodString>;
|
|
24
|
+
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
25
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
26
|
+
clientProfileName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
27
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
28
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
29
|
+
}, _$zod_v4_core0.$strip>;
|
|
30
|
+
response: _$zod.ZodObject<{
|
|
31
|
+
supervisorSessionId: _$zod.ZodString;
|
|
32
|
+
pid: _$zod.ZodNumber;
|
|
33
|
+
}, _$zod_v4_core0.$strip>;
|
|
34
|
+
};
|
|
35
|
+
attach: {
|
|
36
|
+
request: _$zod.ZodUnion<readonly [_$zod.ZodObject<{
|
|
37
|
+
supervisorSessionId: _$zod.ZodString;
|
|
38
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
39
|
+
sessionId: _$zod.ZodString;
|
|
40
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
41
|
+
adapterSessionId: _$zod.ZodString;
|
|
42
|
+
}, _$zod_v4_core0.$strict>]>;
|
|
43
|
+
response: _$zod.ZodObject<{
|
|
44
|
+
success: _$zod.ZodBoolean;
|
|
45
|
+
supervisorSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
46
|
+
pid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
47
|
+
terminalAttachment: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
48
|
+
canAttach: _$zod.ZodBoolean;
|
|
49
|
+
}, _$zod_v4_core0.$strip>>;
|
|
50
|
+
}, _$zod_v4_core0.$strip>;
|
|
51
|
+
};
|
|
52
|
+
stop: {
|
|
53
|
+
request: _$zod.ZodObject<{
|
|
54
|
+
supervisorSessionId: _$zod.ZodString;
|
|
55
|
+
signal: _$zod.ZodOptional<_$zod.ZodString>;
|
|
56
|
+
}, _$zod_v4_core0.$strip>;
|
|
57
|
+
response: _$zod.ZodObject<{
|
|
58
|
+
success: _$zod.ZodBoolean;
|
|
59
|
+
}, _$zod_v4_core0.$strip>;
|
|
60
|
+
};
|
|
61
|
+
status: {
|
|
62
|
+
request: _$zod.ZodUnion<readonly [_$zod.ZodObject<{}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
63
|
+
supervisorSessionId: _$zod.ZodString;
|
|
64
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
65
|
+
sessionId: _$zod.ZodString;
|
|
66
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
67
|
+
adapterSessionId: _$zod.ZodString;
|
|
68
|
+
}, _$zod_v4_core0.$strict>]>;
|
|
69
|
+
response: _$zod.ZodObject<{
|
|
70
|
+
runtimes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
71
|
+
supervisorSessionId: _$zod.ZodString;
|
|
72
|
+
clientId: _$zod.ZodString;
|
|
73
|
+
pid: _$zod.ZodNullable<_$zod.ZodNumber>;
|
|
74
|
+
status: _$zod.ZodEnum<{
|
|
75
|
+
unknown: "unknown";
|
|
76
|
+
running: "running";
|
|
77
|
+
stopped: "stopped";
|
|
78
|
+
exited: "exited";
|
|
79
|
+
}>;
|
|
80
|
+
cwd: _$zod.ZodString;
|
|
81
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
82
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
83
|
+
startedAt: _$zod.ZodNumber;
|
|
84
|
+
stoppedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
85
|
+
}, _$zod_v4_core0.$strip>>;
|
|
86
|
+
}, _$zod_v4_core0.$strip>;
|
|
87
|
+
};
|
|
88
|
+
}>;
|
|
89
|
+
/**
|
|
90
|
+
* Typed bus subjects for the native-session-supervisor namespace.
|
|
91
|
+
* @example
|
|
92
|
+
* ```typescript
|
|
93
|
+
* // Launch a new supervised runtime
|
|
94
|
+
* bus.emit(NativeSessionSupervisorSubjects.launch, {
|
|
95
|
+
* clientId: 'claude-code',
|
|
96
|
+
* cwd: '/home/user/project',
|
|
97
|
+
* command: 'claude',
|
|
98
|
+
* args: [],
|
|
99
|
+
* });
|
|
100
|
+
*
|
|
101
|
+
* // Query all running runtimes
|
|
102
|
+
* bus.emit(NativeSessionSupervisorSubjects.status, {});
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
declare const NativeSessionSupervisorSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"native-session-supervisor", {
|
|
106
|
+
launch: {
|
|
107
|
+
request: _$zod.ZodObject<{
|
|
108
|
+
clientId: _$zod.ZodString;
|
|
109
|
+
cwd: _$zod.ZodString;
|
|
110
|
+
command: _$zod.ZodString;
|
|
111
|
+
args: _$zod.ZodArray<_$zod.ZodString>;
|
|
112
|
+
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
113
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
114
|
+
clientProfileName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
115
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
116
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
117
|
+
}, _$zod_v4_core0.$strip>;
|
|
118
|
+
response: _$zod.ZodObject<{
|
|
119
|
+
supervisorSessionId: _$zod.ZodString;
|
|
120
|
+
pid: _$zod.ZodNumber;
|
|
121
|
+
}, _$zod_v4_core0.$strip>;
|
|
122
|
+
};
|
|
123
|
+
attach: {
|
|
124
|
+
request: _$zod.ZodUnion<readonly [_$zod.ZodObject<{
|
|
125
|
+
supervisorSessionId: _$zod.ZodString;
|
|
126
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
127
|
+
sessionId: _$zod.ZodString;
|
|
128
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
129
|
+
adapterSessionId: _$zod.ZodString;
|
|
130
|
+
}, _$zod_v4_core0.$strict>]>;
|
|
131
|
+
response: _$zod.ZodObject<{
|
|
132
|
+
success: _$zod.ZodBoolean;
|
|
133
|
+
supervisorSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
134
|
+
pid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
135
|
+
terminalAttachment: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
136
|
+
canAttach: _$zod.ZodBoolean;
|
|
137
|
+
}, _$zod_v4_core0.$strip>>;
|
|
138
|
+
}, _$zod_v4_core0.$strip>;
|
|
139
|
+
};
|
|
140
|
+
stop: {
|
|
141
|
+
request: _$zod.ZodObject<{
|
|
142
|
+
supervisorSessionId: _$zod.ZodString;
|
|
143
|
+
signal: _$zod.ZodOptional<_$zod.ZodString>;
|
|
144
|
+
}, _$zod_v4_core0.$strip>;
|
|
145
|
+
response: _$zod.ZodObject<{
|
|
146
|
+
success: _$zod.ZodBoolean;
|
|
147
|
+
}, _$zod_v4_core0.$strip>;
|
|
148
|
+
};
|
|
149
|
+
status: {
|
|
150
|
+
request: _$zod.ZodUnion<readonly [_$zod.ZodObject<{}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
151
|
+
supervisorSessionId: _$zod.ZodString;
|
|
152
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
153
|
+
sessionId: _$zod.ZodString;
|
|
154
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
155
|
+
adapterSessionId: _$zod.ZodString;
|
|
156
|
+
}, _$zod_v4_core0.$strict>]>;
|
|
157
|
+
response: _$zod.ZodObject<{
|
|
158
|
+
runtimes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
159
|
+
supervisorSessionId: _$zod.ZodString;
|
|
160
|
+
clientId: _$zod.ZodString;
|
|
161
|
+
pid: _$zod.ZodNullable<_$zod.ZodNumber>;
|
|
162
|
+
status: _$zod.ZodEnum<{
|
|
163
|
+
unknown: "unknown";
|
|
164
|
+
running: "running";
|
|
165
|
+
stopped: "stopped";
|
|
166
|
+
exited: "exited";
|
|
167
|
+
}>;
|
|
168
|
+
cwd: _$zod.ZodString;
|
|
169
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
170
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
171
|
+
startedAt: _$zod.ZodNumber;
|
|
172
|
+
stoppedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
173
|
+
}, _$zod_v4_core0.$strip>>;
|
|
174
|
+
}, _$zod_v4_core0.$strip>;
|
|
175
|
+
};
|
|
176
|
+
}>, "native-session-supervisor">;
|
|
177
|
+
//#endregion
|
|
178
|
+
//#region core/contracts/src/native-session-supervisor/schemas.d.ts
|
|
179
|
+
/**
|
|
180
|
+
* Lifecycle status of a supervised runtime process.
|
|
181
|
+
*
|
|
182
|
+
* - `'running'` — the process is currently active.
|
|
183
|
+
* - `'stopped'` — the process was explicitly stopped via a `stop` request.
|
|
184
|
+
* - `'exited'` — the process exited on its own (zero or non-zero exit code).
|
|
185
|
+
* - `'unknown'` — the supervisor has no current status information.
|
|
186
|
+
*/
|
|
187
|
+
declare const SupervisorSessionStatusSchema: z.ZodEnum<{
|
|
188
|
+
unknown: "unknown";
|
|
189
|
+
running: "running";
|
|
190
|
+
stopped: "stopped";
|
|
191
|
+
exited: "exited";
|
|
192
|
+
}>;
|
|
193
|
+
type SupervisorSessionStatus = z.infer<typeof SupervisorSessionStatusSchema>;
|
|
194
|
+
/**
|
|
195
|
+
* Request and response schemas for `native-session-supervisor.launch`.
|
|
196
|
+
*
|
|
197
|
+
* Launches a new supervised native process and returns a stable supervisor
|
|
198
|
+
* session ID together with the OS process ID of the spawned process.
|
|
199
|
+
*
|
|
200
|
+
* Subject: `native-session-supervisor.launch`
|
|
201
|
+
* Type: Request (RPC)
|
|
202
|
+
*/
|
|
203
|
+
declare const NativeSupervisorLaunchSchema: {
|
|
204
|
+
request: z.ZodObject<{
|
|
205
|
+
clientId: z.ZodString;
|
|
206
|
+
cwd: z.ZodString;
|
|
207
|
+
command: z.ZodString;
|
|
208
|
+
args: z.ZodArray<z.ZodString>;
|
|
209
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
210
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
211
|
+
clientProfileName: z.ZodOptional<z.ZodString>;
|
|
212
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
213
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
response: z.ZodObject<{
|
|
216
|
+
supervisorSessionId: z.ZodString;
|
|
217
|
+
pid: z.ZodNumber;
|
|
218
|
+
}, z.core.$strip>;
|
|
219
|
+
};
|
|
220
|
+
type NativeSupervisorLaunchRequest = z.infer<typeof NativeSupervisorLaunchSchema.request>;
|
|
221
|
+
type NativeSupervisorLaunchResponse = z.infer<typeof NativeSupervisorLaunchSchema.response>;
|
|
222
|
+
/**
|
|
223
|
+
* Request and response schemas for `native-session-supervisor.attach`.
|
|
224
|
+
*
|
|
225
|
+
* Requests attachment to an already-supervised runtime, identified by one of
|
|
226
|
+
* the three available locators.
|
|
227
|
+
*
|
|
228
|
+
* Subject: `native-session-supervisor.attach`
|
|
229
|
+
* Type: Request (RPC)
|
|
230
|
+
*/
|
|
231
|
+
declare const NativeSupervisorAttachSchema: {
|
|
232
|
+
request: z.ZodUnion<readonly [z.ZodObject<{
|
|
233
|
+
supervisorSessionId: z.ZodString;
|
|
234
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
235
|
+
sessionId: z.ZodString;
|
|
236
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
237
|
+
adapterSessionId: z.ZodString;
|
|
238
|
+
}, z.core.$strict>]>;
|
|
239
|
+
response: z.ZodObject<{
|
|
240
|
+
success: z.ZodBoolean;
|
|
241
|
+
supervisorSessionId: z.ZodOptional<z.ZodString>;
|
|
242
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
243
|
+
terminalAttachment: z.ZodOptional<z.ZodObject<{
|
|
244
|
+
canAttach: z.ZodBoolean;
|
|
245
|
+
}, z.core.$strip>>;
|
|
246
|
+
}, z.core.$strip>;
|
|
247
|
+
};
|
|
248
|
+
type NativeSupervisorAttachRequest = z.infer<typeof NativeSupervisorAttachSchema.request>;
|
|
249
|
+
type NativeSupervisorAttachResponse = z.infer<typeof NativeSupervisorAttachSchema.response>;
|
|
250
|
+
/**
|
|
251
|
+
* Request and response schemas for `native-session-supervisor.stop`.
|
|
252
|
+
*
|
|
253
|
+
* Stops a supervised runtime process identified by its supervisor session ID.
|
|
254
|
+
*
|
|
255
|
+
* Subject: `native-session-supervisor.stop`
|
|
256
|
+
* Type: Request (RPC)
|
|
257
|
+
*/
|
|
258
|
+
declare const NativeSupervisorStopSchema: {
|
|
259
|
+
request: z.ZodObject<{
|
|
260
|
+
supervisorSessionId: z.ZodString;
|
|
261
|
+
signal: z.ZodOptional<z.ZodString>;
|
|
262
|
+
}, z.core.$strip>;
|
|
263
|
+
response: z.ZodObject<{
|
|
264
|
+
success: z.ZodBoolean;
|
|
265
|
+
}, z.core.$strip>;
|
|
266
|
+
};
|
|
267
|
+
type NativeSupervisorStopRequest = z.infer<typeof NativeSupervisorStopSchema.request>;
|
|
268
|
+
type NativeSupervisorStopResponse = z.infer<typeof NativeSupervisorStopSchema.response>;
|
|
269
|
+
/**
|
|
270
|
+
* A snapshot of a single supervised runtime returned by the status query.
|
|
271
|
+
*/
|
|
272
|
+
declare const SupervisorRuntimeSnapshotSchema: z.ZodObject<{
|
|
273
|
+
supervisorSessionId: z.ZodString;
|
|
274
|
+
clientId: z.ZodString;
|
|
275
|
+
pid: z.ZodNullable<z.ZodNumber>;
|
|
276
|
+
status: z.ZodEnum<{
|
|
277
|
+
unknown: "unknown";
|
|
278
|
+
running: "running";
|
|
279
|
+
stopped: "stopped";
|
|
280
|
+
exited: "exited";
|
|
281
|
+
}>;
|
|
282
|
+
cwd: z.ZodString;
|
|
283
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
284
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
285
|
+
startedAt: z.ZodNumber;
|
|
286
|
+
stoppedAt: z.ZodOptional<z.ZodNumber>;
|
|
287
|
+
}, z.core.$strip>;
|
|
288
|
+
type SupervisorRuntimeSnapshot = z.infer<typeof SupervisorRuntimeSnapshotSchema>;
|
|
289
|
+
/**
|
|
290
|
+
* Request and response schemas for `native-session-supervisor.status`.
|
|
291
|
+
*
|
|
292
|
+
* Queries status for one or all supervised runtimes.
|
|
293
|
+
*
|
|
294
|
+
* The request accepts exactly zero or one locator field:
|
|
295
|
+
* - No locator — returns all known runtimes.
|
|
296
|
+
* - One locator — returns the single runtime matching that field.
|
|
297
|
+
*
|
|
298
|
+
* Providing more than one locator is rejected by the schema so that callers
|
|
299
|
+
* cannot rely on an undocumented priority ordering between fields.
|
|
300
|
+
*
|
|
301
|
+
* Subject: `native-session-supervisor.status`
|
|
302
|
+
* Type: Request (RPC)
|
|
303
|
+
*/
|
|
304
|
+
declare const NativeSupervisorStatusSchema: {
|
|
305
|
+
request: z.ZodUnion<readonly [z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
306
|
+
supervisorSessionId: z.ZodString;
|
|
307
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
308
|
+
sessionId: z.ZodString;
|
|
309
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
310
|
+
adapterSessionId: z.ZodString;
|
|
311
|
+
}, z.core.$strict>]>;
|
|
312
|
+
response: z.ZodObject<{
|
|
313
|
+
runtimes: z.ZodArray<z.ZodObject<{
|
|
314
|
+
supervisorSessionId: z.ZodString;
|
|
315
|
+
clientId: z.ZodString;
|
|
316
|
+
pid: z.ZodNullable<z.ZodNumber>;
|
|
317
|
+
status: z.ZodEnum<{
|
|
318
|
+
unknown: "unknown";
|
|
319
|
+
running: "running";
|
|
320
|
+
stopped: "stopped";
|
|
321
|
+
exited: "exited";
|
|
322
|
+
}>;
|
|
323
|
+
cwd: z.ZodString;
|
|
324
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
325
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
326
|
+
startedAt: z.ZodNumber;
|
|
327
|
+
stoppedAt: z.ZodOptional<z.ZodNumber>;
|
|
328
|
+
}, z.core.$strip>>;
|
|
329
|
+
}, z.core.$strip>;
|
|
330
|
+
};
|
|
331
|
+
type NativeSupervisorStatusRequest = z.infer<typeof NativeSupervisorStatusSchema.request>;
|
|
332
|
+
type NativeSupervisorStatusResponse = z.infer<typeof NativeSupervisorStatusSchema.response>;
|
|
333
|
+
/**
|
|
334
|
+
* Native Session Supervisor namespace schemas.
|
|
335
|
+
*
|
|
336
|
+
* Maps dot-notation subject keys to their request/response schemas.
|
|
337
|
+
* Each key is prefixed with `native-session-supervisor.` on the bus.
|
|
338
|
+
*/
|
|
339
|
+
declare const NativeSessionSupervisorSchemas: {
|
|
340
|
+
launch: {
|
|
341
|
+
request: z.ZodObject<{
|
|
342
|
+
clientId: z.ZodString;
|
|
343
|
+
cwd: z.ZodString;
|
|
344
|
+
command: z.ZodString;
|
|
345
|
+
args: z.ZodArray<z.ZodString>;
|
|
346
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
347
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
348
|
+
clientProfileName: z.ZodOptional<z.ZodString>;
|
|
349
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
350
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
351
|
+
}, z.core.$strip>;
|
|
352
|
+
response: z.ZodObject<{
|
|
353
|
+
supervisorSessionId: z.ZodString;
|
|
354
|
+
pid: z.ZodNumber;
|
|
355
|
+
}, z.core.$strip>;
|
|
356
|
+
};
|
|
357
|
+
attach: {
|
|
358
|
+
request: z.ZodUnion<readonly [z.ZodObject<{
|
|
359
|
+
supervisorSessionId: z.ZodString;
|
|
360
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
361
|
+
sessionId: z.ZodString;
|
|
362
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
363
|
+
adapterSessionId: z.ZodString;
|
|
364
|
+
}, z.core.$strict>]>;
|
|
365
|
+
response: z.ZodObject<{
|
|
366
|
+
success: z.ZodBoolean;
|
|
367
|
+
supervisorSessionId: z.ZodOptional<z.ZodString>;
|
|
368
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
369
|
+
terminalAttachment: z.ZodOptional<z.ZodObject<{
|
|
370
|
+
canAttach: z.ZodBoolean;
|
|
371
|
+
}, z.core.$strip>>;
|
|
372
|
+
}, z.core.$strip>;
|
|
373
|
+
};
|
|
374
|
+
stop: {
|
|
375
|
+
request: z.ZodObject<{
|
|
376
|
+
supervisorSessionId: z.ZodString;
|
|
377
|
+
signal: z.ZodOptional<z.ZodString>;
|
|
378
|
+
}, z.core.$strip>;
|
|
379
|
+
response: z.ZodObject<{
|
|
380
|
+
success: z.ZodBoolean;
|
|
381
|
+
}, z.core.$strip>;
|
|
382
|
+
};
|
|
383
|
+
status: {
|
|
384
|
+
request: z.ZodUnion<readonly [z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
385
|
+
supervisorSessionId: z.ZodString;
|
|
386
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
387
|
+
sessionId: z.ZodString;
|
|
388
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
389
|
+
adapterSessionId: z.ZodString;
|
|
390
|
+
}, z.core.$strict>]>;
|
|
391
|
+
response: z.ZodObject<{
|
|
392
|
+
runtimes: z.ZodArray<z.ZodObject<{
|
|
393
|
+
supervisorSessionId: z.ZodString;
|
|
394
|
+
clientId: z.ZodString;
|
|
395
|
+
pid: z.ZodNullable<z.ZodNumber>;
|
|
396
|
+
status: z.ZodEnum<{
|
|
397
|
+
unknown: "unknown";
|
|
398
|
+
running: "running";
|
|
399
|
+
stopped: "stopped";
|
|
400
|
+
exited: "exited";
|
|
401
|
+
}>;
|
|
402
|
+
cwd: z.ZodString;
|
|
403
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
404
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
405
|
+
startedAt: z.ZodNumber;
|
|
406
|
+
stoppedAt: z.ZodOptional<z.ZodNumber>;
|
|
407
|
+
}, z.core.$strip>>;
|
|
408
|
+
}, z.core.$strip>;
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
//#endregion
|
|
412
|
+
export { SupervisorSessionStatusSchema as _, NativeSupervisorLaunchRequest as a, NativeSupervisorStatusRequest as c, NativeSupervisorStopRequest as d, NativeSupervisorStopResponse as f, SupervisorSessionStatus as g, SupervisorRuntimeSnapshotSchema as h, NativeSupervisorAttachSchema as i, NativeSupervisorStatusResponse as l, SupervisorRuntimeSnapshot as m, NativeSupervisorAttachRequest as n, NativeSupervisorLaunchResponse as o, NativeSupervisorStopSchema as p, NativeSupervisorAttachResponse as r, NativeSupervisorLaunchSchema as s, NativeSessionSupervisorSchemas as t, NativeSupervisorStatusSchema as u, NativeSessionSupervisorNamespace as v, NativeSessionSupervisorSubjects as y };
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { IMakaioBus } from "@makaio/framework/bus";
|
|
2
|
+
|
|
3
|
+
//#region packages/kernel/src/providers/storage.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Cleanup handle returned by storage registration.
|
|
6
|
+
*/
|
|
7
|
+
interface StorageCleanup {
|
|
8
|
+
/** Unregister all storage handlers from the bus. */
|
|
9
|
+
cleanup: () => void;
|
|
10
|
+
/** Database handle, if this provider uses a database (e.g., Drizzle). */
|
|
11
|
+
db?: unknown;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Platform-specific storage backend.
|
|
15
|
+
* Registers bus handlers that respond to storage namespace subjects.
|
|
16
|
+
*/
|
|
17
|
+
interface StorageProvider {
|
|
18
|
+
/**
|
|
19
|
+
* Register storage handlers on the bus.
|
|
20
|
+
* Called before app.start() in the composition root.
|
|
21
|
+
* @param bus - Bus instance to register handlers on
|
|
22
|
+
* @param machineId - Machine identifier for storage scoping
|
|
23
|
+
*/
|
|
24
|
+
registerHandlers(bus: IMakaioBus, machineId: string): Promise<StorageCleanup>;
|
|
25
|
+
/** Release storage resources (close DB connections, etc.). */
|
|
26
|
+
dispose(): Promise<void>;
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region packages/kernel/src/providers/transport.d.ts
|
|
30
|
+
/**
|
|
31
|
+
* Platform-specific bus transport (WebSocket server, client, none).
|
|
32
|
+
*/
|
|
33
|
+
interface TransportProvider {
|
|
34
|
+
/**
|
|
35
|
+
* Attach transport to the bus.
|
|
36
|
+
*
|
|
37
|
+
* For server transports, the HTTP server and Hono app are passed via
|
|
38
|
+
* constructor options — the provider only wires the WebSocket upgrade
|
|
39
|
+
* handler onto them.
|
|
40
|
+
* @param bus - Bus instance to attach transport to.
|
|
41
|
+
* @param machineId - Machine identifier for transport identification.
|
|
42
|
+
*/
|
|
43
|
+
connect(bus: IMakaioBus, machineId: string): Promise<void>;
|
|
44
|
+
/** Disconnect and release transport resources. */
|
|
45
|
+
disconnect(): Promise<void>;
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region packages/kernel/src/providers/identity.d.ts
|
|
49
|
+
/**
|
|
50
|
+
* Machine identity resolved by the platform.
|
|
51
|
+
*/
|
|
52
|
+
interface MachineIdentity {
|
|
53
|
+
/** Unique machine identifier. */
|
|
54
|
+
readonly machineId: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Platform-specific machine identity resolution.
|
|
58
|
+
* Node: persisted in ~/.makaio/keys/
|
|
59
|
+
* Container/Framework: ephemeral crypto.randomUUID()
|
|
60
|
+
*/
|
|
61
|
+
interface IdentityProvider {
|
|
62
|
+
/** Load or generate the machine identity. */
|
|
63
|
+
load(): Promise<MachineIdentity>;
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region packages/kernel/src/providers/memory-storage.d.ts
|
|
67
|
+
/**
|
|
68
|
+
* No-op storage provider.
|
|
69
|
+
*
|
|
70
|
+
* Satisfies the {@link StorageProvider} interface when no platform-specific storage
|
|
71
|
+
* (e.g., Drizzle) is needed.
|
|
72
|
+
*/
|
|
73
|
+
declare class MemoryStorageProvider implements StorageProvider {
|
|
74
|
+
/**
|
|
75
|
+
* Returns a no-op cleanup handle.
|
|
76
|
+
*
|
|
77
|
+
* In-memory bus handler registration is performed by individual service
|
|
78
|
+
* storage factories before service construction.
|
|
79
|
+
* @param _bus - Unused bus instance
|
|
80
|
+
* @param _machineId - Unused machine identifier
|
|
81
|
+
* @returns A no-op cleanup handle
|
|
82
|
+
*/
|
|
83
|
+
registerHandlers(_bus: IMakaioBus, _machineId: string): Promise<StorageCleanup>;
|
|
84
|
+
/** Nothing to dispose for in-memory storage. */
|
|
85
|
+
dispose(): Promise<void>;
|
|
86
|
+
}
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region packages/kernel/src/providers/no-transport.d.ts
|
|
89
|
+
/**
|
|
90
|
+
* No-op transport provider for in-process-only bus usage.
|
|
91
|
+
* Used by framework users who don't need cross-process communication.
|
|
92
|
+
*/
|
|
93
|
+
declare class NoTransportProvider implements TransportProvider {
|
|
94
|
+
/**
|
|
95
|
+
* No-op — no transport to connect.
|
|
96
|
+
* @param _bus - Unused bus instance.
|
|
97
|
+
* @param _machineId - Unused machine identifier.
|
|
98
|
+
*/
|
|
99
|
+
connect(_bus: IMakaioBus, _machineId: string): Promise<void>;
|
|
100
|
+
/** Nothing to disconnect. */
|
|
101
|
+
disconnect(): Promise<void>;
|
|
102
|
+
}
|
|
103
|
+
//#endregion
|
|
104
|
+
//#region packages/kernel/src/providers/ephemeral-identity.d.ts
|
|
105
|
+
/**
|
|
106
|
+
* Ephemeral identity provider — generates a new random UUID on each load.
|
|
107
|
+
* Used by framework users and containers that don't persist machine identity.
|
|
108
|
+
*/
|
|
109
|
+
declare class EphemeralIdentityProvider implements IdentityProvider {
|
|
110
|
+
/**
|
|
111
|
+
* Generate a fresh random UUID as the machine identity.
|
|
112
|
+
* @returns A new ephemeral machine identity
|
|
113
|
+
*/
|
|
114
|
+
load(): Promise<MachineIdentity>;
|
|
115
|
+
}
|
|
116
|
+
//#endregion
|
|
117
|
+
export { MachineIdentity as a, StorageProvider as c, IdentityProvider as i, NoTransportProvider as n, TransportProvider as o, MemoryStorageProvider as r, StorageCleanup as s, EphemeralIdentityProvider as t };
|