@levr-one/cli 0.10.6 → 0.10.8

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.
@@ -2057,8 +2057,11 @@ function formatReport(report) {
2057
2057
  if (report.outcomes.length === 0) lines.push("No clients selected.");
2058
2058
  else for (const o of report.outcomes) lines.push(outcomeLine(o, report.dryRun));
2059
2059
  if (report.unknownClients.length > 0) lines.push(`Unknown clients (skipped): ${report.unknownClients.join(", ")}`);
2060
+ if (report.outcomes.some((o) => o.id === "claude-code" && o.result.ok)) lines.push(PLUGIN_TIP);
2060
2061
  return lines.join("\n");
2061
2062
  }
2063
+ /** The one note about the Claude Code plugin (ENG-4335 D6). */
2064
+ const PLUGIN_TIP = "Tip: the Levr plugin adds /levr:work, /levr:file and /levr:done. Run /plugin install levr@levr in Claude Code (marketplace: BitModern/levr).";
2062
2065
  /** Next-steps blurb after a run. */
2063
2066
  function nextStepsText(report) {
2064
2067
  if (report.dryRun) return "Dry run — re-run without --dry-run to apply these changes.";
package/dist/cli.js CHANGED
@@ -175,7 +175,7 @@ Examples:
175
175
  aliases: { y: "yes" }
176
176
  },
177
177
  loader: async () => {
178
- const { mcpAddHandler } = await import("./addHandler-uD4hQvb7.js");
178
+ const { mcpAddHandler } = await import("./addHandler-g1oxms3Q.js");
179
179
  return mcpAddHandler;
180
180
  }
181
181
  });
@@ -213,7 +213,7 @@ Examples:
213
213
  aliases: { d: "device-code" }
214
214
  },
215
215
  loader: async () => {
216
- const { loginHandler } = await import("./loginHandler-DabcJxdy.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-BdqXsbIm.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-F0i0eU_Z.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-B6NgpS8y.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-Ex03FZ74.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-CpXdtjM8.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-yY1h60Vw.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.6";
626
+ var version = "0.10.8";
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-DZYtHmtI.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-CeIDOFR2.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-DZYtHmtI.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-DZYtHmtI.js";
2
+ import { configureClient } from "./sdk-client-DzIto-gE.js";
3
3
  import "./workspace-store-DDOxnut1.js";
4
- import { autoSelectWorkspace } from "./resolve-workspace-CeIDOFR2.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-DZYtHmtI.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-CeIDOFR2.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-DZYtHmtI.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-DZYtHmtI.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-CeIDOFR2.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";
@@ -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")
@@ -1,5 +1,5 @@
1
1
  import "./env-CHeKHu5S.js";
2
- import { authGetSitesV1, configureClient } from "./sdk-client-DZYtHmtI.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-DZYtHmtI.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.6",
3
+ "version": "0.10.8",
4
4
  "description": "The command-line interface for Levr",
5
5
  "type": "module",
6
6
  "license": "MIT",