@cargo-ai/cli 1.0.61 → 1.0.62

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.
@@ -1 +1 @@
1
- {"version":3,"file":"mailbox.d.ts","sourceRoot":"","sources":["../../../src/commands/mailboxManagement/mailbox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAUxC,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,MAAM,GAAG,GAChB,IAAI,CA6RN"}
1
+ {"version":3,"file":"mailbox.d.ts","sourceRoot":"","sources":["../../../src/commands/mailboxManagement/mailbox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAUxC,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,MAAM,GAAG,GAChB,IAAI,CA+SN"}
@@ -119,7 +119,7 @@ Example:
119
119
  mailbox
120
120
  .command("start-warmup <uuid>")
121
121
  .description("Start provider warm-up (dummy mail) and the Cargo send ramp")
122
- .option("--daily-target <n>", "Warm-up messages per day at full ramp (provider default if omitted)")
122
+ .option("--daily-target <n>", "Warm-up messages per day at full ramp (defaults to 40 if omitted)")
123
123
  .addHelpText("after", `
124
124
  Example:
125
125
  $ cargo-ai mailboxManagement mailbox start-warmup 550e8400-... --daily-target 40`)
@@ -157,6 +157,18 @@ Example:
157
157
  const result = await handleApiCall(() => api.mailboxManagement.mailbox.stopWarmup({ uuid }));
158
158
  outputJson(result);
159
159
  });
160
+ mailbox
161
+ .command("get-warmup-stats <uuid>")
162
+ .description("Today's warm-up-network sent, inbox and spam counts")
163
+ .addHelpText("after", `
164
+ Example:
165
+ $ cargo-ai mailboxManagement mailbox get-warmup-stats 550e8400-...
166
+ $ cargo-ai mailboxManagement mailbox get-warmup-stats 550e8400-... | jq .stats`)
167
+ .action(async (uuid) => {
168
+ const api = getApi();
169
+ const result = await handleApiCall(() => api.mailboxManagement.mailbox.getWarmupStats({ uuid }));
170
+ outputJson(result);
171
+ });
160
172
  mailbox
161
173
  .command("get-send-allowance <uuid>")
162
174
  .description("Today's remaining real sends under the ramp (rolling 24h window)")
@@ -1 +1 @@
1
- {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../src/commands/orchestration/action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAaxC,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,MAAM,GAAG,GAChB,IAAI,CA4LN"}
1
+ {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../src/commands/orchestration/action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAaxC,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,MAAM,GAAG,GAChB,IAAI,CAqMN"}
@@ -20,6 +20,8 @@ To debug a node inside an existing workflow instead, use
20
20
  .requiredOption("--data <json>", "Input data for the run (JSON object, required)")
21
21
  .option("--wait-until-finished", "Poll the run until it reaches a terminal status before returning (boolean flag)")
22
22
  .option("--polling-interval <ms>", "Polling interval in milliseconds, used with --wait-until-finished (integer, default: 5000)", "5000")
23
+ .option("--webhook-url <url>", "URL to call when the run completes")
24
+ .option("--webhook-secret <secret>", "Secret used to sign webhook deliveries")
23
25
  .addHelpText("after", `
24
26
  Examples:
25
27
  $ cargo-ai orchestration action execute --action '{"kind":"tool","toolUuid":"550e8400-...","config":{}}' --data '{"email":"user@example.com"}'
@@ -31,6 +33,8 @@ Examples:
31
33
  const result = await handleApiCall(() => api.orchestration.action.execute({
32
34
  action: actionPayload,
33
35
  data,
36
+ webhookUrl: opts.webhookUrl,
37
+ webhookSecret: opts.webhookSecret,
34
38
  }));
35
39
  if (opts.waitUntilFinished === true) {
36
40
  const intervalMs = parseInt(opts.pollingInterval, 10);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cargo-ai/cli",
3
- "version": "1.0.61",
3
+ "version": "1.0.62",
4
4
  "private": false,
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://getcargo.ai",
@@ -59,10 +59,10 @@
59
59
  "format:check": "prettier --check ."
60
60
  },
61
61
  "dependencies": {
62
- "@cargo-ai/api": "^1.0.64",
62
+ "@cargo-ai/api": "^1.0.65",
63
63
  "@cargo-ai/app-sdk": "^1.0.8",
64
64
  "@cargo-ai/cdk": "^1.0.51",
65
- "@cargo-ai/types": "^1.0.63",
65
+ "@cargo-ai/types": "^1.0.64",
66
66
  "@cargo-ai/worker-sdk": "^1.0.16",
67
67
  "@modelcontextprotocol/sdk": "1.29.0",
68
68
  "commander": "^12.1.0",