@prmichaelsen/remember-mcp 3.14.4 → 3.14.5
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 +9 -0
- package/dist/server.js +9 -0
- package/package.json +2 -2
package/dist/server-factory.js
CHANGED
|
@@ -2270,6 +2270,15 @@ var MemoryService = class {
|
|
|
2270
2270
|
throw err2;
|
|
2271
2271
|
}
|
|
2272
2272
|
}
|
|
2273
|
+
// ── Get by ID ────────────────────────────────────────────────────────
|
|
2274
|
+
async getById(memoryId) {
|
|
2275
|
+
const existing = await fetchMemoryWithAllProperties(this.collection, memoryId);
|
|
2276
|
+
if (!existing?.properties)
|
|
2277
|
+
throw new Error(`Memory not found: ${memoryId}`);
|
|
2278
|
+
if (existing.properties.user_id !== this.userId)
|
|
2279
|
+
throw new Error("Unauthorized");
|
|
2280
|
+
return { memory: { id: existing.uuid, ...existing.properties } };
|
|
2281
|
+
}
|
|
2273
2282
|
// ── Create ──────────────────────────────────────────────────────────
|
|
2274
2283
|
async create(input) {
|
|
2275
2284
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
package/dist/server.js
CHANGED
|
@@ -1954,6 +1954,15 @@ var MemoryService = class {
|
|
|
1954
1954
|
throw err2;
|
|
1955
1955
|
}
|
|
1956
1956
|
}
|
|
1957
|
+
// ── Get by ID ────────────────────────────────────────────────────────
|
|
1958
|
+
async getById(memoryId) {
|
|
1959
|
+
const existing = await fetchMemoryWithAllProperties(this.collection, memoryId);
|
|
1960
|
+
if (!existing?.properties)
|
|
1961
|
+
throw new Error(`Memory not found: ${memoryId}`);
|
|
1962
|
+
if (existing.properties.user_id !== this.userId)
|
|
1963
|
+
throw new Error("Unauthorized");
|
|
1964
|
+
return { memory: { id: existing.uuid, ...existing.properties } };
|
|
1965
|
+
}
|
|
1957
1966
|
// ── Create ──────────────────────────────────────────────────────────
|
|
1958
1967
|
async create(input) {
|
|
1959
1968
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prmichaelsen/remember-mcp",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.5",
|
|
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.16.
|
|
53
|
+
"@prmichaelsen/remember-core": "^0.16.13",
|
|
54
54
|
"@prmichaelsen/remember-mcp": "^2.7.3",
|
|
55
55
|
"dotenv": "^16.4.5",
|
|
56
56
|
"uuid": "^13.0.0",
|