@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,2938 @@
|
|
|
1
|
+
import { i as ClientDefinitionInput, r as ClientDefinition } from "./definition-DxvZ9e22.mjs";
|
|
2
|
+
import * as _$zod from "zod";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
5
|
+
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
6
|
+
|
|
7
|
+
//#region packages/contracts/src/client/binary-resolution.d.ts
|
|
8
|
+
/**
|
|
9
|
+
* Execution context returned by the `client.resolveBinary` command.
|
|
10
|
+
*
|
|
11
|
+
* Describes everything a caller needs to spawn the resolved client binary:
|
|
12
|
+
* the path (or `null` to use PATH lookup), environment overrides, the config
|
|
13
|
+
* directory in effect, the resolution source, and the resolved version.
|
|
14
|
+
*/
|
|
15
|
+
declare const ClientExecutionContextSchema: z.ZodObject<{
|
|
16
|
+
binaryPath: z.ZodNullable<z.ZodString>;
|
|
17
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
18
|
+
configDir: z.ZodNullable<z.ZodString>;
|
|
19
|
+
source: z.ZodEnum<{
|
|
20
|
+
global: "global";
|
|
21
|
+
managed: "managed";
|
|
22
|
+
}>;
|
|
23
|
+
version: z.ZodNullable<z.ZodString>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
type ClientExecutionContext = z.infer<typeof ClientExecutionContextSchema>;
|
|
26
|
+
/**
|
|
27
|
+
* Request and response schemas for `client.resolveBinary`.
|
|
28
|
+
*
|
|
29
|
+
* Resolves the binary path, environment overrides, and config directory for a
|
|
30
|
+
* given client. The response is everything a caller needs to spawn the binary.
|
|
31
|
+
*
|
|
32
|
+
* Phase 2 optional fields (`sessionId`, `projectDir`, `preferSource`,
|
|
33
|
+
* `harnessId`) are declared now as seams so the handler contract is stable
|
|
34
|
+
* before the implementations land.
|
|
35
|
+
*/
|
|
36
|
+
declare const ClientResolveBinarySchema: {
|
|
37
|
+
request: z.ZodObject<{
|
|
38
|
+
clientId: z.ZodString;
|
|
39
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
40
|
+
projectDir: z.ZodOptional<z.ZodString>;
|
|
41
|
+
preferSource: z.ZodOptional<z.ZodEnum<{
|
|
42
|
+
global: "global";
|
|
43
|
+
managed: "managed";
|
|
44
|
+
}>>;
|
|
45
|
+
harnessId: z.ZodOptional<z.ZodString>;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
response: z.ZodObject<{
|
|
48
|
+
binaryPath: z.ZodNullable<z.ZodString>;
|
|
49
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
50
|
+
configDir: z.ZodNullable<z.ZodString>;
|
|
51
|
+
source: z.ZodEnum<{
|
|
52
|
+
global: "global";
|
|
53
|
+
managed: "managed";
|
|
54
|
+
}>;
|
|
55
|
+
version: z.ZodNullable<z.ZodString>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
};
|
|
58
|
+
type ClientResolveBinaryRequest = z.infer<typeof ClientResolveBinarySchema.request>;
|
|
59
|
+
type ClientResolveBinaryResponse = z.infer<typeof ClientResolveBinarySchema.response>;
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region packages/contracts/src/client/schemas.d.ts
|
|
62
|
+
/**
|
|
63
|
+
* Client namespace schemas.
|
|
64
|
+
*/
|
|
65
|
+
declare const ClientSchemas: {
|
|
66
|
+
'sessionConfig.create': {
|
|
67
|
+
request: z.ZodObject<{
|
|
68
|
+
clientId: z.ZodString;
|
|
69
|
+
sessionId: z.ZodString;
|
|
70
|
+
profileName: z.ZodOptional<z.ZodString>;
|
|
71
|
+
baseConfigDir: z.ZodOptional<z.ZodString>;
|
|
72
|
+
projectDir: z.ZodOptional<z.ZodString>;
|
|
73
|
+
configInheritance: z.ZodOptional<z.ZodEnum<{
|
|
74
|
+
full: "full";
|
|
75
|
+
"auth-only": "auth-only";
|
|
76
|
+
empty: "empty";
|
|
77
|
+
}>>;
|
|
78
|
+
}, z.core.$strip>;
|
|
79
|
+
response: z.ZodObject<{
|
|
80
|
+
sessionDir: z.ZodString;
|
|
81
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
82
|
+
}, z.core.$strip>;
|
|
83
|
+
};
|
|
84
|
+
'sessionConfig.destroy': {
|
|
85
|
+
request: z.ZodObject<{
|
|
86
|
+
clientId: z.ZodString;
|
|
87
|
+
sessionId: z.ZodString;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
response: z.ZodObject<{
|
|
90
|
+
success: z.ZodBoolean;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
};
|
|
93
|
+
'sessionConfig.cleanup': {
|
|
94
|
+
request: z.ZodObject<{
|
|
95
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
96
|
+
}, z.core.$strip>;
|
|
97
|
+
response: z.ZodObject<{
|
|
98
|
+
removed: z.ZodArray<z.ZodString>;
|
|
99
|
+
}, z.core.$strip>;
|
|
100
|
+
};
|
|
101
|
+
'profile.create': {
|
|
102
|
+
request: z.ZodObject<{
|
|
103
|
+
clientId: z.ZodString;
|
|
104
|
+
name: z.ZodString;
|
|
105
|
+
description: z.ZodOptional<z.ZodString>;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
response: z.ZodObject<{
|
|
108
|
+
profile: z.ZodObject<{
|
|
109
|
+
id: z.ZodString;
|
|
110
|
+
clientId: z.ZodString;
|
|
111
|
+
name: z.ZodString;
|
|
112
|
+
description: z.ZodNullable<z.ZodString>;
|
|
113
|
+
configDir: z.ZodString;
|
|
114
|
+
isDefault: z.ZodBoolean;
|
|
115
|
+
createdAt: z.ZodNumber;
|
|
116
|
+
updatedAt: z.ZodNumber;
|
|
117
|
+
}, z.core.$strip>;
|
|
118
|
+
}, z.core.$strip>;
|
|
119
|
+
};
|
|
120
|
+
'profile.list': {
|
|
121
|
+
request: z.ZodObject<{
|
|
122
|
+
clientId: z.ZodString;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
response: z.ZodObject<{
|
|
125
|
+
profiles: z.ZodArray<z.ZodObject<{
|
|
126
|
+
id: z.ZodString;
|
|
127
|
+
clientId: z.ZodString;
|
|
128
|
+
name: z.ZodString;
|
|
129
|
+
description: z.ZodNullable<z.ZodString>;
|
|
130
|
+
configDir: z.ZodString;
|
|
131
|
+
isDefault: z.ZodBoolean;
|
|
132
|
+
createdAt: z.ZodNumber;
|
|
133
|
+
updatedAt: z.ZodNumber;
|
|
134
|
+
}, z.core.$strip>>;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
};
|
|
137
|
+
'profile.get': {
|
|
138
|
+
request: z.ZodObject<{
|
|
139
|
+
clientId: z.ZodString;
|
|
140
|
+
name: z.ZodString;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
response: z.ZodObject<{
|
|
143
|
+
profile: z.ZodNullable<z.ZodObject<{
|
|
144
|
+
id: z.ZodString;
|
|
145
|
+
clientId: z.ZodString;
|
|
146
|
+
name: z.ZodString;
|
|
147
|
+
description: z.ZodNullable<z.ZodString>;
|
|
148
|
+
configDir: z.ZodString;
|
|
149
|
+
isDefault: z.ZodBoolean;
|
|
150
|
+
createdAt: z.ZodNumber;
|
|
151
|
+
updatedAt: z.ZodNumber;
|
|
152
|
+
}, z.core.$strip>>;
|
|
153
|
+
}, z.core.$strip>;
|
|
154
|
+
};
|
|
155
|
+
'profile.update': {
|
|
156
|
+
request: z.ZodObject<{
|
|
157
|
+
clientId: z.ZodString;
|
|
158
|
+
name: z.ZodString;
|
|
159
|
+
description: z.ZodOptional<z.ZodString>;
|
|
160
|
+
}, z.core.$strip>;
|
|
161
|
+
response: z.ZodObject<{
|
|
162
|
+
profile: z.ZodObject<{
|
|
163
|
+
id: z.ZodString;
|
|
164
|
+
clientId: z.ZodString;
|
|
165
|
+
name: z.ZodString;
|
|
166
|
+
description: z.ZodNullable<z.ZodString>;
|
|
167
|
+
configDir: z.ZodString;
|
|
168
|
+
isDefault: z.ZodBoolean;
|
|
169
|
+
createdAt: z.ZodNumber;
|
|
170
|
+
updatedAt: z.ZodNumber;
|
|
171
|
+
}, z.core.$strip>;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
};
|
|
174
|
+
'profile.delete': {
|
|
175
|
+
request: z.ZodObject<{
|
|
176
|
+
clientId: z.ZodString;
|
|
177
|
+
name: z.ZodString;
|
|
178
|
+
}, z.core.$strip>;
|
|
179
|
+
response: z.ZodObject<{
|
|
180
|
+
success: z.ZodBoolean;
|
|
181
|
+
}, z.core.$strip>;
|
|
182
|
+
};
|
|
183
|
+
'profile.setDefault': {
|
|
184
|
+
request: z.ZodObject<{
|
|
185
|
+
clientId: z.ZodString;
|
|
186
|
+
name: z.ZodString;
|
|
187
|
+
}, z.core.$strip>;
|
|
188
|
+
response: z.ZodObject<{
|
|
189
|
+
profile: z.ZodObject<{
|
|
190
|
+
id: z.ZodString;
|
|
191
|
+
clientId: z.ZodString;
|
|
192
|
+
name: z.ZodString;
|
|
193
|
+
description: z.ZodNullable<z.ZodString>;
|
|
194
|
+
configDir: z.ZodString;
|
|
195
|
+
isDefault: z.ZodBoolean;
|
|
196
|
+
createdAt: z.ZodNumber;
|
|
197
|
+
updatedAt: z.ZodNumber;
|
|
198
|
+
}, z.core.$strip>;
|
|
199
|
+
}, z.core.$strip>;
|
|
200
|
+
};
|
|
201
|
+
'runtime.observe': {
|
|
202
|
+
request: z.ZodObject<{
|
|
203
|
+
clientId: z.ZodString;
|
|
204
|
+
source: z.ZodObject<{
|
|
205
|
+
layer: z.ZodEnum<{
|
|
206
|
+
adapter: "adapter";
|
|
207
|
+
supervisor: "supervisor";
|
|
208
|
+
"client-hook": "client-hook";
|
|
209
|
+
statusline: "statusline";
|
|
210
|
+
"cli-wrapper": "cli-wrapper";
|
|
211
|
+
}>;
|
|
212
|
+
producer: z.ZodString;
|
|
213
|
+
}, z.core.$strip>;
|
|
214
|
+
observedAt: z.ZodNumber;
|
|
215
|
+
supervisorSessionId: z.ZodOptional<z.ZodString>;
|
|
216
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
217
|
+
parentPid: z.ZodOptional<z.ZodNumber>;
|
|
218
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
219
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
220
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
221
|
+
argv: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
222
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
223
|
+
}, z.core.$strip>;
|
|
224
|
+
response: z.ZodObject<{
|
|
225
|
+
clientRuntimeId: z.ZodString;
|
|
226
|
+
created: z.ZodBoolean;
|
|
227
|
+
promoted: z.ZodBoolean;
|
|
228
|
+
}, z.core.$strip>;
|
|
229
|
+
};
|
|
230
|
+
'runtime.started': z.ZodObject<{
|
|
231
|
+
supervisorSessionId: z.ZodOptional<z.ZodString>;
|
|
232
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
233
|
+
parentPid: z.ZodOptional<z.ZodNumber>;
|
|
234
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
235
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
236
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
237
|
+
argv: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
238
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
239
|
+
clientRuntimeId: z.ZodString;
|
|
240
|
+
clientId: z.ZodString;
|
|
241
|
+
status: z.ZodEnum<{
|
|
242
|
+
started: "started";
|
|
243
|
+
observed: "observed";
|
|
244
|
+
}>;
|
|
245
|
+
source: z.ZodObject<{
|
|
246
|
+
layer: z.ZodEnum<{
|
|
247
|
+
adapter: "adapter";
|
|
248
|
+
supervisor: "supervisor";
|
|
249
|
+
"client-hook": "client-hook";
|
|
250
|
+
statusline: "statusline";
|
|
251
|
+
"cli-wrapper": "cli-wrapper";
|
|
252
|
+
}>;
|
|
253
|
+
producer: z.ZodString;
|
|
254
|
+
}, z.core.$strip>;
|
|
255
|
+
observedAt: z.ZodNumber;
|
|
256
|
+
}, z.core.$strip>;
|
|
257
|
+
scan: {
|
|
258
|
+
request: z.ZodObject<{
|
|
259
|
+
targets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
260
|
+
clientId: z.ZodString;
|
|
261
|
+
binaryName: z.ZodString;
|
|
262
|
+
supportedVersions: z.ZodOptional<z.ZodString>;
|
|
263
|
+
}, z.core.$strip>>>;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
response: z.ZodObject<{
|
|
266
|
+
results: z.ZodArray<z.ZodObject<{
|
|
267
|
+
clientId: z.ZodString;
|
|
268
|
+
found: z.ZodBoolean;
|
|
269
|
+
version: z.ZodOptional<z.ZodString>;
|
|
270
|
+
warningMessage: z.ZodOptional<z.ZodString>;
|
|
271
|
+
}, z.core.$strip>>;
|
|
272
|
+
}, z.core.$strip>;
|
|
273
|
+
};
|
|
274
|
+
'session.account.observe': {
|
|
275
|
+
request: z.ZodObject<{
|
|
276
|
+
clientId: z.ZodString;
|
|
277
|
+
source: z.ZodString;
|
|
278
|
+
kind: z.ZodString;
|
|
279
|
+
observedAt: z.ZodNumber;
|
|
280
|
+
payload: z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>;
|
|
281
|
+
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
282
|
+
kind: z.ZodLiteral<"session">;
|
|
283
|
+
sessionId: z.ZodString;
|
|
284
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
285
|
+
kind: z.ZodLiteral<"adapter-session">;
|
|
286
|
+
adapterSessionId: z.ZodString;
|
|
287
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
288
|
+
kind: z.ZodLiteral<"both">;
|
|
289
|
+
sessionId: z.ZodString;
|
|
290
|
+
adapterSessionId: z.ZodString;
|
|
291
|
+
}, z.core.$strip>], "kind">;
|
|
292
|
+
}, z.core.$strip>;
|
|
293
|
+
response: z.ZodObject<{
|
|
294
|
+
handled: z.ZodBoolean;
|
|
295
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
296
|
+
clientAccountId: z.ZodNullable<z.ZodString>;
|
|
297
|
+
changed: z.ZodBoolean;
|
|
298
|
+
}, z.core.$strip>;
|
|
299
|
+
};
|
|
300
|
+
'account.observe': {
|
|
301
|
+
request: z.ZodObject<{
|
|
302
|
+
clientId: z.ZodString;
|
|
303
|
+
observedAt: z.ZodOptional<z.ZodNumber>;
|
|
304
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
305
|
+
identifiers: z.ZodArray<z.ZodObject<{
|
|
306
|
+
scheme: z.ZodString;
|
|
307
|
+
value: z.ZodString;
|
|
308
|
+
strength: z.ZodEnum<{
|
|
309
|
+
strong: "strong";
|
|
310
|
+
alias: "alias";
|
|
311
|
+
}>;
|
|
312
|
+
}, z.core.$strip>>;
|
|
313
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
314
|
+
}, z.core.$strip>;
|
|
315
|
+
response: z.ZodObject<{
|
|
316
|
+
clientAccountId: z.ZodString;
|
|
317
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
318
|
+
}, z.core.$strip>;
|
|
319
|
+
};
|
|
320
|
+
/**
|
|
321
|
+
* Signal which account is currently active for a client.
|
|
322
|
+
*
|
|
323
|
+
* Called by the account-manager after successfully linking an account
|
|
324
|
+
* via `client.account.observe`. `ClientRuntimeService` persists the
|
|
325
|
+
* supplied identity in memory so that other services (e.g. the Claude
|
|
326
|
+
* Code client service) can query it without a session lookup.
|
|
327
|
+
*/
|
|
328
|
+
'account.activate': {
|
|
329
|
+
request: z.ZodObject<{
|
|
330
|
+
clientId: z.ZodString;
|
|
331
|
+
clientAccountId: z.ZodString;
|
|
332
|
+
identifiers: z.ZodArray<z.ZodObject<{
|
|
333
|
+
scheme: z.ZodString;
|
|
334
|
+
value: z.ZodString;
|
|
335
|
+
strength: z.ZodEnum<{
|
|
336
|
+
strong: "strong";
|
|
337
|
+
alias: "alias";
|
|
338
|
+
}>;
|
|
339
|
+
}, z.core.$strip>>;
|
|
340
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
341
|
+
}, z.core.$strip>;
|
|
342
|
+
response: z.ZodObject<{
|
|
343
|
+
accepted: z.ZodBoolean;
|
|
344
|
+
}, z.core.$strip>;
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* Retrieve the currently active account identity for a client.
|
|
348
|
+
*
|
|
349
|
+
* Returns the identity most recently signalled via `account.activate`,
|
|
350
|
+
* or `null` when no activation has been recorded for the given client.
|
|
351
|
+
* Used as a fallback by the Claude Code client service when a statusline
|
|
352
|
+
* payload cannot be correlated to a persisted session.
|
|
353
|
+
*/
|
|
354
|
+
'account.getActive': {
|
|
355
|
+
request: z.ZodObject<{
|
|
356
|
+
clientId: z.ZodString;
|
|
357
|
+
}, z.core.$strip>;
|
|
358
|
+
response: z.ZodObject<{
|
|
359
|
+
identity: z.ZodNullable<z.ZodObject<{
|
|
360
|
+
clientAccountId: z.ZodString;
|
|
361
|
+
identifiers: z.ZodArray<z.ZodObject<{
|
|
362
|
+
scheme: z.ZodString;
|
|
363
|
+
value: z.ZodString;
|
|
364
|
+
strength: z.ZodEnum<{
|
|
365
|
+
strong: "strong";
|
|
366
|
+
alias: "alias";
|
|
367
|
+
}>;
|
|
368
|
+
}, z.core.$strip>>;
|
|
369
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
370
|
+
}, z.core.$strip>>;
|
|
371
|
+
}, z.core.$strip>;
|
|
372
|
+
};
|
|
373
|
+
'usage.ingest': {
|
|
374
|
+
request: z.ZodObject<{
|
|
375
|
+
clientId: z.ZodString;
|
|
376
|
+
observedAt: z.ZodNumber;
|
|
377
|
+
source: z.ZodString;
|
|
378
|
+
account: z.ZodObject<{
|
|
379
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
380
|
+
identifiers: z.ZodArray<z.ZodObject<{
|
|
381
|
+
scheme: z.ZodString;
|
|
382
|
+
value: z.ZodString;
|
|
383
|
+
strength: z.ZodEnum<{
|
|
384
|
+
strong: "strong";
|
|
385
|
+
alias: "alias";
|
|
386
|
+
}>;
|
|
387
|
+
}, z.core.$strip>>;
|
|
388
|
+
}, z.core.$strip>;
|
|
389
|
+
usage: z.ZodObject<{
|
|
390
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
391
|
+
key: z.ZodString;
|
|
392
|
+
label: z.ZodString;
|
|
393
|
+
usedPercentage: z.ZodNumber;
|
|
394
|
+
resetsAt: z.ZodOptional<z.ZodNumber>;
|
|
395
|
+
}, z.core.$strip>>;
|
|
396
|
+
}, z.core.$strip>;
|
|
397
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
398
|
+
}, z.core.$strip>;
|
|
399
|
+
response: z.ZodObject<{
|
|
400
|
+
clientAccountId: z.ZodString;
|
|
401
|
+
snapshot: z.ZodObject<{
|
|
402
|
+
clientAccountId: z.ZodString;
|
|
403
|
+
clientId: z.ZodString;
|
|
404
|
+
observedAt: z.ZodNumber;
|
|
405
|
+
source: z.ZodString;
|
|
406
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
407
|
+
usage: z.ZodObject<{
|
|
408
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
409
|
+
key: z.ZodString;
|
|
410
|
+
label: z.ZodString;
|
|
411
|
+
usedPercentage: z.ZodNumber;
|
|
412
|
+
resetsAt: z.ZodOptional<z.ZodNumber>;
|
|
413
|
+
}, z.core.$strip>>;
|
|
414
|
+
}, z.core.$strip>;
|
|
415
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
416
|
+
}, z.core.$strip>;
|
|
417
|
+
}, z.core.$strip>;
|
|
418
|
+
};
|
|
419
|
+
'usage.snapshot': z.ZodObject<{
|
|
420
|
+
clientAccountId: z.ZodString;
|
|
421
|
+
clientId: z.ZodString;
|
|
422
|
+
observedAt: z.ZodNumber;
|
|
423
|
+
source: z.ZodString;
|
|
424
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
425
|
+
usage: z.ZodObject<{
|
|
426
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
427
|
+
key: z.ZodString;
|
|
428
|
+
label: z.ZodString;
|
|
429
|
+
usedPercentage: z.ZodNumber;
|
|
430
|
+
resetsAt: z.ZodOptional<z.ZodNumber>;
|
|
431
|
+
}, z.core.$strip>>;
|
|
432
|
+
}, z.core.$strip>;
|
|
433
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
434
|
+
}, z.core.$strip>;
|
|
435
|
+
'session.started': z.ZodObject<{
|
|
436
|
+
clientId: z.ZodString;
|
|
437
|
+
source: z.ZodString;
|
|
438
|
+
observedAt: z.ZodNumber;
|
|
439
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
440
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
441
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
442
|
+
}, z.core.$strip>;
|
|
443
|
+
'session.userPrompt.submitted': z.ZodObject<{
|
|
444
|
+
clientId: z.ZodString;
|
|
445
|
+
source: z.ZodString;
|
|
446
|
+
observedAt: z.ZodNumber;
|
|
447
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
448
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
449
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
450
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
451
|
+
}, z.core.$strip>;
|
|
452
|
+
'session.turn.started': z.ZodObject<{
|
|
453
|
+
clientId: z.ZodString;
|
|
454
|
+
source: z.ZodString;
|
|
455
|
+
observedAt: z.ZodNumber;
|
|
456
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
457
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
458
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
459
|
+
}, z.core.$strip>;
|
|
460
|
+
'session.turn.completed': z.ZodObject<{
|
|
461
|
+
clientId: z.ZodString;
|
|
462
|
+
source: z.ZodString;
|
|
463
|
+
observedAt: z.ZodNumber;
|
|
464
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
465
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
466
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
467
|
+
}, z.core.$strip>;
|
|
468
|
+
'session.tool.pre': z.ZodObject<{
|
|
469
|
+
clientId: z.ZodString;
|
|
470
|
+
source: z.ZodString;
|
|
471
|
+
observedAt: z.ZodNumber;
|
|
472
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
473
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
474
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
475
|
+
toolName: z.ZodOptional<z.ZodString>;
|
|
476
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
477
|
+
}, z.core.$strip>;
|
|
478
|
+
'session.tool.post': z.ZodObject<{
|
|
479
|
+
clientId: z.ZodString;
|
|
480
|
+
source: z.ZodString;
|
|
481
|
+
observedAt: z.ZodNumber;
|
|
482
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
483
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
484
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
485
|
+
toolName: z.ZodOptional<z.ZodString>;
|
|
486
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
487
|
+
success: z.ZodOptional<z.ZodBoolean>;
|
|
488
|
+
}, z.core.$strip>;
|
|
489
|
+
'wiring.list': {
|
|
490
|
+
request: z.ZodObject<{
|
|
491
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
492
|
+
projectDir: z.ZodOptional<z.ZodString>;
|
|
493
|
+
makaioCommand: z.ZodString;
|
|
494
|
+
}, z.core.$strip>;
|
|
495
|
+
response: z.ZodObject<{
|
|
496
|
+
results: z.ZodArray<z.ZodObject<{
|
|
497
|
+
clientId: z.ZodString;
|
|
498
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
499
|
+
group: z.ZodString;
|
|
500
|
+
name: z.ZodString;
|
|
501
|
+
installed: z.ZodBoolean;
|
|
502
|
+
command: z.ZodString;
|
|
503
|
+
}, z.core.$strip>>;
|
|
504
|
+
}, z.core.$strip>>;
|
|
505
|
+
}, z.core.$strip>;
|
|
506
|
+
};
|
|
507
|
+
list: {
|
|
508
|
+
request: z.ZodObject<{
|
|
509
|
+
forceRefresh: z.ZodOptional<z.ZodBoolean>;
|
|
510
|
+
}, z.core.$strip>;
|
|
511
|
+
response: z.ZodObject<{
|
|
512
|
+
clients: z.ZodArray<z.ZodObject<{
|
|
513
|
+
clientId: z.ZodString;
|
|
514
|
+
installedVersions: z.ZodArray<z.ZodObject<{
|
|
515
|
+
version: z.ZodString;
|
|
516
|
+
installPath: z.ZodString;
|
|
517
|
+
installedAt: z.ZodNumber;
|
|
518
|
+
isActive: z.ZodBoolean;
|
|
519
|
+
}, z.core.$strip>>;
|
|
520
|
+
activeVersion: z.ZodNullable<z.ZodString>;
|
|
521
|
+
latestAvailableVersion: z.ZodNullable<z.ZodString>;
|
|
522
|
+
latestVersionLastCheckedAt: z.ZodNullable<z.ZodNumber>;
|
|
523
|
+
latestVersionSourceStatus: z.ZodEnum<{
|
|
524
|
+
error: "error";
|
|
525
|
+
fresh: "fresh";
|
|
526
|
+
cached: "cached";
|
|
527
|
+
}>;
|
|
528
|
+
updateAvailable: z.ZodBoolean;
|
|
529
|
+
}, z.core.$strip>>;
|
|
530
|
+
}, z.core.$strip>;
|
|
531
|
+
};
|
|
532
|
+
install: {
|
|
533
|
+
request: z.ZodObject<{
|
|
534
|
+
clientId: z.ZodString;
|
|
535
|
+
version: z.ZodOptional<z.ZodString>;
|
|
536
|
+
}, z.core.$strip>;
|
|
537
|
+
response: z.ZodObject<{
|
|
538
|
+
jobId: z.ZodString;
|
|
539
|
+
requestedVersion: z.ZodNullable<z.ZodString>;
|
|
540
|
+
resolvedVersion: z.ZodNullable<z.ZodString>;
|
|
541
|
+
}, z.core.$strip>;
|
|
542
|
+
};
|
|
543
|
+
uninstall: {
|
|
544
|
+
request: z.ZodObject<{
|
|
545
|
+
clientId: z.ZodString;
|
|
546
|
+
version: z.ZodString;
|
|
547
|
+
}, z.core.$strip>;
|
|
548
|
+
response: z.ZodObject<{
|
|
549
|
+
clientId: z.ZodString;
|
|
550
|
+
removedVersion: z.ZodString;
|
|
551
|
+
activeVersion: z.ZodNullable<z.ZodString>;
|
|
552
|
+
}, z.core.$strip>;
|
|
553
|
+
};
|
|
554
|
+
update: {
|
|
555
|
+
request: z.ZodObject<{
|
|
556
|
+
clientId: z.ZodString;
|
|
557
|
+
}, z.core.$strip>;
|
|
558
|
+
response: z.ZodObject<{
|
|
559
|
+
jobId: z.ZodString;
|
|
560
|
+
resolvedVersion: z.ZodNullable<z.ZodString>;
|
|
561
|
+
}, z.core.$strip>;
|
|
562
|
+
};
|
|
563
|
+
setActive: {
|
|
564
|
+
request: z.ZodObject<{
|
|
565
|
+
clientId: z.ZodString;
|
|
566
|
+
version: z.ZodString;
|
|
567
|
+
}, z.core.$strip>;
|
|
568
|
+
response: z.ZodObject<{
|
|
569
|
+
clientId: z.ZodString;
|
|
570
|
+
activeVersion: z.ZodString;
|
|
571
|
+
}, z.core.$strip>;
|
|
572
|
+
};
|
|
573
|
+
'installJob.progress': z.ZodObject<{
|
|
574
|
+
jobId: z.ZodString;
|
|
575
|
+
clientId: z.ZodString;
|
|
576
|
+
version: z.ZodOptional<z.ZodString>;
|
|
577
|
+
strategy: z.ZodEnum<{
|
|
578
|
+
"manifest-bucket": "manifest-bucket";
|
|
579
|
+
npm: "npm";
|
|
580
|
+
"github-release": "github-release";
|
|
581
|
+
}>;
|
|
582
|
+
stage: z.ZodEnum<{
|
|
583
|
+
downloading: "downloading";
|
|
584
|
+
resolving: "resolving";
|
|
585
|
+
verifying: "verifying";
|
|
586
|
+
extracting: "extracting";
|
|
587
|
+
installing: "installing";
|
|
588
|
+
"post-install": "post-install";
|
|
589
|
+
activating: "activating";
|
|
590
|
+
}>;
|
|
591
|
+
progress: z.ZodNullable<z.ZodNumber>;
|
|
592
|
+
installPath: z.ZodOptional<z.ZodString>;
|
|
593
|
+
activeAfterCompletion: z.ZodOptional<z.ZodBoolean>;
|
|
594
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
595
|
+
}, z.core.$strip>;
|
|
596
|
+
'installJob.completed': z.ZodObject<{
|
|
597
|
+
jobId: z.ZodString;
|
|
598
|
+
clientId: z.ZodString;
|
|
599
|
+
version: z.ZodOptional<z.ZodString>;
|
|
600
|
+
strategy: z.ZodEnum<{
|
|
601
|
+
"manifest-bucket": "manifest-bucket";
|
|
602
|
+
npm: "npm";
|
|
603
|
+
"github-release": "github-release";
|
|
604
|
+
}>;
|
|
605
|
+
status: z.ZodEnum<{
|
|
606
|
+
success: "success";
|
|
607
|
+
error: "error";
|
|
608
|
+
}>;
|
|
609
|
+
installPath: z.ZodOptional<z.ZodString>;
|
|
610
|
+
activeVersion: z.ZodNullable<z.ZodString>;
|
|
611
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
612
|
+
message: z.ZodString;
|
|
613
|
+
code: z.ZodOptional<z.ZodString>;
|
|
614
|
+
}, z.core.$strip>>;
|
|
615
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
616
|
+
}, z.core.$strip>;
|
|
617
|
+
'version.changed': z.ZodObject<{
|
|
618
|
+
clientId: z.ZodString;
|
|
619
|
+
previousActiveVersion: z.ZodNullable<z.ZodString>;
|
|
620
|
+
activeVersion: z.ZodNullable<z.ZodString>;
|
|
621
|
+
reason: z.ZodEnum<{
|
|
622
|
+
update: "update";
|
|
623
|
+
install: "install";
|
|
624
|
+
uninstall: "uninstall";
|
|
625
|
+
"set-active": "set-active";
|
|
626
|
+
}>;
|
|
627
|
+
}, z.core.$strip>;
|
|
628
|
+
resolveBinary: {
|
|
629
|
+
request: z.ZodObject<{
|
|
630
|
+
clientId: z.ZodString;
|
|
631
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
632
|
+
projectDir: z.ZodOptional<z.ZodString>;
|
|
633
|
+
preferSource: z.ZodOptional<z.ZodEnum<{
|
|
634
|
+
global: "global";
|
|
635
|
+
managed: "managed";
|
|
636
|
+
}>>;
|
|
637
|
+
harnessId: z.ZodOptional<z.ZodString>;
|
|
638
|
+
}, z.core.$strip>;
|
|
639
|
+
response: z.ZodObject<{
|
|
640
|
+
binaryPath: z.ZodNullable<z.ZodString>;
|
|
641
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
642
|
+
configDir: z.ZodNullable<z.ZodString>;
|
|
643
|
+
source: z.ZodEnum<{
|
|
644
|
+
global: "global";
|
|
645
|
+
managed: "managed";
|
|
646
|
+
}>;
|
|
647
|
+
version: z.ZodNullable<z.ZodString>;
|
|
648
|
+
}, z.core.$strip>;
|
|
649
|
+
};
|
|
650
|
+
};
|
|
651
|
+
//#endregion
|
|
652
|
+
//#region packages/contracts/src/client/account-identity.d.ts
|
|
653
|
+
/**
|
|
654
|
+
* Strength classification for a client account identifier.
|
|
655
|
+
*/
|
|
656
|
+
declare const ClientIdentifierStrengthSchema: z.ZodEnum<{
|
|
657
|
+
strong: "strong";
|
|
658
|
+
alias: "alias";
|
|
659
|
+
}>;
|
|
660
|
+
type ClientIdentifierStrength = z.infer<typeof ClientIdentifierStrengthSchema>;
|
|
661
|
+
/**
|
|
662
|
+
* A canonical or derived identifier for a client account.
|
|
663
|
+
*/
|
|
664
|
+
declare const ClientAccountIdentifierSchema: z.ZodObject<{
|
|
665
|
+
scheme: z.ZodString;
|
|
666
|
+
value: z.ZodString;
|
|
667
|
+
strength: z.ZodEnum<{
|
|
668
|
+
strong: "strong";
|
|
669
|
+
alias: "alias";
|
|
670
|
+
}>;
|
|
671
|
+
}, z.core.$strip>;
|
|
672
|
+
type ClientAccountIdentifier = z.infer<typeof ClientAccountIdentifierSchema>;
|
|
673
|
+
/**
|
|
674
|
+
* A normalized usage window for a client account.
|
|
675
|
+
*/
|
|
676
|
+
declare const ClientUsageWindowSchema: z.ZodObject<{
|
|
677
|
+
key: z.ZodString;
|
|
678
|
+
label: z.ZodString;
|
|
679
|
+
usedPercentage: z.ZodNumber;
|
|
680
|
+
resetsAt: z.ZodOptional<z.ZodNumber>;
|
|
681
|
+
}, z.core.$strip>;
|
|
682
|
+
type ClientUsageWindow = z.infer<typeof ClientUsageWindowSchema>;
|
|
683
|
+
/**
|
|
684
|
+
* The usage windows container shared by snapshot and ingest schemas.
|
|
685
|
+
*/
|
|
686
|
+
declare const ClientUsageWindowsSchema: z.ZodObject<{
|
|
687
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
688
|
+
key: z.ZodString;
|
|
689
|
+
label: z.ZodString;
|
|
690
|
+
usedPercentage: z.ZodNumber;
|
|
691
|
+
resetsAt: z.ZodOptional<z.ZodNumber>;
|
|
692
|
+
}, z.core.$strip>>;
|
|
693
|
+
}, z.core.$strip>;
|
|
694
|
+
type ClientUsageWindows = z.infer<typeof ClientUsageWindowsSchema>;
|
|
695
|
+
/**
|
|
696
|
+
* Open metadata map shared by client account and usage contracts.
|
|
697
|
+
*/
|
|
698
|
+
declare const ClientMetadataSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
699
|
+
/**
|
|
700
|
+
* A detected client binary scan result.
|
|
701
|
+
*/
|
|
702
|
+
declare const ClientScanResultSchema: z.ZodObject<{
|
|
703
|
+
clientId: z.ZodString;
|
|
704
|
+
found: z.ZodBoolean;
|
|
705
|
+
version: z.ZodOptional<z.ZodString>;
|
|
706
|
+
warningMessage: z.ZodOptional<z.ZodString>;
|
|
707
|
+
}, z.core.$strip>;
|
|
708
|
+
type ClientScanResult = z.infer<typeof ClientScanResultSchema>;
|
|
709
|
+
/**
|
|
710
|
+
* Explicit CLI scan target supplied by callers that already resolved clients.
|
|
711
|
+
*
|
|
712
|
+
* `binaryName` is the resolved executable name for PATH lookup — kept as a
|
|
713
|
+
* flat field because this is a resolved scan parameter, not a definition
|
|
714
|
+
* shape. `supportedVersions` is the semver range used to validate the
|
|
715
|
+
* detected binary version.
|
|
716
|
+
*/
|
|
717
|
+
declare const ClientScanTargetSchema: z.ZodObject<{
|
|
718
|
+
clientId: z.ZodString;
|
|
719
|
+
binaryName: z.ZodString;
|
|
720
|
+
supportedVersions: z.ZodOptional<z.ZodString>;
|
|
721
|
+
}, z.core.$strip>;
|
|
722
|
+
type ClientScanTarget = z.infer<typeof ClientScanTargetSchema>;
|
|
723
|
+
/**
|
|
724
|
+
* Canonical usage snapshot emitted after stitching identity and usage.
|
|
725
|
+
*/
|
|
726
|
+
declare const ClientUsageSnapshotSchema: z.ZodObject<{
|
|
727
|
+
clientAccountId: z.ZodString;
|
|
728
|
+
clientId: z.ZodString;
|
|
729
|
+
observedAt: z.ZodNumber;
|
|
730
|
+
source: z.ZodString;
|
|
731
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
732
|
+
usage: z.ZodObject<{
|
|
733
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
734
|
+
key: z.ZodString;
|
|
735
|
+
label: z.ZodString;
|
|
736
|
+
usedPercentage: z.ZodNumber;
|
|
737
|
+
resetsAt: z.ZodOptional<z.ZodNumber>;
|
|
738
|
+
}, z.core.$strip>>;
|
|
739
|
+
}, z.core.$strip>;
|
|
740
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
741
|
+
}, z.core.$strip>;
|
|
742
|
+
type ClientUsageSnapshot = z.infer<typeof ClientUsageSnapshotSchema>;
|
|
743
|
+
/**
|
|
744
|
+
* Session locator used to correlate an observation to a session.
|
|
745
|
+
*/
|
|
746
|
+
declare const ClientSessionLocatorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
747
|
+
kind: z.ZodLiteral<"session">;
|
|
748
|
+
sessionId: z.ZodString;
|
|
749
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
750
|
+
kind: z.ZodLiteral<"adapter-session">;
|
|
751
|
+
adapterSessionId: z.ZodString;
|
|
752
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
753
|
+
kind: z.ZodLiteral<"both">;
|
|
754
|
+
sessionId: z.ZodString;
|
|
755
|
+
adapterSessionId: z.ZodString;
|
|
756
|
+
}, z.core.$strip>], "kind">;
|
|
757
|
+
type ClientSessionLocator = z.infer<typeof ClientSessionLocatorSchema>;
|
|
758
|
+
/**
|
|
759
|
+
* Raw client identity observation captured from a client runtime.
|
|
760
|
+
*
|
|
761
|
+
* These top-level fields stay syntactically permissive because adapters capture
|
|
762
|
+
* raw client evidence before canonical account-linking normalizes it. The
|
|
763
|
+
* persisted payload shape is still constrained to JSON so storage/event seams
|
|
764
|
+
* can safely serialize and snapshot observations.
|
|
765
|
+
*/
|
|
766
|
+
declare const ClientIdentityObservationSchema: z.ZodObject<{
|
|
767
|
+
clientId: z.ZodString;
|
|
768
|
+
source: z.ZodString;
|
|
769
|
+
kind: z.ZodString;
|
|
770
|
+
observedAt: z.ZodNumber;
|
|
771
|
+
payload: z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>;
|
|
772
|
+
}, z.core.$strip>;
|
|
773
|
+
type ClientIdentityObservation = z.infer<typeof ClientIdentityObservationSchema>;
|
|
774
|
+
/**
|
|
775
|
+
* Request and response schemas for client.account.observe.
|
|
776
|
+
*/
|
|
777
|
+
declare const ClientAccountObserveSchema: {
|
|
778
|
+
request: z.ZodObject<{
|
|
779
|
+
clientId: z.ZodString;
|
|
780
|
+
observedAt: z.ZodOptional<z.ZodNumber>;
|
|
781
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
782
|
+
identifiers: z.ZodArray<z.ZodObject<{
|
|
783
|
+
scheme: z.ZodString;
|
|
784
|
+
value: z.ZodString;
|
|
785
|
+
strength: z.ZodEnum<{
|
|
786
|
+
strong: "strong";
|
|
787
|
+
alias: "alias";
|
|
788
|
+
}>;
|
|
789
|
+
}, z.core.$strip>>;
|
|
790
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
791
|
+
}, z.core.$strip>;
|
|
792
|
+
response: z.ZodObject<{
|
|
793
|
+
clientAccountId: z.ZodString;
|
|
794
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
795
|
+
}, z.core.$strip>;
|
|
796
|
+
};
|
|
797
|
+
type ClientAccountObserveRequest = z.infer<typeof ClientAccountObserveSchema.request>;
|
|
798
|
+
type ClientAccountObserveResponse = z.infer<typeof ClientAccountObserveSchema.response>;
|
|
799
|
+
/**
|
|
800
|
+
* Request and response schemas for client.session.account.observe.
|
|
801
|
+
*/
|
|
802
|
+
declare const ClientSessionAccountObserveSchema: {
|
|
803
|
+
request: z.ZodObject<{
|
|
804
|
+
clientId: z.ZodString;
|
|
805
|
+
source: z.ZodString;
|
|
806
|
+
kind: z.ZodString;
|
|
807
|
+
observedAt: z.ZodNumber;
|
|
808
|
+
payload: z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>;
|
|
809
|
+
locator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
810
|
+
kind: z.ZodLiteral<"session">;
|
|
811
|
+
sessionId: z.ZodString;
|
|
812
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
813
|
+
kind: z.ZodLiteral<"adapter-session">;
|
|
814
|
+
adapterSessionId: z.ZodString;
|
|
815
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
816
|
+
kind: z.ZodLiteral<"both">;
|
|
817
|
+
sessionId: z.ZodString;
|
|
818
|
+
adapterSessionId: z.ZodString;
|
|
819
|
+
}, z.core.$strip>], "kind">;
|
|
820
|
+
}, z.core.$strip>;
|
|
821
|
+
response: z.ZodObject<{
|
|
822
|
+
handled: z.ZodBoolean;
|
|
823
|
+
sessionId: z.ZodNullable<z.ZodString>;
|
|
824
|
+
clientAccountId: z.ZodNullable<z.ZodString>;
|
|
825
|
+
changed: z.ZodBoolean;
|
|
826
|
+
}, z.core.$strip>;
|
|
827
|
+
};
|
|
828
|
+
type ClientSessionAccountObserveRequest = z.infer<typeof ClientSessionAccountObserveSchema.request>;
|
|
829
|
+
type ClientSessionAccountObserveResponse = z.infer<typeof ClientSessionAccountObserveSchema.response>;
|
|
830
|
+
/**
|
|
831
|
+
* Request and response schemas for client.usage.ingest.
|
|
832
|
+
*/
|
|
833
|
+
declare const ClientUsageIngestSchema: {
|
|
834
|
+
request: z.ZodObject<{
|
|
835
|
+
clientId: z.ZodString;
|
|
836
|
+
observedAt: z.ZodNumber;
|
|
837
|
+
source: z.ZodString;
|
|
838
|
+
account: z.ZodObject<{
|
|
839
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
840
|
+
identifiers: z.ZodArray<z.ZodObject<{
|
|
841
|
+
scheme: z.ZodString;
|
|
842
|
+
value: z.ZodString;
|
|
843
|
+
strength: z.ZodEnum<{
|
|
844
|
+
strong: "strong";
|
|
845
|
+
alias: "alias";
|
|
846
|
+
}>;
|
|
847
|
+
}, z.core.$strip>>;
|
|
848
|
+
}, z.core.$strip>;
|
|
849
|
+
usage: z.ZodObject<{
|
|
850
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
851
|
+
key: z.ZodString;
|
|
852
|
+
label: z.ZodString;
|
|
853
|
+
usedPercentage: z.ZodNumber;
|
|
854
|
+
resetsAt: z.ZodOptional<z.ZodNumber>;
|
|
855
|
+
}, z.core.$strip>>;
|
|
856
|
+
}, z.core.$strip>;
|
|
857
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
858
|
+
}, z.core.$strip>;
|
|
859
|
+
response: z.ZodObject<{
|
|
860
|
+
clientAccountId: z.ZodString;
|
|
861
|
+
snapshot: z.ZodObject<{
|
|
862
|
+
clientAccountId: z.ZodString;
|
|
863
|
+
clientId: z.ZodString;
|
|
864
|
+
observedAt: z.ZodNumber;
|
|
865
|
+
source: z.ZodString;
|
|
866
|
+
displayLabel: z.ZodOptional<z.ZodString>;
|
|
867
|
+
usage: z.ZodObject<{
|
|
868
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
869
|
+
key: z.ZodString;
|
|
870
|
+
label: z.ZodString;
|
|
871
|
+
usedPercentage: z.ZodNumber;
|
|
872
|
+
resetsAt: z.ZodOptional<z.ZodNumber>;
|
|
873
|
+
}, z.core.$strip>>;
|
|
874
|
+
}, z.core.$strip>;
|
|
875
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
876
|
+
}, z.core.$strip>;
|
|
877
|
+
}, z.core.$strip>;
|
|
878
|
+
};
|
|
879
|
+
type ClientUsageIngestRequest = z.infer<typeof ClientUsageIngestSchema.request>;
|
|
880
|
+
type ClientUsageIngestResponse = z.infer<typeof ClientUsageIngestSchema.response>;
|
|
881
|
+
//#endregion
|
|
882
|
+
//#region packages/contracts/src/client/binary-management.d.ts
|
|
883
|
+
/**
|
|
884
|
+
* Install strategies that Makaio supports for managed client binaries.
|
|
885
|
+
*/
|
|
886
|
+
declare const ManagedInstallStrategySchema: z.ZodEnum<{
|
|
887
|
+
"manifest-bucket": "manifest-bucket";
|
|
888
|
+
npm: "npm";
|
|
889
|
+
"github-release": "github-release";
|
|
890
|
+
}>;
|
|
891
|
+
type ManagedInstallStrategy = z.infer<typeof ManagedInstallStrategySchema>;
|
|
892
|
+
/**
|
|
893
|
+
* Freshness classification for the latest-version cache entry.
|
|
894
|
+
*
|
|
895
|
+
* - `'fresh'` — the version index was fetched within the cache TTL.
|
|
896
|
+
* - `'cached'` — the cached value is stale but still available.
|
|
897
|
+
* - `'error'` — the last refresh attempt failed; cached value may be absent.
|
|
898
|
+
*/
|
|
899
|
+
declare const LatestVersionSourceStatusSchema: z.ZodEnum<{
|
|
900
|
+
error: "error";
|
|
901
|
+
fresh: "fresh";
|
|
902
|
+
cached: "cached";
|
|
903
|
+
}>;
|
|
904
|
+
type LatestVersionSourceStatus = z.infer<typeof LatestVersionSourceStatusSchema>;
|
|
905
|
+
/**
|
|
906
|
+
* A single installed version entry for a managed client binary.
|
|
907
|
+
*/
|
|
908
|
+
declare const InstalledVersionEntrySchema: z.ZodObject<{
|
|
909
|
+
version: z.ZodString;
|
|
910
|
+
installPath: z.ZodString;
|
|
911
|
+
installedAt: z.ZodNumber;
|
|
912
|
+
isActive: z.ZodBoolean;
|
|
913
|
+
}, z.core.$strip>;
|
|
914
|
+
type InstalledVersionEntry = z.infer<typeof InstalledVersionEntrySchema>;
|
|
915
|
+
/**
|
|
916
|
+
* Summary row for a single client in a `client.list` response.
|
|
917
|
+
*/
|
|
918
|
+
declare const ClientBinaryListEntrySchema: z.ZodObject<{
|
|
919
|
+
clientId: z.ZodString;
|
|
920
|
+
installedVersions: z.ZodArray<z.ZodObject<{
|
|
921
|
+
version: z.ZodString;
|
|
922
|
+
installPath: z.ZodString;
|
|
923
|
+
installedAt: z.ZodNumber;
|
|
924
|
+
isActive: z.ZodBoolean;
|
|
925
|
+
}, z.core.$strip>>;
|
|
926
|
+
activeVersion: z.ZodNullable<z.ZodString>;
|
|
927
|
+
latestAvailableVersion: z.ZodNullable<z.ZodString>;
|
|
928
|
+
latestVersionLastCheckedAt: z.ZodNullable<z.ZodNumber>;
|
|
929
|
+
latestVersionSourceStatus: z.ZodEnum<{
|
|
930
|
+
error: "error";
|
|
931
|
+
fresh: "fresh";
|
|
932
|
+
cached: "cached";
|
|
933
|
+
}>;
|
|
934
|
+
updateAvailable: z.ZodBoolean;
|
|
935
|
+
}, z.core.$strip>;
|
|
936
|
+
type ClientBinaryListEntry = z.infer<typeof ClientBinaryListEntrySchema>;
|
|
937
|
+
/**
|
|
938
|
+
* Request and response schemas for `client.list`.
|
|
939
|
+
*
|
|
940
|
+
* Returns the local installation inventory for all managed clients, enriched
|
|
941
|
+
* with the latest-available-version from the upstream index.
|
|
942
|
+
*/
|
|
943
|
+
declare const ClientListSchema: {
|
|
944
|
+
request: z.ZodObject<{
|
|
945
|
+
forceRefresh: z.ZodOptional<z.ZodBoolean>;
|
|
946
|
+
}, z.core.$strip>;
|
|
947
|
+
response: z.ZodObject<{
|
|
948
|
+
clients: z.ZodArray<z.ZodObject<{
|
|
949
|
+
clientId: z.ZodString;
|
|
950
|
+
installedVersions: z.ZodArray<z.ZodObject<{
|
|
951
|
+
version: z.ZodString;
|
|
952
|
+
installPath: z.ZodString;
|
|
953
|
+
installedAt: z.ZodNumber;
|
|
954
|
+
isActive: z.ZodBoolean;
|
|
955
|
+
}, z.core.$strip>>;
|
|
956
|
+
activeVersion: z.ZodNullable<z.ZodString>;
|
|
957
|
+
latestAvailableVersion: z.ZodNullable<z.ZodString>;
|
|
958
|
+
latestVersionLastCheckedAt: z.ZodNullable<z.ZodNumber>;
|
|
959
|
+
latestVersionSourceStatus: z.ZodEnum<{
|
|
960
|
+
error: "error";
|
|
961
|
+
fresh: "fresh";
|
|
962
|
+
cached: "cached";
|
|
963
|
+
}>;
|
|
964
|
+
updateAvailable: z.ZodBoolean;
|
|
965
|
+
}, z.core.$strip>>;
|
|
966
|
+
}, z.core.$strip>;
|
|
967
|
+
};
|
|
968
|
+
type ClientListRequest = z.infer<typeof ClientListSchema.request>;
|
|
969
|
+
type ClientListResponse = z.infer<typeof ClientListSchema.response>;
|
|
970
|
+
/**
|
|
971
|
+
* Request and response schemas for `client.install`.
|
|
972
|
+
*
|
|
973
|
+
* Enqueues a background install job for a managed client binary.
|
|
974
|
+
* Callers can track progress via `client.installJob.progress` and
|
|
975
|
+
* `client.installJob.completed` events using the returned `jobId`.
|
|
976
|
+
*/
|
|
977
|
+
declare const ClientInstallSchema: {
|
|
978
|
+
request: z.ZodObject<{
|
|
979
|
+
clientId: z.ZodString;
|
|
980
|
+
version: z.ZodOptional<z.ZodString>;
|
|
981
|
+
}, z.core.$strip>;
|
|
982
|
+
response: z.ZodObject<{
|
|
983
|
+
jobId: z.ZodString;
|
|
984
|
+
requestedVersion: z.ZodNullable<z.ZodString>;
|
|
985
|
+
resolvedVersion: z.ZodNullable<z.ZodString>;
|
|
986
|
+
}, z.core.$strip>;
|
|
987
|
+
};
|
|
988
|
+
type ClientInstallRequest = z.infer<typeof ClientInstallSchema.request>;
|
|
989
|
+
type ClientInstallResponse = z.infer<typeof ClientInstallSchema.response>;
|
|
990
|
+
/**
|
|
991
|
+
* Request and response schemas for `client.uninstall`.
|
|
992
|
+
*
|
|
993
|
+
* Removes a specific installed version of a managed client binary.
|
|
994
|
+
* If the removed version was active, the active pointer is cleared to `null`
|
|
995
|
+
* — no automatic replacement is made. Callers must explicitly call
|
|
996
|
+
* `client.setActive` to promote another installed version.
|
|
997
|
+
*/
|
|
998
|
+
declare const ClientUninstallSchema: {
|
|
999
|
+
request: z.ZodObject<{
|
|
1000
|
+
clientId: z.ZodString;
|
|
1001
|
+
version: z.ZodString;
|
|
1002
|
+
}, z.core.$strip>;
|
|
1003
|
+
response: z.ZodObject<{
|
|
1004
|
+
clientId: z.ZodString;
|
|
1005
|
+
removedVersion: z.ZodString;
|
|
1006
|
+
activeVersion: z.ZodNullable<z.ZodString>;
|
|
1007
|
+
}, z.core.$strip>;
|
|
1008
|
+
};
|
|
1009
|
+
type ClientUninstallRequest = z.infer<typeof ClientUninstallSchema.request>;
|
|
1010
|
+
type ClientUninstallResponse = z.infer<typeof ClientUninstallSchema.response>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Request and response schemas for `client.update`.
|
|
1013
|
+
*
|
|
1014
|
+
* Enqueues an update job that installs the latest available version and
|
|
1015
|
+
* activates it. Callers can track progress via `client.installJob.progress` and
|
|
1016
|
+
* `client.installJob.completed` events using the returned `jobId`.
|
|
1017
|
+
*/
|
|
1018
|
+
declare const ClientUpdateSchema: {
|
|
1019
|
+
request: z.ZodObject<{
|
|
1020
|
+
clientId: z.ZodString;
|
|
1021
|
+
}, z.core.$strip>;
|
|
1022
|
+
response: z.ZodObject<{
|
|
1023
|
+
jobId: z.ZodString;
|
|
1024
|
+
resolvedVersion: z.ZodNullable<z.ZodString>;
|
|
1025
|
+
}, z.core.$strip>;
|
|
1026
|
+
};
|
|
1027
|
+
type ClientUpdateRequest = z.infer<typeof ClientUpdateSchema.request>;
|
|
1028
|
+
type ClientUpdateResponse = z.infer<typeof ClientUpdateSchema.response>;
|
|
1029
|
+
/**
|
|
1030
|
+
* Request and response schemas for `client.setActive`.
|
|
1031
|
+
*
|
|
1032
|
+
* Switches the active binary pointer to an already-installed version.
|
|
1033
|
+
* The requested version must be present on disk; the handler will reject
|
|
1034
|
+
* requests for versions that have not been installed.
|
|
1035
|
+
*/
|
|
1036
|
+
declare const ClientSetActiveSchema: {
|
|
1037
|
+
request: z.ZodObject<{
|
|
1038
|
+
clientId: z.ZodString;
|
|
1039
|
+
version: z.ZodString;
|
|
1040
|
+
}, z.core.$strip>;
|
|
1041
|
+
response: z.ZodObject<{
|
|
1042
|
+
clientId: z.ZodString;
|
|
1043
|
+
activeVersion: z.ZodString;
|
|
1044
|
+
}, z.core.$strip>;
|
|
1045
|
+
};
|
|
1046
|
+
type ClientSetActiveRequest = z.infer<typeof ClientSetActiveSchema.request>;
|
|
1047
|
+
type ClientSetActiveResponse = z.infer<typeof ClientSetActiveSchema.response>;
|
|
1048
|
+
/**
|
|
1049
|
+
* Install pipeline stage identifiers, ordered by progression.
|
|
1050
|
+
*
|
|
1051
|
+
* - `'resolving'` — determining the concrete version to install.
|
|
1052
|
+
* - `'downloading'` — fetching the binary archive from upstream.
|
|
1053
|
+
* - `'verifying'` — validating checksums, signatures, or installed binary version.
|
|
1054
|
+
* - `'extracting'` — unpacking the downloaded archive.
|
|
1055
|
+
* - `'installing'` — writing the binary to its final install path.
|
|
1056
|
+
* - `'post-install'` — running post-install hooks.
|
|
1057
|
+
* - `'activating'` — marking the installed version as active.
|
|
1058
|
+
*/
|
|
1059
|
+
declare const InstallStageSchema: z.ZodEnum<{
|
|
1060
|
+
downloading: "downloading";
|
|
1061
|
+
resolving: "resolving";
|
|
1062
|
+
verifying: "verifying";
|
|
1063
|
+
extracting: "extracting";
|
|
1064
|
+
installing: "installing";
|
|
1065
|
+
"post-install": "post-install";
|
|
1066
|
+
activating: "activating";
|
|
1067
|
+
}>;
|
|
1068
|
+
type InstallStage = z.infer<typeof InstallStageSchema>;
|
|
1069
|
+
/**
|
|
1070
|
+
* Event payload for `client.installJob.progress`.
|
|
1071
|
+
*
|
|
1072
|
+
* Emitted by the install job runner at each pipeline stage transition and
|
|
1073
|
+
* whenever the download progress percentage changes materially.
|
|
1074
|
+
*/
|
|
1075
|
+
declare const ClientInstallProgressSchema: z.ZodObject<{
|
|
1076
|
+
jobId: z.ZodString;
|
|
1077
|
+
clientId: z.ZodString;
|
|
1078
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1079
|
+
strategy: z.ZodEnum<{
|
|
1080
|
+
"manifest-bucket": "manifest-bucket";
|
|
1081
|
+
npm: "npm";
|
|
1082
|
+
"github-release": "github-release";
|
|
1083
|
+
}>;
|
|
1084
|
+
stage: z.ZodEnum<{
|
|
1085
|
+
downloading: "downloading";
|
|
1086
|
+
resolving: "resolving";
|
|
1087
|
+
verifying: "verifying";
|
|
1088
|
+
extracting: "extracting";
|
|
1089
|
+
installing: "installing";
|
|
1090
|
+
"post-install": "post-install";
|
|
1091
|
+
activating: "activating";
|
|
1092
|
+
}>;
|
|
1093
|
+
progress: z.ZodNullable<z.ZodNumber>;
|
|
1094
|
+
installPath: z.ZodOptional<z.ZodString>;
|
|
1095
|
+
activeAfterCompletion: z.ZodOptional<z.ZodBoolean>;
|
|
1096
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1097
|
+
}, z.core.$strip>;
|
|
1098
|
+
type ClientInstallProgress = z.infer<typeof ClientInstallProgressSchema>;
|
|
1099
|
+
/**
|
|
1100
|
+
* Terminal install error descriptor emitted in `client.installJob.completed`
|
|
1101
|
+
* when the job ends in failure.
|
|
1102
|
+
*/
|
|
1103
|
+
declare const InstallErrorSchema: z.ZodObject<{
|
|
1104
|
+
message: z.ZodString;
|
|
1105
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1106
|
+
}, z.core.$strip>;
|
|
1107
|
+
type InstallError = z.infer<typeof InstallErrorSchema>;
|
|
1108
|
+
/**
|
|
1109
|
+
* Event payload for `client.installJob.completed`.
|
|
1110
|
+
*
|
|
1111
|
+
* Emitted once by the install job runner when the pipeline finishes,
|
|
1112
|
+
* regardless of outcome. Listeners should check `status` before acting.
|
|
1113
|
+
*/
|
|
1114
|
+
declare const ClientInstallCompletedSchema: z.ZodObject<{
|
|
1115
|
+
jobId: z.ZodString;
|
|
1116
|
+
clientId: z.ZodString;
|
|
1117
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
strategy: z.ZodEnum<{
|
|
1119
|
+
"manifest-bucket": "manifest-bucket";
|
|
1120
|
+
npm: "npm";
|
|
1121
|
+
"github-release": "github-release";
|
|
1122
|
+
}>;
|
|
1123
|
+
status: z.ZodEnum<{
|
|
1124
|
+
success: "success";
|
|
1125
|
+
error: "error";
|
|
1126
|
+
}>;
|
|
1127
|
+
installPath: z.ZodOptional<z.ZodString>;
|
|
1128
|
+
activeVersion: z.ZodNullable<z.ZodString>;
|
|
1129
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
1130
|
+
message: z.ZodString;
|
|
1131
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1132
|
+
}, z.core.$strip>>;
|
|
1133
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1134
|
+
}, z.core.$strip>;
|
|
1135
|
+
type ClientInstallCompleted = z.infer<typeof ClientInstallCompletedSchema>;
|
|
1136
|
+
/**
|
|
1137
|
+
* Event payload for `client.version.changed`.
|
|
1138
|
+
*
|
|
1139
|
+
* Emitted whenever the active-version pointer for a managed client changes,
|
|
1140
|
+
* regardless of the operation that caused the change.
|
|
1141
|
+
*/
|
|
1142
|
+
declare const ClientVersionChangedSchema: z.ZodObject<{
|
|
1143
|
+
clientId: z.ZodString;
|
|
1144
|
+
previousActiveVersion: z.ZodNullable<z.ZodString>;
|
|
1145
|
+
activeVersion: z.ZodNullable<z.ZodString>;
|
|
1146
|
+
reason: z.ZodEnum<{
|
|
1147
|
+
update: "update";
|
|
1148
|
+
install: "install";
|
|
1149
|
+
uninstall: "uninstall";
|
|
1150
|
+
"set-active": "set-active";
|
|
1151
|
+
}>;
|
|
1152
|
+
}, z.core.$strip>;
|
|
1153
|
+
type ClientVersionChanged = z.infer<typeof ClientVersionChangedSchema>;
|
|
1154
|
+
//#endregion
|
|
1155
|
+
//#region packages/contracts/src/client/runtime-observation.d.ts
|
|
1156
|
+
/**
|
|
1157
|
+
* Source layer classification for a runtime observation.
|
|
1158
|
+
*
|
|
1159
|
+
* Identifies the component that produced the observation signal:
|
|
1160
|
+
* - `'supervisor'` — the Makaio supervisor process directly detected the runtime
|
|
1161
|
+
* - `'adapter'` — a client adapter emitted the signal from the adapter layer
|
|
1162
|
+
* - `'client-hook'` — a native client hook (e.g. PostToolUse) produced the signal
|
|
1163
|
+
* - `'statusline'` — a statusline / process-watcher scraper detected the runtime
|
|
1164
|
+
* - `'cli-wrapper'` — a thin CLI shim wrapping the client binary reported the signal
|
|
1165
|
+
*/
|
|
1166
|
+
declare const ClientRuntimeSourceLayerSchema: z.ZodEnum<{
|
|
1167
|
+
adapter: "adapter";
|
|
1168
|
+
supervisor: "supervisor";
|
|
1169
|
+
"client-hook": "client-hook";
|
|
1170
|
+
statusline: "statusline";
|
|
1171
|
+
"cli-wrapper": "cli-wrapper";
|
|
1172
|
+
}>;
|
|
1173
|
+
type ClientRuntimeSourceLayer = z.infer<typeof ClientRuntimeSourceLayerSchema>;
|
|
1174
|
+
/**
|
|
1175
|
+
* Source descriptor identifying what produced a runtime observation.
|
|
1176
|
+
*
|
|
1177
|
+
* - `layer` — high-level component classification (see {@link ClientRuntimeSourceLayerSchema}).
|
|
1178
|
+
* - `producer` — stable producer identifier within that layer (e.g. `'claude-code-adapter'`).
|
|
1179
|
+
*/
|
|
1180
|
+
declare const ClientRuntimeSourceSchema: z.ZodObject<{
|
|
1181
|
+
layer: z.ZodEnum<{
|
|
1182
|
+
adapter: "adapter";
|
|
1183
|
+
supervisor: "supervisor";
|
|
1184
|
+
"client-hook": "client-hook";
|
|
1185
|
+
statusline: "statusline";
|
|
1186
|
+
"cli-wrapper": "cli-wrapper";
|
|
1187
|
+
}>;
|
|
1188
|
+
producer: z.ZodString;
|
|
1189
|
+
}, z.core.$strip>;
|
|
1190
|
+
type ClientRuntimeSource = z.infer<typeof ClientRuntimeSourceSchema>;
|
|
1191
|
+
/**
|
|
1192
|
+
* Shared runtime evidence fields that appear in both the `client.runtime.observe`
|
|
1193
|
+
* request and the `client.runtime.started` event.
|
|
1194
|
+
*
|
|
1195
|
+
* At least one of `supervisorSessionId`, `pid`, or `adapterSessionId` must be
|
|
1196
|
+
* present ("hard evidence" invariant). This constraint is enforced via `.refine()`
|
|
1197
|
+
* on the terminal request schema, not on this base, so the base stays composable.
|
|
1198
|
+
*
|
|
1199
|
+
* Fields:
|
|
1200
|
+
* - `supervisorSessionId` — supervisor-assigned session ID, when available.
|
|
1201
|
+
* - `pid` — OS process ID of the client binary.
|
|
1202
|
+
* - `parentPid` — OS process ID of the parent process.
|
|
1203
|
+
* - `adapterSessionId` — raw session ID from the client runtime.
|
|
1204
|
+
* - `sessionId` — framework session ID, if already resolved.
|
|
1205
|
+
* - `cwd` — working directory of the client process.
|
|
1206
|
+
* - `argv` — argv of the client process.
|
|
1207
|
+
* - `metadata` — arbitrary pass-through data from the producer.
|
|
1208
|
+
*/
|
|
1209
|
+
declare const ClientRuntimeEvidenceBaseSchema: z.ZodObject<{
|
|
1210
|
+
supervisorSessionId: z.ZodOptional<z.ZodString>;
|
|
1211
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
1212
|
+
parentPid: z.ZodOptional<z.ZodNumber>;
|
|
1213
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1214
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
argv: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1217
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1218
|
+
}, z.core.$strip>;
|
|
1219
|
+
type ClientRuntimeEvidenceBase = z.infer<typeof ClientRuntimeEvidenceBaseSchema>;
|
|
1220
|
+
/**
|
|
1221
|
+
* Request and response schemas for `client.runtime.observe`.
|
|
1222
|
+
*
|
|
1223
|
+
* Callers send this request when they detect that a client runtime has started.
|
|
1224
|
+
* The handler upserts a `ClientRuntime` record and returns a stable
|
|
1225
|
+
* `clientRuntimeId` together with flags indicating whether the record was
|
|
1226
|
+
* created or promoted to a richer state.
|
|
1227
|
+
*
|
|
1228
|
+
* Hard-evidence invariant: at least one of `supervisorSessionId`, `pid`, or
|
|
1229
|
+
* `adapterSessionId` must be present. Enforced via `.refine()` on the request
|
|
1230
|
+
* schema (not on the shared evidence base, which stays composable).
|
|
1231
|
+
*/
|
|
1232
|
+
declare const ClientRuntimeObserveSchema: {
|
|
1233
|
+
request: z.ZodObject<{
|
|
1234
|
+
clientId: z.ZodString;
|
|
1235
|
+
source: z.ZodObject<{
|
|
1236
|
+
layer: z.ZodEnum<{
|
|
1237
|
+
adapter: "adapter";
|
|
1238
|
+
supervisor: "supervisor";
|
|
1239
|
+
"client-hook": "client-hook";
|
|
1240
|
+
statusline: "statusline";
|
|
1241
|
+
"cli-wrapper": "cli-wrapper";
|
|
1242
|
+
}>;
|
|
1243
|
+
producer: z.ZodString;
|
|
1244
|
+
}, z.core.$strip>;
|
|
1245
|
+
observedAt: z.ZodNumber;
|
|
1246
|
+
supervisorSessionId: z.ZodOptional<z.ZodString>;
|
|
1247
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
1248
|
+
parentPid: z.ZodOptional<z.ZodNumber>;
|
|
1249
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1250
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1251
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1252
|
+
argv: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1253
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1254
|
+
}, z.core.$strip>;
|
|
1255
|
+
response: z.ZodObject<{
|
|
1256
|
+
clientRuntimeId: z.ZodString;
|
|
1257
|
+
created: z.ZodBoolean;
|
|
1258
|
+
promoted: z.ZodBoolean;
|
|
1259
|
+
}, z.core.$strip>;
|
|
1260
|
+
};
|
|
1261
|
+
type ClientRuntimeObserveRequest = z.infer<typeof ClientRuntimeObserveSchema.request>;
|
|
1262
|
+
type ClientRuntimeObserveResponse = z.infer<typeof ClientRuntimeObserveSchema.response>;
|
|
1263
|
+
/**
|
|
1264
|
+
* Payload for `client.runtime.started`.
|
|
1265
|
+
*
|
|
1266
|
+
* Emitted by the runtime-observe service after a `client.runtime.observe` request
|
|
1267
|
+
* has been handled and a runtime record has been created or confirmed. Listeners
|
|
1268
|
+
* can react to this event without coupling to the observe handler.
|
|
1269
|
+
*
|
|
1270
|
+
* Hard-evidence invariant: at least one of `supervisorSessionId`, `pid`, or
|
|
1271
|
+
* `adapterSessionId` is present (guaranteed by the observe handler before emit).
|
|
1272
|
+
*/
|
|
1273
|
+
declare const ClientRuntimeStartedSchema: z.ZodObject<{
|
|
1274
|
+
supervisorSessionId: z.ZodOptional<z.ZodString>;
|
|
1275
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
1276
|
+
parentPid: z.ZodOptional<z.ZodNumber>;
|
|
1277
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1278
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1279
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1280
|
+
argv: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1281
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1282
|
+
clientRuntimeId: z.ZodString;
|
|
1283
|
+
clientId: z.ZodString;
|
|
1284
|
+
status: z.ZodEnum<{
|
|
1285
|
+
started: "started";
|
|
1286
|
+
observed: "observed";
|
|
1287
|
+
}>;
|
|
1288
|
+
source: z.ZodObject<{
|
|
1289
|
+
layer: z.ZodEnum<{
|
|
1290
|
+
adapter: "adapter";
|
|
1291
|
+
supervisor: "supervisor";
|
|
1292
|
+
"client-hook": "client-hook";
|
|
1293
|
+
statusline: "statusline";
|
|
1294
|
+
"cli-wrapper": "cli-wrapper";
|
|
1295
|
+
}>;
|
|
1296
|
+
producer: z.ZodString;
|
|
1297
|
+
}, z.core.$strip>;
|
|
1298
|
+
observedAt: z.ZodNumber;
|
|
1299
|
+
}, z.core.$strip>;
|
|
1300
|
+
type ClientRuntimeStarted = z.infer<typeof ClientRuntimeStartedSchema>;
|
|
1301
|
+
//#endregion
|
|
1302
|
+
//#region packages/contracts/src/client/session-observed.d.ts
|
|
1303
|
+
/**
|
|
1304
|
+
* Shared base payload for all `client.session.*` observed-semantics events.
|
|
1305
|
+
*
|
|
1306
|
+
* These events are emitted by client adapters when they observe lifecycle
|
|
1307
|
+
* signals from the underlying client runtime. They are **not** control
|
|
1308
|
+
* messages — they carry normalized observations forwarded to the bus so
|
|
1309
|
+
* listeners can react without coupling to a specific adapter implementation.
|
|
1310
|
+
*
|
|
1311
|
+
* Fields:
|
|
1312
|
+
* - `clientId` — stable string ID of the client (e.g. `'claude-code'`).
|
|
1313
|
+
* - `source` — how the observation was captured (e.g. `'native-hook'`,
|
|
1314
|
+
* `'adapter-derived'`).
|
|
1315
|
+
* - `observedAt` — Unix epoch timestamp in milliseconds when the signal
|
|
1316
|
+
* was captured by the adapter.
|
|
1317
|
+
* - `sessionId` — framework session ID, if already resolved.
|
|
1318
|
+
* - `adapterSessionId` — raw session identifier from the client runtime,
|
|
1319
|
+
* if available.
|
|
1320
|
+
* - `metadata` — arbitrary pass-through data from the adapter.
|
|
1321
|
+
*/
|
|
1322
|
+
declare const ClientSessionObservedBaseSchema: z.ZodObject<{
|
|
1323
|
+
clientId: z.ZodString;
|
|
1324
|
+
source: z.ZodString;
|
|
1325
|
+
observedAt: z.ZodNumber;
|
|
1326
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1327
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1329
|
+
}, z.core.$strip>;
|
|
1330
|
+
type ClientSessionObservedBase = z.infer<typeof ClientSessionObservedBaseSchema>;
|
|
1331
|
+
/**
|
|
1332
|
+
* Payload for `client.session.started`.
|
|
1333
|
+
*
|
|
1334
|
+
* Emitted when an adapter observes that a new client session has begun.
|
|
1335
|
+
* This is a normalized observed signal — not a command. The session may not
|
|
1336
|
+
* yet be linked to a framework session at emission time.
|
|
1337
|
+
*/
|
|
1338
|
+
declare const ClientSessionStartedSchema: z.ZodObject<{
|
|
1339
|
+
clientId: z.ZodString;
|
|
1340
|
+
source: z.ZodString;
|
|
1341
|
+
observedAt: z.ZodNumber;
|
|
1342
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1343
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1344
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1345
|
+
}, z.core.$strip>;
|
|
1346
|
+
type ClientSessionStarted = z.infer<typeof ClientSessionStartedSchema>;
|
|
1347
|
+
/**
|
|
1348
|
+
* Payload for `client.session.userPrompt.submitted`.
|
|
1349
|
+
*
|
|
1350
|
+
* Emitted when an adapter observes that the user has submitted a prompt to
|
|
1351
|
+
* the client runtime. The `prompt` field carries the raw prompt text when
|
|
1352
|
+
* the adapter has access to it.
|
|
1353
|
+
*/
|
|
1354
|
+
declare const ClientSessionUserPromptSubmittedSchema: z.ZodObject<{
|
|
1355
|
+
clientId: z.ZodString;
|
|
1356
|
+
source: z.ZodString;
|
|
1357
|
+
observedAt: z.ZodNumber;
|
|
1358
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1359
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1360
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1361
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
1362
|
+
}, z.core.$strip>;
|
|
1363
|
+
type ClientSessionUserPromptSubmitted = z.infer<typeof ClientSessionUserPromptSubmittedSchema>;
|
|
1364
|
+
/**
|
|
1365
|
+
* Payload for `client.session.turn.started`.
|
|
1366
|
+
*
|
|
1367
|
+
* Emitted when an adapter observes the beginning of an assistant turn inside
|
|
1368
|
+
* an ongoing client session.
|
|
1369
|
+
*/
|
|
1370
|
+
declare const ClientSessionTurnStartedSchema: z.ZodObject<{
|
|
1371
|
+
clientId: z.ZodString;
|
|
1372
|
+
source: z.ZodString;
|
|
1373
|
+
observedAt: z.ZodNumber;
|
|
1374
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1375
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1376
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1377
|
+
}, z.core.$strip>;
|
|
1378
|
+
type ClientSessionTurnStarted = z.infer<typeof ClientSessionTurnStartedSchema>;
|
|
1379
|
+
/**
|
|
1380
|
+
* Payload for `client.session.turn.completed`.
|
|
1381
|
+
*
|
|
1382
|
+
* Emitted when an adapter observes that an assistant turn has finished inside
|
|
1383
|
+
* an ongoing client session.
|
|
1384
|
+
*/
|
|
1385
|
+
declare const ClientSessionTurnCompletedSchema: z.ZodObject<{
|
|
1386
|
+
clientId: z.ZodString;
|
|
1387
|
+
source: z.ZodString;
|
|
1388
|
+
observedAt: z.ZodNumber;
|
|
1389
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1390
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1391
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1392
|
+
}, z.core.$strip>;
|
|
1393
|
+
type ClientSessionTurnCompleted = z.infer<typeof ClientSessionTurnCompletedSchema>;
|
|
1394
|
+
/**
|
|
1395
|
+
* Payload for `client.session.tool.pre`.
|
|
1396
|
+
*
|
|
1397
|
+
* Emitted when an adapter observes that a tool call is about to be executed
|
|
1398
|
+
* by the client runtime. The `toolName` and `toolCallId` fields identify the
|
|
1399
|
+
* specific invocation when the adapter has access to them.
|
|
1400
|
+
*/
|
|
1401
|
+
declare const ClientSessionToolPreSchema: z.ZodObject<{
|
|
1402
|
+
clientId: z.ZodString;
|
|
1403
|
+
source: z.ZodString;
|
|
1404
|
+
observedAt: z.ZodNumber;
|
|
1405
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1406
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1407
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1408
|
+
toolName: z.ZodOptional<z.ZodString>;
|
|
1409
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
1410
|
+
}, z.core.$strip>;
|
|
1411
|
+
type ClientSessionToolPre = z.infer<typeof ClientSessionToolPreSchema>;
|
|
1412
|
+
/**
|
|
1413
|
+
* Payload for `client.session.tool.post`.
|
|
1414
|
+
*
|
|
1415
|
+
* Emitted when an adapter observes that a tool call has completed inside the
|
|
1416
|
+
* client runtime. The `success` field reflects the outcome when the adapter
|
|
1417
|
+
* can determine it.
|
|
1418
|
+
*/
|
|
1419
|
+
declare const ClientSessionToolPostSchema: z.ZodObject<{
|
|
1420
|
+
clientId: z.ZodString;
|
|
1421
|
+
source: z.ZodString;
|
|
1422
|
+
observedAt: z.ZodNumber;
|
|
1423
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1424
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1425
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1426
|
+
toolName: z.ZodOptional<z.ZodString>;
|
|
1427
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
1428
|
+
success: z.ZodOptional<z.ZodBoolean>;
|
|
1429
|
+
}, z.core.$strip>;
|
|
1430
|
+
type ClientSessionToolPost = z.infer<typeof ClientSessionToolPostSchema>;
|
|
1431
|
+
/**
|
|
1432
|
+
* A single wiring entry in a client `wiring.list` response.
|
|
1433
|
+
*
|
|
1434
|
+
* Represents one hook (or statusline) that Makaio can install into the
|
|
1435
|
+
* client's native config.
|
|
1436
|
+
*/
|
|
1437
|
+
declare const ClientWiringEntrySchema: z.ZodObject<{
|
|
1438
|
+
group: z.ZodString;
|
|
1439
|
+
name: z.ZodString;
|
|
1440
|
+
installed: z.ZodBoolean;
|
|
1441
|
+
command: z.ZodString;
|
|
1442
|
+
}, z.core.$strip>;
|
|
1443
|
+
/** A single wiring entry in a list response. */
|
|
1444
|
+
type ClientWiringEntry = z.infer<typeof ClientWiringEntrySchema>;
|
|
1445
|
+
//#endregion
|
|
1446
|
+
//#region packages/contracts/src/client/namespace.d.ts
|
|
1447
|
+
/**
|
|
1448
|
+
* Client namespace definition.
|
|
1449
|
+
*
|
|
1450
|
+
* Defines the global `client.*` namespace for scan, account observation
|
|
1451
|
+
* (`client.account.observe`, `client.account.activate`, `client.account.getActive`),
|
|
1452
|
+
* usage ingestion/snapshot, runtime observation (`client.runtime.observe`,
|
|
1453
|
+
* `client.runtime.started`), observed session semantics subjects
|
|
1454
|
+
* (`client.session.started`, `client.session.userPrompt.submitted`,
|
|
1455
|
+
* `client.session.turn.started`, `client.session.turn.completed`,
|
|
1456
|
+
* `client.session.tool.pre`, `client.session.tool.post`), the global
|
|
1457
|
+
* wiring aggregator (`client.wiring.list`), the binary management
|
|
1458
|
+
* subjects (`client.list`, `client.install`, `client.uninstall`,
|
|
1459
|
+
* `client.update`, `client.setActive`, `client.installJob.progress`,
|
|
1460
|
+
* `client.installJob.completed`, `client.version.changed`), the binary
|
|
1461
|
+
* resolution command (`client.resolveBinary`), the profile management
|
|
1462
|
+
* subjects (`client.profile.create`, `client.profile.list`,
|
|
1463
|
+
* `client.profile.get`, `client.profile.update`, `client.profile.delete`,
|
|
1464
|
+
* `client.profile.setDefault`), and the session config lifecycle subjects
|
|
1465
|
+
* (`client.sessionConfig.create`, `client.sessionConfig.destroy`,
|
|
1466
|
+
* `client.sessionConfig.cleanup`).
|
|
1467
|
+
* @packageDocumentation
|
|
1468
|
+
*/
|
|
1469
|
+
/**
|
|
1470
|
+
* Client namespace definition under the `client` prefix.
|
|
1471
|
+
*/
|
|
1472
|
+
declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client", {
|
|
1473
|
+
'sessionConfig.create': {
|
|
1474
|
+
request: _$zod.ZodObject<{
|
|
1475
|
+
clientId: _$zod.ZodString;
|
|
1476
|
+
sessionId: _$zod.ZodString;
|
|
1477
|
+
profileName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1478
|
+
baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1479
|
+
projectDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1480
|
+
configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1481
|
+
full: "full";
|
|
1482
|
+
"auth-only": "auth-only";
|
|
1483
|
+
empty: "empty";
|
|
1484
|
+
}>>;
|
|
1485
|
+
}, _$zod_v4_core0.$strip>;
|
|
1486
|
+
response: _$zod.ZodObject<{
|
|
1487
|
+
sessionDir: _$zod.ZodString;
|
|
1488
|
+
env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
|
|
1489
|
+
}, _$zod_v4_core0.$strip>;
|
|
1490
|
+
};
|
|
1491
|
+
'sessionConfig.destroy': {
|
|
1492
|
+
request: _$zod.ZodObject<{
|
|
1493
|
+
clientId: _$zod.ZodString;
|
|
1494
|
+
sessionId: _$zod.ZodString;
|
|
1495
|
+
}, _$zod_v4_core0.$strip>;
|
|
1496
|
+
response: _$zod.ZodObject<{
|
|
1497
|
+
success: _$zod.ZodBoolean;
|
|
1498
|
+
}, _$zod_v4_core0.$strip>;
|
|
1499
|
+
};
|
|
1500
|
+
'sessionConfig.cleanup': {
|
|
1501
|
+
request: _$zod.ZodObject<{
|
|
1502
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1503
|
+
}, _$zod_v4_core0.$strip>;
|
|
1504
|
+
response: _$zod.ZodObject<{
|
|
1505
|
+
removed: _$zod.ZodArray<_$zod.ZodString>;
|
|
1506
|
+
}, _$zod_v4_core0.$strip>;
|
|
1507
|
+
};
|
|
1508
|
+
'profile.create': {
|
|
1509
|
+
request: _$zod.ZodObject<{
|
|
1510
|
+
clientId: _$zod.ZodString;
|
|
1511
|
+
name: _$zod.ZodString;
|
|
1512
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1513
|
+
}, _$zod_v4_core0.$strip>;
|
|
1514
|
+
response: _$zod.ZodObject<{
|
|
1515
|
+
profile: _$zod.ZodObject<{
|
|
1516
|
+
id: _$zod.ZodString;
|
|
1517
|
+
clientId: _$zod.ZodString;
|
|
1518
|
+
name: _$zod.ZodString;
|
|
1519
|
+
description: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1520
|
+
configDir: _$zod.ZodString;
|
|
1521
|
+
isDefault: _$zod.ZodBoolean;
|
|
1522
|
+
createdAt: _$zod.ZodNumber;
|
|
1523
|
+
updatedAt: _$zod.ZodNumber;
|
|
1524
|
+
}, _$zod_v4_core0.$strip>;
|
|
1525
|
+
}, _$zod_v4_core0.$strip>;
|
|
1526
|
+
};
|
|
1527
|
+
'profile.list': {
|
|
1528
|
+
request: _$zod.ZodObject<{
|
|
1529
|
+
clientId: _$zod.ZodString;
|
|
1530
|
+
}, _$zod_v4_core0.$strip>;
|
|
1531
|
+
response: _$zod.ZodObject<{
|
|
1532
|
+
profiles: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1533
|
+
id: _$zod.ZodString;
|
|
1534
|
+
clientId: _$zod.ZodString;
|
|
1535
|
+
name: _$zod.ZodString;
|
|
1536
|
+
description: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1537
|
+
configDir: _$zod.ZodString;
|
|
1538
|
+
isDefault: _$zod.ZodBoolean;
|
|
1539
|
+
createdAt: _$zod.ZodNumber;
|
|
1540
|
+
updatedAt: _$zod.ZodNumber;
|
|
1541
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1542
|
+
}, _$zod_v4_core0.$strip>;
|
|
1543
|
+
};
|
|
1544
|
+
'profile.get': {
|
|
1545
|
+
request: _$zod.ZodObject<{
|
|
1546
|
+
clientId: _$zod.ZodString;
|
|
1547
|
+
name: _$zod.ZodString;
|
|
1548
|
+
}, _$zod_v4_core0.$strip>;
|
|
1549
|
+
response: _$zod.ZodObject<{
|
|
1550
|
+
profile: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
1551
|
+
id: _$zod.ZodString;
|
|
1552
|
+
clientId: _$zod.ZodString;
|
|
1553
|
+
name: _$zod.ZodString;
|
|
1554
|
+
description: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1555
|
+
configDir: _$zod.ZodString;
|
|
1556
|
+
isDefault: _$zod.ZodBoolean;
|
|
1557
|
+
createdAt: _$zod.ZodNumber;
|
|
1558
|
+
updatedAt: _$zod.ZodNumber;
|
|
1559
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1560
|
+
}, _$zod_v4_core0.$strip>;
|
|
1561
|
+
};
|
|
1562
|
+
'profile.update': {
|
|
1563
|
+
request: _$zod.ZodObject<{
|
|
1564
|
+
clientId: _$zod.ZodString;
|
|
1565
|
+
name: _$zod.ZodString;
|
|
1566
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1567
|
+
}, _$zod_v4_core0.$strip>;
|
|
1568
|
+
response: _$zod.ZodObject<{
|
|
1569
|
+
profile: _$zod.ZodObject<{
|
|
1570
|
+
id: _$zod.ZodString;
|
|
1571
|
+
clientId: _$zod.ZodString;
|
|
1572
|
+
name: _$zod.ZodString;
|
|
1573
|
+
description: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1574
|
+
configDir: _$zod.ZodString;
|
|
1575
|
+
isDefault: _$zod.ZodBoolean;
|
|
1576
|
+
createdAt: _$zod.ZodNumber;
|
|
1577
|
+
updatedAt: _$zod.ZodNumber;
|
|
1578
|
+
}, _$zod_v4_core0.$strip>;
|
|
1579
|
+
}, _$zod_v4_core0.$strip>;
|
|
1580
|
+
};
|
|
1581
|
+
'profile.delete': {
|
|
1582
|
+
request: _$zod.ZodObject<{
|
|
1583
|
+
clientId: _$zod.ZodString;
|
|
1584
|
+
name: _$zod.ZodString;
|
|
1585
|
+
}, _$zod_v4_core0.$strip>;
|
|
1586
|
+
response: _$zod.ZodObject<{
|
|
1587
|
+
success: _$zod.ZodBoolean;
|
|
1588
|
+
}, _$zod_v4_core0.$strip>;
|
|
1589
|
+
};
|
|
1590
|
+
'profile.setDefault': {
|
|
1591
|
+
request: _$zod.ZodObject<{
|
|
1592
|
+
clientId: _$zod.ZodString;
|
|
1593
|
+
name: _$zod.ZodString;
|
|
1594
|
+
}, _$zod_v4_core0.$strip>;
|
|
1595
|
+
response: _$zod.ZodObject<{
|
|
1596
|
+
profile: _$zod.ZodObject<{
|
|
1597
|
+
id: _$zod.ZodString;
|
|
1598
|
+
clientId: _$zod.ZodString;
|
|
1599
|
+
name: _$zod.ZodString;
|
|
1600
|
+
description: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1601
|
+
configDir: _$zod.ZodString;
|
|
1602
|
+
isDefault: _$zod.ZodBoolean;
|
|
1603
|
+
createdAt: _$zod.ZodNumber;
|
|
1604
|
+
updatedAt: _$zod.ZodNumber;
|
|
1605
|
+
}, _$zod_v4_core0.$strip>;
|
|
1606
|
+
}, _$zod_v4_core0.$strip>;
|
|
1607
|
+
};
|
|
1608
|
+
'runtime.observe': {
|
|
1609
|
+
request: _$zod.ZodObject<{
|
|
1610
|
+
clientId: _$zod.ZodString;
|
|
1611
|
+
source: _$zod.ZodObject<{
|
|
1612
|
+
layer: _$zod.ZodEnum<{
|
|
1613
|
+
adapter: "adapter";
|
|
1614
|
+
supervisor: "supervisor";
|
|
1615
|
+
"client-hook": "client-hook";
|
|
1616
|
+
statusline: "statusline";
|
|
1617
|
+
"cli-wrapper": "cli-wrapper";
|
|
1618
|
+
}>;
|
|
1619
|
+
producer: _$zod.ZodString;
|
|
1620
|
+
}, _$zod_v4_core0.$strip>;
|
|
1621
|
+
observedAt: _$zod.ZodNumber;
|
|
1622
|
+
supervisorSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1623
|
+
pid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1624
|
+
parentPid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1625
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1626
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1627
|
+
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1628
|
+
argv: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1629
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
1630
|
+
}, _$zod_v4_core0.$strip>;
|
|
1631
|
+
response: _$zod.ZodObject<{
|
|
1632
|
+
clientRuntimeId: _$zod.ZodString;
|
|
1633
|
+
created: _$zod.ZodBoolean;
|
|
1634
|
+
promoted: _$zod.ZodBoolean;
|
|
1635
|
+
}, _$zod_v4_core0.$strip>;
|
|
1636
|
+
};
|
|
1637
|
+
'runtime.started': _$zod.ZodObject<{
|
|
1638
|
+
supervisorSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1639
|
+
pid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1640
|
+
parentPid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1641
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1642
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1643
|
+
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1644
|
+
argv: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1645
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
1646
|
+
clientRuntimeId: _$zod.ZodString;
|
|
1647
|
+
clientId: _$zod.ZodString;
|
|
1648
|
+
status: _$zod.ZodEnum<{
|
|
1649
|
+
started: "started";
|
|
1650
|
+
observed: "observed";
|
|
1651
|
+
}>;
|
|
1652
|
+
source: _$zod.ZodObject<{
|
|
1653
|
+
layer: _$zod.ZodEnum<{
|
|
1654
|
+
adapter: "adapter";
|
|
1655
|
+
supervisor: "supervisor";
|
|
1656
|
+
"client-hook": "client-hook";
|
|
1657
|
+
statusline: "statusline";
|
|
1658
|
+
"cli-wrapper": "cli-wrapper";
|
|
1659
|
+
}>;
|
|
1660
|
+
producer: _$zod.ZodString;
|
|
1661
|
+
}, _$zod_v4_core0.$strip>;
|
|
1662
|
+
observedAt: _$zod.ZodNumber;
|
|
1663
|
+
}, _$zod_v4_core0.$strip>;
|
|
1664
|
+
scan: {
|
|
1665
|
+
request: _$zod.ZodObject<{
|
|
1666
|
+
targets: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1667
|
+
clientId: _$zod.ZodString;
|
|
1668
|
+
binaryName: _$zod.ZodString;
|
|
1669
|
+
supportedVersions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1670
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
1671
|
+
}, _$zod_v4_core0.$strip>;
|
|
1672
|
+
response: _$zod.ZodObject<{
|
|
1673
|
+
results: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1674
|
+
clientId: _$zod.ZodString;
|
|
1675
|
+
found: _$zod.ZodBoolean;
|
|
1676
|
+
version: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1677
|
+
warningMessage: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1678
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1679
|
+
}, _$zod_v4_core0.$strip>;
|
|
1680
|
+
};
|
|
1681
|
+
'session.account.observe': {
|
|
1682
|
+
request: _$zod.ZodObject<{
|
|
1683
|
+
clientId: _$zod.ZodString;
|
|
1684
|
+
source: _$zod.ZodString;
|
|
1685
|
+
kind: _$zod.ZodString;
|
|
1686
|
+
observedAt: _$zod.ZodNumber;
|
|
1687
|
+
payload: _$zod.ZodType<Record<string, unknown>, unknown, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, unknown>>;
|
|
1688
|
+
locator: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1689
|
+
kind: _$zod.ZodLiteral<"session">;
|
|
1690
|
+
sessionId: _$zod.ZodString;
|
|
1691
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1692
|
+
kind: _$zod.ZodLiteral<"adapter-session">;
|
|
1693
|
+
adapterSessionId: _$zod.ZodString;
|
|
1694
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1695
|
+
kind: _$zod.ZodLiteral<"both">;
|
|
1696
|
+
sessionId: _$zod.ZodString;
|
|
1697
|
+
adapterSessionId: _$zod.ZodString;
|
|
1698
|
+
}, _$zod_v4_core0.$strip>], "kind">;
|
|
1699
|
+
}, _$zod_v4_core0.$strip>;
|
|
1700
|
+
response: _$zod.ZodObject<{
|
|
1701
|
+
handled: _$zod.ZodBoolean;
|
|
1702
|
+
sessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1703
|
+
clientAccountId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1704
|
+
changed: _$zod.ZodBoolean;
|
|
1705
|
+
}, _$zod_v4_core0.$strip>;
|
|
1706
|
+
};
|
|
1707
|
+
'account.observe': {
|
|
1708
|
+
request: _$zod.ZodObject<{
|
|
1709
|
+
clientId: _$zod.ZodString;
|
|
1710
|
+
observedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1711
|
+
displayLabel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1712
|
+
identifiers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1713
|
+
scheme: _$zod.ZodString;
|
|
1714
|
+
value: _$zod.ZodString;
|
|
1715
|
+
strength: _$zod.ZodEnum<{
|
|
1716
|
+
strong: "strong";
|
|
1717
|
+
alias: "alias";
|
|
1718
|
+
}>;
|
|
1719
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1720
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
1721
|
+
}, _$zod_v4_core0.$strip>;
|
|
1722
|
+
response: _$zod.ZodObject<{
|
|
1723
|
+
clientAccountId: _$zod.ZodString;
|
|
1724
|
+
displayLabel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1725
|
+
}, _$zod_v4_core0.$strip>;
|
|
1726
|
+
};
|
|
1727
|
+
'account.activate': {
|
|
1728
|
+
request: _$zod.ZodObject<{
|
|
1729
|
+
clientId: _$zod.ZodString;
|
|
1730
|
+
clientAccountId: _$zod.ZodString;
|
|
1731
|
+
identifiers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1732
|
+
scheme: _$zod.ZodString;
|
|
1733
|
+
value: _$zod.ZodString;
|
|
1734
|
+
strength: _$zod.ZodEnum<{
|
|
1735
|
+
strong: "strong";
|
|
1736
|
+
alias: "alias";
|
|
1737
|
+
}>;
|
|
1738
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1739
|
+
displayLabel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1740
|
+
}, _$zod_v4_core0.$strip>;
|
|
1741
|
+
response: _$zod.ZodObject<{
|
|
1742
|
+
accepted: _$zod.ZodBoolean;
|
|
1743
|
+
}, _$zod_v4_core0.$strip>;
|
|
1744
|
+
};
|
|
1745
|
+
'account.getActive': {
|
|
1746
|
+
request: _$zod.ZodObject<{
|
|
1747
|
+
clientId: _$zod.ZodString;
|
|
1748
|
+
}, _$zod_v4_core0.$strip>;
|
|
1749
|
+
response: _$zod.ZodObject<{
|
|
1750
|
+
identity: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
1751
|
+
clientAccountId: _$zod.ZodString;
|
|
1752
|
+
identifiers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1753
|
+
scheme: _$zod.ZodString;
|
|
1754
|
+
value: _$zod.ZodString;
|
|
1755
|
+
strength: _$zod.ZodEnum<{
|
|
1756
|
+
strong: "strong";
|
|
1757
|
+
alias: "alias";
|
|
1758
|
+
}>;
|
|
1759
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1760
|
+
displayLabel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1761
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1762
|
+
}, _$zod_v4_core0.$strip>;
|
|
1763
|
+
};
|
|
1764
|
+
'usage.ingest': {
|
|
1765
|
+
request: _$zod.ZodObject<{
|
|
1766
|
+
clientId: _$zod.ZodString;
|
|
1767
|
+
observedAt: _$zod.ZodNumber;
|
|
1768
|
+
source: _$zod.ZodString;
|
|
1769
|
+
account: _$zod.ZodObject<{
|
|
1770
|
+
displayLabel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1771
|
+
identifiers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1772
|
+
scheme: _$zod.ZodString;
|
|
1773
|
+
value: _$zod.ZodString;
|
|
1774
|
+
strength: _$zod.ZodEnum<{
|
|
1775
|
+
strong: "strong";
|
|
1776
|
+
alias: "alias";
|
|
1777
|
+
}>;
|
|
1778
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1779
|
+
}, _$zod_v4_core0.$strip>;
|
|
1780
|
+
usage: _$zod.ZodObject<{
|
|
1781
|
+
windows: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1782
|
+
key: _$zod.ZodString;
|
|
1783
|
+
label: _$zod.ZodString;
|
|
1784
|
+
usedPercentage: _$zod.ZodNumber;
|
|
1785
|
+
resetsAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1786
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1787
|
+
}, _$zod_v4_core0.$strip>;
|
|
1788
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
1789
|
+
}, _$zod_v4_core0.$strip>;
|
|
1790
|
+
response: _$zod.ZodObject<{
|
|
1791
|
+
clientAccountId: _$zod.ZodString;
|
|
1792
|
+
snapshot: _$zod.ZodObject<{
|
|
1793
|
+
clientAccountId: _$zod.ZodString;
|
|
1794
|
+
clientId: _$zod.ZodString;
|
|
1795
|
+
observedAt: _$zod.ZodNumber;
|
|
1796
|
+
source: _$zod.ZodString;
|
|
1797
|
+
displayLabel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1798
|
+
usage: _$zod.ZodObject<{
|
|
1799
|
+
windows: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1800
|
+
key: _$zod.ZodString;
|
|
1801
|
+
label: _$zod.ZodString;
|
|
1802
|
+
usedPercentage: _$zod.ZodNumber;
|
|
1803
|
+
resetsAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1804
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1805
|
+
}, _$zod_v4_core0.$strip>;
|
|
1806
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
1807
|
+
}, _$zod_v4_core0.$strip>;
|
|
1808
|
+
}, _$zod_v4_core0.$strip>;
|
|
1809
|
+
};
|
|
1810
|
+
'usage.snapshot': _$zod.ZodObject<{
|
|
1811
|
+
clientAccountId: _$zod.ZodString;
|
|
1812
|
+
clientId: _$zod.ZodString;
|
|
1813
|
+
observedAt: _$zod.ZodNumber;
|
|
1814
|
+
source: _$zod.ZodString;
|
|
1815
|
+
displayLabel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1816
|
+
usage: _$zod.ZodObject<{
|
|
1817
|
+
windows: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1818
|
+
key: _$zod.ZodString;
|
|
1819
|
+
label: _$zod.ZodString;
|
|
1820
|
+
usedPercentage: _$zod.ZodNumber;
|
|
1821
|
+
resetsAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1822
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1823
|
+
}, _$zod_v4_core0.$strip>;
|
|
1824
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
1825
|
+
}, _$zod_v4_core0.$strip>;
|
|
1826
|
+
'session.started': _$zod.ZodObject<{
|
|
1827
|
+
clientId: _$zod.ZodString;
|
|
1828
|
+
source: _$zod.ZodString;
|
|
1829
|
+
observedAt: _$zod.ZodNumber;
|
|
1830
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1831
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1832
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
1833
|
+
}, _$zod_v4_core0.$strip>;
|
|
1834
|
+
'session.userPrompt.submitted': _$zod.ZodObject<{
|
|
1835
|
+
clientId: _$zod.ZodString;
|
|
1836
|
+
source: _$zod.ZodString;
|
|
1837
|
+
observedAt: _$zod.ZodNumber;
|
|
1838
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1839
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1840
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
1841
|
+
prompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1842
|
+
}, _$zod_v4_core0.$strip>;
|
|
1843
|
+
'session.turn.started': _$zod.ZodObject<{
|
|
1844
|
+
clientId: _$zod.ZodString;
|
|
1845
|
+
source: _$zod.ZodString;
|
|
1846
|
+
observedAt: _$zod.ZodNumber;
|
|
1847
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1848
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1849
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
1850
|
+
}, _$zod_v4_core0.$strip>;
|
|
1851
|
+
'session.turn.completed': _$zod.ZodObject<{
|
|
1852
|
+
clientId: _$zod.ZodString;
|
|
1853
|
+
source: _$zod.ZodString;
|
|
1854
|
+
observedAt: _$zod.ZodNumber;
|
|
1855
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1856
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1857
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
1858
|
+
}, _$zod_v4_core0.$strip>;
|
|
1859
|
+
'session.tool.pre': _$zod.ZodObject<{
|
|
1860
|
+
clientId: _$zod.ZodString;
|
|
1861
|
+
source: _$zod.ZodString;
|
|
1862
|
+
observedAt: _$zod.ZodNumber;
|
|
1863
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1864
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1865
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
1866
|
+
toolName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1867
|
+
toolCallId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1868
|
+
}, _$zod_v4_core0.$strip>;
|
|
1869
|
+
'session.tool.post': _$zod.ZodObject<{
|
|
1870
|
+
clientId: _$zod.ZodString;
|
|
1871
|
+
source: _$zod.ZodString;
|
|
1872
|
+
observedAt: _$zod.ZodNumber;
|
|
1873
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1874
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1875
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
1876
|
+
toolName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1877
|
+
toolCallId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1878
|
+
success: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1879
|
+
}, _$zod_v4_core0.$strip>;
|
|
1880
|
+
'wiring.list': {
|
|
1881
|
+
request: _$zod.ZodObject<{
|
|
1882
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1883
|
+
projectDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1884
|
+
makaioCommand: _$zod.ZodString;
|
|
1885
|
+
}, _$zod_v4_core0.$strip>;
|
|
1886
|
+
response: _$zod.ZodObject<{
|
|
1887
|
+
results: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1888
|
+
clientId: _$zod.ZodString;
|
|
1889
|
+
entries: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1890
|
+
group: _$zod.ZodString;
|
|
1891
|
+
name: _$zod.ZodString;
|
|
1892
|
+
installed: _$zod.ZodBoolean;
|
|
1893
|
+
command: _$zod.ZodString;
|
|
1894
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1895
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1896
|
+
}, _$zod_v4_core0.$strip>;
|
|
1897
|
+
};
|
|
1898
|
+
list: {
|
|
1899
|
+
request: _$zod.ZodObject<{
|
|
1900
|
+
forceRefresh: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1901
|
+
}, _$zod_v4_core0.$strip>;
|
|
1902
|
+
response: _$zod.ZodObject<{
|
|
1903
|
+
clients: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1904
|
+
clientId: _$zod.ZodString;
|
|
1905
|
+
installedVersions: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1906
|
+
version: _$zod.ZodString;
|
|
1907
|
+
installPath: _$zod.ZodString;
|
|
1908
|
+
installedAt: _$zod.ZodNumber;
|
|
1909
|
+
isActive: _$zod.ZodBoolean;
|
|
1910
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1911
|
+
activeVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1912
|
+
latestAvailableVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1913
|
+
latestVersionLastCheckedAt: _$zod.ZodNullable<_$zod.ZodNumber>;
|
|
1914
|
+
latestVersionSourceStatus: _$zod.ZodEnum<{
|
|
1915
|
+
error: "error";
|
|
1916
|
+
fresh: "fresh";
|
|
1917
|
+
cached: "cached";
|
|
1918
|
+
}>;
|
|
1919
|
+
updateAvailable: _$zod.ZodBoolean;
|
|
1920
|
+
}, _$zod_v4_core0.$strip>>;
|
|
1921
|
+
}, _$zod_v4_core0.$strip>;
|
|
1922
|
+
};
|
|
1923
|
+
install: {
|
|
1924
|
+
request: _$zod.ZodObject<{
|
|
1925
|
+
clientId: _$zod.ZodString;
|
|
1926
|
+
version: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1927
|
+
}, _$zod_v4_core0.$strip>;
|
|
1928
|
+
response: _$zod.ZodObject<{
|
|
1929
|
+
jobId: _$zod.ZodString;
|
|
1930
|
+
requestedVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1931
|
+
resolvedVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1932
|
+
}, _$zod_v4_core0.$strip>;
|
|
1933
|
+
};
|
|
1934
|
+
uninstall: {
|
|
1935
|
+
request: _$zod.ZodObject<{
|
|
1936
|
+
clientId: _$zod.ZodString;
|
|
1937
|
+
version: _$zod.ZodString;
|
|
1938
|
+
}, _$zod_v4_core0.$strip>;
|
|
1939
|
+
response: _$zod.ZodObject<{
|
|
1940
|
+
clientId: _$zod.ZodString;
|
|
1941
|
+
removedVersion: _$zod.ZodString;
|
|
1942
|
+
activeVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1943
|
+
}, _$zod_v4_core0.$strip>;
|
|
1944
|
+
};
|
|
1945
|
+
update: {
|
|
1946
|
+
request: _$zod.ZodObject<{
|
|
1947
|
+
clientId: _$zod.ZodString;
|
|
1948
|
+
}, _$zod_v4_core0.$strip>;
|
|
1949
|
+
response: _$zod.ZodObject<{
|
|
1950
|
+
jobId: _$zod.ZodString;
|
|
1951
|
+
resolvedVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1952
|
+
}, _$zod_v4_core0.$strip>;
|
|
1953
|
+
};
|
|
1954
|
+
setActive: {
|
|
1955
|
+
request: _$zod.ZodObject<{
|
|
1956
|
+
clientId: _$zod.ZodString;
|
|
1957
|
+
version: _$zod.ZodString;
|
|
1958
|
+
}, _$zod_v4_core0.$strip>;
|
|
1959
|
+
response: _$zod.ZodObject<{
|
|
1960
|
+
clientId: _$zod.ZodString;
|
|
1961
|
+
activeVersion: _$zod.ZodString;
|
|
1962
|
+
}, _$zod_v4_core0.$strip>;
|
|
1963
|
+
};
|
|
1964
|
+
'installJob.progress': _$zod.ZodObject<{
|
|
1965
|
+
jobId: _$zod.ZodString;
|
|
1966
|
+
clientId: _$zod.ZodString;
|
|
1967
|
+
version: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1968
|
+
strategy: _$zod.ZodEnum<{
|
|
1969
|
+
"manifest-bucket": "manifest-bucket";
|
|
1970
|
+
npm: "npm";
|
|
1971
|
+
"github-release": "github-release";
|
|
1972
|
+
}>;
|
|
1973
|
+
stage: _$zod.ZodEnum<{
|
|
1974
|
+
downloading: "downloading";
|
|
1975
|
+
resolving: "resolving";
|
|
1976
|
+
verifying: "verifying";
|
|
1977
|
+
extracting: "extracting";
|
|
1978
|
+
installing: "installing";
|
|
1979
|
+
"post-install": "post-install";
|
|
1980
|
+
activating: "activating";
|
|
1981
|
+
}>;
|
|
1982
|
+
progress: _$zod.ZodNullable<_$zod.ZodNumber>;
|
|
1983
|
+
installPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1984
|
+
activeAfterCompletion: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1985
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
1986
|
+
}, _$zod_v4_core0.$strip>;
|
|
1987
|
+
'installJob.completed': _$zod.ZodObject<{
|
|
1988
|
+
jobId: _$zod.ZodString;
|
|
1989
|
+
clientId: _$zod.ZodString;
|
|
1990
|
+
version: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1991
|
+
strategy: _$zod.ZodEnum<{
|
|
1992
|
+
"manifest-bucket": "manifest-bucket";
|
|
1993
|
+
npm: "npm";
|
|
1994
|
+
"github-release": "github-release";
|
|
1995
|
+
}>;
|
|
1996
|
+
status: _$zod.ZodEnum<{
|
|
1997
|
+
success: "success";
|
|
1998
|
+
error: "error";
|
|
1999
|
+
}>;
|
|
2000
|
+
installPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2001
|
+
activeVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2002
|
+
error: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
2003
|
+
message: _$zod.ZodString;
|
|
2004
|
+
code: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2005
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2006
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2007
|
+
}, _$zod_v4_core0.$strip>;
|
|
2008
|
+
'version.changed': _$zod.ZodObject<{
|
|
2009
|
+
clientId: _$zod.ZodString;
|
|
2010
|
+
previousActiveVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2011
|
+
activeVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2012
|
+
reason: _$zod.ZodEnum<{
|
|
2013
|
+
update: "update";
|
|
2014
|
+
install: "install";
|
|
2015
|
+
uninstall: "uninstall";
|
|
2016
|
+
"set-active": "set-active";
|
|
2017
|
+
}>;
|
|
2018
|
+
}, _$zod_v4_core0.$strip>;
|
|
2019
|
+
resolveBinary: {
|
|
2020
|
+
request: _$zod.ZodObject<{
|
|
2021
|
+
clientId: _$zod.ZodString;
|
|
2022
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2023
|
+
projectDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2024
|
+
preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2025
|
+
global: "global";
|
|
2026
|
+
managed: "managed";
|
|
2027
|
+
}>>;
|
|
2028
|
+
harnessId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2029
|
+
}, _$zod_v4_core0.$strip>;
|
|
2030
|
+
response: _$zod.ZodObject<{
|
|
2031
|
+
binaryPath: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2032
|
+
env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
|
|
2033
|
+
configDir: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2034
|
+
source: _$zod.ZodEnum<{
|
|
2035
|
+
global: "global";
|
|
2036
|
+
managed: "managed";
|
|
2037
|
+
}>;
|
|
2038
|
+
version: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2039
|
+
}, _$zod_v4_core0.$strip>;
|
|
2040
|
+
};
|
|
2041
|
+
}>;
|
|
2042
|
+
/**
|
|
2043
|
+
* Typed bus subjects for the client namespace.
|
|
2044
|
+
*/
|
|
2045
|
+
declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"client", {
|
|
2046
|
+
'sessionConfig.create': {
|
|
2047
|
+
request: _$zod.ZodObject<{
|
|
2048
|
+
clientId: _$zod.ZodString;
|
|
2049
|
+
sessionId: _$zod.ZodString;
|
|
2050
|
+
profileName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2051
|
+
baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2052
|
+
projectDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2053
|
+
configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2054
|
+
full: "full";
|
|
2055
|
+
"auth-only": "auth-only";
|
|
2056
|
+
empty: "empty";
|
|
2057
|
+
}>>;
|
|
2058
|
+
}, _$zod_v4_core0.$strip>;
|
|
2059
|
+
response: _$zod.ZodObject<{
|
|
2060
|
+
sessionDir: _$zod.ZodString;
|
|
2061
|
+
env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
|
|
2062
|
+
}, _$zod_v4_core0.$strip>;
|
|
2063
|
+
};
|
|
2064
|
+
'sessionConfig.destroy': {
|
|
2065
|
+
request: _$zod.ZodObject<{
|
|
2066
|
+
clientId: _$zod.ZodString;
|
|
2067
|
+
sessionId: _$zod.ZodString;
|
|
2068
|
+
}, _$zod_v4_core0.$strip>;
|
|
2069
|
+
response: _$zod.ZodObject<{
|
|
2070
|
+
success: _$zod.ZodBoolean;
|
|
2071
|
+
}, _$zod_v4_core0.$strip>;
|
|
2072
|
+
};
|
|
2073
|
+
'sessionConfig.cleanup': {
|
|
2074
|
+
request: _$zod.ZodObject<{
|
|
2075
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2076
|
+
}, _$zod_v4_core0.$strip>;
|
|
2077
|
+
response: _$zod.ZodObject<{
|
|
2078
|
+
removed: _$zod.ZodArray<_$zod.ZodString>;
|
|
2079
|
+
}, _$zod_v4_core0.$strip>;
|
|
2080
|
+
};
|
|
2081
|
+
'profile.create': {
|
|
2082
|
+
request: _$zod.ZodObject<{
|
|
2083
|
+
clientId: _$zod.ZodString;
|
|
2084
|
+
name: _$zod.ZodString;
|
|
2085
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2086
|
+
}, _$zod_v4_core0.$strip>;
|
|
2087
|
+
response: _$zod.ZodObject<{
|
|
2088
|
+
profile: _$zod.ZodObject<{
|
|
2089
|
+
id: _$zod.ZodString;
|
|
2090
|
+
clientId: _$zod.ZodString;
|
|
2091
|
+
name: _$zod.ZodString;
|
|
2092
|
+
description: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2093
|
+
configDir: _$zod.ZodString;
|
|
2094
|
+
isDefault: _$zod.ZodBoolean;
|
|
2095
|
+
createdAt: _$zod.ZodNumber;
|
|
2096
|
+
updatedAt: _$zod.ZodNumber;
|
|
2097
|
+
}, _$zod_v4_core0.$strip>;
|
|
2098
|
+
}, _$zod_v4_core0.$strip>;
|
|
2099
|
+
};
|
|
2100
|
+
'profile.list': {
|
|
2101
|
+
request: _$zod.ZodObject<{
|
|
2102
|
+
clientId: _$zod.ZodString;
|
|
2103
|
+
}, _$zod_v4_core0.$strip>;
|
|
2104
|
+
response: _$zod.ZodObject<{
|
|
2105
|
+
profiles: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2106
|
+
id: _$zod.ZodString;
|
|
2107
|
+
clientId: _$zod.ZodString;
|
|
2108
|
+
name: _$zod.ZodString;
|
|
2109
|
+
description: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2110
|
+
configDir: _$zod.ZodString;
|
|
2111
|
+
isDefault: _$zod.ZodBoolean;
|
|
2112
|
+
createdAt: _$zod.ZodNumber;
|
|
2113
|
+
updatedAt: _$zod.ZodNumber;
|
|
2114
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2115
|
+
}, _$zod_v4_core0.$strip>;
|
|
2116
|
+
};
|
|
2117
|
+
'profile.get': {
|
|
2118
|
+
request: _$zod.ZodObject<{
|
|
2119
|
+
clientId: _$zod.ZodString;
|
|
2120
|
+
name: _$zod.ZodString;
|
|
2121
|
+
}, _$zod_v4_core0.$strip>;
|
|
2122
|
+
response: _$zod.ZodObject<{
|
|
2123
|
+
profile: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
2124
|
+
id: _$zod.ZodString;
|
|
2125
|
+
clientId: _$zod.ZodString;
|
|
2126
|
+
name: _$zod.ZodString;
|
|
2127
|
+
description: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2128
|
+
configDir: _$zod.ZodString;
|
|
2129
|
+
isDefault: _$zod.ZodBoolean;
|
|
2130
|
+
createdAt: _$zod.ZodNumber;
|
|
2131
|
+
updatedAt: _$zod.ZodNumber;
|
|
2132
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2133
|
+
}, _$zod_v4_core0.$strip>;
|
|
2134
|
+
};
|
|
2135
|
+
'profile.update': {
|
|
2136
|
+
request: _$zod.ZodObject<{
|
|
2137
|
+
clientId: _$zod.ZodString;
|
|
2138
|
+
name: _$zod.ZodString;
|
|
2139
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2140
|
+
}, _$zod_v4_core0.$strip>;
|
|
2141
|
+
response: _$zod.ZodObject<{
|
|
2142
|
+
profile: _$zod.ZodObject<{
|
|
2143
|
+
id: _$zod.ZodString;
|
|
2144
|
+
clientId: _$zod.ZodString;
|
|
2145
|
+
name: _$zod.ZodString;
|
|
2146
|
+
description: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2147
|
+
configDir: _$zod.ZodString;
|
|
2148
|
+
isDefault: _$zod.ZodBoolean;
|
|
2149
|
+
createdAt: _$zod.ZodNumber;
|
|
2150
|
+
updatedAt: _$zod.ZodNumber;
|
|
2151
|
+
}, _$zod_v4_core0.$strip>;
|
|
2152
|
+
}, _$zod_v4_core0.$strip>;
|
|
2153
|
+
};
|
|
2154
|
+
'profile.delete': {
|
|
2155
|
+
request: _$zod.ZodObject<{
|
|
2156
|
+
clientId: _$zod.ZodString;
|
|
2157
|
+
name: _$zod.ZodString;
|
|
2158
|
+
}, _$zod_v4_core0.$strip>;
|
|
2159
|
+
response: _$zod.ZodObject<{
|
|
2160
|
+
success: _$zod.ZodBoolean;
|
|
2161
|
+
}, _$zod_v4_core0.$strip>;
|
|
2162
|
+
};
|
|
2163
|
+
'profile.setDefault': {
|
|
2164
|
+
request: _$zod.ZodObject<{
|
|
2165
|
+
clientId: _$zod.ZodString;
|
|
2166
|
+
name: _$zod.ZodString;
|
|
2167
|
+
}, _$zod_v4_core0.$strip>;
|
|
2168
|
+
response: _$zod.ZodObject<{
|
|
2169
|
+
profile: _$zod.ZodObject<{
|
|
2170
|
+
id: _$zod.ZodString;
|
|
2171
|
+
clientId: _$zod.ZodString;
|
|
2172
|
+
name: _$zod.ZodString;
|
|
2173
|
+
description: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2174
|
+
configDir: _$zod.ZodString;
|
|
2175
|
+
isDefault: _$zod.ZodBoolean;
|
|
2176
|
+
createdAt: _$zod.ZodNumber;
|
|
2177
|
+
updatedAt: _$zod.ZodNumber;
|
|
2178
|
+
}, _$zod_v4_core0.$strip>;
|
|
2179
|
+
}, _$zod_v4_core0.$strip>;
|
|
2180
|
+
};
|
|
2181
|
+
'runtime.observe': {
|
|
2182
|
+
request: _$zod.ZodObject<{
|
|
2183
|
+
clientId: _$zod.ZodString;
|
|
2184
|
+
source: _$zod.ZodObject<{
|
|
2185
|
+
layer: _$zod.ZodEnum<{
|
|
2186
|
+
adapter: "adapter";
|
|
2187
|
+
supervisor: "supervisor";
|
|
2188
|
+
"client-hook": "client-hook";
|
|
2189
|
+
statusline: "statusline";
|
|
2190
|
+
"cli-wrapper": "cli-wrapper";
|
|
2191
|
+
}>;
|
|
2192
|
+
producer: _$zod.ZodString;
|
|
2193
|
+
}, _$zod_v4_core0.$strip>;
|
|
2194
|
+
observedAt: _$zod.ZodNumber;
|
|
2195
|
+
supervisorSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2196
|
+
pid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2197
|
+
parentPid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2198
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2199
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2200
|
+
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2201
|
+
argv: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
2202
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2203
|
+
}, _$zod_v4_core0.$strip>;
|
|
2204
|
+
response: _$zod.ZodObject<{
|
|
2205
|
+
clientRuntimeId: _$zod.ZodString;
|
|
2206
|
+
created: _$zod.ZodBoolean;
|
|
2207
|
+
promoted: _$zod.ZodBoolean;
|
|
2208
|
+
}, _$zod_v4_core0.$strip>;
|
|
2209
|
+
};
|
|
2210
|
+
'runtime.started': _$zod.ZodObject<{
|
|
2211
|
+
supervisorSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2212
|
+
pid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2213
|
+
parentPid: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2214
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2215
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2216
|
+
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2217
|
+
argv: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
2218
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2219
|
+
clientRuntimeId: _$zod.ZodString;
|
|
2220
|
+
clientId: _$zod.ZodString;
|
|
2221
|
+
status: _$zod.ZodEnum<{
|
|
2222
|
+
started: "started";
|
|
2223
|
+
observed: "observed";
|
|
2224
|
+
}>;
|
|
2225
|
+
source: _$zod.ZodObject<{
|
|
2226
|
+
layer: _$zod.ZodEnum<{
|
|
2227
|
+
adapter: "adapter";
|
|
2228
|
+
supervisor: "supervisor";
|
|
2229
|
+
"client-hook": "client-hook";
|
|
2230
|
+
statusline: "statusline";
|
|
2231
|
+
"cli-wrapper": "cli-wrapper";
|
|
2232
|
+
}>;
|
|
2233
|
+
producer: _$zod.ZodString;
|
|
2234
|
+
}, _$zod_v4_core0.$strip>;
|
|
2235
|
+
observedAt: _$zod.ZodNumber;
|
|
2236
|
+
}, _$zod_v4_core0.$strip>;
|
|
2237
|
+
scan: {
|
|
2238
|
+
request: _$zod.ZodObject<{
|
|
2239
|
+
targets: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
2240
|
+
clientId: _$zod.ZodString;
|
|
2241
|
+
binaryName: _$zod.ZodString;
|
|
2242
|
+
supportedVersions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2243
|
+
}, _$zod_v4_core0.$strip>>>;
|
|
2244
|
+
}, _$zod_v4_core0.$strip>;
|
|
2245
|
+
response: _$zod.ZodObject<{
|
|
2246
|
+
results: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2247
|
+
clientId: _$zod.ZodString;
|
|
2248
|
+
found: _$zod.ZodBoolean;
|
|
2249
|
+
version: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2250
|
+
warningMessage: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2251
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2252
|
+
}, _$zod_v4_core0.$strip>;
|
|
2253
|
+
};
|
|
2254
|
+
'session.account.observe': {
|
|
2255
|
+
request: _$zod.ZodObject<{
|
|
2256
|
+
clientId: _$zod.ZodString;
|
|
2257
|
+
source: _$zod.ZodString;
|
|
2258
|
+
kind: _$zod.ZodString;
|
|
2259
|
+
observedAt: _$zod.ZodNumber;
|
|
2260
|
+
payload: _$zod.ZodType<Record<string, unknown>, unknown, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, unknown>>;
|
|
2261
|
+
locator: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
2262
|
+
kind: _$zod.ZodLiteral<"session">;
|
|
2263
|
+
sessionId: _$zod.ZodString;
|
|
2264
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
2265
|
+
kind: _$zod.ZodLiteral<"adapter-session">;
|
|
2266
|
+
adapterSessionId: _$zod.ZodString;
|
|
2267
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
2268
|
+
kind: _$zod.ZodLiteral<"both">;
|
|
2269
|
+
sessionId: _$zod.ZodString;
|
|
2270
|
+
adapterSessionId: _$zod.ZodString;
|
|
2271
|
+
}, _$zod_v4_core0.$strip>], "kind">;
|
|
2272
|
+
}, _$zod_v4_core0.$strip>;
|
|
2273
|
+
response: _$zod.ZodObject<{
|
|
2274
|
+
handled: _$zod.ZodBoolean;
|
|
2275
|
+
sessionId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2276
|
+
clientAccountId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2277
|
+
changed: _$zod.ZodBoolean;
|
|
2278
|
+
}, _$zod_v4_core0.$strip>;
|
|
2279
|
+
};
|
|
2280
|
+
'account.observe': {
|
|
2281
|
+
request: _$zod.ZodObject<{
|
|
2282
|
+
clientId: _$zod.ZodString;
|
|
2283
|
+
observedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2284
|
+
displayLabel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2285
|
+
identifiers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2286
|
+
scheme: _$zod.ZodString;
|
|
2287
|
+
value: _$zod.ZodString;
|
|
2288
|
+
strength: _$zod.ZodEnum<{
|
|
2289
|
+
strong: "strong";
|
|
2290
|
+
alias: "alias";
|
|
2291
|
+
}>;
|
|
2292
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2293
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2294
|
+
}, _$zod_v4_core0.$strip>;
|
|
2295
|
+
response: _$zod.ZodObject<{
|
|
2296
|
+
clientAccountId: _$zod.ZodString;
|
|
2297
|
+
displayLabel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2298
|
+
}, _$zod_v4_core0.$strip>;
|
|
2299
|
+
};
|
|
2300
|
+
'account.activate': {
|
|
2301
|
+
request: _$zod.ZodObject<{
|
|
2302
|
+
clientId: _$zod.ZodString;
|
|
2303
|
+
clientAccountId: _$zod.ZodString;
|
|
2304
|
+
identifiers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2305
|
+
scheme: _$zod.ZodString;
|
|
2306
|
+
value: _$zod.ZodString;
|
|
2307
|
+
strength: _$zod.ZodEnum<{
|
|
2308
|
+
strong: "strong";
|
|
2309
|
+
alias: "alias";
|
|
2310
|
+
}>;
|
|
2311
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2312
|
+
displayLabel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2313
|
+
}, _$zod_v4_core0.$strip>;
|
|
2314
|
+
response: _$zod.ZodObject<{
|
|
2315
|
+
accepted: _$zod.ZodBoolean;
|
|
2316
|
+
}, _$zod_v4_core0.$strip>;
|
|
2317
|
+
};
|
|
2318
|
+
'account.getActive': {
|
|
2319
|
+
request: _$zod.ZodObject<{
|
|
2320
|
+
clientId: _$zod.ZodString;
|
|
2321
|
+
}, _$zod_v4_core0.$strip>;
|
|
2322
|
+
response: _$zod.ZodObject<{
|
|
2323
|
+
identity: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
2324
|
+
clientAccountId: _$zod.ZodString;
|
|
2325
|
+
identifiers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2326
|
+
scheme: _$zod.ZodString;
|
|
2327
|
+
value: _$zod.ZodString;
|
|
2328
|
+
strength: _$zod.ZodEnum<{
|
|
2329
|
+
strong: "strong";
|
|
2330
|
+
alias: "alias";
|
|
2331
|
+
}>;
|
|
2332
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2333
|
+
displayLabel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2334
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2335
|
+
}, _$zod_v4_core0.$strip>;
|
|
2336
|
+
};
|
|
2337
|
+
'usage.ingest': {
|
|
2338
|
+
request: _$zod.ZodObject<{
|
|
2339
|
+
clientId: _$zod.ZodString;
|
|
2340
|
+
observedAt: _$zod.ZodNumber;
|
|
2341
|
+
source: _$zod.ZodString;
|
|
2342
|
+
account: _$zod.ZodObject<{
|
|
2343
|
+
displayLabel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2344
|
+
identifiers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2345
|
+
scheme: _$zod.ZodString;
|
|
2346
|
+
value: _$zod.ZodString;
|
|
2347
|
+
strength: _$zod.ZodEnum<{
|
|
2348
|
+
strong: "strong";
|
|
2349
|
+
alias: "alias";
|
|
2350
|
+
}>;
|
|
2351
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2352
|
+
}, _$zod_v4_core0.$strip>;
|
|
2353
|
+
usage: _$zod.ZodObject<{
|
|
2354
|
+
windows: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2355
|
+
key: _$zod.ZodString;
|
|
2356
|
+
label: _$zod.ZodString;
|
|
2357
|
+
usedPercentage: _$zod.ZodNumber;
|
|
2358
|
+
resetsAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2359
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2360
|
+
}, _$zod_v4_core0.$strip>;
|
|
2361
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2362
|
+
}, _$zod_v4_core0.$strip>;
|
|
2363
|
+
response: _$zod.ZodObject<{
|
|
2364
|
+
clientAccountId: _$zod.ZodString;
|
|
2365
|
+
snapshot: _$zod.ZodObject<{
|
|
2366
|
+
clientAccountId: _$zod.ZodString;
|
|
2367
|
+
clientId: _$zod.ZodString;
|
|
2368
|
+
observedAt: _$zod.ZodNumber;
|
|
2369
|
+
source: _$zod.ZodString;
|
|
2370
|
+
displayLabel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2371
|
+
usage: _$zod.ZodObject<{
|
|
2372
|
+
windows: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2373
|
+
key: _$zod.ZodString;
|
|
2374
|
+
label: _$zod.ZodString;
|
|
2375
|
+
usedPercentage: _$zod.ZodNumber;
|
|
2376
|
+
resetsAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2377
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2378
|
+
}, _$zod_v4_core0.$strip>;
|
|
2379
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2380
|
+
}, _$zod_v4_core0.$strip>;
|
|
2381
|
+
}, _$zod_v4_core0.$strip>;
|
|
2382
|
+
};
|
|
2383
|
+
'usage.snapshot': _$zod.ZodObject<{
|
|
2384
|
+
clientAccountId: _$zod.ZodString;
|
|
2385
|
+
clientId: _$zod.ZodString;
|
|
2386
|
+
observedAt: _$zod.ZodNumber;
|
|
2387
|
+
source: _$zod.ZodString;
|
|
2388
|
+
displayLabel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2389
|
+
usage: _$zod.ZodObject<{
|
|
2390
|
+
windows: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2391
|
+
key: _$zod.ZodString;
|
|
2392
|
+
label: _$zod.ZodString;
|
|
2393
|
+
usedPercentage: _$zod.ZodNumber;
|
|
2394
|
+
resetsAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2395
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2396
|
+
}, _$zod_v4_core0.$strip>;
|
|
2397
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2398
|
+
}, _$zod_v4_core0.$strip>;
|
|
2399
|
+
'session.started': _$zod.ZodObject<{
|
|
2400
|
+
clientId: _$zod.ZodString;
|
|
2401
|
+
source: _$zod.ZodString;
|
|
2402
|
+
observedAt: _$zod.ZodNumber;
|
|
2403
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2404
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2405
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2406
|
+
}, _$zod_v4_core0.$strip>;
|
|
2407
|
+
'session.userPrompt.submitted': _$zod.ZodObject<{
|
|
2408
|
+
clientId: _$zod.ZodString;
|
|
2409
|
+
source: _$zod.ZodString;
|
|
2410
|
+
observedAt: _$zod.ZodNumber;
|
|
2411
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2412
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2413
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2414
|
+
prompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2415
|
+
}, _$zod_v4_core0.$strip>;
|
|
2416
|
+
'session.turn.started': _$zod.ZodObject<{
|
|
2417
|
+
clientId: _$zod.ZodString;
|
|
2418
|
+
source: _$zod.ZodString;
|
|
2419
|
+
observedAt: _$zod.ZodNumber;
|
|
2420
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2421
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2422
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2423
|
+
}, _$zod_v4_core0.$strip>;
|
|
2424
|
+
'session.turn.completed': _$zod.ZodObject<{
|
|
2425
|
+
clientId: _$zod.ZodString;
|
|
2426
|
+
source: _$zod.ZodString;
|
|
2427
|
+
observedAt: _$zod.ZodNumber;
|
|
2428
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2429
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2430
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2431
|
+
}, _$zod_v4_core0.$strip>;
|
|
2432
|
+
'session.tool.pre': _$zod.ZodObject<{
|
|
2433
|
+
clientId: _$zod.ZodString;
|
|
2434
|
+
source: _$zod.ZodString;
|
|
2435
|
+
observedAt: _$zod.ZodNumber;
|
|
2436
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2437
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2438
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2439
|
+
toolName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2440
|
+
toolCallId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2441
|
+
}, _$zod_v4_core0.$strip>;
|
|
2442
|
+
'session.tool.post': _$zod.ZodObject<{
|
|
2443
|
+
clientId: _$zod.ZodString;
|
|
2444
|
+
source: _$zod.ZodString;
|
|
2445
|
+
observedAt: _$zod.ZodNumber;
|
|
2446
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2447
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2448
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2449
|
+
toolName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2450
|
+
toolCallId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2451
|
+
success: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2452
|
+
}, _$zod_v4_core0.$strip>;
|
|
2453
|
+
'wiring.list': {
|
|
2454
|
+
request: _$zod.ZodObject<{
|
|
2455
|
+
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2456
|
+
projectDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2457
|
+
makaioCommand: _$zod.ZodString;
|
|
2458
|
+
}, _$zod_v4_core0.$strip>;
|
|
2459
|
+
response: _$zod.ZodObject<{
|
|
2460
|
+
results: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2461
|
+
clientId: _$zod.ZodString;
|
|
2462
|
+
entries: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2463
|
+
group: _$zod.ZodString;
|
|
2464
|
+
name: _$zod.ZodString;
|
|
2465
|
+
installed: _$zod.ZodBoolean;
|
|
2466
|
+
command: _$zod.ZodString;
|
|
2467
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2468
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2469
|
+
}, _$zod_v4_core0.$strip>;
|
|
2470
|
+
};
|
|
2471
|
+
list: {
|
|
2472
|
+
request: _$zod.ZodObject<{
|
|
2473
|
+
forceRefresh: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2474
|
+
}, _$zod_v4_core0.$strip>;
|
|
2475
|
+
response: _$zod.ZodObject<{
|
|
2476
|
+
clients: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2477
|
+
clientId: _$zod.ZodString;
|
|
2478
|
+
installedVersions: _$zod.ZodArray<_$zod.ZodObject<{
|
|
2479
|
+
version: _$zod.ZodString;
|
|
2480
|
+
installPath: _$zod.ZodString;
|
|
2481
|
+
installedAt: _$zod.ZodNumber;
|
|
2482
|
+
isActive: _$zod.ZodBoolean;
|
|
2483
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2484
|
+
activeVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2485
|
+
latestAvailableVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2486
|
+
latestVersionLastCheckedAt: _$zod.ZodNullable<_$zod.ZodNumber>;
|
|
2487
|
+
latestVersionSourceStatus: _$zod.ZodEnum<{
|
|
2488
|
+
error: "error";
|
|
2489
|
+
fresh: "fresh";
|
|
2490
|
+
cached: "cached";
|
|
2491
|
+
}>;
|
|
2492
|
+
updateAvailable: _$zod.ZodBoolean;
|
|
2493
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2494
|
+
}, _$zod_v4_core0.$strip>;
|
|
2495
|
+
};
|
|
2496
|
+
install: {
|
|
2497
|
+
request: _$zod.ZodObject<{
|
|
2498
|
+
clientId: _$zod.ZodString;
|
|
2499
|
+
version: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2500
|
+
}, _$zod_v4_core0.$strip>;
|
|
2501
|
+
response: _$zod.ZodObject<{
|
|
2502
|
+
jobId: _$zod.ZodString;
|
|
2503
|
+
requestedVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2504
|
+
resolvedVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2505
|
+
}, _$zod_v4_core0.$strip>;
|
|
2506
|
+
};
|
|
2507
|
+
uninstall: {
|
|
2508
|
+
request: _$zod.ZodObject<{
|
|
2509
|
+
clientId: _$zod.ZodString;
|
|
2510
|
+
version: _$zod.ZodString;
|
|
2511
|
+
}, _$zod_v4_core0.$strip>;
|
|
2512
|
+
response: _$zod.ZodObject<{
|
|
2513
|
+
clientId: _$zod.ZodString;
|
|
2514
|
+
removedVersion: _$zod.ZodString;
|
|
2515
|
+
activeVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2516
|
+
}, _$zod_v4_core0.$strip>;
|
|
2517
|
+
};
|
|
2518
|
+
update: {
|
|
2519
|
+
request: _$zod.ZodObject<{
|
|
2520
|
+
clientId: _$zod.ZodString;
|
|
2521
|
+
}, _$zod_v4_core0.$strip>;
|
|
2522
|
+
response: _$zod.ZodObject<{
|
|
2523
|
+
jobId: _$zod.ZodString;
|
|
2524
|
+
resolvedVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2525
|
+
}, _$zod_v4_core0.$strip>;
|
|
2526
|
+
};
|
|
2527
|
+
setActive: {
|
|
2528
|
+
request: _$zod.ZodObject<{
|
|
2529
|
+
clientId: _$zod.ZodString;
|
|
2530
|
+
version: _$zod.ZodString;
|
|
2531
|
+
}, _$zod_v4_core0.$strip>;
|
|
2532
|
+
response: _$zod.ZodObject<{
|
|
2533
|
+
clientId: _$zod.ZodString;
|
|
2534
|
+
activeVersion: _$zod.ZodString;
|
|
2535
|
+
}, _$zod_v4_core0.$strip>;
|
|
2536
|
+
};
|
|
2537
|
+
'installJob.progress': _$zod.ZodObject<{
|
|
2538
|
+
jobId: _$zod.ZodString;
|
|
2539
|
+
clientId: _$zod.ZodString;
|
|
2540
|
+
version: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2541
|
+
strategy: _$zod.ZodEnum<{
|
|
2542
|
+
"manifest-bucket": "manifest-bucket";
|
|
2543
|
+
npm: "npm";
|
|
2544
|
+
"github-release": "github-release";
|
|
2545
|
+
}>;
|
|
2546
|
+
stage: _$zod.ZodEnum<{
|
|
2547
|
+
downloading: "downloading";
|
|
2548
|
+
resolving: "resolving";
|
|
2549
|
+
verifying: "verifying";
|
|
2550
|
+
extracting: "extracting";
|
|
2551
|
+
installing: "installing";
|
|
2552
|
+
"post-install": "post-install";
|
|
2553
|
+
activating: "activating";
|
|
2554
|
+
}>;
|
|
2555
|
+
progress: _$zod.ZodNullable<_$zod.ZodNumber>;
|
|
2556
|
+
installPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2557
|
+
activeAfterCompletion: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2558
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2559
|
+
}, _$zod_v4_core0.$strip>;
|
|
2560
|
+
'installJob.completed': _$zod.ZodObject<{
|
|
2561
|
+
jobId: _$zod.ZodString;
|
|
2562
|
+
clientId: _$zod.ZodString;
|
|
2563
|
+
version: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2564
|
+
strategy: _$zod.ZodEnum<{
|
|
2565
|
+
"manifest-bucket": "manifest-bucket";
|
|
2566
|
+
npm: "npm";
|
|
2567
|
+
"github-release": "github-release";
|
|
2568
|
+
}>;
|
|
2569
|
+
status: _$zod.ZodEnum<{
|
|
2570
|
+
success: "success";
|
|
2571
|
+
error: "error";
|
|
2572
|
+
}>;
|
|
2573
|
+
installPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2574
|
+
activeVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2575
|
+
error: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
2576
|
+
message: _$zod.ZodString;
|
|
2577
|
+
code: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2578
|
+
}, _$zod_v4_core0.$strip>>;
|
|
2579
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2580
|
+
}, _$zod_v4_core0.$strip>;
|
|
2581
|
+
'version.changed': _$zod.ZodObject<{
|
|
2582
|
+
clientId: _$zod.ZodString;
|
|
2583
|
+
previousActiveVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2584
|
+
activeVersion: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2585
|
+
reason: _$zod.ZodEnum<{
|
|
2586
|
+
update: "update";
|
|
2587
|
+
install: "install";
|
|
2588
|
+
uninstall: "uninstall";
|
|
2589
|
+
"set-active": "set-active";
|
|
2590
|
+
}>;
|
|
2591
|
+
}, _$zod_v4_core0.$strip>;
|
|
2592
|
+
resolveBinary: {
|
|
2593
|
+
request: _$zod.ZodObject<{
|
|
2594
|
+
clientId: _$zod.ZodString;
|
|
2595
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2596
|
+
projectDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2597
|
+
preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2598
|
+
global: "global";
|
|
2599
|
+
managed: "managed";
|
|
2600
|
+
}>>;
|
|
2601
|
+
harnessId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2602
|
+
}, _$zod_v4_core0.$strip>;
|
|
2603
|
+
response: _$zod.ZodObject<{
|
|
2604
|
+
binaryPath: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2605
|
+
env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
|
|
2606
|
+
configDir: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2607
|
+
source: _$zod.ZodEnum<{
|
|
2608
|
+
global: "global";
|
|
2609
|
+
managed: "managed";
|
|
2610
|
+
}>;
|
|
2611
|
+
version: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2612
|
+
}, _$zod_v4_core0.$strip>;
|
|
2613
|
+
};
|
|
2614
|
+
}>, "client">;
|
|
2615
|
+
//#endregion
|
|
2616
|
+
//#region packages/contracts/src/client/create-definition.d.ts
|
|
2617
|
+
/**
|
|
2618
|
+
* Create an immutable client definition from a static object literal.
|
|
2619
|
+
* @param definition - Client definition to return
|
|
2620
|
+
* @returns Validated, normalized, frozen client definition
|
|
2621
|
+
*/
|
|
2622
|
+
declare function createClientDefinition(definition: ClientDefinitionInput): ClientDefinition;
|
|
2623
|
+
//#endregion
|
|
2624
|
+
//#region packages/contracts/src/client/profile.d.ts
|
|
2625
|
+
/**
|
|
2626
|
+
* Filesystem-safe profile name.
|
|
2627
|
+
*
|
|
2628
|
+
* Profile names are used as directory names under the client profile root, so
|
|
2629
|
+
* they must be a single path component. The character set intentionally stays
|
|
2630
|
+
* conservative until a concrete UX need requires broader display names.
|
|
2631
|
+
*/
|
|
2632
|
+
declare const ClientProfileNameSchema: z.ZodString;
|
|
2633
|
+
/**
|
|
2634
|
+
* Filesystem-safe session config directory name.
|
|
2635
|
+
*
|
|
2636
|
+
* Session IDs flow into ephemeral config directory paths. They are restricted
|
|
2637
|
+
* to the same single-component form as profile names to prevent path escape.
|
|
2638
|
+
*/
|
|
2639
|
+
declare const SessionConfigIdSchema: z.ZodString;
|
|
2640
|
+
/**
|
|
2641
|
+
* A named, persistent configuration profile for a client.
|
|
2642
|
+
*
|
|
2643
|
+
* Profiles allow multiple configuration environments (e.g., work vs. personal)
|
|
2644
|
+
* to coexist under the same `clientId`. One profile per client is marked as
|
|
2645
|
+
* the default and is selected when no explicit profile name is provided. When
|
|
2646
|
+
* no default exists, session setup falls back to the client's immutable native
|
|
2647
|
+
* config source and copies/materializes it into the session directory.
|
|
2648
|
+
*/
|
|
2649
|
+
declare const ClientProfileSchema: z.ZodObject<{
|
|
2650
|
+
id: z.ZodString;
|
|
2651
|
+
clientId: z.ZodString;
|
|
2652
|
+
name: z.ZodString;
|
|
2653
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2654
|
+
configDir: z.ZodString;
|
|
2655
|
+
isDefault: z.ZodBoolean;
|
|
2656
|
+
createdAt: z.ZodNumber;
|
|
2657
|
+
updatedAt: z.ZodNumber;
|
|
2658
|
+
}, z.core.$strip>;
|
|
2659
|
+
type ClientProfile = z.infer<typeof ClientProfileSchema>;
|
|
2660
|
+
/**
|
|
2661
|
+
* Environment variables map for a session's isolated config environment.
|
|
2662
|
+
*/
|
|
2663
|
+
declare const SessionConfigEnvSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2664
|
+
/**
|
|
2665
|
+
* Policy for materializing a session config directory from a base client config.
|
|
2666
|
+
*/
|
|
2667
|
+
declare const SessionConfigInheritanceSchema: z.ZodEnum<{
|
|
2668
|
+
full: "full";
|
|
2669
|
+
"auth-only": "auth-only";
|
|
2670
|
+
empty: "empty";
|
|
2671
|
+
}>;
|
|
2672
|
+
type SessionConfigInheritance = z.infer<typeof SessionConfigInheritanceSchema>;
|
|
2673
|
+
/**
|
|
2674
|
+
* Request and response schemas for `client.profile.*` operations.
|
|
2675
|
+
*
|
|
2676
|
+
* Provides typed bus subjects for creating, listing, retrieving, updating,
|
|
2677
|
+
* deleting, and setting the default profile for a given client.
|
|
2678
|
+
*/
|
|
2679
|
+
declare const ClientProfileSchemas: {
|
|
2680
|
+
/**
|
|
2681
|
+
* Create a new profile for a client.
|
|
2682
|
+
*/
|
|
2683
|
+
'profile.create': {
|
|
2684
|
+
request: z.ZodObject<{
|
|
2685
|
+
clientId: z.ZodString;
|
|
2686
|
+
name: z.ZodString;
|
|
2687
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2688
|
+
}, z.core.$strip>;
|
|
2689
|
+
response: z.ZodObject<{
|
|
2690
|
+
profile: z.ZodObject<{
|
|
2691
|
+
id: z.ZodString;
|
|
2692
|
+
clientId: z.ZodString;
|
|
2693
|
+
name: z.ZodString;
|
|
2694
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2695
|
+
configDir: z.ZodString;
|
|
2696
|
+
isDefault: z.ZodBoolean;
|
|
2697
|
+
createdAt: z.ZodNumber;
|
|
2698
|
+
updatedAt: z.ZodNumber;
|
|
2699
|
+
}, z.core.$strip>;
|
|
2700
|
+
}, z.core.$strip>;
|
|
2701
|
+
};
|
|
2702
|
+
/**
|
|
2703
|
+
* List all profiles for a client.
|
|
2704
|
+
*/
|
|
2705
|
+
'profile.list': {
|
|
2706
|
+
request: z.ZodObject<{
|
|
2707
|
+
clientId: z.ZodString;
|
|
2708
|
+
}, z.core.$strip>;
|
|
2709
|
+
response: z.ZodObject<{
|
|
2710
|
+
profiles: z.ZodArray<z.ZodObject<{
|
|
2711
|
+
id: z.ZodString;
|
|
2712
|
+
clientId: z.ZodString;
|
|
2713
|
+
name: z.ZodString;
|
|
2714
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2715
|
+
configDir: z.ZodString;
|
|
2716
|
+
isDefault: z.ZodBoolean;
|
|
2717
|
+
createdAt: z.ZodNumber;
|
|
2718
|
+
updatedAt: z.ZodNumber;
|
|
2719
|
+
}, z.core.$strip>>;
|
|
2720
|
+
}, z.core.$strip>;
|
|
2721
|
+
};
|
|
2722
|
+
/**
|
|
2723
|
+
* Get a profile by client ID and name.
|
|
2724
|
+
*
|
|
2725
|
+
* Returns `null` in the response when no matching profile exists rather
|
|
2726
|
+
* than throwing, so callers can handle the absent-profile case inline.
|
|
2727
|
+
*/
|
|
2728
|
+
'profile.get': {
|
|
2729
|
+
request: z.ZodObject<{
|
|
2730
|
+
clientId: z.ZodString;
|
|
2731
|
+
name: z.ZodString;
|
|
2732
|
+
}, z.core.$strip>;
|
|
2733
|
+
response: z.ZodObject<{
|
|
2734
|
+
profile: z.ZodNullable<z.ZodObject<{
|
|
2735
|
+
id: z.ZodString;
|
|
2736
|
+
clientId: z.ZodString;
|
|
2737
|
+
name: z.ZodString;
|
|
2738
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2739
|
+
configDir: z.ZodString;
|
|
2740
|
+
isDefault: z.ZodBoolean;
|
|
2741
|
+
createdAt: z.ZodNumber;
|
|
2742
|
+
updatedAt: z.ZodNumber;
|
|
2743
|
+
}, z.core.$strip>>;
|
|
2744
|
+
}, z.core.$strip>;
|
|
2745
|
+
};
|
|
2746
|
+
/**
|
|
2747
|
+
* Update an existing profile's mutable fields.
|
|
2748
|
+
*/
|
|
2749
|
+
'profile.update': {
|
|
2750
|
+
request: z.ZodObject<{
|
|
2751
|
+
clientId: z.ZodString;
|
|
2752
|
+
name: z.ZodString;
|
|
2753
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2754
|
+
}, z.core.$strip>;
|
|
2755
|
+
response: z.ZodObject<{
|
|
2756
|
+
profile: z.ZodObject<{
|
|
2757
|
+
id: z.ZodString;
|
|
2758
|
+
clientId: z.ZodString;
|
|
2759
|
+
name: z.ZodString;
|
|
2760
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2761
|
+
configDir: z.ZodString;
|
|
2762
|
+
isDefault: z.ZodBoolean;
|
|
2763
|
+
createdAt: z.ZodNumber;
|
|
2764
|
+
updatedAt: z.ZodNumber;
|
|
2765
|
+
}, z.core.$strip>;
|
|
2766
|
+
}, z.core.$strip>;
|
|
2767
|
+
};
|
|
2768
|
+
/**
|
|
2769
|
+
* Delete a profile by client ID and name.
|
|
2770
|
+
*/
|
|
2771
|
+
'profile.delete': {
|
|
2772
|
+
request: z.ZodObject<{
|
|
2773
|
+
clientId: z.ZodString;
|
|
2774
|
+
name: z.ZodString;
|
|
2775
|
+
}, z.core.$strip>;
|
|
2776
|
+
response: z.ZodObject<{
|
|
2777
|
+
success: z.ZodBoolean;
|
|
2778
|
+
}, z.core.$strip>;
|
|
2779
|
+
};
|
|
2780
|
+
/**
|
|
2781
|
+
* Mark a profile as the default for its client.
|
|
2782
|
+
*/
|
|
2783
|
+
'profile.setDefault': {
|
|
2784
|
+
request: z.ZodObject<{
|
|
2785
|
+
clientId: z.ZodString;
|
|
2786
|
+
name: z.ZodString;
|
|
2787
|
+
}, z.core.$strip>;
|
|
2788
|
+
response: z.ZodObject<{
|
|
2789
|
+
profile: z.ZodObject<{
|
|
2790
|
+
id: z.ZodString;
|
|
2791
|
+
clientId: z.ZodString;
|
|
2792
|
+
name: z.ZodString;
|
|
2793
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2794
|
+
configDir: z.ZodString;
|
|
2795
|
+
isDefault: z.ZodBoolean;
|
|
2796
|
+
createdAt: z.ZodNumber;
|
|
2797
|
+
updatedAt: z.ZodNumber;
|
|
2798
|
+
}, z.core.$strip>;
|
|
2799
|
+
}, z.core.$strip>;
|
|
2800
|
+
};
|
|
2801
|
+
};
|
|
2802
|
+
/**
|
|
2803
|
+
* Request and response schemas for `client.sessionConfig.*` operations.
|
|
2804
|
+
*
|
|
2805
|
+
* Manages per-session configuration isolation: creating a temporary working
|
|
2806
|
+
* directory seeded from a named profile, tearing it down after a session ends,
|
|
2807
|
+
* and bulk-cleaning stale session directories.
|
|
2808
|
+
*/
|
|
2809
|
+
declare const ClientSessionConfigSchemas: {
|
|
2810
|
+
/**
|
|
2811
|
+
* Create an isolated configuration directory for a session.
|
|
2812
|
+
*
|
|
2813
|
+
* The service seeds the directory from the named profile (or the client
|
|
2814
|
+
* default when `profileName` is omitted) and returns the path together
|
|
2815
|
+
* with any environment variables the client process should inherit.
|
|
2816
|
+
*/
|
|
2817
|
+
'sessionConfig.create': {
|
|
2818
|
+
request: z.ZodObject<{
|
|
2819
|
+
clientId: z.ZodString;
|
|
2820
|
+
sessionId: z.ZodString;
|
|
2821
|
+
profileName: z.ZodOptional<z.ZodString>;
|
|
2822
|
+
baseConfigDir: z.ZodOptional<z.ZodString>;
|
|
2823
|
+
projectDir: z.ZodOptional<z.ZodString>;
|
|
2824
|
+
configInheritance: z.ZodOptional<z.ZodEnum<{
|
|
2825
|
+
full: "full";
|
|
2826
|
+
"auth-only": "auth-only";
|
|
2827
|
+
empty: "empty";
|
|
2828
|
+
}>>;
|
|
2829
|
+
}, z.core.$strip>;
|
|
2830
|
+
response: z.ZodObject<{
|
|
2831
|
+
sessionDir: z.ZodString;
|
|
2832
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2833
|
+
}, z.core.$strip>;
|
|
2834
|
+
};
|
|
2835
|
+
/**
|
|
2836
|
+
* Destroy the isolated configuration directory for a session.
|
|
2837
|
+
*/
|
|
2838
|
+
'sessionConfig.destroy': {
|
|
2839
|
+
request: z.ZodObject<{
|
|
2840
|
+
clientId: z.ZodString;
|
|
2841
|
+
sessionId: z.ZodString;
|
|
2842
|
+
}, z.core.$strip>;
|
|
2843
|
+
response: z.ZodObject<{
|
|
2844
|
+
success: z.ZodBoolean;
|
|
2845
|
+
}, z.core.$strip>;
|
|
2846
|
+
};
|
|
2847
|
+
/**
|
|
2848
|
+
* Clean up stale session config directories.
|
|
2849
|
+
*
|
|
2850
|
+
* When `clientId` is supplied only that client's orphaned directories are
|
|
2851
|
+
* removed; omit it to clean across all clients.
|
|
2852
|
+
*/
|
|
2853
|
+
'sessionConfig.cleanup': {
|
|
2854
|
+
request: z.ZodObject<{
|
|
2855
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
2856
|
+
}, z.core.$strip>;
|
|
2857
|
+
response: z.ZodObject<{
|
|
2858
|
+
removed: z.ZodArray<z.ZodString>;
|
|
2859
|
+
}, z.core.$strip>;
|
|
2860
|
+
};
|
|
2861
|
+
};
|
|
2862
|
+
/**
|
|
2863
|
+
* Schema for the setup-delegation request passed to client-owned session
|
|
2864
|
+
* config setup handlers.
|
|
2865
|
+
*
|
|
2866
|
+
* Each client's setup handler receives this payload and is responsible for
|
|
2867
|
+
* populating `sessionDir` with the correct config files for the given
|
|
2868
|
+
* `baseConfigDir` on the target platform.
|
|
2869
|
+
*/
|
|
2870
|
+
declare const SessionConfigSetupRequestSchema: z.ZodObject<{
|
|
2871
|
+
sessionDir: z.ZodString;
|
|
2872
|
+
baseConfigDir: z.ZodString;
|
|
2873
|
+
projectDir: z.ZodOptional<z.ZodString>;
|
|
2874
|
+
platform: z.ZodEnum<{
|
|
2875
|
+
darwin: "darwin";
|
|
2876
|
+
linux: "linux";
|
|
2877
|
+
win32: "win32";
|
|
2878
|
+
}>;
|
|
2879
|
+
configInheritance: z.ZodEnum<{
|
|
2880
|
+
full: "full";
|
|
2881
|
+
"auth-only": "auth-only";
|
|
2882
|
+
empty: "empty";
|
|
2883
|
+
}>;
|
|
2884
|
+
}, z.core.$strip>;
|
|
2885
|
+
type SessionConfigSetupRequest = z.infer<typeof SessionConfigSetupRequestSchema>;
|
|
2886
|
+
/**
|
|
2887
|
+
* Schema for the teardown-delegation request passed to client-owned session
|
|
2888
|
+
* config destroy handlers.
|
|
2889
|
+
*
|
|
2890
|
+
* Each client's destroy handler receives the concrete session directory before
|
|
2891
|
+
* `clients-core` removes it and is responsible for cleaning any native
|
|
2892
|
+
* credential material associated with that directory.
|
|
2893
|
+
*/
|
|
2894
|
+
declare const SessionConfigTeardownRequestSchema: z.ZodObject<{
|
|
2895
|
+
sessionDir: z.ZodString;
|
|
2896
|
+
platform: z.ZodEnum<{
|
|
2897
|
+
darwin: "darwin";
|
|
2898
|
+
linux: "linux";
|
|
2899
|
+
win32: "win32";
|
|
2900
|
+
}>;
|
|
2901
|
+
}, z.core.$strip>;
|
|
2902
|
+
type SessionConfigTeardownRequest = z.infer<typeof SessionConfigTeardownRequestSchema>;
|
|
2903
|
+
/** Response schema for the teardown-delegation request. */
|
|
2904
|
+
declare const SessionConfigTeardownResponseSchema: z.ZodObject<{
|
|
2905
|
+
success: z.ZodBoolean;
|
|
2906
|
+
}, z.core.$strip>;
|
|
2907
|
+
type SessionConfigTeardownResponse = z.infer<typeof SessionConfigTeardownResponseSchema>;
|
|
2908
|
+
/**
|
|
2909
|
+
* Response schema for the setup-delegation request.
|
|
2910
|
+
*
|
|
2911
|
+
* The setup handler may return environment variables that the client process
|
|
2912
|
+
* should inherit for the isolated session directory. When absent, no extra
|
|
2913
|
+
* environment variables are added beyond those already in the spawn environment.
|
|
2914
|
+
*/
|
|
2915
|
+
declare const SessionConfigSetupResponseSchema: z.ZodObject<{
|
|
2916
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2917
|
+
}, z.core.$strip>;
|
|
2918
|
+
type SessionConfigSetupResponse = z.infer<typeof SessionConfigSetupResponseSchema>;
|
|
2919
|
+
type ProfileCreateRequest = z.infer<(typeof ClientProfileSchemas)['profile.create']['request']>;
|
|
2920
|
+
type ProfileCreateResponse = z.infer<(typeof ClientProfileSchemas)['profile.create']['response']>;
|
|
2921
|
+
type ProfileListRequest = z.infer<(typeof ClientProfileSchemas)['profile.list']['request']>;
|
|
2922
|
+
type ProfileListResponse = z.infer<(typeof ClientProfileSchemas)['profile.list']['response']>;
|
|
2923
|
+
type ProfileGetRequest = z.infer<(typeof ClientProfileSchemas)['profile.get']['request']>;
|
|
2924
|
+
type ProfileGetResponse = z.infer<(typeof ClientProfileSchemas)['profile.get']['response']>;
|
|
2925
|
+
type ProfileUpdateRequest = z.infer<(typeof ClientProfileSchemas)['profile.update']['request']>;
|
|
2926
|
+
type ProfileUpdateResponse = z.infer<(typeof ClientProfileSchemas)['profile.update']['response']>;
|
|
2927
|
+
type ProfileDeleteRequest = z.infer<(typeof ClientProfileSchemas)['profile.delete']['request']>;
|
|
2928
|
+
type ProfileDeleteResponse = z.infer<(typeof ClientProfileSchemas)['profile.delete']['response']>;
|
|
2929
|
+
type ProfileSetDefaultRequest = z.infer<(typeof ClientProfileSchemas)['profile.setDefault']['request']>;
|
|
2930
|
+
type ProfileSetDefaultResponse = z.infer<(typeof ClientProfileSchemas)['profile.setDefault']['response']>;
|
|
2931
|
+
type SessionConfigCreateRequest = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.create']['request']>;
|
|
2932
|
+
type SessionConfigCreateResponse = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.create']['response']>;
|
|
2933
|
+
type SessionConfigDestroyRequest = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.destroy']['request']>;
|
|
2934
|
+
type SessionConfigDestroyResponse = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.destroy']['response']>;
|
|
2935
|
+
type SessionConfigCleanupRequest = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['request']>;
|
|
2936
|
+
type SessionConfigCleanupResponse = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['response']>;
|
|
2937
|
+
//#endregion
|
|
2938
|
+
export { ClientWiringEntry as $, ClientIdentityObservationSchema as $t, SessionConfigSetupResponse as A, ClientUpdateRequest as At, ClientSessionObservedBaseSchema as B, InstalledVersionEntrySchema as Bt, SessionConfigDestroyResponse as C, ClientResolveBinaryResponse as Cn, ClientListSchema as Ct, SessionConfigInheritanceSchema as D, ClientUninstallRequest as Dt, SessionConfigInheritance as E, ClientSetActiveSchema as Et, SessionConfigTeardownResponseSchema as F, InstallError as Ft, ClientSessionToolPre as G, ClientAccountIdentifier as Gt, ClientSessionStartedSchema as H, LatestVersionSourceStatusSchema as Ht, createClientDefinition as I, InstallErrorSchema as It, ClientSessionTurnCompletedSchema as J, ClientAccountObserveResponse as Jt, ClientSessionToolPreSchema as K, ClientAccountIdentifierSchema as Kt, ClientNamespace as L, InstallStage as Lt, SessionConfigTeardownRequest as M, ClientUpdateSchema as Mt, SessionConfigTeardownRequestSchema as N, ClientVersionChanged as Nt, SessionConfigSetupRequest as O, ClientUninstallResponse as Ot, SessionConfigTeardownResponse as P, ClientVersionChangedSchema as Pt, ClientSessionUserPromptSubmittedSchema as Q, ClientIdentityObservation as Qt, ClientSubjects as R, InstallStageSchema as Rt, SessionConfigDestroyRequest as S, ClientResolveBinaryRequest as Sn, ClientListResponse as St, SessionConfigIdSchema as T, ClientSetActiveResponse as Tt, ClientSessionToolPost as U, ManagedInstallStrategy as Ut, ClientSessionStarted as V, LatestVersionSourceStatus as Vt, ClientSessionToolPostSchema as W, ManagedInstallStrategySchema as Wt, ClientSessionTurnStartedSchema as X, ClientIdentifierStrength as Xt, ClientSessionTurnStarted as Y, ClientAccountObserveSchema as Yt, ClientSessionUserPromptSubmitted as Z, ClientIdentifierStrengthSchema as Zt, ProfileUpdateResponse as _, ClientUsageWindows as _n, ClientInstallProgressSchema as _t, ClientSessionConfigSchemas as a, ClientSessionAccountObserveRequest as an, ClientRuntimeObserveSchema as at, SessionConfigCreateRequest as b, ClientExecutionContext as bn, ClientInstallSchema as bt, ProfileDeleteRequest as c, ClientSessionLocator as cn, ClientRuntimeSourceLayerSchema as ct, ProfileGetResponse as d, ClientUsageIngestResponse as dn, ClientRuntimeStartedSchema as dt, ClientMetadataSchema as en, ClientWiringEntrySchema as et, ProfileListRequest as f, ClientUsageIngestSchema as fn, ClientBinaryListEntry as ft, ProfileUpdateRequest as g, ClientUsageWindowSchema as gn, ClientInstallProgress as gt, ProfileSetDefaultResponse as h, ClientUsageWindow as hn, ClientInstallCompletedSchema as ht, ClientProfileSchemas as i, ClientScanTargetSchema as in, ClientRuntimeObserveResponse as it, SessionConfigSetupResponseSchema as j, ClientUpdateResponse as jt, SessionConfigSetupRequestSchema as k, ClientUninstallSchema as kt, ProfileDeleteResponse as l, ClientSessionLocatorSchema as ln, ClientRuntimeSourceSchema as lt, ProfileSetDefaultRequest as m, ClientUsageSnapshotSchema as mn, ClientInstallCompleted as mt, ClientProfileNameSchema as n, ClientScanResultSchema as nn, ClientRuntimeEvidenceBaseSchema as nt, ProfileCreateRequest as o, ClientSessionAccountObserveResponse as on, ClientRuntimeSource as ot, ProfileListResponse as p, ClientUsageSnapshot as pn, ClientBinaryListEntrySchema as pt, ClientSessionTurnCompleted as q, ClientAccountObserveRequest as qt, ClientProfileSchema as r, ClientScanTarget as rn, ClientRuntimeObserveRequest as rt, ProfileCreateResponse as s, ClientSessionAccountObserveSchema as sn, ClientRuntimeSourceLayer as st, ClientProfile as t, ClientScanResult as tn, ClientRuntimeEvidenceBase as tt, ProfileGetRequest as u, ClientUsageIngestRequest as un, ClientRuntimeStarted as ut, SessionConfigCleanupRequest as v, ClientUsageWindowsSchema as vn, ClientInstallRequest as vt, SessionConfigEnvSchema as w, ClientResolveBinarySchema as wn, ClientSetActiveRequest as wt, SessionConfigCreateResponse as x, ClientExecutionContextSchema as xn, ClientListRequest as xt, SessionConfigCleanupResponse as y, ClientSchemas as yn, ClientInstallResponse as yt, ClientSessionObservedBase as z, InstalledVersionEntry as zt };
|