@zksecurity/zkao-cli 0.17.0-next.12 → 0.19.0-next.14

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -227,7 +227,12 @@ function removePendingLogins(deviceCodes) {
227
227
  import { spawn } from "child_process";
228
228
  import { hostname } from "os";
229
229
  import { DEFAULT_BASE_URL } from "@zksecurity/zkao-sdk";
230
- var DEFAULT_LOGIN_SCOPES = ["read", "scans:launch", "findings:write"];
230
+ var DEFAULT_LOGIN_SCOPES = [
231
+ "read",
232
+ "scans:launch",
233
+ "findings:write",
234
+ "guidance:write"
235
+ ];
231
236
  function appOrigin(baseUrl) {
232
237
  const url = new URL(baseUrl);
233
238
  const prefix = url.pathname.replace(/\/+$/, "").replace(/\/api\/v\d+$/, "");
@@ -794,7 +799,7 @@ var continuous = program.command("continuous").description(
794
799
  "Turn Continuous Testing on or off for a repository and set its monthly budget"
795
800
  );
796
801
  continuous.command("get <repoId>").description(
797
- "Show the schedule, this month's spend, and the recommended and minimum monthly budgets"
802
+ "Show the schedule, this month's spend, and the recommended, minimum and maximum monthly budgets"
798
803
  ).option("--branch <branch>", "the scheduled branch (default: the repository's default branch)").action(
799
804
  (repoId, opts) => run(
800
805
  (c) => c.getContinuousTesting(repoId, {
@@ -816,7 +821,7 @@ for (const [name, description, enabled] of [
816
821
  ]) {
817
822
  continuous.command(`${name} <repoId>`).description(description).option("--branch <branch>", "the scheduled branch").option(
818
823
  "--budget <credits>",
819
- "monthly budget in credits; zkao picks a daily or weekly run from it",
824
+ "monthly budget in credits; sets the interval from weekly to twice daily",
820
825
  toCredits
821
826
  ).option(
822
827
  "--area <key>",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zksecurity/zkao-cli",
3
- "version": "0.17.0-next.12",
3
+ "version": "0.19.0-next.14",
4
4
  "description": "Command-line interface for the zkao Project API",
5
5
  "license": "MIT",
6
6
  "author": "zkSecurity",
@@ -39,7 +39,7 @@
39
39
  "prepublishOnly": "node -e \"if (!(process.env.npm_config_user_agent || '').includes('bun/')) { console.error('Publish with bun publish: npm ships the literal workspace:* dependency and breaks installs.'); process.exit(1); }\""
40
40
  },
41
41
  "dependencies": {
42
- "@zksecurity/zkao-sdk": "0.17.0-next.12",
42
+ "@zksecurity/zkao-sdk": "0.19.0-next.14",
43
43
  "commander": "^12.1.0"
44
44
  },
45
45
  "devDependencies": {