@levr-one/cli 0.7.2 → 0.7.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/cli.js +7 -7
- package/dist/{importHandler-DhF7psRj.js → importHandler-dhigBEFY.js} +2 -2
- package/dist/{listHandler-hpPpE3WN.js → listHandler-C1mahccW.js} +1 -1
- package/dist/{loginHandler-BNmD3R0O.js → loginHandler-DlWJqsCW.js} +2 -2
- package/dist/{pushHandler-B0s2pHMU.js → pushHandler-U1DKVKqQ.js} +2 -2
- package/dist/{resolve-workspace-CpmC9eWS.js → resolve-workspace-2tz7TqNG.js} +1 -1
- package/dist/{sdk-client-CMgf3JjV.js → sdk-client-Dif5z0JV.js} +17 -6
- package/dist/{selectHandler-D4dL2zUJ.js → selectHandler-Ciisve9X.js} +1 -1
- package/dist/{statusHandler-ChymW9I9.js → statusHandler-CUiL1y3w.js} +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -210,7 +210,7 @@ Examples:
|
|
|
210
210
|
aliases: { d: "device-code" }
|
|
211
211
|
},
|
|
212
212
|
loader: async () => {
|
|
213
|
-
const { loginHandler } = await import("./loginHandler-
|
|
213
|
+
const { loginHandler } = await import("./loginHandler-DlWJqsCW.js");
|
|
214
214
|
return loginHandler;
|
|
215
215
|
}
|
|
216
216
|
});
|
|
@@ -249,7 +249,7 @@ Examples:
|
|
|
249
249
|
},
|
|
250
250
|
parameters: {},
|
|
251
251
|
loader: async () => {
|
|
252
|
-
const { statusHandler } = await import("./statusHandler-
|
|
252
|
+
const { statusHandler } = await import("./statusHandler-CUiL1y3w.js");
|
|
253
253
|
return statusHandler;
|
|
254
254
|
}
|
|
255
255
|
});
|
|
@@ -361,7 +361,7 @@ Examples:
|
|
|
361
361
|
}
|
|
362
362
|
},
|
|
363
363
|
loader: async () => {
|
|
364
|
-
const { pushHandler } = await import("./pushHandler-
|
|
364
|
+
const { pushHandler } = await import("./pushHandler-U1DKVKqQ.js");
|
|
365
365
|
return pushHandler;
|
|
366
366
|
}
|
|
367
367
|
});
|
|
@@ -473,7 +473,7 @@ Examples:
|
|
|
473
473
|
}
|
|
474
474
|
},
|
|
475
475
|
loader: async () => {
|
|
476
|
-
const { importHandler } = await import("./importHandler-
|
|
476
|
+
const { importHandler } = await import("./importHandler-dhigBEFY.js");
|
|
477
477
|
return importHandler;
|
|
478
478
|
}
|
|
479
479
|
});
|
|
@@ -494,7 +494,7 @@ Examples:
|
|
|
494
494
|
},
|
|
495
495
|
parameters: {},
|
|
496
496
|
loader: async () => {
|
|
497
|
-
const { listHandler } = await import("./listHandler-
|
|
497
|
+
const { listHandler } = await import("./listHandler-C1mahccW.js");
|
|
498
498
|
return listHandler;
|
|
499
499
|
}
|
|
500
500
|
});
|
|
@@ -527,7 +527,7 @@ Examples:
|
|
|
527
527
|
flags: {}
|
|
528
528
|
},
|
|
529
529
|
loader: async () => {
|
|
530
|
-
const { selectHandler } = await import("./selectHandler-
|
|
530
|
+
const { selectHandler } = await import("./selectHandler-Ciisve9X.js");
|
|
531
531
|
return selectHandler;
|
|
532
532
|
}
|
|
533
533
|
});
|
|
@@ -551,7 +551,7 @@ Examples:
|
|
|
551
551
|
|
|
552
552
|
//#endregion
|
|
553
553
|
//#region package.json
|
|
554
|
-
var version = "0.7.
|
|
554
|
+
var version = "0.7.3";
|
|
555
555
|
|
|
556
556
|
//#endregion
|
|
557
557
|
//#region src/app.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getApiUrl } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-
|
|
2
|
+
import { configureClient, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-Dif5z0JV.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-2tz7TqNG.js";
|
|
5
5
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
6
6
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
7
7
|
import chalk from "chalk";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-Dif5z0JV.js";
|
|
3
3
|
import { loadWorkspace } from "./workspace-store-DDOxnut1.js";
|
|
4
4
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
5
5
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CLI_CLIENT_ID, getApiUrl, getAuthUrl, setSessionApiUrl, writeCredentials } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { configureClient } from "./sdk-client-
|
|
2
|
+
import { configureClient } from "./sdk-client-Dif5z0JV.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-2tz7TqNG.js";
|
|
5
5
|
import chalk from "chalk";
|
|
6
6
|
import { createHash, randomBytes } from "node:crypto";
|
|
7
7
|
import { createServer } from "node:http";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getApiUrl, getAutomationSourceIdOverride, getSourceOverride, getTeamId } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-
|
|
2
|
+
import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-Dif5z0JV.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-2tz7TqNG.js";
|
|
5
5
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
6
6
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
7
7
|
import { readFileSync, statSync } from "node:fs";
|
|
@@ -23,6 +23,8 @@ const zResponseIssueDto = z.object({
|
|
|
23
23
|
origin: z.string().optional().describe(""),
|
|
24
24
|
origin_detail: z.string().nullable().optional().describe(""),
|
|
25
25
|
origin_model: z.string().nullable().optional().describe(""),
|
|
26
|
+
origin_harness: z.string().nullable().optional().describe(""),
|
|
27
|
+
origin_harness_version: z.string().nullable().optional().describe(""),
|
|
26
28
|
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
27
29
|
verification_status: z.string().optional().describe(""),
|
|
28
30
|
confidence_score: z.number().nullable().optional().describe(""),
|
|
@@ -13319,7 +13321,7 @@ const zBulkFolderOperationDto = z.object({
|
|
|
13319
13321
|
labels: z.array(z.string()).optional(),
|
|
13320
13322
|
origin: z.enum(["authored", "automation"]).optional(),
|
|
13321
13323
|
entity_type: z.enum(["test", "run"]).optional(),
|
|
13322
|
-
is_root: z.unknown()
|
|
13324
|
+
is_root: z.unknown().optional().describe("")
|
|
13323
13325
|
}), z.object({
|
|
13324
13326
|
name: z.string().optional(),
|
|
13325
13327
|
description: z.string().optional(),
|
|
@@ -13329,7 +13331,7 @@ const zBulkFolderOperationDto = z.object({
|
|
|
13329
13331
|
sequence: z.string().optional(),
|
|
13330
13332
|
add_labels: z.array(z.string()).optional(),
|
|
13331
13333
|
remove_labels: z.array(z.string()).optional(),
|
|
13332
|
-
is_root: z.unknown()
|
|
13334
|
+
is_root: z.unknown().optional().describe("")
|
|
13333
13335
|
})]).optional().describe(""),
|
|
13334
13336
|
tx_id: z.string().describe("")
|
|
13335
13337
|
});
|
|
@@ -13373,7 +13375,7 @@ const zCreateFolderDto = z.object({
|
|
|
13373
13375
|
labels: z.array(z.string()).optional(),
|
|
13374
13376
|
origin: z.enum(["authored", "automation"]).optional(),
|
|
13375
13377
|
entity_type: z.enum(["test", "run"]).optional(),
|
|
13376
|
-
is_root: z.unknown()
|
|
13378
|
+
is_root: z.unknown().optional().describe("")
|
|
13377
13379
|
});
|
|
13378
13380
|
const zUpdateFolderDto = z.object({
|
|
13379
13381
|
name: z.string().optional(),
|
|
@@ -13384,7 +13386,7 @@ const zUpdateFolderDto = z.object({
|
|
|
13384
13386
|
sequence: z.string().optional(),
|
|
13385
13387
|
add_labels: z.array(z.string()).optional(),
|
|
13386
13388
|
remove_labels: z.array(z.string()).optional(),
|
|
13387
|
-
is_root: z.unknown()
|
|
13389
|
+
is_root: z.unknown().optional().describe("")
|
|
13388
13390
|
});
|
|
13389
13391
|
const zFolderFindAllV1Data = z.object({
|
|
13390
13392
|
query: z.object({
|
|
@@ -15616,7 +15618,6 @@ const zCreateIssueDto = z.object({
|
|
|
15616
15618
|
auto_closed_at: z.unknown().optional().describe(""),
|
|
15617
15619
|
origin: z.string().optional().describe(""),
|
|
15618
15620
|
origin_detail: z.string().nullable().optional().describe(""),
|
|
15619
|
-
origin_model: z.string().nullable().optional().describe(""),
|
|
15620
15621
|
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
15621
15622
|
verification_status: z.string().optional().describe(""),
|
|
15622
15623
|
confidence_score: z.number().nullable().optional().describe(""),
|
|
@@ -15654,7 +15655,6 @@ const zUpdateIssueDto = z.object({
|
|
|
15654
15655
|
auto_closed_at: z.unknown().optional().describe(""),
|
|
15655
15656
|
origin: z.string().optional().describe(""),
|
|
15656
15657
|
origin_detail: z.string().nullable().optional().describe(""),
|
|
15657
|
-
origin_model: z.string().nullable().optional().describe(""),
|
|
15658
15658
|
origin_run_result_id: z.string().nullable().optional().describe(""),
|
|
15659
15659
|
verification_status: z.string().optional().describe(""),
|
|
15660
15660
|
confidence_score: z.number().nullable().optional().describe(""),
|
|
@@ -15733,6 +15733,8 @@ const zIssueFindAllV1Data = z.object({
|
|
|
15733
15733
|
"filter.origin": z.array(z.string()).optional(),
|
|
15734
15734
|
"filter.origin_detail": z.array(z.string()).optional(),
|
|
15735
15735
|
"filter.origin_model": z.array(z.string()).optional(),
|
|
15736
|
+
"filter.origin_harness": z.array(z.string()).optional(),
|
|
15737
|
+
"filter.origin_harness_version": z.array(z.string()).optional(),
|
|
15736
15738
|
"filter.origin_run_result_id": z.array(z.string()).optional(),
|
|
15737
15739
|
"filter.verification_status": z.array(z.string()).optional(),
|
|
15738
15740
|
"filter.confidence_score": z.array(z.string()).optional(),
|
|
@@ -15794,6 +15796,10 @@ const zIssueFindAllV1Data = z.object({
|
|
|
15794
15796
|
"origin_detail:DESC",
|
|
15795
15797
|
"origin_model:ASC",
|
|
15796
15798
|
"origin_model:DESC",
|
|
15799
|
+
"origin_harness:ASC",
|
|
15800
|
+
"origin_harness:DESC",
|
|
15801
|
+
"origin_harness_version:ASC",
|
|
15802
|
+
"origin_harness_version:DESC",
|
|
15797
15803
|
"verification_status:ASC",
|
|
15798
15804
|
"verification_status:DESC",
|
|
15799
15805
|
"confidence_score:ASC",
|
|
@@ -27765,6 +27771,10 @@ const zTestResponseDto = z.object({
|
|
|
27765
27771
|
]).nullable().optional().describe(""),
|
|
27766
27772
|
to_automate: z.boolean().optional().describe(""),
|
|
27767
27773
|
origin: z.string().optional().describe(""),
|
|
27774
|
+
origin_detail: z.string().nullable().optional().describe(""),
|
|
27775
|
+
origin_model: z.string().nullable().optional().describe(""),
|
|
27776
|
+
origin_harness: z.string().nullable().optional().describe(""),
|
|
27777
|
+
origin_harness_version: z.string().nullable().optional().describe(""),
|
|
27768
27778
|
case_type_id: z.string().nullable().optional().describe(""),
|
|
27769
27779
|
folder_id: z.string().nullable().optional().describe(""),
|
|
27770
27780
|
sequence: z.string().nullable().optional().describe(""),
|
|
@@ -27834,6 +27844,7 @@ const zCreateTestDto = z.object({
|
|
|
27834
27844
|
]).nullable().optional().describe(""),
|
|
27835
27845
|
to_automate: z.boolean().optional().describe(""),
|
|
27836
27846
|
origin: z.string().optional().describe(""),
|
|
27847
|
+
origin_detail: z.string().nullable().optional().describe(""),
|
|
27837
27848
|
case_type_id: z.string().nullable().optional().describe(""),
|
|
27838
27849
|
folder_id: z.string().optional(),
|
|
27839
27850
|
sequence: z.string().nullable().optional().describe(""),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-Dif5z0JV.js";
|
|
3
3
|
import { saveWorkspace } from "./workspace-store-DDOxnut1.js";
|
|
4
4
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
5
5
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getApiUrl, getPatToken, readCredentials } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetProfileV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetProfileV1, configureClient } from "./sdk-client-Dif5z0JV.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|