@vheins/local-memory-mcp 0.19.7 → 0.19.8

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.
@@ -3499,6 +3499,7 @@ function inferRepoFromSession(session) {
3499
3499
  return path3.basename(roots[0]);
3500
3500
  }
3501
3501
  if (roots.length === 0) {
3502
+ if (!session) return void 0;
3502
3503
  const cwd = process.cwd();
3503
3504
  return path3.basename(cwd);
3504
3505
  }
@@ -3513,6 +3514,7 @@ function inferOwnerFromSession(session) {
3513
3514
  }
3514
3515
  }
3515
3516
  if (roots.length === 0) {
3517
+ if (!session) return void 0;
3516
3518
  const cwd = process.cwd();
3517
3519
  const parts = cwd.split(path3.sep).filter(Boolean);
3518
3520
  if (parts.length >= 2) {
@@ -15,7 +15,7 @@ import {
15
15
  handleTaskClaim,
16
16
  listResources,
17
17
  logger
18
- } from "../chunk-M47LSTGD.js";
18
+ } from "../chunk-QOGYLJYW.js";
19
19
 
20
20
  // src/dashboard/server.ts
21
21
  import express from "express";
@@ -61,7 +61,7 @@ import {
61
61
  parseRepoInput,
62
62
  rankCompletionValues,
63
63
  toContextSlug
64
- } from "../chunk-M47LSTGD.js";
64
+ } from "../chunk-QOGYLJYW.js";
65
65
 
66
66
  // src/mcp/server.ts
67
67
  import { serveStdio } from "@modelcontextprotocol/server/stdio";
@@ -74,8 +74,8 @@ import path from "path";
74
74
  import { fileURLToPath } from "url";
75
75
  var __dirname = path.dirname(fileURLToPath(import.meta.url));
76
76
  var pkgVersion = "0.1.0";
77
- if ("0.19.7") {
78
- pkgVersion = "0.19.7";
77
+ if ("0.19.8") {
78
+ pkgVersion = "0.19.8";
79
79
  } else {
80
80
  let searchDir = __dirname;
81
81
  for (let i = 0; i < 5; i++) {
@@ -3661,7 +3661,7 @@ function logToolAction(toolName, args, result, db2, isWrite) {
3661
3661
  }
3662
3662
  }
3663
3663
  function makePublicSchema() {
3664
- return z.object({}).catchall(z.unknown());
3664
+ return z.any();
3665
3665
  }
3666
3666
  function toCallToolResult(response) {
3667
3667
  const content = Array.isArray(response.content) ? response.content.map((item) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vheins/local-memory-mcp",
3
- "version": "0.19.7",
3
+ "version": "0.19.8",
4
4
  "description": "MCP Local Memory Service for coding copilot agents",
5
5
  "mcpName": "io.github.vheins/local-memory-mcp",
6
6
  "type": "module",