@vera-ai/cli 0.1.1 → 0.3.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 +37 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# @vera-ai/cli
|
|
2
|
+
|
|
3
|
+
Code search for AI agents. Vera indexes your codebase using tree-sitter parsing and hybrid search (BM25 + vector similarity + cross-encoder reranking), then returns ranked code snippets as structured JSON.
|
|
4
|
+
|
|
5
|
+
This package downloads and wraps the native Vera binary for your platform.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install -g @vera-ai/cli
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
# Index a project
|
|
17
|
+
vera index .
|
|
18
|
+
|
|
19
|
+
# Search
|
|
20
|
+
vera search "authentication middleware"
|
|
21
|
+
|
|
22
|
+
# Local ONNX inference (no API keys needed — downloads models automatically)
|
|
23
|
+
vera index . --onnx-jina-cpu
|
|
24
|
+
vera search "error handling" --onnx-jina-cpu
|
|
25
|
+
|
|
26
|
+
# GPU acceleration (NVIDIA/AMD/DirectML)
|
|
27
|
+
vera index . --onnx-jina-cuda
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## What you get
|
|
31
|
+
|
|
32
|
+
- **60+ languages** via tree-sitter AST parsing
|
|
33
|
+
- **Hybrid search**: BM25 keyword + vector similarity, fused with Reciprocal Rank Fusion
|
|
34
|
+
- **Cross-encoder reranking** for precision
|
|
35
|
+
- **JSON output** with file paths, line ranges, code content, and relevance scores
|
|
36
|
+
|
|
37
|
+
For full documentation, see the [GitHub repo](https://github.com/lemon07r/Vera).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vera-ai/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Bootstrap installer and wrapper for the Vera CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/lemon07r/Vera#readme",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"bin": "./bin/vera.js",
|
|
16
16
|
"files": [
|
|
17
|
-
"bin/vera.js"
|
|
17
|
+
"bin/vera.js",
|
|
18
|
+
"README.md"
|
|
18
19
|
],
|
|
19
20
|
"keywords": [
|
|
20
21
|
"vera",
|