@frontmcp/sdk 1.11.2 → 1.11.3
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/README.md +9 -0
- package/agent/adapters/anthropic.adapter.d.ts +4 -4
- package/agent/adapters/anthropic.adapter.d.ts.map +1 -1
- package/agent/adapters/base.adapter.d.ts +12 -2
- package/agent/adapters/base.adapter.d.ts.map +1 -1
- package/agent/adapters/index.d.ts +1 -1
- package/agent/adapters/index.d.ts.map +1 -1
- package/agent/adapters/openai.adapter.d.ts +7 -7
- package/agent/adapters/openai.adapter.d.ts.map +1 -1
- package/agent/agent-execution-loop.d.ts +27 -14
- package/agent/agent-execution-loop.d.ts.map +1 -1
- package/agent/agent.registry.d.ts +9 -0
- package/agent/agent.registry.d.ts.map +1 -1
- package/agent/flows/call-agent.flow.d.ts.map +1 -1
- package/app/instances/app.esm.instance.d.ts +27 -5
- package/app/instances/app.esm.instance.d.ts.map +1 -1
- package/app/instances/app.remote.instance.d.ts.map +1 -1
- package/app/instances/esm-normalize.utils.d.ts +3 -1
- package/app/instances/esm-normalize.utils.d.ts.map +1 -1
- package/app/instances/esm-package-version.d.ts +48 -0
- package/app/instances/esm-package-version.d.ts.map +1 -0
- package/auth/auth-ui/auth-ui.contract.d.ts +27 -0
- package/auth/auth-ui/auth-ui.contract.d.ts.map +1 -1
- package/auth/auth-ui/auth-ui.state.d.ts +2 -1
- package/auth/auth-ui/auth-ui.state.d.ts.map +1 -1
- package/auth/auth-ui/index.d.ts +1 -1
- package/auth/auth-ui/index.d.ts.map +1 -1
- package/auth/authorization/orchestrated.context-extension.d.ts +1 -1
- package/auth/authorization/orchestrated.context-extension.d.ts.map +1 -1
- package/auth/authorized-apps.utils.d.ts +22 -0
- package/auth/authorized-apps.utils.d.ts.map +1 -1
- package/auth/federated-steps.d.ts +66 -0
- package/auth/federated-steps.d.ts.map +1 -0
- package/auth/flows/oauth.authorize.flow.d.ts +2 -2
- package/auth/flows/oauth.authorize.flow.d.ts.map +1 -1
- package/auth/flows/oauth.callback.flow.d.ts +17 -6
- package/auth/flows/oauth.callback.flow.d.ts.map +1 -1
- package/auth/flows/oauth.provider-callback.flow.d.ts.map +1 -1
- package/auth/flows/oauth.register.flow.d.ts +1 -1
- package/auth/flows/oauth.register.flow.d.ts.map +1 -1
- package/auth/flows/oauth.token.flow.d.ts +9 -0
- package/auth/flows/oauth.token.flow.d.ts.map +1 -1
- package/auth/flows/oauth.userinfo.flow.d.ts +1 -1
- package/auth/flows/well-known.oauth-authorization-server.flow.d.ts +3 -0
- package/auth/flows/well-known.oauth-authorization-server.flow.d.ts.map +1 -1
- package/auth/flows/well-known.prm.flow.d.ts.map +1 -1
- package/auth/instances/instance.local-primary-auth.d.ts +38 -7
- package/auth/instances/instance.local-primary-auth.d.ts.map +1 -1
- package/auth/required-providers.utils.d.ts +19 -0
- package/auth/required-providers.utils.d.ts.map +1 -0
- package/browser/agent/adapters/anthropic.adapter.mjs +14 -10
- package/browser/agent/adapters/base.adapter.mjs +10 -3
- package/browser/agent/adapters/openai.adapter.mjs +39 -25
- package/browser/agent/agent-execution-loop.mjs +102 -70
- package/browser/agent/agent.registry.mjs +56 -20
- package/browser/agent/flows/call-agent.flow.mjs +2 -1
- package/browser/agent/index.mjs +1 -1
- package/browser/app/instances/app.esm.instance.mjs +120 -154
- package/browser/app/instances/app.remote.instance.mjs +3 -4
- package/browser/app/instances/esm-normalize.utils.mjs +10 -5
- package/browser/app/instances/esm-package-version.mjs +118 -0
- package/browser/auth/auth-ui/auth-ui.state.mjs +1 -1
- package/browser/auth/authorization/orchestrated.context-extension.mjs +2 -2
- package/browser/auth/authorized-apps.utils.mjs +24 -2
- package/browser/auth/federated-steps.mjs +199 -0
- package/browser/auth/flows/oauth.authorize.flow.mjs +61 -76
- package/browser/auth/flows/oauth.callback.flow.mjs +112 -42
- package/browser/auth/flows/oauth.provider-callback.flow.mjs +14 -2
- package/browser/auth/flows/oauth.register.flow.mjs +3 -3
- package/browser/auth/flows/oauth.token.flow.mjs +33 -3
- package/browser/auth/flows/session.verify.flow.mjs +1 -1
- package/browser/auth/flows/well-known.oauth-authorization-server.flow.mjs +11 -6
- package/browser/auth/flows/well-known.prm.flow.mjs +2 -1
- package/browser/auth/instances/instance.local-primary-auth.mjs +131 -37
- package/browser/auth/required-providers.utils.mjs +16 -0
- package/browser/channel/channel-scope.helper.mjs +2 -2
- package/browser/channel/flows/send-channel-notification.flow.mjs +1 -1
- package/browser/common/entries/tool.entry.mjs +21 -4
- package/browser/common/index.mjs +2 -2
- package/browser/common/interfaces/agent.interface.mjs +25 -4
- package/browser/common/interfaces/tool.interface.mjs +31 -5
- package/browser/common/metadata/app.metadata.mjs +8 -2
- package/browser/common/metadata/index.mjs +1 -1
- package/browser/common/metadata/output-policy.mjs +4 -0
- package/browser/common/metadata/workflow.metadata.mjs +3 -1
- package/browser/common/tokens/workflow.tokens.mjs +1 -0
- package/browser/common/types/options/transport/schema.mjs +3 -0
- package/browser/common/utils/auth-info.utils.mjs +1 -2
- package/browser/common/utils/index.mjs +1 -1
- package/browser/common/utils/principal.utils.mjs +25 -1
- package/browser/context/frontmcp-context-storage.mjs +14 -3
- package/browser/context/frontmcp-context.mjs +24 -2
- package/browser/elicitation/helpers/checked-elicit-answer.mjs +18 -0
- package/browser/elicitation/helpers/elicit.helper.mjs +5 -21
- package/browser/elicitation/store/elicitation-encryption.mjs +6 -6
- package/browser/elicitation/store/encrypted-elicitation.store.mjs +2 -2
- package/browser/elicitation/store/storage-elicitation.store.mjs +1 -2
- package/browser/errors/auth-internal.errors.mjs +2 -0
- package/browser/errors/index.mjs +6 -1
- package/browser/errors/mcp.error.mjs +22 -3
- package/browser/errors/misconfiguration.mjs +2 -0
- package/browser/errors/remote.errors.mjs +1 -1
- package/browser/errors/tool-ui.errors.mjs +22 -0
- package/browser/errors/workflow.errors.mjs +7 -1
- package/browser/esm-loader/esm-cache.mjs +2 -2
- package/browser/esm-loader/esm-entries.mjs +15 -1
- package/browser/esm-loader/esm-manifest.mjs +32 -25
- package/browser/esm-loader/esm-module-loader.mjs +22 -4
- package/browser/esm-loader/factories/esm-context-factories.mjs +3 -3
- package/browser/esm-loader/factories/esm-instance-factories.mjs +7 -3
- package/browser/esm-loader/factories/esm-record-builders.mjs +27 -2
- package/browser/esm-loader/semver.utils.mjs +3 -5
- package/browser/esm-loader/version-poller.mjs +1 -1
- package/browser/esm-loader/version-resolver.mjs +5 -1
- package/browser/ext-apps/ext-apps.handler.mjs +6 -1
- package/browser/flows/flow.http-path.mjs +5 -1
- package/browser/flows/flow.instance.mjs +42 -9
- package/browser/front-mcp/front-mcp.mjs +19 -2
- package/browser/front-mcp/session-secret.check.mjs +22 -0
- package/browser/http-route/http-route.table.mjs +23 -3
- package/browser/index.cjs +30225 -27807
- package/browser/index.mjs +8 -4
- package/browser/job/execution/job-execution.manager.mjs +20 -17
- package/browser/job/flows/execute-job.flow.mjs +5 -3
- package/browser/job/index.mjs +2 -2
- package/browser/job/job-attempt.mjs +15 -10
- package/browser/job/job-context-providers.mjs +2 -1
- package/browser/job/job-scope.helper.mjs +76 -4
- package/browser/job/job.registry.mjs +30 -0
- package/browser/job/tools/index.mjs +3 -1
- package/browser/job/tools/list-jobs.tool.mjs +7 -5
- package/browser/job/tools/update-job.tool.mjs +75 -0
- package/browser/logger/instances/instance.logger.mjs +31 -6
- package/browser/notification/notification.service.mjs +26 -5
- package/browser/prompt/flows/get-prompt.flow.mjs +3 -3
- package/browser/prompt/flows/prompts-list.flow.mjs +11 -4
- package/browser/provider/provider.registry.mjs +1 -1
- package/browser/remote-mcp/factories/instance-factories.mjs +4 -4
- package/browser/remote-mcp/factories/record-builders.mjs +5 -0
- package/browser/remote-mcp/mcp-client.service.mjs +113 -68
- package/browser/remote-mcp/mcp-stateless-client.adapter.mjs +2 -2
- package/browser/remote-mcp/remote-entries.mjs +2 -1
- package/browser/remote-mcp/remote-oauth.mjs +102 -0
- package/browser/remote-mcp/remote-request-headers.mjs +42 -12
- package/browser/remote-mcp/resilience/circuit-breaker.mjs +3 -2
- package/browser/resource/flows/read-resource.flow.mjs +6 -4
- package/browser/resource/flows/resource-templates-list.flow.mjs +24 -9
- package/browser/resource/flows/resources-list.flow.mjs +11 -4
- package/browser/scope/flows/http.request.flow.mjs +1 -1
- package/browser/scope/observability-scope.helper.mjs +6 -1
- package/browser/scope/scope.instance.mjs +284 -81
- package/browser/skill/errors/tool-not-allowed.error.mjs +2 -2
- package/browser/skill/flows/filter-skills.flow.mjs +1 -1
- package/browser/skill/flows/load-skill.flow.mjs +27 -15
- package/browser/skill/guards/tool-authorization.guard.mjs +1 -1
- package/browser/skill/hooks/skill-tool.hook.mjs +32 -24
- package/browser/skill/providers/external-skill.provider.mjs +4 -2
- package/browser/skill/session/skill-session-store.interface.mjs +10 -0
- package/browser/skill/session/skill-session.manager.mjs +8 -0
- package/browser/skill/skill-authorities.helper.mjs +9 -3
- package/browser/skill/skill-scope.helper.mjs +7 -2
- package/browser/skill/skill.registry.mjs +21 -2
- package/browser/subsystems.mjs +6 -2
- package/browser/surface/entry-authorized.mjs +15 -0
- package/browser/tool/flows/call-tool.flow.mjs +59 -13
- package/browser/tool/flows/tools-list.flow.mjs +11 -4
- package/browser/tool/tool.utils.mjs +46 -61
- package/browser/tool/ui/serving-mode-default.mjs +11 -2
- package/browser/tool/ui/template-detection.mjs +1 -1
- package/browser/tool/ui/ui-option-warnings.mjs +1 -28
- package/browser/tool/ui/ui-render.mjs +6 -0
- package/browser/tool/ui/ui-resource.handler.mjs +50 -6
- package/browser/tool/ui/ui-shared.mjs +61 -7
- package/browser/tool/ui/widget-routes.mjs +73 -0
- package/browser/tool/ui/widget-serving.mjs +112 -0
- package/browser/transport/flows/handle.mcp-20260728.flow.mjs +1 -1
- package/browser/transport/flows/handle.stateless-http.flow.mjs +1 -2
- package/browser/transport/mcp-20260728/client/index.mjs +1 -1
- package/browser/transport/mcp-20260728/client/mcp-stateless.client.mjs +2 -1
- package/browser/transport/mcp-20260728/index.mjs +1 -1
- package/browser/transport/web-fetch-handler.mjs +5 -1
- package/browser/utils/abort.utils.mjs +7 -2
- package/browser/utils/content.utils.mjs +1 -1
- package/browser/workflow/engine/workflow-step.executor.mjs +1 -1
- package/browser/workflow/engine/workflow.engine.mjs +13 -10
- package/browser/workflow/index.mjs +2 -2
- package/browser/workflow/tools/execute-workflow.tool.mjs +1 -1
- package/browser/workflow/tools/index.mjs +3 -1
- package/browser/workflow/tools/list-workflows.tool.mjs +4 -2
- package/browser/workflow/tools/register-workflow.tool.mjs +11 -2
- package/browser/workflow/tools/update-workflow.tool.mjs +80 -0
- package/browser/workflow/trigger/workflow-events.mjs +39 -0
- package/browser/workflow/trigger/workflow-triggers.mjs +80 -0
- package/browser/workflow/trigger/workflow-webhook.routes.mjs +104 -0
- package/browser/workflow/trigger/workflow-webhook.signature.mjs +59 -0
- package/browser/workflow/workflow.registry.mjs +27 -0
- package/browser/workflow/workflow.utils.mjs +13 -2
- package/builtin/authorities/authorities.plugin.d.ts +1 -1
- package/builtin/authorities/authorities.plugin.d.ts.map +1 -1
- package/builtin/authorities/authorities.plugin.options.d.ts +1 -1
- package/builtin/authorities/authorities.plugin.options.d.ts.map +1 -1
- package/builtin/config/config-resolver.d.ts.map +1 -1
- package/channel/channel-scope.helper.d.ts +2 -0
- package/channel/channel-scope.helper.d.ts.map +1 -1
- package/channel/channel.types.d.ts +1 -1
- package/channel/channel.types.d.ts.map +1 -1
- package/channel/sources/agent-completion.source.d.ts +1 -1
- package/channel/sources/agent-completion.source.d.ts.map +1 -1
- package/common/decorators/app.decorator.d.ts +1 -1
- package/common/decorators/app.decorator.d.ts.map +1 -1
- package/common/entries/provider.entry.d.ts +2 -2
- package/common/entries/provider.entry.d.ts.map +1 -1
- package/common/entries/scope.entry.d.ts +25 -3
- package/common/entries/scope.entry.d.ts.map +1 -1
- package/common/entries/tool.entry.d.ts +5 -3
- package/common/entries/tool.entry.d.ts.map +1 -1
- package/common/interfaces/agent.interface.d.ts +4 -2
- package/common/interfaces/agent.interface.d.ts.map +1 -1
- package/common/interfaces/llm-adapter.interface.d.ts +5 -0
- package/common/interfaces/llm-adapter.interface.d.ts.map +1 -1
- package/common/interfaces/logger.interface.d.ts +2 -1
- package/common/interfaces/logger.interface.d.ts.map +1 -1
- package/common/interfaces/tool.interface.d.ts +12 -2
- package/common/interfaces/tool.interface.d.ts.map +1 -1
- package/common/metadata/agent.metadata.d.ts +7 -2
- package/common/metadata/agent.metadata.d.ts.map +1 -1
- package/common/metadata/app.metadata.d.ts +35 -11
- package/common/metadata/app.metadata.d.ts.map +1 -1
- package/common/metadata/flow.metadata.d.ts +14 -0
- package/common/metadata/flow.metadata.d.ts.map +1 -1
- package/common/metadata/front-mcp.metadata.d.ts +2 -1
- package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
- package/common/metadata/job.metadata.d.ts +11 -0
- package/common/metadata/job.metadata.d.ts.map +1 -1
- package/common/metadata/output-policy.d.ts +2 -0
- package/common/metadata/output-policy.d.ts.map +1 -1
- package/common/metadata/remote-primitive.metadata.d.ts +6 -3
- package/common/metadata/remote-primitive.metadata.d.ts.map +1 -1
- package/common/metadata/resource.metadata.d.ts +1 -1
- package/common/metadata/workflow.metadata.d.ts +50 -14
- package/common/metadata/workflow.metadata.d.ts.map +1 -1
- package/common/tokens/workflow.tokens.d.ts +1 -0
- package/common/tokens/workflow.tokens.d.ts.map +1 -1
- package/common/types/options/logging/interfaces.d.ts +3 -1
- package/common/types/options/logging/interfaces.d.ts.map +1 -1
- package/common/types/options/observability/interfaces.d.ts +4 -2
- package/common/types/options/observability/interfaces.d.ts.map +1 -1
- package/common/types/options/transport/interfaces.d.ts +3 -0
- package/common/types/options/transport/interfaces.d.ts.map +1 -1
- package/common/types/options/transport/schema.d.ts.map +1 -1
- package/common/utils/auth-info.utils.d.ts +1 -0
- package/common/utils/auth-info.utils.d.ts.map +1 -1
- package/common/utils/global-config.utils.d.ts.map +1 -1
- package/common/utils/principal.utils.d.ts +24 -0
- package/common/utils/principal.utils.d.ts.map +1 -1
- package/context/frontmcp-context-storage.d.ts +3 -1
- package/context/frontmcp-context-storage.d.ts.map +1 -1
- package/context/frontmcp-context.d.ts +9 -1
- package/context/frontmcp-context.d.ts.map +1 -1
- package/elicitation/helpers/checked-elicit-answer.d.ts +10 -0
- package/elicitation/helpers/checked-elicit-answer.d.ts.map +1 -0
- package/elicitation/helpers/elicit.helper.d.ts.map +1 -1
- package/elicitation/store/elicitation-encryption.d.ts.map +1 -1
- package/elicitation/store/encrypted-elicitation.store.d.ts +2 -2
- package/elicitation/store/encrypted-elicitation.store.d.ts.map +1 -1
- package/elicitation/store/storage-elicitation.store.d.ts +3 -3
- package/elicitation/store/storage-elicitation.store.d.ts.map +1 -1
- package/errors/auth-internal.errors.d.ts +1 -1
- package/errors/auth-internal.errors.d.ts.map +1 -1
- package/errors/error-handler.d.ts.map +1 -1
- package/errors/index.d.ts +3 -2
- package/errors/index.d.ts.map +1 -1
- package/errors/mcp.error.d.ts +6 -1
- package/errors/mcp.error.d.ts.map +1 -1
- package/errors/misconfiguration.d.ts.map +1 -1
- package/errors/remote.errors.d.ts +1 -1
- package/errors/remote.errors.d.ts.map +1 -1
- package/errors/tool-ui.errors.d.ts +13 -0
- package/errors/tool-ui.errors.d.ts.map +1 -0
- package/errors/workflow.errors.d.ts +4 -0
- package/errors/workflow.errors.d.ts.map +1 -1
- package/esm/index.mjs +46 -45
- package/esm/job/tools/index.mjs +3 -2
- package/esm/workflow/tools/index.mjs +3 -2
- package/esm-loader/app-helpers.d.ts +4 -4
- package/esm-loader/app-helpers.d.ts.map +1 -1
- package/esm-loader/esm-entries.d.ts +11 -1
- package/esm-loader/esm-entries.d.ts.map +1 -1
- package/esm-loader/esm-manifest.d.ts +11 -8
- package/esm-loader/esm-manifest.d.ts.map +1 -1
- package/esm-loader/esm-module-loader.d.ts +6 -1
- package/esm-loader/esm-module-loader.d.ts.map +1 -1
- package/esm-loader/factories/esm-context-factories.d.ts +6 -3
- package/esm-loader/factories/esm-context-factories.d.ts.map +1 -1
- package/esm-loader/factories/esm-instance-factories.d.ts +3 -3
- package/esm-loader/factories/esm-instance-factories.d.ts.map +1 -1
- package/esm-loader/factories/esm-record-builders.d.ts.map +1 -1
- package/esm-loader/semver.utils.d.ts +8 -0
- package/esm-loader/semver.utils.d.ts.map +1 -1
- package/esm-loader/version-resolver.d.ts.map +1 -1
- package/ext-apps/ext-apps.handler.d.ts +2 -1
- package/ext-apps/ext-apps.handler.d.ts.map +1 -1
- package/flows/flow.http-path.d.ts +8 -0
- package/flows/flow.http-path.d.ts.map +1 -1
- package/flows/flow.instance.d.ts +9 -0
- package/flows/flow.instance.d.ts.map +1 -1
- package/front-mcp/front-mcp.d.ts +2 -0
- package/front-mcp/front-mcp.d.ts.map +1 -1
- package/front-mcp/session-secret.check.d.ts +19 -0
- package/front-mcp/session-secret.check.d.ts.map +1 -0
- package/http-route/http-route.table.d.ts.map +1 -1
- package/index.d.ts +4 -4
- package/index.d.ts.map +1 -1
- package/index.js +53 -52
- package/job/execution/job-execution.manager.d.ts +8 -3
- package/job/execution/job-execution.manager.d.ts.map +1 -1
- package/job/flows/execute-job.flow.d.ts +1 -0
- package/job/flows/execute-job.flow.d.ts.map +1 -1
- package/job/job-attempt.d.ts +7 -2
- package/job/job-attempt.d.ts.map +1 -1
- package/job/job-context-providers.d.ts +2 -2
- package/job/job-context-providers.d.ts.map +1 -1
- package/job/job-scope.helper.d.ts +26 -0
- package/job/job-scope.helper.d.ts.map +1 -1
- package/job/job.registry.d.ts +11 -0
- package/job/job.registry.d.ts.map +1 -1
- package/job/tools/index.d.ts +1 -0
- package/job/tools/index.d.ts.map +1 -1
- package/job/tools/index.js +4 -2
- package/job/tools/list-jobs.tool.d.ts +3 -3
- package/job/tools/list-jobs.tool.d.ts.map +1 -1
- package/job/tools/update-job.tool.d.ts +16 -0
- package/job/tools/update-job.tool.d.ts.map +1 -0
- package/logger/instances/instance.logger.d.ts +1 -0
- package/logger/instances/instance.logger.d.ts.map +1 -1
- package/notification/notification.service.d.ts +10 -3
- package/notification/notification.service.d.ts.map +1 -1
- package/package.json +10 -10
- package/prompt/flows/prompts-list.flow.d.ts.map +1 -1
- package/provider/provider.registry.d.ts.map +1 -1
- package/remote-mcp/factories/instance-factories.d.ts +4 -4
- package/remote-mcp/factories/instance-factories.d.ts.map +1 -1
- package/remote-mcp/factories/record-builders.d.ts.map +1 -1
- package/remote-mcp/mcp-client.service.d.ts +11 -0
- package/remote-mcp/mcp-client.service.d.ts.map +1 -1
- package/remote-mcp/mcp-client.types.d.ts +15 -2
- package/remote-mcp/mcp-client.types.d.ts.map +1 -1
- package/remote-mcp/mcp-stateless-client.adapter.d.ts +1 -1
- package/remote-mcp/mcp-stateless-client.adapter.d.ts.map +1 -1
- package/remote-mcp/remote-entries.d.ts +2 -1
- package/remote-mcp/remote-entries.d.ts.map +1 -1
- package/remote-mcp/remote-oauth.d.ts +27 -0
- package/remote-mcp/remote-oauth.d.ts.map +1 -0
- package/remote-mcp/remote-request-headers.d.ts +8 -2
- package/remote-mcp/remote-request-headers.d.ts.map +1 -1
- package/remote-mcp/resilience/circuit-breaker.d.ts +3 -2
- package/remote-mcp/resilience/circuit-breaker.d.ts.map +1 -1
- package/resource/flows/read-resource.flow.d.ts.map +1 -1
- package/resource/flows/resource-templates-list.flow.d.ts.map +1 -1
- package/resource/flows/resources-list.flow.d.ts.map +1 -1
- package/scope/observability-scope.helper.d.ts.map +1 -1
- package/scope/scope.instance.d.ts +35 -1
- package/scope/scope.instance.d.ts.map +1 -1
- package/skill/errors/tool-not-allowed.error.d.ts.map +1 -1
- package/skill/flows/load-skill.flow.d.ts.map +1 -1
- package/skill/guards/tool-authorization.guard.d.ts +1 -1
- package/skill/guards/tool-authorization.guard.d.ts.map +1 -1
- package/skill/hooks/skill-tool.hook.d.ts +2 -0
- package/skill/hooks/skill-tool.hook.d.ts.map +1 -1
- package/skill/providers/external-skill.provider.d.ts +2 -2
- package/skill/providers/external-skill.provider.d.ts.map +1 -1
- package/skill/session/skill-session-store.interface.d.ts +5 -0
- package/skill/session/skill-session-store.interface.d.ts.map +1 -1
- package/skill/session/skill-session.manager.d.ts +4 -0
- package/skill/session/skill-session.manager.d.ts.map +1 -1
- package/skill/session/skill-session.types.d.ts +1 -1
- package/skill/skill-authorities.helper.d.ts +6 -3
- package/skill/skill-authorities.helper.d.ts.map +1 -1
- package/skill/skill-scope.helper.d.ts +5 -0
- package/skill/skill-scope.helper.d.ts.map +1 -1
- package/skill/skill.registry.d.ts +7 -0
- package/skill/skill.registry.d.ts.map +1 -1
- package/subsystems.d.ts +2 -2
- package/subsystems.d.ts.map +1 -1
- package/surface/entry-authorized.d.ts +5 -0
- package/surface/entry-authorized.d.ts.map +1 -0
- package/tool/flows/call-tool.flow.d.ts +6 -0
- package/tool/flows/call-tool.flow.d.ts.map +1 -1
- package/tool/flows/tools-list.flow.d.ts +1 -1
- package/tool/flows/tools-list.flow.d.ts.map +1 -1
- package/tool/tool.utils.d.ts.map +1 -1
- package/tool/ui/serving-mode-default.d.ts +6 -2
- package/tool/ui/serving-mode-default.d.ts.map +1 -1
- package/tool/ui/ui-option-warnings.d.ts.map +1 -1
- package/tool/ui/ui-render.d.ts +2 -2
- package/tool/ui/ui-render.d.ts.map +1 -1
- package/tool/ui/ui-resource.handler.d.ts +10 -2
- package/tool/ui/ui-resource.handler.d.ts.map +1 -1
- package/tool/ui/ui-shared.d.ts +31 -5
- package/tool/ui/ui-shared.d.ts.map +1 -1
- package/tool/ui/widget-routes.d.ts +38 -0
- package/tool/ui/widget-routes.d.ts.map +1 -0
- package/tool/ui/widget-serving.d.ts +37 -0
- package/tool/ui/widget-serving.d.ts.map +1 -0
- package/transport/mcp-20260728/client/mcp-stateless.client.d.ts +2 -0
- package/transport/mcp-20260728/client/mcp-stateless.client.d.ts.map +1 -1
- package/transport/web-fetch-handler.d.ts.map +1 -1
- package/utils/abort.utils.d.ts +5 -0
- package/utils/abort.utils.d.ts.map +1 -1
- package/workflow/engine/workflow.engine.d.ts +8 -1
- package/workflow/engine/workflow.engine.d.ts.map +1 -1
- package/workflow/tools/execute-workflow.tool.d.ts.map +1 -1
- package/workflow/tools/index.d.ts +1 -0
- package/workflow/tools/index.d.ts.map +1 -1
- package/workflow/tools/index.js +4 -2
- package/workflow/tools/list-workflows.tool.d.ts.map +1 -1
- package/workflow/tools/register-workflow.tool.d.ts.map +1 -1
- package/workflow/tools/update-workflow.tool.d.ts +21 -0
- package/workflow/tools/update-workflow.tool.d.ts.map +1 -0
- package/workflow/trigger/workflow-events.d.ts +22 -0
- package/workflow/trigger/workflow-events.d.ts.map +1 -0
- package/workflow/trigger/workflow-triggers.d.ts +34 -0
- package/workflow/trigger/workflow-triggers.d.ts.map +1 -0
- package/workflow/trigger/workflow-webhook.routes.d.ts +16 -0
- package/workflow/trigger/workflow-webhook.routes.d.ts.map +1 -0
- package/workflow/trigger/workflow-webhook.signature.d.ts +41 -0
- package/workflow/trigger/workflow-webhook.signature.d.ts.map +1 -0
- package/workflow/workflow.registry.d.ts +11 -0
- package/workflow/workflow.registry.d.ts.map +1 -1
- package/workflow/workflow.utils.d.ts +7 -0
- package/workflow/workflow.utils.d.ts.map +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// libs/sdk/src/common/metadata/index.ts
|
|
2
2
|
import { ProviderScope } from "@frontmcp/di";
|
|
3
3
|
export { frontMcpBaseSchema, frontMcpMetadataSchema, parseFrontMcpConfigLite } from "./front-mcp.metadata.mjs";
|
|
4
|
-
export { BUDGET_LIST_POLICIES, DEFAULT_OUTPUT_SCHEMA_MODE, DEFAULT_SCHEMA_DESCRIPTION_FORMAT, MIN_OUTPUT_BUDGET_BYTES, OUTPUT_SCHEMA_MODES, SCHEMA_DESCRIPTION_FORMATS, UNDECLARED_KEYS_POLICIES, formatOutputSchemaForDescription, outputPolicySchema, resolveOutputBudget, resolveOutputSchemaMode, resolveSchemaDescriptionFormat, resolveUndeclaredKeysPolicy, withUndeclaredKeysAllowed } from "./output-policy.mjs";
|
|
4
|
+
export { BUDGET_LIST_POLICIES, DEFAULT_OUTPUT_SCHEMA_MODE, DEFAULT_SCHEMA_DESCRIPTION_FORMAT, MIN_OUTPUT_BUDGET_BYTES, OUTPUT_SCHEMA_MODES, SCHEMA_DESCRIPTION_FORMATS, UNDECLARED_KEYS_POLICIES, formatOutputSchemaForDescription, outputPolicySchema, resolveAllowNonFinite, resolveOutputBudget, resolveOutputSchemaMode, resolveSchemaDescriptionFormat, resolveUndeclaredKeysPolicy, withUndeclaredKeysAllowed } from "./output-policy.mjs";
|
|
5
5
|
export { enabledOptionSchema, isEnabledSource } from "./enabled.metadata.mjs";
|
|
6
6
|
export { isResourceKey, resourceKeySchema } from "./materialized.metadata.mjs";
|
|
7
7
|
export { frontMcpFlowMetadataSchema } from "./flow.metadata.mjs";
|
|
@@ -23,6 +23,9 @@ var outputPolicySchema = z.object({
|
|
|
23
23
|
}).strict()
|
|
24
24
|
]).optional()
|
|
25
25
|
});
|
|
26
|
+
function resolveAllowNonFinite(tool, app, server) {
|
|
27
|
+
return tool?.allowNonFinite ?? app?.allowNonFinite ?? server?.allowNonFinite ?? false;
|
|
28
|
+
}
|
|
26
29
|
function resolveOutputSchemaMode(tool, app, server) {
|
|
27
30
|
return tool?.schemaMode ?? app?.schemaMode ?? server?.schemaMode ?? DEFAULT_OUTPUT_SCHEMA_MODE;
|
|
28
31
|
}
|
|
@@ -119,6 +122,7 @@ export {
|
|
|
119
122
|
UNDECLARED_KEYS_POLICIES,
|
|
120
123
|
formatOutputSchemaForDescription,
|
|
121
124
|
outputPolicySchema,
|
|
125
|
+
resolveAllowNonFinite,
|
|
122
126
|
resolveOutputBudget,
|
|
123
127
|
resolveOutputSchemaMode,
|
|
124
128
|
resolveSchemaDescriptionFormat,
|
|
@@ -26,7 +26,8 @@ var workflowWebhookConfigSchema = z.object({
|
|
|
26
26
|
}),
|
|
27
27
|
/** NOTE: Webhook secrets should be stripped from discovery/listing responses. */
|
|
28
28
|
secret: z.string().optional(),
|
|
29
|
-
methods: z.array(z.enum(["GET", "POST"])).optional().default(["POST"])
|
|
29
|
+
methods: z.array(z.enum(["GET", "POST"])).optional().default(["POST"]),
|
|
30
|
+
maxBodyBytes: z.number().int().positive().optional()
|
|
30
31
|
});
|
|
31
32
|
var frontMcpWorkflowMetadataSchema = z.object({
|
|
32
33
|
id: z.string().optional(),
|
|
@@ -35,6 +36,7 @@ var frontMcpWorkflowMetadataSchema = z.object({
|
|
|
35
36
|
steps: z.array(workflowStepSchema).min(1),
|
|
36
37
|
trigger: z.enum(["manual", "webhook", "event"]).optional().default("manual"),
|
|
37
38
|
webhook: workflowWebhookConfigSchema.optional(),
|
|
39
|
+
event: z.string().min(1).optional(),
|
|
38
40
|
timeout: z.number().int().min(0).optional().default(6e5),
|
|
39
41
|
maxConcurrency: z.number().int().min(1).optional().default(5),
|
|
40
42
|
tags: z.array(z.string().min(1)).optional(),
|
|
@@ -8,6 +8,7 @@ var FrontMcpWorkflowTokens = {
|
|
|
8
8
|
steps: tokenFactory.meta("workflowSteps"),
|
|
9
9
|
trigger: tokenFactory.meta("workflowTrigger"),
|
|
10
10
|
webhook: tokenFactory.meta("workflowWebhook"),
|
|
11
|
+
event: tokenFactory.meta("workflowEvent"),
|
|
11
12
|
timeout: tokenFactory.meta("workflowTimeout"),
|
|
12
13
|
maxConcurrency: tokenFactory.meta("workflowMaxConcurrency"),
|
|
13
14
|
tags: tokenFactory.meta("workflowTags"),
|
|
@@ -142,6 +142,9 @@ var transportOptionsSchema = z.object({
|
|
|
142
142
|
* deployments are untouched.
|
|
143
143
|
*
|
|
144
144
|
* Over stdio (`'legacy'` by default) it applies until the connection sends `initialize`.
|
|
145
|
+
*
|
|
146
|
+
* In production, a server served over HTTP with `'legacy'` refuses to start without `MCP_SESSION_SECRET`, which
|
|
147
|
+
* encrypts session ids. With `'2026-07-28'` it starts, and `/readyz` reports the missing secret as degraded.
|
|
145
148
|
*/
|
|
146
149
|
defaultProtocolVersion: z.enum(["2026-07-28", "legacy"]).optional(),
|
|
147
150
|
// ============================================
|
|
@@ -13,8 +13,7 @@ function authInfoFromAuthorization(authorization, presentedSessionId) {
|
|
|
13
13
|
token,
|
|
14
14
|
clientId: user?.sub,
|
|
15
15
|
scopes: scopesFromClaims(user),
|
|
16
|
-
|
|
17
|
-
expiresAt: user?.exp ? user.exp * 1e3 : void 0,
|
|
16
|
+
expiresAt: user?.exp,
|
|
18
17
|
user,
|
|
19
18
|
extra: {
|
|
20
19
|
user,
|
|
@@ -4,7 +4,7 @@ export { captureCallerDir, captureCallerFile, firstCallerFile, parseCallerDir }
|
|
|
4
4
|
export { authorizeSessionTermination, decideIntent, decisionSchema, intentSchema } from "./decide-request-intent.utils.mjs";
|
|
5
5
|
export { GLOBAL_RATE_LIMIT_CHECKED, IP_FILTER_REJECTION_BODY, acquireConcurrencySlots, buildPartitionContext, enforceGlobalRateLimit, enforceIpFilter, partitionsByIdentity } from "./guard.utils.mjs";
|
|
6
6
|
export { computeIssuer, computeResource, getPinnedPublicUrl, getRequestBaseUrl, isProxyTrusted, isPublicUrlPinned, joinPath, makeWellKnownPaths, normalizeEntryPrefix, normalizeResourceUri, normalizeScopeBase, resolveEntryPath, resourceUriMatches, trimSlashes, urlToSafeId } from "./path.utils.mjs";
|
|
7
|
-
export { resolvePrincipal } from "./principal.utils.mjs";
|
|
7
|
+
export { WorkflowTriggerPrincipal, resolvePrincipal, workflowTriggerOf } from "./principal.utils.mjs";
|
|
8
8
|
export { getGlobalStoreConfig } from "./global-config.utils.mjs";
|
|
9
9
|
export { applyPrimitiveFilter, isPrimitiveIncluded } from "./primitive-filter.mjs";
|
|
10
10
|
export { validateRemoteUrl } from "./validate-remote-url.mjs";
|
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
// libs/sdk/src/common/utils/principal.utils.ts
|
|
2
|
+
var WorkflowTriggerPrincipal = class {
|
|
3
|
+
constructor(kind, name) {
|
|
4
|
+
this.kind = kind;
|
|
5
|
+
this.name = name;
|
|
6
|
+
}
|
|
7
|
+
kind;
|
|
8
|
+
name;
|
|
9
|
+
/** The role `execute` rules name to allow it: `webhook:<workflow>` or `event:<event>`. */
|
|
10
|
+
get role() {
|
|
11
|
+
return `${this.kind}:${this.name}`;
|
|
12
|
+
}
|
|
13
|
+
/** The auth a run this trigger starts carries. */
|
|
14
|
+
toAuthInfo() {
|
|
15
|
+
return { extra: { workflowTrigger: this } };
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
function workflowTriggerOf(authInfo) {
|
|
19
|
+
const trigger = asRecord(authInfo?.["extra"])?.["workflowTrigger"];
|
|
20
|
+
return trigger instanceof WorkflowTriggerPrincipal ? trigger : void 0;
|
|
21
|
+
}
|
|
2
22
|
function toStringArray(value) {
|
|
3
23
|
if (Array.isArray(value)) return value.filter((v) => typeof v === "string");
|
|
4
24
|
if (typeof value === "string" && value.length > 0) return value.split(" ").filter(Boolean);
|
|
@@ -14,6 +34,8 @@ function firstPresent(sources, convert) {
|
|
|
14
34
|
return [];
|
|
15
35
|
}
|
|
16
36
|
function resolvePrincipal(authInfo, contextBuilder) {
|
|
37
|
+
const trigger = workflowTriggerOf(authInfo);
|
|
38
|
+
if (trigger) return { sub: "", roles: [trigger.role], permissions: [], scopes: [], claims: {} };
|
|
17
39
|
const info = authInfo ?? {};
|
|
18
40
|
const user = asRecord(info["user"]) ?? {};
|
|
19
41
|
const extraAuthorization = asRecord(asRecord(info["extra"])?.["authorization"]);
|
|
@@ -42,5 +64,7 @@ function resolvePrincipal(authInfo, contextBuilder) {
|
|
|
42
64
|
};
|
|
43
65
|
}
|
|
44
66
|
export {
|
|
45
|
-
|
|
67
|
+
WorkflowTriggerPrincipal,
|
|
68
|
+
resolvePrincipal,
|
|
69
|
+
workflowTriggerOf
|
|
46
70
|
};
|
|
@@ -14,6 +14,7 @@ import { AsyncLocalStorage, randomUUID } from "@frontmcp/utils";
|
|
|
14
14
|
import { Provider } from "../common/decorators/index.mjs";
|
|
15
15
|
import { ProviderScope } from "../common/metadata/index.mjs";
|
|
16
16
|
import { ServerRequestTokens } from "../common/tokens/index.mjs";
|
|
17
|
+
import { getRequestBaseUrl } from "../common/utils/path.utils.mjs";
|
|
17
18
|
import { RequestContextNotAvailableError } from "../errors/mcp.error.mjs";
|
|
18
19
|
import { FrontMcpContext } from "./frontmcp-context.mjs";
|
|
19
20
|
import { extractMetadata } from "./metadata.utils.mjs";
|
|
@@ -66,9 +67,10 @@ var FrontMcpContextStorage = class {
|
|
|
66
67
|
* @returns Result of the callback
|
|
67
68
|
*/
|
|
68
69
|
runFromHeaders(headers, args, fn) {
|
|
69
|
-
const { peerAddress, ...contextArgs } = args;
|
|
70
|
+
const { peerAddress, serverUrl, ...contextArgs } = args;
|
|
70
71
|
const traceContext = parseTraceContext(headers);
|
|
71
72
|
const metadata = extractMetadata(headers, { ...this.metadataOptions, peerAddress });
|
|
73
|
+
if (serverUrl !== void 0) metadata.serverUrl = serverUrl;
|
|
72
74
|
const context = new FrontMcpContext(
|
|
73
75
|
this.withServerConfig({
|
|
74
76
|
...contextArgs,
|
|
@@ -82,7 +84,7 @@ var FrontMcpContextStorage = class {
|
|
|
82
84
|
* Run with the context of an incoming HTTP request: its `mcp-session-id` (a fresh anonymous
|
|
83
85
|
* id when it sends none), its trace context and metadata, and the socket peer when the
|
|
84
86
|
* runtime exposes one. Every adapter enters its flows through this, so they all see the
|
|
85
|
-
* same context for the same request.
|
|
87
|
+
* same context for the same request. Its caller is not authorized until `session:verify` admits it.
|
|
86
88
|
*
|
|
87
89
|
* @param request - The request's headers, and its socket where the runtime has one
|
|
88
90
|
* @param scopeId - Scope handling the request
|
|
@@ -94,9 +96,18 @@ var FrontMcpContextStorage = class {
|
|
|
94
96
|
const headerSessionId = typeof headers["mcp-session-id"] === "string" ? headers["mcp-session-id"].trim() : "";
|
|
95
97
|
const sessionId = headerSessionId.length > 0 ? headerSessionId : `anon:${randomUUID()}`;
|
|
96
98
|
const platformEnv = request[ServerRequestTokens.webEnv];
|
|
99
|
+
const fromStdio = request[ServerRequestTokens.stdio] !== void 0;
|
|
100
|
+
const serverUrl = typeof headers["host"] === "string" ? getRequestBaseUrl(request) : void 0;
|
|
97
101
|
return this.runFromHeaders(
|
|
98
102
|
headers,
|
|
99
|
-
{
|
|
103
|
+
{
|
|
104
|
+
sessionId,
|
|
105
|
+
scopeId,
|
|
106
|
+
peerAddress: request.socket?.remoteAddress,
|
|
107
|
+
platformEnv,
|
|
108
|
+
serverUrl,
|
|
109
|
+
unverifiedRequest: fromStdio ? void 0 : request
|
|
110
|
+
},
|
|
100
111
|
fn
|
|
101
112
|
);
|
|
102
113
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// libs/sdk/src/context/frontmcp-context.ts
|
|
2
2
|
import { isFrontMcpCredentials } from "@frontmcp/auth";
|
|
3
3
|
import { randomUUID, sha256Hex } from "@frontmcp/utils";
|
|
4
|
+
import { checkedElicitAnswer } from "../elicitation/helpers/checked-elicit-answer.mjs";
|
|
4
5
|
import { InvalidInputError } from "../errors/mcp.error.mjs";
|
|
5
6
|
import { STATELESS_SESSION_ID } from "../transport/transport.types.mjs";
|
|
6
7
|
import { getRunningFlow } from "./running-flow.mjs";
|
|
@@ -64,6 +65,7 @@ var FrontMcpContext = class {
|
|
|
64
65
|
_platformType;
|
|
65
66
|
_sessionMetadata;
|
|
66
67
|
_credentialMiddleware;
|
|
68
|
+
_unverifiedRequest;
|
|
67
69
|
// =====================
|
|
68
70
|
// References (pointers)
|
|
69
71
|
// =====================
|
|
@@ -91,6 +93,7 @@ var FrontMcpContext = class {
|
|
|
91
93
|
this.traceContext = args.traceContext ?? generateTraceContext();
|
|
92
94
|
this.timestamp = args.timestamp ?? Date.now();
|
|
93
95
|
this._authInfo = args.authInfo ?? {};
|
|
96
|
+
this._unverifiedRequest = args.unverifiedRequest;
|
|
94
97
|
this.platformEnv = args.platformEnv;
|
|
95
98
|
this.config = {
|
|
96
99
|
forwardCallerTokenTo: toOrigins(args.config?.forwardCallerTokenTo),
|
|
@@ -125,6 +128,24 @@ var FrontMcpContext = class {
|
|
|
125
128
|
updateAuthInfo(authInfo) {
|
|
126
129
|
this._authInfo = { ...this._authInfo, ...authInfo };
|
|
127
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* The incoming HTTP request whose caller the server's auth has not admitted yet; undefined once
|
|
133
|
+
* `session:verify` admits it, and for every context that does not serve an HTTP request.
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
get unverifiedRequest() {
|
|
137
|
+
return this._unverifiedRequest;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Record the caller the server's auth admitted for this request, with its auth info.
|
|
141
|
+
*
|
|
142
|
+
* @param authInfo - The auth info of the verified authorization
|
|
143
|
+
* @internal
|
|
144
|
+
*/
|
|
145
|
+
recordAuthorization(authInfo) {
|
|
146
|
+
this.updateAuthInfo(authInfo);
|
|
147
|
+
this._unverifiedRequest = void 0;
|
|
148
|
+
}
|
|
128
149
|
/**
|
|
129
150
|
* The session the server verified for this request; undefined for a request without one (MCP
|
|
130
151
|
* 2026-07-28, the stateless transports, an `mcp-session-id` the server did not accept).
|
|
@@ -201,14 +222,15 @@ var FrontMcpContext = class {
|
|
|
201
222
|
// TODO: Consider deriving supportsElicit from transport capabilities
|
|
202
223
|
// instead of hardcoding true when transport is available
|
|
203
224
|
supportsElicit: true,
|
|
204
|
-
elicit: (message, schema, options) => {
|
|
225
|
+
elicit: async (message, schema, options) => {
|
|
205
226
|
const relatedRequestId = transportRef.jsonRpcRequestId;
|
|
206
227
|
if (relatedRequestId === void 0) {
|
|
207
228
|
throw new InvalidInputError(
|
|
208
229
|
"Missing jsonRpcRequestId for elicitation request. Ensure the transport context is properly initialized before calling elicit()."
|
|
209
230
|
);
|
|
210
231
|
}
|
|
211
|
-
|
|
232
|
+
const answer = await transportRef.sendElicitRequest(relatedRequestId, message, schema, options);
|
|
233
|
+
return checkedElicitAnswer(answer, schema, options);
|
|
212
234
|
}
|
|
213
235
|
};
|
|
214
236
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// libs/sdk/src/elicitation/helpers/checked-elicit-answer.ts
|
|
2
|
+
import { internalZ as z } from "@frontmcp/lazy-zod";
|
|
3
|
+
import { InvalidInputError } from "../../errors/mcp.error.mjs";
|
|
4
|
+
async function checkedElicitAnswer(answer, requestedSchema, options) {
|
|
5
|
+
if (answer.status !== "accept" || options?.mode === "url") return { status: answer.status };
|
|
6
|
+
const schema = requestedSchema instanceof z.ZodType ? requestedSchema : z.object(requestedSchema);
|
|
7
|
+
const parsedContent = await schema.safeParseAsync(answer.content);
|
|
8
|
+
if (!parsedContent.success) {
|
|
9
|
+
throw new InvalidInputError(
|
|
10
|
+
"The elicitation answer does not match the requested schema",
|
|
11
|
+
parsedContent.error.issues
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
return { status: "accept", content: parsedContent.data };
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
checkedElicitAnswer
|
|
18
|
+
};
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
} from "../../errors/index.mjs";
|
|
10
10
|
import { supportsElicitation } from "../../notification/index.mjs";
|
|
11
11
|
import { DEFAULT_ELICIT_TTL } from "../elicitation.types.mjs";
|
|
12
|
+
import { checkedElicitAnswer } from "./checked-elicit-answer.mjs";
|
|
12
13
|
async function performElicit(deps, message, requestedSchema, options) {
|
|
13
14
|
const { sessionId, getClientCapabilities, tryGetContext, entryName, entryInput, elicitationEnabled } = deps;
|
|
14
15
|
if (elicitationEnabled !== true) {
|
|
@@ -31,7 +32,7 @@ async function performElicit(deps, message, requestedSchema, options) {
|
|
|
31
32
|
}
|
|
32
33
|
if (mrtr) {
|
|
33
34
|
const zodSchema = requestedSchema instanceof z.ZodType ? requestedSchema : z.object(requestedSchema);
|
|
34
|
-
const
|
|
35
|
+
const answer = mrtr.resolveElicitation(
|
|
35
36
|
{
|
|
36
37
|
message,
|
|
37
38
|
requestedSchema: toJSONSchema(zodSchema),
|
|
@@ -41,20 +42,7 @@ async function performElicit(deps, message, requestedSchema, options) {
|
|
|
41
42
|
},
|
|
42
43
|
deps.inputKey
|
|
43
44
|
);
|
|
44
|
-
|
|
45
|
-
return answer2;
|
|
46
|
-
}
|
|
47
|
-
if (elicitOptions?.mode === "url") {
|
|
48
|
-
return { status: "accept" };
|
|
49
|
-
}
|
|
50
|
-
const parsedContent = await zodSchema.safeParseAsync(answer2.content);
|
|
51
|
-
if (!parsedContent.success) {
|
|
52
|
-
throw new InvalidInputError(
|
|
53
|
-
"The elicitation answer does not match the requested schema",
|
|
54
|
-
parsedContent.error.issues
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
return { status: "accept", content: parsedContent.data };
|
|
45
|
+
return checkedElicitAnswer(answer, requestedSchema, elicitOptions);
|
|
58
46
|
}
|
|
59
47
|
if (!sessionId) {
|
|
60
48
|
throw new ElicitationNotSupportedError("No session available for elicitation");
|
|
@@ -62,7 +50,7 @@ async function performElicit(deps, message, requestedSchema, options) {
|
|
|
62
50
|
const preResolved = ctx?.getPreResolvedElicitResult?.();
|
|
63
51
|
if (preResolved) {
|
|
64
52
|
ctx?.clearPreResolvedElicitResult?.();
|
|
65
|
-
return
|
|
53
|
+
return checkedElicitAnswer(preResolved, requestedSchema, elicitOptions);
|
|
66
54
|
}
|
|
67
55
|
const capabilities = getClientCapabilities(sessionId);
|
|
68
56
|
const mode = options?.mode ?? "form";
|
|
@@ -77,11 +65,7 @@ async function performElicit(deps, message, requestedSchema, options) {
|
|
|
77
65
|
if (!transport) {
|
|
78
66
|
throw new ElicitationNotSupportedError("Transport not available for elicitation");
|
|
79
67
|
}
|
|
80
|
-
|
|
81
|
-
return withoutUrlModeContent(answer, elicitOptions);
|
|
82
|
-
}
|
|
83
|
-
function withoutUrlModeContent(answer, options) {
|
|
84
|
-
return options?.mode === "url" ? { status: answer.status } : answer;
|
|
68
|
+
return awaitOutsideRequest(transport.elicit(message, requestedSchema, elicitOptions));
|
|
85
69
|
}
|
|
86
70
|
function generateElicitationId() {
|
|
87
71
|
return `elicit-${randomUUID()}`;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// libs/sdk/src/elicitation/store/elicitation-encryption.ts
|
|
2
2
|
import {
|
|
3
|
-
hkdfSha256,
|
|
4
|
-
encryptAesGcm,
|
|
5
|
-
decryptAesGcm,
|
|
6
|
-
randomBytes,
|
|
7
|
-
base64urlEncode,
|
|
8
3
|
base64urlDecode,
|
|
9
|
-
|
|
4
|
+
base64urlEncode,
|
|
5
|
+
decryptAesGcm,
|
|
6
|
+
encryptAesGcm,
|
|
7
|
+
getEnv,
|
|
8
|
+
hkdfSha256,
|
|
9
|
+
randomBytes
|
|
10
10
|
} from "@frontmcp/utils";
|
|
11
11
|
import { ElicitationSecretRequiredError } from "../../errors/auth-internal.errors.mjs";
|
|
12
12
|
var ELICITATION_SALT = "elicitation-store-v1";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// libs/sdk/src/elicitation/store/encrypted-elicitation.store.ts
|
|
2
|
+
import { ElicitationEncryptionError } from "../../errors/index.mjs";
|
|
2
3
|
import {
|
|
3
|
-
encryptElicitationData,
|
|
4
4
|
decryptElicitationData,
|
|
5
|
+
encryptElicitationData,
|
|
5
6
|
isEncryptedBlob
|
|
6
7
|
} from "./elicitation-encryption.mjs";
|
|
7
|
-
import { ElicitationEncryptionError } from "../../errors/index.mjs";
|
|
8
8
|
var EncryptedElicitationStore = class {
|
|
9
9
|
store;
|
|
10
10
|
secret;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// libs/sdk/src/elicitation/store/storage-elicitation.store.ts
|
|
2
|
-
import { TypedStorage } from "@frontmcp/utils";
|
|
3
|
-
import { expiresAtToTTL } from "@frontmcp/utils";
|
|
2
|
+
import { expiresAtToTTL, TypedStorage } from "@frontmcp/utils";
|
|
4
3
|
var RESOLVED_RESULT_TTL_SECONDS = 300;
|
|
5
4
|
var RESULT_CHANNEL_PREFIX = "result:";
|
|
6
5
|
var FALLBACK_RESULT_CHANNEL_PREFIX = "fallback-result:";
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
TokenLeakDetectedError,
|
|
10
10
|
JwtSecretRequiredError,
|
|
11
11
|
JwtSecretWeakError,
|
|
12
|
+
SigningKeyInvalidError,
|
|
12
13
|
SessionSecretRequiredError,
|
|
13
14
|
CredentialProviderAlreadyRegisteredError,
|
|
14
15
|
AuthProvidersNotConfiguredError,
|
|
@@ -35,6 +36,7 @@ export {
|
|
|
35
36
|
ScopeDeniedError,
|
|
36
37
|
SessionIdEmptyError,
|
|
37
38
|
SessionSecretRequiredError,
|
|
39
|
+
SigningKeyInvalidError,
|
|
38
40
|
TokenLeakDetectedError,
|
|
39
41
|
TokenNotAvailableError,
|
|
40
42
|
TokenStoreRequiredError,
|
package/browser/errors/index.mjs
CHANGED
|
@@ -198,6 +198,7 @@ import {
|
|
|
198
198
|
TokenLeakDetectedError,
|
|
199
199
|
JwtSecretRequiredError,
|
|
200
200
|
JwtSecretWeakError,
|
|
201
|
+
SigningKeyInvalidError,
|
|
201
202
|
SessionSecretRequiredError,
|
|
202
203
|
CredentialProviderAlreadyRegisteredError,
|
|
203
204
|
AuthProvidersNotConfiguredError,
|
|
@@ -213,7 +214,8 @@ import {
|
|
|
213
214
|
WorkflowStepNotFoundError,
|
|
214
215
|
WorkflowTimeoutError,
|
|
215
216
|
WorkflowDagValidationError,
|
|
216
|
-
WorkflowJobTimeoutError
|
|
217
|
+
WorkflowJobTimeoutError,
|
|
218
|
+
WorkflowTriggerConfigError
|
|
217
219
|
} from "./workflow.errors.mjs";
|
|
218
220
|
import {
|
|
219
221
|
EsmPackageLoadError,
|
|
@@ -261,6 +263,7 @@ import {
|
|
|
261
263
|
} from "./sdk.errors.mjs";
|
|
262
264
|
export { DynamicJobRegistrationDisabledError, JobAdmissionTimeoutError, JobCancelledError, JobInterruptedError, JobNotAuthorizedError, JobRunFinishedError, JobRunNotCancellableError, JobRunNotFoundError, JobRunnerBootError, JobRunnerUnavailableError, JobStoreNotSupportedError, JobTimeoutError } from "./job.errors.mjs";
|
|
263
265
|
export { DuplicatePluginEntryError, DuplicatePluginError, PluginConfiguredTwiceError, UnenforcedMetadataError } from "./plugin.errors.mjs";
|
|
266
|
+
export { InvalidToolUiConfigError, ToolUiConfigurationError } from "./tool-ui.errors.mjs";
|
|
264
267
|
export {
|
|
265
268
|
AgentCallDepthExceededError,
|
|
266
269
|
AgentConfigKeyNotFoundError,
|
|
@@ -432,6 +435,7 @@ export {
|
|
|
432
435
|
SharedServerStartError,
|
|
433
436
|
SignInLockedError,
|
|
434
437
|
SignInRefusedError,
|
|
438
|
+
SigningKeyInvalidError,
|
|
435
439
|
SkillContextNotImplementedError,
|
|
436
440
|
SkillInstructionFetchError,
|
|
437
441
|
SkillSessionError,
|
|
@@ -476,6 +480,7 @@ export {
|
|
|
476
480
|
WorkflowJobTimeoutError,
|
|
477
481
|
WorkflowStepNotFoundError,
|
|
478
482
|
WorkflowTimeoutError,
|
|
483
|
+
WorkflowTriggerConfigError,
|
|
479
484
|
authorizationRequiredDataSchema,
|
|
480
485
|
authorizationRequiredMetaSchema,
|
|
481
486
|
authorizationRequiredParamsSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// libs/sdk/src/errors/mcp.error.ts
|
|
2
|
-
import { AuthorityDeniedError } from "@frontmcp/auth";
|
|
2
|
+
import { AuthInternalError, AuthorityDeniedError } from "@frontmcp/auth";
|
|
3
3
|
import { GuardError, GuardStorageUnavailableError } from "@frontmcp/guard";
|
|
4
4
|
import { brandClass, bytesToHex, isBrandedInstance, isProduction, randomBytes } from "@frontmcp/utils";
|
|
5
5
|
var MCP_ERROR_CODES = {
|
|
@@ -340,7 +340,7 @@ var InvalidOutputError = class extends InternalMcpError {
|
|
|
340
340
|
constructor(errorIdOrDetails, maybeDetails) {
|
|
341
341
|
const errorId = typeof errorIdOrDetails === "string" ? errorIdOrDetails : void 0;
|
|
342
342
|
const details = typeof errorIdOrDetails === "object" && errorIdOrDetails !== null ? errorIdOrDetails : maybeDetails;
|
|
343
|
-
const baseMsg = "Tool output validation failed
|
|
343
|
+
const baseMsg = `${details?.entry ?? "Tool"} output validation failed`;
|
|
344
344
|
const detailFragment = details?.reason ? ` (${details.reason}${details.path ? ` at ${details.path}` : ""}${details.value !== void 0 ? `: ${details.value}` : ""})` : "";
|
|
345
345
|
super(baseMsg + detailFragment, "INVALID_OUTPUT");
|
|
346
346
|
this.hasCustomErrorId = !!errorId;
|
|
@@ -356,6 +356,15 @@ var InvalidOutputError = class extends InternalMcpError {
|
|
|
356
356
|
return "Output validation failed. Please contact support.";
|
|
357
357
|
}
|
|
358
358
|
};
|
|
359
|
+
function invalidOutputFromParseFailure(entry, error) {
|
|
360
|
+
const issues = error.issues;
|
|
361
|
+
const firstIssue = issues?.[0];
|
|
362
|
+
return new InvalidOutputError({
|
|
363
|
+
entry,
|
|
364
|
+
reason: firstIssue?.message ?? error.message,
|
|
365
|
+
path: firstIssue?.path?.length ? firstIssue.path.map(String).join(".") : void 0
|
|
366
|
+
});
|
|
367
|
+
}
|
|
359
368
|
var InvalidMethodError = class extends PublicMcpError {
|
|
360
369
|
constructor(method, expected) {
|
|
361
370
|
super(`Invalid method "${method}". Expected "${expected}"`, "INVALID_METHOD", 400);
|
|
@@ -563,7 +572,13 @@ function publicGuardMessage(error) {
|
|
|
563
572
|
return error.message;
|
|
564
573
|
}
|
|
565
574
|
function isClientFacingError(error) {
|
|
566
|
-
return isPublicError(error) || error instanceof AuthorityDeniedError;
|
|
575
|
+
return isPublicError(error) || error instanceof AuthorityDeniedError || error instanceof AuthInternalError;
|
|
576
|
+
}
|
|
577
|
+
function fromAuthError(error) {
|
|
578
|
+
const converted = error.isPublic ? new PublicMcpError(error.message, error.code, error.statusCode) : new InternalMcpError(error.message, error.code);
|
|
579
|
+
converted.errorId = error.errorId;
|
|
580
|
+
converted.stack = error.stack;
|
|
581
|
+
return converted;
|
|
567
582
|
}
|
|
568
583
|
var CONVERTED_ERRORS = /* @__PURE__ */ Symbol.for("@frontmcp/sdk/converted-errors");
|
|
569
584
|
function convertedErrors() {
|
|
@@ -589,6 +604,9 @@ function convertToMcpError(error) {
|
|
|
589
604
|
if (error instanceof GuardError) {
|
|
590
605
|
return new GuardLimitMcpError(error);
|
|
591
606
|
}
|
|
607
|
+
if (error instanceof AuthInternalError) {
|
|
608
|
+
return fromAuthError(error);
|
|
609
|
+
}
|
|
592
610
|
if (error instanceof Error) {
|
|
593
611
|
return new GenericServerError(error.message, error);
|
|
594
612
|
}
|
|
@@ -669,6 +687,7 @@ export {
|
|
|
669
687
|
UnsupportedClientVersionError,
|
|
670
688
|
extractPublicMessage,
|
|
671
689
|
formatMcpErrorResponse,
|
|
690
|
+
invalidOutputFromParseFailure,
|
|
672
691
|
isClientFacingError,
|
|
673
692
|
isPublicError,
|
|
674
693
|
refused,
|
|
@@ -3,12 +3,14 @@ var MISCONFIGURATION_REMEDIES = {
|
|
|
3
3
|
SESSION_SECRET_REQUIRED: "Set MCP_SESSION_SECRET in the deployment environment (e.g. `wrangler secret put MCP_SESSION_SECRET` on Cloudflare, or the platform environment settings on Node, Vercel and Lambda). Session IDs are encrypted with it, and production refuses the development machine-id fallback.",
|
|
4
4
|
JWT_SECRET_INVALID: "JWT_SECRET is present but too weak: HS256 requires at least 32 bytes (RFC 7518). Replace it with `openssl rand -hex 32`.",
|
|
5
5
|
JWT_SECRET_REQUIRED: "Set JWT_SECRET in the deployment environment (e.g. `wrangler secret put JWT_SECRET`). Tokens are signed with it; production refuses the random per-process fallback because tokens would not survive a restart or verify across instances.",
|
|
6
|
+
SIGNING_KEY_INVALID: "The configured `signKey` or `jwks` (`auth.local.*` in local and remote mode, `auth.*` in public mode) cannot sign tokens or be published, so the server refuses to start. The server log names the key and the problem.",
|
|
6
7
|
// The startup checks: a server whose entries ask for protection nothing gives them does not start.
|
|
7
8
|
UNENFORCED_METADATA: "An entry declares a field only a plugin enforces (approval, featureFlag, ...) and no installed plugin that enforces it reaches the entry, so the server refuses to start. Install the plugin or remove the field; the server log names the entries.",
|
|
8
9
|
AUTH_CONFIGURATION_ERROR: "The auth or authorities configuration is invalid (for example, entries declare authorities and the server has no authorities option, or a rule checks nothing), so the server refuses to start. The server log names the entries.",
|
|
9
10
|
TOOL_ALIAS_CONFLICT: "A tool alias (`@Tool({ aliases })`) is also the name of a tool or the alias of another tool, so the server refuses to start. Give each alias to one tool; the server log names the conflicts.",
|
|
10
11
|
DUPLICATE_PLUGIN: "A plugin that can be installed once per server is installed twice (in one plugins list, or by the server and an app, or by two apps), so the server refuses to start. Install it once; the server log names the plugin.",
|
|
11
12
|
DUPLICATE_PLUGIN_ENTRY: "One plugins list names a plugin twice, so the server refuses to start. List it once with all its options, or install the other configuration on another app; the server log names the plugin, the list and both entries.",
|
|
13
|
+
TOOL_UI_CONFIGURATION: "A tool's `ui` sets a rendering option its template cannot take (for example `contentSecurity` on a `{ file }` widget), so the server refuses to start. Change the template or remove the option; the server log names the tool and the option.",
|
|
12
14
|
PLUGIN_CONFIGURED_TWICE: "A server option (such as `observability`) installs a plugin that the server plugins list names too, so the server refuses to start. Configure the plugin in one place; the server log names the option and the plugin."
|
|
13
15
|
};
|
|
14
16
|
function findMisconfiguration(error) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// libs/sdk/src/errors/remote.errors.ts
|
|
2
|
-
import {
|
|
2
|
+
import { InternalMcpError, MCP_ERROR_CODES, PublicMcpError } from "./mcp.error.mjs";
|
|
3
3
|
var RemoteConnectionError = class extends InternalMcpError {
|
|
4
4
|
appId;
|
|
5
5
|
url;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// libs/sdk/src/errors/tool-ui.errors.ts
|
|
2
|
+
import { InternalMcpError, PublicMcpError } from "./mcp.error.mjs";
|
|
3
|
+
var ToolUiConfigurationError = class extends PublicMcpError {
|
|
4
|
+
/** One sentence per option the template cannot take. */
|
|
5
|
+
problems;
|
|
6
|
+
constructor(toolName, problems) {
|
|
7
|
+
super(`Tool "${toolName}": ${problems.join(" ")}`, "TOOL_UI_CONFIGURATION", 500);
|
|
8
|
+
this.problems = problems;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
var InvalidToolUiConfigError = class extends InternalMcpError {
|
|
12
|
+
problems;
|
|
13
|
+
constructor(problems) {
|
|
14
|
+
super(`Invalid tool ui config:
|
|
15
|
+
- ${problems.join("\n- ")}`, "INVALID_TOOL_UI_CONFIG");
|
|
16
|
+
this.problems = problems;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
InvalidToolUiConfigError,
|
|
21
|
+
ToolUiConfigurationError
|
|
22
|
+
};
|
|
@@ -20,9 +20,15 @@ var WorkflowJobTimeoutError = class extends InternalMcpError {
|
|
|
20
20
|
super(`Job "${jobName}" timed out after ${timeoutMs}ms`, "WORKFLOW_JOB_TIMEOUT");
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
|
+
var WorkflowTriggerConfigError = class extends InternalMcpError {
|
|
24
|
+
constructor(workflowName, reason) {
|
|
25
|
+
super(`Workflow "${workflowName}": ${reason}`, "INVALID_WORKFLOW_TRIGGER");
|
|
26
|
+
}
|
|
27
|
+
};
|
|
23
28
|
export {
|
|
24
29
|
WorkflowDagValidationError,
|
|
25
30
|
WorkflowJobTimeoutError,
|
|
26
31
|
WorkflowStepNotFoundError,
|
|
27
|
-
WorkflowTimeoutError
|
|
32
|
+
WorkflowTimeoutError,
|
|
33
|
+
WorkflowTriggerConfigError
|
|
28
34
|
};
|
|
@@ -91,7 +91,7 @@ var EsmCacheManager = class {
|
|
|
91
91
|
const memKey = `${packageName}@${version}`;
|
|
92
92
|
const memEntry = this.memoryStore.get(memKey);
|
|
93
93
|
if (memEntry) {
|
|
94
|
-
if (Date.now() - memEntry.cachedAt
|
|
94
|
+
if (Date.now() - memEntry.cachedAt < this.maxAgeMs) {
|
|
95
95
|
return memEntry;
|
|
96
96
|
}
|
|
97
97
|
this.memoryStore.delete(memKey);
|
|
@@ -109,7 +109,7 @@ var EsmCacheManager = class {
|
|
|
109
109
|
if (!meta) {
|
|
110
110
|
return void 0;
|
|
111
111
|
}
|
|
112
|
-
if (Date.now() - meta.cachedAt
|
|
112
|
+
if (Date.now() - meta.cachedAt >= this.maxAgeMs) {
|
|
113
113
|
return void 0;
|
|
114
114
|
}
|
|
115
115
|
if (!await fileExists(meta.bundlePath)) {
|
|
@@ -8,10 +8,12 @@ import {
|
|
|
8
8
|
normalizeResourceFromEsmExport,
|
|
9
9
|
normalizeToolFromEsmExport
|
|
10
10
|
} from "../app/instances/esm-normalize.utils.mjs";
|
|
11
|
+
import { frontMcpSkill } from "../common/decorators/skill.decorator.mjs";
|
|
11
12
|
import { pickExternalEntry } from "../common/utils/external-entry.utils.mjs";
|
|
12
13
|
import { ExternalEntryLoadError } from "../errors/external-entry.errors.mjs";
|
|
13
14
|
import { normalizePrompt } from "../prompt/prompt.utils.mjs";
|
|
14
15
|
import { normalizeResource } from "../resource/resource.utils.mjs";
|
|
16
|
+
import { isSkillRecord, normalizeSkill } from "../skill/skill.utils.mjs";
|
|
15
17
|
import { normalizeTool } from "../tool/tool.utils.mjs";
|
|
16
18
|
import { EsmCacheManager } from "./esm-cache.mjs";
|
|
17
19
|
import { EsmModuleLoader } from "./esm-module-loader.mjs";
|
|
@@ -19,6 +21,12 @@ import { buildEsmPromptRecord, buildEsmResourceRecord, buildEsmToolRecord } from
|
|
|
19
21
|
function registryAuthOf(loader) {
|
|
20
22
|
return loader ? { registryUrl: loader.registryUrl ?? loader.url, token: loader.token, tokenEnvVar: loader.tokenEnvVar } : void 0;
|
|
21
23
|
}
|
|
24
|
+
function mergePackageLoaders(serverLoader, entryLoader) {
|
|
25
|
+
if (!serverLoader || !entryLoader) return entryLoader ?? serverLoader;
|
|
26
|
+
const entrySetsToken = entryLoader.token !== void 0 || entryLoader.tokenEnvVar !== void 0;
|
|
27
|
+
const tokenSource = entrySetsToken ? entryLoader : serverLoader;
|
|
28
|
+
return { ...serverLoader, ...entryLoader, token: tokenSource.token, tokenEnvVar: tokenSource.tokenEnvVar };
|
|
29
|
+
}
|
|
22
30
|
function createPackageModuleLoader(options) {
|
|
23
31
|
return new EsmModuleLoader({
|
|
24
32
|
cache: new EsmCacheManager({ maxAgeMs: options.cacheTTL }),
|
|
@@ -57,6 +65,10 @@ function esmPromptRecord(raw, namespace) {
|
|
|
57
65
|
const definition = normalizePromptFromEsmExport(raw);
|
|
58
66
|
return definition && buildEsmPromptRecord(definition, namespace);
|
|
59
67
|
}
|
|
68
|
+
function esmSkillRecord(raw) {
|
|
69
|
+
if (raw !== null && typeof raw === "object" && !isSkillRecord(raw)) return frontMcpSkill(raw);
|
|
70
|
+
return normalizeSkill(raw);
|
|
71
|
+
}
|
|
60
72
|
function esmManifestRecords(exported, recordOf) {
|
|
61
73
|
return (exported ?? []).map((raw) => recordOf(raw)).filter((record) => record !== void 0);
|
|
62
74
|
}
|
|
@@ -67,7 +79,7 @@ function loadPackageOnce(scope, specifier, options) {
|
|
|
67
79
|
loads = /* @__PURE__ */ new Map();
|
|
68
80
|
packageLoadsByScope.set(scope, loads);
|
|
69
81
|
}
|
|
70
|
-
const packageLoader =
|
|
82
|
+
const packageLoader = mergePackageLoaders(scope.metadata.loader, options?.loader);
|
|
71
83
|
const loaderFingerprint = sha256Hex(JSON.stringify({ packageLoader, cacheTTL: options?.cacheTTL })).slice(0, 16);
|
|
72
84
|
const key = `${specifier.fullName}@${specifier.range}#${loaderFingerprint}`;
|
|
73
85
|
let load = loads.get(key);
|
|
@@ -111,9 +123,11 @@ export {
|
|
|
111
123
|
esmManifestRecords,
|
|
112
124
|
esmPromptRecord,
|
|
113
125
|
esmResourceRecord,
|
|
126
|
+
esmSkillRecord,
|
|
114
127
|
esmToolRecord,
|
|
115
128
|
loadEsmPromptEntries,
|
|
116
129
|
loadEsmResourceEntries,
|
|
117
130
|
loadEsmToolEntries,
|
|
131
|
+
mergePackageLoaders,
|
|
118
132
|
registryAuthOf
|
|
119
133
|
};
|