@danielsimonjr/memory-mcp 12.7.2 → 12.8.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"MCPServer.d.ts","sourceRoot":"","sources":["../../src/server/MCPServer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AASH,OAAO,EAAU,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAOtE;;;GAGG;AACH,qBAAa,SAAS;IACpB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,GAAG,CAAiB;IAE5B,YAAY,GAAG,EAAE,cAAc,EAe9B;IAED,OAAO,CAAC,oBAAoB;IAetB,KAAK,kBAIV;CACF"}
1
+ {"version":3,"file":"MCPServer.d.ts","sourceRoot":"","sources":["../../src/server/MCPServer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AASH,OAAO,EAAU,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAqBtE;;;GAGG;AACH,qBAAa,SAAS;IACpB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,GAAG,CAAiB;IAE5B,YAAY,GAAG,EAAE,cAAc,EAe9B;IAED,OAAO,CAAC,oBAAoB;IAetB,KAAK,kBAIV;CACF"}
@@ -14,7 +14,14 @@ import { logger } from '@danielsimonjr/memoryjs';
14
14
  import { toolDefinitions } from './toolDefinitions.js';
15
15
  import { handleToolCall } from './toolHandlers.js';
16
16
  const require = createRequire(import.meta.url);
17
- const { version } = require('../../package.json');
17
+ // `require('../../package.json')` resolves from dist/server/ but NOT from
18
+ // bundle/index.mjs, where it threw "Cannot find module '../../package.json'" and
19
+ // killed the server on startup. The injected constant is used when present; the
20
+ // `typeof` guard is safe on an undeclared identifier and lets esbuild
21
+ // dead-code-eliminate the require branch in the bundle.
22
+ const version = typeof __PKG_VERSION__ === 'string'
23
+ ? __PKG_VERSION__
24
+ : require('../../package.json').version;
18
25
  /**
19
26
  * MCP Server for Knowledge Graph operations.
20
27
  * Exposes tools for entity/relation management, search, and analysis.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielsimonjr/memory-mcp",
3
- "version": "12.7.2",
3
+ "version": "12.8.1",
4
4
  "description": "Enhanced MCP memory server with hierarchies, compression, archiving, graph algorithms, semantic search, temporal KG, RBAC, bitemporal validity, OCC, procedural memory, causal reasoning, world model, do_not_remember exclusions, decision rationale, project context, heuristic guidelines, tool affordance + observer, observation dedup, spell correction, event memory, reconstructive memory, relation consolidation, agent reflection, and 241 advanced tools",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -58,7 +58,7 @@
58
58
  "tools:build": "cd tools/chunking-for-files && npm run build && cd ../compress-for-context && npm run build && cd ../create-dependency-graph && npm run build && cd ../migrate-from-jsonl-to-sqlite && npm run build"
59
59
  },
60
60
  "dependencies": {
61
- "@danielsimonjr/memoryjs": "^3.1.0",
61
+ "@danielsimonjr/memoryjs": "^3.3.1",
62
62
  "@modelcontextprotocol/sdk": "^1.30.0",
63
63
  "zod": "^4.4.3"
64
64
  },
@@ -68,7 +68,7 @@
68
68
  "devDependencies": {
69
69
  "@types/node": "^26",
70
70
  "@vitest/coverage-v8": "^4.1.10",
71
- "esbuild": "^0.28.1",
71
+ "esbuild": "^0.28.2",
72
72
  "shx": "^0.4.0",
73
73
  "typescript": "^7.0.2",
74
74
  "vitest": "^4.1.5"