vexp-cli 2.0.6 → 2.0.7
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.
- package/dist/cli.js +11 -2
- package/package.json +6 -6
package/dist/cli.js
CHANGED
|
@@ -62,8 +62,17 @@ function ensureBinary() {
|
|
|
62
62
|
let replMode = false;
|
|
63
63
|
function runBinary(binaryPath, args) {
|
|
64
64
|
if (replMode) {
|
|
65
|
-
// In REPL mode, run synchronously and don't exit the process
|
|
66
|
-
|
|
65
|
+
// In REPL mode, run synchronously and don't exit the process.
|
|
66
|
+
// CRITICAL: stdin must be "ignore" (not "inherit") — inheriting stdin
|
|
67
|
+
// from a readline-managed process leaves the readline in a broken
|
|
68
|
+
// state after spawnSync returns. The child's stdin access during
|
|
69
|
+
// spawnSync causes the parent readline to see EOF, closing the
|
|
70
|
+
// interactive prompt. All Rust subcommands receive their args via
|
|
71
|
+
// CLI, never stdin, so ignoring it is safe.
|
|
72
|
+
const result = spawnSync(binaryPath, args, {
|
|
73
|
+
stdio: ["ignore", "inherit", "inherit"],
|
|
74
|
+
env: binaryEnv(binaryPath),
|
|
75
|
+
});
|
|
67
76
|
if (result.error) {
|
|
68
77
|
console.error(chalk.red(`Error: ${result.error.message}`));
|
|
69
78
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vexp-cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"description": "Vexp — Context Engine for AI Coding Agents. Pre-indexes your codebase into a dependency graph and delivers ranked context to any MCP-compatible agent. 58% lower cost per task, 90% fewer tool calls (SWE-bench Verified). Works with Claude Code, Cursor, Copilot, Windsurf, Codex, Cline, Aider, and 12+ agents. Local-first. Your code never leaves your machine.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -99,10 +99,10 @@
|
|
|
99
99
|
"node": ">=20.0.0"
|
|
100
100
|
},
|
|
101
101
|
"optionalDependencies": {
|
|
102
|
-
"@vexp/core-linux-x64": "2.0.
|
|
103
|
-
"@vexp/core-linux-arm64": "2.0.
|
|
104
|
-
"@vexp/core-darwin-x64": "2.0.
|
|
105
|
-
"@vexp/core-darwin-arm64": "2.0.
|
|
106
|
-
"@vexp/core-win32-x64": "2.0.
|
|
102
|
+
"@vexp/core-linux-x64": "2.0.7",
|
|
103
|
+
"@vexp/core-linux-arm64": "2.0.7",
|
|
104
|
+
"@vexp/core-darwin-x64": "2.0.7",
|
|
105
|
+
"@vexp/core-darwin-arm64": "2.0.7",
|
|
106
|
+
"@vexp/core-win32-x64": "2.0.7"
|
|
107
107
|
}
|
|
108
108
|
}
|