vexp-cli 2.0.8 → 2.0.10
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 +9 -3
- package/package.json +6 -6
package/dist/cli.js
CHANGED
|
@@ -683,9 +683,13 @@ async function runSetupInteractive(rl) {
|
|
|
683
683
|
const workspaceRoot = process.cwd();
|
|
684
684
|
const binaryPath = ensureBinary();
|
|
685
685
|
console.log(chalk.bold(`\n vexp setup — ${workspaceRoot}\n`));
|
|
686
|
-
//
|
|
687
|
-
//
|
|
688
|
-
//
|
|
686
|
+
// Pause readline during subprocess operations. On real TTYs, readline
|
|
687
|
+
// in flowing mode can receive spurious close/end events when child
|
|
688
|
+
// processes write ANSI escape codes to the shared stdout fd (vexp-core
|
|
689
|
+
// init output + ora spinners). rl.pause() stops reading from stdin;
|
|
690
|
+
// rl.resume() restarts it before the next interactive prompt.
|
|
691
|
+
rl.pause();
|
|
692
|
+
// Step 1: Index
|
|
689
693
|
console.log(chalk.dim(" Indexing codebase...\n"));
|
|
690
694
|
try {
|
|
691
695
|
await runBinaryAsync(binaryPath, ["init", workspaceRoot], { cwd: workspaceRoot });
|
|
@@ -695,6 +699,8 @@ async function runSetupInteractive(rl) {
|
|
|
695
699
|
}
|
|
696
700
|
// Step 1.5: Start daemon + MCP HTTP server (parity with non-interactive setup)
|
|
697
701
|
await startBackgroundServices(binaryPath, workspaceRoot);
|
|
702
|
+
// Resume readline before prompting for user input.
|
|
703
|
+
rl.resume();
|
|
698
704
|
// Step 2: Select agents
|
|
699
705
|
const allAgents = getAgentList();
|
|
700
706
|
const detected = detectAgents(workspaceRoot);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vexp-cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.10",
|
|
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.10",
|
|
103
|
+
"@vexp/core-linux-arm64": "2.0.10",
|
|
104
|
+
"@vexp/core-darwin-x64": "2.0.10",
|
|
105
|
+
"@vexp/core-darwin-arm64": "2.0.10",
|
|
106
|
+
"@vexp/core-win32-x64": "2.0.10"
|
|
107
107
|
}
|
|
108
108
|
}
|