@pcircle/memesh 4.2.5 → 4.2.7

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.
@@ -8,7 +8,7 @@
8
8
  "name": "memesh",
9
9
  "source": "./",
10
10
  "description": "MeMesh — Local memory for Claude Code and MCP coding agents. One SQLite file, zero cloud required.",
11
- "version": "4.2.5",
11
+ "version": "4.2.7",
12
12
  "author": {
13
13
  "name": "PCIRCLE AI"
14
14
  },
@@ -4,7 +4,7 @@
4
4
  "author": {
5
5
  "name": "PCIRCLE AI"
6
6
  },
7
- "version": "4.2.5",
7
+ "version": "4.2.7",
8
8
  "homepage": "https://pcircle.ai/memesh-llm-memory",
9
9
  "repository": "https://github.com/PCIRCLE-AI/memesh-llm-memory",
10
10
  "license": "MIT",
package/README.de.md CHANGED
@@ -42,6 +42,67 @@ Reproduktionsbefehle, Datensatz-SHA256, rohe Ergebnisse pro Frage und Analyse be
42
42
 
43
43
  ---
44
44
 
45
+ ## Installationspfade auf einen Blick
46
+
47
+ MeMesh hat **zwei Installationspfade, die nebeneinander existieren**. Die meisten Nutzer brauchen beide. Beide schreiben in die **selbe Speicher-Datenbank** (`~/.memesh/knowledge-graph.db`), so dass im Claude-Code-Chat erfasste Memories auch in deiner Shell erscheinen und umgekehrt.
48
+
49
+ ```mermaid
50
+ flowchart TB
51
+ classDef client fill:#1f2937,stroke:#4b5563,color:#f9fafb,stroke-width:1px
52
+ classDef pathA fill:#1e3a8a,stroke:#3b82f6,color:#eff6ff,stroke-width:2px
53
+ classDef pathB fill:#14532d,stroke:#22c55e,color:#f0fdf4,stroke-width:2px
54
+ classDef db fill:#7c2d12,stroke:#f97316,color:#fff7ed,stroke-width:2px
55
+
56
+ subgraph clients["Where you use memesh from"]
57
+ direction LR
58
+ CC["Claude Code<br/>(chat + agent)"]:::client
59
+ TERM["Terminal / other<br/>MCP clients<br/>(Cursor, Cline...)"]:::client
60
+ end
61
+
62
+ subgraph paths["Two install paths"]
63
+ direction LR
64
+ A["<b>Path A — /plugin install</b><br/>───────────────<br/>Lives in <code>~/.claude/plugins/</code><br/><br/>• MCP tools in chat<br/>• Auto-capture hooks<br/>• <code>/memesh</code> skill<br/>• Session-start banner"]:::pathA
65
+ B["<b>Path B — npm install -g</b><br/>───────────────<br/>Lives in <code>$(npm prefix -g)/bin/</code><br/><br/>• <code>memesh</code> shell command<br/>• <code>memesh-mcp</code>, <code>-http</code>, <code>-view</code> bins<br/>• For Cursor / Cline / other MCP"]:::pathB
66
+ end
67
+
68
+ DB[("Shared memory DB<br/><code>~/.memesh/knowledge-graph.db</code><br/>Same data, both paths see it")]:::db
69
+
70
+ CC -->|uses| A
71
+ TERM -->|uses| B
72
+ A --> DB
73
+ B --> DB
74
+ ```
75
+
76
+ **Welchen brauchst du?**
77
+
78
+ | Was du willst | Installationspfad |
79
+ |---|---|
80
+ | `/memesh` skill im Claude-Code-Chat verwenden | Path A (Plugin) |
81
+ | Auto-Capture in Claude Code (Session → Lessons → nächste Recall) | Path A (Plugin) |
82
+ | `memesh remember` / `memesh recall` / `memesh doctor` im Terminal | Path B (npm-global) |
83
+ | `memesh` direkt zum Öffnen des Dashboards (ohne `npx`-Startverzögerung) | Path B (npm-global) |
84
+ | `memesh-mcp` an Cursor, Cline oder andere MCP-Clients anbinden | Path B (npm-global) |
85
+ | Alles oben | **Beide installieren** — kein Konflikt |
86
+
87
+ > **Häufiges Missverständnis**: Das Claude-Code-Plugin legt `memesh` **nicht** auf deinen Shell-`PATH`. Wenn du nur `/plugin install` läufst und dann im Terminal `memesh reindex` tippst, siehst du `command not found`. Das ist normal — für den Shell-Befehl brauchst du zusätzlich `npm install -g @pcircle/memesh`.
88
+
89
+ ### ⚠️ Das Plugin installiert NICHT das CLI
90
+
91
+ Das ist die häufigste Verwechslung. Einmal lesen, spart dir später Zeit:
92
+
93
+ - `/plugin install memesh@pcircle-memesh` aus Claude Code → installiert **nur Path A**. Du erhältst MCP-Tools, Hooks, das `/memesh` skill. `memesh` landet **nicht** auf deinem Shell-`PATH`.
94
+ - `memesh reindex` / `memesh update` / `memesh doctor` im Terminal → braucht **Path B** (npm-global). Sonst: `zsh: command not found: memesh`.
95
+ - **Empfohlenes Setup für Claude-Code-Nutzer**: **beide installieren**. Koexistieren, teilen sich dieselbe DB, kein Konflikt.
96
+
97
+ ```bash
98
+ # Nach /plugin install ..., auch das ausführen:
99
+ npm install -g @pcircle/memesh
100
+ ```
101
+
102
+ Wenn du memesh nur im Claude-Code-Chat verwendest (nie `memesh` im Terminal tippst), reicht Path A. Alle anderen: beide installieren.
103
+
104
+ ---
105
+
45
106
  ## In 60 Sekunden starten
46
107
 
47
108
  ### Schritt 1: Installation
package/README.es.md CHANGED
@@ -42,6 +42,67 @@ Los comandos de reproducción, SHA256 del dataset, resultados crudos por pregunt
42
42
 
43
43
  ---
44
44
 
45
+ ## Vista rápida de las rutas de instalación
46
+
47
+ MeMesh tiene **dos rutas de instalación que coexisten**. La mayoría de usuarios quiere ambas. Escriben en la **misma base de datos de memoria** (`~/.memesh/knowledge-graph.db`), por lo que los recuerdos capturados en el chat de Claude Code aparecen en tu shell, y viceversa.
48
+
49
+ ```mermaid
50
+ flowchart TB
51
+ classDef client fill:#1f2937,stroke:#4b5563,color:#f9fafb,stroke-width:1px
52
+ classDef pathA fill:#1e3a8a,stroke:#3b82f6,color:#eff6ff,stroke-width:2px
53
+ classDef pathB fill:#14532d,stroke:#22c55e,color:#f0fdf4,stroke-width:2px
54
+ classDef db fill:#7c2d12,stroke:#f97316,color:#fff7ed,stroke-width:2px
55
+
56
+ subgraph clients["Where you use memesh from"]
57
+ direction LR
58
+ CC["Claude Code<br/>(chat + agent)"]:::client
59
+ TERM["Terminal / other<br/>MCP clients<br/>(Cursor, Cline...)"]:::client
60
+ end
61
+
62
+ subgraph paths["Two install paths"]
63
+ direction LR
64
+ A["<b>Path A — /plugin install</b><br/>───────────────<br/>Lives in <code>~/.claude/plugins/</code><br/><br/>• MCP tools in chat<br/>• Auto-capture hooks<br/>• <code>/memesh</code> skill<br/>• Session-start banner"]:::pathA
65
+ B["<b>Path B — npm install -g</b><br/>───────────────<br/>Lives in <code>$(npm prefix -g)/bin/</code><br/><br/>• <code>memesh</code> shell command<br/>• <code>memesh-mcp</code>, <code>-http</code>, <code>-view</code> bins<br/>• For Cursor / Cline / other MCP"]:::pathB
66
+ end
67
+
68
+ DB[("Shared memory DB<br/><code>~/.memesh/knowledge-graph.db</code><br/>Same data, both paths see it")]:::db
69
+
70
+ CC -->|uses| A
71
+ TERM -->|uses| B
72
+ A --> DB
73
+ B --> DB
74
+ ```
75
+
76
+ **¿Cuál necesitas?**
77
+
78
+ | Lo que quieres hacer | Ruta de instalación |
79
+ |---|---|
80
+ | Usar el skill `/memesh` dentro de una conversación de Claude Code | Path A (plugin) |
81
+ | Auto-captura en Claude Code (sesión → lecciones → recall siguiente) | Path A (plugin) |
82
+ | Ejecutar `memesh remember` / `memesh recall` / `memesh doctor` en cualquier terminal | Path B (npm-global) |
83
+ | Abrir el dashboard con `memesh` (sin retraso de arranque de `npx`) | Path B (npm-global) |
84
+ | Conectar `memesh-mcp` a Cursor, Cline u otro cliente MCP | Path B (npm-global) |
85
+ | Todo lo anterior | **Instala ambos** — no entran en conflicto |
86
+
87
+ > **Confusión común**: el plugin de Claude Code **no** pone `memesh` en tu `PATH` del shell. Si solo ejecutas `/plugin install` y luego escribes `memesh reindex` en una terminal, verás `command not found`. Es normal — añade `npm install -g @pcircle/memesh` también para acceso desde el shell.
88
+
89
+ ### ⚠️ Instalar el plugin NO instala el CLI
90
+
91
+ Es la confusión más común. Léelo una vez y te ahorrarás un bucle futuro:
92
+
93
+ - `/plugin install memesh@pcircle-memesh` desde Claude Code → instala **solo Path A**. Te da herramientas MCP, hooks, el skill `/memesh`. **NO** pone `memesh` en tu `PATH` del shell.
94
+ - `memesh reindex` / `memesh update` / `memesh doctor` en una terminal → necesita **Path B** (npm-global). Sin él: `zsh: command not found: memesh`.
95
+ - **Configuración recomendada para usuarios de Claude Code**: **instala ambos**. Coexisten, comparten la misma base de datos, no conflictúan.
96
+
97
+ ```bash
98
+ # Después de /plugin install ..., ejecuta también esto:
99
+ npm install -g @pcircle/memesh
100
+ ```
101
+
102
+ Si solo usas memesh a través del chat de Claude Code (nunca tecleas `memesh` en una terminal), Path A solo es suficiente. Para todos los demás: instala ambos.
103
+
104
+ ---
105
+
45
106
  ## Primeros Pasos en 60 Segundos
46
107
 
47
108
  ### Opción A — Plugin de Claude Code (instalación de una línea)
package/README.fr.md CHANGED
@@ -42,6 +42,67 @@ Les commandes de reproduction, le SHA256 du jeu de données, les résultats brut
42
42
 
43
43
  ---
44
44
 
45
+ ## Aperçu des chemins d'installation
46
+
47
+ MeMesh a **deux chemins d'installation coexistants**. La plupart des utilisateurs veulent les deux. Ils écrivent dans la **même base de données mémoire** (`~/.memesh/knowledge-graph.db`), donc les mémoires capturées dans Claude Code apparaissent dans votre shell, et vice versa.
48
+
49
+ ```mermaid
50
+ flowchart TB
51
+ classDef client fill:#1f2937,stroke:#4b5563,color:#f9fafb,stroke-width:1px
52
+ classDef pathA fill:#1e3a8a,stroke:#3b82f6,color:#eff6ff,stroke-width:2px
53
+ classDef pathB fill:#14532d,stroke:#22c55e,color:#f0fdf4,stroke-width:2px
54
+ classDef db fill:#7c2d12,stroke:#f97316,color:#fff7ed,stroke-width:2px
55
+
56
+ subgraph clients["Where you use memesh from"]
57
+ direction LR
58
+ CC["Claude Code<br/>(chat + agent)"]:::client
59
+ TERM["Terminal / other<br/>MCP clients<br/>(Cursor, Cline...)"]:::client
60
+ end
61
+
62
+ subgraph paths["Two install paths"]
63
+ direction LR
64
+ A["<b>Path A — /plugin install</b><br/>───────────────<br/>Lives in <code>~/.claude/plugins/</code><br/><br/>• MCP tools in chat<br/>• Auto-capture hooks<br/>• <code>/memesh</code> skill<br/>• Session-start banner"]:::pathA
65
+ B["<b>Path B — npm install -g</b><br/>───────────────<br/>Lives in <code>$(npm prefix -g)/bin/</code><br/><br/>• <code>memesh</code> shell command<br/>• <code>memesh-mcp</code>, <code>-http</code>, <code>-view</code> bins<br/>• For Cursor / Cline / other MCP"]:::pathB
66
+ end
67
+
68
+ DB[("Shared memory DB<br/><code>~/.memesh/knowledge-graph.db</code><br/>Same data, both paths see it")]:::db
69
+
70
+ CC -->|uses| A
71
+ TERM -->|uses| B
72
+ A --> DB
73
+ B --> DB
74
+ ```
75
+
76
+ **Lequel vous faut-il ?**
77
+
78
+ | Ce que vous voulez faire | Chemin d'installation |
79
+ |---|---|
80
+ | Utiliser le skill `/memesh` dans une conversation Claude Code | Path A (plugin) |
81
+ | Auto-capture dans Claude Code (session → leçons → recall suivant) | Path A (plugin) |
82
+ | Exécuter `memesh remember` / `memesh recall` / `memesh doctor` dans n'importe quel terminal | Path B (npm-global) |
83
+ | Ouvrir le dashboard via `memesh` (sans délai de démarrage `npx`) | Path B (npm-global) |
84
+ | Brancher `memesh-mcp` à Cursor, Cline ou un autre client MCP | Path B (npm-global) |
85
+ | Tout ce qui précède | **Installez les deux** — ils ne sont pas en conflit |
86
+
87
+ > **Confusion courante** : le plugin Claude Code **ne** met **pas** `memesh` sur votre `PATH` shell. Si vous lancez seulement `/plugin install` puis tapez `memesh reindex` dans un terminal, vous verrez `command not found`. C'est normal — il faut aussi `npm install -g @pcircle/memesh` pour l'accès shell.
88
+
89
+ ### ⚠️ Installer le plugin n'installe PAS le CLI
90
+
91
+ C'est la confusion la plus fréquente. Lisez ceci une fois et vous gagnerez du temps plus tard :
92
+
93
+ - `/plugin install memesh@pcircle-memesh` depuis Claude Code → installe **uniquement Path A**. Vous obtenez les outils MCP, les hooks, le skill `/memesh`. `memesh` n'est **PAS** ajouté à votre `PATH` shell.
94
+ - `memesh reindex` / `memesh update` / `memesh doctor` dans un terminal → nécessite **Path B** (npm-global). Sans : `zsh: command not found: memesh`.
95
+ - **Configuration recommandée pour les utilisateurs Claude Code** : **installez les deux**. Coexistent, partagent la même base de données, aucun conflit.
96
+
97
+ ```bash
98
+ # Après /plugin install ..., exécutez aussi ceci :
99
+ npm install -g @pcircle/memesh
100
+ ```
101
+
102
+ Si vous utilisez memesh uniquement via le chat Claude Code (jamais `memesh` dans un terminal), Path A suffit. Tous les autres : installez les deux.
103
+
104
+ ---
105
+
45
106
  ## Démarrer en 60 Secondes
46
107
 
47
108
  ### Étape 1 : Installer
package/README.ja.md CHANGED
@@ -42,6 +42,67 @@ MeMesh の検索エンジンは **FTS5 のみ**(LLM もホットパスのエン
42
42
 
43
43
  ---
44
44
 
45
+ ## インストールパス早見表
46
+
47
+ MeMesh には**共存する 2 つのインストールパス**があります。ほとんどのユーザーは両方が必要です。両者は**同じメモリデータベース**(`~/.memesh/knowledge-graph.db`)に書き込むため、Claude Code チャットで捕捉した記憶がシェルにも反映され、逆も同様です。
48
+
49
+ ```mermaid
50
+ flowchart TB
51
+ classDef client fill:#1f2937,stroke:#4b5563,color:#f9fafb,stroke-width:1px
52
+ classDef pathA fill:#1e3a8a,stroke:#3b82f6,color:#eff6ff,stroke-width:2px
53
+ classDef pathB fill:#14532d,stroke:#22c55e,color:#f0fdf4,stroke-width:2px
54
+ classDef db fill:#7c2d12,stroke:#f97316,color:#fff7ed,stroke-width:2px
55
+
56
+ subgraph clients["Where you use memesh from"]
57
+ direction LR
58
+ CC["Claude Code<br/>(chat + agent)"]:::client
59
+ TERM["Terminal / other<br/>MCP clients<br/>(Cursor, Cline...)"]:::client
60
+ end
61
+
62
+ subgraph paths["Two install paths"]
63
+ direction LR
64
+ A["<b>Path A — /plugin install</b><br/>───────────────<br/>Lives in <code>~/.claude/plugins/</code><br/><br/>• MCP tools in chat<br/>• Auto-capture hooks<br/>• <code>/memesh</code> skill<br/>• Session-start banner"]:::pathA
65
+ B["<b>Path B — npm install -g</b><br/>───────────────<br/>Lives in <code>$(npm prefix -g)/bin/</code><br/><br/>• <code>memesh</code> shell command<br/>• <code>memesh-mcp</code>, <code>-http</code>, <code>-view</code> bins<br/>• For Cursor / Cline / other MCP"]:::pathB
66
+ end
67
+
68
+ DB[("Shared memory DB<br/><code>~/.memesh/knowledge-graph.db</code><br/>Same data, both paths see it")]:::db
69
+
70
+ CC -->|uses| A
71
+ TERM -->|uses| B
72
+ A --> DB
73
+ B --> DB
74
+ ```
75
+
76
+ **どちらが必要?**
77
+
78
+ | やりたいこと | インストールパス |
79
+ |---|---|
80
+ | Claude Code の会話で `/memesh` skill を使う | Path A(プラグイン)|
81
+ | Claude Code で自動キャプチャ(session → 学習 → 次回リコール) | Path A(プラグイン)|
82
+ | ターミナルで `memesh remember` / `memesh recall` / `memesh doctor` を実行 | Path B(npm-global)|
83
+ | `memesh` でダッシュボードを直接起動(`npx` 起動遅延なし) | Path B(npm-global)|
84
+ | `memesh-mcp` を Cursor、Cline、その他の MCP クライアントに接続 | Path B(npm-global)|
85
+ | すべて | **両方インストール** — 競合しません |
86
+
87
+ > **よくある誤解**:Claude Code のプラグインは **`memesh` をシェルの `PATH` には追加しません**。`/plugin install` だけを実行して、ターミナルで `memesh reindex` と打つと `command not found` が出ます。これは仕様です — シェルコマンドを使うには `npm install -g @pcircle/memesh` も必要です。
88
+
89
+ ### ⚠️ プラグインのインストールでは CLI は入りません
90
+
91
+ 最もよくある混乱です。一度読んでおけば、後で時間を節約できます:
92
+
93
+ - Claude Code 内で `/plugin install memesh@pcircle-memesh` → **Path A のみ**インストール。MCP ツール、hooks、`/memesh` skill が手に入ります。`memesh` はシェルの `PATH` には**入りません**。
94
+ - ターミナルで `memesh reindex` / `memesh update` / `memesh doctor` → **Path B**(npm-global)が必要。なければ `zsh: command not found: memesh`。
95
+ - **Claude Code ユーザーへの推奨セットアップ**:**両方インストール**。共存し、同じデータベースを共有し、競合しません。
96
+
97
+ ```bash
98
+ # /plugin install ... の後、これも実行:
99
+ npm install -g @pcircle/memesh
100
+ ```
101
+
102
+ Claude Code の会話だけで memesh を使う場合(ターミナルで `memesh` を打たない場合)、Path A だけで十分です。それ以外の方は両方インストールしてください。
103
+
104
+ ---
105
+
45
106
  ## 60 秒で始める
46
107
 
47
108
  ### オプション A — Claude Code プラグイン(ワンライナーインストール)
package/README.ko.md CHANGED
@@ -42,6 +42,67 @@ MeMesh의 검색 엔진은 **FTS5 단독**(핫 패스에 LLM 없음, 임베딩
42
42
 
43
43
  ---
44
44
 
45
+ ## 설치 경로 한눈에 보기
46
+
47
+ MeMesh에는 **공존하는 두 가지 설치 경로**가 있습니다. 대부분의 사용자는 둘 다 필요합니다. 동일한 **메모리 데이터베이스**(`~/.memesh/knowledge-graph.db`)에 기록되므로 Claude Code 채팅에서 저장한 기억이 셸에서도 보이고 그 반대도 마찬가지입니다.
48
+
49
+ ```mermaid
50
+ flowchart TB
51
+ classDef client fill:#1f2937,stroke:#4b5563,color:#f9fafb,stroke-width:1px
52
+ classDef pathA fill:#1e3a8a,stroke:#3b82f6,color:#eff6ff,stroke-width:2px
53
+ classDef pathB fill:#14532d,stroke:#22c55e,color:#f0fdf4,stroke-width:2px
54
+ classDef db fill:#7c2d12,stroke:#f97316,color:#fff7ed,stroke-width:2px
55
+
56
+ subgraph clients["Where you use memesh from"]
57
+ direction LR
58
+ CC["Claude Code<br/>(chat + agent)"]:::client
59
+ TERM["Terminal / other<br/>MCP clients<br/>(Cursor, Cline...)"]:::client
60
+ end
61
+
62
+ subgraph paths["Two install paths"]
63
+ direction LR
64
+ A["<b>Path A — /plugin install</b><br/>───────────────<br/>Lives in <code>~/.claude/plugins/</code><br/><br/>• MCP tools in chat<br/>• Auto-capture hooks<br/>• <code>/memesh</code> skill<br/>• Session-start banner"]:::pathA
65
+ B["<b>Path B — npm install -g</b><br/>───────────────<br/>Lives in <code>$(npm prefix -g)/bin/</code><br/><br/>• <code>memesh</code> shell command<br/>• <code>memesh-mcp</code>, <code>-http</code>, <code>-view</code> bins<br/>• For Cursor / Cline / other MCP"]:::pathB
66
+ end
67
+
68
+ DB[("Shared memory DB<br/><code>~/.memesh/knowledge-graph.db</code><br/>Same data, both paths see it")]:::db
69
+
70
+ CC -->|uses| A
71
+ TERM -->|uses| B
72
+ A --> DB
73
+ B --> DB
74
+ ```
75
+
76
+ **어느 쪽이 필요한가요?**
77
+
78
+ | 하고 싶은 일 | 설치 경로 |
79
+ |---|---|
80
+ | Claude Code 대화에서 `/memesh` skill 사용 | Path A(플러그인) |
81
+ | Claude Code에서 자동 캡처(session → 교훈 → 다음 recall) | Path A(플러그인) |
82
+ | 터미널에서 `memesh remember` / `memesh recall` / `memesh doctor` 실행 | Path B(npm-global) |
83
+ | `memesh`로 대시보드 바로 열기(`npx` 시작 지연 없음) | Path B(npm-global) |
84
+ | `memesh-mcp`를 Cursor, Cline 또는 기타 MCP 클라이언트에 연결 | Path B(npm-global) |
85
+ | 위 전부 | **둘 다 설치** — 충돌 없음 |
86
+
87
+ > **흔한 오해**: Claude Code 플러그인은 `memesh`를 셸 `PATH`에 **추가하지 않습니다**. `/plugin install`만 실행하고 터미널에 `memesh reindex`를 입력하면 `command not found`가 나옵니다. 정상입니다 — 셸 명령을 쓰려면 `npm install -g @pcircle/memesh`도 실행해야 합니다.
88
+
89
+ ### ⚠️ 플러그인 설치만으로는 CLI가 설치되지 않습니다
90
+
91
+ 가장 흔한 혼란입니다. 한 번만 읽어두면 됩니다:
92
+
93
+ - Claude Code에서 `/plugin install memesh@pcircle-memesh` → **Path A만** 설치. MCP 도구, hooks, `/memesh` skill을 제공. `memesh`를 셸 `PATH`에 **추가하지 않음**.
94
+ - 터미널에서 `memesh reindex` / `memesh update` / `memesh doctor` 입력 → **Path B**(npm-global)가 필요. 없으면 `zsh: command not found: memesh`.
95
+ - **Claude Code 사용자 권장 설정**: **둘 다 설치**. 공존하며 동일한 데이터베이스를 공유하고 충돌하지 않습니다.
96
+
97
+ ```bash
98
+ # /plugin install ... 후에 이것도 실행:
99
+ npm install -g @pcircle/memesh
100
+ ```
101
+
102
+ Claude Code 대화에서만 memesh를 사용한다면(터미널에서 `memesh`를 입력하지 않는다면) Path A만으로 충분합니다. 나머지는 둘 다 설치하세요.
103
+
104
+ ---
105
+
45
106
  ## 60초 안에 시작하기
46
107
 
47
108
  ### 옵션 A — Claude Code 플러그인 (한 줄 설치)
package/README.md CHANGED
@@ -42,6 +42,65 @@ Reproduction commands, dataset SHA256, raw per-question results, and known-failu
42
42
 
43
43
  ---
44
44
 
45
+ ## Install paths at a glance
46
+
47
+ MeMesh has **two install paths that coexist**. Most users want both. They write to the **same memory database** (`~/.memesh/knowledge-graph.db`), so memories captured in Claude Code chat appear in your shell, and vice versa.
48
+
49
+ ```mermaid
50
+ flowchart TB
51
+ classDef client fill:#1f2937,stroke:#4b5563,color:#f9fafb,stroke-width:1px
52
+ classDef pathA fill:#1e3a8a,stroke:#3b82f6,color:#eff6ff,stroke-width:2px
53
+ classDef pathB fill:#14532d,stroke:#22c55e,color:#f0fdf4,stroke-width:2px
54
+ classDef db fill:#7c2d12,stroke:#f97316,color:#fff7ed,stroke-width:2px
55
+
56
+ subgraph clients["Where you use memesh from"]
57
+ direction LR
58
+ CC["Claude Code<br/>(chat + agent)"]:::client
59
+ TERM["Terminal / other<br/>MCP clients<br/>(Cursor, Cline...)"]:::client
60
+ end
61
+
62
+ subgraph paths["Two install paths"]
63
+ direction LR
64
+ A["<b>Path A — /plugin install</b><br/>───────────────<br/>Lives in <code>~/.claude/plugins/</code><br/><br/>• MCP tools in chat<br/>• Auto-capture hooks<br/>• <code>/memesh</code> skill<br/>• Session-start banner"]:::pathA
65
+ B["<b>Path B — npm install -g</b><br/>───────────────<br/>Lives in <code>$(npm prefix -g)/bin/</code><br/><br/>• <code>memesh</code> shell command<br/>• <code>memesh-mcp</code>, <code>-http</code>, <code>-view</code> bins<br/>• For Cursor / Cline / other MCP"]:::pathB
66
+ end
67
+
68
+ DB[("Shared memory DB<br/><code>~/.memesh/knowledge-graph.db</code><br/>Same data, both paths see it")]:::db
69
+
70
+ CC -->|uses| A
71
+ TERM -->|uses| B
72
+ A --> DB
73
+ B --> DB
74
+ ```
75
+
76
+ **Which one do you need?**
77
+
78
+ | What you want to do | Install path |
79
+ |---|---|
80
+ | Use the `/memesh` skill inside a Claude Code conversation | Path A (plugin) |
81
+ | Get auto-capture (sessions → lessons → recall) in Claude Code | Path A (plugin) |
82
+ | Run `memesh remember` / `memesh recall` / `memesh doctor` in any terminal | Path B (npm-global) |
83
+ | Open the local dashboard via `memesh` (no `npx` lookup delay) | Path B (npm-global) |
84
+ | Plug `memesh-mcp` into Cursor, Cline, or another MCP client | Path B (npm-global) |
85
+ | All of the above | **Install both** — they don't conflict |
86
+
87
+ ### ⚠️ Installing the plugin does NOT install the CLI
88
+
89
+ This is the most common confusion. Read this once and you'll save yourself the loop:
90
+
91
+ - `/plugin install memesh@pcircle-memesh` from inside Claude Code → installs **Path A only**. Gives you MCP tools, hooks, the `/memesh` skill. Does **NOT** put `memesh` on your shell `PATH`.
92
+ - `memesh reindex` / `memesh update` / `memesh doctor` typed in a normal terminal → needs **Path B** (npm-global). Without it: `zsh: command not found: memesh`.
93
+ - **Recommended setup for Claude Code users**: install **both**. They coexist, share the same database, never conflict.
94
+
95
+ ```bash
96
+ # After /plugin install ..., also run this:
97
+ npm install -g @pcircle/memesh
98
+ ```
99
+
100
+ If you only use memesh through Claude Code chat (never type `memesh` in a terminal), Path A alone is enough. Everyone else: install both.
101
+
102
+ ---
103
+
45
104
  ## Get Started in 60 Seconds
46
105
 
47
106
  ### Option A — Claude Code plugin (one-line install)
@@ -53,7 +112,11 @@ If you use Claude Code, install MeMesh as a plugin from inside the CLI:
53
112
  /plugin install memesh@pcircle-memesh
54
113
  ```
55
114
 
56
- Claude Code wires hooks, skills, and the MCP server automatically. You get in-session auto-capture, proactive recall, the `/memesh` skill (remember / recall / learn / forget) inside the Claude Code conversation, and `remember` / `recall` / `forget` / `learn` available as MCP tools to the agent. The CLI and the local dashboard are also fully accessible without any extra global install — `npx @pcircle/memesh <command>` runs every CLI command, and `npx @pcircle/memesh` launches the dashboard at `localhost:3737`. The MCP server runs directly from the plugin's bundled compiled output — no `npx` lookup, no `npm install -g`, no build step needed. If the native `better-sqlite3` binding is missing on first start (e.g. after a Node major upgrade), the launcher self-heals by rebuilding it in-process before continuing.
115
+ Claude Code wires hooks, skills, and the MCP server automatically. You get in-session auto-capture, proactive recall, the `/memesh` skill (remember / recall / learn / forget) inside the Claude Code conversation, and `remember` / `recall` / `forget` / `learn` available as MCP tools to the agent.
116
+
117
+ The MCP server runs directly from the plugin's bundled compiled output — no `npx` lookup, no build step needed. If the native `better-sqlite3` binding is missing on first start (e.g. after a Node major upgrade), the launcher self-heals by rebuilding it in-process.
118
+
119
+ > **This installs the plugin only.** You can run CLI commands via `npx @pcircle/memesh <command>` if you absolutely don't want a global install, but typing plain `memesh` in a terminal will report `command not found`. To get a real shell `memesh` command, also run **Option B** below — both paths coexist and share the same memory database. The "Install paths at a glance" diagram above covers this.
57
120
 
58
121
  ### Option B — npm global (optional optimisation)
59
122
 
@@ -352,7 +415,16 @@ Claude Code's plugin marketplace pins versions at install time and does **not**
352
415
  **Option B — one-line script** (no UI clicking, idempotent):
353
416
 
354
417
  ```bash
418
+ # If your plugin install is v4.2.5 or newer, the script ships inside it:
355
419
  bash ~/.claude/plugins/cache/pcircle-memesh/memesh/<current-version>/scripts/upgrade-plugin.sh
420
+
421
+ # If you installed before v4.2.5 (i.e. you're on v4.2.4 or v4.2.3),
422
+ # the script isn't in your plugin yet. Use the npm-global copy instead:
423
+ bash "$(npm prefix -g)/lib/node_modules/@pcircle/memesh/scripts/upgrade-plugin.sh"
424
+
425
+ # (That assumes you've also run `npm install -g @pcircle/memesh`. If you
426
+ # haven't, this is also a good moment to — see the "Install paths at a
427
+ # glance" section above for why most users want both paths.)
356
428
  ```
357
429
 
358
430
  The script fast-forwards the marketplace cache, stages the new version under `~/.claude/plugins/cache/`, installs runtime deps, and re-points `installed_plugins.json`. Restart Claude Code afterwards so the MCP server reconnects.
package/README.pt.md CHANGED
@@ -42,6 +42,67 @@ Comandos de reprodução, SHA256 do dataset, resultados brutos por pergunta e an
42
42
 
43
43
  ---
44
44
 
45
+ ## Caminhos de instalação resumidos
46
+
47
+ MeMesh tem **dois caminhos de instalação que coexistem**. A maioria dos usuários quer ambos. Ambos escrevem no **mesmo banco de dados de memória** (`~/.memesh/knowledge-graph.db`), então memórias capturadas no chat do Claude Code aparecem no seu shell, e vice-versa.
48
+
49
+ ```mermaid
50
+ flowchart TB
51
+ classDef client fill:#1f2937,stroke:#4b5563,color:#f9fafb,stroke-width:1px
52
+ classDef pathA fill:#1e3a8a,stroke:#3b82f6,color:#eff6ff,stroke-width:2px
53
+ classDef pathB fill:#14532d,stroke:#22c55e,color:#f0fdf4,stroke-width:2px
54
+ classDef db fill:#7c2d12,stroke:#f97316,color:#fff7ed,stroke-width:2px
55
+
56
+ subgraph clients["Where you use memesh from"]
57
+ direction LR
58
+ CC["Claude Code<br/>(chat + agent)"]:::client
59
+ TERM["Terminal / other<br/>MCP clients<br/>(Cursor, Cline...)"]:::client
60
+ end
61
+
62
+ subgraph paths["Two install paths"]
63
+ direction LR
64
+ A["<b>Path A — /plugin install</b><br/>───────────────<br/>Lives in <code>~/.claude/plugins/</code><br/><br/>• MCP tools in chat<br/>• Auto-capture hooks<br/>• <code>/memesh</code> skill<br/>• Session-start banner"]:::pathA
65
+ B["<b>Path B — npm install -g</b><br/>───────────────<br/>Lives in <code>$(npm prefix -g)/bin/</code><br/><br/>• <code>memesh</code> shell command<br/>• <code>memesh-mcp</code>, <code>-http</code>, <code>-view</code> bins<br/>• For Cursor / Cline / other MCP"]:::pathB
66
+ end
67
+
68
+ DB[("Shared memory DB<br/><code>~/.memesh/knowledge-graph.db</code><br/>Same data, both paths see it")]:::db
69
+
70
+ CC -->|uses| A
71
+ TERM -->|uses| B
72
+ A --> DB
73
+ B --> DB
74
+ ```
75
+
76
+ **Qual você precisa?**
77
+
78
+ | O que você quer fazer | Caminho de instalação |
79
+ |---|---|
80
+ | Usar o skill `/memesh` numa conversa do Claude Code | Path A (plugin) |
81
+ | Auto-captura no Claude Code (sessão → lições → recall seguinte) | Path A (plugin) |
82
+ | Rodar `memesh remember` / `memesh recall` / `memesh doctor` em qualquer terminal | Path B (npm-global) |
83
+ | Abrir o dashboard via `memesh` (sem atraso de inicialização do `npx`) | Path B (npm-global) |
84
+ | Conectar `memesh-mcp` ao Cursor, Cline ou outro cliente MCP | Path B (npm-global) |
85
+ | Tudo acima | **Instale ambos** — não conflitam |
86
+
87
+ > **Confusão comum**: o plugin do Claude Code **não** coloca `memesh` no `PATH` do seu shell. Se você só rodar `/plugin install` e depois digitar `memesh reindex` num terminal, vai ver `command not found`. É normal — adicione `npm install -g @pcircle/memesh` também para acesso pelo shell.
88
+
89
+ ### ⚠️ Instalar o plugin NÃO instala o CLI
90
+
91
+ É a confusão mais comum. Leia uma vez e economize tempo no futuro:
92
+
93
+ - `/plugin install memesh@pcircle-memesh` no Claude Code → instala **apenas Path A**. Te dá ferramentas MCP, hooks, o skill `/memesh`. **NÃO** coloca `memesh` no `PATH` do seu shell.
94
+ - `memesh reindex` / `memesh update` / `memesh doctor` num terminal → precisa do **Path B** (npm-global). Sem ele: `zsh: command not found: memesh`.
95
+ - **Configuração recomendada para usuários do Claude Code**: **instale ambos**. Coexistem, compartilham o mesmo banco, sem conflito.
96
+
97
+ ```bash
98
+ # Depois de /plugin install ..., rode também isto:
99
+ npm install -g @pcircle/memesh
100
+ ```
101
+
102
+ Se você só usa memesh pelo chat do Claude Code (nunca digita `memesh` num terminal), Path A sozinho basta. Os demais: instale ambos.
103
+
104
+ ---
105
+
45
106
  ## Comece em 60 Segundos
46
107
 
47
108
  ### Passo 1: Instale