@xopcai/xopc 0.0.231 → 0.0.232
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/README.md +1 -0
- package/README.zh-CN.md +1 -0
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/extensions/feishu/src/schema/config-schema.d.ts +3 -3
- package/dist/extensions/telegram/src/config-schema.d.ts +4 -4
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/extensions/weixin/src/config-schema.d.ts +3 -3
- package/dist/gateway/static/root/assets/{activity-store-M0nAY5XB.js → activity-store-VXCWz43N.js} +1 -1
- package/dist/gateway/static/root/assets/agent-avatar-dicebear-BXRaZYW8.js +1 -0
- package/dist/gateway/static/root/assets/agent-defaults-settings-panel-dR7HMaRX.js +1 -0
- package/dist/gateway/static/root/assets/agents-Bileycwe.js +1 -0
- package/dist/gateway/static/root/assets/api-wGPgL8xY.js +1 -0
- package/dist/gateway/static/root/assets/{app-management-settings-panel-DP7YVRPn.js → app-management-settings-panel-BJfClfPx.js} +1 -1
- package/dist/gateway/static/root/assets/{appearance-settings-CVQ5n7y6.js → appearance-settings-C_R0vUAu.js} +1 -1
- package/dist/gateway/static/root/assets/{apps-page-DSCia0DT.js → apps-page-CBow8pBI.js} +1 -1
- package/dist/gateway/static/root/assets/{archive-plugin-7_DXaMTP.js → archive-plugin-DnFHkSHE.js} +1 -1
- package/dist/gateway/static/root/assets/{attachment-load-mmr_mHRr.js → attachment-load-DZrEwytM.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-page-DfY-T6Ga.js → automations-page-DpkKajui.js} +1 -1
- package/dist/gateway/static/root/assets/automations-workspace-BBntVWgv.js +6 -0
- package/dist/gateway/static/root/assets/{binary-plugins-CO9QMEh2.js → binary-plugins-Ckc_Csue.js} +1 -1
- package/dist/gateway/static/root/assets/{block-editor-CE14CVOy.js → block-editor-DAC6w-iV.js} +4 -4
- package/dist/gateway/static/root/assets/browser-settings-page-DrsMd-Po.js +8 -0
- package/dist/gateway/static/root/assets/browser-workflow-inputs-BGd7R8GO.js +1 -0
- package/dist/gateway/static/root/assets/{browser-workflows-page-1wgXyoSO.js → browser-workflows-page-DUfj7ntM.js} +2 -2
- package/dist/gateway/static/root/assets/capabilities-settings-panel-97gkGeSV.js +7 -0
- package/dist/gateway/static/root/assets/channels-settings-CuBsz8UI.js +1 -0
- package/dist/gateway/static/root/assets/{channel-recipient-api-C5ABr73b.js → channels-status-swr-CfboECLt.js} +1 -1
- package/dist/gateway/static/root/assets/{chat-terminal-dock-CdRW6Euc.js → chat-terminal-dock-CA9fndbZ.js} +2 -2
- package/dist/gateway/static/root/assets/{code-editor-dFzqyDXS.js → code-editor-D4_k-6QN.js} +1 -1
- package/dist/gateway/static/root/assets/connectors-page-SuL7td7Z.js +2 -0
- package/dist/gateway/static/root/assets/cron-expression-CqPu7HYJ.js +2 -0
- package/dist/gateway/static/root/assets/date-picker-C8dJsCgk.js +1 -0
- package/dist/gateway/static/root/assets/dependency-picker-Iz2wYimy.js +1 -0
- package/dist/gateway/static/root/assets/{desktop-pet-CMO-J3cG.js → desktop-pet-C3h40FmG.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-settings-MmOR4A3u.js → desktop-pet-settings-YfeVVzLe.js} +1 -1
- package/dist/gateway/static/root/assets/dist-DqPZM2MH2.js +1 -0
- package/dist/gateway/static/root/assets/{extension-debug-page-DdH0dG2_.js → extension-debug-page-CChgztz_.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-Clg-KktN.js → extension-page-DF6ct6_y.js} +1 -1
- package/dist/gateway/static/root/assets/extension-settings-page-jgBsjn0F.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-config-api-DEHnF4Wm.js → gateway-config-api-CVajuIGL.js} +1 -1
- package/dist/gateway/static/root/assets/gateway-config-swr-BGQn8duh.js +1 -0
- package/dist/gateway/static/root/assets/gateway-settings-BbssNGid.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-startup-retry-B_zrtccP.js → gateway-startup-retry-D2Rnh9fX.js} +1 -1
- package/dist/gateway/static/root/assets/heartbeat-settings-CJtXu8iD.js +1 -0
- package/dist/gateway/static/root/assets/home-page-Be1o1AXQ.js +1 -0
- package/dist/gateway/static/root/assets/html-workspace-editor-C3DKAkMc.js +1 -0
- package/dist/gateway/static/root/assets/{image-generation-api-YKP2me5Z.js → image-generation-api-D7W2p5_8.js} +1 -1
- package/dist/gateway/static/root/assets/index-B2OJSXX9.js +70 -0
- package/dist/gateway/static/root/assets/index-rHjAElxG.css +2 -0
- package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-BvpEeHnm.js → keyboard-shortcuts-settings-BvHYyNus.js} +1 -1
- package/dist/gateway/static/root/assets/local-app-workbench-page-COfelgk7.js +2 -0
- package/dist/gateway/static/root/assets/{local-apps-page-Bzvn99eH.js → local-apps-page-Cb8t2wWM.js} +1 -1
- package/dist/gateway/static/root/assets/locale-store-DLwVxS3V.js +1 -0
- package/dist/gateway/static/root/assets/logs-page-DA8oDjeB.js +2 -0
- package/dist/gateway/static/root/assets/management-settings-B8Jie4-J.js +1 -0
- package/dist/gateway/static/root/assets/markdown-editor-nDLmA_LF.js +2 -0
- package/dist/gateway/static/root/assets/markdown-split-BD1r4o2i.js +1 -0
- package/dist/gateway/static/root/assets/{markdown-view-RxNHwlNo.js → markdown-view-B-BHEcNd.js} +1 -1
- package/dist/gateway/static/root/assets/{media-plugins-D8I7OGnT.js → media-plugins-BCev8fkW.js} +1 -1
- package/dist/gateway/static/root/assets/messages-Dp1OxSKt.js +3 -0
- package/dist/gateway/static/root/assets/mobile-device-api-DACoHhhk.js +1 -0
- package/dist/gateway/static/root/assets/{models-hub-cache-0RjEwafI.js → models-hub-cache-C8zjqmIv.js} +1 -1
- package/dist/gateway/static/root/assets/{notes-api-EpgG-OQc.js → notes-api-DEdNKw0I.js} +1 -1
- package/dist/gateway/static/root/assets/{notes-page-CCvjGMhN.js → notes-page-BBTLjJwa.js} +1 -1
- package/dist/gateway/static/root/assets/notes-workbench-DICgUGPv.js +4 -0
- package/dist/gateway/static/root/assets/{oauth-api-BwNLwbI8.js → oauth-api-BNCO2YK5.js} +1 -1
- package/dist/gateway/static/root/assets/popover-select-3E24E65N.js +1 -0
- package/dist/gateway/static/root/assets/{product-open-page-MmMswmOU.js → product-open-page-fEBbRekH.js} +1 -1
- package/dist/gateway/static/root/assets/project-detail-page-CqdkznYJ.js +1 -0
- package/dist/gateway/static/root/assets/projects-page-dHDXpMCg.js +1 -0
- package/dist/gateway/static/root/assets/{registry-api-BFZrVYfy.js → registry-api-Cvr4Qm7N.js} +1 -1
- package/dist/gateway/static/root/assets/remote-access-hub-2feZudJw.js +1 -0
- package/dist/gateway/static/root/assets/{runtime-tools-settings-panel-Dx6o7sLu.js → runtime-tools-settings-panel-BT5B74IH.js} +2 -2
- package/dist/gateway/static/root/assets/{schema-form-Cdd9c4vt.js → schema-form-C4tB34S5.js} +1 -1
- package/dist/gateway/static/root/assets/sessions-page-CO2JCFdy.js +1 -0
- package/dist/gateway/static/root/assets/settings-advanced-gate-DxMVaqdn.js +1 -0
- package/dist/gateway/static/root/assets/{settings-form-section-D0YxMnhm.js → settings-form-section-D1oXhkgI.js} +1 -1
- package/dist/gateway/static/root/assets/settings-loading-skeleton-CldfX6FJ.js +1 -0
- package/dist/gateway/static/root/assets/settings-page-c3LJnbvE.js +1 -0
- package/dist/gateway/static/root/assets/settings-shell-layer-context-DCp6ykjQ.js +1 -0
- package/dist/gateway/static/root/assets/setup-status-panel-DZNHb6A5.js +1 -0
- package/dist/gateway/static/root/assets/{share-preview-page-DiqBn-oE.js → share-preview-page-DptCK_mk.js} +1 -1
- package/dist/gateway/static/root/assets/shares-settings-DakZ2AGN.js +1 -0
- package/dist/gateway/static/root/assets/skill-reload-api-BOiNkWJC.js +1 -0
- package/dist/gateway/static/root/assets/{skills-page-CZwhWiRl.js → skills-page-OHBeBtSg.js} +1 -1
- package/dist/gateway/static/root/assets/{skills-page.utils-kBGr8opZ.js → skills-page.utils-B9WZbOLC.js} +1 -1
- package/dist/gateway/static/root/assets/{system-settings-panel-CPBs6lWi.js → system-settings-panel-Dj_DpOGw.js} +1 -1
- package/dist/gateway/static/root/assets/task-detail-page-D5Nbe3C8.js +1 -0
- package/dist/gateway/static/root/assets/{theme-store-Qgvo0Ga7.js → theme-store-Cpd3Gd5R.js} +1 -1
- package/dist/gateway/static/root/assets/{use-autosave-C4YcEiP9.js → use-autosave-DCl5Yq7N.js} +1 -1
- package/dist/gateway/static/root/assets/user-context-page-CAPSUK8B.js +1 -0
- package/dist/gateway/static/root/assets/{vendor-codemirror-DRr7hFaD.js → vendor-codemirror--gTq3YAI.js} +16 -16
- package/dist/gateway/static/root/assets/voice-api-key-field-BB_ZQV8F.js +1 -0
- package/dist/gateway/static/root/assets/voice-config-api-BNiYmpl5.js +1 -0
- package/dist/gateway/static/root/assets/{work-discovery-overlay-CKIdPEen.js → work-discovery-overlay-BrIdtdum.js} +1 -1
- package/dist/gateway/static/root/assets/{workflow-run-setup-panel-BK44Vm5W.js → workflow-run-setup-panel-hKh-uCLo.js} +2 -2
- package/dist/gateway/static/root/assets/workflows-page-ahDvypGO.js +5 -0
- package/dist/gateway/static/root/index.html +16 -16
- package/dist/package.js +1 -1
- package/dist/src/agent/agent-manager.d.ts +1 -2
- package/dist/src/agent/agent-manager.js +29 -44
- package/dist/src/agent/background-review/run-background-review.js +10 -15
- package/dist/src/agent/embedded/run-for-session.js +1 -1
- package/dist/src/agent/external-tools/mcp-provider.js +3 -13
- package/dist/src/agent/image/generation/runtime.js +1 -1
- package/dist/src/agent/image/tool-model-config.js +13 -14
- package/dist/src/agent/mcp/bundle-mcp-policy.d.ts +0 -9
- package/dist/src/agent/mcp/bundle-mcp-policy.js +1 -13
- package/dist/src/agent/mcp/bundle-mcp-runtime.js +1 -1
- package/dist/src/agent/mcp/index.js +2 -2
- package/dist/src/agent/media-generation/runtime-shared.d.ts +1 -1
- package/dist/src/agent/media-generation/runtime-shared.js +1 -1
- package/dist/src/agent/memory/create-memory-manager.js +1 -1
- package/dist/src/agent/memory/manager.d.ts +1 -1
- package/dist/src/{agent-runtime/memory-runtime.d.ts → agent/memory/runtime.d.ts} +1 -1
- package/dist/src/{agent-runtime/memory-runtime.js → agent/memory/runtime.js} +2 -3
- package/dist/src/agent/orchestration/agent-orchestrator.d.ts +0 -3
- package/dist/src/agent/orchestration/agent-orchestrator.js +1 -3
- package/dist/src/agent/orchestration/run-agent-turn-with-timeout.js +2 -2
- package/dist/src/agent/service.js +0 -1
- package/dist/src/agent/starter-agents.js +1 -8
- package/dist/src/agent/tools/executor.d.ts +1 -1
- package/dist/src/agent/tools/workflow-tool.js +1 -5
- package/dist/src/agent-config/index.d.ts +2 -0
- package/dist/src/agent-config/index.js +11 -0
- package/dist/src/agent-config/resolver.d.ts +11 -0
- package/dist/src/agent-config/resolver.js +113 -0
- package/dist/src/agent-config/schema.d.ts +491 -0
- package/dist/src/agent-config/schema.js +172 -0
- package/dist/src/chat-commands/builtins/config.js +2 -2
- package/dist/src/chat-commands/builtins/review.js +1 -1
- package/dist/src/chat-commands/config-paths.js +1 -1
- package/dist/src/cli/commands/agents.js +2 -1
- package/dist/src/cli/commands/config.js +1 -1
- package/dist/src/cli/commands/doctor/checks/database-schema.js +1 -1
- package/dist/src/cli/commands/doctor/checks/provider-auth.js +12 -4
- package/dist/src/cli/commands/image.js +3 -4
- package/dist/src/cli/commands/models.js +9 -3
- package/dist/src/cli/commands/onboard/model.js +12 -11
- package/dist/src/cli/commands/onboard.js +1 -1
- package/dist/src/cli/commands/tunnel.js +3 -18
- package/dist/src/cli/utils/init-workspace-core.d.ts +1 -1
- package/dist/src/cli/utils/init-workspace-core.js +1 -1
- package/dist/src/commands/agents.config.d.ts +1 -3
- package/dist/src/commands/agents.config.js +9 -26
- package/dist/src/config/agent-model-intents.d.ts +10 -0
- package/dist/src/config/agent-model-intents.js +39 -0
- package/dist/src/config/agent-profile.d.ts +7 -9
- package/dist/src/config/agent-profile.js +30 -28
- package/dist/src/config/default-model.d.ts +1 -11
- package/dist/src/config/default-model.js +3 -11
- package/dist/src/config/index.js +3 -3
- package/dist/src/config/integration.d.ts +1 -1
- package/dist/src/config/reload.js +1 -1
- package/dist/src/config/rules.js +3 -3
- package/dist/src/config/schema.d.ts +187 -452
- package/dist/src/config/schema.js +53 -131
- package/dist/src/extensions/activation-context.js +7 -11
- package/dist/src/gateway/agent-builtin-tools.d.ts +250 -6
- package/dist/src/gateway/agent-builtin-tools.js +284 -46
- package/dist/src/gateway/agents-admin.d.ts +20 -62
- package/dist/src/gateway/agents-admin.js +36 -228
- package/dist/src/gateway/device-routes.d.ts +3 -0
- package/dist/src/gateway/device-routes.js +47 -0
- package/dist/src/gateway/global-defaults-admin.d.ts +6 -20
- package/dist/src/gateway/global-defaults-admin.js +20 -120
- package/dist/src/gateway/hono/app.js +4 -2
- package/dist/src/gateway/hono/lib/config-payload.d.ts +54 -137
- package/dist/src/gateway/hono/lib/config-payload.js +2 -4
- package/dist/src/gateway/hono/middleware/auth.js +33 -1
- package/dist/src/gateway/hono/middleware/scopes.d.ts +2 -12
- package/dist/src/gateway/hono/middleware/scopes.js +9 -18
- package/dist/src/gateway/hono/routes/agents.js +64 -100
- package/dist/src/gateway/hono/routes/connectors.js +1 -1
- package/dist/src/gateway/hono/routes/device-push.d.ts +2 -0
- package/dist/src/gateway/hono/routes/{mobile.js → device-push.js} +40 -18
- package/dist/src/gateway/hono/routes/devices.d.ts +4 -0
- package/dist/src/gateway/hono/routes/devices.js +214 -0
- package/dist/src/gateway/hono/routes/files.js +5 -1
- package/dist/src/gateway/hono/routes/global-defaults.js +5 -9
- package/dist/src/gateway/hono/routes/index.js +4 -2
- package/dist/src/gateway/hono/routes/lazy-bundles.js +4 -20
- package/dist/src/gateway/hono/routes/models.js +2 -2
- package/dist/src/gateway/hono/routes/realtime.js +8 -1
- package/dist/src/gateway/hono/routes/status.js +9 -16
- package/dist/src/gateway/hono/routes/tunnel.d.ts +0 -2
- package/dist/src/gateway/hono/routes/tunnel.js +10 -199
- package/dist/src/gateway/image-generation-setup.d.ts +2 -2
- package/dist/src/gateway/image-generation-setup.js +8 -7
- package/dist/src/gateway/public-url.d.ts +1 -1
- package/dist/src/gateway/security/gateway-principal.d.ts +11 -0
- package/dist/src/gateway/security/gateway-principal.js +12 -0
- package/dist/src/gateway/security/gateway-scopes.d.ts +7 -0
- package/dist/src/gateway/security/gateway-scopes.js +66 -0
- package/dist/src/gateway/security/index.d.ts +2 -1
- package/dist/src/gateway/security/index.js +3 -2
- package/dist/src/gateway/service.js +7 -7
- package/dist/src/gateway/xopc-cloud-capability-setup.js +19 -21
- package/dist/src/migrations/index.d.ts +0 -1
- package/dist/src/migrations/index.js +1 -2
- package/dist/src/migrations/runner.js +1 -2
- package/dist/src/notifications/device-store.d.ts +1 -1
- package/dist/src/notifications/device-store.js +11 -11
- package/dist/src/notifications/store.js +3 -3
- package/dist/src/providers/index.js +1 -1
- package/dist/src/providers/model-reference-auditor.js +14 -9
- package/dist/src/realtime/runtime.d.ts +2 -0
- package/dist/src/realtime/runtime.js +27 -3
- package/dist/src/realtime/tickets.d.ts +6 -1
- package/dist/src/realtime/tickets.js +2 -1
- package/dist/src/remote-access/exposure-manager.js +3 -3
- package/dist/src/share/share-url.js +2 -2
- package/dist/src/storage/sqlite/device-access-repository.d.ts +54 -0
- package/dist/src/storage/sqlite/device-access-repository.js +194 -0
- package/dist/src/storage/sqlite/device-pairing-repository.d.ts +22 -0
- package/dist/src/storage/sqlite/device-pairing-repository.js +86 -0
- package/dist/src/storage/sqlite/gateway-identity-repository.d.ts +10 -0
- package/dist/src/storage/sqlite/gateway-identity-repository.js +50 -0
- package/dist/src/storage/sqlite/index.d.ts +3 -0
- package/dist/src/storage/sqlite/index.js +4 -1
- package/dist/src/storage/sqlite/migrations/138_device_access.sql +96 -0
- package/dist/src/storage/sqlite/migrations/runner.d.ts +1 -1
- package/dist/src/storage/sqlite/migrations/runner.js +3 -3
- package/dist/src/storage/sqlite/migrations/runner.ts +1 -1
- package/dist/src/storage/sqlite/schema.js +1 -1
- package/dist/src/tunnel/consent.d.ts +1 -1
- package/dist/src/tunnel/consent.js +1 -1
- package/dist/src/tunnel/gateway-lifecycle.js +1 -1
- package/dist/src/tunnel/index.d.ts +1 -4
- package/dist/src/tunnel/index.js +3 -5
- package/dist/src/tunnel/tunnel-audit.d.ts +1 -1
- package/dist/src/tunnel/tunnel-config.js +1 -1
- package/dist/src/tunnel/tunnel-service.d.ts +2 -3
- package/dist/src/tunnel/tunnel-service.js +1 -20
- package/dist/src/tunnel/tunnel-types.d.ts +0 -6
- package/dist/src/workflows/draft/workflow-draft-service.js +2 -2
- package/dist/src/workflows/service/workflow-run-service.js +3 -3
- package/package.json +3 -3
- package/dist/gateway/static/root/assets/agent-avatar-dicebear-CBqUnlvL.js +0 -1
- package/dist/gateway/static/root/assets/agents-7YO6znTT.js +0 -68
- package/dist/gateway/static/root/assets/api-BywYxpaS.js +0 -1
- package/dist/gateway/static/root/assets/automations-workspace-BpvD54D6.js +0 -6
- package/dist/gateway/static/root/assets/browser-settings-page-CeESA4Oj.js +0 -8
- package/dist/gateway/static/root/assets/browser-workflow-inputs-8NC2qDRF.js +0 -1
- package/dist/gateway/static/root/assets/capabilities-settings-panel-B_OXTojB.js +0 -7
- package/dist/gateway/static/root/assets/capability-presets-api-o0y9WgAI.js +0 -1
- package/dist/gateway/static/root/assets/capability-presets-settings-panel-D5nZecxV.js +0 -3
- package/dist/gateway/static/root/assets/channels-settings-BzmnWx6X.js +0 -1
- package/dist/gateway/static/root/assets/channels-status-swr-38FsOnR0.js +0 -1
- package/dist/gateway/static/root/assets/connectors-page-DX6OkwFQ.js +0 -2
- package/dist/gateway/static/root/assets/cron-expression-DYSMZsms.js +0 -2
- package/dist/gateway/static/root/assets/date-picker-DGCfX4tK.js +0 -1
- package/dist/gateway/static/root/assets/dependency-picker-DHDa4ht1.js +0 -1
- package/dist/gateway/static/root/assets/directory-picker-path-field-B9qoxDcn.js +0 -1
- package/dist/gateway/static/root/assets/dist-J_ySZvz0.js +0 -1
- package/dist/gateway/static/root/assets/extension-settings-page-eP3fJ2M6.js +0 -1
- package/dist/gateway/static/root/assets/file-code-corner-byQA1VfD.js +0 -1
- package/dist/gateway/static/root/assets/gateway-config-swr-BWGjnmDl.js +0 -1
- package/dist/gateway/static/root/assets/gateway-settings-DKkEXXj9.js +0 -1
- package/dist/gateway/static/root/assets/heartbeat-settings-DlBPNubY.js +0 -1
- package/dist/gateway/static/root/assets/home-page-BnOrLRfs.js +0 -1
- package/dist/gateway/static/root/assets/html-workspace-editor-bXK5tq64.js +0 -1
- package/dist/gateway/static/root/assets/index-0xQO5B_Q.js +0 -70
- package/dist/gateway/static/root/assets/index-CCyIdGuQ.css +0 -2
- package/dist/gateway/static/root/assets/local-app-workbench-page-Ch1rdUo8.js +0 -2
- package/dist/gateway/static/root/assets/locale-store-CXhjfe4q.js +0 -1
- package/dist/gateway/static/root/assets/logs-page-zxx2ExlY.js +0 -2
- package/dist/gateway/static/root/assets/management-settings-BQaeyOYm.js +0 -1
- package/dist/gateway/static/root/assets/markdown-editor-TWGaF7Xa.js +0 -2
- package/dist/gateway/static/root/assets/markdown-split-D9tmIiEm.js +0 -1
- package/dist/gateway/static/root/assets/messages-BMdD0LWk.js +0 -3
- package/dist/gateway/static/root/assets/notes-workbench-9cgh77VH.js +0 -4
- package/dist/gateway/static/root/assets/popover-select-CccGri5Y.js +0 -1
- package/dist/gateway/static/root/assets/project-detail-page-hf6pmH4p.js +0 -1
- package/dist/gateway/static/root/assets/projects-page-By2U-Wdh.js +0 -1
- package/dist/gateway/static/root/assets/remote-access-hub-CUcpp7CQ.js +0 -1
- package/dist/gateway/static/root/assets/sessions-page-ByI82xS1.js +0 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-BCoI5IJ8.js +0 -1
- package/dist/gateway/static/root/assets/settings-loading-skeleton-y53gEKsF.js +0 -1
- package/dist/gateway/static/root/assets/settings-page-BoE_tToG.js +0 -1
- package/dist/gateway/static/root/assets/setup-status-panel-BQmyb5KC.js +0 -1
- package/dist/gateway/static/root/assets/shares-settings-Bf3VpZ-R.js +0 -1
- package/dist/gateway/static/root/assets/skill-reload-api-CXHlbuGS.js +0 -1
- package/dist/gateway/static/root/assets/task-detail-page-Bo0KSZ2v.js +0 -1
- package/dist/gateway/static/root/assets/typed-models-lib-q5-Vfqd8.js +0 -1
- package/dist/gateway/static/root/assets/user-context-page-Cnj7gMX2.js +0 -1
- package/dist/gateway/static/root/assets/voice-api-key-field-BML8zCwZ.js +0 -1
- package/dist/gateway/static/root/assets/workflows-page-CB98MTwG.js +0 -5
- package/dist/src/agent-manifest/index.d.ts +0 -5
- package/dist/src/agent-manifest/index.js +0 -10
- package/dist/src/agent-manifest/preset-chain.d.ts +0 -10
- package/dist/src/agent-manifest/preset-chain.js +0 -30
- package/dist/src/agent-manifest/prompt.d.ts +0 -2
- package/dist/src/agent-manifest/prompt.js +0 -49
- package/dist/src/agent-manifest/resolver.d.ts +0 -32
- package/dist/src/agent-manifest/resolver.js +0 -114
- package/dist/src/agent-manifest/schema.d.ts +0 -695
- package/dist/src/agent-manifest/schema.js +0 -226
- package/dist/src/agent-manifest/validator.d.ts +0 -25
- package/dist/src/agent-manifest/validator.js +0 -74
- package/dist/src/agent-runtime/boundary-guard.d.ts +0 -12
- package/dist/src/agent-runtime/boundary-guard.js +0 -21
- package/dist/src/agent-runtime/index.d.ts +0 -7
- package/dist/src/agent-runtime/index.js +0 -8
- package/dist/src/agent-runtime/model-router.d.ts +0 -11
- package/dist/src/agent-runtime/model-router.js +0 -14
- package/dist/src/agent-runtime/run-trace.d.ts +0 -27
- package/dist/src/agent-runtime/run-trace.js +0 -51
- package/dist/src/agent-runtime/runtime-profile.d.ts +0 -26
- package/dist/src/agent-runtime/runtime-profile.js +0 -42
- package/dist/src/agent-runtime/tool-registry.d.ts +0 -28
- package/dist/src/agent-runtime/tool-registry.js +0 -50
- package/dist/src/agent-runtime/workflow-runtime.d.ts +0 -31
- package/dist/src/agent-runtime/workflow-runtime.js +0 -32
- package/dist/src/config/agent-typed-models.d.ts +0 -13
- package/dist/src/config/agent-typed-models.js +0 -48
- package/dist/src/gateway/capability-presets-admin.d.ts +0 -88
- package/dist/src/gateway/capability-presets-admin.js +0 -303
- package/dist/src/gateway/hono/lib/agent-model.d.ts +0 -35
- package/dist/src/gateway/hono/lib/agent-model.js +0 -97
- package/dist/src/gateway/hono/routes/capability-presets.d.ts +0 -3
- package/dist/src/gateway/hono/routes/capability-presets.js +0 -187
- package/dist/src/gateway/hono/routes/mobile.d.ts +0 -3
- package/dist/src/gateway/security/operator-scopes.d.ts +0 -37
- package/dist/src/gateway/security/operator-scopes.js +0 -147
- package/dist/src/migrations/config/default-capability-preset.d.ts +0 -10
- package/dist/src/migrations/config/default-capability-preset.js +0 -133
- package/dist/src/tunnel/enable-lan-pairing.d.ts +0 -8
- package/dist/src/tunnel/enable-lan-pairing.js +0 -41
- package/dist/src/tunnel/pair-context.d.ts +0 -36
- package/dist/src/tunnel/pair-context.js +0 -77
- package/dist/src/tunnel/pair-url.d.ts +0 -43
- package/dist/src/tunnel/pair-url.js +0 -117
- package/dist/src/tunnel/pairing-rate-limit.d.ts +0 -12
- package/dist/src/tunnel/pairing-rate-limit.js +0 -28
- package/dist/src/tunnel/pairing.d.ts +0 -21
- package/dist/src/tunnel/pairing.js +0 -103
- package/dist/src/tunnel/tunnel-qr.d.ts +0 -9
- package/dist/src/tunnel/tunnel-qr.js +0 -29
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { type AgentModelsOverride } from '../agent-config/index.js';
|
|
2
3
|
/**
|
|
3
4
|
* Agent model ref. Always an object with explicit `primary` and optional
|
|
4
5
|
* `fallbacks` chain. No string-form shorthand — every write site builds the
|
|
@@ -6,7 +7,7 @@ import { z } from 'zod';
|
|
|
6
7
|
*/
|
|
7
8
|
export declare const AgentModelRefSchema: z.ZodObject<{
|
|
8
9
|
primary: z.ZodString;
|
|
9
|
-
fallbacks: z.
|
|
10
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10
11
|
}, z.core.$strict>;
|
|
11
12
|
export type AgentModelConfig = z.infer<typeof AgentModelRefSchema>;
|
|
12
13
|
/**
|
|
@@ -15,152 +16,90 @@ export type AgentModelConfig = z.infer<typeof AgentModelRefSchema>;
|
|
|
15
16
|
*/
|
|
16
17
|
export declare const AgentImageGenerationModelSchema: z.ZodObject<{
|
|
17
18
|
primary: z.ZodString;
|
|
18
|
-
fallbacks: z.
|
|
19
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
19
20
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
20
|
-
autoProviderFallback: z.
|
|
21
|
+
autoProviderFallback: z.ZodDefault<z.ZodBoolean>;
|
|
21
22
|
}, z.core.$strict>;
|
|
22
23
|
export type AgentImageGenerationModelConfig = z.infer<typeof AgentImageGenerationModelSchema>;
|
|
23
|
-
export declare const
|
|
24
|
-
|
|
25
|
-
model: z.ZodString;
|
|
26
|
-
fallbacks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
-
}, z.core.$strict>;
|
|
28
|
-
export type AgentTypedModelRole = z.infer<typeof AgentTypedModelRoleSchema>;
|
|
29
|
-
export declare const AgentModelsSchema: z.ZodOptional<z.ZodObject<{
|
|
30
|
-
defaultRole: z.ZodOptional<z.ZodString>;
|
|
31
|
-
roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
32
|
-
description: z.ZodOptional<z.ZodString>;
|
|
33
|
-
model: z.ZodString;
|
|
34
|
-
fallbacks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
|
-
}, z.core.$strict>>>;
|
|
36
|
-
imageModel: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
export declare const AgentModelsSchema: z.ZodObject<{
|
|
25
|
+
chat: z.ZodOptional<z.ZodObject<{
|
|
37
26
|
primary: z.ZodString;
|
|
38
|
-
fallbacks: z.
|
|
27
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
39
28
|
}, z.core.$strict>>;
|
|
40
|
-
|
|
29
|
+
intents: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
30
|
+
understanding: "understanding";
|
|
31
|
+
fast: "fast";
|
|
32
|
+
reasoning: "reasoning";
|
|
33
|
+
coding: "coding";
|
|
34
|
+
review: "review";
|
|
35
|
+
vision: "vision";
|
|
36
|
+
}> & z.core.$partial, z.ZodNullable<z.ZodObject<{
|
|
37
|
+
primary: z.ZodString;
|
|
38
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
39
|
+
}, z.core.$strict>>>>;
|
|
40
|
+
imageUnderstanding: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
|
+
primary: z.ZodString;
|
|
42
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
43
|
+
}, z.core.$strict>>>;
|
|
44
|
+
imageGeneration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
45
|
primary: z.ZodString;
|
|
42
|
-
fallbacks: z.
|
|
46
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
43
47
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
44
|
-
autoProviderFallback: z.
|
|
45
|
-
}, z.core.$strict
|
|
46
|
-
}, z.core.$strict
|
|
47
|
-
export type AgentModelsConfig =
|
|
48
|
-
export type AgentTypedModel = AgentTypedModelRole & {
|
|
49
|
-
id: string;
|
|
50
|
-
};
|
|
48
|
+
autoProviderFallback: z.ZodDefault<z.ZodBoolean>;
|
|
49
|
+
}, z.core.$strict>>>;
|
|
50
|
+
}, z.core.$strict>;
|
|
51
|
+
export type AgentModelsConfig = AgentModelsOverride;
|
|
51
52
|
export declare const AgentsConfigSchema: z.ZodDefault<z.ZodObject<{
|
|
52
|
-
default: z.
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
53
|
+
default: z.ZodDefault<z.ZodString>;
|
|
54
|
+
defaults: z.ZodDefault<z.ZodObject<{
|
|
55
|
+
models: z.ZodObject<{
|
|
56
|
+
chat: z.ZodObject<{
|
|
57
|
+
primary: z.ZodString;
|
|
58
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
59
|
+
}, z.core.$strict>;
|
|
60
|
+
intents: z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
|
61
|
+
understanding: "understanding";
|
|
62
|
+
fast: "fast";
|
|
63
|
+
reasoning: "reasoning";
|
|
64
|
+
coding: "coding";
|
|
65
|
+
review: "review";
|
|
66
|
+
vision: "vision";
|
|
67
|
+
}> & z.core.$partial, z.ZodObject<{
|
|
68
|
+
primary: z.ZodString;
|
|
69
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
66
70
|
}, z.core.$strict>>>;
|
|
67
|
-
|
|
71
|
+
imageUnderstanding: z.ZodOptional<z.ZodObject<{
|
|
68
72
|
primary: z.ZodString;
|
|
69
|
-
fallbacks: z.
|
|
70
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
71
|
-
autoProviderFallback: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
72
74
|
}, z.core.$strict>>;
|
|
73
|
-
|
|
75
|
+
imageGeneration: z.ZodOptional<z.ZodObject<{
|
|
74
76
|
primary: z.ZodString;
|
|
75
|
-
fallbacks: z.
|
|
77
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
76
78
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
77
|
-
autoProviderFallback: z.
|
|
78
|
-
}, z.core.$strict>>;
|
|
79
|
-
policy: z.ZodOptional<z.ZodObject<{
|
|
80
|
-
allowFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
81
|
-
maxCostTier: z.ZodOptional<z.ZodEnum<{
|
|
82
|
-
low: "low";
|
|
83
|
-
high: "high";
|
|
84
|
-
medium: "medium";
|
|
85
|
-
}>>;
|
|
86
|
-
}, z.core.$strict>>;
|
|
87
|
-
}, z.core.$strict>>;
|
|
88
|
-
tools: z.ZodOptional<z.ZodObject<{
|
|
89
|
-
builtin: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
90
|
-
mode: z.ZodEnum<{
|
|
91
|
-
allow: "allow";
|
|
92
|
-
deny: "deny";
|
|
93
|
-
confirm: "confirm";
|
|
94
|
-
}>;
|
|
95
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
96
|
-
workspace: "workspace";
|
|
97
|
-
readonly: "readonly";
|
|
98
|
-
unrestricted: "unrestricted";
|
|
99
|
-
}>>;
|
|
100
|
-
limits: z.ZodOptional<z.ZodObject<{
|
|
101
|
-
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
102
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
103
|
-
}, z.core.$strict>>;
|
|
104
|
-
}, z.core.$strict>>>;
|
|
105
|
-
mcp: z.ZodOptional<z.ZodObject<{
|
|
106
|
-
servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
107
|
-
mode: z.ZodEnum<{
|
|
108
|
-
allow: "allow";
|
|
109
|
-
deny: "deny";
|
|
110
|
-
confirm: "confirm";
|
|
111
|
-
}>;
|
|
112
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
113
|
-
workspace: "workspace";
|
|
114
|
-
readonly: "readonly";
|
|
115
|
-
unrestricted: "unrestricted";
|
|
116
|
-
}>>;
|
|
117
|
-
limits: z.ZodOptional<z.ZodObject<{
|
|
118
|
-
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
119
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
120
|
-
}, z.core.$strict>>;
|
|
121
|
-
}, z.core.$strict>>>;
|
|
122
|
-
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
123
|
-
mode: z.ZodEnum<{
|
|
124
|
-
allow: "allow";
|
|
125
|
-
deny: "deny";
|
|
126
|
-
confirm: "confirm";
|
|
127
|
-
}>;
|
|
128
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
129
|
-
workspace: "workspace";
|
|
130
|
-
readonly: "readonly";
|
|
131
|
-
unrestricted: "unrestricted";
|
|
132
|
-
}>>;
|
|
133
|
-
limits: z.ZodOptional<z.ZodObject<{
|
|
134
|
-
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
135
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
136
|
-
}, z.core.$strict>>;
|
|
137
|
-
}, z.core.$strict>>>;
|
|
79
|
+
autoProviderFallback: z.ZodDefault<z.ZodBoolean>;
|
|
138
80
|
}, z.core.$strict>>;
|
|
139
|
-
}, z.core.$strict
|
|
140
|
-
skills: z.
|
|
81
|
+
}, z.core.$strict>;
|
|
82
|
+
skills: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
83
|
+
mode: z.ZodLiteral<"all-enabled">;
|
|
84
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
85
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
86
|
+
mode: z.ZodLiteral<"selected">;
|
|
87
|
+
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
88
|
+
}, z.core.$strict>], "mode">>;
|
|
89
|
+
tools: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
141
90
|
mode: z.ZodEnum<{
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
denylist: "denylist";
|
|
91
|
+
allow: "allow";
|
|
92
|
+
deny: "deny";
|
|
93
|
+
ask: "ask";
|
|
146
94
|
}>;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}, z.core.$strict
|
|
150
|
-
workflows: z.
|
|
95
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
}, z.core.$strict>>>;
|
|
98
|
+
workflows: z.ZodDefault<z.ZodObject<{
|
|
151
99
|
default: z.ZodOptional<z.ZodString>;
|
|
152
100
|
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
153
|
-
suggested: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
154
|
-
intent: z.ZodString;
|
|
155
|
-
workflow: z.ZodString;
|
|
156
|
-
}, z.core.$strict>>>;
|
|
157
|
-
}, z.core.$strict>>;
|
|
158
|
-
boundaries: z.ZodOptional<z.ZodObject<{
|
|
159
|
-
requiresConfirmation: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
160
|
-
forbidden: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
161
|
-
escalation: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
162
101
|
}, z.core.$strict>>;
|
|
163
|
-
runtime: z.
|
|
102
|
+
runtime: z.ZodDefault<z.ZodObject<{
|
|
164
103
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
165
104
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
166
105
|
maxToolFailuresPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
@@ -175,130 +114,62 @@ export declare const AgentsConfigSchema: z.ZodDefault<z.ZodObject<{
|
|
|
175
114
|
}>>;
|
|
176
115
|
}, z.core.$strict>>;
|
|
177
116
|
}, z.core.$strict>>;
|
|
178
|
-
|
|
179
|
-
}, z.core.$strict>>>;
|
|
117
|
+
}, z.core.$strict>>;
|
|
180
118
|
list: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
181
119
|
id: z.ZodString;
|
|
182
120
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
183
|
-
|
|
184
|
-
|
|
121
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
122
|
+
profile: z.ZodOptional<z.ZodObject<{
|
|
185
123
|
name: z.ZodString;
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
language: z.ZodDefault<z.ZodString>;
|
|
189
|
-
tone: z.ZodDefault<z.ZodString>;
|
|
190
|
-
avatar: z.ZodOptional<z.ZodString>;
|
|
191
|
-
}, z.core.$strict>;
|
|
192
|
-
responsibilities: z.ZodObject<{
|
|
193
|
-
primary: z.ZodArray<z.ZodString>;
|
|
194
|
-
secondary: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
195
|
-
outOfScope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
196
|
-
}, z.core.$strict>;
|
|
197
|
-
workspace: z.ZodObject<{
|
|
198
|
-
root: z.ZodString;
|
|
199
|
-
}, z.core.$strict>;
|
|
124
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
125
|
+
}, z.core.$strict>>;
|
|
200
126
|
models: z.ZodOptional<z.ZodObject<{
|
|
201
|
-
|
|
202
|
-
roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
203
|
-
model: z.ZodString;
|
|
204
|
-
fallbacks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
205
|
-
description: z.ZodOptional<z.ZodString>;
|
|
206
|
-
}, z.core.$strict>>>;
|
|
207
|
-
imageModel: z.ZodOptional<z.ZodObject<{
|
|
127
|
+
chat: z.ZodOptional<z.ZodObject<{
|
|
208
128
|
primary: z.ZodString;
|
|
209
|
-
fallbacks: z.
|
|
210
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
211
|
-
autoProviderFallback: z.ZodOptional<z.ZodBoolean>;
|
|
129
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
212
130
|
}, z.core.$strict>>;
|
|
213
|
-
|
|
131
|
+
intents: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
132
|
+
understanding: "understanding";
|
|
133
|
+
fast: "fast";
|
|
134
|
+
reasoning: "reasoning";
|
|
135
|
+
coding: "coding";
|
|
136
|
+
review: "review";
|
|
137
|
+
vision: "vision";
|
|
138
|
+
}> & z.core.$partial, z.ZodNullable<z.ZodObject<{
|
|
139
|
+
primary: z.ZodString;
|
|
140
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
141
|
+
}, z.core.$strict>>>>;
|
|
142
|
+
imageUnderstanding: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
214
143
|
primary: z.ZodString;
|
|
215
|
-
fallbacks: z.
|
|
144
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
145
|
+
}, z.core.$strict>>>;
|
|
146
|
+
imageGeneration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
147
|
+
primary: z.ZodString;
|
|
148
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
216
149
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
217
|
-
autoProviderFallback: z.
|
|
218
|
-
}, z.core.$strict>>;
|
|
219
|
-
policy: z.ZodOptional<z.ZodObject<{
|
|
220
|
-
allowFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
-
maxCostTier: z.ZodOptional<z.ZodEnum<{
|
|
222
|
-
low: "low";
|
|
223
|
-
high: "high";
|
|
224
|
-
medium: "medium";
|
|
225
|
-
}>>;
|
|
226
|
-
}, z.core.$strict>>;
|
|
227
|
-
}, z.core.$strict>>;
|
|
228
|
-
tools: z.ZodOptional<z.ZodObject<{
|
|
229
|
-
builtin: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
230
|
-
mode: z.ZodEnum<{
|
|
231
|
-
allow: "allow";
|
|
232
|
-
deny: "deny";
|
|
233
|
-
confirm: "confirm";
|
|
234
|
-
}>;
|
|
235
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
236
|
-
workspace: "workspace";
|
|
237
|
-
readonly: "readonly";
|
|
238
|
-
unrestricted: "unrestricted";
|
|
239
|
-
}>>;
|
|
240
|
-
limits: z.ZodOptional<z.ZodObject<{
|
|
241
|
-
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
242
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
243
|
-
}, z.core.$strict>>;
|
|
150
|
+
autoProviderFallback: z.ZodDefault<z.ZodBoolean>;
|
|
244
151
|
}, z.core.$strict>>>;
|
|
245
|
-
mcp: z.ZodOptional<z.ZodObject<{
|
|
246
|
-
servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
247
|
-
mode: z.ZodEnum<{
|
|
248
|
-
allow: "allow";
|
|
249
|
-
deny: "deny";
|
|
250
|
-
confirm: "confirm";
|
|
251
|
-
}>;
|
|
252
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
253
|
-
workspace: "workspace";
|
|
254
|
-
readonly: "readonly";
|
|
255
|
-
unrestricted: "unrestricted";
|
|
256
|
-
}>>;
|
|
257
|
-
limits: z.ZodOptional<z.ZodObject<{
|
|
258
|
-
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
259
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
260
|
-
}, z.core.$strict>>;
|
|
261
|
-
}, z.core.$strict>>>;
|
|
262
|
-
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
263
|
-
mode: z.ZodEnum<{
|
|
264
|
-
allow: "allow";
|
|
265
|
-
deny: "deny";
|
|
266
|
-
confirm: "confirm";
|
|
267
|
-
}>;
|
|
268
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
269
|
-
workspace: "workspace";
|
|
270
|
-
readonly: "readonly";
|
|
271
|
-
unrestricted: "unrestricted";
|
|
272
|
-
}>>;
|
|
273
|
-
limits: z.ZodOptional<z.ZodObject<{
|
|
274
|
-
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
275
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
276
|
-
}, z.core.$strict>>;
|
|
277
|
-
}, z.core.$strict>>>;
|
|
278
|
-
}, z.core.$strict>>;
|
|
279
152
|
}, z.core.$strict>>;
|
|
280
|
-
skills: z.ZodOptional<z.ZodObject<{
|
|
153
|
+
skills: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
154
|
+
mode: z.ZodLiteral<"merge">;
|
|
155
|
+
add: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
156
|
+
remove: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
157
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
158
|
+
mode: z.ZodLiteral<"replace">;
|
|
159
|
+
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
160
|
+
}, z.core.$strict>], "mode">>;
|
|
161
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
281
162
|
mode: z.ZodEnum<{
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
denylist: "denylist";
|
|
163
|
+
allow: "allow";
|
|
164
|
+
deny: "deny";
|
|
165
|
+
ask: "ask";
|
|
286
166
|
}>;
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
}, z.core.$strict
|
|
167
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
168
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
169
|
+
}, z.core.$strict>>>;
|
|
290
170
|
workflows: z.ZodOptional<z.ZodObject<{
|
|
291
171
|
default: z.ZodOptional<z.ZodString>;
|
|
292
172
|
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
293
|
-
suggested: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
294
|
-
intent: z.ZodString;
|
|
295
|
-
workflow: z.ZodString;
|
|
296
|
-
}, z.core.$strict>>>;
|
|
297
|
-
}, z.core.$strict>>;
|
|
298
|
-
boundaries: z.ZodOptional<z.ZodObject<{
|
|
299
|
-
requiresConfirmation: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
300
|
-
forbidden: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
301
|
-
escalation: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
302
173
|
}, z.core.$strict>>;
|
|
303
174
|
runtime: z.ZodOptional<z.ZodObject<{
|
|
304
175
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
@@ -315,9 +186,6 @@ export declare const AgentsConfigSchema: z.ZodDefault<z.ZodObject<{
|
|
|
315
186
|
}>>;
|
|
316
187
|
}, z.core.$strict>>;
|
|
317
188
|
}, z.core.$strict>>;
|
|
318
|
-
prompt: z.ZodOptional<z.ZodObject<{
|
|
319
|
-
customInstructions: z.ZodOptional<z.ZodString>;
|
|
320
|
-
}, z.core.$strict>>;
|
|
321
189
|
}, z.core.$strict>>>;
|
|
322
190
|
}, z.core.$strict>>;
|
|
323
191
|
export declare const BrowserConfigSchema: z.ZodDefault<z.ZodObject<{
|
|
@@ -836,7 +704,7 @@ export declare const TunnelConfigSchema: z.ZodDefault<z.ZodObject<{
|
|
|
836
704
|
export type TunnelConfig = z.infer<typeof TunnelConfigSchema>;
|
|
837
705
|
/**
|
|
838
706
|
* Workspace-scoped concerns (file import, etc.). Distinct from
|
|
839
|
-
* agent
|
|
707
|
+
* per-agent workspace paths; this block carries
|
|
840
708
|
* feature configuration for workspace-related routes.
|
|
841
709
|
*/
|
|
842
710
|
export declare const WorkspaceImportConfigSchema: z.ZodObject<{
|
|
@@ -1621,118 +1489,56 @@ export declare const ConfigSchema: z.ZodDefault<z.ZodObject<{
|
|
|
1621
1489
|
}, z.core.$strict>>;
|
|
1622
1490
|
}, z.core.$strict>>;
|
|
1623
1491
|
agents: z.ZodDefault<z.ZodObject<{
|
|
1624
|
-
default: z.
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1492
|
+
default: z.ZodDefault<z.ZodString>;
|
|
1493
|
+
defaults: z.ZodDefault<z.ZodObject<{
|
|
1494
|
+
models: z.ZodObject<{
|
|
1495
|
+
chat: z.ZodObject<{
|
|
1496
|
+
primary: z.ZodString;
|
|
1497
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1498
|
+
}, z.core.$strict>;
|
|
1499
|
+
intents: z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
|
1500
|
+
understanding: "understanding";
|
|
1501
|
+
fast: "fast";
|
|
1502
|
+
reasoning: "reasoning";
|
|
1503
|
+
coding: "coding";
|
|
1504
|
+
review: "review";
|
|
1505
|
+
vision: "vision";
|
|
1506
|
+
}> & z.core.$partial, z.ZodObject<{
|
|
1507
|
+
primary: z.ZodString;
|
|
1508
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1638
1509
|
}, z.core.$strict>>>;
|
|
1639
|
-
|
|
1510
|
+
imageUnderstanding: z.ZodOptional<z.ZodObject<{
|
|
1640
1511
|
primary: z.ZodString;
|
|
1641
|
-
fallbacks: z.
|
|
1642
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1643
|
-
autoProviderFallback: z.ZodOptional<z.ZodBoolean>;
|
|
1512
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1644
1513
|
}, z.core.$strict>>;
|
|
1645
|
-
|
|
1514
|
+
imageGeneration: z.ZodOptional<z.ZodObject<{
|
|
1646
1515
|
primary: z.ZodString;
|
|
1647
|
-
fallbacks: z.
|
|
1516
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1648
1517
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1649
|
-
autoProviderFallback: z.
|
|
1650
|
-
}, z.core.$strict>>;
|
|
1651
|
-
policy: z.ZodOptional<z.ZodObject<{
|
|
1652
|
-
allowFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
1653
|
-
maxCostTier: z.ZodOptional<z.ZodEnum<{
|
|
1654
|
-
low: "low";
|
|
1655
|
-
high: "high";
|
|
1656
|
-
medium: "medium";
|
|
1657
|
-
}>>;
|
|
1518
|
+
autoProviderFallback: z.ZodDefault<z.ZodBoolean>;
|
|
1658
1519
|
}, z.core.$strict>>;
|
|
1659
|
-
}, z.core.$strict
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
workspace: "workspace";
|
|
1669
|
-
readonly: "readonly";
|
|
1670
|
-
unrestricted: "unrestricted";
|
|
1671
|
-
}>>;
|
|
1672
|
-
limits: z.ZodOptional<z.ZodObject<{
|
|
1673
|
-
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
1674
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1675
|
-
}, z.core.$strict>>;
|
|
1676
|
-
}, z.core.$strict>>>;
|
|
1677
|
-
mcp: z.ZodOptional<z.ZodObject<{
|
|
1678
|
-
servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1679
|
-
mode: z.ZodEnum<{
|
|
1680
|
-
allow: "allow";
|
|
1681
|
-
deny: "deny";
|
|
1682
|
-
confirm: "confirm";
|
|
1683
|
-
}>;
|
|
1684
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
1685
|
-
workspace: "workspace";
|
|
1686
|
-
readonly: "readonly";
|
|
1687
|
-
unrestricted: "unrestricted";
|
|
1688
|
-
}>>;
|
|
1689
|
-
limits: z.ZodOptional<z.ZodObject<{
|
|
1690
|
-
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
1691
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1692
|
-
}, z.core.$strict>>;
|
|
1693
|
-
}, z.core.$strict>>>;
|
|
1694
|
-
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1695
|
-
mode: z.ZodEnum<{
|
|
1696
|
-
allow: "allow";
|
|
1697
|
-
deny: "deny";
|
|
1698
|
-
confirm: "confirm";
|
|
1699
|
-
}>;
|
|
1700
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
1701
|
-
workspace: "workspace";
|
|
1702
|
-
readonly: "readonly";
|
|
1703
|
-
unrestricted: "unrestricted";
|
|
1704
|
-
}>>;
|
|
1705
|
-
limits: z.ZodOptional<z.ZodObject<{
|
|
1706
|
-
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
1707
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1708
|
-
}, z.core.$strict>>;
|
|
1709
|
-
}, z.core.$strict>>>;
|
|
1710
|
-
}, z.core.$strict>>;
|
|
1711
|
-
}, z.core.$strict>>;
|
|
1712
|
-
skills: z.ZodOptional<z.ZodObject<{
|
|
1520
|
+
}, z.core.$strict>;
|
|
1521
|
+
skills: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1522
|
+
mode: z.ZodLiteral<"all-enabled">;
|
|
1523
|
+
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1524
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1525
|
+
mode: z.ZodLiteral<"selected">;
|
|
1526
|
+
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1527
|
+
}, z.core.$strict>], "mode">>;
|
|
1528
|
+
tools: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1713
1529
|
mode: z.ZodEnum<{
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
denylist: "denylist";
|
|
1530
|
+
allow: "allow";
|
|
1531
|
+
deny: "deny";
|
|
1532
|
+
ask: "ask";
|
|
1718
1533
|
}>;
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
}, z.core.$strict
|
|
1722
|
-
workflows: z.
|
|
1534
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
1535
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1536
|
+
}, z.core.$strict>>>;
|
|
1537
|
+
workflows: z.ZodDefault<z.ZodObject<{
|
|
1723
1538
|
default: z.ZodOptional<z.ZodString>;
|
|
1724
1539
|
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1725
|
-
suggested: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1726
|
-
intent: z.ZodString;
|
|
1727
|
-
workflow: z.ZodString;
|
|
1728
|
-
}, z.core.$strict>>>;
|
|
1729
|
-
}, z.core.$strict>>;
|
|
1730
|
-
boundaries: z.ZodOptional<z.ZodObject<{
|
|
1731
|
-
requiresConfirmation: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1732
|
-
forbidden: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1733
|
-
escalation: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1734
1540
|
}, z.core.$strict>>;
|
|
1735
|
-
runtime: z.
|
|
1541
|
+
runtime: z.ZodDefault<z.ZodObject<{
|
|
1736
1542
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
1737
1543
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1738
1544
|
maxToolFailuresPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1747,130 +1553,62 @@ export declare const ConfigSchema: z.ZodDefault<z.ZodObject<{
|
|
|
1747
1553
|
}>>;
|
|
1748
1554
|
}, z.core.$strict>>;
|
|
1749
1555
|
}, z.core.$strict>>;
|
|
1750
|
-
|
|
1751
|
-
}, z.core.$strict>>>;
|
|
1556
|
+
}, z.core.$strict>>;
|
|
1752
1557
|
list: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1753
1558
|
id: z.ZodString;
|
|
1754
1559
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1755
|
-
|
|
1756
|
-
|
|
1560
|
+
workspace: z.ZodOptional<z.ZodString>;
|
|
1561
|
+
profile: z.ZodOptional<z.ZodObject<{
|
|
1757
1562
|
name: z.ZodString;
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
language: z.ZodDefault<z.ZodString>;
|
|
1761
|
-
tone: z.ZodDefault<z.ZodString>;
|
|
1762
|
-
avatar: z.ZodOptional<z.ZodString>;
|
|
1763
|
-
}, z.core.$strict>;
|
|
1764
|
-
responsibilities: z.ZodObject<{
|
|
1765
|
-
primary: z.ZodArray<z.ZodString>;
|
|
1766
|
-
secondary: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1767
|
-
outOfScope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1768
|
-
}, z.core.$strict>;
|
|
1769
|
-
workspace: z.ZodObject<{
|
|
1770
|
-
root: z.ZodString;
|
|
1771
|
-
}, z.core.$strict>;
|
|
1563
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1564
|
+
}, z.core.$strict>>;
|
|
1772
1565
|
models: z.ZodOptional<z.ZodObject<{
|
|
1773
|
-
|
|
1774
|
-
roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1775
|
-
model: z.ZodString;
|
|
1776
|
-
fallbacks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1777
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1778
|
-
}, z.core.$strict>>>;
|
|
1779
|
-
imageModel: z.ZodOptional<z.ZodObject<{
|
|
1566
|
+
chat: z.ZodOptional<z.ZodObject<{
|
|
1780
1567
|
primary: z.ZodString;
|
|
1781
|
-
fallbacks: z.
|
|
1782
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1783
|
-
autoProviderFallback: z.ZodOptional<z.ZodBoolean>;
|
|
1568
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1784
1569
|
}, z.core.$strict>>;
|
|
1785
|
-
|
|
1570
|
+
intents: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1571
|
+
understanding: "understanding";
|
|
1572
|
+
fast: "fast";
|
|
1573
|
+
reasoning: "reasoning";
|
|
1574
|
+
coding: "coding";
|
|
1575
|
+
review: "review";
|
|
1576
|
+
vision: "vision";
|
|
1577
|
+
}> & z.core.$partial, z.ZodNullable<z.ZodObject<{
|
|
1786
1578
|
primary: z.ZodString;
|
|
1787
|
-
fallbacks: z.
|
|
1579
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1580
|
+
}, z.core.$strict>>>>;
|
|
1581
|
+
imageUnderstanding: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1582
|
+
primary: z.ZodString;
|
|
1583
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1584
|
+
}, z.core.$strict>>>;
|
|
1585
|
+
imageGeneration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1586
|
+
primary: z.ZodString;
|
|
1587
|
+
fallbacks: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1788
1588
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1789
|
-
autoProviderFallback: z.
|
|
1790
|
-
}, z.core.$strict>>;
|
|
1791
|
-
policy: z.ZodOptional<z.ZodObject<{
|
|
1792
|
-
allowFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
1793
|
-
maxCostTier: z.ZodOptional<z.ZodEnum<{
|
|
1794
|
-
low: "low";
|
|
1795
|
-
high: "high";
|
|
1796
|
-
medium: "medium";
|
|
1797
|
-
}>>;
|
|
1798
|
-
}, z.core.$strict>>;
|
|
1799
|
-
}, z.core.$strict>>;
|
|
1800
|
-
tools: z.ZodOptional<z.ZodObject<{
|
|
1801
|
-
builtin: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1802
|
-
mode: z.ZodEnum<{
|
|
1803
|
-
allow: "allow";
|
|
1804
|
-
deny: "deny";
|
|
1805
|
-
confirm: "confirm";
|
|
1806
|
-
}>;
|
|
1807
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
1808
|
-
workspace: "workspace";
|
|
1809
|
-
readonly: "readonly";
|
|
1810
|
-
unrestricted: "unrestricted";
|
|
1811
|
-
}>>;
|
|
1812
|
-
limits: z.ZodOptional<z.ZodObject<{
|
|
1813
|
-
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
1814
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1815
|
-
}, z.core.$strict>>;
|
|
1589
|
+
autoProviderFallback: z.ZodDefault<z.ZodBoolean>;
|
|
1816
1590
|
}, z.core.$strict>>>;
|
|
1817
|
-
mcp: z.ZodOptional<z.ZodObject<{
|
|
1818
|
-
servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1819
|
-
mode: z.ZodEnum<{
|
|
1820
|
-
allow: "allow";
|
|
1821
|
-
deny: "deny";
|
|
1822
|
-
confirm: "confirm";
|
|
1823
|
-
}>;
|
|
1824
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
1825
|
-
workspace: "workspace";
|
|
1826
|
-
readonly: "readonly";
|
|
1827
|
-
unrestricted: "unrestricted";
|
|
1828
|
-
}>>;
|
|
1829
|
-
limits: z.ZodOptional<z.ZodObject<{
|
|
1830
|
-
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
1831
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1832
|
-
}, z.core.$strict>>;
|
|
1833
|
-
}, z.core.$strict>>>;
|
|
1834
|
-
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1835
|
-
mode: z.ZodEnum<{
|
|
1836
|
-
allow: "allow";
|
|
1837
|
-
deny: "deny";
|
|
1838
|
-
confirm: "confirm";
|
|
1839
|
-
}>;
|
|
1840
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
1841
|
-
workspace: "workspace";
|
|
1842
|
-
readonly: "readonly";
|
|
1843
|
-
unrestricted: "unrestricted";
|
|
1844
|
-
}>>;
|
|
1845
|
-
limits: z.ZodOptional<z.ZodObject<{
|
|
1846
|
-
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
1847
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1848
|
-
}, z.core.$strict>>;
|
|
1849
|
-
}, z.core.$strict>>>;
|
|
1850
|
-
}, z.core.$strict>>;
|
|
1851
1591
|
}, z.core.$strict>>;
|
|
1852
|
-
skills: z.ZodOptional<z.ZodObject<{
|
|
1592
|
+
skills: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1593
|
+
mode: z.ZodLiteral<"merge">;
|
|
1594
|
+
add: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1595
|
+
remove: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1596
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1597
|
+
mode: z.ZodLiteral<"replace">;
|
|
1598
|
+
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1599
|
+
}, z.core.$strict>], "mode">>;
|
|
1600
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1853
1601
|
mode: z.ZodEnum<{
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
denylist: "denylist";
|
|
1602
|
+
allow: "allow";
|
|
1603
|
+
deny: "deny";
|
|
1604
|
+
ask: "ask";
|
|
1858
1605
|
}>;
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
}, z.core.$strict
|
|
1606
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
1607
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1608
|
+
}, z.core.$strict>>>;
|
|
1862
1609
|
workflows: z.ZodOptional<z.ZodObject<{
|
|
1863
1610
|
default: z.ZodOptional<z.ZodString>;
|
|
1864
1611
|
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1865
|
-
suggested: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1866
|
-
intent: z.ZodString;
|
|
1867
|
-
workflow: z.ZodString;
|
|
1868
|
-
}, z.core.$strict>>>;
|
|
1869
|
-
}, z.core.$strict>>;
|
|
1870
|
-
boundaries: z.ZodOptional<z.ZodObject<{
|
|
1871
|
-
requiresConfirmation: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1872
|
-
forbidden: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1873
|
-
escalation: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1874
1612
|
}, z.core.$strict>>;
|
|
1875
1613
|
runtime: z.ZodOptional<z.ZodObject<{
|
|
1876
1614
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1887,9 +1625,6 @@ export declare const ConfigSchema: z.ZodDefault<z.ZodObject<{
|
|
|
1887
1625
|
}>>;
|
|
1888
1626
|
}, z.core.$strict>>;
|
|
1889
1627
|
}, z.core.$strict>>;
|
|
1890
|
-
prompt: z.ZodOptional<z.ZodObject<{
|
|
1891
|
-
customInstructions: z.ZodOptional<z.ZodString>;
|
|
1892
|
-
}, z.core.$strict>>;
|
|
1893
1628
|
}, z.core.$strict>>>;
|
|
1894
1629
|
}, z.core.$strict>>;
|
|
1895
1630
|
bindings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|