@xopcai/xopc 0.0.116 → 0.0.118
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 +44 -28
- package/README.zh-CN.md +63 -45
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/extensions/demo-memory/src/index.d.ts +6 -0
- package/dist/extensions/demo-memory/src/index.js +132 -0
- package/dist/extensions/demo-memory/src/index.js.map +1 -0
- package/dist/extensions/demo-memory/xopc.extension.json +15 -0
- package/dist/extensions/feishu/src/outbound/media-load.js +1 -1
- package/dist/extensions/feishu/src/schema/config-schema.d.ts +3 -3
- package/dist/extensions/feishu/src/workflow-progress.js +1 -1
- package/dist/extensions/telegram/src/adapters/streaming-adapter.js +1 -1
- package/dist/extensions/telegram/src/command-handler.js +1 -2
- package/dist/extensions/telegram/src/command-handler.js.map +1 -1
- package/dist/extensions/telegram/src/config-schema.d.ts +8 -8
- package/dist/extensions/telegram/src/inbound-processor.js +1 -1
- package/dist/extensions/telegram/src/plugin.js +1 -1
- package/dist/extensions/telegram/src/routing-integration.js +2 -2
- package/dist/extensions/telegram/src/update-offset-store.js +1 -1
- package/dist/extensions/telegram/src/workflow-progress.js +1 -1
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/extensions/weixin/src/api/api.js +2 -2
- package/dist/extensions/weixin/src/auth/accounts.js +1 -1
- package/dist/extensions/weixin/src/cdn/upload.js +1 -1
- package/dist/extensions/weixin/src/config-schema.d.ts +3 -3
- package/dist/extensions/weixin/src/media/data-url.js +1 -1
- package/dist/extensions/weixin/src/messaging/debug-mode.js +1 -1
- package/dist/extensions/weixin/src/messaging/inbound.js +1 -1
- package/dist/extensions/weixin/src/messaging/process-message.js +1 -1
- package/dist/extensions/weixin/src/plugin.js +1 -1
- package/dist/extensions/weixin/src/storage/sync-buf.js +1 -1
- package/dist/extensions/weixin/src/workflow-progress.js +1 -1
- package/dist/gateway/static/root/assets/{agent-avatar-dicebear-CWM1UU5P.js → agent-avatar-dicebear-dzUrQoeZ.js} +1 -1
- package/dist/gateway/static/root/assets/agents-BCxZbkOw.js +2 -0
- package/dist/gateway/static/root/assets/{app-management-settings-panel-yXSXY_bu.js → app-management-settings-panel-bxYJVJpx.js} +1 -1
- package/dist/gateway/static/root/assets/{appearance-settings-DjY1P_ug.js → appearance-settings-BCIykXlI.js} +1 -1
- package/dist/gateway/static/root/assets/apps-page--wMEL00f.js +1 -0
- package/dist/gateway/static/root/assets/{archive-plugin-CytE5j-e.js → archive-plugin-Cki4SfU2.js} +1 -1
- package/dist/gateway/static/root/assets/{attachment-load-BvvrN6rF.js → attachment-load-D-KnS2Do.js} +1 -1
- package/dist/gateway/static/root/assets/{binary-plugins-IBWSitnj.js → binary-plugins-D2sgvJja.js} +1 -1
- package/dist/gateway/static/root/assets/{block-editor-C-wDpsf-.js → block-editor-DIq-4Gvb.js} +27 -27
- package/dist/gateway/static/root/assets/browser-settings-page-DRhKdn81.js +8 -0
- package/dist/gateway/static/root/assets/capability-presets-api-CorhiHlg.js +1 -0
- package/dist/gateway/static/root/assets/capability-presets-settings-panel-qFx9Jtce.js +1 -0
- package/dist/gateway/static/root/assets/channels-settings-BAwAkqIA.js +1 -0
- package/dist/gateway/static/root/assets/connectors-page-BQLcfitM.js +2 -0
- package/dist/gateway/static/root/assets/cron-api-qGwmL-24.js +1 -0
- package/dist/gateway/static/root/assets/cron-page-BBWMAj8-.js +3 -0
- package/dist/gateway/static/root/assets/dreaming-settings-Dw89Obml.js +1 -0
- package/dist/gateway/static/root/assets/{extension-debug-page-BAIyjDlq.js → extension-debug-page-DYu1KaFQ.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-DEhv2GpC.js → extension-page-B3W6QwlZ.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-settings-page-DOuAxTDW.js → extension-settings-page-D7VQ-cxE.js} +1 -1
- package/dist/gateway/static/root/assets/{fetch-CTsREQIe.js → fetch-B7xDPu-R.js} +1 -1
- package/dist/gateway/static/root/assets/{format-interval-label-D35Bfhtx.js → format-interval-label-BzxafKxR.js} +1 -1
- package/dist/gateway/static/root/assets/gateway-config-api-BTBLSeUu.js +1 -0
- package/dist/gateway/static/root/assets/gateway-settings-Cmwy58rS.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-startup-retry-C1KAHrd2.js → gateway-startup-retry-CYj9FWCp.js} +1 -1
- package/dist/gateway/static/root/assets/goal-detail-page-l7mu5GWX.js +1 -0
- package/dist/gateway/static/root/assets/{goals-config-api-KnLGpu6h.js → goals-config-api-CQQgzPr3.js} +1 -1
- package/dist/gateway/static/root/assets/goals-page-BHitvJAv.js +2 -0
- package/dist/gateway/static/root/assets/{goals-settings-DtPtqZi8.js → goals-settings-CYVY4NGp.js} +1 -1
- package/dist/gateway/static/root/assets/{heartbeat-config-api-uKw1f0IG.js → heartbeat-config-api-DriO_CN9.js} +1 -1
- package/dist/gateway/static/root/assets/heartbeat-settings-CUQTKxg7.js +1 -0
- package/dist/gateway/static/root/assets/index-C17Tsd_b.css +1 -0
- package/dist/gateway/static/root/assets/index-Cc41r16l.js +191 -0
- package/dist/gateway/static/root/assets/{interval-presets-Dq0FXJ65.js → interval-presets-DFPCKW_W.js} +1 -1
- package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-C9_t4m7t.js → keyboard-shortcuts-settings-CcVcqstx.js} +1 -1
- package/dist/gateway/static/root/assets/{logs-page-SNkWzidV.js → logs-page-C2Uqvae9.js} +2 -2
- package/dist/gateway/static/root/assets/{markdown-split-Ca87W8-h.js → markdown-split-BwOFrJ2E.js} +1 -1
- package/dist/gateway/static/root/assets/{media-plugins-BAcUjPRJ.js → media-plugins-Cnz6Q5G6.js} +1 -1
- package/dist/gateway/static/root/assets/messages-B1iSKjiw.js +3 -0
- package/dist/gateway/static/root/assets/models-hub-panel-BfLfcta8.js +2 -0
- package/dist/gateway/static/root/assets/note-detail-page-BjwOQBfT.js +2 -0
- package/dist/gateway/static/root/assets/{note-image-lightbox-hnSX5SSn.js → note-image-lightbox-B-Svpmza.js} +1 -1
- package/dist/gateway/static/root/assets/notes-page-DktdBiwB.js +1 -0
- package/dist/gateway/static/root/assets/{preview-open-alternatives-CNgM20H5.js → preview-open-alternatives-Bss4TiwP.js} +1 -1
- package/dist/gateway/static/root/assets/remote-access-hub-rfVx96fq.js +1 -0
- package/dist/gateway/static/root/assets/{save-bar-controls-CcdjGcfT.js → save-bar-controls-BRNjdgKq.js} +1 -1
- package/dist/gateway/static/root/assets/{schedule-field-CYr39z76.js → schedule-field-CUCKODde.js} +1 -1
- package/dist/gateway/static/root/assets/{schema-form-BRAJgZQ2.js → schema-form-Dub9sy8r.js} +1 -1
- package/dist/gateway/static/root/assets/sessions-page-DbtMFuuH.js +1 -0
- package/dist/gateway/static/root/assets/settings-advanced-gate-5re5gAnP.js +1 -0
- package/dist/gateway/static/root/assets/{settings-collapsible-section-BhzjeGWi.js → settings-collapsible-section-BeFLavGi.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-form-section-Cz3Pcr9b.js → settings-form-section-dmyaPOTG.js} +1 -1
- package/dist/gateway/static/root/assets/settings-page-D-WMyLlj.js +1 -0
- package/dist/gateway/static/root/assets/setup-status-panel-Cl-DEJAU.js +1 -0
- package/dist/gateway/static/root/assets/{share-preview-page-DL4y9K5e.js → share-preview-page-C8glrdqe.js} +1 -1
- package/dist/gateway/static/root/assets/shares-settings-CyPVvbLt.js +1 -0
- package/dist/gateway/static/root/assets/skill-reload-api-CleTH1oz.js +1 -0
- package/dist/gateway/static/root/assets/skills-page-Ck8hdXqR.js +2 -0
- package/dist/gateway/static/root/assets/{system-settings-panel-FD2jxRZ3.js → system-settings-panel-DI-LN_8G.js} +1 -1
- package/dist/gateway/static/root/assets/typed-models-lib-kX9duch4.js +1 -0
- package/dist/gateway/static/root/assets/{use-channel-catalog-BInPrfR5.js → use-channel-catalog-DqlWTsDb.js} +1 -1
- package/dist/gateway/static/root/assets/user-profile-settings-panel-B-UFPMXy.js +1 -0
- package/dist/gateway/static/root/assets/utils-Dm0hKalR.js +1 -0
- package/dist/gateway/static/root/assets/voice-api-key-field-C73IVZeC.js +1 -0
- package/dist/gateway/static/root/assets/{voice-player-store-1U3vFppm.js → voice-player-store-C_ArLJPM.js} +1 -1
- package/dist/gateway/static/root/assets/workflows-page-BtFGp2y_.js +18 -0
- package/dist/gateway/static/root/index.html +5 -5
- package/dist/package.js +1 -1
- package/dist/src/agent/agent-manager.d.ts +1 -1
- package/dist/src/agent/agent-manager.js +14 -14
- package/dist/src/agent/agent-manager.js.map +1 -1
- package/dist/src/agent/agent-scope.js +5 -9
- package/dist/src/agent/agent-scope.js.map +1 -1
- package/dist/src/agent/background-review/coordinator.js +0 -1
- package/dist/src/agent/background-review/coordinator.js.map +1 -1
- package/dist/src/agent/background-review/prompts.d.ts +2 -2
- package/dist/src/agent/background-review/prompts.js +2 -2
- package/dist/src/agent/background-review/prompts.js.map +1 -1
- package/dist/src/agent/background-review/run-background-review.d.ts +0 -2
- package/dist/src/agent/background-review/run-background-review.js +2 -4
- package/dist/src/agent/background-review/run-background-review.js.map +1 -1
- package/dist/src/agent/background-review/settings.d.ts +1 -1
- package/dist/src/agent/background-review/settings.js +8 -8
- package/dist/src/agent/background-review/settings.js.map +1 -1
- package/dist/src/agent/bootstrap/bootstrap-cache.d.ts +1 -0
- package/dist/src/agent/bootstrap/bootstrap-cache.js +4 -3
- package/dist/src/agent/bootstrap/bootstrap-cache.js.map +1 -1
- package/dist/src/agent/bootstrap/bootstrap-context.d.ts +2 -2
- package/dist/src/agent/bootstrap/bootstrap-context.js +4 -4
- package/dist/src/agent/bootstrap/bootstrap-context.js.map +1 -1
- package/dist/src/agent/bootstrap/bootstrap-files.d.ts +4 -0
- package/dist/src/agent/bootstrap/bootstrap-files.js +4 -3
- package/dist/src/agent/bootstrap/bootstrap-files.js.map +1 -1
- package/dist/src/agent/bootstrap/filter-bootstrap-files.js +4 -2
- package/dist/src/agent/bootstrap/filter-bootstrap-files.js.map +1 -1
- package/dist/src/agent/bootstrap/load-bootstrap-files.d.ts +2 -1
- package/dist/src/agent/bootstrap/load-bootstrap-files.js +18 -17
- package/dist/src/agent/bootstrap/load-bootstrap-files.js.map +1 -1
- package/dist/src/agent/bootstrap/project-agents-context.js +1 -1
- package/dist/src/agent/bootstrap/types.d.ts +1 -1
- package/dist/src/agent/context/workspace-seed.js +3 -3
- package/dist/src/agent/context/workspace-state.js +1 -1
- package/dist/src/agent/context/workspace-templates/AGENTS.md +1 -1
- package/dist/src/agent/context/workspace.d.ts +4 -2
- package/dist/src/agent/context/workspace.js +6 -5
- package/dist/src/agent/context/workspace.js.map +1 -1
- package/dist/src/agent/embedded/run-for-session.js +4 -1
- package/dist/src/agent/embedded/run-for-session.js.map +1 -1
- package/dist/src/agent/fallback/candidates.js +11 -9
- package/dist/src/agent/fallback/candidates.js.map +1 -1
- package/dist/src/agent/goals/goal-locale.js +2 -2
- package/dist/src/agent/goals/post-turn.js +3 -3
- package/dist/src/agent/image/generation/runtime-types.d.ts +2 -0
- package/dist/src/agent/image/generation/runtime.js +1 -1
- package/dist/src/agent/image/generation/runtime.js.map +1 -1
- package/dist/src/agent/image/image-helpers.d.ts +1 -1
- package/dist/src/agent/image/image-helpers.js +4 -17
- package/dist/src/agent/image/image-helpers.js.map +1 -1
- package/dist/src/agent/image/image-model-fallback.js +1 -1
- package/dist/src/agent/image/image-model-fallback.js.map +1 -1
- package/dist/src/agent/image/inbound-image-handling.js +1 -1
- package/dist/src/agent/image/inbound-image-handling.js.map +1 -1
- package/dist/src/agent/image/load-image-media.js +2 -2
- package/dist/src/agent/image/tool-model-config.d.ts +1 -1
- package/dist/src/agent/image/tool-model-config.js +2 -2
- package/dist/src/agent/image/tool-model-config.js.map +1 -1
- package/dist/src/agent/ipc/inbox.js +3 -3
- package/dist/src/agent/ipc/socket.js +1 -1
- package/dist/src/agent/mcp/bundle-mcp-materialize.js +1 -1
- package/dist/src/agent/mcp/bundle-mcp-runtime.js +1 -1
- package/dist/src/agent/mcp/mcp-transport-config.js +1 -1
- package/dist/src/agent/mcp/mcp-transport.js +1 -1
- package/dist/src/agent/mcp/resolve-embedded-mcp-tools.js +1 -1
- package/dist/src/agent/mcp/resolve-embedded-mcp-tools.js.map +1 -1
- package/dist/src/agent/media-generation/runtime-shared.d.ts +5 -2
- package/dist/src/agent/media-generation/runtime-shared.js +1 -1
- package/dist/src/agent/media-generation/runtime-shared.js.map +1 -1
- package/dist/src/agent/memory/builtin-memory-store.d.ts +6 -2
- package/dist/src/agent/memory/builtin-memory-store.js +15 -6
- package/dist/src/agent/memory/builtin-memory-store.js.map +1 -1
- package/dist/src/agent/memory/builtin-provider.d.ts +31 -9
- package/dist/src/agent/memory/builtin-provider.js +290 -11
- package/dist/src/agent/memory/builtin-provider.js.map +1 -1
- package/dist/src/agent/memory/candidate-extractor.d.ts +6 -0
- package/dist/src/agent/memory/candidate-extractor.js +60 -0
- package/dist/src/agent/memory/candidate-extractor.js.map +1 -0
- package/dist/src/agent/memory/context-assembler.d.ts +10 -0
- package/dist/src/agent/memory/context-assembler.js +26 -0
- package/dist/src/agent/memory/context-assembler.js.map +1 -0
- package/dist/src/agent/memory/create-memory-manager.js +25 -7
- package/dist/src/agent/memory/create-memory-manager.js.map +1 -1
- package/dist/src/agent/memory/dreaming/config.d.ts +1 -6
- package/dist/src/agent/memory/dreaming/config.js +8 -8
- package/dist/src/agent/memory/dreaming/config.js.map +1 -1
- package/dist/src/agent/memory/dreaming/deep-promotion.d.ts +2 -0
- package/dist/src/agent/memory/dreaming/deep-promotion.js +25 -1
- package/dist/src/agent/memory/dreaming/deep-promotion.js.map +1 -1
- package/dist/src/agent/memory/dreaming/events.js +1 -1
- package/dist/src/agent/memory/dreaming/last-run.js +1 -1
- package/dist/src/agent/memory/dreaming/light-sweep.js +1 -1
- package/dist/src/agent/memory/dreaming/preview.js +1 -1
- package/dist/src/agent/memory/dreaming/rem-patterns.js +1 -1
- package/dist/src/agent/memory/dreaming/short-term-store.js +1 -1
- package/dist/src/agent/memory/dreaming/utils.js +1 -1
- package/dist/src/agent/memory/index.d.ts +1 -0
- package/dist/src/agent/memory/index.js +4 -3
- package/dist/src/agent/memory/inject-prefetch.js +6 -2
- package/dist/src/agent/memory/inject-prefetch.js.map +1 -1
- package/dist/src/agent/memory/manager.d.ts +39 -2
- package/dist/src/agent/memory/manager.js +355 -39
- package/dist/src/agent/memory/manager.js.map +1 -1
- package/dist/src/agent/memory/memory-config.js +15 -15
- package/dist/src/agent/memory/memory-config.js.map +1 -1
- package/dist/src/agent/memory/memory-flush.js +1 -1
- package/dist/src/agent/memory/plugin-discovery.d.ts +19 -5
- package/dist/src/agent/memory/plugin-discovery.js +97 -31
- package/dist/src/agent/memory/plugin-discovery.js.map +1 -1
- package/dist/src/agent/memory/prefetch-coordinator.js.map +1 -1
- package/dist/src/agent/memory/provider.d.ts +20 -15
- package/dist/src/agent/memory/stub-memory-provider.d.ts +17 -2
- package/dist/src/agent/memory/stub-memory-provider.js +20 -3
- package/dist/src/agent/memory/stub-memory-provider.js.map +1 -1
- package/dist/src/agent/memory/types.d.ts +162 -3
- package/dist/src/agent/models/manager.d.ts +1 -1
- package/dist/src/agent/models/manager.js +2 -2
- package/dist/src/agent/models/manager.js.map +1 -1
- package/dist/src/agent/orchestration/agent-orchestrator.d.ts +1 -1
- package/dist/src/agent/orchestration/agent-orchestrator.js +2 -1
- package/dist/src/agent/orchestration/agent-orchestrator.js.map +1 -1
- package/dist/src/agent/orchestration/run-agent-turn-with-fallbacks.d.ts +2 -2
- package/dist/src/agent/orchestration/run-agent-turn-with-fallbacks.js +1 -1
- package/dist/src/agent/orchestration/run-agent-turn-with-fallbacks.js.map +1 -1
- package/dist/src/agent/orchestration/run-agent-turn-with-timeout.d.ts +2 -6
- package/dist/src/agent/orchestration/run-agent-turn-with-timeout.js +2 -8
- package/dist/src/agent/orchestration/run-agent-turn-with-timeout.js.map +1 -1
- package/dist/src/agent/prompt/memory/index.d.ts +4 -2
- package/dist/src/agent/prompt/memory/index.js +19 -13
- package/dist/src/agent/prompt/memory/index.js.map +1 -1
- package/dist/src/agent/prompt/sections/memory-skills.js +1 -1
- package/dist/src/agent/prompt/sections/memory-skills.js.map +1 -1
- package/dist/src/agent/prompt/service-prompt-builder.js +5 -20
- package/dist/src/agent/prompt/service-prompt-builder.js.map +1 -1
- package/dist/src/agent/reply/post-compaction-context.js +10 -7
- package/dist/src/agent/reply/post-compaction-context.js.map +1 -1
- package/dist/src/agent/reply/startup-context.js +7 -12
- package/dist/src/agent/reply/startup-context.js.map +1 -1
- package/dist/src/agent/reply/workspace-boundary-read.js +1 -1
- package/dist/src/agent/sandbox/path-policy.js +2 -2
- package/dist/src/agent/service/process-direct-streaming.js +1 -4
- package/dist/src/agent/service/process-direct-streaming.js.map +1 -1
- package/dist/src/agent/service/session-context-report.js +1 -1
- package/dist/src/agent/service/session-context-report.js.map +1 -1
- package/dist/src/agent/service.d.ts +3 -3
- package/dist/src/agent/service.js +30 -35
- package/dist/src/agent/service.js.map +1 -1
- package/dist/src/agent/service.types.d.ts +1 -2
- package/dist/src/agent/session/session-hydrator.js +1 -2
- package/dist/src/agent/session/session-hydrator.js.map +1 -1
- package/dist/src/agent/session/session-inspector.d.ts +1 -1
- package/dist/src/agent/session/session-inspector.js +10 -15
- package/dist/src/agent/session/session-inspector.js.map +1 -1
- package/dist/src/agent/skills/config.js +2 -2
- package/dist/src/agent/skills/filesystem-watcher.js +1 -1
- package/dist/src/agent/skills/hub-hash.js +2 -2
- package/dist/src/agent/skills/hub-lock.js +1 -1
- package/dist/src/agent/skills/hub-pull.js +3 -3
- package/dist/src/agent/skills/index.js +2 -2
- package/dist/src/agent/skills/installer.js +2 -2
- package/dist/src/agent/skills/managed-store.js +1 -1
- package/dist/src/agent/skills/skill-manage-ops.js +1 -1
- package/dist/src/agent/skills/skill-manager.js +1 -1
- package/dist/src/agent/skills/skill-view-path.js +1 -1
- package/dist/src/agent/skills/test-framework.js +1 -1
- package/dist/src/agent/starter-agents.d.ts +1 -3
- package/dist/src/agent/starter-agents.js +14 -22
- package/dist/src/agent/starter-agents.js.map +1 -1
- package/dist/src/agent/tools/browser/tool/browser-use-tool.js +1 -2
- package/dist/src/agent/tools/browser/tool/browser-use-tool.js.map +1 -1
- package/dist/src/agent/tools/curated-memory-tool.d.ts +2 -5
- package/dist/src/agent/tools/curated-memory-tool.js +77 -18
- package/dist/src/agent/tools/curated-memory-tool.js.map +1 -1
- package/dist/src/agent/tools/dreaming-tool.js +1 -1
- package/dist/src/agent/tools/factory.d.ts +0 -4
- package/dist/src/agent/tools/factory.js +19 -58
- package/dist/src/agent/tools/factory.js.map +1 -1
- package/dist/src/agent/tools/find.js +1 -1
- package/dist/src/agent/tools/grep.js +1 -1
- package/dist/src/agent/tools/image-generate-tool.d.ts +1 -1
- package/dist/src/agent/tools/image-generate-tool.js +20 -15
- package/dist/src/agent/tools/image-generate-tool.js.map +1 -1
- package/dist/src/agent/tools/image-tool.js +1 -3
- package/dist/src/agent/tools/image-tool.js.map +1 -1
- package/dist/src/agent/tools/memory-tool.d.ts +2 -2
- package/dist/src/agent/tools/memory-tool.js +39 -14
- package/dist/src/agent/tools/memory-tool.js.map +1 -1
- package/dist/src/agent/tools/session-search-tool.js +1 -3
- package/dist/src/agent/tools/session-search-tool.js.map +1 -1
- package/dist/src/agent/tools/skill-manage-tool.js +1 -1
- package/dist/src/agent/tools/web-extract.js +8 -9
- package/dist/src/agent/tools/web-extract.js.map +1 -1
- package/dist/src/agent/tools/workflow-tool.js +1 -1
- package/dist/src/agent/workflow/catalog.js +1 -1
- package/dist/src/agent/workflow/subagent-runner.js +1 -3
- package/dist/src/agent/workflow/subagent-runner.js.map +1 -1
- package/dist/src/agent-manifest/index.d.ts +4 -0
- package/dist/src/agent-manifest/index.js +10 -0
- package/dist/src/agent-manifest/index.js.map +1 -0
- package/dist/src/agent-manifest/prompt.d.ts +2 -0
- package/dist/src/agent-manifest/prompt.js +57 -0
- package/dist/src/agent-manifest/prompt.js.map +1 -0
- package/dist/src/agent-manifest/resolver.d.ts +12 -0
- package/dist/src/agent-manifest/resolver.js +95 -0
- package/dist/src/agent-manifest/resolver.js.map +1 -0
- package/dist/src/agent-manifest/schema.d.ts +1010 -0
- package/dist/src/agent-manifest/schema.js +269 -0
- package/dist/src/agent-manifest/schema.js.map +1 -0
- package/dist/src/agent-manifest/validator.d.ts +25 -0
- package/dist/src/agent-manifest/validator.js +88 -0
- package/dist/src/agent-manifest/validator.js.map +1 -0
- package/dist/src/agent-runtime/boundary-guard.d.ts +12 -0
- package/dist/src/agent-runtime/boundary-guard.js +23 -0
- package/dist/src/agent-runtime/boundary-guard.js.map +1 -0
- package/dist/src/agent-runtime/index.d.ts +7 -0
- package/dist/src/agent-runtime/index.js +8 -0
- package/dist/src/agent-runtime/memory-runtime.d.ts +21 -0
- package/dist/src/agent-runtime/memory-runtime.js +50 -0
- package/dist/src/agent-runtime/memory-runtime.js.map +1 -0
- package/dist/src/agent-runtime/model-router.d.ts +11 -0
- package/dist/src/agent-runtime/model-router.js +16 -0
- package/dist/src/agent-runtime/model-router.js.map +1 -0
- package/dist/src/agent-runtime/run-trace.d.ts +27 -0
- package/dist/src/agent-runtime/run-trace.js +53 -0
- package/dist/src/agent-runtime/run-trace.js.map +1 -0
- package/dist/src/agent-runtime/runtime-profile.d.ts +24 -0
- package/dist/src/agent-runtime/runtime-profile.js +44 -0
- package/dist/src/agent-runtime/runtime-profile.js.map +1 -0
- package/dist/src/agent-runtime/tool-registry.d.ts +28 -0
- package/dist/src/agent-runtime/tool-registry.js +52 -0
- package/dist/src/agent-runtime/tool-registry.js.map +1 -0
- package/dist/src/agent-runtime/workflow-runtime.d.ts +31 -0
- package/dist/src/agent-runtime/workflow-runtime.js +34 -0
- package/dist/src/agent-runtime/workflow-runtime.js.map +1 -0
- package/dist/src/ai-assist/text-assist.js +1 -1
- package/dist/src/auth/credentials.js +2 -2
- package/dist/src/auth/profiles/store.js +2 -2
- package/dist/src/auth/sync-provider-auth.js +1 -1
- package/dist/src/browser/actions/extension-registry-bridge.js +1 -1
- package/dist/src/browser/actions/extension-registry-bridge.js.map +1 -1
- package/dist/src/browser/actions/registry.js +5 -8
- package/dist/src/browser/actions/registry.js.map +1 -1
- package/dist/src/browser/backend-from-config.d.ts +1 -1
- package/dist/src/browser/backend-from-config.js +50 -71
- package/dist/src/browser/backend-from-config.js.map +1 -1
- package/dist/src/browser/browser-command-timeout.d.ts +0 -1
- package/dist/src/browser/browser-command-timeout.js +3 -7
- package/dist/src/browser/browser-command-timeout.js.map +1 -1
- package/dist/src/browser/cache-dir-policy.js +1 -1
- package/dist/src/browser/cdp-local-launcher.js +2 -2
- package/dist/src/browser/pipeline/source.js +1 -1
- package/dist/src/browser/providers/browser-ext-install.d.ts +2 -12
- package/dist/src/browser/providers/browser-ext-install.js +7 -12
- package/dist/src/browser/providers/browser-ext-install.js.map +1 -1
- package/dist/src/browser/providers/cloakbrowser.js +5 -5
- package/dist/src/browser/providers/playwright-doctor.js +1 -1
- package/dist/src/browser/readiness.js +16 -16
- package/dist/src/browser/readiness.js.map +1 -1
- package/dist/src/browser/schemas.js +1 -1
- package/dist/src/browser/schemas.js.map +1 -1
- package/dist/src/browser/stealth.js +1 -1
- package/dist/src/channels/catalog/channel-catalog-service.js +1 -1
- package/dist/src/channels/outbound/persist-store.js +1 -1
- package/dist/src/channels/pairing/allow-from-file.js +1 -1
- package/dist/src/channels/pairing/pairing-store.js +2 -2
- package/dist/src/channels/pipeline.d.ts +1 -1
- package/dist/src/channels/pipeline.js.map +1 -1
- package/dist/src/chat-commands/agent-edit.js +2 -3
- package/dist/src/chat-commands/agent-edit.js.map +1 -1
- package/dist/src/chat-commands/builtins/config.js +6 -6
- package/dist/src/chat-commands/builtins/config.js.map +1 -1
- package/dist/src/chat-commands/builtins/model.js +2 -2
- package/dist/src/chat-commands/builtins/model.js.map +1 -1
- package/dist/src/chat-commands/builtins/thinking.js +16 -42
- package/dist/src/chat-commands/builtins/thinking.js.map +1 -1
- package/dist/src/chat-commands/config-paths.js +1 -1
- package/dist/src/chat-commands/config-paths.js.map +1 -1
- package/dist/src/chat-commands/context.js +3 -4
- package/dist/src/chat-commands/context.js.map +1 -1
- package/dist/src/cli/command-manifest.d.ts +1 -1
- package/dist/src/cli/command-manifest.js +2 -2
- package/dist/src/cli/command-manifest.js.map +1 -1
- package/dist/src/cli/commands/agent.js +3 -1
- package/dist/src/cli/commands/agent.js.map +1 -1
- package/dist/src/cli/commands/agents.js +3 -6
- package/dist/src/cli/commands/agents.js.map +1 -1
- package/dist/src/cli/commands/browser-cli-helpers.js +9 -11
- package/dist/src/cli/commands/browser-cli-helpers.js.map +1 -1
- package/dist/src/cli/commands/config.js +6 -6
- package/dist/src/cli/commands/config.js.map +1 -1
- package/dist/src/cli/commands/doctor/checks/config-health.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 +3 -18
- package/dist/src/cli/commands/doctor/checks/provider-auth.js.map +1 -1
- package/dist/src/cli/commands/doctor/checks/state-integrity.js +1 -1
- package/dist/src/cli/commands/doctor/checks/workspace-status.js +1 -2
- package/dist/src/cli/commands/doctor/checks/workspace-status.js.map +1 -1
- package/dist/src/cli/commands/extension-create.js +1 -1
- package/dist/src/cli/commands/extension-dev.js +2 -2
- package/dist/src/cli/commands/extension-marketplace.js +2 -2
- package/dist/src/cli/commands/extension-pack.js +2 -2
- package/dist/src/cli/commands/extension.js +3 -3
- package/dist/src/cli/commands/gateway/logs.js +1 -1
- package/dist/src/cli/commands/goal.js +1 -1
- package/dist/src/cli/commands/image.js +13 -372
- package/dist/src/cli/commands/image.js.map +1 -1
- package/dist/src/cli/commands/init.js +7 -6
- package/dist/src/cli/commands/init.js.map +1 -1
- package/dist/src/cli/commands/models.js +14 -16
- package/dist/src/cli/commands/models.js.map +1 -1
- package/dist/src/cli/commands/onboard/channels/registry.js.map +1 -1
- package/dist/src/cli/commands/onboard/model.js +28 -23
- package/dist/src/cli/commands/onboard/model.js.map +1 -1
- package/dist/src/cli/commands/onboard.js +3 -3
- package/dist/src/cli/commands/onboard.js.map +1 -1
- package/dist/src/cli/commands/skills-test.js +1 -1
- package/dist/src/cli/commands/tui.js +2 -2
- package/dist/src/cli/commands/tui.js.map +1 -1
- package/dist/src/cli/index.d.ts +1 -0
- package/dist/src/cli/index.js +10 -5
- package/dist/src/cli/index.js.map +1 -1
- package/dist/src/cli/registry.js +1 -1
- package/dist/src/cli/registry.js.map +1 -1
- package/dist/src/cli/templates.d.ts +1 -1
- package/dist/src/cli/templates.js +2 -12
- package/dist/src/cli/templates.js.map +1 -1
- package/dist/src/cli/utils/gateway-client.js +1 -1
- package/dist/src/cli/utils/init-workspace-core.d.ts +1 -4
- package/dist/src/cli/utils/init-workspace-core.js +9 -8
- package/dist/src/cli/utils/init-workspace-core.js.map +1 -1
- package/dist/src/commands/agents.config.d.ts +0 -1
- package/dist/src/commands/agents.config.js +59 -13
- package/dist/src/commands/agents.config.js.map +1 -1
- package/dist/src/config/agent-profile.d.ts +5 -17
- package/dist/src/config/agent-profile.js +32 -64
- package/dist/src/config/agent-profile.js.map +1 -1
- package/dist/src/config/agent-typed-models.d.ts +1 -1
- package/dist/src/config/agent-typed-models.js +3 -6
- package/dist/src/config/agent-typed-models.js.map +1 -1
- package/dist/src/config/gateway-bind.js +1 -1
- package/dist/src/config/index.js +9 -9
- package/dist/src/config/integration.d.ts +1 -1
- package/dist/src/config/loader.js +4 -4
- package/dist/src/config/models-json.js +2 -2
- package/dist/src/config/paths-state.js +1 -1
- package/dist/src/config/paths.d.ts +8 -1
- package/dist/src/config/paths.js +17 -4
- package/dist/src/config/paths.js.map +1 -1
- package/dist/src/config/profile.js +1 -1
- package/dist/src/config/reload.js +2 -2
- package/dist/src/config/reload.js.map +1 -1
- package/dist/src/config/rules.js +6 -56
- package/dist/src/config/rules.js.map +1 -1
- package/dist/src/config/schema.d.ts +916 -779
- package/dist/src/config/schema.js +174 -423
- package/dist/src/config/schema.js.map +1 -1
- package/dist/src/config/workspace-path.js +1 -1
- package/dist/src/connectors/composio-triggers.js +1 -1
- package/dist/src/cron/executor.js +1 -1
- package/dist/src/cron/index.js +1 -1
- package/dist/src/cron/service.js +2 -2
- package/dist/src/cron/validation.d.ts +3 -3
- package/dist/src/daemon/constants.js +1 -1
- package/dist/src/daemon/install-plan.js +2 -2
- package/dist/src/daemon/launchd.js +2 -2
- package/dist/src/daemon/schtasks.js +2 -2
- package/dist/src/daemon/systemd.js +2 -2
- package/dist/src/extensions/activation-context.js +13 -7
- package/dist/src/extensions/activation-context.js.map +1 -1
- package/dist/src/extensions/bundle-mcp.js +1 -1
- package/dist/src/extensions/discover-extensions.js +2 -2
- package/dist/src/extensions/health.js +1 -1
- package/dist/src/extensions/install.js +2 -2
- package/dist/src/extensions/loader.js +2 -2
- package/dist/src/extensions/lockfile.js +3 -3
- package/dist/src/extensions/security.js +1 -1
- package/dist/src/extensions/update.js +2 -2
- package/dist/src/gateway/agents-admin.d.ts +24 -18
- package/dist/src/gateway/agents-admin.js +158 -92
- package/dist/src/gateway/agents-admin.js.map +1 -1
- package/dist/src/gateway/capability-presets-admin.d.ts +56 -0
- package/dist/src/gateway/capability-presets-admin.js +214 -0
- package/dist/src/gateway/capability-presets-admin.js.map +1 -0
- package/dist/src/gateway/chat-stream/mapper.js +9 -2
- package/dist/src/gateway/chat-stream/mapper.js.map +1 -1
- package/dist/src/gateway/file-path-classifier.js +2 -2
- package/dist/src/gateway/global-defaults-admin.d.ts +36 -0
- package/dist/src/gateway/global-defaults-admin.js +146 -0
- package/dist/src/gateway/global-defaults-admin.js.map +1 -0
- package/dist/src/gateway/hono/lib/agent-model.d.ts +1 -1
- package/dist/src/gateway/hono/lib/agent-model.js +1 -1
- package/dist/src/gateway/hono/lib/agent-model.js.map +1 -1
- package/dist/src/gateway/hono/lib/config-payload.d.ts +234 -127
- package/dist/src/gateway/hono/lib/config-payload.js +14 -38
- package/dist/src/gateway/hono/lib/config-payload.js.map +1 -1
- package/dist/src/gateway/hono/lib/extension-store.js +2 -2
- package/dist/src/gateway/hono/lib/static-ui.js +2 -2
- package/dist/src/gateway/hono/routes/agents.js +88 -33
- package/dist/src/gateway/hono/routes/agents.js.map +1 -1
- package/dist/src/gateway/hono/routes/auth-registry-extensions.js +1 -1
- package/dist/src/gateway/hono/routes/browser.js +8 -15
- package/dist/src/gateway/hono/routes/browser.js.map +1 -1
- package/dist/src/gateway/hono/routes/capability-presets.d.ts +3 -0
- package/dist/src/gateway/hono/routes/capability-presets.js +145 -0
- package/dist/src/gateway/hono/routes/capability-presets.js.map +1 -0
- package/dist/src/gateway/hono/routes/commands-skills.js +4 -5
- package/dist/src/gateway/hono/routes/commands-skills.js.map +1 -1
- package/dist/src/gateway/hono/routes/config-patch/agents.d.ts +1 -17
- package/dist/src/gateway/hono/routes/config-patch/agents.js +2 -443
- package/dist/src/gateway/hono/routes/config-patch/agents.js.map +1 -1
- package/dist/src/gateway/hono/routes/config-patch/misc.js +7 -1
- package/dist/src/gateway/hono/routes/config-patch/misc.js.map +1 -1
- package/dist/src/gateway/hono/routes/config.js +1 -1
- package/dist/src/gateway/hono/routes/config.js.map +1 -1
- package/dist/src/gateway/hono/routes/dreaming.js +8 -1
- package/dist/src/gateway/hono/routes/dreaming.js.map +1 -1
- package/dist/src/gateway/hono/routes/global-defaults.d.ts +3 -0
- package/dist/src/gateway/hono/routes/global-defaults.js +61 -0
- package/dist/src/gateway/hono/routes/global-defaults.js.map +1 -0
- package/dist/src/gateway/hono/routes/host-fs.js +2 -2
- package/dist/src/gateway/hono/routes/index.js +2 -0
- package/dist/src/gateway/hono/routes/index.js.map +1 -1
- package/dist/src/gateway/hono/routes/lazy-bundles.js +17 -1
- package/dist/src/gateway/hono/routes/lazy-bundles.js.map +1 -1
- package/dist/src/gateway/hono/routes/memory.d.ts +3 -0
- package/dist/src/gateway/hono/routes/memory.js +361 -0
- package/dist/src/gateway/hono/routes/memory.js.map +1 -0
- package/dist/src/gateway/hono/routes/models.js +2 -2
- package/dist/src/gateway/hono/routes/shares.js +1 -1
- package/dist/src/gateway/hono/routes/workflows.js +1 -1
- package/dist/src/gateway/hono/routes/workspace.js +2 -2
- package/dist/src/gateway/lock.js +3 -3
- package/dist/src/gateway/ports.js +1 -1
- package/dist/src/gateway/service/config-coordinator.js +1 -1
- package/dist/src/gateway/service/marketplace-service.d.ts +4 -4
- package/dist/src/gateway/service/marketplace-service.js +13 -9
- package/dist/src/gateway/service/marketplace-service.js.map +1 -1
- package/dist/src/gateway/service.d.ts +1 -1
- package/dist/src/gateway/service.js +15 -16
- package/dist/src/gateway/service.js.map +1 -1
- package/dist/src/gateway/workspace-fs-file-list.js +1 -1
- package/dist/src/goals/goal-workflow-judge.js +2 -2
- package/dist/src/i18n/goals-bundle.js +1 -1
- package/dist/src/i18n/index.js +1 -1
- package/dist/src/i18n/share-tool-bundle.js +2 -2
- package/dist/src/infra/brew.js +1 -1
- package/dist/src/infra/package-json.js +1 -1
- package/dist/src/infra/package-update-steps.js +1 -1
- package/dist/src/infra/path-env.js +2 -2
- package/dist/src/infra/restart.js +1 -1
- package/dist/src/infra/stable-node-path.js +1 -1
- package/dist/src/infra/update-check.js +1 -1
- package/dist/src/infra/update-global.js +1 -1
- package/dist/src/infra/update-lock.js +2 -2
- package/dist/src/infra/update-restart.js +1 -1
- package/dist/src/infra/update-runner.js +1 -1
- package/dist/src/infra/update-startup.js +1 -1
- package/dist/src/infra/write-file-atomic.js +2 -2
- package/dist/src/media/store.js +1 -1
- package/dist/src/notes/agent-context.js +3 -3
- package/dist/src/notes/service.js +4 -2
- package/dist/src/notes/service.js.map +1 -1
- package/dist/src/notes/store.js +2 -2
- package/dist/src/project-trust/trust-store.js +2 -2
- package/dist/src/providers/auth-runtime/auth-profile-store.js +1 -1
- package/dist/src/providers/index.d.ts +5 -6
- package/dist/src/providers/index.js +26 -30
- package/dist/src/providers/index.js.map +1 -1
- package/dist/src/providers/model-registry.js +4 -4
- package/dist/src/session/index.js +1 -1
- package/dist/src/session/init-session-turn.js +1 -1
- package/dist/src/session/resolve-session.js +1 -1
- package/dist/src/session/session-title.js +2 -2
- package/dist/src/session/store.js +1 -1
- package/dist/src/session/thinking-resolve.d.ts +1 -1
- package/dist/src/session/thinking-resolve.js +1 -1
- package/dist/src/session/thinking-resolve.js.map +1 -1
- package/dist/src/share/share-auto.js +2 -2
- package/dist/src/share/share-store.js +3 -3
- package/dist/src/share/share-thumbnail.js +2 -2
- package/dist/src/share/share-zip.js +1 -1
- package/dist/src/share/site-share-store.js +3 -3
- package/dist/src/share/site-static-serve.js +1 -1
- package/dist/src/storage/sqlite/connection.js +2 -2
- package/dist/src/storage/sqlite/index.d.ts +1 -0
- package/dist/src/storage/sqlite/index.js +2 -1
- package/dist/src/storage/sqlite/memory-index-repository.d.ts +1 -0
- package/dist/src/storage/sqlite/memory-index-repository.js +17 -16
- package/dist/src/storage/sqlite/memory-index-repository.js.map +1 -1
- package/dist/src/storage/sqlite/memory-records-repository.d.ts +144 -0
- package/dist/src/storage/sqlite/memory-records-repository.js +453 -0
- package/dist/src/storage/sqlite/memory-records-repository.js.map +1 -0
- package/dist/src/storage/sqlite/migrations/012_memory_records.sql +63 -0
- package/dist/src/storage/sqlite/migrations/013_memory_trace_events.sql +21 -0
- package/dist/src/storage/sqlite/migrations/014_memory_record_governance.sql +10 -0
- package/dist/src/storage/sqlite/migrations/015_memory_trace_feedback.sql +4 -0
- package/dist/src/storage/sqlite/migrations/discover.js +1 -1
- package/dist/src/storage/sqlite/migrations/runner.d.ts +1 -1
- package/dist/src/storage/sqlite/migrations/runner.js +4 -4
- package/dist/src/storage/sqlite/migrations/runner.js.map +1 -1
- package/dist/src/storage/sqlite/migrations/runner.ts +1 -1
- package/dist/src/storage/sqlite/schema.js +2 -2
- package/dist/src/storage/sqlite/schema.sql +86 -0
- package/dist/src/tui/backends/embedded-backend.d.ts +3 -0
- package/dist/src/tui/backends/embedded-backend.js +43 -24
- package/dist/src/tui/backends/embedded-backend.js.map +1 -1
- package/dist/src/tui/backends/gateway-sse-backend.d.ts +1 -0
- package/dist/src/tui/backends/gateway-sse-backend.js +16 -3
- package/dist/src/tui/backends/gateway-sse-backend.js.map +1 -1
- package/dist/src/tui/clipboard-image.js +3 -3
- package/dist/src/tui/components/tui-header.d.ts +0 -1
- package/dist/src/tui/components/tui-header.js +3 -8
- package/dist/src/tui/components/tui-header.js.map +1 -1
- package/dist/src/tui/extension-host/load-extensions.js +1 -1
- package/dist/src/tui/extension-host/load-extensions.js.map +1 -1
- package/dist/src/tui/theme-manager.js +1 -1
- package/dist/src/tui/tui-command-formatters.js +4 -4
- package/dist/src/tui/tui-commands.js +2 -2
- package/dist/src/tui/tui-keybindings-file.js +1 -1
- package/dist/src/tui/tui-scoped-models.js +2 -2
- package/dist/src/tui/tui-settings.js +1 -1
- package/dist/src/tui/tui-startup-resources.js +2 -1
- package/dist/src/tui/tui-startup-resources.js.map +1 -1
- package/dist/src/tui/tui-startup-text.js +12 -12
- package/dist/src/tui/tui-startup-text.js.map +1 -1
- package/dist/src/tui/tui.js +10 -7
- package/dist/src/tui/tui.js.map +1 -1
- package/dist/src/tunnel/frpc-binary.js +4 -4
- package/dist/src/tunnel/frpc-config.js +1 -1
- package/dist/src/tunnel/frpc-extract.js +1 -1
- package/dist/src/tunnel/tunnel-state.js +1 -1
- package/dist/src/utils/logger/audit.js +1 -1
- package/dist/src/utils/logger/log-store.js +1 -1
- package/dist/src/utils/logger/rotation.js +1 -1
- package/dist/src/utils/logger/streams.js +1 -1
- package/dist/src/voice/tts/audio.js +1 -1
- package/dist/src/voice/tts/providers/edge-speech.js +2 -2
- package/dist/src/workflows/draft/workflow-draft-service.js +1 -1
- package/dist/src/workflows/service/workflow-run-service.js +4 -5
- package/dist/src/workflows/service/workflow-run-service.js.map +1 -1
- package/dist/src/workflows/service/workflow-session-bridge.js +1 -1
- package/dist/src/workflows/store/event-store.js +1 -1
- package/dist/src/workflows/store/run-store.js +1 -1
- package/package.json +3 -2
- package/dist/gateway/static/root/assets/agent-browser-settings-page-D1SyFYeh.js +0 -6
- package/dist/gateway/static/root/assets/agent-defaults-tabbed-page-C9YxgvuI.js +0 -1
- package/dist/gateway/static/root/assets/agents-CteVs3UO.js +0 -71
- package/dist/gateway/static/root/assets/apps-page-CVQ1M8Ax.js +0 -1
- package/dist/gateway/static/root/assets/channels-settings-Cd3JbeQ1.js +0 -1
- package/dist/gateway/static/root/assets/config-api-C4RAtTKW.js +0 -3
- package/dist/gateway/static/root/assets/connectors-page-MsMa5qBr.js +0 -2
- package/dist/gateway/static/root/assets/cron-api-sJNMqB6P.js +0 -1
- package/dist/gateway/static/root/assets/cron-page-D30CSwkn.js +0 -3
- package/dist/gateway/static/root/assets/dreaming-settings-6fCUWRQf.js +0 -1
- package/dist/gateway/static/root/assets/gateway-config-api-C6989a-W.js +0 -1
- package/dist/gateway/static/root/assets/gateway-settings-BpF26t91.js +0 -1
- package/dist/gateway/static/root/assets/goal-detail-page-DOjhmRyf.js +0 -1
- package/dist/gateway/static/root/assets/goals-page-Xl9_wrFc.js +0 -2
- package/dist/gateway/static/root/assets/heartbeat-settings-DN9vEj9P.js +0 -1
- package/dist/gateway/static/root/assets/index-C8ytlAF2.js +0 -122
- package/dist/gateway/static/root/assets/index-CVpJW2NS.css +0 -1
- package/dist/gateway/static/root/assets/messages-BqzIDrlr.js +0 -3
- package/dist/gateway/static/root/assets/models-hub-panel-BO4o-GmO.js +0 -2
- package/dist/gateway/static/root/assets/note-detail-page-DLV_XDmT.js +0 -2
- package/dist/gateway/static/root/assets/notes-page-ycsDlkFA.js +0 -1
- package/dist/gateway/static/root/assets/remote-access-hub-DQpnE8K9.js +0 -1
- package/dist/gateway/static/root/assets/sessions-page-BZui7iAY.js +0 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-DEfzZ1ax.js +0 -1
- package/dist/gateway/static/root/assets/settings-page-CLuSsu1-.js +0 -1
- package/dist/gateway/static/root/assets/setup-status-panel-Cq4qpXLi.js +0 -1
- package/dist/gateway/static/root/assets/shares-settings-B9F3HyYQ.js +0 -1
- package/dist/gateway/static/root/assets/skill-reload-api-Bp9UPPwm.js +0 -1
- package/dist/gateway/static/root/assets/skills-page-BIoBsfSV.js +0 -2
- package/dist/gateway/static/root/assets/use-agent-defaults-form-Cz2_pPzu.js +0 -1
- package/dist/gateway/static/root/assets/use-settings-tab-guard-nuHMmZQv.js +0 -1
- package/dist/gateway/static/root/assets/voice-api-key-field-BUIrKb8s.js +0 -1
- package/dist/gateway/static/root/assets/workflows-page-qE3SexnO.js +0 -18
- package/dist/src/agent/context/workspace-templates/USER.md +0 -24
|
@@ -0,0 +1,1010 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const DEFAULT_CAPABILITY_PRESET_ID = "default";
|
|
3
|
+
export declare const ManifestModelRoleSchema: z.ZodObject<{
|
|
4
|
+
model: z.ZodString;
|
|
5
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strict>;
|
|
7
|
+
export declare const ModelPolicySchema: z.ZodObject<{
|
|
8
|
+
defaultRole: z.ZodString;
|
|
9
|
+
roles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10
|
+
model: z.ZodString;
|
|
11
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12
|
+
}, z.core.$strict>>>;
|
|
13
|
+
policy: z.ZodOptional<z.ZodObject<{
|
|
14
|
+
allowFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
maxCostTier: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
low: "low";
|
|
17
|
+
medium: "medium";
|
|
18
|
+
high: "high";
|
|
19
|
+
}>>;
|
|
20
|
+
}, z.core.$strict>>;
|
|
21
|
+
}, z.core.$strict>;
|
|
22
|
+
export declare const ModelPolicyPatchSchema: z.ZodObject<{
|
|
23
|
+
defaultRole: z.ZodOptional<z.ZodString>;
|
|
24
|
+
roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
25
|
+
model: z.ZodString;
|
|
26
|
+
description: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strict>>>;
|
|
28
|
+
policy: z.ZodOptional<z.ZodObject<{
|
|
29
|
+
allowFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
maxCostTier: z.ZodOptional<z.ZodEnum<{
|
|
31
|
+
low: "low";
|
|
32
|
+
medium: "medium";
|
|
33
|
+
high: "high";
|
|
34
|
+
}>>;
|
|
35
|
+
}, z.core.$strict>>;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
export declare const ToolModeSchema: z.ZodEnum<{
|
|
38
|
+
allow: "allow";
|
|
39
|
+
confirm: "confirm";
|
|
40
|
+
deny: "deny";
|
|
41
|
+
}>;
|
|
42
|
+
export declare const ToolScopeSchema: z.ZodEnum<{
|
|
43
|
+
readonly: "readonly";
|
|
44
|
+
workspace: "workspace";
|
|
45
|
+
unrestricted: "unrestricted";
|
|
46
|
+
}>;
|
|
47
|
+
export declare const ToolPolicySchema: z.ZodObject<{
|
|
48
|
+
mode: z.ZodEnum<{
|
|
49
|
+
allow: "allow";
|
|
50
|
+
confirm: "confirm";
|
|
51
|
+
deny: "deny";
|
|
52
|
+
}>;
|
|
53
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
54
|
+
readonly: "readonly";
|
|
55
|
+
workspace: "workspace";
|
|
56
|
+
unrestricted: "unrestricted";
|
|
57
|
+
}>>;
|
|
58
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
59
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
}, z.core.$strict>>;
|
|
62
|
+
}, z.core.$strict>;
|
|
63
|
+
export declare const ToolPolicySetSchema: z.ZodDefault<z.ZodObject<{
|
|
64
|
+
builtin: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
65
|
+
mode: z.ZodEnum<{
|
|
66
|
+
allow: "allow";
|
|
67
|
+
confirm: "confirm";
|
|
68
|
+
deny: "deny";
|
|
69
|
+
}>;
|
|
70
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
71
|
+
readonly: "readonly";
|
|
72
|
+
workspace: "workspace";
|
|
73
|
+
unrestricted: "unrestricted";
|
|
74
|
+
}>>;
|
|
75
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
76
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
78
|
+
}, z.core.$strict>>;
|
|
79
|
+
}, z.core.$strict>>>;
|
|
80
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
81
|
+
servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
82
|
+
mode: z.ZodEnum<{
|
|
83
|
+
allow: "allow";
|
|
84
|
+
confirm: "confirm";
|
|
85
|
+
deny: "deny";
|
|
86
|
+
}>;
|
|
87
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
88
|
+
readonly: "readonly";
|
|
89
|
+
workspace: "workspace";
|
|
90
|
+
unrestricted: "unrestricted";
|
|
91
|
+
}>>;
|
|
92
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
93
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
94
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
95
|
+
}, z.core.$strict>>;
|
|
96
|
+
}, z.core.$strict>>>;
|
|
97
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
98
|
+
mode: z.ZodEnum<{
|
|
99
|
+
allow: "allow";
|
|
100
|
+
confirm: "confirm";
|
|
101
|
+
deny: "deny";
|
|
102
|
+
}>;
|
|
103
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
104
|
+
readonly: "readonly";
|
|
105
|
+
workspace: "workspace";
|
|
106
|
+
unrestricted: "unrestricted";
|
|
107
|
+
}>>;
|
|
108
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
109
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
110
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
}, z.core.$strict>>;
|
|
112
|
+
}, z.core.$strict>>>;
|
|
113
|
+
}, z.core.$strict>>;
|
|
114
|
+
}, z.core.$strict>>;
|
|
115
|
+
export declare const SkillPolicySchema: z.ZodDefault<z.ZodObject<{
|
|
116
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
117
|
+
off: "off";
|
|
118
|
+
all: "all";
|
|
119
|
+
allowlist: "allowlist";
|
|
120
|
+
denylist: "denylist";
|
|
121
|
+
}>>;
|
|
122
|
+
allow: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
123
|
+
deny: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
124
|
+
}, z.core.$strict>>;
|
|
125
|
+
export declare const DreamingPhasePolicySchema: z.ZodObject<{
|
|
126
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
127
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
128
|
+
}, z.core.$strict>;
|
|
129
|
+
export declare const DreamingLightPolicySchema: z.ZodObject<{
|
|
130
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
132
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
133
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
134
|
+
dedupeSimilarity: z.ZodOptional<z.ZodNumber>;
|
|
135
|
+
}, z.core.$strict>;
|
|
136
|
+
export declare const DreamingDeepPolicySchema: z.ZodObject<{
|
|
137
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
138
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
139
|
+
minScore: z.ZodOptional<z.ZodNumber>;
|
|
140
|
+
minRecallCount: z.ZodOptional<z.ZodNumber>;
|
|
141
|
+
minUniqueQueries: z.ZodOptional<z.ZodNumber>;
|
|
142
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
143
|
+
recencyHalfLifeDays: z.ZodOptional<z.ZodNumber>;
|
|
144
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
145
|
+
}, z.core.$strict>;
|
|
146
|
+
export declare const DreamingRemPolicySchema: z.ZodObject<{
|
|
147
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
148
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
149
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
150
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
151
|
+
minPatternStrength: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
}, z.core.$strict>;
|
|
153
|
+
export declare const DreamingPolicySchema: z.ZodOptional<z.ZodObject<{
|
|
154
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
155
|
+
frequency: z.ZodOptional<z.ZodString>;
|
|
156
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
157
|
+
phases: z.ZodOptional<z.ZodObject<{
|
|
158
|
+
light: z.ZodOptional<z.ZodObject<{
|
|
159
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
160
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
161
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
162
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
163
|
+
dedupeSimilarity: z.ZodOptional<z.ZodNumber>;
|
|
164
|
+
}, z.core.$strict>>;
|
|
165
|
+
deep: z.ZodOptional<z.ZodObject<{
|
|
166
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
167
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
168
|
+
minScore: z.ZodOptional<z.ZodNumber>;
|
|
169
|
+
minRecallCount: z.ZodOptional<z.ZodNumber>;
|
|
170
|
+
minUniqueQueries: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
recencyHalfLifeDays: z.ZodOptional<z.ZodNumber>;
|
|
173
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
174
|
+
}, z.core.$strict>>;
|
|
175
|
+
rem: z.ZodOptional<z.ZodObject<{
|
|
176
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
177
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
178
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
179
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
180
|
+
minPatternStrength: z.ZodOptional<z.ZodNumber>;
|
|
181
|
+
}, z.core.$strict>>;
|
|
182
|
+
}, z.core.$strict>>;
|
|
183
|
+
}, z.core.$strict>>;
|
|
184
|
+
export declare const MemoryPolicySchema: z.ZodDefault<z.ZodObject<{
|
|
185
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
186
|
+
off: "off";
|
|
187
|
+
readOnly: "readOnly";
|
|
188
|
+
confirmWrite: "confirmWrite";
|
|
189
|
+
auto: "auto";
|
|
190
|
+
}>>;
|
|
191
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
192
|
+
workspace: "workspace";
|
|
193
|
+
session: "session";
|
|
194
|
+
userProfile: "userProfile";
|
|
195
|
+
agentProfile: "agentProfile";
|
|
196
|
+
curated: "curated";
|
|
197
|
+
}>>>;
|
|
198
|
+
writePolicy: z.ZodOptional<z.ZodObject<{
|
|
199
|
+
userProfile: z.ZodOptional<z.ZodEnum<{
|
|
200
|
+
allow: "allow";
|
|
201
|
+
confirm: "confirm";
|
|
202
|
+
deny: "deny";
|
|
203
|
+
}>>;
|
|
204
|
+
agentProfile: z.ZodOptional<z.ZodEnum<{
|
|
205
|
+
allow: "allow";
|
|
206
|
+
confirm: "confirm";
|
|
207
|
+
deny: "deny";
|
|
208
|
+
}>>;
|
|
209
|
+
curated: z.ZodOptional<z.ZodEnum<{
|
|
210
|
+
allow: "allow";
|
|
211
|
+
confirm: "confirm";
|
|
212
|
+
deny: "deny";
|
|
213
|
+
}>>;
|
|
214
|
+
workspace: z.ZodOptional<z.ZodEnum<{
|
|
215
|
+
allow: "allow";
|
|
216
|
+
confirm: "confirm";
|
|
217
|
+
deny: "deny";
|
|
218
|
+
}>>;
|
|
219
|
+
}, z.core.$strict>>;
|
|
220
|
+
retention: z.ZodOptional<z.ZodObject<{
|
|
221
|
+
compaction: z.ZodDefault<z.ZodBoolean>;
|
|
222
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
223
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
224
|
+
}, z.core.$strict>>;
|
|
225
|
+
privacy: z.ZodOptional<z.ZodObject<{
|
|
226
|
+
crossAgentSharing: z.ZodDefault<z.ZodEnum<{
|
|
227
|
+
allow: "allow";
|
|
228
|
+
deny: "deny";
|
|
229
|
+
readOnly: "readOnly";
|
|
230
|
+
}>>;
|
|
231
|
+
sensitiveWritePolicy: z.ZodDefault<z.ZodEnum<{
|
|
232
|
+
allow: "allow";
|
|
233
|
+
confirm: "confirm";
|
|
234
|
+
deny: "deny";
|
|
235
|
+
}>>;
|
|
236
|
+
}, z.core.$strict>>;
|
|
237
|
+
providerRouting: z.ZodOptional<z.ZodObject<{
|
|
238
|
+
searchStrategy: z.ZodDefault<z.ZodEnum<{
|
|
239
|
+
"local-first": "local-first";
|
|
240
|
+
"external-first": "external-first";
|
|
241
|
+
fanout: "fanout";
|
|
242
|
+
"local-only": "local-only";
|
|
243
|
+
"external-only": "external-only";
|
|
244
|
+
}>>;
|
|
245
|
+
writeStrategy: z.ZodDefault<z.ZodEnum<{
|
|
246
|
+
"local-first": "local-first";
|
|
247
|
+
"external-first": "external-first";
|
|
248
|
+
"local-only": "local-only";
|
|
249
|
+
"external-only": "external-only";
|
|
250
|
+
"write-through": "write-through";
|
|
251
|
+
}>>;
|
|
252
|
+
allowExternalWrites: z.ZodDefault<z.ZodBoolean>;
|
|
253
|
+
allowedProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
254
|
+
autoWriteKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
255
|
+
user_profile: "user_profile";
|
|
256
|
+
agent_note: "agent_note";
|
|
257
|
+
workspace_fact: "workspace_fact";
|
|
258
|
+
daily_note: "daily_note";
|
|
259
|
+
session_summary: "session_summary";
|
|
260
|
+
derived_insight: "derived_insight";
|
|
261
|
+
}>>>;
|
|
262
|
+
}, z.core.$strict>>;
|
|
263
|
+
dreaming: z.ZodOptional<z.ZodObject<{
|
|
264
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
265
|
+
frequency: z.ZodOptional<z.ZodString>;
|
|
266
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
267
|
+
phases: z.ZodOptional<z.ZodObject<{
|
|
268
|
+
light: z.ZodOptional<z.ZodObject<{
|
|
269
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
270
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
271
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
272
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
273
|
+
dedupeSimilarity: z.ZodOptional<z.ZodNumber>;
|
|
274
|
+
}, z.core.$strict>>;
|
|
275
|
+
deep: z.ZodOptional<z.ZodObject<{
|
|
276
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
277
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
278
|
+
minScore: z.ZodOptional<z.ZodNumber>;
|
|
279
|
+
minRecallCount: z.ZodOptional<z.ZodNumber>;
|
|
280
|
+
minUniqueQueries: z.ZodOptional<z.ZodNumber>;
|
|
281
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
282
|
+
recencyHalfLifeDays: z.ZodOptional<z.ZodNumber>;
|
|
283
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
284
|
+
}, z.core.$strict>>;
|
|
285
|
+
rem: z.ZodOptional<z.ZodObject<{
|
|
286
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
287
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
288
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
289
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
290
|
+
minPatternStrength: z.ZodOptional<z.ZodNumber>;
|
|
291
|
+
}, z.core.$strict>>;
|
|
292
|
+
}, z.core.$strict>>;
|
|
293
|
+
}, z.core.$strict>>;
|
|
294
|
+
}, z.core.$strict>>;
|
|
295
|
+
export declare const WorkflowPolicySchema: z.ZodDefault<z.ZodObject<{
|
|
296
|
+
default: z.ZodOptional<z.ZodString>;
|
|
297
|
+
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
298
|
+
suggested: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
299
|
+
intent: z.ZodString;
|
|
300
|
+
workflow: z.ZodString;
|
|
301
|
+
}, z.core.$strict>>>;
|
|
302
|
+
}, z.core.$strict>>;
|
|
303
|
+
export declare const BoundaryPolicySchema: z.ZodDefault<z.ZodObject<{
|
|
304
|
+
requiresConfirmation: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
305
|
+
forbidden: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
306
|
+
escalation: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
307
|
+
}, z.core.$strict>>;
|
|
308
|
+
export declare const WorkspacePolicySchema: z.ZodObject<{
|
|
309
|
+
root: z.ZodString;
|
|
310
|
+
}, z.core.$strict>;
|
|
311
|
+
export declare const RuntimePolicySchema: z.ZodOptional<z.ZodObject<{
|
|
312
|
+
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
313
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
314
|
+
maxToolFailuresPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
315
|
+
}, z.core.$strict>>;
|
|
316
|
+
export declare const PromptPolicySchema: z.ZodOptional<z.ZodObject<{
|
|
317
|
+
customInstructions: z.ZodOptional<z.ZodString>;
|
|
318
|
+
}, z.core.$strict>>;
|
|
319
|
+
export declare const AgentIdentitySchema: z.ZodObject<{
|
|
320
|
+
name: z.ZodString;
|
|
321
|
+
description: z.ZodOptional<z.ZodString>;
|
|
322
|
+
role: z.ZodString;
|
|
323
|
+
language: z.ZodDefault<z.ZodString>;
|
|
324
|
+
tone: z.ZodDefault<z.ZodString>;
|
|
325
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
326
|
+
}, z.core.$strict>;
|
|
327
|
+
export declare const AgentResponsibilitiesSchema: z.ZodObject<{
|
|
328
|
+
primary: z.ZodArray<z.ZodString>;
|
|
329
|
+
secondary: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
330
|
+
outOfScope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
331
|
+
}, z.core.$strict>;
|
|
332
|
+
export declare const AgentManifestSchema: z.ZodObject<{
|
|
333
|
+
id: z.ZodString;
|
|
334
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
335
|
+
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
336
|
+
identity: z.ZodObject<{
|
|
337
|
+
name: z.ZodString;
|
|
338
|
+
description: z.ZodOptional<z.ZodString>;
|
|
339
|
+
role: z.ZodString;
|
|
340
|
+
language: z.ZodDefault<z.ZodString>;
|
|
341
|
+
tone: z.ZodDefault<z.ZodString>;
|
|
342
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
343
|
+
}, z.core.$strict>;
|
|
344
|
+
responsibilities: z.ZodObject<{
|
|
345
|
+
primary: z.ZodArray<z.ZodString>;
|
|
346
|
+
secondary: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
347
|
+
outOfScope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
348
|
+
}, z.core.$strict>;
|
|
349
|
+
workspace: z.ZodObject<{
|
|
350
|
+
root: z.ZodString;
|
|
351
|
+
}, z.core.$strict>;
|
|
352
|
+
models: z.ZodObject<{
|
|
353
|
+
defaultRole: z.ZodString;
|
|
354
|
+
roles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
355
|
+
model: z.ZodString;
|
|
356
|
+
description: z.ZodOptional<z.ZodString>;
|
|
357
|
+
}, z.core.$strict>>>;
|
|
358
|
+
policy: z.ZodOptional<z.ZodObject<{
|
|
359
|
+
allowFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
360
|
+
maxCostTier: z.ZodOptional<z.ZodEnum<{
|
|
361
|
+
low: "low";
|
|
362
|
+
medium: "medium";
|
|
363
|
+
high: "high";
|
|
364
|
+
}>>;
|
|
365
|
+
}, z.core.$strict>>;
|
|
366
|
+
}, z.core.$strict>;
|
|
367
|
+
tools: z.ZodDefault<z.ZodObject<{
|
|
368
|
+
builtin: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
369
|
+
mode: z.ZodEnum<{
|
|
370
|
+
allow: "allow";
|
|
371
|
+
confirm: "confirm";
|
|
372
|
+
deny: "deny";
|
|
373
|
+
}>;
|
|
374
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
375
|
+
readonly: "readonly";
|
|
376
|
+
workspace: "workspace";
|
|
377
|
+
unrestricted: "unrestricted";
|
|
378
|
+
}>>;
|
|
379
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
380
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
381
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
382
|
+
}, z.core.$strict>>;
|
|
383
|
+
}, z.core.$strict>>>;
|
|
384
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
385
|
+
servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
386
|
+
mode: z.ZodEnum<{
|
|
387
|
+
allow: "allow";
|
|
388
|
+
confirm: "confirm";
|
|
389
|
+
deny: "deny";
|
|
390
|
+
}>;
|
|
391
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
392
|
+
readonly: "readonly";
|
|
393
|
+
workspace: "workspace";
|
|
394
|
+
unrestricted: "unrestricted";
|
|
395
|
+
}>>;
|
|
396
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
397
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
398
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
399
|
+
}, z.core.$strict>>;
|
|
400
|
+
}, z.core.$strict>>>;
|
|
401
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
402
|
+
mode: z.ZodEnum<{
|
|
403
|
+
allow: "allow";
|
|
404
|
+
confirm: "confirm";
|
|
405
|
+
deny: "deny";
|
|
406
|
+
}>;
|
|
407
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
408
|
+
readonly: "readonly";
|
|
409
|
+
workspace: "workspace";
|
|
410
|
+
unrestricted: "unrestricted";
|
|
411
|
+
}>>;
|
|
412
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
413
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
414
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
415
|
+
}, z.core.$strict>>;
|
|
416
|
+
}, z.core.$strict>>>;
|
|
417
|
+
}, z.core.$strict>>;
|
|
418
|
+
}, z.core.$strict>>;
|
|
419
|
+
skills: z.ZodDefault<z.ZodObject<{
|
|
420
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
421
|
+
off: "off";
|
|
422
|
+
all: "all";
|
|
423
|
+
allowlist: "allowlist";
|
|
424
|
+
denylist: "denylist";
|
|
425
|
+
}>>;
|
|
426
|
+
allow: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
427
|
+
deny: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
428
|
+
}, z.core.$strict>>;
|
|
429
|
+
memory: z.ZodDefault<z.ZodObject<{
|
|
430
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
431
|
+
off: "off";
|
|
432
|
+
readOnly: "readOnly";
|
|
433
|
+
confirmWrite: "confirmWrite";
|
|
434
|
+
auto: "auto";
|
|
435
|
+
}>>;
|
|
436
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
437
|
+
workspace: "workspace";
|
|
438
|
+
session: "session";
|
|
439
|
+
userProfile: "userProfile";
|
|
440
|
+
agentProfile: "agentProfile";
|
|
441
|
+
curated: "curated";
|
|
442
|
+
}>>>;
|
|
443
|
+
writePolicy: z.ZodOptional<z.ZodObject<{
|
|
444
|
+
userProfile: z.ZodOptional<z.ZodEnum<{
|
|
445
|
+
allow: "allow";
|
|
446
|
+
confirm: "confirm";
|
|
447
|
+
deny: "deny";
|
|
448
|
+
}>>;
|
|
449
|
+
agentProfile: z.ZodOptional<z.ZodEnum<{
|
|
450
|
+
allow: "allow";
|
|
451
|
+
confirm: "confirm";
|
|
452
|
+
deny: "deny";
|
|
453
|
+
}>>;
|
|
454
|
+
curated: z.ZodOptional<z.ZodEnum<{
|
|
455
|
+
allow: "allow";
|
|
456
|
+
confirm: "confirm";
|
|
457
|
+
deny: "deny";
|
|
458
|
+
}>>;
|
|
459
|
+
workspace: z.ZodOptional<z.ZodEnum<{
|
|
460
|
+
allow: "allow";
|
|
461
|
+
confirm: "confirm";
|
|
462
|
+
deny: "deny";
|
|
463
|
+
}>>;
|
|
464
|
+
}, z.core.$strict>>;
|
|
465
|
+
retention: z.ZodOptional<z.ZodObject<{
|
|
466
|
+
compaction: z.ZodDefault<z.ZodBoolean>;
|
|
467
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
468
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
469
|
+
}, z.core.$strict>>;
|
|
470
|
+
privacy: z.ZodOptional<z.ZodObject<{
|
|
471
|
+
crossAgentSharing: z.ZodDefault<z.ZodEnum<{
|
|
472
|
+
allow: "allow";
|
|
473
|
+
deny: "deny";
|
|
474
|
+
readOnly: "readOnly";
|
|
475
|
+
}>>;
|
|
476
|
+
sensitiveWritePolicy: z.ZodDefault<z.ZodEnum<{
|
|
477
|
+
allow: "allow";
|
|
478
|
+
confirm: "confirm";
|
|
479
|
+
deny: "deny";
|
|
480
|
+
}>>;
|
|
481
|
+
}, z.core.$strict>>;
|
|
482
|
+
providerRouting: z.ZodOptional<z.ZodObject<{
|
|
483
|
+
searchStrategy: z.ZodDefault<z.ZodEnum<{
|
|
484
|
+
"local-first": "local-first";
|
|
485
|
+
"external-first": "external-first";
|
|
486
|
+
fanout: "fanout";
|
|
487
|
+
"local-only": "local-only";
|
|
488
|
+
"external-only": "external-only";
|
|
489
|
+
}>>;
|
|
490
|
+
writeStrategy: z.ZodDefault<z.ZodEnum<{
|
|
491
|
+
"local-first": "local-first";
|
|
492
|
+
"external-first": "external-first";
|
|
493
|
+
"local-only": "local-only";
|
|
494
|
+
"external-only": "external-only";
|
|
495
|
+
"write-through": "write-through";
|
|
496
|
+
}>>;
|
|
497
|
+
allowExternalWrites: z.ZodDefault<z.ZodBoolean>;
|
|
498
|
+
allowedProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
499
|
+
autoWriteKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
500
|
+
user_profile: "user_profile";
|
|
501
|
+
agent_note: "agent_note";
|
|
502
|
+
workspace_fact: "workspace_fact";
|
|
503
|
+
daily_note: "daily_note";
|
|
504
|
+
session_summary: "session_summary";
|
|
505
|
+
derived_insight: "derived_insight";
|
|
506
|
+
}>>>;
|
|
507
|
+
}, z.core.$strict>>;
|
|
508
|
+
dreaming: z.ZodOptional<z.ZodObject<{
|
|
509
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
510
|
+
frequency: z.ZodOptional<z.ZodString>;
|
|
511
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
512
|
+
phases: z.ZodOptional<z.ZodObject<{
|
|
513
|
+
light: z.ZodOptional<z.ZodObject<{
|
|
514
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
515
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
516
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
517
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
518
|
+
dedupeSimilarity: z.ZodOptional<z.ZodNumber>;
|
|
519
|
+
}, z.core.$strict>>;
|
|
520
|
+
deep: z.ZodOptional<z.ZodObject<{
|
|
521
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
522
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
523
|
+
minScore: z.ZodOptional<z.ZodNumber>;
|
|
524
|
+
minRecallCount: z.ZodOptional<z.ZodNumber>;
|
|
525
|
+
minUniqueQueries: z.ZodOptional<z.ZodNumber>;
|
|
526
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
527
|
+
recencyHalfLifeDays: z.ZodOptional<z.ZodNumber>;
|
|
528
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
529
|
+
}, z.core.$strict>>;
|
|
530
|
+
rem: z.ZodOptional<z.ZodObject<{
|
|
531
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
532
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
533
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
534
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
535
|
+
minPatternStrength: z.ZodOptional<z.ZodNumber>;
|
|
536
|
+
}, z.core.$strict>>;
|
|
537
|
+
}, z.core.$strict>>;
|
|
538
|
+
}, z.core.$strict>>;
|
|
539
|
+
}, z.core.$strict>>;
|
|
540
|
+
workflows: z.ZodDefault<z.ZodObject<{
|
|
541
|
+
default: z.ZodOptional<z.ZodString>;
|
|
542
|
+
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
543
|
+
suggested: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
544
|
+
intent: z.ZodString;
|
|
545
|
+
workflow: z.ZodString;
|
|
546
|
+
}, z.core.$strict>>>;
|
|
547
|
+
}, z.core.$strict>>;
|
|
548
|
+
boundaries: z.ZodDefault<z.ZodObject<{
|
|
549
|
+
requiresConfirmation: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
550
|
+
forbidden: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
551
|
+
escalation: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
552
|
+
}, z.core.$strict>>;
|
|
553
|
+
runtime: z.ZodOptional<z.ZodObject<{
|
|
554
|
+
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
555
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
556
|
+
maxToolFailuresPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
557
|
+
}, z.core.$strict>>;
|
|
558
|
+
prompt: z.ZodOptional<z.ZodObject<{
|
|
559
|
+
customInstructions: z.ZodOptional<z.ZodString>;
|
|
560
|
+
}, z.core.$strict>>;
|
|
561
|
+
}, z.core.$strict>;
|
|
562
|
+
export declare const AgentConfigEntrySchema: z.ZodObject<{
|
|
563
|
+
id: z.ZodString;
|
|
564
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
565
|
+
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
566
|
+
identity: z.ZodObject<{
|
|
567
|
+
name: z.ZodString;
|
|
568
|
+
description: z.ZodOptional<z.ZodString>;
|
|
569
|
+
role: z.ZodString;
|
|
570
|
+
language: z.ZodDefault<z.ZodString>;
|
|
571
|
+
tone: z.ZodDefault<z.ZodString>;
|
|
572
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
573
|
+
}, z.core.$strict>;
|
|
574
|
+
responsibilities: z.ZodObject<{
|
|
575
|
+
primary: z.ZodArray<z.ZodString>;
|
|
576
|
+
secondary: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
577
|
+
outOfScope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
578
|
+
}, z.core.$strict>;
|
|
579
|
+
workspace: z.ZodObject<{
|
|
580
|
+
root: z.ZodString;
|
|
581
|
+
}, z.core.$strict>;
|
|
582
|
+
tools: z.ZodDefault<z.ZodObject<{
|
|
583
|
+
builtin: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
584
|
+
mode: z.ZodEnum<{
|
|
585
|
+
allow: "allow";
|
|
586
|
+
confirm: "confirm";
|
|
587
|
+
deny: "deny";
|
|
588
|
+
}>;
|
|
589
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
590
|
+
readonly: "readonly";
|
|
591
|
+
workspace: "workspace";
|
|
592
|
+
unrestricted: "unrestricted";
|
|
593
|
+
}>>;
|
|
594
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
595
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
596
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
597
|
+
}, z.core.$strict>>;
|
|
598
|
+
}, z.core.$strict>>>;
|
|
599
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
600
|
+
servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
601
|
+
mode: z.ZodEnum<{
|
|
602
|
+
allow: "allow";
|
|
603
|
+
confirm: "confirm";
|
|
604
|
+
deny: "deny";
|
|
605
|
+
}>;
|
|
606
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
607
|
+
readonly: "readonly";
|
|
608
|
+
workspace: "workspace";
|
|
609
|
+
unrestricted: "unrestricted";
|
|
610
|
+
}>>;
|
|
611
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
612
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
613
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
614
|
+
}, z.core.$strict>>;
|
|
615
|
+
}, z.core.$strict>>>;
|
|
616
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
617
|
+
mode: z.ZodEnum<{
|
|
618
|
+
allow: "allow";
|
|
619
|
+
confirm: "confirm";
|
|
620
|
+
deny: "deny";
|
|
621
|
+
}>;
|
|
622
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
623
|
+
readonly: "readonly";
|
|
624
|
+
workspace: "workspace";
|
|
625
|
+
unrestricted: "unrestricted";
|
|
626
|
+
}>>;
|
|
627
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
628
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
629
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
630
|
+
}, z.core.$strict>>;
|
|
631
|
+
}, z.core.$strict>>>;
|
|
632
|
+
}, z.core.$strict>>;
|
|
633
|
+
}, z.core.$strict>>;
|
|
634
|
+
skills: z.ZodDefault<z.ZodObject<{
|
|
635
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
636
|
+
off: "off";
|
|
637
|
+
all: "all";
|
|
638
|
+
allowlist: "allowlist";
|
|
639
|
+
denylist: "denylist";
|
|
640
|
+
}>>;
|
|
641
|
+
allow: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
642
|
+
deny: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
643
|
+
}, z.core.$strict>>;
|
|
644
|
+
memory: z.ZodDefault<z.ZodObject<{
|
|
645
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
646
|
+
off: "off";
|
|
647
|
+
readOnly: "readOnly";
|
|
648
|
+
confirmWrite: "confirmWrite";
|
|
649
|
+
auto: "auto";
|
|
650
|
+
}>>;
|
|
651
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
652
|
+
workspace: "workspace";
|
|
653
|
+
session: "session";
|
|
654
|
+
userProfile: "userProfile";
|
|
655
|
+
agentProfile: "agentProfile";
|
|
656
|
+
curated: "curated";
|
|
657
|
+
}>>>;
|
|
658
|
+
writePolicy: z.ZodOptional<z.ZodObject<{
|
|
659
|
+
userProfile: z.ZodOptional<z.ZodEnum<{
|
|
660
|
+
allow: "allow";
|
|
661
|
+
confirm: "confirm";
|
|
662
|
+
deny: "deny";
|
|
663
|
+
}>>;
|
|
664
|
+
agentProfile: z.ZodOptional<z.ZodEnum<{
|
|
665
|
+
allow: "allow";
|
|
666
|
+
confirm: "confirm";
|
|
667
|
+
deny: "deny";
|
|
668
|
+
}>>;
|
|
669
|
+
curated: z.ZodOptional<z.ZodEnum<{
|
|
670
|
+
allow: "allow";
|
|
671
|
+
confirm: "confirm";
|
|
672
|
+
deny: "deny";
|
|
673
|
+
}>>;
|
|
674
|
+
workspace: z.ZodOptional<z.ZodEnum<{
|
|
675
|
+
allow: "allow";
|
|
676
|
+
confirm: "confirm";
|
|
677
|
+
deny: "deny";
|
|
678
|
+
}>>;
|
|
679
|
+
}, z.core.$strict>>;
|
|
680
|
+
retention: z.ZodOptional<z.ZodObject<{
|
|
681
|
+
compaction: z.ZodDefault<z.ZodBoolean>;
|
|
682
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
683
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
684
|
+
}, z.core.$strict>>;
|
|
685
|
+
privacy: z.ZodOptional<z.ZodObject<{
|
|
686
|
+
crossAgentSharing: z.ZodDefault<z.ZodEnum<{
|
|
687
|
+
allow: "allow";
|
|
688
|
+
deny: "deny";
|
|
689
|
+
readOnly: "readOnly";
|
|
690
|
+
}>>;
|
|
691
|
+
sensitiveWritePolicy: z.ZodDefault<z.ZodEnum<{
|
|
692
|
+
allow: "allow";
|
|
693
|
+
confirm: "confirm";
|
|
694
|
+
deny: "deny";
|
|
695
|
+
}>>;
|
|
696
|
+
}, z.core.$strict>>;
|
|
697
|
+
providerRouting: z.ZodOptional<z.ZodObject<{
|
|
698
|
+
searchStrategy: z.ZodDefault<z.ZodEnum<{
|
|
699
|
+
"local-first": "local-first";
|
|
700
|
+
"external-first": "external-first";
|
|
701
|
+
fanout: "fanout";
|
|
702
|
+
"local-only": "local-only";
|
|
703
|
+
"external-only": "external-only";
|
|
704
|
+
}>>;
|
|
705
|
+
writeStrategy: z.ZodDefault<z.ZodEnum<{
|
|
706
|
+
"local-first": "local-first";
|
|
707
|
+
"external-first": "external-first";
|
|
708
|
+
"local-only": "local-only";
|
|
709
|
+
"external-only": "external-only";
|
|
710
|
+
"write-through": "write-through";
|
|
711
|
+
}>>;
|
|
712
|
+
allowExternalWrites: z.ZodDefault<z.ZodBoolean>;
|
|
713
|
+
allowedProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
714
|
+
autoWriteKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
715
|
+
user_profile: "user_profile";
|
|
716
|
+
agent_note: "agent_note";
|
|
717
|
+
workspace_fact: "workspace_fact";
|
|
718
|
+
daily_note: "daily_note";
|
|
719
|
+
session_summary: "session_summary";
|
|
720
|
+
derived_insight: "derived_insight";
|
|
721
|
+
}>>>;
|
|
722
|
+
}, z.core.$strict>>;
|
|
723
|
+
dreaming: z.ZodOptional<z.ZodObject<{
|
|
724
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
725
|
+
frequency: z.ZodOptional<z.ZodString>;
|
|
726
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
727
|
+
phases: z.ZodOptional<z.ZodObject<{
|
|
728
|
+
light: z.ZodOptional<z.ZodObject<{
|
|
729
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
730
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
731
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
732
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
733
|
+
dedupeSimilarity: z.ZodOptional<z.ZodNumber>;
|
|
734
|
+
}, z.core.$strict>>;
|
|
735
|
+
deep: z.ZodOptional<z.ZodObject<{
|
|
736
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
737
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
738
|
+
minScore: z.ZodOptional<z.ZodNumber>;
|
|
739
|
+
minRecallCount: z.ZodOptional<z.ZodNumber>;
|
|
740
|
+
minUniqueQueries: z.ZodOptional<z.ZodNumber>;
|
|
741
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
742
|
+
recencyHalfLifeDays: z.ZodOptional<z.ZodNumber>;
|
|
743
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
744
|
+
}, z.core.$strict>>;
|
|
745
|
+
rem: z.ZodOptional<z.ZodObject<{
|
|
746
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
747
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
748
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
749
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
750
|
+
minPatternStrength: z.ZodOptional<z.ZodNumber>;
|
|
751
|
+
}, z.core.$strict>>;
|
|
752
|
+
}, z.core.$strict>>;
|
|
753
|
+
}, z.core.$strict>>;
|
|
754
|
+
}, z.core.$strict>>;
|
|
755
|
+
workflows: z.ZodDefault<z.ZodObject<{
|
|
756
|
+
default: z.ZodOptional<z.ZodString>;
|
|
757
|
+
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
758
|
+
suggested: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
759
|
+
intent: z.ZodString;
|
|
760
|
+
workflow: z.ZodString;
|
|
761
|
+
}, z.core.$strict>>>;
|
|
762
|
+
}, z.core.$strict>>;
|
|
763
|
+
boundaries: z.ZodDefault<z.ZodObject<{
|
|
764
|
+
requiresConfirmation: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
765
|
+
forbidden: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
766
|
+
escalation: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
767
|
+
}, z.core.$strict>>;
|
|
768
|
+
runtime: z.ZodOptional<z.ZodObject<{
|
|
769
|
+
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
770
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
771
|
+
maxToolFailuresPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
772
|
+
}, z.core.$strict>>;
|
|
773
|
+
prompt: z.ZodOptional<z.ZodObject<{
|
|
774
|
+
customInstructions: z.ZodOptional<z.ZodString>;
|
|
775
|
+
}, z.core.$strict>>;
|
|
776
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
777
|
+
defaultRole: z.ZodString;
|
|
778
|
+
roles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
779
|
+
model: z.ZodString;
|
|
780
|
+
description: z.ZodOptional<z.ZodString>;
|
|
781
|
+
}, z.core.$strict>>>;
|
|
782
|
+
policy: z.ZodOptional<z.ZodObject<{
|
|
783
|
+
allowFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
784
|
+
maxCostTier: z.ZodOptional<z.ZodEnum<{
|
|
785
|
+
low: "low";
|
|
786
|
+
medium: "medium";
|
|
787
|
+
high: "high";
|
|
788
|
+
}>>;
|
|
789
|
+
}, z.core.$strict>>;
|
|
790
|
+
}, z.core.$strict>>;
|
|
791
|
+
}, z.core.$strict>;
|
|
792
|
+
export declare const CapabilityPresetSchema: z.ZodObject<{
|
|
793
|
+
id: z.ZodString;
|
|
794
|
+
name: z.ZodString;
|
|
795
|
+
description: z.ZodOptional<z.ZodString>;
|
|
796
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
797
|
+
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
798
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
799
|
+
defaultRole: z.ZodOptional<z.ZodString>;
|
|
800
|
+
roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
801
|
+
model: z.ZodString;
|
|
802
|
+
description: z.ZodOptional<z.ZodString>;
|
|
803
|
+
}, z.core.$strict>>>;
|
|
804
|
+
policy: z.ZodOptional<z.ZodObject<{
|
|
805
|
+
allowFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
806
|
+
maxCostTier: z.ZodOptional<z.ZodEnum<{
|
|
807
|
+
low: "low";
|
|
808
|
+
medium: "medium";
|
|
809
|
+
high: "high";
|
|
810
|
+
}>>;
|
|
811
|
+
}, z.core.$strict>>;
|
|
812
|
+
}, z.core.$strict>>;
|
|
813
|
+
tools: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
814
|
+
builtin: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
815
|
+
mode: z.ZodEnum<{
|
|
816
|
+
allow: "allow";
|
|
817
|
+
confirm: "confirm";
|
|
818
|
+
deny: "deny";
|
|
819
|
+
}>;
|
|
820
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
821
|
+
readonly: "readonly";
|
|
822
|
+
workspace: "workspace";
|
|
823
|
+
unrestricted: "unrestricted";
|
|
824
|
+
}>>;
|
|
825
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
826
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
827
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
828
|
+
}, z.core.$strict>>;
|
|
829
|
+
}, z.core.$strict>>>;
|
|
830
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
831
|
+
servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
832
|
+
mode: z.ZodEnum<{
|
|
833
|
+
allow: "allow";
|
|
834
|
+
confirm: "confirm";
|
|
835
|
+
deny: "deny";
|
|
836
|
+
}>;
|
|
837
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
838
|
+
readonly: "readonly";
|
|
839
|
+
workspace: "workspace";
|
|
840
|
+
unrestricted: "unrestricted";
|
|
841
|
+
}>>;
|
|
842
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
843
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
844
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
845
|
+
}, z.core.$strict>>;
|
|
846
|
+
}, z.core.$strict>>>;
|
|
847
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
848
|
+
mode: z.ZodEnum<{
|
|
849
|
+
allow: "allow";
|
|
850
|
+
confirm: "confirm";
|
|
851
|
+
deny: "deny";
|
|
852
|
+
}>;
|
|
853
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
854
|
+
readonly: "readonly";
|
|
855
|
+
workspace: "workspace";
|
|
856
|
+
unrestricted: "unrestricted";
|
|
857
|
+
}>>;
|
|
858
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
859
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
860
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
861
|
+
}, z.core.$strict>>;
|
|
862
|
+
}, z.core.$strict>>>;
|
|
863
|
+
}, z.core.$strict>>;
|
|
864
|
+
}, z.core.$strict>>>;
|
|
865
|
+
skills: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
866
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
867
|
+
off: "off";
|
|
868
|
+
all: "all";
|
|
869
|
+
allowlist: "allowlist";
|
|
870
|
+
denylist: "denylist";
|
|
871
|
+
}>>;
|
|
872
|
+
allow: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
873
|
+
deny: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
874
|
+
}, z.core.$strict>>>;
|
|
875
|
+
memory: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
876
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
877
|
+
off: "off";
|
|
878
|
+
readOnly: "readOnly";
|
|
879
|
+
confirmWrite: "confirmWrite";
|
|
880
|
+
auto: "auto";
|
|
881
|
+
}>>;
|
|
882
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
883
|
+
workspace: "workspace";
|
|
884
|
+
session: "session";
|
|
885
|
+
userProfile: "userProfile";
|
|
886
|
+
agentProfile: "agentProfile";
|
|
887
|
+
curated: "curated";
|
|
888
|
+
}>>>;
|
|
889
|
+
writePolicy: z.ZodOptional<z.ZodObject<{
|
|
890
|
+
userProfile: z.ZodOptional<z.ZodEnum<{
|
|
891
|
+
allow: "allow";
|
|
892
|
+
confirm: "confirm";
|
|
893
|
+
deny: "deny";
|
|
894
|
+
}>>;
|
|
895
|
+
agentProfile: z.ZodOptional<z.ZodEnum<{
|
|
896
|
+
allow: "allow";
|
|
897
|
+
confirm: "confirm";
|
|
898
|
+
deny: "deny";
|
|
899
|
+
}>>;
|
|
900
|
+
curated: z.ZodOptional<z.ZodEnum<{
|
|
901
|
+
allow: "allow";
|
|
902
|
+
confirm: "confirm";
|
|
903
|
+
deny: "deny";
|
|
904
|
+
}>>;
|
|
905
|
+
workspace: z.ZodOptional<z.ZodEnum<{
|
|
906
|
+
allow: "allow";
|
|
907
|
+
confirm: "confirm";
|
|
908
|
+
deny: "deny";
|
|
909
|
+
}>>;
|
|
910
|
+
}, z.core.$strict>>;
|
|
911
|
+
retention: z.ZodOptional<z.ZodObject<{
|
|
912
|
+
compaction: z.ZodDefault<z.ZodBoolean>;
|
|
913
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
914
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
915
|
+
}, z.core.$strict>>;
|
|
916
|
+
privacy: z.ZodOptional<z.ZodObject<{
|
|
917
|
+
crossAgentSharing: z.ZodDefault<z.ZodEnum<{
|
|
918
|
+
allow: "allow";
|
|
919
|
+
deny: "deny";
|
|
920
|
+
readOnly: "readOnly";
|
|
921
|
+
}>>;
|
|
922
|
+
sensitiveWritePolicy: z.ZodDefault<z.ZodEnum<{
|
|
923
|
+
allow: "allow";
|
|
924
|
+
confirm: "confirm";
|
|
925
|
+
deny: "deny";
|
|
926
|
+
}>>;
|
|
927
|
+
}, z.core.$strict>>;
|
|
928
|
+
providerRouting: z.ZodOptional<z.ZodObject<{
|
|
929
|
+
searchStrategy: z.ZodDefault<z.ZodEnum<{
|
|
930
|
+
"local-first": "local-first";
|
|
931
|
+
"external-first": "external-first";
|
|
932
|
+
fanout: "fanout";
|
|
933
|
+
"local-only": "local-only";
|
|
934
|
+
"external-only": "external-only";
|
|
935
|
+
}>>;
|
|
936
|
+
writeStrategy: z.ZodDefault<z.ZodEnum<{
|
|
937
|
+
"local-first": "local-first";
|
|
938
|
+
"external-first": "external-first";
|
|
939
|
+
"local-only": "local-only";
|
|
940
|
+
"external-only": "external-only";
|
|
941
|
+
"write-through": "write-through";
|
|
942
|
+
}>>;
|
|
943
|
+
allowExternalWrites: z.ZodDefault<z.ZodBoolean>;
|
|
944
|
+
allowedProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
945
|
+
autoWriteKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
946
|
+
user_profile: "user_profile";
|
|
947
|
+
agent_note: "agent_note";
|
|
948
|
+
workspace_fact: "workspace_fact";
|
|
949
|
+
daily_note: "daily_note";
|
|
950
|
+
session_summary: "session_summary";
|
|
951
|
+
derived_insight: "derived_insight";
|
|
952
|
+
}>>>;
|
|
953
|
+
}, z.core.$strict>>;
|
|
954
|
+
dreaming: z.ZodOptional<z.ZodObject<{
|
|
955
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
956
|
+
frequency: z.ZodOptional<z.ZodString>;
|
|
957
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
958
|
+
phases: z.ZodOptional<z.ZodObject<{
|
|
959
|
+
light: z.ZodOptional<z.ZodObject<{
|
|
960
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
961
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
962
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
963
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
964
|
+
dedupeSimilarity: z.ZodOptional<z.ZodNumber>;
|
|
965
|
+
}, z.core.$strict>>;
|
|
966
|
+
deep: z.ZodOptional<z.ZodObject<{
|
|
967
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
968
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
969
|
+
minScore: z.ZodOptional<z.ZodNumber>;
|
|
970
|
+
minRecallCount: z.ZodOptional<z.ZodNumber>;
|
|
971
|
+
minUniqueQueries: z.ZodOptional<z.ZodNumber>;
|
|
972
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
973
|
+
recencyHalfLifeDays: z.ZodOptional<z.ZodNumber>;
|
|
974
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
975
|
+
}, z.core.$strict>>;
|
|
976
|
+
rem: z.ZodOptional<z.ZodObject<{
|
|
977
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
978
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
979
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
980
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
981
|
+
minPatternStrength: z.ZodOptional<z.ZodNumber>;
|
|
982
|
+
}, z.core.$strict>>;
|
|
983
|
+
}, z.core.$strict>>;
|
|
984
|
+
}, z.core.$strict>>;
|
|
985
|
+
}, z.core.$strict>>>;
|
|
986
|
+
workflows: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
987
|
+
default: z.ZodOptional<z.ZodString>;
|
|
988
|
+
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
989
|
+
suggested: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
990
|
+
intent: z.ZodString;
|
|
991
|
+
workflow: z.ZodString;
|
|
992
|
+
}, z.core.$strict>>>;
|
|
993
|
+
}, z.core.$strict>>>;
|
|
994
|
+
boundaries: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
995
|
+
requiresConfirmation: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
996
|
+
forbidden: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
997
|
+
escalation: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
998
|
+
}, z.core.$strict>>>;
|
|
999
|
+
runtime: z.ZodOptional<z.ZodObject<{
|
|
1000
|
+
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
1001
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1002
|
+
maxToolFailuresPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
1003
|
+
}, z.core.$strict>>;
|
|
1004
|
+
locks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1005
|
+
}, z.core.$strict>;
|
|
1006
|
+
export type AgentManifest = z.infer<typeof AgentManifestSchema>;
|
|
1007
|
+
export type AgentConfigEntry = z.infer<typeof AgentConfigEntrySchema>;
|
|
1008
|
+
export type CapabilityPreset = z.infer<typeof CapabilityPresetSchema>;
|
|
1009
|
+
export type EffectiveAgentManifest = AgentManifest;
|
|
1010
|
+
export type ToolPolicy = z.infer<typeof ToolPolicySchema>;
|