@asteroidai/cli 1.9.506 → 1.9.520
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 +3 -3
- package/dist/core.js +2 -2
- package/package.json +4 -2
package/dist/asteroid.js
CHANGED
|
@@ -279,7 +279,7 @@ var COMMANDS = [
|
|
|
279
279
|
command: "billing credit",
|
|
280
280
|
tool: "billing_credit_status_get",
|
|
281
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 `
|
|
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 a priced `suggestion` 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
283
|
method: "GET",
|
|
284
284
|
path: "/billing/v2/credit-status",
|
|
285
285
|
args: [],
|
|
@@ -7508,7 +7508,7 @@ var HIDDEN = /^agent[A-Z]|Url$/;
|
|
|
7508
7508
|
var MAX_COLUMNS = 6;
|
|
7509
7509
|
var MAX_CELL = 60;
|
|
7510
7510
|
var CONTROL = (
|
|
7511
|
-
//
|
|
7511
|
+
// oxlint-disable-next-line no-control-regex -- strips terminal escape sequences and C0/C1 controls from cell text
|
|
7512
7512
|
/\x1b\[[0-?]*[ -/]*[@-~]|\x1b\][^\x07\x1b]*(?:\x07|\x1b\\)?|\x1b[@-_]?|[\x00-\x08\x0b-\x1f\x7f-\x9f]/g
|
|
7513
7513
|
);
|
|
7514
7514
|
function clean(text3) {
|
|
@@ -8509,7 +8509,7 @@ var ApiError = class extends Error {
|
|
|
8509
8509
|
status;
|
|
8510
8510
|
body;
|
|
8511
8511
|
};
|
|
8512
|
-
var VERSION = "1.9.
|
|
8512
|
+
var VERSION = "1.9.520";
|
|
8513
8513
|
function problem(status, body, fallback) {
|
|
8514
8514
|
if (body && typeof body === "object") {
|
|
8515
8515
|
const record2 = body;
|
package/dist/core.js
CHANGED
|
@@ -300,7 +300,7 @@ var COMMANDS = [
|
|
|
300
300
|
command: "billing credit",
|
|
301
301
|
tool: "billing_credit_status_get",
|
|
302
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 `
|
|
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 a priced `suggestion` 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
304
|
method: "GET",
|
|
305
305
|
path: "/billing/v2/credit-status",
|
|
306
306
|
args: [],
|
|
@@ -7342,7 +7342,7 @@ var HIDDEN = /^agent[A-Z]|Url$/;
|
|
|
7342
7342
|
var MAX_COLUMNS = 6;
|
|
7343
7343
|
var MAX_CELL = 60;
|
|
7344
7344
|
var CONTROL = (
|
|
7345
|
-
//
|
|
7345
|
+
// oxlint-disable-next-line no-control-regex -- strips terminal escape sequences and C0/C1 controls from cell text
|
|
7346
7346
|
/\x1b\[[0-?]*[ -/]*[@-~]|\x1b\][^\x07\x1b]*(?:\x07|\x1b\\)?|\x1b[@-_]?|[\x00-\x08\x0b-\x1f\x7f-\x9f]/g
|
|
7347
7347
|
);
|
|
7348
7348
|
function clean(text2) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asteroidai/cli",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.520",
|
|
4
4
|
"description": "The asteroid command-line interface for the Asteroid platform.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"@types/node": "^22.20.1",
|
|
31
31
|
"@types/proper-lockfile": "^4.1.4",
|
|
32
32
|
"esbuild": "^0.28.2",
|
|
33
|
+
"oxlint": "1.95.0",
|
|
33
34
|
"prettier": "3.9.6",
|
|
34
35
|
"tsx": "^4.23.12",
|
|
35
36
|
"typescript": "5.9.3",
|
|
@@ -42,6 +43,7 @@
|
|
|
42
43
|
"build:core": "node scripts/bundle.mjs",
|
|
43
44
|
"check-types": "tsc --noEmit",
|
|
44
45
|
"test": "vitest run",
|
|
45
|
-
"smoke": "node scripts/smoke.mjs"
|
|
46
|
+
"smoke": "node scripts/smoke.mjs",
|
|
47
|
+
"lint": "oxlint --report-unused-disable-directives-severity=error"
|
|
46
48
|
}
|
|
47
49
|
}
|