@vheins/local-memory-mcp 0.8.4 → 0.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/dist/{chunk-E6BKW23Y.js → chunk-NQHH7CDG.js} +1429 -1407
- package/dist/dashboard/server.js +1 -1
- package/dist/mcp/server.js +4 -1
- package/package.json +1 -1
package/dist/dashboard/server.js
CHANGED
package/dist/mcp/server.js
CHANGED
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
addLogSink,
|
|
24
24
|
completePromptArgument,
|
|
25
25
|
completeResourceArgument,
|
|
26
|
+
createFileSink,
|
|
26
27
|
createSessionContext,
|
|
27
28
|
decodeCursor,
|
|
28
29
|
encodeCursor,
|
|
@@ -42,7 +43,7 @@ import {
|
|
|
42
43
|
setLogLevel,
|
|
43
44
|
updateSessionFromInitialize,
|
|
44
45
|
updateSessionRoots
|
|
45
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-NQHH7CDG.js";
|
|
46
47
|
|
|
47
48
|
// src/mcp/server.ts
|
|
48
49
|
import readline from "readline";
|
|
@@ -2137,6 +2138,7 @@ var RealVectorStore = class {
|
|
|
2137
2138
|
|
|
2138
2139
|
// src/mcp/server.ts
|
|
2139
2140
|
import fs2 from "fs";
|
|
2141
|
+
import path3 from "path";
|
|
2140
2142
|
process.env.MCP_SERVER = "true";
|
|
2141
2143
|
if (process.argv.includes("doctor")) {
|
|
2142
2144
|
process.stderr.write("\n\u{1F3E5} MCP Local Memory - System Diagnosis\n\n");
|
|
@@ -2168,6 +2170,7 @@ if (process.argv.includes("doctor")) {
|
|
|
2168
2170
|
}
|
|
2169
2171
|
var db = await SQLiteStore.create();
|
|
2170
2172
|
var vectors = new RealVectorStore(db);
|
|
2173
|
+
addLogSink(createFileSink(path3.dirname(db.getDbPath())));
|
|
2171
2174
|
vectors.initialize().catch((err) => {
|
|
2172
2175
|
logger.warn("[Server] Initial vector model loading failed. Will retry on first use.", { error: String(err) });
|
|
2173
2176
|
});
|