@pcircle/memesh 3.0.1 → 3.1.0

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.
Files changed (45) hide show
  1. package/README.de.md +234 -0
  2. package/README.es.md +234 -0
  3. package/README.fr.md +234 -0
  4. package/README.ja.md +234 -0
  5. package/README.ko.md +234 -0
  6. package/README.md +141 -94
  7. package/README.pt.md +234 -0
  8. package/README.th.md +234 -0
  9. package/README.vi.md +234 -0
  10. package/README.zh-CN.md +234 -0
  11. package/README.zh-TW.md +234 -0
  12. package/dashboard/dist/index.html +16 -0
  13. package/dist/core/config.d.ts.map +1 -1
  14. package/dist/core/config.js +5 -1
  15. package/dist/core/config.js.map +1 -1
  16. package/dist/core/failure-analyzer.d.ts +13 -0
  17. package/dist/core/failure-analyzer.d.ts.map +1 -0
  18. package/dist/core/failure-analyzer.js +98 -0
  19. package/dist/core/failure-analyzer.js.map +1 -0
  20. package/dist/core/lesson-engine.d.ts +21 -0
  21. package/dist/core/lesson-engine.d.ts.map +1 -0
  22. package/dist/core/lesson-engine.js +76 -0
  23. package/dist/core/lesson-engine.js.map +1 -0
  24. package/dist/core/operations.d.ts +2 -1
  25. package/dist/core/operations.d.ts.map +1 -1
  26. package/dist/core/operations.js +15 -0
  27. package/dist/core/operations.js.map +1 -1
  28. package/dist/core/schema-export.d.ts.map +1 -1
  29. package/dist/core/schema-export.js +18 -0
  30. package/dist/core/schema-export.js.map +1 -1
  31. package/dist/core/types.d.ts +12 -0
  32. package/dist/core/types.d.ts.map +1 -1
  33. package/dist/transports/cli/cli.js +35 -3
  34. package/dist/transports/cli/cli.js.map +1 -1
  35. package/dist/transports/http/server.d.ts.map +1 -1
  36. package/dist/transports/http/server.js +52 -1
  37. package/dist/transports/http/server.js.map +1 -1
  38. package/dist/transports/mcp/handlers.d.ts +31 -0
  39. package/dist/transports/mcp/handlers.d.ts.map +1 -1
  40. package/dist/transports/mcp/handlers.js +34 -1
  41. package/dist/transports/mcp/handlers.js.map +1 -1
  42. package/package.json +1 -1
  43. package/plugin.json +1 -1
  44. package/scripts/hooks/session-start.js +38 -1
  45. package/scripts/hooks/session-summary.js +34 -2
package/README.de.md ADDED
@@ -0,0 +1,234 @@
1
+ 🌐 [English](README.md) | [繁體中文](README.zh-TW.md) | [简体中文](README.zh-CN.md) | [日本語](README.ja.md) | [한국어](README.ko.md) | [Português](README.pt.md) | [Français](README.fr.md) | [Deutsch](README.de.md) | [Tiếng Việt](README.vi.md) | [Español](README.es.md) | [ภาษาไทย](README.th.md)
2
+
3
+ <p align="center">
4
+ <h1 align="center">MeMesh LLM Memory</h1>
5
+ <p align="center">
6
+ <strong>Die leichteste universelle KI-Gedächtnisschicht.</strong><br />
7
+ Eine SQLite-Datei. Jedes LLM. Kein Cloud-Dienst.
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>
14
+ <a href="https://pypi.org/project/memesh/"><img src="https://img.shields.io/badge/pip-memesh-3b82f6?style=flat-square" alt="PyPI" /></a>
15
+ </p>
16
+ </p>
17
+
18
+ ---
19
+
20
+ ## Das Problem
21
+
22
+ Deine KI vergisst zwischen Sessions alles. Jede Entscheidung, jeder Bugfix, jede Erkenntnis — weg. Du erklärst denselben Kontext immer wieder, Claude entdeckt dieselben Muster erneut, und das KI-Wissen deines Teams wird jedes Mal auf null zurückgesetzt.
23
+
24
+ **MeMesh gibt jeder KI ein dauerhaftes, durchsuchbares und sich weiterentwickelndes Gedächtnis.**
25
+
26
+ ---
27
+
28
+ ## In 60 Sekunden Loslegen
29
+
30
+ ### Schritt 1: Installieren
31
+
32
+ ```bash
33
+ npm install -g @pcircle/memesh
34
+ ```
35
+
36
+ ### Schritt 2: Deine KI erinnert sich
37
+
38
+ ```bash
39
+ memesh remember --name "auth-decision" --type "decision" --obs "Use OAuth 2.0 with PKCE"
40
+ ```
41
+
42
+ ### Schritt 3: Deine KI ruft ab
43
+
44
+ ```bash
45
+ memesh recall "login security"
46
+ # → Findet "OAuth 2.0 with PKCE", obwohl du andere Wörter verwendet hast
47
+ ```
48
+
49
+ **Das war's.** MeMesh erinnert und ruft nun über Sessions hinweg ab.
50
+
51
+ Öffne das Dashboard, um dein Gedächtnis zu erkunden:
52
+
53
+ ```bash
54
+ memesh
55
+ ```
56
+
57
+ <p align="center">
58
+ <img src="docs/images/dashboard-search.png" alt="MeMesh Search — finde jede Erinnerung sofort" width="100%" />
59
+ </p>
60
+
61
+ <p align="center">
62
+ <img src="docs/images/dashboard-analytics.png" alt="MeMesh Analytics — verstehe das Wissen deiner KI" width="100%" />
63
+ </p>
64
+
65
+ ---
66
+
67
+ ## Für Wen ist Das?
68
+
69
+ | Wenn du... | hilft dir MeMesh... |
70
+ |---------------|---------------------|
71
+ | **Entwickler der Claude Code nutzt** | Entscheidungen, Muster und Erkenntnisse sitzungsübergreifend automatisch zu merken |
72
+ | **Team, das mit LLMs entwickelt** | Team-Wissen per Export/Import zu teilen und den KI-Kontext aller synchron zu halten |
73
+ | **KI-Agent-Entwickler** | Deinen Agenten über MCP, HTTP API oder Python SDK dauerhaftes Gedächtnis zu geben |
74
+ | **Power-User mit mehreren KI-Tools** | Eine Gedächtnisschicht für Claude, GPT, LLaMA, Ollama oder jeden MCP-Client |
75
+
76
+ ---
77
+
78
+ ## Funktioniert mit Allem
79
+
80
+ <table>
81
+ <tr>
82
+ <td width="33%" align="center">
83
+
84
+ **Claude Code / Desktop**
85
+ ```bash
86
+ memesh-mcp
87
+ ```
88
+ MCP-Protokoll (automatisch konfiguriert)
89
+
90
+ </td>
91
+ <td width="33%" align="center">
92
+
93
+ **Python / LangChain**
94
+ ```python
95
+ from memesh import MeMesh
96
+ m = MeMesh()
97
+ m.recall("auth")
98
+ ```
99
+ `pip install memesh`
100
+
101
+ </td>
102
+ <td width="33%" align="center">
103
+
104
+ **Beliebige LLMs (OpenAI-Format)**
105
+ ```bash
106
+ memesh export-schema \
107
+ --format openai
108
+ ```
109
+ Tools in jeden API-Aufruf einfügen
110
+
111
+ </td>
112
+ </tr>
113
+ </table>
114
+
115
+ ---
116
+
117
+ ## Warum Nicht Einfach Mem0 / Zep?
118
+
119
+ | | **MeMesh** | Mem0 | Zep |
120
+ |---|---|---|---|
121
+ | **Installationszeit** | 5 Sekunden | 30–60 Minuten | 30+ Minuten |
122
+ | **Einrichtung** | `npm i -g` — fertig | Neo4j + VectorDB + API-Schlüssel | Neo4j + Konfiguration |
123
+ | **Speicherung** | Einzelne SQLite-Datei | Neo4j + Qdrant | Neo4j |
124
+ | **Offline nutzbar** | Ja, immer | Nein | Nein |
125
+ | **Dashboard** | Integriert (5 Tabs) | Keins | Keins |
126
+ | **Abhängigkeiten** | 6 | 20+ | 10+ |
127
+ | **Preis** | Dauerhaft kostenlos | Kostenlose Stufe / Kostenpflichtig | Kostenlose Stufe / Kostenpflichtig |
128
+
129
+ **MeMesh tauscht:** Enterprise-Multi-Tenant-Funktionen gegen **sofortige Einrichtung, kein Infrastrukturaufwand und 100 % Datenschutz**.
130
+
131
+ ---
132
+
133
+ ## Was Automatisch Passiert
134
+
135
+ Du musst nicht alles manuell merken. MeMesh hat **4 Hooks**, die Wissen erfassen, ohne dass du etwas tun musst:
136
+
137
+ | Wann | Was MeMesh tut |
138
+ |------|------------------|
139
+ | **Zu Beginn jeder Session** | Lädt deine relevantesten Erinnerungen (nach Scoring-Algorithmus gerankt) |
140
+ | **Nach jedem `git commit`** | Erfasst was du geändert hast, mit Diff-Statistiken |
141
+ | **Wenn Claude beendet** | Erfasst bearbeitete Dateien, behobene Fehler und getroffene Entscheidungen |
142
+ | **Vor der Kontextkomprimierung** | Sichert Wissen, bevor es durch Kontextgrenzen verloren geht |
143
+
144
+ > **Jederzeit deaktivierbar:** `export MEMESH_AUTO_CAPTURE=false`
145
+
146
+ ---
147
+
148
+ ## Intelligente Funktionen
149
+
150
+ **🧠 Smart Search** — Suche nach „login security" und finde Erinnerungen über „OAuth PKCE". MeMesh erweitert Suchanfragen mit verwandten Begriffen über das konfigurierte LLM.
151
+
152
+ **📊 Scored Ranking** — Ergebnisse gerankt nach Relevanz (35 %) + letzter Nutzung (25 %) + Häufigkeit (20 %) + Vertrauen (15 %) + ob die Info noch aktuell ist (5 %).
153
+
154
+ **🔄 Wissensentwicklung** — Entscheidungen ändern sich. `forget` archiviert alte Erinnerungen (löscht nie). `supersedes`-Beziehungen verknüpfen Alt mit Neu. Deine KI sieht immer die neueste Version.
155
+
156
+ **⚠️ Konflikterkennung** — Wenn zwei Erinnerungen sich widersprechen, warnt MeMesh dich.
157
+
158
+ **📦 Team-Sharing** — `memesh export > team-knowledge.json` → mit Team teilen → `memesh import team-knowledge.json`
159
+
160
+ ---
161
+
162
+ ## Smart Mode Freischalten (Optional)
163
+
164
+ MeMesh funktioniert standardmäßig vollständig offline. Füge einen LLM-API-Schlüssel hinzu, um intelligentere Suche zu aktivieren:
165
+
166
+ ```bash
167
+ memesh config set llm.provider anthropic
168
+ memesh config set llm.api-key sk-ant-...
169
+ ```
170
+
171
+ Oder verwende den Einstellungs-Tab im Dashboard (visuelle Einrichtung):
172
+
173
+ ```bash
174
+ memesh # öffnet Dashboard → Einstellungs-Tab
175
+ ```
176
+
177
+ | | Level 0 (Standard) | Level 1 (Smart Mode) |
178
+ |---|---|---|
179
+ | **Suche** | FTS5 Keyword-Matching | + LLM-Anfrageerweiterung (~97 % Recall) |
180
+ | **Auto-Erfassung** — | Regelbasierte Muster | + LLM extrahiert Entscheidungen & Erkenntnisse |
181
+ | **Komprimierung** | Nicht verfügbar | `consolidate` komprimiert ausführliche Erinnerungen |
182
+ | **Kosten** | Kostenlos, kein API-Schlüssel | ~0,0001 $ pro Suche (Haiku) |
183
+
184
+ ---
185
+
186
+ ## Alle 6 Gedächtnis-Tools
187
+
188
+ | Tool | Funktion |
189
+ |------|-------------|
190
+ | `remember` | Speichert Wissen mit Beobachtungen, Beziehungen und Tags |
191
+ | `recall` | Intelligente Suche mit Multi-Faktor-Scoring und LLM-Anfrageerweiterung |
192
+ | `forget` | Soft-Archivierung (kein Löschen) oder Entfernen spezifischer Beobachtungen |
193
+ | `consolidate` | LLM-gestützte Komprimierung ausführlicher Erinnerungen |
194
+ | `export` | Teilt Erinnerungen als JSON zwischen Projekten oder Teammitgliedern |
195
+ | `import` | Importiert Erinnerungen mit Zusammenführungsstrategien (überspringen / überschreiben / anhängen) |
196
+
197
+ ---
198
+
199
+ ## Architektur
200
+
201
+ ```
202
+ ┌─────────────────┐
203
+ │ Core Engine │
204
+ │ (6 operations) │
205
+ └────────┬────────┘
206
+ ┌─────────────────┼─────────────────┐
207
+ │ │ │
208
+ CLI (memesh) HTTP API (serve) MCP (memesh-mcp)
209
+ │ │ │
210
+ └─────────────────┼─────────────────┘
211
+
212
+ SQLite + FTS5 + sqlite-vec
213
+ (~/.memesh/knowledge-graph.db)
214
+ ```
215
+
216
+ Der Kern ist framework-unabhängig. Dieselbe Logik läuft vom Terminal, HTTP oder MCP aus.
217
+
218
+ ---
219
+
220
+ ## Mitwirken
221
+
222
+ ```bash
223
+ git clone https://github.com/PCIRCLE-AI/memesh-llm-memory
224
+ cd memesh-llm-memory && npm install && npm run build
225
+ npm test -- --run # 289 tests
226
+ ```
227
+
228
+ Dashboard: `cd dashboard && npm install && npm run dev`
229
+
230
+ ---
231
+
232
+ <p align="center">
233
+ <strong>MIT</strong> — Erstellt von <a href="https://pcircle.ai">PCIRCLE AI</a>
234
+ </p>
package/README.es.md ADDED
@@ -0,0 +1,234 @@
1
+ 🌐 [English](README.md) | [繁體中文](README.zh-TW.md) | [简体中文](README.zh-CN.md) | [日本語](README.ja.md) | [한국어](README.ko.md) | [Português](README.pt.md) | [Français](README.fr.md) | [Deutsch](README.de.md) | [Tiếng Việt](README.vi.md) | [Español](README.es.md) | [ภาษาไทย](README.th.md)
2
+
3
+ <p align="center">
4
+ <h1 align="center">MeMesh LLM Memory</h1>
5
+ <p align="center">
6
+ <strong>La capa de memoria de IA universal más ligera.</strong><br />
7
+ Un solo archivo SQLite. Cualquier LLM. Cero nube.
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>
14
+ <a href="https://pypi.org/project/memesh/"><img src="https://img.shields.io/badge/pip-memesh-3b82f6?style=flat-square" alt="PyPI" /></a>
15
+ </p>
16
+ </p>
17
+
18
+ ---
19
+
20
+ ## El Problema
21
+
22
+ Tu IA olvida todo entre sesiones. Cada decisión, cada corrección de bug, cada lección aprendida — desaparecen. Vuelves a explicar el mismo contexto una y otra vez, Claude redescubre los mismos patrones, y el conocimiento de IA de tu equipo se resetea a cero cada vez.
23
+
24
+ **MeMesh da a cada IA una memoria persistente, con búsqueda inteligente y en constante evolución.**
25
+
26
+ ---
27
+
28
+ ## Empieza en 60 Segundos
29
+
30
+ ### Paso 1: Instala
31
+
32
+ ```bash
33
+ npm install -g @pcircle/memesh
34
+ ```
35
+
36
+ ### Paso 2: Tu IA recuerda
37
+
38
+ ```bash
39
+ memesh remember --name "auth-decision" --type "decision" --obs "Use OAuth 2.0 with PKCE"
40
+ ```
41
+
42
+ ### Paso 3: Tu IA recupera
43
+
44
+ ```bash
45
+ memesh recall "login security"
46
+ # → Encuentra "OAuth 2.0 with PKCE" aunque busques con otras palabras
47
+ ```
48
+
49
+ **Eso es todo.** MeMesh ya está recordando y recuperando entre sesiones.
50
+
51
+ Abre el panel para explorar tu memoria:
52
+
53
+ ```bash
54
+ memesh
55
+ ```
56
+
57
+ <p align="center">
58
+ <img src="docs/images/dashboard-search.png" alt="MeMesh Search — encuentra cualquier recuerdo al instante" width="100%" />
59
+ </p>
60
+
61
+ <p align="center">
62
+ <img src="docs/images/dashboard-analytics.png" alt="MeMesh Analytics — comprende el conocimiento de tu IA" width="100%" />
63
+ </p>
64
+
65
+ ---
66
+
67
+ ## ¿Para Quién Es?
68
+
69
+ | Si eres... | MeMesh te ayuda a... |
70
+ |---------------|---------------------|
71
+ | **Desarrollador usando Claude Code** | Recordar decisiones, patrones y lecciones entre sesiones automáticamente |
72
+ | **Equipo construyendo con LLMs** | Compartir conocimiento del equipo mediante exportación/importación, manteniendo el contexto de IA de todos alineado |
73
+ | **Desarrollador de agentes de IA** | Dar a tus agentes memoria persistente mediante MCP, HTTP API o Python SDK |
74
+ | **Usuario avanzado con múltiples herramientas de IA** | Una capa de memoria que funciona con Claude, GPT, LLaMA, Ollama o cualquier cliente MCP |
75
+
76
+ ---
77
+
78
+ ## Funciona con Todo
79
+
80
+ <table>
81
+ <tr>
82
+ <td width="33%" align="center">
83
+
84
+ **Claude Code / Desktop**
85
+ ```bash
86
+ memesh-mcp
87
+ ```
88
+ Protocolo MCP (configurado automáticamente)
89
+
90
+ </td>
91
+ <td width="33%" align="center">
92
+
93
+ **Python / LangChain**
94
+ ```python
95
+ from memesh import MeMesh
96
+ m = MeMesh()
97
+ m.recall("auth")
98
+ ```
99
+ `pip install memesh`
100
+
101
+ </td>
102
+ <td width="33%" align="center">
103
+
104
+ **Cualquier LLM (formato OpenAI)**
105
+ ```bash
106
+ memesh export-schema \
107
+ --format openai
108
+ ```
109
+ Pega las herramientas en cualquier llamada a la API
110
+
111
+ </td>
112
+ </tr>
113
+ </table>
114
+
115
+ ---
116
+
117
+ ## ¿Por Qué No Mem0 / Zep?
118
+
119
+ | | **MeMesh** | Mem0 | Zep |
120
+ |---|---|---|---|
121
+ | **Tiempo de instalación** | 5 segundos | 30–60 minutos | 30+ minutos |
122
+ | **Configuración** | `npm i -g` — listo | Neo4j + VectorDB + claves API | Neo4j + config |
123
+ | **Almacenamiento** | Archivo SQLite único | Neo4j + Qdrant | Neo4j |
124
+ | **Funciona sin conexión** | Sí, siempre | No | No |
125
+ | **Panel** | Integrado (5 pestañas) | Ninguno | Ninguno |
126
+ | **Dependencias** | 6 | 20+ | 10+ |
127
+ | **Precio** | Gratis para siempre | Plan gratuito / De pago | Plan gratuito / De pago |
128
+
129
+ **MeMesh sacrifica:** funcionalidades enterprise multi-inquilino a cambio de **instalación instantánea, cero infraestructura y 100 % de privacidad**.
130
+
131
+ ---
132
+
133
+ ## Qué Ocurre Automáticamente
134
+
135
+ No necesitas recordar todo manualmente. MeMesh tiene **4 hooks** que capturan conocimiento sin que hagas nada:
136
+
137
+ | Cuándo | Qué hace MeMesh |
138
+ |------|------------------|
139
+ | **Al inicio de cada sesión** | Carga tus recuerdos más relevantes (clasificados por algoritmo de puntuación) |
140
+ | **Tras cada `git commit`** | Registra lo que cambiaste, con estadísticas del diff |
141
+ | **Cuando Claude se detiene** | Captura archivos editados, errores corregidos y decisiones tomadas |
142
+ | **Antes de la compactación de contexto** | Guarda el conocimiento antes de que se pierda por los límites del contexto |
143
+
144
+ > **Desactívalo cuando quieras:** `export MEMESH_AUTO_CAPTURE=false`
145
+
146
+ ---
147
+
148
+ ## Funcionalidades Inteligentes
149
+
150
+ **🧠 Búsqueda Inteligente** — Busca "login security" y encuentra recuerdos sobre "OAuth PKCE". MeMesh expande las consultas con términos relacionados usando el LLM configurado.
151
+
152
+ **📊 Clasificación por Puntuación** — Los resultados se ordenan por relevancia (35 %) + última vez que se usó (25 %) + frecuencia (20 %) + confianza (15 %) + si la información sigue siendo actual (5 %).
153
+
154
+ **🔄 Evolución del Conocimiento** — Las decisiones cambian. `forget` archiva los recuerdos antiguos (nunca borra). Las relaciones `supersedes` conectan lo viejo con lo nuevo. Tu IA siempre ve la versión más reciente.
155
+
156
+ **⚠️ Detección de Conflictos** — Si tienes dos recuerdos que se contradicen, MeMesh te avisa.
157
+
158
+ **📦 Compartir en Equipo** — `memesh export > team-knowledge.json` → comparte con tu equipo → `memesh import team-knowledge.json`
159
+
160
+ ---
161
+
162
+ ## Activa el Modo Inteligente (Opcional)
163
+
164
+ MeMesh funciona completamente sin conexión por defecto. Añade una clave API de LLM para desbloquear búsquedas más inteligentes:
165
+
166
+ ```bash
167
+ memesh config set llm.provider anthropic
168
+ memesh config set llm.api-key sk-ant-...
169
+ ```
170
+
171
+ O usa la pestaña Configuración del panel (configuración visual):
172
+
173
+ ```bash
174
+ memesh # abre el panel → pestaña Configuración
175
+ ```
176
+
177
+ | | Nivel 0 (por defecto) | Nivel 1 (Modo Inteligente) |
178
+ |---|---|---|
179
+ | **Búsqueda** | Coincidencia de palabras clave FTS5 | + Expansión de consulta por LLM (~97 % de recall) |
180
+ | **Captura automática** | Patrones basados en reglas | + LLM extrae decisiones y lecciones |
181
+ | **Compresión** | No disponible | `consolidate` comprime recuerdos extensos |
182
+ | **Coste** | Gratis, sin clave API | ~$0,0001 por búsqueda (Haiku) |
183
+
184
+ ---
185
+
186
+ ## Las 6 Herramientas de Memoria
187
+
188
+ | Herramienta | Qué hace |
189
+ |------|-------------|
190
+ | `remember` | Guarda conocimiento con observaciones, relaciones y etiquetas |
191
+ | `recall` | Búsqueda inteligente con puntuación multifactorial y expansión de consulta por LLM |
192
+ | `forget` | Archivado suave (nunca borra) o elimina observaciones específicas |
193
+ | `consolidate` | Compresión de memorias extensas asistida por LLM |
194
+ | `export` | Comparte memorias como JSON entre proyectos o miembros del equipo |
195
+ | `import` | Importa memorias con estrategias de fusión (omitir / sobrescribir / añadir) |
196
+
197
+ ---
198
+
199
+ ## Arquitectura
200
+
201
+ ```
202
+ ┌─────────────────┐
203
+ │ Core Engine │
204
+ │ (6 operations) │
205
+ └────────┬────────┘
206
+ ┌─────────────────┼─────────────────┐
207
+ │ │ │
208
+ CLI (memesh) HTTP API (serve) MCP (memesh-mcp)
209
+ │ │ │
210
+ └─────────────────┼─────────────────┘
211
+
212
+ SQLite + FTS5 + sqlite-vec
213
+ (~/.memesh/knowledge-graph.db)
214
+ ```
215
+
216
+ El núcleo es independiente del framework. La misma lógica se ejecuta desde el terminal, HTTP o MCP.
217
+
218
+ ---
219
+
220
+ ## Contribuir
221
+
222
+ ```bash
223
+ git clone https://github.com/PCIRCLE-AI/memesh-llm-memory
224
+ cd memesh-llm-memory && npm install && npm run build
225
+ npm test -- --run # 289 tests
226
+ ```
227
+
228
+ Panel: `cd dashboard && npm install && npm run dev`
229
+
230
+ ---
231
+
232
+ <p align="center">
233
+ <strong>MIT</strong> — Hecho por <a href="https://pcircle.ai">PCIRCLE AI</a>
234
+ </p>