@levr-one/cli 0.10.10 → 0.10.11
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-CqdSGj8P.js → importHandler-CFwyOghr.js} +2 -2
- package/dist/{listHandler-CnIy5C0o.js → listHandler-BAP32APy.js} +1 -1
- package/dist/{loginHandler-BEAK_ST9.js → loginHandler-DOX5avmM.js} +2 -2
- package/dist/{pushHandler-DkSG9TKY.js → pushHandler-CnwXsuTh.js} +2 -2
- package/dist/{resolve-workspace-D-i3wAp9.js → resolve-workspace-DpuF09Vk.js} +1 -1
- package/dist/{runHandler-TE1-pBHz.js → runHandler-DW2302V4.js} +2 -2
- package/dist/{sdk-client-QhMvu4hm.js → sdk-client-Bctw64Tz.js} +14 -11
- package/dist/{selectHandler-330LXZUs.js → selectHandler-C5OhkCfC.js} +1 -1
- package/dist/{statusHandler-Bwilh8VX.js → statusHandler-C6c-IPAg.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-DOX5avmM.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-C6c-IPAg.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-CnwXsuTh.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-CFwyOghr.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-BAP32APy.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-C5OhkCfC.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-DW2302V4.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.11";
|
|
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-Bctw64Tz.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-DpuF09Vk.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-Bctw64Tz.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-Bctw64Tz.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { autoSelectWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { autoSelectWorkspace } from "./resolve-workspace-DpuF09Vk.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-Bctw64Tz.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-DpuF09Vk.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-Bctw64Tz.js";
|
|
3
3
|
import "./workspace-store-DDOxnut1.js";
|
|
4
|
-
import { resolveWorkspace } from "./resolve-workspace-
|
|
4
|
+
import { resolveWorkspace } from "./resolve-workspace-DpuF09Vk.js";
|
|
5
5
|
import "./token-refresh-Cu5RpkLJ.js";
|
|
6
6
|
import { resolveToken } from "./resolve-token-DbQsmn03.js";
|
|
7
7
|
import { existsSync } from "node:fs";
|
|
@@ -13824,7 +13824,6 @@ const zGateDefinitionRestoreV1Data = z.object({
|
|
|
13824
13824
|
|
|
13825
13825
|
//#endregion
|
|
13826
13826
|
//#region ../sdk/dist/gen/gate-instance/zod.js
|
|
13827
|
-
const zGateInstanceWaiveGateV1Body = z.object({ reason: z.string().describe("") });
|
|
13828
13827
|
const zCreateGateInstanceDto = z.object({
|
|
13829
13828
|
id: z.string().optional().describe(""),
|
|
13830
13829
|
status: z.string().optional().describe(""),
|
|
@@ -14004,15 +14003,6 @@ const zGateInstanceRestoreV1Data = z.object({
|
|
|
14004
14003
|
path: z.object({ "id": z.string() }),
|
|
14005
14004
|
url: z.literal("/v1/gate-instance/{id}/restore")
|
|
14006
14005
|
});
|
|
14007
|
-
const zGateInstanceWaiveGateV1Data = z.object({
|
|
14008
|
-
body: zGateInstanceWaiveGateV1Body,
|
|
14009
|
-
path: z.object({ "id": z.string() }),
|
|
14010
|
-
url: z.literal("/v1/gate-instance/{id}/waive")
|
|
14011
|
-
});
|
|
14012
|
-
const zGateInstanceRevokeWaiverV1Data = z.object({
|
|
14013
|
-
path: z.object({ "id": z.string() }),
|
|
14014
|
-
url: z.literal("/v1/gate-instance/{id}/revoke-waiver")
|
|
14015
|
-
});
|
|
14016
14006
|
|
|
14017
14007
|
//#endregion
|
|
14018
14008
|
//#region ../sdk/dist/gen/gate-result/zod.js
|
|
@@ -14373,6 +14363,19 @@ const zGateSetDefinitionRestoreV1Data = z.object({
|
|
|
14373
14363
|
url: z.literal("/v1/gate-set-definition/{id}/restore")
|
|
14374
14364
|
});
|
|
14375
14365
|
|
|
14366
|
+
//#endregion
|
|
14367
|
+
//#region ../sdk/dist/gen/gate-waiver/zod.js
|
|
14368
|
+
const zGateWaiverWaiveGateV1Body = z.object({ reason: z.string().describe("") });
|
|
14369
|
+
const zGateWaiverWaiveGateV1Data = z.object({
|
|
14370
|
+
body: zGateWaiverWaiveGateV1Body,
|
|
14371
|
+
path: z.object({ "linkId": z.string() }),
|
|
14372
|
+
url: z.literal("/v1/gate/{linkId}/waive")
|
|
14373
|
+
});
|
|
14374
|
+
const zGateWaiverRevokeWaiverV1Data = z.object({
|
|
14375
|
+
path: z.object({ "linkId": z.string() }),
|
|
14376
|
+
url: z.literal("/v1/gate/{linkId}/revoke-waiver")
|
|
14377
|
+
});
|
|
14378
|
+
|
|
14376
14379
|
//#endregion
|
|
14377
14380
|
//#region ../sdk/dist/gen/get-account-deletion-blockers/zod.js
|
|
14378
14381
|
const zAccountDeletionBlockersResponseDto = z.object({ blockers: z.array(z.object({
|
|
@@ -16247,7 +16250,7 @@ const issueGateVerificationVerifyGatesV1 = (options) => {
|
|
|
16247
16250
|
});
|
|
16248
16251
|
};
|
|
16249
16252
|
/**
|
|
16250
|
-
* After executing local_commands from verify-gates, report results here.
|
|
16253
|
+
* After executing local_commands from verify-gates, report results here. Appends an attempt to each gates link's evidence ledger and posts a verification summary comment to the issue. Report RAW per-step facts in `steps` (exit code, stdout/stderr tails); the server derives the verdict from them. `levr gates run <issue>` does verify → run → report for you.
|
|
16251
16254
|
*/
|
|
16252
16255
|
const issueGateVerificationReportGateResultsV1 = (options) => {
|
|
16253
16256
|
return (options?.client ?? client).post({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./env-CHeKHu5S.js";
|
|
2
|
-
import { authGetSitesV1, configureClient } from "./sdk-client-
|
|
2
|
+
import { authGetSitesV1, configureClient } from "./sdk-client-Bctw64Tz.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-Bctw64Tz.js";
|
|
3
3
|
import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
|