@levr-one/cli 0.9.8 → 0.9.10

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 CHANGED
@@ -213,7 +213,7 @@ Examples:
213
213
  aliases: { d: "device-code" }
214
214
  },
215
215
  loader: async () => {
216
- const { loginHandler } = await import("./loginHandler-BYNsaZAk.js");
216
+ const { loginHandler } = await import("./loginHandler-DNr7BFcG.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-C_QwnKxB.js");
255
+ const { statusHandler } = await import("./statusHandler-DGPTMfrr.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-93QoRgpa.js");
367
+ const { pushHandler } = await import("./pushHandler-D2pny7nf.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-D02q-DFV.js");
487
+ const { importHandler } = await import("./importHandler-CApWG4CC.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-B1riQOWj.js");
508
+ const { listHandler } = await import("./listHandler-DVgHTPAo.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-aSV5_0B9.js");
541
+ const { selectHandler } = await import("./selectHandler-Dxcfb6Fj.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.8";
565
+ var version = "0.9.10";
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-CGOUivJ_.js";
2
+ import { authGetProfileV1, configureClient, teamFindAllV1, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-BGSTjArY.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-BnkiWBRB.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-CnjFhIwc.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-CGOUivJ_.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-BGSTjArY.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-CGOUivJ_.js";
2
+ import { configureClient } from "./sdk-client-BGSTjArY.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { autoSelectWorkspace } from "./resolve-workspace-BnkiWBRB.js";
4
+ import { autoSelectWorkspace } from "./resolve-workspace-CnjFhIwc.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-CGOUivJ_.js";
2
+ import { client, configureClient, uploadAutomationIngest, uploadImport } from "./sdk-client-BGSTjArY.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-BnkiWBRB.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-CnjFhIwc.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,4 +1,4 @@
1
- import { authGetSitesV1 } from "./sdk-client-CGOUivJ_.js";
1
+ import { authGetSitesV1 } from "./sdk-client-BGSTjArY.js";
2
2
  import { clearWorkspace, loadWorkspace, saveWorkspace } from "./workspace-store-DDOxnut1.js";
3
3
 
4
4
  //#region src/workspace/resolve-workspace.ts
@@ -27,6 +27,7 @@ const zResponseIssueDto = z.object({
27
27
  origin_harness_version: z.string().nullable().optional().describe(""),
28
28
  origin_run_result_id: z.string().nullable().optional().describe(""),
29
29
  verification_status: z.string().optional().describe(""),
30
+ verification_detail: z.unknown().optional().describe(""),
30
31
  confidence_score: z.number().nullable().optional().describe(""),
31
32
  added_to_cycle_at: z.unknown().optional().describe(""),
32
33
  sla_status: z.string().nullable().optional().describe(""),
@@ -15932,7 +15933,9 @@ const zCreateIssueAutomationTestEvidenceDto = z.object({
15932
15933
  "flaky",
15933
15934
  "superseded",
15934
15935
  "override",
15935
- "not_applicable"
15936
+ "not_applicable",
15937
+ "pending",
15938
+ "skipped"
15936
15939
  ]).describe(""),
15937
15940
  automation_status_type: z.enum([
15938
15941
  "passed",
@@ -15973,7 +15976,9 @@ const zResponseIssueAutomationTestEvidenceDto = z.object({
15973
15976
  "flaky",
15974
15977
  "superseded",
15975
15978
  "override",
15976
- "not_applicable"
15979
+ "not_applicable",
15980
+ "pending",
15981
+ "skipped"
15977
15982
  ]).describe(""),
15978
15983
  automation_status_type: z.enum([
15979
15984
  "passed",
@@ -16020,7 +16025,9 @@ const zUpdateIssueAutomationTestEvidenceDto = z.object({
16020
16025
  "flaky",
16021
16026
  "superseded",
16022
16027
  "override",
16023
- "not_applicable"
16028
+ "not_applicable",
16029
+ "pending",
16030
+ "skipped"
16024
16031
  ]).optional().describe(""),
16025
16032
  automation_status_type: z.enum([
16026
16033
  "passed",
@@ -16709,7 +16716,9 @@ const zCreateIssueTestEvidenceDto = z.object({
16709
16716
  "flaky",
16710
16717
  "superseded",
16711
16718
  "override",
16712
- "not_applicable"
16719
+ "not_applicable",
16720
+ "pending",
16721
+ "skipped"
16713
16722
  ]).describe(""),
16714
16723
  status_id: z.string().describe(""),
16715
16724
  context: z.unknown().optional().describe(""),
@@ -16731,7 +16740,9 @@ const zResponseIssueTestEvidenceDto = z.object({
16731
16740
  "flaky",
16732
16741
  "superseded",
16733
16742
  "override",
16734
- "not_applicable"
16743
+ "not_applicable",
16744
+ "pending",
16745
+ "skipped"
16735
16746
  ]).describe(""),
16736
16747
  status_id: z.string().describe(""),
16737
16748
  context: z.unknown().optional().describe(""),
@@ -16759,7 +16770,9 @@ const zUpdateIssueTestEvidenceDto = z.object({
16759
16770
  "flaky",
16760
16771
  "superseded",
16761
16772
  "override",
16762
- "not_applicable"
16773
+ "not_applicable",
16774
+ "pending",
16775
+ "skipped"
16763
16776
  ]).optional().describe(""),
16764
16777
  status_id: z.string().optional().describe(""),
16765
16778
  context: z.unknown().optional().describe(""),
@@ -27607,7 +27620,8 @@ const zStreamingCompleteV1Data = z.object({
27607
27620
  const zBootstrapRequestDto = z.object({ entities: z.array(z.string()).describe("") });
27608
27621
  const zDeltaRequestDto = z.object({
27609
27622
  lastSyncId: z.number().describe(""),
27610
- entity: z.string().optional().describe("")
27623
+ entity: z.string().optional().describe(""),
27624
+ cold_start: z.boolean().optional().describe("")
27611
27625
  });
27612
27626
  const zPriorityBootstrapRequestDto = z.object({
27613
27627
  entity: z.string().describe(""),
@@ -30420,6 +30434,69 @@ const zUserPreferenceRestoreV1Data = z.object({
30420
30434
  url: z.literal("/v1/user-preference/{id}/restore")
30421
30435
  });
30422
30436
 
30437
+ //#endregion
30438
+ //#region ../sdk/dist/gen/verify/zod.js
30439
+ const zVerifyDigestRequestDto = z.object({
30440
+ entity: z.string().describe(""),
30441
+ level: z.union([z.number(), z.number()]).optional().describe("")
30442
+ });
30443
+ const zFoldedDigestDto = z.object({
30444
+ n: z.number().describe(""),
30445
+ maxEpoch: z.number().nullable(),
30446
+ xor: z.string()
30447
+ });
30448
+ const zBucketDigestDto = z.object({
30449
+ bucket: z.string().describe(""),
30450
+ n: z.number().describe(""),
30451
+ maxEpoch: z.number().nullable().describe(""),
30452
+ xor: z.string().describe("")
30453
+ });
30454
+ const zVerifyDigestResponseDto = z.object({
30455
+ entity: z.string(),
30456
+ entity_version: z.string().describe(""),
30457
+ version_key: z.string().describe(""),
30458
+ l1: zFoldedDigestDto,
30459
+ buckets: z.array(zBucketDigestDto).optional().describe(""),
30460
+ cached: z.boolean().describe("")
30461
+ });
30462
+ const zVerifyBucketRowsRequestDto = z.object({
30463
+ entity: z.string().describe(""),
30464
+ buckets: z.array(z.string()).describe(""),
30465
+ after: z.string().optional().describe(""),
30466
+ limit: z.number().optional().describe("")
30467
+ });
30468
+ const zRowRefDto = z.object({
30469
+ id: z.string(),
30470
+ epoch: z.number().nullable()
30471
+ });
30472
+ const zVerifyBucketRowsResponseDto = z.object({
30473
+ rows: z.array(zRowRefDto),
30474
+ next: z.string().nullable().describe("")
30475
+ });
30476
+ const zVerifyRowsRequestDto = z.object({
30477
+ entity: z.string().describe(""),
30478
+ ids: z.array(z.string()).describe("")
30479
+ });
30480
+ const zVerifyRowsResponseDto = z.object({
30481
+ entity: z.string(),
30482
+ entity_version: z.string(),
30483
+ rows: z.array(z.record(z.string(), z.unknown())).describe(""),
30484
+ missing: z.array(z.string()).describe(""),
30485
+ partial: z.boolean().describe("")
30486
+ });
30487
+ const zVerifyDigestV1Data = z.object({
30488
+ body: zVerifyDigestRequestDto,
30489
+ url: z.literal("/v1/sync/verify/digest")
30490
+ });
30491
+ const zVerifyBucketRowsV1Data = z.object({
30492
+ body: zVerifyBucketRowsRequestDto,
30493
+ url: z.literal("/v1/sync/verify/bucket-rows")
30494
+ });
30495
+ const zVerifyRowsV1Data = z.object({
30496
+ body: zVerifyRowsRequestDto,
30497
+ url: z.literal("/v1/sync/verify/rows")
30498
+ });
30499
+
30423
30500
  //#endregion
30424
30501
  //#region ../sdk/dist/gen/virtual/zod.js
30425
30502
  const zCreateVirtualDto = z.object({
@@ -1,5 +1,5 @@
1
1
  import "./env-CHeKHu5S.js";
2
- import { authGetSitesV1, configureClient } from "./sdk-client-CGOUivJ_.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-BGSTjArY.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-CGOUivJ_.js";
2
+ import { authGetProfileV1, configureClient } from "./sdk-client-BGSTjArY.js";
3
3
  import { isTokenExpired } from "./token-refresh-Cu5RpkLJ.js";
4
4
  import chalk from "chalk";
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levr-one/cli",
3
- "version": "0.9.8",
3
+ "version": "0.9.10",
4
4
  "description": "The command-line interface for Levr",
5
5
  "type": "module",
6
6
  "license": "MIT",