vexp-cli 2.5.1 → 2.5.2

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/cli.js +20 -0
  2. package/package.json +6 -6
package/dist/cli.js CHANGED
@@ -434,6 +434,26 @@ program
434
434
  args.push("--export");
435
435
  runBinary(binaryPath, args);
436
436
  });
437
+ program
438
+ .command("search <query>")
439
+ .description("Exhaustive index search: every matching node (code and docs), no top-K. Built for rename sweeps and zero-reference audits")
440
+ .option("--substring", "Substring match (LIKE) instead of token search — partial identifiers, punctuation")
441
+ .option("--files-only", "Print only the distinct file paths")
442
+ .option("--json", "Machine-readable JSON with a stable shape")
443
+ .option("--limit <n>", "Cap the number of matches (0 = exhaustive)", "0")
444
+ .action(async (query, opts) => {
445
+ const binaryPath = ensureBinary();
446
+ const args = ["search", query];
447
+ if (opts.substring)
448
+ args.push("--substring");
449
+ if (opts.filesOnly)
450
+ args.push("--files-only");
451
+ if (opts.json)
452
+ args.push("--json");
453
+ if (opts.limit && opts.limit !== "0")
454
+ args.push("--limit", opts.limit);
455
+ runBinary(binaryPath, args);
456
+ });
437
457
  program
438
458
  .command("verify")
439
459
  .description("Mechanical completion check of the working tree: parse errors, broken imports, dependents of changed files not yet touched (advice, never a block)")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vexp-cli",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
4
4
  "description": "Local-first context engine for AI coding agents. Pre-indexes your codebase into a dependency graph and feeds any MCP agent only the code that matters — 87% fewer tokens per call. New in 2.5: mechanical work verification and a PII/secret scanner. Works with Claude Code, Cursor, Codex, Copilot, Windsurf, Cline, Aider and 14 agents. Your code never leaves your machine.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -105,10 +105,10 @@
105
105
  },
106
106
  "homepage": "https://vexp.dev",
107
107
  "optionalDependencies": {
108
- "@vexp/core-linux-x64": "2.5.1",
109
- "@vexp/core-linux-arm64": "2.5.1",
110
- "@vexp/core-darwin-x64": "2.5.1",
111
- "@vexp/core-darwin-arm64": "2.5.1",
112
- "@vexp/core-win32-x64": "2.5.1"
108
+ "@vexp/core-linux-x64": "2.5.2",
109
+ "@vexp/core-linux-arm64": "2.5.2",
110
+ "@vexp/core-darwin-x64": "2.5.2",
111
+ "@vexp/core-darwin-arm64": "2.5.2",
112
+ "@vexp/core-win32-x64": "2.5.2"
113
113
  }
114
114
  }