@vera-ai/cli 0.12.13 → 1.0.1
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 +15 -7
- package/bin/vera.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -15,36 +15,44 @@ npm install -g @vera-ai/cli
|
|
|
15
15
|
## Quick Start
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
vera setup --
|
|
18
|
+
vera setup --potion-code
|
|
19
19
|
vera index .
|
|
20
20
|
vera search "authentication logic"
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
`vera setup` with no flags runs an interactive wizard. `vera agent install` manages skill files for your coding agents and can update `AGENTS.md` / `CLAUDE.md` style project instructions.
|
|
23
|
+
`vera setup` with no flags runs an interactive wizard. `vera setup --api` prompts for an OpenAI-compatible endpoint and key; use `--yes` with `EMBEDDING_MODEL_*` variables for non-interactive setup. `vera agent install` manages skill files for your coding agents and can update `AGENTS.md` / `CLAUDE.md` style project instructions.
|
|
24
24
|
|
|
25
25
|
## Common Tasks
|
|
26
26
|
|
|
27
27
|
| Task | Command |
|
|
28
28
|
|------|---------|
|
|
29
29
|
| Use the interactive setup wizard | `vera setup` |
|
|
30
|
-
| Use
|
|
30
|
+
| Use CPU-only local mode | `vera setup --potion-code` |
|
|
31
|
+
| Configure API mode | `vera setup --api` |
|
|
31
32
|
| Use a local NVIDIA backend | `vera setup --onnx-jina-cuda` |
|
|
32
33
|
| Search semantically | `vera search "authentication middleware"` |
|
|
34
|
+
| Search only changed files | `vera search "authentication middleware" --changed` |
|
|
35
|
+
| Common structural tasks | `vera structural routes` / `vera structural env DATABASE_URL` / `vera structural impls Loader` |
|
|
36
|
+
| Find callers or callees | `vera references foo` / `vera references foo --callees` |
|
|
37
|
+
| Explain why a file is missing | `vera explain-path path/to/file` |
|
|
38
|
+
| Inspect index health | `vera stats --json` |
|
|
33
39
|
| Keep the index up to date | `vera update .` |
|
|
34
40
|
| Watch for file changes | `vera watch .` |
|
|
41
|
+
| Run local HTTP inference server | `vera serve` |
|
|
35
42
|
| Diagnose setup issues | `vera doctor` |
|
|
36
|
-
| Run the deeper
|
|
43
|
+
| Run the deeper local probe | `vera doctor --probe` |
|
|
37
44
|
| Repair missing local assets | `vera repair` |
|
|
38
45
|
| Inspect binary upgrades | `vera upgrade` |
|
|
39
46
|
| Install agent skills | `vera agent install` |
|
|
40
47
|
|
|
41
|
-
For the full backend matrix, model options, Docker setup, and troubleshooting, see the main [README](https://github.com/
|
|
48
|
+
For the full backend matrix, model options, Docker setup, and troubleshooting, see the main [README](https://github.com/VeraTools/Vera) and [Installation Guide](https://github.com/VeraTools/Vera/blob/master/docs/installation.md).
|
|
42
49
|
|
|
43
50
|
## What you get
|
|
44
51
|
|
|
45
52
|
- **61+ languages** via tree-sitter AST parsing
|
|
46
53
|
- **Hybrid search**: BM25 keyword + vector similarity, fused with Reciprocal Rank Fusion
|
|
47
54
|
- **Cross-encoder reranking** for precision
|
|
48
|
-
- **
|
|
55
|
+
- **Git-aware scopes and index debugging**: `--changed` / `--since` / `--base`, `explain-path`, and index health in `vera stats`
|
|
56
|
+
- **Markdown codeblock output** by default with file paths, line ranges, and optional symbol info (use `--json` for compact JSON; `--raw` works with `vera search`, `vera grep`, and `vera references`; `--timing` works with `vera search` and `vera grep`, before or after the subcommand)
|
|
49
57
|
|
|
50
|
-
For full documentation, including
|
|
58
|
+
For full documentation, including local model options and manual install steps, see the [GitHub repo](https://github.com/VeraTools/Vera).
|
package/bin/vera.js
CHANGED
|
@@ -13,7 +13,7 @@ const { spawnSync } = require("node:child_process");
|
|
|
13
13
|
|
|
14
14
|
const { version: packageVersion } = require("../package.json");
|
|
15
15
|
|
|
16
|
-
const DEFAULT_REPO = "
|
|
16
|
+
const DEFAULT_REPO = "VeraTools/Vera";
|
|
17
17
|
const MAX_REDIRECTS = 5;
|
|
18
18
|
|
|
19
19
|
function parseArgs(argv) {
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vera-ai/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Bootstrap installer and wrapper for the Vera CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"homepage": "https://github.com/
|
|
6
|
+
"homepage": "https://github.com/VeraTools/Vera#readme",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/
|
|
9
|
+
"url": "git+https://github.com/VeraTools/Vera.git",
|
|
10
10
|
"directory": "packages/npm-cli"
|
|
11
11
|
},
|
|
12
12
|
"bugs": {
|
|
13
|
-
"url": "https://github.com/
|
|
13
|
+
"url": "https://github.com/VeraTools/Vera/issues"
|
|
14
14
|
},
|
|
15
15
|
"bin": "./bin/vera.js",
|
|
16
16
|
"scripts": {
|