@carrierllc/mcp 0.13.12 → 0.13.13

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-IQDAU7WA.js";
42
+ } from "./chunk-OJITGTFO.js";
43
43
  import {
44
44
  copyTree,
45
45
  exists,
@@ -2536,7 +2536,7 @@ var CLI_DOMAINS = [
2536
2536
  {
2537
2537
  name: "list",
2538
2538
  tool: "list_subscribers",
2539
- summary: "List subscribers. OCS needs at least one of account/iccid/msisdn/imsi.",
2539
+ summary: "List subscribers. With no filter, uses your default account (lowest-id account under your reseller).",
2540
2540
  options: [
2541
2541
  ACCOUNT_ID("Filter by account ID"),
2542
2542
  { flags: "--iccid <iccid>", description: "Filter by ICCID", arg: "iccid", type: "string" },
@@ -2551,10 +2551,9 @@ var CLI_DOMAINS = [
2551
2551
  { flags: "--status <status>", description: "Filter by status, e.g. ACTIVE", arg: "status", type: "string" },
2552
2552
  { flags: "--limit <n>", description: "Max rows to return", arg: "limit", type: "number" },
2553
2553
  { flags: "--offset <n>", description: "Pagination offset", arg: "offset", type: "number" }
2554
- ],
2555
- // OCS rejects an unfiltered list. Catch it here so the user gets the
2556
- // flags to pass instead of a raw schema-validation dump from the tool.
2557
- requireOneOf: ["accountId", "iccid", "msisdn", "imsi", "activationCode"]
2554
+ ]
2555
+ // No requireOneOf: an unfiltered list is scoped to the default account by
2556
+ // the tool itself, and fails with a clear message if none can be found.
2558
2557
  },
2559
2558
  {
2560
2559
  name: "get",