agent-nuvira 1.70.0 → 1.70.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 +51 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -180,6 +180,37 @@ npm run build
|
|
|
180
180
|
npm link
|
|
181
181
|
```
|
|
182
182
|
|
|
183
|
+
### One-command setup for new users (recommended)
|
|
184
|
+
|
|
185
|
+
If you're setting up on a **fresh machine** (or just don't want to deal with
|
|
186
|
+
installing Node.js, Git, build tools, etc. by hand), use the platform setup
|
|
187
|
+
script. Each one **checks for the required tools, installs anything missing
|
|
188
|
+
for you, installs Agent-Nuvira, and then asks whether you want the optional
|
|
189
|
+
performance upgrades** (native FAISS + local embeddings) — with plain-English
|
|
190
|
+
prompts the whole way.
|
|
191
|
+
|
|
192
|
+
| OS | Run this |
|
|
193
|
+
|---|---|
|
|
194
|
+
| **macOS** | `bash <(curl -fsSL https://raw.githubusercontent.com/imdheerajKube/agent-nuvira/main/scripts/setup/install-macos.sh)` |
|
|
195
|
+
| **Linux** (Ubuntu/Debian/Fedora/RHEL/Arch/Alpine) | `bash <(curl -fsSL https://raw.githubusercontent.com/imdheerajKube/agent-nuvira/main/scripts/setup/install-linux.sh)` |
|
|
196
|
+
| **Windows** (PowerShell) | `Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force; irm https://raw.githubusercontent.com/imdheerajKube/agent-nuvira/main/scripts/setup/install-windows.ps1 | iex` |
|
|
197
|
+
|
|
198
|
+
What each script does:
|
|
199
|
+
|
|
200
|
+
1. **Detects what's missing** — Node.js, npm, Git, build tools (and Homebrew on
|
|
201
|
+
macOS / `winget` on Windows), and installs them automatically (with your
|
|
202
|
+
confirmation) using the right installer for your OS.
|
|
203
|
+
2. **Installs Agent-Nuvira** — `npm install -g agent-nuvira` (with npm 11's
|
|
204
|
+
install-script security gate handled automatically so native components build).
|
|
205
|
+
3. **Asks about optional upgrades** (recommended, each a yes/no):
|
|
206
|
+
- **Native FAISS** → faster semantic search / memory recall
|
|
207
|
+
- **Local embeddings** → free, offline, private embeddings (no cloud call)
|
|
208
|
+
4. **Verifies** the install and prints next steps.
|
|
209
|
+
|
|
210
|
+
> The scripts are safe to re-run — they skip tools that are already present.
|
|
211
|
+
> Manual install instructions for every step are below for those who prefer
|
|
212
|
+
> full control.
|
|
213
|
+
|
|
183
214
|
### Native FAISS acceleration (optional, recommended)
|
|
184
215
|
|
|
185
216
|
Agent-Nuvira includes an optional native FAISS backend for faster semantic retrieval. The runtime prefers this backend automatically when the native addon can build successfully; if that path is unavailable, it falls back to the pure-JS IVF implementation and then the exact JSON backend so your workflow stays reliable.
|
|
@@ -237,6 +268,26 @@ metadata filters don't miss results.
|
|
|
237
268
|
|
|
238
269
|
If the native addon cannot be built on your machine, Agent-Nuvira will continue to work using the pure-JS fallback path.
|
|
239
270
|
|
|
271
|
+
### Local embeddings (optional, recommended)
|
|
272
|
+
|
|
273
|
+
Semantic search and memory recall use embeddings. Agent-Nuvira's embedder has a
|
|
274
|
+
3-tier strategy and **always prefers the local tier when it works**:
|
|
275
|
+
|
|
276
|
+
| Tier | Engine | Notes |
|
|
277
|
+
|---|---|---|
|
|
278
|
+
| **1 — Local** | `@huggingface/transformers` (`onnxruntime-node`) | Free, offline, private — `Xenova/all-MiniLM-L6-v2` (384-dim). **Default when available** |
|
|
279
|
+
| **2 — Python** | `sentence-transformers` via subprocess | Used when Tier 1 is unavailable and Python is present |
|
|
280
|
+
| **3 — LLM** | Any configured inference provider | Last-resort fallback; costs tokens |
|
|
281
|
+
|
|
282
|
+
With `@huggingface/transformers` installed and its native binary present, no
|
|
283
|
+
configuration is needed — local embeddings are used automatically, offline,
|
|
284
|
+
with zero API cost. The one-command setup scripts above enable this for you.
|
|
285
|
+
To verify which tier is active, run:
|
|
286
|
+
|
|
287
|
+
```bash
|
|
288
|
+
agent-nuvira memory backend --check
|
|
289
|
+
```
|
|
290
|
+
|
|
240
291
|
### Verify
|
|
241
292
|
|
|
242
293
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-nuvira",
|
|
3
|
-
"version": "1.70.
|
|
3
|
+
"version": "1.70.1",
|
|
4
4
|
"description": "Agent-Nuvira: Multi-agent AI coding CLI — plan, write, review, test, and publish code with local models (Ollama) or cloud APIs (Groq, NVIDIA NIM, Google Gemini, OpenRouter)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|