@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.
- package/dist/{App-XNVJF2ON.js → App-3VDZ4SKF.js} +2 -2
- package/dist/{Banner-2FNO54OA.js → Banner-7BP5U7P4.js} +2 -2
- package/dist/{chunk-U5TI24XX.js → chunk-M5XGS3ZV.js} +1 -1
- package/dist/{chunk-IAXSLM2G.js → chunk-UUXJKGRN.js} +1 -1
- package/dist/cli.js +11 -6
- package/package.json +1 -1
- package/sbom.spdx.json +1 -1
|
@@ -38,10 +38,10 @@ import {
|
|
|
38
38
|
} from "./chunk-KBHRBGSX.js";
|
|
39
39
|
import {
|
|
40
40
|
Banner
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-M5XGS3ZV.js";
|
|
42
42
|
import {
|
|
43
43
|
CLI_VERSION
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-UUXJKGRN.js";
|
|
45
45
|
import {
|
|
46
46
|
raisedButtonStyle,
|
|
47
47
|
terminalTheme
|
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-
|
|
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 =
|
|
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)}
|
|
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-
|
|
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-
|
|
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-
|
|
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
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.1",
|
|
18
18
|
"downloadLocation": "https://github.com/ganakailabs/cloudeval-cli",
|
|
19
19
|
"filesAnalyzed": false,
|
|
20
20
|
"licenseConcluded": "LicenseRef-CloudEval-CLI",
|