@vheins/local-memory-mcp 0.8.3 → 0.8.4

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.
@@ -6,7 +6,7 @@ import {
6
6
  TOOL_DEFINITIONS,
7
7
  listResources,
8
8
  logger
9
- } from "../chunk-MC6NSQJ6.js";
9
+ } from "../chunk-E6BKW23Y.js";
10
10
 
11
11
  // src/dashboard/server.ts
12
12
  import express from "express";
@@ -899,7 +899,7 @@ function getStaticRoot() {
899
899
  }
900
900
  var staticRoot = getStaticRoot();
901
901
  logger.debug("Dashboard serving assets from", { staticRoot });
902
- app.use(express.static(staticRoot));
902
+ app.use(express.static(staticRoot, { fallthrough: true }));
903
903
  app.use((req, res, next) => {
904
904
  if (req.path.startsWith("/api")) return next();
905
905
  const indexPath = path3.join(staticRoot, "index.html");
@@ -936,6 +936,11 @@ app.use((req, res, next) => {
936
936
  `);
937
937
  }
938
938
  });
939
+ app.use((err, req, res, _next) => {
940
+ if (err.status === 404) return res.status(404).end();
941
+ logger.error("Unhandled error", { error: err.message });
942
+ res.status(500).end();
943
+ });
939
944
  if (process.env.DASHBOARD_ENABLE_MCP === "true") {
940
945
  mcpClient.start().catch((e) => logger.error("MCP Client failed", { error: e.message }));
941
946
  }
@@ -42,7 +42,7 @@ import {
42
42
  setLogLevel,
43
43
  updateSessionFromInitialize,
44
44
  updateSessionRoots
45
- } from "../chunk-MC6NSQJ6.js";
45
+ } from "../chunk-E6BKW23Y.js";
46
46
 
47
47
  // src/mcp/server.ts
48
48
  import readline from "readline";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vheins/local-memory-mcp",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "MCP Local Memory Service for coding copilot agents",
5
5
  "mcpName": "io.github.vheins/local-memory-mcp",
6
6
  "type": "module",