@asteroidai/cli 1.9.233 → 1.9.238
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/asteroid.js +18 -5
- package/dist/core.js +17 -4
- package/package.json +1 -1
package/dist/asteroid.js
CHANGED
|
@@ -275,6 +275,19 @@ var COMMANDS = [
|
|
|
275
275
|
readOnly: true,
|
|
276
276
|
destructive: false
|
|
277
277
|
},
|
|
278
|
+
{
|
|
279
|
+
command: "billing credit",
|
|
280
|
+
tool: "billing_credit_status_get",
|
|
281
|
+
title: "Get credit status",
|
|
282
|
+
description: "Get how urgently the organization needs credit. `band` is ok, low, critical or depleted. Also returns the balance, daily spend, when credit runs out (`runsOutAt`), when it renews, why runs are blocked (`blockedReason`), auto top-up state, and `suggestedTier` when recent spend suits a bigger plan. Use it to warn before runs stop or to explain why they stopped. Cached for up to 60 seconds. Top-ups and plan changes happen in the platform app's billing page.",
|
|
283
|
+
method: "GET",
|
|
284
|
+
path: "/billing/v2/credit-status",
|
|
285
|
+
args: [],
|
|
286
|
+
query: [],
|
|
287
|
+
binary: false,
|
|
288
|
+
readOnly: true,
|
|
289
|
+
destructive: false
|
|
290
|
+
},
|
|
278
291
|
{
|
|
279
292
|
command: "billing executions",
|
|
280
293
|
tool: "billing_execution_usage_list",
|
|
@@ -595,7 +608,7 @@ var COMMANDS = [
|
|
|
595
608
|
flag: "max-age-mins",
|
|
596
609
|
type: "integer",
|
|
597
610
|
required: false,
|
|
598
|
-
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes."
|
|
611
|
+
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes. At most 180 on an Anchor browser base, which ends a session at about 4 hours."
|
|
599
612
|
},
|
|
600
613
|
{
|
|
601
614
|
name: "reuse",
|
|
@@ -777,7 +790,7 @@ var COMMANDS = [
|
|
|
777
790
|
flag: "max-age-mins",
|
|
778
791
|
type: "integer",
|
|
779
792
|
required: false,
|
|
780
|
-
description: "Member max age in minutes. As for a warm pool, the replacement boots ahead of it."
|
|
793
|
+
description: "Member max age in minutes. As for a warm pool, the replacement boots ahead of it. At most 180 on an Anchor browser base, which ends a session at about 4 hours."
|
|
781
794
|
},
|
|
782
795
|
{
|
|
783
796
|
name: "executionsPerEnvironment",
|
|
@@ -1012,7 +1025,7 @@ var COMMANDS = [
|
|
|
1012
1025
|
flag: "max-age-mins",
|
|
1013
1026
|
type: "integer",
|
|
1014
1027
|
required: false,
|
|
1015
|
-
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes."
|
|
1028
|
+
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes. At most 180 on an Anchor browser base, which ends a session at about 4 hours."
|
|
1016
1029
|
},
|
|
1017
1030
|
{
|
|
1018
1031
|
name: "reuse",
|
|
@@ -1194,7 +1207,7 @@ var COMMANDS = [
|
|
|
1194
1207
|
flag: "max-age-mins",
|
|
1195
1208
|
type: "integer",
|
|
1196
1209
|
required: false,
|
|
1197
|
-
description: "Member max age in minutes. As for a warm pool, the replacement boots ahead of it."
|
|
1210
|
+
description: "Member max age in minutes. As for a warm pool, the replacement boots ahead of it. At most 180 on an Anchor browser base, which ends a session at about 4 hours."
|
|
1198
1211
|
},
|
|
1199
1212
|
{
|
|
1200
1213
|
name: "executionsPerEnvironment",
|
|
@@ -7736,7 +7749,7 @@ var ApiError = class extends Error {
|
|
|
7736
7749
|
status;
|
|
7737
7750
|
body;
|
|
7738
7751
|
};
|
|
7739
|
-
var VERSION = "1.9.
|
|
7752
|
+
var VERSION = "1.9.238";
|
|
7740
7753
|
function problem(status, body, fallback) {
|
|
7741
7754
|
if (body && typeof body === "object") {
|
|
7742
7755
|
const record2 = body;
|
package/dist/core.js
CHANGED
|
@@ -296,6 +296,19 @@ var COMMANDS = [
|
|
|
296
296
|
readOnly: true,
|
|
297
297
|
destructive: false
|
|
298
298
|
},
|
|
299
|
+
{
|
|
300
|
+
command: "billing credit",
|
|
301
|
+
tool: "billing_credit_status_get",
|
|
302
|
+
title: "Get credit status",
|
|
303
|
+
description: "Get how urgently the organization needs credit. `band` is ok, low, critical or depleted. Also returns the balance, daily spend, when credit runs out (`runsOutAt`), when it renews, why runs are blocked (`blockedReason`), auto top-up state, and `suggestedTier` when recent spend suits a bigger plan. Use it to warn before runs stop or to explain why they stopped. Cached for up to 60 seconds. Top-ups and plan changes happen in the platform app's billing page.",
|
|
304
|
+
method: "GET",
|
|
305
|
+
path: "/billing/v2/credit-status",
|
|
306
|
+
args: [],
|
|
307
|
+
query: [],
|
|
308
|
+
binary: false,
|
|
309
|
+
readOnly: true,
|
|
310
|
+
destructive: false
|
|
311
|
+
},
|
|
299
312
|
{
|
|
300
313
|
command: "billing executions",
|
|
301
314
|
tool: "billing_execution_usage_list",
|
|
@@ -616,7 +629,7 @@ var COMMANDS = [
|
|
|
616
629
|
flag: "max-age-mins",
|
|
617
630
|
type: "integer",
|
|
618
631
|
required: false,
|
|
619
|
-
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes."
|
|
632
|
+
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes. At most 180 on an Anchor browser base, which ends a session at about 4 hours."
|
|
620
633
|
},
|
|
621
634
|
{
|
|
622
635
|
name: "reuse",
|
|
@@ -798,7 +811,7 @@ var COMMANDS = [
|
|
|
798
811
|
flag: "max-age-mins",
|
|
799
812
|
type: "integer",
|
|
800
813
|
required: false,
|
|
801
|
-
description: "Member max age in minutes. As for a warm pool, the replacement boots ahead of it."
|
|
814
|
+
description: "Member max age in minutes. As for a warm pool, the replacement boots ahead of it. At most 180 on an Anchor browser base, which ends a session at about 4 hours."
|
|
802
815
|
},
|
|
803
816
|
{
|
|
804
817
|
name: "executionsPerEnvironment",
|
|
@@ -1033,7 +1046,7 @@ var COMMANDS = [
|
|
|
1033
1046
|
flag: "max-age-mins",
|
|
1034
1047
|
type: "integer",
|
|
1035
1048
|
required: false,
|
|
1036
|
-
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes."
|
|
1049
|
+
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes. At most 180 on an Anchor browser base, which ends a session at about 4 hours."
|
|
1037
1050
|
},
|
|
1038
1051
|
{
|
|
1039
1052
|
name: "reuse",
|
|
@@ -1215,7 +1228,7 @@ var COMMANDS = [
|
|
|
1215
1228
|
flag: "max-age-mins",
|
|
1216
1229
|
type: "integer",
|
|
1217
1230
|
required: false,
|
|
1218
|
-
description: "Member max age in minutes. As for a warm pool, the replacement boots ahead of it."
|
|
1231
|
+
description: "Member max age in minutes. As for a warm pool, the replacement boots ahead of it. At most 180 on an Anchor browser base, which ends a session at about 4 hours."
|
|
1219
1232
|
},
|
|
1220
1233
|
{
|
|
1221
1234
|
name: "executionsPerEnvironment",
|