@ganakailabs/cloudeval-cli 0.27.2 → 0.27.3
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-VSOTHLOD.js → App-7QUH5EKH.js} +2 -2
- package/dist/{Banner-7XUOJYL5.js → Banner-AWNB7NZK.js} +2 -2
- package/dist/{chunk-SLRYBS3P.js → chunk-O4KUS7UM.js} +1 -1
- package/dist/{chunk-3DBCT463.js → chunk-QUKE5J4T.js} +1 -1
- package/dist/cli.js +13 -13
- 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-QUKE5J4T.js";
|
|
42
42
|
import {
|
|
43
43
|
CLI_VERSION
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-O4KUS7UM.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-O4KUS7UM.js";
|
|
43
43
|
|
|
44
44
|
// src/runtime/prepareInk.ts
|
|
45
45
|
import fs from "fs";
|
|
@@ -3397,9 +3397,9 @@ var deterministicAiSummary = (data, error) => {
|
|
|
3397
3397
|
const policyFailed = numberFrom(validation?.policyChecks?.failed) ?? numberFrom(validation?.policy_checks?.failed) ?? numberFrom(data.gate?.policy?.failed) ?? 0;
|
|
3398
3398
|
const policyStatus = policyFailed > 0 ? "has failed checks" : "GOOD";
|
|
3399
3399
|
const summary = [
|
|
3400
|
-
`CloudEval review completed with
|
|
3401
|
-
`Well-Architected posture is
|
|
3402
|
-
"Prioritize failed validation checks and the weakest Well-Architected pillar first."
|
|
3400
|
+
`CloudEval review completed with **${String(data.gate?.status ?? "UNKNOWN").toUpperCase()}**.`,
|
|
3401
|
+
`Well-Architected posture is **${formatScore(score)} (${rating})**, validation has **${displayNumber(failedTests)} failed unit tests**, policy checks are **${policyStatus}**, and monthly cost is **${formatMonthlyMoney(cost?.amount, cost?.currency)}**.`,
|
|
3402
|
+
"Prioritize **failed validation checks** and the **weakest Well-Architected pillar** first."
|
|
3403
3403
|
].join(" ");
|
|
3404
3404
|
return {
|
|
3405
3405
|
enabled: true,
|
|
@@ -3409,17 +3409,17 @@ var deterministicAiSummary = (data, error) => {
|
|
|
3409
3409
|
shortSummary: summary,
|
|
3410
3410
|
detailsMarkdown: [
|
|
3411
3411
|
"**Main risk**\nCloudEval could not produce an AI-written review summary, so use the deterministic gate evidence.",
|
|
3412
|
-
"**Why it matters**\
|
|
3413
|
-
"**Recommended actions**\nFix failed validation checks
|
|
3414
|
-
"**Evidence used**\
|
|
3412
|
+
"**Why it matters**\n**Failed validation** and **weak architecture pillars** are the highest-signal remediation inputs.",
|
|
3413
|
+
"**Recommended actions**\nFix **failed validation checks**, address the **weakest pillar**, rerun CloudEval review, and compare the updated gate.",
|
|
3414
|
+
"**Evidence used**\n**Gate status**, **Well-Architected score**, **validation totals**, **policy totals**, and **monthly cost**."
|
|
3415
3415
|
].join("\n\n"),
|
|
3416
3416
|
markdown: renderAiSummarySections(
|
|
3417
3417
|
summary,
|
|
3418
3418
|
[
|
|
3419
3419
|
"**Main risk**\nCloudEval could not produce an AI-written review summary, so use the deterministic gate evidence.",
|
|
3420
|
-
"**Why it matters**\
|
|
3421
|
-
"**Recommended actions**\nFix failed validation checks
|
|
3422
|
-
"**Evidence used**\
|
|
3420
|
+
"**Why it matters**\n**Failed validation** and **weak architecture pillars** are the highest-signal remediation inputs.",
|
|
3421
|
+
"**Recommended actions**\nFix **failed validation checks**, address the **weakest pillar**, rerun CloudEval review, and compare the updated gate.",
|
|
3422
|
+
"**Evidence used**\n**Gate status**, **Well-Architected score**, **validation totals**, **policy totals**, and **monthly cost**."
|
|
3423
3423
|
].join("\n\n")
|
|
3424
3424
|
)
|
|
3425
3425
|
};
|
|
@@ -15626,7 +15626,7 @@ program.command("tui").description("Open the CloudEval Terminal UI").option(
|
|
|
15626
15626
|
const { assertSecureBaseUrl } = await import("./dist-PEYJDO7A.js");
|
|
15627
15627
|
const [{ render }, { App }] = await Promise.all([
|
|
15628
15628
|
import("ink"),
|
|
15629
|
-
import("./App-
|
|
15629
|
+
import("./App-7QUH5EKH.js")
|
|
15630
15630
|
]);
|
|
15631
15631
|
const baseUrl = await resolveBaseUrl(options, command);
|
|
15632
15632
|
assertSecureBaseUrl(baseUrl);
|
|
@@ -15684,7 +15684,7 @@ program.command("chat").description("Start an interactive chat session").option(
|
|
|
15684
15684
|
const { assertSecureBaseUrl } = await import("./dist-PEYJDO7A.js");
|
|
15685
15685
|
const [{ render }, { App }] = await Promise.all([
|
|
15686
15686
|
import("ink"),
|
|
15687
|
-
import("./App-
|
|
15687
|
+
import("./App-7QUH5EKH.js")
|
|
15688
15688
|
]);
|
|
15689
15689
|
const baseUrl = await resolveBaseUrl(options, command);
|
|
15690
15690
|
assertSecureBaseUrl(baseUrl);
|
|
@@ -16438,7 +16438,7 @@ Error: ${errorMsg}
|
|
|
16438
16438
|
program.command("banner").description("Preview the startup banner and terminal capabilities").action(async () => {
|
|
16439
16439
|
const { render } = await import("ink");
|
|
16440
16440
|
const BannerPreview = React.lazy(async () => ({
|
|
16441
|
-
default: (await import("./Banner-
|
|
16441
|
+
default: (await import("./Banner-AWNB7NZK.js")).Banner
|
|
16442
16442
|
}));
|
|
16443
16443
|
render(
|
|
16444
16444
|
/* @__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.3",
|
|
18
18
|
"downloadLocation": "https://github.com/ganakailabs/cloudeval-cli",
|
|
19
19
|
"filesAnalyzed": false,
|
|
20
20
|
"licenseConcluded": "LicenseRef-CloudEval-CLI",
|