@vheins/local-memory-mcp 0.18.13 → 0.19.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.id.md +9 -1
- package/README.md +32 -17
- package/dist/{chunk-BK2QIQXS.js → chunk-AKFMCVQ4.js} +857 -680
- package/dist/dashboard/public/assets/index-BEmIBViV.js +150 -0
- package/dist/dashboard/public/assets/index-DGiNkigj.css +1 -0
- package/dist/dashboard/public/index.html +2 -2
- package/dist/dashboard/server.js +227 -171
- package/dist/mcp/server.js +1919 -727
- package/dist/prompts/create-task.md +10 -2
- package/dist/prompts/documentation-sync.md +1 -1
- package/dist/prompts/learning-retrospective.md +1 -1
- package/dist/prompts/memory-agent-core.md +8 -2
- package/dist/prompts/project-briefing.md +2 -2
- package/dist/prompts/review-and-audit.md +2 -2
- package/dist/prompts/review-and-post-issue.md +3 -3
- package/dist/prompts/scrum-master.md +1 -1
- package/dist/prompts/sentinel-issue-resolver.md +1 -1
- package/dist/prompts/server/instructions.md +10 -2
- package/dist/prompts/session-planner.md +1 -1
- package/dist/prompts/task-memory-executor.md +2 -2
- package/dist/prompts/tool-usage-guidelines.md +9 -2
- package/package.json +5 -1
- package/dist/dashboard/public/assets/index-DWRMdSsg.js +0 -150
- package/dist/dashboard/public/assets/index-wAYh22Zy.css +0 -1
package/README.id.md
CHANGED
|
@@ -16,6 +16,12 @@ Dibangun dengan filosofi **Local-First**, layanan ini menyimpan keputusan arsite
|
|
|
16
16
|
- **Anti-Hallusinasi:** Mencegah Agent berhalusinasi dengan batas kemiripan yang ketat dan deteksi konflik keputusan.
|
|
17
17
|
- **Decay Memori Otomatis:** Mengarsipkan memori usang secara otomatis untuk menjaga konteks tetap bersih dan relevan.
|
|
18
18
|
- **Dashboard Modern:** Visualisasikan memori, statistik penggunaan, dan log audit melalui antarmuka web.
|
|
19
|
+
- **Knowledge Graph:** Kelola entitas, relasi, dan observasi untuk memetakan hubungan antar konsep dalam basis pengetahuan Anda.
|
|
20
|
+
- **NLP Archivist:** Ekstraksi entitas otomatis (orang, tempat, organisasi, konsep) dari konten memori menggunakan pustaka _compromise_.
|
|
21
|
+
- **Time Tunnel:** Filter pencarian memori berdasarkan waktu relatif (hari ini, kemarin, minggu lalu, bulan lalu, N hari terakhir).
|
|
22
|
+
- **Soul Maintenance:** Mesin decay memori biologis dengan sistem imunitas tag — lindungi memori penting dari peluruhan.
|
|
23
|
+
- **Agentic Tools:** Alat khusus agen — `agent-context` (konteks sesi), `decision-log` (catat keputusan), `session-summarize` (ringkas sesi).
|
|
24
|
+
- **Upstream Aliases:** Kompatibilitas dengan alat pihak ketiga — `remember_fact`, `recall`, `forget` sebagai alias untuk alat memory bawaan.
|
|
19
25
|
|
|
20
26
|
## Penggunaan & Konfigurasi MCP
|
|
21
27
|
|
|
@@ -38,6 +44,7 @@ Cocok untuk **pengguna pertama** atau **pengujian cepat**.
|
|
|
38
44
|
### Direkomendasikan untuk Produksi
|
|
39
45
|
|
|
40
46
|
1. **Install secara global:**
|
|
47
|
+
|
|
41
48
|
```bash
|
|
42
49
|
npm install -g @vheins/local-memory-mcp
|
|
43
50
|
```
|
|
@@ -57,7 +64,8 @@ Jalankan dashboard web untuk visualisasi memori dan task:
|
|
|
57
64
|
```bash
|
|
58
65
|
local-memory-mcp dashboard
|
|
59
66
|
```
|
|
60
|
-
|
|
67
|
+
|
|
68
|
+
_Jika belum install global:_ `npx @vheins/local-memory-mcp dashboard`
|
|
61
69
|
|
|
62
70
|
Buka `http://localhost:3456` di browser.
|
|
63
71
|
|
package/README.md
CHANGED
|
@@ -11,11 +11,18 @@ Built with a **Local-First** philosophy, this service stores architectural decis
|
|
|
11
11
|
|
|
12
12
|
## 🚀 Key Features
|
|
13
13
|
|
|
14
|
-
- 🧠 **Semantic Search (V2):** Find memories based on meaning, not just keywords, using the `all-MiniLM-L6-v2` model locally.
|
|
15
|
-
- 🔄 **Tech-Stack Affinity:** Share knowledge across repositories intelligently based on technology tags
|
|
16
|
-
- 🛡️ **Anti-Hallucination Guard:**
|
|
17
|
-
-
|
|
18
|
-
-
|
|
14
|
+
- 🧠 **Semantic Search (V2):** Find memories based on meaning, not just keywords, using the `all-MiniLM-L6-v2` model locally with hybrid TF-IDF + vector ranking.
|
|
15
|
+
- 🔄 **Tech-Stack Affinity:** Share knowledge across repositories intelligently based on technology tags.
|
|
16
|
+
- 🛡️ **Anti-Hallucination Guard:** Strict similarity thresholds and decision conflict detection.
|
|
17
|
+
- 🧩 **Knowledge Graph:** Structured entities, relations, and observations with auto-extraction via offline NLP.
|
|
18
|
+
- 🕰️ **Time Tunnel:** Query memories with natural language dates ("yesterday", "last week").
|
|
19
|
+
- 📉 **Soul Maintenance:** Biological-style memory decay with tag immunization — automatically archives obsolete memories.
|
|
20
|
+
- 🤖 **Agentic Tools:** Agent-context recall, structured decision logging, session summarization.
|
|
21
|
+
- 📊 **Glassy Dashboard:** Visualize memories, tasks, handoffs, knowledge graph, and interaction logs through a modern Svelte 5 interface.
|
|
22
|
+
|
|
23
|
+
### Drop-In Upstream Compatibility
|
|
24
|
+
|
|
25
|
+
Compatible with `Beledarian/mcp-local-memory` clients: `remember_fact`, `remember_facts`, `recall`, `forget` are built-in aliases.
|
|
19
26
|
|
|
20
27
|
## 🔌 MCP Usage & Configuration
|
|
21
28
|
|
|
@@ -24,6 +31,7 @@ Add this service to your AI Agent (Claude Desktop, Cursor, Windsurf, etc.) using
|
|
|
24
31
|
> 💡 **Recommendation:** If your MCP runs frequently (agents, CI, automation), avoid `npx` and use a global or local install instead. It reduces unnecessary NPM downloads and speeds up Agent startup.
|
|
25
32
|
|
|
26
33
|
### 🚀 Quick Start (Zero Setup)
|
|
34
|
+
|
|
27
35
|
Best for **first-time users** or **quick testing**. This uses `npx` to run the server without any permanent setup.
|
|
28
36
|
|
|
29
37
|
```json
|
|
@@ -33,13 +41,16 @@ Best for **first-time users** or **quick testing**. This uses `npx` to run the s
|
|
|
33
41
|
"type": "stdio"
|
|
34
42
|
}
|
|
35
43
|
```
|
|
36
|
-
|
|
37
|
-
|
|
44
|
+
|
|
45
|
+
- **Uses `npx`**: Automatically handles the execution.
|
|
46
|
+
- **Tradeoff**: May re-download the package in some environments and is not optimal for frequent execution.
|
|
38
47
|
|
|
39
48
|
### ⚡ Recommended for Production / Frequent Usage
|
|
49
|
+
|
|
40
50
|
This method ensures the fastest startup times and maximum reliability for daily use.
|
|
41
51
|
|
|
42
52
|
1. **Install globally:**
|
|
53
|
+
|
|
43
54
|
```bash
|
|
44
55
|
npm install -g @vheins/local-memory-mcp
|
|
45
56
|
```
|
|
@@ -51,31 +62,35 @@ This method ensures the fastest startup times and maximum reliability for daily
|
|
|
51
62
|
"type": "stdio"
|
|
52
63
|
}
|
|
53
64
|
```
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
65
|
+
|
|
66
|
+
- **Faster startup**: No network checks required on every start.
|
|
67
|
+
- **No repeated downloads**: Saves bandwidth and avoids NPM registry dependency.
|
|
68
|
+
- **Better for automation**: More stable for heavy-duty Agent workflows.
|
|
57
69
|
|
|
58
70
|
### 🧠 How It Works (Important Insight)
|
|
59
|
-
|
|
60
|
-
|
|
71
|
+
|
|
72
|
+
- **npx usage**: When you use `npx`, it often performs a network request to check for the latest version or re-downloads the package if it's not in the cache. Since MCP clients start and stop tools frequently, this can lead to hundreds of unnecessary downloads.
|
|
73
|
+
- **Installed binary**: By installing the package, you keep a permanent copy on your disk. The Agent reuses this local version instantly, providing a much smoother experience.
|
|
61
74
|
|
|
62
75
|
## 📊 Glassy Dashboard
|
|
63
76
|
|
|
64
77
|
Visualize and manage your Agent's memory through a modern web interface.
|
|
65
78
|
|
|
66
|
-
|
|
|
67
|
-
|
|
79
|
+
| Dashboard Overview | Memories Management |
|
|
80
|
+
| :---------------------------------------------------: | :---------------------------------------------------: |
|
|
68
81
|
|  |  |
|
|
69
82
|
|
|
70
|
-
|
|
|
71
|
-
|
|
83
|
+
| Task Tracking | Available Tools & Reference |
|
|
84
|
+
| :------------------------------------------: | :------------------------------------------------------------: |
|
|
72
85
|
|  |  |
|
|
73
86
|
|
|
74
87
|
### How to Run
|
|
88
|
+
|
|
75
89
|
```bash
|
|
76
90
|
local-memory-mcp dashboard
|
|
77
91
|
```
|
|
78
|
-
|
|
92
|
+
|
|
93
|
+
_If not installed globally, use:_ `npx @vheins/local-memory-mcp dashboard`
|
|
79
94
|
|
|
80
95
|
### Developer Workflow (Dashboard UI)
|
|
81
96
|
|