@vheins/local-memory-mcp 0.9.10 → 0.9.12
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/dist/{chunk-GAZNK32C.js → chunk-L7ECMPY4.js} +47 -3
- package/dist/dashboard/public/assets/index-BtBlOcde.js +89 -0
- package/dist/dashboard/public/assets/{index-C2cM-UXM.css → index-C8xmlafT.css} +1 -1
- package/dist/dashboard/public/index.html +2 -2
- package/dist/dashboard/server.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/package.json +1 -1
- package/dist/dashboard/public/assets/index-D-xKLFFr.js +0 -86
|
@@ -3,8 +3,8 @@ import { fileURLToPath } from "url";
|
|
|
3
3
|
import path from "path";
|
|
4
4
|
var __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
5
5
|
var pkgVersion = "0.1.0";
|
|
6
|
-
if ("0.9.
|
|
7
|
-
pkgVersion = "0.9.
|
|
6
|
+
if ("0.9.12") {
|
|
7
|
+
pkgVersion = "0.9.12";
|
|
8
8
|
} else {
|
|
9
9
|
let searchDir = __dirname;
|
|
10
10
|
for (let i = 0; i < 5; i++) {
|
|
@@ -23,10 +23,54 @@ if ("0.9.10") {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
var MCP_PROTOCOL_VERSION = "2025-03-26";
|
|
26
|
+
var SERVER_INSTRUCTIONS = `
|
|
27
|
+
Local Memory MCP \u2014 persistent memory, task coordination, and coding standards for AI agents.
|
|
28
|
+
|
|
29
|
+
## When to use this server
|
|
30
|
+
Use at the START of every session and before any implementation work:
|
|
31
|
+
1. Call \`task-list\` to sync active/pending tasks for the current repository.
|
|
32
|
+
2. Call \`handoff-list\` to check pending context transfers. Close stale handoffs with \`handoff-update\`.
|
|
33
|
+
3. Call \`memory-search\` and \`memory-synthesize\` to hydrate architectural context before coding.
|
|
34
|
+
4. Call \`standard-search\` when implementation may be governed by language/stack conventions.
|
|
35
|
+
|
|
36
|
+
## Core Workflows
|
|
37
|
+
|
|
38
|
+
**Memory**: \`memory-search\` \u2192 \`memory-detail\` \u2192 \`memory-store\` / \`memory-update\`
|
|
39
|
+
- Store only durable knowledge (architecture, patterns, decisions, fixes).
|
|
40
|
+
- Use \`memory-acknowledge\` after generating code from memory results.
|
|
41
|
+
- Global scope only for cross-repo rules; prefer repo-specific scope.
|
|
42
|
+
|
|
43
|
+
**Tasks**: \`task-list\` \u2192 \`task-claim\` \u2192 \`task-update\` (in_progress \u2192 completed)
|
|
44
|
+
- Register planned steps via \`task-create\` before execution.
|
|
45
|
+
- Never skip intermediate \`in_progress\` state before \`completed\`.
|
|
46
|
+
- Completing a task auto-releases claims and expires linked handoffs.
|
|
47
|
+
|
|
48
|
+
**Standards**: \`standard-search\` \u2192 \`standard-store\`
|
|
49
|
+
- One rule per entry. Treat as normative implementation contracts, not docs summaries.
|
|
50
|
+
|
|
51
|
+
**Handoffs/Claims**: \`handoff-list\` \u2192 \`handoff-create\` / \`handoff-update\` | \`task-claim\` / \`claim-release\`
|
|
52
|
+
- Create handoffs only for unfinished work with concrete next owner or next steps.
|
|
53
|
+
- Do NOT create handoffs as completion summaries \u2014 put those on \`task-update\` comments.
|
|
54
|
+
|
|
55
|
+
## Available Prompts (invoke as slash commands)
|
|
56
|
+
- \`session-planner\` \u2014 orient and plan at session start
|
|
57
|
+
- \`task-memory-executor\` \u2014 execute tasks with memory and standard enforcement
|
|
58
|
+
- \`senior-code-review\` \u2014 full code review against stored standards
|
|
59
|
+
- \`memory-guided-review\` \u2014 review using project memory as context
|
|
60
|
+
- \`architecture-design\` \u2014 architectural planning and ADR generation
|
|
61
|
+
- \`technical-planning\` \u2014 feature planning with task decomposition
|
|
62
|
+
- \`root-cause-analysis\` \u2014 structured bug / incident investigation
|
|
63
|
+
- \`fix-suggestion\` \u2014 propose and validate fixes
|
|
64
|
+
- \`security-triage\` \u2014 security risk assessment
|
|
65
|
+
- \`learning-retrospective\` \u2014 capture lessons and update memory
|
|
66
|
+
- \`documentation-sync\` \u2014 sync docs with current codebase state
|
|
67
|
+
- \`project-briefing\` \u2014 generate repository briefing from memory
|
|
68
|
+
`.trim();
|
|
26
69
|
var CAPABILITIES = {
|
|
27
70
|
serverInfo: {
|
|
28
71
|
name: "mcp-memory-local",
|
|
29
|
-
version: pkgVersion
|
|
72
|
+
version: pkgVersion,
|
|
73
|
+
instructions: SERVER_INSTRUCTIONS
|
|
30
74
|
},
|
|
31
75
|
capabilities: {
|
|
32
76
|
completions: {},
|