vplex-memory 2.3.2 → 2.3.3
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.md +5 -5
- package/package.json +1 -1
- package/vplex-mcp-server.mjs +4 -2
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Works with Claude Code, Cursor, VS Code Copilot, Windsurf, Codex, and any MCP-co
|
|
|
11
11
|
"mcpServers": {
|
|
12
12
|
"vplex-memory": {
|
|
13
13
|
"command": "npx",
|
|
14
|
-
"args": ["-y", "vplex-memory@2.3.
|
|
14
|
+
"args": ["-y", "vplex-memory@2.3.2"]
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -30,7 +30,7 @@ Add to `.mcp.json` in your project root or `~/.claude/settings.json` globally:
|
|
|
30
30
|
"mcpServers": {
|
|
31
31
|
"vplex-memory": {
|
|
32
32
|
"command": "npx",
|
|
33
|
-
"args": ["-y", "vplex-memory@2.3.
|
|
33
|
+
"args": ["-y", "vplex-memory@2.3.2"]
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -46,7 +46,7 @@ Add to `.cursor/mcp.json`:
|
|
|
46
46
|
"vplex-memory": {
|
|
47
47
|
"type": "stdio",
|
|
48
48
|
"command": "npx",
|
|
49
|
-
"args": ["-y", "vplex-memory@2.3.
|
|
49
|
+
"args": ["-y", "vplex-memory@2.3.2"]
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -62,7 +62,7 @@ Add to `.vscode/mcp.json`:
|
|
|
62
62
|
"vplex-memory": {
|
|
63
63
|
"type": "stdio",
|
|
64
64
|
"command": "npx",
|
|
65
|
-
"args": ["-y", "vplex-memory@2.3.
|
|
65
|
+
"args": ["-y", "vplex-memory@2.3.2"]
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -78,7 +78,7 @@ Add to `~/.windsurf/mcp.json`:
|
|
|
78
78
|
"vplex-memory": {
|
|
79
79
|
"type": "stdio",
|
|
80
80
|
"command": "npx",
|
|
81
|
-
"args": ["-y", "vplex-memory@2.3.
|
|
81
|
+
"args": ["-y", "vplex-memory@2.3.2"]
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
}
|
package/package.json
CHANGED
package/vplex-mcp-server.mjs
CHANGED
|
@@ -747,7 +747,7 @@ async function handleToolCall(name, args) {
|
|
|
747
747
|
const memory_type = args.memory_type ? validateMemoryType(args.memory_type) : undefined;
|
|
748
748
|
const file_path = args.file_path ? validateString(args.file_path, "file_path", MAX_FILE_PATH_LENGTH) : undefined;
|
|
749
749
|
|
|
750
|
-
const
|
|
750
|
+
const raw = await apiFetch("/memory/search", {
|
|
751
751
|
method: "POST",
|
|
752
752
|
body: JSON.stringify({
|
|
753
753
|
query, limit, projectHash,
|
|
@@ -756,6 +756,7 @@ async function handleToolCall(name, args) {
|
|
|
756
756
|
searchMode: args.search_mode === "keyword" ? "keyword" : args.search_mode === "fulltext" ? "fulltext" : "hybrid",
|
|
757
757
|
}),
|
|
758
758
|
});
|
|
759
|
+
const memories = Array.isArray(raw) ? raw : (raw.memories || raw.results || raw.data || []);
|
|
759
760
|
|
|
760
761
|
if (memories.length === 0) {
|
|
761
762
|
return { content: [{ type: "text", text: `No memories found for: "${query}"` }] };
|
|
@@ -773,7 +774,8 @@ async function handleToolCall(name, args) {
|
|
|
773
774
|
}
|
|
774
775
|
|
|
775
776
|
case "memory_list": {
|
|
776
|
-
const
|
|
777
|
+
const raw = await apiFetch(`/memory/project/${projectHash}`);
|
|
778
|
+
const memories = Array.isArray(raw) ? raw : (raw.memories || raw.data || []);
|
|
777
779
|
if (memories.length === 0) {
|
|
778
780
|
return { content: [{ type: "text", text: "No memories for this project." }] };
|
|
779
781
|
}
|