@xopcai/xopc 0.0.115 → 0.0.117
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 +26 -10
- package/README.zh-CN.md +26 -10
- 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/schema/config-schema.d.ts +3 -3
- 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/xopc.extension.json +1 -1
- package/dist/extensions/weixin/src/config-schema.d.ts +3 -3
- package/dist/gateway/static/root/assets/{agent-avatar-dicebear-DVnBfANm.js → agent-avatar-dicebear-BBLhJ2C6.js} +1 -1
- package/dist/gateway/static/root/assets/agents-C6xgagZd.js +71 -0
- package/dist/gateway/static/root/assets/app-management-settings-panel-CBpLONvG.js +1 -0
- package/dist/gateway/static/root/assets/{appearance-settings-BQpPSTHD.js → appearance-settings-CGcc54yj.js} +1 -1
- package/dist/gateway/static/root/assets/apps-page-DdDx0V4z.js +1 -0
- package/dist/gateway/static/root/assets/{archive-plugin-CXu-Csep.js → archive-plugin-DZsVqMhU.js} +1 -1
- package/dist/gateway/static/root/assets/{attachment-load-BAjgOoGY.js → attachment-load-CIol6JWX.js} +1 -1
- package/dist/gateway/static/root/assets/{binary-plugins-BSBgB2hO.js → binary-plugins-B3UauMfp.js} +1 -1
- package/dist/gateway/static/root/assets/{block-editor-BpXw9TTR.js → block-editor-2HJoFchH.js} +3 -3
- package/dist/gateway/static/root/assets/browser-settings-page-CUOO-PQk.js +8 -0
- package/dist/gateway/static/root/assets/capability-presets-api-XQoMTI0A.js +1 -0
- package/dist/gateway/static/root/assets/capability-presets-settings-panel-CfqF-kGr.js +1 -0
- package/dist/gateway/static/root/assets/{channels-settings-BbPUpzWB.js → channels-settings-BYyRzsex.js} +1 -1
- package/dist/gateway/static/root/assets/connectors-page-DIvEz4NX.js +2 -0
- package/dist/gateway/static/root/assets/cron-api-R41aQCX9.js +1 -0
- package/dist/gateway/static/root/assets/cron-page-D97nFqQD.js +3 -0
- package/dist/gateway/static/root/assets/dreaming-settings-Bceaw1PG.js +1 -0
- package/dist/gateway/static/root/assets/{extension-debug-page-D9kgUHCc.js → extension-debug-page-DX5WRE_t.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-CGyhXqzR.js → extension-page-Buah7Bw-.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-settings-page-DL8Xquqd.js → extension-settings-page-DuroLVnf.js} +1 -1
- package/dist/gateway/static/root/assets/{fetch-D0VXA932.js → fetch-B5zdl27C.js} +1 -1
- package/dist/gateway/static/root/assets/{format-interval-label-Be8SmgUw.js → format-interval-label-Dn_QKIqb.js} +1 -1
- package/dist/gateway/static/root/assets/gateway-config-api-gT4ZhE7h.js +1 -0
- package/dist/gateway/static/root/assets/gateway-settings-iISWAZRm.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-startup-retry-DERUH61L.js → gateway-startup-retry-B3kL8KGY.js} +1 -1
- package/dist/gateway/static/root/assets/goal-detail-page-DCUROLMQ.js +1 -0
- package/dist/gateway/static/root/assets/{goals-config-api-BPmqWk90.js → goals-config-api-AR-fVh0P.js} +1 -1
- package/dist/gateway/static/root/assets/goals-page-Cpb21ezg.js +2 -0
- package/dist/gateway/static/root/assets/goals-settings-CPAuFwoD.js +1 -0
- package/dist/gateway/static/root/assets/{heartbeat-config-api-Bfdzr8oV.js → heartbeat-config-api-D7bKFEeO.js} +1 -1
- package/dist/gateway/static/root/assets/heartbeat-settings-CC69vNx0.js +1 -0
- package/dist/gateway/static/root/assets/index-CwhK8qCh.js +122 -0
- package/dist/gateway/static/root/assets/index-CyfhARL-.css +1 -0
- package/dist/gateway/static/root/assets/{interval-presets-utKbuCRY.js → interval-presets-0DtsnxE0.js} +1 -1
- package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-CjqS6c6V.js → keyboard-shortcuts-settings-BPREtN8B.js} +1 -1
- package/dist/gateway/static/root/assets/logs-page-DefCgF4o.js +2 -0
- package/dist/gateway/static/root/assets/{markdown-split-DW8C47iB.js → markdown-split-ChbR9LGO.js} +1 -1
- package/dist/gateway/static/root/assets/{media-plugins-D6HwDhDT.js → media-plugins-B82oP80n.js} +1 -1
- package/dist/gateway/static/root/assets/messages-Cf1O9JB0.js +3 -0
- package/dist/gateway/static/root/assets/models-hub-panel-DmKiIihT.js +2 -0
- package/dist/gateway/static/root/assets/note-detail-page-CxxfLRJZ.js +2 -0
- package/dist/gateway/static/root/assets/{note-image-lightbox-pJM35Pz5.js → note-image-lightbox-CDknITM3.js} +1 -1
- package/dist/gateway/static/root/assets/notes-page-X2slSx7V.js +1 -0
- package/dist/gateway/static/root/assets/{preview-open-alternatives-CVwHuyN6.js → preview-open-alternatives-DV3xQsWB.js} +1 -1
- package/dist/gateway/static/root/assets/remote-access-hub-BvmUWqgu.js +1 -0
- package/dist/gateway/static/root/assets/{save-bar-controls-Ba-UEk7x.js → save-bar-controls-BODCXnvY.js} +1 -1
- package/dist/gateway/static/root/assets/{schedule-field-CNN9595U.js → schedule-field-CgJSCD3B.js} +1 -1
- package/dist/gateway/static/root/assets/{schema-form-DnNMmtD5.js → schema-form-qtfEI6QM.js} +1 -1
- package/dist/gateway/static/root/assets/sessions-page-B0yESuuL.js +1 -0
- package/dist/gateway/static/root/assets/settings-advanced-gate-q2M8RKOo.js +1 -0
- package/dist/gateway/static/root/assets/{settings-collapsible-section-CmOz80i5.js → settings-collapsible-section-BHZKjVcS.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-form-section-BmK7JJOV.js → settings-form-section-5i35D-J1.js} +1 -1
- package/dist/gateway/static/root/assets/settings-page-CGozabLD.js +1 -0
- package/dist/gateway/static/root/assets/setup-status-panel-FoOSe6nU.js +1 -0
- package/dist/gateway/static/root/assets/{share-preview-page-Dp2qGrHC.js → share-preview-page-B0H63tDv.js} +1 -1
- package/dist/gateway/static/root/assets/shares-settings-Cy5zWyYQ.js +1 -0
- package/dist/gateway/static/root/assets/skill-reload-api-DaZNFro9.js +1 -0
- package/dist/gateway/static/root/assets/skills-page-CnwtUzvw.js +2 -0
- package/dist/gateway/static/root/assets/system-settings-panel-DXs2VmBt.js +1 -0
- package/dist/gateway/static/root/assets/typed-models-lib-4gPuydz_.js +1 -0
- package/dist/gateway/static/root/assets/{use-channel-catalog-CHlO8J9G.js → use-channel-catalog-BCjP_VHb.js} +1 -1
- package/dist/gateway/static/root/assets/voice-api-key-field-DvKiOglO.js +1 -0
- package/dist/gateway/static/root/assets/{voice-player-store-DDDWYHvg.js → voice-player-store-BlF9V05n.js} +1 -1
- package/dist/gateway/static/root/assets/workflows-page-CAVZcONQ.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 +7 -8
- package/dist/src/agent/agent-manager.js.map +1 -1
- package/dist/src/agent/agent-scope.js +6 -8
- 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/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.js +8 -7
- package/dist/src/agent/background-review/settings.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/context/workspace-seed.js +1 -1
- package/dist/src/agent/embedded/run-for-session.js +1 -1
- package/dist/src/agent/embedded/run-for-session.js.map +1 -1
- package/dist/src/agent/fallback/candidates.js +6 -3
- package/dist/src/agent/fallback/candidates.js.map +1 -1
- package/dist/src/agent/goals/checklist-judge.d.ts +1 -0
- package/dist/src/agent/goals/checklist-judge.js +1 -1
- package/dist/src/agent/goals/checklist-judge.js.map +1 -1
- package/dist/src/agent/goals/evaluate-turn.d.ts +1 -0
- package/dist/src/agent/goals/evaluate-turn.js +1 -0
- package/dist/src/agent/goals/evaluate-turn.js.map +1 -1
- package/dist/src/agent/goals/post-turn.js +8 -1
- package/dist/src/agent/goals/post-turn.js.map +1 -1
- 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/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/image/understanding/pi-ai-provider.js +5 -2
- package/dist/src/agent/image/understanding/pi-ai-provider.js.map +1 -1
- package/dist/src/agent/image/understanding/provider-registry.d.ts +1 -0
- package/dist/src/agent/image/understanding/provider-registry.js +16 -2
- package/dist/src/agent/image/understanding/provider-registry.js.map +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 +2 -0
- package/dist/src/agent/memory/builtin-memory-store.js +4 -0
- 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 +261 -11
- package/dist/src/agent/memory/builtin-provider.js.map +1 -1
- 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 +24 -0
- package/dist/src/agent/memory/dreaming/deep-promotion.js.map +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 +37 -1
- package/dist/src/agent/memory/manager.js +332 -40
- package/dist/src/agent/memory/manager.js.map +1 -1
- package/dist/src/agent/memory/memory-config.js +12 -15
- package/dist/src/agent/memory/memory-config.js.map +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/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 +136 -0
- package/dist/src/agent/models/manager.d.ts +1 -1
- package/dist/src/agent/models/manager.js +1 -1
- 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/reply/post-compaction-context.js +11 -6
- package/dist/src/agent/reply/post-compaction-context.js.map +1 -1
- package/dist/src/agent/reply/startup-context.js +8 -9
- package/dist/src/agent/reply/startup-context.js.map +1 -1
- 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.js +21 -25
- 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 +9 -14
- package/dist/src/agent/session/session-inspector.js.map +1 -1
- package/dist/src/agent/skills/hub-pull.js +1 -1
- package/dist/src/agent/starter-agents.d.ts +1 -3
- package/dist/src/agent/starter-agents.js +13 -21
- 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/composio-tool.d.ts +8 -0
- package/dist/src/agent/tools/composio-tool.js +46 -0
- package/dist/src/agent/tools/composio-tool.js.map +1 -0
- package/dist/src/agent/tools/curated-memory-tool.d.ts +2 -5
- package/dist/src/agent/tools/curated-memory-tool.js +20 -16
- package/dist/src/agent/tools/curated-memory-tool.js.map +1 -1
- package/dist/src/agent/tools/factory.d.ts +0 -4
- package/dist/src/agent/tools/factory.js +32 -66
- package/dist/src/agent/tools/factory.js.map +1 -1
- package/dist/src/agent/tools/image-generate-tool.d.ts +1 -1
- package/dist/src/agent/tools/image-generate-tool.js +19 -14
- 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/index.d.ts +1 -0
- package/dist/src/agent/tools/index.js +2 -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/web-extract.js +6 -5
- package/dist/src/agent/tools/web-extract.js.map +1 -1
- package/dist/src/agent/workflow/builtins/audit-repo.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/audit-repo.js +15 -2
- package/dist/src/agent/workflow/builtins/audit-repo.js.map +1 -1
- package/dist/src/agent/workflow/builtins/client-proposal.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/client-proposal.js +10 -1
- package/dist/src/agent/workflow/builtins/client-proposal.js.map +1 -1
- package/dist/src/agent/workflow/builtins/competitor-scan.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/competitor-scan.js +16 -2
- package/dist/src/agent/workflow/builtins/competitor-scan.js.map +1 -1
- package/dist/src/agent/workflow/builtins/content-draft.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/content-draft.js +15 -2
- package/dist/src/agent/workflow/builtins/content-draft.js.map +1 -1
- package/dist/src/agent/workflow/builtins/content-repurpose.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/content-repurpose.js +10 -1
- package/dist/src/agent/workflow/builtins/content-repurpose.js.map +1 -1
- package/dist/src/agent/workflow/builtins/debug-incident.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/debug-incident.js +9 -1
- package/dist/src/agent/workflow/builtins/debug-incident.js.map +1 -1
- package/dist/src/agent/workflow/builtins/decision-compare.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/decision-compare.js +16 -2
- package/dist/src/agent/workflow/builtins/decision-compare.js.map +1 -1
- package/dist/src/agent/workflow/builtins/implementation-plan.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/implementation-plan.js +11 -1
- package/dist/src/agent/workflow/builtins/implementation-plan.js.map +1 -1
- package/dist/src/agent/workflow/builtins/inbox-triage.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/inbox-triage.js +11 -1
- package/dist/src/agent/workflow/builtins/inbox-triage.js.map +1 -1
- package/dist/src/agent/workflow/builtins/meeting-prep.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/meeting-prep.js +9 -1
- package/dist/src/agent/workflow/builtins/meeting-prep.js.map +1 -1
- package/dist/src/agent/workflow/builtins/multi-perspective-review.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/multi-perspective-review.js +9 -1
- package/dist/src/agent/workflow/builtins/multi-perspective-review.js.map +1 -1
- package/dist/src/agent/workflow/builtins/offer-design.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/offer-design.js +10 -1
- package/dist/src/agent/workflow/builtins/offer-design.js.map +1 -1
- package/dist/src/agent/workflow/builtins/pr-review.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/pr-review.js +9 -1
- package/dist/src/agent/workflow/builtins/pr-review.js.map +1 -1
- package/dist/src/agent/workflow/builtins/release-check.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/release-check.js +10 -1
- package/dist/src/agent/workflow/builtins/release-check.js.map +1 -1
- package/dist/src/agent/workflow/builtins/research.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/research.js +16 -2
- package/dist/src/agent/workflow/builtins/research.js.map +1 -1
- package/dist/src/agent/workflow/builtins/weekly-review.d.ts +1 -1
- package/dist/src/agent/workflow/builtins/weekly-review.js +9 -1
- package/dist/src/agent/workflow/builtins/weekly-review.js.map +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 +11 -0
- package/dist/src/agent-manifest/resolver.js +93 -0
- package/dist/src/agent-manifest/resolver.js.map +1 -0
- package/dist/src/agent-manifest/schema.d.ts +778 -0
- package/dist/src/agent-manifest/schema.js +267 -0
- package/dist/src/agent-manifest/schema.js.map +1 -0
- package/dist/src/agent-manifest/validator.d.ts +24 -0
- package/dist/src/agent-manifest/validator.js +87 -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/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/providers/browser-ext-install.d.ts +2 -12
- package/dist/src/browser/providers/browser-ext-install.js +3 -8
- package/dist/src/browser/providers/browser-ext-install.js.map +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/chat-commands/builtins/config.js +4 -4
- package/dist/src/chat-commands/builtins/config.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.js +1 -1
- 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 +5 -5
- package/dist/src/cli/commands/config.js.map +1 -1
- package/dist/src/cli/commands/doctor/checks/database-schema.js +1 -1
- package/dist/src/cli/commands/doctor/checks/provider-auth.js +1 -17
- package/dist/src/cli/commands/doctor/checks/provider-auth.js.map +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/models.js +26 -10
- 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 +20 -22
- package/dist/src/cli/commands/onboard/model.js.map +1 -1
- package/dist/src/cli/commands/onboard.js +1 -1
- package/dist/src/cli/commands/onboard.js.map +1 -1
- package/dist/src/cli/utils/init-workspace-core.d.ts +1 -4
- package/dist/src/cli/utils/init-workspace-core.js +7 -6
- 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 +66 -12
- 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 +31 -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 +0 -1
- package/dist/src/config/agent-typed-models.js.map +1 -1
- 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/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 +925 -781
- package/dist/src/config/schema.js +157 -424
- package/dist/src/config/schema.js.map +1 -1
- package/dist/src/connectors/composio-triggers.d.ts +10 -0
- package/dist/src/connectors/composio-triggers.js +32 -0
- package/dist/src/connectors/composio-triggers.js.map +1 -0
- package/dist/src/connectors/composio.d.ts +54 -0
- package/dist/src/connectors/composio.js +334 -0
- package/dist/src/connectors/composio.js.map +1 -0
- package/dist/src/connectors/health.js +16 -1
- package/dist/src/connectors/health.js.map +1 -1
- package/dist/src/connectors/install.d.ts +2 -1
- package/dist/src/connectors/install.js +50 -13
- package/dist/src/connectors/install.js.map +1 -1
- package/dist/src/connectors/instances.js +57 -6
- package/dist/src/connectors/instances.js.map +1 -1
- package/dist/src/connectors/lifecycle.d.ts +3 -0
- package/dist/src/connectors/lifecycle.js +23 -0
- package/dist/src/connectors/lifecycle.js.map +1 -0
- package/dist/src/connectors/materialize.js +2 -1
- package/dist/src/connectors/materialize.js.map +1 -1
- package/dist/src/connectors/providers.d.ts +1 -0
- package/dist/src/connectors/providers.js +10 -2
- package/dist/src/connectors/providers.js.map +1 -1
- package/dist/src/connectors/registries/modelscope.d.ts +2 -0
- package/dist/src/connectors/registries/modelscope.js +205 -0
- package/dist/src/connectors/registries/modelscope.js.map +1 -0
- package/dist/src/connectors/registries/official-mcp.d.ts +2 -0
- package/dist/src/connectors/registries/official-mcp.js +142 -0
- package/dist/src/connectors/registries/official-mcp.js.map +1 -0
- package/dist/src/connectors/registries/search.d.ts +12 -0
- package/dist/src/connectors/registries/search.js +89 -0
- package/dist/src/connectors/registries/search.js.map +1 -0
- package/dist/src/connectors/registries/smithery.d.ts +2 -0
- package/dist/src/connectors/registries/smithery.js +98 -0
- package/dist/src/connectors/registries/smithery.js.map +1 -0
- package/dist/src/connectors/registries/types.d.ts +20 -0
- package/dist/src/connectors/registries/types.js +1 -0
- package/dist/src/connectors/secret-store.js +4 -2
- package/dist/src/connectors/secret-store.js.map +1 -1
- package/dist/src/connectors/setup-secrets.d.ts +15 -0
- package/dist/src/connectors/setup-secrets.js +64 -0
- package/dist/src/connectors/setup-secrets.js.map +1 -0
- package/dist/src/connectors/supervisor.d.ts +15 -0
- package/dist/src/connectors/supervisor.js +73 -0
- package/dist/src/connectors/supervisor.js.map +1 -0
- package/dist/src/connectors/types.d.ts +27 -3
- package/dist/src/connectors/usage.js +6 -1
- package/dist/src/connectors/usage.js.map +1 -1
- package/dist/src/cron/index.js +1 -1
- package/dist/src/cron/service.js +1 -1
- package/dist/src/cron/validation.d.ts +3 -3
- package/dist/src/extensions/activation-context.js +13 -7
- package/dist/src/extensions/activation-context.js.map +1 -1
- package/dist/src/gateway/agents-admin.d.ts +17 -18
- package/dist/src/gateway/agents-admin.js +123 -88
- 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/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 +13 -37
- package/dist/src/gateway/hono/lib/config-payload.js.map +1 -1
- package/dist/src/gateway/hono/routes/agents.js +56 -33
- package/dist/src/gateway/hono/routes/agents.js.map +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/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/connectors.js +230 -3
- package/dist/src/gateway/hono/routes/connectors.js.map +1 -1
- package/dist/src/gateway/hono/routes/dreaming.js +7 -0
- package/dist/src/gateway/hono/routes/dreaming.js.map +1 -1
- package/dist/src/gateway/hono/routes/goals.js +52 -5
- package/dist/src/gateway/hono/routes/goals.js.map +1 -1
- 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 +8 -0
- 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 +290 -0
- package/dist/src/gateway/hono/routes/memory.js.map +1 -0
- package/dist/src/gateway/hono/routes/voice.js +14 -1
- package/dist/src/gateway/hono/routes/voice.js.map +1 -1
- package/dist/src/gateway/hono/sse.js.map +1 -1
- package/dist/src/gateway/service/agent-runner.d.ts +5 -12
- package/dist/src/gateway/service/agent-runner.js +8 -8
- package/dist/src/gateway/service/agent-runner.js.map +1 -1
- package/dist/src/gateway/service/run-gateway-agent.d.ts +2 -10
- package/dist/src/gateway/service/run-gateway-agent.js.map +1 -1
- package/dist/src/gateway/service.d.ts +2 -2
- package/dist/src/gateway/service.js +20 -16
- package/dist/src/gateway/service.js.map +1 -1
- package/dist/src/gateway/user-turn-input.d.ts +18 -0
- package/dist/src/gateway/user-turn-input.js +16 -0
- package/dist/src/gateway/user-turn-input.js.map +1 -0
- package/dist/src/goals/goal-queue-store.d.ts +2 -1
- package/dist/src/goals/goal-queue-store.js +2 -2
- package/dist/src/goals/goal-queue-store.js.map +1 -1
- package/dist/src/goals/goal-queue-types.d.ts +4 -3
- package/dist/src/goals/goal-runner.js +25 -3
- package/dist/src/goals/goal-runner.js.map +1 -1
- package/dist/src/goals/goal-service.d.ts +6 -1
- package/dist/src/goals/goal-service.js +9 -2
- package/dist/src/goals/goal-service.js.map +1 -1
- package/dist/src/goals/goal-store.d.ts +7 -1
- package/dist/src/goals/goal-store.js +42 -0
- package/dist/src/goals/goal-store.js.map +1 -1
- package/dist/src/goals/types.d.ts +10 -0
- package/dist/src/notes/agent-context.js +2 -2
- package/dist/src/providers/index.d.ts +2 -2
- package/dist/src/providers/index.js +10 -14
- package/dist/src/providers/index.js.map +1 -1
- package/dist/src/session/index.js +1 -1
- package/dist/src/session/session-workspace.js +7 -2
- package/dist/src/session/session-workspace.js.map +1 -1
- package/dist/src/session/store.js +5 -0
- package/dist/src/session/store.js.map +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/storage/sqlite/connection.js +1 -1
- 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-records-repository.d.ts +101 -0
- package/dist/src/storage/sqlite/memory-records-repository.js +309 -0
- package/dist/src/storage/sqlite/memory-records-repository.js.map +1 -0
- package/dist/src/storage/sqlite/migrations/011_goal_context_messages.sql +8 -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/runner.d.ts +2 -2
- 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 +2 -2
- package/dist/src/storage/sqlite/schema.js +3 -3
- package/dist/src/storage/sqlite/schema.sql +95 -0
- package/dist/src/tui/backends/embedded-backend.js +6 -4
- package/dist/src/tui/backends/embedded-backend.js.map +1 -1
- package/dist/src/tui/extension-host/load-extensions.js.map +1 -1
- package/dist/src/voice/tts/openai-compatible-speech.d.ts +1 -1
- package/dist/src/voice/tts/openai-compatible-speech.js.map +1 -1
- package/dist/src/voice/tts/providers/edge-speech.js +14 -2
- package/dist/src/voice/tts/providers/edge-speech.js.map +1 -1
- package/dist/src/voice/tts/speak-core.js +3 -3
- package/dist/src/voice/tts/speak-core.js.map +1 -1
- package/dist/src/voice/tts/speech-provider-types.d.ts +2 -2
- package/dist/src/voice/tts/types.js +1 -1
- package/dist/src/voice/tts/types.js.map +1 -1
- package/dist/src/workflows/domain/result.d.ts +0 -1
- package/dist/src/workflows/engine/workflow-engine.js +7 -23
- package/dist/src/workflows/engine/workflow-engine.js.map +1 -1
- package/dist/src/workflows/service/workflow-run-service.js +3 -4
- package/dist/src/workflows/service/workflow-run-service.js.map +1 -1
- package/dist/src/workflows/service/workflow-session-bridge.js +1 -1
- package/package.json +4 -3
- package/dist/gateway/static/root/assets/agent-browser-settings-page-DPXc4hz8.js +0 -6
- package/dist/gateway/static/root/assets/agent-defaults-tabbed-page-CTJ0YnRQ.js +0 -1
- package/dist/gateway/static/root/assets/agents-zJXQfJ_W.js +0 -71
- package/dist/gateway/static/root/assets/app-management-settings-panel-DzGbdr04.js +0 -1
- package/dist/gateway/static/root/assets/apps-page-CPjfyzSD.js +0 -1
- package/dist/gateway/static/root/assets/config-api-NOoPiIYz.js +0 -3
- package/dist/gateway/static/root/assets/connectors-settings-CAXYMOdp.js +0 -2
- package/dist/gateway/static/root/assets/cron-api-C9BOqAXd.js +0 -1
- package/dist/gateway/static/root/assets/cron-page-DuUbBeKI.js +0 -3
- package/dist/gateway/static/root/assets/dreaming-settings-DQ4DtiK1.js +0 -1
- package/dist/gateway/static/root/assets/gateway-config-api-C-xjn__h.js +0 -1
- package/dist/gateway/static/root/assets/gateway-settings-BMPwIjKI.js +0 -1
- package/dist/gateway/static/root/assets/goal-detail-page-BJsyjJnF.js +0 -1
- package/dist/gateway/static/root/assets/goals-page-BerDgIhw.js +0 -2
- package/dist/gateway/static/root/assets/goals-settings-ByTjeAto.js +0 -1
- package/dist/gateway/static/root/assets/heartbeat-settings-TbHgcjTn.js +0 -1
- package/dist/gateway/static/root/assets/index-AkTrf6Pb.js +0 -122
- package/dist/gateway/static/root/assets/index-fh5sXTj9.css +0 -1
- package/dist/gateway/static/root/assets/logs-page-DGXuPf5B.js +0 -2
- package/dist/gateway/static/root/assets/messages-upgxw6Ub.js +0 -3
- package/dist/gateway/static/root/assets/models-hub-panel-Bot16nn7.js +0 -2
- package/dist/gateway/static/root/assets/note-detail-page-Brlyou8M.js +0 -2
- package/dist/gateway/static/root/assets/notes-page-DvZ4pwc-.js +0 -1
- package/dist/gateway/static/root/assets/remote-access-hub-BZEDmxbZ.js +0 -1
- package/dist/gateway/static/root/assets/sessions-page-DdGGlsfn.js +0 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-DlkEkPf9.js +0 -1
- package/dist/gateway/static/root/assets/settings-page-DFPTrsPF.js +0 -1
- package/dist/gateway/static/root/assets/setup-status-panel-CYCCfgh4.js +0 -1
- package/dist/gateway/static/root/assets/shares-settings-Bff1pGd0.js +0 -1
- package/dist/gateway/static/root/assets/skill-reload-api-CJGKpBur.js +0 -1
- package/dist/gateway/static/root/assets/skills-page-C6ocduTD.js +0 -2
- package/dist/gateway/static/root/assets/system-settings-panel-5jrIEr5b.js +0 -1
- package/dist/gateway/static/root/assets/use-agent-defaults-form-BuiXLIs5.js +0 -1
- package/dist/gateway/static/root/assets/use-settings-tab-guard-CW5JORnl.js +0 -1
- package/dist/gateway/static/root/assets/voice-api-key-field-DDoQyghO.js +0 -1
- package/dist/gateway/static/root/assets/workflow-page.utils-CKjeEGqx.js +0 -1
- package/dist/gateway/static/root/assets/workflows-page-B604ehHG.js +0 -18
|
@@ -0,0 +1,778 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ManifestModelRoleSchema: z.ZodObject<{
|
|
3
|
+
model: z.ZodString;
|
|
4
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, z.core.$strict>;
|
|
6
|
+
export declare const ModelPolicySchema: z.ZodObject<{
|
|
7
|
+
defaultRole: z.ZodString;
|
|
8
|
+
roles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9
|
+
model: z.ZodString;
|
|
10
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strict>>>;
|
|
12
|
+
policy: z.ZodOptional<z.ZodObject<{
|
|
13
|
+
allowFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
maxCostTier: z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
low: "low";
|
|
16
|
+
medium: "medium";
|
|
17
|
+
high: "high";
|
|
18
|
+
}>>;
|
|
19
|
+
}, z.core.$strict>>;
|
|
20
|
+
}, z.core.$strict>;
|
|
21
|
+
export declare const ModelPolicyPatchSchema: z.ZodObject<{
|
|
22
|
+
defaultRole: z.ZodOptional<z.ZodString>;
|
|
23
|
+
roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
24
|
+
model: z.ZodString;
|
|
25
|
+
description: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.core.$strict>>>;
|
|
27
|
+
policy: z.ZodOptional<z.ZodObject<{
|
|
28
|
+
allowFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
+
maxCostTier: z.ZodOptional<z.ZodEnum<{
|
|
30
|
+
low: "low";
|
|
31
|
+
medium: "medium";
|
|
32
|
+
high: "high";
|
|
33
|
+
}>>;
|
|
34
|
+
}, z.core.$strict>>;
|
|
35
|
+
}, z.core.$strict>;
|
|
36
|
+
export declare const ToolModeSchema: z.ZodEnum<{
|
|
37
|
+
allow: "allow";
|
|
38
|
+
confirm: "confirm";
|
|
39
|
+
deny: "deny";
|
|
40
|
+
}>;
|
|
41
|
+
export declare const ToolScopeSchema: z.ZodEnum<{
|
|
42
|
+
readonly: "readonly";
|
|
43
|
+
workspace: "workspace";
|
|
44
|
+
unrestricted: "unrestricted";
|
|
45
|
+
}>;
|
|
46
|
+
export declare const ToolPolicySchema: z.ZodObject<{
|
|
47
|
+
mode: z.ZodEnum<{
|
|
48
|
+
allow: "allow";
|
|
49
|
+
confirm: "confirm";
|
|
50
|
+
deny: "deny";
|
|
51
|
+
}>;
|
|
52
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
53
|
+
readonly: "readonly";
|
|
54
|
+
workspace: "workspace";
|
|
55
|
+
unrestricted: "unrestricted";
|
|
56
|
+
}>>;
|
|
57
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
58
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
59
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
}, z.core.$strict>>;
|
|
61
|
+
}, z.core.$strict>;
|
|
62
|
+
export declare const ToolPolicySetSchema: z.ZodDefault<z.ZodObject<{
|
|
63
|
+
builtin: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
64
|
+
mode: z.ZodEnum<{
|
|
65
|
+
allow: "allow";
|
|
66
|
+
confirm: "confirm";
|
|
67
|
+
deny: "deny";
|
|
68
|
+
}>;
|
|
69
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
70
|
+
readonly: "readonly";
|
|
71
|
+
workspace: "workspace";
|
|
72
|
+
unrestricted: "unrestricted";
|
|
73
|
+
}>>;
|
|
74
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
75
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
}, z.core.$strict>>;
|
|
78
|
+
}, z.core.$strict>>>;
|
|
79
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
81
|
+
mode: z.ZodEnum<{
|
|
82
|
+
allow: "allow";
|
|
83
|
+
confirm: "confirm";
|
|
84
|
+
deny: "deny";
|
|
85
|
+
}>;
|
|
86
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
87
|
+
readonly: "readonly";
|
|
88
|
+
workspace: "workspace";
|
|
89
|
+
unrestricted: "unrestricted";
|
|
90
|
+
}>>;
|
|
91
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
92
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
94
|
+
}, z.core.$strict>>;
|
|
95
|
+
}, z.core.$strict>>>;
|
|
96
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
97
|
+
mode: z.ZodEnum<{
|
|
98
|
+
allow: "allow";
|
|
99
|
+
confirm: "confirm";
|
|
100
|
+
deny: "deny";
|
|
101
|
+
}>;
|
|
102
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
103
|
+
readonly: "readonly";
|
|
104
|
+
workspace: "workspace";
|
|
105
|
+
unrestricted: "unrestricted";
|
|
106
|
+
}>>;
|
|
107
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
108
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
109
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
110
|
+
}, z.core.$strict>>;
|
|
111
|
+
}, z.core.$strict>>>;
|
|
112
|
+
}, z.core.$strict>>;
|
|
113
|
+
}, z.core.$strict>>;
|
|
114
|
+
export declare const SkillPolicySchema: z.ZodDefault<z.ZodObject<{
|
|
115
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
116
|
+
off: "off";
|
|
117
|
+
all: "all";
|
|
118
|
+
allowlist: "allowlist";
|
|
119
|
+
denylist: "denylist";
|
|
120
|
+
}>>;
|
|
121
|
+
allow: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
122
|
+
deny: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
123
|
+
}, z.core.$strict>>;
|
|
124
|
+
export declare const DreamingPhasePolicySchema: z.ZodObject<{
|
|
125
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
127
|
+
}, z.core.$strict>;
|
|
128
|
+
export declare const DreamingLightPolicySchema: z.ZodObject<{
|
|
129
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
130
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
131
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
132
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
133
|
+
dedupeSimilarity: z.ZodOptional<z.ZodNumber>;
|
|
134
|
+
}, z.core.$strict>;
|
|
135
|
+
export declare const DreamingDeepPolicySchema: z.ZodObject<{
|
|
136
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
138
|
+
minScore: z.ZodOptional<z.ZodNumber>;
|
|
139
|
+
minRecallCount: z.ZodOptional<z.ZodNumber>;
|
|
140
|
+
minUniqueQueries: z.ZodOptional<z.ZodNumber>;
|
|
141
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
142
|
+
recencyHalfLifeDays: z.ZodOptional<z.ZodNumber>;
|
|
143
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
144
|
+
}, z.core.$strict>;
|
|
145
|
+
export declare const DreamingRemPolicySchema: z.ZodObject<{
|
|
146
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
147
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
148
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
149
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
150
|
+
minPatternStrength: z.ZodOptional<z.ZodNumber>;
|
|
151
|
+
}, z.core.$strict>;
|
|
152
|
+
export declare const DreamingPolicySchema: z.ZodOptional<z.ZodObject<{
|
|
153
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
154
|
+
frequency: z.ZodOptional<z.ZodString>;
|
|
155
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
156
|
+
phases: z.ZodOptional<z.ZodObject<{
|
|
157
|
+
light: z.ZodOptional<z.ZodObject<{
|
|
158
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
159
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
160
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
161
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
162
|
+
dedupeSimilarity: z.ZodOptional<z.ZodNumber>;
|
|
163
|
+
}, z.core.$strict>>;
|
|
164
|
+
deep: z.ZodOptional<z.ZodObject<{
|
|
165
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
166
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
167
|
+
minScore: z.ZodOptional<z.ZodNumber>;
|
|
168
|
+
minRecallCount: z.ZodOptional<z.ZodNumber>;
|
|
169
|
+
minUniqueQueries: z.ZodOptional<z.ZodNumber>;
|
|
170
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
recencyHalfLifeDays: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
173
|
+
}, z.core.$strict>>;
|
|
174
|
+
rem: z.ZodOptional<z.ZodObject<{
|
|
175
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
176
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
177
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
178
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
179
|
+
minPatternStrength: z.ZodOptional<z.ZodNumber>;
|
|
180
|
+
}, z.core.$strict>>;
|
|
181
|
+
}, z.core.$strict>>;
|
|
182
|
+
}, z.core.$strict>>;
|
|
183
|
+
export declare const MemoryPolicySchema: z.ZodDefault<z.ZodObject<{
|
|
184
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
185
|
+
off: "off";
|
|
186
|
+
readOnly: "readOnly";
|
|
187
|
+
confirmWrite: "confirmWrite";
|
|
188
|
+
auto: "auto";
|
|
189
|
+
}>>;
|
|
190
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
191
|
+
workspace: "workspace";
|
|
192
|
+
session: "session";
|
|
193
|
+
userProfile: "userProfile";
|
|
194
|
+
agentProfile: "agentProfile";
|
|
195
|
+
curated: "curated";
|
|
196
|
+
}>>>;
|
|
197
|
+
writePolicy: z.ZodOptional<z.ZodObject<{
|
|
198
|
+
userProfile: z.ZodOptional<z.ZodEnum<{
|
|
199
|
+
allow: "allow";
|
|
200
|
+
confirm: "confirm";
|
|
201
|
+
deny: "deny";
|
|
202
|
+
}>>;
|
|
203
|
+
agentProfile: z.ZodOptional<z.ZodEnum<{
|
|
204
|
+
allow: "allow";
|
|
205
|
+
confirm: "confirm";
|
|
206
|
+
deny: "deny";
|
|
207
|
+
}>>;
|
|
208
|
+
curated: z.ZodOptional<z.ZodEnum<{
|
|
209
|
+
allow: "allow";
|
|
210
|
+
confirm: "confirm";
|
|
211
|
+
deny: "deny";
|
|
212
|
+
}>>;
|
|
213
|
+
workspace: z.ZodOptional<z.ZodEnum<{
|
|
214
|
+
allow: "allow";
|
|
215
|
+
confirm: "confirm";
|
|
216
|
+
deny: "deny";
|
|
217
|
+
}>>;
|
|
218
|
+
}, z.core.$strict>>;
|
|
219
|
+
retention: z.ZodOptional<z.ZodObject<{
|
|
220
|
+
compaction: z.ZodDefault<z.ZodBoolean>;
|
|
221
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
222
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
223
|
+
}, z.core.$strict>>;
|
|
224
|
+
privacy: z.ZodOptional<z.ZodObject<{
|
|
225
|
+
crossAgentSharing: z.ZodDefault<z.ZodEnum<{
|
|
226
|
+
allow: "allow";
|
|
227
|
+
deny: "deny";
|
|
228
|
+
readOnly: "readOnly";
|
|
229
|
+
}>>;
|
|
230
|
+
sensitiveWritePolicy: z.ZodDefault<z.ZodEnum<{
|
|
231
|
+
allow: "allow";
|
|
232
|
+
confirm: "confirm";
|
|
233
|
+
deny: "deny";
|
|
234
|
+
}>>;
|
|
235
|
+
}, z.core.$strict>>;
|
|
236
|
+
providerRouting: z.ZodOptional<z.ZodObject<{
|
|
237
|
+
searchStrategy: z.ZodDefault<z.ZodEnum<{
|
|
238
|
+
"local-first": "local-first";
|
|
239
|
+
"external-first": "external-first";
|
|
240
|
+
fanout: "fanout";
|
|
241
|
+
"local-only": "local-only";
|
|
242
|
+
"external-only": "external-only";
|
|
243
|
+
}>>;
|
|
244
|
+
writeStrategy: z.ZodDefault<z.ZodEnum<{
|
|
245
|
+
"local-first": "local-first";
|
|
246
|
+
"external-first": "external-first";
|
|
247
|
+
"local-only": "local-only";
|
|
248
|
+
"external-only": "external-only";
|
|
249
|
+
"write-through": "write-through";
|
|
250
|
+
}>>;
|
|
251
|
+
allowExternalWrites: z.ZodDefault<z.ZodBoolean>;
|
|
252
|
+
allowedProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
253
|
+
autoWriteKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
254
|
+
user_profile: "user_profile";
|
|
255
|
+
agent_note: "agent_note";
|
|
256
|
+
workspace_fact: "workspace_fact";
|
|
257
|
+
daily_note: "daily_note";
|
|
258
|
+
session_summary: "session_summary";
|
|
259
|
+
derived_insight: "derived_insight";
|
|
260
|
+
}>>>;
|
|
261
|
+
}, z.core.$strict>>;
|
|
262
|
+
dreaming: z.ZodOptional<z.ZodObject<{
|
|
263
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
264
|
+
frequency: z.ZodOptional<z.ZodString>;
|
|
265
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
266
|
+
phases: z.ZodOptional<z.ZodObject<{
|
|
267
|
+
light: z.ZodOptional<z.ZodObject<{
|
|
268
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
269
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
270
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
271
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
272
|
+
dedupeSimilarity: z.ZodOptional<z.ZodNumber>;
|
|
273
|
+
}, z.core.$strict>>;
|
|
274
|
+
deep: z.ZodOptional<z.ZodObject<{
|
|
275
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
276
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
277
|
+
minScore: z.ZodOptional<z.ZodNumber>;
|
|
278
|
+
minRecallCount: z.ZodOptional<z.ZodNumber>;
|
|
279
|
+
minUniqueQueries: z.ZodOptional<z.ZodNumber>;
|
|
280
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
281
|
+
recencyHalfLifeDays: z.ZodOptional<z.ZodNumber>;
|
|
282
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
283
|
+
}, z.core.$strict>>;
|
|
284
|
+
rem: z.ZodOptional<z.ZodObject<{
|
|
285
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
286
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
287
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
288
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
289
|
+
minPatternStrength: z.ZodOptional<z.ZodNumber>;
|
|
290
|
+
}, z.core.$strict>>;
|
|
291
|
+
}, z.core.$strict>>;
|
|
292
|
+
}, z.core.$strict>>;
|
|
293
|
+
}, z.core.$strict>>;
|
|
294
|
+
export declare const WorkflowPolicySchema: z.ZodDefault<z.ZodObject<{
|
|
295
|
+
default: z.ZodOptional<z.ZodString>;
|
|
296
|
+
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
297
|
+
suggested: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
298
|
+
intent: z.ZodString;
|
|
299
|
+
workflow: z.ZodString;
|
|
300
|
+
}, z.core.$strict>>>;
|
|
301
|
+
}, z.core.$strict>>;
|
|
302
|
+
export declare const BoundaryPolicySchema: z.ZodDefault<z.ZodObject<{
|
|
303
|
+
requiresConfirmation: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
304
|
+
forbidden: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
305
|
+
escalation: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
306
|
+
}, z.core.$strict>>;
|
|
307
|
+
export declare const WorkspacePolicySchema: z.ZodObject<{
|
|
308
|
+
root: z.ZodString;
|
|
309
|
+
}, z.core.$strict>;
|
|
310
|
+
export declare const RuntimePolicySchema: z.ZodOptional<z.ZodObject<{
|
|
311
|
+
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
312
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
313
|
+
maxToolFailuresPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
314
|
+
}, z.core.$strict>>;
|
|
315
|
+
export declare const PromptPolicySchema: z.ZodOptional<z.ZodObject<{
|
|
316
|
+
customInstructions: z.ZodOptional<z.ZodString>;
|
|
317
|
+
}, z.core.$strict>>;
|
|
318
|
+
export declare const AgentIdentitySchema: z.ZodObject<{
|
|
319
|
+
name: z.ZodString;
|
|
320
|
+
description: z.ZodOptional<z.ZodString>;
|
|
321
|
+
role: z.ZodString;
|
|
322
|
+
language: z.ZodDefault<z.ZodString>;
|
|
323
|
+
tone: z.ZodDefault<z.ZodString>;
|
|
324
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
325
|
+
}, z.core.$strict>;
|
|
326
|
+
export declare const AgentResponsibilitiesSchema: z.ZodObject<{
|
|
327
|
+
primary: z.ZodArray<z.ZodString>;
|
|
328
|
+
secondary: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
329
|
+
outOfScope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
330
|
+
}, z.core.$strict>;
|
|
331
|
+
export declare const AgentManifestSchema: z.ZodObject<{
|
|
332
|
+
id: z.ZodString;
|
|
333
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
334
|
+
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
335
|
+
identity: z.ZodObject<{
|
|
336
|
+
name: z.ZodString;
|
|
337
|
+
description: z.ZodOptional<z.ZodString>;
|
|
338
|
+
role: z.ZodString;
|
|
339
|
+
language: z.ZodDefault<z.ZodString>;
|
|
340
|
+
tone: z.ZodDefault<z.ZodString>;
|
|
341
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
342
|
+
}, z.core.$strict>;
|
|
343
|
+
responsibilities: z.ZodObject<{
|
|
344
|
+
primary: z.ZodArray<z.ZodString>;
|
|
345
|
+
secondary: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
346
|
+
outOfScope: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
347
|
+
}, z.core.$strict>;
|
|
348
|
+
workspace: z.ZodObject<{
|
|
349
|
+
root: z.ZodString;
|
|
350
|
+
}, z.core.$strict>;
|
|
351
|
+
models: z.ZodObject<{
|
|
352
|
+
defaultRole: z.ZodString;
|
|
353
|
+
roles: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
354
|
+
model: z.ZodString;
|
|
355
|
+
description: z.ZodOptional<z.ZodString>;
|
|
356
|
+
}, z.core.$strict>>>;
|
|
357
|
+
policy: z.ZodOptional<z.ZodObject<{
|
|
358
|
+
allowFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
359
|
+
maxCostTier: z.ZodOptional<z.ZodEnum<{
|
|
360
|
+
low: "low";
|
|
361
|
+
medium: "medium";
|
|
362
|
+
high: "high";
|
|
363
|
+
}>>;
|
|
364
|
+
}, z.core.$strict>>;
|
|
365
|
+
}, z.core.$strict>;
|
|
366
|
+
tools: z.ZodDefault<z.ZodObject<{
|
|
367
|
+
builtin: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
368
|
+
mode: z.ZodEnum<{
|
|
369
|
+
allow: "allow";
|
|
370
|
+
confirm: "confirm";
|
|
371
|
+
deny: "deny";
|
|
372
|
+
}>;
|
|
373
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
374
|
+
readonly: "readonly";
|
|
375
|
+
workspace: "workspace";
|
|
376
|
+
unrestricted: "unrestricted";
|
|
377
|
+
}>>;
|
|
378
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
379
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
380
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
381
|
+
}, z.core.$strict>>;
|
|
382
|
+
}, z.core.$strict>>>;
|
|
383
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
384
|
+
servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
385
|
+
mode: z.ZodEnum<{
|
|
386
|
+
allow: "allow";
|
|
387
|
+
confirm: "confirm";
|
|
388
|
+
deny: "deny";
|
|
389
|
+
}>;
|
|
390
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
391
|
+
readonly: "readonly";
|
|
392
|
+
workspace: "workspace";
|
|
393
|
+
unrestricted: "unrestricted";
|
|
394
|
+
}>>;
|
|
395
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
396
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
397
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
398
|
+
}, z.core.$strict>>;
|
|
399
|
+
}, z.core.$strict>>>;
|
|
400
|
+
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
401
|
+
mode: z.ZodEnum<{
|
|
402
|
+
allow: "allow";
|
|
403
|
+
confirm: "confirm";
|
|
404
|
+
deny: "deny";
|
|
405
|
+
}>;
|
|
406
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
407
|
+
readonly: "readonly";
|
|
408
|
+
workspace: "workspace";
|
|
409
|
+
unrestricted: "unrestricted";
|
|
410
|
+
}>>;
|
|
411
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
412
|
+
maxCallsPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
413
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
414
|
+
}, z.core.$strict>>;
|
|
415
|
+
}, z.core.$strict>>>;
|
|
416
|
+
}, z.core.$strict>>;
|
|
417
|
+
}, z.core.$strict>>;
|
|
418
|
+
skills: z.ZodDefault<z.ZodObject<{
|
|
419
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
420
|
+
off: "off";
|
|
421
|
+
all: "all";
|
|
422
|
+
allowlist: "allowlist";
|
|
423
|
+
denylist: "denylist";
|
|
424
|
+
}>>;
|
|
425
|
+
allow: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
426
|
+
deny: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
427
|
+
}, z.core.$strict>>;
|
|
428
|
+
memory: z.ZodDefault<z.ZodObject<{
|
|
429
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
430
|
+
off: "off";
|
|
431
|
+
readOnly: "readOnly";
|
|
432
|
+
confirmWrite: "confirmWrite";
|
|
433
|
+
auto: "auto";
|
|
434
|
+
}>>;
|
|
435
|
+
sources: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
436
|
+
workspace: "workspace";
|
|
437
|
+
session: "session";
|
|
438
|
+
userProfile: "userProfile";
|
|
439
|
+
agentProfile: "agentProfile";
|
|
440
|
+
curated: "curated";
|
|
441
|
+
}>>>;
|
|
442
|
+
writePolicy: z.ZodOptional<z.ZodObject<{
|
|
443
|
+
userProfile: z.ZodOptional<z.ZodEnum<{
|
|
444
|
+
allow: "allow";
|
|
445
|
+
confirm: "confirm";
|
|
446
|
+
deny: "deny";
|
|
447
|
+
}>>;
|
|
448
|
+
agentProfile: z.ZodOptional<z.ZodEnum<{
|
|
449
|
+
allow: "allow";
|
|
450
|
+
confirm: "confirm";
|
|
451
|
+
deny: "deny";
|
|
452
|
+
}>>;
|
|
453
|
+
curated: z.ZodOptional<z.ZodEnum<{
|
|
454
|
+
allow: "allow";
|
|
455
|
+
confirm: "confirm";
|
|
456
|
+
deny: "deny";
|
|
457
|
+
}>>;
|
|
458
|
+
workspace: z.ZodOptional<z.ZodEnum<{
|
|
459
|
+
allow: "allow";
|
|
460
|
+
confirm: "confirm";
|
|
461
|
+
deny: "deny";
|
|
462
|
+
}>>;
|
|
463
|
+
}, z.core.$strict>>;
|
|
464
|
+
retention: z.ZodOptional<z.ZodObject<{
|
|
465
|
+
compaction: z.ZodDefault<z.ZodBoolean>;
|
|
466
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
467
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
468
|
+
}, z.core.$strict>>;
|
|
469
|
+
privacy: z.ZodOptional<z.ZodObject<{
|
|
470
|
+
crossAgentSharing: z.ZodDefault<z.ZodEnum<{
|
|
471
|
+
allow: "allow";
|
|
472
|
+
deny: "deny";
|
|
473
|
+
readOnly: "readOnly";
|
|
474
|
+
}>>;
|
|
475
|
+
sensitiveWritePolicy: z.ZodDefault<z.ZodEnum<{
|
|
476
|
+
allow: "allow";
|
|
477
|
+
confirm: "confirm";
|
|
478
|
+
deny: "deny";
|
|
479
|
+
}>>;
|
|
480
|
+
}, z.core.$strict>>;
|
|
481
|
+
providerRouting: z.ZodOptional<z.ZodObject<{
|
|
482
|
+
searchStrategy: z.ZodDefault<z.ZodEnum<{
|
|
483
|
+
"local-first": "local-first";
|
|
484
|
+
"external-first": "external-first";
|
|
485
|
+
fanout: "fanout";
|
|
486
|
+
"local-only": "local-only";
|
|
487
|
+
"external-only": "external-only";
|
|
488
|
+
}>>;
|
|
489
|
+
writeStrategy: z.ZodDefault<z.ZodEnum<{
|
|
490
|
+
"local-first": "local-first";
|
|
491
|
+
"external-first": "external-first";
|
|
492
|
+
"local-only": "local-only";
|
|
493
|
+
"external-only": "external-only";
|
|
494
|
+
"write-through": "write-through";
|
|
495
|
+
}>>;
|
|
496
|
+
allowExternalWrites: z.ZodDefault<z.ZodBoolean>;
|
|
497
|
+
allowedProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
498
|
+
autoWriteKinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
499
|
+
user_profile: "user_profile";
|
|
500
|
+
agent_note: "agent_note";
|
|
501
|
+
workspace_fact: "workspace_fact";
|
|
502
|
+
daily_note: "daily_note";
|
|
503
|
+
session_summary: "session_summary";
|
|
504
|
+
derived_insight: "derived_insight";
|
|
505
|
+
}>>>;
|
|
506
|
+
}, z.core.$strict>>;
|
|
507
|
+
dreaming: z.ZodOptional<z.ZodObject<{
|
|
508
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
509
|
+
frequency: z.ZodOptional<z.ZodString>;
|
|
510
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
511
|
+
phases: z.ZodOptional<z.ZodObject<{
|
|
512
|
+
light: z.ZodOptional<z.ZodObject<{
|
|
513
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
514
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
515
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
516
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
517
|
+
dedupeSimilarity: z.ZodOptional<z.ZodNumber>;
|
|
518
|
+
}, z.core.$strict>>;
|
|
519
|
+
deep: z.ZodOptional<z.ZodObject<{
|
|
520
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
521
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
522
|
+
minScore: z.ZodOptional<z.ZodNumber>;
|
|
523
|
+
minRecallCount: z.ZodOptional<z.ZodNumber>;
|
|
524
|
+
minUniqueQueries: z.ZodOptional<z.ZodNumber>;
|
|
525
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
526
|
+
recencyHalfLifeDays: z.ZodOptional<z.ZodNumber>;
|
|
527
|
+
maxAgeDays: z.ZodOptional<z.ZodNumber>;
|
|
528
|
+
}, z.core.$strict>>;
|
|
529
|
+
rem: z.ZodOptional<z.ZodObject<{
|
|
530
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
531
|
+
cron: z.ZodOptional<z.ZodString>;
|
|
532
|
+
lookbackDays: z.ZodOptional<z.ZodNumber>;
|
|
533
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
534
|
+
minPatternStrength: z.ZodOptional<z.ZodNumber>;
|
|
535
|
+
}, z.core.$strict>>;
|
|
536
|
+
}, z.core.$strict>>;
|
|
537
|
+
}, z.core.$strict>>;
|
|
538
|
+
}, z.core.$strict>>;
|
|
539
|
+
workflows: z.ZodDefault<z.ZodObject<{
|
|
540
|
+
default: z.ZodOptional<z.ZodString>;
|
|
541
|
+
allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
542
|
+
suggested: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
543
|
+
intent: z.ZodString;
|
|
544
|
+
workflow: z.ZodString;
|
|
545
|
+
}, z.core.$strict>>>;
|
|
546
|
+
}, z.core.$strict>>;
|
|
547
|
+
boundaries: z.ZodDefault<z.ZodObject<{
|
|
548
|
+
requiresConfirmation: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
549
|
+
forbidden: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
550
|
+
escalation: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
551
|
+
}, z.core.$strict>>;
|
|
552
|
+
runtime: z.ZodOptional<z.ZodObject<{
|
|
553
|
+
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
554
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
555
|
+
maxToolFailuresPerTurn: z.ZodOptional<z.ZodNumber>;
|
|
556
|
+
}, z.core.$strict>>;
|
|
557
|
+
prompt: z.ZodOptional<z.ZodObject<{
|
|
558
|
+
customInstructions: z.ZodOptional<z.ZodString>;
|
|
559
|
+
}, z.core.$strict>>;
|
|
560
|
+
}, z.core.$strict>;
|
|
561
|
+
export declare const CapabilityPresetSchema: z.ZodObject<{
|
|
562
|
+
id: z.ZodString;
|
|
563
|
+
name: z.ZodString;
|
|
564
|
+
description: z.ZodOptional<z.ZodString>;
|
|
565
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
566
|
+
extends: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
567
|
+
models: z.ZodOptional<z.ZodObject<{
|
|
568
|
+
defaultRole: z.ZodOptional<z.ZodString>;
|
|
569
|
+
roles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
570
|
+
model: z.ZodString;
|
|
571
|
+
description: z.ZodOptional<z.ZodString>;
|
|
572
|
+
}, z.core.$strict>>>;
|
|
573
|
+
policy: z.ZodOptional<z.ZodObject<{
|
|
574
|
+
allowFallbacks: z.ZodOptional<z.ZodBoolean>;
|
|
575
|
+
maxCostTier: z.ZodOptional<z.ZodEnum<{
|
|
576
|
+
low: "low";
|
|
577
|
+
medium: "medium";
|
|
578
|
+
high: "high";
|
|
579
|
+
}>>;
|
|
580
|
+
}, z.core.$strict>>;
|
|
581
|
+
}, z.core.$strict>>;
|
|
582
|
+
tools: z.ZodOptional<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.ZodOptional<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.ZodOptional<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.ZodOptional<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.ZodOptional<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
|
+
locks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
774
|
+
}, z.core.$strict>;
|
|
775
|
+
export type AgentManifest = z.infer<typeof AgentManifestSchema>;
|
|
776
|
+
export type CapabilityPreset = z.infer<typeof CapabilityPresetSchema>;
|
|
777
|
+
export type EffectiveAgentManifest = AgentManifest;
|
|
778
|
+
export type ToolPolicy = z.infer<typeof ToolPolicySchema>;
|