@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
|
@@ -157,79 +157,72 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
157
157
|
} | undefined;
|
|
158
158
|
} | undefined;
|
|
159
159
|
} | undefined;
|
|
160
|
-
}> | {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
165
|
-
"io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
|
|
166
|
-
taskId: import("zod").ZodString;
|
|
167
|
-
}, import("zod/v4/core").$strip>>;
|
|
168
|
-
}, import("zod/v4/core").$loose>>;
|
|
169
|
-
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
170
|
-
}, import("zod/v4/core").$strip>>;
|
|
171
|
-
method: import("zod").ZodLiteral<"tools/list">;
|
|
172
|
-
}, import("zod/v4/core").$strip>;
|
|
173
|
-
handler: (request: import("@modelcontextprotocol/sdk/types.js").ListToolsRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
174
|
-
method: "tools/list";
|
|
175
|
-
params?: {
|
|
176
|
-
_meta?: {
|
|
177
|
-
[x: string]: unknown;
|
|
178
|
-
progressToken?: string | number | undefined;
|
|
179
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
180
|
-
taskId: string;
|
|
181
|
-
} | undefined;
|
|
182
|
-
} | undefined;
|
|
183
|
-
cursor?: string | undefined;
|
|
184
|
-
} | undefined;
|
|
185
|
-
}, {
|
|
186
|
-
method: string;
|
|
187
|
-
params?: {
|
|
160
|
+
}> | import("./mcp-handlers.types").McpHandler<{
|
|
161
|
+
method: "tools/list";
|
|
162
|
+
params?: {
|
|
163
|
+
_meta?: {
|
|
188
164
|
[x: string]: unknown;
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
193
|
-
taskId: string;
|
|
194
|
-
} | undefined;
|
|
165
|
+
progressToken?: string | number | undefined;
|
|
166
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
167
|
+
taskId: string;
|
|
195
168
|
} | undefined;
|
|
196
169
|
} | undefined;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
description?: string | undefined;
|
|
208
|
-
outputSchema?: {
|
|
209
|
-
[x: string]: unknown;
|
|
210
|
-
type: "object";
|
|
211
|
-
properties?: Record<string, object> | undefined;
|
|
212
|
-
required?: string[] | undefined;
|
|
213
|
-
} | undefined;
|
|
214
|
-
annotations?: {
|
|
215
|
-
title?: string | undefined;
|
|
216
|
-
readOnlyHint?: boolean | undefined;
|
|
217
|
-
destructiveHint?: boolean | undefined;
|
|
218
|
-
idempotentHint?: boolean | undefined;
|
|
219
|
-
openWorldHint?: boolean | undefined;
|
|
170
|
+
cursor?: string | undefined;
|
|
171
|
+
} | undefined;
|
|
172
|
+
}, {
|
|
173
|
+
[x: string]: unknown;
|
|
174
|
+
tools: {
|
|
175
|
+
inputSchema: {
|
|
176
|
+
[x: string]: unknown;
|
|
177
|
+
type: "object";
|
|
178
|
+
properties?: {
|
|
179
|
+
[x: string]: object;
|
|
220
180
|
} | undefined;
|
|
221
|
-
|
|
222
|
-
|
|
181
|
+
required?: string[] | undefined;
|
|
182
|
+
};
|
|
183
|
+
name: string;
|
|
184
|
+
description?: string | undefined;
|
|
185
|
+
outputSchema?: {
|
|
186
|
+
[x: string]: unknown;
|
|
187
|
+
type: "object";
|
|
188
|
+
properties?: {
|
|
189
|
+
[x: string]: object;
|
|
223
190
|
} | undefined;
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
mimeType?: string | undefined;
|
|
228
|
-
sizes?: string[] | undefined;
|
|
229
|
-
theme?: "light" | "dark" | undefined;
|
|
230
|
-
}[] | undefined;
|
|
191
|
+
required?: string[] | undefined;
|
|
192
|
+
} | undefined;
|
|
193
|
+
annotations?: {
|
|
231
194
|
title?: string | undefined;
|
|
232
|
-
|
|
195
|
+
readOnlyHint?: boolean | undefined;
|
|
196
|
+
destructiveHint?: boolean | undefined;
|
|
197
|
+
idempotentHint?: boolean | undefined;
|
|
198
|
+
openWorldHint?: boolean | undefined;
|
|
199
|
+
} | undefined;
|
|
200
|
+
execution?: {
|
|
201
|
+
taskSupport?: "optional" | "required" | "forbidden" | undefined;
|
|
202
|
+
} | undefined;
|
|
203
|
+
_meta?: {
|
|
204
|
+
[x: string]: unknown;
|
|
205
|
+
} | undefined;
|
|
206
|
+
icons?: {
|
|
207
|
+
src: string;
|
|
208
|
+
mimeType?: string | undefined;
|
|
209
|
+
sizes?: string[] | undefined;
|
|
210
|
+
theme?: "light" | "dark" | undefined;
|
|
211
|
+
}[] | undefined;
|
|
212
|
+
title?: string | undefined;
|
|
213
|
+
}[];
|
|
214
|
+
_meta?: {
|
|
215
|
+
[x: string]: unknown;
|
|
216
|
+
progressToken?: string | number | undefined;
|
|
217
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
218
|
+
taskId: string;
|
|
219
|
+
} | undefined;
|
|
220
|
+
} | undefined;
|
|
221
|
+
nextCursor?: string | undefined;
|
|
222
|
+
}, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
|
|
223
|
+
method: string;
|
|
224
|
+
params?: {
|
|
225
|
+
[x: string]: unknown;
|
|
233
226
|
_meta?: {
|
|
234
227
|
[x: string]: unknown;
|
|
235
228
|
progressToken?: string | number | undefined;
|
|
@@ -237,9 +230,8 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
237
230
|
taskId: string;
|
|
238
231
|
} | undefined;
|
|
239
232
|
} | undefined;
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
} | import("./mcp-handlers.types").McpHandler<{
|
|
233
|
+
} | undefined;
|
|
234
|
+
}> | import("./mcp-handlers.types").McpHandler<{
|
|
243
235
|
method: "tools/call";
|
|
244
236
|
params: {
|
|
245
237
|
name: string;
|
|
@@ -364,22 +356,181 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
364
356
|
} | undefined;
|
|
365
357
|
} | undefined;
|
|
366
358
|
} | undefined;
|
|
359
|
+
}> | import("./mcp-handlers.types").McpHandler<{
|
|
360
|
+
method: "resources/list";
|
|
361
|
+
params?: {
|
|
362
|
+
_meta?: {
|
|
363
|
+
[x: string]: unknown;
|
|
364
|
+
progressToken?: string | number | undefined;
|
|
365
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
366
|
+
taskId: string;
|
|
367
|
+
} | undefined;
|
|
368
|
+
} | undefined;
|
|
369
|
+
cursor?: string | undefined;
|
|
370
|
+
} | undefined;
|
|
371
|
+
}, {
|
|
372
|
+
[x: string]: unknown;
|
|
373
|
+
resources: {
|
|
374
|
+
uri: string;
|
|
375
|
+
name: string;
|
|
376
|
+
description?: string | undefined;
|
|
377
|
+
mimeType?: string | undefined;
|
|
378
|
+
annotations?: {
|
|
379
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
380
|
+
priority?: number | undefined;
|
|
381
|
+
lastModified?: string | undefined;
|
|
382
|
+
} | undefined;
|
|
383
|
+
_meta?: {
|
|
384
|
+
[x: string]: unknown;
|
|
385
|
+
} | undefined;
|
|
386
|
+
icons?: {
|
|
387
|
+
src: string;
|
|
388
|
+
mimeType?: string | undefined;
|
|
389
|
+
sizes?: string[] | undefined;
|
|
390
|
+
theme?: "light" | "dark" | undefined;
|
|
391
|
+
}[] | undefined;
|
|
392
|
+
title?: string | undefined;
|
|
393
|
+
}[];
|
|
394
|
+
_meta?: {
|
|
395
|
+
[x: string]: unknown;
|
|
396
|
+
progressToken?: string | number | undefined;
|
|
397
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
398
|
+
taskId: string;
|
|
399
|
+
} | undefined;
|
|
400
|
+
} | undefined;
|
|
401
|
+
nextCursor?: string | undefined;
|
|
402
|
+
}, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
|
|
403
|
+
method: string;
|
|
404
|
+
params?: {
|
|
405
|
+
[x: string]: unknown;
|
|
406
|
+
_meta?: {
|
|
407
|
+
[x: string]: unknown;
|
|
408
|
+
progressToken?: string | number | undefined;
|
|
409
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
410
|
+
taskId: string;
|
|
411
|
+
} | undefined;
|
|
412
|
+
} | undefined;
|
|
413
|
+
} | undefined;
|
|
414
|
+
}> | import("./mcp-handlers.types").McpHandler<{
|
|
415
|
+
method: "resources/templates/list";
|
|
416
|
+
params?: {
|
|
417
|
+
_meta?: {
|
|
418
|
+
[x: string]: unknown;
|
|
419
|
+
progressToken?: string | number | undefined;
|
|
420
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
421
|
+
taskId: string;
|
|
422
|
+
} | undefined;
|
|
423
|
+
} | undefined;
|
|
424
|
+
cursor?: string | undefined;
|
|
425
|
+
} | undefined;
|
|
426
|
+
}, {
|
|
427
|
+
[x: string]: unknown;
|
|
428
|
+
resourceTemplates: {
|
|
429
|
+
uriTemplate: string;
|
|
430
|
+
name: string;
|
|
431
|
+
description?: string | undefined;
|
|
432
|
+
mimeType?: string | undefined;
|
|
433
|
+
annotations?: {
|
|
434
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
435
|
+
priority?: number | undefined;
|
|
436
|
+
lastModified?: string | undefined;
|
|
437
|
+
} | undefined;
|
|
438
|
+
_meta?: {
|
|
439
|
+
[x: string]: unknown;
|
|
440
|
+
} | undefined;
|
|
441
|
+
icons?: {
|
|
442
|
+
src: string;
|
|
443
|
+
mimeType?: string | undefined;
|
|
444
|
+
sizes?: string[] | undefined;
|
|
445
|
+
theme?: "light" | "dark" | undefined;
|
|
446
|
+
}[] | undefined;
|
|
447
|
+
title?: string | undefined;
|
|
448
|
+
}[];
|
|
449
|
+
_meta?: {
|
|
450
|
+
[x: string]: unknown;
|
|
451
|
+
progressToken?: string | number | undefined;
|
|
452
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
453
|
+
taskId: string;
|
|
454
|
+
} | undefined;
|
|
455
|
+
} | undefined;
|
|
456
|
+
nextCursor?: string | undefined;
|
|
457
|
+
}, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
|
|
458
|
+
method: string;
|
|
459
|
+
params?: {
|
|
460
|
+
[x: string]: unknown;
|
|
461
|
+
_meta?: {
|
|
462
|
+
[x: string]: unknown;
|
|
463
|
+
progressToken?: string | number | undefined;
|
|
464
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
465
|
+
taskId: string;
|
|
466
|
+
} | undefined;
|
|
467
|
+
} | undefined;
|
|
468
|
+
} | undefined;
|
|
469
|
+
}> | import("./mcp-handlers.types").McpHandler<{
|
|
470
|
+
method: "resources/read";
|
|
471
|
+
params: {
|
|
472
|
+
uri: string;
|
|
473
|
+
_meta?: {
|
|
474
|
+
[x: string]: unknown;
|
|
475
|
+
progressToken?: string | number | undefined;
|
|
476
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
477
|
+
taskId: string;
|
|
478
|
+
} | undefined;
|
|
479
|
+
} | undefined;
|
|
480
|
+
};
|
|
481
|
+
}, {
|
|
482
|
+
[x: string]: unknown;
|
|
483
|
+
contents: ({
|
|
484
|
+
uri: string;
|
|
485
|
+
text: string;
|
|
486
|
+
mimeType?: string | undefined;
|
|
487
|
+
_meta?: {
|
|
488
|
+
[x: string]: unknown;
|
|
489
|
+
} | undefined;
|
|
490
|
+
} | {
|
|
491
|
+
uri: string;
|
|
492
|
+
blob: string;
|
|
493
|
+
mimeType?: string | undefined;
|
|
494
|
+
_meta?: {
|
|
495
|
+
[x: string]: unknown;
|
|
496
|
+
} | undefined;
|
|
497
|
+
})[];
|
|
498
|
+
_meta?: {
|
|
499
|
+
[x: string]: unknown;
|
|
500
|
+
progressToken?: string | number | undefined;
|
|
501
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
502
|
+
taskId: string;
|
|
503
|
+
} | undefined;
|
|
504
|
+
} | undefined;
|
|
505
|
+
}, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
|
|
506
|
+
method: string;
|
|
507
|
+
params?: {
|
|
508
|
+
[x: string]: unknown;
|
|
509
|
+
_meta?: {
|
|
510
|
+
[x: string]: unknown;
|
|
511
|
+
progressToken?: string | number | undefined;
|
|
512
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
513
|
+
taskId: string;
|
|
514
|
+
} | undefined;
|
|
515
|
+
} | undefined;
|
|
516
|
+
} | undefined;
|
|
367
517
|
}> | {
|
|
368
518
|
requestSchema: import("zod").ZodObject<{
|
|
369
|
-
|
|
519
|
+
method: import("zod").ZodLiteral<"resources/subscribe">;
|
|
520
|
+
params: import("zod").ZodObject<{
|
|
370
521
|
_meta: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
371
522
|
progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
372
523
|
"io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
|
|
373
524
|
taskId: import("zod").ZodString;
|
|
374
525
|
}, import("zod/v4/core").$strip>>;
|
|
375
526
|
}, import("zod/v4/core").$loose>>;
|
|
376
|
-
|
|
377
|
-
}, import("zod/v4/core").$strip
|
|
378
|
-
method: import("zod").ZodLiteral<"resources/list">;
|
|
527
|
+
uri: import("zod").ZodString;
|
|
528
|
+
}, import("zod/v4/core").$strip>;
|
|
379
529
|
}, import("zod/v4/core").$strip>;
|
|
380
|
-
handler: (request: import("@modelcontextprotocol/sdk/types.js").
|
|
381
|
-
method: "resources/
|
|
382
|
-
params
|
|
530
|
+
handler: (request: import("@modelcontextprotocol/sdk/types.js").SubscribeRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
531
|
+
method: "resources/subscribe";
|
|
532
|
+
params: {
|
|
533
|
+
uri: string;
|
|
383
534
|
_meta?: {
|
|
384
535
|
[x: string]: unknown;
|
|
385
536
|
progressToken?: string | number | undefined;
|
|
@@ -387,8 +538,7 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
387
538
|
taskId: string;
|
|
388
539
|
} | undefined;
|
|
389
540
|
} | undefined;
|
|
390
|
-
|
|
391
|
-
} | undefined;
|
|
541
|
+
};
|
|
392
542
|
}, {
|
|
393
543
|
method: string;
|
|
394
544
|
params?: {
|
|
@@ -401,54 +551,24 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
401
551
|
} | undefined;
|
|
402
552
|
} | undefined;
|
|
403
553
|
} | undefined;
|
|
404
|
-
}>) => Promise<
|
|
405
|
-
[x: string]: unknown;
|
|
406
|
-
resources: {
|
|
407
|
-
uri: string;
|
|
408
|
-
name: string;
|
|
409
|
-
description?: string | undefined;
|
|
410
|
-
mimeType?: string | undefined;
|
|
411
|
-
annotations?: {
|
|
412
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
413
|
-
priority?: number | undefined;
|
|
414
|
-
lastModified?: string | undefined;
|
|
415
|
-
} | undefined;
|
|
416
|
-
_meta?: {
|
|
417
|
-
[x: string]: unknown;
|
|
418
|
-
} | undefined;
|
|
419
|
-
icons?: {
|
|
420
|
-
src: string;
|
|
421
|
-
mimeType?: string | undefined;
|
|
422
|
-
sizes?: string[] | undefined;
|
|
423
|
-
theme?: "light" | "dark" | undefined;
|
|
424
|
-
}[] | undefined;
|
|
425
|
-
title?: string | undefined;
|
|
426
|
-
}[];
|
|
427
|
-
_meta?: {
|
|
428
|
-
[x: string]: unknown;
|
|
429
|
-
progressToken?: string | number | undefined;
|
|
430
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
431
|
-
taskId: string;
|
|
432
|
-
} | undefined;
|
|
433
|
-
} | undefined;
|
|
434
|
-
nextCursor?: string | undefined;
|
|
435
|
-
}>;
|
|
554
|
+
}>) => Promise<import("@modelcontextprotocol/sdk/types.js").EmptyResult>;
|
|
436
555
|
} | {
|
|
437
556
|
requestSchema: import("zod").ZodObject<{
|
|
438
|
-
|
|
557
|
+
method: import("zod").ZodLiteral<"resources/unsubscribe">;
|
|
558
|
+
params: import("zod").ZodObject<{
|
|
439
559
|
_meta: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
440
560
|
progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
441
561
|
"io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
|
|
442
562
|
taskId: import("zod").ZodString;
|
|
443
563
|
}, import("zod/v4/core").$strip>>;
|
|
444
564
|
}, import("zod/v4/core").$loose>>;
|
|
445
|
-
|
|
446
|
-
}, import("zod/v4/core").$strip
|
|
447
|
-
method: import("zod").ZodLiteral<"resources/templates/list">;
|
|
565
|
+
uri: import("zod").ZodString;
|
|
566
|
+
}, import("zod/v4/core").$strip>;
|
|
448
567
|
}, import("zod/v4/core").$strip>;
|
|
449
|
-
handler: (request: import("@modelcontextprotocol/sdk/types.js").
|
|
450
|
-
method: "resources/
|
|
451
|
-
params
|
|
568
|
+
handler: (request: import("@modelcontextprotocol/sdk/types.js").UnsubscribeRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
569
|
+
method: "resources/unsubscribe";
|
|
570
|
+
params: {
|
|
571
|
+
uri: string;
|
|
452
572
|
_meta?: {
|
|
453
573
|
[x: string]: unknown;
|
|
454
574
|
progressToken?: string | number | undefined;
|
|
@@ -456,8 +576,7 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
456
576
|
taskId: string;
|
|
457
577
|
} | undefined;
|
|
458
578
|
} | undefined;
|
|
459
|
-
|
|
460
|
-
} | undefined;
|
|
579
|
+
};
|
|
461
580
|
}, {
|
|
462
581
|
method: string;
|
|
463
582
|
params?: {
|
|
@@ -470,29 +589,10 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
470
589
|
} | undefined;
|
|
471
590
|
} | undefined;
|
|
472
591
|
} | undefined;
|
|
473
|
-
}>) => Promise<
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
name: string;
|
|
478
|
-
description?: string | undefined;
|
|
479
|
-
mimeType?: string | undefined;
|
|
480
|
-
annotations?: {
|
|
481
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
482
|
-
priority?: number | undefined;
|
|
483
|
-
lastModified?: string | undefined;
|
|
484
|
-
} | undefined;
|
|
485
|
-
_meta?: {
|
|
486
|
-
[x: string]: unknown;
|
|
487
|
-
} | undefined;
|
|
488
|
-
icons?: {
|
|
489
|
-
src: string;
|
|
490
|
-
mimeType?: string | undefined;
|
|
491
|
-
sizes?: string[] | undefined;
|
|
492
|
-
theme?: "light" | "dark" | undefined;
|
|
493
|
-
}[] | undefined;
|
|
494
|
-
title?: string | undefined;
|
|
495
|
-
}[];
|
|
592
|
+
}>) => Promise<import("@modelcontextprotocol/sdk/types.js").EmptyResult>;
|
|
593
|
+
} | import("./mcp-handlers.types").McpHandler<{
|
|
594
|
+
method: "prompts/list";
|
|
595
|
+
params?: {
|
|
496
596
|
_meta?: {
|
|
497
597
|
[x: string]: unknown;
|
|
498
598
|
progressToken?: string | number | undefined;
|
|
@@ -500,58 +600,41 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
500
600
|
taskId: string;
|
|
501
601
|
} | undefined;
|
|
502
602
|
} | undefined;
|
|
503
|
-
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
}, import("zod/v4/core").$strip>;
|
|
517
|
-
}, import("zod/v4/core").$strip>;
|
|
518
|
-
handler: (request: import("@modelcontextprotocol/sdk/types.js").ReadResourceRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
519
|
-
method: "resources/read";
|
|
520
|
-
params: {
|
|
521
|
-
uri: string;
|
|
522
|
-
_meta?: {
|
|
523
|
-
[x: string]: unknown;
|
|
524
|
-
progressToken?: string | number | undefined;
|
|
525
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
526
|
-
taskId: string;
|
|
527
|
-
} | undefined;
|
|
528
|
-
} | undefined;
|
|
529
|
-
};
|
|
530
|
-
}, {
|
|
531
|
-
method: string;
|
|
532
|
-
params?: {
|
|
603
|
+
cursor?: string | undefined;
|
|
604
|
+
} | undefined;
|
|
605
|
+
}, {
|
|
606
|
+
[x: string]: unknown;
|
|
607
|
+
prompts: {
|
|
608
|
+
name: string;
|
|
609
|
+
description?: string | undefined;
|
|
610
|
+
arguments?: {
|
|
611
|
+
name: string;
|
|
612
|
+
description?: string | undefined;
|
|
613
|
+
required?: boolean | undefined;
|
|
614
|
+
}[] | undefined;
|
|
615
|
+
_meta?: {
|
|
533
616
|
[x: string]: unknown;
|
|
534
|
-
_meta?: {
|
|
535
|
-
[x: string]: unknown;
|
|
536
|
-
progressToken?: string | number | undefined;
|
|
537
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
538
|
-
taskId: string;
|
|
539
|
-
} | undefined;
|
|
540
|
-
} | undefined;
|
|
541
617
|
} | undefined;
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
contents: ({
|
|
545
|
-
uri: string;
|
|
546
|
-
text: string;
|
|
547
|
-
mimeType?: string | undefined;
|
|
548
|
-
_meta?: Record<string, unknown> | undefined;
|
|
549
|
-
} | {
|
|
550
|
-
uri: string;
|
|
551
|
-
blob: string;
|
|
618
|
+
icons?: {
|
|
619
|
+
src: string;
|
|
552
620
|
mimeType?: string | undefined;
|
|
553
|
-
|
|
554
|
-
|
|
621
|
+
sizes?: string[] | undefined;
|
|
622
|
+
theme?: "light" | "dark" | undefined;
|
|
623
|
+
}[] | undefined;
|
|
624
|
+
title?: string | undefined;
|
|
625
|
+
}[];
|
|
626
|
+
_meta?: {
|
|
627
|
+
[x: string]: unknown;
|
|
628
|
+
progressToken?: string | number | undefined;
|
|
629
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
630
|
+
taskId: string;
|
|
631
|
+
} | undefined;
|
|
632
|
+
} | undefined;
|
|
633
|
+
nextCursor?: string | undefined;
|
|
634
|
+
}, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
|
|
635
|
+
method: string;
|
|
636
|
+
params?: {
|
|
637
|
+
[x: string]: unknown;
|
|
555
638
|
_meta?: {
|
|
556
639
|
[x: string]: unknown;
|
|
557
640
|
progressToken?: string | number | undefined;
|
|
@@ -559,130 +642,72 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
559
642
|
taskId: string;
|
|
560
643
|
} | undefined;
|
|
561
644
|
} | undefined;
|
|
562
|
-
}
|
|
563
|
-
} | {
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
569
|
-
"io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
|
|
570
|
-
taskId: import("zod").ZodString;
|
|
571
|
-
}, import("zod/v4/core").$strip>>;
|
|
572
|
-
}, import("zod/v4/core").$loose>>;
|
|
573
|
-
uri: import("zod").ZodString;
|
|
574
|
-
}, import("zod/v4/core").$strip>;
|
|
575
|
-
}, import("zod/v4/core").$strip>;
|
|
576
|
-
handler: (request: import("@modelcontextprotocol/sdk/types.js").SubscribeRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
577
|
-
method: "resources/subscribe";
|
|
578
|
-
params: {
|
|
579
|
-
uri: string;
|
|
580
|
-
_meta?: {
|
|
581
|
-
[x: string]: unknown;
|
|
582
|
-
progressToken?: string | number | undefined;
|
|
583
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
584
|
-
taskId: string;
|
|
585
|
-
} | undefined;
|
|
586
|
-
} | undefined;
|
|
587
|
-
};
|
|
588
|
-
}, {
|
|
589
|
-
method: string;
|
|
590
|
-
params?: {
|
|
645
|
+
} | undefined;
|
|
646
|
+
}> | import("./mcp-handlers.types").McpHandler<{
|
|
647
|
+
method: "prompts/get";
|
|
648
|
+
params: {
|
|
649
|
+
name: string;
|
|
650
|
+
_meta?: {
|
|
591
651
|
[x: string]: unknown;
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
596
|
-
taskId: string;
|
|
597
|
-
} | undefined;
|
|
652
|
+
progressToken?: string | number | undefined;
|
|
653
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
654
|
+
taskId: string;
|
|
598
655
|
} | undefined;
|
|
599
656
|
} | undefined;
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
method: "resources/unsubscribe";
|
|
616
|
-
params: {
|
|
617
|
-
uri: string;
|
|
618
|
-
_meta?: {
|
|
619
|
-
[x: string]: unknown;
|
|
620
|
-
progressToken?: string | number | undefined;
|
|
621
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
622
|
-
taskId: string;
|
|
623
|
-
} | undefined;
|
|
657
|
+
arguments?: {
|
|
658
|
+
[x: string]: string;
|
|
659
|
+
} | undefined;
|
|
660
|
+
};
|
|
661
|
+
}, {
|
|
662
|
+
[x: string]: unknown;
|
|
663
|
+
messages: {
|
|
664
|
+
role: "user" | "assistant";
|
|
665
|
+
content: {
|
|
666
|
+
type: "text";
|
|
667
|
+
text: string;
|
|
668
|
+
annotations?: {
|
|
669
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
670
|
+
priority?: number | undefined;
|
|
671
|
+
lastModified?: string | undefined;
|
|
624
672
|
} | undefined;
|
|
625
|
-
};
|
|
626
|
-
}, {
|
|
627
|
-
method: string;
|
|
628
|
-
params?: {
|
|
629
|
-
[x: string]: unknown;
|
|
630
673
|
_meta?: {
|
|
631
674
|
[x: string]: unknown;
|
|
632
|
-
progressToken?: string | number | undefined;
|
|
633
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
634
|
-
taskId: string;
|
|
635
|
-
} | undefined;
|
|
636
675
|
} | undefined;
|
|
637
|
-
} |
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
}, import("zod/v4/core").$strip>>;
|
|
647
|
-
}, import("zod/v4/core").$loose>>;
|
|
648
|
-
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
649
|
-
}, import("zod/v4/core").$strip>>;
|
|
650
|
-
method: import("zod").ZodLiteral<"prompts/list">;
|
|
651
|
-
}, import("zod/v4/core").$strip>;
|
|
652
|
-
handler: (request: import("@modelcontextprotocol/sdk/types.js").ListPromptsRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
653
|
-
method: "prompts/list";
|
|
654
|
-
params?: {
|
|
676
|
+
} | {
|
|
677
|
+
type: "image";
|
|
678
|
+
data: string;
|
|
679
|
+
mimeType: string;
|
|
680
|
+
annotations?: {
|
|
681
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
682
|
+
priority?: number | undefined;
|
|
683
|
+
lastModified?: string | undefined;
|
|
684
|
+
} | undefined;
|
|
655
685
|
_meta?: {
|
|
656
686
|
[x: string]: unknown;
|
|
657
|
-
progressToken?: string | number | undefined;
|
|
658
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
659
|
-
taskId: string;
|
|
660
|
-
} | undefined;
|
|
661
687
|
} | undefined;
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
688
|
+
} | {
|
|
689
|
+
type: "audio";
|
|
690
|
+
data: string;
|
|
691
|
+
mimeType: string;
|
|
692
|
+
annotations?: {
|
|
693
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
694
|
+
priority?: number | undefined;
|
|
695
|
+
lastModified?: string | undefined;
|
|
696
|
+
} | undefined;
|
|
668
697
|
_meta?: {
|
|
669
698
|
[x: string]: unknown;
|
|
670
|
-
progressToken?: string | number | undefined;
|
|
671
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
672
|
-
taskId: string;
|
|
673
|
-
} | undefined;
|
|
674
699
|
} | undefined;
|
|
675
|
-
} |
|
|
676
|
-
|
|
677
|
-
[x: string]: unknown;
|
|
678
|
-
prompts: {
|
|
700
|
+
} | {
|
|
701
|
+
uri: string;
|
|
679
702
|
name: string;
|
|
703
|
+
type: "resource_link";
|
|
680
704
|
description?: string | undefined;
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
705
|
+
mimeType?: string | undefined;
|
|
706
|
+
annotations?: {
|
|
707
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
708
|
+
priority?: number | undefined;
|
|
709
|
+
lastModified?: string | undefined;
|
|
710
|
+
} | undefined;
|
|
686
711
|
_meta?: {
|
|
687
712
|
[x: string]: unknown;
|
|
688
713
|
} | undefined;
|
|
@@ -693,132 +718,45 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
693
718
|
theme?: "light" | "dark" | undefined;
|
|
694
719
|
}[] | undefined;
|
|
695
720
|
title?: string | undefined;
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
701
|
-
taskId: string;
|
|
702
|
-
} | undefined;
|
|
703
|
-
} | undefined;
|
|
704
|
-
nextCursor?: string | undefined;
|
|
705
|
-
}>;
|
|
706
|
-
} | {
|
|
707
|
-
requestSchema: import("zod").ZodObject<{
|
|
708
|
-
method: import("zod").ZodLiteral<"prompts/get">;
|
|
709
|
-
params: import("zod").ZodObject<{
|
|
710
|
-
_meta: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
711
|
-
progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
712
|
-
"io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
|
|
713
|
-
taskId: import("zod").ZodString;
|
|
714
|
-
}, import("zod/v4/core").$strip>>;
|
|
715
|
-
}, import("zod/v4/core").$loose>>;
|
|
716
|
-
name: import("zod").ZodString;
|
|
717
|
-
arguments: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
718
|
-
}, import("zod/v4/core").$strip>;
|
|
719
|
-
}, import("zod/v4/core").$strip>;
|
|
720
|
-
handler: (request: import("@modelcontextprotocol/sdk/types.js").GetPromptRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
721
|
-
method: "prompts/get";
|
|
722
|
-
params: {
|
|
723
|
-
name: string;
|
|
724
|
-
_meta?: {
|
|
725
|
-
[x: string]: unknown;
|
|
726
|
-
progressToken?: string | number | undefined;
|
|
727
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
728
|
-
taskId: string;
|
|
729
|
-
} | undefined;
|
|
730
|
-
} | undefined;
|
|
731
|
-
arguments?: {
|
|
732
|
-
[x: string]: string;
|
|
733
|
-
} | undefined;
|
|
734
|
-
};
|
|
735
|
-
}, {
|
|
736
|
-
method: string;
|
|
737
|
-
params?: {
|
|
738
|
-
[x: string]: unknown;
|
|
739
|
-
_meta?: {
|
|
740
|
-
[x: string]: unknown;
|
|
741
|
-
progressToken?: string | number | undefined;
|
|
742
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
743
|
-
taskId: string;
|
|
744
|
-
} | undefined;
|
|
745
|
-
} | undefined;
|
|
746
|
-
} | undefined;
|
|
747
|
-
}>) => Promise<{
|
|
748
|
-
[x: string]: unknown;
|
|
749
|
-
messages: {
|
|
750
|
-
role: "user" | "assistant";
|
|
751
|
-
content: {
|
|
752
|
-
type: "text";
|
|
721
|
+
} | {
|
|
722
|
+
type: "resource";
|
|
723
|
+
resource: {
|
|
724
|
+
uri: string;
|
|
753
725
|
text: string;
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
lastModified?: string | undefined;
|
|
758
|
-
} | undefined;
|
|
759
|
-
_meta?: Record<string, unknown> | undefined;
|
|
760
|
-
} | {
|
|
761
|
-
type: "image";
|
|
762
|
-
data: string;
|
|
763
|
-
mimeType: string;
|
|
764
|
-
annotations?: {
|
|
765
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
766
|
-
priority?: number | undefined;
|
|
767
|
-
lastModified?: string | undefined;
|
|
768
|
-
} | undefined;
|
|
769
|
-
_meta?: Record<string, unknown> | undefined;
|
|
770
|
-
} | {
|
|
771
|
-
type: "audio";
|
|
772
|
-
data: string;
|
|
773
|
-
mimeType: string;
|
|
774
|
-
annotations?: {
|
|
775
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
776
|
-
priority?: number | undefined;
|
|
777
|
-
lastModified?: string | undefined;
|
|
726
|
+
mimeType?: string | undefined;
|
|
727
|
+
_meta?: {
|
|
728
|
+
[x: string]: unknown;
|
|
778
729
|
} | undefined;
|
|
779
|
-
_meta?: Record<string, unknown> | undefined;
|
|
780
730
|
} | {
|
|
781
731
|
uri: string;
|
|
782
|
-
|
|
783
|
-
type: "resource_link";
|
|
784
|
-
description?: string | undefined;
|
|
732
|
+
blob: string;
|
|
785
733
|
mimeType?: string | undefined;
|
|
786
|
-
annotations?: {
|
|
787
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
788
|
-
priority?: number | undefined;
|
|
789
|
-
lastModified?: string | undefined;
|
|
790
|
-
} | undefined;
|
|
791
734
|
_meta?: {
|
|
792
735
|
[x: string]: unknown;
|
|
793
736
|
} | undefined;
|
|
794
|
-
icons?: {
|
|
795
|
-
src: string;
|
|
796
|
-
mimeType?: string | undefined;
|
|
797
|
-
sizes?: string[] | undefined;
|
|
798
|
-
theme?: "light" | "dark" | undefined;
|
|
799
|
-
}[] | undefined;
|
|
800
|
-
title?: string | undefined;
|
|
801
|
-
} | {
|
|
802
|
-
type: "resource";
|
|
803
|
-
resource: {
|
|
804
|
-
uri: string;
|
|
805
|
-
text: string;
|
|
806
|
-
mimeType?: string | undefined;
|
|
807
|
-
_meta?: Record<string, unknown> | undefined;
|
|
808
|
-
} | {
|
|
809
|
-
uri: string;
|
|
810
|
-
blob: string;
|
|
811
|
-
mimeType?: string | undefined;
|
|
812
|
-
_meta?: Record<string, unknown> | undefined;
|
|
813
|
-
};
|
|
814
|
-
annotations?: {
|
|
815
|
-
audience?: ("user" | "assistant")[] | undefined;
|
|
816
|
-
priority?: number | undefined;
|
|
817
|
-
lastModified?: string | undefined;
|
|
818
|
-
} | undefined;
|
|
819
|
-
_meta?: Record<string, unknown> | undefined;
|
|
820
737
|
};
|
|
821
|
-
|
|
738
|
+
annotations?: {
|
|
739
|
+
audience?: ("user" | "assistant")[] | undefined;
|
|
740
|
+
priority?: number | undefined;
|
|
741
|
+
lastModified?: string | undefined;
|
|
742
|
+
} | undefined;
|
|
743
|
+
_meta?: {
|
|
744
|
+
[x: string]: unknown;
|
|
745
|
+
} | undefined;
|
|
746
|
+
};
|
|
747
|
+
}[];
|
|
748
|
+
_meta?: {
|
|
749
|
+
[x: string]: unknown;
|
|
750
|
+
progressToken?: string | number | undefined;
|
|
751
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
752
|
+
taskId: string;
|
|
753
|
+
} | undefined;
|
|
754
|
+
} | undefined;
|
|
755
|
+
description?: string | undefined;
|
|
756
|
+
}, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
|
|
757
|
+
method: string;
|
|
758
|
+
params?: {
|
|
759
|
+
[x: string]: unknown;
|
|
822
760
|
_meta?: {
|
|
823
761
|
[x: string]: unknown;
|
|
824
762
|
progressToken?: string | number | undefined;
|
|
@@ -826,81 +764,53 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
826
764
|
taskId: string;
|
|
827
765
|
} | undefined;
|
|
828
766
|
} | undefined;
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
}, import("zod/v4/core").$strip>>;
|
|
840
|
-
}, import("zod/v4/core").$loose>>;
|
|
841
|
-
ref: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
842
|
-
type: import("zod").ZodLiteral<"ref/prompt">;
|
|
843
|
-
name: import("zod").ZodString;
|
|
844
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
845
|
-
type: import("zod").ZodLiteral<"ref/resource">;
|
|
846
|
-
uri: import("zod").ZodString;
|
|
847
|
-
}, import("zod/v4/core").$strip>]>;
|
|
848
|
-
argument: import("zod").ZodObject<{
|
|
849
|
-
name: import("zod").ZodString;
|
|
850
|
-
value: import("zod").ZodString;
|
|
851
|
-
}, import("zod/v4/core").$strip>;
|
|
852
|
-
context: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
853
|
-
arguments: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
854
|
-
}, import("zod/v4/core").$strip>>;
|
|
855
|
-
}, import("zod/v4/core").$strip>;
|
|
856
|
-
}, import("zod/v4/core").$strip>;
|
|
857
|
-
handler: (request: import("@modelcontextprotocol/sdk/types.js").CompleteRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
|
|
858
|
-
method: "completion/complete";
|
|
859
|
-
params: {
|
|
860
|
-
ref: {
|
|
861
|
-
type: "ref/prompt";
|
|
862
|
-
name: string;
|
|
863
|
-
} | {
|
|
864
|
-
type: "ref/resource";
|
|
865
|
-
uri: string;
|
|
866
|
-
};
|
|
867
|
-
argument: {
|
|
868
|
-
name: string;
|
|
869
|
-
value: string;
|
|
870
|
-
};
|
|
871
|
-
_meta?: {
|
|
872
|
-
[x: string]: unknown;
|
|
873
|
-
progressToken?: string | number | undefined;
|
|
874
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
875
|
-
taskId: string;
|
|
876
|
-
} | undefined;
|
|
877
|
-
} | undefined;
|
|
878
|
-
context?: {
|
|
879
|
-
arguments?: {
|
|
880
|
-
[x: string]: string;
|
|
881
|
-
} | undefined;
|
|
882
|
-
} | undefined;
|
|
767
|
+
} | undefined;
|
|
768
|
+
}> | import("./mcp-handlers.types").McpHandler<{
|
|
769
|
+
method: "completion/complete";
|
|
770
|
+
params: {
|
|
771
|
+
ref: {
|
|
772
|
+
type: "ref/prompt";
|
|
773
|
+
name: string;
|
|
774
|
+
} | {
|
|
775
|
+
type: "ref/resource";
|
|
776
|
+
uri: string;
|
|
883
777
|
};
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
778
|
+
argument: {
|
|
779
|
+
name: string;
|
|
780
|
+
value: string;
|
|
781
|
+
};
|
|
782
|
+
_meta?: {
|
|
887
783
|
[x: string]: unknown;
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
"io.modelcontextprotocol/related-task"?: {
|
|
892
|
-
taskId: string;
|
|
893
|
-
} | undefined;
|
|
784
|
+
progressToken?: string | number | undefined;
|
|
785
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
786
|
+
taskId: string;
|
|
894
787
|
} | undefined;
|
|
895
788
|
} | undefined;
|
|
896
|
-
|
|
789
|
+
context?: {
|
|
790
|
+
arguments?: {
|
|
791
|
+
[x: string]: string;
|
|
792
|
+
} | undefined;
|
|
793
|
+
} | undefined;
|
|
794
|
+
};
|
|
795
|
+
}, {
|
|
796
|
+
[x: string]: unknown;
|
|
797
|
+
completion: {
|
|
798
|
+
[x: string]: unknown;
|
|
799
|
+
values: string[];
|
|
800
|
+
total?: number | undefined;
|
|
801
|
+
hasMore?: boolean | undefined;
|
|
802
|
+
};
|
|
803
|
+
_meta?: {
|
|
804
|
+
[x: string]: unknown;
|
|
805
|
+
progressToken?: string | number | undefined;
|
|
806
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
807
|
+
taskId: string;
|
|
808
|
+
} | undefined;
|
|
809
|
+
} | undefined;
|
|
810
|
+
}, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
|
|
811
|
+
method: string;
|
|
812
|
+
params?: {
|
|
897
813
|
[x: string]: unknown;
|
|
898
|
-
completion: {
|
|
899
|
-
[x: string]: unknown;
|
|
900
|
-
values: string[];
|
|
901
|
-
total?: number | undefined;
|
|
902
|
-
hasMore?: boolean | undefined;
|
|
903
|
-
};
|
|
904
814
|
_meta?: {
|
|
905
815
|
[x: string]: unknown;
|
|
906
816
|
progressToken?: string | number | undefined;
|
|
@@ -908,8 +818,8 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
908
818
|
taskId: string;
|
|
909
819
|
} | undefined;
|
|
910
820
|
} | undefined;
|
|
911
|
-
}
|
|
912
|
-
} | {
|
|
821
|
+
} | undefined;
|
|
822
|
+
}> | {
|
|
913
823
|
requestSchema: import("zod").ZodObject<{
|
|
914
824
|
method: import("zod").ZodLiteral<"logging/setLevel">;
|
|
915
825
|
params: import("zod").ZodObject<{
|
|
@@ -988,5 +898,68 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
|
|
|
988
898
|
} | undefined;
|
|
989
899
|
} | undefined;
|
|
990
900
|
} | undefined;
|
|
901
|
+
}> | import("./mcp-handlers.types").McpHandler<{
|
|
902
|
+
method: "skills/search";
|
|
903
|
+
params: {
|
|
904
|
+
query: string;
|
|
905
|
+
tags?: string[] | undefined;
|
|
906
|
+
tools?: string[] | undefined;
|
|
907
|
+
limit?: number | undefined;
|
|
908
|
+
requireAllTools?: boolean | undefined;
|
|
909
|
+
};
|
|
910
|
+
}, import("./skills-mcp.types").SkillsSearchResult, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
|
|
911
|
+
method: string;
|
|
912
|
+
params?: {
|
|
913
|
+
[x: string]: unknown;
|
|
914
|
+
_meta?: {
|
|
915
|
+
[x: string]: unknown;
|
|
916
|
+
progressToken?: string | number | undefined;
|
|
917
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
918
|
+
taskId: string;
|
|
919
|
+
} | undefined;
|
|
920
|
+
} | undefined;
|
|
921
|
+
} | undefined;
|
|
922
|
+
}> | import("./mcp-handlers.types").McpHandler<{
|
|
923
|
+
method: "skills/load";
|
|
924
|
+
params: {
|
|
925
|
+
skillIds: string[];
|
|
926
|
+
format?: "full" | "instructions-only" | undefined;
|
|
927
|
+
activateSession?: boolean | undefined;
|
|
928
|
+
policyMode?: "strict" | "approval" | "permissive" | undefined;
|
|
929
|
+
};
|
|
930
|
+
}, import("./skills-mcp.types").SkillsLoadResult, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
|
|
931
|
+
method: string;
|
|
932
|
+
params?: {
|
|
933
|
+
[x: string]: unknown;
|
|
934
|
+
_meta?: {
|
|
935
|
+
[x: string]: unknown;
|
|
936
|
+
progressToken?: string | number | undefined;
|
|
937
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
938
|
+
taskId: string;
|
|
939
|
+
} | undefined;
|
|
940
|
+
} | undefined;
|
|
941
|
+
} | undefined;
|
|
942
|
+
}> | import("./mcp-handlers.types").McpHandler<{
|
|
943
|
+
method: "skills/list";
|
|
944
|
+
params?: {
|
|
945
|
+
offset?: number | undefined;
|
|
946
|
+
limit?: number | undefined;
|
|
947
|
+
tags?: string[] | undefined;
|
|
948
|
+
sortBy?: "name" | "priority" | "createdAt" | undefined;
|
|
949
|
+
sortOrder?: "asc" | "desc" | undefined;
|
|
950
|
+
includeHidden?: boolean | undefined;
|
|
951
|
+
} | undefined;
|
|
952
|
+
}, import("./skills-mcp.types").SkillsListResult, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
|
|
953
|
+
method: string;
|
|
954
|
+
params?: {
|
|
955
|
+
[x: string]: unknown;
|
|
956
|
+
_meta?: {
|
|
957
|
+
[x: string]: unknown;
|
|
958
|
+
progressToken?: string | number | undefined;
|
|
959
|
+
"io.modelcontextprotocol/related-task"?: {
|
|
960
|
+
taskId: string;
|
|
961
|
+
} | undefined;
|
|
962
|
+
} | undefined;
|
|
963
|
+
} | undefined;
|
|
991
964
|
}>)[];
|
|
992
965
|
//# sourceMappingURL=index.d.ts.map
|