@prmichaelsen/remember-mcp 3.14.21 → 3.15.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prmichaelsen/remember-mcp",
3
- "version": "3.14.21",
3
+ "version": "3.15.1",
4
4
  "description": "Multi-tenant memory system MCP server with vector search and relationships",
5
5
  "main": "dist/server.js",
6
6
  "type": "module",
@@ -50,7 +50,7 @@
50
50
  "@modelcontextprotocol/sdk": "^1.0.4",
51
51
  "@prmichaelsen/firebase-admin-sdk-v8": "^2.2.0",
52
52
  "@prmichaelsen/mcp-auth": "^7.0.4",
53
- "@prmichaelsen/remember-core": "^0.32.1",
53
+ "@prmichaelsen/remember-core": "^0.33.3",
54
54
  "dotenv": "^16.4.5",
55
55
  "uuid": "^13.0.0",
56
56
  "weaviate-client": "^3.2.0"
@@ -7,6 +7,7 @@
7
7
 
8
8
  import {
9
9
  MemoryService,
10
+ MemoryIndexService,
10
11
  RelationshipService,
11
12
  SpaceService,
12
13
  PreferencesDatabaseService,
@@ -33,6 +34,7 @@ const preferencesService = new PreferencesDatabaseService(coreLogger);
33
34
  const moderationClient: ModerationClient | undefined = process.env.ANTHROPIC_API_KEY
34
35
  ? createModerationClient({ apiKey: process.env.ANTHROPIC_API_KEY })
35
36
  : undefined;
37
+ const memoryIndexService = new MemoryIndexService(coreLogger);
36
38
 
37
39
  /** Cached CoreServices per userId — avoids re-instantiation on every tool call */
38
40
  const coreServicesCache = new Map<string, CoreServices>();
@@ -49,9 +51,12 @@ export function createCoreServices(userId: string): CoreServices {
49
51
  const weaviateClient = getWeaviateClient();
50
52
 
51
53
  const services: CoreServices = {
52
- memory: new MemoryService(collection, userId, coreLogger),
54
+ memory: new MemoryService(collection, userId, coreLogger, {
55
+ memoryIndex: memoryIndexService,
56
+ weaviateClient,
57
+ }),
53
58
  relationship: new RelationshipService(collection, userId, coreLogger),
54
- space: new SpaceService(weaviateClient, collection, userId, tokenService, coreLogger, { moderationClient }),
59
+ space: new SpaceService(weaviateClient, collection, userId, tokenService, coreLogger, memoryIndexService, { moderationClient }),
55
60
  preferences: preferencesService,
56
61
  token: tokenService,
57
62
  };