@levr-one/cli 0.10.5 → 0.10.6
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 +8 -8
- package/dist/{importHandler-CVPZHLAZ.js → importHandler-B6NgpS8y.js} +2 -2
- package/dist/{listHandler-Kq68Ca6e.js → listHandler-Ex03FZ74.js} +1 -1
- package/dist/{loginHandler-CYrP8mF2.js → loginHandler-DabcJxdy.js} +2 -2
- package/dist/{pushHandler-C_xMOBVM.js → pushHandler-F0i0eU_Z.js} +2 -2
- package/dist/{resolve-workspace-ytMhhIYv.js → resolve-workspace-CeIDOFR2.js} +1 -1
- package/dist/{runHandler-ogFHd3e6.js → runHandler-yY1h60Vw.js} +2 -2
- package/dist/{sdk-client-Bn2yatEI.js → sdk-client-DZYtHmtI.js} +32 -9
- package/dist/{selectHandler-BaWUR0JQ.js → selectHandler-CpXdtjM8.js} +1 -1
- package/dist/{statusHandler-cMQSlF-A.js → statusHandler-BdqXsbIm.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-DabcJxdy.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-BdqXsbIm.js");
|
|
256
256
|
return statusHandler;
|
|
257
257
|
}
|
|
258
258
|
});
|
|
@@ -356,7 +356,7 @@ Examples:
|
|
|
356
356
|
}
|
|
357
357
|
},
|
|
358
358
|
loader: async () => {
|
|
359
|
-
const { pushHandler } = await import("./pushHandler-
|
|
359
|
+
const { pushHandler } = await import("./pushHandler-F0i0eU_Z.js");
|
|
360
360
|
return pushHandler;
|
|
361
361
|
}
|
|
362
362
|
});
|
|
@@ -476,7 +476,7 @@ Examples:
|
|
|
476
476
|
}
|
|
477
477
|
},
|
|
478
478
|
loader: async () => {
|
|
479
|
-
const { importHandler } = await import("./importHandler-
|
|
479
|
+
const { importHandler } = await import("./importHandler-B6NgpS8y.js");
|
|
480
480
|
return importHandler;
|
|
481
481
|
}
|
|
482
482
|
});
|
|
@@ -497,7 +497,7 @@ Examples:
|
|
|
497
497
|
},
|
|
498
498
|
parameters: {},
|
|
499
499
|
loader: async () => {
|
|
500
|
-
const { listHandler } = await import("./listHandler-
|
|
500
|
+
const { listHandler } = await import("./listHandler-Ex03FZ74.js");
|
|
501
501
|
return listHandler;
|
|
502
502
|
}
|
|
503
503
|
});
|
|
@@ -530,7 +530,7 @@ Examples:
|
|
|
530
530
|
flags: {}
|
|
531
531
|
},
|
|
532
532
|
loader: async () => {
|
|
533
|
-
const { selectHandler } = await import("./selectHandler-
|
|
533
|
+
const { selectHandler } = await import("./selectHandler-CpXdtjM8.js");
|
|
534
534
|
return selectHandler;
|
|
535
535
|
}
|
|
536
536
|
});
|
|
@@ -616,14 +616,14 @@ Examples:
|
|
|
616
616
|
}
|
|
617
617
|
},
|
|
618
618
|
loader: async () => {
|
|
619
|
-
const { gatesRunHandler } = await import("./runHandler-
|
|
619
|
+
const { gatesRunHandler } = await import("./runHandler-yY1h60Vw.js");
|
|
620
620
|
return gatesRunHandler;
|
|
621
621
|
}
|
|
622
622
|
});
|
|
623
623
|
|
|
624
624
|
//#endregion
|
|
625
625
|
//#region package.json
|
|
626
|
-
var version = "0.10.
|
|
626
|
+
var version = "0.10.6";
|
|
627
627
|
|
|
628
628
|
//#endregion
|
|
629
629
|
//#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-DZYtHmtI.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-CeIDOFR2.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-DZYtHmtI.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-DZYtHmtI.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-CeIDOFR2.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, uploadImport } from "./sdk-client-
|
|
2
|
+
import { client, configureClient, uploadImport } from "./sdk-client-DZYtHmtI.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-CeIDOFR2.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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { client, configureClient, issueFindAllV1, issueGateVerificationReportGateResultsV1, issueGateVerificationVerifyGatesV1 } from "./sdk-client-
|
|
2
|
+
import { client, configureClient, issueFindAllV1, issueGateVerificationReportGateResultsV1, issueGateVerificationVerifyGatesV1 } from "./sdk-client-DZYtHmtI.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-CeIDOFR2.js";
|
|
5
5
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
6
6
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
7
7
|
import { existsSync } from "node:fs";
|
|
@@ -13650,7 +13650,7 @@ const zCreateGateDefinitionDto = z.object({
|
|
|
13650
13650
|
is_system: z.boolean().nullable().optional().describe(""),
|
|
13651
13651
|
is_default: z.boolean().optional().describe(""),
|
|
13652
13652
|
sort_order: z.number().optional().describe(""),
|
|
13653
|
-
|
|
13653
|
+
technique: z.string().optional().describe(""),
|
|
13654
13654
|
estimated_cost: z.number().nullable().optional().describe(""),
|
|
13655
13655
|
estimated_duration_ms: z.number().nullable().optional().describe(""),
|
|
13656
13656
|
resolver_template: z.unknown().optional().describe("")
|
|
@@ -13669,7 +13669,7 @@ const zResponseGateDefinitionDto = z.object({
|
|
|
13669
13669
|
is_system: z.boolean().nullable().optional().describe(""),
|
|
13670
13670
|
is_default: z.boolean().optional().describe(""),
|
|
13671
13671
|
sort_order: z.number().optional().describe(""),
|
|
13672
|
-
|
|
13672
|
+
technique: z.string().optional().describe(""),
|
|
13673
13673
|
estimated_cost: z.number().nullable().optional().describe(""),
|
|
13674
13674
|
estimated_duration_ms: z.number().nullable().optional().describe(""),
|
|
13675
13675
|
resolver_template: z.unknown().optional().describe(""),
|
|
@@ -13696,7 +13696,7 @@ const zUpdateGateDefinitionDto = z.object({
|
|
|
13696
13696
|
is_system: z.boolean().nullable().optional().describe(""),
|
|
13697
13697
|
is_default: z.boolean().optional().describe(""),
|
|
13698
13698
|
sort_order: z.number().optional().describe(""),
|
|
13699
|
-
|
|
13699
|
+
technique: z.string().optional().describe(""),
|
|
13700
13700
|
estimated_cost: z.number().nullable().optional().describe(""),
|
|
13701
13701
|
estimated_duration_ms: z.number().nullable().optional().describe(""),
|
|
13702
13702
|
resolver_template: z.unknown().optional().describe("")
|
|
@@ -13753,7 +13753,7 @@ const zGateDefinitionFindAllV1Data = z.object({
|
|
|
13753
13753
|
"filter.is_system": z.array(z.string()).optional(),
|
|
13754
13754
|
"filter.is_default": z.array(z.string()).optional(),
|
|
13755
13755
|
"filter.sort_order": z.array(z.string()).optional(),
|
|
13756
|
-
"filter.
|
|
13756
|
+
"filter.technique": z.array(z.string()).optional(),
|
|
13757
13757
|
"filter.estimated_cost": z.array(z.string()).optional(),
|
|
13758
13758
|
"filter.estimated_duration_ms": z.array(z.string()).optional(),
|
|
13759
13759
|
"filter.created_at": z.array(z.string()).optional(),
|
|
@@ -13781,8 +13781,8 @@ const zGateDefinitionFindAllV1Data = z.object({
|
|
|
13781
13781
|
"color:DESC",
|
|
13782
13782
|
"sort_order:ASC",
|
|
13783
13783
|
"sort_order:DESC",
|
|
13784
|
-
"
|
|
13785
|
-
"
|
|
13784
|
+
"technique:ASC",
|
|
13785
|
+
"technique:DESC",
|
|
13786
13786
|
"estimated_cost:ASC",
|
|
13787
13787
|
"estimated_cost:DESC",
|
|
13788
13788
|
"estimated_duration_ms:ASC",
|
|
@@ -28473,7 +28473,15 @@ const zUpdateTestDto = z.object({
|
|
|
28473
28473
|
type: z.enum(["guided"]),
|
|
28474
28474
|
step: z.string(),
|
|
28475
28475
|
expected_result: z.string().optional(),
|
|
28476
|
-
result: z.string().optional()
|
|
28476
|
+
result: z.string().optional(),
|
|
28477
|
+
technique: z.enum([
|
|
28478
|
+
"presence",
|
|
28479
|
+
"pattern",
|
|
28480
|
+
"structure",
|
|
28481
|
+
"semantic",
|
|
28482
|
+
"execution",
|
|
28483
|
+
"state"
|
|
28484
|
+
]).optional()
|
|
28477
28485
|
}),
|
|
28478
28486
|
z.object({
|
|
28479
28487
|
id: z.string().optional(),
|
|
@@ -28488,14 +28496,29 @@ const zUpdateTestDto = z.object({
|
|
|
28488
28496
|
"But",
|
|
28489
28497
|
"*"
|
|
28490
28498
|
]).optional(),
|
|
28491
|
-
data_table: z.object({ rows: z.array(z.array(z.string())) }).optional()
|
|
28499
|
+
data_table: z.object({ rows: z.array(z.array(z.string())) }).optional(),
|
|
28500
|
+
technique: z.enum([
|
|
28501
|
+
"presence",
|
|
28502
|
+
"pattern",
|
|
28503
|
+
"structure",
|
|
28504
|
+
"semantic",
|
|
28505
|
+
"execution",
|
|
28506
|
+
"state"
|
|
28507
|
+
]).optional()
|
|
28492
28508
|
}),
|
|
28493
28509
|
z.object({
|
|
28494
28510
|
id: z.string().optional(),
|
|
28495
28511
|
type: z.string(),
|
|
28496
28512
|
params: z.record(z.string(), z.unknown()).optional(),
|
|
28497
28513
|
expected_result: z.string().optional(),
|
|
28498
|
-
|
|
28514
|
+
technique: z.enum([
|
|
28515
|
+
"presence",
|
|
28516
|
+
"pattern",
|
|
28517
|
+
"structure",
|
|
28518
|
+
"semantic",
|
|
28519
|
+
"execution",
|
|
28520
|
+
"state"
|
|
28521
|
+
]).optional()
|
|
28499
28522
|
})
|
|
28500
28523
|
])).optional()
|
|
28501
28524
|
}).optional(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-DZYtHmtI.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-DZYtHmtI.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|