vexp-cli 2.5.0 โ†’ 2.5.1

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 (3) hide show
  1. package/README.md +0 -1
  2. package/dist/cli.js +31 -0
  3. package/package.json +6 -13
package/README.md CHANGED
@@ -71,7 +71,6 @@ TypeScript, JavaScript, Python, Rust, Go, Java, Kotlin, Scala, C, C++, C#, Ruby,
71
71
 
72
72
  - ๐ŸŒ Website & docs โ†’ [vexp.dev](https://vexp.dev)
73
73
  - ๐Ÿงฉ VS Code / Cursor extension โ†’ [Marketplace](https://marketplace.visualstudio.com/items?itemName=vexp.vexp-vscode) ยท [Open VSX](https://open-vsx.org/extension/vexp/vexp-vscode)
74
- - ๐Ÿ› Issues โ†’ [github.com/Vexp-ai/vexp/issues](https://github.com/Vexp-ai/vexp/issues)
75
74
 
76
75
  ---
77
76
 
package/dist/cli.js CHANGED
@@ -434,6 +434,37 @@ program
434
434
  args.push("--export");
435
435
  runBinary(binaryPath, args);
436
436
  });
437
+ program
438
+ .command("verify")
439
+ .description("Mechanical completion check of the working tree: parse errors, broken imports, dependents of changed files not yet touched (advice, never a block)")
440
+ .option("--json", "Emit raw JSON instead of the human report")
441
+ .option("--task-file <path>", "Task/instruction text: also checks instruction-level oracles (forbidden paths, promised artifacts)")
442
+ .option("--gate", "CI gate mode (Horizon): exit 2 on any mechanical violation")
443
+ .action(async (opts) => {
444
+ const binaryPath = ensureBinary();
445
+ const args = ["verify"];
446
+ if (opts.json)
447
+ args.push("--json");
448
+ if (opts.taskFile)
449
+ args.push("--task-file", opts.taskFile);
450
+ if (opts.gate)
451
+ args.push("--gate");
452
+ runBinary(binaryPath, args);
453
+ });
454
+ program
455
+ .command("stop [workspace]")
456
+ .description("Stop the vexp daemon of a workspace (default: current directory). Accepts any path shown by the concurrent-workspace cap message")
457
+ .action(async (workspace) => {
458
+ const binaryPath = ensureBinary();
459
+ const target = path.resolve(workspace ?? process.cwd());
460
+ if (!fs.existsSync(target)) {
461
+ console.error(`No such directory: ${target}`);
462
+ process.exit(1);
463
+ }
464
+ // daemon-cmd stop resolves the daemon from its cwd, so run it from the
465
+ // target workspace โ€” this is what makes `vexp stop <workspace>` global.
466
+ runBinary(binaryPath, ["daemon-cmd", "stop"], { cwd: target });
467
+ });
437
468
  program
438
469
  .command("shield <action>")
439
470
  .description("PII/secret shield: 'scan' reports what comments and string literals would hand to any AI agent (free, read-only, local)")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vexp-cli",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
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": {
@@ -103,19 +103,12 @@
103
103
  "engines": {
104
104
  "node": ">=20.0.0"
105
105
  },
106
- "repository": {
107
- "type": "git",
108
- "url": "https://github.com/Vexp-ai/vexp.git"
109
- },
110
- "bugs": {
111
- "url": "https://github.com/Vexp-ai/vexp/issues"
112
- },
113
106
  "homepage": "https://vexp.dev",
114
107
  "optionalDependencies": {
115
- "@vexp/core-linux-x64": "2.5.0",
116
- "@vexp/core-linux-arm64": "2.5.0",
117
- "@vexp/core-darwin-x64": "2.5.0",
118
- "@vexp/core-darwin-arm64": "2.5.0",
119
- "@vexp/core-win32-x64": "2.5.0"
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"
120
113
  }
121
114
  }