@ganakailabs/cloudeval-cli 0.26.2 → 0.26.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-3MIP274G.js";
39
39
  import {
40
40
  Banner
41
- } from "./chunk-QZTBYLF7.js";
41
+ } from "./chunk-DALUYBCW.js";
42
42
  import {
43
43
  CLI_VERSION
44
- } from "./chunk-25ILWQUX.js";
44
+ } from "./chunk-5NOPTAZO.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-QZTBYLF7.js";
7
- import "./chunk-25ILWQUX.js";
6
+ } from "./chunk-DALUYBCW.js";
7
+ import "./chunk-5NOPTAZO.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.26.2";
2
+ var CLI_VERSION = "0.26.3";
3
3
 
4
4
  export {
5
5
  CLI_VERSION
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CLI_VERSION
3
- } from "./chunk-25ILWQUX.js";
3
+ } from "./chunk-5NOPTAZO.js";
4
4
  import {
5
5
  shouldUseColor,
6
6
  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-25ILWQUX.js";
39
+ } from "./chunk-5NOPTAZO.js";
40
40
 
41
41
  // src/runtime/prepareInk.ts
42
42
  import fs from "fs";
@@ -1188,6 +1188,7 @@ var completeCliWords = (words) => {
1188
1188
  };
1189
1189
 
1190
1190
  // src/outputFormatter.ts
1191
+ import { once } from "events";
1191
1192
  var showSensitiveIdsByDefault = false;
1192
1193
  var SENSITIVE_IDENTIFIER_KEYS = /* @__PURE__ */ new Set([
1193
1194
  "accountid",
@@ -1456,13 +1457,18 @@ ${JSON.stringify(data, null, 2)}
1456
1457
  }
1457
1458
  return formatTextRecord(data);
1458
1459
  };
1460
+ var writeTextToStream = async (stream, text) => {
1461
+ if (!stream.write(text)) {
1462
+ await once(stream, "drain");
1463
+ }
1464
+ };
1459
1465
  var writeFormattedOutput = async (input) => {
1460
1466
  const text = formatOutput(input);
1461
1467
  if (input.output) {
1462
1468
  await writePrivateOutputFile(input.output, text);
1463
1469
  return;
1464
1470
  }
1465
- process.stdout.write(text);
1471
+ await writeTextToStream(process.stdout, text);
1466
1472
  };
1467
1473
  var writePrivateOutputFile = async (output, text) => {
1468
1474
  const fs14 = await import("fs/promises");
@@ -14928,7 +14934,7 @@ program.command("tui").description("Open the CloudEval Terminal UI").option(
14928
14934
  const { assertSecureBaseUrl } = await import("./dist-QLN52XKY.js");
14929
14935
  const [{ render }, { App }] = await Promise.all([
14930
14936
  import("ink"),
14931
- import("./App-RTGF4RMI.js")
14937
+ import("./App-74TOEWUN.js")
14932
14938
  ]);
14933
14939
  const baseUrl = await resolveBaseUrl(options, command);
14934
14940
  assertSecureBaseUrl(baseUrl);
@@ -14986,7 +14992,7 @@ program.command("chat").description("Start an interactive chat session").option(
14986
14992
  const { assertSecureBaseUrl } = await import("./dist-QLN52XKY.js");
14987
14993
  const [{ render }, { App }] = await Promise.all([
14988
14994
  import("ink"),
14989
- import("./App-RTGF4RMI.js")
14995
+ import("./App-74TOEWUN.js")
14990
14996
  ]);
14991
14997
  const baseUrl = await resolveBaseUrl(options, command);
14992
14998
  assertSecureBaseUrl(baseUrl);
@@ -15740,7 +15746,7 @@ Error: ${errorMsg}
15740
15746
  program.command("banner").description("Preview the startup banner and terminal capabilities").action(async () => {
15741
15747
  const { render } = await import("ink");
15742
15748
  const BannerPreview = React.lazy(async () => ({
15743
- default: (await import("./Banner-H2UMEBYX.js")).Banner
15749
+ default: (await import("./Banner-JWHQ4HG5.js")).Banner
15744
15750
  }));
15745
15751
  render(
15746
15752
  /* @__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.26.2",
3
+ "version": "0.26.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.26.2",
17
+ "versionInfo": "0.26.3",
18
18
  "downloadLocation": "https://github.com/ganakailabs/cloudeval-cli",
19
19
  "filesAnalyzed": false,
20
20
  "licenseConcluded": "LicenseRef-CloudEval-CLI",