@frontmcp/sdk 0.12.2 → 1.0.0-beta.2
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/adapter/adapter.instance.d.ts +6 -0
- package/adapter/adapter.instance.d.ts.map +1 -1
- package/agent/adapters/adapter.factory.d.ts +7 -9
- package/agent/adapters/adapter.factory.d.ts.map +1 -1
- package/agent/adapters/anthropic.adapter.d.ts +151 -0
- package/agent/adapters/anthropic.adapter.d.ts.map +1 -0
- package/agent/adapters/base.adapter.d.ts.map +1 -1
- package/agent/adapters/index.d.ts +38 -24
- package/agent/adapters/index.d.ts.map +1 -1
- package/agent/adapters/openai.adapter.d.ts +288 -0
- package/agent/adapters/openai.adapter.d.ts.map +1 -0
- package/agent/adapters/providers/index.d.ts +9 -7
- package/agent/adapters/providers/index.d.ts.map +1 -1
- package/agent/adapters/providers/types.d.ts +5 -1
- package/agent/adapters/providers/types.d.ts.map +1 -1
- package/agent/agent-execution-loop.d.ts.map +1 -1
- package/agent/agent.instance.d.ts +5 -2
- package/agent/agent.instance.d.ts.map +1 -1
- package/agent/agent.registry.d.ts +1 -1
- package/agent/agent.registry.d.ts.map +1 -1
- package/agent/agent.scope.d.ts +38 -46
- package/agent/agent.scope.d.ts.map +1 -1
- package/agent/flows/call-agent.flow.d.ts +12 -3
- package/agent/flows/call-agent.flow.d.ts.map +1 -1
- package/agent/index.d.ts +12 -6
- package/agent/index.d.ts.map +1 -1
- package/app/app.registry.d.ts.map +1 -1
- package/app/app.utils.d.ts.map +1 -1
- package/app/instances/app.esm.instance.d.ts +77 -0
- package/app/instances/app.esm.instance.d.ts.map +1 -0
- package/app/instances/esm-normalize.utils.d.ts +72 -0
- package/app/instances/esm-normalize.utils.d.ts.map +1 -0
- package/app/instances/index.d.ts +1 -0
- package/app/instances/index.d.ts.map +1 -1
- package/auth/auth.registry.d.ts.map +1 -1
- package/auth/cimd/index.d.ts +1 -1
- package/auth/cimd/index.d.ts.map +1 -1
- package/auth/instances/instance.local-primary-auth.d.ts +2 -3
- package/auth/instances/instance.local-primary-auth.d.ts.map +1 -1
- package/auth/instances/instance.remote-primary-auth.d.ts +0 -1
- package/auth/instances/instance.remote-primary-auth.d.ts.map +1 -1
- package/auth/session/record/session.base.d.ts.map +1 -1
- package/auth/session/transport-session.manager.d.ts.map +1 -1
- package/builtin/config/config.plugin.d.ts.map +1 -1
- package/builtin/config/index.d.ts +2 -1
- package/builtin/config/index.d.ts.map +1 -1
- package/builtin/config/providers/config-loader.d.ts.map +1 -1
- package/builtin/config/providers/env-loader.d.ts.map +1 -1
- package/common/decorators/adapter.decorator.d.ts +1 -1
- package/common/decorators/adapter.decorator.d.ts.map +1 -1
- package/common/decorators/agent.decorator.d.ts +13 -4
- package/common/decorators/agent.decorator.d.ts.map +1 -1
- package/common/decorators/app.decorator.d.ts +33 -3
- package/common/decorators/app.decorator.d.ts.map +1 -1
- package/common/decorators/auth-provider.decorator.d.ts +1 -1
- package/common/decorators/auth-provider.decorator.d.ts.map +1 -1
- package/common/decorators/flow.decorator.d.ts +1 -1
- package/common/decorators/flow.decorator.d.ts.map +1 -1
- package/common/decorators/front-mcp.decorator.d.ts.map +1 -1
- package/common/decorators/job.decorator.d.ts +11 -1
- package/common/decorators/job.decorator.d.ts.map +1 -1
- package/common/decorators/logger.decorator.d.ts +1 -1
- package/common/decorators/logger.decorator.d.ts.map +1 -1
- package/common/decorators/prompt.decorator.d.ts +13 -3
- package/common/decorators/prompt.decorator.d.ts.map +1 -1
- package/common/decorators/provider.decorator.d.ts +1 -1
- package/common/decorators/provider.decorator.d.ts.map +1 -1
- package/common/decorators/resource.decorator.d.ts +12 -2
- package/common/decorators/resource.decorator.d.ts.map +1 -1
- package/common/decorators/skill.decorator.d.ts +11 -1
- package/common/decorators/skill.decorator.d.ts.map +1 -1
- package/common/decorators/tool.decorator.d.ts +20 -44
- package/common/decorators/tool.decorator.d.ts.map +1 -1
- package/common/dynamic/dynamic.utils.d.ts +1 -1
- package/common/entries/adapter.entry.d.ts.map +1 -1
- package/common/entries/agent.entry.d.ts +5 -7
- package/common/entries/agent.entry.d.ts.map +1 -1
- package/common/entries/logger.entry.d.ts.map +1 -1
- package/common/entries/prompt.entry.d.ts +3 -3
- package/common/entries/prompt.entry.d.ts.map +1 -1
- package/common/entries/resource.entry.d.ts +3 -3
- package/common/entries/resource.entry.d.ts.map +1 -1
- package/common/entries/tool.entry.d.ts +15 -4
- package/common/entries/tool.entry.d.ts.map +1 -1
- package/common/interfaces/adapter.interface.d.ts +15 -0
- package/common/interfaces/adapter.interface.d.ts.map +1 -1
- package/common/interfaces/agent.interface.d.ts +2 -2
- package/common/interfaces/agent.interface.d.ts.map +1 -1
- package/common/interfaces/auth-hook.interface.d.ts.map +1 -1
- package/common/interfaces/execution-context.interface.d.ts +1 -2
- package/common/interfaces/execution-context.interface.d.ts.map +1 -1
- package/common/interfaces/flow.interface.d.ts.map +1 -1
- package/common/interfaces/front-mcp.interface.d.ts.map +1 -1
- package/common/interfaces/internal/registry.interface.d.ts +3 -5
- package/common/interfaces/internal/registry.interface.d.ts.map +1 -1
- package/common/interfaces/job.interface.d.ts +1 -1
- package/common/interfaces/job.interface.d.ts.map +1 -1
- package/common/interfaces/prompt.interface.d.ts +3 -3
- package/common/interfaces/prompt.interface.d.ts.map +1 -1
- package/common/interfaces/resource.interface.d.ts +1 -1
- package/common/interfaces/resource.interface.d.ts.map +1 -1
- package/common/interfaces/server.interface.d.ts +1 -1
- package/common/interfaces/server.interface.d.ts.map +1 -1
- package/common/interfaces/skill.interface.d.ts +1 -1
- package/common/interfaces/skill.interface.d.ts.map +1 -1
- package/common/interfaces/tool.interface.d.ts +1 -1
- package/common/interfaces/tool.interface.d.ts.map +1 -1
- package/common/interfaces/workflow.interface.d.ts +1 -1
- package/common/interfaces/workflow.interface.d.ts.map +1 -1
- package/common/metadata/adapter.metadata.d.ts.map +1 -1
- package/common/metadata/agent.metadata.d.ts +56 -7
- package/common/metadata/agent.metadata.d.ts.map +1 -1
- package/common/metadata/app-filter.metadata.d.ts +78 -0
- package/common/metadata/app-filter.metadata.d.ts.map +1 -0
- package/common/metadata/app.metadata.d.ts +198 -76
- package/common/metadata/app.metadata.d.ts.map +1 -1
- package/common/metadata/auth-provider.metadata.d.ts.map +1 -1
- package/common/metadata/front-mcp.metadata.d.ts +2143 -426
- package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
- package/common/metadata/index.d.ts +2 -0
- package/common/metadata/index.d.ts.map +1 -1
- package/common/metadata/job.metadata.d.ts +1 -1
- package/common/metadata/logger.metadata.d.ts.map +1 -1
- package/common/metadata/plugin.metadata.d.ts +1 -1
- package/common/metadata/prompt.metadata.d.ts +2 -2
- package/common/metadata/prompt.metadata.d.ts.map +1 -1
- package/common/metadata/remote-primitive.metadata.d.ts +35 -0
- package/common/metadata/remote-primitive.metadata.d.ts.map +1 -0
- package/common/metadata/resource.metadata.d.ts +1 -1
- package/common/metadata/resource.metadata.d.ts.map +1 -1
- package/common/metadata/tool-ui.metadata.d.ts +1 -1
- package/common/metadata/tool-ui.metadata.d.ts.map +1 -1
- package/common/metadata/tool.metadata.d.ts +86 -19
- package/common/metadata/tool.metadata.d.ts.map +1 -1
- package/common/metadata/workflow.metadata.d.ts +1 -1
- package/common/records/agent.record.d.ts +43 -2
- package/common/records/agent.record.d.ts.map +1 -1
- package/common/records/flow.record.d.ts.map +1 -1
- package/common/records/job.record.d.ts +35 -2
- package/common/records/job.record.d.ts.map +1 -1
- package/common/records/prompt.record.d.ts +35 -2
- package/common/records/prompt.record.d.ts.map +1 -1
- package/common/records/resource.record.d.ts +35 -2
- package/common/records/resource.record.d.ts.map +1 -1
- package/common/records/skill.record.d.ts +44 -2
- package/common/records/skill.record.d.ts.map +1 -1
- package/common/records/tool.record.d.ts +35 -2
- package/common/records/tool.record.d.ts.map +1 -1
- package/common/records/workflow.record.d.ts +35 -2
- package/common/records/workflow.record.d.ts.map +1 -1
- package/common/schemas/annotated-class.schema.d.ts +2 -2
- package/common/schemas/annotated-class.schema.d.ts.map +1 -1
- package/common/schemas/http-input.schema.d.ts.map +1 -1
- package/common/schemas/http-output.schema.d.ts +2 -2
- package/common/schemas/http-output.schema.d.ts.map +1 -1
- package/common/tokens/adapter.tokens.d.ts.map +1 -1
- package/common/tokens/agent.tokens.d.ts +3 -0
- package/common/tokens/agent.tokens.d.ts.map +1 -1
- package/common/tokens/app.tokens.d.ts.map +1 -1
- package/common/tokens/auth-provider.tokens.d.ts.map +1 -1
- package/common/tokens/front-mcp.tokens.d.ts.map +1 -1
- package/common/tokens/logger.tokens.d.ts.map +1 -1
- package/common/tokens/prompt.tokens.d.ts +1 -0
- package/common/tokens/prompt.tokens.d.ts.map +1 -1
- package/common/tokens/provider.tokens.d.ts.map +1 -1
- package/common/tokens/tool.tokens.d.ts +3 -2
- package/common/tokens/tool.tokens.d.ts.map +1 -1
- package/common/types/common.types.d.ts +2 -2
- package/common/types/common.types.d.ts.map +1 -1
- package/common/types/options/auth/app-auth.schema.d.ts +2 -271
- package/common/types/options/auth/app-auth.schema.d.ts.map +1 -1
- package/common/types/options/auth/index.d.ts +6 -6
- package/common/types/options/auth/index.d.ts.map +1 -1
- package/common/types/options/auth/interfaces.d.ts +1 -430
- package/common/types/options/auth/interfaces.d.ts.map +1 -1
- package/common/types/options/auth/orchestrated.schema.d.ts +2 -457
- package/common/types/options/auth/orchestrated.schema.d.ts.map +1 -1
- package/common/types/options/auth/public.schema.d.ts +2 -21
- package/common/types/options/auth/public.schema.d.ts.map +1 -1
- package/common/types/options/auth/schema.d.ts +2 -280
- package/common/types/options/auth/schema.d.ts.map +1 -1
- package/common/types/options/auth/shared.schemas.d.ts +2 -2
- package/common/types/options/auth/shared.schemas.d.ts.map +1 -1
- package/common/types/options/auth/transparent.schema.d.ts +2 -35
- package/common/types/options/auth/transparent.schema.d.ts.map +1 -1
- package/common/types/options/auth/typecheck.d.ts.map +1 -1
- package/common/types/options/auth/utils.d.ts +1 -32
- package/common/types/options/auth/utils.d.ts.map +1 -1
- package/common/types/options/elicitation/schema.d.ts +2 -4
- package/common/types/options/elicitation/schema.d.ts.map +1 -1
- package/common/types/options/ext-apps/index.d.ts +1 -1
- package/common/types/options/ext-apps/index.d.ts.map +1 -1
- package/common/types/options/ext-apps/interfaces.d.ts +55 -0
- package/common/types/options/ext-apps/interfaces.d.ts.map +1 -1
- package/common/types/options/ext-apps/schema.d.ts +3 -1
- package/common/types/options/ext-apps/schema.d.ts.map +1 -1
- package/common/types/options/ext-apps/typecheck.d.ts +2 -0
- package/common/types/options/ext-apps/typecheck.d.ts.map +1 -0
- package/common/types/options/http/schema.d.ts +3 -1
- package/common/types/options/http/schema.d.ts.map +1 -1
- package/common/types/options/http/typecheck.d.ts +2 -0
- package/common/types/options/http/typecheck.d.ts.map +1 -0
- package/common/types/options/logging/schema.d.ts +3 -2
- package/common/types/options/logging/schema.d.ts.map +1 -1
- package/common/types/options/redis/index.d.ts +1 -1
- package/common/types/options/redis/index.d.ts.map +1 -1
- package/common/types/options/redis/interfaces.d.ts +4 -0
- package/common/types/options/redis/interfaces.d.ts.map +1 -1
- package/common/types/options/redis/schema.d.ts +7 -4
- package/common/types/options/redis/schema.d.ts.map +1 -1
- package/common/types/options/redis/typecheck.d.ts +2 -0
- package/common/types/options/redis/typecheck.d.ts.map +1 -0
- package/common/types/options/server-info/interfaces.d.ts +1 -1
- package/common/types/options/server-info/interfaces.d.ts.map +1 -1
- package/common/types/options/skills-http/schema.d.ts +3 -2
- package/common/types/options/skills-http/schema.d.ts.map +1 -1
- package/common/types/options/skills-http/typecheck.d.ts +2 -0
- package/common/types/options/skills-http/typecheck.d.ts.map +1 -0
- package/common/types/options/sqlite/index.d.ts +1 -0
- package/common/types/options/sqlite/index.d.ts.map +1 -1
- package/common/types/options/sqlite/interfaces.d.ts +25 -0
- package/common/types/options/sqlite/interfaces.d.ts.map +1 -0
- package/common/types/options/sqlite/schema.d.ts +3 -1
- package/common/types/options/sqlite/schema.d.ts.map +1 -1
- package/common/types/options/sqlite/typecheck.d.ts +2 -0
- package/common/types/options/sqlite/typecheck.d.ts.map +1 -0
- package/common/types/options/transport/schema.d.ts.map +1 -1
- package/common/utils/index.d.ts +2 -0
- package/common/utils/index.d.ts.map +1 -1
- package/common/utils/primitive-filter.d.ts +24 -0
- package/common/utils/primitive-filter.d.ts.map +1 -0
- package/common/utils/validate-remote-url.d.ts +13 -0
- package/common/utils/validate-remote-url.d.ts.map +1 -0
- package/context/frontmcp-context-storage.d.ts +1 -6
- package/context/frontmcp-context-storage.d.ts.map +1 -1
- package/context/frontmcp-context.d.ts +1 -1
- package/context/frontmcp-context.d.ts.map +1 -1
- package/context/index.d.ts +5 -4
- package/context/index.d.ts.map +1 -1
- package/direct/client.types.d.ts +11 -1
- package/direct/client.types.d.ts.map +1 -1
- package/direct/connect.d.ts +4 -1
- package/direct/connect.d.ts.map +1 -1
- package/direct/direct-server.d.ts +1 -1
- package/direct/direct-server.d.ts.map +1 -1
- package/direct/direct.types.d.ts +1 -1
- package/direct/direct.types.d.ts.map +1 -1
- package/direct/index.d.ts +1 -1
- package/direct/index.d.ts.map +1 -1
- package/direct/llm-platform.d.ts +3 -3
- package/direct/llm-platform.d.ts.map +1 -1
- package/elicitation/send-elicitation-result.tool.d.ts.map +1 -1
- package/elicitation/store/elicitation-encryption.d.ts.map +1 -1
- package/errors/error-handler.d.ts.map +1 -1
- package/errors/esm.errors.d.ts +59 -0
- package/errors/esm.errors.d.ts.map +1 -0
- package/errors/index.d.ts +5 -2
- package/errors/index.d.ts.map +1 -1
- package/errors/mcp.error.d.ts.map +1 -1
- package/esm/index.mjs +5904 -2414
- package/esm-loader/app-helpers.d.ts +60 -0
- package/esm-loader/app-helpers.d.ts.map +1 -0
- package/esm-loader/esm-auth.types.d.ts +53 -0
- package/esm-loader/esm-auth.types.d.ts.map +1 -0
- package/esm-loader/esm-cache.d.ts +87 -0
- package/esm-loader/esm-cache.d.ts.map +1 -0
- package/esm-loader/esm-manifest.d.ts +82 -0
- package/esm-loader/esm-manifest.d.ts.map +1 -0
- package/esm-loader/esm-module-loader.d.ts +100 -0
- package/esm-loader/esm-module-loader.d.ts.map +1 -0
- package/esm-loader/factories/esm-context-factories.d.ts +52 -0
- package/esm-loader/factories/esm-context-factories.d.ts.map +1 -0
- package/esm-loader/factories/esm-instance-factories.d.ts +48 -0
- package/esm-loader/factories/esm-instance-factories.d.ts.map +1 -0
- package/esm-loader/factories/esm-record-builders.d.ts +72 -0
- package/esm-loader/factories/esm-record-builders.d.ts.map +1 -0
- package/esm-loader/factories/index.d.ts +4 -0
- package/esm-loader/factories/index.d.ts.map +1 -0
- package/esm-loader/index.d.ts +10 -0
- package/esm-loader/index.d.ts.map +1 -0
- package/esm-loader/package-specifier.d.ts +60 -0
- package/esm-loader/package-specifier.d.ts.map +1 -0
- package/esm-loader/semver.utils.d.ts +41 -0
- package/esm-loader/semver.utils.d.ts.map +1 -0
- package/esm-loader/version-poller.d.ts +101 -0
- package/esm-loader/version-poller.d.ts.map +1 -0
- package/esm-loader/version-resolver.d.ts +47 -0
- package/esm-loader/version-resolver.d.ts.map +1 -0
- package/ext-apps/ext-apps.handler.d.ts.map +1 -1
- package/front-mcp/front-mcp.d.ts +10 -0
- package/front-mcp/front-mcp.d.ts.map +1 -1
- package/front-mcp/front-mcp.providers.d.ts +860 -178
- package/front-mcp/front-mcp.providers.d.ts.map +1 -1
- package/index.d.ts +11 -5
- package/index.d.ts.map +1 -1
- package/index.js +6395 -2834
- package/job/execution/index.d.ts +2 -1
- package/job/execution/index.d.ts.map +1 -1
- package/job/job.instance.d.ts +4 -1
- package/job/job.instance.d.ts.map +1 -1
- package/job/job.utils.d.ts.map +1 -1
- package/job/tools/list-jobs.tool.d.ts +1 -0
- package/job/tools/list-jobs.tool.d.ts.map +1 -1
- package/logger/instances/instance.console-logger.d.ts +0 -1
- package/logger/instances/instance.console-logger.d.ts.map +1 -1
- package/logger/instances/instance.logger.d.ts.map +1 -1
- package/logger/logger.registry.d.ts.map +1 -1
- package/logger/logger.types.d.ts.map +1 -1
- package/notification/notification.service.d.ts +4 -4
- package/notification/notification.service.d.ts.map +1 -1
- package/package.json +29 -17
- package/prompt/flows/get-prompt.flow.d.ts +1 -1
- package/prompt/flows/get-prompt.flow.d.ts.map +1 -1
- package/prompt/prompt.registry.d.ts +7 -1
- package/prompt/prompt.registry.d.ts.map +1 -1
- package/prompt/prompt.utils.d.ts +1 -1
- package/prompt/prompt.utils.d.ts.map +1 -1
- package/provider/provider.registry.d.ts.map +1 -1
- package/provider/provider.types.d.ts +0 -13
- package/provider/provider.types.d.ts.map +1 -1
- package/rate-limit/index.d.ts +13 -0
- package/rate-limit/index.d.ts.map +1 -0
- package/remote-mcp/cache/index.d.ts +2 -1
- package/remote-mcp/cache/index.d.ts.map +1 -1
- package/remote-mcp/factories/context-factories.d.ts +1 -1
- package/remote-mcp/factories/context-factories.d.ts.map +1 -1
- package/remote-mcp/factories/instance-factories.d.ts +1 -1
- package/remote-mcp/factories/instance-factories.d.ts.map +1 -1
- package/remote-mcp/factories/record-builders.d.ts +1 -1
- package/remote-mcp/factories/record-builders.d.ts.map +1 -1
- package/remote-mcp/mcp-client.service.d.ts +2 -2
- package/remote-mcp/mcp-client.service.d.ts.map +1 -1
- package/remote-mcp/mcp-client.types.d.ts +4 -4
- package/remote-mcp/mcp-client.types.d.ts.map +1 -1
- package/resource/flows/read-resource.flow.d.ts +1 -1
- package/resource/flows/read-resource.flow.d.ts.map +1 -1
- package/resource/flows/resource-templates-list.flow.d.ts.map +1 -1
- package/resource/flows/resources-list.flow.d.ts.map +1 -1
- package/resource/resource.registry.d.ts +7 -1
- package/resource/resource.registry.d.ts.map +1 -1
- package/resource/resource.utils.d.ts.map +1 -1
- package/scope/flows/http.request.flow.d.ts +1 -0
- package/scope/flows/http.request.flow.d.ts.map +1 -1
- package/scope/index.d.ts.map +1 -1
- package/scope/scope.instance.d.ts +16 -6
- package/scope/scope.instance.d.ts.map +1 -1
- package/server/adapters/polyfills/browser-express-host.d.ts +7 -0
- package/server/adapters/polyfills/browser-express-host.d.ts.map +1 -0
- package/server/adapters/polyfills/node-express-host.d.ts +2 -0
- package/server/adapters/polyfills/node-express-host.d.ts.map +1 -0
- package/server/noop-server.d.ts +15 -0
- package/server/noop-server.d.ts.map +1 -0
- package/server/server.types.d.ts +11 -9
- package/server/server.types.d.ts.map +1 -1
- package/server/server.validation.d.ts.map +1 -1
- package/skill/cache/index.d.ts +2 -1
- package/skill/cache/index.d.ts.map +1 -1
- package/skill/index.d.ts +3 -3
- package/skill/index.d.ts.map +1 -1
- package/skill/providers/memory-skill.provider.d.ts +5 -0
- package/skill/providers/memory-skill.provider.d.ts.map +1 -1
- package/skill/session/skill-session.manager.d.ts +1 -1
- package/skill/session/skill-session.manager.d.ts.map +1 -1
- package/skill/skill-directory-loader.d.ts.map +1 -1
- package/skill/skill.registry.d.ts +1 -1
- package/skill/skill.registry.d.ts.map +1 -1
- package/skill/skill.utils.d.ts.map +1 -1
- package/skill/tools/index.d.ts +1 -5
- package/skill/tools/index.d.ts.map +1 -1
- package/skill/tools/load-skills.tool.d.ts +1 -4
- package/skill/tools/load-skills.tool.d.ts.map +1 -1
- package/tool/flows/call-tool.flow.d.ts +12 -3
- package/tool/flows/call-tool.flow.d.ts.map +1 -1
- package/tool/flows/tools-list.flow.d.ts +12 -4
- package/tool/flows/tools-list.flow.d.ts.map +1 -1
- package/tool/tool.instance.d.ts +5 -2
- package/tool/tool.instance.d.ts.map +1 -1
- package/tool/tool.registry.d.ts +7 -1
- package/tool/tool.registry.d.ts.map +1 -1
- package/tool/tool.utils.d.ts.map +1 -1
- package/tool/ui/index.d.ts +29 -9
- package/tool/ui/index.d.ts.map +1 -1
- package/tool/ui/platform-adapters.d.ts +27 -5
- package/tool/ui/platform-adapters.d.ts.map +1 -1
- package/tool/ui/template-helpers.d.ts +1 -7
- package/tool/ui/template-helpers.d.ts.map +1 -1
- package/tool/ui/ui-resource-template.d.ts +1 -1
- package/tool/ui/ui-resource.handler.d.ts +2 -2
- package/tool/ui/ui-resource.handler.d.ts.map +1 -1
- package/tool/ui/ui-shared.d.ts +35 -0
- package/tool/ui/ui-shared.d.ts.map +1 -0
- package/transport/{legacy/legacy.sse.tranporter.d.ts → adapters/base-sse-transport.d.ts} +2 -4
- package/transport/adapters/base-sse-transport.d.ts.map +1 -0
- package/transport/adapters/polyfills/browser-sse-transport.d.ts +10 -0
- package/transport/adapters/polyfills/browser-sse-transport.d.ts.map +1 -0
- package/transport/adapters/polyfills/node-sse-transport.d.ts +2 -0
- package/transport/adapters/polyfills/node-sse-transport.d.ts.map +1 -0
- package/transport/adapters/sse-transport.d.ts +1 -1
- package/transport/adapters/sse-transport.d.ts.map +1 -1
- package/transport/adapters/streamable-http-transport.d.ts +1 -1
- package/transport/adapters/streamable-http-transport.d.ts.map +1 -1
- package/transport/adapters/transport.local.adapter.d.ts +4 -6
- package/transport/adapters/transport.local.adapter.d.ts.map +1 -1
- package/transport/adapters/transport.sse.adapter.d.ts +1 -1
- package/transport/adapters/transport.sse.adapter.d.ts.map +1 -1
- package/transport/adapters/transport.streamable-http.adapter.d.ts +1 -1
- package/transport/adapters/transport.streamable-http.adapter.d.ts.map +1 -1
- package/transport/event-stores/event-store.factory.d.ts +1 -1
- package/transport/event-stores/event-store.factory.d.ts.map +1 -1
- package/transport/event-stores/memory.event-store.d.ts +2 -2
- package/transport/event-stores/memory.event-store.d.ts.map +1 -1
- package/transport/event-stores/redis.event-store.d.ts +2 -2
- package/transport/event-stores/redis.event-store.d.ts.map +1 -1
- package/transport/in-memory-server.d.ts +3 -3
- package/transport/in-memory-server.d.ts.map +1 -1
- package/transport/index.d.ts +8 -5
- package/transport/index.d.ts.map +1 -1
- package/transport/mcp-handlers/Initialized-notification.hanlder.d.ts +1 -1
- package/transport/mcp-handlers/Initialized-notification.hanlder.d.ts.map +1 -1
- package/transport/mcp-handlers/call-tool-request.handler.d.ts +1 -1
- package/transport/mcp-handlers/call-tool-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/complete-request.handler.d.ts +1 -1
- package/transport/mcp-handlers/complete-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/get-prompt-request.handler.d.ts +1 -1
- package/transport/mcp-handlers/get-prompt-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/index.d.ts +6 -6
- package/transport/mcp-handlers/initialize-request.handler.d.ts +1 -1
- package/transport/mcp-handlers/initialize-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/list-prompts-request.handler.d.ts +1 -1
- package/transport/mcp-handlers/list-prompts-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts +1 -1
- package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/list-resources-request.handler.d.ts +1 -1
- package/transport/mcp-handlers/list-resources-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/list-tools-request.handler.d.ts +1 -1
- package/transport/mcp-handlers/list-tools-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/logging-set-level-request.handler.d.ts +1 -1
- package/transport/mcp-handlers/logging-set-level-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/mcp-handlers.types.d.ts +6 -9
- package/transport/mcp-handlers/mcp-handlers.types.d.ts.map +1 -1
- package/transport/mcp-handlers/read-resource-request.handler.d.ts +1 -1
- package/transport/mcp-handlers/read-resource-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/roots-list-changed-notification.handler.d.ts +2 -2
- package/transport/mcp-handlers/roots-list-changed-notification.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/subscribe-request.handler.d.ts +1 -1
- package/transport/mcp-handlers/subscribe-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/unsubscribe-request.handler.d.ts +1 -1
- package/transport/mcp-handlers/unsubscribe-request.handler.d.ts.map +1 -1
- package/transport/transport.error.d.ts +2 -2
- package/transport/transport.error.d.ts.map +1 -1
- package/transport/transport.registry.d.ts +8 -0
- package/transport/transport.registry.d.ts.map +1 -1
- package/types/drinen-hooks.types.d.ts.map +1 -1
- package/types/invoke.type.d.ts.map +1 -1
- package/types/zod.types.d.ts.map +1 -1
- package/utils/index.d.ts +2 -1
- package/utils/index.d.ts.map +1 -1
- package/agent/adapters/langchain.adapter.d.ts +0 -178
- package/agent/adapters/langchain.adapter.d.ts.map +0 -1
- package/esm/package.json +0 -104
- package/transport/legacy/legacy.sse.tranporter.d.ts.map +0 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { AuthOptions, ServerInfoOptions, AuthOptionsInput, RedisOptionsInput, PubsubOptionsInput, TransportOptionsInput, PaginationOptions, HttpOptionsInput, LoggingOptionsInput, ElicitationOptionsInput, SkillsConfigOptionsInput, ExtAppsOptionsInput, SqliteOptionsInput } from '../types';
|
|
3
|
+
import { type PackageLoader } from './app.metadata';
|
|
4
|
+
import { type GuardConfig } from '@frontmcp/guard';
|
|
3
5
|
import { AppType, PluginType, ProviderType, ResourceType, SkillType, ToolType } from '../interfaces';
|
|
4
6
|
export interface FrontMcpBaseMetadata {
|
|
5
7
|
info: ServerInfoOptions;
|
|
@@ -143,6 +145,27 @@ export interface FrontMcpBaseMetadata {
|
|
|
143
145
|
* Used by the Unix socket daemon mode and other local runtimes.
|
|
144
146
|
*/
|
|
145
147
|
sqlite?: SqliteOptionsInput;
|
|
148
|
+
/**
|
|
149
|
+
* Default package loader config for all npm/esm apps.
|
|
150
|
+
* Individual apps can override this via `packageConfig.loader`.
|
|
151
|
+
*/
|
|
152
|
+
loader?: PackageLoader;
|
|
153
|
+
/**
|
|
154
|
+
* UI rendering configuration.
|
|
155
|
+
* Controls CDN overrides for widget import resolution.
|
|
156
|
+
*
|
|
157
|
+
* @example Override @frontmcp/ui to load from local dev server
|
|
158
|
+
* ```typescript
|
|
159
|
+
* ui: {
|
|
160
|
+
* cdnOverrides: {
|
|
161
|
+
* '@frontmcp/ui': 'http://localhost:5173/@frontmcp/ui',
|
|
162
|
+
* },
|
|
163
|
+
* }
|
|
164
|
+
* ```
|
|
165
|
+
*/
|
|
166
|
+
ui?: {
|
|
167
|
+
cdnOverrides?: Record<string, string>;
|
|
168
|
+
};
|
|
146
169
|
/**
|
|
147
170
|
* Jobs and workflows configuration.
|
|
148
171
|
* Enables the jobs/workflows system for saved, discoverable, triggerable executions.
|
|
@@ -169,6 +192,32 @@ export interface FrontMcpBaseMetadata {
|
|
|
169
192
|
keyPrefix?: string;
|
|
170
193
|
};
|
|
171
194
|
};
|
|
195
|
+
/**
|
|
196
|
+
* Rate limiting, concurrency control, and timeout configuration.
|
|
197
|
+
* Controls global and default throttle behavior for all entities.
|
|
198
|
+
*
|
|
199
|
+
* @default { enabled: false }
|
|
200
|
+
*
|
|
201
|
+
* @example Global rate limiting by IP
|
|
202
|
+
* ```typescript
|
|
203
|
+
* throttle: {
|
|
204
|
+
* enabled: true,
|
|
205
|
+
* global: { maxRequests: 1000, windowMs: 60_000, partitionBy: 'ip' },
|
|
206
|
+
* defaultTimeout: { executeMs: 30_000 },
|
|
207
|
+
* }
|
|
208
|
+
* ```
|
|
209
|
+
*
|
|
210
|
+
* @example With Redis backend and per-tool defaults
|
|
211
|
+
* ```typescript
|
|
212
|
+
* throttle: {
|
|
213
|
+
* enabled: true,
|
|
214
|
+
* defaultRateLimit: { maxRequests: 60, windowMs: 60_000, partitionBy: 'session' },
|
|
215
|
+
* defaultConcurrency: { maxConcurrent: 10 },
|
|
216
|
+
* defaultTimeout: { executeMs: 30_000 },
|
|
217
|
+
* }
|
|
218
|
+
* ```
|
|
219
|
+
*/
|
|
220
|
+
throttle?: GuardConfig;
|
|
172
221
|
}
|
|
173
222
|
export declare const frontMcpBaseSchema: z.ZodObject<{
|
|
174
223
|
info: z.ZodObject<{
|
|
@@ -187,7 +236,7 @@ export declare const frontMcpBaseSchema: z.ZodObject<{
|
|
|
187
236
|
}, z.core.$strip>>>;
|
|
188
237
|
}, z.core.$strip>;
|
|
189
238
|
providers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
190
|
-
tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
239
|
+
tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<string | import("libs/di/dist/interfaces/base.interface").Type<unknown>, string | import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
191
240
|
resources: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
192
241
|
skills: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
193
242
|
plugins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
@@ -690,6 +739,9 @@ export declare const frontMcpBaseSchema: z.ZodObject<{
|
|
|
690
739
|
ttlCleanupIntervalMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
691
740
|
walMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
692
741
|
}, z.core.$strip>>;
|
|
742
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
743
|
+
cdnOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
744
|
+
}, z.core.$strip>>;
|
|
693
745
|
jobs: z.ZodOptional<z.ZodObject<{
|
|
694
746
|
enabled: z.ZodBoolean;
|
|
695
747
|
store: z.ZodOptional<z.ZodObject<{
|
|
@@ -737,6 +789,102 @@ export declare const frontMcpBaseSchema: z.ZodObject<{
|
|
|
737
789
|
keyPrefix: z.ZodOptional<z.ZodString>;
|
|
738
790
|
}, z.core.$strip>>;
|
|
739
791
|
}, z.core.$strip>>;
|
|
792
|
+
loader: z.ZodOptional<z.ZodObject<{
|
|
793
|
+
url: z.ZodOptional<z.ZodString>;
|
|
794
|
+
registryUrl: z.ZodOptional<z.ZodString>;
|
|
795
|
+
token: z.ZodOptional<z.ZodString>;
|
|
796
|
+
tokenEnvVar: z.ZodOptional<z.ZodString>;
|
|
797
|
+
}, z.core.$strip>>;
|
|
798
|
+
throttle: z.ZodOptional<z.ZodObject<{
|
|
799
|
+
enabled: z.ZodBoolean;
|
|
800
|
+
storage: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
801
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
802
|
+
global: z.ZodOptional<z.ZodObject<{
|
|
803
|
+
maxRequests: z.ZodNumber;
|
|
804
|
+
windowMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
805
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
806
|
+
ip: "ip";
|
|
807
|
+
session: "session";
|
|
808
|
+
userId: "userId";
|
|
809
|
+
global: "global";
|
|
810
|
+
}>, z.ZodCustom<(ctx: {
|
|
811
|
+
sessionId: string;
|
|
812
|
+
clientIp?: string;
|
|
813
|
+
userId?: string;
|
|
814
|
+
}) => string, (ctx: {
|
|
815
|
+
sessionId: string;
|
|
816
|
+
clientIp?: string;
|
|
817
|
+
userId?: string;
|
|
818
|
+
}) => string>]>>>;
|
|
819
|
+
}, z.core.$strip>>;
|
|
820
|
+
globalConcurrency: z.ZodOptional<z.ZodObject<{
|
|
821
|
+
maxConcurrent: z.ZodNumber;
|
|
822
|
+
queueTimeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
823
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
824
|
+
ip: "ip";
|
|
825
|
+
session: "session";
|
|
826
|
+
userId: "userId";
|
|
827
|
+
global: "global";
|
|
828
|
+
}>, z.ZodCustom<(ctx: {
|
|
829
|
+
sessionId: string;
|
|
830
|
+
clientIp?: string;
|
|
831
|
+
userId?: string;
|
|
832
|
+
}) => string, (ctx: {
|
|
833
|
+
sessionId: string;
|
|
834
|
+
clientIp?: string;
|
|
835
|
+
userId?: string;
|
|
836
|
+
}) => string>]>>>;
|
|
837
|
+
}, z.core.$strip>>;
|
|
838
|
+
defaultRateLimit: z.ZodOptional<z.ZodObject<{
|
|
839
|
+
maxRequests: z.ZodNumber;
|
|
840
|
+
windowMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
841
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
842
|
+
ip: "ip";
|
|
843
|
+
session: "session";
|
|
844
|
+
userId: "userId";
|
|
845
|
+
global: "global";
|
|
846
|
+
}>, z.ZodCustom<(ctx: {
|
|
847
|
+
sessionId: string;
|
|
848
|
+
clientIp?: string;
|
|
849
|
+
userId?: string;
|
|
850
|
+
}) => string, (ctx: {
|
|
851
|
+
sessionId: string;
|
|
852
|
+
clientIp?: string;
|
|
853
|
+
userId?: string;
|
|
854
|
+
}) => string>]>>>;
|
|
855
|
+
}, z.core.$strip>>;
|
|
856
|
+
defaultConcurrency: z.ZodOptional<z.ZodObject<{
|
|
857
|
+
maxConcurrent: z.ZodNumber;
|
|
858
|
+
queueTimeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
859
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
860
|
+
ip: "ip";
|
|
861
|
+
session: "session";
|
|
862
|
+
userId: "userId";
|
|
863
|
+
global: "global";
|
|
864
|
+
}>, z.ZodCustom<(ctx: {
|
|
865
|
+
sessionId: string;
|
|
866
|
+
clientIp?: string;
|
|
867
|
+
userId?: string;
|
|
868
|
+
}) => string, (ctx: {
|
|
869
|
+
sessionId: string;
|
|
870
|
+
clientIp?: string;
|
|
871
|
+
userId?: string;
|
|
872
|
+
}) => string>]>>>;
|
|
873
|
+
}, z.core.$strip>>;
|
|
874
|
+
defaultTimeout: z.ZodOptional<z.ZodObject<{
|
|
875
|
+
executeMs: z.ZodNumber;
|
|
876
|
+
}, z.core.$strip>>;
|
|
877
|
+
ipFilter: z.ZodOptional<z.ZodObject<{
|
|
878
|
+
allowList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
879
|
+
denyList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
880
|
+
defaultAction: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
881
|
+
allow: "allow";
|
|
882
|
+
deny: "deny";
|
|
883
|
+
}>>>;
|
|
884
|
+
trustProxy: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
885
|
+
trustedProxyDepth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
886
|
+
}, z.core.$strip>>;
|
|
887
|
+
}, z.core.$strip>>;
|
|
740
888
|
}, z.core.$strip>;
|
|
741
889
|
export interface FrontMcpMultiAppMetadata extends FrontMcpBaseMetadata {
|
|
742
890
|
splitByApp?: false;
|
|
@@ -759,7 +907,7 @@ declare const frontMcpMultiAppSchema: z.ZodObject<{
|
|
|
759
907
|
}, z.core.$strip>>>;
|
|
760
908
|
}, z.core.$strip>;
|
|
761
909
|
providers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
762
|
-
tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
910
|
+
tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<string | import("libs/di/dist/interfaces/base.interface").Type<unknown>, string | import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
763
911
|
resources: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
764
912
|
skills: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
765
913
|
plugins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
@@ -1262,6 +1410,9 @@ declare const frontMcpMultiAppSchema: z.ZodObject<{
|
|
|
1262
1410
|
ttlCleanupIntervalMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1263
1411
|
walMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1264
1412
|
}, z.core.$strip>>;
|
|
1413
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
1414
|
+
cdnOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1415
|
+
}, z.core.$strip>>;
|
|
1265
1416
|
jobs: z.ZodOptional<z.ZodObject<{
|
|
1266
1417
|
enabled: z.ZodBoolean;
|
|
1267
1418
|
store: z.ZodOptional<z.ZodObject<{
|
|
@@ -1309,6 +1460,102 @@ declare const frontMcpMultiAppSchema: z.ZodObject<{
|
|
|
1309
1460
|
keyPrefix: z.ZodOptional<z.ZodString>;
|
|
1310
1461
|
}, z.core.$strip>>;
|
|
1311
1462
|
}, z.core.$strip>>;
|
|
1463
|
+
loader: z.ZodOptional<z.ZodObject<{
|
|
1464
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
registryUrl: z.ZodOptional<z.ZodString>;
|
|
1466
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1467
|
+
tokenEnvVar: z.ZodOptional<z.ZodString>;
|
|
1468
|
+
}, z.core.$strip>>;
|
|
1469
|
+
throttle: z.ZodOptional<z.ZodObject<{
|
|
1470
|
+
enabled: z.ZodBoolean;
|
|
1471
|
+
storage: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
1472
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1473
|
+
global: z.ZodOptional<z.ZodObject<{
|
|
1474
|
+
maxRequests: z.ZodNumber;
|
|
1475
|
+
windowMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1476
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1477
|
+
ip: "ip";
|
|
1478
|
+
session: "session";
|
|
1479
|
+
userId: "userId";
|
|
1480
|
+
global: "global";
|
|
1481
|
+
}>, z.ZodCustom<(ctx: {
|
|
1482
|
+
sessionId: string;
|
|
1483
|
+
clientIp?: string;
|
|
1484
|
+
userId?: string;
|
|
1485
|
+
}) => string, (ctx: {
|
|
1486
|
+
sessionId: string;
|
|
1487
|
+
clientIp?: string;
|
|
1488
|
+
userId?: string;
|
|
1489
|
+
}) => string>]>>>;
|
|
1490
|
+
}, z.core.$strip>>;
|
|
1491
|
+
globalConcurrency: z.ZodOptional<z.ZodObject<{
|
|
1492
|
+
maxConcurrent: z.ZodNumber;
|
|
1493
|
+
queueTimeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1494
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1495
|
+
ip: "ip";
|
|
1496
|
+
session: "session";
|
|
1497
|
+
userId: "userId";
|
|
1498
|
+
global: "global";
|
|
1499
|
+
}>, z.ZodCustom<(ctx: {
|
|
1500
|
+
sessionId: string;
|
|
1501
|
+
clientIp?: string;
|
|
1502
|
+
userId?: string;
|
|
1503
|
+
}) => string, (ctx: {
|
|
1504
|
+
sessionId: string;
|
|
1505
|
+
clientIp?: string;
|
|
1506
|
+
userId?: string;
|
|
1507
|
+
}) => string>]>>>;
|
|
1508
|
+
}, z.core.$strip>>;
|
|
1509
|
+
defaultRateLimit: z.ZodOptional<z.ZodObject<{
|
|
1510
|
+
maxRequests: z.ZodNumber;
|
|
1511
|
+
windowMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1512
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1513
|
+
ip: "ip";
|
|
1514
|
+
session: "session";
|
|
1515
|
+
userId: "userId";
|
|
1516
|
+
global: "global";
|
|
1517
|
+
}>, z.ZodCustom<(ctx: {
|
|
1518
|
+
sessionId: string;
|
|
1519
|
+
clientIp?: string;
|
|
1520
|
+
userId?: string;
|
|
1521
|
+
}) => string, (ctx: {
|
|
1522
|
+
sessionId: string;
|
|
1523
|
+
clientIp?: string;
|
|
1524
|
+
userId?: string;
|
|
1525
|
+
}) => string>]>>>;
|
|
1526
|
+
}, z.core.$strip>>;
|
|
1527
|
+
defaultConcurrency: z.ZodOptional<z.ZodObject<{
|
|
1528
|
+
maxConcurrent: z.ZodNumber;
|
|
1529
|
+
queueTimeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1530
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1531
|
+
ip: "ip";
|
|
1532
|
+
session: "session";
|
|
1533
|
+
userId: "userId";
|
|
1534
|
+
global: "global";
|
|
1535
|
+
}>, z.ZodCustom<(ctx: {
|
|
1536
|
+
sessionId: string;
|
|
1537
|
+
clientIp?: string;
|
|
1538
|
+
userId?: string;
|
|
1539
|
+
}) => string, (ctx: {
|
|
1540
|
+
sessionId: string;
|
|
1541
|
+
clientIp?: string;
|
|
1542
|
+
userId?: string;
|
|
1543
|
+
}) => string>]>>>;
|
|
1544
|
+
}, z.core.$strip>>;
|
|
1545
|
+
defaultTimeout: z.ZodOptional<z.ZodObject<{
|
|
1546
|
+
executeMs: z.ZodNumber;
|
|
1547
|
+
}, z.core.$strip>>;
|
|
1548
|
+
ipFilter: z.ZodOptional<z.ZodObject<{
|
|
1549
|
+
allowList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1550
|
+
denyList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1551
|
+
defaultAction: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1552
|
+
allow: "allow";
|
|
1553
|
+
deny: "deny";
|
|
1554
|
+
}>>>;
|
|
1555
|
+
trustProxy: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1556
|
+
trustedProxyDepth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1557
|
+
}, z.core.$strip>>;
|
|
1558
|
+
}, z.core.$strip>>;
|
|
1312
1559
|
splitByApp: z.ZodDefault<z.ZodLiteral<false>>;
|
|
1313
1560
|
auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1314
1561
|
mode: z.ZodLiteral<"public">;
|
|
@@ -1325,33 +1572,33 @@ declare const frontMcpMultiAppSchema: z.ZodObject<{
|
|
|
1325
1572
|
}, z.core.$strip>>;
|
|
1326
1573
|
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
1327
1574
|
}, z.core.$strip>, z.ZodObject<{
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1575
|
+
expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1576
|
+
requiredScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1577
|
+
allowAnonymous: z.ZodDefault<z.ZodBoolean>;
|
|
1578
|
+
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1579
|
+
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
1580
|
+
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
1581
|
+
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
1582
|
+
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
1583
|
+
}, z.core.$strip>>;
|
|
1584
|
+
provider: z.ZodString;
|
|
1585
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
1586
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
1587
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1588
|
+
providerConfig: z.ZodOptional<z.ZodObject<{
|
|
1331
1589
|
name: z.ZodOptional<z.ZodString>;
|
|
1332
1590
|
id: z.ZodOptional<z.ZodString>;
|
|
1333
1591
|
jwks: z.ZodOptional<z.ZodObject<{
|
|
1334
1592
|
keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
|
|
1335
1593
|
}, z.core.$strip>>;
|
|
1336
1594
|
jwksUri: z.ZodOptional<z.ZodString>;
|
|
1337
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
1338
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
1339
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1340
1595
|
dcrEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1341
1596
|
authEndpoint: z.ZodOptional<z.ZodString>;
|
|
1342
1597
|
tokenEndpoint: z.ZodOptional<z.ZodString>;
|
|
1343
1598
|
registrationEndpoint: z.ZodOptional<z.ZodString>;
|
|
1344
1599
|
userInfoEndpoint: z.ZodOptional<z.ZodString>;
|
|
1345
|
-
}, z.core.$strip>;
|
|
1346
|
-
expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1347
|
-
requiredScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1348
|
-
allowAnonymous: z.ZodDefault<z.ZodBoolean>;
|
|
1349
|
-
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1350
|
-
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
1351
|
-
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
1352
|
-
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
1353
|
-
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
1354
1600
|
}, z.core.$strip>>;
|
|
1601
|
+
mode: z.ZodLiteral<"transparent">;
|
|
1355
1602
|
}, z.core.$strip>, z.ZodObject<{
|
|
1356
1603
|
local: z.ZodOptional<z.ZodObject<{
|
|
1357
1604
|
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
@@ -1360,11 +1607,8 @@ declare const frontMcpMultiAppSchema: z.ZodObject<{
|
|
|
1360
1607
|
}, z.core.$strip>>;
|
|
1361
1608
|
issuer: z.ZodOptional<z.ZodString>;
|
|
1362
1609
|
}, z.core.$strip>>;
|
|
1363
|
-
tokenStorage: z.ZodDefault<z.
|
|
1364
|
-
|
|
1365
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1366
|
-
type: z.ZodLiteral<"redis">;
|
|
1367
|
-
config: z.ZodObject<{
|
|
1610
|
+
tokenStorage: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"memory">, z.ZodObject<{
|
|
1611
|
+
redis: z.ZodObject<{
|
|
1368
1612
|
host: z.ZodString;
|
|
1369
1613
|
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1370
1614
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1373,7 +1617,7 @@ declare const frontMcpMultiAppSchema: z.ZodObject<{
|
|
|
1373
1617
|
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1374
1618
|
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1375
1619
|
}, z.core.$strip>;
|
|
1376
|
-
}, z.core.$strip>]
|
|
1620
|
+
}, z.core.$strip>]>>;
|
|
1377
1621
|
allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
|
|
1378
1622
|
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1379
1623
|
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
@@ -1450,8 +1694,7 @@ declare const frontMcpMultiAppSchema: z.ZodObject<{
|
|
|
1450
1694
|
maxRedirects: z.ZodDefault<z.ZodNumber>;
|
|
1451
1695
|
}, z.core.$strip>>;
|
|
1452
1696
|
}, z.core.$strip>>;
|
|
1453
|
-
mode: z.ZodLiteral<"
|
|
1454
|
-
type: z.ZodLiteral<"local">;
|
|
1697
|
+
mode: z.ZodLiteral<"local">;
|
|
1455
1698
|
}, z.core.$strip>, z.ZodObject<{
|
|
1456
1699
|
local: z.ZodOptional<z.ZodObject<{
|
|
1457
1700
|
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
@@ -1460,11 +1703,8 @@ declare const frontMcpMultiAppSchema: z.ZodObject<{
|
|
|
1460
1703
|
}, z.core.$strip>>;
|
|
1461
1704
|
issuer: z.ZodOptional<z.ZodString>;
|
|
1462
1705
|
}, z.core.$strip>>;
|
|
1463
|
-
tokenStorage: z.ZodDefault<z.
|
|
1464
|
-
|
|
1465
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1466
|
-
type: z.ZodLiteral<"redis">;
|
|
1467
|
-
config: z.ZodObject<{
|
|
1706
|
+
tokenStorage: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"memory">, z.ZodObject<{
|
|
1707
|
+
redis: z.ZodObject<{
|
|
1468
1708
|
host: z.ZodString;
|
|
1469
1709
|
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1470
1710
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -1473,7 +1713,7 @@ declare const frontMcpMultiAppSchema: z.ZodObject<{
|
|
|
1473
1713
|
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1474
1714
|
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1475
1715
|
}, z.core.$strip>;
|
|
1476
|
-
}, z.core.$strip>]
|
|
1716
|
+
}, z.core.$strip>]>>;
|
|
1477
1717
|
allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
|
|
1478
1718
|
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1479
1719
|
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
@@ -1550,30 +1790,29 @@ declare const frontMcpMultiAppSchema: z.ZodObject<{
|
|
|
1550
1790
|
maxRedirects: z.ZodDefault<z.ZodNumber>;
|
|
1551
1791
|
}, z.core.$strip>>;
|
|
1552
1792
|
}, z.core.$strip>>;
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1793
|
+
provider: z.ZodString;
|
|
1794
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
1795
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
1796
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1797
|
+
providerConfig: z.ZodOptional<z.ZodObject<{
|
|
1557
1798
|
name: z.ZodOptional<z.ZodString>;
|
|
1558
1799
|
id: z.ZodOptional<z.ZodString>;
|
|
1559
1800
|
jwks: z.ZodOptional<z.ZodObject<{
|
|
1560
1801
|
keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
|
|
1561
1802
|
}, z.core.$strip>>;
|
|
1562
1803
|
jwksUri: z.ZodOptional<z.ZodString>;
|
|
1563
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
1564
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
1565
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1566
1804
|
dcrEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1567
1805
|
authEndpoint: z.ZodOptional<z.ZodString>;
|
|
1568
1806
|
tokenEndpoint: z.ZodOptional<z.ZodString>;
|
|
1569
1807
|
registrationEndpoint: z.ZodOptional<z.ZodString>;
|
|
1570
1808
|
userInfoEndpoint: z.ZodOptional<z.ZodString>;
|
|
1571
|
-
}, z.core.$strip
|
|
1809
|
+
}, z.core.$strip>>;
|
|
1810
|
+
mode: z.ZodLiteral<"remote">;
|
|
1572
1811
|
}, z.core.$strip>]>>;
|
|
1573
1812
|
}, z.core.$strip>;
|
|
1574
1813
|
export interface FrontMcpSplitByAppMetadata extends FrontMcpBaseMetadata {
|
|
1575
1814
|
splitByApp: true;
|
|
1576
|
-
auth?:
|
|
1815
|
+
auth?: AuthOptionsInput;
|
|
1577
1816
|
}
|
|
1578
1817
|
declare const frontMcpSplitByAppSchema: z.ZodObject<{
|
|
1579
1818
|
info: z.ZodObject<{
|
|
@@ -1592,7 +1831,7 @@ declare const frontMcpSplitByAppSchema: z.ZodObject<{
|
|
|
1592
1831
|
}, z.core.$strip>>>;
|
|
1593
1832
|
}, z.core.$strip>;
|
|
1594
1833
|
providers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
1595
|
-
tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
1834
|
+
tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<string | import("libs/di/dist/interfaces/base.interface").Type<unknown>, string | import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
1596
1835
|
resources: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
1597
1836
|
skills: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
1598
1837
|
plugins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
@@ -2095,6 +2334,9 @@ declare const frontMcpSplitByAppSchema: z.ZodObject<{
|
|
|
2095
2334
|
ttlCleanupIntervalMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2096
2335
|
walMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2097
2336
|
}, z.core.$strip>>;
|
|
2337
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
2338
|
+
cdnOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2339
|
+
}, z.core.$strip>>;
|
|
2098
2340
|
jobs: z.ZodOptional<z.ZodObject<{
|
|
2099
2341
|
enabled: z.ZodBoolean;
|
|
2100
2342
|
store: z.ZodOptional<z.ZodObject<{
|
|
@@ -2142,188 +2384,535 @@ declare const frontMcpSplitByAppSchema: z.ZodObject<{
|
|
|
2142
2384
|
keyPrefix: z.ZodOptional<z.ZodString>;
|
|
2143
2385
|
}, z.core.$strip>>;
|
|
2144
2386
|
}, z.core.$strip>>;
|
|
2145
|
-
|
|
2146
|
-
auth: z.ZodOptional<z.ZodNever>;
|
|
2147
|
-
}, z.core.$strip>;
|
|
2148
|
-
export type FrontMcpMetadata = FrontMcpMultiAppMetadata | FrontMcpSplitByAppMetadata;
|
|
2149
|
-
export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
2150
|
-
info: z.ZodObject<{
|
|
2151
|
-
name: z.ZodString;
|
|
2152
|
-
title: z.ZodOptional<z.ZodString>;
|
|
2153
|
-
version: z.ZodString;
|
|
2154
|
-
websiteUrl: z.ZodOptional<z.ZodURL>;
|
|
2155
|
-
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2156
|
-
src: z.ZodString;
|
|
2157
|
-
mimeType: z.ZodOptional<z.ZodString>;
|
|
2158
|
-
sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2159
|
-
theme: z.ZodOptional<z.ZodEnum<{
|
|
2160
|
-
light: "light";
|
|
2161
|
-
dark: "dark";
|
|
2162
|
-
}>>;
|
|
2163
|
-
}, z.core.$strip>>>;
|
|
2164
|
-
}, z.core.$strip>;
|
|
2165
|
-
providers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
2166
|
-
tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
2167
|
-
resources: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
2168
|
-
skills: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
2169
|
-
plugins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
2170
|
-
apps: z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>;
|
|
2171
|
-
serve: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2172
|
-
http: z.ZodOptional<z.ZodObject<{
|
|
2173
|
-
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2174
|
-
entryPath: z.ZodDefault<z.ZodString>;
|
|
2175
|
-
hostFactory: z.ZodOptional<z.ZodAny>;
|
|
2176
|
-
socketPath: z.ZodOptional<z.ZodString>;
|
|
2177
|
-
cors: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
|
|
2178
|
-
origin: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodArray<z.ZodString>, z.ZodCustom<(origin: string | undefined, callback: (err: Error | null, allow?: boolean) => void) => void, (origin: string | undefined, callback: (err: Error | null, allow?: boolean) => void) => void>]>>;
|
|
2179
|
-
credentials: z.ZodOptional<z.ZodBoolean>;
|
|
2180
|
-
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
2181
|
-
}, z.core.$strip>]>>;
|
|
2182
|
-
}, z.core.$strip>>;
|
|
2183
|
-
redis: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2184
|
-
provider: z.ZodLiteral<"redis">;
|
|
2185
|
-
host: z.ZodString;
|
|
2186
|
-
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2187
|
-
password: z.ZodOptional<z.ZodString>;
|
|
2188
|
-
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2189
|
-
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2190
|
-
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2191
|
-
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2192
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2193
|
-
provider: z.ZodLiteral<"vercel-kv">;
|
|
2387
|
+
loader: z.ZodOptional<z.ZodObject<{
|
|
2194
2388
|
url: z.ZodOptional<z.ZodString>;
|
|
2389
|
+
registryUrl: z.ZodOptional<z.ZodString>;
|
|
2195
2390
|
token: z.ZodOptional<z.ZodString>;
|
|
2391
|
+
tokenEnvVar: z.ZodOptional<z.ZodString>;
|
|
2392
|
+
}, z.core.$strip>>;
|
|
2393
|
+
throttle: z.ZodOptional<z.ZodObject<{
|
|
2394
|
+
enabled: z.ZodBoolean;
|
|
2395
|
+
storage: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
2196
2396
|
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
password?: string | undefined;
|
|
2215
|
-
}, {
|
|
2216
|
-
host: string;
|
|
2217
|
-
port: number;
|
|
2218
|
-
db: number;
|
|
2219
|
-
tls: boolean;
|
|
2220
|
-
keyPrefix: string;
|
|
2221
|
-
defaultTtlMs: number;
|
|
2222
|
-
password?: string | undefined;
|
|
2223
|
-
}>>]>>;
|
|
2224
|
-
pubsub: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2225
|
-
provider: z.ZodLiteral<"redis">;
|
|
2226
|
-
host: z.ZodString;
|
|
2227
|
-
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2228
|
-
password: z.ZodOptional<z.ZodString>;
|
|
2229
|
-
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2230
|
-
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2231
|
-
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2232
|
-
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2233
|
-
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
2234
|
-
host: z.ZodString;
|
|
2235
|
-
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2236
|
-
password: z.ZodOptional<z.ZodString>;
|
|
2237
|
-
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2238
|
-
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2239
|
-
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2240
|
-
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2241
|
-
}, z.core.$strip>, z.ZodTransform<{
|
|
2242
|
-
provider: "redis";
|
|
2243
|
-
host: string;
|
|
2244
|
-
port: number;
|
|
2245
|
-
db: number;
|
|
2246
|
-
tls: boolean;
|
|
2247
|
-
keyPrefix: string;
|
|
2248
|
-
defaultTtlMs: number;
|
|
2249
|
-
password?: string | undefined;
|
|
2250
|
-
}, {
|
|
2251
|
-
host: string;
|
|
2252
|
-
port: number;
|
|
2253
|
-
db: number;
|
|
2254
|
-
tls: boolean;
|
|
2255
|
-
keyPrefix: string;
|
|
2256
|
-
defaultTtlMs: number;
|
|
2257
|
-
password?: string | undefined;
|
|
2258
|
-
}>>]>>;
|
|
2259
|
-
transport: z.ZodPipe<z.ZodOptional<z.ZodObject<{
|
|
2260
|
-
sessionMode: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"stateful">, z.ZodLiteral<"stateless">, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>>>;
|
|
2261
|
-
platformDetection: z.ZodOptional<z.ZodObject<{
|
|
2262
|
-
mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2263
|
-
pattern: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>;
|
|
2264
|
-
platform: z.ZodEnum<{
|
|
2265
|
-
unknown: "unknown";
|
|
2266
|
-
openai: "openai";
|
|
2267
|
-
claude: "claude";
|
|
2268
|
-
gemini: "gemini";
|
|
2269
|
-
cursor: "cursor";
|
|
2270
|
-
continue: "continue";
|
|
2271
|
-
cody: "cody";
|
|
2272
|
-
"generic-mcp": "generic-mcp";
|
|
2273
|
-
"ext-apps": "ext-apps";
|
|
2274
|
-
}>;
|
|
2275
|
-
}, z.core.$strip>>>;
|
|
2276
|
-
customOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2397
|
+
global: z.ZodOptional<z.ZodObject<{
|
|
2398
|
+
maxRequests: z.ZodNumber;
|
|
2399
|
+
windowMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2400
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2401
|
+
ip: "ip";
|
|
2402
|
+
session: "session";
|
|
2403
|
+
userId: "userId";
|
|
2404
|
+
global: "global";
|
|
2405
|
+
}>, z.ZodCustom<(ctx: {
|
|
2406
|
+
sessionId: string;
|
|
2407
|
+
clientIp?: string;
|
|
2408
|
+
userId?: string;
|
|
2409
|
+
}) => string, (ctx: {
|
|
2410
|
+
sessionId: string;
|
|
2411
|
+
clientIp?: string;
|
|
2412
|
+
userId?: string;
|
|
2413
|
+
}) => string>]>>>;
|
|
2277
2414
|
}, z.core.$strip>>;
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2415
|
+
globalConcurrency: z.ZodOptional<z.ZodObject<{
|
|
2416
|
+
maxConcurrent: z.ZodNumber;
|
|
2417
|
+
queueTimeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2418
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2419
|
+
ip: "ip";
|
|
2420
|
+
session: "session";
|
|
2421
|
+
userId: "userId";
|
|
2422
|
+
global: "global";
|
|
2423
|
+
}>, z.ZodCustom<(ctx: {
|
|
2424
|
+
sessionId: string;
|
|
2425
|
+
clientIp?: string;
|
|
2426
|
+
userId?: string;
|
|
2427
|
+
}) => string, (ctx: {
|
|
2428
|
+
sessionId: string;
|
|
2429
|
+
clientIp?: string;
|
|
2430
|
+
userId?: string;
|
|
2431
|
+
}) => string>]>>>;
|
|
2432
|
+
}, z.core.$strip>>;
|
|
2433
|
+
defaultRateLimit: z.ZodOptional<z.ZodObject<{
|
|
2434
|
+
maxRequests: z.ZodNumber;
|
|
2435
|
+
windowMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2436
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2437
|
+
ip: "ip";
|
|
2438
|
+
session: "session";
|
|
2439
|
+
userId: "userId";
|
|
2440
|
+
global: "global";
|
|
2441
|
+
}>, z.ZodCustom<(ctx: {
|
|
2442
|
+
sessionId: string;
|
|
2443
|
+
clientIp?: string;
|
|
2444
|
+
userId?: string;
|
|
2445
|
+
}) => string, (ctx: {
|
|
2446
|
+
sessionId: string;
|
|
2447
|
+
clientIp?: string;
|
|
2448
|
+
userId?: string;
|
|
2449
|
+
}) => string>]>>>;
|
|
2450
|
+
}, z.core.$strip>>;
|
|
2451
|
+
defaultConcurrency: z.ZodOptional<z.ZodObject<{
|
|
2452
|
+
maxConcurrent: z.ZodNumber;
|
|
2453
|
+
queueTimeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2454
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2455
|
+
ip: "ip";
|
|
2456
|
+
session: "session";
|
|
2457
|
+
userId: "userId";
|
|
2458
|
+
global: "global";
|
|
2459
|
+
}>, z.ZodCustom<(ctx: {
|
|
2460
|
+
sessionId: string;
|
|
2461
|
+
clientIp?: string;
|
|
2462
|
+
userId?: string;
|
|
2463
|
+
}) => string, (ctx: {
|
|
2464
|
+
sessionId: string;
|
|
2465
|
+
clientIp?: string;
|
|
2466
|
+
userId?: string;
|
|
2467
|
+
}) => string>]>>>;
|
|
2468
|
+
}, z.core.$strip>>;
|
|
2469
|
+
defaultTimeout: z.ZodOptional<z.ZodObject<{
|
|
2470
|
+
executeMs: z.ZodNumber;
|
|
2471
|
+
}, z.core.$strip>>;
|
|
2472
|
+
ipFilter: z.ZodOptional<z.ZodObject<{
|
|
2473
|
+
allowList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2474
|
+
denyList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2475
|
+
defaultAction: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2476
|
+
allow: "allow";
|
|
2477
|
+
deny: "deny";
|
|
2478
|
+
}>>>;
|
|
2479
|
+
trustProxy: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2480
|
+
trustedProxyDepth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2481
|
+
}, z.core.$strip>>;
|
|
2482
|
+
}, z.core.$strip>>;
|
|
2483
|
+
splitByApp: z.ZodLiteral<true>;
|
|
2484
|
+
auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2485
|
+
mode: z.ZodLiteral<"public">;
|
|
2486
|
+
issuer: z.ZodOptional<z.ZodString>;
|
|
2487
|
+
sessionTtl: z.ZodDefault<z.ZodNumber>;
|
|
2488
|
+
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2489
|
+
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
2490
|
+
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
2491
|
+
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
2492
|
+
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
2493
|
+
}, z.core.$strip>>;
|
|
2494
|
+
jwks: z.ZodOptional<z.ZodObject<{
|
|
2495
|
+
keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
|
|
2496
|
+
}, z.core.$strip>>;
|
|
2497
|
+
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
2498
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2499
|
+
expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
2500
|
+
requiredScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2501
|
+
allowAnonymous: z.ZodDefault<z.ZodBoolean>;
|
|
2502
|
+
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2503
|
+
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
2504
|
+
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
2505
|
+
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
2506
|
+
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
2507
|
+
}, z.core.$strip>>;
|
|
2508
|
+
provider: z.ZodString;
|
|
2509
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
2510
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
2511
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2512
|
+
providerConfig: z.ZodOptional<z.ZodObject<{
|
|
2513
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2514
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2515
|
+
jwks: z.ZodOptional<z.ZodObject<{
|
|
2516
|
+
keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
|
|
2517
|
+
}, z.core.$strip>>;
|
|
2518
|
+
jwksUri: z.ZodOptional<z.ZodString>;
|
|
2519
|
+
dcrEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
2520
|
+
authEndpoint: z.ZodOptional<z.ZodString>;
|
|
2521
|
+
tokenEndpoint: z.ZodOptional<z.ZodString>;
|
|
2522
|
+
registrationEndpoint: z.ZodOptional<z.ZodString>;
|
|
2523
|
+
userInfoEndpoint: z.ZodOptional<z.ZodString>;
|
|
2524
|
+
}, z.core.$strip>>;
|
|
2525
|
+
mode: z.ZodLiteral<"transparent">;
|
|
2526
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2527
|
+
local: z.ZodOptional<z.ZodObject<{
|
|
2528
|
+
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
2529
|
+
jwks: z.ZodOptional<z.ZodObject<{
|
|
2530
|
+
keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
|
|
2531
|
+
}, z.core.$strip>>;
|
|
2532
|
+
issuer: z.ZodOptional<z.ZodString>;
|
|
2533
|
+
}, z.core.$strip>>;
|
|
2534
|
+
tokenStorage: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"memory">, z.ZodObject<{
|
|
2535
|
+
redis: z.ZodObject<{
|
|
2536
|
+
host: z.ZodString;
|
|
2537
|
+
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2538
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2539
|
+
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2540
|
+
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2541
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2542
|
+
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2543
|
+
}, z.core.$strip>;
|
|
2544
|
+
}, z.core.$strip>]>>;
|
|
2545
|
+
allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
|
|
2546
|
+
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2547
|
+
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
2548
|
+
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
2549
|
+
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
2550
|
+
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
2551
|
+
}, z.core.$strip>>;
|
|
2552
|
+
consent: z.ZodOptional<z.ZodObject<{
|
|
2553
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2554
|
+
groupByApp: z.ZodDefault<z.ZodBoolean>;
|
|
2555
|
+
showDescriptions: z.ZodDefault<z.ZodBoolean>;
|
|
2556
|
+
allowSelectAll: z.ZodDefault<z.ZodBoolean>;
|
|
2557
|
+
requireSelection: z.ZodDefault<z.ZodBoolean>;
|
|
2558
|
+
customMessage: z.ZodOptional<z.ZodString>;
|
|
2559
|
+
rememberConsent: z.ZodDefault<z.ZodBoolean>;
|
|
2560
|
+
excludedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2561
|
+
defaultSelectedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2562
|
+
}, z.core.$strip>>;
|
|
2563
|
+
federatedAuth: z.ZodOptional<z.ZodObject<{
|
|
2564
|
+
stateValidation: z.ZodDefault<z.ZodEnum<{
|
|
2565
|
+
format: "format";
|
|
2566
|
+
strict: "strict";
|
|
2567
|
+
}>>;
|
|
2568
|
+
}, z.core.$strip>>;
|
|
2569
|
+
refresh: z.ZodOptional<z.ZodObject<{
|
|
2570
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2571
|
+
skewSeconds: z.ZodDefault<z.ZodNumber>;
|
|
2572
|
+
}, z.core.$strip>>;
|
|
2573
|
+
expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
2574
|
+
incrementalAuth: z.ZodOptional<z.ZodObject<{
|
|
2575
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2576
|
+
skippedAppBehavior: z.ZodDefault<z.ZodEnum<{
|
|
2577
|
+
anonymous: "anonymous";
|
|
2578
|
+
"require-auth": "require-auth";
|
|
2579
|
+
}>>;
|
|
2580
|
+
allowSkip: z.ZodDefault<z.ZodBoolean>;
|
|
2581
|
+
showAllAppsAtOnce: z.ZodDefault<z.ZodBoolean>;
|
|
2582
|
+
}, z.core.$strip>>;
|
|
2583
|
+
cimd: z.ZodOptional<z.ZodObject<{
|
|
2584
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2585
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
2586
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
2587
|
+
memory: "memory";
|
|
2588
|
+
redis: "redis";
|
|
2589
|
+
}>>;
|
|
2590
|
+
defaultTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
2591
|
+
maxTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
2592
|
+
minTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
2593
|
+
redis: z.ZodOptional<z.ZodObject<{
|
|
2594
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2595
|
+
host: z.ZodOptional<z.ZodString>;
|
|
2596
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
2597
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2598
|
+
db: z.ZodOptional<z.ZodNumber>;
|
|
2599
|
+
tls: z.ZodOptional<z.ZodBoolean>;
|
|
2600
|
+
keyPrefix: z.ZodDefault<z.ZodString>;
|
|
2601
|
+
}, z.core.$strip>>;
|
|
2602
|
+
}, z.core.$strip>>;
|
|
2603
|
+
security: z.ZodOptional<z.ZodObject<{
|
|
2604
|
+
blockPrivateIPs: z.ZodDefault<z.ZodBoolean>;
|
|
2605
|
+
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2606
|
+
blockedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2607
|
+
warnOnLocalhostRedirects: z.ZodDefault<z.ZodBoolean>;
|
|
2608
|
+
allowInsecureForTesting: z.ZodDefault<z.ZodBoolean>;
|
|
2609
|
+
}, z.core.$strip>>;
|
|
2610
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
2611
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
2612
|
+
maxResponseSizeBytes: z.ZodDefault<z.ZodNumber>;
|
|
2613
|
+
redirectPolicy: z.ZodDefault<z.ZodEnum<{
|
|
2614
|
+
deny: "deny";
|
|
2615
|
+
"same-origin": "same-origin";
|
|
2616
|
+
allow: "allow";
|
|
2617
|
+
}>>;
|
|
2618
|
+
maxRedirects: z.ZodDefault<z.ZodNumber>;
|
|
2619
|
+
}, z.core.$strip>>;
|
|
2620
|
+
}, z.core.$strip>>;
|
|
2621
|
+
mode: z.ZodLiteral<"local">;
|
|
2622
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2623
|
+
local: z.ZodOptional<z.ZodObject<{
|
|
2624
|
+
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
2625
|
+
jwks: z.ZodOptional<z.ZodObject<{
|
|
2626
|
+
keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
|
|
2627
|
+
}, z.core.$strip>>;
|
|
2628
|
+
issuer: z.ZodOptional<z.ZodString>;
|
|
2629
|
+
}, z.core.$strip>>;
|
|
2630
|
+
tokenStorage: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"memory">, z.ZodObject<{
|
|
2631
|
+
redis: z.ZodObject<{
|
|
2632
|
+
host: z.ZodString;
|
|
2633
|
+
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2634
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2635
|
+
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2636
|
+
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2637
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2638
|
+
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2639
|
+
}, z.core.$strip>;
|
|
2640
|
+
}, z.core.$strip>]>>;
|
|
2641
|
+
allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
|
|
2642
|
+
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2643
|
+
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
2644
|
+
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
2645
|
+
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
2646
|
+
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
2647
|
+
}, z.core.$strip>>;
|
|
2648
|
+
consent: z.ZodOptional<z.ZodObject<{
|
|
2649
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2650
|
+
groupByApp: z.ZodDefault<z.ZodBoolean>;
|
|
2651
|
+
showDescriptions: z.ZodDefault<z.ZodBoolean>;
|
|
2652
|
+
allowSelectAll: z.ZodDefault<z.ZodBoolean>;
|
|
2653
|
+
requireSelection: z.ZodDefault<z.ZodBoolean>;
|
|
2654
|
+
customMessage: z.ZodOptional<z.ZodString>;
|
|
2655
|
+
rememberConsent: z.ZodDefault<z.ZodBoolean>;
|
|
2656
|
+
excludedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2657
|
+
defaultSelectedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2658
|
+
}, z.core.$strip>>;
|
|
2659
|
+
federatedAuth: z.ZodOptional<z.ZodObject<{
|
|
2660
|
+
stateValidation: z.ZodDefault<z.ZodEnum<{
|
|
2661
|
+
format: "format";
|
|
2662
|
+
strict: "strict";
|
|
2663
|
+
}>>;
|
|
2664
|
+
}, z.core.$strip>>;
|
|
2665
|
+
refresh: z.ZodOptional<z.ZodObject<{
|
|
2666
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2667
|
+
skewSeconds: z.ZodDefault<z.ZodNumber>;
|
|
2668
|
+
}, z.core.$strip>>;
|
|
2669
|
+
expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
2670
|
+
incrementalAuth: z.ZodOptional<z.ZodObject<{
|
|
2671
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2672
|
+
skippedAppBehavior: z.ZodDefault<z.ZodEnum<{
|
|
2673
|
+
anonymous: "anonymous";
|
|
2674
|
+
"require-auth": "require-auth";
|
|
2675
|
+
}>>;
|
|
2676
|
+
allowSkip: z.ZodDefault<z.ZodBoolean>;
|
|
2677
|
+
showAllAppsAtOnce: z.ZodDefault<z.ZodBoolean>;
|
|
2678
|
+
}, z.core.$strip>>;
|
|
2679
|
+
cimd: z.ZodOptional<z.ZodObject<{
|
|
2680
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2681
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
2682
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
2683
|
+
memory: "memory";
|
|
2684
|
+
redis: "redis";
|
|
2685
|
+
}>>;
|
|
2686
|
+
defaultTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
2687
|
+
maxTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
2688
|
+
minTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
2689
|
+
redis: z.ZodOptional<z.ZodObject<{
|
|
2690
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2691
|
+
host: z.ZodOptional<z.ZodString>;
|
|
2692
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
2693
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2694
|
+
db: z.ZodOptional<z.ZodNumber>;
|
|
2695
|
+
tls: z.ZodOptional<z.ZodBoolean>;
|
|
2696
|
+
keyPrefix: z.ZodDefault<z.ZodString>;
|
|
2697
|
+
}, z.core.$strip>>;
|
|
2698
|
+
}, z.core.$strip>>;
|
|
2699
|
+
security: z.ZodOptional<z.ZodObject<{
|
|
2700
|
+
blockPrivateIPs: z.ZodDefault<z.ZodBoolean>;
|
|
2701
|
+
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2702
|
+
blockedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2703
|
+
warnOnLocalhostRedirects: z.ZodDefault<z.ZodBoolean>;
|
|
2704
|
+
allowInsecureForTesting: z.ZodDefault<z.ZodBoolean>;
|
|
2705
|
+
}, z.core.$strip>>;
|
|
2706
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
2707
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
2708
|
+
maxResponseSizeBytes: z.ZodDefault<z.ZodNumber>;
|
|
2709
|
+
redirectPolicy: z.ZodDefault<z.ZodEnum<{
|
|
2710
|
+
deny: "deny";
|
|
2711
|
+
"same-origin": "same-origin";
|
|
2712
|
+
allow: "allow";
|
|
2713
|
+
}>>;
|
|
2714
|
+
maxRedirects: z.ZodDefault<z.ZodNumber>;
|
|
2715
|
+
}, z.core.$strip>>;
|
|
2716
|
+
}, z.core.$strip>>;
|
|
2717
|
+
provider: z.ZodString;
|
|
2718
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
2719
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
2720
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2721
|
+
providerConfig: z.ZodOptional<z.ZodObject<{
|
|
2722
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2723
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2724
|
+
jwks: z.ZodOptional<z.ZodObject<{
|
|
2725
|
+
keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
|
|
2726
|
+
}, z.core.$strip>>;
|
|
2727
|
+
jwksUri: z.ZodOptional<z.ZodString>;
|
|
2728
|
+
dcrEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
2729
|
+
authEndpoint: z.ZodOptional<z.ZodString>;
|
|
2730
|
+
tokenEndpoint: z.ZodOptional<z.ZodString>;
|
|
2731
|
+
registrationEndpoint: z.ZodOptional<z.ZodString>;
|
|
2732
|
+
userInfoEndpoint: z.ZodOptional<z.ZodString>;
|
|
2733
|
+
}, z.core.$strip>>;
|
|
2734
|
+
mode: z.ZodLiteral<"remote">;
|
|
2735
|
+
}, z.core.$strip>]>>;
|
|
2736
|
+
}, z.core.$strip>;
|
|
2737
|
+
export type FrontMcpMetadata = FrontMcpMultiAppMetadata | FrontMcpSplitByAppMetadata;
|
|
2738
|
+
export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
2739
|
+
info: z.ZodObject<{
|
|
2740
|
+
name: z.ZodString;
|
|
2741
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2742
|
+
version: z.ZodString;
|
|
2743
|
+
websiteUrl: z.ZodOptional<z.ZodURL>;
|
|
2744
|
+
icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2745
|
+
src: z.ZodString;
|
|
2746
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
2747
|
+
sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2748
|
+
theme: z.ZodOptional<z.ZodEnum<{
|
|
2749
|
+
light: "light";
|
|
2750
|
+
dark: "dark";
|
|
2751
|
+
}>>;
|
|
2752
|
+
}, z.core.$strip>>>;
|
|
2753
|
+
}, z.core.$strip>;
|
|
2754
|
+
providers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
2755
|
+
tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<string | import("libs/di/dist/interfaces/base.interface").Type<unknown>, string | import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
2756
|
+
resources: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
2757
|
+
skills: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
2758
|
+
plugins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
2759
|
+
apps: z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>;
|
|
2760
|
+
serve: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2761
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
2762
|
+
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2763
|
+
entryPath: z.ZodDefault<z.ZodString>;
|
|
2764
|
+
hostFactory: z.ZodOptional<z.ZodAny>;
|
|
2765
|
+
socketPath: z.ZodOptional<z.ZodString>;
|
|
2766
|
+
cors: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
|
|
2767
|
+
origin: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodArray<z.ZodString>, z.ZodCustom<(origin: string | undefined, callback: (err: Error | null, allow?: boolean) => void) => void, (origin: string | undefined, callback: (err: Error | null, allow?: boolean) => void) => void>]>>;
|
|
2768
|
+
credentials: z.ZodOptional<z.ZodBoolean>;
|
|
2769
|
+
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
2770
|
+
}, z.core.$strip>]>>;
|
|
2771
|
+
}, z.core.$strip>>;
|
|
2772
|
+
redis: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2773
|
+
provider: z.ZodLiteral<"redis">;
|
|
2774
|
+
host: z.ZodString;
|
|
2775
|
+
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2776
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2777
|
+
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2778
|
+
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2779
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2780
|
+
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2781
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2782
|
+
provider: z.ZodLiteral<"vercel-kv">;
|
|
2783
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2784
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2785
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2786
|
+
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2787
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
2788
|
+
host: z.ZodString;
|
|
2789
|
+
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2790
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2791
|
+
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2792
|
+
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2793
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2794
|
+
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2795
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
2796
|
+
provider: "redis";
|
|
2797
|
+
host: string;
|
|
2798
|
+
port: number;
|
|
2799
|
+
db: number;
|
|
2800
|
+
tls: boolean;
|
|
2801
|
+
keyPrefix: string;
|
|
2802
|
+
defaultTtlMs: number;
|
|
2803
|
+
password?: string | undefined;
|
|
2804
|
+
}, {
|
|
2805
|
+
host: string;
|
|
2806
|
+
port: number;
|
|
2807
|
+
db: number;
|
|
2808
|
+
tls: boolean;
|
|
2809
|
+
keyPrefix: string;
|
|
2810
|
+
defaultTtlMs: number;
|
|
2811
|
+
password?: string | undefined;
|
|
2812
|
+
}>>]>>;
|
|
2813
|
+
pubsub: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2814
|
+
provider: z.ZodLiteral<"redis">;
|
|
2815
|
+
host: z.ZodString;
|
|
2816
|
+
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2817
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2818
|
+
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2819
|
+
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2820
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2821
|
+
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2822
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
2823
|
+
host: z.ZodString;
|
|
2824
|
+
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2825
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2826
|
+
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2827
|
+
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2828
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2829
|
+
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2830
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
2831
|
+
provider: "redis";
|
|
2832
|
+
host: string;
|
|
2833
|
+
port: number;
|
|
2834
|
+
db: number;
|
|
2835
|
+
tls: boolean;
|
|
2836
|
+
keyPrefix: string;
|
|
2837
|
+
defaultTtlMs: number;
|
|
2838
|
+
password?: string | undefined;
|
|
2839
|
+
}, {
|
|
2840
|
+
host: string;
|
|
2841
|
+
port: number;
|
|
2842
|
+
db: number;
|
|
2843
|
+
tls: boolean;
|
|
2844
|
+
keyPrefix: string;
|
|
2845
|
+
defaultTtlMs: number;
|
|
2846
|
+
password?: string | undefined;
|
|
2847
|
+
}>>]>>;
|
|
2848
|
+
transport: z.ZodPipe<z.ZodOptional<z.ZodObject<{
|
|
2849
|
+
sessionMode: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"stateful">, z.ZodLiteral<"stateless">, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>>>;
|
|
2850
|
+
platformDetection: z.ZodOptional<z.ZodObject<{
|
|
2851
|
+
mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2852
|
+
pattern: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RegExp, RegExp>]>;
|
|
2853
|
+
platform: z.ZodEnum<{
|
|
2854
|
+
unknown: "unknown";
|
|
2855
|
+
openai: "openai";
|
|
2856
|
+
claude: "claude";
|
|
2857
|
+
gemini: "gemini";
|
|
2858
|
+
cursor: "cursor";
|
|
2859
|
+
continue: "continue";
|
|
2860
|
+
cody: "cody";
|
|
2861
|
+
"generic-mcp": "generic-mcp";
|
|
2862
|
+
"ext-apps": "ext-apps";
|
|
2863
|
+
}>;
|
|
2864
|
+
}, z.core.$strip>>>;
|
|
2865
|
+
customOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2866
|
+
}, z.core.$strip>>;
|
|
2867
|
+
protocol: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2868
|
+
modern: "modern";
|
|
2869
|
+
legacy: "legacy";
|
|
2870
|
+
"stateless-api": "stateless-api";
|
|
2871
|
+
full: "full";
|
|
2872
|
+
}>, z.ZodObject<{
|
|
2873
|
+
sse: z.ZodOptional<z.ZodBoolean>;
|
|
2874
|
+
streamable: z.ZodOptional<z.ZodBoolean>;
|
|
2875
|
+
json: z.ZodOptional<z.ZodBoolean>;
|
|
2876
|
+
stateless: z.ZodOptional<z.ZodBoolean>;
|
|
2877
|
+
legacy: z.ZodOptional<z.ZodBoolean>;
|
|
2878
|
+
strictSession: z.ZodOptional<z.ZodBoolean>;
|
|
2879
|
+
}, z.core.$strip>]>>>;
|
|
2880
|
+
persistence: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
|
|
2881
|
+
redis: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2882
|
+
provider: z.ZodLiteral<"redis">;
|
|
2883
|
+
host: z.ZodString;
|
|
2884
|
+
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2885
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2886
|
+
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2887
|
+
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2888
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2889
|
+
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2890
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2891
|
+
provider: z.ZodLiteral<"vercel-kv">;
|
|
2892
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2893
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2894
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2895
|
+
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2896
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
2897
|
+
host: z.ZodString;
|
|
2898
|
+
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2899
|
+
password: z.ZodOptional<z.ZodString>;
|
|
2900
|
+
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2901
|
+
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2902
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2903
|
+
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2904
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
2905
|
+
provider: "redis";
|
|
2906
|
+
host: string;
|
|
2907
|
+
port: number;
|
|
2908
|
+
db: number;
|
|
2909
|
+
tls: boolean;
|
|
2910
|
+
keyPrefix: string;
|
|
2911
|
+
defaultTtlMs: number;
|
|
2912
|
+
password?: string | undefined;
|
|
2913
|
+
}, {
|
|
2914
|
+
host: string;
|
|
2915
|
+
port: number;
|
|
2327
2916
|
db: number;
|
|
2328
2917
|
tls: boolean;
|
|
2329
2918
|
keyPrefix: string;
|
|
@@ -2666,6 +3255,9 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2666
3255
|
ttlCleanupIntervalMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2667
3256
|
walMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2668
3257
|
}, z.core.$strip>>;
|
|
3258
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
3259
|
+
cdnOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3260
|
+
}, z.core.$strip>>;
|
|
2669
3261
|
jobs: z.ZodOptional<z.ZodObject<{
|
|
2670
3262
|
enabled: z.ZodBoolean;
|
|
2671
3263
|
store: z.ZodOptional<z.ZodObject<{
|
|
@@ -2713,6 +3305,102 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2713
3305
|
keyPrefix: z.ZodOptional<z.ZodString>;
|
|
2714
3306
|
}, z.core.$strip>>;
|
|
2715
3307
|
}, z.core.$strip>>;
|
|
3308
|
+
loader: z.ZodOptional<z.ZodObject<{
|
|
3309
|
+
url: z.ZodOptional<z.ZodString>;
|
|
3310
|
+
registryUrl: z.ZodOptional<z.ZodString>;
|
|
3311
|
+
token: z.ZodOptional<z.ZodString>;
|
|
3312
|
+
tokenEnvVar: z.ZodOptional<z.ZodString>;
|
|
3313
|
+
}, z.core.$strip>>;
|
|
3314
|
+
throttle: z.ZodOptional<z.ZodObject<{
|
|
3315
|
+
enabled: z.ZodBoolean;
|
|
3316
|
+
storage: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
3317
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3318
|
+
global: z.ZodOptional<z.ZodObject<{
|
|
3319
|
+
maxRequests: z.ZodNumber;
|
|
3320
|
+
windowMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3321
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3322
|
+
ip: "ip";
|
|
3323
|
+
session: "session";
|
|
3324
|
+
userId: "userId";
|
|
3325
|
+
global: "global";
|
|
3326
|
+
}>, z.ZodCustom<(ctx: {
|
|
3327
|
+
sessionId: string;
|
|
3328
|
+
clientIp?: string;
|
|
3329
|
+
userId?: string;
|
|
3330
|
+
}) => string, (ctx: {
|
|
3331
|
+
sessionId: string;
|
|
3332
|
+
clientIp?: string;
|
|
3333
|
+
userId?: string;
|
|
3334
|
+
}) => string>]>>>;
|
|
3335
|
+
}, z.core.$strip>>;
|
|
3336
|
+
globalConcurrency: z.ZodOptional<z.ZodObject<{
|
|
3337
|
+
maxConcurrent: z.ZodNumber;
|
|
3338
|
+
queueTimeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3339
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3340
|
+
ip: "ip";
|
|
3341
|
+
session: "session";
|
|
3342
|
+
userId: "userId";
|
|
3343
|
+
global: "global";
|
|
3344
|
+
}>, z.ZodCustom<(ctx: {
|
|
3345
|
+
sessionId: string;
|
|
3346
|
+
clientIp?: string;
|
|
3347
|
+
userId?: string;
|
|
3348
|
+
}) => string, (ctx: {
|
|
3349
|
+
sessionId: string;
|
|
3350
|
+
clientIp?: string;
|
|
3351
|
+
userId?: string;
|
|
3352
|
+
}) => string>]>>>;
|
|
3353
|
+
}, z.core.$strip>>;
|
|
3354
|
+
defaultRateLimit: z.ZodOptional<z.ZodObject<{
|
|
3355
|
+
maxRequests: z.ZodNumber;
|
|
3356
|
+
windowMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3357
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3358
|
+
ip: "ip";
|
|
3359
|
+
session: "session";
|
|
3360
|
+
userId: "userId";
|
|
3361
|
+
global: "global";
|
|
3362
|
+
}>, z.ZodCustom<(ctx: {
|
|
3363
|
+
sessionId: string;
|
|
3364
|
+
clientIp?: string;
|
|
3365
|
+
userId?: string;
|
|
3366
|
+
}) => string, (ctx: {
|
|
3367
|
+
sessionId: string;
|
|
3368
|
+
clientIp?: string;
|
|
3369
|
+
userId?: string;
|
|
3370
|
+
}) => string>]>>>;
|
|
3371
|
+
}, z.core.$strip>>;
|
|
3372
|
+
defaultConcurrency: z.ZodOptional<z.ZodObject<{
|
|
3373
|
+
maxConcurrent: z.ZodNumber;
|
|
3374
|
+
queueTimeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3375
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3376
|
+
ip: "ip";
|
|
3377
|
+
session: "session";
|
|
3378
|
+
userId: "userId";
|
|
3379
|
+
global: "global";
|
|
3380
|
+
}>, z.ZodCustom<(ctx: {
|
|
3381
|
+
sessionId: string;
|
|
3382
|
+
clientIp?: string;
|
|
3383
|
+
userId?: string;
|
|
3384
|
+
}) => string, (ctx: {
|
|
3385
|
+
sessionId: string;
|
|
3386
|
+
clientIp?: string;
|
|
3387
|
+
userId?: string;
|
|
3388
|
+
}) => string>]>>>;
|
|
3389
|
+
}, z.core.$strip>>;
|
|
3390
|
+
defaultTimeout: z.ZodOptional<z.ZodObject<{
|
|
3391
|
+
executeMs: z.ZodNumber;
|
|
3392
|
+
}, z.core.$strip>>;
|
|
3393
|
+
ipFilter: z.ZodOptional<z.ZodObject<{
|
|
3394
|
+
allowList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3395
|
+
denyList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3396
|
+
defaultAction: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3397
|
+
allow: "allow";
|
|
3398
|
+
deny: "deny";
|
|
3399
|
+
}>>>;
|
|
3400
|
+
trustProxy: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3401
|
+
trustedProxyDepth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3402
|
+
}, z.core.$strip>>;
|
|
3403
|
+
}, z.core.$strip>>;
|
|
2716
3404
|
splitByApp: z.ZodDefault<z.ZodLiteral<false>>;
|
|
2717
3405
|
auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2718
3406
|
mode: z.ZodLiteral<"public">;
|
|
@@ -2729,33 +3417,33 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2729
3417
|
}, z.core.$strip>>;
|
|
2730
3418
|
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
2731
3419
|
}, z.core.$strip>, z.ZodObject<{
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
3420
|
+
expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
3421
|
+
requiredScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3422
|
+
allowAnonymous: z.ZodDefault<z.ZodBoolean>;
|
|
3423
|
+
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3424
|
+
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
3425
|
+
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
3426
|
+
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
3427
|
+
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
3428
|
+
}, z.core.$strip>>;
|
|
3429
|
+
provider: z.ZodString;
|
|
3430
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
3431
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
3432
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3433
|
+
providerConfig: z.ZodOptional<z.ZodObject<{
|
|
2735
3434
|
name: z.ZodOptional<z.ZodString>;
|
|
2736
3435
|
id: z.ZodOptional<z.ZodString>;
|
|
2737
3436
|
jwks: z.ZodOptional<z.ZodObject<{
|
|
2738
3437
|
keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
|
|
2739
3438
|
}, z.core.$strip>>;
|
|
2740
3439
|
jwksUri: z.ZodOptional<z.ZodString>;
|
|
2741
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
2742
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
2743
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2744
3440
|
dcrEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
2745
3441
|
authEndpoint: z.ZodOptional<z.ZodString>;
|
|
2746
3442
|
tokenEndpoint: z.ZodOptional<z.ZodString>;
|
|
2747
3443
|
registrationEndpoint: z.ZodOptional<z.ZodString>;
|
|
2748
3444
|
userInfoEndpoint: z.ZodOptional<z.ZodString>;
|
|
2749
|
-
}, z.core.$strip>;
|
|
2750
|
-
expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
2751
|
-
requiredScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2752
|
-
allowAnonymous: z.ZodDefault<z.ZodBoolean>;
|
|
2753
|
-
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2754
|
-
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
2755
|
-
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
2756
|
-
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
2757
|
-
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
2758
3445
|
}, z.core.$strip>>;
|
|
3446
|
+
mode: z.ZodLiteral<"transparent">;
|
|
2759
3447
|
}, z.core.$strip>, z.ZodObject<{
|
|
2760
3448
|
local: z.ZodOptional<z.ZodObject<{
|
|
2761
3449
|
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
@@ -2764,11 +3452,8 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2764
3452
|
}, z.core.$strip>>;
|
|
2765
3453
|
issuer: z.ZodOptional<z.ZodString>;
|
|
2766
3454
|
}, z.core.$strip>>;
|
|
2767
|
-
tokenStorage: z.ZodDefault<z.
|
|
2768
|
-
|
|
2769
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2770
|
-
type: z.ZodLiteral<"redis">;
|
|
2771
|
-
config: z.ZodObject<{
|
|
3455
|
+
tokenStorage: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"memory">, z.ZodObject<{
|
|
3456
|
+
redis: z.ZodObject<{
|
|
2772
3457
|
host: z.ZodString;
|
|
2773
3458
|
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2774
3459
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -2777,7 +3462,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2777
3462
|
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2778
3463
|
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2779
3464
|
}, z.core.$strip>;
|
|
2780
|
-
}, z.core.$strip>]
|
|
3465
|
+
}, z.core.$strip>]>>;
|
|
2781
3466
|
allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
|
|
2782
3467
|
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2783
3468
|
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
@@ -2854,8 +3539,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2854
3539
|
maxRedirects: z.ZodDefault<z.ZodNumber>;
|
|
2855
3540
|
}, z.core.$strip>>;
|
|
2856
3541
|
}, z.core.$strip>>;
|
|
2857
|
-
mode: z.ZodLiteral<"
|
|
2858
|
-
type: z.ZodLiteral<"local">;
|
|
3542
|
+
mode: z.ZodLiteral<"local">;
|
|
2859
3543
|
}, z.core.$strip>, z.ZodObject<{
|
|
2860
3544
|
local: z.ZodOptional<z.ZodObject<{
|
|
2861
3545
|
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
@@ -2864,11 +3548,8 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2864
3548
|
}, z.core.$strip>>;
|
|
2865
3549
|
issuer: z.ZodOptional<z.ZodString>;
|
|
2866
3550
|
}, z.core.$strip>>;
|
|
2867
|
-
tokenStorage: z.ZodDefault<z.
|
|
2868
|
-
|
|
2869
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2870
|
-
type: z.ZodLiteral<"redis">;
|
|
2871
|
-
config: z.ZodObject<{
|
|
3551
|
+
tokenStorage: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"memory">, z.ZodObject<{
|
|
3552
|
+
redis: z.ZodObject<{
|
|
2872
3553
|
host: z.ZodString;
|
|
2873
3554
|
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2874
3555
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -2877,7 +3558,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2877
3558
|
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2878
3559
|
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2879
3560
|
}, z.core.$strip>;
|
|
2880
|
-
}, z.core.$strip>]
|
|
3561
|
+
}, z.core.$strip>]>>;
|
|
2881
3562
|
allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
|
|
2882
3563
|
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2883
3564
|
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
@@ -2954,25 +3635,24 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2954
3635
|
maxRedirects: z.ZodDefault<z.ZodNumber>;
|
|
2955
3636
|
}, z.core.$strip>>;
|
|
2956
3637
|
}, z.core.$strip>>;
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
3638
|
+
provider: z.ZodString;
|
|
3639
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
3640
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
3641
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3642
|
+
providerConfig: z.ZodOptional<z.ZodObject<{
|
|
2961
3643
|
name: z.ZodOptional<z.ZodString>;
|
|
2962
3644
|
id: z.ZodOptional<z.ZodString>;
|
|
2963
3645
|
jwks: z.ZodOptional<z.ZodObject<{
|
|
2964
3646
|
keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
|
|
2965
3647
|
}, z.core.$strip>>;
|
|
2966
3648
|
jwksUri: z.ZodOptional<z.ZodString>;
|
|
2967
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
2968
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
2969
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2970
3649
|
dcrEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
2971
3650
|
authEndpoint: z.ZodOptional<z.ZodString>;
|
|
2972
3651
|
tokenEndpoint: z.ZodOptional<z.ZodString>;
|
|
2973
3652
|
registrationEndpoint: z.ZodOptional<z.ZodString>;
|
|
2974
3653
|
userInfoEndpoint: z.ZodOptional<z.ZodString>;
|
|
2975
|
-
}, z.core.$strip
|
|
3654
|
+
}, z.core.$strip>>;
|
|
3655
|
+
mode: z.ZodLiteral<"remote">;
|
|
2976
3656
|
}, z.core.$strip>]>>;
|
|
2977
3657
|
}, z.core.$strip>, z.ZodObject<{
|
|
2978
3658
|
info: z.ZodObject<{
|
|
@@ -2991,7 +3671,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2991
3671
|
}, z.core.$strip>>>;
|
|
2992
3672
|
}, z.core.$strip>;
|
|
2993
3673
|
providers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
2994
|
-
tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
3674
|
+
tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<string | import("libs/di/dist/interfaces/base.interface").Type<unknown>, string | import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
2995
3675
|
resources: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
2996
3676
|
skills: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
2997
3677
|
plugins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
|
|
@@ -3485,34 +4165,310 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
3485
4165
|
}>>>;
|
|
3486
4166
|
logging: z.ZodOptional<z.ZodBoolean>;
|
|
3487
4167
|
}, z.core.$strip>>;
|
|
3488
|
-
}, z.core.$strip>>;
|
|
3489
|
-
sqlite: z.ZodOptional<z.ZodObject<{
|
|
3490
|
-
path: z.ZodString;
|
|
3491
|
-
encryption: z.ZodOptional<z.ZodObject<{
|
|
3492
|
-
secret: z.ZodString;
|
|
4168
|
+
}, z.core.$strip>>;
|
|
4169
|
+
sqlite: z.ZodOptional<z.ZodObject<{
|
|
4170
|
+
path: z.ZodString;
|
|
4171
|
+
encryption: z.ZodOptional<z.ZodObject<{
|
|
4172
|
+
secret: z.ZodString;
|
|
4173
|
+
}, z.core.$strip>>;
|
|
4174
|
+
ttlCleanupIntervalMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4175
|
+
walMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4176
|
+
}, z.core.$strip>>;
|
|
4177
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
4178
|
+
cdnOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4179
|
+
}, z.core.$strip>>;
|
|
4180
|
+
jobs: z.ZodOptional<z.ZodObject<{
|
|
4181
|
+
enabled: z.ZodBoolean;
|
|
4182
|
+
store: z.ZodOptional<z.ZodObject<{
|
|
4183
|
+
redis: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4184
|
+
provider: z.ZodLiteral<"redis">;
|
|
4185
|
+
host: z.ZodString;
|
|
4186
|
+
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4187
|
+
password: z.ZodOptional<z.ZodString>;
|
|
4188
|
+
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4189
|
+
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4190
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4191
|
+
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4192
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4193
|
+
provider: z.ZodLiteral<"vercel-kv">;
|
|
4194
|
+
url: z.ZodOptional<z.ZodString>;
|
|
4195
|
+
token: z.ZodOptional<z.ZodString>;
|
|
4196
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4197
|
+
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4198
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
4199
|
+
host: z.ZodString;
|
|
4200
|
+
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4201
|
+
password: z.ZodOptional<z.ZodString>;
|
|
4202
|
+
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4203
|
+
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4204
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4205
|
+
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4206
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
4207
|
+
provider: "redis";
|
|
4208
|
+
host: string;
|
|
4209
|
+
port: number;
|
|
4210
|
+
db: number;
|
|
4211
|
+
tls: boolean;
|
|
4212
|
+
keyPrefix: string;
|
|
4213
|
+
defaultTtlMs: number;
|
|
4214
|
+
password?: string | undefined;
|
|
4215
|
+
}, {
|
|
4216
|
+
host: string;
|
|
4217
|
+
port: number;
|
|
4218
|
+
db: number;
|
|
4219
|
+
tls: boolean;
|
|
4220
|
+
keyPrefix: string;
|
|
4221
|
+
defaultTtlMs: number;
|
|
4222
|
+
password?: string | undefined;
|
|
4223
|
+
}>>]>>;
|
|
4224
|
+
keyPrefix: z.ZodOptional<z.ZodString>;
|
|
4225
|
+
}, z.core.$strip>>;
|
|
4226
|
+
}, z.core.$strip>>;
|
|
4227
|
+
loader: z.ZodOptional<z.ZodObject<{
|
|
4228
|
+
url: z.ZodOptional<z.ZodString>;
|
|
4229
|
+
registryUrl: z.ZodOptional<z.ZodString>;
|
|
4230
|
+
token: z.ZodOptional<z.ZodString>;
|
|
4231
|
+
tokenEnvVar: z.ZodOptional<z.ZodString>;
|
|
4232
|
+
}, z.core.$strip>>;
|
|
4233
|
+
throttle: z.ZodOptional<z.ZodObject<{
|
|
4234
|
+
enabled: z.ZodBoolean;
|
|
4235
|
+
storage: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
|
|
4236
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4237
|
+
global: z.ZodOptional<z.ZodObject<{
|
|
4238
|
+
maxRequests: z.ZodNumber;
|
|
4239
|
+
windowMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4240
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4241
|
+
ip: "ip";
|
|
4242
|
+
session: "session";
|
|
4243
|
+
userId: "userId";
|
|
4244
|
+
global: "global";
|
|
4245
|
+
}>, z.ZodCustom<(ctx: {
|
|
4246
|
+
sessionId: string;
|
|
4247
|
+
clientIp?: string;
|
|
4248
|
+
userId?: string;
|
|
4249
|
+
}) => string, (ctx: {
|
|
4250
|
+
sessionId: string;
|
|
4251
|
+
clientIp?: string;
|
|
4252
|
+
userId?: string;
|
|
4253
|
+
}) => string>]>>>;
|
|
4254
|
+
}, z.core.$strip>>;
|
|
4255
|
+
globalConcurrency: z.ZodOptional<z.ZodObject<{
|
|
4256
|
+
maxConcurrent: z.ZodNumber;
|
|
4257
|
+
queueTimeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4258
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4259
|
+
ip: "ip";
|
|
4260
|
+
session: "session";
|
|
4261
|
+
userId: "userId";
|
|
4262
|
+
global: "global";
|
|
4263
|
+
}>, z.ZodCustom<(ctx: {
|
|
4264
|
+
sessionId: string;
|
|
4265
|
+
clientIp?: string;
|
|
4266
|
+
userId?: string;
|
|
4267
|
+
}) => string, (ctx: {
|
|
4268
|
+
sessionId: string;
|
|
4269
|
+
clientIp?: string;
|
|
4270
|
+
userId?: string;
|
|
4271
|
+
}) => string>]>>>;
|
|
4272
|
+
}, z.core.$strip>>;
|
|
4273
|
+
defaultRateLimit: z.ZodOptional<z.ZodObject<{
|
|
4274
|
+
maxRequests: z.ZodNumber;
|
|
4275
|
+
windowMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4276
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4277
|
+
ip: "ip";
|
|
4278
|
+
session: "session";
|
|
4279
|
+
userId: "userId";
|
|
4280
|
+
global: "global";
|
|
4281
|
+
}>, z.ZodCustom<(ctx: {
|
|
4282
|
+
sessionId: string;
|
|
4283
|
+
clientIp?: string;
|
|
4284
|
+
userId?: string;
|
|
4285
|
+
}) => string, (ctx: {
|
|
4286
|
+
sessionId: string;
|
|
4287
|
+
clientIp?: string;
|
|
4288
|
+
userId?: string;
|
|
4289
|
+
}) => string>]>>>;
|
|
4290
|
+
}, z.core.$strip>>;
|
|
4291
|
+
defaultConcurrency: z.ZodOptional<z.ZodObject<{
|
|
4292
|
+
maxConcurrent: z.ZodNumber;
|
|
4293
|
+
queueTimeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4294
|
+
partitionBy: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4295
|
+
ip: "ip";
|
|
4296
|
+
session: "session";
|
|
4297
|
+
userId: "userId";
|
|
4298
|
+
global: "global";
|
|
4299
|
+
}>, z.ZodCustom<(ctx: {
|
|
4300
|
+
sessionId: string;
|
|
4301
|
+
clientIp?: string;
|
|
4302
|
+
userId?: string;
|
|
4303
|
+
}) => string, (ctx: {
|
|
4304
|
+
sessionId: string;
|
|
4305
|
+
clientIp?: string;
|
|
4306
|
+
userId?: string;
|
|
4307
|
+
}) => string>]>>>;
|
|
4308
|
+
}, z.core.$strip>>;
|
|
4309
|
+
defaultTimeout: z.ZodOptional<z.ZodObject<{
|
|
4310
|
+
executeMs: z.ZodNumber;
|
|
4311
|
+
}, z.core.$strip>>;
|
|
4312
|
+
ipFilter: z.ZodOptional<z.ZodObject<{
|
|
4313
|
+
allowList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4314
|
+
denyList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4315
|
+
defaultAction: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
4316
|
+
allow: "allow";
|
|
4317
|
+
deny: "deny";
|
|
4318
|
+
}>>>;
|
|
4319
|
+
trustProxy: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4320
|
+
trustedProxyDepth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4321
|
+
}, z.core.$strip>>;
|
|
4322
|
+
}, z.core.$strip>>;
|
|
4323
|
+
splitByApp: z.ZodLiteral<true>;
|
|
4324
|
+
auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4325
|
+
mode: z.ZodLiteral<"public">;
|
|
4326
|
+
issuer: z.ZodOptional<z.ZodString>;
|
|
4327
|
+
sessionTtl: z.ZodDefault<z.ZodNumber>;
|
|
4328
|
+
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4329
|
+
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
4330
|
+
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
4331
|
+
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
4332
|
+
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
4333
|
+
}, z.core.$strip>>;
|
|
4334
|
+
jwks: z.ZodOptional<z.ZodObject<{
|
|
4335
|
+
keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
|
|
4336
|
+
}, z.core.$strip>>;
|
|
4337
|
+
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
4338
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4339
|
+
expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4340
|
+
requiredScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4341
|
+
allowAnonymous: z.ZodDefault<z.ZodBoolean>;
|
|
4342
|
+
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4343
|
+
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
4344
|
+
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
4345
|
+
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
4346
|
+
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
4347
|
+
}, z.core.$strip>>;
|
|
4348
|
+
provider: z.ZodString;
|
|
4349
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
4350
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
4351
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4352
|
+
providerConfig: z.ZodOptional<z.ZodObject<{
|
|
4353
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4354
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4355
|
+
jwks: z.ZodOptional<z.ZodObject<{
|
|
4356
|
+
keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
|
|
4357
|
+
}, z.core.$strip>>;
|
|
4358
|
+
jwksUri: z.ZodOptional<z.ZodString>;
|
|
4359
|
+
dcrEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
4360
|
+
authEndpoint: z.ZodOptional<z.ZodString>;
|
|
4361
|
+
tokenEndpoint: z.ZodOptional<z.ZodString>;
|
|
4362
|
+
registrationEndpoint: z.ZodOptional<z.ZodString>;
|
|
4363
|
+
userInfoEndpoint: z.ZodOptional<z.ZodString>;
|
|
4364
|
+
}, z.core.$strip>>;
|
|
4365
|
+
mode: z.ZodLiteral<"transparent">;
|
|
4366
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4367
|
+
local: z.ZodOptional<z.ZodObject<{
|
|
4368
|
+
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
4369
|
+
jwks: z.ZodOptional<z.ZodObject<{
|
|
4370
|
+
keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
|
|
4371
|
+
}, z.core.$strip>>;
|
|
4372
|
+
issuer: z.ZodOptional<z.ZodString>;
|
|
4373
|
+
}, z.core.$strip>>;
|
|
4374
|
+
tokenStorage: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"memory">, z.ZodObject<{
|
|
4375
|
+
redis: z.ZodObject<{
|
|
4376
|
+
host: z.ZodString;
|
|
4377
|
+
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4378
|
+
password: z.ZodOptional<z.ZodString>;
|
|
4379
|
+
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4380
|
+
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4381
|
+
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4382
|
+
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4383
|
+
}, z.core.$strip>;
|
|
4384
|
+
}, z.core.$strip>]>>;
|
|
4385
|
+
allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
|
|
4386
|
+
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4387
|
+
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
4388
|
+
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
4389
|
+
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
4390
|
+
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
4391
|
+
}, z.core.$strip>>;
|
|
4392
|
+
consent: z.ZodOptional<z.ZodObject<{
|
|
4393
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4394
|
+
groupByApp: z.ZodDefault<z.ZodBoolean>;
|
|
4395
|
+
showDescriptions: z.ZodDefault<z.ZodBoolean>;
|
|
4396
|
+
allowSelectAll: z.ZodDefault<z.ZodBoolean>;
|
|
4397
|
+
requireSelection: z.ZodDefault<z.ZodBoolean>;
|
|
4398
|
+
customMessage: z.ZodOptional<z.ZodString>;
|
|
4399
|
+
rememberConsent: z.ZodDefault<z.ZodBoolean>;
|
|
4400
|
+
excludedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4401
|
+
defaultSelectedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4402
|
+
}, z.core.$strip>>;
|
|
4403
|
+
federatedAuth: z.ZodOptional<z.ZodObject<{
|
|
4404
|
+
stateValidation: z.ZodDefault<z.ZodEnum<{
|
|
4405
|
+
format: "format";
|
|
4406
|
+
strict: "strict";
|
|
4407
|
+
}>>;
|
|
4408
|
+
}, z.core.$strip>>;
|
|
4409
|
+
refresh: z.ZodOptional<z.ZodObject<{
|
|
4410
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4411
|
+
skewSeconds: z.ZodDefault<z.ZodNumber>;
|
|
4412
|
+
}, z.core.$strip>>;
|
|
4413
|
+
expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4414
|
+
incrementalAuth: z.ZodOptional<z.ZodObject<{
|
|
4415
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4416
|
+
skippedAppBehavior: z.ZodDefault<z.ZodEnum<{
|
|
4417
|
+
anonymous: "anonymous";
|
|
4418
|
+
"require-auth": "require-auth";
|
|
4419
|
+
}>>;
|
|
4420
|
+
allowSkip: z.ZodDefault<z.ZodBoolean>;
|
|
4421
|
+
showAllAppsAtOnce: z.ZodDefault<z.ZodBoolean>;
|
|
4422
|
+
}, z.core.$strip>>;
|
|
4423
|
+
cimd: z.ZodOptional<z.ZodObject<{
|
|
4424
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4425
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
4426
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
4427
|
+
memory: "memory";
|
|
4428
|
+
redis: "redis";
|
|
4429
|
+
}>>;
|
|
4430
|
+
defaultTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
4431
|
+
maxTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
4432
|
+
minTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
4433
|
+
redis: z.ZodOptional<z.ZodObject<{
|
|
4434
|
+
url: z.ZodOptional<z.ZodString>;
|
|
4435
|
+
host: z.ZodOptional<z.ZodString>;
|
|
4436
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
4437
|
+
password: z.ZodOptional<z.ZodString>;
|
|
4438
|
+
db: z.ZodOptional<z.ZodNumber>;
|
|
4439
|
+
tls: z.ZodOptional<z.ZodBoolean>;
|
|
4440
|
+
keyPrefix: z.ZodDefault<z.ZodString>;
|
|
4441
|
+
}, z.core.$strip>>;
|
|
4442
|
+
}, z.core.$strip>>;
|
|
4443
|
+
security: z.ZodOptional<z.ZodObject<{
|
|
4444
|
+
blockPrivateIPs: z.ZodDefault<z.ZodBoolean>;
|
|
4445
|
+
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4446
|
+
blockedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4447
|
+
warnOnLocalhostRedirects: z.ZodDefault<z.ZodBoolean>;
|
|
4448
|
+
allowInsecureForTesting: z.ZodDefault<z.ZodBoolean>;
|
|
4449
|
+
}, z.core.$strip>>;
|
|
4450
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
4451
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
4452
|
+
maxResponseSizeBytes: z.ZodDefault<z.ZodNumber>;
|
|
4453
|
+
redirectPolicy: z.ZodDefault<z.ZodEnum<{
|
|
4454
|
+
deny: "deny";
|
|
4455
|
+
"same-origin": "same-origin";
|
|
4456
|
+
allow: "allow";
|
|
4457
|
+
}>>;
|
|
4458
|
+
maxRedirects: z.ZodDefault<z.ZodNumber>;
|
|
4459
|
+
}, z.core.$strip>>;
|
|
4460
|
+
}, z.core.$strip>>;
|
|
4461
|
+
mode: z.ZodLiteral<"local">;
|
|
4462
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4463
|
+
local: z.ZodOptional<z.ZodObject<{
|
|
4464
|
+
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
4465
|
+
jwks: z.ZodOptional<z.ZodObject<{
|
|
4466
|
+
keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
|
|
4467
|
+
}, z.core.$strip>>;
|
|
4468
|
+
issuer: z.ZodOptional<z.ZodString>;
|
|
3493
4469
|
}, z.core.$strip>>;
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
}, z.core.$strip>>;
|
|
3497
|
-
jobs: z.ZodOptional<z.ZodObject<{
|
|
3498
|
-
enabled: z.ZodBoolean;
|
|
3499
|
-
store: z.ZodOptional<z.ZodObject<{
|
|
3500
|
-
redis: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3501
|
-
provider: z.ZodLiteral<"redis">;
|
|
3502
|
-
host: z.ZodString;
|
|
3503
|
-
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3504
|
-
password: z.ZodOptional<z.ZodString>;
|
|
3505
|
-
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3506
|
-
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3507
|
-
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3508
|
-
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3509
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3510
|
-
provider: z.ZodLiteral<"vercel-kv">;
|
|
3511
|
-
url: z.ZodOptional<z.ZodString>;
|
|
3512
|
-
token: z.ZodOptional<z.ZodString>;
|
|
3513
|
-
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3514
|
-
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3515
|
-
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
4470
|
+
tokenStorage: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"memory">, z.ZodObject<{
|
|
4471
|
+
redis: z.ZodObject<{
|
|
3516
4472
|
host: z.ZodString;
|
|
3517
4473
|
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3518
4474
|
password: z.ZodOptional<z.ZodString>;
|
|
@@ -3520,29 +4476,103 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
3520
4476
|
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3521
4477
|
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3522
4478
|
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
3523
|
-
}, z.core.$strip
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
password?: string | undefined;
|
|
3532
|
-
}, {
|
|
3533
|
-
host: string;
|
|
3534
|
-
port: number;
|
|
3535
|
-
db: number;
|
|
3536
|
-
tls: boolean;
|
|
3537
|
-
keyPrefix: string;
|
|
3538
|
-
defaultTtlMs: number;
|
|
3539
|
-
password?: string | undefined;
|
|
3540
|
-
}>>]>>;
|
|
3541
|
-
keyPrefix: z.ZodOptional<z.ZodString>;
|
|
4479
|
+
}, z.core.$strip>;
|
|
4480
|
+
}, z.core.$strip>]>>;
|
|
4481
|
+
allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
|
|
4482
|
+
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4483
|
+
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
4484
|
+
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
4485
|
+
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
4486
|
+
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
3542
4487
|
}, z.core.$strip>>;
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
4488
|
+
consent: z.ZodOptional<z.ZodObject<{
|
|
4489
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4490
|
+
groupByApp: z.ZodDefault<z.ZodBoolean>;
|
|
4491
|
+
showDescriptions: z.ZodDefault<z.ZodBoolean>;
|
|
4492
|
+
allowSelectAll: z.ZodDefault<z.ZodBoolean>;
|
|
4493
|
+
requireSelection: z.ZodDefault<z.ZodBoolean>;
|
|
4494
|
+
customMessage: z.ZodOptional<z.ZodString>;
|
|
4495
|
+
rememberConsent: z.ZodDefault<z.ZodBoolean>;
|
|
4496
|
+
excludedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4497
|
+
defaultSelectedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4498
|
+
}, z.core.$strip>>;
|
|
4499
|
+
federatedAuth: z.ZodOptional<z.ZodObject<{
|
|
4500
|
+
stateValidation: z.ZodDefault<z.ZodEnum<{
|
|
4501
|
+
format: "format";
|
|
4502
|
+
strict: "strict";
|
|
4503
|
+
}>>;
|
|
4504
|
+
}, z.core.$strip>>;
|
|
4505
|
+
refresh: z.ZodOptional<z.ZodObject<{
|
|
4506
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4507
|
+
skewSeconds: z.ZodDefault<z.ZodNumber>;
|
|
4508
|
+
}, z.core.$strip>>;
|
|
4509
|
+
expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4510
|
+
incrementalAuth: z.ZodOptional<z.ZodObject<{
|
|
4511
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4512
|
+
skippedAppBehavior: z.ZodDefault<z.ZodEnum<{
|
|
4513
|
+
anonymous: "anonymous";
|
|
4514
|
+
"require-auth": "require-auth";
|
|
4515
|
+
}>>;
|
|
4516
|
+
allowSkip: z.ZodDefault<z.ZodBoolean>;
|
|
4517
|
+
showAllAppsAtOnce: z.ZodDefault<z.ZodBoolean>;
|
|
4518
|
+
}, z.core.$strip>>;
|
|
4519
|
+
cimd: z.ZodOptional<z.ZodObject<{
|
|
4520
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4521
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
4522
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
4523
|
+
memory: "memory";
|
|
4524
|
+
redis: "redis";
|
|
4525
|
+
}>>;
|
|
4526
|
+
defaultTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
4527
|
+
maxTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
4528
|
+
minTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
4529
|
+
redis: z.ZodOptional<z.ZodObject<{
|
|
4530
|
+
url: z.ZodOptional<z.ZodString>;
|
|
4531
|
+
host: z.ZodOptional<z.ZodString>;
|
|
4532
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
4533
|
+
password: z.ZodOptional<z.ZodString>;
|
|
4534
|
+
db: z.ZodOptional<z.ZodNumber>;
|
|
4535
|
+
tls: z.ZodOptional<z.ZodBoolean>;
|
|
4536
|
+
keyPrefix: z.ZodDefault<z.ZodString>;
|
|
4537
|
+
}, z.core.$strip>>;
|
|
4538
|
+
}, z.core.$strip>>;
|
|
4539
|
+
security: z.ZodOptional<z.ZodObject<{
|
|
4540
|
+
blockPrivateIPs: z.ZodDefault<z.ZodBoolean>;
|
|
4541
|
+
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4542
|
+
blockedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4543
|
+
warnOnLocalhostRedirects: z.ZodDefault<z.ZodBoolean>;
|
|
4544
|
+
allowInsecureForTesting: z.ZodDefault<z.ZodBoolean>;
|
|
4545
|
+
}, z.core.$strip>>;
|
|
4546
|
+
network: z.ZodOptional<z.ZodObject<{
|
|
4547
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
4548
|
+
maxResponseSizeBytes: z.ZodDefault<z.ZodNumber>;
|
|
4549
|
+
redirectPolicy: z.ZodDefault<z.ZodEnum<{
|
|
4550
|
+
deny: "deny";
|
|
4551
|
+
"same-origin": "same-origin";
|
|
4552
|
+
allow: "allow";
|
|
4553
|
+
}>>;
|
|
4554
|
+
maxRedirects: z.ZodDefault<z.ZodNumber>;
|
|
4555
|
+
}, z.core.$strip>>;
|
|
4556
|
+
}, z.core.$strip>>;
|
|
4557
|
+
provider: z.ZodString;
|
|
4558
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
4559
|
+
clientSecret: z.ZodOptional<z.ZodString>;
|
|
4560
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4561
|
+
providerConfig: z.ZodOptional<z.ZodObject<{
|
|
4562
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4563
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4564
|
+
jwks: z.ZodOptional<z.ZodObject<{
|
|
4565
|
+
keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
|
|
4566
|
+
}, z.core.$strip>>;
|
|
4567
|
+
jwksUri: z.ZodOptional<z.ZodString>;
|
|
4568
|
+
dcrEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
4569
|
+
authEndpoint: z.ZodOptional<z.ZodString>;
|
|
4570
|
+
tokenEndpoint: z.ZodOptional<z.ZodString>;
|
|
4571
|
+
registrationEndpoint: z.ZodOptional<z.ZodString>;
|
|
4572
|
+
userInfoEndpoint: z.ZodOptional<z.ZodString>;
|
|
4573
|
+
}, z.core.$strip>>;
|
|
4574
|
+
mode: z.ZodLiteral<"remote">;
|
|
4575
|
+
}, z.core.$strip>]>>;
|
|
3546
4576
|
}, z.core.$strip>]>, z.ZodTransform<{
|
|
3547
4577
|
info: {
|
|
3548
4578
|
name: string;
|
|
@@ -3557,7 +4587,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
3557
4587
|
}[] | undefined;
|
|
3558
4588
|
};
|
|
3559
4589
|
providers: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
3560
|
-
tools: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
4590
|
+
tools: (string | import("libs/di/dist/interfaces/base.interface").Type<unknown>)[];
|
|
3561
4591
|
resources: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
3562
4592
|
skills: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
3563
4593
|
plugins: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
@@ -3794,6 +4824,9 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
3794
4824
|
secret: string;
|
|
3795
4825
|
} | undefined;
|
|
3796
4826
|
} | undefined;
|
|
4827
|
+
ui?: {
|
|
4828
|
+
cdnOverrides?: Record<string, string> | undefined;
|
|
4829
|
+
} | undefined;
|
|
3797
4830
|
jobs?: {
|
|
3798
4831
|
enabled: boolean;
|
|
3799
4832
|
store?: {
|
|
@@ -3825,6 +4858,65 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
3825
4858
|
keyPrefix?: string | undefined;
|
|
3826
4859
|
} | undefined;
|
|
3827
4860
|
} | undefined;
|
|
4861
|
+
loader?: {
|
|
4862
|
+
url?: string | undefined;
|
|
4863
|
+
registryUrl?: string | undefined;
|
|
4864
|
+
token?: string | undefined;
|
|
4865
|
+
tokenEnvVar?: string | undefined;
|
|
4866
|
+
} | undefined;
|
|
4867
|
+
throttle?: {
|
|
4868
|
+
enabled: boolean;
|
|
4869
|
+
keyPrefix: string;
|
|
4870
|
+
storage?: {
|
|
4871
|
+
[x: string]: unknown;
|
|
4872
|
+
} | undefined;
|
|
4873
|
+
global?: {
|
|
4874
|
+
maxRequests: number;
|
|
4875
|
+
windowMs: number;
|
|
4876
|
+
partitionBy: "session" | "global" | ((ctx: {
|
|
4877
|
+
sessionId: string;
|
|
4878
|
+
clientIp?: string;
|
|
4879
|
+
userId?: string;
|
|
4880
|
+
}) => string) | "ip" | "userId";
|
|
4881
|
+
} | undefined;
|
|
4882
|
+
globalConcurrency?: {
|
|
4883
|
+
maxConcurrent: number;
|
|
4884
|
+
queueTimeoutMs: number;
|
|
4885
|
+
partitionBy: "session" | "global" | "ip" | "userId" | ((ctx: {
|
|
4886
|
+
sessionId: string;
|
|
4887
|
+
clientIp?: string;
|
|
4888
|
+
userId?: string;
|
|
4889
|
+
}) => string);
|
|
4890
|
+
} | undefined;
|
|
4891
|
+
defaultRateLimit?: {
|
|
4892
|
+
maxRequests: number;
|
|
4893
|
+
windowMs: number;
|
|
4894
|
+
partitionBy: "session" | "global" | "ip" | "userId" | ((ctx: {
|
|
4895
|
+
sessionId: string;
|
|
4896
|
+
clientIp?: string;
|
|
4897
|
+
userId?: string;
|
|
4898
|
+
}) => string);
|
|
4899
|
+
} | undefined;
|
|
4900
|
+
defaultConcurrency?: {
|
|
4901
|
+
maxConcurrent: number;
|
|
4902
|
+
queueTimeoutMs: number;
|
|
4903
|
+
partitionBy: "session" | "global" | "ip" | "userId" | ((ctx: {
|
|
4904
|
+
sessionId: string;
|
|
4905
|
+
clientIp?: string;
|
|
4906
|
+
userId?: string;
|
|
4907
|
+
}) => string);
|
|
4908
|
+
} | undefined;
|
|
4909
|
+
defaultTimeout?: {
|
|
4910
|
+
executeMs: number;
|
|
4911
|
+
} | undefined;
|
|
4912
|
+
ipFilter?: {
|
|
4913
|
+
defaultAction: "deny" | "allow";
|
|
4914
|
+
trustProxy: boolean;
|
|
4915
|
+
trustedProxyDepth: number;
|
|
4916
|
+
allowList?: string[] | undefined;
|
|
4917
|
+
denyList?: string[] | undefined;
|
|
4918
|
+
} | undefined;
|
|
4919
|
+
} | undefined;
|
|
3828
4920
|
auth?: {
|
|
3829
4921
|
mode: "public";
|
|
3830
4922
|
sessionTtl: number;
|
|
@@ -3840,9 +4932,21 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
3840
4932
|
} | undefined;
|
|
3841
4933
|
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
3842
4934
|
} | {
|
|
4935
|
+
requiredScopes: string[];
|
|
4936
|
+
allowAnonymous: boolean;
|
|
4937
|
+
anonymousScopes: string[];
|
|
4938
|
+
provider: string;
|
|
3843
4939
|
mode: "transparent";
|
|
3844
|
-
|
|
3845
|
-
|
|
4940
|
+
expectedAudience?: string | string[] | undefined;
|
|
4941
|
+
publicAccess?: {
|
|
4942
|
+
tools: string[] | "all";
|
|
4943
|
+
prompts: string[] | "all";
|
|
4944
|
+
rateLimit: number;
|
|
4945
|
+
} | undefined;
|
|
4946
|
+
clientId?: string | undefined;
|
|
4947
|
+
clientSecret?: string | undefined;
|
|
4948
|
+
scopes?: string[] | undefined;
|
|
4949
|
+
providerConfig?: {
|
|
3846
4950
|
dcrEnabled: boolean;
|
|
3847
4951
|
name?: string | undefined;
|
|
3848
4952
|
id?: string | undefined;
|
|
@@ -3850,29 +4954,14 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
3850
4954
|
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
3851
4955
|
} | undefined;
|
|
3852
4956
|
jwksUri?: string | undefined;
|
|
3853
|
-
clientId?: string | undefined;
|
|
3854
|
-
clientSecret?: string | undefined;
|
|
3855
|
-
scopes?: string[] | undefined;
|
|
3856
4957
|
authEndpoint?: string | undefined;
|
|
3857
4958
|
tokenEndpoint?: string | undefined;
|
|
3858
4959
|
registrationEndpoint?: string | undefined;
|
|
3859
4960
|
userInfoEndpoint?: string | undefined;
|
|
3860
|
-
};
|
|
3861
|
-
requiredScopes: string[];
|
|
3862
|
-
allowAnonymous: boolean;
|
|
3863
|
-
anonymousScopes: string[];
|
|
3864
|
-
expectedAudience?: string | string[] | undefined;
|
|
3865
|
-
publicAccess?: {
|
|
3866
|
-
tools: string[] | "all";
|
|
3867
|
-
prompts: string[] | "all";
|
|
3868
|
-
rateLimit: number;
|
|
3869
4961
|
} | undefined;
|
|
3870
4962
|
} | {
|
|
3871
|
-
tokenStorage: {
|
|
3872
|
-
|
|
3873
|
-
} | {
|
|
3874
|
-
type: "redis";
|
|
3875
|
-
config: {
|
|
4963
|
+
tokenStorage: "memory" | {
|
|
4964
|
+
redis: {
|
|
3876
4965
|
host: string;
|
|
3877
4966
|
port: number;
|
|
3878
4967
|
db: number;
|
|
@@ -3884,8 +4973,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
3884
4973
|
};
|
|
3885
4974
|
allowDefaultPublic: boolean;
|
|
3886
4975
|
anonymousScopes: string[];
|
|
3887
|
-
mode: "
|
|
3888
|
-
type: "local";
|
|
4976
|
+
mode: "local";
|
|
3889
4977
|
local?: {
|
|
3890
4978
|
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
3891
4979
|
jwks?: {
|
|
@@ -3955,11 +5043,8 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
3955
5043
|
} | undefined;
|
|
3956
5044
|
} | undefined;
|
|
3957
5045
|
} | {
|
|
3958
|
-
tokenStorage: {
|
|
3959
|
-
|
|
3960
|
-
} | {
|
|
3961
|
-
type: "redis";
|
|
3962
|
-
config: {
|
|
5046
|
+
tokenStorage: "memory" | {
|
|
5047
|
+
redis: {
|
|
3963
5048
|
host: string;
|
|
3964
5049
|
port: number;
|
|
3965
5050
|
db: number;
|
|
@@ -3971,25 +5056,8 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
3971
5056
|
};
|
|
3972
5057
|
allowDefaultPublic: boolean;
|
|
3973
5058
|
anonymousScopes: string[];
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
remote: {
|
|
3977
|
-
provider: string;
|
|
3978
|
-
dcrEnabled: boolean;
|
|
3979
|
-
name?: string | undefined;
|
|
3980
|
-
id?: string | undefined;
|
|
3981
|
-
jwks?: {
|
|
3982
|
-
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
3983
|
-
} | undefined;
|
|
3984
|
-
jwksUri?: string | undefined;
|
|
3985
|
-
clientId?: string | undefined;
|
|
3986
|
-
clientSecret?: string | undefined;
|
|
3987
|
-
scopes?: string[] | undefined;
|
|
3988
|
-
authEndpoint?: string | undefined;
|
|
3989
|
-
tokenEndpoint?: string | undefined;
|
|
3990
|
-
registrationEndpoint?: string | undefined;
|
|
3991
|
-
userInfoEndpoint?: string | undefined;
|
|
3992
|
-
};
|
|
5059
|
+
provider: string;
|
|
5060
|
+
mode: "remote";
|
|
3993
5061
|
local?: {
|
|
3994
5062
|
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
3995
5063
|
jwks?: {
|
|
@@ -4058,6 +5126,22 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
4058
5126
|
maxRedirects: number;
|
|
4059
5127
|
} | undefined;
|
|
4060
5128
|
} | undefined;
|
|
5129
|
+
clientId?: string | undefined;
|
|
5130
|
+
clientSecret?: string | undefined;
|
|
5131
|
+
scopes?: string[] | undefined;
|
|
5132
|
+
providerConfig?: {
|
|
5133
|
+
dcrEnabled: boolean;
|
|
5134
|
+
name?: string | undefined;
|
|
5135
|
+
id?: string | undefined;
|
|
5136
|
+
jwks?: {
|
|
5137
|
+
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
5138
|
+
} | undefined;
|
|
5139
|
+
jwksUri?: string | undefined;
|
|
5140
|
+
authEndpoint?: string | undefined;
|
|
5141
|
+
tokenEndpoint?: string | undefined;
|
|
5142
|
+
registrationEndpoint?: string | undefined;
|
|
5143
|
+
userInfoEndpoint?: string | undefined;
|
|
5144
|
+
} | undefined;
|
|
4061
5145
|
} | undefined;
|
|
4062
5146
|
} | {
|
|
4063
5147
|
info: {
|
|
@@ -4073,7 +5157,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
4073
5157
|
}[] | undefined;
|
|
4074
5158
|
};
|
|
4075
5159
|
providers: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
4076
|
-
tools: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
5160
|
+
tools: (string | import("libs/di/dist/interfaces/base.interface").Type<unknown>)[];
|
|
4077
5161
|
resources: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
4078
5162
|
skills: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
4079
5163
|
plugins: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
@@ -4302,19 +5386,152 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
4302
5386
|
logging?: boolean | undefined;
|
|
4303
5387
|
} | undefined;
|
|
4304
5388
|
} | undefined;
|
|
4305
|
-
sqlite?: {
|
|
4306
|
-
path: string;
|
|
4307
|
-
ttlCleanupIntervalMs: number;
|
|
4308
|
-
walMode: boolean;
|
|
4309
|
-
encryption?: {
|
|
4310
|
-
secret: string;
|
|
4311
|
-
} | undefined;
|
|
5389
|
+
sqlite?: {
|
|
5390
|
+
path: string;
|
|
5391
|
+
ttlCleanupIntervalMs: number;
|
|
5392
|
+
walMode: boolean;
|
|
5393
|
+
encryption?: {
|
|
5394
|
+
secret: string;
|
|
5395
|
+
} | undefined;
|
|
5396
|
+
} | undefined;
|
|
5397
|
+
ui?: {
|
|
5398
|
+
cdnOverrides?: Record<string, string> | undefined;
|
|
5399
|
+
} | undefined;
|
|
5400
|
+
jobs?: {
|
|
5401
|
+
enabled: boolean;
|
|
5402
|
+
store?: {
|
|
5403
|
+
redis?: {
|
|
5404
|
+
provider: "redis";
|
|
5405
|
+
host: string;
|
|
5406
|
+
port: number;
|
|
5407
|
+
db: number;
|
|
5408
|
+
tls: boolean;
|
|
5409
|
+
keyPrefix: string;
|
|
5410
|
+
defaultTtlMs: number;
|
|
5411
|
+
password?: string | undefined;
|
|
5412
|
+
} | {
|
|
5413
|
+
provider: "redis";
|
|
5414
|
+
host: string;
|
|
5415
|
+
port: number;
|
|
5416
|
+
db: number;
|
|
5417
|
+
tls: boolean;
|
|
5418
|
+
keyPrefix: string;
|
|
5419
|
+
defaultTtlMs: number;
|
|
5420
|
+
password?: string | undefined;
|
|
5421
|
+
} | {
|
|
5422
|
+
provider: "vercel-kv";
|
|
5423
|
+
keyPrefix: string;
|
|
5424
|
+
defaultTtlMs: number;
|
|
5425
|
+
url?: string | undefined;
|
|
5426
|
+
token?: string | undefined;
|
|
5427
|
+
} | undefined;
|
|
5428
|
+
keyPrefix?: string | undefined;
|
|
5429
|
+
} | undefined;
|
|
5430
|
+
} | undefined;
|
|
5431
|
+
loader?: {
|
|
5432
|
+
url?: string | undefined;
|
|
5433
|
+
registryUrl?: string | undefined;
|
|
5434
|
+
token?: string | undefined;
|
|
5435
|
+
tokenEnvVar?: string | undefined;
|
|
4312
5436
|
} | undefined;
|
|
4313
|
-
|
|
5437
|
+
throttle?: {
|
|
4314
5438
|
enabled: boolean;
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
5439
|
+
keyPrefix: string;
|
|
5440
|
+
storage?: {
|
|
5441
|
+
[x: string]: unknown;
|
|
5442
|
+
} | undefined;
|
|
5443
|
+
global?: {
|
|
5444
|
+
maxRequests: number;
|
|
5445
|
+
windowMs: number;
|
|
5446
|
+
partitionBy: "session" | "global" | ((ctx: {
|
|
5447
|
+
sessionId: string;
|
|
5448
|
+
clientIp?: string;
|
|
5449
|
+
userId?: string;
|
|
5450
|
+
}) => string) | "ip" | "userId";
|
|
5451
|
+
} | undefined;
|
|
5452
|
+
globalConcurrency?: {
|
|
5453
|
+
maxConcurrent: number;
|
|
5454
|
+
queueTimeoutMs: number;
|
|
5455
|
+
partitionBy: "session" | "global" | "ip" | "userId" | ((ctx: {
|
|
5456
|
+
sessionId: string;
|
|
5457
|
+
clientIp?: string;
|
|
5458
|
+
userId?: string;
|
|
5459
|
+
}) => string);
|
|
5460
|
+
} | undefined;
|
|
5461
|
+
defaultRateLimit?: {
|
|
5462
|
+
maxRequests: number;
|
|
5463
|
+
windowMs: number;
|
|
5464
|
+
partitionBy: "session" | "global" | "ip" | "userId" | ((ctx: {
|
|
5465
|
+
sessionId: string;
|
|
5466
|
+
clientIp?: string;
|
|
5467
|
+
userId?: string;
|
|
5468
|
+
}) => string);
|
|
5469
|
+
} | undefined;
|
|
5470
|
+
defaultConcurrency?: {
|
|
5471
|
+
maxConcurrent: number;
|
|
5472
|
+
queueTimeoutMs: number;
|
|
5473
|
+
partitionBy: "session" | "global" | "ip" | "userId" | ((ctx: {
|
|
5474
|
+
sessionId: string;
|
|
5475
|
+
clientIp?: string;
|
|
5476
|
+
userId?: string;
|
|
5477
|
+
}) => string);
|
|
5478
|
+
} | undefined;
|
|
5479
|
+
defaultTimeout?: {
|
|
5480
|
+
executeMs: number;
|
|
5481
|
+
} | undefined;
|
|
5482
|
+
ipFilter?: {
|
|
5483
|
+
defaultAction: "deny" | "allow";
|
|
5484
|
+
trustProxy: boolean;
|
|
5485
|
+
trustedProxyDepth: number;
|
|
5486
|
+
allowList?: string[] | undefined;
|
|
5487
|
+
denyList?: string[] | undefined;
|
|
5488
|
+
} | undefined;
|
|
5489
|
+
} | undefined;
|
|
5490
|
+
auth?: {
|
|
5491
|
+
mode: "public";
|
|
5492
|
+
sessionTtl: number;
|
|
5493
|
+
anonymousScopes: string[];
|
|
5494
|
+
issuer?: string | undefined;
|
|
5495
|
+
publicAccess?: {
|
|
5496
|
+
tools: string[] | "all";
|
|
5497
|
+
prompts: string[] | "all";
|
|
5498
|
+
rateLimit: number;
|
|
5499
|
+
} | undefined;
|
|
5500
|
+
jwks?: {
|
|
5501
|
+
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
5502
|
+
} | undefined;
|
|
5503
|
+
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
5504
|
+
} | {
|
|
5505
|
+
requiredScopes: string[];
|
|
5506
|
+
allowAnonymous: boolean;
|
|
5507
|
+
anonymousScopes: string[];
|
|
5508
|
+
provider: string;
|
|
5509
|
+
mode: "transparent";
|
|
5510
|
+
expectedAudience?: string | string[] | undefined;
|
|
5511
|
+
publicAccess?: {
|
|
5512
|
+
tools: string[] | "all";
|
|
5513
|
+
prompts: string[] | "all";
|
|
5514
|
+
rateLimit: number;
|
|
5515
|
+
} | undefined;
|
|
5516
|
+
clientId?: string | undefined;
|
|
5517
|
+
clientSecret?: string | undefined;
|
|
5518
|
+
scopes?: string[] | undefined;
|
|
5519
|
+
providerConfig?: {
|
|
5520
|
+
dcrEnabled: boolean;
|
|
5521
|
+
name?: string | undefined;
|
|
5522
|
+
id?: string | undefined;
|
|
5523
|
+
jwks?: {
|
|
5524
|
+
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
5525
|
+
} | undefined;
|
|
5526
|
+
jwksUri?: string | undefined;
|
|
5527
|
+
authEndpoint?: string | undefined;
|
|
5528
|
+
tokenEndpoint?: string | undefined;
|
|
5529
|
+
registrationEndpoint?: string | undefined;
|
|
5530
|
+
userInfoEndpoint?: string | undefined;
|
|
5531
|
+
} | undefined;
|
|
5532
|
+
} | {
|
|
5533
|
+
tokenStorage: "memory" | {
|
|
5534
|
+
redis: {
|
|
4318
5535
|
host: string;
|
|
4319
5536
|
port: number;
|
|
4320
5537
|
db: number;
|
|
@@ -4322,8 +5539,82 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
4322
5539
|
keyPrefix: string;
|
|
4323
5540
|
defaultTtlMs: number;
|
|
4324
5541
|
password?: string | undefined;
|
|
4325
|
-
}
|
|
4326
|
-
|
|
5542
|
+
};
|
|
5543
|
+
};
|
|
5544
|
+
allowDefaultPublic: boolean;
|
|
5545
|
+
anonymousScopes: string[];
|
|
5546
|
+
mode: "local";
|
|
5547
|
+
local?: {
|
|
5548
|
+
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
5549
|
+
jwks?: {
|
|
5550
|
+
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
5551
|
+
} | undefined;
|
|
5552
|
+
issuer?: string | undefined;
|
|
5553
|
+
} | undefined;
|
|
5554
|
+
publicAccess?: {
|
|
5555
|
+
tools: string[] | "all";
|
|
5556
|
+
prompts: string[] | "all";
|
|
5557
|
+
rateLimit: number;
|
|
5558
|
+
} | undefined;
|
|
5559
|
+
consent?: {
|
|
5560
|
+
enabled: boolean;
|
|
5561
|
+
groupByApp: boolean;
|
|
5562
|
+
showDescriptions: boolean;
|
|
5563
|
+
allowSelectAll: boolean;
|
|
5564
|
+
requireSelection: boolean;
|
|
5565
|
+
rememberConsent: boolean;
|
|
5566
|
+
customMessage?: string | undefined;
|
|
5567
|
+
excludedTools?: string[] | undefined;
|
|
5568
|
+
defaultSelectedTools?: string[] | undefined;
|
|
5569
|
+
} | undefined;
|
|
5570
|
+
federatedAuth?: {
|
|
5571
|
+
stateValidation: "format" | "strict";
|
|
5572
|
+
} | undefined;
|
|
5573
|
+
refresh?: {
|
|
5574
|
+
enabled: boolean;
|
|
5575
|
+
skewSeconds: number;
|
|
5576
|
+
} | undefined;
|
|
5577
|
+
expectedAudience?: string | string[] | undefined;
|
|
5578
|
+
incrementalAuth?: {
|
|
5579
|
+
enabled: boolean;
|
|
5580
|
+
skippedAppBehavior: "anonymous" | "require-auth";
|
|
5581
|
+
allowSkip: boolean;
|
|
5582
|
+
showAllAppsAtOnce: boolean;
|
|
5583
|
+
} | undefined;
|
|
5584
|
+
cimd?: {
|
|
5585
|
+
enabled: boolean;
|
|
5586
|
+
cache?: {
|
|
5587
|
+
type: "memory" | "redis";
|
|
5588
|
+
defaultTtlMs: number;
|
|
5589
|
+
maxTtlMs: number;
|
|
5590
|
+
minTtlMs: number;
|
|
5591
|
+
redis?: {
|
|
5592
|
+
keyPrefix: string;
|
|
5593
|
+
url?: string | undefined;
|
|
5594
|
+
host?: string | undefined;
|
|
5595
|
+
port?: number | undefined;
|
|
5596
|
+
password?: string | undefined;
|
|
5597
|
+
db?: number | undefined;
|
|
5598
|
+
tls?: boolean | undefined;
|
|
5599
|
+
} | undefined;
|
|
5600
|
+
} | undefined;
|
|
5601
|
+
security?: {
|
|
5602
|
+
blockPrivateIPs: boolean;
|
|
5603
|
+
warnOnLocalhostRedirects: boolean;
|
|
5604
|
+
allowInsecureForTesting: boolean;
|
|
5605
|
+
allowedDomains?: string[] | undefined;
|
|
5606
|
+
blockedDomains?: string[] | undefined;
|
|
5607
|
+
} | undefined;
|
|
5608
|
+
network?: {
|
|
5609
|
+
timeoutMs: number;
|
|
5610
|
+
maxResponseSizeBytes: number;
|
|
5611
|
+
redirectPolicy: "deny" | "same-origin" | "allow";
|
|
5612
|
+
maxRedirects: number;
|
|
5613
|
+
} | undefined;
|
|
5614
|
+
} | undefined;
|
|
5615
|
+
} | {
|
|
5616
|
+
tokenStorage: "memory" | {
|
|
5617
|
+
redis: {
|
|
4327
5618
|
host: string;
|
|
4328
5619
|
port: number;
|
|
4329
5620
|
db: number;
|
|
@@ -4331,17 +5622,97 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
4331
5622
|
keyPrefix: string;
|
|
4332
5623
|
defaultTtlMs: number;
|
|
4333
5624
|
password?: string | undefined;
|
|
4334
|
-
}
|
|
4335
|
-
|
|
4336
|
-
|
|
5625
|
+
};
|
|
5626
|
+
};
|
|
5627
|
+
allowDefaultPublic: boolean;
|
|
5628
|
+
anonymousScopes: string[];
|
|
5629
|
+
provider: string;
|
|
5630
|
+
mode: "remote";
|
|
5631
|
+
local?: {
|
|
5632
|
+
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
5633
|
+
jwks?: {
|
|
5634
|
+
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
5635
|
+
} | undefined;
|
|
5636
|
+
issuer?: string | undefined;
|
|
5637
|
+
} | undefined;
|
|
5638
|
+
publicAccess?: {
|
|
5639
|
+
tools: string[] | "all";
|
|
5640
|
+
prompts: string[] | "all";
|
|
5641
|
+
rateLimit: number;
|
|
5642
|
+
} | undefined;
|
|
5643
|
+
consent?: {
|
|
5644
|
+
enabled: boolean;
|
|
5645
|
+
groupByApp: boolean;
|
|
5646
|
+
showDescriptions: boolean;
|
|
5647
|
+
allowSelectAll: boolean;
|
|
5648
|
+
requireSelection: boolean;
|
|
5649
|
+
rememberConsent: boolean;
|
|
5650
|
+
customMessage?: string | undefined;
|
|
5651
|
+
excludedTools?: string[] | undefined;
|
|
5652
|
+
defaultSelectedTools?: string[] | undefined;
|
|
5653
|
+
} | undefined;
|
|
5654
|
+
federatedAuth?: {
|
|
5655
|
+
stateValidation: "format" | "strict";
|
|
5656
|
+
} | undefined;
|
|
5657
|
+
refresh?: {
|
|
5658
|
+
enabled: boolean;
|
|
5659
|
+
skewSeconds: number;
|
|
5660
|
+
} | undefined;
|
|
5661
|
+
expectedAudience?: string | string[] | undefined;
|
|
5662
|
+
incrementalAuth?: {
|
|
5663
|
+
enabled: boolean;
|
|
5664
|
+
skippedAppBehavior: "anonymous" | "require-auth";
|
|
5665
|
+
allowSkip: boolean;
|
|
5666
|
+
showAllAppsAtOnce: boolean;
|
|
5667
|
+
} | undefined;
|
|
5668
|
+
cimd?: {
|
|
5669
|
+
enabled: boolean;
|
|
5670
|
+
cache?: {
|
|
5671
|
+
type: "memory" | "redis";
|
|
4337
5672
|
defaultTtlMs: number;
|
|
4338
|
-
|
|
4339
|
-
|
|
5673
|
+
maxTtlMs: number;
|
|
5674
|
+
minTtlMs: number;
|
|
5675
|
+
redis?: {
|
|
5676
|
+
keyPrefix: string;
|
|
5677
|
+
url?: string | undefined;
|
|
5678
|
+
host?: string | undefined;
|
|
5679
|
+
port?: number | undefined;
|
|
5680
|
+
password?: string | undefined;
|
|
5681
|
+
db?: number | undefined;
|
|
5682
|
+
tls?: boolean | undefined;
|
|
5683
|
+
} | undefined;
|
|
4340
5684
|
} | undefined;
|
|
4341
|
-
|
|
5685
|
+
security?: {
|
|
5686
|
+
blockPrivateIPs: boolean;
|
|
5687
|
+
warnOnLocalhostRedirects: boolean;
|
|
5688
|
+
allowInsecureForTesting: boolean;
|
|
5689
|
+
allowedDomains?: string[] | undefined;
|
|
5690
|
+
blockedDomains?: string[] | undefined;
|
|
5691
|
+
} | undefined;
|
|
5692
|
+
network?: {
|
|
5693
|
+
timeoutMs: number;
|
|
5694
|
+
maxResponseSizeBytes: number;
|
|
5695
|
+
redirectPolicy: "deny" | "same-origin" | "allow";
|
|
5696
|
+
maxRedirects: number;
|
|
5697
|
+
} | undefined;
|
|
5698
|
+
} | undefined;
|
|
5699
|
+
clientId?: string | undefined;
|
|
5700
|
+
clientSecret?: string | undefined;
|
|
5701
|
+
scopes?: string[] | undefined;
|
|
5702
|
+
providerConfig?: {
|
|
5703
|
+
dcrEnabled: boolean;
|
|
5704
|
+
name?: string | undefined;
|
|
5705
|
+
id?: string | undefined;
|
|
5706
|
+
jwks?: {
|
|
5707
|
+
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
5708
|
+
} | undefined;
|
|
5709
|
+
jwksUri?: string | undefined;
|
|
5710
|
+
authEndpoint?: string | undefined;
|
|
5711
|
+
tokenEndpoint?: string | undefined;
|
|
5712
|
+
registrationEndpoint?: string | undefined;
|
|
5713
|
+
userInfoEndpoint?: string | undefined;
|
|
4342
5714
|
} | undefined;
|
|
4343
5715
|
} | undefined;
|
|
4344
|
-
auth?: undefined;
|
|
4345
5716
|
}, {
|
|
4346
5717
|
info: {
|
|
4347
5718
|
name: string;
|
|
@@ -4356,7 +5727,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
4356
5727
|
}[] | undefined;
|
|
4357
5728
|
};
|
|
4358
5729
|
providers: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
4359
|
-
tools: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
5730
|
+
tools: (string | import("libs/di/dist/interfaces/base.interface").Type<unknown>)[];
|
|
4360
5731
|
resources: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
4361
5732
|
skills: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
4362
5733
|
plugins: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
@@ -4593,6 +5964,9 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
4593
5964
|
secret: string;
|
|
4594
5965
|
} | undefined;
|
|
4595
5966
|
} | undefined;
|
|
5967
|
+
ui?: {
|
|
5968
|
+
cdnOverrides?: Record<string, string> | undefined;
|
|
5969
|
+
} | undefined;
|
|
4596
5970
|
jobs?: {
|
|
4597
5971
|
enabled: boolean;
|
|
4598
5972
|
store?: {
|
|
@@ -4624,6 +5998,65 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
4624
5998
|
keyPrefix?: string | undefined;
|
|
4625
5999
|
} | undefined;
|
|
4626
6000
|
} | undefined;
|
|
6001
|
+
loader?: {
|
|
6002
|
+
url?: string | undefined;
|
|
6003
|
+
registryUrl?: string | undefined;
|
|
6004
|
+
token?: string | undefined;
|
|
6005
|
+
tokenEnvVar?: string | undefined;
|
|
6006
|
+
} | undefined;
|
|
6007
|
+
throttle?: {
|
|
6008
|
+
enabled: boolean;
|
|
6009
|
+
keyPrefix: string;
|
|
6010
|
+
storage?: {
|
|
6011
|
+
[x: string]: unknown;
|
|
6012
|
+
} | undefined;
|
|
6013
|
+
global?: {
|
|
6014
|
+
maxRequests: number;
|
|
6015
|
+
windowMs: number;
|
|
6016
|
+
partitionBy: "session" | "global" | ((ctx: {
|
|
6017
|
+
sessionId: string;
|
|
6018
|
+
clientIp?: string;
|
|
6019
|
+
userId?: string;
|
|
6020
|
+
}) => string) | "ip" | "userId";
|
|
6021
|
+
} | undefined;
|
|
6022
|
+
globalConcurrency?: {
|
|
6023
|
+
maxConcurrent: number;
|
|
6024
|
+
queueTimeoutMs: number;
|
|
6025
|
+
partitionBy: "session" | "global" | "ip" | "userId" | ((ctx: {
|
|
6026
|
+
sessionId: string;
|
|
6027
|
+
clientIp?: string;
|
|
6028
|
+
userId?: string;
|
|
6029
|
+
}) => string);
|
|
6030
|
+
} | undefined;
|
|
6031
|
+
defaultRateLimit?: {
|
|
6032
|
+
maxRequests: number;
|
|
6033
|
+
windowMs: number;
|
|
6034
|
+
partitionBy: "session" | "global" | "ip" | "userId" | ((ctx: {
|
|
6035
|
+
sessionId: string;
|
|
6036
|
+
clientIp?: string;
|
|
6037
|
+
userId?: string;
|
|
6038
|
+
}) => string);
|
|
6039
|
+
} | undefined;
|
|
6040
|
+
defaultConcurrency?: {
|
|
6041
|
+
maxConcurrent: number;
|
|
6042
|
+
queueTimeoutMs: number;
|
|
6043
|
+
partitionBy: "session" | "global" | "ip" | "userId" | ((ctx: {
|
|
6044
|
+
sessionId: string;
|
|
6045
|
+
clientIp?: string;
|
|
6046
|
+
userId?: string;
|
|
6047
|
+
}) => string);
|
|
6048
|
+
} | undefined;
|
|
6049
|
+
defaultTimeout?: {
|
|
6050
|
+
executeMs: number;
|
|
6051
|
+
} | undefined;
|
|
6052
|
+
ipFilter?: {
|
|
6053
|
+
defaultAction: "deny" | "allow";
|
|
6054
|
+
trustProxy: boolean;
|
|
6055
|
+
trustedProxyDepth: number;
|
|
6056
|
+
allowList?: string[] | undefined;
|
|
6057
|
+
denyList?: string[] | undefined;
|
|
6058
|
+
} | undefined;
|
|
6059
|
+
} | undefined;
|
|
4627
6060
|
auth?: {
|
|
4628
6061
|
mode: "public";
|
|
4629
6062
|
sessionTtl: number;
|
|
@@ -4639,39 +6072,36 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
4639
6072
|
} | undefined;
|
|
4640
6073
|
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
4641
6074
|
} | {
|
|
4642
|
-
mode: "transparent";
|
|
4643
|
-
remote: {
|
|
4644
|
-
provider: string;
|
|
4645
|
-
dcrEnabled: boolean;
|
|
4646
|
-
name?: string | undefined;
|
|
4647
|
-
id?: string | undefined;
|
|
4648
|
-
jwks?: {
|
|
4649
|
-
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
4650
|
-
} | undefined;
|
|
4651
|
-
jwksUri?: string | undefined;
|
|
4652
|
-
clientId?: string | undefined;
|
|
4653
|
-
clientSecret?: string | undefined;
|
|
4654
|
-
scopes?: string[] | undefined;
|
|
4655
|
-
authEndpoint?: string | undefined;
|
|
4656
|
-
tokenEndpoint?: string | undefined;
|
|
4657
|
-
registrationEndpoint?: string | undefined;
|
|
4658
|
-
userInfoEndpoint?: string | undefined;
|
|
4659
|
-
};
|
|
4660
6075
|
requiredScopes: string[];
|
|
4661
6076
|
allowAnonymous: boolean;
|
|
4662
6077
|
anonymousScopes: string[];
|
|
6078
|
+
provider: string;
|
|
6079
|
+
mode: "transparent";
|
|
4663
6080
|
expectedAudience?: string | string[] | undefined;
|
|
4664
6081
|
publicAccess?: {
|
|
4665
6082
|
tools: string[] | "all";
|
|
4666
6083
|
prompts: string[] | "all";
|
|
4667
6084
|
rateLimit: number;
|
|
4668
6085
|
} | undefined;
|
|
6086
|
+
clientId?: string | undefined;
|
|
6087
|
+
clientSecret?: string | undefined;
|
|
6088
|
+
scopes?: string[] | undefined;
|
|
6089
|
+
providerConfig?: {
|
|
6090
|
+
dcrEnabled: boolean;
|
|
6091
|
+
name?: string | undefined;
|
|
6092
|
+
id?: string | undefined;
|
|
6093
|
+
jwks?: {
|
|
6094
|
+
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
6095
|
+
} | undefined;
|
|
6096
|
+
jwksUri?: string | undefined;
|
|
6097
|
+
authEndpoint?: string | undefined;
|
|
6098
|
+
tokenEndpoint?: string | undefined;
|
|
6099
|
+
registrationEndpoint?: string | undefined;
|
|
6100
|
+
userInfoEndpoint?: string | undefined;
|
|
6101
|
+
} | undefined;
|
|
4669
6102
|
} | {
|
|
4670
|
-
tokenStorage: {
|
|
4671
|
-
|
|
4672
|
-
} | {
|
|
4673
|
-
type: "redis";
|
|
4674
|
-
config: {
|
|
6103
|
+
tokenStorage: "memory" | {
|
|
6104
|
+
redis: {
|
|
4675
6105
|
host: string;
|
|
4676
6106
|
port: number;
|
|
4677
6107
|
db: number;
|
|
@@ -4683,8 +6113,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
4683
6113
|
};
|
|
4684
6114
|
allowDefaultPublic: boolean;
|
|
4685
6115
|
anonymousScopes: string[];
|
|
4686
|
-
mode: "
|
|
4687
|
-
type: "local";
|
|
6116
|
+
mode: "local";
|
|
4688
6117
|
local?: {
|
|
4689
6118
|
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
4690
6119
|
jwks?: {
|
|
@@ -4754,11 +6183,8 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
4754
6183
|
} | undefined;
|
|
4755
6184
|
} | undefined;
|
|
4756
6185
|
} | {
|
|
4757
|
-
tokenStorage: {
|
|
4758
|
-
|
|
4759
|
-
} | {
|
|
4760
|
-
type: "redis";
|
|
4761
|
-
config: {
|
|
6186
|
+
tokenStorage: "memory" | {
|
|
6187
|
+
redis: {
|
|
4762
6188
|
host: string;
|
|
4763
6189
|
port: number;
|
|
4764
6190
|
db: number;
|
|
@@ -4770,25 +6196,8 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
4770
6196
|
};
|
|
4771
6197
|
allowDefaultPublic: boolean;
|
|
4772
6198
|
anonymousScopes: string[];
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
remote: {
|
|
4776
|
-
provider: string;
|
|
4777
|
-
dcrEnabled: boolean;
|
|
4778
|
-
name?: string | undefined;
|
|
4779
|
-
id?: string | undefined;
|
|
4780
|
-
jwks?: {
|
|
4781
|
-
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
4782
|
-
} | undefined;
|
|
4783
|
-
jwksUri?: string | undefined;
|
|
4784
|
-
clientId?: string | undefined;
|
|
4785
|
-
clientSecret?: string | undefined;
|
|
4786
|
-
scopes?: string[] | undefined;
|
|
4787
|
-
authEndpoint?: string | undefined;
|
|
4788
|
-
tokenEndpoint?: string | undefined;
|
|
4789
|
-
registrationEndpoint?: string | undefined;
|
|
4790
|
-
userInfoEndpoint?: string | undefined;
|
|
4791
|
-
};
|
|
6199
|
+
provider: string;
|
|
6200
|
+
mode: "remote";
|
|
4792
6201
|
local?: {
|
|
4793
6202
|
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
4794
6203
|
jwks?: {
|
|
@@ -4857,6 +6266,22 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
4857
6266
|
maxRedirects: number;
|
|
4858
6267
|
} | undefined;
|
|
4859
6268
|
} | undefined;
|
|
6269
|
+
clientId?: string | undefined;
|
|
6270
|
+
clientSecret?: string | undefined;
|
|
6271
|
+
scopes?: string[] | undefined;
|
|
6272
|
+
providerConfig?: {
|
|
6273
|
+
dcrEnabled: boolean;
|
|
6274
|
+
name?: string | undefined;
|
|
6275
|
+
id?: string | undefined;
|
|
6276
|
+
jwks?: {
|
|
6277
|
+
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
6278
|
+
} | undefined;
|
|
6279
|
+
jwksUri?: string | undefined;
|
|
6280
|
+
authEndpoint?: string | undefined;
|
|
6281
|
+
tokenEndpoint?: string | undefined;
|
|
6282
|
+
registrationEndpoint?: string | undefined;
|
|
6283
|
+
userInfoEndpoint?: string | undefined;
|
|
6284
|
+
} | undefined;
|
|
4860
6285
|
} | undefined;
|
|
4861
6286
|
} | {
|
|
4862
6287
|
info: {
|
|
@@ -4872,7 +6297,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
4872
6297
|
}[] | undefined;
|
|
4873
6298
|
};
|
|
4874
6299
|
providers: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
4875
|
-
tools: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
6300
|
+
tools: (string | import("libs/di/dist/interfaces/base.interface").Type<unknown>)[];
|
|
4876
6301
|
resources: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
4877
6302
|
skills: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
4878
6303
|
plugins: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
@@ -5109,6 +6534,9 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
5109
6534
|
secret: string;
|
|
5110
6535
|
} | undefined;
|
|
5111
6536
|
} | undefined;
|
|
6537
|
+
ui?: {
|
|
6538
|
+
cdnOverrides?: Record<string, string> | undefined;
|
|
6539
|
+
} | undefined;
|
|
5112
6540
|
jobs?: {
|
|
5113
6541
|
enabled: boolean;
|
|
5114
6542
|
store?: {
|
|
@@ -5140,15 +6568,304 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
5140
6568
|
keyPrefix?: string | undefined;
|
|
5141
6569
|
} | undefined;
|
|
5142
6570
|
} | undefined;
|
|
5143
|
-
|
|
6571
|
+
loader?: {
|
|
6572
|
+
url?: string | undefined;
|
|
6573
|
+
registryUrl?: string | undefined;
|
|
6574
|
+
token?: string | undefined;
|
|
6575
|
+
tokenEnvVar?: string | undefined;
|
|
6576
|
+
} | undefined;
|
|
6577
|
+
throttle?: {
|
|
6578
|
+
enabled: boolean;
|
|
6579
|
+
keyPrefix: string;
|
|
6580
|
+
storage?: {
|
|
6581
|
+
[x: string]: unknown;
|
|
6582
|
+
} | undefined;
|
|
6583
|
+
global?: {
|
|
6584
|
+
maxRequests: number;
|
|
6585
|
+
windowMs: number;
|
|
6586
|
+
partitionBy: "session" | "global" | ((ctx: {
|
|
6587
|
+
sessionId: string;
|
|
6588
|
+
clientIp?: string;
|
|
6589
|
+
userId?: string;
|
|
6590
|
+
}) => string) | "ip" | "userId";
|
|
6591
|
+
} | undefined;
|
|
6592
|
+
globalConcurrency?: {
|
|
6593
|
+
maxConcurrent: number;
|
|
6594
|
+
queueTimeoutMs: number;
|
|
6595
|
+
partitionBy: "session" | "global" | "ip" | "userId" | ((ctx: {
|
|
6596
|
+
sessionId: string;
|
|
6597
|
+
clientIp?: string;
|
|
6598
|
+
userId?: string;
|
|
6599
|
+
}) => string);
|
|
6600
|
+
} | undefined;
|
|
6601
|
+
defaultRateLimit?: {
|
|
6602
|
+
maxRequests: number;
|
|
6603
|
+
windowMs: number;
|
|
6604
|
+
partitionBy: "session" | "global" | "ip" | "userId" | ((ctx: {
|
|
6605
|
+
sessionId: string;
|
|
6606
|
+
clientIp?: string;
|
|
6607
|
+
userId?: string;
|
|
6608
|
+
}) => string);
|
|
6609
|
+
} | undefined;
|
|
6610
|
+
defaultConcurrency?: {
|
|
6611
|
+
maxConcurrent: number;
|
|
6612
|
+
queueTimeoutMs: number;
|
|
6613
|
+
partitionBy: "session" | "global" | "ip" | "userId" | ((ctx: {
|
|
6614
|
+
sessionId: string;
|
|
6615
|
+
clientIp?: string;
|
|
6616
|
+
userId?: string;
|
|
6617
|
+
}) => string);
|
|
6618
|
+
} | undefined;
|
|
6619
|
+
defaultTimeout?: {
|
|
6620
|
+
executeMs: number;
|
|
6621
|
+
} | undefined;
|
|
6622
|
+
ipFilter?: {
|
|
6623
|
+
defaultAction: "deny" | "allow";
|
|
6624
|
+
trustProxy: boolean;
|
|
6625
|
+
trustedProxyDepth: number;
|
|
6626
|
+
allowList?: string[] | undefined;
|
|
6627
|
+
denyList?: string[] | undefined;
|
|
6628
|
+
} | undefined;
|
|
6629
|
+
} | undefined;
|
|
6630
|
+
auth?: {
|
|
6631
|
+
mode: "public";
|
|
6632
|
+
sessionTtl: number;
|
|
6633
|
+
anonymousScopes: string[];
|
|
6634
|
+
issuer?: string | undefined;
|
|
6635
|
+
publicAccess?: {
|
|
6636
|
+
tools: string[] | "all";
|
|
6637
|
+
prompts: string[] | "all";
|
|
6638
|
+
rateLimit: number;
|
|
6639
|
+
} | undefined;
|
|
6640
|
+
jwks?: {
|
|
6641
|
+
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
6642
|
+
} | undefined;
|
|
6643
|
+
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
6644
|
+
} | {
|
|
6645
|
+
requiredScopes: string[];
|
|
6646
|
+
allowAnonymous: boolean;
|
|
6647
|
+
anonymousScopes: string[];
|
|
6648
|
+
provider: string;
|
|
6649
|
+
mode: "transparent";
|
|
6650
|
+
expectedAudience?: string | string[] | undefined;
|
|
6651
|
+
publicAccess?: {
|
|
6652
|
+
tools: string[] | "all";
|
|
6653
|
+
prompts: string[] | "all";
|
|
6654
|
+
rateLimit: number;
|
|
6655
|
+
} | undefined;
|
|
6656
|
+
clientId?: string | undefined;
|
|
6657
|
+
clientSecret?: string | undefined;
|
|
6658
|
+
scopes?: string[] | undefined;
|
|
6659
|
+
providerConfig?: {
|
|
6660
|
+
dcrEnabled: boolean;
|
|
6661
|
+
name?: string | undefined;
|
|
6662
|
+
id?: string | undefined;
|
|
6663
|
+
jwks?: {
|
|
6664
|
+
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
6665
|
+
} | undefined;
|
|
6666
|
+
jwksUri?: string | undefined;
|
|
6667
|
+
authEndpoint?: string | undefined;
|
|
6668
|
+
tokenEndpoint?: string | undefined;
|
|
6669
|
+
registrationEndpoint?: string | undefined;
|
|
6670
|
+
userInfoEndpoint?: string | undefined;
|
|
6671
|
+
} | undefined;
|
|
6672
|
+
} | {
|
|
6673
|
+
tokenStorage: "memory" | {
|
|
6674
|
+
redis: {
|
|
6675
|
+
host: string;
|
|
6676
|
+
port: number;
|
|
6677
|
+
db: number;
|
|
6678
|
+
tls: boolean;
|
|
6679
|
+
keyPrefix: string;
|
|
6680
|
+
defaultTtlMs: number;
|
|
6681
|
+
password?: string | undefined;
|
|
6682
|
+
};
|
|
6683
|
+
};
|
|
6684
|
+
allowDefaultPublic: boolean;
|
|
6685
|
+
anonymousScopes: string[];
|
|
6686
|
+
mode: "local";
|
|
6687
|
+
local?: {
|
|
6688
|
+
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
6689
|
+
jwks?: {
|
|
6690
|
+
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
6691
|
+
} | undefined;
|
|
6692
|
+
issuer?: string | undefined;
|
|
6693
|
+
} | undefined;
|
|
6694
|
+
publicAccess?: {
|
|
6695
|
+
tools: string[] | "all";
|
|
6696
|
+
prompts: string[] | "all";
|
|
6697
|
+
rateLimit: number;
|
|
6698
|
+
} | undefined;
|
|
6699
|
+
consent?: {
|
|
6700
|
+
enabled: boolean;
|
|
6701
|
+
groupByApp: boolean;
|
|
6702
|
+
showDescriptions: boolean;
|
|
6703
|
+
allowSelectAll: boolean;
|
|
6704
|
+
requireSelection: boolean;
|
|
6705
|
+
rememberConsent: boolean;
|
|
6706
|
+
customMessage?: string | undefined;
|
|
6707
|
+
excludedTools?: string[] | undefined;
|
|
6708
|
+
defaultSelectedTools?: string[] | undefined;
|
|
6709
|
+
} | undefined;
|
|
6710
|
+
federatedAuth?: {
|
|
6711
|
+
stateValidation: "format" | "strict";
|
|
6712
|
+
} | undefined;
|
|
6713
|
+
refresh?: {
|
|
6714
|
+
enabled: boolean;
|
|
6715
|
+
skewSeconds: number;
|
|
6716
|
+
} | undefined;
|
|
6717
|
+
expectedAudience?: string | string[] | undefined;
|
|
6718
|
+
incrementalAuth?: {
|
|
6719
|
+
enabled: boolean;
|
|
6720
|
+
skippedAppBehavior: "anonymous" | "require-auth";
|
|
6721
|
+
allowSkip: boolean;
|
|
6722
|
+
showAllAppsAtOnce: boolean;
|
|
6723
|
+
} | undefined;
|
|
6724
|
+
cimd?: {
|
|
6725
|
+
enabled: boolean;
|
|
6726
|
+
cache?: {
|
|
6727
|
+
type: "memory" | "redis";
|
|
6728
|
+
defaultTtlMs: number;
|
|
6729
|
+
maxTtlMs: number;
|
|
6730
|
+
minTtlMs: number;
|
|
6731
|
+
redis?: {
|
|
6732
|
+
keyPrefix: string;
|
|
6733
|
+
url?: string | undefined;
|
|
6734
|
+
host?: string | undefined;
|
|
6735
|
+
port?: number | undefined;
|
|
6736
|
+
password?: string | undefined;
|
|
6737
|
+
db?: number | undefined;
|
|
6738
|
+
tls?: boolean | undefined;
|
|
6739
|
+
} | undefined;
|
|
6740
|
+
} | undefined;
|
|
6741
|
+
security?: {
|
|
6742
|
+
blockPrivateIPs: boolean;
|
|
6743
|
+
warnOnLocalhostRedirects: boolean;
|
|
6744
|
+
allowInsecureForTesting: boolean;
|
|
6745
|
+
allowedDomains?: string[] | undefined;
|
|
6746
|
+
blockedDomains?: string[] | undefined;
|
|
6747
|
+
} | undefined;
|
|
6748
|
+
network?: {
|
|
6749
|
+
timeoutMs: number;
|
|
6750
|
+
maxResponseSizeBytes: number;
|
|
6751
|
+
redirectPolicy: "deny" | "same-origin" | "allow";
|
|
6752
|
+
maxRedirects: number;
|
|
6753
|
+
} | undefined;
|
|
6754
|
+
} | undefined;
|
|
6755
|
+
} | {
|
|
6756
|
+
tokenStorage: "memory" | {
|
|
6757
|
+
redis: {
|
|
6758
|
+
host: string;
|
|
6759
|
+
port: number;
|
|
6760
|
+
db: number;
|
|
6761
|
+
tls: boolean;
|
|
6762
|
+
keyPrefix: string;
|
|
6763
|
+
defaultTtlMs: number;
|
|
6764
|
+
password?: string | undefined;
|
|
6765
|
+
};
|
|
6766
|
+
};
|
|
6767
|
+
allowDefaultPublic: boolean;
|
|
6768
|
+
anonymousScopes: string[];
|
|
6769
|
+
provider: string;
|
|
6770
|
+
mode: "remote";
|
|
6771
|
+
local?: {
|
|
6772
|
+
signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
|
|
6773
|
+
jwks?: {
|
|
6774
|
+
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
6775
|
+
} | undefined;
|
|
6776
|
+
issuer?: string | undefined;
|
|
6777
|
+
} | undefined;
|
|
6778
|
+
publicAccess?: {
|
|
6779
|
+
tools: string[] | "all";
|
|
6780
|
+
prompts: string[] | "all";
|
|
6781
|
+
rateLimit: number;
|
|
6782
|
+
} | undefined;
|
|
6783
|
+
consent?: {
|
|
6784
|
+
enabled: boolean;
|
|
6785
|
+
groupByApp: boolean;
|
|
6786
|
+
showDescriptions: boolean;
|
|
6787
|
+
allowSelectAll: boolean;
|
|
6788
|
+
requireSelection: boolean;
|
|
6789
|
+
rememberConsent: boolean;
|
|
6790
|
+
customMessage?: string | undefined;
|
|
6791
|
+
excludedTools?: string[] | undefined;
|
|
6792
|
+
defaultSelectedTools?: string[] | undefined;
|
|
6793
|
+
} | undefined;
|
|
6794
|
+
federatedAuth?: {
|
|
6795
|
+
stateValidation: "format" | "strict";
|
|
6796
|
+
} | undefined;
|
|
6797
|
+
refresh?: {
|
|
6798
|
+
enabled: boolean;
|
|
6799
|
+
skewSeconds: number;
|
|
6800
|
+
} | undefined;
|
|
6801
|
+
expectedAudience?: string | string[] | undefined;
|
|
6802
|
+
incrementalAuth?: {
|
|
6803
|
+
enabled: boolean;
|
|
6804
|
+
skippedAppBehavior: "anonymous" | "require-auth";
|
|
6805
|
+
allowSkip: boolean;
|
|
6806
|
+
showAllAppsAtOnce: boolean;
|
|
6807
|
+
} | undefined;
|
|
6808
|
+
cimd?: {
|
|
6809
|
+
enabled: boolean;
|
|
6810
|
+
cache?: {
|
|
6811
|
+
type: "memory" | "redis";
|
|
6812
|
+
defaultTtlMs: number;
|
|
6813
|
+
maxTtlMs: number;
|
|
6814
|
+
minTtlMs: number;
|
|
6815
|
+
redis?: {
|
|
6816
|
+
keyPrefix: string;
|
|
6817
|
+
url?: string | undefined;
|
|
6818
|
+
host?: string | undefined;
|
|
6819
|
+
port?: number | undefined;
|
|
6820
|
+
password?: string | undefined;
|
|
6821
|
+
db?: number | undefined;
|
|
6822
|
+
tls?: boolean | undefined;
|
|
6823
|
+
} | undefined;
|
|
6824
|
+
} | undefined;
|
|
6825
|
+
security?: {
|
|
6826
|
+
blockPrivateIPs: boolean;
|
|
6827
|
+
warnOnLocalhostRedirects: boolean;
|
|
6828
|
+
allowInsecureForTesting: boolean;
|
|
6829
|
+
allowedDomains?: string[] | undefined;
|
|
6830
|
+
blockedDomains?: string[] | undefined;
|
|
6831
|
+
} | undefined;
|
|
6832
|
+
network?: {
|
|
6833
|
+
timeoutMs: number;
|
|
6834
|
+
maxResponseSizeBytes: number;
|
|
6835
|
+
redirectPolicy: "deny" | "same-origin" | "allow";
|
|
6836
|
+
maxRedirects: number;
|
|
6837
|
+
} | undefined;
|
|
6838
|
+
} | undefined;
|
|
6839
|
+
clientId?: string | undefined;
|
|
6840
|
+
clientSecret?: string | undefined;
|
|
6841
|
+
scopes?: string[] | undefined;
|
|
6842
|
+
providerConfig?: {
|
|
6843
|
+
dcrEnabled: boolean;
|
|
6844
|
+
name?: string | undefined;
|
|
6845
|
+
id?: string | undefined;
|
|
6846
|
+
jwks?: {
|
|
6847
|
+
keys: import("libs/auth/dist/common/jwt.types").JWK[];
|
|
6848
|
+
} | undefined;
|
|
6849
|
+
jwksUri?: string | undefined;
|
|
6850
|
+
authEndpoint?: string | undefined;
|
|
6851
|
+
tokenEndpoint?: string | undefined;
|
|
6852
|
+
registrationEndpoint?: string | undefined;
|
|
6853
|
+
userInfoEndpoint?: string | undefined;
|
|
6854
|
+
} | undefined;
|
|
6855
|
+
} | undefined;
|
|
5144
6856
|
}>>;
|
|
6857
|
+
/**
|
|
6858
|
+
* Parse config with minimal validation for CLI mode.
|
|
6859
|
+
* Skips transport auto-persistence and deep validation of unused subsystems.
|
|
6860
|
+
*/
|
|
6861
|
+
export declare function parseFrontMcpConfigLite(input: FrontMcpConfigInput): FrontMcpConfigType;
|
|
5145
6862
|
export type FrontMcpMultiAppConfig = z.infer<typeof frontMcpMultiAppSchema>;
|
|
5146
6863
|
export type FrontMcpSplitByAppConfig = z.infer<typeof frontMcpSplitByAppSchema>;
|
|
5147
6864
|
/** Output type after zod parsing (with defaults applied) */
|
|
5148
6865
|
export type FrontMcpConfigType = z.infer<typeof frontMcpMetadataSchema>;
|
|
5149
6866
|
/** Input type for FrontMCP configuration (before zod defaults) */
|
|
5150
6867
|
export type FrontMcpConfigInput = z.input<typeof frontMcpMetadataSchema>;
|
|
5151
|
-
export interface AppScopeMetadata extends Omit<FrontMcpSplitByAppMetadata, '
|
|
6868
|
+
export interface AppScopeMetadata extends Omit<FrontMcpSplitByAppMetadata, 'splitByApp'> {
|
|
5152
6869
|
id: string;
|
|
5153
6870
|
apps: [AppType];
|
|
5154
6871
|
auth?: AuthOptions;
|