@ganakailabs/cloudeval-cli 0.27.0 → 0.27.1
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/{App-GQMIIL3U.js → App-XHSK5SJA.js} +2 -2
- package/dist/{Banner-J2ESX3JN.js → Banner-GAOI3CZR.js} +2 -2
- package/dist/{chunk-YW5JWFYV.js → chunk-FJDUSS2S.js} +1 -1
- package/dist/{chunk-5AH64UNL.js → chunk-LWHSK5SO.js} +1 -1
- package/dist/cli.js +6 -5
- package/package.json +1 -1
- package/sbom.spdx.json +1 -1
|
@@ -38,10 +38,10 @@ import {
|
|
|
38
38
|
} from "./chunk-USSCB2ZU.js";
|
|
39
39
|
import {
|
|
40
40
|
Banner
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-LWHSK5SO.js";
|
|
42
42
|
import {
|
|
43
43
|
CLI_VERSION
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-FJDUSS2S.js";
|
|
45
45
|
import {
|
|
46
46
|
raisedButtonStyle,
|
|
47
47
|
terminalTheme
|
package/dist/cli.js
CHANGED
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-USSCB2ZU.js";
|
|
40
40
|
import {
|
|
41
41
|
CLI_VERSION
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-FJDUSS2S.js";
|
|
43
43
|
|
|
44
44
|
// src/runtime/prepareInk.ts
|
|
45
45
|
import fs from "fs";
|
|
@@ -2570,7 +2570,8 @@ var formatMoney = (amount, currency, fallback = "not available") => {
|
|
|
2570
2570
|
if (numericAmount === void 0) {
|
|
2571
2571
|
return fallback;
|
|
2572
2572
|
}
|
|
2573
|
-
|
|
2573
|
+
const formattedAmount = trimNumber(numericAmount);
|
|
2574
|
+
return currency ? `${formattedAmount} ${currency}` : formattedAmount;
|
|
2574
2575
|
};
|
|
2575
2576
|
var trimNumber = (value, fractionDigits = 2) => Number.isInteger(value) ? String(value) : String(Number(value.toFixed(fractionDigits)));
|
|
2576
2577
|
var formatScore = (value, fallback = "unknown") => {
|
|
@@ -15631,7 +15632,7 @@ program.command("tui").description("Open the CloudEval Terminal UI").option(
|
|
|
15631
15632
|
const { assertSecureBaseUrl } = await import("./dist-PEYJDO7A.js");
|
|
15632
15633
|
const [{ render }, { App }] = await Promise.all([
|
|
15633
15634
|
import("ink"),
|
|
15634
|
-
import("./App-
|
|
15635
|
+
import("./App-XHSK5SJA.js")
|
|
15635
15636
|
]);
|
|
15636
15637
|
const baseUrl = await resolveBaseUrl(options, command);
|
|
15637
15638
|
assertSecureBaseUrl(baseUrl);
|
|
@@ -15689,7 +15690,7 @@ program.command("chat").description("Start an interactive chat session").option(
|
|
|
15689
15690
|
const { assertSecureBaseUrl } = await import("./dist-PEYJDO7A.js");
|
|
15690
15691
|
const [{ render }, { App }] = await Promise.all([
|
|
15691
15692
|
import("ink"),
|
|
15692
|
-
import("./App-
|
|
15693
|
+
import("./App-XHSK5SJA.js")
|
|
15693
15694
|
]);
|
|
15694
15695
|
const baseUrl = await resolveBaseUrl(options, command);
|
|
15695
15696
|
assertSecureBaseUrl(baseUrl);
|
|
@@ -16443,7 +16444,7 @@ Error: ${errorMsg}
|
|
|
16443
16444
|
program.command("banner").description("Preview the startup banner and terminal capabilities").action(async () => {
|
|
16444
16445
|
const { render } = await import("ink");
|
|
16445
16446
|
const BannerPreview = React.lazy(async () => ({
|
|
16446
|
-
default: (await import("./Banner-
|
|
16447
|
+
default: (await import("./Banner-GAOI3CZR.js")).Banner
|
|
16447
16448
|
}));
|
|
16448
16449
|
render(
|
|
16449
16450
|
/* @__PURE__ */ jsx(React.Suspense, { fallback: null, children: /* @__PURE__ */ jsx(BannerPreview, { disable: false }) })
|
package/package.json
CHANGED
package/sbom.spdx.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
{
|
|
15
15
|
"SPDXID": "SPDXRef-Package-CloudEval-CLI",
|
|
16
16
|
"name": "CloudEval CLI",
|
|
17
|
-
"versionInfo": "0.27.
|
|
17
|
+
"versionInfo": "0.27.1",
|
|
18
18
|
"downloadLocation": "https://github.com/ganakailabs/cloudeval-cli",
|
|
19
19
|
"filesAnalyzed": false,
|
|
20
20
|
"licenseConcluded": "LicenseRef-CloudEval-CLI",
|