@carrierllc/mcp 0.11.17 → 0.12.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-EHGZRVSO.js → chunk-J52VP7E7.js} +14 -2
- package/dist/chunk-J52VP7E7.js.map +1 -0
- package/dist/cli.js +13 -5
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/plugin/carrier/agents/carrier-storefront-builder.md +3 -3
- package/plugin/carrier/skills/storefront/SKILL.md +2 -2
- package/templates/storefront/src/app/activate/[orderId]/ActivateClient.tsx +145 -14
- package/templates/storefront/src/app/activate/[orderId]/page.tsx +1 -1
- package/templates/storefront/src/app/api/checkout/guest/route.ts +72 -9
- package/templates/storefront/src/app/api/orders/[orderId]/cancel/route.ts +33 -0
- package/templates/storefront/src/app/api/orders/[orderId]/top-up-options/route.ts +28 -0
- package/templates/storefront/src/app/api/orders/[orderId]/usage/route.ts +25 -0
- package/templates/storefront/src/app/api/profile/phone/route.ts +1 -1
- package/templates/storefront/src/app/checkout/[templateId]/CheckoutClient.tsx +142 -39
- package/templates/storefront/src/app/checkout/success/CheckoutSuccessClient.tsx +1 -1
- package/templates/storefront/src/app/checkout/success/page.tsx +1 -1
- package/templates/storefront/src/app/dashboard/EsimControls.tsx +293 -0
- package/templates/storefront/src/app/dashboard/page.tsx +12 -1
- package/templates/storefront/src/app/shop/ShopClient.tsx +126 -5
- package/templates/storefront/src/app/sign-up/[[...sign-up]]/StorefrontSignUpClient.tsx +1 -1
- package/templates/storefront/src/app/sign-up/[[...sign-up]]/page.tsx +1 -1
- package/templates/storefront/src/brand.config.ts +19 -0
- package/templates/storefront/src/components/checkout/EmbeddedStripeCheckout.tsx +191 -0
- package/templates/storefront/src/components/landing/PlanCard.tsx +12 -4
- package/templates/storefront/src/lib/checkout-order-claim.ts +68 -4
- package/templates/storefront/src/lib/order-route-guard.ts +85 -0
- package/templates/storefront/src/middleware.ts +1 -1
- package/templates/storefront/src/vendor/carrier/client.ts +86 -1
- package/templates/storefront/src/vendor/carrier/types.ts +34 -0
- package/templates/storefront/src/vendor/geo/index.ts +45 -0
- package/templates/storefront/src/vendor/ui/brand.ts +8 -1
- package/dist/chunk-EHGZRVSO.js.map +0 -1
|
@@ -423,10 +423,14 @@ var CARRIER_BRAND = {
|
|
|
423
423
|
name: "Carrier",
|
|
424
424
|
legalName: "Lifecycle Innovations Limited",
|
|
425
425
|
tagline: "Programmable connectivity, on demand.",
|
|
426
|
+
description: "Data that works in 200+ countries. Instant QR activation. Human support.",
|
|
426
427
|
domain: "carrier.llc",
|
|
427
428
|
supportEmail: "support@carrier.llc",
|
|
428
429
|
supportUrl: "https://carrier.llc/help",
|
|
429
430
|
supportWhatsapp: "+17864604829",
|
|
431
|
+
emailFromName: "Carrier",
|
|
432
|
+
emailFromMailbox: "hello",
|
|
433
|
+
appUrl: "https://carrier.llc",
|
|
430
434
|
colors: {
|
|
431
435
|
bg: "#080C16",
|
|
432
436
|
accent: "#FF6B35",
|
|
@@ -514,6 +518,11 @@ function renderEnv(brand) {
|
|
|
514
518
|
`# Guest checkout calls Stripe server-side. Without this, checkout fails at`,
|
|
515
519
|
`# request time while every other page keeps working.`,
|
|
516
520
|
`STRIPE_SECRET_KEY=`,
|
|
521
|
+
`# Optional. With a publishable key the payment form is embedded in this`,
|
|
522
|
+
`# site's own checkout page; without one the customer is sent to Stripe's`,
|
|
523
|
+
`# hosted page and back. Both take money \u2014 the embedded one loses fewer`,
|
|
524
|
+
`# people on the way.`,
|
|
525
|
+
`NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=`,
|
|
517
526
|
`# Clerk \u2014 \`carrier site clerk\` fills these in, or paste them from dashboard.clerk.com`,
|
|
518
527
|
`NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=`,
|
|
519
528
|
`CLERK_SECRET_KEY=`,
|
|
@@ -529,6 +538,9 @@ var TEMPLATE_ENV_KEYS = {
|
|
|
529
538
|
NEXT_PUBLIC_CARRIER_API_URL: "public",
|
|
530
539
|
NEXT_PUBLIC_APP_URL: "public",
|
|
531
540
|
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: "public",
|
|
541
|
+
// Optional. Present: checkout is embedded in the storefront's own page.
|
|
542
|
+
// Absent: checkout redirects to Stripe's hosted page, which still works.
|
|
543
|
+
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY: "public",
|
|
532
544
|
CARRIER_API_KEY: "secret",
|
|
533
545
|
CLERK_SECRET_KEY: "secret",
|
|
534
546
|
STRIPE_SECRET_KEY: "secret"
|
|
@@ -1792,7 +1804,7 @@ function storefrontScreen(input) {
|
|
|
1792
1804
|
// package.json
|
|
1793
1805
|
var package_default = {
|
|
1794
1806
|
name: "@carrierllc/mcp",
|
|
1795
|
-
version: "0.
|
|
1807
|
+
version: "0.12.0",
|
|
1796
1808
|
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).",
|
|
1797
1809
|
license: "MIT",
|
|
1798
1810
|
author: "Carrier (Lifecycle Innovations Limited)",
|
|
@@ -4336,4 +4348,4 @@ export {
|
|
|
4336
4348
|
storefrontScreen,
|
|
4337
4349
|
CARRIER_VERSION
|
|
4338
4350
|
};
|
|
4339
|
-
//# sourceMappingURL=chunk-
|
|
4351
|
+
//# sourceMappingURL=chunk-J52VP7E7.js.map
|