@carrierllc/mcp 0.13.67 → 0.13.69

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carrierllc/mcp",
3
- "version": "0.13.67",
3
+ "version": "0.13.69",
4
4
  "description": "Carrier MCP — natural-language control of MVNO/eSIM fleets via the network 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).",
5
5
  "license": "MIT",
6
6
  "author": "Carrier (Lifecycle Innovations Limited)",
@@ -494,7 +494,7 @@ export function ActivateClient({ orderId }: Props) {
494
494
  </div>
495
495
 
496
496
  {submitted ? (
497
- <p className="text-sm text-emerald-300 text-center py-2">
497
+ <p className="text-sm text-emerald-800 dark:text-emerald-300 text-center py-2">
498
498
  ✓ Phone number saved. We&apos;ll send updates to {phone}.
499
499
  </p>
500
500
  ) : (
@@ -516,7 +516,7 @@ export function ActivateClient({ orderId }: Props) {
516
516
  {saving ? "Saving…" : "Save"}
517
517
  </button>
518
518
  </div>
519
- {saveError && <p className="text-xs text-red-300">{saveError}</p>}
519
+ {saveError && <p className="text-xs text-red-700 dark:text-red-300">{saveError}</p>}
520
520
  <button
521
521
  type="button"
522
522
  onClick={() => setSubmitted(true)}
@@ -1,12 +1,19 @@
1
1
  const STORAGE_KEY = "carrier-theme";
2
2
 
3
- const themeScript = `
3
+ /**
4
+ * Runs before first paint. A saved "system" preference is resolved here, from
5
+ * the browser, so the page never paints light first and flips to dark when
6
+ * the provider mounts. The provider resolves it the same way.
7
+ */
8
+ export const themeScript = `
4
9
  (function () {
5
10
  try {
6
11
  var pref = localStorage.getItem("${STORAGE_KEY}");
7
12
  var theme = (pref === "light" || pref === "dark")
8
13
  ? pref
9
- : "light";
14
+ : pref === "system"
15
+ ? (window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light")
16
+ : "light";
10
17
  var root = document.documentElement;
11
18
  root.setAttribute("data-theme", theme);
12
19
  root.style.colorScheme = theme;