@frontmcp/sdk 0.6.3 → 0.7.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 +3 -1
- package/adapter/adapter.instance.d.ts.map +1 -0
- package/adapter/adapter.regsitry.d.ts +1 -0
- package/adapter/adapter.regsitry.d.ts.map +1 -0
- package/adapter/adapter.utils.d.ts +3 -1
- package/adapter/adapter.utils.d.ts.map +1 -0
- package/agent/adapters/adapter.factory.d.ts +105 -0
- package/agent/adapters/adapter.factory.d.ts.map +1 -0
- package/agent/adapters/base.adapter.d.ts +116 -0
- package/agent/adapters/base.adapter.d.ts.map +1 -0
- package/agent/adapters/index.d.ts +47 -0
- package/agent/adapters/index.d.ts.map +1 -0
- package/agent/adapters/langchain.adapter.d.ts +178 -0
- package/agent/adapters/langchain.adapter.d.ts.map +1 -0
- package/agent/adapters/providers/index.d.ts +36 -0
- package/agent/adapters/providers/index.d.ts.map +1 -0
- package/agent/adapters/providers/types.d.ts +15 -0
- package/agent/adapters/providers/types.d.ts.map +1 -0
- package/agent/agent-execution-loop.d.ts +209 -0
- package/agent/agent-execution-loop.d.ts.map +1 -0
- package/agent/agent.events.d.ts +149 -0
- package/agent/agent.events.d.ts.map +1 -0
- package/agent/agent.instance.d.ts +201 -0
- package/agent/agent.instance.d.ts.map +1 -0
- package/agent/agent.registry.d.ts +137 -0
- package/agent/agent.registry.d.ts.map +1 -0
- package/agent/agent.scope.d.ts +333 -0
- package/agent/agent.scope.d.ts.map +1 -0
- package/agent/agent.utils.d.ts +72 -0
- package/agent/agent.utils.d.ts.map +1 -0
- package/agent/flows/call-agent.flow.d.ts +306 -0
- package/agent/flows/call-agent.flow.d.ts.map +1 -0
- package/agent/flows/index.d.ts +2 -0
- package/agent/flows/index.d.ts.map +1 -0
- package/agent/hooks/agent.hooks.d.ts +52 -0
- package/agent/hooks/agent.hooks.d.ts.map +1 -0
- package/agent/hooks/index.d.ts +2 -0
- package/agent/hooks/index.d.ts.map +1 -0
- package/agent/index.d.ts +51 -0
- package/agent/index.d.ts.map +1 -0
- package/app/app.registry.d.ts +1 -0
- package/app/app.registry.d.ts.map +1 -0
- package/app/app.utils.d.ts +3 -1
- package/app/app.utils.d.ts.map +1 -0
- package/app/instances/app.local.instance.d.ts +4 -0
- package/app/instances/app.local.instance.d.ts.map +1 -0
- package/app/instances/app.remote.instance.d.ts +98 -0
- package/app/instances/app.remote.instance.d.ts.map +1 -0
- package/app/instances/index.d.ts +1 -0
- package/app/instances/index.d.ts.map +1 -0
- package/auth/auth.registry.d.ts +1 -0
- package/auth/auth.registry.d.ts.map +1 -0
- package/auth/auth.utils.d.ts +3 -1
- package/auth/auth.utils.d.ts.map +1 -0
- package/auth/authorization/authorization.class.d.ts +1 -0
- package/auth/authorization/authorization.class.d.ts.map +1 -0
- package/auth/authorization/authorization.types.d.ts +1 -0
- package/auth/authorization/authorization.types.d.ts.map +1 -0
- package/auth/authorization/index.d.ts +1 -0
- package/auth/authorization/index.d.ts.map +1 -0
- package/auth/authorization/orchestrated.authorization.d.ts +1 -0
- package/auth/authorization/orchestrated.authorization.d.ts.map +1 -0
- package/auth/authorization/public.authorization.d.ts +1 -0
- package/auth/authorization/public.authorization.d.ts.map +1 -0
- package/auth/authorization/transparent.authorization.d.ts +1 -0
- package/auth/authorization/transparent.authorization.d.ts.map +1 -0
- package/auth/consent/consent.types.d.ts +1 -0
- package/auth/consent/consent.types.d.ts.map +1 -0
- package/auth/consent/index.d.ts +1 -0
- package/auth/consent/index.d.ts.map +1 -0
- package/auth/detection/auth-provider-detection.d.ts +1 -0
- package/auth/detection/auth-provider-detection.d.ts.map +1 -0
- package/auth/detection/index.d.ts +1 -0
- package/auth/detection/index.d.ts.map +1 -0
- package/auth/flows/auth.verify.flow.d.ts +8 -2
- package/auth/flows/auth.verify.flow.d.ts.map +1 -0
- package/auth/flows/oauth.authorize.flow.d.ts +1 -0
- package/auth/flows/oauth.authorize.flow.d.ts.map +1 -0
- package/auth/flows/oauth.callback.flow.d.ts +1 -0
- package/auth/flows/oauth.callback.flow.d.ts.map +1 -0
- package/auth/flows/oauth.register.flow.d.ts +4 -3
- package/auth/flows/oauth.register.flow.d.ts.map +1 -0
- package/auth/flows/oauth.token.flow.d.ts +1 -0
- package/auth/flows/oauth.token.flow.d.ts.map +1 -0
- package/auth/flows/session.verify.flow.d.ts +12 -1
- package/auth/flows/session.verify.flow.d.ts.map +1 -0
- package/auth/flows/well-known.jwks.flow.d.ts +1 -0
- package/auth/flows/well-known.jwks.flow.d.ts.map +1 -0
- package/auth/flows/well-known.oauth-authorization-server.flow.d.ts +1 -0
- package/auth/flows/well-known.oauth-authorization-server.flow.d.ts.map +1 -0
- package/auth/flows/well-known.prm.flow.d.ts +1 -0
- package/auth/flows/well-known.prm.flow.d.ts.map +1 -0
- package/auth/instances/instance.local-primary-auth.d.ts +1 -0
- package/auth/instances/instance.local-primary-auth.d.ts.map +1 -0
- package/auth/instances/instance.remote-primary-auth.d.ts +1 -0
- package/auth/instances/instance.remote-primary-auth.d.ts.map +1 -0
- package/auth/jwks/dev-key-persistence.d.ts +1 -0
- package/auth/jwks/dev-key-persistence.d.ts.map +1 -0
- package/auth/jwks/index.d.ts +1 -0
- package/auth/jwks/index.d.ts.map +1 -0
- package/auth/jwks/jwks.service.d.ts +16 -2
- package/auth/jwks/jwks.service.d.ts.map +1 -0
- package/auth/jwks/jwks.types.d.ts +1 -0
- package/auth/jwks/jwks.types.d.ts.map +1 -0
- package/auth/jwks/jwks.utils.d.ts +1 -0
- package/auth/jwks/jwks.utils.d.ts.map +1 -0
- package/auth/machine-id.d.ts +1 -0
- package/auth/machine-id.d.ts.map +1 -0
- package/auth/oauth/flows/oauth.authorize.flow.d.ts +1 -0
- package/auth/oauth/flows/oauth.authorize.flow.d.ts.map +1 -0
- package/auth/oauth/flows/oauth.device-authorization.flow.d.ts +1 -0
- package/auth/oauth/flows/oauth.device-authorization.flow.d.ts.map +1 -0
- package/auth/oauth/flows/oauth.introspect.flow.d.ts +1 -0
- package/auth/oauth/flows/oauth.introspect.flow.d.ts.map +1 -0
- package/auth/oauth/flows/oauth.par.flow.d.ts +1 -0
- package/auth/oauth/flows/oauth.par.flow.d.ts.map +1 -0
- package/auth/oauth/flows/oauth.revoke.flow.d.ts +1 -0
- package/auth/oauth/flows/oauth.revoke.flow.d.ts.map +1 -0
- package/auth/oauth/flows/oauth.token.flow.d.ts +1 -0
- package/auth/oauth/flows/oauth.token.flow.d.ts.map +1 -0
- package/auth/oauth/flows/oauth.userinfo.flow.d.ts +1 -0
- package/auth/oauth/flows/oauth.userinfo.flow.d.ts.map +1 -0
- package/auth/oauth/flows/oidc.logout.flow.d.ts +1 -0
- package/auth/oauth/flows/oidc.logout.flow.d.ts.map +1 -0
- package/auth/session/authorization-vault.d.ts +5 -4
- package/auth/session/authorization-vault.d.ts.map +1 -0
- package/auth/session/authorization.store.d.ts +1 -0
- package/auth/session/authorization.store.d.ts.map +1 -0
- package/auth/session/encrypted-authorization-vault.d.ts +1 -0
- package/auth/session/encrypted-authorization-vault.d.ts.map +1 -0
- package/auth/session/index.d.ts +1 -0
- package/auth/session/index.d.ts.map +1 -0
- package/auth/session/record/session.base.d.ts +1 -0
- package/auth/session/record/session.base.d.ts.map +1 -0
- package/auth/session/record/session.stateful.d.ts +1 -0
- package/auth/session/record/session.stateful.d.ts.map +1 -0
- package/auth/session/record/session.stateless.d.ts +1 -0
- package/auth/session/record/session.stateless.d.ts.map +1 -0
- package/auth/session/record/session.transparent.d.ts +1 -0
- package/auth/session/record/session.transparent.d.ts.map +1 -0
- package/auth/session/redis-session.store.d.ts +1 -0
- package/auth/session/redis-session.store.d.ts.map +1 -0
- package/auth/session/session-crypto.d.ts +1 -0
- package/auth/session/session-crypto.d.ts.map +1 -0
- package/auth/session/session-rate-limiter.d.ts +1 -0
- package/auth/session/session-rate-limiter.d.ts.map +1 -0
- package/auth/session/session.crypto.d.ts +1 -0
- package/auth/session/session.crypto.d.ts.map +1 -0
- package/auth/session/session.schema.d.ts +1 -0
- package/auth/session/session.schema.d.ts.map +1 -0
- package/auth/session/session.service.d.ts +1 -0
- package/auth/session/session.service.d.ts.map +1 -0
- package/auth/session/session.transport.d.ts +1 -0
- package/auth/session/session.transport.d.ts.map +1 -0
- package/auth/session/session.types.d.ts +1 -0
- package/auth/session/session.types.d.ts.map +1 -0
- package/auth/session/token.refresh.d.ts +1 -0
- package/auth/session/token.refresh.d.ts.map +1 -0
- package/auth/session/token.store.d.ts +3 -2
- package/auth/session/token.store.d.ts.map +1 -0
- package/auth/session/token.vault.d.ts +1 -0
- package/auth/session/token.vault.d.ts.map +1 -0
- package/auth/session/transport-session.manager.d.ts +1 -0
- package/auth/session/transport-session.manager.d.ts.map +1 -0
- package/auth/session/transport-session.types.d.ts +9 -8
- package/auth/session/transport-session.types.d.ts.map +1 -0
- package/auth/session/utils/auth-token.utils.d.ts +1 -0
- package/auth/session/utils/auth-token.utils.d.ts.map +1 -0
- package/auth/session/utils/session-id.utils.d.ts +1 -0
- package/auth/session/utils/session-id.utils.d.ts.map +1 -0
- package/auth/session/utils/tiny-ttl-cache.d.ts +1 -0
- package/auth/session/utils/tiny-ttl-cache.d.ts.map +1 -0
- package/auth/session/vault-encryption.d.ts +1 -0
- package/auth/session/vault-encryption.d.ts.map +1 -0
- package/auth/session/vercel-kv-session.store.d.ts +1 -0
- package/auth/session/vercel-kv-session.store.d.ts.map +1 -0
- package/auth/ui/base-layout.d.ts +1 -0
- package/auth/ui/base-layout.d.ts.map +1 -0
- package/auth/ui/index.d.ts +1 -0
- package/auth/ui/index.d.ts.map +1 -0
- package/auth/ui/templates.d.ts +1 -0
- package/auth/ui/templates.d.ts.map +1 -0
- package/auth/utils/audience.validator.d.ts +1 -0
- package/auth/utils/audience.validator.d.ts.map +1 -0
- package/auth/utils/index.d.ts +1 -0
- package/auth/utils/index.d.ts.map +1 -0
- package/auth/utils/www-authenticate.utils.d.ts +1 -0
- package/auth/utils/www-authenticate.utils.d.ts.map +1 -0
- package/common/common.schema.d.ts +1 -0
- package/common/common.schema.d.ts.map +1 -0
- package/common/decorators/adapter.decorator.d.ts +1 -0
- package/common/decorators/adapter.decorator.d.ts.map +1 -0
- package/common/decorators/agent.decorator.d.ts +116 -0
- package/common/decorators/agent.decorator.d.ts.map +1 -0
- package/common/decorators/app.decorator.d.ts +1 -0
- package/common/decorators/app.decorator.d.ts.map +1 -0
- package/common/decorators/auth-provider.decorator.d.ts +1 -0
- package/common/decorators/auth-provider.decorator.d.ts.map +1 -0
- package/common/decorators/decorator-utils.d.ts +1 -0
- package/common/decorators/decorator-utils.d.ts.map +1 -0
- package/common/decorators/flow.decorator.d.ts +1 -0
- package/common/decorators/flow.decorator.d.ts.map +1 -0
- package/common/decorators/front-mcp.decorator.d.ts +1 -0
- package/common/decorators/front-mcp.decorator.d.ts.map +1 -0
- package/common/decorators/hook.decorator.d.ts +1 -0
- package/common/decorators/hook.decorator.d.ts.map +1 -0
- package/common/decorators/index.d.ts +2 -0
- package/common/decorators/index.d.ts.map +1 -0
- package/common/decorators/logger.decorator.d.ts +1 -0
- package/common/decorators/logger.decorator.d.ts.map +1 -0
- package/common/decorators/plugin.decorator.d.ts +1 -0
- package/common/decorators/plugin.decorator.d.ts.map +1 -0
- package/common/decorators/prompt.decorator.d.ts +8 -3
- package/common/decorators/prompt.decorator.d.ts.map +1 -0
- package/common/decorators/provider.decorator.d.ts +1 -0
- package/common/decorators/provider.decorator.d.ts.map +1 -0
- package/common/decorators/resource.decorator.d.ts +1 -0
- package/common/decorators/resource.decorator.d.ts.map +1 -0
- package/common/decorators/tool.decorator.d.ts +1 -0
- package/common/decorators/tool.decorator.d.ts.map +1 -0
- package/common/dynamic/dynamic.adapter.d.ts +1 -0
- package/common/dynamic/dynamic.adapter.d.ts.map +1 -0
- package/common/dynamic/dynamic.plugin.d.ts +3 -1
- package/common/dynamic/dynamic.plugin.d.ts.map +1 -0
- package/common/dynamic/dynamic.utils.d.ts +1 -0
- package/common/dynamic/dynamic.utils.d.ts.map +1 -0
- package/common/dynamic/index.d.ts +1 -0
- package/common/dynamic/index.d.ts.map +1 -0
- package/common/entries/adapter.entry.d.ts +1 -0
- package/common/entries/adapter.entry.d.ts.map +1 -0
- package/common/entries/agent.entry.d.ts +143 -0
- package/common/entries/agent.entry.d.ts.map +1 -0
- package/common/entries/app.entry.d.ts +8 -0
- package/common/entries/app.entry.d.ts.map +1 -0
- package/common/entries/auth-provider.entry.d.ts +2 -1
- package/common/entries/auth-provider.entry.d.ts.map +1 -0
- package/common/entries/base.entry.d.ts +3 -2
- package/common/entries/base.entry.d.ts.map +1 -0
- package/common/entries/flow.entry.d.ts +3 -1
- package/common/entries/flow.entry.d.ts.map +1 -0
- package/common/entries/hook.entry.d.ts +7 -5
- package/common/entries/hook.entry.d.ts.map +1 -0
- package/common/entries/index.d.ts +2 -0
- package/common/entries/index.d.ts.map +1 -0
- package/common/entries/logger.entry.d.ts +1 -0
- package/common/entries/logger.entry.d.ts.map +1 -0
- package/common/entries/plugin.entry.d.ts +3 -1
- package/common/entries/plugin.entry.d.ts.map +1 -0
- package/common/entries/prompt.entry.d.ts +13 -0
- package/common/entries/prompt.entry.d.ts.map +1 -0
- package/common/entries/provider.entry.d.ts +5 -4
- package/common/entries/provider.entry.d.ts.map +1 -0
- package/common/entries/resource.entry.d.ts +7 -0
- package/common/entries/resource.entry.d.ts.map +1 -0
- package/common/entries/scope.entry.d.ts +3 -1
- package/common/entries/scope.entry.d.ts.map +1 -0
- package/common/entries/tool.entry.d.ts +17 -0
- package/common/entries/tool.entry.d.ts.map +1 -0
- package/common/flow/flow.utils.d.ts +1 -0
- package/common/flow/flow.utils.d.ts.map +1 -0
- package/common/index.d.ts +1 -1
- package/common/index.d.ts.map +1 -0
- package/common/interfaces/adapter.interface.d.ts +2 -1
- package/common/interfaces/adapter.interface.d.ts.map +1 -0
- package/common/interfaces/agent.interface.d.ts +255 -0
- package/common/interfaces/agent.interface.d.ts.map +1 -0
- package/common/interfaces/app.interface.d.ts +5 -3
- package/common/interfaces/app.interface.d.ts.map +1 -0
- package/common/interfaces/auth-hook.interface.d.ts +1 -0
- package/common/interfaces/auth-hook.interface.d.ts.map +1 -0
- package/common/interfaces/auth-provider.interface.d.ts +2 -1
- package/common/interfaces/auth-provider.interface.d.ts.map +1 -0
- package/common/interfaces/base.interface.d.ts +2 -77
- package/common/interfaces/base.interface.d.ts.map +1 -0
- package/common/interfaces/execution-context.interface.d.ts +2 -1
- package/common/interfaces/execution-context.interface.d.ts.map +1 -0
- package/common/interfaces/flow.interface.d.ts +2 -1
- package/common/interfaces/flow.interface.d.ts.map +1 -0
- package/common/interfaces/front-mcp.interface.d.ts +1 -0
- package/common/interfaces/front-mcp.interface.d.ts.map +1 -0
- package/common/interfaces/hook.interface.d.ts +2 -1
- package/common/interfaces/hook.interface.d.ts.map +1 -0
- package/common/interfaces/index.d.ts +4 -0
- package/common/interfaces/index.d.ts.map +1 -0
- package/common/interfaces/internal/flow.utils.d.ts +1 -0
- package/common/interfaces/internal/flow.utils.d.ts.map +1 -0
- package/common/interfaces/internal/index.d.ts +1 -0
- package/common/interfaces/internal/index.d.ts.map +1 -0
- package/common/interfaces/internal/primary-auth-provider.interface.d.ts +1 -0
- package/common/interfaces/internal/primary-auth-provider.interface.d.ts.map +1 -0
- package/common/interfaces/internal/registry.interface.d.ts +13 -3
- package/common/interfaces/internal/registry.interface.d.ts.map +1 -0
- package/common/interfaces/llm-adapter.interface.d.ts +221 -0
- package/common/interfaces/llm-adapter.interface.d.ts.map +1 -0
- package/common/interfaces/logger.interface.d.ts +7 -6
- package/common/interfaces/logger.interface.d.ts.map +1 -0
- package/common/interfaces/plugin.interface.d.ts +2 -1
- package/common/interfaces/plugin.interface.d.ts.map +1 -0
- package/common/interfaces/prompt.interface.d.ts +10 -2
- package/common/interfaces/prompt.interface.d.ts.map +1 -0
- package/common/interfaces/provider.interface.d.ts +2 -1
- package/common/interfaces/provider.interface.d.ts.map +1 -0
- package/common/interfaces/resource.interface.d.ts +12 -2
- package/common/interfaces/resource.interface.d.ts.map +1 -0
- package/common/interfaces/scope.interface.d.ts +3 -2
- package/common/interfaces/scope.interface.d.ts.map +1 -0
- package/common/interfaces/server.interface.d.ts +1 -0
- package/common/interfaces/server.interface.d.ts.map +1 -0
- package/common/interfaces/session-hook.interface.d.ts +1 -0
- package/common/interfaces/session-hook.interface.d.ts.map +1 -0
- package/common/interfaces/tool-hook.interface.d.ts +1 -0
- package/common/interfaces/tool-hook.interface.d.ts.map +1 -0
- package/common/interfaces/tool.interface.d.ts +52 -2
- package/common/interfaces/tool.interface.d.ts.map +1 -0
- package/common/metadata/adapter.metadata.d.ts +1 -0
- package/common/metadata/adapter.metadata.d.ts.map +1 -0
- package/common/metadata/agent.metadata.d.ts +398 -0
- package/common/metadata/agent.metadata.d.ts.map +1 -0
- package/common/metadata/app.metadata.d.ts +162 -16
- package/common/metadata/app.metadata.d.ts.map +1 -0
- package/common/metadata/auth-provider.metadata.d.ts +1 -0
- package/common/metadata/auth-provider.metadata.d.ts.map +1 -0
- package/common/metadata/flow.metadata.d.ts +5 -3
- package/common/metadata/flow.metadata.d.ts.map +1 -0
- package/common/metadata/front-mcp.metadata.d.ts +138 -46
- package/common/metadata/front-mcp.metadata.d.ts.map +1 -0
- package/common/metadata/hook.metadata.d.ts +2 -1
- package/common/metadata/hook.metadata.d.ts.map +1 -0
- package/common/metadata/index.d.ts +4 -0
- package/common/metadata/index.d.ts.map +1 -0
- package/common/metadata/logger.metadata.d.ts +1 -0
- package/common/metadata/logger.metadata.d.ts.map +1 -0
- package/common/metadata/plugin.metadata.d.ts +74 -7
- package/common/metadata/plugin.metadata.d.ts.map +1 -0
- package/common/metadata/prompt.metadata.d.ts +1 -0
- package/common/metadata/prompt.metadata.d.ts.map +1 -0
- package/common/metadata/provider.metadata.d.ts +5 -30
- package/common/metadata/provider.metadata.d.ts.map +1 -0
- package/common/metadata/resource.metadata.d.ts +1 -0
- package/common/metadata/resource.metadata.d.ts.map +1 -0
- package/common/metadata/tool-ui.metadata.d.ts +1 -0
- package/common/metadata/tool-ui.metadata.d.ts.map +1 -0
- package/common/metadata/tool.metadata.d.ts +1 -0
- package/common/metadata/tool.metadata.d.ts.map +1 -0
- package/common/migrate/auth-transport.migrate.d.ts +1 -0
- package/common/migrate/auth-transport.migrate.d.ts.map +1 -0
- package/common/migrate/index.d.ts +1 -0
- package/common/migrate/index.d.ts.map +1 -0
- package/common/providers/base-config.provider.d.ts +1 -0
- package/common/providers/base-config.provider.d.ts.map +1 -0
- package/common/records/adapter.record.d.ts +2 -1
- package/common/records/adapter.record.d.ts.map +1 -0
- package/common/records/agent.record.d.ts +89 -0
- package/common/records/agent.record.d.ts.map +1 -0
- package/common/records/app.record.d.ts +2 -1
- package/common/records/app.record.d.ts.map +1 -0
- package/common/records/auth-provider.record.d.ts +3 -1
- package/common/records/auth-provider.record.d.ts.map +1 -0
- package/common/records/flow.record.d.ts +1 -0
- package/common/records/flow.record.d.ts.map +1 -0
- package/common/records/hook.record.d.ts +1 -0
- package/common/records/hook.record.d.ts.map +1 -0
- package/common/records/index.d.ts +4 -0
- package/common/records/index.d.ts.map +1 -0
- package/common/records/logger.record.d.ts +4 -2
- package/common/records/logger.record.d.ts.map +1 -0
- package/common/records/plugin.record.d.ts +3 -1
- package/common/records/plugin.record.d.ts.map +1 -0
- package/common/records/prompt.record.d.ts +2 -1
- package/common/records/prompt.record.d.ts.map +1 -0
- package/common/records/provider.record.d.ts +2 -36
- package/common/records/provider.record.d.ts.map +1 -0
- package/common/records/resource.record.d.ts +2 -1
- package/common/records/resource.record.d.ts.map +1 -0
- package/common/records/scope.record.d.ts +2 -1
- package/common/records/scope.record.d.ts.map +1 -0
- package/common/records/tool.record.d.ts +3 -1
- package/common/records/tool.record.d.ts.map +1 -0
- package/common/schemas/annotated-class.schema.d.ts +4 -1
- package/common/schemas/annotated-class.schema.d.ts.map +1 -0
- package/common/schemas/http-input.schema.d.ts +1 -0
- package/common/schemas/http-input.schema.d.ts.map +1 -0
- package/common/schemas/http-output.schema.d.ts +1 -0
- package/common/schemas/http-output.schema.d.ts.map +1 -0
- package/common/schemas/index.d.ts +1 -0
- package/common/schemas/index.d.ts.map +1 -0
- package/common/schemas/session-header.schema.d.ts +1 -0
- package/common/schemas/session-header.schema.d.ts.map +1 -0
- package/common/tokens/adapter.tokens.d.ts +1 -0
- package/common/tokens/adapter.tokens.d.ts.map +1 -0
- package/common/tokens/agent.tokens.d.ts +33 -0
- package/common/tokens/agent.tokens.d.ts.map +1 -0
- package/common/tokens/app.tokens.d.ts +1 -0
- package/common/tokens/app.tokens.d.ts.map +1 -0
- package/common/tokens/auth-provider.tokens.d.ts +1 -0
- package/common/tokens/auth-provider.tokens.d.ts.map +1 -0
- package/common/tokens/base.tokens.d.ts +6 -4
- package/common/tokens/base.tokens.d.ts.map +1 -0
- package/common/tokens/flow-hook.tokens.d.ts +1 -0
- package/common/tokens/flow-hook.tokens.d.ts.map +1 -0
- package/common/tokens/flow.tokens.d.ts +1 -0
- package/common/tokens/flow.tokens.d.ts.map +1 -0
- package/common/tokens/front-mcp.tokens.d.ts +1 -0
- package/common/tokens/front-mcp.tokens.d.ts.map +1 -0
- package/common/tokens/index.d.ts +2 -0
- package/common/tokens/index.d.ts.map +1 -0
- package/common/tokens/logger.tokens.d.ts +1 -0
- package/common/tokens/logger.tokens.d.ts.map +1 -0
- package/common/tokens/plugin.tokens.d.ts +3 -0
- package/common/tokens/plugin.tokens.d.ts.map +1 -0
- package/common/tokens/prompt.tokens.d.ts +1 -0
- package/common/tokens/prompt.tokens.d.ts.map +1 -0
- package/common/tokens/provider.tokens.d.ts +1 -0
- package/common/tokens/provider.tokens.d.ts.map +1 -0
- package/common/tokens/resource.tokens.d.ts +1 -0
- package/common/tokens/resource.tokens.d.ts.map +1 -0
- package/common/tokens/server.tokens.d.ts +1 -0
- package/common/tokens/server.tokens.d.ts.map +1 -0
- package/common/tokens/tool.tokens.d.ts +1 -0
- package/common/tokens/tool.tokens.d.ts.map +1 -0
- package/common/types/auth/index.d.ts +1 -0
- package/common/types/auth/index.d.ts.map +1 -0
- package/common/types/auth/jwt.types.d.ts +1 -0
- package/common/types/auth/jwt.types.d.ts.map +1 -0
- package/common/types/auth/session.types.d.ts +1 -0
- package/common/types/auth/session.types.d.ts.map +1 -0
- package/common/types/common.types.d.ts +1 -0
- package/common/types/common.types.d.ts.map +1 -0
- package/common/types/index.d.ts +1 -0
- package/common/types/index.d.ts.map +1 -0
- package/common/types/options/auth/app-auth.schema.d.ts +1 -0
- package/common/types/options/auth/app-auth.schema.d.ts.map +1 -0
- package/common/types/options/auth/auth.interfaces.d.ts +1 -0
- package/common/types/options/auth/auth.interfaces.d.ts.map +1 -0
- package/common/types/options/auth/auth.schema.d.ts +1 -0
- package/common/types/options/auth/auth.schema.d.ts.map +1 -0
- package/common/types/options/auth/auth.typecheck.d.ts +1 -0
- package/common/types/options/auth/auth.typecheck.d.ts.map +1 -0
- package/common/types/options/auth/auth.utils.d.ts +1 -0
- package/common/types/options/auth/auth.utils.d.ts.map +1 -0
- package/common/types/options/auth/index.d.ts +1 -0
- package/common/types/options/auth/index.d.ts.map +1 -0
- package/common/types/options/auth/orchestrated.schema.d.ts +1 -0
- package/common/types/options/auth/orchestrated.schema.d.ts.map +1 -0
- package/common/types/options/auth/public.schema.d.ts +1 -0
- package/common/types/options/auth/public.schema.d.ts.map +1 -0
- package/common/types/options/auth/shared.schemas.d.ts +1 -0
- package/common/types/options/auth/shared.schemas.d.ts.map +1 -0
- package/common/types/options/auth/transparent.schema.d.ts +1 -0
- package/common/types/options/auth/transparent.schema.d.ts.map +1 -0
- package/common/types/options/auth/transport.deprecated.d.ts +1 -0
- package/common/types/options/auth/transport.deprecated.d.ts.map +1 -0
- package/common/types/options/http.options.d.ts +1 -0
- package/common/types/options/http.options.d.ts.map +1 -0
- package/common/types/options/index.d.ts +1 -0
- package/common/types/options/index.d.ts.map +1 -0
- package/common/types/options/logging.options.d.ts +2 -5
- package/common/types/options/logging.options.d.ts.map +1 -0
- package/common/types/options/redis.options.d.ts +1 -0
- package/common/types/options/redis.options.d.ts.map +1 -0
- package/common/types/options/server-info.options.d.ts +1 -0
- package/common/types/options/server-info.options.d.ts.map +1 -0
- package/common/types/options/session.options.d.ts +1 -0
- package/common/types/options/session.options.d.ts.map +1 -0
- package/common/types/options/transport.options.d.ts +25 -0
- package/common/types/options/transport.options.d.ts.map +1 -0
- package/common/utils/decide-request-intent.utils.d.ts +1 -0
- package/common/utils/decide-request-intent.utils.d.ts.map +1 -0
- package/common/utils/global-config.utils.d.ts +1 -0
- package/common/utils/global-config.utils.d.ts.map +1 -0
- package/common/utils/index.d.ts +1 -0
- package/common/utils/index.d.ts.map +1 -0
- package/common/utils/path.utils.d.ts +3 -4
- package/common/utils/path.utils.d.ts.map +1 -0
- package/completion/flows/complete.flow.d.ts +1 -0
- package/completion/flows/complete.flow.d.ts.map +1 -0
- package/context/context-extension.d.ts +52 -0
- package/context/context-extension.d.ts.map +1 -0
- package/context/frontmcp-context-storage.d.ts +1 -0
- package/context/frontmcp-context-storage.d.ts.map +1 -0
- package/context/frontmcp-context.d.ts +1 -0
- package/context/frontmcp-context.d.ts.map +1 -0
- package/context/frontmcp-context.provider.d.ts +3 -2
- package/context/frontmcp-context.provider.d.ts.map +1 -0
- package/context/index.d.ts +1 -0
- package/context/index.d.ts.map +1 -0
- package/context/request-context-storage.d.ts +1 -0
- package/context/request-context-storage.d.ts.map +1 -0
- package/context/request-context.d.ts +1 -0
- package/context/request-context.d.ts.map +1 -0
- package/context/request-context.provider.d.ts +1 -0
- package/context/request-context.provider.d.ts.map +1 -0
- package/context/session-key.provider.d.ts +1 -0
- package/context/session-key.provider.d.ts.map +1 -0
- package/context/trace-context.d.ts +1 -0
- package/context/trace-context.d.ts.map +1 -0
- package/errors/agent.errors.d.ts +80 -0
- package/errors/agent.errors.d.ts.map +1 -0
- package/errors/authorization-required.error.d.ts +1 -0
- package/errors/authorization-required.error.d.ts.map +1 -0
- package/errors/error-handler.d.ts +1 -0
- package/errors/error-handler.d.ts.map +1 -0
- package/errors/index.d.ts +4 -1
- package/errors/index.d.ts.map +1 -0
- package/errors/mcp.error.d.ts +31 -0
- package/errors/mcp.error.d.ts.map +1 -0
- package/errors/remote.errors.d.ts +156 -0
- package/errors/remote.errors.d.ts.map +1 -0
- package/esm/index.mjs +13968 -7053
- package/esm/package.json +12 -12
- package/flows/flow.instance.d.ts +1 -0
- package/flows/flow.instance.d.ts.map +1 -0
- package/flows/flow.registry.d.ts +3 -1
- package/flows/flow.registry.d.ts.map +1 -0
- package/flows/flow.stages.d.ts +1 -0
- package/flows/flow.stages.d.ts.map +1 -0
- package/flows/flow.utils.d.ts +3 -1
- package/flows/flow.utils.d.ts.map +1 -0
- package/front-mcp/front-mcp.d.ts +21 -1
- package/front-mcp/front-mcp.d.ts.map +1 -0
- package/front-mcp/front-mcp.providers.d.ts +42 -21
- package/front-mcp/front-mcp.providers.d.ts.map +1 -0
- package/front-mcp/front-mcp.tokens.d.ts +3 -1
- package/front-mcp/front-mcp.tokens.d.ts.map +1 -0
- package/front-mcp/index.d.ts +1 -0
- package/front-mcp/index.d.ts.map +1 -0
- package/front-mcp/serverless-handler.d.ts +1 -0
- package/front-mcp/serverless-handler.d.ts.map +1 -0
- package/hooks/hook.instance.d.ts +1 -0
- package/hooks/hook.instance.d.ts.map +1 -0
- package/hooks/hook.registry.d.ts +1 -0
- package/hooks/hook.registry.d.ts.map +1 -0
- package/hooks/hooks.utils.d.ts +3 -1
- package/hooks/hooks.utils.d.ts.map +1 -0
- package/index.d.ts +29 -20
- package/index.d.ts.map +1 -0
- package/index.js +14208 -7223
- package/logger/instances/instance.console-logger.d.ts +1 -0
- package/logger/instances/instance.console-logger.d.ts.map +1 -0
- package/logger/instances/instance.logger.d.ts +1 -0
- package/logger/instances/instance.logger.d.ts.map +1 -0
- package/logger/logger.registry.d.ts +1 -0
- package/logger/logger.registry.d.ts.map +1 -0
- package/logger/logger.tokens.d.ts +1 -0
- package/logger/logger.tokens.d.ts.map +1 -0
- package/logger/logger.types.d.ts +1 -0
- package/logger/logger.types.d.ts.map +1 -0
- package/logger/logger.utils.d.ts +3 -1
- package/logger/logger.utils.d.ts.map +1 -0
- package/logging/flows/set-level.flow.d.ts +1 -0
- package/logging/flows/set-level.flow.d.ts.map +1 -0
- package/notification/index.d.ts +1 -0
- package/notification/index.d.ts.map +1 -0
- package/notification/notification.service.d.ts +17 -4
- package/notification/notification.service.d.ts.map +1 -0
- package/package.json +12 -12
- package/plugin/plugin.registry.d.ts +25 -6
- package/plugin/plugin.registry.d.ts.map +1 -0
- package/plugin/plugin.utils.d.ts +3 -1
- package/plugin/plugin.utils.d.ts.map +1 -0
- package/prompt/flows/get-prompt.flow.d.ts +8 -1
- package/prompt/flows/get-prompt.flow.d.ts.map +1 -0
- package/prompt/flows/prompts-list.flow.d.ts +8 -1
- package/prompt/flows/prompts-list.flow.d.ts.map +1 -0
- package/prompt/index.d.ts +1 -0
- package/prompt/index.d.ts.map +1 -0
- package/prompt/prompt.events.d.ts +3 -2
- package/prompt/prompt.events.d.ts.map +1 -0
- package/prompt/prompt.instance.d.ts +7 -1
- package/prompt/prompt.instance.d.ts.map +1 -0
- package/prompt/prompt.registry.d.ts +32 -7
- package/prompt/prompt.registry.d.ts.map +1 -0
- package/prompt/prompt.types.d.ts +5 -4
- package/prompt/prompt.types.d.ts.map +1 -0
- package/prompt/prompt.utils.d.ts +3 -3
- package/prompt/prompt.utils.d.ts.map +1 -0
- package/provider/flow-context-providers.d.ts +24 -0
- package/provider/flow-context-providers.d.ts.map +1 -0
- package/provider/provider.registry.d.ts +26 -4
- package/provider/provider.registry.d.ts.map +1 -0
- package/provider/provider.types.d.ts +2 -1
- package/provider/provider.types.d.ts.map +1 -0
- package/provider/provider.utils.d.ts +21 -2
- package/provider/provider.utils.d.ts.map +1 -0
- package/regsitry/index.d.ts +1 -0
- package/regsitry/index.d.ts.map +1 -0
- package/regsitry/registry.base.d.ts +3 -1
- package/regsitry/registry.base.d.ts.map +1 -0
- package/remote-mcp/cache/capability-cache.d.ts +87 -0
- package/remote-mcp/cache/capability-cache.d.ts.map +1 -0
- package/remote-mcp/cache/index.d.ts +6 -0
- package/remote-mcp/cache/index.d.ts.map +1 -0
- package/remote-mcp/factories/context-factories.d.ts +43 -0
- package/remote-mcp/factories/context-factories.d.ts.map +1 -0
- package/remote-mcp/factories/index.d.ts +12 -0
- package/remote-mcp/factories/index.d.ts.map +1 -0
- package/remote-mcp/factories/instance-factories.d.ts +81 -0
- package/remote-mcp/factories/instance-factories.d.ts.map +1 -0
- package/remote-mcp/factories/record-builders.d.ts +50 -0
- package/remote-mcp/factories/record-builders.d.ts.map +1 -0
- package/remote-mcp/index.d.ts +14 -0
- package/remote-mcp/index.d.ts.map +1 -0
- package/remote-mcp/mcp-client.service.d.ts +169 -0
- package/remote-mcp/mcp-client.service.d.ts.map +1 -0
- package/remote-mcp/mcp-client.types.d.ts +298 -0
- package/remote-mcp/mcp-client.types.d.ts.map +1 -0
- package/remote-mcp/resilience/circuit-breaker.d.ts +100 -0
- package/remote-mcp/resilience/circuit-breaker.d.ts.map +1 -0
- package/remote-mcp/resilience/health-check.d.ts +107 -0
- package/remote-mcp/resilience/health-check.d.ts.map +1 -0
- package/remote-mcp/resilience/index.d.ts +8 -0
- package/remote-mcp/resilience/index.d.ts.map +1 -0
- package/remote-mcp/resilience/retry.d.ts +37 -0
- package/remote-mcp/resilience/retry.d.ts.map +1 -0
- package/resource/flows/read-resource.flow.d.ts +8 -1
- package/resource/flows/read-resource.flow.d.ts.map +1 -0
- package/resource/flows/resource-templates-list.flow.d.ts +8 -1
- package/resource/flows/resource-templates-list.flow.d.ts.map +1 -0
- package/resource/flows/resources-list.flow.d.ts +8 -1
- package/resource/flows/resources-list.flow.d.ts.map +1 -0
- package/resource/flows/subscribe-resource.flow.d.ts +1 -0
- package/resource/flows/subscribe-resource.flow.d.ts.map +1 -0
- package/resource/flows/unsubscribe-resource.flow.d.ts +1 -0
- package/resource/flows/unsubscribe-resource.flow.d.ts.map +1 -0
- package/resource/index.d.ts +1 -0
- package/resource/index.d.ts.map +1 -0
- package/resource/resource.events.d.ts +3 -2
- package/resource/resource.events.d.ts.map +1 -0
- package/resource/resource.instance.d.ts +1 -0
- package/resource/resource.instance.d.ts.map +1 -0
- package/resource/resource.registry.d.ts +33 -8
- package/resource/resource.registry.d.ts.map +1 -0
- package/resource/resource.types.d.ts +5 -4
- package/resource/resource.types.d.ts.map +1 -0
- package/resource/resource.utils.d.ts +3 -5
- package/resource/resource.utils.d.ts.map +1 -0
- package/scope/flows/http.request.flow.d.ts +1 -0
- package/scope/flows/http.request.flow.d.ts.map +1 -0
- package/scope/index.d.ts +1 -0
- package/scope/index.d.ts.map +1 -0
- package/scope/scope.instance.d.ts +7 -0
- package/scope/scope.instance.d.ts.map +1 -0
- package/scope/scope.registry.d.ts +6 -0
- package/scope/scope.registry.d.ts.map +1 -0
- package/scope/scope.utils.d.ts +3 -1
- package/scope/scope.utils.d.ts.map +1 -0
- package/server/adapters/base.host.adapter.d.ts +1 -0
- package/server/adapters/base.host.adapter.d.ts.map +1 -0
- package/server/adapters/express.host.adapter.d.ts +1 -0
- package/server/adapters/express.host.adapter.d.ts.map +1 -0
- package/server/server.instance.d.ts +1 -0
- package/server/server.instance.d.ts.map +1 -0
- package/server/server.types.d.ts +1 -0
- package/server/server.types.d.ts.map +1 -0
- package/server/server.validation.d.ts +1 -0
- package/server/server.validation.d.ts.map +1 -0
- package/store/adapters/store.base.adapter.d.ts +1 -0
- package/store/adapters/store.base.adapter.d.ts.map +1 -0
- package/store/adapters/store.memory.adapter.d.ts +1 -0
- package/store/adapters/store.memory.adapter.d.ts.map +1 -0
- package/store/adapters/store.redis.adapter.d.ts +1 -0
- package/store/adapters/store.redis.adapter.d.ts.map +1 -0
- package/store/adapters/store.vercel-kv.adapter.d.ts +1 -0
- package/store/adapters/store.vercel-kv.adapter.d.ts.map +1 -0
- package/store/index.d.ts +1 -0
- package/store/index.d.ts.map +1 -0
- package/store/store.factory.d.ts +1 -0
- package/store/store.factory.d.ts.map +1 -0
- package/store/store.helpers.d.ts +1 -0
- package/store/store.helpers.d.ts.map +1 -0
- package/store/store.registry.d.ts +1 -0
- package/store/store.registry.d.ts.map +1 -0
- package/store/store.tokens.d.ts +1 -0
- package/store/store.tokens.d.ts.map +1 -0
- package/store/store.types.d.ts +1 -0
- package/store/store.types.d.ts.map +1 -0
- package/store/store.utils.d.ts +1 -0
- package/store/store.utils.d.ts.map +1 -0
- package/tool/flows/call-tool.flow.d.ts +9 -1
- package/tool/flows/call-tool.flow.d.ts.map +1 -0
- package/tool/flows/tools-list.flow.d.ts +8 -1
- package/tool/flows/tools-list.flow.d.ts.map +1 -0
- package/tool/tool.events.d.ts +3 -2
- package/tool/tool.events.d.ts.map +1 -0
- package/tool/tool.instance.d.ts +18 -1
- package/tool/tool.instance.d.ts.map +1 -0
- package/tool/tool.registry.d.ts +57 -5
- package/tool/tool.registry.d.ts.map +1 -0
- package/tool/tool.types.d.ts +5 -4
- package/tool/tool.types.d.ts.map +1 -0
- package/tool/tool.utils.d.ts +20 -3
- package/tool/tool.utils.d.ts.map +1 -0
- package/tool/ui/index.d.ts +1 -0
- package/tool/ui/index.d.ts.map +1 -0
- package/tool/ui/platform-adapters.d.ts +1 -0
- package/tool/ui/platform-adapters.d.ts.map +1 -0
- package/tool/ui/template-helpers.d.ts +1 -0
- package/tool/ui/template-helpers.d.ts.map +1 -0
- package/tool/ui/ui-resource-template.d.ts +1 -0
- package/tool/ui/ui-resource-template.d.ts.map +1 -0
- package/tool/ui/ui-resource.handler.d.ts +1 -0
- package/tool/ui/ui-resource.handler.d.ts.map +1 -0
- package/transport/adapters/sse-transport.d.ts +1 -0
- package/transport/adapters/sse-transport.d.ts.map +1 -0
- package/transport/adapters/streamable-http-transport.d.ts +27 -0
- package/transport/adapters/streamable-http-transport.d.ts.map +1 -0
- package/transport/adapters/transport.local.adapter.d.ts +12 -0
- package/transport/adapters/transport.local.adapter.d.ts.map +1 -0
- package/transport/adapters/transport.sse.adapter.d.ts +1 -0
- package/transport/adapters/transport.sse.adapter.d.ts.map +1 -0
- package/transport/adapters/transport.streamable-http.adapter.d.ts +1 -0
- package/transport/adapters/transport.streamable-http.adapter.d.ts.map +1 -0
- package/transport/flows/handle.sse.flow.d.ts +1 -0
- package/transport/flows/handle.sse.flow.d.ts.map +1 -0
- package/transport/flows/handle.stateless-http.flow.d.ts +1 -0
- package/transport/flows/handle.stateless-http.flow.d.ts.map +1 -0
- package/transport/flows/handle.streamable-http.flow.d.ts +1 -0
- package/transport/flows/handle.streamable-http.flow.d.ts.map +1 -0
- package/transport/index.d.ts +1 -0
- package/transport/index.d.ts.map +1 -0
- package/transport/legacy/legacy.sse.tranporter.d.ts +1 -0
- package/transport/legacy/legacy.sse.tranporter.d.ts.map +1 -0
- package/transport/mcp-handlers/Initialized-notification.hanlder.d.ts +1 -0
- package/transport/mcp-handlers/Initialized-notification.hanlder.d.ts.map +1 -0
- package/transport/mcp-handlers/call-tool-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/call-tool-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/complete-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/complete-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/get-prompt-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/get-prompt-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/index.d.ts +2 -1
- package/transport/mcp-handlers/index.d.ts.map +1 -0
- package/transport/mcp-handlers/initialize-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/initialize-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/list-prompts-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/list-prompts-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/list-resources-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/list-resources-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/list-tools-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/list-tools-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/logging-set-level-request.handler.d.ts +2 -1
- package/transport/mcp-handlers/logging-set-level-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/mcp-handlers.types.d.ts +1 -0
- package/transport/mcp-handlers/mcp-handlers.types.d.ts.map +1 -0
- package/transport/mcp-handlers/read-resource-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/read-resource-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/roots-list-changed-notification.handler.d.ts +1 -0
- package/transport/mcp-handlers/roots-list-changed-notification.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/subscribe-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/subscribe-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/unsubscribe-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/unsubscribe-request.handler.d.ts.map +1 -0
- package/transport/transport.error.d.ts +1 -0
- package/transport/transport.error.d.ts.map +1 -0
- package/transport/transport.event-store.d.ts +1 -0
- package/transport/transport.event-store.d.ts.map +1 -0
- package/transport/transport.local.d.ts +1 -0
- package/transport/transport.local.d.ts.map +1 -0
- package/transport/transport.registry.d.ts +1 -0
- package/transport/transport.registry.d.ts.map +1 -0
- package/transport/transport.remote.d.ts +1 -0
- package/transport/transport.remote.d.ts.map +1 -0
- package/transport/transport.types.d.ts +2 -1
- package/transport/transport.types.d.ts.map +1 -0
- package/types/drinen-hooks.types.d.ts +1 -0
- package/types/drinen-hooks.types.d.ts.map +1 -0
- package/types/invoke.type.d.ts +1 -0
- package/types/invoke.type.d.ts.map +1 -0
- package/types/token.types.d.ts +1 -0
- package/types/token.types.d.ts.map +1 -0
- package/{utils/types.utils.d.ts → types/zod.types.d.ts} +1 -0
- package/types/zod.types.d.ts.map +1 -0
- package/utils/content.utils.d.ts +1 -19
- package/utils/content.utils.d.ts.map +1 -0
- package/utils/index.d.ts +3 -7
- package/utils/index.d.ts.map +1 -0
- package/utils/lineage.utils.d.ts +1 -0
- package/utils/lineage.utils.d.ts.map +1 -0
- package/utils/naming.utils.d.ts +2 -34
- package/utils/naming.utils.d.ts.map +1 -0
- package/common/constants.d.ts +0 -5
- package/esm/mcp-apps/index.mjs +0 -723
- package/exceptions/mcp-exceptions/session-missing.exception.d.ts +0 -3
- package/exceptions/mcp-exceptions/unsupported-client-version.exception.d.ts +0 -5
- package/mcp-apps/csp.d.ts +0 -111
- package/mcp-apps/index.d.ts +0 -23
- package/mcp-apps/index.js +0 -799
- package/mcp-apps/schemas.d.ts +0 -403
- package/mcp-apps/template.d.ts +0 -94
- package/mcp-apps/types.d.ts +0 -323
- package/utils/metadata.utils.d.ts +0 -5
- package/utils/server.utils.d.ts +0 -19
- package/utils/string.utils.d.ts +0 -1
- package/utils/token.utils.d.ts +0 -11
- package/utils/uri-template.utils.d.ts +0 -57
- package/utils/uri-validation.utils.d.ts +0 -40
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { AuthOptions, SessionOptions, ServerInfoOptions, HttpOptions, LoggingOptions, AuthOptionsInput, RedisOptionsInput, PubsubOptionsInput, TransportOptionsInput } from '../types';
|
|
3
|
-
import { AppType, ProviderType, ResourceType, ToolType } from '../interfaces';
|
|
3
|
+
import { AppType, PluginType, ProviderType, ResourceType, ToolType } from '../interfaces';
|
|
4
4
|
export interface FrontMcpBaseMetadata {
|
|
5
5
|
info: ServerInfoOptions;
|
|
6
6
|
apps: AppType[];
|
|
@@ -43,6 +43,12 @@ export interface FrontMcpBaseMetadata {
|
|
|
43
43
|
* These are merged (additively) with app-specific resources.
|
|
44
44
|
*/
|
|
45
45
|
resources?: ResourceType[];
|
|
46
|
+
/**
|
|
47
|
+
* Server-level plugins that are instantiated per scope.
|
|
48
|
+
* Each scope gets its own instance of these plugins.
|
|
49
|
+
* These plugins have server-wide access (can see all apps in scope).
|
|
50
|
+
*/
|
|
51
|
+
plugins?: PluginType[];
|
|
46
52
|
}
|
|
47
53
|
export declare const frontMcpBaseSchema: z.ZodObject<{
|
|
48
54
|
info: z.ZodObject<{
|
|
@@ -60,10 +66,11 @@ export declare const frontMcpBaseSchema: z.ZodObject<{
|
|
|
60
66
|
}>>;
|
|
61
67
|
}, z.core.$strip>>>;
|
|
62
68
|
}, z.core.$strip>;
|
|
63
|
-
providers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
64
|
-
tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
65
|
-
resources: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
66
|
-
|
|
69
|
+
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>>>>>;
|
|
70
|
+
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>>>>>;
|
|
71
|
+
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>>>>>;
|
|
72
|
+
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>>>>>;
|
|
73
|
+
apps: z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>;
|
|
67
74
|
serve: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
68
75
|
http: z.ZodOptional<z.ZodObject<{
|
|
69
76
|
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -217,6 +224,10 @@ export declare const frontMcpBaseSchema: z.ZodObject<{
|
|
|
217
224
|
}>>]>>;
|
|
218
225
|
defaultTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
219
226
|
}, z.core.$strip>>;
|
|
227
|
+
distributed: z.ZodOptional<z.ZodObject<{
|
|
228
|
+
enabled: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"auto">]>>;
|
|
229
|
+
providerCaching: z.ZodOptional<z.ZodBoolean>;
|
|
230
|
+
}, z.core.$strip>>;
|
|
220
231
|
}, z.core.$strip>>, z.ZodTransform<{
|
|
221
232
|
sessionMode: "stateful" | "stateless" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
222
233
|
transportIdMode: "uuid" | "jwt" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
@@ -262,6 +273,10 @@ export declare const frontMcpBaseSchema: z.ZodObject<{
|
|
|
262
273
|
token?: string | undefined;
|
|
263
274
|
} | undefined;
|
|
264
275
|
} | undefined;
|
|
276
|
+
distributed?: {
|
|
277
|
+
enabled: boolean | "auto";
|
|
278
|
+
providerCaching?: boolean | undefined;
|
|
279
|
+
} | undefined;
|
|
265
280
|
}, {
|
|
266
281
|
sessionMode: "stateful" | "stateless" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
267
282
|
transportIdMode: "uuid" | "jwt" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
@@ -307,6 +322,10 @@ export declare const frontMcpBaseSchema: z.ZodObject<{
|
|
|
307
322
|
token?: string | undefined;
|
|
308
323
|
} | undefined;
|
|
309
324
|
} | undefined;
|
|
325
|
+
distributed?: {
|
|
326
|
+
enabled: boolean | "auto";
|
|
327
|
+
providerCaching?: boolean | undefined;
|
|
328
|
+
} | undefined;
|
|
310
329
|
} | undefined>>;
|
|
311
330
|
session: z.ZodOptional<z.ZodObject<{
|
|
312
331
|
sessionMode: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"stateful">, z.ZodLiteral<"stateless">, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>>>;
|
|
@@ -333,7 +352,7 @@ export declare const frontMcpBaseSchema: z.ZodObject<{
|
|
|
333
352
|
level: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof import("../types").LogLevel>>>;
|
|
334
353
|
prefix: z.ZodOptional<z.ZodString>;
|
|
335
354
|
enableConsole: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
336
|
-
transports: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
355
|
+
transports: 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>>>>>;
|
|
337
356
|
}, z.core.$strip>>;
|
|
338
357
|
}, z.core.$strip>;
|
|
339
358
|
export interface FrontMcpMultiAppMetadata extends FrontMcpBaseMetadata {
|
|
@@ -356,10 +375,11 @@ declare const frontMcpMultiAppSchema: z.ZodObject<{
|
|
|
356
375
|
}>>;
|
|
357
376
|
}, z.core.$strip>>>;
|
|
358
377
|
}, z.core.$strip>;
|
|
359
|
-
providers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
360
|
-
tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
361
|
-
resources: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
362
|
-
|
|
378
|
+
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>>>>>;
|
|
379
|
+
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>>>>>;
|
|
380
|
+
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>>>>>;
|
|
381
|
+
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>>>>>;
|
|
382
|
+
apps: z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>;
|
|
363
383
|
serve: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
364
384
|
http: z.ZodOptional<z.ZodObject<{
|
|
365
385
|
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -513,6 +533,10 @@ declare const frontMcpMultiAppSchema: z.ZodObject<{
|
|
|
513
533
|
}>>]>>;
|
|
514
534
|
defaultTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
515
535
|
}, z.core.$strip>>;
|
|
536
|
+
distributed: z.ZodOptional<z.ZodObject<{
|
|
537
|
+
enabled: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"auto">]>>;
|
|
538
|
+
providerCaching: z.ZodOptional<z.ZodBoolean>;
|
|
539
|
+
}, z.core.$strip>>;
|
|
516
540
|
}, z.core.$strip>>, z.ZodTransform<{
|
|
517
541
|
sessionMode: "stateful" | "stateless" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
518
542
|
transportIdMode: "uuid" | "jwt" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
@@ -558,6 +582,10 @@ declare const frontMcpMultiAppSchema: z.ZodObject<{
|
|
|
558
582
|
token?: string | undefined;
|
|
559
583
|
} | undefined;
|
|
560
584
|
} | undefined;
|
|
585
|
+
distributed?: {
|
|
586
|
+
enabled: boolean | "auto";
|
|
587
|
+
providerCaching?: boolean | undefined;
|
|
588
|
+
} | undefined;
|
|
561
589
|
}, {
|
|
562
590
|
sessionMode: "stateful" | "stateless" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
563
591
|
transportIdMode: "uuid" | "jwt" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
@@ -603,6 +631,10 @@ declare const frontMcpMultiAppSchema: z.ZodObject<{
|
|
|
603
631
|
token?: string | undefined;
|
|
604
632
|
} | undefined;
|
|
605
633
|
} | undefined;
|
|
634
|
+
distributed?: {
|
|
635
|
+
enabled: boolean | "auto";
|
|
636
|
+
providerCaching?: boolean | undefined;
|
|
637
|
+
} | undefined;
|
|
606
638
|
} | undefined>>;
|
|
607
639
|
session: z.ZodOptional<z.ZodObject<{
|
|
608
640
|
sessionMode: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"stateful">, z.ZodLiteral<"stateless">, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>>>;
|
|
@@ -629,7 +661,7 @@ declare const frontMcpMultiAppSchema: z.ZodObject<{
|
|
|
629
661
|
level: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof import("../types").LogLevel>>>;
|
|
630
662
|
prefix: z.ZodOptional<z.ZodString>;
|
|
631
663
|
enableConsole: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
632
|
-
transports: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
664
|
+
transports: 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>>>>>;
|
|
633
665
|
}, z.core.$strip>>;
|
|
634
666
|
splitByApp: z.ZodDefault<z.ZodLiteral<false>>;
|
|
635
667
|
auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -917,10 +949,11 @@ declare const frontMcpSplitByAppSchema: z.ZodObject<{
|
|
|
917
949
|
}>>;
|
|
918
950
|
}, z.core.$strip>>>;
|
|
919
951
|
}, z.core.$strip>;
|
|
920
|
-
providers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
921
|
-
tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
922
|
-
resources: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
923
|
-
|
|
952
|
+
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>>>>>;
|
|
953
|
+
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>>>>>;
|
|
954
|
+
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>>>>>;
|
|
955
|
+
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>>>>>;
|
|
956
|
+
apps: z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>;
|
|
924
957
|
serve: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
925
958
|
http: z.ZodOptional<z.ZodObject<{
|
|
926
959
|
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1074,6 +1107,10 @@ declare const frontMcpSplitByAppSchema: z.ZodObject<{
|
|
|
1074
1107
|
}>>]>>;
|
|
1075
1108
|
defaultTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
1076
1109
|
}, z.core.$strip>>;
|
|
1110
|
+
distributed: z.ZodOptional<z.ZodObject<{
|
|
1111
|
+
enabled: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"auto">]>>;
|
|
1112
|
+
providerCaching: z.ZodOptional<z.ZodBoolean>;
|
|
1113
|
+
}, z.core.$strip>>;
|
|
1077
1114
|
}, z.core.$strip>>, z.ZodTransform<{
|
|
1078
1115
|
sessionMode: "stateful" | "stateless" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
1079
1116
|
transportIdMode: "uuid" | "jwt" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
@@ -1119,6 +1156,10 @@ declare const frontMcpSplitByAppSchema: z.ZodObject<{
|
|
|
1119
1156
|
token?: string | undefined;
|
|
1120
1157
|
} | undefined;
|
|
1121
1158
|
} | undefined;
|
|
1159
|
+
distributed?: {
|
|
1160
|
+
enabled: boolean | "auto";
|
|
1161
|
+
providerCaching?: boolean | undefined;
|
|
1162
|
+
} | undefined;
|
|
1122
1163
|
}, {
|
|
1123
1164
|
sessionMode: "stateful" | "stateless" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
1124
1165
|
transportIdMode: "uuid" | "jwt" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
@@ -1164,6 +1205,10 @@ declare const frontMcpSplitByAppSchema: z.ZodObject<{
|
|
|
1164
1205
|
token?: string | undefined;
|
|
1165
1206
|
} | undefined;
|
|
1166
1207
|
} | undefined;
|
|
1208
|
+
distributed?: {
|
|
1209
|
+
enabled: boolean | "auto";
|
|
1210
|
+
providerCaching?: boolean | undefined;
|
|
1211
|
+
} | undefined;
|
|
1167
1212
|
} | undefined>>;
|
|
1168
1213
|
session: z.ZodOptional<z.ZodObject<{
|
|
1169
1214
|
sessionMode: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"stateful">, z.ZodLiteral<"stateless">, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>>>;
|
|
@@ -1190,7 +1235,7 @@ declare const frontMcpSplitByAppSchema: z.ZodObject<{
|
|
|
1190
1235
|
level: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof import("../types").LogLevel>>>;
|
|
1191
1236
|
prefix: z.ZodOptional<z.ZodString>;
|
|
1192
1237
|
enableConsole: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1193
|
-
transports: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
1238
|
+
transports: 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>>>>>;
|
|
1194
1239
|
}, z.core.$strip>>;
|
|
1195
1240
|
splitByApp: z.ZodLiteral<true>;
|
|
1196
1241
|
auth: z.ZodOptional<z.ZodNever>;
|
|
@@ -1212,10 +1257,11 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
1212
1257
|
}>>;
|
|
1213
1258
|
}, z.core.$strip>>>;
|
|
1214
1259
|
}, z.core.$strip>;
|
|
1215
|
-
providers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
1216
|
-
tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
1217
|
-
resources: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
1218
|
-
|
|
1260
|
+
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>>>>>;
|
|
1261
|
+
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>>>>>;
|
|
1262
|
+
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>>>>>;
|
|
1263
|
+
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>>>>>;
|
|
1264
|
+
apps: z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>;
|
|
1219
1265
|
serve: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1220
1266
|
http: z.ZodOptional<z.ZodObject<{
|
|
1221
1267
|
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1369,6 +1415,10 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
1369
1415
|
}>>]>>;
|
|
1370
1416
|
defaultTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
1371
1417
|
}, z.core.$strip>>;
|
|
1418
|
+
distributed: z.ZodOptional<z.ZodObject<{
|
|
1419
|
+
enabled: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"auto">]>>;
|
|
1420
|
+
providerCaching: z.ZodOptional<z.ZodBoolean>;
|
|
1421
|
+
}, z.core.$strip>>;
|
|
1372
1422
|
}, z.core.$strip>>, z.ZodTransform<{
|
|
1373
1423
|
sessionMode: "stateful" | "stateless" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
1374
1424
|
transportIdMode: "uuid" | "jwt" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
@@ -1414,6 +1464,10 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
1414
1464
|
token?: string | undefined;
|
|
1415
1465
|
} | undefined;
|
|
1416
1466
|
} | undefined;
|
|
1467
|
+
distributed?: {
|
|
1468
|
+
enabled: boolean | "auto";
|
|
1469
|
+
providerCaching?: boolean | undefined;
|
|
1470
|
+
} | undefined;
|
|
1417
1471
|
}, {
|
|
1418
1472
|
sessionMode: "stateful" | "stateless" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
1419
1473
|
transportIdMode: "uuid" | "jwt" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
@@ -1459,6 +1513,10 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
1459
1513
|
token?: string | undefined;
|
|
1460
1514
|
} | undefined;
|
|
1461
1515
|
} | undefined;
|
|
1516
|
+
distributed?: {
|
|
1517
|
+
enabled: boolean | "auto";
|
|
1518
|
+
providerCaching?: boolean | undefined;
|
|
1519
|
+
} | undefined;
|
|
1462
1520
|
} | undefined>>;
|
|
1463
1521
|
session: z.ZodOptional<z.ZodObject<{
|
|
1464
1522
|
sessionMode: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"stateful">, z.ZodLiteral<"stateless">, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>>>;
|
|
@@ -1485,7 +1543,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
1485
1543
|
level: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof import("../types").LogLevel>>>;
|
|
1486
1544
|
prefix: z.ZodOptional<z.ZodString>;
|
|
1487
1545
|
enableConsole: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1488
|
-
transports: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
1546
|
+
transports: 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>>>>>;
|
|
1489
1547
|
}, z.core.$strip>>;
|
|
1490
1548
|
splitByApp: z.ZodDefault<z.ZodLiteral<false>>;
|
|
1491
1549
|
auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1768,10 +1826,11 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
1768
1826
|
}>>;
|
|
1769
1827
|
}, z.core.$strip>>>;
|
|
1770
1828
|
}, z.core.$strip>;
|
|
1771
|
-
providers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
1772
|
-
tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
1773
|
-
resources: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
1774
|
-
|
|
1829
|
+
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>>>>>;
|
|
1830
|
+
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>>>>>;
|
|
1831
|
+
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>>>>>;
|
|
1832
|
+
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>>>>>;
|
|
1833
|
+
apps: z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>;
|
|
1775
1834
|
serve: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1776
1835
|
http: z.ZodOptional<z.ZodObject<{
|
|
1777
1836
|
port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1925,6 +1984,10 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
1925
1984
|
}>>]>>;
|
|
1926
1985
|
defaultTtlMs: z.ZodDefault<z.ZodNumber>;
|
|
1927
1986
|
}, z.core.$strip>>;
|
|
1987
|
+
distributed: z.ZodOptional<z.ZodObject<{
|
|
1988
|
+
enabled: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"auto">]>>;
|
|
1989
|
+
providerCaching: z.ZodOptional<z.ZodBoolean>;
|
|
1990
|
+
}, z.core.$strip>>;
|
|
1928
1991
|
}, z.core.$strip>>, z.ZodTransform<{
|
|
1929
1992
|
sessionMode: "stateful" | "stateless" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
1930
1993
|
transportIdMode: "uuid" | "jwt" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
@@ -1970,6 +2033,10 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
1970
2033
|
token?: string | undefined;
|
|
1971
2034
|
} | undefined;
|
|
1972
2035
|
} | undefined;
|
|
2036
|
+
distributed?: {
|
|
2037
|
+
enabled: boolean | "auto";
|
|
2038
|
+
providerCaching?: boolean | undefined;
|
|
2039
|
+
} | undefined;
|
|
1973
2040
|
}, {
|
|
1974
2041
|
sessionMode: "stateful" | "stateless" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
1975
2042
|
transportIdMode: "uuid" | "jwt" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
@@ -2015,6 +2082,10 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2015
2082
|
token?: string | undefined;
|
|
2016
2083
|
} | undefined;
|
|
2017
2084
|
} | undefined;
|
|
2085
|
+
distributed?: {
|
|
2086
|
+
enabled: boolean | "auto";
|
|
2087
|
+
providerCaching?: boolean | undefined;
|
|
2088
|
+
} | undefined;
|
|
2018
2089
|
} | undefined>>;
|
|
2019
2090
|
session: z.ZodOptional<z.ZodObject<{
|
|
2020
2091
|
sessionMode: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"stateful">, z.ZodLiteral<"stateless">, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>>>;
|
|
@@ -2041,7 +2112,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2041
2112
|
level: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof import("../types").LogLevel>>>;
|
|
2042
2113
|
prefix: z.ZodOptional<z.ZodString>;
|
|
2043
2114
|
enableConsole: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2044
|
-
transports: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
2115
|
+
transports: 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>>>>>;
|
|
2045
2116
|
}, z.core.$strip>>;
|
|
2046
2117
|
splitByApp: z.ZodLiteral<true>;
|
|
2047
2118
|
auth: z.ZodOptional<z.ZodNever>;
|
|
@@ -2058,10 +2129,11 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2058
2129
|
theme?: "light" | "dark" | undefined;
|
|
2059
2130
|
}[] | undefined;
|
|
2060
2131
|
};
|
|
2061
|
-
providers: import("
|
|
2062
|
-
tools: import("
|
|
2063
|
-
resources: import("
|
|
2064
|
-
|
|
2132
|
+
providers: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2133
|
+
tools: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2134
|
+
resources: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2135
|
+
plugins: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2136
|
+
apps: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2065
2137
|
serve: boolean;
|
|
2066
2138
|
transport: {
|
|
2067
2139
|
sessionMode: "stateful" | "stateless" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
@@ -2108,6 +2180,10 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2108
2180
|
token?: string | undefined;
|
|
2109
2181
|
} | undefined;
|
|
2110
2182
|
} | undefined;
|
|
2183
|
+
distributed?: {
|
|
2184
|
+
enabled: boolean | "auto";
|
|
2185
|
+
providerCaching?: boolean | undefined;
|
|
2186
|
+
} | undefined;
|
|
2111
2187
|
};
|
|
2112
2188
|
splitByApp: false;
|
|
2113
2189
|
http?: {
|
|
@@ -2173,7 +2249,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2173
2249
|
logging?: {
|
|
2174
2250
|
level: import("../types").LogLevel;
|
|
2175
2251
|
enableConsole: boolean;
|
|
2176
|
-
transports: import("
|
|
2252
|
+
transports: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2177
2253
|
prefix?: string | undefined;
|
|
2178
2254
|
} | undefined;
|
|
2179
2255
|
auth?: {
|
|
@@ -2441,10 +2517,11 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2441
2517
|
theme?: "light" | "dark" | undefined;
|
|
2442
2518
|
}[] | undefined;
|
|
2443
2519
|
};
|
|
2444
|
-
providers: import("
|
|
2445
|
-
tools: import("
|
|
2446
|
-
resources: import("
|
|
2447
|
-
|
|
2520
|
+
providers: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2521
|
+
tools: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2522
|
+
resources: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2523
|
+
plugins: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2524
|
+
apps: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2448
2525
|
serve: boolean;
|
|
2449
2526
|
transport: {
|
|
2450
2527
|
sessionMode: "stateful" | "stateless" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
@@ -2491,6 +2568,10 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2491
2568
|
token?: string | undefined;
|
|
2492
2569
|
} | undefined;
|
|
2493
2570
|
} | undefined;
|
|
2571
|
+
distributed?: {
|
|
2572
|
+
enabled: boolean | "auto";
|
|
2573
|
+
providerCaching?: boolean | undefined;
|
|
2574
|
+
} | undefined;
|
|
2494
2575
|
};
|
|
2495
2576
|
splitByApp: true;
|
|
2496
2577
|
http?: {
|
|
@@ -2556,7 +2637,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2556
2637
|
logging?: {
|
|
2557
2638
|
level: import("../types").LogLevel;
|
|
2558
2639
|
enableConsole: boolean;
|
|
2559
|
-
transports: import("
|
|
2640
|
+
transports: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2560
2641
|
prefix?: string | undefined;
|
|
2561
2642
|
} | undefined;
|
|
2562
2643
|
auth?: undefined;
|
|
@@ -2573,10 +2654,11 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2573
2654
|
theme?: "light" | "dark" | undefined;
|
|
2574
2655
|
}[] | undefined;
|
|
2575
2656
|
};
|
|
2576
|
-
providers: import("
|
|
2577
|
-
tools: import("
|
|
2578
|
-
resources: import("
|
|
2579
|
-
|
|
2657
|
+
providers: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2658
|
+
tools: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2659
|
+
resources: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2660
|
+
plugins: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2661
|
+
apps: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2580
2662
|
serve: boolean;
|
|
2581
2663
|
transport: {
|
|
2582
2664
|
sessionMode: "stateful" | "stateless" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
@@ -2623,6 +2705,10 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2623
2705
|
token?: string | undefined;
|
|
2624
2706
|
} | undefined;
|
|
2625
2707
|
} | undefined;
|
|
2708
|
+
distributed?: {
|
|
2709
|
+
enabled: boolean | "auto";
|
|
2710
|
+
providerCaching?: boolean | undefined;
|
|
2711
|
+
} | undefined;
|
|
2626
2712
|
};
|
|
2627
2713
|
splitByApp: false;
|
|
2628
2714
|
http?: {
|
|
@@ -2688,7 +2774,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2688
2774
|
logging?: {
|
|
2689
2775
|
level: import("../types").LogLevel;
|
|
2690
2776
|
enableConsole: boolean;
|
|
2691
|
-
transports: import("
|
|
2777
|
+
transports: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2692
2778
|
prefix?: string | undefined;
|
|
2693
2779
|
} | undefined;
|
|
2694
2780
|
auth?: {
|
|
@@ -2956,10 +3042,11 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
2956
3042
|
theme?: "light" | "dark" | undefined;
|
|
2957
3043
|
}[] | undefined;
|
|
2958
3044
|
};
|
|
2959
|
-
providers: import("
|
|
2960
|
-
tools: import("
|
|
2961
|
-
resources: import("
|
|
2962
|
-
|
|
3045
|
+
providers: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
3046
|
+
tools: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
3047
|
+
resources: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
3048
|
+
plugins: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
3049
|
+
apps: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
2963
3050
|
serve: boolean;
|
|
2964
3051
|
transport: {
|
|
2965
3052
|
sessionMode: "stateful" | "stateless" | z.core.$InferOuterFunctionType<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
|
|
@@ -3006,6 +3093,10 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
3006
3093
|
token?: string | undefined;
|
|
3007
3094
|
} | undefined;
|
|
3008
3095
|
} | undefined;
|
|
3096
|
+
distributed?: {
|
|
3097
|
+
enabled: boolean | "auto";
|
|
3098
|
+
providerCaching?: boolean | undefined;
|
|
3099
|
+
} | undefined;
|
|
3009
3100
|
};
|
|
3010
3101
|
splitByApp: true;
|
|
3011
3102
|
http?: {
|
|
@@ -3071,7 +3162,7 @@ export declare const frontMcpMetadataSchema: z.ZodPipe<z.ZodUnion<[z.ZodObject<{
|
|
|
3071
3162
|
logging?: {
|
|
3072
3163
|
level: import("../types").LogLevel;
|
|
3073
3164
|
enableConsole: boolean;
|
|
3074
|
-
transports: import("
|
|
3165
|
+
transports: import("libs/di/dist/interfaces/base.interface").Type<unknown>[];
|
|
3075
3166
|
prefix?: string | undefined;
|
|
3076
3167
|
} | undefined;
|
|
3077
3168
|
auth?: undefined;
|
|
@@ -3090,3 +3181,4 @@ export interface MultiAppScopeMetadata extends FrontMcpMultiAppMetadata {
|
|
|
3090
3181
|
}
|
|
3091
3182
|
export type ScopeMetadata = AppScopeMetadata | MultiAppScopeMetadata;
|
|
3092
3183
|
export {};
|
|
3184
|
+
//# sourceMappingURL=front-mcp.metadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"front-mcp.metadata.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/front-mcp.metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,WAAW,EAEX,cAAc,EAEd,iBAAiB,EAEjB,WAAW,EAEX,cAAc,EAGd,gBAAgB,EAChB,iBAAiB,EAEjB,kBAAkB,EAElB,qBAAqB,EAEtB,MAAM,UAAU,CAAC;AAQlB,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE1F,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,iBAAiB,CAAC;IACxB,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,OAAO,CAAC,EAAE,cAAc,CAAC;IAEzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;OAIG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAE1B;;;;OAIG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAE5B;;;;OAIG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAElC;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAEnB;;;OAGG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAce,CAAC;AAE/C,MAAM,WAAW,wBAAyB,SAAQ,oBAAoB;IACpE,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,IAAI,CAAC,EAAE,gBAAgB,CAAC;CACzB;AAED,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG4C,CAAC;AAEzE,MAAM,WAAW,0BAA2B,SAAQ,oBAAoB;IACtE,UAAU,EAAE,IAAI,CAAC;IACjB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd;AAED,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG4C,CAAC;AAE3E,MAAM,MAAM,gBAAgB,GAAG,wBAAwB,GAAG,0BAA0B,CAAC;AAqFrF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAEQ,CAAC;AAE5C,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC5E,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAExE,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,0BAA0B,EAAE,MAAM,GAAG,YAAY,CAAC;IAC/F,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,OAAO,CAAC,CAAC;IAChB,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB;AAED,MAAM,WAAW,qBAAsB,SAAQ,wBAAwB;IACrE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,OAAO,EAAE,CAAC;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,gBAAgB,GAAG,qBAAqB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Token } from '
|
|
1
|
+
import { Token } from '@frontmcp/di';
|
|
2
2
|
import { FlowName } from './flow.metadata';
|
|
3
3
|
import { EntryOwnerRef } from '../entries/base.entry';
|
|
4
4
|
export type HookStageType = 'stage' | 'will' | 'did' | 'around';
|
|
@@ -19,3 +19,4 @@ export interface HookMetadata<Name extends FlowName = FlowName, Stage = string,
|
|
|
19
19
|
static?: boolean;
|
|
20
20
|
owner?: EntryOwnerRef;
|
|
21
21
|
}
|
|
22
|
+
//# sourceMappingURL=hook.metadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hook.metadata.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/hook.metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC;AAChE,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAElC,MAAM,WAAW,WAAW,CAAC,GAAG;IAC9B,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACnD;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,YAAY,CAAC,IAAI,SAAS,QAAQ,GAAG,QAAQ,EAAE,KAAK,GAAG,MAAM,EAAE,GAAG,GAAG,GAAG,CAAE,SAAQ,WAAW,CAAC,GAAG,CAAC;IACjH,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,KAAK,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { ProviderScope } from '@frontmcp/di';
|
|
2
|
+
export type { ProviderMetadata } from '@frontmcp/di';
|
|
1
3
|
export * from './front-mcp.metadata';
|
|
2
4
|
export * from './flow.metadata';
|
|
3
5
|
export * from './hook.metadata';
|
|
@@ -11,3 +13,5 @@ export * from './tool-ui.metadata';
|
|
|
11
13
|
export * from './resource.metadata';
|
|
12
14
|
export * from './prompt.metadata';
|
|
13
15
|
export * from './logger.metadata';
|
|
16
|
+
export * from './agent.metadata';
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAErD,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.metadata.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/logger.metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,CAAC,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,WAAW,4BAA4B;KAC5C;CACF;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,4BAA4B;IACxE;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAGD,eAAO,MAAM,kCAAkC;;;;iBAI2C,CAAC"}
|
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { Token } from '@frontmcp/di';
|
|
2
3
|
import { ProviderType, PluginType, AdapterType, ToolType, ResourceType, PromptType } from '../interfaces';
|
|
4
|
+
/**
|
|
5
|
+
* Context extension declaration for plugins.
|
|
6
|
+
* Allows plugins to add properties to ExecutionContextBase (ToolContext, etc.)
|
|
7
|
+
* without directly accessing SDK internals.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```typescript
|
|
11
|
+
* @Plugin({
|
|
12
|
+
* name: 'remember',
|
|
13
|
+
* contextExtensions: [
|
|
14
|
+
* { property: 'remember', token: RememberAccessorToken },
|
|
15
|
+
* { property: 'approval', token: ApprovalServiceToken },
|
|
16
|
+
* ],
|
|
17
|
+
* })
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export interface ContextExtension {
|
|
21
|
+
/**
|
|
22
|
+
* Property name to add to ExecutionContextBase (e.g., 'remember', 'approval').
|
|
23
|
+
* Will be accessible as `this.remember` in tools.
|
|
24
|
+
*/
|
|
25
|
+
property: string;
|
|
26
|
+
/**
|
|
27
|
+
* DI token to resolve when the property is accessed.
|
|
28
|
+
* The resolved value is returned when accessing `this.{property}`.
|
|
29
|
+
*/
|
|
30
|
+
token: Token<unknown>;
|
|
31
|
+
/**
|
|
32
|
+
* Custom error message when the token cannot be resolved.
|
|
33
|
+
* Default: "{PluginName} is not installed or {property} is not configured."
|
|
34
|
+
*/
|
|
35
|
+
errorMessage?: string;
|
|
36
|
+
}
|
|
3
37
|
/**
|
|
4
38
|
* Declarative metadata describing what an McpPlugin contributes at app scope.
|
|
5
39
|
*/
|
|
@@ -56,16 +90,49 @@ export interface PluginMetadata {
|
|
|
56
90
|
tools?: ToolType[];
|
|
57
91
|
resources?: ResourceType[];
|
|
58
92
|
prompts?: PromptType[];
|
|
93
|
+
/**
|
|
94
|
+
* Determines where plugin hooks are registered:
|
|
95
|
+
* - 'app' (default): Hooks fire only for requests to this app
|
|
96
|
+
* - 'server': Hooks fire at gateway level for all apps
|
|
97
|
+
*
|
|
98
|
+
* Note: Plugins with scope='server' cannot be used in standalone apps.
|
|
99
|
+
*/
|
|
100
|
+
scope?: 'app' | 'server';
|
|
101
|
+
/**
|
|
102
|
+
* Context extensions to add to ExecutionContextBase.
|
|
103
|
+
* Allows plugins to provide `this.{property}` access in tools.
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* ```typescript
|
|
107
|
+
* @Plugin({
|
|
108
|
+
* name: 'remember',
|
|
109
|
+
* contextExtensions: [
|
|
110
|
+
* { property: 'remember', token: RememberAccessorToken },
|
|
111
|
+
* ],
|
|
112
|
+
* })
|
|
113
|
+
* ```
|
|
114
|
+
*/
|
|
115
|
+
contextExtensions?: ContextExtension[];
|
|
59
116
|
}
|
|
60
117
|
export declare const frontMcpPluginMetadataSchema: z.ZodObject<{
|
|
61
118
|
id: z.ZodOptional<z.ZodString>;
|
|
62
119
|
name: z.ZodString;
|
|
63
120
|
description: z.ZodOptional<z.ZodString>;
|
|
64
|
-
providers: z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
65
|
-
exports: z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
66
|
-
plugins: z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
67
|
-
adapters: z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
68
|
-
tools: z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
69
|
-
resources: z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
70
|
-
prompts: z.ZodOptional<z.ZodArray<z.ZodCustom<import("
|
|
121
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodCustom<import("@frontmcp/di").Type<unknown>, import("@frontmcp/di").Type<unknown>>>>;
|
|
122
|
+
exports: z.ZodOptional<z.ZodArray<z.ZodCustom<import("@frontmcp/di").Type<unknown>, import("@frontmcp/di").Type<unknown>>>>;
|
|
123
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodCustom<import("@frontmcp/di").Type<unknown>, import("@frontmcp/di").Type<unknown>>>>;
|
|
124
|
+
adapters: z.ZodOptional<z.ZodArray<z.ZodCustom<import("@frontmcp/di").Type<unknown>, import("@frontmcp/di").Type<unknown>>>>;
|
|
125
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodCustom<import("@frontmcp/di").Type<unknown>, import("@frontmcp/di").Type<unknown>>>>;
|
|
126
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodCustom<import("@frontmcp/di").Type<unknown>, import("@frontmcp/di").Type<unknown>>>>;
|
|
127
|
+
prompts: z.ZodOptional<z.ZodArray<z.ZodCustom<import("@frontmcp/di").Type<unknown>, import("@frontmcp/di").Type<unknown>>>>;
|
|
128
|
+
scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
129
|
+
app: "app";
|
|
130
|
+
server: "server";
|
|
131
|
+
}>>>;
|
|
132
|
+
contextExtensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
133
|
+
property: z.ZodString;
|
|
134
|
+
token: z.ZodAny;
|
|
135
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
136
|
+
}, z.core.$loose>>>;
|
|
71
137
|
}, z.core.$loose>;
|
|
138
|
+
//# sourceMappingURL=plugin.metadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.metadata.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/plugin.metadata.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAU1G;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAEtB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IAEzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;IAEvB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IAEzB;;;;OAIG;IACH,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAEnB,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;IAEvB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAEzB;;;;;;;;;;;;;OAaG;IACH,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACxC;AAWD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;iBAezB,CAAC"}
|