@zksecurity/zkao-cli 0.20.0-next.15 → 0.25.0-next.17

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 +4 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -884,6 +884,9 @@ scans.command("launch").description("Launch a scan").requiredOption("--repo <id>
884
884
  "audit area to scope the scan to (repeatable; see `zkao areas list`)",
885
885
  collect,
886
886
  []
887
+ ).option(
888
+ "--scope <text>",
889
+ "the code to audit, in your own words, instead of --area"
887
890
  ).option(
888
891
  "--trigger <kind>",
889
892
  "where this launch came from, shown on the scan page: github_action, pr_comment, agent or api"
@@ -905,6 +908,7 @@ scans.command("launch").description("Launch a scan").requiredOption("--repo <id>
905
908
  baseCommit: opts.base,
906
909
  commitMessage: opts.message ?? null,
907
910
  auditAreaKeys: opts.area.length > 0 ? opts.area : void 0,
911
+ auditScope: opts.scope,
908
912
  ...opts.guidance !== void 0 ? { guidance: readContentArg(opts.guidance) } : {},
909
913
  ...opts.trigger ? {
910
914
  trigger: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zksecurity/zkao-cli",
3
- "version": "0.20.0-next.15",
3
+ "version": "0.25.0-next.17",
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.20.0-next.15",
42
+ "@zksecurity/zkao-sdk": "0.25.0-next.17",
43
43
  "commander": "^12.1.0"
44
44
  },
45
45
  "devDependencies": {