@levr-one/cli 0.9.2 → 0.9.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-DMHRqTfy.js → importHandler-Cu4T-M93.js} +2 -2
- package/dist/{listHandler-BKPnBfyP.js → listHandler-bGK_E1r4.js} +1 -1
- package/dist/{loginHandler-JJ19zYDT.js → loginHandler-1lqeeqFI.js} +2 -2
- package/dist/{pushHandler-BgKV89Xk.js → pushHandler-xvgRbybb.js} +2 -2
- package/dist/{resolve-workspace-93SQuXLH.js → resolve-workspace-Nk6hxDgw.js} +1 -1
- package/dist/{sdk-client-B3k8Urzu.js → sdk-client-7EqfEICk.js} +3 -79
- package/dist/{selectHandler-DpIbLw9Z.js → selectHandler-Dqasmzu-.js} +1 -1
- package/dist/{statusHandler-BqRdQjND.js → statusHandler-BxJVa8EQ.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-1lqeeqFI.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-BxJVa8EQ.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-xvgRbybb.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-Cu4T-M93.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-bGK_E1r4.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-Dqasmzu-.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.3";
|
|
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-7EqfEICk.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-Nk6hxDgw.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-7EqfEICk.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-7EqfEICk.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-Nk6hxDgw.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-7EqfEICk.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-Nk6hxDgw.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";
|
|
@@ -13112,7 +13112,6 @@ const zFolderWithChildrenDto = z.object({
|
|
|
13112
13112
|
data: z.record(z.string(), z.unknown()).optional(),
|
|
13113
13113
|
sequence: z.string(),
|
|
13114
13114
|
labels: z.array(z.string()),
|
|
13115
|
-
is_automated: z.boolean(),
|
|
13116
13115
|
automation_status: z.string(),
|
|
13117
13116
|
automation_type: z.string(),
|
|
13118
13117
|
priority: z.number(),
|
|
@@ -13122,16 +13121,7 @@ const zFolderWithChildrenDto = z.object({
|
|
|
13122
13121
|
updated_by: z.string(),
|
|
13123
13122
|
epoch: z.number(),
|
|
13124
13123
|
key: z.number(),
|
|
13125
|
-
assignee_id: z.string().optional()
|
|
13126
|
-
test_type: z.enum([
|
|
13127
|
-
"manual",
|
|
13128
|
-
"text",
|
|
13129
|
-
"prometheus",
|
|
13130
|
-
"gherkin",
|
|
13131
|
-
"generic_automation",
|
|
13132
|
-
"yaml"
|
|
13133
|
-
]).nullable(),
|
|
13134
|
-
to_automate: z.boolean()
|
|
13124
|
+
assignee_id: z.string().optional()
|
|
13135
13125
|
}),
|
|
13136
13126
|
z.object({
|
|
13137
13127
|
type: z.enum(["run"]),
|
|
@@ -13193,7 +13183,6 @@ const zRootLevelResponseDto = z.object({
|
|
|
13193
13183
|
data: z.record(z.string(), z.unknown()).optional(),
|
|
13194
13184
|
sequence: z.string(),
|
|
13195
13185
|
labels: z.array(z.string()),
|
|
13196
|
-
is_automated: z.boolean(),
|
|
13197
13186
|
automation_status: z.string(),
|
|
13198
13187
|
automation_type: z.string(),
|
|
13199
13188
|
priority: z.number(),
|
|
@@ -13203,16 +13192,7 @@ const zRootLevelResponseDto = z.object({
|
|
|
13203
13192
|
updated_by: z.string(),
|
|
13204
13193
|
epoch: z.number(),
|
|
13205
13194
|
key: z.number(),
|
|
13206
|
-
assignee_id: z.string().optional()
|
|
13207
|
-
test_type: z.enum([
|
|
13208
|
-
"manual",
|
|
13209
|
-
"text",
|
|
13210
|
-
"prometheus",
|
|
13211
|
-
"gherkin",
|
|
13212
|
-
"generic_automation",
|
|
13213
|
-
"yaml"
|
|
13214
|
-
]).nullable(),
|
|
13215
|
-
to_automate: z.boolean()
|
|
13195
|
+
assignee_id: z.string().optional()
|
|
13216
13196
|
}), z.object({
|
|
13217
13197
|
type: z.enum(["run"]),
|
|
13218
13198
|
id: z.string(),
|
|
@@ -13293,7 +13273,6 @@ const zFolderChildrenResponseDto = z.object({
|
|
|
13293
13273
|
data: z.record(z.string(), z.unknown()).optional(),
|
|
13294
13274
|
sequence: z.string(),
|
|
13295
13275
|
labels: z.array(z.string()),
|
|
13296
|
-
is_automated: z.boolean(),
|
|
13297
13276
|
automation_status: z.string(),
|
|
13298
13277
|
automation_type: z.string(),
|
|
13299
13278
|
priority: z.number(),
|
|
@@ -13303,16 +13282,7 @@ const zFolderChildrenResponseDto = z.object({
|
|
|
13303
13282
|
updated_by: z.string(),
|
|
13304
13283
|
epoch: z.number(),
|
|
13305
13284
|
key: z.number(),
|
|
13306
|
-
assignee_id: z.string().optional()
|
|
13307
|
-
test_type: z.enum([
|
|
13308
|
-
"manual",
|
|
13309
|
-
"text",
|
|
13310
|
-
"prometheus",
|
|
13311
|
-
"gherkin",
|
|
13312
|
-
"generic_automation",
|
|
13313
|
-
"yaml"
|
|
13314
|
-
]).nullable(),
|
|
13315
|
-
to_automate: z.boolean()
|
|
13285
|
+
assignee_id: z.string().optional()
|
|
13316
13286
|
}),
|
|
13317
13287
|
z.object({
|
|
13318
13288
|
type: z.enum(["run"]),
|
|
@@ -24329,12 +24299,6 @@ const zRunNodeDto = z.object({
|
|
|
24329
24299
|
original_parent_run_id: z.string().nullable(),
|
|
24330
24300
|
name: z.string(),
|
|
24331
24301
|
key: z.number().optional(),
|
|
24332
|
-
run_type: z.enum([
|
|
24333
|
-
"manual",
|
|
24334
|
-
"automated",
|
|
24335
|
-
"ci",
|
|
24336
|
-
"scheduled"
|
|
24337
|
-
]),
|
|
24338
24302
|
triggered_by: z.enum([
|
|
24339
24303
|
"user",
|
|
24340
24304
|
"ci",
|
|
@@ -24344,7 +24308,6 @@ const zRunNodeDto = z.object({
|
|
|
24344
24308
|
started_at: z.unknown(),
|
|
24345
24309
|
ended_at: z.unknown(),
|
|
24346
24310
|
is_complete: z.boolean(),
|
|
24347
|
-
is_automated: z.boolean(),
|
|
24348
24311
|
host_name: z.string().nullable(),
|
|
24349
24312
|
source: z.record(z.string(), z.unknown()).nullable(),
|
|
24350
24313
|
status_type: z.string().optional(),
|
|
@@ -24396,12 +24359,6 @@ const zCreateRunDto = z.object({
|
|
|
24396
24359
|
cycle_id: z.string().nullable(),
|
|
24397
24360
|
auto_add_tests_to_team: z.boolean().optional(),
|
|
24398
24361
|
name: z.string().optional(),
|
|
24399
|
-
run_type: z.enum([
|
|
24400
|
-
"manual",
|
|
24401
|
-
"automated",
|
|
24402
|
-
"ci",
|
|
24403
|
-
"scheduled"
|
|
24404
|
-
]).optional(),
|
|
24405
24362
|
triggered_by: z.enum([
|
|
24406
24363
|
"user",
|
|
24407
24364
|
"ci",
|
|
@@ -24409,7 +24366,6 @@ const zCreateRunDto = z.object({
|
|
|
24409
24366
|
"pr"
|
|
24410
24367
|
]).optional(),
|
|
24411
24368
|
host_name: z.string().nullable(),
|
|
24412
|
-
is_automated: z.boolean().optional(),
|
|
24413
24369
|
environment_ids: z.array(z.string()).optional(),
|
|
24414
24370
|
test_inclusions: z.array(z.object({
|
|
24415
24371
|
test_id: z.string(),
|
|
@@ -24421,7 +24377,6 @@ const zCreateRunDto = z.object({
|
|
|
24421
24377
|
const zUpdateRunDto = z.object({
|
|
24422
24378
|
name: z.string().optional(),
|
|
24423
24379
|
host_name: z.string().nullable(),
|
|
24424
|
-
is_automated: z.boolean().optional(),
|
|
24425
24380
|
is_complete: z.boolean().optional(),
|
|
24426
24381
|
project_id: z.string().nullable(),
|
|
24427
24382
|
cycle_id: z.string().nullable(),
|
|
@@ -24440,12 +24395,6 @@ const zRunWithContentDto = z.object({
|
|
|
24440
24395
|
original_parent_run_id: z.string().nullable(),
|
|
24441
24396
|
name: z.string(),
|
|
24442
24397
|
key: z.number().optional(),
|
|
24443
|
-
run_type: z.enum([
|
|
24444
|
-
"manual",
|
|
24445
|
-
"automated",
|
|
24446
|
-
"ci",
|
|
24447
|
-
"scheduled"
|
|
24448
|
-
]),
|
|
24449
24398
|
triggered_by: z.enum([
|
|
24450
24399
|
"user",
|
|
24451
24400
|
"ci",
|
|
@@ -24455,7 +24404,6 @@ const zRunWithContentDto = z.object({
|
|
|
24455
24404
|
started_at: z.unknown(),
|
|
24456
24405
|
ended_at: z.unknown(),
|
|
24457
24406
|
is_complete: z.boolean(),
|
|
24458
|
-
is_automated: z.boolean(),
|
|
24459
24407
|
host_name: z.string().nullable(),
|
|
24460
24408
|
source: z.record(z.string(), z.unknown()).nullable(),
|
|
24461
24409
|
status_type: z.string().optional(),
|
|
@@ -24535,7 +24483,6 @@ const zRunWithContentDto = z.object({
|
|
|
24535
24483
|
name: z.string(),
|
|
24536
24484
|
description: z.string().nullable(),
|
|
24537
24485
|
key: z.number(),
|
|
24538
|
-
is_automated: z.boolean(),
|
|
24539
24486
|
priority: z.number(),
|
|
24540
24487
|
epoch: z.number(),
|
|
24541
24488
|
precondition: z.string().nullable()
|
|
@@ -24584,7 +24531,6 @@ const zRunResultNodeDto = z.object({
|
|
|
24584
24531
|
name: z.string(),
|
|
24585
24532
|
description: z.string().nullable(),
|
|
24586
24533
|
key: z.number(),
|
|
24587
|
-
is_automated: z.boolean(),
|
|
24588
24534
|
priority: z.number(),
|
|
24589
24535
|
epoch: z.number(),
|
|
24590
24536
|
precondition: z.string().nullable()
|
|
@@ -28116,19 +28062,9 @@ const zTestResponseDto = z.object({
|
|
|
28116
28062
|
priority: z.number().optional(),
|
|
28117
28063
|
data: z.unknown().optional().describe(""),
|
|
28118
28064
|
assignee_id: z.string().nullable().optional().describe(""),
|
|
28119
|
-
is_automated: z.boolean().optional().describe(""),
|
|
28120
28065
|
key: z.number().optional().describe(""),
|
|
28121
28066
|
identifier: z.string().optional().describe(""),
|
|
28122
28067
|
state_mask: z.number().nullable().optional().describe(""),
|
|
28123
|
-
test_type: z.enum([
|
|
28124
|
-
"manual",
|
|
28125
|
-
"text",
|
|
28126
|
-
"prometheus",
|
|
28127
|
-
"gherkin",
|
|
28128
|
-
"generic_automation",
|
|
28129
|
-
"yaml"
|
|
28130
|
-
]).nullable().optional().describe(""),
|
|
28131
|
-
to_automate: z.boolean().optional().describe(""),
|
|
28132
28068
|
automation_status: z.enum([
|
|
28133
28069
|
"not_automated",
|
|
28134
28070
|
"to_automate",
|
|
@@ -28199,19 +28135,9 @@ const zCreateTestDto = z.object({
|
|
|
28199
28135
|
priority: z.number().optional().describe(""),
|
|
28200
28136
|
data: z.unknown().optional().describe(""),
|
|
28201
28137
|
assignee_id: z.string().nullable().optional().describe(""),
|
|
28202
|
-
is_automated: z.boolean().optional().describe(""),
|
|
28203
28138
|
key: z.number().optional().describe(""),
|
|
28204
28139
|
identifier: z.string().optional().describe(""),
|
|
28205
28140
|
state_mask: z.number().nullable().optional().describe(""),
|
|
28206
|
-
test_type: z.enum([
|
|
28207
|
-
"manual",
|
|
28208
|
-
"text",
|
|
28209
|
-
"prometheus",
|
|
28210
|
-
"gherkin",
|
|
28211
|
-
"generic_automation",
|
|
28212
|
-
"yaml"
|
|
28213
|
-
]).nullable().optional().describe(""),
|
|
28214
|
-
to_automate: z.boolean().optional().describe(""),
|
|
28215
28141
|
automation_status: z.enum([
|
|
28216
28142
|
"not_automated",
|
|
28217
28143
|
"to_automate",
|
|
@@ -28254,8 +28180,6 @@ const zUpdateTestDto = z.object({
|
|
|
28254
28180
|
"automated",
|
|
28255
28181
|
"agentic"
|
|
28256
28182
|
]).optional(),
|
|
28257
|
-
is_automated: z.boolean().optional(),
|
|
28258
|
-
to_automate: z.boolean().optional(),
|
|
28259
28183
|
state_mask: z.number().optional(),
|
|
28260
28184
|
assignee_id: z.string().optional(),
|
|
28261
28185
|
data: z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-7EqfEICk.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-7EqfEICk.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|