@carrierllc/sdk 0.2.30 → 0.2.32
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/README.md +1 -1
- package/dist/data/cli.json +5 -5
- package/dist/data/operations.json +3 -8
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.js +1 -1
- package/dist/version.d.ts +2 -2
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ const issued = await carrier.call("create_connectivity_intent", {
|
|
|
24
24
|
idempotencyKey: "order_123",
|
|
25
25
|
})
|
|
26
26
|
|
|
27
|
-
const session = new Mcp(process.env.
|
|
27
|
+
const session = new Mcp(process.env.CARRIER_OCS_API_TOKEN ?? "")
|
|
28
28
|
const tools = await session.listTools()
|
|
29
29
|
await session.callTool("list_subscribers", { limit: 5 })
|
|
30
30
|
|
package/dist/data/cli.json
CHANGED
|
@@ -1668,7 +1668,7 @@
|
|
|
1668
1668
|
{
|
|
1669
1669
|
"invocation": "carrier onboard connect",
|
|
1670
1670
|
"domain": "onboard",
|
|
1671
|
-
"summary": "Connect your own
|
|
1671
|
+
"summary": "Connect your own network token (step 2, BYO). Verified against OCS, then stored encrypted; the token is never echoed back.",
|
|
1672
1672
|
"write": true,
|
|
1673
1673
|
"transport": "rest",
|
|
1674
1674
|
"tool": null,
|
|
@@ -1677,7 +1677,7 @@
|
|
|
1677
1677
|
"options": [
|
|
1678
1678
|
{
|
|
1679
1679
|
"flags": "--token <token>",
|
|
1680
|
-
"description": "
|
|
1680
|
+
"description": "Network API token. A flag lands in shell history — prefer a leading space, or run this once from a fresh shell.",
|
|
1681
1681
|
"required": true
|
|
1682
1682
|
}
|
|
1683
1683
|
]
|
|
@@ -3109,7 +3109,7 @@
|
|
|
3109
3109
|
{
|
|
3110
3110
|
"invocation": "carrier env credentials",
|
|
3111
3111
|
"domain": "env",
|
|
3112
|
-
"summary": "Report on the stored
|
|
3112
|
+
"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).",
|
|
3113
3113
|
"write": false,
|
|
3114
3114
|
"transport": "mcp",
|
|
3115
3115
|
"tool": "credential_status",
|
|
@@ -3120,7 +3120,7 @@
|
|
|
3120
3120
|
{
|
|
3121
3121
|
"invocation": "carrier env rotate",
|
|
3122
3122
|
"domain": "env",
|
|
3123
|
-
"summary": "Replace the stored
|
|
3123
|
+
"summary": "Replace the stored network API token with one you supply.",
|
|
3124
3124
|
"write": true,
|
|
3125
3125
|
"transport": "mcp",
|
|
3126
3126
|
"tool": "rotate_credentials",
|
|
@@ -3129,7 +3129,7 @@
|
|
|
3129
3129
|
"options": [
|
|
3130
3130
|
{
|
|
3131
3131
|
"flags": "--new-token <token>",
|
|
3132
|
-
"description": "New
|
|
3132
|
+
"description": "New network API token to encrypt and store.",
|
|
3133
3133
|
"required": true
|
|
3134
3134
|
},
|
|
3135
3135
|
{
|
|
@@ -773,7 +773,7 @@
|
|
|
773
773
|
"method": "POST",
|
|
774
774
|
"path": "/v1/subscribers/{iccid}/sms",
|
|
775
775
|
"tag": "Subscribers",
|
|
776
|
-
"summary": "Send an MT SMS to a subscriber
|
|
776
|
+
"summary": "Send an MT SMS to a subscriber",
|
|
777
777
|
"security": "bearer",
|
|
778
778
|
"body": true,
|
|
779
779
|
"bodyRequired": true,
|
|
@@ -784,12 +784,7 @@
|
|
|
784
784
|
}
|
|
785
785
|
],
|
|
786
786
|
"queryParams": [],
|
|
787
|
-
"headerParams": [
|
|
788
|
-
{
|
|
789
|
-
"name": "X-Confirm-Token",
|
|
790
|
-
"required": false
|
|
791
|
-
}
|
|
792
|
-
]
|
|
787
|
+
"headerParams": []
|
|
793
788
|
},
|
|
794
789
|
{
|
|
795
790
|
"id": "fleet_health",
|
|
@@ -1575,7 +1570,7 @@
|
|
|
1575
1570
|
"method": "POST",
|
|
1576
1571
|
"path": "/v1/onboarding/ocs-connect",
|
|
1577
1572
|
"tag": "Onboarding",
|
|
1578
|
-
"summary": "Connect a BYO
|
|
1573
|
+
"summary": "Connect a BYO network token (step 2)",
|
|
1579
1574
|
"security": "bearer",
|
|
1580
1575
|
"body": true,
|
|
1581
1576
|
"bodyRequired": true,
|
package/dist/mcp.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Streamable HTTP client for the hosted Carrier MCP server.
|
|
3
3
|
*
|
|
4
|
-
* `auth: "token"` sends
|
|
4
|
+
* `auth: "token"` sends a network reseller token as `?TOKEN=`.
|
|
5
5
|
* `auth: "bearer"` sends an OAuth access token or a Clerk organization API key.
|
|
6
6
|
*/
|
|
7
7
|
export declare const DEFAULT_MCP_URL = "https://mcp.carrier.llc/mcp";
|
package/dist/mcp.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Streamable HTTP client for the hosted Carrier MCP server.
|
|
3
3
|
*
|
|
4
|
-
* `auth: "token"` sends
|
|
4
|
+
* `auth: "token"` sends a network reseller token as `?TOKEN=`.
|
|
5
5
|
* `auth: "bearer"` sends an OAuth access token or a Clerk organization API key.
|
|
6
6
|
*/
|
|
7
7
|
import { CarrierError } from "./error.js";
|
package/dist/version.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** Published version. Keep this equal to package.json. */
|
|
2
|
-
export declare const SDK_VERSION = "0.2.
|
|
3
|
-
export declare const USER_AGENT = "@carrierllc/sdk/0.2.
|
|
2
|
+
export declare const SDK_VERSION = "0.2.32";
|
|
3
|
+
export declare const USER_AGENT = "@carrierllc/sdk/0.2.32";
|
package/dist/version.js
CHANGED