@ganakailabs/cloudeval-cli 0.26.0 → 0.26.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.
@@ -38,10 +38,10 @@ import {
38
38
  } from "./chunk-KBHRBGSX.js";
39
39
  import {
40
40
  Banner
41
- } from "./chunk-U5TI24XX.js";
41
+ } from "./chunk-M5XGS3ZV.js";
42
42
  import {
43
43
  CLI_VERSION
44
- } from "./chunk-IAXSLM2G.js";
44
+ } from "./chunk-UUXJKGRN.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-U5TI24XX.js";
7
- import "./chunk-IAXSLM2G.js";
6
+ } from "./chunk-M5XGS3ZV.js";
7
+ import "./chunk-UUXJKGRN.js";
8
8
  import "./chunk-ZDKRIOMB.js";
9
9
  export {
10
10
  Banner,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CLI_VERSION
3
- } from "./chunk-IAXSLM2G.js";
3
+ } from "./chunk-UUXJKGRN.js";
4
4
  import {
5
5
  shouldUseColor,
6
6
  terminalTheme
@@ -1,5 +1,5 @@
1
1
  // src/version.ts
2
- var CLI_VERSION = "0.26.0";
2
+ var CLI_VERSION = "0.26.1";
3
3
 
4
4
  export {
5
5
  CLI_VERSION
package/dist/cli.js CHANGED
@@ -36,7 +36,7 @@ import {
36
36
  } from "./chunk-KBHRBGSX.js";
37
37
  import {
38
38
  CLI_VERSION
39
- } from "./chunk-IAXSLM2G.js";
39
+ } from "./chunk-UUXJKGRN.js";
40
40
 
41
41
  // src/runtime/prepareInk.ts
42
42
  import fs from "fs";
@@ -2700,6 +2700,7 @@ var waitForJob = async ({
2700
2700
  baseUrl,
2701
2701
  token,
2702
2702
  userId,
2703
+ projectId,
2703
2704
  jobId,
2704
2705
  pollIntervalMs,
2705
2706
  waitTimeoutMs
@@ -2707,11 +2708,14 @@ var waitForJob = async ({
2707
2708
  const startedAt = Date.now();
2708
2709
  let lastStatus;
2709
2710
  for (; ; ) {
2710
- const query = userId ? `?user_id=${encodeURIComponent(userId)}` : "";
2711
+ const query = new URLSearchParams({ project_id: projectId });
2712
+ if (userId) {
2713
+ query.set("user_id", userId);
2714
+ }
2711
2715
  lastStatus = await fetchCloudEvalJson({
2712
2716
  baseUrl,
2713
2717
  authToken: token,
2714
- path: `/jobs/${encodeURIComponent(jobId)}${query}`
2718
+ path: `/jobs/${encodeURIComponent(jobId)}?${query.toString()}`
2715
2719
  });
2716
2720
  const status = String(lastStatus.status ?? "unknown");
2717
2721
  process.stderr.write(`github sync job ${jobId}: ${status}
@@ -2896,6 +2900,7 @@ var registerReviewCommand = (program2, deps) => {
2896
2900
  baseUrl: context.baseUrl,
2897
2901
  token: context.token,
2898
2902
  userId: context.user?.id,
2903
+ projectId,
2899
2904
  jobId: extractJobId2(sync),
2900
2905
  pollIntervalMs: parsePositiveInteger(
2901
2906
  options.pollInterval,
@@ -14843,7 +14848,7 @@ program.command("tui").description("Open the CloudEval Terminal UI").option(
14843
14848
  const { assertSecureBaseUrl } = await import("./dist-CFLR5FML.js");
14844
14849
  const [{ render }, { App }] = await Promise.all([
14845
14850
  import("ink"),
14846
- import("./App-XNVJF2ON.js")
14851
+ import("./App-3VDZ4SKF.js")
14847
14852
  ]);
14848
14853
  const baseUrl = await resolveBaseUrl(options, command);
14849
14854
  assertSecureBaseUrl(baseUrl);
@@ -14901,7 +14906,7 @@ program.command("chat").description("Start an interactive chat session").option(
14901
14906
  const { assertSecureBaseUrl } = await import("./dist-CFLR5FML.js");
14902
14907
  const [{ render }, { App }] = await Promise.all([
14903
14908
  import("ink"),
14904
- import("./App-XNVJF2ON.js")
14909
+ import("./App-3VDZ4SKF.js")
14905
14910
  ]);
14906
14911
  const baseUrl = await resolveBaseUrl(options, command);
14907
14912
  assertSecureBaseUrl(baseUrl);
@@ -15655,7 +15660,7 @@ Error: ${errorMsg}
15655
15660
  program.command("banner").description("Preview the startup banner and terminal capabilities").action(async () => {
15656
15661
  const { render } = await import("ink");
15657
15662
  const BannerPreview = React.lazy(async () => ({
15658
- default: (await import("./Banner-2FNO54OA.js")).Banner
15663
+ default: (await import("./Banner-7BP5U7P4.js")).Banner
15659
15664
  }));
15660
15665
  render(
15661
15666
  /* @__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.0",
3
+ "version": "0.26.1",
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.0",
17
+ "versionInfo": "0.26.1",
18
18
  "downloadLocation": "https://github.com/ganakailabs/cloudeval-cli",
19
19
  "filesAnalyzed": false,
20
20
  "licenseConcluded": "LicenseRef-CloudEval-CLI",