@prmichaelsen/remember-mcp 3.14.3 → 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 +11 -1
- package/dist/server.js +11 -1
- package/package.json +2 -2
package/dist/server-factory.js
CHANGED
|
@@ -1168,7 +1168,7 @@ var DEFAULT_PREFERENCES = {
|
|
|
1168
1168
|
};
|
|
1169
1169
|
|
|
1170
1170
|
// node_modules/@prmichaelsen/remember-core/dist/types/space.types.js
|
|
1171
|
-
var SUPPORTED_SPACES = ["the_void"];
|
|
1171
|
+
var SUPPORTED_SPACES = ["the_void", "profiles", "spaces"];
|
|
1172
1172
|
|
|
1173
1173
|
// node_modules/@prmichaelsen/remember-core/dist/constants/content-types.js
|
|
1174
1174
|
var CONTENT_TYPES = [
|
|
@@ -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();
|
|
@@ -3202,6 +3211,7 @@ var SpaceService = class {
|
|
|
3202
3211
|
const fetchLimit = (limit + offset) * Math.max(1, groups.length + (spaces.length > 0 || groups.length === 0 ? 1 : 0));
|
|
3203
3212
|
const allObjects = [];
|
|
3204
3213
|
if (spaces.length > 0 || groups.length === 0) {
|
|
3214
|
+
await ensurePublicCollection(this.weaviateClient);
|
|
3205
3215
|
const spacesCollectionName = getCollectionName(CollectionType.SPACES);
|
|
3206
3216
|
const spacesCollection = this.weaviateClient.collections.get(spacesCollectionName);
|
|
3207
3217
|
const filterList = this.buildBaseFilters(spacesCollection, input);
|
package/dist/server.js
CHANGED
|
@@ -852,7 +852,7 @@ var DEFAULT_PREFERENCES = {
|
|
|
852
852
|
};
|
|
853
853
|
|
|
854
854
|
// node_modules/@prmichaelsen/remember-core/dist/types/space.types.js
|
|
855
|
-
var SUPPORTED_SPACES = ["the_void"];
|
|
855
|
+
var SUPPORTED_SPACES = ["the_void", "profiles", "spaces"];
|
|
856
856
|
|
|
857
857
|
// node_modules/@prmichaelsen/remember-core/dist/constants/content-types.js
|
|
858
858
|
var CONTENT_TYPES = [
|
|
@@ -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();
|
|
@@ -2886,6 +2895,7 @@ var SpaceService = class {
|
|
|
2886
2895
|
const fetchLimit = (limit + offset) * Math.max(1, groups.length + (spaces.length > 0 || groups.length === 0 ? 1 : 0));
|
|
2887
2896
|
const allObjects = [];
|
|
2888
2897
|
if (spaces.length > 0 || groups.length === 0) {
|
|
2898
|
+
await ensurePublicCollection(this.weaviateClient);
|
|
2889
2899
|
const spacesCollectionName = getCollectionName(CollectionType.SPACES);
|
|
2890
2900
|
const spacesCollection = this.weaviateClient.collections.get(spacesCollectionName);
|
|
2891
2901
|
const filterList = this.buildBaseFilters(spacesCollection, input);
|
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",
|