@levr-one/cli 0.9.13 → 0.9.15
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-C3w-uUQ_.js → importHandler-DoNORUuK.js} +2 -2
- package/dist/{listHandler-CKsZ1_8V.js → listHandler-EwAt3LmQ.js} +1 -1
- package/dist/{loginHandler-B7ggggGI.js → loginHandler-BBxVMqia.js} +2 -2
- package/dist/{pushHandler-C7s-Ki18.js → pushHandler-Dc-EvbXq.js} +2 -2
- package/dist/{resolve-workspace-febNMGo2.js → resolve-workspace-DAurGXZy.js} +1 -1
- package/dist/{sdk-client-QtfUKoae.js → sdk-client-BmBVKZHM.js} +21 -6
- package/dist/{selectHandler-CdQ4t9Zd.js → selectHandler-CaL5YAbK.js} +1 -1
- package/dist/{statusHandler-D5n1x-lz.js → statusHandler-C_PytmAh.js} +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -213,7 +213,7 @@ Examples:
|
|
|
213
213
|
aliases: { d: "device-code" }
|
|
214
214
|
},
|
|
215
215
|
loader: async () => {
|
|
216
|
-
const { loginHandler } = await import("./loginHandler-
|
|
216
|
+
const { loginHandler } = await import("./loginHandler-BBxVMqia.js");
|
|
217
217
|
return loginHandler;
|
|
218
218
|
}
|
|
219
219
|
});
|
|
@@ -252,7 +252,7 @@ Examples:
|
|
|
252
252
|
},
|
|
253
253
|
parameters: {},
|
|
254
254
|
loader: async () => {
|
|
255
|
-
const { statusHandler } = await import("./statusHandler-
|
|
255
|
+
const { statusHandler } = await import("./statusHandler-C_PytmAh.js");
|
|
256
256
|
return statusHandler;
|
|
257
257
|
}
|
|
258
258
|
});
|
|
@@ -364,7 +364,7 @@ Examples:
|
|
|
364
364
|
}
|
|
365
365
|
},
|
|
366
366
|
loader: async () => {
|
|
367
|
-
const { pushHandler } = await import("./pushHandler-
|
|
367
|
+
const { pushHandler } = await import("./pushHandler-Dc-EvbXq.js");
|
|
368
368
|
return pushHandler;
|
|
369
369
|
}
|
|
370
370
|
});
|
|
@@ -484,7 +484,7 @@ Examples:
|
|
|
484
484
|
}
|
|
485
485
|
},
|
|
486
486
|
loader: async () => {
|
|
487
|
-
const { importHandler } = await import("./importHandler-
|
|
487
|
+
const { importHandler } = await import("./importHandler-DoNORUuK.js");
|
|
488
488
|
return importHandler;
|
|
489
489
|
}
|
|
490
490
|
});
|
|
@@ -505,7 +505,7 @@ Examples:
|
|
|
505
505
|
},
|
|
506
506
|
parameters: {},
|
|
507
507
|
loader: async () => {
|
|
508
|
-
const { listHandler } = await import("./listHandler-
|
|
508
|
+
const { listHandler } = await import("./listHandler-EwAt3LmQ.js");
|
|
509
509
|
return listHandler;
|
|
510
510
|
}
|
|
511
511
|
});
|
|
@@ -538,7 +538,7 @@ Examples:
|
|
|
538
538
|
flags: {}
|
|
539
539
|
},
|
|
540
540
|
loader: async () => {
|
|
541
|
-
const { selectHandler } = await import("./selectHandler-
|
|
541
|
+
const { selectHandler } = await import("./selectHandler-CaL5YAbK.js");
|
|
542
542
|
return selectHandler;
|
|
543
543
|
}
|
|
544
544
|
});
|
|
@@ -562,7 +562,7 @@ Examples:
|
|
|
562
562
|
|
|
563
563
|
//#endregion
|
|
564
564
|
//#region package.json
|
|
565
|
-
var version = "0.9.
|
|
565
|
+
var version = "0.9.15";
|
|
566
566
|
|
|
567
567
|
//#endregion
|
|
568
568
|
//#region src/app.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getApiUrl, getTeamId } from "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetProfileV1, configureClient, teamFindAllV1, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-
|
|
2
|
+
import { authGetProfileV1, configureClient, teamFindAllV1, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-BmBVKZHM.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-DAurGXZy.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-BmBVKZHM.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-BmBVKZHM.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-DAurGXZy.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-BmBVKZHM.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-DAurGXZy.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";
|
|
@@ -2795,10 +2795,9 @@ const zCreateAutomationRunDto = z.object({
|
|
|
2795
2795
|
"skipped",
|
|
2796
2796
|
"pending",
|
|
2797
2797
|
"todo",
|
|
2798
|
-
"timed_out",
|
|
2799
|
-
"interrupted",
|
|
2800
2798
|
"unknown"
|
|
2801
2799
|
]).optional().describe(""),
|
|
2800
|
+
blocked_by_flaky: z.boolean().optional().describe(""),
|
|
2802
2801
|
raw_status: z.string().nullable().optional().describe(""),
|
|
2803
2802
|
total_tests: z.number().optional().describe(""),
|
|
2804
2803
|
passed_count: z.number().optional().describe(""),
|
|
@@ -2850,10 +2849,9 @@ const zResponseAutomationRunDto = z.object({
|
|
|
2850
2849
|
"skipped",
|
|
2851
2850
|
"pending",
|
|
2852
2851
|
"todo",
|
|
2853
|
-
"timed_out",
|
|
2854
|
-
"interrupted",
|
|
2855
2852
|
"unknown"
|
|
2856
2853
|
]).optional().describe(""),
|
|
2854
|
+
blocked_by_flaky: z.boolean().optional().describe(""),
|
|
2857
2855
|
raw_status: z.string().nullable().optional().describe(""),
|
|
2858
2856
|
total_tests: z.number().optional().describe(""),
|
|
2859
2857
|
passed_count: z.number().optional().describe(""),
|
|
@@ -2916,10 +2914,9 @@ const zUpdateAutomationRunDto = z.object({
|
|
|
2916
2914
|
"skipped",
|
|
2917
2915
|
"pending",
|
|
2918
2916
|
"todo",
|
|
2919
|
-
"timed_out",
|
|
2920
|
-
"interrupted",
|
|
2921
2917
|
"unknown"
|
|
2922
2918
|
]).optional().describe(""),
|
|
2919
|
+
blocked_by_flaky: z.boolean().optional().describe(""),
|
|
2923
2920
|
raw_status: z.string().nullable().optional().describe(""),
|
|
2924
2921
|
total_tests: z.number().optional().describe(""),
|
|
2925
2922
|
passed_count: z.number().optional().describe(""),
|
|
@@ -3004,6 +3001,7 @@ const zAutomationRunFindAllV1Data = z.object({
|
|
|
3004
3001
|
"filter.ended_at": z.array(z.string()).optional(),
|
|
3005
3002
|
"filter.total_duration_ms": z.array(z.string()).optional(),
|
|
3006
3003
|
"filter.is_complete": z.array(z.string()).optional(),
|
|
3004
|
+
"filter.blocked_by_flaky": z.array(z.string()).optional(),
|
|
3007
3005
|
"filter.raw_status": z.array(z.string()).optional(),
|
|
3008
3006
|
"filter.total_tests": z.array(z.string()).optional(),
|
|
3009
3007
|
"filter.passed_count": z.array(z.string()).optional(),
|
|
@@ -4099,6 +4097,11 @@ const zCreateAutomationTestDto = z.object({
|
|
|
4099
4097
|
"unknown"
|
|
4100
4098
|
]).nullable().optional().describe(""),
|
|
4101
4099
|
flake_score: z.number().nullable().optional().describe(""),
|
|
4100
|
+
health_status: z.enum([
|
|
4101
|
+
"healthy",
|
|
4102
|
+
"flaky",
|
|
4103
|
+
"broken"
|
|
4104
|
+
]).nullable().optional().describe(""),
|
|
4102
4105
|
is_dormant: z.boolean().optional().describe(""),
|
|
4103
4106
|
extra: z.unknown().optional().describe(""),
|
|
4104
4107
|
team_id: z.string(),
|
|
@@ -4141,6 +4144,11 @@ const zResponseAutomationTestDto = z.object({
|
|
|
4141
4144
|
"unknown"
|
|
4142
4145
|
]).nullable().optional().describe(""),
|
|
4143
4146
|
flake_score: z.number().nullable().optional().describe(""),
|
|
4147
|
+
health_status: z.enum([
|
|
4148
|
+
"healthy",
|
|
4149
|
+
"flaky",
|
|
4150
|
+
"broken"
|
|
4151
|
+
]).nullable().optional().describe(""),
|
|
4144
4152
|
is_dormant: z.boolean().optional().describe(""),
|
|
4145
4153
|
extra: z.unknown().optional().describe(""),
|
|
4146
4154
|
team_id: z.string(),
|
|
@@ -4191,6 +4199,11 @@ const zUpdateAutomationTestDto = z.object({
|
|
|
4191
4199
|
"unknown"
|
|
4192
4200
|
]).nullable().optional().describe(""),
|
|
4193
4201
|
flake_score: z.number().nullable().optional().describe(""),
|
|
4202
|
+
health_status: z.enum([
|
|
4203
|
+
"healthy",
|
|
4204
|
+
"flaky",
|
|
4205
|
+
"broken"
|
|
4206
|
+
]).nullable().optional().describe(""),
|
|
4194
4207
|
is_dormant: z.boolean().optional().describe(""),
|
|
4195
4208
|
extra: z.unknown().optional().describe(""),
|
|
4196
4209
|
team_id: z.string().optional(),
|
|
@@ -24296,6 +24309,7 @@ const zRunNodeDto = z.object({
|
|
|
24296
24309
|
original_parent_run_id: z.string().nullable(),
|
|
24297
24310
|
name: z.string(),
|
|
24298
24311
|
key: z.number().optional(),
|
|
24312
|
+
identifier: z.string().nullable(),
|
|
24299
24313
|
triggered_by: z.enum([
|
|
24300
24314
|
"user",
|
|
24301
24315
|
"ci",
|
|
@@ -24394,6 +24408,7 @@ const zRunWithContentDto = z.object({
|
|
|
24394
24408
|
original_parent_run_id: z.string().nullable(),
|
|
24395
24409
|
name: z.string(),
|
|
24396
24410
|
key: z.number().optional(),
|
|
24411
|
+
identifier: z.string().nullable(),
|
|
24397
24412
|
triggered_by: z.enum([
|
|
24398
24413
|
"user",
|
|
24399
24414
|
"ci",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-BmBVKZHM.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-BmBVKZHM.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|