@levr-one/cli 0.10.9 → 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 CHANGED
@@ -213,7 +213,7 @@ Examples:
213
213
  aliases: { d: "device-code" }
214
214
  },
215
215
  loader: async () => {
216
- const { loginHandler } = await import("./loginHandler-BCCFJco8.js");
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-m8swITLe.js");
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-CpWJCQL0.js");
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-BDwOPxLB.js");
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-R7Tk9vu7.js");
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-DUQM-MCd.js");
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-D3tX1Com.js");
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.9";
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-DzIto-gE.js";
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-Bn3j_U7W.js";
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-DzIto-gE.js";
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-DzIto-gE.js";
2
+ import { configureClient } from "./sdk-client-Bctw64Tz.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { autoSelectWorkspace } from "./resolve-workspace-Bn3j_U7W.js";
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-DzIto-gE.js";
2
+ import { client, configureClient, uploadImport } from "./sdk-client-Bctw64Tz.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { resolveWorkspace } from "./resolve-workspace-Bn3j_U7W.js";
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,4 +1,4 @@
1
- import { authGetSitesV1 } from "./sdk-client-DzIto-gE.js";
1
+ import { authGetSitesV1 } from "./sdk-client-Bctw64Tz.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-DzIto-gE.js";
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-Bn3j_U7W.js";
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. Updates gate_instance records, creates gate_result audit trail, and posts 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.
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({
@@ -20335,7 +20338,6 @@ const zCreateNotificationPreferenceDto = z.object({
20335
20338
  auto_subscribe_assigned: z.boolean().optional().describe(""),
20336
20339
  auto_subscribe_mentioned: z.boolean().optional().describe(""),
20337
20340
  auto_subscribe_commented: z.boolean().optional().describe(""),
20338
- auto_subscribe_agent_created: z.boolean().optional().describe(""),
20339
20341
  user_id: z.string()
20340
20342
  });
20341
20343
  const zResponseNotificationPreferenceDto = z.object({
@@ -20351,7 +20353,6 @@ const zResponseNotificationPreferenceDto = z.object({
20351
20353
  auto_subscribe_assigned: z.boolean().optional().describe(""),
20352
20354
  auto_subscribe_mentioned: z.boolean().optional().describe(""),
20353
20355
  auto_subscribe_commented: z.boolean().optional().describe(""),
20354
- auto_subscribe_agent_created: z.boolean().optional().describe(""),
20355
20356
  user_id: z.string(),
20356
20357
  created_at: z.unknown().describe(""),
20357
20358
  updated_at: z.unknown().describe(""),
@@ -20375,7 +20376,6 @@ const zUpdateNotificationPreferenceDto = z.object({
20375
20376
  auto_subscribe_assigned: z.boolean().optional().describe(""),
20376
20377
  auto_subscribe_mentioned: z.boolean().optional().describe(""),
20377
20378
  auto_subscribe_commented: z.boolean().optional().describe(""),
20378
- auto_subscribe_agent_created: z.boolean().optional().describe(""),
20379
20379
  user_id: z.string().optional()
20380
20380
  });
20381
20381
  const zNotificationPreferenceBulkOperationDto = z.object({
@@ -20429,7 +20429,6 @@ const zNotificationPreferenceFindAllV1Data = z.object({
20429
20429
  "filter.auto_subscribe_assigned": z.array(z.string()).optional(),
20430
20430
  "filter.auto_subscribe_mentioned": z.array(z.string()).optional(),
20431
20431
  "filter.auto_subscribe_commented": z.array(z.string()).optional(),
20432
- "filter.auto_subscribe_agent_created": z.array(z.string()).optional(),
20433
20432
  "filter.user_id": z.array(z.string()).optional(),
20434
20433
  "filter.created_at": z.array(z.string()).optional(),
20435
20434
  "filter.updated_at": z.array(z.string()).optional(),
@@ -1,5 +1,5 @@
1
1
  import "./env-CHeKHu5S.js";
2
- import { authGetSitesV1, configureClient } from "./sdk-client-DzIto-gE.js";
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-DzIto-gE.js";
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levr-one/cli",
3
- "version": "0.10.9",
3
+ "version": "0.10.11",
4
4
  "description": "The command-line interface for Levr",
5
5
  "type": "module",
6
6
  "license": "MIT",