@asteroidai/cli 1.9.233 → 1.9.237
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 +14 -1
- package/dist/core.js +13 -0
- 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",
|
|
@@ -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.237";
|
|
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",
|