@frontmcp/sdk 0.7.2 → 0.8.0
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/agent/adapters/adapter.factory.d.ts +27 -18
- package/agent/adapters/adapter.factory.d.ts.map +1 -1
- package/agent/agent.instance.d.ts +5 -0
- package/agent/agent.instance.d.ts.map +1 -1
- package/agent/agent.scope.d.ts +54 -72
- package/agent/agent.scope.d.ts.map +1 -1
- package/agent/flows/call-agent.flow.d.ts +1 -0
- package/agent/flows/call-agent.flow.d.ts.map +1 -1
- package/app/instances/app.local.instance.d.ts +3 -0
- package/app/instances/app.local.instance.d.ts.map +1 -1
- package/app/instances/app.remote.instance.d.ts +3 -0
- package/app/instances/app.remote.instance.d.ts.map +1 -1
- package/auth/auth.registry.d.ts.map +1 -1
- package/auth/authorization/authorization.types.d.ts +7 -180
- package/auth/authorization/authorization.types.d.ts.map +1 -1
- package/auth/authorization/index.d.ts +2 -0
- package/auth/authorization/index.d.ts.map +1 -1
- package/auth/authorization/orchestrated.accessor.d.ts +161 -0
- package/auth/authorization/orchestrated.accessor.d.ts.map +1 -0
- package/auth/authorization/orchestrated.authorization.d.ts +19 -4
- package/auth/authorization/orchestrated.authorization.d.ts.map +1 -1
- package/auth/authorization/orchestrated.context-extension.d.ts +108 -0
- package/auth/authorization/orchestrated.context-extension.d.ts.map +1 -0
- package/auth/cimd/index.d.ts +14 -0
- package/auth/cimd/index.d.ts.map +1 -0
- package/auth/flows/auth.verify.flow.d.ts.map +1 -1
- package/auth/flows/oauth.authorize.flow.d.ts +30 -3
- package/auth/flows/oauth.authorize.flow.d.ts.map +1 -1
- package/auth/flows/oauth.callback.flow.d.ts +11 -3
- package/auth/flows/oauth.callback.flow.d.ts.map +1 -1
- package/auth/flows/oauth.provider-callback.flow.d.ts +118 -0
- package/auth/flows/oauth.provider-callback.flow.d.ts.map +1 -0
- package/auth/flows/oauth.register.flow.d.ts +1 -1
- package/auth/flows/oauth.token.flow.d.ts +1 -1
- package/auth/flows/session.verify.flow.d.ts +8 -0
- package/auth/flows/session.verify.flow.d.ts.map +1 -1
- package/auth/flows/well-known.jwks.flow.d.ts +3 -3
- package/auth/flows/well-known.oauth-authorization-server.flow.d.ts +3 -2
- package/auth/flows/well-known.oauth-authorization-server.flow.d.ts.map +1 -1
- package/auth/flows/well-known.prm.flow.d.ts +1 -1
- package/auth/instances/instance.local-primary-auth.d.ts +88 -1
- package/auth/instances/instance.local-primary-auth.d.ts.map +1 -1
- package/auth/machine-id.d.ts +14 -0
- package/auth/machine-id.d.ts.map +1 -1
- package/auth/session/encrypted-authorization-vault.d.ts +2 -3
- package/auth/session/encrypted-authorization-vault.d.ts.map +1 -1
- package/auth/session/federated-auth.session.d.ts +252 -0
- package/auth/session/federated-auth.session.d.ts.map +1 -0
- package/auth/session/index.d.ts +6 -2
- package/auth/session/index.d.ts.map +1 -1
- package/auth/session/orchestrated-token.store.d.ts +155 -0
- package/auth/session/orchestrated-token.store.d.ts.map +1 -0
- package/auth/session/record/session.base.d.ts +7 -7
- package/auth/session/record/session.base.d.ts.map +1 -1
- package/auth/session/record/session.mcp.d.ts +11 -0
- package/auth/session/record/session.mcp.d.ts.map +1 -0
- package/auth/session/redis-session.store.d.ts +10 -5
- package/auth/session/redis-session.store.d.ts.map +1 -1
- package/auth/session/session-crypto.d.ts +6 -9
- package/auth/session/session-crypto.d.ts.map +1 -1
- package/{store/store.factory.d.ts → auth/session/session-store.factory.d.ts} +10 -36
- package/auth/session/session-store.factory.d.ts.map +1 -0
- package/auth/session/session.service.d.ts +4 -8
- package/auth/session/session.service.d.ts.map +1 -1
- package/auth/session/session.transport.d.ts +8 -2
- package/auth/session/session.transport.d.ts.map +1 -1
- package/auth/session/session.types.d.ts +5 -5
- package/auth/session/session.types.d.ts.map +1 -1
- package/auth/session/token.refresh.d.ts +1 -2
- package/auth/session/token.refresh.d.ts.map +1 -1
- package/auth/session/transport-session.manager.d.ts +7 -6
- package/auth/session/transport-session.manager.d.ts.map +1 -1
- package/auth/session/utils/session-id.utils.d.ts +18 -1
- package/auth/session/utils/session-id.utils.d.ts.map +1 -1
- package/auth/session/vercel-kv-session.store.d.ts +16 -16
- package/auth/session/vercel-kv-session.store.d.ts.map +1 -1
- package/auth/utils/authorization-id.utils.d.ts +12 -0
- package/auth/utils/authorization-id.utils.d.ts.map +1 -0
- package/auth/utils/index.d.ts +1 -2
- package/auth/utils/index.d.ts.map +1 -1
- package/auth/vault/auth-providers.accessor.d.ts +153 -0
- package/auth/vault/auth-providers.accessor.d.ts.map +1 -0
- package/auth/vault/auth-providers.accessor.impl.d.ts +52 -0
- package/auth/vault/auth-providers.accessor.impl.d.ts.map +1 -0
- package/auth/vault/auth-providers.context-extension.d.ts +68 -0
- package/auth/vault/auth-providers.context-extension.d.ts.map +1 -0
- package/auth/vault/auth-providers.providers.d.ts +40 -0
- package/auth/vault/auth-providers.providers.d.ts.map +1 -0
- package/auth/vault/auth-providers.registry.d.ts +110 -0
- package/auth/vault/auth-providers.registry.d.ts.map +1 -0
- package/auth/vault/auth-providers.vault.d.ts +93 -0
- package/auth/vault/auth-providers.vault.d.ts.map +1 -0
- package/auth/vault/credential-cache.d.ts +13 -0
- package/auth/vault/credential-cache.d.ts.map +1 -0
- package/auth/vault/credential-loaders/eager-loader.d.ts +46 -0
- package/auth/vault/credential-loaders/eager-loader.d.ts.map +1 -0
- package/auth/vault/credential-loaders/index.d.ts +7 -0
- package/auth/vault/credential-loaders/index.d.ts.map +1 -0
- package/auth/vault/credential-loaders/lazy-loader.d.ts +53 -0
- package/auth/vault/credential-loaders/lazy-loader.d.ts.map +1 -0
- package/auth/vault/index.d.ts +56 -0
- package/auth/vault/index.d.ts.map +1 -0
- package/builtin/config/config-resolver.d.ts +162 -0
- package/builtin/config/config-resolver.d.ts.map +1 -0
- package/builtin/config/config.plugin.d.ts +63 -0
- package/builtin/config/config.plugin.d.ts.map +1 -0
- package/builtin/config/config.symbols.d.ts +7 -0
- package/builtin/config/config.symbols.d.ts.map +1 -0
- package/builtin/config/config.types.d.ts +71 -0
- package/builtin/config/config.types.d.ts.map +1 -0
- package/builtin/config/index.d.ts +68 -0
- package/builtin/config/index.d.ts.map +1 -0
- package/builtin/config/providers/config-loader.d.ts +36 -0
- package/builtin/config/providers/config-loader.d.ts.map +1 -0
- package/builtin/config/providers/config.service.d.ts +108 -0
- package/builtin/config/providers/config.service.d.ts.map +1 -0
- package/builtin/config/providers/env-loader.d.ts +76 -0
- package/builtin/config/providers/env-loader.d.ts.map +1 -0
- package/builtin/index.d.ts +7 -0
- package/builtin/index.d.ts.map +1 -0
- package/common/decorators/front-mcp.decorator.d.ts.map +1 -1
- package/common/decorators/hook.decorator.d.ts +0 -10
- package/common/decorators/hook.decorator.d.ts.map +1 -1
- package/common/decorators/index.d.ts +1 -0
- package/common/decorators/index.d.ts.map +1 -1
- package/common/decorators/skill.decorator.d.ts +105 -0
- package/common/decorators/skill.decorator.d.ts.map +1 -0
- package/common/dynamic/dynamic.adapter.d.ts +14 -4
- package/common/dynamic/dynamic.adapter.d.ts.map +1 -1
- package/common/entries/app.entry.d.ts +2 -0
- package/common/entries/app.entry.d.ts.map +1 -1
- package/common/entries/index.d.ts +1 -0
- package/common/entries/index.d.ts.map +1 -1
- package/common/entries/prompt.entry.d.ts +0 -6
- package/common/entries/prompt.entry.d.ts.map +1 -1
- package/common/entries/resource.entry.d.ts +0 -6
- package/common/entries/resource.entry.d.ts.map +1 -1
- package/common/entries/scope.entry.d.ts +2 -0
- package/common/entries/scope.entry.d.ts.map +1 -1
- package/common/entries/skill.entry.d.ts +95 -0
- package/common/entries/skill.entry.d.ts.map +1 -0
- package/common/entries/tool.entry.d.ts +17 -9
- package/common/entries/tool.entry.d.ts.map +1 -1
- package/common/interfaces/agent.interface.d.ts +35 -6
- package/common/interfaces/agent.interface.d.ts.map +1 -1
- package/common/interfaces/execution-context.interface.d.ts +14 -0
- package/common/interfaces/execution-context.interface.d.ts.map +1 -1
- package/common/interfaces/index.d.ts +1 -0
- package/common/interfaces/index.d.ts.map +1 -1
- package/common/interfaces/internal/primary-auth-provider.interface.d.ts +1 -7
- package/common/interfaces/internal/primary-auth-provider.interface.d.ts.map +1 -1
- package/common/interfaces/internal/registry.interface.d.ts +4 -1
- package/common/interfaces/internal/registry.interface.d.ts.map +1 -1
- package/common/interfaces/skill.interface.d.ts +91 -0
- package/common/interfaces/skill.interface.d.ts.map +1 -0
- package/common/interfaces/tool.interface.d.ts +39 -0
- package/common/interfaces/tool.interface.d.ts.map +1 -1
- package/common/metadata/agent.metadata.d.ts +62 -2
- package/common/metadata/agent.metadata.d.ts.map +1 -1
- package/common/metadata/app.metadata.d.ts +168 -169
- package/common/metadata/app.metadata.d.ts.map +1 -1
- package/common/metadata/front-mcp.metadata.d.ts +2182 -721
- package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
- package/common/metadata/index.d.ts +1 -0
- package/common/metadata/index.d.ts.map +1 -1
- package/common/metadata/plugin.metadata.d.ts +8 -1
- package/common/metadata/plugin.metadata.d.ts.map +1 -1
- package/common/metadata/skill.metadata.d.ts +366 -0
- package/common/metadata/skill.metadata.d.ts.map +1 -0
- package/common/metadata/tool.metadata.d.ts +71 -0
- package/common/metadata/tool.metadata.d.ts.map +1 -1
- package/common/records/index.d.ts +1 -0
- package/common/records/index.d.ts.map +1 -1
- package/common/records/skill.record.d.ts +55 -0
- package/common/records/skill.record.d.ts.map +1 -0
- package/common/schemas/annotated-class.schema.d.ts +1 -0
- package/common/schemas/annotated-class.schema.d.ts.map +1 -1
- package/common/schemas/http-output.schema.d.ts +24 -24
- package/common/tokens/app.tokens.d.ts.map +1 -1
- package/common/tokens/front-mcp.tokens.d.ts.map +1 -1
- package/common/tokens/index.d.ts +1 -0
- package/common/tokens/index.d.ts.map +1 -1
- package/common/tokens/plugin.tokens.d.ts +1 -0
- package/common/tokens/plugin.tokens.d.ts.map +1 -1
- package/common/tokens/skill.tokens.d.ts +18 -0
- package/common/tokens/skill.tokens.d.ts.map +1 -0
- package/common/tokens/tool.tokens.d.ts +2 -0
- package/common/tokens/tool.tokens.d.ts.map +1 -1
- package/common/types/auth/session.types.d.ts +21 -0
- package/common/types/auth/session.types.d.ts.map +1 -1
- package/common/types/options/auth/app-auth.schema.d.ts +80 -84
- package/common/types/options/auth/app-auth.schema.d.ts.map +1 -1
- package/common/types/options/auth/index.d.ts +6 -8
- package/common/types/options/auth/index.d.ts.map +1 -1
- package/common/types/options/auth/{auth.interfaces.d.ts → interfaces.d.ts} +17 -48
- package/common/types/options/auth/interfaces.d.ts.map +1 -0
- package/common/types/options/auth/orchestrated.schema.d.ts +160 -84
- package/common/types/options/auth/orchestrated.schema.d.ts.map +1 -1
- package/common/types/options/auth/public.schema.d.ts +0 -21
- package/common/types/options/auth/public.schema.d.ts.map +1 -1
- package/common/types/options/auth/{auth.schema.d.ts → schema.d.ts} +81 -85
- package/common/types/options/auth/schema.d.ts.map +1 -0
- package/common/types/options/auth/shared.schemas.d.ts +12 -0
- package/common/types/options/auth/shared.schemas.d.ts.map +1 -1
- package/common/types/options/auth/transparent.schema.d.ts +0 -21
- package/common/types/options/auth/transparent.schema.d.ts.map +1 -1
- package/common/types/options/auth/typecheck.d.ts +2 -0
- package/common/types/options/auth/typecheck.d.ts.map +1 -0
- package/common/types/options/auth/{auth.utils.d.ts → utils.d.ts} +2 -2
- package/common/types/options/auth/utils.d.ts.map +1 -0
- package/common/types/options/elicitation/index.d.ts +4 -0
- package/common/types/options/elicitation/index.d.ts.map +1 -0
- package/common/types/options/elicitation/interfaces.d.ts +80 -0
- package/common/types/options/elicitation/interfaces.d.ts.map +1 -0
- package/common/types/options/elicitation/schema.d.ts +75 -0
- package/common/types/options/elicitation/schema.d.ts.map +1 -0
- package/common/types/options/ext-apps/index.d.ts +3 -0
- package/common/types/options/ext-apps/index.d.ts.map +1 -0
- package/common/types/options/ext-apps/interfaces.d.ts +2 -0
- package/common/types/options/ext-apps/interfaces.d.ts.map +1 -0
- package/common/types/options/ext-apps/schema.d.ts +80 -0
- package/common/types/options/ext-apps/schema.d.ts.map +1 -0
- package/common/types/options/http/index.d.ts +4 -0
- package/common/types/options/http/index.d.ts.map +1 -0
- package/common/types/options/http/interfaces.d.ts +23 -0
- package/common/types/options/http/interfaces.d.ts.map +1 -0
- package/common/types/options/http/schema.d.ts +18 -0
- package/common/types/options/http/schema.d.ts.map +1 -0
- package/common/types/options/index.d.ts +10 -6
- package/common/types/options/index.d.ts.map +1 -1
- package/common/types/options/logging/index.d.ts +5 -0
- package/common/types/options/logging/index.d.ts.map +1 -0
- package/common/types/options/logging/interfaces.d.ts +41 -0
- package/common/types/options/logging/interfaces.d.ts.map +1 -0
- package/common/types/options/logging/schema.d.ts +24 -0
- package/common/types/options/logging/schema.d.ts.map +1 -0
- package/common/types/options/pagination/index.d.ts +4 -0
- package/common/types/options/pagination/index.d.ts.map +1 -0
- package/common/types/options/pagination/interfaces.d.ts +43 -0
- package/common/types/options/pagination/interfaces.d.ts.map +1 -0
- package/common/types/options/pagination/schema.d.ts +41 -0
- package/common/types/options/pagination/schema.d.ts.map +1 -0
- package/common/types/options/redis/index.d.ts +4 -0
- package/common/types/options/redis/index.d.ts.map +1 -0
- package/common/types/options/redis/interfaces.d.ts +81 -0
- package/common/types/options/redis/interfaces.d.ts.map +1 -0
- package/common/types/options/{redis.options.d.ts → redis/schema.d.ts} +2 -2
- package/common/types/options/redis/schema.d.ts.map +1 -0
- package/common/types/options/server-info/index.d.ts +4 -0
- package/common/types/options/server-info/index.d.ts.map +1 -0
- package/common/types/options/server-info/interfaces.d.ts +27 -0
- package/common/types/options/server-info/interfaces.d.ts.map +1 -0
- package/common/types/options/{server-info.options.d.ts → server-info/schema.d.ts} +13 -10
- package/common/types/options/server-info/schema.d.ts.map +1 -0
- package/common/types/options/session/index.d.ts +4 -0
- package/common/types/options/session/index.d.ts.map +1 -0
- package/common/types/options/session/interfaces.d.ts +66 -0
- package/common/types/options/session/interfaces.d.ts.map +1 -0
- package/common/types/options/session/schema.d.ts +79 -0
- package/common/types/options/session/schema.d.ts.map +1 -0
- package/common/types/options/skills-http/index.d.ts +4 -0
- package/common/types/options/skills-http/index.d.ts.map +1 -0
- package/common/types/options/skills-http/interfaces.d.ts +321 -0
- package/common/types/options/skills-http/interfaces.d.ts.map +1 -0
- package/common/types/options/skills-http/schema.d.ts +139 -0
- package/common/types/options/skills-http/schema.d.ts.map +1 -0
- package/common/types/options/transport/index.d.ts +4 -0
- package/common/types/options/transport/index.d.ts.map +1 -0
- package/common/types/options/transport/interfaces.d.ts +354 -0
- package/common/types/options/transport/interfaces.d.ts.map +1 -0
- package/common/types/options/transport/schema.d.ts +309 -0
- package/common/types/options/transport/schema.d.ts.map +1 -0
- package/common/types/options/transport/typecheck.d.ts +2 -0
- package/common/types/options/transport/typecheck.d.ts.map +1 -0
- package/common/utils/decide-request-intent.utils.d.ts +3 -3
- package/common/utils/decide-request-intent.utils.d.ts.map +1 -1
- package/context/context-extension.d.ts +1 -28
- package/context/context-extension.d.ts.map +1 -1
- package/context/frontmcp-context-storage.d.ts.map +1 -1
- package/context/frontmcp-context.d.ts +36 -39
- package/context/frontmcp-context.d.ts.map +1 -1
- package/context/frontmcp-context.provider.d.ts +3 -9
- package/context/frontmcp-context.provider.d.ts.map +1 -1
- package/context/index.d.ts +5 -20
- package/context/index.d.ts.map +1 -1
- package/context/metadata.utils.d.ts +24 -0
- package/context/metadata.utils.d.ts.map +1 -0
- package/direct/client.types.d.ts +447 -0
- package/direct/client.types.d.ts.map +1 -0
- package/direct/connect.d.ts +188 -0
- package/direct/connect.d.ts.map +1 -0
- package/direct/direct-client.d.ts +7 -0
- package/direct/direct-client.d.ts.map +1 -0
- package/direct/direct-server.d.ts +38 -0
- package/direct/direct-server.d.ts.map +1 -0
- package/direct/direct.types.d.ts +134 -0
- package/direct/direct.types.d.ts.map +1 -0
- package/direct/index.d.ts +15 -0
- package/direct/index.d.ts.map +1 -0
- package/direct/llm-platform.d.ts +94 -0
- package/direct/llm-platform.d.ts.map +1 -0
- package/elicitation/elicitation-fallback.schema.d.ts +32 -0
- package/elicitation/elicitation-fallback.schema.d.ts.map +1 -0
- package/elicitation/elicitation.types.d.ts +160 -0
- package/elicitation/elicitation.types.d.ts.map +1 -0
- package/elicitation/flows/elicitation-request.flow.d.ts +98 -0
- package/elicitation/flows/elicitation-request.flow.d.ts.map +1 -0
- package/elicitation/flows/elicitation-result.flow.d.ts +79 -0
- package/elicitation/flows/elicitation-result.flow.d.ts.map +1 -0
- package/elicitation/flows/index.d.ts +10 -0
- package/elicitation/flows/index.d.ts.map +1 -0
- package/elicitation/helpers/elicit.helper.d.ts +65 -0
- package/elicitation/helpers/elicit.helper.d.ts.map +1 -0
- package/elicitation/helpers/extend-output-schema.d.ts +31 -0
- package/elicitation/helpers/extend-output-schema.d.ts.map +1 -0
- package/elicitation/helpers/fallback.helper.d.ts +60 -0
- package/elicitation/helpers/fallback.helper.d.ts.map +1 -0
- package/elicitation/helpers/index.d.ts +12 -0
- package/elicitation/helpers/index.d.ts.map +1 -0
- package/elicitation/helpers/validate-elicitation-content.d.ts +52 -0
- package/elicitation/helpers/validate-elicitation-content.d.ts.map +1 -0
- package/elicitation/hooks/elicitation.hooks.d.ts +66 -0
- package/elicitation/hooks/elicitation.hooks.d.ts.map +1 -0
- package/elicitation/hooks/index.d.ts +9 -0
- package/elicitation/hooks/index.d.ts.map +1 -0
- package/elicitation/index.d.ts +18 -0
- package/elicitation/index.d.ts.map +1 -0
- package/elicitation/send-elicitation-result.tool.d.ts +18 -0
- package/elicitation/send-elicitation-result.tool.d.ts.map +1 -0
- package/elicitation/store/elicitation-encryption.d.ts +134 -0
- package/elicitation/store/elicitation-encryption.d.ts.map +1 -0
- package/elicitation/store/elicitation-store.factory.d.ts +197 -0
- package/elicitation/store/elicitation-store.factory.d.ts.map +1 -0
- package/elicitation/store/elicitation.store.d.ts +191 -0
- package/elicitation/store/elicitation.store.d.ts.map +1 -0
- package/elicitation/store/encrypted-elicitation.store.d.ts +121 -0
- package/elicitation/store/encrypted-elicitation.store.d.ts.map +1 -0
- package/elicitation/store/index.d.ts +14 -0
- package/elicitation/store/index.d.ts.map +1 -0
- package/elicitation/store/storage-elicitation.store.d.ts +118 -0
- package/elicitation/store/storage-elicitation.store.d.ts.map +1 -0
- package/errors/elicitation.error.d.ts +115 -0
- package/errors/elicitation.error.d.ts.map +1 -0
- package/errors/index.d.ts +1 -0
- package/errors/index.d.ts.map +1 -1
- package/esm/index.mjs +30824 -19537
- package/esm/package.json +13 -7
- package/ext-apps/ext-apps.handler.d.ts +177 -0
- package/ext-apps/ext-apps.handler.d.ts.map +1 -0
- package/ext-apps/ext-apps.types.d.ts +273 -0
- package/ext-apps/ext-apps.types.d.ts.map +1 -0
- package/ext-apps/index.d.ts +13 -0
- package/ext-apps/index.d.ts.map +1 -0
- package/flows/flow.instance.d.ts.map +1 -1
- package/front-mcp/front-mcp.d.ts +64 -2
- package/front-mcp/front-mcp.d.ts.map +1 -1
- package/front-mcp/front-mcp.providers.d.ts +604 -236
- package/front-mcp/front-mcp.providers.d.ts.map +1 -1
- package/index.d.ts +17 -0
- package/index.d.ts.map +1 -1
- package/index.js +31066 -19707
- package/notification/index.d.ts +1 -1
- package/notification/index.d.ts.map +1 -1
- package/notification/notification.service.d.ts +18 -0
- package/notification/notification.service.d.ts.map +1 -1
- package/package.json +13 -7
- package/plugin/plugin.registry.d.ts +2 -0
- package/plugin/plugin.registry.d.ts.map +1 -1
- package/provider/provider.registry.d.ts +8 -3
- package/provider/provider.registry.d.ts.map +1 -1
- package/scope/flows/http.request.flow.d.ts +4 -0
- package/scope/flows/http.request.flow.d.ts.map +1 -1
- package/scope/scope.instance.d.ts +74 -0
- package/scope/scope.instance.d.ts.map +1 -1
- package/server/server.instance.d.ts +3 -3
- package/server/server.instance.d.ts.map +1 -1
- package/skill/auth/index.d.ts +10 -0
- package/skill/auth/index.d.ts.map +1 -0
- package/skill/auth/skill-http-auth.d.ts +112 -0
- package/skill/auth/skill-http-auth.d.ts.map +1 -0
- package/skill/cache/index.d.ts +13 -0
- package/skill/cache/index.d.ts.map +1 -0
- package/skill/cache/skill-http-cache.d.ts +144 -0
- package/skill/cache/skill-http-cache.d.ts.map +1 -0
- package/skill/cache/skill-http-cache.factory.d.ts +83 -0
- package/skill/cache/skill-http-cache.factory.d.ts.map +1 -0
- package/skill/cache/skill-http-cache.holder.d.ts +35 -0
- package/skill/cache/skill-http-cache.holder.d.ts.map +1 -0
- package/skill/errors/index.d.ts +3 -0
- package/skill/errors/index.d.ts.map +1 -0
- package/skill/errors/skill-validation.error.d.ts +110 -0
- package/skill/errors/skill-validation.error.d.ts.map +1 -0
- package/skill/errors/tool-not-allowed.error.d.ts +66 -0
- package/skill/errors/tool-not-allowed.error.d.ts.map +1 -0
- package/skill/flows/http/index.d.ts +12 -0
- package/skill/flows/http/index.d.ts.map +1 -0
- package/skill/flows/http/llm-full-txt.flow.d.ts +70 -0
- package/skill/flows/http/llm-full-txt.flow.d.ts.map +1 -0
- package/skill/flows/http/llm-txt.flow.d.ts +77 -0
- package/skill/flows/http/llm-txt.flow.d.ts.map +1 -0
- package/skill/flows/http/skills-api.flow.d.ts +81 -0
- package/skill/flows/http/skills-api.flow.d.ts.map +1 -0
- package/skill/flows/index.d.ts +13 -0
- package/skill/flows/index.d.ts.map +1 -0
- package/skill/flows/load-skill.flow.d.ts +169 -0
- package/skill/flows/load-skill.flow.d.ts.map +1 -0
- package/skill/flows/search-skills.flow.d.ts +101 -0
- package/skill/flows/search-skills.flow.d.ts.map +1 -0
- package/skill/guards/index.d.ts +2 -0
- package/skill/guards/index.d.ts.map +1 -0
- package/skill/guards/tool-authorization.guard.d.ts +87 -0
- package/skill/guards/tool-authorization.guard.d.ts.map +1 -0
- package/skill/hooks/index.d.ts +2 -0
- package/skill/hooks/index.d.ts.map +1 -0
- package/skill/hooks/skill-tool.hook.d.ts +52 -0
- package/skill/hooks/skill-tool.hook.d.ts.map +1 -0
- package/skill/index.d.ts +74 -0
- package/skill/index.d.ts.map +1 -0
- package/skill/providers/external-skill.provider.d.ts +240 -0
- package/skill/providers/external-skill.provider.d.ts.map +1 -0
- package/skill/providers/index.d.ts +12 -0
- package/skill/providers/index.d.ts.map +1 -0
- package/skill/providers/memory-skill.provider.d.ts +97 -0
- package/skill/providers/memory-skill.provider.d.ts.map +1 -0
- package/skill/session/index.d.ts +4 -0
- package/skill/session/index.d.ts.map +1 -0
- package/skill/session/skill-session-store.interface.d.ts +79 -0
- package/skill/session/skill-session-store.interface.d.ts.map +1 -0
- package/skill/session/skill-session.manager.d.ts +137 -0
- package/skill/session/skill-session.manager.d.ts.map +1 -0
- package/skill/session/skill-session.types.d.ts +303 -0
- package/skill/session/skill-session.types.d.ts.map +1 -0
- package/skill/skill-http.utils.d.ts +107 -0
- package/skill/skill-http.utils.d.ts.map +1 -0
- package/skill/skill-mode.utils.d.ts +53 -0
- package/skill/skill-mode.utils.d.ts.map +1 -0
- package/skill/skill-scope.helper.d.ts +55 -0
- package/skill/skill-scope.helper.d.ts.map +1 -0
- package/skill/skill-storage.factory.d.ts +194 -0
- package/skill/skill-storage.factory.d.ts.map +1 -0
- package/skill/skill-storage.interface.d.ts +230 -0
- package/skill/skill-storage.interface.d.ts.map +1 -0
- package/skill/skill-validator.d.ts +63 -0
- package/skill/skill-validator.d.ts.map +1 -0
- package/skill/skill.events.d.ts +88 -0
- package/skill/skill.events.d.ts.map +1 -0
- package/skill/skill.instance.d.ts +92 -0
- package/skill/skill.instance.d.ts.map +1 -0
- package/skill/skill.registry.d.ts +309 -0
- package/skill/skill.registry.d.ts.map +1 -0
- package/skill/skill.utils.d.ts +90 -0
- package/skill/skill.utils.d.ts.map +1 -0
- package/skill/sync/index.d.ts +16 -0
- package/skill/sync/index.d.ts.map +1 -0
- package/skill/sync/memory-sync-state.store.d.ts +49 -0
- package/skill/sync/memory-sync-state.store.d.ts.map +1 -0
- package/skill/sync/skill-hash.d.ts +65 -0
- package/skill/sync/skill-hash.d.ts.map +1 -0
- package/skill/sync/sync-state.interface.d.ts +125 -0
- package/skill/sync/sync-state.interface.d.ts.map +1 -0
- package/skill/tools/index.d.ts +21 -0
- package/skill/tools/index.d.ts.map +1 -0
- package/skill/tools/load-skills.tool.d.ts +76 -0
- package/skill/tools/load-skills.tool.d.ts.map +1 -0
- package/skill/tools/search-skills.tool.d.ts +61 -0
- package/skill/tools/search-skills.tool.d.ts.map +1 -0
- package/tool/flows/call-tool.flow.d.ts +1 -0
- package/tool/flows/call-tool.flow.d.ts.map +1 -1
- package/tool/flows/tools-list.flow.d.ts +15 -0
- package/tool/flows/tools-list.flow.d.ts.map +1 -1
- package/tool/tool.instance.d.ts +8 -0
- package/tool/tool.instance.d.ts.map +1 -1
- package/tool/tool.registry.d.ts +11 -0
- package/tool/tool.registry.d.ts.map +1 -1
- package/tool/tool.utils.d.ts.map +1 -1
- package/tool/ui/template-helpers.d.ts +0 -5
- package/tool/ui/template-helpers.d.ts.map +1 -1
- package/transport/adapters/streamable-http-transport.d.ts.map +1 -1
- package/transport/adapters/transport.local.adapter.d.ts +54 -9
- package/transport/adapters/transport.local.adapter.d.ts.map +1 -1
- package/transport/adapters/transport.sse.adapter.d.ts +11 -2
- package/transport/adapters/transport.sse.adapter.d.ts.map +1 -1
- package/transport/adapters/transport.streamable-http.adapter.d.ts +21 -2
- package/transport/adapters/transport.streamable-http.adapter.d.ts.map +1 -1
- package/transport/event-stores/event-store.factory.d.ts +96 -0
- package/transport/event-stores/event-store.factory.d.ts.map +1 -0
- package/transport/event-stores/index.d.ts +47 -0
- package/transport/event-stores/index.d.ts.map +1 -0
- package/transport/event-stores/memory.event-store.d.ts +51 -0
- package/transport/event-stores/memory.event-store.d.ts.map +1 -0
- package/transport/event-stores/redis.event-store.d.ts +79 -0
- package/transport/event-stores/redis.event-store.d.ts.map +1 -0
- package/transport/flows/handle.sse.flow.d.ts.map +1 -1
- package/transport/flows/handle.streamable-http.flow.d.ts +3 -1
- package/transport/flows/handle.streamable-http.flow.d.ts.map +1 -1
- package/transport/in-memory-server.d.ts +85 -0
- package/transport/in-memory-server.d.ts.map +1 -0
- package/transport/index.d.ts +47 -0
- package/transport/index.d.ts.map +1 -1
- package/transport/mcp-handlers/complete-request.handler.d.ts +3 -84
- package/transport/mcp-handlers/complete-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/get-prompt-request.handler.d.ts +3 -128
- package/transport/mcp-handlers/get-prompt-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/index.d.ts +463 -490
- package/transport/mcp-handlers/index.d.ts.map +1 -1
- package/transport/mcp-handlers/initialize-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/list-prompts-request.handler.d.ts +3 -70
- package/transport/mcp-handlers/list-prompts-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts +3 -72
- package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/list-resources-request.handler.d.ts +3 -72
- package/transport/mcp-handlers/list-resources-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/list-tools-request.handler.d.ts +3 -85
- package/transport/mcp-handlers/list-tools-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/read-resource-request.handler.d.ts +3 -61
- package/transport/mcp-handlers/read-resource-request.handler.d.ts.map +1 -1
- package/transport/mcp-handlers/skills-list-request.handler.d.ts +9 -0
- package/transport/mcp-handlers/skills-list-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/skills-load-request.handler.d.ts +9 -0
- package/transport/mcp-handlers/skills-load-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/skills-mcp.types.d.ts +157 -0
- package/transport/mcp-handlers/skills-mcp.types.d.ts.map +1 -0
- package/transport/mcp-handlers/skills-search-request.handler.d.ts +9 -0
- package/transport/mcp-handlers/skills-search-request.handler.d.ts.map +1 -0
- package/transport/transport.registry.d.ts +9 -1
- package/transport/transport.registry.d.ts.map +1 -1
- package/transport/transport.types.d.ts +1 -8
- package/transport/transport.types.d.ts.map +1 -1
- package/auth/jwks/dev-key-persistence.d.ts +0 -64
- package/auth/jwks/dev-key-persistence.d.ts.map +0 -1
- package/auth/jwks/index.d.ts +0 -4
- package/auth/jwks/index.d.ts.map +0 -1
- package/auth/jwks/jwks.service.d.ts +0 -58
- package/auth/jwks/jwks.service.d.ts.map +0 -1
- package/auth/jwks/jwks.types.d.ts +0 -33
- package/auth/jwks/jwks.types.d.ts.map +0 -1
- package/auth/jwks/jwks.utils.d.ts +0 -5
- package/auth/jwks/jwks.utils.d.ts.map +0 -1
- package/auth/oauth/flows/oauth.authorize.flow.d.ts +0 -32
- package/auth/oauth/flows/oauth.authorize.flow.d.ts.map +0 -1
- package/auth/oauth/flows/oauth.device-authorization.flow.d.ts +0 -47
- package/auth/oauth/flows/oauth.device-authorization.flow.d.ts.map +0 -1
- package/auth/oauth/flows/oauth.introspect.flow.d.ts +0 -27
- package/auth/oauth/flows/oauth.introspect.flow.d.ts.map +0 -1
- package/auth/oauth/flows/oauth.par.flow.d.ts +0 -28
- package/auth/oauth/flows/oauth.par.flow.d.ts.map +0 -1
- package/auth/oauth/flows/oauth.revoke.flow.d.ts +0 -26
- package/auth/oauth/flows/oauth.revoke.flow.d.ts.map +0 -1
- package/auth/oauth/flows/oauth.token.flow.d.ts +0 -58
- package/auth/oauth/flows/oauth.token.flow.d.ts.map +0 -1
- package/auth/oauth/flows/oauth.userinfo.flow.d.ts +0 -23
- package/auth/oauth/flows/oauth.userinfo.flow.d.ts.map +0 -1
- package/auth/oauth/flows/oidc.logout.flow.d.ts +0 -19
- package/auth/oauth/flows/oidc.logout.flow.d.ts.map +0 -1
- package/auth/session/authorization-vault.d.ts +0 -612
- package/auth/session/authorization-vault.d.ts.map +0 -1
- package/auth/session/authorization.store.d.ts +0 -302
- package/auth/session/authorization.store.d.ts.map +0 -1
- package/auth/session/record/session.stateful.d.ts +0 -21
- package/auth/session/record/session.stateful.d.ts.map +0 -1
- package/auth/session/record/session.stateless.d.ts +0 -18
- package/auth/session/record/session.stateless.d.ts.map +0 -1
- package/auth/session/record/session.transparent.d.ts +0 -18
- package/auth/session/record/session.transparent.d.ts.map +0 -1
- package/auth/session/session.crypto.d.ts +0 -8
- package/auth/session/session.crypto.d.ts.map +0 -1
- package/auth/session/session.schema.d.ts +0 -6
- package/auth/session/session.schema.d.ts.map +0 -1
- package/auth/session/token.store.d.ts +0 -36
- package/auth/session/token.store.d.ts.map +0 -1
- package/auth/session/token.vault.d.ts +0 -27
- package/auth/session/token.vault.d.ts.map +0 -1
- package/auth/session/vault-encryption.d.ts +0 -190
- package/auth/session/vault-encryption.d.ts.map +0 -1
- package/auth/utils/audience.validator.d.ts +0 -130
- package/auth/utils/audience.validator.d.ts.map +0 -1
- package/auth/utils/www-authenticate.utils.d.ts +0 -98
- package/auth/utils/www-authenticate.utils.d.ts.map +0 -1
- package/common/migrate/auth-transport.migrate.d.ts +0 -63
- package/common/migrate/auth-transport.migrate.d.ts.map +0 -1
- package/common/migrate/index.d.ts +0 -2
- package/common/migrate/index.d.ts.map +0 -1
- package/common/types/options/auth/auth.interfaces.d.ts.map +0 -1
- package/common/types/options/auth/auth.schema.d.ts.map +0 -1
- package/common/types/options/auth/auth.typecheck.d.ts +0 -2
- package/common/types/options/auth/auth.typecheck.d.ts.map +0 -1
- package/common/types/options/auth/auth.utils.d.ts.map +0 -1
- package/common/types/options/auth/transport.deprecated.d.ts +0 -64
- package/common/types/options/auth/transport.deprecated.d.ts.map +0 -1
- package/common/types/options/http.options.d.ts +0 -15
- package/common/types/options/http.options.d.ts.map +0 -1
- package/common/types/options/logging.options.d.ts +0 -29
- package/common/types/options/logging.options.d.ts.map +0 -1
- package/common/types/options/redis.options.d.ts.map +0 -1
- package/common/types/options/server-info.options.d.ts.map +0 -1
- package/common/types/options/session.options.d.ts +0 -148
- package/common/types/options/session.options.d.ts.map +0 -1
- package/common/types/options/transport.options.d.ts +0 -178
- package/common/types/options/transport.options.d.ts.map +0 -1
- package/context/request-context-storage.d.ts +0 -90
- package/context/request-context-storage.d.ts.map +0 -1
- package/context/request-context.d.ts +0 -185
- package/context/request-context.d.ts.map +0 -1
- package/context/request-context.provider.d.ts +0 -38
- package/context/request-context.provider.d.ts.map +0 -1
- package/context/session-key.provider.d.ts +0 -46
- package/context/session-key.provider.d.ts.map +0 -1
- package/store/adapters/store.base.adapter.d.ts +0 -22
- package/store/adapters/store.base.adapter.d.ts.map +0 -1
- package/store/adapters/store.memory.adapter.d.ts +0 -27
- package/store/adapters/store.memory.adapter.d.ts.map +0 -1
- package/store/adapters/store.redis.adapter.d.ts +0 -34
- package/store/adapters/store.redis.adapter.d.ts.map +0 -1
- package/store/adapters/store.vercel-kv.adapter.d.ts +0 -87
- package/store/adapters/store.vercel-kv.adapter.d.ts.map +0 -1
- package/store/index.d.ts +0 -11
- package/store/index.d.ts.map +0 -1
- package/store/store.factory.d.ts.map +0 -1
- package/store/store.helpers.d.ts +0 -10
- package/store/store.helpers.d.ts.map +0 -1
- package/store/store.registry.d.ts +0 -14
- package/store/store.registry.d.ts.map +0 -1
- package/store/store.tokens.d.ts +0 -4
- package/store/store.tokens.d.ts.map +0 -1
- package/store/store.types.d.ts +0 -65
- package/store/store.types.d.ts.map +0 -1
- package/store/store.utils.d.ts +0 -9
- package/store/store.utils.d.ts.map +0 -1
- package/transport/transport.event-store.d.ts +0 -11
- package/transport/transport.event-store.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAmBzD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8C3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initialize-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/initialize-request.handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAElH,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAkBrE,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAC/C,aAAa,EACb,KAAK,GACN,EAAE,iBAAiB,GAAG,UAAU,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,
|
|
1
|
+
{"version":3,"file":"initialize-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/initialize-request.handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAElH,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAkBrE,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAC/C,aAAa,EACb,KAAK,GACN,EAAE,iBAAiB,GAAG,UAAU,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAoIrE"}
|
|
@@ -1,71 +1,4 @@
|
|
|
1
|
-
import { ListPromptsRequest } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import { McpHandlerOptions } from './mcp-handlers.types';
|
|
3
|
-
export default function
|
|
4
|
-
requestSchema: import("zod").ZodObject<{
|
|
5
|
-
params: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
7
|
-
progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
8
|
-
"io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
|
|
9
|
-
taskId: import("zod").ZodString;
|
|
10
|
-
}, import("zod/v4/core").$strip>>;
|
|
11
|
-
}, import("zod/v4/core").$loose>>;
|
|
12
|
-
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13
|
-
}, import("zod/v4/core").$strip>>;
|
|
14
|
-
method: import("zod").ZodLiteral<"prompts/list">;
|
|
15
|
-
}, import("zod/v4/core").$strip>;
|
|
16
|
-
handler: (request: ListPromptsRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
17
|
-
method: "prompts/list";
|
|
18
|
-
params?: {
|
|
19
|
-
_meta?: {
|
|
20
|
-
[x: string]: unknown;
|
|
21
|
-
progressToken?: string | number | undefined;
|
|
22
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
23
|
-
taskId: string;
|
|
24
|
-
} | undefined;
|
|
25
|
-
} | undefined;
|
|
26
|
-
cursor?: string | undefined;
|
|
27
|
-
} | undefined;
|
|
28
|
-
}, {
|
|
29
|
-
method: string;
|
|
30
|
-
params?: {
|
|
31
|
-
[x: string]: unknown;
|
|
32
|
-
_meta?: {
|
|
33
|
-
[x: string]: unknown;
|
|
34
|
-
progressToken?: string | number | undefined;
|
|
35
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
36
|
-
taskId: string;
|
|
37
|
-
} | undefined;
|
|
38
|
-
} | undefined;
|
|
39
|
-
} | undefined;
|
|
40
|
-
}>) => Promise<{
|
|
41
|
-
[x: string]: unknown;
|
|
42
|
-
prompts: {
|
|
43
|
-
name: string;
|
|
44
|
-
description?: string | undefined;
|
|
45
|
-
arguments?: {
|
|
46
|
-
name: string;
|
|
47
|
-
description?: string | undefined;
|
|
48
|
-
required?: boolean | undefined;
|
|
49
|
-
}[] | undefined;
|
|
50
|
-
_meta?: {
|
|
51
|
-
[x: string]: unknown;
|
|
52
|
-
} | undefined;
|
|
53
|
-
icons?: {
|
|
54
|
-
src: string;
|
|
55
|
-
mimeType?: string | undefined;
|
|
56
|
-
sizes?: string[] | undefined;
|
|
57
|
-
theme?: "light" | "dark" | undefined;
|
|
58
|
-
}[] | undefined;
|
|
59
|
-
title?: string | undefined;
|
|
60
|
-
}[];
|
|
61
|
-
_meta?: {
|
|
62
|
-
[x: string]: unknown;
|
|
63
|
-
progressToken?: string | number | undefined;
|
|
64
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
65
|
-
taskId: string;
|
|
66
|
-
} | undefined;
|
|
67
|
-
} | undefined;
|
|
68
|
-
nextCursor?: string | undefined;
|
|
69
|
-
}>;
|
|
70
|
-
};
|
|
1
|
+
import { ListPromptsRequest, ListPromptsResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
+
import { McpHandler, McpHandlerOptions } from './mcp-handlers.types';
|
|
3
|
+
export default function listPromptsRequestHandler({ scope, }: McpHandlerOptions): McpHandler<ListPromptsRequest, ListPromptsResult>;
|
|
71
4
|
//# sourceMappingURL=list-prompts-request.handler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-prompts-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/list-prompts-request.handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,kBAAkB,
|
|
1
|
+
{"version":3,"file":"list-prompts-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/list-prompts-request.handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACrH,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAErE,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAChD,KAAK,GACN,EAAE,iBAAiB,GAAG,UAAU,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,CAiBvE"}
|
|
@@ -1,73 +1,4 @@
|
|
|
1
|
-
import { ListResourceTemplatesRequest } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import { McpHandlerOptions } from './mcp-handlers.types';
|
|
3
|
-
export default function listResourceTemplatesRequestHandler({ scope }: McpHandlerOptions):
|
|
4
|
-
requestSchema: import("zod").ZodObject<{
|
|
5
|
-
params: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
7
|
-
progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
8
|
-
"io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
|
|
9
|
-
taskId: import("zod").ZodString;
|
|
10
|
-
}, import("zod/v4/core").$strip>>;
|
|
11
|
-
}, import("zod/v4/core").$loose>>;
|
|
12
|
-
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13
|
-
}, import("zod/v4/core").$strip>>;
|
|
14
|
-
method: import("zod").ZodLiteral<"resources/templates/list">;
|
|
15
|
-
}, import("zod/v4/core").$strip>;
|
|
16
|
-
handler: (request: ListResourceTemplatesRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
17
|
-
method: "resources/templates/list";
|
|
18
|
-
params?: {
|
|
19
|
-
_meta?: {
|
|
20
|
-
[x: string]: unknown;
|
|
21
|
-
progressToken?: string | number | undefined;
|
|
22
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
23
|
-
taskId: string;
|
|
24
|
-
} | undefined;
|
|
25
|
-
} | undefined;
|
|
26
|
-
cursor?: string | undefined;
|
|
27
|
-
} | undefined;
|
|
28
|
-
}, {
|
|
29
|
-
method: string;
|
|
30
|
-
params?: {
|
|
31
|
-
[x: string]: unknown;
|
|
32
|
-
_meta?: {
|
|
33
|
-
[x: string]: unknown;
|
|
34
|
-
progressToken?: string | number | undefined;
|
|
35
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
36
|
-
taskId: string;
|
|
37
|
-
} | undefined;
|
|
38
|
-
} | undefined;
|
|
39
|
-
} | undefined;
|
|
40
|
-
}>) => Promise<{
|
|
41
|
-
[x: string]: unknown;
|
|
42
|
-
resourceTemplates: {
|
|
43
|
-
uriTemplate: string;
|
|
44
|
-
name: string;
|
|
45
|
-
description?: string | undefined;
|
|
46
|
-
mimeType?: string | undefined;
|
|
47
|
-
annotations?: {
|
|
48
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
49
|
-
priority?: number | undefined;
|
|
50
|
-
lastModified?: string | undefined;
|
|
51
|
-
} | undefined;
|
|
52
|
-
_meta?: {
|
|
53
|
-
[x: string]: unknown;
|
|
54
|
-
} | undefined;
|
|
55
|
-
icons?: {
|
|
56
|
-
src: string;
|
|
57
|
-
mimeType?: string | undefined;
|
|
58
|
-
sizes?: string[] | undefined;
|
|
59
|
-
theme?: "light" | "dark" | undefined;
|
|
60
|
-
}[] | undefined;
|
|
61
|
-
title?: string | undefined;
|
|
62
|
-
}[];
|
|
63
|
-
_meta?: {
|
|
64
|
-
[x: string]: unknown;
|
|
65
|
-
progressToken?: string | number | undefined;
|
|
66
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
67
|
-
taskId: string;
|
|
68
|
-
} | undefined;
|
|
69
|
-
} | undefined;
|
|
70
|
-
nextCursor?: string | undefined;
|
|
71
|
-
}>;
|
|
72
|
-
};
|
|
1
|
+
import { ListResourceTemplatesRequest, ListResourceTemplatesResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
+
import { McpHandler, McpHandlerOptions } from './mcp-handlers.types';
|
|
3
|
+
export default function listResourceTemplatesRequestHandler({ scope, }: McpHandlerOptions): McpHandler<ListResourceTemplatesRequest, ListResourceTemplatesResult>;
|
|
73
4
|
//# sourceMappingURL=list-resource-templates-request.handler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-resource-templates-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/list-resource-templates-request.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,4BAA4B,
|
|
1
|
+
{"version":3,"file":"list-resource-templates-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/list-resource-templates-request.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,4BAA4B,EAC5B,2BAA2B,EAC5B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAErE,MAAM,CAAC,OAAO,UAAU,mCAAmC,CAAC,EAC1D,KAAK,GACN,EAAE,iBAAiB,GAAG,UAAU,CAAC,4BAA4B,EAAE,2BAA2B,CAAC,CAiB3F"}
|
|
@@ -1,73 +1,4 @@
|
|
|
1
|
-
import { ListResourcesRequest } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import { McpHandlerOptions } from './mcp-handlers.types';
|
|
3
|
-
export default function listResourcesRequestHandler({ scope }: McpHandlerOptions):
|
|
4
|
-
requestSchema: import("zod").ZodObject<{
|
|
5
|
-
params: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
7
|
-
progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
8
|
-
"io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
|
|
9
|
-
taskId: import("zod").ZodString;
|
|
10
|
-
}, import("zod/v4/core").$strip>>;
|
|
11
|
-
}, import("zod/v4/core").$loose>>;
|
|
12
|
-
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13
|
-
}, import("zod/v4/core").$strip>>;
|
|
14
|
-
method: import("zod").ZodLiteral<"resources/list">;
|
|
15
|
-
}, import("zod/v4/core").$strip>;
|
|
16
|
-
handler: (request: ListResourcesRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
17
|
-
method: "resources/list";
|
|
18
|
-
params?: {
|
|
19
|
-
_meta?: {
|
|
20
|
-
[x: string]: unknown;
|
|
21
|
-
progressToken?: string | number | undefined;
|
|
22
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
23
|
-
taskId: string;
|
|
24
|
-
} | undefined;
|
|
25
|
-
} | undefined;
|
|
26
|
-
cursor?: string | undefined;
|
|
27
|
-
} | undefined;
|
|
28
|
-
}, {
|
|
29
|
-
method: string;
|
|
30
|
-
params?: {
|
|
31
|
-
[x: string]: unknown;
|
|
32
|
-
_meta?: {
|
|
33
|
-
[x: string]: unknown;
|
|
34
|
-
progressToken?: string | number | undefined;
|
|
35
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
36
|
-
taskId: string;
|
|
37
|
-
} | undefined;
|
|
38
|
-
} | undefined;
|
|
39
|
-
} | undefined;
|
|
40
|
-
}>) => Promise<{
|
|
41
|
-
[x: string]: unknown;
|
|
42
|
-
resources: {
|
|
43
|
-
uri: string;
|
|
44
|
-
name: string;
|
|
45
|
-
description?: string | undefined;
|
|
46
|
-
mimeType?: string | undefined;
|
|
47
|
-
annotations?: {
|
|
48
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
49
|
-
priority?: number | undefined;
|
|
50
|
-
lastModified?: string | undefined;
|
|
51
|
-
} | undefined;
|
|
52
|
-
_meta?: {
|
|
53
|
-
[x: string]: unknown;
|
|
54
|
-
} | undefined;
|
|
55
|
-
icons?: {
|
|
56
|
-
src: string;
|
|
57
|
-
mimeType?: string | undefined;
|
|
58
|
-
sizes?: string[] | undefined;
|
|
59
|
-
theme?: "light" | "dark" | undefined;
|
|
60
|
-
}[] | undefined;
|
|
61
|
-
title?: string | undefined;
|
|
62
|
-
}[];
|
|
63
|
-
_meta?: {
|
|
64
|
-
[x: string]: unknown;
|
|
65
|
-
progressToken?: string | number | undefined;
|
|
66
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
67
|
-
taskId: string;
|
|
68
|
-
} | undefined;
|
|
69
|
-
} | undefined;
|
|
70
|
-
nextCursor?: string | undefined;
|
|
71
|
-
}>;
|
|
72
|
-
};
|
|
1
|
+
import { ListResourcesRequest, ListResourcesResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
+
import { McpHandler, McpHandlerOptions } from './mcp-handlers.types';
|
|
3
|
+
export default function listResourcesRequestHandler({ scope, }: McpHandlerOptions): McpHandler<ListResourcesRequest, ListResourcesResult>;
|
|
73
4
|
//# sourceMappingURL=list-resources-request.handler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-resources-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/list-resources-request.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,oBAAoB,
|
|
1
|
+
{"version":3,"file":"list-resources-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/list-resources-request.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAErE,MAAM,CAAC,OAAO,UAAU,2BAA2B,CAAC,EAClD,KAAK,GACN,EAAE,iBAAiB,GAAG,UAAU,CAAC,oBAAoB,EAAE,mBAAmB,CAAC,CAiB3E"}
|
|
@@ -1,86 +1,4 @@
|
|
|
1
|
-
import { ListToolsRequest } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import { McpHandlerOptions } from './mcp-handlers.types';
|
|
3
|
-
export default function
|
|
4
|
-
requestSchema: import("zod").ZodObject<{
|
|
5
|
-
params: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
7
|
-
progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
8
|
-
"io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
|
|
9
|
-
taskId: import("zod").ZodString;
|
|
10
|
-
}, import("zod/v4/core").$strip>>;
|
|
11
|
-
}, import("zod/v4/core").$loose>>;
|
|
12
|
-
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13
|
-
}, import("zod/v4/core").$strip>>;
|
|
14
|
-
method: import("zod").ZodLiteral<"tools/list">;
|
|
15
|
-
}, import("zod/v4/core").$strip>;
|
|
16
|
-
handler: (request: ListToolsRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
17
|
-
method: "tools/list";
|
|
18
|
-
params?: {
|
|
19
|
-
_meta?: {
|
|
20
|
-
[x: string]: unknown;
|
|
21
|
-
progressToken?: string | number | undefined;
|
|
22
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
23
|
-
taskId: string;
|
|
24
|
-
} | undefined;
|
|
25
|
-
} | undefined;
|
|
26
|
-
cursor?: string | undefined;
|
|
27
|
-
} | undefined;
|
|
28
|
-
}, {
|
|
29
|
-
method: string;
|
|
30
|
-
params?: {
|
|
31
|
-
[x: string]: unknown;
|
|
32
|
-
_meta?: {
|
|
33
|
-
[x: string]: unknown;
|
|
34
|
-
progressToken?: string | number | undefined;
|
|
35
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
36
|
-
taskId: string;
|
|
37
|
-
} | undefined;
|
|
38
|
-
} | undefined;
|
|
39
|
-
} | undefined;
|
|
40
|
-
}>) => Promise<{
|
|
41
|
-
[x: string]: unknown;
|
|
42
|
-
tools: {
|
|
43
|
-
inputSchema: {
|
|
44
|
-
[x: string]: unknown;
|
|
45
|
-
type: "object";
|
|
46
|
-
properties?: Record<string, object> | undefined;
|
|
47
|
-
required?: string[] | undefined;
|
|
48
|
-
};
|
|
49
|
-
name: string;
|
|
50
|
-
description?: string | undefined;
|
|
51
|
-
outputSchema?: {
|
|
52
|
-
[x: string]: unknown;
|
|
53
|
-
type: "object";
|
|
54
|
-
properties?: Record<string, object> | undefined;
|
|
55
|
-
required?: string[] | undefined;
|
|
56
|
-
} | undefined;
|
|
57
|
-
annotations?: {
|
|
58
|
-
title?: string | undefined;
|
|
59
|
-
readOnlyHint?: boolean | undefined;
|
|
60
|
-
destructiveHint?: boolean | undefined;
|
|
61
|
-
idempotentHint?: boolean | undefined;
|
|
62
|
-
openWorldHint?: boolean | undefined;
|
|
63
|
-
} | undefined;
|
|
64
|
-
execution?: {
|
|
65
|
-
taskSupport?: "optional" | "required" | "forbidden" | undefined;
|
|
66
|
-
} | undefined;
|
|
67
|
-
_meta?: Record<string, unknown> | undefined;
|
|
68
|
-
icons?: {
|
|
69
|
-
src: string;
|
|
70
|
-
mimeType?: string | undefined;
|
|
71
|
-
sizes?: string[] | undefined;
|
|
72
|
-
theme?: "light" | "dark" | undefined;
|
|
73
|
-
}[] | undefined;
|
|
74
|
-
title?: string | undefined;
|
|
75
|
-
}[];
|
|
76
|
-
_meta?: {
|
|
77
|
-
[x: string]: unknown;
|
|
78
|
-
progressToken?: string | number | undefined;
|
|
79
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
80
|
-
taskId: string;
|
|
81
|
-
} | undefined;
|
|
82
|
-
} | undefined;
|
|
83
|
-
nextCursor?: string | undefined;
|
|
84
|
-
}>;
|
|
85
|
-
};
|
|
1
|
+
import { ListToolsRequest, ListToolsResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
+
import { McpHandler, McpHandlerOptions } from './mcp-handlers.types';
|
|
3
|
+
export default function listToolsRequestHandler({ scope, }: McpHandlerOptions): McpHandler<ListToolsRequest, ListToolsResult>;
|
|
86
4
|
//# sourceMappingURL=list-tools-request.handler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tools-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/list-tools-request.handler.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"list-tools-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/list-tools-request.handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,gBAAgB,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC/G,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAErE,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,EAC9C,KAAK,GACN,EAAE,iBAAiB,GAAG,UAAU,CAAC,gBAAgB,EAAE,eAAe,CAAC,CAiBnE"}
|
|
@@ -1,62 +1,4 @@
|
|
|
1
|
-
import { ReadResourceRequest } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
-
import { McpHandlerOptions } from './mcp-handlers.types';
|
|
3
|
-
export default function readResourceRequestHandler({ scope }: McpHandlerOptions):
|
|
4
|
-
requestSchema: import("zod").ZodObject<{
|
|
5
|
-
method: import("zod").ZodLiteral<"resources/read">;
|
|
6
|
-
params: import("zod").ZodObject<{
|
|
7
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
8
|
-
progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
9
|
-
"io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
|
|
10
|
-
taskId: import("zod").ZodString;
|
|
11
|
-
}, import("zod/v4/core").$strip>>;
|
|
12
|
-
}, import("zod/v4/core").$loose>>;
|
|
13
|
-
uri: import("zod").ZodString;
|
|
14
|
-
}, import("zod/v4/core").$strip>;
|
|
15
|
-
}, import("zod/v4/core").$strip>;
|
|
16
|
-
handler: (request: ReadResourceRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
17
|
-
method: "resources/read";
|
|
18
|
-
params: {
|
|
19
|
-
uri: string;
|
|
20
|
-
_meta?: {
|
|
21
|
-
[x: string]: unknown;
|
|
22
|
-
progressToken?: string | number | undefined;
|
|
23
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
24
|
-
taskId: string;
|
|
25
|
-
} | undefined;
|
|
26
|
-
} | undefined;
|
|
27
|
-
};
|
|
28
|
-
}, {
|
|
29
|
-
method: string;
|
|
30
|
-
params?: {
|
|
31
|
-
[x: string]: unknown;
|
|
32
|
-
_meta?: {
|
|
33
|
-
[x: string]: unknown;
|
|
34
|
-
progressToken?: string | number | undefined;
|
|
35
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
36
|
-
taskId: string;
|
|
37
|
-
} | undefined;
|
|
38
|
-
} | undefined;
|
|
39
|
-
} | undefined;
|
|
40
|
-
}>) => Promise<{
|
|
41
|
-
[x: string]: unknown;
|
|
42
|
-
contents: ({
|
|
43
|
-
uri: string;
|
|
44
|
-
text: string;
|
|
45
|
-
mimeType?: string | undefined;
|
|
46
|
-
_meta?: Record<string, unknown> | undefined;
|
|
47
|
-
} | {
|
|
48
|
-
uri: string;
|
|
49
|
-
blob: string;
|
|
50
|
-
mimeType?: string | undefined;
|
|
51
|
-
_meta?: Record<string, unknown> | undefined;
|
|
52
|
-
})[];
|
|
53
|
-
_meta?: {
|
|
54
|
-
[x: string]: unknown;
|
|
55
|
-
progressToken?: string | number | undefined;
|
|
56
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
57
|
-
taskId: string;
|
|
58
|
-
} | undefined;
|
|
59
|
-
} | undefined;
|
|
60
|
-
}>;
|
|
61
|
-
};
|
|
1
|
+
import { ReadResourceRequest, ReadResourceResult } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
+
import { McpHandler, McpHandlerOptions } from './mcp-handlers.types';
|
|
3
|
+
export default function readResourceRequestHandler({ scope, }: McpHandlerOptions): McpHandler<ReadResourceRequest, ReadResourceResult>;
|
|
62
4
|
//# sourceMappingURL=read-resource-request.handler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-resource-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/read-resource-request.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAA6B,mBAAmB,
|
|
1
|
+
{"version":3,"file":"read-resource-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/read-resource-request.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAA6B,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxH,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAErE,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,EACjD,KAAK,GACN,EAAE,iBAAiB,GAAG,UAAU,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAmBzE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { McpHandler, McpHandlerOptions } from './mcp-handlers.types';
|
|
2
|
+
import { SkillsListRequest, SkillsListResult } from './skills-mcp.types';
|
|
3
|
+
/**
|
|
4
|
+
* MCP handler for skills/list custom method.
|
|
5
|
+
*
|
|
6
|
+
* Allows MCP clients to list all available skills.
|
|
7
|
+
*/
|
|
8
|
+
export default function skillsListRequestHandler({ scope, }: McpHandlerOptions): McpHandler<SkillsListRequest, SkillsListResult>;
|
|
9
|
+
//# sourceMappingURL=skills-list-request.handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skills-list-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/skills-list-request.handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAGL,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,oBAAoB,CAAC;AAG5B;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAC/C,KAAK,GACN,EAAE,iBAAiB,GAAG,UAAU,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CA6CrE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { McpHandler, McpHandlerOptions } from './mcp-handlers.types';
|
|
2
|
+
import { SkillsLoadRequest, SkillsLoadResult } from './skills-mcp.types';
|
|
3
|
+
/**
|
|
4
|
+
* MCP handler for skills/load custom method.
|
|
5
|
+
*
|
|
6
|
+
* Allows MCP clients to load skills by ID with full content.
|
|
7
|
+
*/
|
|
8
|
+
export default function skillsLoadRequestHandler({ scope, }: McpHandlerOptions): McpHandler<SkillsLoadRequest, SkillsLoadResult>;
|
|
9
|
+
//# sourceMappingURL=skills-load-request.handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skills-load-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/skills-load-request.handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAGL,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,oBAAoB,CAAC;AAiB5B;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAC/C,KAAK,GACN,EAAE,iBAAiB,GAAG,UAAU,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAwHrE"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Request schema for skills/search custom MCP method.
|
|
4
|
+
*/
|
|
5
|
+
export declare const SkillsSearchRequestSchema: z.ZodObject<{
|
|
6
|
+
method: z.ZodLiteral<"skills/search">;
|
|
7
|
+
params: z.ZodObject<{
|
|
8
|
+
query: z.ZodString;
|
|
9
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
requireAllTools: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
export type SkillsSearchRequest = z.infer<typeof SkillsSearchRequestSchema>;
|
|
16
|
+
/**
|
|
17
|
+
* Response schema for skills/search validation.
|
|
18
|
+
*/
|
|
19
|
+
export declare const SkillsSearchResultSchema: z.ZodObject<{
|
|
20
|
+
skills: z.ZodArray<z.ZodObject<{
|
|
21
|
+
id: z.ZodString;
|
|
22
|
+
name: z.ZodString;
|
|
23
|
+
description: z.ZodString;
|
|
24
|
+
score: z.ZodNumber;
|
|
25
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
27
|
+
name: z.ZodString;
|
|
28
|
+
available: z.ZodBoolean;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
source: z.ZodEnum<{
|
|
31
|
+
local: "local";
|
|
32
|
+
external: "external";
|
|
33
|
+
}>;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
total: z.ZodNumber;
|
|
36
|
+
hasMore: z.ZodBoolean;
|
|
37
|
+
guidance: z.ZodString;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
/**
|
|
40
|
+
* Skills search result type.
|
|
41
|
+
* Index signature allows additional server-provided properties for forward compatibility.
|
|
42
|
+
*/
|
|
43
|
+
export type SkillsSearchResult = z.infer<typeof SkillsSearchResultSchema> & {
|
|
44
|
+
[key: string]: unknown;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Request schema for skills/load custom MCP method.
|
|
48
|
+
*/
|
|
49
|
+
export declare const SkillsLoadRequestSchema: z.ZodObject<{
|
|
50
|
+
method: z.ZodLiteral<"skills/load">;
|
|
51
|
+
params: z.ZodObject<{
|
|
52
|
+
skillIds: z.ZodArray<z.ZodString>;
|
|
53
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
54
|
+
full: "full";
|
|
55
|
+
"instructions-only": "instructions-only";
|
|
56
|
+
}>>;
|
|
57
|
+
activateSession: z.ZodOptional<z.ZodBoolean>;
|
|
58
|
+
policyMode: z.ZodOptional<z.ZodEnum<{
|
|
59
|
+
strict: "strict";
|
|
60
|
+
approval: "approval";
|
|
61
|
+
permissive: "permissive";
|
|
62
|
+
}>>;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
export type SkillsLoadRequest = z.infer<typeof SkillsLoadRequestSchema>;
|
|
66
|
+
/**
|
|
67
|
+
* Response schema for skills/load validation.
|
|
68
|
+
*/
|
|
69
|
+
export declare const SkillsLoadResultSchema: z.ZodObject<{
|
|
70
|
+
skills: z.ZodArray<z.ZodObject<{
|
|
71
|
+
id: z.ZodString;
|
|
72
|
+
name: z.ZodString;
|
|
73
|
+
description: z.ZodString;
|
|
74
|
+
instructions: z.ZodString;
|
|
75
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
76
|
+
name: z.ZodString;
|
|
77
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
78
|
+
available: z.ZodBoolean;
|
|
79
|
+
inputSchema: z.ZodOptional<z.ZodUnknown>;
|
|
80
|
+
outputSchema: z.ZodOptional<z.ZodUnknown>;
|
|
81
|
+
}, z.core.$strip>>;
|
|
82
|
+
parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
83
|
+
name: z.ZodString;
|
|
84
|
+
description: z.ZodOptional<z.ZodString>;
|
|
85
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
+
type: z.ZodOptional<z.ZodString>;
|
|
87
|
+
}, z.core.$strip>>>;
|
|
88
|
+
availableTools: z.ZodArray<z.ZodString>;
|
|
89
|
+
missingTools: z.ZodArray<z.ZodString>;
|
|
90
|
+
isComplete: z.ZodBoolean;
|
|
91
|
+
formattedContent: z.ZodString;
|
|
92
|
+
session: z.ZodOptional<z.ZodObject<{
|
|
93
|
+
activated: z.ZodBoolean;
|
|
94
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
95
|
+
policyMode: z.ZodOptional<z.ZodString>;
|
|
96
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
97
|
+
}, z.core.$strip>>;
|
|
98
|
+
}, z.core.$strip>>;
|
|
99
|
+
summary: z.ZodObject<{
|
|
100
|
+
totalSkills: z.ZodNumber;
|
|
101
|
+
totalTools: z.ZodNumber;
|
|
102
|
+
allToolsAvailable: z.ZodBoolean;
|
|
103
|
+
combinedWarnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
104
|
+
}, z.core.$strip>;
|
|
105
|
+
nextSteps: z.ZodString;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
/**
|
|
108
|
+
* Skills load result type.
|
|
109
|
+
* Index signature allows additional server-provided properties for forward compatibility.
|
|
110
|
+
*/
|
|
111
|
+
export type SkillsLoadResult = z.infer<typeof SkillsLoadResultSchema> & {
|
|
112
|
+
[key: string]: unknown;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Request schema for skills/list custom MCP method.
|
|
116
|
+
*/
|
|
117
|
+
export declare const SkillsListRequestSchema: z.ZodObject<{
|
|
118
|
+
method: z.ZodLiteral<"skills/list">;
|
|
119
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
120
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
123
|
+
sortBy: z.ZodOptional<z.ZodEnum<{
|
|
124
|
+
name: "name";
|
|
125
|
+
priority: "priority";
|
|
126
|
+
createdAt: "createdAt";
|
|
127
|
+
}>>;
|
|
128
|
+
sortOrder: z.ZodOptional<z.ZodEnum<{
|
|
129
|
+
asc: "asc";
|
|
130
|
+
desc: "desc";
|
|
131
|
+
}>>;
|
|
132
|
+
includeHidden: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
+
}, z.core.$strip>>;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
export type SkillsListRequest = z.infer<typeof SkillsListRequestSchema>;
|
|
136
|
+
/**
|
|
137
|
+
* Response schema for skills/list validation.
|
|
138
|
+
*/
|
|
139
|
+
export declare const SkillsListResultSchema: z.ZodObject<{
|
|
140
|
+
skills: z.ZodArray<z.ZodObject<{
|
|
141
|
+
id: z.ZodString;
|
|
142
|
+
name: z.ZodString;
|
|
143
|
+
description: z.ZodString;
|
|
144
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
145
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
146
|
+
}, z.core.$strip>>;
|
|
147
|
+
total: z.ZodNumber;
|
|
148
|
+
hasMore: z.ZodBoolean;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
/**
|
|
151
|
+
* Skills list result type.
|
|
152
|
+
* Index signature allows additional server-provided properties for forward compatibility.
|
|
153
|
+
*/
|
|
154
|
+
export type SkillsListResult = z.infer<typeof SkillsListResultSchema> & {
|
|
155
|
+
[key: string]: unknown;
|
|
156
|
+
};
|
|
157
|
+
//# sourceMappingURL=skills-mcp.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skills-mcp.types.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/skills-mcp.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;iBASpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;iBAenC,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,GAAG;IAC1E,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAMF;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;iBAQlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+CjC,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,GAAG;IACtE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAMF;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;iBAYlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;iBAYjC,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,GAAG;IACtE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { McpHandler, McpHandlerOptions } from './mcp-handlers.types';
|
|
2
|
+
import { SkillsSearchRequest, SkillsSearchResult } from './skills-mcp.types';
|
|
3
|
+
/**
|
|
4
|
+
* MCP handler for skills/search custom method.
|
|
5
|
+
*
|
|
6
|
+
* Allows MCP clients to search for skills by query.
|
|
7
|
+
*/
|
|
8
|
+
export default function skillsSearchRequestHandler({ scope, }: McpHandlerOptions): McpHandler<SkillsSearchRequest, SkillsSearchResult>;
|
|
9
|
+
//# sourceMappingURL=skills-search-request.handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skills-search-request.handler.d.ts","sourceRoot":"","sources":["../../../src/transport/mcp-handlers/skills-search-request.handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAGL,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAI5B;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,EACjD,KAAK,GACN,EAAE,iBAAiB,GAAG,UAAU,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CA2DzE"}
|