@carrierllc/mcp 0.13.65 → 0.13.66
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-NMTO5PCG.js → chunk-WNEXPJJY.js} +6 -7
- package/dist/chunk-WNEXPJJY.js.map +1 -0
- package/dist/cli.js +8 -8
- package/dist/cli.js.map +1 -1
- package/dist/index.js +19 -15
- package/dist/index.js.map +1 -1
- package/package.json +3 -4
- package/dist/chunk-NMTO5PCG.js.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
verifyStorefront,
|
|
46
46
|
walletScreen,
|
|
47
47
|
which
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-WNEXPJJY.js";
|
|
49
49
|
import {
|
|
50
50
|
copyTree,
|
|
51
51
|
exists,
|
|
@@ -1523,7 +1523,7 @@ function facts(value) {
|
|
|
1523
1523
|
|
|
1524
1524
|
// src/cli/lib/ask.ts
|
|
1525
1525
|
var OCS_TOKEN_AUTH_HINTS = [
|
|
1526
|
-
"Confirm ESIMVAULT_API_TOKEN / CARRIER_OCS_API_TOKEN is a valid
|
|
1526
|
+
"Confirm ESIMVAULT_API_TOKEN / CARRIER_OCS_API_TOKEN is a valid network reseller token",
|
|
1527
1527
|
"An OCS token is read-only on Carrier MCP. For writes: export CARRIER_API_KEY=ak_\u2026 (it outranks the OCS token), or unset ESIMVAULT_API_TOKEN and CARRIER_OCS_API_TOKEN, then carrier login"
|
|
1528
1528
|
];
|
|
1529
1529
|
var DEFAULT_ERROR_HINTS = [
|
|
@@ -1860,7 +1860,7 @@ async function callRestEndpoint(method, path, args, opts = {}) {
|
|
|
1860
1860
|
return {
|
|
1861
1861
|
ok: false,
|
|
1862
1862
|
text: withNextStep(
|
|
1863
|
-
ocsTokenOnly() ? "Not signed in.
|
|
1863
|
+
ocsTokenOnly() ? "Not signed in. A network/OCS token is set, but the Carrier API only accepts Carrier credentials." : "Not signed in.",
|
|
1864
1864
|
[
|
|
1865
1865
|
"Sign in from this terminal: carrier login",
|
|
1866
1866
|
"No account yet? carrier open signup",
|
|
@@ -4868,11 +4868,11 @@ var CLI_DOMAINS = [
|
|
|
4868
4868
|
transport: "rest",
|
|
4869
4869
|
restMethod: "POST",
|
|
4870
4870
|
restPath: "/v1/onboarding/ocs-connect",
|
|
4871
|
-
summary: "Connect your own
|
|
4871
|
+
summary: "Connect your own network token (step 2, BYO). Verified against OCS, then stored encrypted; the token is never echoed back.",
|
|
4872
4872
|
options: [
|
|
4873
4873
|
{
|
|
4874
4874
|
flags: "--token <token>",
|
|
4875
|
-
description: "
|
|
4875
|
+
description: "Network API token. A flag lands in shell history \u2014 prefer a leading space, or run this once from a fresh shell.",
|
|
4876
4876
|
arg: "token",
|
|
4877
4877
|
type: "string",
|
|
4878
4878
|
required: true
|
|
@@ -6284,17 +6284,17 @@ var CLI_DOMAINS = [
|
|
|
6284
6284
|
{
|
|
6285
6285
|
name: "credentials",
|
|
6286
6286
|
tool: "credential_status",
|
|
6287
|
-
summary: "Report on the stored
|
|
6287
|
+
summary: "Report on the stored network credential without changing it: whether a token is present, whether it is encrypted, how old it is, and whether rotation is recommended (over 90 days).",
|
|
6288
6288
|
options: []
|
|
6289
6289
|
},
|
|
6290
6290
|
{
|
|
6291
6291
|
name: "rotate",
|
|
6292
6292
|
tool: "rotate_credentials",
|
|
6293
|
-
summary: "Replace the stored
|
|
6293
|
+
summary: "Replace the stored network API token with one you supply.",
|
|
6294
6294
|
options: [
|
|
6295
6295
|
{
|
|
6296
6296
|
flags: "--new-token <token>",
|
|
6297
|
-
description: "New
|
|
6297
|
+
description: "New network API token to encrypt and store.",
|
|
6298
6298
|
arg: "new_token",
|
|
6299
6299
|
type: "string",
|
|
6300
6300
|
required: true
|