@pcircle/memesh 4.0.1 → 4.0.3
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.de.md +56 -201
- package/README.es.md +56 -201
- package/README.fr.md +56 -201
- package/README.ja.md +55 -200
- package/README.ko.md +56 -201
- package/README.md +36 -30
- package/README.pt.md +56 -201
- package/README.th.md +56 -201
- package/README.vi.md +56 -201
- package/README.zh-CN.md +56 -201
- package/README.zh-TW.md +56 -201
- package/dashboard/dist/index.html +4 -4
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +17 -7
- package/dist/core/config.js.map +1 -1
- package/dist/core/embedder.d.ts +2 -0
- package/dist/core/embedder.d.ts.map +1 -1
- package/dist/core/embedder.js +51 -8
- package/dist/core/embedder.js.map +1 -1
- package/dist/core/install-channel.d.ts +30 -0
- package/dist/core/install-channel.d.ts.map +1 -0
- package/dist/core/install-channel.js +83 -0
- package/dist/core/install-channel.js.map +1 -0
- package/dist/core/operations.d.ts.map +1 -1
- package/dist/core/operations.js +26 -8
- package/dist/core/operations.js.map +1 -1
- package/dist/core/serializer.d.ts.map +1 -1
- package/dist/core/serializer.js +24 -0
- package/dist/core/serializer.js.map +1 -1
- package/dist/core/updater.d.ts +11 -0
- package/dist/core/updater.d.ts.map +1 -0
- package/dist/core/updater.js +28 -0
- package/dist/core/updater.js.map +1 -0
- package/dist/core/version-check.d.ts +28 -4
- package/dist/core/version-check.d.ts.map +1 -1
- package/dist/core/version-check.js +167 -21
- package/dist/core/version-check.js.map +1 -1
- package/dist/knowledge-graph.d.ts +3 -0
- package/dist/knowledge-graph.d.ts.map +1 -1
- package/dist/knowledge-graph.js +28 -3
- package/dist/knowledge-graph.js.map +1 -1
- package/dist/transports/cli/cli.js +44 -13
- package/dist/transports/cli/cli.js.map +1 -1
- package/dist/transports/http/server.d.ts +3 -1
- package/dist/transports/http/server.d.ts.map +1 -1
- package/dist/transports/http/server.js +53 -2
- package/dist/transports/http/server.js.map +1 -1
- package/package.json +5 -6
- package/plugin.json +2 -2
- package/scripts/hooks/_shared.js +62 -0
- package/scripts/hooks/pre-edit-recall.js +22 -15
- package/scripts/hooks/session-start.js +30 -21
- package/scripts/hooks/session-summary.js +4 -5
- package/skills/memesh/SKILL.md +8 -0
package/README.de.md
CHANGED
|
@@ -3,253 +3,108 @@
|
|
|
3
3
|
<p align="center">
|
|
4
4
|
<h1 align="center">MeMesh LLM Memory</h1>
|
|
5
5
|
<p align="center">
|
|
6
|
-
<strong>Die
|
|
7
|
-
Eine SQLite-Datei.
|
|
8
|
-
</p>
|
|
9
|
-
<p align="center">
|
|
10
|
-
<a href="https://www.npmjs.com/package/@pcircle/memesh"><img src="https://img.shields.io/npm/v/@pcircle/memesh?style=flat-square&color=3b82f6&label=npm" alt="npm" /></a>
|
|
11
|
-
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-22c55e?style=flat-square" alt="MIT" /></a>
|
|
12
|
-
<a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-%3E%3D20-22c55e?style=flat-square" alt="Node" /></a>
|
|
13
|
-
<a href="https://modelcontextprotocol.io"><img src="https://img.shields.io/badge/MCP-compatible-a855f7?style=flat-square" alt="MCP" /></a>
|
|
6
|
+
<strong>Die lokale Memory-Schicht für Claude Code und MCP-kompatible Coding Agents.</strong><br />
|
|
7
|
+
Eine SQLite-Datei. Kein Docker. Keine Cloud erforderlich.
|
|
14
8
|
</p>
|
|
15
9
|
</p>
|
|
16
10
|
|
|
17
|
-
|
|
11
|
+
> Dieses deutsche README ist eine kompakte Übersicht. Für die vollständige und aktuellste Dokumentation gilt das [English README](README.md) als Referenz.
|
|
18
12
|
|
|
19
|
-
##
|
|
13
|
+
## Welches Problem löst es?
|
|
20
14
|
|
|
21
|
-
|
|
15
|
+
Coding Agents verlieren zwischen Sessions schnell den Zusammenhang. Architekturentscheidungen, frühere Bugfixes, gewonnene Erkenntnisse und Projektrahmenbedingungen müssen deshalb immer wieder neu erklärt werden.
|
|
22
16
|
|
|
23
|
-
**MeMesh
|
|
17
|
+
**MeMesh hält dieses Wissen lokal fest, macht es durchsuchbar und bringt es später wieder in den Arbeitsfluss zurück.**
|
|
24
18
|
|
|
25
|
-
|
|
19
|
+
Dieses npm-Paket ist die lokale Plugin- / Package-Version von MeMesh. Es ist weder das Cloud-Workspace-Produkt noch eine vollständige Enterprise-Plattform.
|
|
26
20
|
|
|
27
|
-
## In 60 Sekunden
|
|
21
|
+
## In 60 Sekunden starten
|
|
28
22
|
|
|
29
|
-
###
|
|
23
|
+
### 1. Installieren
|
|
30
24
|
|
|
31
25
|
```bash
|
|
32
26
|
npm install -g @pcircle/memesh
|
|
33
27
|
```
|
|
34
28
|
|
|
35
|
-
###
|
|
29
|
+
### 2. Eine Entscheidung speichern
|
|
36
30
|
|
|
37
31
|
```bash
|
|
38
32
|
memesh remember --name "auth-decision" --type "decision" --obs "Use OAuth 2.0 with PKCE"
|
|
39
33
|
```
|
|
40
34
|
|
|
41
|
-
###
|
|
35
|
+
### 3. Später wiederfinden
|
|
42
36
|
|
|
43
37
|
```bash
|
|
44
38
|
memesh recall "login security"
|
|
45
|
-
# →
|
|
39
|
+
# → findet "OAuth 2.0 with PKCE" auch mit anderer Formulierung
|
|
46
40
|
```
|
|
47
41
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
Öffne das Dashboard, um dein Gedächtnis zu erkunden:
|
|
42
|
+
Dashboard öffnen:
|
|
51
43
|
|
|
52
44
|
```bash
|
|
53
45
|
memesh
|
|
54
46
|
```
|
|
55
47
|
|
|
56
|
-
|
|
57
|
-
<img src="docs/images/dashboard-search.png" alt="MeMesh Search — finde jede Erinnerung sofort" width="100%" />
|
|
58
|
-
</p>
|
|
59
|
-
|
|
60
|
-
<p align="center">
|
|
61
|
-
<img src="docs/images/dashboard-analytics.png" alt="MeMesh Analytics — verstehe das Wissen deiner KI" width="100%" />
|
|
62
|
-
</p>
|
|
63
|
-
|
|
64
|
-
<p align="center">
|
|
65
|
-
<img src="docs/images/dashboard-graph.png" alt="MeMesh Graph — interaktiver Wissensgraph mit Typfiltern und Ego-Modus" width="100%" />
|
|
66
|
-
</p>
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
## Für Wen ist Das?
|
|
71
|
-
|
|
72
|
-
| Wenn du... | hilft dir MeMesh... |
|
|
73
|
-
|---------------|---------------------|
|
|
74
|
-
| **Entwickler der Claude Code nutzt** | Entscheidungen, Muster und Erkenntnisse sitzungsübergreifend automatisch zu merken |
|
|
75
|
-
| **Team, das mit LLMs entwickelt** | Team-Wissen per Export/Import zu teilen und den KI-Kontext aller synchron zu halten |
|
|
76
|
-
| **KI-Agent-Entwickler** | Deinen Agenten über MCP, HTTP API oder Python SDK dauerhaftes Gedächtnis zu geben |
|
|
77
|
-
| **Power-User mit mehreren KI-Tools** | Eine Gedächtnisschicht für Claude, GPT, LLaMA, Ollama oder jeden MCP-Client |
|
|
78
|
-
|
|
79
|
-
---
|
|
80
|
-
|
|
81
|
-
## Funktioniert mit Allem
|
|
82
|
-
|
|
83
|
-
<table>
|
|
84
|
-
<tr>
|
|
85
|
-
<td width="33%" align="center">
|
|
86
|
-
|
|
87
|
-
**Claude Code / Desktop**
|
|
88
|
-
```bash
|
|
89
|
-
memesh-mcp
|
|
90
|
-
```
|
|
91
|
-
MCP-Protokoll (automatisch konfiguriert)
|
|
92
|
-
|
|
93
|
-
</td>
|
|
94
|
-
<td width="33%" align="center">
|
|
95
|
-
|
|
96
|
-
**Python / LangChain**
|
|
97
|
-
```python
|
|
98
|
-
from memesh import MeMesh
|
|
99
|
-
m = MeMesh()
|
|
100
|
-
m.recall("auth")
|
|
101
|
-
```
|
|
102
|
-
`pip install memesh`
|
|
103
|
-
|
|
104
|
-
</td>
|
|
105
|
-
<td width="33%" align="center">
|
|
106
|
-
|
|
107
|
-
**Beliebige LLMs (OpenAI-Format)**
|
|
108
|
-
```bash
|
|
109
|
-
memesh export-schema \
|
|
110
|
-
--format openai
|
|
111
|
-
```
|
|
112
|
-
Tools in jeden API-Aufruf einfügen
|
|
113
|
-
|
|
114
|
-
</td>
|
|
115
|
-
</tr>
|
|
116
|
-
</table>
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
## Warum Nicht Einfach Mem0 / Zep?
|
|
48
|
+
## Für wen ist das gedacht?
|
|
121
49
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
| **Speicherung** | Einzelne SQLite-Datei | Neo4j + Qdrant | Neo4j |
|
|
127
|
-
| **Offline nutzbar** | Ja, immer | Nein | Nein |
|
|
128
|
-
| **Dashboard** | Integriert (7 Tabs + Analytik) | Keins | Keins |
|
|
129
|
-
| **Abhängigkeiten** | 6 | 20+ | 10+ |
|
|
130
|
-
| **Preis** | Dauerhaft kostenlos | Kostenlose Stufe / Kostenpflichtig | Kostenlose Stufe / Kostenpflichtig |
|
|
50
|
+
- Entwickler, die Claude Code nutzen und Projektkontext über Sessions hinweg behalten wollen
|
|
51
|
+
- Power-User, die dieselbe lokale Memory zwischen mehreren MCP Coding Agents nutzen möchten
|
|
52
|
+
- Kleine AI-native Teams, die Projektwissen per export / import teilen wollen
|
|
53
|
+
- Agent-Entwickler, die lokale Memory über CLI, HTTP oder MCP einbinden möchten
|
|
131
54
|
|
|
132
|
-
|
|
55
|
+
## Warum MeMesh?
|
|
133
56
|
|
|
134
|
-
|
|
57
|
+
- Local-first: die Daten liegen in deiner eigenen SQLite-Datei
|
|
58
|
+
- Leichte Installation: `npm install -g` und los
|
|
59
|
+
- Direkte Integration: CLI, HTTP und MCP werden unterstützt
|
|
60
|
+
- Gute Claude-Code-Passung: hooks bringen relevantes Wissen in den Workflow
|
|
61
|
+
- Einsehbar statt Black Box: das Dashboard macht Memory sichtbar und pflegbar
|
|
62
|
+
- Sicherere Import-Grenze: importierte Erinnerungen bleiben auffindbar, werden aber nicht automatisch in Claude-Hooks injiziert, solange sie nicht geprüft oder lokal neu gespeichert wurden
|
|
135
63
|
|
|
136
|
-
## Was
|
|
64
|
+
## Was passiert automatisch in Claude Code?
|
|
137
65
|
|
|
138
|
-
|
|
66
|
+
MeMesh unterstützt aktuell an 5 Stellen:
|
|
139
67
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
| **Vor der Kontextkomprimierung** | Sichert Wissen, bevor es durch Kontextgrenzen verloren geht |
|
|
68
|
+
- beim Start der Session lädt es relevante Erinnerungen und bekannte Lessons
|
|
69
|
+
- vor Dateibearbeitungen ruft es projekt- oder dateibezogene Memory ab
|
|
70
|
+
- nach `git commit` protokolliert es die Änderung
|
|
71
|
+
- am Session-Ende fasst es Fixes, Fehler und lessons learned zusammen
|
|
72
|
+
- vor dem Context Compact speichert es wichtige Inhalte zurück in die lokale Memory
|
|
146
73
|
|
|
147
|
-
|
|
74
|
+
## Was bietet das Dashboard?
|
|
148
75
|
|
|
149
|
-
|
|
76
|
+
Das Dashboard hat 7 Tabs und unterstützt 11 Sprachen:
|
|
150
77
|
|
|
151
|
-
|
|
78
|
+
- Search: Memory durchsuchen
|
|
79
|
+
- Browse: alle Einträge ansehen
|
|
80
|
+
- Analytics: Gesundheit und Trends verstehen
|
|
81
|
+
- Graph: Wissensbeziehungen visualisieren
|
|
82
|
+
- Lessons: frühere Erkenntnisse prüfen
|
|
83
|
+
- Manage: archivieren und wiederherstellen
|
|
84
|
+
- Settings: LLM-Provider und Sprache einstellen
|
|
152
85
|
|
|
153
|
-
|
|
86
|
+
## Was ist Smart Mode?
|
|
154
87
|
|
|
155
|
-
|
|
156
|
-
|-----|---------------|
|
|
157
|
-
| **Search** | Volltextsuche + Vektor-Ähnlichkeitssuche über alle Erinnerungen |
|
|
158
|
-
| **Browse** | Paginierte Liste aller Entitäten mit Archivierung/Wiederherstellung |
|
|
159
|
-
| **Analytics** | Memory Health Score (0-100), 30-Tage-Timeline, Wert-Metriken, Wissensabdeckung, Aufräum-Vorschläge, deine Arbeitsmuster |
|
|
160
|
-
| **Graph** | Interaktiver kräftebasierter Wissensgraph mit Typfiltern, Suche, Ego-Modus, Aktualitäts-Heatmap |
|
|
161
|
-
| **Lessons** | Strukturierte Lektionen aus vergangenen Fehlern (Fehler, Ursache, Fix, Prävention) |
|
|
162
|
-
| **Manage** | Entitäten archivieren und wiederherstellen |
|
|
163
|
-
| **Settings** | LLM-Anbieter-Konfiguration, Sprachauswahl |
|
|
88
|
+
MeMesh funktioniert standardmäßig offline. Mit einem LLM-API-Key lassen sich zusätzliche Fähigkeiten aktivieren, zum Beispiel:
|
|
164
89
|
|
|
165
|
-
|
|
90
|
+
- query expansion
|
|
91
|
+
- bessere automatische Extraktion
|
|
92
|
+
- intelligentere Verdichtung und Organisation
|
|
166
93
|
|
|
167
|
-
|
|
94
|
+
Auch ohne API-Key bleiben die Kernfunktionen nutzbar.
|
|
168
95
|
|
|
169
|
-
|
|
96
|
+
## Mehr Informationen
|
|
170
97
|
|
|
171
|
-
|
|
98
|
+
- Vollständige Funktionen, Vergleiche, API und Release-Details: [English README](README.md)
|
|
99
|
+
- Integrationsleitfaden: [docs/platforms/README.md](docs/platforms/README.md)
|
|
100
|
+
- API-Referenz: [docs/api/API_REFERENCE.md](docs/api/API_REFERENCE.md)
|
|
172
101
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
**⚠️ Konflikterkennung** — Wenn zwei Erinnerungen sich widersprechen, warnt MeMesh dich.
|
|
176
|
-
|
|
177
|
-
**📦 Team-Sharing** — `memesh export > team-knowledge.json` → mit Team teilen → `memesh import team-knowledge.json`
|
|
178
|
-
|
|
179
|
-
---
|
|
180
|
-
|
|
181
|
-
## Smart Mode Freischalten (Optional)
|
|
182
|
-
|
|
183
|
-
MeMesh funktioniert standardmäßig vollständig offline. Füge einen LLM-API-Schlüssel hinzu, um intelligentere Suche zu aktivieren:
|
|
184
|
-
|
|
185
|
-
```bash
|
|
186
|
-
memesh config set llm.provider anthropic
|
|
187
|
-
memesh config set llm.api-key sk-ant-...
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
Oder verwende den Einstellungs-Tab im Dashboard (visuelle Einrichtung):
|
|
191
|
-
|
|
192
|
-
```bash
|
|
193
|
-
memesh # öffnet Dashboard → Einstellungs-Tab
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
| | Level 0 (Standard) | Level 1 (Smart Mode) |
|
|
197
|
-
|---|---|---|
|
|
198
|
-
| **Suche** | FTS5 Keyword-Matching | + LLM-Anfrageerweiterung (~97 % Recall) |
|
|
199
|
-
| **Auto-Erfassung** — | Regelbasierte Muster | + LLM extrahiert Entscheidungen & Erkenntnisse |
|
|
200
|
-
| **Komprimierung** | Nicht verfügbar | `consolidate` komprimiert ausführliche Erinnerungen |
|
|
201
|
-
| **Kosten** | Kostenlos, kein API-Schlüssel | ~0,0001 $ pro Suche (Haiku) |
|
|
202
|
-
|
|
203
|
-
---
|
|
204
|
-
|
|
205
|
-
## Alle 8 Gedächtnis-Tools
|
|
206
|
-
|
|
207
|
-
| Tool | Funktion |
|
|
208
|
-
|------|-------------|
|
|
209
|
-
| `remember` | Speichert Wissen mit Beobachtungen, Beziehungen und Tags |
|
|
210
|
-
| `recall` | Intelligente Suche mit Multi-Faktor-Scoring und LLM-Anfrageerweiterung |
|
|
211
|
-
| `forget` | Soft-Archivierung (kein Löschen) oder Entfernen spezifischer Beobachtungen |
|
|
212
|
-
| `consolidate` | LLM-gestützte Komprimierung ausführlicher Erinnerungen |
|
|
213
|
-
| `export` | Teilt Erinnerungen als JSON zwischen Projekten oder Teammitgliedern |
|
|
214
|
-
| `import` | Importiert Erinnerungen mit Zusammenführungsstrategien (überspringen / überschreiben / anhängen) |
|
|
215
|
-
| `learn` | Strukturierte Lektionen aus Fehlern aufzeichnen (Fehler, Ursache, Fix, Prävention) |
|
|
216
|
-
| `user_patterns` | Analysiere deine Arbeitsmuster — Zeitplan, Tools, Stärken, Lernbereiche |
|
|
217
|
-
|
|
218
|
-
---
|
|
219
|
-
|
|
220
|
-
## Architektur
|
|
221
|
-
|
|
222
|
-
```
|
|
223
|
-
┌─────────────────┐
|
|
224
|
-
│ Core Engine │
|
|
225
|
-
│ (8 operations) │
|
|
226
|
-
└────────┬────────┘
|
|
227
|
-
┌─────────────────┼─────────────────┐
|
|
228
|
-
│ │ │
|
|
229
|
-
CLI (memesh) HTTP API (serve) MCP (memesh-mcp)
|
|
230
|
-
│ │ │
|
|
231
|
-
└─────────────────┼─────────────────┘
|
|
232
|
-
│
|
|
233
|
-
SQLite + FTS5 + sqlite-vec
|
|
234
|
-
(~/.memesh/knowledge-graph.db)
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
Der Kern ist framework-unabhängig. Dieselbe Logik läuft vom Terminal, HTTP oder MCP aus.
|
|
238
|
-
|
|
239
|
-
---
|
|
240
|
-
|
|
241
|
-
## Mitwirken
|
|
102
|
+
## Entwicklung und Verifikation
|
|
242
103
|
|
|
243
104
|
```bash
|
|
244
105
|
git clone https://github.com/PCIRCLE-AI/memesh-llm-memory
|
|
245
|
-
cd memesh-llm-memory
|
|
246
|
-
npm
|
|
106
|
+
cd memesh-llm-memory
|
|
107
|
+
npm install
|
|
108
|
+
npm run build
|
|
109
|
+
npm test
|
|
247
110
|
```
|
|
248
|
-
|
|
249
|
-
Dashboard: `cd dashboard && npm install && npm run dev`
|
|
250
|
-
|
|
251
|
-
---
|
|
252
|
-
|
|
253
|
-
<p align="center">
|
|
254
|
-
<strong>MIT</strong> — Erstellt von <a href="https://pcircle.ai">PCIRCLE AI</a>
|
|
255
|
-
</p>
|
package/README.es.md
CHANGED
|
@@ -3,253 +3,108 @@
|
|
|
3
3
|
<p align="center">
|
|
4
4
|
<h1 align="center">MeMesh LLM Memory</h1>
|
|
5
5
|
<p align="center">
|
|
6
|
-
<strong>La capa de memoria
|
|
7
|
-
Un
|
|
8
|
-
</p>
|
|
9
|
-
<p align="center">
|
|
10
|
-
<a href="https://www.npmjs.com/package/@pcircle/memesh"><img src="https://img.shields.io/npm/v/@pcircle/memesh?style=flat-square&color=3b82f6&label=npm" alt="npm" /></a>
|
|
11
|
-
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-22c55e?style=flat-square" alt="MIT" /></a>
|
|
12
|
-
<a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-%3E%3D20-22c55e?style=flat-square" alt="Node" /></a>
|
|
13
|
-
<a href="https://modelcontextprotocol.io"><img src="https://img.shields.io/badge/MCP-compatible-a855f7?style=flat-square" alt="MCP" /></a>
|
|
6
|
+
<strong>La capa de memoria local para Claude Code y los coding agents compatibles con MCP.</strong><br />
|
|
7
|
+
Un archivo SQLite. Sin Docker. Sin depender de la nube.
|
|
14
8
|
</p>
|
|
15
9
|
</p>
|
|
16
10
|
|
|
17
|
-
|
|
11
|
+
> Este README en español es una guía resumida. Para la documentación completa y más reciente, toma como referencia el [English README](README.md).
|
|
18
12
|
|
|
19
|
-
##
|
|
13
|
+
## ¿Qué problema resuelve?
|
|
20
14
|
|
|
21
|
-
|
|
15
|
+
Los coding agents pierden el contexto con facilidad entre sesiones. Decisiones de arquitectura, bugs ya corregidos, lecciones aprendidas y restricciones del proyecto terminan explicándose una y otra vez.
|
|
22
16
|
|
|
23
|
-
**MeMesh
|
|
17
|
+
**MeMesh conserva ese conocimiento en local, lo hace consultable y permite reutilizarlo cuando vuelve a hacer falta.**
|
|
24
18
|
|
|
25
|
-
|
|
19
|
+
Este paquete npm es la versión local del plugin / package de MeMesh. No es el producto de workspace en la nube ni una plataforma enterprise completa.
|
|
26
20
|
|
|
27
|
-
## Empieza en 60
|
|
21
|
+
## Empieza en 60 segundos
|
|
28
22
|
|
|
29
|
-
###
|
|
23
|
+
### 1. Instala
|
|
30
24
|
|
|
31
25
|
```bash
|
|
32
26
|
npm install -g @pcircle/memesh
|
|
33
27
|
```
|
|
34
28
|
|
|
35
|
-
###
|
|
29
|
+
### 2. Guarda una decisión
|
|
36
30
|
|
|
37
31
|
```bash
|
|
38
32
|
memesh remember --name "auth-decision" --type "decision" --obs "Use OAuth 2.0 with PKCE"
|
|
39
33
|
```
|
|
40
34
|
|
|
41
|
-
###
|
|
35
|
+
### 3. Recupérala después
|
|
42
36
|
|
|
43
37
|
```bash
|
|
44
38
|
memesh recall "login security"
|
|
45
|
-
# →
|
|
39
|
+
# → encuentra "OAuth 2.0 with PKCE" aunque uses otras palabras
|
|
46
40
|
```
|
|
47
41
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
Abre el panel para explorar tu memoria:
|
|
42
|
+
Abre el dashboard:
|
|
51
43
|
|
|
52
44
|
```bash
|
|
53
45
|
memesh
|
|
54
46
|
```
|
|
55
47
|
|
|
56
|
-
|
|
57
|
-
<img src="docs/images/dashboard-search.png" alt="MeMesh Search — encuentra cualquier recuerdo al instante" width="100%" />
|
|
58
|
-
</p>
|
|
59
|
-
|
|
60
|
-
<p align="center">
|
|
61
|
-
<img src="docs/images/dashboard-analytics.png" alt="MeMesh Analytics — comprende el conocimiento de tu IA" width="100%" />
|
|
62
|
-
</p>
|
|
63
|
-
|
|
64
|
-
<p align="center">
|
|
65
|
-
<img src="docs/images/dashboard-graph.png" alt="MeMesh Graph — grafo de conocimiento interactivo con filtros de tipo y modo ego" width="100%" />
|
|
66
|
-
</p>
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
## ¿Para Quién Es?
|
|
71
|
-
|
|
72
|
-
| Si eres... | MeMesh te ayuda a... |
|
|
73
|
-
|---------------|---------------------|
|
|
74
|
-
| **Desarrollador usando Claude Code** | Recordar decisiones, patrones y lecciones entre sesiones automáticamente |
|
|
75
|
-
| **Equipo construyendo con LLMs** | Compartir conocimiento del equipo mediante exportación/importación, manteniendo el contexto de IA de todos alineado |
|
|
76
|
-
| **Desarrollador de agentes de IA** | Dar a tus agentes memoria persistente mediante MCP, HTTP API o Python SDK |
|
|
77
|
-
| **Usuario avanzado con múltiples herramientas de IA** | Una capa de memoria que funciona con Claude, GPT, LLaMA, Ollama o cualquier cliente MCP |
|
|
78
|
-
|
|
79
|
-
---
|
|
80
|
-
|
|
81
|
-
## Funciona con Todo
|
|
82
|
-
|
|
83
|
-
<table>
|
|
84
|
-
<tr>
|
|
85
|
-
<td width="33%" align="center">
|
|
86
|
-
|
|
87
|
-
**Claude Code / Desktop**
|
|
88
|
-
```bash
|
|
89
|
-
memesh-mcp
|
|
90
|
-
```
|
|
91
|
-
Protocolo MCP (configurado automáticamente)
|
|
92
|
-
|
|
93
|
-
</td>
|
|
94
|
-
<td width="33%" align="center">
|
|
95
|
-
|
|
96
|
-
**Python / LangChain**
|
|
97
|
-
```python
|
|
98
|
-
from memesh import MeMesh
|
|
99
|
-
m = MeMesh()
|
|
100
|
-
m.recall("auth")
|
|
101
|
-
```
|
|
102
|
-
`pip install memesh`
|
|
103
|
-
|
|
104
|
-
</td>
|
|
105
|
-
<td width="33%" align="center">
|
|
106
|
-
|
|
107
|
-
**Cualquier LLM (formato OpenAI)**
|
|
108
|
-
```bash
|
|
109
|
-
memesh export-schema \
|
|
110
|
-
--format openai
|
|
111
|
-
```
|
|
112
|
-
Pega las herramientas en cualquier llamada a la API
|
|
113
|
-
|
|
114
|
-
</td>
|
|
115
|
-
</tr>
|
|
116
|
-
</table>
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
## ¿Por Qué No Mem0 / Zep?
|
|
48
|
+
## ¿Para quién está pensado?
|
|
121
49
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
| **Almacenamiento** | Archivo SQLite único | Neo4j + Qdrant | Neo4j |
|
|
127
|
-
| **Funciona sin conexión** | Sí, siempre | No | No |
|
|
128
|
-
| **Panel** | Integrado (7 pestañas + analytics) | Ninguno | Ninguno |
|
|
129
|
-
| **Dependencias** | 6 | 20+ | 10+ |
|
|
130
|
-
| **Precio** | Gratis para siempre | Plan gratuito / De pago | Plan gratuito / De pago |
|
|
50
|
+
- Desarrolladores que usan Claude Code y quieren mantener contexto entre sesiones
|
|
51
|
+
- Usuarios avanzados que quieren compartir la misma memoria local entre varios MCP coding agents
|
|
52
|
+
- Equipos AI-native pequeños que quieren compartir conocimiento de proyecto vía export / import
|
|
53
|
+
- Desarrolladores de agents que quieren integrar memoria local mediante CLI, HTTP o MCP
|
|
131
54
|
|
|
132
|
-
|
|
55
|
+
## ¿Por qué MeMesh?
|
|
133
56
|
|
|
134
|
-
|
|
57
|
+
- Local-first: los datos quedan en tu propio archivo SQLite
|
|
58
|
+
- Instalación ligera: `npm install -g` y listo
|
|
59
|
+
- Integración directa: soporta CLI, HTTP y MCP
|
|
60
|
+
- Encaja bien con Claude Code: los hooks ayudan a traer el contexto adecuado al flujo de trabajo
|
|
61
|
+
- Es visible y manejable: el dashboard permite revisar y limpiar la memoria
|
|
62
|
+
- Límite de confianza más seguro: la memoria importada sigue siendo searchable, pero no se inyecta automáticamente en los hooks de Claude hasta que la revises o la vuelvas a guardar en local
|
|
135
63
|
|
|
136
|
-
## Qué
|
|
64
|
+
## ¿Qué hace automáticamente en Claude Code?
|
|
137
65
|
|
|
138
|
-
|
|
66
|
+
Hoy MeMesh ayuda en 5 momentos:
|
|
139
67
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
| **Antes de la compactación de contexto** | Guarda el conocimiento antes de que se pierda por los límites del contexto |
|
|
68
|
+
- al iniciar la sesión, carga memorias relevantes y lecciones ya conocidas
|
|
69
|
+
- antes de editar archivos, recupera memoria relacionada con el archivo o el proyecto
|
|
70
|
+
- después de `git commit`, registra los cambios realizados
|
|
71
|
+
- al terminar la sesión, resume correcciones, errores y lessons learned
|
|
72
|
+
- antes del compactado de contexto, guarda lo importante en la memoria local
|
|
146
73
|
|
|
147
|
-
|
|
74
|
+
## ¿Qué incluye el dashboard?
|
|
148
75
|
|
|
149
|
-
|
|
76
|
+
El dashboard tiene 7 pestañas y soporte para 11 idiomas:
|
|
150
77
|
|
|
151
|
-
|
|
78
|
+
- Search: buscar memoria
|
|
79
|
+
- Browse: ver todas las memorias
|
|
80
|
+
- Analytics: revisar salud y tendencias
|
|
81
|
+
- Graph: ver relaciones de conocimiento
|
|
82
|
+
- Lessons: revisar lecciones aprendidas
|
|
83
|
+
- Manage: archivar y restaurar
|
|
84
|
+
- Settings: configurar proveedor de LLM e idioma
|
|
152
85
|
|
|
153
|
-
|
|
86
|
+
## ¿Qué es Smart Mode?
|
|
154
87
|
|
|
155
|
-
|
|
156
|
-
|---------|---------|
|
|
157
|
-
| **Search** | Búsqueda de texto completo + similitud vectorial en todas las memorias |
|
|
158
|
-
| **Browse** | Lista paginada de todas las entidades con archivado/restauración |
|
|
159
|
-
| **Analytics** | Puntuación de Salud de Memoria (0-100), timeline de 30 días, métricas de valor, cobertura de conocimiento, sugerencias de limpieza, tus patrones de trabajo |
|
|
160
|
-
| **Graph** | Grafo de conocimiento interactivo dirigido por fuerzas con filtros de tipo, búsqueda, modo ego, mapa de calor de recencia |
|
|
161
|
-
| **Lessons** | Lecciones estructuradas de fallos pasados (error, causa raíz, corrección, prevención) |
|
|
162
|
-
| **Manage** | Archivar y restaurar entidades |
|
|
163
|
-
| **Settings** | Configuración del proveedor LLM, selector de idioma |
|
|
88
|
+
MeMesh funciona offline por defecto. Si configuras una API key de LLM, puedes activar capacidades adicionales, por ejemplo:
|
|
164
89
|
|
|
165
|
-
|
|
90
|
+
- query expansion
|
|
91
|
+
- mejor extracción automática
|
|
92
|
+
- organización y compresión más inteligentes
|
|
166
93
|
|
|
167
|
-
|
|
94
|
+
Sin API key, las funciones principales siguen disponibles.
|
|
168
95
|
|
|
169
|
-
|
|
96
|
+
## Más información
|
|
170
97
|
|
|
171
|
-
|
|
98
|
+
- Funciones completas, comparativas, API y detalles de release: [English README](README.md)
|
|
99
|
+
- Guía de integraciones: [docs/platforms/README.md](docs/platforms/README.md)
|
|
100
|
+
- Referencia de API: [docs/api/API_REFERENCE.md](docs/api/API_REFERENCE.md)
|
|
172
101
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
**⚠️ Detección de Conflictos** — Si tienes dos recuerdos que se contradicen, MeMesh te avisa.
|
|
176
|
-
|
|
177
|
-
**📦 Compartir en Equipo** — `memesh export > team-knowledge.json` → comparte con tu equipo → `memesh import team-knowledge.json`
|
|
178
|
-
|
|
179
|
-
---
|
|
180
|
-
|
|
181
|
-
## Activa el Modo Inteligente (Opcional)
|
|
182
|
-
|
|
183
|
-
MeMesh funciona completamente sin conexión por defecto. Añade una clave API de LLM para desbloquear búsquedas más inteligentes:
|
|
184
|
-
|
|
185
|
-
```bash
|
|
186
|
-
memesh config set llm.provider anthropic
|
|
187
|
-
memesh config set llm.api-key sk-ant-...
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
O usa la pestaña Configuración del panel (configuración visual):
|
|
191
|
-
|
|
192
|
-
```bash
|
|
193
|
-
memesh # abre el panel → pestaña Configuración
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
| | Nivel 0 (por defecto) | Nivel 1 (Modo Inteligente) |
|
|
197
|
-
|---|---|---|
|
|
198
|
-
| **Búsqueda** | Coincidencia de palabras clave FTS5 | + Expansión de consulta por LLM (~97 % de recall) |
|
|
199
|
-
| **Captura automática** | Patrones basados en reglas | + LLM extrae decisiones y lecciones |
|
|
200
|
-
| **Compresión** | No disponible | `consolidate` comprime recuerdos extensos |
|
|
201
|
-
| **Coste** | Gratis, sin clave API | ~$0,0001 por búsqueda (Haiku) |
|
|
202
|
-
|
|
203
|
-
---
|
|
204
|
-
|
|
205
|
-
## Las 8 Herramientas de Memoria
|
|
206
|
-
|
|
207
|
-
| Herramienta | Qué hace |
|
|
208
|
-
|------|-------------|
|
|
209
|
-
| `remember` | Guarda conocimiento con observaciones, relaciones y etiquetas |
|
|
210
|
-
| `recall` | Búsqueda inteligente con puntuación multifactorial y expansión de consulta por LLM |
|
|
211
|
-
| `forget` | Archivado suave (nunca borra) o elimina observaciones específicas |
|
|
212
|
-
| `consolidate` | Compresión de memorias extensas asistida por LLM |
|
|
213
|
-
| `export` | Comparte memorias como JSON entre proyectos o miembros del equipo |
|
|
214
|
-
| `import` | Importa memorias con estrategias de fusión (omitir / sobrescribir / añadir) |
|
|
215
|
-
| `learn` | Registra lecciones estructuradas a partir de errores (error, causa raíz, corrección, prevención) |
|
|
216
|
-
| `user_patterns` | Analiza tus patrones de trabajo — horario, herramientas, fortalezas, áreas de aprendizaje |
|
|
217
|
-
|
|
218
|
-
---
|
|
219
|
-
|
|
220
|
-
## Arquitectura
|
|
221
|
-
|
|
222
|
-
```
|
|
223
|
-
┌─────────────────┐
|
|
224
|
-
│ Core Engine │
|
|
225
|
-
│ (8 operations) │
|
|
226
|
-
└────────┬────────┘
|
|
227
|
-
┌─────────────────┼─────────────────┐
|
|
228
|
-
│ │ │
|
|
229
|
-
CLI (memesh) HTTP API (serve) MCP (memesh-mcp)
|
|
230
|
-
│ │ │
|
|
231
|
-
└─────────────────┼─────────────────┘
|
|
232
|
-
│
|
|
233
|
-
SQLite + FTS5 + sqlite-vec
|
|
234
|
-
(~/.memesh/knowledge-graph.db)
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
El núcleo es independiente del framework. La misma lógica se ejecuta desde el terminal, HTTP o MCP.
|
|
238
|
-
|
|
239
|
-
---
|
|
240
|
-
|
|
241
|
-
## Contribuir
|
|
102
|
+
## Desarrollo y verificación
|
|
242
103
|
|
|
243
104
|
```bash
|
|
244
105
|
git clone https://github.com/PCIRCLE-AI/memesh-llm-memory
|
|
245
|
-
cd memesh-llm-memory
|
|
246
|
-
npm
|
|
106
|
+
cd memesh-llm-memory
|
|
107
|
+
npm install
|
|
108
|
+
npm run build
|
|
109
|
+
npm test
|
|
247
110
|
```
|
|
248
|
-
|
|
249
|
-
Panel: `cd dashboard && npm install && npm run dev`
|
|
250
|
-
|
|
251
|
-
---
|
|
252
|
-
|
|
253
|
-
<p align="center">
|
|
254
|
-
<strong>MIT</strong> — Hecho por <a href="https://pcircle.ai">PCIRCLE AI</a>
|
|
255
|
-
</p>
|