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 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
- **58% Less Cost. 90% Fewer Tool Calls. 100% On Your Machine.**
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 context engine that gives AI coding agents the right code context — automatically. One install, and every agent gets smarter answers with fewer tokens.
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
- Works with **14+ AI coding agents** and **30 programming languages** out of the box.
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
- → [SWE-bench Verified: 73% pass@1 at $0.67/task](https://vexp.dev/benchmark)
13
+ [![npm version](https://img.shields.io/npm/v/vexp-cli?color=CB3837)](https://www.npmjs.com/package/vexp-cli)
14
+ [![downloads](https://img.shields.io/npm/dm/vexp-cli?color=CB3837)](https://www.npmjs.com/package/vexp-cli)
15
+ ![local-first](https://img.shields.io/badge/code-never%20leaves%20your%20machine-brightgreen)
10
16
 
11
- ## Why vexp?
17
+ ---
12
18
 
13
- AI coding agents waste more than half their budget exploring codebases before writing a single line of code — 23 tool calls on average just to orient themselves. vexp pre-indexes your project into a dependency graph and delivers only the code that matters, ranked by relevance.
19
+ ## Why developers install vexp
14
20
 
15
- - **23 tool calls → 2** — the agent stops guessing and starts coding
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
- ## Supported AI Coding Agents
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
- | Agent | Auto-Configured |
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
- Your agents don't compete with each other — they all share the same context layer.
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
- ## Supported Languages (30)
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
- TypeScript, JavaScript, Python, Go, Rust, Java, C#, C, C++, Ruby, Kotlin, Scala, Swift, Dart, Elixir, Haskell, OCaml, Lua, R, PHP, Zig, HCL/Terraform, Objective-C, Bash/Shell, Dockerfile, Clojure, F#, SQL, HTML/CSS, YAML/JSON
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
- ## Quick Start
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
- ## Platforms
46
+ # 2. Configure your agents (auto-detected) + build the graph
47
+ cd your-project
48
+ vexp setup
49
+ vexp index
68
50
 
69
- Native binaries — no runtime dependencies:
51
+ # 3. Use your agent normally. That's it.
52
+ # Check savings any time:
53
+ vexp savings
70
54
 
71
- | Platform | Architecture | GPU Acceleration |
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
- GPU acceleration applies to the optional local AI layer. Vexp's core context engine runs on any modern CPU.
78
-
79
- ## VS Code Extension
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
- Turn on `vexp-devmind` — a code-specialised AI model that runs entirely on your machine — for an extra +30% token savings on top of the baseline.
62
+ ## Supported agents
86
63
 
87
- - **100% local** — the model never calls out. Your code stays on your hardware.
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
- Sharper context ranking, higher-quality session memory, smarter prompt preprocessing. All without sending a single byte to any server.
66
+ ## Supported languages
93
67
 
94
- ```bash
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
- - [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=Vexp.vexp-vscode)
104
- - [Website](https://vexp.dev)
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
- ## License
76
+ ---
107
77
 
108
- MIT
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