superlocalmemory 3.0.10 → 3.0.11
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "superlocalmemory",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"description": "Information-geometric agent memory with mathematical guarantees. 4-channel retrieval, Fisher-Rao similarity, zero-LLM mode, EU AI Act compliant. Works with Claude, Cursor, Windsurf, and 17+ AI tools.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-memory",
|
package/pyproject.toml
CHANGED
|
@@ -414,7 +414,8 @@ class MemoryEngine:
|
|
|
414
414
|
}
|
|
415
415
|
# Bayesian variance narrowing after 3+ accesses
|
|
416
416
|
if (q_var_arr is not None
|
|
417
|
-
and r.fact.fisher_variance
|
|
417
|
+
and r.fact.fisher_variance
|
|
418
|
+
and len(r.fact.fisher_variance) == len(q_var_arr)
|
|
418
419
|
and r.fact.access_count >= 3):
|
|
419
420
|
import numpy as _np
|
|
420
421
|
f_var = _np.array(r.fact.fisher_variance, dtype=_np.float64)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: superlocalmemory
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.10
|
|
4
4
|
Summary: Information-geometric agent memory with mathematical guarantees
|
|
5
5
|
Author-email: Varun Pratap Bhardwaj <admin@superlocalmemory.com>
|
|
6
6
|
License: MIT
|
|
@@ -142,6 +142,16 @@ Query ──► Strategy Classifier ──► 4 Parallel Channels:
|
|
|
142
142
|
|
|
143
143
|
> All Python dependencies are installed automatically during `npm install`. You don't need to run pip manually. If any dependency fails, the installer shows clear instructions.
|
|
144
144
|
|
|
145
|
+
### What Gets Installed Automatically
|
|
146
|
+
|
|
147
|
+
| Component | Size | When |
|
|
148
|
+
|:----------|:-----|:-----|
|
|
149
|
+
| Core math libraries (numpy, scipy, networkx) | ~50MB | During `npm install` |
|
|
150
|
+
| Search engine (sentence-transformers, einops, torch) | ~200MB | During `npm install` |
|
|
151
|
+
| Embedding model (nomic-ai/nomic-embed-text-v1.5) | ~500MB | On first use OR `slm warmup` |
|
|
152
|
+
|
|
153
|
+
**If any dependency fails during install**, the installer prints the exact `pip install` command to fix it. BM25 keyword search works even without embeddings — you're never fully blocked.
|
|
154
|
+
|
|
145
155
|
---
|
|
146
156
|
|
|
147
157
|
## Quick Start
|
|
@@ -154,15 +164,18 @@ npm install -g superlocalmemory
|
|
|
154
164
|
|
|
155
165
|
This single command:
|
|
156
166
|
- Installs the V3 engine and CLI
|
|
157
|
-
- Auto-installs all Python dependencies (numpy, scipy, networkx, sentence-transformers, etc.)
|
|
167
|
+
- Auto-installs all Python dependencies (numpy, scipy, networkx, sentence-transformers, einops, torch, etc.)
|
|
158
168
|
- Creates the data directory at `~/.superlocalmemory/`
|
|
159
169
|
- Detects and guides V2 migration if applicable
|
|
160
170
|
|
|
161
|
-
Then configure:
|
|
171
|
+
Then configure and pre-download the embedding model:
|
|
162
172
|
```bash
|
|
163
|
-
slm setup
|
|
173
|
+
slm setup # Choose mode, configure provider
|
|
174
|
+
slm warmup # Pre-download embedding model (~500MB, optional)
|
|
164
175
|
```
|
|
165
176
|
|
|
177
|
+
> **First time?** If you skip `slm warmup`, the model downloads automatically on first `slm remember` or `slm recall`. Either way works.
|
|
178
|
+
|
|
166
179
|
### Install via pip
|
|
167
180
|
|
|
168
181
|
```bash
|