@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,3 @@
|
|
|
1
|
+
import { C as ManifestBucketInstallDescriptorSchema, D as PostInstallDescriptorSchema, E as PostInstallDescriptor, S as ManifestBucketInstallDescriptor, T as NpmInstallDescriptorSchema, _ as GithubReleaseInstallDescriptorSchema, a as ClientDefinitionSchema, b as ManagedInstallDescriptor, c as ClientRuntimeCapabilities, d as ClientToolCapabilityAnnotationSchema, f as ClientToolDefinition, g as GithubReleaseInstallDescriptor, h as ConfigIsolationSchema, i as ClientDefinitionInput, l as ClientRuntimeCapabilitiesSchema, m as ConfigIsolation, n as ClientBinaryCompatibilitySchema, o as ClientHookEventDeclaration, p as ClientToolDefinitionSchema, r as ClientDefinition, s as ClientHookEventDeclarationSchema, t as ClientBinaryCompatibility, u as ClientToolCapabilityAnnotation, v as LogSourceDefinition, w as NpmInstallDescriptor, x as ManagedInstallDescriptorSchema, y as LogSourceDefinitionSchema } from "../../definition-DxvZ9e22.mjs";
|
|
2
|
+
import { $ as ClientWiringEntry, $t as ClientIdentityObservationSchema, A as SessionConfigSetupResponse, At as ClientUpdateRequest, B as ClientSessionObservedBaseSchema, Bt as InstalledVersionEntrySchema, C as SessionConfigDestroyResponse, Cn as ClientResolveBinaryResponse, Ct as ClientListSchema, D as SessionConfigInheritanceSchema, Dt as ClientUninstallRequest, E as SessionConfigInheritance, Et as ClientSetActiveSchema, F as SessionConfigTeardownResponseSchema, Ft as InstallError, G as ClientSessionToolPre, Gt as ClientAccountIdentifier, H as ClientSessionStartedSchema, Ht as LatestVersionSourceStatusSchema, I as createClientDefinition, It as InstallErrorSchema, J as ClientSessionTurnCompletedSchema, Jt as ClientAccountObserveResponse, K as ClientSessionToolPreSchema, Kt as ClientAccountIdentifierSchema, L as ClientNamespace, Lt as InstallStage, M as SessionConfigTeardownRequest, Mt as ClientUpdateSchema, N as SessionConfigTeardownRequestSchema, Nt as ClientVersionChanged, O as SessionConfigSetupRequest, Ot as ClientUninstallResponse, P as SessionConfigTeardownResponse, Pt as ClientVersionChangedSchema, Q as ClientSessionUserPromptSubmittedSchema, Qt as ClientIdentityObservation, R as ClientSubjects, Rt as InstallStageSchema, S as SessionConfigDestroyRequest, Sn as ClientResolveBinaryRequest, St as ClientListResponse, T as SessionConfigIdSchema, Tt as ClientSetActiveResponse, U as ClientSessionToolPost, Ut as ManagedInstallStrategy, V as ClientSessionStarted, Vt as LatestVersionSourceStatus, W as ClientSessionToolPostSchema, Wt as ManagedInstallStrategySchema, X as ClientSessionTurnStartedSchema, Xt as ClientIdentifierStrength, Y as ClientSessionTurnStarted, Yt as ClientAccountObserveSchema, Z as ClientSessionUserPromptSubmitted, Zt as ClientIdentifierStrengthSchema, _ as ProfileUpdateResponse, _n as ClientUsageWindows, _t as ClientInstallProgressSchema, a as ClientSessionConfigSchemas, an as ClientSessionAccountObserveRequest, at as ClientRuntimeObserveSchema, b as SessionConfigCreateRequest, bn as ClientExecutionContext, bt as ClientInstallSchema, c as ProfileDeleteRequest, cn as ClientSessionLocator, ct as ClientRuntimeSourceLayerSchema, d as ProfileGetResponse, dn as ClientUsageIngestResponse, dt as ClientRuntimeStartedSchema, en as ClientMetadataSchema, et as ClientWiringEntrySchema, f as ProfileListRequest, fn as ClientUsageIngestSchema, ft as ClientBinaryListEntry, g as ProfileUpdateRequest, gn as ClientUsageWindowSchema, gt as ClientInstallProgress, h as ProfileSetDefaultResponse, hn as ClientUsageWindow, ht as ClientInstallCompletedSchema, i as ClientProfileSchemas, in as ClientScanTargetSchema, it as ClientRuntimeObserveResponse, j as SessionConfigSetupResponseSchema, jt as ClientUpdateResponse, k as SessionConfigSetupRequestSchema, kt as ClientUninstallSchema, l as ProfileDeleteResponse, ln as ClientSessionLocatorSchema, lt as ClientRuntimeSourceSchema, m as ProfileSetDefaultRequest, mn as ClientUsageSnapshotSchema, mt as ClientInstallCompleted, n as ClientProfileNameSchema, nn as ClientScanResultSchema, nt as ClientRuntimeEvidenceBaseSchema, o as ProfileCreateRequest, on as ClientSessionAccountObserveResponse, ot as ClientRuntimeSource, p as ProfileListResponse, pn as ClientUsageSnapshot, pt as ClientBinaryListEntrySchema, q as ClientSessionTurnCompleted, qt as ClientAccountObserveRequest, r as ClientProfileSchema, rn as ClientScanTarget, rt as ClientRuntimeObserveRequest, s as ProfileCreateResponse, sn as ClientSessionAccountObserveSchema, st as ClientRuntimeSourceLayer, t as ClientProfile, tn as ClientScanResult, tt as ClientRuntimeEvidenceBase, u as ProfileGetRequest, un as ClientUsageIngestRequest, ut as ClientRuntimeStarted, v as SessionConfigCleanupRequest, vn as ClientUsageWindowsSchema, vt as ClientInstallRequest, w as SessionConfigEnvSchema, wn as ClientResolveBinarySchema, wt as ClientSetActiveRequest, x as SessionConfigCreateResponse, xn as ClientExecutionContextSchema, xt as ClientListRequest, y as SessionConfigCleanupResponse, yn as ClientSchemas, yt as ClientInstallResponse, z as ClientSessionObservedBase, zt as InstalledVersionEntry } from "../../index-C9F3Fc1A.mjs";
|
|
3
|
+
export { ClientAccountIdentifier, ClientAccountIdentifierSchema, ClientAccountObserveRequest, ClientAccountObserveResponse, ClientAccountObserveSchema, ClientBinaryCompatibility, ClientBinaryCompatibilitySchema, ClientBinaryListEntry, ClientBinaryListEntrySchema, ClientDefinition, ClientDefinitionInput, ClientDefinitionSchema, ClientExecutionContext, ClientExecutionContextSchema, ClientHookEventDeclaration, ClientHookEventDeclarationSchema, ClientIdentifierStrength, ClientIdentifierStrengthSchema, ClientIdentityObservation, ClientIdentityObservationSchema, ClientInstallCompleted, ClientInstallCompletedSchema, ClientInstallProgress, ClientInstallProgressSchema, ClientInstallRequest, ClientInstallResponse, ClientInstallSchema, ClientListRequest, ClientListResponse, ClientListSchema, ClientMetadataSchema, ClientNamespace, ClientProfile, ClientProfileNameSchema, ClientProfileSchema, ClientProfileSchemas, ClientResolveBinaryRequest, ClientResolveBinaryResponse, ClientResolveBinarySchema, ClientRuntimeCapabilities, ClientRuntimeCapabilitiesSchema, ClientRuntimeEvidenceBase, ClientRuntimeEvidenceBaseSchema, ClientRuntimeObserveRequest, ClientRuntimeObserveResponse, ClientRuntimeObserveSchema, ClientRuntimeSource, ClientRuntimeSourceLayer, ClientRuntimeSourceLayerSchema, ClientRuntimeSourceSchema, ClientRuntimeStarted, ClientRuntimeStartedSchema, ClientScanResult, ClientScanResultSchema, ClientScanTarget, ClientScanTargetSchema, ClientSchemas, ClientSessionAccountObserveRequest, ClientSessionAccountObserveResponse, ClientSessionAccountObserveSchema, ClientSessionConfigSchemas, ClientSessionLocator, ClientSessionLocatorSchema, ClientSessionObservedBase, ClientSessionObservedBaseSchema, ClientSessionStarted, ClientSessionStartedSchema, ClientSessionToolPost, ClientSessionToolPostSchema, ClientSessionToolPre, ClientSessionToolPreSchema, ClientSessionTurnCompleted, ClientSessionTurnCompletedSchema, ClientSessionTurnStarted, ClientSessionTurnStartedSchema, ClientSessionUserPromptSubmitted, ClientSessionUserPromptSubmittedSchema, ClientSetActiveRequest, ClientSetActiveResponse, ClientSetActiveSchema, ClientSubjects, ClientToolCapabilityAnnotation, ClientToolCapabilityAnnotationSchema, ClientToolDefinition, ClientToolDefinitionSchema, ClientUninstallRequest, ClientUninstallResponse, ClientUninstallSchema, ClientUpdateRequest, ClientUpdateResponse, ClientUpdateSchema, ClientUsageIngestRequest, ClientUsageIngestResponse, ClientUsageIngestSchema, ClientUsageSnapshot, ClientUsageSnapshotSchema, ClientUsageWindow, ClientUsageWindowSchema, ClientUsageWindows, ClientUsageWindowsSchema, ClientVersionChanged, ClientVersionChangedSchema, ClientWiringEntry, ClientWiringEntrySchema, ConfigIsolation, ConfigIsolationSchema, GithubReleaseInstallDescriptor, GithubReleaseInstallDescriptorSchema, InstallError, InstallErrorSchema, InstallStage, InstallStageSchema, InstalledVersionEntry, InstalledVersionEntrySchema, LatestVersionSourceStatus, LatestVersionSourceStatusSchema, LogSourceDefinition, LogSourceDefinitionSchema, ManagedInstallDescriptor, ManagedInstallDescriptorSchema, ManagedInstallStrategy, ManagedInstallStrategySchema, ManifestBucketInstallDescriptor, ManifestBucketInstallDescriptorSchema, NpmInstallDescriptor, NpmInstallDescriptorSchema, PostInstallDescriptor, PostInstallDescriptorSchema, ProfileCreateRequest, ProfileCreateResponse, ProfileDeleteRequest, ProfileDeleteResponse, ProfileGetRequest, ProfileGetResponse, ProfileListRequest, ProfileListResponse, ProfileSetDefaultRequest, ProfileSetDefaultResponse, ProfileUpdateRequest, ProfileUpdateResponse, SessionConfigCleanupRequest, SessionConfigCleanupResponse, SessionConfigCreateRequest, SessionConfigCreateResponse, SessionConfigDestroyRequest, SessionConfigDestroyResponse, SessionConfigEnvSchema, SessionConfigIdSchema, SessionConfigInheritance, SessionConfigInheritanceSchema, SessionConfigSetupRequest, SessionConfigSetupRequestSchema, SessionConfigSetupResponse, SessionConfigSetupResponseSchema, SessionConfigTeardownRequest, SessionConfigTeardownRequestSchema, SessionConfigTeardownResponse, SessionConfigTeardownResponseSchema, createClientDefinition };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,c as t,d as n,i as r,l as i,n as a,o,r as s,s as c,t as l,u}from"../../profile-4StaDQW0.mjs";import{a as d,c as f,d as p,f as m,i as h,l as g,n as _,o as v,p as y,r as b,s as x,t as S,u as C}from"../../account-identity-Ce1Bwrqi.mjs";import{A as w,B as T,C as E,D,E as O,F as k,G as A,H as j,I as M,K as N,L as P,M as F,N as I,O as L,P as R,R as z,S as B,T as V,U as H,V as U,W,_ as G,a as K,b as q,c as J,d as Y,f as X,g as Z,h as Q,i as $,j as ee,k as te,l as ne,m as re,n as ie,o as ae,p as oe,r as se,s as ce,t as le,u as ue,v as de,w as fe,x as pe,y as me,z as he}from"../../client-Dh4x4GQN.mjs";export{S as ClientAccountIdentifierSchema,_ as ClientAccountObserveSchema,R as ClientBinaryCompatibilitySchema,de as ClientBinaryListEntrySchema,k as ClientDefinitionSchema,F as ClientExecutionContextSchema,M as ClientHookEventDeclarationSchema,b as ClientIdentifierStrengthSchema,h as ClientIdentityObservationSchema,me as ClientInstallCompletedSchema,q as ClientInstallProgressSchema,pe as ClientInstallSchema,B as ClientListSchema,d as ClientMetadataSchema,ie as ClientNamespace,l as ClientProfileNameSchema,a as ClientProfileSchema,s as ClientProfileSchemas,I as ClientResolveBinarySchema,P as ClientRuntimeCapabilitiesSchema,oe as ClientRuntimeEvidenceBaseSchema,re as ClientRuntimeObserveSchema,Q as ClientRuntimeSourceLayerSchema,Z as ClientRuntimeSourceSchema,G as ClientRuntimeStartedSchema,v as ClientScanResultSchema,x as ClientScanTargetSchema,$ as ClientSchemas,f as ClientSessionAccountObserveSchema,r as ClientSessionConfigSchemas,g as ClientSessionLocatorSchema,K as ClientSessionObservedBaseSchema,ae as ClientSessionStartedSchema,ce as ClientSessionToolPostSchema,J as ClientSessionToolPreSchema,ne as ClientSessionTurnCompletedSchema,ue as ClientSessionTurnStartedSchema,Y as ClientSessionUserPromptSubmittedSchema,E as ClientSetActiveSchema,se as ClientSubjects,z as ClientToolCapabilityAnnotationSchema,he as ClientToolDefinitionSchema,fe as ClientUninstallSchema,V as ClientUpdateSchema,C as ClientUsageIngestSchema,p as ClientUsageSnapshotSchema,m as ClientUsageWindowSchema,y as ClientUsageWindowsSchema,O as ClientVersionChangedSchema,X as ClientWiringEntrySchema,T as ConfigIsolationSchema,U as GithubReleaseInstallDescriptorSchema,D as InstallErrorSchema,L as InstallStageSchema,te as InstalledVersionEntrySchema,w as LatestVersionSourceStatusSchema,j as LogSourceDefinitionSchema,H as ManagedInstallDescriptorSchema,ee as ManagedInstallStrategySchema,W as ManifestBucketInstallDescriptorSchema,A as NpmInstallDescriptorSchema,N as PostInstallDescriptorSchema,e as SessionConfigEnvSchema,o as SessionConfigIdSchema,c as SessionConfigInheritanceSchema,t as SessionConfigSetupRequestSchema,i as SessionConfigSetupResponseSchema,u as SessionConfigTeardownRequestSchema,n as SessionConfigTeardownResponseSchema,le as createClientDefinition};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t){return!e||e===`all`?!0:e.includes(t)}export{e as isSurfaceVisible};
|
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
import { a as ConfigUpdateRequest, b as RelayConfig, i as ConfigSchemas, l as AIModelSchema, n as ConfigSubjects, o as ConfigUpdateResponse, r as ConfigGetResponse, t as ConfigNamespace, v as Config, y as ConfigSchema } from "../../config-namespace-DLSs83zr.mjs";
|
|
2
|
+
import { t as RequiredTimeoutConfig } from "../../schemas-CGZy_rU6.mjs";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
|
|
5
|
+
//#region packages/contracts/src/config/credential-ref.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Check whether a credential ref was issued by the account-manager.
|
|
8
|
+
*
|
|
9
|
+
* Account-manager refs bind a provider config to a specific managed account
|
|
10
|
+
* and are not resolvable to a raw credential. Callers that need to derive a
|
|
11
|
+
* source ref from the credential map should use this guard.
|
|
12
|
+
* @param ref - Raw credential ref string
|
|
13
|
+
* @returns `true` when the ref was issued by the account-manager
|
|
14
|
+
*/
|
|
15
|
+
declare function isAccountManagerRef(ref: string): boolean;
|
|
16
|
+
declare const CredentialRefSchema: z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">;
|
|
17
|
+
type CredentialRef = z.infer<typeof CredentialRefSchema>;
|
|
18
|
+
/**
|
|
19
|
+
* Build a stored credential reference keyed by provider config ID.
|
|
20
|
+
*
|
|
21
|
+
* The format is `stored:providerConfig:<configId>:<key>`. The last colon in the
|
|
22
|
+
* string acts as the configId/key separator, so `configId` may contain colons
|
|
23
|
+
* (e.g. `github:oauth-default`) but `key` must be a colon-free identifier.
|
|
24
|
+
* @param configId - Provider config ID; may contain colons (e.g. `github:oauth-default`)
|
|
25
|
+
* @param key - Credential key — must not contain colons (e.g. `apiKey`, `pat`)
|
|
26
|
+
* @returns Stored credential reference string
|
|
27
|
+
*/
|
|
28
|
+
declare function buildStoredCredentialRef(configId: string, key: string): CredentialRef;
|
|
29
|
+
/**
|
|
30
|
+
* Build an account-manager credential reference keyed by client/account IDs.
|
|
31
|
+
*
|
|
32
|
+
* The payload is a JSON tuple prefixed by `account-manager:` so both IDs stay
|
|
33
|
+
* opaque and may contain delimiters.
|
|
34
|
+
* @param clientId - Account-manager client identifier
|
|
35
|
+
* @param accountId - Stable account identifier
|
|
36
|
+
* @returns Account-manager credential reference string
|
|
37
|
+
*/
|
|
38
|
+
declare function buildAccountManagerCredentialRef(clientId: string, accountId: string): CredentialRef;
|
|
39
|
+
/**
|
|
40
|
+
* Parse a stored credential reference into its parts.
|
|
41
|
+
* @param ref - Credential reference string
|
|
42
|
+
* @returns Parsed parts, or `null` when the ref is not a stored credential ref
|
|
43
|
+
*/
|
|
44
|
+
declare function parseStoredCredentialRef(ref: CredentialRef): {
|
|
45
|
+
configId: string;
|
|
46
|
+
key: string;
|
|
47
|
+
} | null;
|
|
48
|
+
/**
|
|
49
|
+
* Brand a plain string record as a credential-ref record.
|
|
50
|
+
*
|
|
51
|
+
* Used by storage handlers to convert persisted JSON values into the branded API type.
|
|
52
|
+
* @param creds - Plain string record from storage
|
|
53
|
+
* @returns Branded credential-ref record, or `undefined` when input is nullish
|
|
54
|
+
*/
|
|
55
|
+
declare function brandCredentialRecord(creds: Record<string, string> | null | undefined): Record<string, CredentialRef> | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Strip the `CredentialRef` brand from a credential map for use in a
|
|
58
|
+
* `ProviderConfigInput` upsert.
|
|
59
|
+
*
|
|
60
|
+
* `CredentialRef` is a type-level brand only — at runtime the values are
|
|
61
|
+
* plain ref strings (e.g. `stored:providerConfig:xxx:apiKey`). The storage
|
|
62
|
+
* tier stores and re-brands them on read; this helper makes the type system
|
|
63
|
+
* aware of the cast without changing values.
|
|
64
|
+
* @param credentials - Branded credential map from a storage record, or `undefined`.
|
|
65
|
+
* @returns Plain string credential map, or `undefined` when absent.
|
|
66
|
+
*/
|
|
67
|
+
declare function unbrandCredentials(credentials: Record<string, CredentialRef> | undefined): Record<string, string> | undefined;
|
|
68
|
+
//#endregion
|
|
69
|
+
//#region packages/contracts/src/config/provider-defaults.d.ts
|
|
70
|
+
/**
|
|
71
|
+
* Provider defaults configuration without display/enabled fields.
|
|
72
|
+
*
|
|
73
|
+
* This lower-layer contract is shared by adapter config parsing and settings
|
|
74
|
+
* RPC schemas, so it must remain outside adapter-core to avoid package cycles.
|
|
75
|
+
*/
|
|
76
|
+
declare const ProviderDefaultsSchema: z.ZodObject<{
|
|
77
|
+
model: z.ZodOptional<z.ZodString>;
|
|
78
|
+
timeouts: z.ZodOptional<z.ZodType<Partial<RequiredTimeoutConfig>, unknown, z.core.$ZodTypeInternals<Partial<RequiredTimeoutConfig>, unknown>>>;
|
|
79
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
80
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
81
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>>;
|
|
82
|
+
providerSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
83
|
+
}, z.core.$strip>;
|
|
84
|
+
/**
|
|
85
|
+
* Configuration for a single adapter provider.
|
|
86
|
+
*
|
|
87
|
+
* Providers allow running multiple configurations of the same adapter
|
|
88
|
+
* (e.g., different API keys, models, or runtime settings).
|
|
89
|
+
*/
|
|
90
|
+
declare const ProviderConfigSchema: z.ZodObject<{
|
|
91
|
+
model: z.ZodOptional<z.ZodString>;
|
|
92
|
+
timeouts: z.ZodOptional<z.ZodType<Partial<RequiredTimeoutConfig>, unknown, z.core.$ZodTypeInternals<Partial<RequiredTimeoutConfig>, unknown>>>;
|
|
93
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
94
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
95
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>>;
|
|
96
|
+
providerSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
97
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
98
|
+
definitionId: z.ZodOptional<z.ZodString>;
|
|
99
|
+
name: z.ZodString;
|
|
100
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
101
|
+
availableModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
102
|
+
name: z.ZodString;
|
|
103
|
+
friendlyName: z.ZodOptional<z.ZodString>;
|
|
104
|
+
family: z.ZodOptional<z.ZodString>;
|
|
105
|
+
contextWindowSize: z.ZodNumber;
|
|
106
|
+
labId: z.ZodString;
|
|
107
|
+
supportedReasoningLevels: z.ZodOptional<z.ZodObject<{
|
|
108
|
+
none: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
109
|
+
low: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
110
|
+
medium: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
111
|
+
high: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
112
|
+
'extra-high': z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
113
|
+
}, z.core.$strip>>;
|
|
114
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
115
|
+
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
116
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
117
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
118
|
+
toolCalling: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
+
parallelToolCalls: z.ZodOptional<z.ZodBoolean>;
|
|
120
|
+
structuredOutput: z.ZodOptional<z.ZodBoolean>;
|
|
121
|
+
pdfUpload: z.ZodOptional<z.ZodBoolean>;
|
|
122
|
+
speechToText: z.ZodOptional<z.ZodObject<{
|
|
123
|
+
modes: z.ZodArray<z.ZodEnum<{
|
|
124
|
+
batch: "batch";
|
|
125
|
+
streaming: "streaming";
|
|
126
|
+
}>>;
|
|
127
|
+
vocabularyBiasing: z.ZodOptional<z.ZodBoolean>;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
textToSpeech: z.ZodOptional<z.ZodObject<{
|
|
130
|
+
modes: z.ZodArray<z.ZodEnum<{
|
|
131
|
+
streaming: "streaming";
|
|
132
|
+
buffered: "buffered";
|
|
133
|
+
}>>;
|
|
134
|
+
voiceSelection: z.ZodOptional<z.ZodBoolean>;
|
|
135
|
+
voiceInstructions: z.ZodOptional<z.ZodBoolean>;
|
|
136
|
+
outputFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
137
|
+
}, z.core.$strip>>;
|
|
138
|
+
}, z.core.$strip>>;
|
|
139
|
+
pricing: z.ZodOptional<z.ZodObject<{
|
|
140
|
+
token: z.ZodOptional<z.ZodObject<{
|
|
141
|
+
inputPerMillion: z.ZodNumber;
|
|
142
|
+
inputCachedPerMillion: z.ZodOptional<z.ZodNumber>;
|
|
143
|
+
cacheWritePerMillion: z.ZodOptional<z.ZodNumber>;
|
|
144
|
+
outputPerMillion: z.ZodNumber;
|
|
145
|
+
}, z.core.$strip>>;
|
|
146
|
+
request: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
multiplier: z.ZodNumber;
|
|
148
|
+
}, z.core.$strip>>;
|
|
149
|
+
}, z.core.$strip>>;
|
|
150
|
+
includedInSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
151
|
+
description: z.ZodOptional<z.ZodString>;
|
|
152
|
+
}, z.core.$strip>>;
|
|
153
|
+
}, z.core.$strip>>>;
|
|
154
|
+
modelFilterMode: z.ZodOptional<z.ZodEnum<{
|
|
155
|
+
allowlist: "allowlist";
|
|
156
|
+
"show-all": "show-all";
|
|
157
|
+
}>>;
|
|
158
|
+
modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
159
|
+
enabled: "enabled";
|
|
160
|
+
disabled: "disabled";
|
|
161
|
+
visible: "visible";
|
|
162
|
+
}>>>;
|
|
163
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
164
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
165
|
+
}, z.core.$strip>;
|
|
166
|
+
/**
|
|
167
|
+
* Adapter configuration file schema.
|
|
168
|
+
*
|
|
169
|
+
* This schema defines the structure of user config files stored at:
|
|
170
|
+
* `~/.makaio/adapters/<adapterName>/config.json`
|
|
171
|
+
*/
|
|
172
|
+
declare const BaseAdapterConfigSchema: z.ZodObject<{
|
|
173
|
+
$schema: z.ZodLiteral<"makaio/adapter-config/v2">;
|
|
174
|
+
defaults: z.ZodOptional<z.ZodObject<{
|
|
175
|
+
model: z.ZodOptional<z.ZodString>;
|
|
176
|
+
timeouts: z.ZodOptional<z.ZodType<Partial<RequiredTimeoutConfig>, unknown, z.core.$ZodTypeInternals<Partial<RequiredTimeoutConfig>, unknown>>>;
|
|
177
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
178
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
179
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>>;
|
|
180
|
+
providerSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
181
|
+
}, z.core.$strip>>;
|
|
182
|
+
providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
183
|
+
model: z.ZodOptional<z.ZodString>;
|
|
184
|
+
timeouts: z.ZodOptional<z.ZodType<Partial<RequiredTimeoutConfig>, unknown, z.core.$ZodTypeInternals<Partial<RequiredTimeoutConfig>, unknown>>>;
|
|
185
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
186
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
187
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>>;
|
|
188
|
+
providerSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
189
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
190
|
+
definitionId: z.ZodOptional<z.ZodString>;
|
|
191
|
+
name: z.ZodString;
|
|
192
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
193
|
+
availableModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
194
|
+
name: z.ZodString;
|
|
195
|
+
friendlyName: z.ZodOptional<z.ZodString>;
|
|
196
|
+
family: z.ZodOptional<z.ZodString>;
|
|
197
|
+
contextWindowSize: z.ZodNumber;
|
|
198
|
+
labId: z.ZodString;
|
|
199
|
+
supportedReasoningLevels: z.ZodOptional<z.ZodObject<{
|
|
200
|
+
none: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
201
|
+
low: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
202
|
+
medium: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
203
|
+
high: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
204
|
+
'extra-high': z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
205
|
+
}, z.core.$strip>>;
|
|
206
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
207
|
+
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
208
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
209
|
+
vision: z.ZodOptional<z.ZodBoolean>;
|
|
210
|
+
toolCalling: z.ZodOptional<z.ZodBoolean>;
|
|
211
|
+
parallelToolCalls: z.ZodOptional<z.ZodBoolean>;
|
|
212
|
+
structuredOutput: z.ZodOptional<z.ZodBoolean>;
|
|
213
|
+
pdfUpload: z.ZodOptional<z.ZodBoolean>;
|
|
214
|
+
speechToText: z.ZodOptional<z.ZodObject<{
|
|
215
|
+
modes: z.ZodArray<z.ZodEnum<{
|
|
216
|
+
batch: "batch";
|
|
217
|
+
streaming: "streaming";
|
|
218
|
+
}>>;
|
|
219
|
+
vocabularyBiasing: z.ZodOptional<z.ZodBoolean>;
|
|
220
|
+
}, z.core.$strip>>;
|
|
221
|
+
textToSpeech: z.ZodOptional<z.ZodObject<{
|
|
222
|
+
modes: z.ZodArray<z.ZodEnum<{
|
|
223
|
+
streaming: "streaming";
|
|
224
|
+
buffered: "buffered";
|
|
225
|
+
}>>;
|
|
226
|
+
voiceSelection: z.ZodOptional<z.ZodBoolean>;
|
|
227
|
+
voiceInstructions: z.ZodOptional<z.ZodBoolean>;
|
|
228
|
+
outputFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
229
|
+
}, z.core.$strip>>;
|
|
230
|
+
}, z.core.$strip>>;
|
|
231
|
+
pricing: z.ZodOptional<z.ZodObject<{
|
|
232
|
+
token: z.ZodOptional<z.ZodObject<{
|
|
233
|
+
inputPerMillion: z.ZodNumber;
|
|
234
|
+
inputCachedPerMillion: z.ZodOptional<z.ZodNumber>;
|
|
235
|
+
cacheWritePerMillion: z.ZodOptional<z.ZodNumber>;
|
|
236
|
+
outputPerMillion: z.ZodNumber;
|
|
237
|
+
}, z.core.$strip>>;
|
|
238
|
+
request: z.ZodOptional<z.ZodObject<{
|
|
239
|
+
multiplier: z.ZodNumber;
|
|
240
|
+
}, z.core.$strip>>;
|
|
241
|
+
}, z.core.$strip>>;
|
|
242
|
+
includedInSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
243
|
+
description: z.ZodOptional<z.ZodString>;
|
|
244
|
+
}, z.core.$strip>>;
|
|
245
|
+
}, z.core.$strip>>>;
|
|
246
|
+
modelFilterMode: z.ZodOptional<z.ZodEnum<{
|
|
247
|
+
allowlist: "allowlist";
|
|
248
|
+
"show-all": "show-all";
|
|
249
|
+
}>>;
|
|
250
|
+
modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
251
|
+
enabled: "enabled";
|
|
252
|
+
disabled: "disabled";
|
|
253
|
+
visible: "visible";
|
|
254
|
+
}>>>;
|
|
255
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
256
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
257
|
+
}, z.core.$strip>>>;
|
|
258
|
+
}, z.core.$strip>;
|
|
259
|
+
//#endregion
|
|
260
|
+
//#region packages/contracts/src/config/provider-config-file.d.ts
|
|
261
|
+
/**
|
|
262
|
+
* Canonical schema version string for provider config files.
|
|
263
|
+
*/
|
|
264
|
+
declare const PROVIDER_CONFIG_SCHEMA_VERSION: "makaio/provider-config/v1";
|
|
265
|
+
/**
|
|
266
|
+
* Schema for `.makaio/provider-configs/<providerConfigId>.json`.
|
|
267
|
+
*
|
|
268
|
+
* The file stem is the canonical `providerConfigId`; the payload only stores
|
|
269
|
+
* the entity fields that belong to the provider config itself. Credential
|
|
270
|
+
* entries are ref-only; plaintext secrets must stay behind the credential
|
|
271
|
+
* service boundary.
|
|
272
|
+
*/
|
|
273
|
+
declare const ProviderConfigFileSchema: z.ZodObject<{
|
|
274
|
+
$schema: z.ZodLiteral<"makaio/provider-config/v1">;
|
|
275
|
+
definitionId: z.ZodString;
|
|
276
|
+
name: z.ZodOptional<z.ZodString>;
|
|
277
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>>;
|
|
278
|
+
endpointOverrides: z.ZodOptional<z.ZodObject<{
|
|
279
|
+
anthropic: z.ZodOptional<z.ZodString>;
|
|
280
|
+
openai: z.ZodOptional<z.ZodString>;
|
|
281
|
+
}, z.core.$strict>>;
|
|
282
|
+
modelFilterMode: z.ZodOptional<z.ZodEnum<{
|
|
283
|
+
allowlist: "allowlist";
|
|
284
|
+
"show-all": "show-all";
|
|
285
|
+
}>>;
|
|
286
|
+
modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
287
|
+
enabled: "enabled";
|
|
288
|
+
disabled: "disabled";
|
|
289
|
+
visible: "visible";
|
|
290
|
+
}>>>;
|
|
291
|
+
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
292
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
293
|
+
isSentinel: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
+
}, z.core.$strict>;
|
|
295
|
+
/**
|
|
296
|
+
* Inferred type for a file-canonical provider config record.
|
|
297
|
+
*/
|
|
298
|
+
type ProviderConfigFile = z.infer<typeof ProviderConfigFileSchema>;
|
|
299
|
+
//#endregion
|
|
300
|
+
//#region packages/contracts/src/config/adapter-file.d.ts
|
|
301
|
+
/**
|
|
302
|
+
* Canonical schema version string for adapter config files.
|
|
303
|
+
*/
|
|
304
|
+
declare const ADAPTER_FILE_SCHEMA_VERSION: "makaio/adapter-config/v1";
|
|
305
|
+
/**
|
|
306
|
+
* Schema for `.makaio/adapters/<adapterName>.json`.
|
|
307
|
+
*
|
|
308
|
+
* The file stem is the canonical `adapterName`; the payload stores only the
|
|
309
|
+
* adapter's own settings and bindings.
|
|
310
|
+
*
|
|
311
|
+
* Metadata such as `description`, `helpLinks`, `instructions`, `clientId`,
|
|
312
|
+
* `protocol`, and `providerDefinitionIds` intentionally remain here because
|
|
313
|
+
* the plan freezes them into the public `EffectiveAdapter` view. Keeping them
|
|
314
|
+
* on the canonical adapter file lets framework-only and host consumers read
|
|
315
|
+
* the same adapter catalog without a second boot-owned projection layer.
|
|
316
|
+
*/
|
|
317
|
+
declare const AdapterFileSchema: z.ZodObject<{
|
|
318
|
+
$schema: z.ZodLiteral<"makaio/adapter-config/v1">;
|
|
319
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
320
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
321
|
+
description: z.ZodOptional<z.ZodString>;
|
|
322
|
+
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
323
|
+
label: z.ZodString;
|
|
324
|
+
url: z.ZodString;
|
|
325
|
+
}, z.core.$strict>>>;
|
|
326
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
327
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
328
|
+
protocol: z.ZodOptional<z.ZodString>;
|
|
329
|
+
providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
330
|
+
settings: z.ZodOptional<z.ZodCustom<Record<string, unknown>, Record<string, unknown>>>;
|
|
331
|
+
bindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
332
|
+
providerConfigId: z.ZodString;
|
|
333
|
+
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
334
|
+
}, z.core.$strict>>>;
|
|
335
|
+
}, z.core.$strict>;
|
|
336
|
+
/**
|
|
337
|
+
* Inferred type for a file-canonical adapter record.
|
|
338
|
+
*/
|
|
339
|
+
type AdapterFile = z.infer<typeof AdapterFileSchema>;
|
|
340
|
+
//#endregion
|
|
341
|
+
//#region packages/contracts/src/config/provider-config-name.d.ts
|
|
342
|
+
/**
|
|
343
|
+
* Convert a provider-config display name into its canonical routing slug.
|
|
344
|
+
*
|
|
345
|
+
* Trims surrounding whitespace, lowercases, and collapses interior whitespace
|
|
346
|
+
* runs to hyphens so case-insensitive matching and uniqueness checks share one
|
|
347
|
+
* normalization rule.
|
|
348
|
+
* @param value - Provider-config display name.
|
|
349
|
+
* @returns Canonical lowercase slug.
|
|
350
|
+
*/
|
|
351
|
+
declare function slugifyProviderConfigName(value: string): string;
|
|
352
|
+
/**
|
|
353
|
+
* Returns true when the given provider-config name can serve as a canonical
|
|
354
|
+
* routing name.
|
|
355
|
+
*
|
|
356
|
+
* Canonical names must not contain `::`, `~`, or `/`, and their slugified form
|
|
357
|
+
* must match `^[a-z0-9][a-z0-9._-]*$`.
|
|
358
|
+
* @param value - Candidate provider-config name.
|
|
359
|
+
* @returns `true` when the value is canonical.
|
|
360
|
+
*/
|
|
361
|
+
declare function isCanonicalProviderConfigName(value: string): boolean;
|
|
362
|
+
/**
|
|
363
|
+
* Resolve the canonical display name a provider-config create flow should use.
|
|
364
|
+
*
|
|
365
|
+
* Preference order:
|
|
366
|
+
* 1. explicit user-supplied name (trimmed only; canonical validation happens in
|
|
367
|
+
* the caller's input schema)
|
|
368
|
+
* 2. provider definition display name when it is already canonical
|
|
369
|
+
* 3. provider definition id when it is canonical
|
|
370
|
+
*
|
|
371
|
+
* Returns `undefined` when no derived fallback satisfies the canonical-name
|
|
372
|
+
* contract.
|
|
373
|
+
* @param options - Candidate name inputs.
|
|
374
|
+
* @returns Trimmed explicit name or a canonical derived fallback, or `undefined`
|
|
375
|
+
* when no candidate fits.
|
|
376
|
+
*/
|
|
377
|
+
declare function resolveCanonicalProviderConfigName(options: {
|
|
378
|
+
requestedName?: string;
|
|
379
|
+
providerName?: string;
|
|
380
|
+
definitionId: string;
|
|
381
|
+
}): string | undefined;
|
|
382
|
+
//#endregion
|
|
383
|
+
//#region packages/contracts/src/config/adapters-file.d.ts
|
|
384
|
+
/**
|
|
385
|
+
* Configuration for a single provider entry inside `adapters.json`.
|
|
386
|
+
*/
|
|
387
|
+
declare const AdaptersFileProviderSchema: z.ZodObject<{
|
|
388
|
+
name: z.ZodOptional<z.ZodString>;
|
|
389
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
390
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>>;
|
|
391
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
392
|
+
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
393
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
394
|
+
modelFilterMode: z.ZodOptional<z.ZodEnum<{
|
|
395
|
+
allowlist: "allowlist";
|
|
396
|
+
"show-all": "show-all";
|
|
397
|
+
}>>;
|
|
398
|
+
modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
399
|
+
enabled: "enabled";
|
|
400
|
+
disabled: "disabled";
|
|
401
|
+
visible: "visible";
|
|
402
|
+
}>>>;
|
|
403
|
+
}, z.core.$strip>;
|
|
404
|
+
/**
|
|
405
|
+
* Configuration for one adapter entry inside `adapters.json`.
|
|
406
|
+
*/
|
|
407
|
+
declare const AdaptersFileAdapterSchema: z.ZodObject<{
|
|
408
|
+
providers: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
409
|
+
name: z.ZodOptional<z.ZodString>;
|
|
410
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
411
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>>;
|
|
412
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
413
|
+
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
414
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
415
|
+
modelFilterMode: z.ZodOptional<z.ZodEnum<{
|
|
416
|
+
allowlist: "allowlist";
|
|
417
|
+
"show-all": "show-all";
|
|
418
|
+
}>>;
|
|
419
|
+
modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
420
|
+
enabled: "enabled";
|
|
421
|
+
disabled: "disabled";
|
|
422
|
+
visible: "visible";
|
|
423
|
+
}>>>;
|
|
424
|
+
}, z.core.$strip>>;
|
|
425
|
+
}, z.core.$strip>;
|
|
426
|
+
/**
|
|
427
|
+
* File-based adapter configuration stored at `~/.makaio/adapters.json`.
|
|
428
|
+
*/
|
|
429
|
+
declare const AdaptersFileSchema: z.ZodObject<{
|
|
430
|
+
$schema: z.ZodLiteral<"makaio/adapters-config/v1">;
|
|
431
|
+
adapters: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
432
|
+
providers: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
433
|
+
name: z.ZodOptional<z.ZodString>;
|
|
434
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
435
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>>;
|
|
436
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
437
|
+
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
438
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
439
|
+
modelFilterMode: z.ZodOptional<z.ZodEnum<{
|
|
440
|
+
allowlist: "allowlist";
|
|
441
|
+
"show-all": "show-all";
|
|
442
|
+
}>>;
|
|
443
|
+
modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
444
|
+
enabled: "enabled";
|
|
445
|
+
disabled: "disabled";
|
|
446
|
+
visible: "visible";
|
|
447
|
+
}>>>;
|
|
448
|
+
}, z.core.$strip>>;
|
|
449
|
+
}, z.core.$strip>>;
|
|
450
|
+
}, z.core.$strip>;
|
|
451
|
+
type AdaptersFile = z.infer<typeof AdaptersFileSchema>;
|
|
452
|
+
type AdaptersFileAdapter = z.infer<typeof AdaptersFileAdapterSchema>;
|
|
453
|
+
type AdaptersFileProvider = z.infer<typeof AdaptersFileProviderSchema>;
|
|
454
|
+
//#endregion
|
|
455
|
+
export { ADAPTER_FILE_SCHEMA_VERSION, AIModelSchema, type AdapterFile, AdapterFileSchema, type AdaptersFile, type AdaptersFileAdapter, AdaptersFileAdapterSchema, type AdaptersFileProvider, AdaptersFileProviderSchema, AdaptersFileSchema, BaseAdapterConfigSchema, type Config, type ConfigGetResponse, ConfigNamespace, ConfigSchema, ConfigSchemas, ConfigSubjects, type ConfigUpdateRequest, type ConfigUpdateResponse, type CredentialRef, CredentialRefSchema, PROVIDER_CONFIG_SCHEMA_VERSION, type ProviderConfigFile, ProviderConfigFileSchema, ProviderConfigSchema, ProviderDefaultsSchema, type RelayConfig, brandCredentialRecord, buildAccountManagerCredentialRef, buildStoredCredentialRef, isAccountManagerRef, isCanonicalProviderConfigName, parseStoredCredentialRef, resolveCanonicalProviderConfigName, slugifyProviderConfigName, unbrandCredentials };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,n as t,t as n}from"../../visibility-CZu8ooOA.mjs";import{a as r,i,n as a,o,r as s,s as c,t as l}from"../../credential-ref-DLCsoKVZ.mjs";import{p as u}from"../../shared-DxHLl9UP.mjs";import{i as d,n as f,r as p,t as m}from"../../config-namespace-MJT8P0Ud.mjs";import{z as h}from"zod";const g=h.object({initialization:h.number().optional().describe(`Time allowed for adapter/session initialization (cold starts, auth). Defaults to 30000ms.`),acknowledgement:h.number().optional().describe(`Time allowed for acknowledgement that a message was received. Defaults to 30000ms.`),completion:h.number().optional().describe(`Time allowed for completion of complex reasoning operations. Defaults to 60000ms.`),toolApproval:h.number().optional().describe(`Time allowed for tool approval responses (user is waiting). Defaults to 5000ms.`),eventWait:h.number().optional().describe(`Default time for once() calls waiting for events. Defaults to 10000ms.`)}),_=h.object({anthropic:h.string().url(),openai:h.string().url()}).partial().strict(),v=h.object({model:h.string().optional().describe(`Model identifier (adapter-specific, e.g., sonnet, opus)`),timeouts:g.optional().describe(`Timeout overrides for this provider`),cwd:h.string().optional().describe(`Working directory for agent execution`),env:h.record(h.string(),h.string()).optional().describe(`Environment variables to pass to agent execution`),credentials:h.record(h.string(),l).optional().describe(`Credential references resolved at runtime (e.g., keychain:service:account)`),providerSettings:h.record(h.string(),h.unknown()).optional().describe(`Provider-specific configuration (non-credential settings only)`)}),y=v.safeExtend({providerId:h.string().optional().describe(`FK to the providers table (stable provider ID, e.g. "anthropic")`),definitionId:h.string().optional().describe(`Provider definition identifier for schema lookup`),name:h.string().describe(`Display name for UI`),baseUrl:h.string().url().optional().describe(`Provider endpoint URL`),availableModels:h.array(e).optional().describe(`Models from this provider`),modelFilterMode:n.optional().describe(`Controls default visibility for models without explicit overrides`),modelVisibility:h.record(h.string(),t).optional().describe(`Sparse per-model visibility overrides`),isDefault:h.boolean().default(!1).describe(`Whether this is the default provider for inheritance`),enabled:h.boolean().default(!0).describe(`Whether this provider is enabled (disabled providers are not loaded)`)}),b=h.object({$schema:h.literal(`makaio/adapter-config/v2`),defaults:v.optional(),providers:h.record(h.string(),y).default(()=>({}))}),x=`makaio/provider-config/v1`,S=h.object({$schema:h.literal(x),definitionId:h.string().trim().min(1),name:h.string().trim().min(1).optional(),credentials:h.record(h.string(),l).optional(),endpointOverrides:_.optional(),modelFilterMode:n.optional(),modelVisibility:h.record(h.string(),t).optional(),isDefault:h.boolean().optional(),enabled:h.boolean().optional(),isSentinel:h.boolean().optional()}).strict(),C=`makaio/adapter-config/v1`,w=h.object({label:h.string().min(1),url:h.string().url()}).strict(),T=h.object({providerConfigId:h.string().trim().min(1),isDefault:h.boolean().optional()}).strict(),E=h.array(T).superRefine((e,t)=>{let n=new Set,r=null;for(let[i,a]of e.entries())if(n.has(a.providerConfigId)?t.addIssue({code:h.ZodIssueCode.custom,message:`Duplicate adapter binding for providerConfigId "${a.providerConfigId}".`,path:[i,`providerConfigId`]}):n.add(a.providerConfigId),a.isDefault){if(r!==null){t.addIssue({code:h.ZodIssueCode.custom,message:`Adapter config files may declare at most one default binding.`,path:[i,`isDefault`]});continue}r=i}}),D=h.object({$schema:h.literal(C),enabled:h.boolean().optional(),displayName:h.string().optional(),description:h.string().optional(),helpLinks:h.array(w).optional(),instructions:h.string().optional(),clientId:h.string().optional(),protocol:h.string().optional(),providerDefinitionIds:h.array(h.string()).optional(),settings:u.optional(),bindings:E.optional()}).strict();function O(e){return e.trim().toLowerCase().replace(/\s+/g,`-`)}function k(e){if(e.includes(`::`)||e.includes(`~`)||e.includes(`/`))return!1;let t=O(e);return t.length>0&&/^[a-z0-9][a-z0-9._-]*$/.test(t)}function A(e){let t=e.requestedName?.trim();if(t)return t;let n=e.providerName?.trim();if(n&&k(n))return n;if(k(e.definitionId))return e.definitionId}const j=h.object({name:h.string().optional(),providerId:h.string().optional(),credentials:h.record(h.string(),l).optional(),baseUrl:h.string().url().optional(),isDefault:h.boolean().optional(),enabled:h.boolean().optional(),modelFilterMode:n.optional(),modelVisibility:h.record(h.string(),t).optional()}),M=h.object({providers:h.record(h.string(),j)}),N=h.object({$schema:h.literal(`makaio/adapters-config/v1`),adapters:h.record(h.string(),M)});export{C as ADAPTER_FILE_SCHEMA_VERSION,e as AIModelSchema,D as AdapterFileSchema,M as AdaptersFileAdapterSchema,j as AdaptersFileProviderSchema,N as AdaptersFileSchema,b as BaseAdapterConfigSchema,m as ConfigNamespace,d as ConfigSchema,p as ConfigSchemas,f as ConfigSubjects,l as CredentialRefSchema,x as PROVIDER_CONFIG_SCHEMA_VERSION,S as ProviderConfigFileSchema,y as ProviderConfigSchema,v as ProviderDefaultsSchema,a as brandCredentialRecord,s as buildAccountManagerCredentialRef,i as buildStoredCredentialRef,r as isAccountManagerRef,k as isCanonicalProviderConfigName,o as parseStoredCredentialRef,A as resolveCanonicalProviderConfigName,O as slugifyProviderConfigName,c as unbrandCredentials};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { $ as ToolCallFormatterDeclaration, $n as AdapterClientRefSchema, $t as WhenContext, A as ExtensionBootstrap, An as CliManifestSchema, At as HashTriggerContext, B as ExtensionConfigComponentProps, Bn as StorageManifestSchema, Bt as EventFilter, C as BootstrapChoice, Cn as AdapterProviderDefinitionContract, Ct as UiRuntimeNavigationLevel, D as BootstrapImportContext, Dn as CliArgManifest, Dt as GatheredEntry, E as BootstrapExportResult, En as extensionToken, Et as GatheredContext, F as ExtensionToolsContribution, Fn as ExtensionManifest, Ft as ActionCategoryMap, G as MakaioWebUiComponentProps, Gn as WindowParamSpec, Gt as PickerConfig, H as LoaderContext, Hn as TrayManifestSchema, Ht as ExecuteResult, I as ExtensionTriggersContribution, In as ExtensionManifestSchema, It as ActionShortcut, J as PromisifiedActions, Jn as dep, Jt as SelectionFeedback, K as MakaioWebUiLoader, Kn as WindowParamSpecSchema, Kt as PickerOpenContext, L as ExtensionUiContribution, Ln as RuntimeRequirement, Lt as ActionShortcutModifiers, M as AdapterContribution, Mn as CliSubcommandManifestSchema, Mt as HashTriggerStage, N as ExtensionNamespaceContribution, Nn as ExtensionDependency, Nt as HashTriggerSuggestResult, O as BootstrapImportResult, On as CliArgManifestSchema, Ot as HashSuggestion, P as ExtensionSessionEventActionsContribution, Pn as ExtensionDependencySchema, Pt as ActionCategory, Q as PluginTransformedContentType, Qn as AdapterClientRef, Qt as StructuralEventFilter, R as LogImportContribution, Rn as RuntimeRequirementSchema, Rt as CreateSessionEventActionResult, S as BootstrapAssetKey, Sn as AdapterDefinitionContract, Sr as BrowserEntrypointSchema, St as UiNavigationLevelMap, T as BootstrapExportContext, Tn as ExtensionToken, Tt as UiScopeMap, U as MakaioWebUiAction, Un as WindowManifest, Ut as MessageEventFilter, V as ExtensionFieldTypeLoader, Vn as TrayManifest, Vt as ExecuteContext, W as MakaioWebUiActions, Wn as WindowManifestSchema, Wt as MessageRole, X as PluginToolCallFormatterInput, Xn as CapabilityTokenMap, Xt as SessionEventActionDeclaration, Y as PluginFormattedToolCallOutput, Yn as CapabilityToken, Yt as SessionEventActionContext, Z as PluginTransformedContent, Zn as CapabilityTokenSchema, Zt as SessionEventActionOptions, _ as ExtensionRuntimeBootContext, _n as ExtensionWarningEntrySchema, _r as TriggerManifestSchema, _t as TileRenderers, a as DetachedTransportSchema, an as ExtensionCliInteractiveContext, ar as ContributionManifestSchema, at as SlotId, b as MakaioNodeExtension, bn as ExtensionWarningSeveritySchema, br as UiSurfaceFlagsSchema, bt as UiContextValueMap, c as ExtensionDescriptorBase, cn as ExtensionContext, cr as ProtocolConfig, ct as WidgetDeclaration, d as ExtensionEntrypoints, dn as ExtensionService, dr as ProtocolRefSchema, dt as WidgetRenderers, en as ExtensionRuntimeOwnership, er as AdapterManifest, et as PageComponentProps, f as ExtensionEntrypointsSchema, fn as ExtensionServiceLifecycle, fr as ProviderManifest, ft as WidgetSize$1, g as ExtensionContributionProcessor, gn as ExtensionWarningEntry, gr as TriggerManifest, gt as TileProps, h as safeParseExtensionDescriptor, hn as ExtensionWarningActionSchema, hr as SessionEventActionManifestSchema, ht as TileIconLoader, i as DetachedTransportConfig, in as ExtensionCliHandlerContext, ir as ContributionManifest, it as SlotDeclaration, j as getBootstrapAssetKey, jn as CliSubcommandManifest, jt as HashTriggerMetadata, k as BootstrapResult, kn as CliManifest, kt as HashTrigger, l as ExtensionDescriptorParseResult, ln as NodeExtensionContext, lr as ProtocolConfigSchema, lt as WidgetDefinition, m as parseExtensionDescriptor, mn as ExtensionWarningAction, mr as SessionEventActionManifest, mt as TileDeclaration, n as parseExtensionConfig, nn as ExtensionCliBeforeRunResult, nr as ClientManifest, nt as PageMode, o as EmbeddedDescriptor, on as ExtensionCliOutputWriter, or as LogImporterManifest, ot as SlotPlacementDeclaration, p as isDetachedDescriptor, pn as ExtensionWarning, pr as ProviderManifestSchema, pt as TileCapabilities, q as MakaioWebUiRoute, qn as WindowStyle, qt as SelectionChangeContext, r as DetachedDescriptor, rn as ExtensionCliContribution, rr as ClientManifestSchema, rt as SlotContentDeclaration, s as ExtensionDescriptor, sn as ExtensionCliSubcommandEntry, sr as LogImporterManifestSchema, st as WidgetSize, t as ExtensionConfigProvider, tn as ExtensionCliBeforeRunContext, tr as AdapterManifestSchema, tt as PageDeclaration, u as ExtensionDescriptorSchema, un as ExtensionIdentity, ur as ProtocolRef, ut as WidgetProps, v as ExtensionRuntimeBootContribution, vn as ExtensionWarningSchema, vr as TriggerStage, vt as UiContextDimension, w as BootstrapDiscoverContext, wn as AdapterProviderRef, wt as UiScope, x as BootstrapAsset, xn as getExtensionWarningActionLabel, xr as BrowserEntrypoint, xt as UiNavigationLevel, y as MakaioExtension, yn as ExtensionWarningSeverity, yr as UiSurfaceFlags, yt as UiContextSnapshot, z as ExtensionConfigComponentLoader, zn as StorageManifest, zt as EntrypointConfig } from "../../index-BB419vv-.mjs";
|
|
2
|
+
import { D as EntityUIConfig } from "../../index-BJOfdtbw.mjs";
|
|
3
|
+
export { ActionCategory, ActionCategoryMap, ActionShortcut, ActionShortcutModifiers, AdapterClientRef, AdapterClientRefSchema, AdapterContribution, AdapterDefinitionContract, AdapterManifest, AdapterManifestSchema, AdapterProviderDefinitionContract, AdapterProviderRef, BootstrapAsset, BootstrapAssetKey, BootstrapChoice, BootstrapDiscoverContext, BootstrapExportContext, BootstrapExportResult, BootstrapImportContext, BootstrapImportResult, BootstrapResult, BrowserEntrypoint, BrowserEntrypointSchema, CapabilityToken, CapabilityTokenMap, CapabilityTokenSchema, CliArgManifest, CliArgManifestSchema, CliManifest, CliManifestSchema, CliSubcommandManifest, CliSubcommandManifestSchema, ClientManifest, ClientManifestSchema, ContributionManifest, ContributionManifestSchema, CreateSessionEventActionResult, DetachedDescriptor, DetachedTransportConfig, DetachedTransportSchema, EmbeddedDescriptor, EntityUIConfig, EntrypointConfig, EventFilter, ExecuteContext, ExecuteResult, ExtensionBootstrap, ExtensionCliBeforeRunContext, ExtensionCliBeforeRunResult, ExtensionCliContribution, ExtensionCliHandlerContext, ExtensionCliInteractiveContext, ExtensionCliOutputWriter, ExtensionCliSubcommandEntry, ExtensionConfigComponentLoader, ExtensionConfigComponentProps, ExtensionConfigProvider, ExtensionContext, ExtensionContributionProcessor, ExtensionDependency, ExtensionDependencySchema, ExtensionDescriptor, ExtensionDescriptorBase, ExtensionDescriptorParseResult, ExtensionDescriptorSchema, ExtensionEntrypoints, ExtensionEntrypointsSchema, ExtensionFieldTypeLoader, ExtensionIdentity, ExtensionManifest, ExtensionManifestSchema, ExtensionNamespaceContribution, ExtensionRuntimeBootContext, ExtensionRuntimeBootContribution, ExtensionRuntimeOwnership, ExtensionService, ExtensionServiceLifecycle, ExtensionSessionEventActionsContribution, ExtensionToken, ExtensionToolsContribution, ExtensionTriggersContribution, ExtensionUiContribution, ExtensionWarning, ExtensionWarningAction, ExtensionWarningActionSchema, ExtensionWarningEntry, ExtensionWarningEntrySchema, ExtensionWarningSchema, ExtensionWarningSeverity, ExtensionWarningSeveritySchema, GatheredContext, GatheredEntry, HashSuggestion, HashTrigger, HashTriggerContext, HashTriggerMetadata, HashTriggerStage, HashTriggerSuggestResult, LoaderContext, LogImportContribution, LogImporterManifest, LogImporterManifestSchema, MakaioExtension, MakaioNodeExtension, MakaioWebUiAction, MakaioWebUiActions, MakaioWebUiComponentProps, MakaioWebUiLoader, MakaioWebUiRoute, MessageEventFilter, MessageRole, NodeExtensionContext, PageComponentProps, PageDeclaration, PageMode, WidgetSize as PageWidgetSize, PickerConfig, PickerOpenContext, PluginFormattedToolCallOutput, PluginToolCallFormatterInput, PluginTransformedContent, PluginTransformedContentType, PromisifiedActions, ProtocolConfig, ProtocolConfigSchema, ProtocolRef, ProtocolRefSchema, ProviderManifest, ProviderManifestSchema, RuntimeRequirement, RuntimeRequirementSchema, SelectionChangeContext, SelectionFeedback, SessionEventActionContext, SessionEventActionDeclaration, SessionEventActionManifest, SessionEventActionManifestSchema, SessionEventActionOptions, SlotContentDeclaration, SlotDeclaration, SlotId, SlotPlacementDeclaration, StorageManifest, StorageManifestSchema, StructuralEventFilter, TileCapabilities, TileDeclaration, TileIconLoader, TileProps, TileRenderers, ToolCallFormatterDeclaration, TrayManifest, TrayManifestSchema, TriggerManifest, TriggerManifestSchema, TriggerStage, UiContextDimension, UiContextSnapshot, UiContextValueMap, UiNavigationLevel, UiNavigationLevelMap, UiRuntimeNavigationLevel, UiScope, UiScopeMap, UiSurfaceFlags, UiSurfaceFlagsSchema, WhenContext, WidgetDeclaration, WidgetDefinition, WidgetProps, WidgetRenderers, WidgetSize$1 as WidgetSize, WindowManifest, WindowManifestSchema, WindowParamSpec, WindowParamSpecSchema, WindowStyle, dep, extensionToken, getBootstrapAssetKey, getExtensionWarningActionLabel, isDetachedDescriptor, parseExtensionConfig, parseExtensionDescriptor, safeParseExtensionDescriptor };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as e,C as t,D as n,E as r,F as i,I as a,L as o,M as s,N as c,O as l,P as u,R as d,S as f,T as p,_ as m,a as h,b as g,c as _,d as v,f as y,g as b,h as x,i as S,j as C,k as w,l as T,m as E,n as D,o as O,p as k,r as A,s as j,t as M,u as N,v as P,w as F,x as I,y as L}from"../../extension-Cbrl4YGX.mjs";export{n as AdapterClientRefSchema,l as AdapterManifestSchema,d as BrowserEntrypointSchema,r as CapabilityTokenSchema,x as CliArgManifestSchema,b as CliManifestSchema,m as CliSubcommandManifestSchema,w as ClientManifestSchema,e as ContributionManifestSchema,_ as DetachedTransportSchema,P as ExtensionDependencySchema,T as ExtensionDescriptorSchema,N as ExtensionEntrypointsSchema,L as ExtensionManifestSchema,A as ExtensionWarningActionSchema,S as ExtensionWarningEntrySchema,h as ExtensionWarningSchema,O as ExtensionWarningSeveritySchema,C as LogImporterManifestSchema,s as ProtocolConfigSchema,c as ProtocolRefSchema,u as ProviderManifestSchema,g as RuntimeRequirementSchema,i as SessionEventActionManifestSchema,I as StorageManifestSchema,f as TrayManifestSchema,a as TriggerManifestSchema,o as UiSurfaceFlagsSchema,t as WindowManifestSchema,F as WindowParamSpecSchema,p as dep,E as extensionToken,M as getBootstrapAssetKey,j as getExtensionWarningActionLabel,v as isDetachedDescriptor,D as parseExtensionConfig,y as parseExtensionDescriptor,k as safeParseExtensionDescriptor};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { A as HarnessDefinitionSchema, C as ApprovalPolicy, D as HarnessDefinitionBaseSchema, E as HarnessDefinition, M as ToolApprovalOverridesSchema, O as HarnessDefinitionCreate, S as HarnessSubjects, T as DefaultHarnessDefinition, a as OPENAI_NODE_REGISTRY_HARNESS, b as HarnessNamespace, c as ExpandCapabilitiesResult, d as expandProfileToolCapabilities, f as getToolCapabilities, i as GEMINI_SDK_REGISTRY_HARNESS, j as ToolApprovalOverrides, k as HarnessDefinitionCreateSchema, l as ProfileToolCapabilitiesConfig, n as CODEX_APP_SERVER_NATIVE_HARNESS, o as codexCapabilityMap, r as DEFAULT_HARNESSES, s as ExpandCapabilitiesParams, t as CLAUDE_CODE_REGISTRY_HARNESS, u as expandCapabilities, w as ApprovalPolicySchema, x as HarnessSchemas } from "../../index-BdPwu6c0.mjs";
|
|
2
|
+
export { ApprovalPolicy, ApprovalPolicySchema, CLAUDE_CODE_REGISTRY_HARNESS, CODEX_APP_SERVER_NATIVE_HARNESS, DEFAULT_HARNESSES, DefaultHarnessDefinition, ExpandCapabilitiesParams, ExpandCapabilitiesResult, GEMINI_SDK_REGISTRY_HARNESS, HarnessDefinition, HarnessDefinitionBaseSchema, HarnessDefinitionCreate, HarnessDefinitionCreateSchema, HarnessDefinitionSchema, HarnessNamespace, HarnessSchemas, HarnessSubjects, OPENAI_NODE_REGISTRY_HARNESS, ProfileToolCapabilitiesConfig, ToolApprovalOverrides, ToolApprovalOverridesSchema, codexCapabilityMap, expandCapabilities, expandProfileToolCapabilities, getToolCapabilities };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,i as t,n,r,t as i}from"../../schemas-Co_sVhzz.mjs";import{a,c as o,d as s,f as c,i as l,l as u,n as d,o as f,r as p,s as m,t as h,u as g}from"../../harness-CEq1Zkf9.mjs";export{i as ApprovalPolicySchema,h as CLAUDE_CODE_REGISTRY_HARNESS,d as CODEX_APP_SERVER_NATIVE_HARNESS,p as DEFAULT_HARNESSES,l as GEMINI_SDK_REGISTRY_HARNESS,n as HarnessDefinitionBaseSchema,r as HarnessDefinitionCreateSchema,t as HarnessDefinitionSchema,g as HarnessNamespace,s as HarnessSchemas,c as HarnessSubjects,a as OPENAI_NODE_REGISTRY_HARNESS,e as ToolApprovalOverridesSchema,f as codexCapabilityMap,m as expandCapabilities,o as expandProfileToolCapabilities,u as getToolCapabilities};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as WindowCreateRequest, c as WindowFocusResponse, d as WindowListResponse, f as WindowOpenedEvent, g as HostSubjects, h as HostNamespace, i as WindowClosedEvent, l as WindowLabelChangedEvent, m as WindowStateSchema, n as TrayActivateRequest, o as WindowCreateResponse, p as WindowState, r as TrayActivateResponse, s as WindowFocusRequest, t as HostSchemas, u as WindowListRequest } from "../../index-D7T8XCku.mjs";
|
|
2
|
+
export { HostNamespace, HostSchemas, HostSubjects, TrayActivateRequest, TrayActivateResponse, WindowClosedEvent, WindowCreateRequest, WindowCreateResponse, WindowFocusRequest, WindowFocusResponse, WindowLabelChangedEvent, WindowListRequest, WindowListResponse, WindowOpenedEvent, WindowState, WindowStateSchema };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,n as t,r as n,t as r}from"../../host-CXAUGGN0.mjs";export{r as HostNamespace,n as HostSchemas,t as HostSubjects,e as WindowStateSchema};
|