@vera-ai/cli 0.9.13 → 0.9.15
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 +5 -0
- package/bin/vera.js +6 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,9 +12,14 @@ Current benchmark snapshot: on Vera's local 21-task, 4-repo release benchmark, `
|
|
|
12
12
|
npm install -g @vera-ai/cli
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
+
`vera setup` only configures the backend. Run `vera agent install` to set up skill files for your agents (interactive by default, or pass `--client` and `--scope` for non-interactive use).
|
|
16
|
+
|
|
15
17
|
## Usage
|
|
16
18
|
|
|
17
19
|
```bash
|
|
20
|
+
# Optional: install skill files for your agents
|
|
21
|
+
vera agent install
|
|
22
|
+
|
|
18
23
|
# Index a project
|
|
19
24
|
vera index .
|
|
20
25
|
|
package/bin/vera.js
CHANGED
|
@@ -67,7 +67,12 @@ function installMetadataPath() {
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
function currentInstallMethod() {
|
|
70
|
-
|
|
70
|
+
if (process.versions.bun) return "bun";
|
|
71
|
+
const ua = process.env.npm_config_user_agent || "";
|
|
72
|
+
if (ua.startsWith("bun/")) return "bun";
|
|
73
|
+
const execpath = process.env.npm_execpath || "";
|
|
74
|
+
if (execpath.includes("bun")) return "bun";
|
|
75
|
+
return "npm";
|
|
71
76
|
}
|
|
72
77
|
|
|
73
78
|
async function readInstallMetadata() {
|