@carrierllc/mcp 0.13.10 → 0.13.11

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/cli.js CHANGED
@@ -39,7 +39,7 @@ import {
39
39
  verifyStorefront,
40
40
  walletScreen,
41
41
  which
42
- } from "./chunk-AUOGFI2I.js";
42
+ } from "./chunk-ZLPXWOYO.js";
43
43
  import {
44
44
  copyTree,
45
45
  exists,
package/dist/index.js CHANGED
@@ -19,6 +19,7 @@ import {
19
19
  extractDailyUsage,
20
20
  extractEsimStatusCounts,
21
21
  extractResellerBalance,
22
+ extractSimProviderStatus,
22
23
  extractSubscriberStatus,
23
24
  filterActiveSubscribers,
24
25
  fleetScreen,
@@ -70,7 +71,7 @@ import {
70
71
  usageOverPeriodParams,
71
72
  verifyStorefront,
72
73
  withOcsListSummary
73
- } from "./chunk-AUOGFI2I.js";
74
+ } from "./chunk-ZLPXWOYO.js";
74
75
  import "./chunk-SHKKVIIA.js";
75
76
 
76
77
  // src/index.ts
@@ -3763,7 +3764,7 @@ function registerIntelligenceTools(server2, ctx) {
3763
3764
  const simId = subscriberSimId(sub.data);
3764
3765
  const sim = simId !== void 0 ? await safeCall(ctx.env, token2, "getSimProviderStatus", simId) : { data: null, error: null };
3765
3766
  if (sim.data) {
3766
- const simStatus = String(sim.data.simStatus ?? sim.data.status ?? "").toUpperCase();
3767
+ const simStatus = (extractSimProviderStatus(sim.data) ?? "").toUpperCase();
3767
3768
  if (simStatus && !["ENABLED", "ACTIVE", "ACTIVATED"].includes(simStatus)) {
3768
3769
  findings.push(`SIM provider status is ${simStatus} \u2014 SIM may be disabled at network level`);
3769
3770
  actions.push(`Enable SIM via change_sim_status`);