@vheins/local-memory-mcp 0.8.19 → 0.8.20
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.
|
@@ -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.8.
|
|
7
|
-
pkgVersion = "0.8.
|
|
6
|
+
if ("0.8.20") {
|
|
7
|
+
pkgVersion = "0.8.20";
|
|
8
8
|
} else {
|
|
9
9
|
let searchDir = __dirname;
|
|
10
10
|
for (let i = 0; i < 5; i++) {
|
package/dist/dashboard/server.js
CHANGED
package/dist/mcp/server.js
CHANGED
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
setLogLevel,
|
|
44
44
|
updateSessionFromInitialize,
|
|
45
45
|
updateSessionRoots
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-MKDXYQZC.js";
|
|
47
47
|
|
|
48
48
|
// src/mcp/server.ts
|
|
49
49
|
import readline from "readline";
|
|
@@ -1389,11 +1389,13 @@ async function handleTaskUpdate(args, storage, vectors2) {
|
|
|
1389
1389
|
}
|
|
1390
1390
|
);
|
|
1391
1391
|
if (completedTaskIds.length > 0) {
|
|
1392
|
-
setImmediate(() => {
|
|
1392
|
+
setImmediate(async () => {
|
|
1393
1393
|
for (const taskId of completedTaskIds) {
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
)
|
|
1394
|
+
try {
|
|
1395
|
+
await archiveTaskToMemory(taskId, repo, storage, vectors2);
|
|
1396
|
+
} catch (err) {
|
|
1397
|
+
logger.error("Failed to archive task to memory", { taskId, error: String(err) });
|
|
1398
|
+
}
|
|
1397
1399
|
}
|
|
1398
1400
|
});
|
|
1399
1401
|
}
|