@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,109 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region packages/services/core/src/dialog/schemas.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Request user confirmation via UI.
|
|
6
|
+
* Subject: `dialog.confirm`
|
|
7
|
+
* Type: Request (RPC)
|
|
8
|
+
* @returns The user's selected option ID, or null if dismissed without selection.
|
|
9
|
+
*
|
|
10
|
+
* NOTE: The UI handler must keep this request open until the user responds.
|
|
11
|
+
* Bus timeouts should be set appropriately high for these requests.
|
|
12
|
+
*/
|
|
13
|
+
declare const DialogConfirmSchema: {
|
|
14
|
+
request: z.ZodObject<{
|
|
15
|
+
title: z.ZodString;
|
|
16
|
+
message: z.ZodString;
|
|
17
|
+
options: z.ZodArray<z.ZodObject<{
|
|
18
|
+
id: z.ZodString;
|
|
19
|
+
label: z.ZodString;
|
|
20
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
21
|
+
primary: "primary";
|
|
22
|
+
secondary: "secondary";
|
|
23
|
+
danger: "danger";
|
|
24
|
+
}>>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
details: z.ZodOptional<z.ZodString>;
|
|
27
|
+
showDontAskAgain: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
29
|
+
center: "center";
|
|
30
|
+
"top-center": "top-center";
|
|
31
|
+
"bottom-center": "bottom-center";
|
|
32
|
+
}>>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
response: z.ZodObject<{
|
|
35
|
+
selectedOptionId: z.ZodNullable<z.ZodString>;
|
|
36
|
+
dontAskAgain: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Request text input via UI prompt dialog.
|
|
41
|
+
* Subject: `dialog.prompt`
|
|
42
|
+
* Type: Request (RPC)
|
|
43
|
+
* @returns The user's entered text, or null if dismissed without input.
|
|
44
|
+
*
|
|
45
|
+
* NOTE: The UI handler must keep this request open until the user responds.
|
|
46
|
+
* Bus timeouts should be set appropriately high for these requests.
|
|
47
|
+
*/
|
|
48
|
+
declare const DialogPromptSchema: {
|
|
49
|
+
request: z.ZodObject<{
|
|
50
|
+
title: z.ZodString;
|
|
51
|
+
message: z.ZodString;
|
|
52
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
53
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
54
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
submitLabel: z.ZodOptional<z.ZodString>;
|
|
56
|
+
cancelLabel: z.ZodOptional<z.ZodString>;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
response: z.ZodObject<{
|
|
59
|
+
value: z.ZodNullable<z.ZodString>;
|
|
60
|
+
}, z.core.$strip>;
|
|
61
|
+
};
|
|
62
|
+
declare const DialogSchemas: {
|
|
63
|
+
confirm: {
|
|
64
|
+
request: z.ZodObject<{
|
|
65
|
+
title: z.ZodString;
|
|
66
|
+
message: z.ZodString;
|
|
67
|
+
options: z.ZodArray<z.ZodObject<{
|
|
68
|
+
id: z.ZodString;
|
|
69
|
+
label: z.ZodString;
|
|
70
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
71
|
+
primary: "primary";
|
|
72
|
+
secondary: "secondary";
|
|
73
|
+
danger: "danger";
|
|
74
|
+
}>>;
|
|
75
|
+
}, z.core.$strip>>;
|
|
76
|
+
details: z.ZodOptional<z.ZodString>;
|
|
77
|
+
showDontAskAgain: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
79
|
+
center: "center";
|
|
80
|
+
"top-center": "top-center";
|
|
81
|
+
"bottom-center": "bottom-center";
|
|
82
|
+
}>>;
|
|
83
|
+
}, z.core.$strip>;
|
|
84
|
+
response: z.ZodObject<{
|
|
85
|
+
selectedOptionId: z.ZodNullable<z.ZodString>;
|
|
86
|
+
dontAskAgain: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
};
|
|
89
|
+
prompt: {
|
|
90
|
+
request: z.ZodObject<{
|
|
91
|
+
title: z.ZodString;
|
|
92
|
+
message: z.ZodString;
|
|
93
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
94
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
95
|
+
multiline: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
+
submitLabel: z.ZodOptional<z.ZodString>;
|
|
97
|
+
cancelLabel: z.ZodOptional<z.ZodString>;
|
|
98
|
+
}, z.core.$strip>;
|
|
99
|
+
response: z.ZodObject<{
|
|
100
|
+
value: z.ZodNullable<z.ZodString>;
|
|
101
|
+
}, z.core.$strip>;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
type DialogConfirmRequest = z.infer<typeof DialogConfirmSchema.request>;
|
|
105
|
+
type DialogConfirmResponse = z.infer<typeof DialogConfirmSchema.response>;
|
|
106
|
+
type DialogPromptRequest = z.infer<typeof DialogPromptSchema.request>;
|
|
107
|
+
type DialogPromptResponse = z.infer<typeof DialogPromptSchema.response>;
|
|
108
|
+
//#endregion
|
|
109
|
+
export { DialogConfirmRequest, DialogConfirmResponse, DialogConfirmSchema, DialogPromptRequest, DialogPromptResponse, DialogPromptSchema, DialogSchemas };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{z as e}from"zod";const t={request:e.object({title:e.string(),message:e.string(),options:e.array(e.object({id:e.string(),label:e.string(),variant:e.enum([`primary`,`secondary`,`danger`]).optional()})),details:e.string().optional(),showDontAskAgain:e.boolean().optional(),position:e.enum([`center`,`top-center`,`bottom-center`]).optional()}),response:e.object({selectedOptionId:e.string().nullable(),dontAskAgain:e.boolean().optional()})},n={request:e.object({title:e.string(),message:e.string(),placeholder:e.string().optional(),defaultValue:e.string().optional(),multiline:e.boolean().optional(),submitLabel:e.string().optional(),cancelLabel:e.string().optional()}),response:e.object({value:e.string().nullable()})},r={confirm:t,prompt:n};export{t as DialogConfirmSchema,n as DialogPromptSchema,r as DialogSchemas};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../../schemas-DENVYyds.mjs";
|
|
2
|
+
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-FWx6HxaW.mjs";
|
|
3
|
+
import { A as StopRequestSchema, C as SpawnResponse, D as StatusResponse, E as StatusRequestSchema, M as StopResponseSchema, O as StatusResponseSchema, S as SpawnRequestSchema, T as StatusRequest, _ as ContainerState, a as ContainerCreated, b as ContainerStoppedSchema, c as ContainerDestroyedSchema, d as ContainerLocalSpawnRequest, f as ContainerLocalSpawnRequestSchema, g as ContainerStartedSchema, h as ContainerStarted, i as DockerSubjects, j as StopResponse, k as StopRequest, l as ContainerIsolatedSpawnRequest, m as ContainerRuntimeSchema, n as ContainerSpawnSubjects, o as ContainerCreatedSchema, p as ContainerRuntime, r as DockerNamespace, s as ContainerDestroyed, t as ContainerSpawnNamespace, u as ContainerIsolatedSpawnRequestSchema, v as ContainerStateSchema, w as SpawnResponseSchema, x as SpawnRequest, y as ContainerStopped } from "../../index-BAKM2GMH2.mjs";
|
|
4
|
+
export { ContainerCreated, ContainerCreatedSchema, ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, ContainerRuntime, ContainerRuntimeSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, ContainerStarted, ContainerStartedSchema, ContainerState, ContainerStateSchema, ContainerStopped, ContainerStoppedSchema, DockerNamespace, DockerSubjects, ExecutionTarget, ExecutionTargetInput, ExecutionTargetInputSchema, ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, ExecutionTargetType, ExecutionTargetTypeSchema, LocalExecutionTargetSchema, SpawnRequest, SpawnRequestSchema, SpawnResponse, SpawnResponseSchema, StatusRequest, StatusRequestSchema, StatusResponse, StatusResponseSchema, StopRequest, StopRequestSchema, StopResponse, StopResponseSchema };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ContainerIsolatedExecutionTargetSchema as e,ContainerLocalExecutionTargetSchema as t,ExecutionTargetInputSchema as n,ExecutionTargetListQuerySchema as r,ExecutionTargetResolveRequestSchema as i,ExecutionTargetSchema as a,ExecutionTargetSchemas as o,ExecutionTargetTypeSchema as s,LocalExecutionTargetSchema as c}from"./schemas.mjs";import{ExecutionTargetNamespace as l,ExecutionTargetSubjects as u}from"./namespace.mjs";import{_ as d,a as f,c as p,d as m,f as h,g,h as _,i as v,l as y,m as b,n as x,o as S,p as C,r as w,s as T,t as E,u as D,v as O}from"../../execution-target-BW_uiBVe.mjs";export{f as ContainerCreatedSchema,S as ContainerDestroyedSchema,e as ContainerIsolatedExecutionTargetSchema,T as ContainerIsolatedSpawnRequestSchema,t as ContainerLocalExecutionTargetSchema,p as ContainerLocalSpawnRequestSchema,y as ContainerRuntimeSchema,E as ContainerSpawnNamespace,x as ContainerSpawnSubjects,D as ContainerStartedSchema,m as ContainerStateSchema,h as ContainerStoppedSchema,w as DockerNamespace,v as DockerSubjects,n as ExecutionTargetInputSchema,r as ExecutionTargetListQuerySchema,l as ExecutionTargetNamespace,i as ExecutionTargetResolveRequestSchema,a as ExecutionTargetSchema,o as ExecutionTargetSchemas,u as ExecutionTargetSubjects,s as ExecutionTargetTypeSchema,c as LocalExecutionTargetSchema,C as SpawnRequestSchema,b as SpawnResponseSchema,_ as StatusRequestSchema,g as StatusResponseSchema,d as StopRequestSchema,O as StopResponseSchema};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ExecutionTargetSchemas as e}from"./schemas.mjs";import{createBusNamespace as t}from"@makaio/framework/core";const n=t(`execution-target`,e),r=n.subjects;export{n as ExecutionTargetNamespace,r as ExecutionTargetSubjects};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../../schemas-DENVYyds.mjs";
|
|
2
|
+
export { ContainerIsolatedExecutionTargetSchema, ContainerLocalExecutionTargetSchema, ExecutionTarget, ExecutionTargetInput, ExecutionTargetInputSchema, ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetType, ExecutionTargetTypeSchema, LocalExecutionTargetSchema };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{z as e}from"zod";const t=e.object({id:e.string(),name:e.string(),description:e.string().optional(),scope:e.string(),enabled:e.boolean(),createdAt:e.number(),updatedAt:e.number()}),n=t.extend({type:e.literal(`local`)}),r=t.extend({type:e.literal(`container-local`),image:e.string().optional(),env:e.record(e.string(),e.string()).optional(),busUrl:e.string().optional()}),i=t.extend({type:e.literal(`container-isolated`),image:e.string().optional(),env:e.record(e.string(),e.string()).optional(),busMode:e.enum([`host`,`relay`]),relayUrl:e.string().optional(),gitCredentialMode:e.enum([`token`,`ssh-agent`]).default(`token`),repoUrl:e.string().optional()}),a=e.discriminatedUnion(`type`,[n,r,i]),o=e.enum([`local`,`container-local`,`container-isolated`]),s=e.discriminatedUnion(`type`,[n.omit({createdAt:!0,updatedAt:!0}),r.omit({createdAt:!0,updatedAt:!0}),i.omit({createdAt:!0,updatedAt:!0})]),c=e.object({scope:e.string().optional(),type:o.optional()}),l=e.object({executionTargetId:e.string().optional(),workstreamId:e.string().optional(),projectId:e.string().optional()}),u={get:{request:e.object({id:e.string()}),response:e.object({executionTarget:a.nullable()})},set:{request:e.object({executionTarget:s}),response:e.object({id:e.string()})},delete:{request:e.object({id:e.string()}),response:e.object({deleted:e.boolean()})},list:{request:c,response:e.object({executionTargets:e.array(a)})},resolve:{request:l,response:e.object({executionTarget:a})},created:a,updated:a,deleted:e.object({id:e.string()})};export{i as ContainerIsolatedExecutionTargetSchema,r as ContainerLocalExecutionTargetSchema,s as ExecutionTargetInputSchema,c as ExecutionTargetListQuerySchema,l as ExecutionTargetResolveRequestSchema,a as ExecutionTargetSchema,u as ExecutionTargetSchemas,o as ExecutionTargetTypeSchema,n as LocalExecutionTargetSchema};
|
|
@@ -0,0 +1,432 @@
|
|
|
1
|
+
import * as _$zod from "zod";
|
|
2
|
+
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
3
|
+
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
4
|
+
|
|
5
|
+
//#region packages/services/core/src/filesystem/namespace.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Unified filesystem namespace definition.
|
|
8
|
+
*/
|
|
9
|
+
declare const FsNamespace: _$_makaio_core0.BusNamespaceDefinition<"fs", {
|
|
10
|
+
changed: _$zod.ZodObject<{
|
|
11
|
+
path: _$zod.ZodString;
|
|
12
|
+
kind: _$zod.ZodEnum<{
|
|
13
|
+
delete: "delete";
|
|
14
|
+
create: "create";
|
|
15
|
+
change: "change";
|
|
16
|
+
}>;
|
|
17
|
+
}, _$zod_v4_core0.$strip>;
|
|
18
|
+
batch: _$zod.ZodObject<{
|
|
19
|
+
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
20
|
+
path: _$zod.ZodString;
|
|
21
|
+
kind: _$zod.ZodEnum<{
|
|
22
|
+
delete: "delete";
|
|
23
|
+
create: "create";
|
|
24
|
+
change: "change";
|
|
25
|
+
}>;
|
|
26
|
+
}, _$zod_v4_core0.$strip>>;
|
|
27
|
+
}, _$zod_v4_core0.$strip>;
|
|
28
|
+
watch: {
|
|
29
|
+
request: _$zod.ZodObject<{
|
|
30
|
+
id: _$zod.ZodString;
|
|
31
|
+
paths: _$zod.ZodArray<_$zod.ZodString>;
|
|
32
|
+
extensions: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
33
|
+
excludeFromDefaults: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
34
|
+
}, _$zod_v4_core0.$strip>;
|
|
35
|
+
response: _$zod.ZodObject<{
|
|
36
|
+
success: _$zod.ZodBoolean;
|
|
37
|
+
watchId: _$zod.ZodString;
|
|
38
|
+
}, _$zod_v4_core0.$strip>;
|
|
39
|
+
};
|
|
40
|
+
unwatch: {
|
|
41
|
+
request: _$zod.ZodObject<{
|
|
42
|
+
id: _$zod.ZodString;
|
|
43
|
+
}, _$zod_v4_core0.$strip>;
|
|
44
|
+
response: _$zod.ZodObject<{
|
|
45
|
+
success: _$zod.ZodBoolean;
|
|
46
|
+
}, _$zod_v4_core0.$strip>;
|
|
47
|
+
};
|
|
48
|
+
listSources: {
|
|
49
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
50
|
+
response: _$zod.ZodObject<{
|
|
51
|
+
sources: _$zod.ZodArray<_$zod.ZodObject<{
|
|
52
|
+
machineId: _$zod.ZodString;
|
|
53
|
+
label: _$zod.ZodString;
|
|
54
|
+
}, _$zod_v4_core0.$strip>>;
|
|
55
|
+
}, _$zod_v4_core0.$strip>;
|
|
56
|
+
};
|
|
57
|
+
listDirectory: {
|
|
58
|
+
request: _$zod.ZodObject<{
|
|
59
|
+
machineId: _$zod.ZodString;
|
|
60
|
+
path: _$zod.ZodOptional<_$zod.ZodString>;
|
|
61
|
+
options: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
62
|
+
includeHidden: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodBoolean>>;
|
|
63
|
+
excludeNames: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
64
|
+
}, _$zod_v4_core0.$strip>>;
|
|
65
|
+
}, _$zod_v4_core0.$strip>;
|
|
66
|
+
response: _$zod.ZodObject<{
|
|
67
|
+
entries: _$zod.ZodArray<_$zod.ZodObject<{
|
|
68
|
+
name: _$zod.ZodString;
|
|
69
|
+
path: _$zod.ZodString;
|
|
70
|
+
type: _$zod.ZodEnum<{
|
|
71
|
+
file: "file";
|
|
72
|
+
directory: "directory";
|
|
73
|
+
}>;
|
|
74
|
+
relativePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
75
|
+
isGitRepo: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
76
|
+
size: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
77
|
+
modified: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
78
|
+
}, _$zod_v4_core0.$strip>>;
|
|
79
|
+
isGitRepo: _$zod.ZodBoolean;
|
|
80
|
+
path: _$zod.ZodString;
|
|
81
|
+
parentPath: _$zod.ZodNullable<_$zod.ZodString>;
|
|
82
|
+
segments: _$zod.ZodArray<_$zod.ZodString>;
|
|
83
|
+
breadcrumbs: _$zod.ZodArray<_$zod.ZodObject<{
|
|
84
|
+
name: _$zod.ZodString;
|
|
85
|
+
path: _$zod.ZodString;
|
|
86
|
+
}, _$zod_v4_core0.$strip>>;
|
|
87
|
+
errors: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
88
|
+
name: _$zod.ZodString;
|
|
89
|
+
code: _$zod.ZodString;
|
|
90
|
+
message: _$zod.ZodString;
|
|
91
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
92
|
+
}, _$zod_v4_core0.$strip>;
|
|
93
|
+
};
|
|
94
|
+
getHomeDir: {
|
|
95
|
+
request: _$zod.ZodObject<{
|
|
96
|
+
machineId: _$zod.ZodString;
|
|
97
|
+
}, _$zod_v4_core0.$strip>;
|
|
98
|
+
response: _$zod.ZodObject<{
|
|
99
|
+
path: _$zod.ZodString;
|
|
100
|
+
}, _$zod_v4_core0.$strip>;
|
|
101
|
+
};
|
|
102
|
+
glob: {
|
|
103
|
+
request: _$zod.ZodObject<{
|
|
104
|
+
pattern: _$zod.ZodString;
|
|
105
|
+
cwd: _$zod.ZodString;
|
|
106
|
+
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
107
|
+
offset: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
108
|
+
ignore: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
109
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
110
|
+
}, _$zod_v4_core0.$strip>;
|
|
111
|
+
response: _$zod.ZodObject<{
|
|
112
|
+
files: _$zod.ZodArray<_$zod.ZodObject<{
|
|
113
|
+
path: _$zod.ZodString;
|
|
114
|
+
relativePath: _$zod.ZodString;
|
|
115
|
+
type: _$zod.ZodEnum<{
|
|
116
|
+
file: "file";
|
|
117
|
+
directory: "directory";
|
|
118
|
+
}>;
|
|
119
|
+
size: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
120
|
+
}, _$zod_v4_core0.$strip>>;
|
|
121
|
+
truncated: _$zod.ZodBoolean;
|
|
122
|
+
total: _$zod.ZodNumber;
|
|
123
|
+
}, _$zod_v4_core0.$strip>;
|
|
124
|
+
};
|
|
125
|
+
readFile: {
|
|
126
|
+
request: _$zod.ZodObject<{
|
|
127
|
+
path: _$zod.ZodString;
|
|
128
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
129
|
+
encoding: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
130
|
+
}, _$zod_v4_core0.$strip>;
|
|
131
|
+
response: _$zod.ZodObject<{
|
|
132
|
+
content: _$zod.ZodString;
|
|
133
|
+
}, _$zod_v4_core0.$strip>;
|
|
134
|
+
};
|
|
135
|
+
writeFile: {
|
|
136
|
+
request: _$zod.ZodObject<{
|
|
137
|
+
path: _$zod.ZodString;
|
|
138
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
139
|
+
content: _$zod.ZodString;
|
|
140
|
+
encoding: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
141
|
+
}, _$zod_v4_core0.$strip>;
|
|
142
|
+
response: _$zod.ZodObject<{
|
|
143
|
+
success: _$zod.ZodBoolean;
|
|
144
|
+
}, _$zod_v4_core0.$strip>;
|
|
145
|
+
};
|
|
146
|
+
}>;
|
|
147
|
+
/**
|
|
148
|
+
* Typed subjects for filesystem operations.
|
|
149
|
+
* Use FsSubjects for file watcher operations (changed, batch, watch, unwatch).
|
|
150
|
+
* Use FileSystemSubjects for directory browser operations (listSources, listDirectory, getHomeDir).
|
|
151
|
+
*/
|
|
152
|
+
declare const FsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"fs", {
|
|
153
|
+
changed: _$zod.ZodObject<{
|
|
154
|
+
path: _$zod.ZodString;
|
|
155
|
+
kind: _$zod.ZodEnum<{
|
|
156
|
+
delete: "delete";
|
|
157
|
+
create: "create";
|
|
158
|
+
change: "change";
|
|
159
|
+
}>;
|
|
160
|
+
}, _$zod_v4_core0.$strip>;
|
|
161
|
+
batch: _$zod.ZodObject<{
|
|
162
|
+
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
163
|
+
path: _$zod.ZodString;
|
|
164
|
+
kind: _$zod.ZodEnum<{
|
|
165
|
+
delete: "delete";
|
|
166
|
+
create: "create";
|
|
167
|
+
change: "change";
|
|
168
|
+
}>;
|
|
169
|
+
}, _$zod_v4_core0.$strip>>;
|
|
170
|
+
}, _$zod_v4_core0.$strip>;
|
|
171
|
+
watch: {
|
|
172
|
+
request: _$zod.ZodObject<{
|
|
173
|
+
id: _$zod.ZodString;
|
|
174
|
+
paths: _$zod.ZodArray<_$zod.ZodString>;
|
|
175
|
+
extensions: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
176
|
+
excludeFromDefaults: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
177
|
+
}, _$zod_v4_core0.$strip>;
|
|
178
|
+
response: _$zod.ZodObject<{
|
|
179
|
+
success: _$zod.ZodBoolean;
|
|
180
|
+
watchId: _$zod.ZodString;
|
|
181
|
+
}, _$zod_v4_core0.$strip>;
|
|
182
|
+
};
|
|
183
|
+
unwatch: {
|
|
184
|
+
request: _$zod.ZodObject<{
|
|
185
|
+
id: _$zod.ZodString;
|
|
186
|
+
}, _$zod_v4_core0.$strip>;
|
|
187
|
+
response: _$zod.ZodObject<{
|
|
188
|
+
success: _$zod.ZodBoolean;
|
|
189
|
+
}, _$zod_v4_core0.$strip>;
|
|
190
|
+
};
|
|
191
|
+
listSources: {
|
|
192
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
193
|
+
response: _$zod.ZodObject<{
|
|
194
|
+
sources: _$zod.ZodArray<_$zod.ZodObject<{
|
|
195
|
+
machineId: _$zod.ZodString;
|
|
196
|
+
label: _$zod.ZodString;
|
|
197
|
+
}, _$zod_v4_core0.$strip>>;
|
|
198
|
+
}, _$zod_v4_core0.$strip>;
|
|
199
|
+
};
|
|
200
|
+
listDirectory: {
|
|
201
|
+
request: _$zod.ZodObject<{
|
|
202
|
+
machineId: _$zod.ZodString;
|
|
203
|
+
path: _$zod.ZodOptional<_$zod.ZodString>;
|
|
204
|
+
options: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
205
|
+
includeHidden: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodBoolean>>;
|
|
206
|
+
excludeNames: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
207
|
+
}, _$zod_v4_core0.$strip>>;
|
|
208
|
+
}, _$zod_v4_core0.$strip>;
|
|
209
|
+
response: _$zod.ZodObject<{
|
|
210
|
+
entries: _$zod.ZodArray<_$zod.ZodObject<{
|
|
211
|
+
name: _$zod.ZodString;
|
|
212
|
+
path: _$zod.ZodString;
|
|
213
|
+
type: _$zod.ZodEnum<{
|
|
214
|
+
file: "file";
|
|
215
|
+
directory: "directory";
|
|
216
|
+
}>;
|
|
217
|
+
relativePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
218
|
+
isGitRepo: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
219
|
+
size: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
220
|
+
modified: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
221
|
+
}, _$zod_v4_core0.$strip>>;
|
|
222
|
+
isGitRepo: _$zod.ZodBoolean;
|
|
223
|
+
path: _$zod.ZodString;
|
|
224
|
+
parentPath: _$zod.ZodNullable<_$zod.ZodString>;
|
|
225
|
+
segments: _$zod.ZodArray<_$zod.ZodString>;
|
|
226
|
+
breadcrumbs: _$zod.ZodArray<_$zod.ZodObject<{
|
|
227
|
+
name: _$zod.ZodString;
|
|
228
|
+
path: _$zod.ZodString;
|
|
229
|
+
}, _$zod_v4_core0.$strip>>;
|
|
230
|
+
errors: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
231
|
+
name: _$zod.ZodString;
|
|
232
|
+
code: _$zod.ZodString;
|
|
233
|
+
message: _$zod.ZodString;
|
|
234
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
235
|
+
}, _$zod_v4_core0.$strip>;
|
|
236
|
+
};
|
|
237
|
+
getHomeDir: {
|
|
238
|
+
request: _$zod.ZodObject<{
|
|
239
|
+
machineId: _$zod.ZodString;
|
|
240
|
+
}, _$zod_v4_core0.$strip>;
|
|
241
|
+
response: _$zod.ZodObject<{
|
|
242
|
+
path: _$zod.ZodString;
|
|
243
|
+
}, _$zod_v4_core0.$strip>;
|
|
244
|
+
};
|
|
245
|
+
glob: {
|
|
246
|
+
request: _$zod.ZodObject<{
|
|
247
|
+
pattern: _$zod.ZodString;
|
|
248
|
+
cwd: _$zod.ZodString;
|
|
249
|
+
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
250
|
+
offset: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
251
|
+
ignore: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
252
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
253
|
+
}, _$zod_v4_core0.$strip>;
|
|
254
|
+
response: _$zod.ZodObject<{
|
|
255
|
+
files: _$zod.ZodArray<_$zod.ZodObject<{
|
|
256
|
+
path: _$zod.ZodString;
|
|
257
|
+
relativePath: _$zod.ZodString;
|
|
258
|
+
type: _$zod.ZodEnum<{
|
|
259
|
+
file: "file";
|
|
260
|
+
directory: "directory";
|
|
261
|
+
}>;
|
|
262
|
+
size: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
263
|
+
}, _$zod_v4_core0.$strip>>;
|
|
264
|
+
truncated: _$zod.ZodBoolean;
|
|
265
|
+
total: _$zod.ZodNumber;
|
|
266
|
+
}, _$zod_v4_core0.$strip>;
|
|
267
|
+
};
|
|
268
|
+
readFile: {
|
|
269
|
+
request: _$zod.ZodObject<{
|
|
270
|
+
path: _$zod.ZodString;
|
|
271
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
272
|
+
encoding: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
273
|
+
}, _$zod_v4_core0.$strip>;
|
|
274
|
+
response: _$zod.ZodObject<{
|
|
275
|
+
content: _$zod.ZodString;
|
|
276
|
+
}, _$zod_v4_core0.$strip>;
|
|
277
|
+
};
|
|
278
|
+
writeFile: {
|
|
279
|
+
request: _$zod.ZodObject<{
|
|
280
|
+
path: _$zod.ZodString;
|
|
281
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
282
|
+
content: _$zod.ZodString;
|
|
283
|
+
encoding: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
284
|
+
}, _$zod_v4_core0.$strip>;
|
|
285
|
+
response: _$zod.ZodObject<{
|
|
286
|
+
success: _$zod.ZodBoolean;
|
|
287
|
+
}, _$zod_v4_core0.$strip>;
|
|
288
|
+
};
|
|
289
|
+
}>, "fs">;
|
|
290
|
+
/**
|
|
291
|
+
* Alias for directory browser API consistency.
|
|
292
|
+
*/
|
|
293
|
+
declare const FileSystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"fs", {
|
|
294
|
+
changed: _$zod.ZodObject<{
|
|
295
|
+
path: _$zod.ZodString;
|
|
296
|
+
kind: _$zod.ZodEnum<{
|
|
297
|
+
delete: "delete";
|
|
298
|
+
create: "create";
|
|
299
|
+
change: "change";
|
|
300
|
+
}>;
|
|
301
|
+
}, _$zod_v4_core0.$strip>;
|
|
302
|
+
batch: _$zod.ZodObject<{
|
|
303
|
+
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
304
|
+
path: _$zod.ZodString;
|
|
305
|
+
kind: _$zod.ZodEnum<{
|
|
306
|
+
delete: "delete";
|
|
307
|
+
create: "create";
|
|
308
|
+
change: "change";
|
|
309
|
+
}>;
|
|
310
|
+
}, _$zod_v4_core0.$strip>>;
|
|
311
|
+
}, _$zod_v4_core0.$strip>;
|
|
312
|
+
watch: {
|
|
313
|
+
request: _$zod.ZodObject<{
|
|
314
|
+
id: _$zod.ZodString;
|
|
315
|
+
paths: _$zod.ZodArray<_$zod.ZodString>;
|
|
316
|
+
extensions: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
317
|
+
excludeFromDefaults: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
318
|
+
}, _$zod_v4_core0.$strip>;
|
|
319
|
+
response: _$zod.ZodObject<{
|
|
320
|
+
success: _$zod.ZodBoolean;
|
|
321
|
+
watchId: _$zod.ZodString;
|
|
322
|
+
}, _$zod_v4_core0.$strip>;
|
|
323
|
+
};
|
|
324
|
+
unwatch: {
|
|
325
|
+
request: _$zod.ZodObject<{
|
|
326
|
+
id: _$zod.ZodString;
|
|
327
|
+
}, _$zod_v4_core0.$strip>;
|
|
328
|
+
response: _$zod.ZodObject<{
|
|
329
|
+
success: _$zod.ZodBoolean;
|
|
330
|
+
}, _$zod_v4_core0.$strip>;
|
|
331
|
+
};
|
|
332
|
+
listSources: {
|
|
333
|
+
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
334
|
+
response: _$zod.ZodObject<{
|
|
335
|
+
sources: _$zod.ZodArray<_$zod.ZodObject<{
|
|
336
|
+
machineId: _$zod.ZodString;
|
|
337
|
+
label: _$zod.ZodString;
|
|
338
|
+
}, _$zod_v4_core0.$strip>>;
|
|
339
|
+
}, _$zod_v4_core0.$strip>;
|
|
340
|
+
};
|
|
341
|
+
listDirectory: {
|
|
342
|
+
request: _$zod.ZodObject<{
|
|
343
|
+
machineId: _$zod.ZodString;
|
|
344
|
+
path: _$zod.ZodOptional<_$zod.ZodString>;
|
|
345
|
+
options: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
346
|
+
includeHidden: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodBoolean>>;
|
|
347
|
+
excludeNames: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
348
|
+
}, _$zod_v4_core0.$strip>>;
|
|
349
|
+
}, _$zod_v4_core0.$strip>;
|
|
350
|
+
response: _$zod.ZodObject<{
|
|
351
|
+
entries: _$zod.ZodArray<_$zod.ZodObject<{
|
|
352
|
+
name: _$zod.ZodString;
|
|
353
|
+
path: _$zod.ZodString;
|
|
354
|
+
type: _$zod.ZodEnum<{
|
|
355
|
+
file: "file";
|
|
356
|
+
directory: "directory";
|
|
357
|
+
}>;
|
|
358
|
+
relativePath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
359
|
+
isGitRepo: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
360
|
+
size: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
361
|
+
modified: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
362
|
+
}, _$zod_v4_core0.$strip>>;
|
|
363
|
+
isGitRepo: _$zod.ZodBoolean;
|
|
364
|
+
path: _$zod.ZodString;
|
|
365
|
+
parentPath: _$zod.ZodNullable<_$zod.ZodString>;
|
|
366
|
+
segments: _$zod.ZodArray<_$zod.ZodString>;
|
|
367
|
+
breadcrumbs: _$zod.ZodArray<_$zod.ZodObject<{
|
|
368
|
+
name: _$zod.ZodString;
|
|
369
|
+
path: _$zod.ZodString;
|
|
370
|
+
}, _$zod_v4_core0.$strip>>;
|
|
371
|
+
errors: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
372
|
+
name: _$zod.ZodString;
|
|
373
|
+
code: _$zod.ZodString;
|
|
374
|
+
message: _$zod.ZodString;
|
|
375
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
376
|
+
}, _$zod_v4_core0.$strip>;
|
|
377
|
+
};
|
|
378
|
+
getHomeDir: {
|
|
379
|
+
request: _$zod.ZodObject<{
|
|
380
|
+
machineId: _$zod.ZodString;
|
|
381
|
+
}, _$zod_v4_core0.$strip>;
|
|
382
|
+
response: _$zod.ZodObject<{
|
|
383
|
+
path: _$zod.ZodString;
|
|
384
|
+
}, _$zod_v4_core0.$strip>;
|
|
385
|
+
};
|
|
386
|
+
glob: {
|
|
387
|
+
request: _$zod.ZodObject<{
|
|
388
|
+
pattern: _$zod.ZodString;
|
|
389
|
+
cwd: _$zod.ZodString;
|
|
390
|
+
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
391
|
+
offset: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
392
|
+
ignore: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
393
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
394
|
+
}, _$zod_v4_core0.$strip>;
|
|
395
|
+
response: _$zod.ZodObject<{
|
|
396
|
+
files: _$zod.ZodArray<_$zod.ZodObject<{
|
|
397
|
+
path: _$zod.ZodString;
|
|
398
|
+
relativePath: _$zod.ZodString;
|
|
399
|
+
type: _$zod.ZodEnum<{
|
|
400
|
+
file: "file";
|
|
401
|
+
directory: "directory";
|
|
402
|
+
}>;
|
|
403
|
+
size: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
404
|
+
}, _$zod_v4_core0.$strip>>;
|
|
405
|
+
truncated: _$zod.ZodBoolean;
|
|
406
|
+
total: _$zod.ZodNumber;
|
|
407
|
+
}, _$zod_v4_core0.$strip>;
|
|
408
|
+
};
|
|
409
|
+
readFile: {
|
|
410
|
+
request: _$zod.ZodObject<{
|
|
411
|
+
path: _$zod.ZodString;
|
|
412
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
413
|
+
encoding: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
414
|
+
}, _$zod_v4_core0.$strip>;
|
|
415
|
+
response: _$zod.ZodObject<{
|
|
416
|
+
content: _$zod.ZodString;
|
|
417
|
+
}, _$zod_v4_core0.$strip>;
|
|
418
|
+
};
|
|
419
|
+
writeFile: {
|
|
420
|
+
request: _$zod.ZodObject<{
|
|
421
|
+
path: _$zod.ZodString;
|
|
422
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
423
|
+
content: _$zod.ZodString;
|
|
424
|
+
encoding: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
425
|
+
}, _$zod_v4_core0.$strip>;
|
|
426
|
+
response: _$zod.ZodObject<{
|
|
427
|
+
success: _$zod.ZodBoolean;
|
|
428
|
+
}, _$zod_v4_core0.$strip>;
|
|
429
|
+
};
|
|
430
|
+
}>, "fs">;
|
|
431
|
+
//#endregion
|
|
432
|
+
export { FileSystemSubjects, FsNamespace, FsSubjects };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{FsBatchSchema as e,FsChangedSchema as t,FsUnwatchRequestSchema as n,FsUnwatchResponseSchema as r,FsWatchRequestSchema as i,FsWatchResponseSchema as a,GetHomeDirRequestSchema as o,GetHomeDirResponseSchema as s,GlobRequestSchema as c,GlobResponseSchema as l,ListDirectoryRequestSchema as u,ListDirectoryResponseSchema as d,ListSourcesRequestSchema as f,ListSourcesResponseSchema as p,ReadFileRequestSchema as m,ReadFileResponseSchema as h,WriteFileRequestSchema as g,WriteFileResponseSchema as _}from"./schemas.mjs";import{createBusNamespace as v}from"@makaio/framework/core";const y=v(`fs`,{changed:t,batch:e,watch:{request:i,response:a},unwatch:{request:n,response:r},listSources:{request:f,response:p},listDirectory:{request:u,response:d},getHomeDir:{request:o,response:s},glob:{request:c,response:l},readFile:{request:m,response:h},writeFile:{request:g,response:_}}),b=y.subjects,x=b;export{x as FileSystemSubjects,y as FsNamespace,b as FsSubjects};
|