@pcircle/memesh 4.8.3 → 4.8.5
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +2 -1
- package/.codex-plugin/plugin.json +1 -1
- package/AGENTS.md +8 -3
- package/README.de.md +2 -1
- package/README.md +2 -1
- package/README.zh-TW.md +2 -1
- package/dashboard/dist/index.html +3 -3
- package/dist/core/agent-message-inbox.d.ts +2 -1
- package/dist/core/agent-message-inbox.d.ts.map +1 -1
- package/dist/core/agent-message-inbox.js +23 -4
- package/dist/core/agent-message-inbox.js.map +1 -1
- package/dist/core/agent-messaging.d.ts.map +1 -1
- package/dist/core/agent-messaging.js +23 -15
- package/dist/core/agent-messaging.js.map +1 -1
- package/dist/core/agent-scope-id.d.ts +11 -0
- package/dist/core/agent-scope-id.d.ts.map +1 -0
- package/dist/core/agent-scope-id.js +40 -0
- package/dist/core/agent-scope-id.js.map +1 -0
- package/dist/core/briefing.d.ts.map +1 -1
- package/dist/core/briefing.js +8 -2
- package/dist/core/briefing.js.map +1 -1
- package/dist/core/doctor.d.ts +1 -0
- package/dist/core/doctor.d.ts.map +1 -1
- package/dist/core/doctor.js +154 -16
- package/dist/core/doctor.js.map +1 -1
- package/dist/core/dreamer.d.ts.map +1 -1
- package/dist/core/dreamer.js +3 -1
- package/dist/core/dreamer.js.map +1 -1
- package/dist/core/embedder.d.ts.map +1 -1
- package/dist/core/embedder.js +4 -1
- package/dist/core/embedder.js.map +1 -1
- package/dist/core/lifecycle.d.ts.map +1 -1
- package/dist/core/lifecycle.js +8 -5
- package/dist/core/lifecycle.js.map +1 -1
- package/dist/core/memory-tool.d.ts.map +1 -1
- package/dist/core/memory-tool.js +3 -1
- package/dist/core/memory-tool.js.map +1 -1
- package/dist/core/ollama-host.d.ts +1 -1
- package/dist/core/ollama-host.d.ts.map +1 -1
- package/dist/core/ollama-host.js +46 -14
- package/dist/core/ollama-host.js.map +1 -1
- package/dist/core/operations.d.ts +1 -1
- package/dist/core/operations.d.ts.map +1 -1
- package/dist/core/operations.js +1 -1
- package/dist/core/operations.js.map +1 -1
- package/dist/core/project-tags.d.ts +2 -0
- package/dist/core/project-tags.d.ts.map +1 -1
- package/dist/core/project-tags.js +29 -1
- package/dist/core/project-tags.js.map +1 -1
- package/dist/core/schema-export.js +3 -3
- package/dist/core/schema-export.js.map +1 -1
- package/dist/core/version-check.d.ts +1 -0
- package/dist/core/version-check.d.ts.map +1 -1
- package/dist/core/version-check.js +35 -0
- package/dist/core/version-check.js.map +1 -1
- package/dist/db.d.ts.map +1 -1
- package/dist/db.js +5 -2
- package/dist/db.js.map +1 -1
- package/dist/host-runtime/acp.d.ts.map +1 -1
- package/dist/host-runtime/acp.js +2 -1
- package/dist/host-runtime/acp.js.map +1 -1
- package/dist/host-runtime/claude.d.ts.map +1 -1
- package/dist/host-runtime/claude.js +6 -8
- package/dist/host-runtime/claude.js.map +1 -1
- package/dist/host-runtime/codex.d.ts.map +1 -1
- package/dist/host-runtime/codex.js +2 -1
- package/dist/host-runtime/codex.js.map +1 -1
- package/dist/host-runtime/entry.d.ts +5 -0
- package/dist/host-runtime/entry.d.ts.map +1 -0
- package/dist/host-runtime/entry.js +11 -0
- package/dist/host-runtime/entry.js.map +1 -0
- package/dist/knowledge-graph.d.ts +0 -1
- package/dist/knowledge-graph.d.ts.map +1 -1
- package/dist/knowledge-graph.js +27 -19
- package/dist/knowledge-graph.js.map +1 -1
- package/dist/skills-manifest.json +29 -24
- package/dist/storage/entity-index.d.ts +4 -0
- package/dist/storage/entity-index.d.ts.map +1 -0
- package/dist/storage/entity-index.js +15 -0
- package/dist/storage/entity-index.js.map +1 -0
- package/dist/storage/fts-index.d.ts.map +1 -1
- package/dist/storage/fts-index.js +5 -0
- package/dist/storage/fts-index.js.map +1 -1
- package/dist/storage/graph-repairs.d.ts +11 -1
- package/dist/storage/graph-repairs.d.ts.map +1 -1
- package/dist/storage/graph-repairs.js +172 -9
- package/dist/storage/graph-repairs.js.map +1 -1
- package/dist/transports/cli/cli.d.ts.map +1 -1
- package/dist/transports/cli/cli.js +23 -12
- package/dist/transports/cli/cli.js.map +1 -1
- package/dist/transports/mcp/handlers.d.ts +3 -3
- package/dist/transports/mcp/handlers.js +3 -3
- package/dist/transports/mcp/handlers.js.map +1 -1
- package/dist/transports/schemas.d.ts +19 -19
- package/dist/transports/schemas.d.ts.map +1 -1
- package/dist/transports/schemas.js +18 -11
- package/dist/transports/schemas.js.map +1 -1
- package/docs/platforms/README.md +1 -1
- package/docs/platforms/agent-messaging.md +157 -0
- package/hooks/hooks.json +10 -0
- package/package.json +9 -5
- package/scripts/hooks/_generated/agent-message-inbox.js +23 -4
- package/scripts/hooks/_generated/fts-index.js +5 -0
- package/scripts/hooks/_shared.js +51 -3
- package/scripts/hooks/decision-nudge.js +152 -0
- package/scripts/hooks/post-commit.js +11 -0
- package/scripts/hooks/pre-compact.js +12 -4
- package/scripts/hooks/session-start.js +24 -3
- package/scripts/upgrade-plugin.sh +71 -2
- package/skills/memesh/SKILL.md +5 -1
- /package/{.mcp.json → .claude-plugin/mcp.json} +0 -0
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"name": "memesh",
|
|
9
9
|
"source": "./",
|
|
10
10
|
"description": "MeMesh \u2014 agentic memory for coding agents. Captured from the agent's real work via hooks, recalled when it acts. One SQLite file, zero cloud required.",
|
|
11
|
-
"version": "4.8.
|
|
11
|
+
"version": "4.8.5",
|
|
12
12
|
"author": {
|
|
13
13
|
"name": "PCIRCLE AI"
|
|
14
14
|
},
|
package/AGENTS.md
CHANGED
|
@@ -91,6 +91,9 @@ Under Claude Code with the MeMesh plugin, hooks capture automatically:
|
|
|
91
91
|
- **PreToolUse (Edit|Write)** surfaces memories related to the file being
|
|
92
92
|
edited.
|
|
93
93
|
- **PostToolUse (Bash)** records git commits with diff stats.
|
|
94
|
+
- **PostToolUse (ExitPlanMode|AskUserQuestion)** reminds you to `remember` a
|
|
95
|
+
decision just made — once per tool per session. It only reminds; unlike
|
|
96
|
+
the hooks above, it writes nothing to the graph itself.
|
|
94
97
|
- **Stop** captures session knowledge and turns failures into lessons.
|
|
95
98
|
- **PreCompact** saves important knowledge before history is compressed.
|
|
96
99
|
- **UserPromptSubmit** detects "remember this" intent in the prompt.
|
|
@@ -100,9 +103,11 @@ Under Claude Code with the MeMesh plugin, hooks capture automatically:
|
|
|
100
103
|
you do.
|
|
101
104
|
|
|
102
105
|
So under Claude Code: skip step 1 of the loop (the topology is already
|
|
103
|
-
injected), and do not `remember` commits or session summaries by hand.
|
|
104
|
-
|
|
105
|
-
|
|
106
|
+
injected), and do not `remember` commits or session summaries by hand. A
|
|
107
|
+
decision made via `ExitPlanMode`/`AskUserQuestion` gets a reminder, not a
|
|
108
|
+
write — act on it with a real `remember` call. Manual calls are still how
|
|
109
|
+
decisions, their rationale, lessons worth keeping, and user-stated task state
|
|
110
|
+
actually get stored.
|
|
106
111
|
|
|
107
112
|
On a host with no hooks (Gemini CLI, Cursor, an MCP-only setup, …) the loop is
|
|
108
113
|
fully manual, and it is worth running.
|
package/README.de.md
CHANGED
|
@@ -389,7 +389,7 @@ Reproduktionsbefehle, Datensatz-SHA256, rohe Ergebnisse pro Frage und Analyse be
|
|
|
389
389
|
|
|
390
390
|
## Was läuft in Claude Code automatisch ab
|
|
391
391
|
|
|
392
|
-
Sie müssen nicht manuell alles speichern. MeMesh verfügt über **
|
|
392
|
+
Sie müssen nicht manuell alles speichern. MeMesh verfügt über **9 Hooks**, die Wissen während der Arbeit erfassen und injizieren:
|
|
393
393
|
|
|
394
394
|
| Wenn | Was MeMesh tut |
|
|
395
395
|
|------|------------------|
|
|
@@ -397,6 +397,7 @@ Sie müssen nicht manuell alles speichern. MeMesh verfügt über **8 Hooks**, di
|
|
|
397
397
|
| **Vor Dateibearbeitungen** | Ruft Memories ab, die an die Datei oder das Projekt gebunden sind, bevor Claude Code schreibt |
|
|
398
398
|
| **Wenn Sie etwas zu merken bitten** | Erkennt „remember this“-/„guardar en memesh“-/„sauvegarder dans memesh“-/„記下來“-Absicht und erinnert an MeMesh |
|
|
399
399
|
| **Nach jedem `git commit`** | Erfasst Ihre Änderungen mit Diff-Statistiken |
|
|
400
|
+
| **Nachdem ein Plan genehmigt oder eine Frage beantwortet wurde** | Erinnert Claude daran, die Entscheidung mit `remember` zu speichern, falls sie es wert ist — höchstens einmal pro Tool und Session |
|
|
400
401
|
| **Wenn Claude stoppt** | Erfasst bearbeitete Dateien und behobene Fehler; generiert automatisch strukturierte Lektionen aus Fehlern |
|
|
401
402
|
| **Vor Context-Verdichtung** | Speichert Wissen, bevor es durch Context-Limits verloren geht |
|
|
402
403
|
| **Vor riskanten Befehlen und Edits** | Löst die von Ihnen akzeptierten Lektions-Guards aus — eine Warnung genau in dem Moment, in dem sich ein erfasster Fehler wiederholen würde |
|
package/README.md
CHANGED
|
@@ -392,7 +392,7 @@ Re-runnable in ~10 seconds. Full instructions, dataset SHA256, raw per-question
|
|
|
392
392
|
|
|
393
393
|
## What Happens Automatically In Claude Code
|
|
394
394
|
|
|
395
|
-
You don't need to manually remember everything. MeMesh has **
|
|
395
|
+
You don't need to manually remember everything. MeMesh has **9 hooks** that capture and inject knowledge while you work:
|
|
396
396
|
|
|
397
397
|
| When | What MeMesh does |
|
|
398
398
|
|------|------------------|
|
|
@@ -400,6 +400,7 @@ You don't need to manually remember everything. MeMesh has **8 hooks** that capt
|
|
|
400
400
|
| **Before editing files** | Recalls memories tied to the file or project before Claude writes code |
|
|
401
401
|
| **When you ask to remember** | Detects "remember this" / "guardar en memesh" / "sauvegarder dans memesh" / "記下來" intent (5 languages) and reminds Claude to use memesh |
|
|
402
402
|
| **After every `git commit`** | Records what you changed, with diff stats |
|
|
403
|
+
| **After a plan is approved or you answer a question** | Reminds Claude to `remember` the decision if it's worth keeping (once per tool per session) |
|
|
403
404
|
| **When Claude stops** | Captures files edited, errors fixed, and auto-generates structured lessons from failures |
|
|
404
405
|
| **Before context compaction** | Saves knowledge before it's lost to context limits |
|
|
405
406
|
| **Before risky commands and edits** | Fires the lesson-guards you accepted — a warning at the exact moment a recorded mistake is about to repeat |
|
package/README.zh-TW.md
CHANGED
|
@@ -398,7 +398,7 @@ MeMesh 的檢索引擎**只用 FTS5**(熱路徑上不使用 LLM、不使用嵌
|
|
|
398
398
|
|
|
399
399
|
## Claude Code 自動進行的事情
|
|
400
400
|
|
|
401
|
-
你不需要手動記住所有事情。MeMesh 有 **
|
|
401
|
+
你不需要手動記住所有事情。MeMesh 有 **9 個 hooks**,會在你工作時自動擷取與注入知識:
|
|
402
402
|
|
|
403
403
|
| 何時 | MeMesh 做什麼 |
|
|
404
404
|
|------|------------------|
|
|
@@ -406,6 +406,7 @@ MeMesh 的檢索引擎**只用 FTS5**(熱路徑上不使用 LLM、不使用嵌
|
|
|
406
406
|
| **編輯檔案前** | 回憶與檔案或專案相關的記憶,再讓 Claude 寫程式碼 |
|
|
407
407
|
| **當你要求記住** | 偵測「remember this」/「guardar en memesh」/「sauvegarder dans memesh」/「記下來」意圖(5 種語言)並提醒 Claude 使用 memesh |
|
|
408
408
|
| **每次 `git commit` 之後** | 記錄你的變更,包含 diff 統計 |
|
|
409
|
+
| **計畫被核准或你回答問題後** | 提醒 Claude 用 `remember` 存下這個決策(如果值得留存)——每個 session 每種工具只提醒一次 |
|
|
409
410
|
| **Claude 停止時** | 擷取已編輯的檔案、已修復的錯誤,並從失敗自動產生結構化教訓 |
|
|
410
411
|
| **上下文壓縮前** | 在知識被上下文限制丟掉之前先保存 |
|
|
411
412
|
| **危險指令與編輯前** | 觸發你接受過的教訓守衛——在記錄過的錯誤即將重演的那一刻發出警告 |
|