@velvetmonkey/flywheel-memory 2.0.132 → 2.0.134
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/index.js +10 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -9964,7 +9964,7 @@ function escapeXml(s) {
|
|
|
9964
9964
|
return s.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
9965
9965
|
}
|
|
9966
9966
|
function xmlId(prefix, value) {
|
|
9967
|
-
return `${prefix}:${
|
|
9967
|
+
return `${prefix}:${value}`;
|
|
9968
9968
|
}
|
|
9969
9969
|
function dataTag(key, value) {
|
|
9970
9970
|
if (value === void 0 || value === null) return "";
|
|
@@ -10034,10 +10034,18 @@ function buildGraphData(index, stateDb2, options) {
|
|
|
10034
10034
|
targetId = xmlId("entity", row.target);
|
|
10035
10035
|
} else {
|
|
10036
10036
|
for (const n of nodes) {
|
|
10037
|
-
if (n.type
|
|
10037
|
+
if (n.type !== "entity") continue;
|
|
10038
|
+
if (n.label.toLowerCase() === targetLower) {
|
|
10038
10039
|
targetId = n.id;
|
|
10039
10040
|
break;
|
|
10040
10041
|
}
|
|
10042
|
+
if (n.aliases) {
|
|
10043
|
+
const aliasList = n.aliases.split(", ").map((a) => a.toLowerCase());
|
|
10044
|
+
if (aliasList.includes(targetLower)) {
|
|
10045
|
+
targetId = n.id;
|
|
10046
|
+
break;
|
|
10047
|
+
}
|
|
10048
|
+
}
|
|
10041
10049
|
}
|
|
10042
10050
|
}
|
|
10043
10051
|
if (!targetId) continue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@velvetmonkey/flywheel-memory",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.134",
|
|
4
4
|
"description": "MCP server that gives Claude full read/write access to your Obsidian vault. Select from 69 tools for search, backlinks, graph queries, mutations, agent memory, and hybrid semantic search.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@modelcontextprotocol/sdk": "^1.25.1",
|
|
56
|
-
"@velvetmonkey/vault-core": "2.0.
|
|
56
|
+
"@velvetmonkey/vault-core": "2.0.134",
|
|
57
57
|
"better-sqlite3": "^11.0.0",
|
|
58
58
|
"chokidar": "^4.0.0",
|
|
59
59
|
"gray-matter": "^4.0.3",
|