vexp-cli 2.3.1 → 2.5.0
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/README.md +49 -79
- package/dist/agent-config.js +320 -86
- package/dist/cli.js +15 -0
- package/dist/doctor.js +60 -8
- package/dist/hook-template.js +135 -0
- package/dist/mcp-supervisor.js +15 -3
- package/dist/serve.js +10 -0
- package/dist/update-check.js +18 -6
- package/mcp/mcp-server.cjs +43 -43
- package/package.json +51 -39
package/README.md
CHANGED
|
@@ -1,108 +1,78 @@
|
|
|
1
|
-
# vexp — Context Engine for AI Coding Agents
|
|
1
|
+
# vexp-cli — Context Engine for AI Coding Agents (Claude Code, Cursor, Codex)
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**Give your AI coding agent the right context, then verify its work — 100% on your machine.**
|
|
4
4
|
|
|
5
|
-
vexp is a local-first
|
|
5
|
+
`vexp-cli` is a local-first [MCP server](https://modelcontextprotocol.io) that pre-indexes your codebase into a dependency graph and feeds any AI coding agent only the code that matters for the task — cutting **87% of the tokens** it would otherwise waste reading whole files. New in 2.5: it also checks the agent's work mechanically when it says it's done, and scans your code for PII and secrets before any model reads them. Your source never leaves your laptop.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g vexp-cli
|
|
9
|
+
vexp setup # auto-configures Claude Code, Cursor, Codex, and 14 agents
|
|
10
|
+
vexp index # builds the local graph — no login, no API key
|
|
11
|
+
```
|
|
8
12
|
|
|
9
|
-
|
|
13
|
+
[](https://www.npmjs.com/package/vexp-cli)
|
|
14
|
+
[](https://www.npmjs.com/package/vexp-cli)
|
|
15
|
+

|
|
10
16
|
|
|
11
|
-
|
|
17
|
+
---
|
|
12
18
|
|
|
13
|
-
|
|
19
|
+
## Why developers install vexp
|
|
14
20
|
|
|
15
|
-
|
|
16
|
-
- **$0.78 → $0.33 per task** — measured on SWE-bench Verified
|
|
17
|
-
- **117s → 74s per task** — less context to process = faster answers
|
|
18
|
-
- **Local-first** — your code never leaves your machine
|
|
19
|
-
- **Zero config** — auto-detects your agents and configures MCP
|
|
20
|
-
- **Universal** — works with any agent that supports MCP or custom rules
|
|
21
|
-
- **Optional local AI** — unlock +30% extra savings with `vexp-devmind`, a ~3.5 GB model that runs 100% on your machine. GPU-accelerated on NVIDIA (CUDA) and Apple Silicon (Metal). Opt in with one command.
|
|
21
|
+
Your AI agent burns most of its budget exploring your repo before writing a line of code. It reads entire files, floods its context window, and still misses the one function that mattered. vexp fixes the input **and** the output:
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
- **⚡ 87% fewer tokens per call.** vexp returns ranked pivot files with exact line ranges and blast radius — not whole files. Measured on real usage, not a synthetic benchmark.
|
|
24
|
+
- **🔍 Verifies the work (new in 2.5).** When your agent declares a task done, `verify_done` reports what's provably broken or missing — broken imports, parse errors, dependents never updated — each with file and line. No model grades anything; it's git + tree-sitter + the code graph.
|
|
25
|
+
- **🛡️ Shield scan (new in 2.5).** `vexp shield scan` shows the emails, API keys, tokens and private keys sitting in your comments and strings that every AI agent currently reads. Local, deterministic, masked.
|
|
26
|
+
- **🔒 100% local.** Zero network calls, zero cloud indexing, no account, no API key. Your code stays yours.
|
|
27
|
+
- **🤝 Works with everything.** One `vexp setup` configures Claude Code, Cursor, Windsurf, GitHub Copilot, OpenAI Codex, Zed, Cline, Aider, opencode, and more — 14 agents in total.
|
|
24
28
|
|
|
25
|
-
|
|
26
|
-
|-------|:-:|
|
|
27
|
-
| Claude Code | ✓ |
|
|
28
|
-
| Cursor | ✓ |
|
|
29
|
-
| Windsurf | ✓ |
|
|
30
|
-
| GitHub Copilot | ✓ |
|
|
31
|
-
| Continue.dev | ✓ |
|
|
32
|
-
| Augment | ✓ |
|
|
33
|
-
| Zed | ✓ |
|
|
34
|
-
| Codex (OpenAI) | ✓ |
|
|
35
|
-
| Cline | ✓ |
|
|
36
|
-
| Aider | ✓ |
|
|
37
|
-
| Kilo Code | ✓ |
|
|
38
|
-
| Kiro | ✓ |
|
|
39
|
-
| Antigravity | ✓ |
|
|
40
|
-
| Opencode | ✓ |
|
|
29
|
+
## How it works
|
|
41
30
|
|
|
42
|
-
|
|
31
|
+
vexp parses **34 languages** with tree-sitter into a local SQLite dependency graph, then serves your agent through the Model Context Protocol:
|
|
43
32
|
|
|
44
|
-
|
|
33
|
+
- `run_pipeline` — ranked pivot files + line ranges + blast radius, in one call
|
|
34
|
+
- `get_skeleton` — file structure at 70-90% token savings
|
|
35
|
+
- `verify_done` — mechanical completion check
|
|
36
|
+
- `expand_vexp_ref` — full symbol bodies on demand
|
|
45
37
|
|
|
46
|
-
|
|
38
|
+
You never call these yourself — `vexp setup` writes the agent config, and your agent calls them automatically. You don't even mention vexp in your prompts.
|
|
47
39
|
|
|
48
|
-
##
|
|
40
|
+
## Quickstart
|
|
49
41
|
|
|
50
42
|
```bash
|
|
43
|
+
# 1. Install
|
|
51
44
|
npm install -g vexp-cli
|
|
52
|
-
vexp
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
That's it. The interactive CLI guides you through setup, indexing, and agent configuration.
|
|
56
|
-
|
|
57
|
-
## What You Get
|
|
58
|
-
|
|
59
|
-
- **Semantic + graph-ranked context** — finds the right symbols even when keywords don't match
|
|
60
|
-
- **Intent detection in 15 languages** — English, Italian, French, German, Spanish, Portuguese, Russian, Chinese, Japanese, Korean, Arabic, Hindi, Turkish, Dutch, Polish
|
|
61
|
-
- **Cross-session memory** — your agent picks up exactly where it left off, even days later
|
|
62
|
-
- **Stale-knowledge alerts** — when code changes, outdated memory is automatically flagged
|
|
63
|
-
- **Pattern & anti-pattern detection** — recurring changes surface as guidelines; dead-end explorations get flagged early
|
|
64
|
-
- **Change awareness** — files frequently modified together are automatically linked
|
|
65
|
-
- **Security filter** — `.env`, credentials, and SSH keys are excluded automatically
|
|
66
45
|
|
|
67
|
-
|
|
46
|
+
# 2. Configure your agents (auto-detected) + build the graph
|
|
47
|
+
cd your-project
|
|
48
|
+
vexp setup
|
|
49
|
+
vexp index
|
|
68
50
|
|
|
69
|
-
|
|
51
|
+
# 3. Use your agent normally. That's it.
|
|
52
|
+
# Check savings any time:
|
|
53
|
+
vexp savings
|
|
70
54
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
| Linux | x64, ARM64 | CUDA (NVIDIA) |
|
|
74
|
-
| macOS | x64, ARM64 (Apple Silicon) | Metal (built-in) |
|
|
75
|
-
| Windows | x64 | CUDA (NVIDIA) |
|
|
55
|
+
# 4. See what your code exposes to AI:
|
|
56
|
+
vexp shield scan
|
|
76
57
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
For the best experience, install the [vexp VS Code extension](https://marketplace.visualstudio.com/items?itemName=Vexp.vexp-vscode) — it manages the daemon automatically and adds a sidebar dashboard with token savings tracking.
|
|
82
|
-
|
|
83
|
-
## Local AI — Optional +30% Savings
|
|
58
|
+
# 5. Diagnose anything:
|
|
59
|
+
vexp doctor
|
|
60
|
+
```
|
|
84
61
|
|
|
85
|
-
|
|
62
|
+
## Supported agents
|
|
86
63
|
|
|
87
|
-
|
|
88
|
-
- **GPU-accelerated** — Metal on Apple Silicon, CUDA on NVIDIA. Auto-detected.
|
|
89
|
-
- **One-command install** — ~3.5 GB one-time download. Minimum 6 GB RAM.
|
|
90
|
-
- **Always up to date** — `--check-updates` compares your local version to the published release without downloading anything.
|
|
64
|
+
Claude Code · Cursor · Windsurf · GitHub Copilot · OpenAI Codex · Zed · Continue.dev · Cline · Aider · Kiro · Kilo Code · opencode · Augment · Antigravity
|
|
91
65
|
|
|
92
|
-
|
|
66
|
+
## Supported languages
|
|
93
67
|
|
|
94
|
-
|
|
95
|
-
vexp setup-llm --install # ~3.5 GB one-time download
|
|
96
|
-
vexp setup-llm --check-updates # no-op if already up to date
|
|
97
|
-
vexp setup-llm --status # show current config + hardware
|
|
98
|
-
vexp setup-llm --disable # turn it off any time
|
|
99
|
-
```
|
|
68
|
+
TypeScript, JavaScript, Python, Rust, Go, Java, Kotlin, Scala, C, C++, C#, Ruby, PHP, Swift, Objective-C, Lua, Dart, Elixir, Clojure, Haskell, OCaml, F#, Zig, Bash, SQL, and more — 34 in total.
|
|
100
69
|
|
|
101
70
|
## Links
|
|
102
71
|
|
|
103
|
-
-
|
|
104
|
-
- [
|
|
72
|
+
- 🌐 Website & docs → [vexp.dev](https://vexp.dev)
|
|
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)
|
|
105
75
|
|
|
106
|
-
|
|
76
|
+
---
|
|
107
77
|
|
|
108
|
-
|
|
78
|
+
**Keywords:** ai context engine · mcp server · claude code context · cursor context · save tokens · reduce ai coding cost · code context · dependency graph · tree-sitter · local-first · token optimization · ai coding assistant · code intelligence · model context protocol
|