@ganakailabs/cloudeval-cli 0.26.7 → 0.26.8
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-ZUKNFEP4.js → App-S7AENSQ6.js} +2 -2
- package/dist/{Banner-ZPALP2NW.js → Banner-SDED2C3N.js} +2 -2
- package/dist/{chunk-MNNLTARP.js → chunk-PF2J2PFC.js} +1 -1
- package/dist/{chunk-SMZ375N4.js → chunk-YMGKGMUW.js} +1 -1
- package/dist/cli.js +29 -5
- package/package.json +1 -1
- package/sbom.spdx.json +1 -1
|
@@ -38,10 +38,10 @@ import {
|
|
|
38
38
|
} from "./chunk-3MIP274G.js";
|
|
39
39
|
import {
|
|
40
40
|
Banner
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-PF2J2PFC.js";
|
|
42
42
|
import {
|
|
43
43
|
CLI_VERSION
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-YMGKGMUW.js";
|
|
45
45
|
import {
|
|
46
46
|
raisedButtonStyle,
|
|
47
47
|
terminalTheme
|
package/dist/cli.js
CHANGED
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from "./chunk-3MIP274G.js";
|
|
37
37
|
import {
|
|
38
38
|
CLI_VERSION
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-YMGKGMUW.js";
|
|
40
40
|
|
|
41
41
|
// src/runtime/prepareInk.ts
|
|
42
42
|
import fs from "fs";
|
|
@@ -2499,6 +2499,30 @@ var reviewReportStatuses = ({
|
|
|
2499
2499
|
wellArchitected: reviewReportStatus(waf),
|
|
2500
2500
|
preload: reviewReportStatus(preload)
|
|
2501
2501
|
});
|
|
2502
|
+
var publicJobStatus = (value) => {
|
|
2503
|
+
const record = firstRecord(value);
|
|
2504
|
+
if (!record) {
|
|
2505
|
+
return void 0;
|
|
2506
|
+
}
|
|
2507
|
+
return {
|
|
2508
|
+
jobId: record.job_id ?? record.jobId ?? record.id,
|
|
2509
|
+
status: record.status,
|
|
2510
|
+
operation: record.operation,
|
|
2511
|
+
progress: record.progress,
|
|
2512
|
+
submittedAt: record.submitted_at ?? record.submittedAt,
|
|
2513
|
+
startedAt: record.started_at ?? record.startedAt,
|
|
2514
|
+
completedAt: record.completed_at ?? record.completedAt
|
|
2515
|
+
};
|
|
2516
|
+
};
|
|
2517
|
+
var reviewSyncStatus = (sync, finalStatus) => {
|
|
2518
|
+
const syncRecord = asRecord(sync);
|
|
2519
|
+
return {
|
|
2520
|
+
job: publicJobStatus(syncRecord.job ?? syncRecord),
|
|
2521
|
+
projectId: syncRecord.project_id ?? syncRecord.projectId,
|
|
2522
|
+
commitSha: syncRecord.commit_sha ?? syncRecord.commitSha,
|
|
2523
|
+
finalStatus: publicJobStatus(finalStatus)
|
|
2524
|
+
};
|
|
2525
|
+
};
|
|
2502
2526
|
var displayNumber = (value, fallback = "not available") => {
|
|
2503
2527
|
const number = numberFrom(value);
|
|
2504
2528
|
return number === void 0 ? fallback : String(number);
|
|
@@ -3073,7 +3097,7 @@ var registerReviewCommand = (program2, deps) => {
|
|
|
3073
3097
|
ref,
|
|
3074
3098
|
commitSha,
|
|
3075
3099
|
sourceRoot,
|
|
3076
|
-
sync:
|
|
3100
|
+
sync: reviewSyncStatus(sync, finalStatus),
|
|
3077
3101
|
reports: reviewReportStatuses({ cost, waf, preload }),
|
|
3078
3102
|
gate: evaluateGate({ configText, waf, cost, preload, project })
|
|
3079
3103
|
};
|
|
@@ -14975,7 +14999,7 @@ program.command("tui").description("Open the CloudEval Terminal UI").option(
|
|
|
14975
14999
|
const { assertSecureBaseUrl } = await import("./dist-QLN52XKY.js");
|
|
14976
15000
|
const [{ render }, { App }] = await Promise.all([
|
|
14977
15001
|
import("ink"),
|
|
14978
|
-
import("./App-
|
|
15002
|
+
import("./App-S7AENSQ6.js")
|
|
14979
15003
|
]);
|
|
14980
15004
|
const baseUrl = await resolveBaseUrl(options, command);
|
|
14981
15005
|
assertSecureBaseUrl(baseUrl);
|
|
@@ -15033,7 +15057,7 @@ program.command("chat").description("Start an interactive chat session").option(
|
|
|
15033
15057
|
const { assertSecureBaseUrl } = await import("./dist-QLN52XKY.js");
|
|
15034
15058
|
const [{ render }, { App }] = await Promise.all([
|
|
15035
15059
|
import("ink"),
|
|
15036
|
-
import("./App-
|
|
15060
|
+
import("./App-S7AENSQ6.js")
|
|
15037
15061
|
]);
|
|
15038
15062
|
const baseUrl = await resolveBaseUrl(options, command);
|
|
15039
15063
|
assertSecureBaseUrl(baseUrl);
|
|
@@ -15787,7 +15811,7 @@ Error: ${errorMsg}
|
|
|
15787
15811
|
program.command("banner").description("Preview the startup banner and terminal capabilities").action(async () => {
|
|
15788
15812
|
const { render } = await import("ink");
|
|
15789
15813
|
const BannerPreview = React.lazy(async () => ({
|
|
15790
|
-
default: (await import("./Banner-
|
|
15814
|
+
default: (await import("./Banner-SDED2C3N.js")).Banner
|
|
15791
15815
|
}));
|
|
15792
15816
|
render(
|
|
15793
15817
|
/* @__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.26.
|
|
17
|
+
"versionInfo": "0.26.8",
|
|
18
18
|
"downloadLocation": "https://github.com/ganakailabs/cloudeval-cli",
|
|
19
19
|
"filesAnalyzed": false,
|
|
20
20
|
"licenseConcluded": "LicenseRef-CloudEval-CLI",
|