@asteroidai/cli 1.9.231 → 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 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",
@@ -387,7 +400,7 @@ var COMMANDS = [
387
400
  command: "catalog template add",
388
401
  tool: "catalog_template_add",
389
402
  title: "Add catalog template",
390
- description: "Add a catalog template to an organization at `accessLevel` `granted`, so `catalog_template_instantiate` can clone it. Also adds the skills of the template's portal. A template that is not `runnable` (see `catalog_template_get`) returns 400 and uses no grant. Needs a Startup plan or above. Adding one the organization already has is a no-op. `organizationId` defaults to the caller's one organization.",
403
+ description: "Add a catalog template to an organization at `accessLevel` `granted`, so `catalog_template_instantiate` can clone it. Also adds the skills of the template's portal. A template that is not `runnable` (see `catalog_template_get`) returns 400. Needs a Startup plan or above. Adding one the organization already has is a no-op. `organizationId` defaults to the caller's one organization.",
391
404
  method: "POST",
392
405
  path: "/agents/v2/catalog/templates/{templateId}/add",
393
406
  args: [
@@ -7736,7 +7749,7 @@ var ApiError = class extends Error {
7736
7749
  status;
7737
7750
  body;
7738
7751
  };
7739
- var VERSION = "1.9.231";
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",
@@ -408,7 +421,7 @@ var COMMANDS = [
408
421
  command: "catalog template add",
409
422
  tool: "catalog_template_add",
410
423
  title: "Add catalog template",
411
- description: "Add a catalog template to an organization at `accessLevel` `granted`, so `catalog_template_instantiate` can clone it. Also adds the skills of the template's portal. A template that is not `runnable` (see `catalog_template_get`) returns 400 and uses no grant. Needs a Startup plan or above. Adding one the organization already has is a no-op. `organizationId` defaults to the caller's one organization.",
424
+ description: "Add a catalog template to an organization at `accessLevel` `granted`, so `catalog_template_instantiate` can clone it. Also adds the skills of the template's portal. A template that is not `runnable` (see `catalog_template_get`) returns 400. Needs a Startup plan or above. Adding one the organization already has is a no-op. `organizationId` defaults to the caller's one organization.",
412
425
  method: "POST",
413
426
  path: "/agents/v2/catalog/templates/{templateId}/add",
414
427
  args: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asteroidai/cli",
3
- "version": "1.9.231",
3
+ "version": "1.9.237",
4
4
  "description": "The asteroid command-line interface for the Asteroid platform.",
5
5
  "type": "module",
6
6
  "license": "MIT",