@vendure/mcp-plugin 3.8.0-minor-bootstrap.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/lib/api/api-extensions.d.ts +2 -0
- package/lib/api/api-extensions.js +239 -0
- package/lib/api/api-extensions.js.map +1 -0
- package/lib/api/mcp-actor.service.d.ts +19 -0
- package/lib/api/mcp-actor.service.js +52 -0
- package/lib/api/mcp-actor.service.js.map +1 -0
- package/lib/api/mcp-admin.resolver.d.ts +105 -0
- package/lib/api/mcp-admin.resolver.js +463 -0
- package/lib/api/mcp-admin.resolver.js.map +1 -0
- package/lib/api/mcp-shop.resolver.d.ts +25 -0
- package/lib/api/mcp-shop.resolver.js +74 -0
- package/lib/api/mcp-shop.resolver.js.map +1 -0
- package/lib/check-options.d.ts +7 -0
- package/lib/check-options.js +130 -0
- package/lib/check-options.js.map +1 -0
- package/lib/constants.d.ts +48 -0
- package/lib/constants.js +72 -0
- package/lib/constants.js.map +1 -0
- package/lib/delete-in-batches.d.ts +5 -0
- package/lib/delete-in-batches.js +28 -0
- package/lib/delete-in-batches.js.map +1 -0
- package/lib/entities/index.d.ts +5 -0
- package/lib/entities/index.js +22 -0
- package/lib/entities/index.js.map +1 -0
- package/lib/entities/mcp-authorization-code.entity.d.ts +33 -0
- package/lib/entities/mcp-authorization-code.entity.js +77 -0
- package/lib/entities/mcp-authorization-code.entity.js.map +1 -0
- package/lib/entities/mcp-authorization-request.entity.d.ts +31 -0
- package/lib/entities/mcp-authorization-request.entity.js +73 -0
- package/lib/entities/mcp-authorization-request.entity.js.map +1 -0
- package/lib/entities/mcp-oauth-client.entity.d.ts +56 -0
- package/lib/entities/mcp-oauth-client.entity.js +70 -0
- package/lib/entities/mcp-oauth-client.entity.js.map +1 -0
- package/lib/entities/mcp-oauth-grant.entity.d.ts +77 -0
- package/lib/entities/mcp-oauth-grant.entity.js +121 -0
- package/lib/entities/mcp-oauth-grant.entity.js.map +1 -0
- package/lib/entities/mcp-tool-call-log.entity.d.ts +50 -0
- package/lib/entities/mcp-tool-call-log.entity.js +101 -0
- package/lib/entities/mcp-tool-call-log.entity.js.map +1 -0
- package/lib/events/mcp-tool-call.event.d.ts +17 -0
- package/lib/events/mcp-tool-call.event.js +23 -0
- package/lib/events/mcp-tool-call.event.js.map +1 -0
- package/lib/get-client-ip.d.ts +2 -0
- package/lib/get-client-ip.js +10 -0
- package/lib/get-client-ip.js.map +1 -0
- package/lib/get-language-code.d.ts +3 -0
- package/lib/get-language-code.js +12 -0
- package/lib/get-language-code.js.map +1 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.js +26 -0
- package/lib/index.js.map +1 -0
- package/lib/internal-types.d.ts +27 -0
- package/lib/internal-types.js +3 -0
- package/lib/internal-types.js.map +1 -0
- package/lib/logging/mcp-tool-call-log-retention.service.d.ts +8 -0
- package/lib/logging/mcp-tool-call-log-retention.service.js +54 -0
- package/lib/logging/mcp-tool-call-log-retention.service.js.map +1 -0
- package/lib/logging/mcp-tool-call-log.service.d.ts +24 -0
- package/lib/logging/mcp-tool-call-log.service.js +128 -0
- package/lib/logging/mcp-tool-call-log.service.js.map +1 -0
- package/lib/oauth/cimd/cimd-client-resolver.service.d.ts +18 -0
- package/lib/oauth/cimd/cimd-client-resolver.service.js +109 -0
- package/lib/oauth/cimd/cimd-client-resolver.service.js.map +1 -0
- package/lib/oauth/cimd/cimd-document.d.ts +11 -0
- package/lib/oauth/cimd/cimd-document.js +66 -0
- package/lib/oauth/cimd/cimd-document.js.map +1 -0
- package/lib/oauth/cimd/cimd-fetch.d.ts +14 -0
- package/lib/oauth/cimd/cimd-fetch.js +192 -0
- package/lib/oauth/cimd/cimd-fetch.js.map +1 -0
- package/lib/oauth/cimd/cimd-url.d.ts +5 -0
- package/lib/oauth/cimd/cimd-url.js +94 -0
- package/lib/oauth/cimd/cimd-url.js.map +1 -0
- package/lib/oauth/grant-session.service.d.ts +19 -0
- package/lib/oauth/grant-session.service.js +141 -0
- package/lib/oauth/grant-session.service.js.map +1 -0
- package/lib/oauth/oauth-error.d.ts +18 -0
- package/lib/oauth/oauth-error.js +60 -0
- package/lib/oauth/oauth-error.js.map +1 -0
- package/lib/oauth/oauth-metadata.service.d.ts +34 -0
- package/lib/oauth/oauth-metadata.service.js +107 -0
- package/lib/oauth/oauth-metadata.service.js.map +1 -0
- package/lib/oauth/oauth-retention.service.d.ts +23 -0
- package/lib/oauth/oauth-retention.service.js +103 -0
- package/lib/oauth/oauth-retention.service.js.map +1 -0
- package/lib/oauth/oauth-types.d.ts +61 -0
- package/lib/oauth/oauth-types.js +32 -0
- package/lib/oauth/oauth-types.js.map +1 -0
- package/lib/oauth/oauth-utils.d.ts +20 -0
- package/lib/oauth/oauth-utils.js +111 -0
- package/lib/oauth/oauth-utils.js.map +1 -0
- package/lib/oauth/oauth.controller.d.ts +31 -0
- package/lib/oauth/oauth.controller.js +132 -0
- package/lib/oauth/oauth.controller.js.map +1 -0
- package/lib/oauth/oauth.service.d.ts +69 -0
- package/lib/oauth/oauth.service.js +650 -0
- package/lib/oauth/oauth.service.js.map +1 -0
- package/lib/oauth/token-hash.d.ts +6 -0
- package/lib/oauth/token-hash.js +21 -0
- package/lib/oauth/token-hash.js.map +1 -0
- package/lib/plugin.d.ts +54 -0
- package/lib/plugin.js +171 -0
- package/lib/plugin.js.map +1 -0
- package/lib/rate-limit/ip-bucket-key.d.ts +1 -0
- package/lib/rate-limit/ip-bucket-key.js +35 -0
- package/lib/rate-limit/ip-bucket-key.js.map +1 -0
- package/lib/rate-limit/mcp-oauth-rate-limit.guard.d.ts +20 -0
- package/lib/rate-limit/mcp-oauth-rate-limit.guard.js +63 -0
- package/lib/rate-limit/mcp-oauth-rate-limit.guard.js.map +1 -0
- package/lib/rate-limit/mcp-rate-limiter.service.d.ts +47 -0
- package/lib/rate-limit/mcp-rate-limiter.service.js +248 -0
- package/lib/rate-limit/mcp-rate-limiter.service.js.map +1 -0
- package/lib/registry/bm25.d.ts +12 -0
- package/lib/registry/bm25.js +60 -0
- package/lib/registry/bm25.js.map +1 -0
- package/lib/registry/mcp-tool-execution.service.d.ts +45 -0
- package/lib/registry/mcp-tool-execution.service.js +72 -0
- package/lib/registry/mcp-tool-execution.service.js.map +1 -0
- package/lib/registry/mcp-tool-registry.service.d.ts +89 -0
- package/lib/registry/mcp-tool-registry.service.js +668 -0
- package/lib/registry/mcp-tool-registry.service.js.map +1 -0
- package/lib/registry/mcp-tool-schema.service.d.ts +42 -0
- package/lib/registry/mcp-tool-schema.service.js +229 -0
- package/lib/registry/mcp-tool-schema.service.js.map +1 -0
- package/lib/registry/registry-types.d.ts +32 -0
- package/lib/registry/registry-types.js +3 -0
- package/lib/registry/registry-types.js.map +1 -0
- package/lib/resolve-options.d.ts +7 -0
- package/lib/resolve-options.js +85 -0
- package/lib/resolve-options.js.map +1 -0
- package/lib/shared/endpoint-paths.d.ts +8 -0
- package/lib/shared/endpoint-paths.js +12 -0
- package/lib/shared/endpoint-paths.js.map +1 -0
- package/lib/shared/loopback.d.ts +2 -0
- package/lib/shared/loopback.js +9 -0
- package/lib/shared/loopback.js.map +1 -0
- package/lib/shop-session/mcp-shop-session.service.d.ts +47 -0
- package/lib/shop-session/mcp-shop-session.service.js +132 -0
- package/lib/shop-session/mcp-shop-session.service.js.map +1 -0
- package/lib/tasks/mcp-oauth-retention.task.d.ts +9 -0
- package/lib/tasks/mcp-oauth-retention.task.js +21 -0
- package/lib/tasks/mcp-oauth-retention.task.js.map +1 -0
- package/lib/tasks/mcp-tool-call-log-retention.task.d.ts +7 -0
- package/lib/tasks/mcp-tool-call-log-retention.task.js +22 -0
- package/lib/tasks/mcp-tool-call-log-retention.task.js.map +1 -0
- package/lib/tools/built-in/active-order.service.d.ts +26 -0
- package/lib/tools/built-in/active-order.service.js +125 -0
- package/lib/tools/built-in/active-order.service.js.map +1 -0
- package/lib/tools/built-in/admin/add-customer-to-group.tool.d.ts +23 -0
- package/lib/tools/built-in/admin/add-customer-to-group.tool.js +68 -0
- package/lib/tools/built-in/admin/add-customer-to-group.tool.js.map +1 -0
- package/lib/tools/built-in/admin/add-note-to-order.tool.d.ts +104 -0
- package/lib/tools/built-in/admin/add-note-to-order.tool.js +66 -0
- package/lib/tools/built-in/admin/add-note-to-order.tool.js.map +1 -0
- package/lib/tools/built-in/admin/adjust-stock.tool.d.ts +26 -0
- package/lib/tools/built-in/admin/adjust-stock.tool.js +88 -0
- package/lib/tools/built-in/admin/adjust-stock.tool.js.map +1 -0
- package/lib/tools/built-in/admin/cancel-order.tool.d.ts +17 -0
- package/lib/tools/built-in/admin/cancel-order.tool.js +60 -0
- package/lib/tools/built-in/admin/cancel-order.tool.js.map +1 -0
- package/lib/tools/built-in/admin/channel-access.d.ts +2 -0
- package/lib/tools/built-in/admin/channel-access.js +9 -0
- package/lib/tools/built-in/admin/channel-access.js.map +1 -0
- package/lib/tools/built-in/admin/create-customer.tool.d.ts +41 -0
- package/lib/tools/built-in/admin/create-customer.tool.js +57 -0
- package/lib/tools/built-in/admin/create-customer.tool.js.map +1 -0
- package/lib/tools/built-in/admin/create-fulfillment.tool.d.ts +118 -0
- package/lib/tools/built-in/admin/create-fulfillment.tool.js +156 -0
- package/lib/tools/built-in/admin/create-fulfillment.tool.js.map +1 -0
- package/lib/tools/built-in/admin/create-product.tool.d.ts +52 -0
- package/lib/tools/built-in/admin/create-product.tool.js +61 -0
- package/lib/tools/built-in/admin/create-product.tool.js.map +1 -0
- package/lib/tools/built-in/admin/create-variant.tool.d.ts +48 -0
- package/lib/tools/built-in/admin/create-variant.tool.js +79 -0
- package/lib/tools/built-in/admin/create-variant.tool.js.map +1 -0
- package/lib/tools/built-in/admin/entity-field-schemas.d.ts +36 -0
- package/lib/tools/built-in/admin/entity-field-schemas.js +63 -0
- package/lib/tools/built-in/admin/entity-field-schemas.js.map +1 -0
- package/lib/tools/built-in/admin/get-customer.tool.d.ts +28 -0
- package/lib/tools/built-in/admin/get-customer.tool.js +55 -0
- package/lib/tools/built-in/admin/get-customer.tool.js.map +1 -0
- package/lib/tools/built-in/admin/get-order.tool.d.ts +100 -0
- package/lib/tools/built-in/admin/get-order.tool.js +68 -0
- package/lib/tools/built-in/admin/get-order.tool.js.map +1 -0
- package/lib/tools/built-in/admin/get-product.tool.d.ts +69 -0
- package/lib/tools/built-in/admin/get-product.tool.js +77 -0
- package/lib/tools/built-in/admin/get-product.tool.js.map +1 -0
- package/lib/tools/built-in/admin/get-stock-levels.tool.d.ts +23 -0
- package/lib/tools/built-in/admin/get-stock-levels.tool.js +61 -0
- package/lib/tools/built-in/admin/get-stock-levels.tool.js.map +1 -0
- package/lib/tools/built-in/admin/index.d.ts +25 -0
- package/lib/tools/built-in/admin/index.js +54 -0
- package/lib/tools/built-in/admin/index.js.map +1 -0
- package/lib/tools/built-in/admin/list-channels.tool.d.ts +24 -0
- package/lib/tools/built-in/admin/list-channels.tool.js +56 -0
- package/lib/tools/built-in/admin/list-channels.tool.js.map +1 -0
- package/lib/tools/built-in/admin/list-customer-groups.tool.d.ts +23 -0
- package/lib/tools/built-in/admin/list-customer-groups.tool.js +52 -0
- package/lib/tools/built-in/admin/list-customer-groups.tool.js.map +1 -0
- package/lib/tools/built-in/admin/list-customers.tool.d.ts +62 -0
- package/lib/tools/built-in/admin/list-customers.tool.js +66 -0
- package/lib/tools/built-in/admin/list-customers.tool.js.map +1 -0
- package/lib/tools/built-in/admin/list-orders.tool.d.ts +142 -0
- package/lib/tools/built-in/admin/list-orders.tool.js +87 -0
- package/lib/tools/built-in/admin/list-orders.tool.js.map +1 -0
- package/lib/tools/built-in/admin/list-products.tool.d.ts +63 -0
- package/lib/tools/built-in/admin/list-products.tool.js +71 -0
- package/lib/tools/built-in/admin/list-products.tool.js.map +1 -0
- package/lib/tools/built-in/admin/refund-order.tool.d.ts +38 -0
- package/lib/tools/built-in/admin/refund-order.tool.js +115 -0
- package/lib/tools/built-in/admin/refund-order.tool.js.map +1 -0
- package/lib/tools/built-in/admin/set-active-channel.tool.d.ts +22 -0
- package/lib/tools/built-in/admin/set-active-channel.tool.js +84 -0
- package/lib/tools/built-in/admin/set-active-channel.tool.js.map +1 -0
- package/lib/tools/built-in/admin/translation-schemas.d.ts +12 -0
- package/lib/tools/built-in/admin/translation-schemas.js +17 -0
- package/lib/tools/built-in/admin/translation-schemas.js.map +1 -0
- package/lib/tools/built-in/admin/update-customer.tool.d.ts +42 -0
- package/lib/tools/built-in/admin/update-customer.tool.js +59 -0
- package/lib/tools/built-in/admin/update-customer.tool.js.map +1 -0
- package/lib/tools/built-in/admin/update-order-state.tool.d.ts +16 -0
- package/lib/tools/built-in/admin/update-order-state.tool.js +58 -0
- package/lib/tools/built-in/admin/update-order-state.tool.js.map +1 -0
- package/lib/tools/built-in/admin/update-product.tool.d.ts +53 -0
- package/lib/tools/built-in/admin/update-product.tool.js +68 -0
- package/lib/tools/built-in/admin/update-product.tool.js.map +1 -0
- package/lib/tools/built-in/admin/update-variant.tool.d.ts +46 -0
- package/lib/tools/built-in/admin/update-variant.tool.js +77 -0
- package/lib/tools/built-in/admin/update-variant.tool.js.map +1 -0
- package/lib/tools/built-in/admin/upload-asset.tool.d.ts +32 -0
- package/lib/tools/built-in/admin/upload-asset.tool.js +56 -0
- package/lib/tools/built-in/admin/upload-asset.tool.js.map +1 -0
- package/lib/tools/built-in/catalog-query.service.d.ts +21 -0
- package/lib/tools/built-in/catalog-query.service.js +128 -0
- package/lib/tools/built-in/catalog-query.service.js.map +1 -0
- package/lib/tools/built-in/custom-field-input.service.d.ts +10 -0
- package/lib/tools/built-in/custom-field-input.service.js +64 -0
- package/lib/tools/built-in/custom-field-input.service.js.map +1 -0
- package/lib/tools/built-in/email-schema.d.ts +2 -0
- package/lib/tools/built-in/email-schema.js +12 -0
- package/lib/tools/built-in/email-schema.js.map +1 -0
- package/lib/tools/built-in/id-schema.d.ts +3 -0
- package/lib/tools/built-in/id-schema.js +11 -0
- package/lib/tools/built-in/id-schema.js.map +1 -0
- package/lib/tools/built-in/int32-schema.d.ts +4 -0
- package/lib/tools/built-in/int32-schema.js +8 -0
- package/lib/tools/built-in/int32-schema.js.map +1 -0
- package/lib/tools/built-in/list-helpers.d.ts +48 -0
- package/lib/tools/built-in/list-helpers.js +76 -0
- package/lib/tools/built-in/list-helpers.js.map +1 -0
- package/lib/tools/built-in/order-list-helpers.d.ts +20 -0
- package/lib/tools/built-in/order-list-helpers.js +48 -0
- package/lib/tools/built-in/order-list-helpers.js.map +1 -0
- package/lib/tools/built-in/providers.d.ts +2 -0
- package/lib/tools/built-in/providers.js +7 -0
- package/lib/tools/built-in/providers.js.map +1 -0
- package/lib/tools/built-in/remote-asset.d.ts +4 -0
- package/lib/tools/built-in/remote-asset.js +54 -0
- package/lib/tools/built-in/remote-asset.js.map +1 -0
- package/lib/tools/built-in/serializer.service.d.ts +327 -0
- package/lib/tools/built-in/serializer.service.js +413 -0
- package/lib/tools/built-in/serializer.service.js.map +1 -0
- package/lib/tools/built-in/shop/add-to-cart.tool.d.ts +21 -0
- package/lib/tools/built-in/shop/add-to-cart.tool.js +100 -0
- package/lib/tools/built-in/shop/add-to-cart.tool.js.map +1 -0
- package/lib/tools/built-in/shop/address-schema.d.ts +15 -0
- package/lib/tools/built-in/shop/address-schema.js +20 -0
- package/lib/tools/built-in/shop/address-schema.js.map +1 -0
- package/lib/tools/built-in/shop/apply-coupon-code.tool.d.ts +17 -0
- package/lib/tools/built-in/shop/apply-coupon-code.tool.js +62 -0
- package/lib/tools/built-in/shop/apply-coupon-code.tool.js.map +1 -0
- package/lib/tools/built-in/shop/collection-lookup.d.ts +15 -0
- package/lib/tools/built-in/shop/collection-lookup.js +35 -0
- package/lib/tools/built-in/shop/collection-lookup.js.map +1 -0
- package/lib/tools/built-in/shop/get-cart.tool.d.ts +94 -0
- package/lib/tools/built-in/shop/get-cart.tool.js +55 -0
- package/lib/tools/built-in/shop/get-cart.tool.js.map +1 -0
- package/lib/tools/built-in/shop/get-collection.tool.d.ts +42 -0
- package/lib/tools/built-in/shop/get-collection.tool.js +64 -0
- package/lib/tools/built-in/shop/get-collection.tool.js.map +1 -0
- package/lib/tools/built-in/shop/get-eligible-payment-methods.tool.d.ts +26 -0
- package/lib/tools/built-in/shop/get-eligible-payment-methods.tool.js +58 -0
- package/lib/tools/built-in/shop/get-eligible-payment-methods.tool.js.map +1 -0
- package/lib/tools/built-in/shop/get-eligible-shipping-methods.tool.d.ts +30 -0
- package/lib/tools/built-in/shop/get-eligible-shipping-methods.tool.js +59 -0
- package/lib/tools/built-in/shop/get-eligible-shipping-methods.tool.js.map +1 -0
- package/lib/tools/built-in/shop/get-my-account.tool.d.ts +22 -0
- package/lib/tools/built-in/shop/get-my-account.tool.js +57 -0
- package/lib/tools/built-in/shop/get-my-account.tool.js.map +1 -0
- package/lib/tools/built-in/shop/get-order.tool.d.ts +100 -0
- package/lib/tools/built-in/shop/get-order.tool.js +67 -0
- package/lib/tools/built-in/shop/get-order.tool.js.map +1 -0
- package/lib/tools/built-in/shop/get-product.tool.d.ts +57 -0
- package/lib/tools/built-in/shop/get-product.tool.js +81 -0
- package/lib/tools/built-in/shop/get-product.tool.js.map +1 -0
- package/lib/tools/built-in/shop/index.d.ts +19 -0
- package/lib/tools/built-in/shop/index.js +42 -0
- package/lib/tools/built-in/shop/index.js.map +1 -0
- package/lib/tools/built-in/shop/list-collections.tool.d.ts +42 -0
- package/lib/tools/built-in/shop/list-collections.tool.js +75 -0
- package/lib/tools/built-in/shop/list-collections.tool.js.map +1 -0
- package/lib/tools/built-in/shop/list-my-orders.tool.d.ts +100 -0
- package/lib/tools/built-in/shop/list-my-orders.tool.js +63 -0
- package/lib/tools/built-in/shop/list-my-orders.tool.js.map +1 -0
- package/lib/tools/built-in/shop/place-order.tool.d.ts +188 -0
- package/lib/tools/built-in/shop/place-order.tool.js +152 -0
- package/lib/tools/built-in/shop/place-order.tool.js.map +1 -0
- package/lib/tools/built-in/shop/product-search-query.d.ts +4 -0
- package/lib/tools/built-in/shop/product-search-query.js +34 -0
- package/lib/tools/built-in/shop/product-search-query.js.map +1 -0
- package/lib/tools/built-in/shop/remove-coupon-code.tool.d.ts +17 -0
- package/lib/tools/built-in/shop/remove-coupon-code.tool.js +63 -0
- package/lib/tools/built-in/shop/remove-coupon-code.tool.js.map +1 -0
- package/lib/tools/built-in/shop/remove-from-cart.tool.d.ts +17 -0
- package/lib/tools/built-in/shop/remove-from-cart.tool.js +58 -0
- package/lib/tools/built-in/shop/remove-from-cart.tool.js.map +1 -0
- package/lib/tools/built-in/shop/search-products.tool.d.ts +48 -0
- package/lib/tools/built-in/shop/search-products.tool.js +95 -0
- package/lib/tools/built-in/shop/search-products.tool.js.map +1 -0
- package/lib/tools/built-in/shop/set-checkout-details.tool.d.ts +56 -0
- package/lib/tools/built-in/shop/set-checkout-details.tool.js +187 -0
- package/lib/tools/built-in/shop/set-checkout-details.tool.js.map +1 -0
- package/lib/tools/built-in/shop/set-shipping-method.tool.d.ts +17 -0
- package/lib/tools/built-in/shop/set-shipping-method.tool.js +58 -0
- package/lib/tools/built-in/shop/set-shipping-method.tool.js.map +1 -0
- package/lib/tools/built-in/shop/update-cart-line.tool.d.ts +18 -0
- package/lib/tools/built-in/shop/update-cart-line.tool.js +60 -0
- package/lib/tools/built-in/shop/update-cart-line.tool.js.map +1 -0
- package/lib/tools/built-in/string-schemas.d.ts +4 -0
- package/lib/tools/built-in/string-schemas.js +13 -0
- package/lib/tools/built-in/string-schemas.js.map +1 -0
- package/lib/transport/mcp-server.factory.d.ts +13 -0
- package/lib/transport/mcp-server.factory.js +32 -0
- package/lib/transport/mcp-server.factory.js.map +1 -0
- package/lib/transport/mcp-transport.controller.d.ts +77 -0
- package/lib/transport/mcp-transport.controller.js +442 -0
- package/lib/transport/mcp-transport.controller.js.map +1 -0
- package/lib/types.d.ts +432 -0
- package/lib/types.js +3 -0
- package/lib/types.js.map +1 -0
- package/package.json +42 -0
- package/src/dashboard/components/activity-block.tsx +72 -0
- package/src/dashboard/components/actor-cell.tsx +31 -0
- package/src/dashboard/components/connection-dialog.tsx +106 -0
- package/src/dashboard/components/empty-cell.tsx +7 -0
- package/src/dashboard/components/grants-block.tsx +218 -0
- package/src/dashboard/components/stats-block.tsx +275 -0
- package/src/dashboard/components/tools-block.tsx +274 -0
- package/src/dashboard/components/tooltip-button.tsx +28 -0
- package/src/dashboard/components/use-mcp-table-state.ts +47 -0
- package/src/dashboard/i18n/ar.po +311 -0
- package/src/dashboard/i18n/bg.po +311 -0
- package/src/dashboard/i18n/cs.po +311 -0
- package/src/dashboard/i18n/de.po +311 -0
- package/src/dashboard/i18n/en.po +311 -0
- package/src/dashboard/i18n/es.po +311 -0
- package/src/dashboard/i18n/fa.po +311 -0
- package/src/dashboard/i18n/fr.po +311 -0
- package/src/dashboard/i18n/he.po +311 -0
- package/src/dashboard/i18n/hr.po +311 -0
- package/src/dashboard/i18n/hu.po +311 -0
- package/src/dashboard/i18n/it.po +311 -0
- package/src/dashboard/i18n/ja.po +311 -0
- package/src/dashboard/i18n/ko.po +311 -0
- package/src/dashboard/i18n/nb.po +311 -0
- package/src/dashboard/i18n/ne.po +311 -0
- package/src/dashboard/i18n/nl.po +311 -0
- package/src/dashboard/i18n/pl.po +311 -0
- package/src/dashboard/i18n/pt_BR.po +311 -0
- package/src/dashboard/i18n/pt_PT.po +311 -0
- package/src/dashboard/i18n/ro.po +311 -0
- package/src/dashboard/i18n/ru.po +311 -0
- package/src/dashboard/i18n/sv.po +311 -0
- package/src/dashboard/i18n/tr.po +311 -0
- package/src/dashboard/i18n/uk.po +311 -0
- package/src/dashboard/i18n/uz.po +311 -0
- package/src/dashboard/i18n/zh_Hans.po +311 -0
- package/src/dashboard/i18n/zh_Hant.po +311 -0
- package/src/dashboard/index.tsx +30 -0
- package/src/dashboard/mcp-activity-route.tsx +38 -0
- package/src/dashboard/mcp-authorize-route.tsx +369 -0
- package/src/dashboard/mcp-grants-route.tsx +38 -0
- package/src/dashboard/mcp-overview-route.tsx +46 -0
- package/src/dashboard/mcp-server-redirect-route.tsx +15 -0
- package/src/dashboard/mcp-tools-route.tsx +38 -0
- package/src/dashboard/mcp.graphql.ts +127 -0
- package/src/dashboard/published-files.spec.ts +54 -0
- package/src/dashboard/tsconfig.json +9 -0
- package/src/shared/endpoint-paths.ts +8 -0
- package/src/shared/loopback.ts +6 -0
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
msgid ""
|
|
2
|
+
msgstr ""
|
|
3
|
+
"POT-Creation-Date: 2025-02-20 14:18+0100\n"
|
|
4
|
+
"MIME-Version: 1.0\n"
|
|
5
|
+
"Content-Type: text/plain; charset=utf-8\n"
|
|
6
|
+
"Content-Transfer-Encoding: 8bit\n"
|
|
7
|
+
"X-Generator: @lingui/cli\n"
|
|
8
|
+
"Language: zh_Hant\n"
|
|
9
|
+
"Project-Id-Version: \n"
|
|
10
|
+
"Report-Msgid-Bugs-To: \n"
|
|
11
|
+
"PO-Revision-Date: \n"
|
|
12
|
+
"Last-Translator: \n"
|
|
13
|
+
"Language-Team: \n"
|
|
14
|
+
"Plural-Forms: \n"
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
msgid "Actions"
|
|
18
|
+
msgstr "動作"
|
|
19
|
+
|
|
20
|
+
msgid "Actor"
|
|
21
|
+
msgstr "操作者"
|
|
22
|
+
|
|
23
|
+
msgid "Actor type"
|
|
24
|
+
msgstr "操作者類型"
|
|
25
|
+
|
|
26
|
+
msgid "Approve"
|
|
27
|
+
msgstr "核准"
|
|
28
|
+
|
|
29
|
+
msgid "Authorization request could not be loaded"
|
|
30
|
+
msgstr "無法載入授權請求"
|
|
31
|
+
|
|
32
|
+
msgid "Calls per hour"
|
|
33
|
+
msgstr "每小時呼叫次數"
|
|
34
|
+
|
|
35
|
+
msgid "Client"
|
|
36
|
+
msgstr "用戶端"
|
|
37
|
+
|
|
38
|
+
msgid "Connect an MCP client to your Vendure server using the endpoints below."
|
|
39
|
+
msgstr "使用下方的端點將 MCP 用戶端連接到您的 Vendure 伺服器。"
|
|
40
|
+
|
|
41
|
+
msgid "Could not revoke grant"
|
|
42
|
+
msgstr "無法撤銷授權"
|
|
43
|
+
|
|
44
|
+
msgid "Could not update tool"
|
|
45
|
+
msgstr "無法更新工具"
|
|
46
|
+
|
|
47
|
+
msgid "Deny"
|
|
48
|
+
msgstr "拒絕"
|
|
49
|
+
|
|
50
|
+
msgid "Description"
|
|
51
|
+
msgstr "描述"
|
|
52
|
+
|
|
53
|
+
msgid "Destructive"
|
|
54
|
+
msgstr "破壞性"
|
|
55
|
+
|
|
56
|
+
msgid "Duration"
|
|
57
|
+
msgstr "時長"
|
|
58
|
+
|
|
59
|
+
msgid "Enabled"
|
|
60
|
+
msgstr "已啟用"
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
msgid "Expires"
|
|
64
|
+
msgstr "到期時間"
|
|
65
|
+
|
|
66
|
+
msgid "Grant revoked"
|
|
67
|
+
msgstr "授權已撤銷"
|
|
68
|
+
|
|
69
|
+
msgid "Health & usage"
|
|
70
|
+
msgstr "運作狀況與使用情況"
|
|
71
|
+
|
|
72
|
+
msgid "Last activity"
|
|
73
|
+
msgstr "最近活動"
|
|
74
|
+
|
|
75
|
+
msgid "Last hour"
|
|
76
|
+
msgstr "過去1小時"
|
|
77
|
+
|
|
78
|
+
msgid "Last 24 hours"
|
|
79
|
+
msgstr "過去24小時"
|
|
80
|
+
|
|
81
|
+
msgid "Last 7 days"
|
|
82
|
+
msgstr "過去7天"
|
|
83
|
+
|
|
84
|
+
msgid "Last 30 days"
|
|
85
|
+
msgstr "過去30天"
|
|
86
|
+
|
|
87
|
+
msgid "Loading authorization request…"
|
|
88
|
+
msgstr "正在載入授權請求…"
|
|
89
|
+
|
|
90
|
+
msgid "MCP Server"
|
|
91
|
+
msgstr "MCP Server"
|
|
92
|
+
|
|
93
|
+
msgid "Mutating"
|
|
94
|
+
msgstr "修改性"
|
|
95
|
+
|
|
96
|
+
msgid "Name"
|
|
97
|
+
msgstr "名稱"
|
|
98
|
+
|
|
99
|
+
msgid "No calls recorded in this period."
|
|
100
|
+
msgstr "此期間沒有記錄到呼叫。"
|
|
101
|
+
|
|
102
|
+
msgid "Read-only"
|
|
103
|
+
msgstr "唯讀"
|
|
104
|
+
|
|
105
|
+
msgid "Revoke"
|
|
106
|
+
msgstr "撤銷"
|
|
107
|
+
|
|
108
|
+
msgid "Revoke grant"
|
|
109
|
+
msgstr "撤銷授權"
|
|
110
|
+
|
|
111
|
+
msgid "Safety"
|
|
112
|
+
msgstr "安全性"
|
|
113
|
+
|
|
114
|
+
msgid "Status"
|
|
115
|
+
msgstr "狀態"
|
|
116
|
+
|
|
117
|
+
msgid "Success rate"
|
|
118
|
+
msgstr "成功率"
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
msgid "This destination is on the local machine. Any application running on that machine could receive the authorization code."
|
|
122
|
+
msgstr "此目的地位於本機。該機器上執行的任何應用程式都可能收到授權碼。"
|
|
123
|
+
|
|
124
|
+
msgid "This immediately revokes the client's access. The client will need to authorize again to reconnect."
|
|
125
|
+
msgstr "這將立即撤銷該用戶端的存取權限。用戶端需要重新授權才能重新連線。"
|
|
126
|
+
|
|
127
|
+
msgid "Time"
|
|
128
|
+
msgstr "時間"
|
|
129
|
+
|
|
130
|
+
msgid "Tool"
|
|
131
|
+
msgstr "工具"
|
|
132
|
+
|
|
133
|
+
msgid "Tool updated"
|
|
134
|
+
msgstr "工具已更新"
|
|
135
|
+
|
|
136
|
+
msgid "Tools"
|
|
137
|
+
msgstr "工具"
|
|
138
|
+
|
|
139
|
+
msgid "Toolset"
|
|
140
|
+
msgstr "工具集"
|
|
141
|
+
|
|
142
|
+
msgid "Top tools"
|
|
143
|
+
msgstr "熱門工具"
|
|
144
|
+
|
|
145
|
+
msgid "Total calls"
|
|
146
|
+
msgstr "呼叫總數"
|
|
147
|
+
|
|
148
|
+
msgid "Usage over the selected period"
|
|
149
|
+
msgstr "所選期間的使用情況"
|
|
150
|
+
|
|
151
|
+
msgid "p50 latency"
|
|
152
|
+
msgstr "p50 延遲"
|
|
153
|
+
|
|
154
|
+
msgid "p95 latency"
|
|
155
|
+
msgstr "p95 延遲"
|
|
156
|
+
|
|
157
|
+
msgid "Authorize MCP Client"
|
|
158
|
+
msgstr "授權 MCP 用戶端"
|
|
159
|
+
|
|
160
|
+
msgid "The grant could not be revoked; it may have already been removed"
|
|
161
|
+
msgstr "無法撤銷此授權;可能已被移除"
|
|
162
|
+
|
|
163
|
+
msgid "Request failed ({0})"
|
|
164
|
+
msgstr "請求失敗 ({0})"
|
|
165
|
+
|
|
166
|
+
msgid "Authorize MCP access"
|
|
167
|
+
msgstr "授權 MCP 存取"
|
|
168
|
+
|
|
169
|
+
msgid "Plugin"
|
|
170
|
+
msgstr "外掛"
|
|
171
|
+
|
|
172
|
+
msgid "Error loading MCP statistics: {0}"
|
|
173
|
+
msgstr "載入 MCP 統計資訊時發生錯誤:{0}"
|
|
174
|
+
|
|
175
|
+
msgid "Error loading tools: {0}"
|
|
176
|
+
msgstr "載入工具時發生錯誤:{0}"
|
|
177
|
+
|
|
178
|
+
msgid "The request could not be completed"
|
|
179
|
+
msgstr "無法完成請求"
|
|
180
|
+
|
|
181
|
+
msgid "Active"
|
|
182
|
+
msgstr "活動"
|
|
183
|
+
|
|
184
|
+
msgid "Revoked"
|
|
185
|
+
msgstr "已撤銷"
|
|
186
|
+
|
|
187
|
+
msgid "Expired"
|
|
188
|
+
msgstr "已過期"
|
|
189
|
+
|
|
190
|
+
msgid "No tool calls yet"
|
|
191
|
+
msgstr ""
|
|
192
|
+
|
|
193
|
+
msgid "Half of the calls in this period finished faster than this."
|
|
194
|
+
msgstr ""
|
|
195
|
+
|
|
196
|
+
msgid "95 out of 100 calls in this period finished faster than this. It shows how slow the worst calls are."
|
|
197
|
+
msgstr ""
|
|
198
|
+
|
|
199
|
+
msgid "This tool can delete data or make changes that cannot be undone."
|
|
200
|
+
msgstr ""
|
|
201
|
+
|
|
202
|
+
msgid "This tool only reads data. It never changes anything."
|
|
203
|
+
msgstr ""
|
|
204
|
+
|
|
205
|
+
msgid "This tool creates or updates data, but does not delete anything."
|
|
206
|
+
msgstr ""
|
|
207
|
+
|
|
208
|
+
msgid "No actions available for a revoked grant"
|
|
209
|
+
msgstr ""
|
|
210
|
+
|
|
211
|
+
msgid "Unnamed application"
|
|
212
|
+
msgstr ""
|
|
213
|
+
|
|
214
|
+
msgid "Hostname verified"
|
|
215
|
+
msgstr ""
|
|
216
|
+
|
|
217
|
+
msgid "Unverified"
|
|
218
|
+
msgstr ""
|
|
219
|
+
|
|
220
|
+
msgid "The client's details were fetched from this address, so the hostname is verified. The name above is still chosen by the client itself."
|
|
221
|
+
msgstr ""
|
|
222
|
+
|
|
223
|
+
msgid "This name and address are reported by the application itself and are not verified."
|
|
224
|
+
msgstr ""
|
|
225
|
+
|
|
226
|
+
msgid "wants to access the Admin API of your Vendure server"
|
|
227
|
+
msgstr ""
|
|
228
|
+
|
|
229
|
+
msgid "Full access to the Admin API as your administrator account."
|
|
230
|
+
msgstr ""
|
|
231
|
+
|
|
232
|
+
msgid "wants to access the Shop API of your Vendure server"
|
|
233
|
+
msgstr ""
|
|
234
|
+
|
|
235
|
+
msgid "Access to the Shop API as a customer."
|
|
236
|
+
msgstr ""
|
|
237
|
+
|
|
238
|
+
msgid "After approval, the authorization code is sent here. Only approve if you recognise this destination."
|
|
239
|
+
msgstr ""
|
|
240
|
+
|
|
241
|
+
msgid "Setup guide for connecting MCP clients"
|
|
242
|
+
msgstr ""
|
|
243
|
+
|
|
244
|
+
msgid "Anonymous"
|
|
245
|
+
msgstr ""
|
|
246
|
+
|
|
247
|
+
msgid "Failed calls"
|
|
248
|
+
msgstr ""
|
|
249
|
+
|
|
250
|
+
msgid "Average number of tool calls per hour over the selected period."
|
|
251
|
+
msgstr ""
|
|
252
|
+
|
|
253
|
+
msgid "What this number means"
|
|
254
|
+
msgstr ""
|
|
255
|
+
|
|
256
|
+
msgid "See all activity"
|
|
257
|
+
msgstr ""
|
|
258
|
+
|
|
259
|
+
msgid "Granted to"
|
|
260
|
+
msgstr ""
|
|
261
|
+
|
|
262
|
+
msgid "The link may have expired or already been used. Start the connection again from your MCP client."
|
|
263
|
+
msgstr ""
|
|
264
|
+
|
|
265
|
+
msgid "Full access to the Admin API as {name} ({emailAddress})."
|
|
266
|
+
msgstr ""
|
|
267
|
+
|
|
268
|
+
msgid "Connect a client"
|
|
269
|
+
msgstr ""
|
|
270
|
+
|
|
271
|
+
msgid "Admin API"
|
|
272
|
+
msgstr ""
|
|
273
|
+
|
|
274
|
+
msgid "Shop API"
|
|
275
|
+
msgstr ""
|
|
276
|
+
|
|
277
|
+
msgid "Test with MCP Inspector"
|
|
278
|
+
msgstr ""
|
|
279
|
+
|
|
280
|
+
msgid "Close"
|
|
281
|
+
msgstr ""
|
|
282
|
+
|
|
283
|
+
msgid "Overview"
|
|
284
|
+
msgstr ""
|
|
285
|
+
|
|
286
|
+
msgid "Activity"
|
|
287
|
+
msgstr ""
|
|
288
|
+
|
|
289
|
+
msgid "Grants"
|
|
290
|
+
msgstr ""
|
|
291
|
+
|
|
292
|
+
msgid "The client will act on this channel:"
|
|
293
|
+
msgstr ""
|
|
294
|
+
|
|
295
|
+
msgid "This destination is not on the application's own host ({clientHost}). Only approve if you expect the code to be sent there."
|
|
296
|
+
msgstr ""
|
|
297
|
+
|
|
298
|
+
msgid "Revoking needs the UpdateMcpServer permission"
|
|
299
|
+
msgstr ""
|
|
300
|
+
|
|
301
|
+
msgid "Tool exposure is set to discovery. Clients see only search_tools and execute_tool. The toggles below still decide which tools execute_tool may run."
|
|
302
|
+
msgstr ""
|
|
303
|
+
|
|
304
|
+
msgid "OAuth is not configured, so no client can be granted access. Add an oauth block to McpPlugin.init to use grants."
|
|
305
|
+
msgstr ""
|
|
306
|
+
|
|
307
|
+
msgid "The admin endpoint needs OAuth. Add an oauth block to McpPlugin.init to enable it."
|
|
308
|
+
msgstr ""
|
|
309
|
+
|
|
310
|
+
msgid "The shop endpoint is disabled (shopAccess: 'disabled')."
|
|
311
|
+
msgstr ""
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { defineDashboardExtension } from '@vendure/dashboard';
|
|
2
|
+
import { PlugIcon } from 'lucide-react';
|
|
3
|
+
|
|
4
|
+
import { mcpActivityRoute } from './mcp-activity-route';
|
|
5
|
+
import { mcpAuthorizeRoute } from './mcp-authorize-route';
|
|
6
|
+
import { mcpGrantsRoute } from './mcp-grants-route';
|
|
7
|
+
import { mcpOverviewRoute } from './mcp-overview-route';
|
|
8
|
+
import { mcpServerRedirectRoute } from './mcp-server-redirect-route';
|
|
9
|
+
import { mcpToolsRoute } from './mcp-tools-route';
|
|
10
|
+
|
|
11
|
+
defineDashboardExtension({
|
|
12
|
+
navSections: [
|
|
13
|
+
{
|
|
14
|
+
id: 'mcp-server',
|
|
15
|
+
title: 'MCP Server',
|
|
16
|
+
icon: PlugIcon,
|
|
17
|
+
// order 250 lands below the core "System" section, which is at 200.
|
|
18
|
+
placement: 'bottom',
|
|
19
|
+
order: 250,
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
routes: [
|
|
23
|
+
mcpOverviewRoute,
|
|
24
|
+
mcpServerRedirectRoute,
|
|
25
|
+
mcpToolsRoute,
|
|
26
|
+
mcpActivityRoute,
|
|
27
|
+
mcpGrantsRoute,
|
|
28
|
+
mcpAuthorizeRoute,
|
|
29
|
+
],
|
|
30
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Trans } from '@lingui/react/macro';
|
|
2
|
+
import {
|
|
3
|
+
DashboardRouteDefinition,
|
|
4
|
+
Page,
|
|
5
|
+
PageBlock,
|
|
6
|
+
PageLayout,
|
|
7
|
+
PageTitle,
|
|
8
|
+
PermissionGuard,
|
|
9
|
+
} from '@vendure/dashboard';
|
|
10
|
+
|
|
11
|
+
import { ActivityBlock } from './components/activity-block';
|
|
12
|
+
|
|
13
|
+
export const mcpActivityRoute: DashboardRouteDefinition = {
|
|
14
|
+
navMenuItem: {
|
|
15
|
+
sectionId: 'mcp-server',
|
|
16
|
+
id: 'mcp-server-activity',
|
|
17
|
+
url: '/mcp-server/activity',
|
|
18
|
+
title: 'Activity',
|
|
19
|
+
order: 300,
|
|
20
|
+
requiresPermission: 'ReadMcpServer',
|
|
21
|
+
},
|
|
22
|
+
path: '/mcp-server/activity',
|
|
23
|
+
loader: () => ({ breadcrumb: () => <Trans>Activity</Trans> }),
|
|
24
|
+
component: () => (
|
|
25
|
+
<Page pageId="mcp-server-activity">
|
|
26
|
+
<PageTitle>
|
|
27
|
+
<Trans>Activity</Trans>
|
|
28
|
+
</PageTitle>
|
|
29
|
+
<PermissionGuard requires={['ReadMcpServer']}>
|
|
30
|
+
<PageLayout>
|
|
31
|
+
<PageBlock column="full" blockId="mcp-activity">
|
|
32
|
+
<ActivityBlock />
|
|
33
|
+
</PageBlock>
|
|
34
|
+
</PageLayout>
|
|
35
|
+
</PermissionGuard>
|
|
36
|
+
</Page>
|
|
37
|
+
),
|
|
38
|
+
};
|