@prmichaelsen/remember-mcp 2.7.1 → 2.7.2
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/CHANGELOG.md +20 -0
- package/dist/server-factory.js +3 -1
- package/dist/server.js +3 -1
- package/package.json +1 -1
- package/src/tools/confirm.ts +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.7.2] - 2026-02-17
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **CRITICAL: Fixed Insert API Call Format**: Wrap properties in `{properties: ...}` object
|
|
13
|
+
- Changed `publicCollection.data.insert(publishedMemory)` to `publicCollection.data.insert({properties: publishedMemory})`
|
|
14
|
+
- Weaviate insert API expects `{properties: {...}}` format, not properties directly
|
|
15
|
+
- This is why ALL inserts were creating documents with zero properties
|
|
16
|
+
- The properties were being ignored because they weren't in the expected format
|
|
17
|
+
|
|
18
|
+
### Root Cause
|
|
19
|
+
|
|
20
|
+
- Weaviate client `insert()` API signature: `insert({properties: {...}, vectors?: ..., id?: ...})`
|
|
21
|
+
- We were passing properties directly: `insert(properties)`
|
|
22
|
+
- Weaviate accepted the call but ignored the properties (wrong format)
|
|
23
|
+
- Created documents with UUID but zero properties
|
|
24
|
+
- This explains ALL the empty document issues across all schema approaches
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
8
28
|
## [2.7.1] - 2026-02-17
|
|
9
29
|
|
|
10
30
|
### Fixed
|
package/dist/server-factory.js
CHANGED
|
@@ -4071,7 +4071,9 @@ async function executePublishMemory(request, userId) {
|
|
|
4071
4071
|
contentLength: publishedMemory.content?.length || 0,
|
|
4072
4072
|
titleValue: publishedMemory.title || "NO_TITLE"
|
|
4073
4073
|
});
|
|
4074
|
-
const result = await publicCollection.data.insert(
|
|
4074
|
+
const result = await publicCollection.data.insert({
|
|
4075
|
+
properties: publishedMemory
|
|
4076
|
+
});
|
|
4075
4077
|
logger.info("Memory published successfully", {
|
|
4076
4078
|
function: "executePublishMemory",
|
|
4077
4079
|
spaceMemoryId: result,
|
package/dist/server.js
CHANGED
|
@@ -4139,7 +4139,9 @@ async function executePublishMemory(request, userId) {
|
|
|
4139
4139
|
contentLength: publishedMemory.content?.length || 0,
|
|
4140
4140
|
titleValue: publishedMemory.title || "NO_TITLE"
|
|
4141
4141
|
});
|
|
4142
|
-
const result = await publicCollection.data.insert(
|
|
4142
|
+
const result = await publicCollection.data.insert({
|
|
4143
|
+
properties: publishedMemory
|
|
4144
|
+
});
|
|
4143
4145
|
logger.info("Memory published successfully", {
|
|
4144
4146
|
function: "executePublishMemory",
|
|
4145
4147
|
spaceMemoryId: result,
|
package/package.json
CHANGED
package/src/tools/confirm.ts
CHANGED
|
@@ -263,7 +263,10 @@ async function executePublishMemory(
|
|
|
263
263
|
});
|
|
264
264
|
|
|
265
265
|
// Insert directly into unified public collection
|
|
266
|
-
|
|
266
|
+
// CRITICAL: Weaviate insert API expects {properties: {...}}, not the properties directly!
|
|
267
|
+
const result = await publicCollection.data.insert({
|
|
268
|
+
properties: publishedMemory,
|
|
269
|
+
});
|
|
267
270
|
|
|
268
271
|
logger.info('Memory published successfully', {
|
|
269
272
|
function: 'executePublishMemory',
|