@carrierllc/mcp 0.10.7 → 0.11.4
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-KYS5GHJV.js → chunk-625SBKRG.js} +679 -10
- package/dist/chunk-625SBKRG.js.map +1 -0
- package/dist/cli.js +23 -11
- package/dist/cli.js.map +1 -1
- package/dist/index.js +115 -514
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/plugin/carrier/.claude-plugin/plugin.json +1 -1
- package/templates/storefront/package-lock.json +47 -47
- package/templates/storefront/package.json +1 -1
- package/templates/storefront/src/app/activate/[orderId]/ActivateClient.tsx +226 -14
- package/templates/storefront/src/app/api/checkout/guest/route.ts +44 -13
- package/templates/storefront/src/app/api/orders/[orderId]/route.ts +69 -0
- package/templates/storefront/src/app/checkout/[templateId]/CheckoutClient.tsx +29 -8
- package/templates/storefront/src/app/dashboard/page.tsx +89 -10
- package/templates/storefront/src/lib/checkout-order-claim.ts +13 -0
- package/templates/storefront/src/vendor/carrier/catalog-guard.ts +110 -0
- package/templates/storefront/src/vendor/carrier/client.ts +110 -13
- package/templates/storefront/src/vendor/carrier/types.ts +37 -0
- package/dist/chunk-KYS5GHJV.js.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
verifyStorefront,
|
|
40
40
|
walletScreen,
|
|
41
41
|
which
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-625SBKRG.js";
|
|
43
43
|
import {
|
|
44
44
|
copyTree,
|
|
45
45
|
exists,
|
|
@@ -3086,19 +3086,19 @@ var CLI_DOMAINS = [
|
|
|
3086
3086
|
{
|
|
3087
3087
|
name: "ask",
|
|
3088
3088
|
tool: "ui_agent_ask",
|
|
3089
|
-
summary: "Send a plain-language task to a
|
|
3089
|
+
summary: "Send a plain-language task to a hosted browsing agent, which drives a real browser on the open web \u2014 navigating pages, searching, extracting content, filling forms outside the OCS portal.",
|
|
3090
3090
|
write: true,
|
|
3091
3091
|
options: [
|
|
3092
3092
|
{
|
|
3093
3093
|
flags: "--prompt <prompt>",
|
|
3094
|
-
description: "Natural-language task description for the
|
|
3094
|
+
description: "Natural-language task description for the browsing agent.",
|
|
3095
3095
|
arg: "prompt",
|
|
3096
3096
|
type: "string",
|
|
3097
3097
|
required: true
|
|
3098
3098
|
},
|
|
3099
3099
|
{
|
|
3100
3100
|
flags: "--max-steps <n>",
|
|
3101
|
-
description: "
|
|
3101
|
+
description: "Advisory step budget (1\u201330, default 15).",
|
|
3102
3102
|
arg: "max_steps",
|
|
3103
3103
|
type: "number"
|
|
3104
3104
|
}
|
|
@@ -3107,11 +3107,11 @@ var CLI_DOMAINS = [
|
|
|
3107
3107
|
{
|
|
3108
3108
|
name: "status",
|
|
3109
3109
|
tool: "ui_agent_status",
|
|
3110
|
-
summary: "Poll the status of a
|
|
3110
|
+
summary: "Poll the status of a browser agent task dispatched by ui_agent_ask or any ui_* tool.",
|
|
3111
3111
|
options: [
|
|
3112
3112
|
{
|
|
3113
3113
|
flags: "--task-id <id>",
|
|
3114
|
-
description: "
|
|
3114
|
+
description: "Task ID returned by ui_agent_ask or any ui_* tool dispatch.",
|
|
3115
3115
|
arg: "task_id",
|
|
3116
3116
|
type: "string",
|
|
3117
3117
|
required: true
|
|
@@ -3121,17 +3121,17 @@ var CLI_DOMAINS = [
|
|
|
3121
3121
|
{
|
|
3122
3122
|
name: "pending",
|
|
3123
3123
|
tool: "ui_agent_list_pending",
|
|
3124
|
-
summary: "Returns all
|
|
3124
|
+
summary: "Returns all browser automation tasks that are currently paused waiting for human input.",
|
|
3125
3125
|
options: []
|
|
3126
3126
|
},
|
|
3127
3127
|
{
|
|
3128
3128
|
name: "reply",
|
|
3129
3129
|
tool: "ui_agent_reply",
|
|
3130
|
-
summary: "Resumes a
|
|
3130
|
+
summary: "Resumes a browser automation task that paused waiting for input.",
|
|
3131
3131
|
options: [
|
|
3132
3132
|
{
|
|
3133
3133
|
flags: "--task-id <id>",
|
|
3134
|
-
description: "
|
|
3134
|
+
description: "Task ID to resume (from ui_agent_list_pending).",
|
|
3135
3135
|
arg: "task_id",
|
|
3136
3136
|
type: "string",
|
|
3137
3137
|
required: true
|
|
@@ -3556,7 +3556,7 @@ var CLI_DOMAINS = [
|
|
|
3556
3556
|
{
|
|
3557
3557
|
name: "countries",
|
|
3558
3558
|
tool: "subscriber_country_history",
|
|
3559
|
-
summary: "Return cross-border movement history for a subscriber from
|
|
3559
|
+
summary: "Return cross-border movement history for a subscriber, reconstructed from OCS Gy charging events.",
|
|
3560
3560
|
options: [
|
|
3561
3561
|
{
|
|
3562
3562
|
flags: "--subscriber-id <id>",
|
|
@@ -3565,9 +3565,21 @@ var CLI_DOMAINS = [
|
|
|
3565
3565
|
type: "string",
|
|
3566
3566
|
required: true
|
|
3567
3567
|
},
|
|
3568
|
+
{
|
|
3569
|
+
flags: "--start-date <date>",
|
|
3570
|
+
description: "Start of the period, YYYY-MM-DD inclusive (default: 7 days ago).",
|
|
3571
|
+
arg: "startDate",
|
|
3572
|
+
type: "string"
|
|
3573
|
+
},
|
|
3574
|
+
{
|
|
3575
|
+
flags: "--end-date <date>",
|
|
3576
|
+
description: "End of the period, YYYY-MM-DD inclusive, max 7 days from start (default: today).",
|
|
3577
|
+
arg: "endDate",
|
|
3578
|
+
type: "string"
|
|
3579
|
+
},
|
|
3568
3580
|
{
|
|
3569
3581
|
flags: "--limit <n>",
|
|
3570
|
-
description: "Maximum number of
|
|
3582
|
+
description: "Maximum number of country_events to return, newest first (default 20, max 50). Default 20.",
|
|
3571
3583
|
arg: "limit",
|
|
3572
3584
|
type: "number"
|
|
3573
3585
|
}
|