@carrierllc/mcp 0.12.0 → 0.13.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/dist/{chunk-J52VP7E7.js → chunk-ZUUC3J4J.js} +14 -3
- package/dist/chunk-ZUUC3J4J.js.map +1 -0
- package/dist/cli.js +385 -12
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/templates/storefront/src/app/activate/[orderId]/ActivateClient.tsx +79 -22
- package/templates/storefront/src/app/api/orders/[orderId]/email/route.ts +73 -0
- package/templates/storefront/src/lib/checkout-order-claim.ts +45 -4
- package/templates/storefront/src/lib/esim-install.ts +74 -0
- package/templates/storefront/src/lib/qr-delivery-email.ts +106 -0
- package/templates/storefront/src/vendor/email/qr-delivery.ts +254 -0
- package/templates/storefront/src/vendor/email/resend.ts +140 -0
- package/dist/chunk-J52VP7E7.js.map +0 -1
|
@@ -523,6 +523,13 @@ function renderEnv(brand) {
|
|
|
523
523
|
`# hosted page and back. Both take money \u2014 the embedded one loses fewer`,
|
|
524
524
|
`# people on the way.`,
|
|
525
525
|
`NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=`,
|
|
526
|
+
`# Optional. Sends the eSIM QR code by email once an order is ready.`,
|
|
527
|
+
`# \`carrier site email\` authenticates you at Resend in the browser and`,
|
|
528
|
+
`# fills this in. Without it the storefront still sells and activates; the`,
|
|
529
|
+
`# activation page just says email delivery is not set up.`,
|
|
530
|
+
`# The from-address is composed from brand.config.ts (emailFromMailbox +`,
|
|
531
|
+
`# domain), so verify that domain at resend.com/domains first.`,
|
|
532
|
+
`RESEND_API_KEY=`,
|
|
526
533
|
`# Clerk \u2014 \`carrier site clerk\` fills these in, or paste them from dashboard.clerk.com`,
|
|
527
534
|
`NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=`,
|
|
528
535
|
`CLERK_SECRET_KEY=`,
|
|
@@ -543,7 +550,11 @@ var TEMPLATE_ENV_KEYS = {
|
|
|
543
550
|
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY: "public",
|
|
544
551
|
CARRIER_API_KEY: "secret",
|
|
545
552
|
CLERK_SECRET_KEY: "secret",
|
|
546
|
-
STRIPE_SECRET_KEY: "secret"
|
|
553
|
+
STRIPE_SECRET_KEY: "secret",
|
|
554
|
+
// Optional. Present: the storefront emails the QR code to whoever paid.
|
|
555
|
+
// Absent: the activation page says email delivery is not set up, and every
|
|
556
|
+
// install route it shows on screen still works.
|
|
557
|
+
RESEND_API_KEY: "secret"
|
|
547
558
|
};
|
|
548
559
|
function keysOfKind(kind) {
|
|
549
560
|
return Object.keys(TEMPLATE_ENV_KEYS).filter(
|
|
@@ -1804,7 +1815,7 @@ function storefrontScreen(input) {
|
|
|
1804
1815
|
// package.json
|
|
1805
1816
|
var package_default = {
|
|
1806
1817
|
name: "@carrierllc/mcp",
|
|
1807
|
-
version: "0.
|
|
1818
|
+
version: "0.13.0",
|
|
1808
1819
|
description: "Carrier MCP \u2014 natural-language control of MVNO/eSIM fleets via eSIMVault OCS. Stdio mode for direct integration with Claude Desktop, Cursor, Windsurf, and MCP-compatible clients. Ships the `carrier` CLI (plugin install + white-label eSIM storefront scaffold).",
|
|
1809
1820
|
license: "MIT",
|
|
1810
1821
|
author: "Carrier (Lifecycle Innovations Limited)",
|
|
@@ -4348,4 +4359,4 @@ export {
|
|
|
4348
4359
|
storefrontScreen,
|
|
4349
4360
|
CARRIER_VERSION
|
|
4350
4361
|
};
|
|
4351
|
-
//# sourceMappingURL=chunk-
|
|
4362
|
+
//# sourceMappingURL=chunk-ZUUC3J4J.js.map
|