@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,458 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
local: z.ZodOptional<z.ZodObject<{
|
|
4
|
-
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
5
|
-
jwks: z.ZodOptional<z.ZodObject<{
|
|
6
|
-
keys: z.ZodArray<z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>>;
|
|
7
|
-
}, z.core.$strip>>;
|
|
8
|
-
issuer: z.ZodOptional<z.ZodString>;
|
|
9
|
-
}, z.core.$strip>>;
|
|
10
|
-
tokenStorage: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11
|
-
type: z.ZodLiteral<"memory">;
|
|
12
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
13
|
-
type: z.ZodLiteral<"redis">;
|
|
14
|
-
config: z.ZodObject<{
|
|
15
|
-
host: z.ZodString;
|
|
16
|
-
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
17
|
-
password: z.ZodOptional<z.ZodString>;
|
|
18
|
-
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
19
|
-
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
20
|
-
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21
|
-
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
22
|
-
}, z.core.$strip>;
|
|
23
|
-
}, z.core.$strip>], "type">>;
|
|
24
|
-
allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
|
|
25
|
-
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
26
|
-
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
27
|
-
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
28
|
-
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
29
|
-
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
30
|
-
}, z.core.$strip>>;
|
|
31
|
-
consent: z.ZodOptional<z.ZodObject<{
|
|
32
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
33
|
-
groupByApp: z.ZodDefault<z.ZodBoolean>;
|
|
34
|
-
showDescriptions: z.ZodDefault<z.ZodBoolean>;
|
|
35
|
-
allowSelectAll: z.ZodDefault<z.ZodBoolean>;
|
|
36
|
-
requireSelection: z.ZodDefault<z.ZodBoolean>;
|
|
37
|
-
customMessage: z.ZodOptional<z.ZodString>;
|
|
38
|
-
rememberConsent: z.ZodDefault<z.ZodBoolean>;
|
|
39
|
-
excludedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
|
-
defaultSelectedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
-
}, z.core.$strip>>;
|
|
42
|
-
federatedAuth: z.ZodOptional<z.ZodObject<{
|
|
43
|
-
stateValidation: z.ZodDefault<z.ZodEnum<{
|
|
44
|
-
format: "format";
|
|
45
|
-
strict: "strict";
|
|
46
|
-
}>>;
|
|
47
|
-
}, z.core.$strip>>;
|
|
48
|
-
refresh: z.ZodOptional<z.ZodObject<{
|
|
49
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
50
|
-
skewSeconds: z.ZodDefault<z.ZodNumber>;
|
|
51
|
-
}, z.core.$strip>>;
|
|
52
|
-
expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
53
|
-
incrementalAuth: z.ZodOptional<z.ZodObject<{
|
|
54
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
55
|
-
skippedAppBehavior: z.ZodDefault<z.ZodEnum<{
|
|
56
|
-
anonymous: "anonymous";
|
|
57
|
-
"require-auth": "require-auth";
|
|
58
|
-
}>>;
|
|
59
|
-
allowSkip: z.ZodDefault<z.ZodBoolean>;
|
|
60
|
-
showAllAppsAtOnce: z.ZodDefault<z.ZodBoolean>;
|
|
61
|
-
}, z.core.$strip>>;
|
|
62
|
-
cimd: z.ZodOptional<z.ZodObject<{
|
|
63
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
64
|
-
cache: z.ZodOptional<z.ZodObject<{
|
|
65
|
-
type: z.ZodDefault<z.ZodEnum<{
|
|
66
|
-
memory: "memory";
|
|
67
|
-
redis: "redis";
|
|
68
|
-
}>>;
|
|
69
|
-
defaultTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
70
|
-
maxTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
71
|
-
minTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
72
|
-
redis: z.ZodOptional<z.ZodObject<{
|
|
73
|
-
url: z.ZodOptional<z.ZodString>;
|
|
74
|
-
host: z.ZodOptional<z.ZodString>;
|
|
75
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
76
|
-
password: z.ZodOptional<z.ZodString>;
|
|
77
|
-
db: z.ZodOptional<z.ZodNumber>;
|
|
78
|
-
tls: z.ZodOptional<z.ZodBoolean>;
|
|
79
|
-
keyPrefix: z.ZodDefault<z.ZodString>;
|
|
80
|
-
}, z.core.$strip>>;
|
|
81
|
-
}, z.core.$strip>>;
|
|
82
|
-
security: z.ZodOptional<z.ZodObject<{
|
|
83
|
-
blockPrivateIPs: z.ZodDefault<z.ZodBoolean>;
|
|
84
|
-
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
85
|
-
blockedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
86
|
-
warnOnLocalhostRedirects: z.ZodDefault<z.ZodBoolean>;
|
|
87
|
-
allowInsecureForTesting: z.ZodDefault<z.ZodBoolean>;
|
|
88
|
-
}, z.core.$strip>>;
|
|
89
|
-
network: z.ZodOptional<z.ZodObject<{
|
|
90
|
-
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
91
|
-
maxResponseSizeBytes: z.ZodDefault<z.ZodNumber>;
|
|
92
|
-
redirectPolicy: z.ZodDefault<z.ZodEnum<{
|
|
93
|
-
deny: "deny";
|
|
94
|
-
"same-origin": "same-origin";
|
|
95
|
-
allow: "allow";
|
|
96
|
-
}>>;
|
|
97
|
-
maxRedirects: z.ZodDefault<z.ZodNumber>;
|
|
98
|
-
}, z.core.$strip>>;
|
|
99
|
-
}, z.core.$strip>>;
|
|
100
|
-
mode: z.ZodLiteral<"orchestrated">;
|
|
101
|
-
type: z.ZodLiteral<"local">;
|
|
102
|
-
}, z.core.$strip>;
|
|
103
|
-
export declare const orchestratedRemoteSchema: z.ZodObject<{
|
|
104
|
-
local: z.ZodOptional<z.ZodObject<{
|
|
105
|
-
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
106
|
-
jwks: z.ZodOptional<z.ZodObject<{
|
|
107
|
-
keys: z.ZodArray<z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>>;
|
|
108
|
-
}, z.core.$strip>>;
|
|
109
|
-
issuer: z.ZodOptional<z.ZodString>;
|
|
110
|
-
}, z.core.$strip>>;
|
|
111
|
-
tokenStorage: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
112
|
-
type: z.ZodLiteral<"memory">;
|
|
113
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
114
|
-
type: z.ZodLiteral<"redis">;
|
|
115
|
-
config: z.ZodObject<{
|
|
116
|
-
host: z.ZodString;
|
|
117
|
-
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
118
|
-
password: z.ZodOptional<z.ZodString>;
|
|
119
|
-
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
120
|
-
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
121
|
-
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
122
|
-
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
123
|
-
}, z.core.$strip>;
|
|
124
|
-
}, z.core.$strip>], "type">>;
|
|
125
|
-
allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
|
|
126
|
-
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
127
|
-
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
128
|
-
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
129
|
-
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
130
|
-
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
131
|
-
}, z.core.$strip>>;
|
|
132
|
-
consent: z.ZodOptional<z.ZodObject<{
|
|
133
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
134
|
-
groupByApp: z.ZodDefault<z.ZodBoolean>;
|
|
135
|
-
showDescriptions: z.ZodDefault<z.ZodBoolean>;
|
|
136
|
-
allowSelectAll: z.ZodDefault<z.ZodBoolean>;
|
|
137
|
-
requireSelection: z.ZodDefault<z.ZodBoolean>;
|
|
138
|
-
customMessage: z.ZodOptional<z.ZodString>;
|
|
139
|
-
rememberConsent: z.ZodDefault<z.ZodBoolean>;
|
|
140
|
-
excludedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
141
|
-
defaultSelectedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
142
|
-
}, z.core.$strip>>;
|
|
143
|
-
federatedAuth: z.ZodOptional<z.ZodObject<{
|
|
144
|
-
stateValidation: z.ZodDefault<z.ZodEnum<{
|
|
145
|
-
format: "format";
|
|
146
|
-
strict: "strict";
|
|
147
|
-
}>>;
|
|
148
|
-
}, z.core.$strip>>;
|
|
149
|
-
refresh: z.ZodOptional<z.ZodObject<{
|
|
150
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
151
|
-
skewSeconds: z.ZodDefault<z.ZodNumber>;
|
|
152
|
-
}, z.core.$strip>>;
|
|
153
|
-
expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
154
|
-
incrementalAuth: z.ZodOptional<z.ZodObject<{
|
|
155
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
156
|
-
skippedAppBehavior: z.ZodDefault<z.ZodEnum<{
|
|
157
|
-
anonymous: "anonymous";
|
|
158
|
-
"require-auth": "require-auth";
|
|
159
|
-
}>>;
|
|
160
|
-
allowSkip: z.ZodDefault<z.ZodBoolean>;
|
|
161
|
-
showAllAppsAtOnce: z.ZodDefault<z.ZodBoolean>;
|
|
162
|
-
}, z.core.$strip>>;
|
|
163
|
-
cimd: z.ZodOptional<z.ZodObject<{
|
|
164
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
165
|
-
cache: z.ZodOptional<z.ZodObject<{
|
|
166
|
-
type: z.ZodDefault<z.ZodEnum<{
|
|
167
|
-
memory: "memory";
|
|
168
|
-
redis: "redis";
|
|
169
|
-
}>>;
|
|
170
|
-
defaultTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
171
|
-
maxTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
172
|
-
minTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
173
|
-
redis: z.ZodOptional<z.ZodObject<{
|
|
174
|
-
url: z.ZodOptional<z.ZodString>;
|
|
175
|
-
host: z.ZodOptional<z.ZodString>;
|
|
176
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
177
|
-
password: z.ZodOptional<z.ZodString>;
|
|
178
|
-
db: z.ZodOptional<z.ZodNumber>;
|
|
179
|
-
tls: z.ZodOptional<z.ZodBoolean>;
|
|
180
|
-
keyPrefix: z.ZodDefault<z.ZodString>;
|
|
181
|
-
}, z.core.$strip>>;
|
|
182
|
-
}, z.core.$strip>>;
|
|
183
|
-
security: z.ZodOptional<z.ZodObject<{
|
|
184
|
-
blockPrivateIPs: z.ZodDefault<z.ZodBoolean>;
|
|
185
|
-
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
186
|
-
blockedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
187
|
-
warnOnLocalhostRedirects: z.ZodDefault<z.ZodBoolean>;
|
|
188
|
-
allowInsecureForTesting: z.ZodDefault<z.ZodBoolean>;
|
|
189
|
-
}, z.core.$strip>>;
|
|
190
|
-
network: z.ZodOptional<z.ZodObject<{
|
|
191
|
-
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
192
|
-
maxResponseSizeBytes: z.ZodDefault<z.ZodNumber>;
|
|
193
|
-
redirectPolicy: z.ZodDefault<z.ZodEnum<{
|
|
194
|
-
deny: "deny";
|
|
195
|
-
"same-origin": "same-origin";
|
|
196
|
-
allow: "allow";
|
|
197
|
-
}>>;
|
|
198
|
-
maxRedirects: z.ZodDefault<z.ZodNumber>;
|
|
199
|
-
}, z.core.$strip>>;
|
|
200
|
-
}, z.core.$strip>>;
|
|
201
|
-
mode: z.ZodLiteral<"orchestrated">;
|
|
202
|
-
type: z.ZodLiteral<"remote">;
|
|
203
|
-
remote: z.ZodObject<{
|
|
204
|
-
provider: z.ZodString;
|
|
205
|
-
name: z.ZodOptional<z.ZodString>;
|
|
206
|
-
id: z.ZodOptional<z.ZodString>;
|
|
207
|
-
jwks: z.ZodOptional<z.ZodObject<{
|
|
208
|
-
keys: z.ZodArray<z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>>;
|
|
209
|
-
}, z.core.$strip>>;
|
|
210
|
-
jwksUri: z.ZodOptional<z.ZodString>;
|
|
211
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
212
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
213
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
214
|
-
dcrEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
215
|
-
authEndpoint: z.ZodOptional<z.ZodString>;
|
|
216
|
-
tokenEndpoint: z.ZodOptional<z.ZodString>;
|
|
217
|
-
registrationEndpoint: z.ZodOptional<z.ZodString>;
|
|
218
|
-
userInfoEndpoint: z.ZodOptional<z.ZodString>;
|
|
219
|
-
}, z.core.$strip>;
|
|
220
|
-
}, z.core.$strip>;
|
|
221
|
-
export declare const orchestratedAuthOptionsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
222
|
-
local: z.ZodOptional<z.ZodObject<{
|
|
223
|
-
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
224
|
-
jwks: z.ZodOptional<z.ZodObject<{
|
|
225
|
-
keys: z.ZodArray<z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>>;
|
|
226
|
-
}, z.core.$strip>>;
|
|
227
|
-
issuer: z.ZodOptional<z.ZodString>;
|
|
228
|
-
}, z.core.$strip>>;
|
|
229
|
-
tokenStorage: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
230
|
-
type: z.ZodLiteral<"memory">;
|
|
231
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
232
|
-
type: z.ZodLiteral<"redis">;
|
|
233
|
-
config: z.ZodObject<{
|
|
234
|
-
host: z.ZodString;
|
|
235
|
-
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
236
|
-
password: z.ZodOptional<z.ZodString>;
|
|
237
|
-
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
238
|
-
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
239
|
-
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
240
|
-
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
241
|
-
}, z.core.$strip>;
|
|
242
|
-
}, z.core.$strip>], "type">>;
|
|
243
|
-
allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
|
|
244
|
-
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
245
|
-
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
246
|
-
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
247
|
-
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
248
|
-
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
249
|
-
}, z.core.$strip>>;
|
|
250
|
-
consent: z.ZodOptional<z.ZodObject<{
|
|
251
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
252
|
-
groupByApp: z.ZodDefault<z.ZodBoolean>;
|
|
253
|
-
showDescriptions: z.ZodDefault<z.ZodBoolean>;
|
|
254
|
-
allowSelectAll: z.ZodDefault<z.ZodBoolean>;
|
|
255
|
-
requireSelection: z.ZodDefault<z.ZodBoolean>;
|
|
256
|
-
customMessage: z.ZodOptional<z.ZodString>;
|
|
257
|
-
rememberConsent: z.ZodDefault<z.ZodBoolean>;
|
|
258
|
-
excludedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
259
|
-
defaultSelectedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
260
|
-
}, z.core.$strip>>;
|
|
261
|
-
federatedAuth: z.ZodOptional<z.ZodObject<{
|
|
262
|
-
stateValidation: z.ZodDefault<z.ZodEnum<{
|
|
263
|
-
format: "format";
|
|
264
|
-
strict: "strict";
|
|
265
|
-
}>>;
|
|
266
|
-
}, z.core.$strip>>;
|
|
267
|
-
refresh: z.ZodOptional<z.ZodObject<{
|
|
268
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
269
|
-
skewSeconds: z.ZodDefault<z.ZodNumber>;
|
|
270
|
-
}, z.core.$strip>>;
|
|
271
|
-
expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
272
|
-
incrementalAuth: z.ZodOptional<z.ZodObject<{
|
|
273
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
274
|
-
skippedAppBehavior: z.ZodDefault<z.ZodEnum<{
|
|
275
|
-
anonymous: "anonymous";
|
|
276
|
-
"require-auth": "require-auth";
|
|
277
|
-
}>>;
|
|
278
|
-
allowSkip: z.ZodDefault<z.ZodBoolean>;
|
|
279
|
-
showAllAppsAtOnce: z.ZodDefault<z.ZodBoolean>;
|
|
280
|
-
}, z.core.$strip>>;
|
|
281
|
-
cimd: z.ZodOptional<z.ZodObject<{
|
|
282
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
283
|
-
cache: z.ZodOptional<z.ZodObject<{
|
|
284
|
-
type: z.ZodDefault<z.ZodEnum<{
|
|
285
|
-
memory: "memory";
|
|
286
|
-
redis: "redis";
|
|
287
|
-
}>>;
|
|
288
|
-
defaultTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
289
|
-
maxTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
290
|
-
minTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
291
|
-
redis: z.ZodOptional<z.ZodObject<{
|
|
292
|
-
url: z.ZodOptional<z.ZodString>;
|
|
293
|
-
host: z.ZodOptional<z.ZodString>;
|
|
294
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
295
|
-
password: z.ZodOptional<z.ZodString>;
|
|
296
|
-
db: z.ZodOptional<z.ZodNumber>;
|
|
297
|
-
tls: z.ZodOptional<z.ZodBoolean>;
|
|
298
|
-
keyPrefix: z.ZodDefault<z.ZodString>;
|
|
299
|
-
}, z.core.$strip>>;
|
|
300
|
-
}, z.core.$strip>>;
|
|
301
|
-
security: z.ZodOptional<z.ZodObject<{
|
|
302
|
-
blockPrivateIPs: z.ZodDefault<z.ZodBoolean>;
|
|
303
|
-
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
304
|
-
blockedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
305
|
-
warnOnLocalhostRedirects: z.ZodDefault<z.ZodBoolean>;
|
|
306
|
-
allowInsecureForTesting: z.ZodDefault<z.ZodBoolean>;
|
|
307
|
-
}, z.core.$strip>>;
|
|
308
|
-
network: z.ZodOptional<z.ZodObject<{
|
|
309
|
-
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
310
|
-
maxResponseSizeBytes: z.ZodDefault<z.ZodNumber>;
|
|
311
|
-
redirectPolicy: z.ZodDefault<z.ZodEnum<{
|
|
312
|
-
deny: "deny";
|
|
313
|
-
"same-origin": "same-origin";
|
|
314
|
-
allow: "allow";
|
|
315
|
-
}>>;
|
|
316
|
-
maxRedirects: z.ZodDefault<z.ZodNumber>;
|
|
317
|
-
}, z.core.$strip>>;
|
|
318
|
-
}, z.core.$strip>>;
|
|
319
|
-
mode: z.ZodLiteral<"orchestrated">;
|
|
320
|
-
type: z.ZodLiteral<"local">;
|
|
321
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
322
|
-
local: z.ZodOptional<z.ZodObject<{
|
|
323
|
-
signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
|
|
324
|
-
jwks: z.ZodOptional<z.ZodObject<{
|
|
325
|
-
keys: z.ZodArray<z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>>;
|
|
326
|
-
}, z.core.$strip>>;
|
|
327
|
-
issuer: z.ZodOptional<z.ZodString>;
|
|
328
|
-
}, z.core.$strip>>;
|
|
329
|
-
tokenStorage: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
330
|
-
type: z.ZodLiteral<"memory">;
|
|
331
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
332
|
-
type: z.ZodLiteral<"redis">;
|
|
333
|
-
config: z.ZodObject<{
|
|
334
|
-
host: z.ZodString;
|
|
335
|
-
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
336
|
-
password: z.ZodOptional<z.ZodString>;
|
|
337
|
-
db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
338
|
-
tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
339
|
-
keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
340
|
-
defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
341
|
-
}, z.core.$strip>;
|
|
342
|
-
}, z.core.$strip>], "type">>;
|
|
343
|
-
allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
|
|
344
|
-
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
345
|
-
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
346
|
-
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
347
|
-
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
348
|
-
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
349
|
-
}, z.core.$strip>>;
|
|
350
|
-
consent: z.ZodOptional<z.ZodObject<{
|
|
351
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
352
|
-
groupByApp: z.ZodDefault<z.ZodBoolean>;
|
|
353
|
-
showDescriptions: z.ZodDefault<z.ZodBoolean>;
|
|
354
|
-
allowSelectAll: z.ZodDefault<z.ZodBoolean>;
|
|
355
|
-
requireSelection: z.ZodDefault<z.ZodBoolean>;
|
|
356
|
-
customMessage: z.ZodOptional<z.ZodString>;
|
|
357
|
-
rememberConsent: z.ZodDefault<z.ZodBoolean>;
|
|
358
|
-
excludedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
359
|
-
defaultSelectedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
360
|
-
}, z.core.$strip>>;
|
|
361
|
-
federatedAuth: z.ZodOptional<z.ZodObject<{
|
|
362
|
-
stateValidation: z.ZodDefault<z.ZodEnum<{
|
|
363
|
-
format: "format";
|
|
364
|
-
strict: "strict";
|
|
365
|
-
}>>;
|
|
366
|
-
}, z.core.$strip>>;
|
|
367
|
-
refresh: z.ZodOptional<z.ZodObject<{
|
|
368
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
369
|
-
skewSeconds: z.ZodDefault<z.ZodNumber>;
|
|
370
|
-
}, z.core.$strip>>;
|
|
371
|
-
expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
372
|
-
incrementalAuth: z.ZodOptional<z.ZodObject<{
|
|
373
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
374
|
-
skippedAppBehavior: z.ZodDefault<z.ZodEnum<{
|
|
375
|
-
anonymous: "anonymous";
|
|
376
|
-
"require-auth": "require-auth";
|
|
377
|
-
}>>;
|
|
378
|
-
allowSkip: z.ZodDefault<z.ZodBoolean>;
|
|
379
|
-
showAllAppsAtOnce: z.ZodDefault<z.ZodBoolean>;
|
|
380
|
-
}, z.core.$strip>>;
|
|
381
|
-
cimd: z.ZodOptional<z.ZodObject<{
|
|
382
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
383
|
-
cache: z.ZodOptional<z.ZodObject<{
|
|
384
|
-
type: z.ZodDefault<z.ZodEnum<{
|
|
385
|
-
memory: "memory";
|
|
386
|
-
redis: "redis";
|
|
387
|
-
}>>;
|
|
388
|
-
defaultTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
389
|
-
maxTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
390
|
-
minTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
391
|
-
redis: z.ZodOptional<z.ZodObject<{
|
|
392
|
-
url: z.ZodOptional<z.ZodString>;
|
|
393
|
-
host: z.ZodOptional<z.ZodString>;
|
|
394
|
-
port: z.ZodOptional<z.ZodNumber>;
|
|
395
|
-
password: z.ZodOptional<z.ZodString>;
|
|
396
|
-
db: z.ZodOptional<z.ZodNumber>;
|
|
397
|
-
tls: z.ZodOptional<z.ZodBoolean>;
|
|
398
|
-
keyPrefix: z.ZodDefault<z.ZodString>;
|
|
399
|
-
}, z.core.$strip>>;
|
|
400
|
-
}, z.core.$strip>>;
|
|
401
|
-
security: z.ZodOptional<z.ZodObject<{
|
|
402
|
-
blockPrivateIPs: z.ZodDefault<z.ZodBoolean>;
|
|
403
|
-
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
404
|
-
blockedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
405
|
-
warnOnLocalhostRedirects: z.ZodDefault<z.ZodBoolean>;
|
|
406
|
-
allowInsecureForTesting: z.ZodDefault<z.ZodBoolean>;
|
|
407
|
-
}, z.core.$strip>>;
|
|
408
|
-
network: z.ZodOptional<z.ZodObject<{
|
|
409
|
-
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
410
|
-
maxResponseSizeBytes: z.ZodDefault<z.ZodNumber>;
|
|
411
|
-
redirectPolicy: z.ZodDefault<z.ZodEnum<{
|
|
412
|
-
deny: "deny";
|
|
413
|
-
"same-origin": "same-origin";
|
|
414
|
-
allow: "allow";
|
|
415
|
-
}>>;
|
|
416
|
-
maxRedirects: z.ZodDefault<z.ZodNumber>;
|
|
417
|
-
}, z.core.$strip>>;
|
|
418
|
-
}, z.core.$strip>>;
|
|
419
|
-
mode: z.ZodLiteral<"orchestrated">;
|
|
420
|
-
type: z.ZodLiteral<"remote">;
|
|
421
|
-
remote: z.ZodObject<{
|
|
422
|
-
provider: z.ZodString;
|
|
423
|
-
name: z.ZodOptional<z.ZodString>;
|
|
424
|
-
id: z.ZodOptional<z.ZodString>;
|
|
425
|
-
jwks: z.ZodOptional<z.ZodObject<{
|
|
426
|
-
keys: z.ZodArray<z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>>;
|
|
427
|
-
}, z.core.$strip>>;
|
|
428
|
-
jwksUri: z.ZodOptional<z.ZodString>;
|
|
429
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
430
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
431
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
432
|
-
dcrEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
433
|
-
authEndpoint: z.ZodOptional<z.ZodString>;
|
|
434
|
-
tokenEndpoint: z.ZodOptional<z.ZodString>;
|
|
435
|
-
registrationEndpoint: z.ZodOptional<z.ZodString>;
|
|
436
|
-
userInfoEndpoint: z.ZodOptional<z.ZodString>;
|
|
437
|
-
}, z.core.$strip>;
|
|
438
|
-
}, z.core.$strip>], "type">;
|
|
439
|
-
/**
|
|
440
|
-
* Orchestrated local mode options
|
|
441
|
-
*/
|
|
442
|
-
export type OrchestratedLocalOptions = z.infer<typeof orchestratedLocalSchema>;
|
|
443
|
-
export type OrchestratedLocalOptionsInput = z.input<typeof orchestratedLocalSchema>;
|
|
444
|
-
/**
|
|
445
|
-
* Orchestrated remote mode options
|
|
446
|
-
*/
|
|
447
|
-
export type OrchestratedRemoteOptions = z.infer<typeof orchestratedRemoteSchema>;
|
|
448
|
-
export type OrchestratedRemoteOptionsInput = z.input<typeof orchestratedRemoteSchema>;
|
|
449
|
-
/**
|
|
450
|
-
* Orchestrated mode options (union of local and remote)
|
|
451
|
-
*/
|
|
452
|
-
export type OrchestratedAuthOptions = z.infer<typeof orchestratedAuthOptionsSchema>;
|
|
453
|
-
export type OrchestratedAuthOptionsInput = z.input<typeof orchestratedAuthOptionsSchema>;
|
|
454
|
-
/**
|
|
455
|
-
* Orchestrated type (local or remote)
|
|
456
|
-
*/
|
|
457
|
-
export type OrchestratedType = 'local' | 'remote';
|
|
1
|
+
export { localAuthSchema, remoteAuthSchema, orchestratedLocalSchema, orchestratedRemoteSchema } from '@frontmcp/auth';
|
|
2
|
+
export type { LocalAuthOptions, LocalAuthOptionsInput, RemoteAuthOptions, RemoteAuthOptionsInput, LocalOrRemoteAuthOptions, LocalOrRemoteAuthOptionsInput, OrchestratedLocalOptions, OrchestratedLocalOptionsInput, OrchestratedRemoteOptions, OrchestratedRemoteOptionsInput, OrchestratedAuthOptions, OrchestratedAuthOptionsInput, } from '@frontmcp/auth';
|
|
458
3
|
//# sourceMappingURL=orchestrated.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrated.schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/orchestrated.schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"orchestrated.schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/orchestrated.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAEtH,YAAY,EACV,gBAAgB,EAChB,qBAAqB,EACrB,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,6BAA6B,EAC7B,wBAAwB,EACxB,6BAA6B,EAC7B,yBAAyB,EACzB,8BAA8B,EAC9B,uBAAuB,EACvB,4BAA4B,GAC7B,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,22 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
mode: z.ZodLiteral<"public">;
|
|
4
|
-
issuer: z.ZodOptional<z.ZodString>;
|
|
5
|
-
sessionTtl: z.ZodDefault<z.ZodNumber>;
|
|
6
|
-
anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
7
|
-
publicAccess: z.ZodOptional<z.ZodObject<{
|
|
8
|
-
tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
9
|
-
prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
|
|
10
|
-
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
11
|
-
}, z.core.$strip>>;
|
|
12
|
-
jwks: z.ZodOptional<z.ZodObject<{
|
|
13
|
-
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>>>;
|
|
14
|
-
}, z.core.$strip>>;
|
|
15
|
-
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>>]>>;
|
|
16
|
-
}, z.core.$strip>;
|
|
17
|
-
/**
|
|
18
|
-
* Public mode options (output type with defaults applied)
|
|
19
|
-
*/
|
|
20
|
-
export type PublicAuthOptions = z.infer<typeof publicAuthOptionsSchema>;
|
|
21
|
-
export type PublicAuthOptionsInput = z.input<typeof publicAuthOptionsSchema>;
|
|
1
|
+
export { publicAuthOptionsSchema } from '@frontmcp/auth';
|
|
2
|
+
export type { PublicAuthOptions, PublicAuthOptionsInput } from '@frontmcp/auth';
|
|
22
3
|
//# sourceMappingURL=public.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/public.schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"public.schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/public.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC"}
|