@prmichaelsen/remember-mcp 3.14.16 → 3.14.18
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/dist/server-factory.js +28 -0
- package/dist/server.js +28 -0
- package/package.json +2 -2
package/dist/server-factory.js
CHANGED
|
@@ -2436,6 +2436,31 @@ var RelationshipService = class {
|
|
|
2436
2436
|
this.logger.error(`Failed to update relationship_count for ${memoryId}:`, { error: error?.message || String(error) });
|
|
2437
2437
|
}
|
|
2438
2438
|
}
|
|
2439
|
+
// ── Get by ID ────────────────────────────────────────────────────────
|
|
2440
|
+
async getById(relationshipId) {
|
|
2441
|
+
const result = await this.collection.query.fetchObjectById(relationshipId, {
|
|
2442
|
+
returnProperties: [
|
|
2443
|
+
"user_id",
|
|
2444
|
+
"related_memory_ids",
|
|
2445
|
+
"relationship_type",
|
|
2446
|
+
"observation",
|
|
2447
|
+
"strength",
|
|
2448
|
+
"confidence",
|
|
2449
|
+
"source",
|
|
2450
|
+
"tags",
|
|
2451
|
+
"created_at",
|
|
2452
|
+
"updated_at",
|
|
2453
|
+
"version"
|
|
2454
|
+
]
|
|
2455
|
+
});
|
|
2456
|
+
if (!result) {
|
|
2457
|
+
return { found: false };
|
|
2458
|
+
}
|
|
2459
|
+
return {
|
|
2460
|
+
found: true,
|
|
2461
|
+
relationship: { id: relationshipId, ...result.properties }
|
|
2462
|
+
};
|
|
2463
|
+
}
|
|
2439
2464
|
// ── Create ──────────────────────────────────────────────────────────
|
|
2440
2465
|
async create(input) {
|
|
2441
2466
|
if (input.memory_ids.length < 2) {
|
|
@@ -3583,6 +3608,9 @@ var SpaceService = class {
|
|
|
3583
3608
|
}
|
|
3584
3609
|
};
|
|
3585
3610
|
|
|
3611
|
+
// node_modules/@prmichaelsen/remember-core/dist/services/job.service.js
|
|
3612
|
+
var JOBS_COLLECTION = `${BASE}.jobs`;
|
|
3613
|
+
|
|
3586
3614
|
// node_modules/@prmichaelsen/remember-core/dist/services/rem.state.js
|
|
3587
3615
|
var REM_STATE_COLLECTION = `${BASE}.rem_state`;
|
|
3588
3616
|
|
package/dist/server.js
CHANGED
|
@@ -2440,6 +2440,31 @@ var RelationshipService = class {
|
|
|
2440
2440
|
this.logger.error(`Failed to update relationship_count for ${memoryId}:`, { error: error?.message || String(error) });
|
|
2441
2441
|
}
|
|
2442
2442
|
}
|
|
2443
|
+
// ── Get by ID ────────────────────────────────────────────────────────
|
|
2444
|
+
async getById(relationshipId) {
|
|
2445
|
+
const result = await this.collection.query.fetchObjectById(relationshipId, {
|
|
2446
|
+
returnProperties: [
|
|
2447
|
+
"user_id",
|
|
2448
|
+
"related_memory_ids",
|
|
2449
|
+
"relationship_type",
|
|
2450
|
+
"observation",
|
|
2451
|
+
"strength",
|
|
2452
|
+
"confidence",
|
|
2453
|
+
"source",
|
|
2454
|
+
"tags",
|
|
2455
|
+
"created_at",
|
|
2456
|
+
"updated_at",
|
|
2457
|
+
"version"
|
|
2458
|
+
]
|
|
2459
|
+
});
|
|
2460
|
+
if (!result) {
|
|
2461
|
+
return { found: false };
|
|
2462
|
+
}
|
|
2463
|
+
return {
|
|
2464
|
+
found: true,
|
|
2465
|
+
relationship: { id: relationshipId, ...result.properties }
|
|
2466
|
+
};
|
|
2467
|
+
}
|
|
2443
2468
|
// ── Create ──────────────────────────────────────────────────────────
|
|
2444
2469
|
async create(input) {
|
|
2445
2470
|
if (input.memory_ids.length < 2) {
|
|
@@ -3587,6 +3612,9 @@ var SpaceService = class {
|
|
|
3587
3612
|
}
|
|
3588
3613
|
};
|
|
3589
3614
|
|
|
3615
|
+
// node_modules/@prmichaelsen/remember-core/dist/services/job.service.js
|
|
3616
|
+
var JOBS_COLLECTION = `${BASE}.jobs`;
|
|
3617
|
+
|
|
3590
3618
|
// node_modules/@prmichaelsen/remember-core/dist/services/rem.state.js
|
|
3591
3619
|
var REM_STATE_COLLECTION = `${BASE}.rem_state`;
|
|
3592
3620
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prmichaelsen/remember-mcp",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.18",
|
|
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.
|
|
53
|
+
"@prmichaelsen/remember-core": "^0.27.3",
|
|
54
54
|
"dotenv": "^16.4.5",
|
|
55
55
|
"uuid": "^13.0.0",
|
|
56
56
|
"weaviate-client": "^3.2.0"
|