@makaio/framework 1.0.0-dev-1779046984397
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/LICENSE +21 -0
- package/README.md +363 -0
- package/dist/account-identity-Ce1Bwrqi.mjs +1 -0
- package/dist/adapter-CbyjCE2d.mjs +1 -0
- package/dist/adapters/acp-client/index.d.mts +209 -0
- package/dist/adapters/acp-client/index.mjs +1 -0
- package/dist/adapters/config/index.d.mts +429 -0
- package/dist/adapters/config/index.mjs +1 -0
- package/dist/adapters/index.d.mts +4175 -0
- package/dist/adapters/index.mjs +11 -0
- package/dist/adapters/node.d.mts +263 -0
- package/dist/adapters/node.mjs +4 -0
- package/dist/adapters/stream-session/index.d.mts +1384 -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/base-orchestrator-9z8TuA5a.d.mts +772 -0
- package/dist/bus/index.d.mts +3331 -0
- package/dist/bus/index.mjs +1 -0
- package/dist/bus-B1seC4M_.mjs +2 -0
- package/dist/capability-service-tnpR_TaB.mjs +1 -0
- package/dist/chunk-Dc06z0qk.mjs +1 -0
- package/dist/chunk-cpUYaJdV.mjs +1 -0
- package/dist/cleanEnvForAdapter-DvcIGXTG.mjs +1 -0
- package/dist/client-Dh4x4GQN.mjs +1 -0
- package/dist/clients/index.d.mts +2786 -0
- package/dist/clients/index.mjs +1 -0
- package/dist/clients-namespace-B0xAPZ6J.d.mts +332 -0
- package/dist/config-namespace-DLSs83zr.d.mts +638 -0
- package/dist/config-namespace-MJT8P0Ud.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/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 +3 -0
- package/dist/contracts/extension/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 +12665 -0
- package/dist/contracts/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/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 +1001 -0
- package/dist/core/index.mjs +1 -0
- package/dist/credential-ref-DLCsoKVZ.mjs +1 -0
- package/dist/cursor-storage-DOQdvo9j.mjs +1 -0
- package/dist/definition-DkYy1PZz.mjs +1 -0
- package/dist/definition-DtUNiGom.d.mts +158 -0
- package/dist/definition-DxvZ9e22.d.mts +376 -0
- package/dist/drizzle-CWVVw7Er.mjs +1 -0
- package/dist/execution-target-BW_uiBVe.mjs +1 -0
- package/dist/extension-COqwS-2Q.mjs +1 -0
- package/dist/extension-Cbrl4YGX.mjs +1 -0
- package/dist/extension-namespace-zaGKi6Qj.mjs +1 -0
- package/dist/handlers-iGKUJ380.mjs +41 -0
- package/dist/harness-CEq1Zkf9.mjs +1 -0
- package/dist/hooks/index.d.mts +423 -0
- package/dist/hooks/index.mjs +1 -0
- package/dist/host-CXAUGGN0.mjs +1 -0
- package/dist/identity-B_A0mE63.mjs +1 -0
- package/dist/index-6lyShOoU.d.mts +225 -0
- package/dist/index-7sXlairn2.d.mts +43 -0
- package/dist/index-BAKM2GMH2.d.mts +535 -0
- package/dist/index-BB419vv-.d.mts +3897 -0
- package/dist/index-BJOfdtbw.d.mts +729 -0
- package/dist/index-BXP9GK5q.d.mts +1075 -0
- package/dist/index-BdPwu6c0.d.mts +1730 -0
- package/dist/index-BePI0ckL.d.mts +40 -0
- package/dist/index-Bigx81Kr.d.mts +37 -0
- package/dist/index-BnNqbx2I.d.mts +134 -0
- package/dist/index-Bv15sNLn.d.mts +389 -0
- package/dist/index-C-myW_aK.d.mts +412 -0
- package/dist/index-C9F3Fc1A.d.mts +2938 -0
- package/dist/index-CNxS4Tlu.d.mts +1 -0
- package/dist/index-CVA0m1g9.d.mts +995 -0
- package/dist/index-C_kS2aqV2.d.mts +438 -0
- package/dist/index-Ch3ph52M2.d.mts +40 -0
- package/dist/index-CnZOKNjU.d.mts +89 -0
- package/dist/index-D1T-PPqF.d.mts +67 -0
- package/dist/index-D7T8XCku.d.mts +341 -0
- package/dist/index-DBQtpFLE.d.mts +4843 -0
- package/dist/index-DEw90pa2.d.mts +183 -0
- package/dist/index-DQRsGXb5.d.mts +109 -0
- package/dist/index-Dd5s4MSm.d.mts +72 -0
- package/dist/index-DubqLGH8.d.mts +1002 -0
- package/dist/index-ESSDWIB7.d.mts +11 -0
- package/dist/index-N5K1NOYs.d.mts +184 -0
- package/dist/index-PdUSmPT2.d.mts +180 -0
- package/dist/index-SzSiyG61.d.mts +117 -0
- package/dist/index-T0471kWA.d.mts +6760 -0
- package/dist/index-WKjrpcA_.d.mts +218 -0
- package/dist/index-hapw9_En.d.mts +13592 -0
- package/dist/index-iID2R9G1.d.mts +1490 -0
- package/dist/kernel/cli/index.d.mts +141 -0
- package/dist/kernel/cli/index.mjs +1 -0
- package/dist/kernel/cli/schemas.d.mts +63 -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/model-registry-BNzpR6TU.mjs +1 -0
- package/dist/model-registry-CIscwC52.mjs +1 -0
- package/dist/namespace-0yuzAKlr.mjs +1 -0
- package/dist/namespace-8cNguvIp.mjs +1 -0
- package/dist/namespace-BK2erxpV.d.mts +921 -0
- package/dist/namespace-Bmc7AW4J2.mjs +1 -0
- package/dist/namespace-C2ufjgaQ.d.mts +767 -0
- package/dist/namespace-C54Oj025.d.mts +159 -0
- package/dist/namespace-CCDEOwmW.d.mts +1313 -0
- package/dist/namespace-CfEWMXBx.mjs +1 -0
- package/dist/namespace-CkLUtc0g.d.mts +580 -0
- package/dist/namespace-D5Wrt7YU.mjs +1 -0
- package/dist/namespace-DZcuLwEA.d.mts +51 -0
- package/dist/namespace-Db-p67Rg.mjs +1 -0
- package/dist/namespace-FWx6HxaW.d.mts +611 -0
- package/dist/namespace-GLGGcWPH.d.mts +43 -0
- package/dist/namespace-N0dfwSg6.mjs +1 -0
- package/dist/namespace-O5SNY-LV.d.mts +2226 -0
- package/dist/namespace-ZbthBQVt.d.mts +142 -0
- package/dist/namespace-bq4Prtzn.d.mts +2046 -0
- package/dist/namespace-pNcSglBS.mjs +1 -0
- package/dist/namespace-ptv-pw_g.d.mts +3019 -0
- package/dist/namespace-xkvVw3hf2.d.mts +189 -0
- package/dist/native-session-supervisor-L-UIaEfd.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 +1752 -0
- package/dist/node/transports/index.mjs +2 -0
- package/dist/orchestrator-shared-DrjtTXYh.d.mts +249 -0
- package/dist/orchestrator-shared-Wv1GI2mW.mjs +1 -0
- package/dist/platform-BbSLVg5b.mjs +1 -0
- package/dist/profile-4StaDQW0.mjs +1 -0
- package/dist/provider-context-CNRQ4d5m.mjs +1 -0
- package/dist/providers/index.d.mts +135 -0
- package/dist/providers/index.mjs +1 -0
- package/dist/providers-Cr4Za8a1.mjs +1 -0
- package/dist/providers-namespace-CDwxY_DV.d.mts +583 -0
- package/dist/schema-BwzXEtT2.d.mts +837 -0
- package/dist/schema-CAw_BqaG.mjs +1 -0
- package/dist/schema-introspection-D61TT_7b.mjs +1 -0
- package/dist/schema-uSGW-6oM.mjs +1 -0
- package/dist/schemas-BXstpWVp.mjs +1 -0
- package/dist/schemas-BdMU-gew.d.mts +160 -0
- package/dist/schemas-C40ZAJ33.mjs +1 -0
- package/dist/schemas-C5xtVqdb.d.mts +46 -0
- package/dist/schemas-CGZy_rU6.d.mts +13 -0
- package/dist/schemas-CLxtoKFy.mjs +1 -0
- package/dist/schemas-Co_sVhzz.mjs +1 -0
- package/dist/schemas-D9108Iv1.d.mts +182 -0
- package/dist/schemas-DENVYyds.d.mts +463 -0
- package/dist/schemas-DbWs_hj8.d.mts +174 -0
- package/dist/schemas-Di0XnnMX.d.mts +73 -0
- package/dist/schemas-KMA1efQg.d.mts +944 -0
- package/dist/schemas-qmn5SWPU.d.mts +312 -0
- package/dist/schemas-sshQEF3l.d.mts +237 -0
- package/dist/server-lifecycle-Cf_SZ27k.d.mts +160 -0
- package/dist/server-lifecycle-DbFwlrTW.mjs +1 -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/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/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 +5703 -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 +275 -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 +52 -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 +662 -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/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/services/worker/index.d.mts +3 -0
- package/dist/services/worker/index.mjs +1 -0
- package/dist/services/worker/namespace.d.mts +2 -0
- package/dist/services/worker/namespace.mjs +1 -0
- package/dist/services/worker/schemas.d.mts +2 -0
- package/dist/services/worker/schemas.mjs +1 -0
- package/dist/session-Do6lDZM4.mjs +123 -0
- package/dist/session-lineage-Eev4uo4I.d.mts +65 -0
- package/dist/session-piI1R5rP.mjs +1 -0
- package/dist/shared-DxHLl9UP.mjs +1 -0
- package/dist/shared-schemas-BgQv_tnu.mjs +1 -0
- package/dist/skill-CB5h-ZFQ.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 +98 -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-ADwyijoe.mjs +1 -0
- package/dist/storage-namespace-DAm8iWEj.d.mts +221 -0
- package/dist/storage-namespace-definition-CHu2k14q.mjs +1 -0
- package/dist/storage-namespace-definition-CJgqyXH1.d.mts +17 -0
- package/dist/style.css +3782 -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/tool-approval-service-BcBSUZCO.mjs +1 -0
- package/dist/tools/index.d.mts +825 -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-CDSgj0ee.mjs +1 -0
- package/dist/tray-menu-service-CTXC1Elg.mjs +1 -0
- package/dist/types-6WxLfoM3.d.mts +31 -0
- package/dist/types-BjToUrHp.d.mts +6619 -0
- package/dist/types-CD1LJwPc.d.mts +1009 -0
- package/dist/types-Cvrj2ogm.d.mts +305 -0
- package/dist/types-DYF5LxZY.d.mts +233 -0
- package/dist/types-t295YC6T.d.mts +262 -0
- package/dist/types-vNpkAe4Y.d.mts +128 -0
- package/dist/ui-components/index.d.mts +2342 -0
- package/dist/ui-components/index.mjs +8 -0
- package/dist/ui-config-CXmbsqZV.mjs +1 -0
- package/dist/ui-hooks/index.d.mts +1805 -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 +227 -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/resolve-package-root.d.mts +12 -0
- package/dist/utils/resolve-package-root.mjs +1 -0
- package/dist/utils/workspace-root.d.mts +27 -0
- package/dist/utils/workspace-root.mjs +2 -0
- package/dist/variant-D5kSrL3m.mjs +1 -0
- package/dist/version-CjS20oXi.mjs +1 -0
- package/dist/visibility-CZu8ooOA.mjs +1 -0
- package/dist/window-registry-CUftmDr3.mjs +1 -0
- package/dist/window-registry-C_IJmY8_.d.mts +130 -0
- package/package.json +346 -0
|
@@ -0,0 +1,341 @@
|
|
|
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 packages/contracts/src/host/namespace.d.ts
|
|
7
|
+
/** Bus namespace definition for cross-cutting host shell RPCs. */
|
|
8
|
+
declare const HostNamespace: _$_makaio_core0.BusNamespaceDefinition<"host", {
|
|
9
|
+
'window.opened': _$zod.ZodObject<{
|
|
10
|
+
windowId: _$zod.ZodNumber;
|
|
11
|
+
registrationId: _$zod.ZodString;
|
|
12
|
+
params: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
13
|
+
label: _$zod.ZodOptional<_$zod.ZodString>;
|
|
14
|
+
visible: _$zod.ZodBoolean;
|
|
15
|
+
focused: _$zod.ZodBoolean;
|
|
16
|
+
}, _$zod_v4_core0.$strip>;
|
|
17
|
+
'window.closed': _$zod.ZodObject<{
|
|
18
|
+
windowId: _$zod.ZodNumber;
|
|
19
|
+
registrationId: _$zod.ZodString;
|
|
20
|
+
params: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
21
|
+
}, _$zod_v4_core0.$strip>;
|
|
22
|
+
'window.labelChanged': _$zod.ZodObject<{
|
|
23
|
+
windowId: _$zod.ZodNumber;
|
|
24
|
+
label: _$zod.ZodString;
|
|
25
|
+
}, _$zod_v4_core0.$strip>;
|
|
26
|
+
'window.create': {
|
|
27
|
+
request: _$zod.ZodObject<{
|
|
28
|
+
registrationId: _$zod.ZodString;
|
|
29
|
+
params: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
30
|
+
}, _$zod_v4_core0.$strip>;
|
|
31
|
+
response: _$zod.ZodObject<{
|
|
32
|
+
windowId: _$zod.ZodNumber;
|
|
33
|
+
}, _$zod_v4_core0.$strip>;
|
|
34
|
+
};
|
|
35
|
+
'window.focus': {
|
|
36
|
+
request: _$zod.ZodObject<{
|
|
37
|
+
windowId: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
38
|
+
}, _$zod_v4_core0.$strip>;
|
|
39
|
+
response: _$zod.ZodObject<{
|
|
40
|
+
success: _$zod.ZodBoolean;
|
|
41
|
+
}, _$zod_v4_core0.$strip>;
|
|
42
|
+
};
|
|
43
|
+
'window.list': {
|
|
44
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
45
|
+
response: _$zod.ZodObject<{
|
|
46
|
+
windows: _$zod.ZodArray<_$zod.ZodObject<{
|
|
47
|
+
windowId: _$zod.ZodNumber;
|
|
48
|
+
registrationId: _$zod.ZodString;
|
|
49
|
+
params: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
50
|
+
label: _$zod.ZodOptional<_$zod.ZodString>;
|
|
51
|
+
visible: _$zod.ZodBoolean;
|
|
52
|
+
focused: _$zod.ZodBoolean;
|
|
53
|
+
}, _$zod_v4_core0.$strip>>;
|
|
54
|
+
}, _$zod_v4_core0.$strip>;
|
|
55
|
+
};
|
|
56
|
+
'window.openDashboard': {
|
|
57
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
58
|
+
response: _$zod.ZodObject<{
|
|
59
|
+
windowId: _$zod.ZodNullable<_$zod.ZodNumber>;
|
|
60
|
+
}, _$zod_v4_core0.$strip>;
|
|
61
|
+
};
|
|
62
|
+
'tray.activate': {
|
|
63
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
64
|
+
response: _$zod.ZodObject<{
|
|
65
|
+
handled: _$zod.ZodBoolean;
|
|
66
|
+
}, _$zod_v4_core0.$strip>;
|
|
67
|
+
};
|
|
68
|
+
'app.focus': {
|
|
69
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
70
|
+
response: _$zod.ZodObject<{
|
|
71
|
+
focused: _$zod.ZodBoolean;
|
|
72
|
+
windowId: _$zod.ZodNullable<_$zod.ZodNumber>;
|
|
73
|
+
}, _$zod_v4_core0.$strip>;
|
|
74
|
+
};
|
|
75
|
+
}>;
|
|
76
|
+
/** Typed subject tree for the host namespace. */
|
|
77
|
+
declare const HostSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"host", {
|
|
78
|
+
'window.opened': _$zod.ZodObject<{
|
|
79
|
+
windowId: _$zod.ZodNumber;
|
|
80
|
+
registrationId: _$zod.ZodString;
|
|
81
|
+
params: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
82
|
+
label: _$zod.ZodOptional<_$zod.ZodString>;
|
|
83
|
+
visible: _$zod.ZodBoolean;
|
|
84
|
+
focused: _$zod.ZodBoolean;
|
|
85
|
+
}, _$zod_v4_core0.$strip>;
|
|
86
|
+
'window.closed': _$zod.ZodObject<{
|
|
87
|
+
windowId: _$zod.ZodNumber;
|
|
88
|
+
registrationId: _$zod.ZodString;
|
|
89
|
+
params: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
90
|
+
}, _$zod_v4_core0.$strip>;
|
|
91
|
+
'window.labelChanged': _$zod.ZodObject<{
|
|
92
|
+
windowId: _$zod.ZodNumber;
|
|
93
|
+
label: _$zod.ZodString;
|
|
94
|
+
}, _$zod_v4_core0.$strip>;
|
|
95
|
+
'window.create': {
|
|
96
|
+
request: _$zod.ZodObject<{
|
|
97
|
+
registrationId: _$zod.ZodString;
|
|
98
|
+
params: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
99
|
+
}, _$zod_v4_core0.$strip>;
|
|
100
|
+
response: _$zod.ZodObject<{
|
|
101
|
+
windowId: _$zod.ZodNumber;
|
|
102
|
+
}, _$zod_v4_core0.$strip>;
|
|
103
|
+
};
|
|
104
|
+
'window.focus': {
|
|
105
|
+
request: _$zod.ZodObject<{
|
|
106
|
+
windowId: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
107
|
+
}, _$zod_v4_core0.$strip>;
|
|
108
|
+
response: _$zod.ZodObject<{
|
|
109
|
+
success: _$zod.ZodBoolean;
|
|
110
|
+
}, _$zod_v4_core0.$strip>;
|
|
111
|
+
};
|
|
112
|
+
'window.list': {
|
|
113
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
114
|
+
response: _$zod.ZodObject<{
|
|
115
|
+
windows: _$zod.ZodArray<_$zod.ZodObject<{
|
|
116
|
+
windowId: _$zod.ZodNumber;
|
|
117
|
+
registrationId: _$zod.ZodString;
|
|
118
|
+
params: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
119
|
+
label: _$zod.ZodOptional<_$zod.ZodString>;
|
|
120
|
+
visible: _$zod.ZodBoolean;
|
|
121
|
+
focused: _$zod.ZodBoolean;
|
|
122
|
+
}, _$zod_v4_core0.$strip>>;
|
|
123
|
+
}, _$zod_v4_core0.$strip>;
|
|
124
|
+
};
|
|
125
|
+
'window.openDashboard': {
|
|
126
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
127
|
+
response: _$zod.ZodObject<{
|
|
128
|
+
windowId: _$zod.ZodNullable<_$zod.ZodNumber>;
|
|
129
|
+
}, _$zod_v4_core0.$strip>;
|
|
130
|
+
};
|
|
131
|
+
'tray.activate': {
|
|
132
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
133
|
+
response: _$zod.ZodObject<{
|
|
134
|
+
handled: _$zod.ZodBoolean;
|
|
135
|
+
}, _$zod_v4_core0.$strip>;
|
|
136
|
+
};
|
|
137
|
+
'app.focus': {
|
|
138
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
139
|
+
response: _$zod.ZodObject<{
|
|
140
|
+
focused: _$zod.ZodBoolean;
|
|
141
|
+
windowId: _$zod.ZodNullable<_$zod.ZodNumber>;
|
|
142
|
+
}, _$zod_v4_core0.$strip>;
|
|
143
|
+
};
|
|
144
|
+
}>, "host">;
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region packages/contracts/src/host/schemas.d.ts
|
|
147
|
+
/**
|
|
148
|
+
* Desktop host window state snapshot.
|
|
149
|
+
*
|
|
150
|
+
* `registrationId` is the qualified window ID from the package registry
|
|
151
|
+
* (`{packageName}:{windowId}`) and replaces the former static `WindowType`
|
|
152
|
+
* enum field. The numeric `windowId` remains the host-assigned instance ID.
|
|
153
|
+
*/
|
|
154
|
+
declare const WindowStateSchema: z.ZodObject<{
|
|
155
|
+
windowId: z.ZodNumber;
|
|
156
|
+
registrationId: z.ZodString;
|
|
157
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
158
|
+
label: z.ZodOptional<z.ZodString>;
|
|
159
|
+
visible: z.ZodBoolean;
|
|
160
|
+
focused: z.ZodBoolean;
|
|
161
|
+
}, z.core.$strip>;
|
|
162
|
+
/**
|
|
163
|
+
* Host shell domain schemas.
|
|
164
|
+
*
|
|
165
|
+
* Cross-cutting RPCs that any host shell (Electron, Electrobun, browser)
|
|
166
|
+
* should implement. Framework UI packages import these subjects directly
|
|
167
|
+
* from `@makaio/contracts` instead of reaching into a specific host app.
|
|
168
|
+
*
|
|
169
|
+
* Covers window lifecycle events (host → bus) consumed by the tray,
|
|
170
|
+
* and window management RPCs (bus → host) issued by the tray.
|
|
171
|
+
*/
|
|
172
|
+
declare const HostSchemas: {
|
|
173
|
+
/**
|
|
174
|
+
* Emitted when a new desktop window is opened.
|
|
175
|
+
*
|
|
176
|
+
* Subject: `host.window.opened`
|
|
177
|
+
* Type: Event
|
|
178
|
+
*/
|
|
179
|
+
'window.opened': z.ZodObject<{
|
|
180
|
+
windowId: z.ZodNumber;
|
|
181
|
+
registrationId: z.ZodString;
|
|
182
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
183
|
+
label: z.ZodOptional<z.ZodString>;
|
|
184
|
+
visible: z.ZodBoolean;
|
|
185
|
+
focused: z.ZodBoolean;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
/**
|
|
188
|
+
* Emitted when a desktop window is closed.
|
|
189
|
+
*
|
|
190
|
+
* Subject: `host.window.closed`
|
|
191
|
+
* Type: Event
|
|
192
|
+
*/
|
|
193
|
+
'window.closed': z.ZodObject<{
|
|
194
|
+
windowId: z.ZodNumber;
|
|
195
|
+
registrationId: z.ZodString;
|
|
196
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
197
|
+
}, z.core.$strip>;
|
|
198
|
+
/**
|
|
199
|
+
* Emitted by the web UI when a window's display label changes — for example,
|
|
200
|
+
* when a project name becomes available or when the first message of a chat
|
|
201
|
+
* session is typed.
|
|
202
|
+
*
|
|
203
|
+
* The host main process listens for this event and calls
|
|
204
|
+
* `WindowManager.updateLabel` so the internal registry stays current.
|
|
205
|
+
* Because the event is on the shared bus, the tray handler can also
|
|
206
|
+
* react to it (e.g. to update the tray menu item label) without any
|
|
207
|
+
* additional wiring.
|
|
208
|
+
*
|
|
209
|
+
* Subject: `host.window.labelChanged`
|
|
210
|
+
* Type: Event
|
|
211
|
+
*/
|
|
212
|
+
'window.labelChanged': z.ZodObject<{
|
|
213
|
+
windowId: z.ZodNumber;
|
|
214
|
+
label: z.ZodString;
|
|
215
|
+
}, z.core.$strip>;
|
|
216
|
+
/**
|
|
217
|
+
* Create a new desktop window identified by its registry registration ID.
|
|
218
|
+
*
|
|
219
|
+
* Subject: `host.window.create`
|
|
220
|
+
* Type: Request (RPC)
|
|
221
|
+
*/
|
|
222
|
+
'window.create': {
|
|
223
|
+
request: z.ZodObject<{
|
|
224
|
+
registrationId: z.ZodString;
|
|
225
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
226
|
+
}, z.core.$strip>;
|
|
227
|
+
response: z.ZodObject<{
|
|
228
|
+
windowId: z.ZodNumber;
|
|
229
|
+
}, z.core.$strip>;
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* Focus an existing window. If no `windowId` is provided, focuses the
|
|
233
|
+
* most recently active window.
|
|
234
|
+
*
|
|
235
|
+
* Subject: `host.window.focus`
|
|
236
|
+
* Type: Request (RPC)
|
|
237
|
+
*/
|
|
238
|
+
'window.focus': {
|
|
239
|
+
request: z.ZodObject<{
|
|
240
|
+
windowId: z.ZodOptional<z.ZodNumber>;
|
|
241
|
+
}, z.core.$strip>;
|
|
242
|
+
response: z.ZodObject<{
|
|
243
|
+
success: z.ZodBoolean;
|
|
244
|
+
}, z.core.$strip>;
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* List all currently open desktop windows with their current state.
|
|
248
|
+
*
|
|
249
|
+
* Subject: `host.window.list`
|
|
250
|
+
* Type: Request (RPC)
|
|
251
|
+
*/
|
|
252
|
+
'window.list': {
|
|
253
|
+
request: z.ZodObject<{}, z.core.$strip>;
|
|
254
|
+
response: z.ZodObject<{
|
|
255
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
256
|
+
windowId: z.ZodNumber;
|
|
257
|
+
registrationId: z.ZodString;
|
|
258
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
259
|
+
label: z.ZodOptional<z.ZodString>;
|
|
260
|
+
visible: z.ZodBoolean;
|
|
261
|
+
focused: z.ZodBoolean;
|
|
262
|
+
}, z.core.$strip>>;
|
|
263
|
+
}, z.core.$strip>;
|
|
264
|
+
};
|
|
265
|
+
/**
|
|
266
|
+
* Open (or focus) the primary dashboard window managed by the host shell.
|
|
267
|
+
*
|
|
268
|
+
* Request: empty — the handler knows the dashboard registration ID.
|
|
269
|
+
* Response: `windowId` — the host-assigned window ID, or `null` when no
|
|
270
|
+
* window could be created or focused.
|
|
271
|
+
*
|
|
272
|
+
* Subject: `host.window.openDashboard`
|
|
273
|
+
* Type: Request (RPC)
|
|
274
|
+
*/
|
|
275
|
+
'window.openDashboard': {
|
|
276
|
+
request: z.ZodObject<{}, z.core.$strip>;
|
|
277
|
+
response: z.ZodObject<{
|
|
278
|
+
windowId: z.ZodNullable<z.ZodNumber>;
|
|
279
|
+
}, z.core.$strip>;
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* Activate the tray popover panel. Fired when the user
|
|
283
|
+
* left-clicks the tray icon.
|
|
284
|
+
*
|
|
285
|
+
* The response tells whether the host handled the click.
|
|
286
|
+
* When `handled` is `true`, suppress the native menu.
|
|
287
|
+
* This is `true` for both showing and dismissing the popover (toggle).
|
|
288
|
+
*
|
|
289
|
+
* Subject: `host.tray.activate`
|
|
290
|
+
* Type: Request (RPC)
|
|
291
|
+
*/
|
|
292
|
+
'tray.activate': {
|
|
293
|
+
request: z.ZodObject<{}, z.core.$strip>;
|
|
294
|
+
response: z.ZodObject<{
|
|
295
|
+
handled: z.ZodBoolean;
|
|
296
|
+
}, z.core.$strip>;
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* Focus the application: bring an existing window to front, or open the
|
|
300
|
+
* default shell window if none are open.
|
|
301
|
+
*
|
|
302
|
+
* Used by: second-instance detection (Electrobun health-probe),
|
|
303
|
+
* `makaio open` CLI command, Electron `second-instance` event.
|
|
304
|
+
*
|
|
305
|
+
* Subject: `host.app.focus`
|
|
306
|
+
* Type: Request (RPC)
|
|
307
|
+
*/
|
|
308
|
+
'app.focus': {
|
|
309
|
+
request: z.ZodObject<{}, z.core.$strip>;
|
|
310
|
+
response: z.ZodObject<{
|
|
311
|
+
focused: z.ZodBoolean;
|
|
312
|
+
windowId: z.ZodNullable<z.ZodNumber>;
|
|
313
|
+
}, z.core.$strip>;
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
/** State snapshot for a single desktop window. */
|
|
317
|
+
type WindowState = z.infer<typeof WindowStateSchema>;
|
|
318
|
+
/** Payload of the `host.window.opened` event. */
|
|
319
|
+
type WindowOpenedEvent = z.infer<(typeof HostSchemas)['window.opened']>;
|
|
320
|
+
/** Payload of the `host.window.closed` event. */
|
|
321
|
+
type WindowClosedEvent = z.infer<(typeof HostSchemas)['window.closed']>;
|
|
322
|
+
/** Payload of the `host.window.labelChanged` event. */
|
|
323
|
+
type WindowLabelChangedEvent = z.infer<(typeof HostSchemas)['window.labelChanged']>;
|
|
324
|
+
/** Request payload for `host.window.create`. */
|
|
325
|
+
type WindowCreateRequest = z.infer<(typeof HostSchemas)['window.create']['request']>;
|
|
326
|
+
/** Response payload for `host.window.create`. */
|
|
327
|
+
type WindowCreateResponse = z.infer<(typeof HostSchemas)['window.create']['response']>;
|
|
328
|
+
/** Request payload for `host.window.focus`. */
|
|
329
|
+
type WindowFocusRequest = z.infer<(typeof HostSchemas)['window.focus']['request']>;
|
|
330
|
+
/** Response payload for `host.window.focus`. */
|
|
331
|
+
type WindowFocusResponse = z.infer<(typeof HostSchemas)['window.focus']['response']>;
|
|
332
|
+
/** Request payload for `host.window.list`. */
|
|
333
|
+
type WindowListRequest = z.infer<(typeof HostSchemas)['window.list']['request']>;
|
|
334
|
+
/** Response payload for `host.window.list`. */
|
|
335
|
+
type WindowListResponse = z.infer<(typeof HostSchemas)['window.list']['response']>;
|
|
336
|
+
/** Request payload for `host.tray.activate`. */
|
|
337
|
+
type TrayActivateRequest = z.infer<(typeof HostSchemas)['tray.activate']['request']>;
|
|
338
|
+
/** Response payload for `host.tray.activate`. */
|
|
339
|
+
type TrayActivateResponse = z.infer<(typeof HostSchemas)['tray.activate']['response']>;
|
|
340
|
+
//#endregion
|
|
341
|
+
export { WindowCreateRequest as a, WindowFocusResponse as c, WindowListResponse as d, WindowOpenedEvent as f, HostSubjects as g, HostNamespace as h, WindowClosedEvent as i, WindowLabelChangedEvent as l, WindowStateSchema as m, TrayActivateRequest as n, WindowCreateResponse as o, WindowState as p, TrayActivateResponse as r, WindowFocusRequest as s, HostSchemas as t, WindowListRequest as u };
|