@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.19") {
7
- pkgVersion = "0.8.19";
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++) {
@@ -8,7 +8,7 @@ import {
8
8
  createFileSink,
9
9
  listResources,
10
10
  logger
11
- } from "../chunk-TR5SQKA3.js";
11
+ } from "../chunk-MKDXYQZC.js";
12
12
 
13
13
  // src/dashboard/server.ts
14
14
  import express from "express";
@@ -43,7 +43,7 @@ import {
43
43
  setLogLevel,
44
44
  updateSessionFromInitialize,
45
45
  updateSessionRoots
46
- } from "../chunk-TR5SQKA3.js";
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
- archiveTaskToMemory(taskId, repo, storage, vectors2).catch(
1395
- (err) => logger.error("Failed to archive task to memory", { taskId, error: String(err) })
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vheins/local-memory-mcp",
3
- "version": "0.8.19",
3
+ "version": "0.8.20",
4
4
  "description": "MCP Local Memory Service for coding copilot agents",
5
5
  "mcpName": "io.github.vheins/local-memory-mcp",
6
6
  "type": "module",