@frontmcp/sdk 0.6.2 → 0.7.1
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 +5 -2
- 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 +27 -3
- package/auth/session/redis-session.store.d.ts.map +1 -0
- package/auth/session/session-crypto.d.ts +87 -0
- package/auth/session/session-crypto.d.ts.map +1 -0
- package/auth/session/session-rate-limiter.d.ts +114 -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 +60 -42
- 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 +23 -2
- 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 +1 -0
- 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 +1 -0
- 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 +3 -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 +3 -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 +18399 -10886
- package/esm/package.json +26 -18
- 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 +18589 -11006
- 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 +17 -7
- 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 +66 -0
- package/transport/adapters/sse-transport.d.ts.map +1 -0
- package/transport/adapters/streamable-http-transport.d.ts +96 -0
- package/transport/adapters/streamable-http-transport.d.ts.map +1 -0
- package/transport/adapters/transport.local.adapter.d.ts +27 -1
- package/transport/adapters/transport.local.adapter.d.ts.map +1 -0
- package/transport/adapters/transport.sse.adapter.d.ts +17 -3
- package/transport/adapters/transport.sse.adapter.d.ts.map +1 -0
- package/transport/adapters/transport.streamable-http.adapter.d.ts +13 -3
- 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 +22 -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 +7 -0
- package/transport/transport.local.d.ts.map +1 -0
- package/transport/transport.registry.d.ts +8 -1
- package/transport/transport.registry.d.ts.map +1 -0
- package/transport/transport.remote.d.ts +2 -0
- package/transport/transport.remote.d.ts.map +1 -0
- package/transport/transport.types.d.ts +8 -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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"complete.flow.d.ts","sourceRoot":"","sources":["../../../src/completion/flows/complete.flow.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,QAAQ,EAAyB,cAAc,EAAE,MAAM,cAAc,CAAC;AACrF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGf,CAAC;AAEH,QAAA,MAAM,YAAY;;;;;;;;;;;;iBAAuB,CAAC;AAe1C,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;iBAOf,CAAC;AAEH,QAAA,MAAM,IAAI;;;;CAI2B,CAAC;AAEtC,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,WAAW;QACnB,qBAAqB,EAAE,cAAc,CACnC,YAAY,EACZ,OAAO,IAAI,EACX,OAAO,WAAW,EAClB,OAAO,YAAY,EACnB,OAAO,WAAW,CACnB,CAAC;KACH;CACF;AAED,QAAA,MAAM,IAAI,EAAG,qBAA8B,CAAC;AAU5C,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,QAAQ,CAAC,OAAO,IAAI,CAAC;IAC7D,MAAM,wCAA0C;IAG1C,UAAU;IA0CV,QAAQ;IAqGR,QAAQ;CAMf"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Context Extension System
|
|
3
|
+
*
|
|
4
|
+
* Provides a mechanism for plugins to extend ExecutionContextBase with new properties.
|
|
5
|
+
* This is handled by the SDK during plugin registration - plugins should NOT directly
|
|
6
|
+
* modify ExecutionContextBase.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* // In plugin metadata:
|
|
11
|
+
* @Plugin({
|
|
12
|
+
* name: 'remember',
|
|
13
|
+
* contextExtensions: [
|
|
14
|
+
* { property: 'remember', token: RememberAccessorToken },
|
|
15
|
+
* ],
|
|
16
|
+
* })
|
|
17
|
+
*
|
|
18
|
+
* // In tools (when plugin is installed):
|
|
19
|
+
* await this.remember.set('key', 'value');
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
import type { ContextExtension } from '../common/metadata/plugin.metadata';
|
|
25
|
+
/**
|
|
26
|
+
* Install context extensions declared by a plugin.
|
|
27
|
+
* Called by the SDK during plugin registration.
|
|
28
|
+
*
|
|
29
|
+
* @param pluginName - Name of the plugin (for error messages)
|
|
30
|
+
* @param extensions - Array of context extensions to install
|
|
31
|
+
*
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
export declare function installContextExtensions(pluginName: string, extensions: ContextExtension[]): void;
|
|
35
|
+
/**
|
|
36
|
+
* Check if a context extension property is installed.
|
|
37
|
+
*
|
|
38
|
+
* @param property - Property name to check
|
|
39
|
+
* @returns true if the property is installed
|
|
40
|
+
*
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
export declare function isContextExtensionInstalled(property: string): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Get list of all installed context extension properties.
|
|
46
|
+
*
|
|
47
|
+
* @returns Array of installed property names
|
|
48
|
+
*
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
export declare function getInstalledContextExtensions(): string[];
|
|
52
|
+
//# sourceMappingURL=context-extension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-extension.d.ts","sourceRoot":"","sources":["../../src/context/context-extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAK3E;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAkDjG;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAErE;AAED;;;;;;GAMG;AACH,wBAAgB,6BAA6B,IAAI,MAAM,EAAE,CAExD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontmcp-context-storage.d.ts","sourceRoot":"","sources":["../../src/context/frontmcp-context-storage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAKH,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAmB,MAAM,oBAAoB,CAAC;AAE3F,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAW1E;;;;;;GAMG;AACH,qBAKa,sBAAsB;IACjC;;;;;;OAMG;IACH,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,GAAG,CAA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,cAAc,GAAG,cAAc;IAKvD;;;;;;;OAOG;IACH,YAAY,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAiBvC;;;;;;;;;;;;OAYG;IACG,KAAK,CAAC,KAAK,EAAE,WAAW,GAAG,GAAG,EAAE,IAAI,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,QAAQ,CAAC;CAoC7E;AAED;;;GAGG;AACH,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -36,8 +36,9 @@ export declare const REQUEST_CONTEXT: symbol;
|
|
|
36
36
|
* Note: This provider will throw if called outside of a context scope
|
|
37
37
|
* (i.e., without first calling FrontMcpContextStorage.run or runFromHeaders).
|
|
38
38
|
*/
|
|
39
|
-
export declare const FrontMcpContextProvider: import("../common/interfaces/provider.interface").ProviderFactoryType<unknown, readonly (import("@frontmcp/
|
|
39
|
+
export declare const FrontMcpContextProvider: import("../common/interfaces/provider.interface").ProviderFactoryType<unknown, readonly (import("@frontmcp/di").ClassToken | import("@frontmcp/di").Reference<any>)[]>;
|
|
40
40
|
/**
|
|
41
41
|
* @deprecated Use FrontMcpContextProvider instead
|
|
42
42
|
*/
|
|
43
|
-
export declare const RequestContextProvider: import("../common/interfaces/provider.interface").ProviderFactoryType<unknown, readonly (import("@frontmcp/
|
|
43
|
+
export declare const RequestContextProvider: import("../common/interfaces/provider.interface").ProviderFactoryType<unknown, readonly (import("@frontmcp/di").ClassToken | import("@frontmcp/di").Reference<any>)[]>;
|
|
44
|
+
//# sourceMappingURL=frontmcp-context.provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontmcp-context.provider.d.ts","sourceRoot":"","sources":["../../src/context/frontmcp-context.provider.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,gBAAgB,eAAiC,CAAC;AAE/D;;GAEG;AACH,eAAO,MAAM,eAAe,QAAmB,CAAC;AAEhD;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,wKAW3B,CAAC;AAEV;;GAEG;AACH,eAAO,MAAM,sBAAsB,wKAA0B,CAAC"}
|
package/context/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAOH,OAAO,EACL,eAAe,EACf,OAAO,EAAE,cAAc;AACvB,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,GAClB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAGpF,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EAEvB,eAAe,EACf,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AAMrC,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAMhH;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,kBAAkB,IAAI,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAEnG;;GAEG;AACH,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-context-storage.d.ts","sourceRoot":"","sources":["../../src/context/request-context-storage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAKH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAmB,MAAM,mBAAmB,CAAC;AAWxF;;;;;;GAMG;AACH,qBAKa,qBAAqB;IAChC;;;;;;OAMG;IACH,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,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.run or runFromHeaders).
|
|
36
36
|
*/
|
|
37
37
|
export declare const RequestContextProvider: ProviderFactoryType<RequestContext, readonly [typeof RequestContextStorage]>;
|
|
38
|
+
//# sourceMappingURL=request-context.provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-context.provider.d.ts","sourceRoot":"","sources":["../../src/context/request-context.provider.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,eAAe,eAAyC,CAAC;AAEtE;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,EAAE,mBAAmB,CAAC,cAAc,EAAE,SAAS,CAAC,OAAO,qBAAqB,CAAC,CAWxG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-key.provider.d.ts","sourceRoot":"","sources":["../../src/context/session-key.provider.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,qBAAa,UAAU;aAiCO,KAAK,EAAE,MAAM;IAhCzC,8CAA8C;IAC9C,MAAM,CAAC,QAAQ,CAAC,UAAU,QAAQ;IAElC;;;;;OAKG;IACH,MAAM,CAAC,QAAQ,CAAC,aAAa,SAAyB;IAEtD;;;;;;OAMG;IACH,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;gBAcR,KAAK,EAAE,MAAM;CAI1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trace-context.d.ts","sourceRoot":"","sources":["../../src/context/trace-context.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,mDAAmD;IACnD,QAAQ,EAAE,MAAM,CAAC;IACjB,yCAAyC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,mCAAmC;IACnC,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,YAAY,CAsBhF;AA6DD;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,YAAY,CASnD;AAiBD;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,YAAY,GAAG,YAAY,CAQzE"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { PublicMcpError, InternalMcpError } from './mcp.error';
|
|
2
|
+
/**
|
|
3
|
+
* Agent not found error.
|
|
4
|
+
*/
|
|
5
|
+
export declare class AgentNotFoundError extends PublicMcpError {
|
|
6
|
+
readonly agentId: string;
|
|
7
|
+
constructor(agentId: string);
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Agent execution error - wraps errors during agent execution.
|
|
11
|
+
*/
|
|
12
|
+
export declare class AgentExecutionError extends InternalMcpError {
|
|
13
|
+
readonly agentId: string;
|
|
14
|
+
readonly originalError?: Error;
|
|
15
|
+
constructor(agentId: string, cause?: Error);
|
|
16
|
+
getInternalMessage(): string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Agent loop exceeded error - thrown when an agent exceeds maximum iterations.
|
|
20
|
+
*/
|
|
21
|
+
export declare class AgentLoopExceededError extends PublicMcpError {
|
|
22
|
+
readonly agentId: string;
|
|
23
|
+
readonly maxIterations: number;
|
|
24
|
+
readonly actualIterations: number;
|
|
25
|
+
constructor(agentId: string, maxIterations: number, actualIterations?: number);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Agent timeout error - thrown when an agent exceeds its timeout.
|
|
29
|
+
*/
|
|
30
|
+
export declare class AgentTimeoutError extends PublicMcpError {
|
|
31
|
+
readonly agentId: string;
|
|
32
|
+
readonly timeoutMs: number;
|
|
33
|
+
constructor(agentId: string, timeoutMs: number);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Agent visibility error - thrown when an agent tries to invoke another
|
|
37
|
+
* agent it doesn't have visibility to.
|
|
38
|
+
*/
|
|
39
|
+
export declare class AgentVisibilityError extends PublicMcpError {
|
|
40
|
+
readonly requestingAgentId: string;
|
|
41
|
+
readonly targetAgentId: string;
|
|
42
|
+
constructor(requestingAgentId: string, targetAgentId: string);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Agent LLM error - thrown when the LLM adapter fails.
|
|
46
|
+
*/
|
|
47
|
+
export declare class AgentLlmError extends InternalMcpError {
|
|
48
|
+
readonly agentId: string;
|
|
49
|
+
readonly originalError?: Error;
|
|
50
|
+
constructor(agentId: string, cause?: Error);
|
|
51
|
+
getInternalMessage(): string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Agent configuration error - thrown when an agent has invalid configuration.
|
|
55
|
+
*/
|
|
56
|
+
export declare class AgentConfigurationError extends PublicMcpError {
|
|
57
|
+
readonly agentId?: string;
|
|
58
|
+
readonly configErrors: string[];
|
|
59
|
+
constructor(message: string, options?: {
|
|
60
|
+
agentId?: string;
|
|
61
|
+
errors?: string[];
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Agent not configured error - thrown when an agent doesn't have an LLM adapter.
|
|
66
|
+
*/
|
|
67
|
+
export declare class AgentNotConfiguredError extends InternalMcpError {
|
|
68
|
+
readonly agentName: string;
|
|
69
|
+
constructor(agentName: string);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Agent tool not found error - thrown when a tool is not found in the agent's scope.
|
|
73
|
+
*/
|
|
74
|
+
export declare class AgentToolNotFoundError extends InternalMcpError {
|
|
75
|
+
readonly agentName: string;
|
|
76
|
+
readonly toolName: string;
|
|
77
|
+
readonly availableTools: string[];
|
|
78
|
+
constructor(agentName: string, toolName: string, availableTools: string[]);
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=agent.errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent.errors.d.ts","sourceRoot":"","sources":["../../src/errors/agent.errors.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAM/D;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,cAAc;IACpD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;gBAEb,OAAO,EAAE,MAAM;CAI5B;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,gBAAgB;IACvD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,aAAa,CAAC,EAAE,KAAK,CAAC;gBAEnB,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK;IASjC,kBAAkB,IAAI,MAAM;CAMtC;AAED;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,cAAc;IACxD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;gBAEtB,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,MAAM;CAM9E;AAED;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,cAAc;IACnD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;gBAEf,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;CAK/C;AAED;;;GAGG;AACH,qBAAa,oBAAqB,SAAQ,cAAc;IACtD,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ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ACxC;AAED;;GAEG;AACH,qBAAa,YAAY;IACvB,OAAO,CAAC,aAAa,CAAU;IAC/B,OAAO,CAAC,MAAM,CAAC,CAAgC;IAC/C,OAAO,CAAC,gBAAgB,CAAC,CAA0C;gBAEvD,OAAO,GAAE,mBAAwB;IAM7C;;OAEG;IACH,MAAM,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;iBA4BQ,CAAC;;;IAjB9E;;OAEG;IACH,OAAO,CAAC,QAAQ;IAqBhB;;OAEG;IACH,IAAI,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,EAAE,EAAE,CAAC,GAAG,CAAC;IAgBjD;;OAEG;IACH,OAAO,CAAC,mBAAmB;CAc5B;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,GAAE,mBAAwB,GAAG,YAAY,CAElF;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAKvD"}
|
package/errors/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
export { McpError, PublicMcpError, InternalMcpError, ToolNotFoundError, ResourceNotFoundError, ResourceReadError, InvalidResourceUriError, InvalidInputError, InvalidOutputError, InvalidMethodError,
|
|
1
|
+
export { McpError, PublicMcpError, InternalMcpError, ToolNotFoundError, ToolExecutionError, ResourceNotFoundError, ResourceReadError, InvalidResourceUriError, InvalidInputError, InvalidOutputError, InvalidMethodError, RateLimitError, QuotaExceededError, UnauthorizedError, SessionMissingError, UnsupportedClientVersionError, GenericServerError, DependencyNotFoundError, InvalidHookFlowError, InvalidPluginScopeError, RequestContextNotAvailableError, AuthConfigurationError, GlobalConfigNotFoundError, PromptNotFoundError, PromptExecutionError, isPublicError, toMcpError, formatMcpErrorResponse, MCP_ERROR_CODES, type McpErrorCode, } from './mcp.error';
|
|
2
2
|
export { authorizationRequiredDataSchema, authorizationRequiredParamsSchema, authorizationRequiredMetaSchema, AuthorizationRequiredData, AuthorizationRequiredParams, AuthorizationRequiredMeta, AuthorizationRequiredError, } from './authorization-required.error';
|
|
3
3
|
export { ErrorHandler, ErrorHandlerOptions, createErrorHandler, shouldStopExecution } from './error-handler';
|
|
4
|
+
export { AgentNotFoundError, AgentExecutionError, AgentLoopExceededError, AgentTimeoutError, AgentVisibilityError, AgentLlmError, AgentConfigurationError, AgentNotConfiguredError, AgentToolNotFoundError, } from './agent.errors';
|
|
5
|
+
export { RemoteConnectionError, RemoteDisconnectError, RemoteTimeoutError, RemoteToolNotFoundError, RemoteResourceNotFoundError, RemotePromptNotFoundError, RemoteAuthError, RemoteAuthorizationError, RemoteToolExecutionError, RemoteResourceReadError, RemotePromptGetError, RemoteTransportError, RemoteUnsupportedTransportError, RemoteCapabilityDiscoveryError, RemoteCapabilityNotSupportedError, RemoteConfigurationError, RemoteNotConnectedError, } from './remote.errors';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,QAAQ,EACR,cAAc,EACd,gBAAgB,EAEhB,iBAAiB,EACjB,kBAAkB,EAElB,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EAEvB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAElB,cAAc,EACd,kBAAkB,EAElB,iBAAiB,EAEjB,mBAAmB,EACnB,6BAA6B,EAE7B,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,uBAAuB,EACvB,+BAA+B,EAE/B,sBAAsB,EACtB,yBAAyB,EAEzB,mBAAmB,EACnB,oBAAoB,EAEpB,aAAa,EACb,UAAU,EACV,sBAAsB,EAEtB,eAAe,EACf,KAAK,YAAY,GAClB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAEL,+BAA+B,EAC/B,iCAAiC,EACjC,+BAA+B,EAE/B,yBAAyB,EACzB,2BAA2B,EAC3B,yBAAyB,EAEzB,0BAA0B,GAC3B,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAG7G,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,sBAAsB,EACtB,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAEL,qBAAqB,EACrB,qBAAqB,EAErB,kBAAkB,EAElB,uBAAuB,EACvB,2BAA2B,EAC3B,yBAAyB,EAEzB,eAAe,EACf,wBAAwB,EAExB,wBAAwB,EACxB,uBAAuB,EACvB,oBAAoB,EAEpB,oBAAoB,EACpB,+BAA+B,EAE/B,8BAA8B,EAC9B,iCAAiC,EAEjC,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,iBAAiB,CAAC"}
|
package/errors/mcp.error.d.ts
CHANGED
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
* These codes are used in the JSON-RPC error response format.
|
|
4
4
|
*/
|
|
5
5
|
export declare const MCP_ERROR_CODES: {
|
|
6
|
+
/** Unauthorized - missing credentials (-32001) */
|
|
7
|
+
readonly UNAUTHORIZED: -32001;
|
|
6
8
|
/** Resource not found (-32002) */
|
|
7
9
|
readonly RESOURCE_NOT_FOUND: -32002;
|
|
10
|
+
/** Forbidden - invalid or insufficient credentials (-32003) */
|
|
11
|
+
readonly FORBIDDEN: -32003;
|
|
8
12
|
/** Invalid request (-32600) */
|
|
9
13
|
readonly INVALID_REQUEST: -32600;
|
|
10
14
|
/** Method not found (-32601) */
|
|
@@ -202,6 +206,13 @@ export declare class DependencyNotFoundError extends InternalMcpError {
|
|
|
202
206
|
export declare class InvalidHookFlowError extends InternalMcpError {
|
|
203
207
|
constructor(message: string);
|
|
204
208
|
}
|
|
209
|
+
/**
|
|
210
|
+
* Invalid plugin scope error - thrown when a plugin with scope='server'
|
|
211
|
+
* is used in a standalone app, which is not allowed.
|
|
212
|
+
*/
|
|
213
|
+
export declare class InvalidPluginScopeError extends InternalMcpError {
|
|
214
|
+
constructor(message: string);
|
|
215
|
+
}
|
|
205
216
|
/**
|
|
206
217
|
* Request context not available error - thrown when code attempts to access
|
|
207
218
|
* RequestContext outside of a request scope (i.e., without AsyncLocalStorage context).
|
|
@@ -237,6 +248,25 @@ export declare class PromptExecutionError extends InternalMcpError {
|
|
|
237
248
|
constructor(promptName: string, cause?: Error);
|
|
238
249
|
getInternalMessage(): string;
|
|
239
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* Session missing error - thrown when a request is made without a valid session.
|
|
253
|
+
* This is a public error as the client needs to know they need to authenticate.
|
|
254
|
+
*/
|
|
255
|
+
export declare class SessionMissingError extends PublicMcpError {
|
|
256
|
+
constructor(message?: string);
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Unsupported client version error - thrown when a client connects with
|
|
260
|
+
* an unsupported protocol version.
|
|
261
|
+
*/
|
|
262
|
+
export declare class UnsupportedClientVersionError extends PublicMcpError {
|
|
263
|
+
readonly clientVersion: string;
|
|
264
|
+
constructor(version: string);
|
|
265
|
+
/**
|
|
266
|
+
* Factory method for creating from a version string.
|
|
267
|
+
*/
|
|
268
|
+
static fromVersion(version: string): UnsupportedClientVersionError;
|
|
269
|
+
}
|
|
240
270
|
/**
|
|
241
271
|
* Global configuration not found error - thrown when a plugin requires
|
|
242
272
|
* global configuration that is not defined in @FrontMcp decorator.
|
|
@@ -270,3 +300,4 @@ export declare function formatMcpErrorResponse(error: any, isDevelopment?: boole
|
|
|
270
300
|
stack?: string;
|
|
271
301
|
};
|
|
272
302
|
};
|
|
303
|
+
//# sourceMappingURL=mcp.error.d.ts.map
|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AE,MAAM,EAAE,SAAS,EAAE,MAAM;CAUlD;AAMD;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,cAAc,CAEjE;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,QAAQ,CAU/C;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,GAAG,EAAE,aAAa,GAAE,OAAkD;aAtcvG,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;aACrC,IAAI;YACL;QACN,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;EAkcJ"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file remote.errors.ts
|
|
3
|
+
* @description Error classes for remote MCP server connections and operations
|
|
4
|
+
*/
|
|
5
|
+
import { PublicMcpError, InternalMcpError } from './mcp.error';
|
|
6
|
+
/**
|
|
7
|
+
* Error thrown when connection to a remote MCP server fails
|
|
8
|
+
*/
|
|
9
|
+
export declare class RemoteConnectionError extends InternalMcpError {
|
|
10
|
+
readonly appId: string;
|
|
11
|
+
readonly url: string;
|
|
12
|
+
readonly originalError?: Error;
|
|
13
|
+
constructor(appId: string, url: string, originalError?: Error);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Error thrown when a remote MCP server disconnects unexpectedly
|
|
17
|
+
*/
|
|
18
|
+
export declare class RemoteDisconnectError extends InternalMcpError {
|
|
19
|
+
readonly appId: string;
|
|
20
|
+
readonly reason?: string;
|
|
21
|
+
constructor(appId: string, reason?: string);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Error thrown when a remote MCP operation times out
|
|
25
|
+
*/
|
|
26
|
+
export declare class RemoteTimeoutError extends PublicMcpError {
|
|
27
|
+
readonly appId: string;
|
|
28
|
+
readonly operation: string;
|
|
29
|
+
readonly timeoutMs: number;
|
|
30
|
+
readonly mcpErrorCode: -32603;
|
|
31
|
+
constructor(appId: string, operation: string, timeoutMs: number);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Error thrown when a tool is not found on the remote server
|
|
35
|
+
*/
|
|
36
|
+
export declare class RemoteToolNotFoundError extends PublicMcpError {
|
|
37
|
+
readonly appId: string;
|
|
38
|
+
readonly toolName: string;
|
|
39
|
+
readonly mcpErrorCode: -32601;
|
|
40
|
+
constructor(appId: string, toolName: string);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Error thrown when a resource is not found on the remote server
|
|
44
|
+
*/
|
|
45
|
+
export declare class RemoteResourceNotFoundError extends PublicMcpError {
|
|
46
|
+
readonly appId: string;
|
|
47
|
+
readonly uri: string;
|
|
48
|
+
readonly mcpErrorCode: -32002;
|
|
49
|
+
constructor(appId: string, uri: string);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Error thrown when a prompt is not found on the remote server
|
|
53
|
+
*/
|
|
54
|
+
export declare class RemotePromptNotFoundError extends PublicMcpError {
|
|
55
|
+
readonly appId: string;
|
|
56
|
+
readonly promptName: string;
|
|
57
|
+
readonly mcpErrorCode: -32601;
|
|
58
|
+
constructor(appId: string, promptName: string);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Error thrown when authentication to a remote server fails (missing credentials)
|
|
62
|
+
*/
|
|
63
|
+
export declare class RemoteAuthError extends PublicMcpError {
|
|
64
|
+
readonly appId: string;
|
|
65
|
+
readonly details?: string;
|
|
66
|
+
readonly mcpErrorCode: -32001;
|
|
67
|
+
constructor(appId: string, details?: string);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Error thrown when authorization to a remote resource/tool fails (invalid/insufficient credentials)
|
|
71
|
+
*/
|
|
72
|
+
export declare class RemoteAuthorizationError extends PublicMcpError {
|
|
73
|
+
readonly appId: string;
|
|
74
|
+
readonly resource?: string;
|
|
75
|
+
readonly mcpErrorCode: -32003;
|
|
76
|
+
constructor(appId: string, resource?: string);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Error thrown when a remote tool execution fails
|
|
80
|
+
*/
|
|
81
|
+
export declare class RemoteToolExecutionError extends PublicMcpError {
|
|
82
|
+
readonly appId: string;
|
|
83
|
+
readonly toolName: string;
|
|
84
|
+
readonly originalError?: Error;
|
|
85
|
+
readonly mcpErrorCode: -32603;
|
|
86
|
+
constructor(appId: string, toolName: string, originalError?: Error);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Error thrown when a remote resource read fails
|
|
90
|
+
*/
|
|
91
|
+
export declare class RemoteResourceReadError extends PublicMcpError {
|
|
92
|
+
readonly appId: string;
|
|
93
|
+
readonly uri: string;
|
|
94
|
+
readonly originalError?: Error;
|
|
95
|
+
readonly mcpErrorCode: -32603;
|
|
96
|
+
constructor(appId: string, uri: string, originalError?: Error);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Error thrown when a remote prompt get fails
|
|
100
|
+
*/
|
|
101
|
+
export declare class RemotePromptGetError extends PublicMcpError {
|
|
102
|
+
readonly appId: string;
|
|
103
|
+
readonly promptName: string;
|
|
104
|
+
readonly originalError?: Error;
|
|
105
|
+
readonly mcpErrorCode: -32603;
|
|
106
|
+
constructor(appId: string, promptName: string, originalError?: Error);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Error thrown when transport initialization fails
|
|
110
|
+
*/
|
|
111
|
+
export declare class RemoteTransportError extends InternalMcpError {
|
|
112
|
+
readonly appId: string;
|
|
113
|
+
readonly transportType: string;
|
|
114
|
+
readonly originalError?: Error;
|
|
115
|
+
constructor(appId: string, transportType: string, originalError?: Error);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Error thrown when transport type is not supported
|
|
119
|
+
*/
|
|
120
|
+
export declare class RemoteUnsupportedTransportError extends PublicMcpError {
|
|
121
|
+
readonly transportType: string;
|
|
122
|
+
constructor(transportType: string);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Error thrown when capability discovery fails
|
|
126
|
+
*/
|
|
127
|
+
export declare class RemoteCapabilityDiscoveryError extends InternalMcpError {
|
|
128
|
+
readonly appId: string;
|
|
129
|
+
readonly originalError?: Error;
|
|
130
|
+
constructor(appId: string, originalError?: Error);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Error thrown when remote server doesn't support required capability
|
|
134
|
+
*/
|
|
135
|
+
export declare class RemoteCapabilityNotSupportedError extends PublicMcpError {
|
|
136
|
+
readonly appId: string;
|
|
137
|
+
readonly capability: string;
|
|
138
|
+
constructor(appId: string, capability: string);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Error thrown when remote app configuration is invalid
|
|
142
|
+
*/
|
|
143
|
+
export declare class RemoteConfigurationError extends PublicMcpError {
|
|
144
|
+
readonly appId: string;
|
|
145
|
+
readonly configField?: string;
|
|
146
|
+
readonly details?: string;
|
|
147
|
+
constructor(appId: string, configField?: string, details?: string);
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Error thrown when remote app is not connected
|
|
151
|
+
*/
|
|
152
|
+
export declare class RemoteNotConnectedError extends PublicMcpError {
|
|
153
|
+
readonly appId: string;
|
|
154
|
+
constructor(appId: string);
|
|
155
|
+
}
|
|
156
|
+
//# sourceMappingURL=remote.errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote.errors.d.ts","sourceRoot":"","sources":["../../src/errors/remote.errors.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAmB,MAAM,aAAa,CAAC;AAMhF;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,gBAAgB;IACzD,QAAQ,CAAC,KAAK,EAAE,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