@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.
@@ -38,10 +38,10 @@ import {
38
38
  } from "./chunk-USSCB2ZU.js";
39
39
  import {
40
40
  Banner
41
- } from "./chunk-3DBCT463.js";
41
+ } from "./chunk-QUKE5J4T.js";
42
42
  import {
43
43
  CLI_VERSION
44
- } from "./chunk-SLRYBS3P.js";
44
+ } from "./chunk-O4KUS7UM.js";
45
45
  import {
46
46
  raisedButtonStyle,
47
47
  terminalTheme
@@ -3,8 +3,8 @@ import {
3
3
  bannerMetaColor,
4
4
  bannerSegmentColor,
5
5
  splitBannerLineSegments
6
- } from "./chunk-3DBCT463.js";
7
- import "./chunk-SLRYBS3P.js";
6
+ } from "./chunk-QUKE5J4T.js";
7
+ import "./chunk-O4KUS7UM.js";
8
8
  import "./chunk-ZDKRIOMB.js";
9
9
  export {
10
10
  Banner,
@@ -1,5 +1,5 @@
1
1
  // src/version.ts
2
- var CLI_VERSION = "0.27.2";
2
+ var CLI_VERSION = "0.27.3";
3
3
 
4
4
  export {
5
5
  CLI_VERSION
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CLI_VERSION
3
- } from "./chunk-SLRYBS3P.js";
3
+ } from "./chunk-O4KUS7UM.js";
4
4
  import {
5
5
  shouldUseColor,
6
6
  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-SLRYBS3P.js";
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 ${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."
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**\nFailed 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**\nGate status, Well-Architected score, validation totals, policy totals, and monthly cost."
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**\nFailed 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**\nGate status, Well-Architected score, validation totals, policy totals, and monthly cost."
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-VSOTHLOD.js")
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-VSOTHLOD.js")
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-7XUOJYL5.js")).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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ganakailabs/cloudeval-cli",
3
- "version": "0.27.2",
3
+ "version": "0.27.3",
4
4
  "license": "LicenseRef-CloudEval-CLI",
5
5
  "type": "module",
6
6
  "description": "CloudEval CLI for cloud architecture, cost, report, automation, and MCP workflows.",
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.2",
17
+ "versionInfo": "0.27.3",
18
18
  "downloadLocation": "https://github.com/ganakailabs/cloudeval-cli",
19
19
  "filesAnalyzed": false,
20
20
  "licenseConcluded": "LicenseRef-CloudEval-CLI",