@levr-one/cli 0.10.5 → 0.10.7

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-CYrP8mF2.js");
216
+ const { loginHandler } = await import("./loginHandler-BCCFJco8.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-cMQSlF-A.js");
255
+ const { statusHandler } = await import("./statusHandler-m8swITLe.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-C_xMOBVM.js");
359
+ const { pushHandler } = await import("./pushHandler-CpWJCQL0.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-CVPZHLAZ.js");
479
+ const { importHandler } = await import("./importHandler-BDwOPxLB.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-Kq68Ca6e.js");
500
+ const { listHandler } = await import("./listHandler-R7Tk9vu7.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-BaWUR0JQ.js");
533
+ const { selectHandler } = await import("./selectHandler-DUQM-MCd.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-ogFHd3e6.js");
619
+ const { gatesRunHandler } = await import("./runHandler-BVIOalsP.js");
620
620
  return gatesRunHandler;
621
621
  }
622
622
  });
623
623
 
624
624
  //#endregion
625
625
  //#region package.json
626
- var version = "0.10.5";
626
+ var version = "0.10.7";
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-Bn2yatEI.js";
2
+ import { authGetProfileV1, configureClient, teamFindAllV1, testCaseImportCommitV1, testCaseImportPreviewV1 } from "./sdk-client-DzIto-gE.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-ytMhhIYv.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-Bn3j_U7W.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-Bn2yatEI.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-DzIto-gE.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-Bn2yatEI.js";
2
+ import { configureClient } from "./sdk-client-DzIto-gE.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { autoSelectWorkspace } from "./resolve-workspace-ytMhhIYv.js";
4
+ import { autoSelectWorkspace } from "./resolve-workspace-Bn3j_U7W.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-Bn2yatEI.js";
2
+ import { client, configureClient, uploadImport } from "./sdk-client-DzIto-gE.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-ytMhhIYv.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-Bn3j_U7W.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-Bn2yatEI.js";
1
+ import { authGetSitesV1 } from "./sdk-client-DzIto-gE.js";
2
2
  import { clearWorkspace, loadWorkspace, saveWorkspace } from "./workspace-store-DDOxnut1.js";
3
3
 
4
4
  //#region src/workspace/resolve-workspace.ts
@@ -1,7 +1,7 @@
1
1
  import "./env-CHeKHu5S.js";
2
- import { client, configureClient, issueFindAllV1, issueGateVerificationReportGateResultsV1, issueGateVerificationVerifyGatesV1 } from "./sdk-client-Bn2yatEI.js";
2
+ import { client, configureClient, issueFindAllV1, issueGateVerificationReportGateResultsV1, issueGateVerificationVerifyGatesV1 } from "./sdk-client-DzIto-gE.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-ytMhhIYv.js";
4
+ import { resolveWorkspace } from "./resolve-workspace-Bn3j_U7W.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
- layer: z.number().optional().describe(""),
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
- layer: z.number().optional().describe(""),
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
- layer: z.number().optional().describe(""),
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.layer": z.array(z.string()).optional(),
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
- "layer:ASC",
13785
- "layer:DESC",
13784
+ "technique:ASC",
13785
+ "technique:DESC",
13786
13786
  "estimated_cost:ASC",
13787
13787
  "estimated_cost:DESC",
13788
13788
  "estimated_duration_ms:ASC",
@@ -23345,7 +23345,20 @@ const zWidgetQueryRequestDto = z.object({
23345
23345
  }),
23346
23346
  config: z.record(z.string(), z.unknown()).optional()
23347
23347
  });
23348
- const zWidgetQueryResponseDto = z.object({ rows: z.array(z.record(z.string(), z.unknown())) });
23348
+ const zWidgetQueryResponseDto = z.object({
23349
+ rows: z.array(z.record(z.string(), z.unknown())),
23350
+ meta: z.object({
23351
+ status: z.enum(["ok", "not_enough_data"]),
23352
+ window: z.object({
23353
+ start: z.string().describe(""),
23354
+ end: z.string().describe("")
23355
+ }).optional(),
23356
+ closed: z.object({
23357
+ start: z.string().describe(""),
23358
+ end: z.string().describe("")
23359
+ })
23360
+ }).optional()
23361
+ });
23349
23362
  const zReportCustomWidgetQueryV1Data = z.object({
23350
23363
  body: zWidgetQueryRequestDto,
23351
23364
  url: z.literal("/v1/report/widget-query")
@@ -28473,7 +28486,15 @@ const zUpdateTestDto = z.object({
28473
28486
  type: z.enum(["guided"]),
28474
28487
  step: z.string(),
28475
28488
  expected_result: z.string().optional(),
28476
- result: z.string().optional()
28489
+ result: z.string().optional(),
28490
+ technique: z.enum([
28491
+ "presence",
28492
+ "pattern",
28493
+ "structure",
28494
+ "semantic",
28495
+ "execution",
28496
+ "state"
28497
+ ]).optional()
28477
28498
  }),
28478
28499
  z.object({
28479
28500
  id: z.string().optional(),
@@ -28488,14 +28509,29 @@ const zUpdateTestDto = z.object({
28488
28509
  "But",
28489
28510
  "*"
28490
28511
  ]).optional(),
28491
- data_table: z.object({ rows: z.array(z.array(z.string())) }).optional()
28512
+ data_table: z.object({ rows: z.array(z.array(z.string())) }).optional(),
28513
+ technique: z.enum([
28514
+ "presence",
28515
+ "pattern",
28516
+ "structure",
28517
+ "semantic",
28518
+ "execution",
28519
+ "state"
28520
+ ]).optional()
28492
28521
  }),
28493
28522
  z.object({
28494
28523
  id: z.string().optional(),
28495
28524
  type: z.string(),
28496
28525
  params: z.record(z.string(), z.unknown()).optional(),
28497
28526
  expected_result: z.string().optional(),
28498
- layer: z.string().optional()
28527
+ technique: z.enum([
28528
+ "presence",
28529
+ "pattern",
28530
+ "structure",
28531
+ "semantic",
28532
+ "execution",
28533
+ "state"
28534
+ ]).optional()
28499
28535
  })
28500
28536
  ])).optional()
28501
28537
  }).optional(),
@@ -1,5 +1,5 @@
1
1
  import "./env-CHeKHu5S.js";
2
- import { authGetSitesV1, configureClient } from "./sdk-client-Bn2yatEI.js";
2
+ import { authGetSitesV1, configureClient } from "./sdk-client-DzIto-gE.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-Bn2yatEI.js";
2
+ import { authGetProfileV1, configureClient } from "./sdk-client-DzIto-gE.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.10.5",
3
+ "version": "0.10.7",
4
4
  "description": "The command-line interface for Levr",
5
5
  "type": "module",
6
6
  "license": "MIT",