@prmichaelsen/remember-mcp 2.6.10 → 2.6.11
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 +13 -0
- package/dist/server-factory.js +15 -3
- package/dist/server.js +15 -3
- package/package.json +1 -1
- package/src/tools/confirm.ts +13 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,19 @@ 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.6.11] - 2026-02-17
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **Enhanced Logging for `executePublishMemory()`**: Added detailed property logging
|
|
13
|
+
- Logs all property keys fetched from original memory
|
|
14
|
+
- Logs property keys being inserted into public collection
|
|
15
|
+
- Logs content length, title, and other key fields
|
|
16
|
+
- Changed fetch result log from debug to info level
|
|
17
|
+
- Helps diagnose if memory content is being fetched and copied correctly
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
8
21
|
## [2.6.10] - 2026-02-17
|
|
9
22
|
|
|
10
23
|
### Fixed
|
package/dist/server-factory.js
CHANGED
|
@@ -4158,14 +4158,20 @@ async function executePublishMemory(request, userId) {
|
|
|
4158
4158
|
userCollection,
|
|
4159
4159
|
request.payload.memory_id
|
|
4160
4160
|
);
|
|
4161
|
-
logger.
|
|
4161
|
+
logger.info("Original memory fetch result", {
|
|
4162
4162
|
function: "executePublishMemory",
|
|
4163
4163
|
found: !!originalMemory,
|
|
4164
4164
|
memoryId: request.payload.memory_id,
|
|
4165
4165
|
hasProperties: !!originalMemory?.properties,
|
|
4166
4166
|
propertyCount: originalMemory?.properties ? Object.keys(originalMemory.properties).length : 0,
|
|
4167
|
+
propertyKeys: originalMemory?.properties ? Object.keys(originalMemory.properties) : [],
|
|
4167
4168
|
hasTitle: !!originalMemory?.properties?.title,
|
|
4168
|
-
hasContent: !!originalMemory?.properties?.content
|
|
4169
|
+
hasContent: !!originalMemory?.properties?.content,
|
|
4170
|
+
hasUserId: !!originalMemory?.properties?.user_id,
|
|
4171
|
+
hasTags: !!originalMemory?.properties?.tags,
|
|
4172
|
+
hasWeight: !!originalMemory?.properties?.weight,
|
|
4173
|
+
contentLength: originalMemory?.properties?.content?.length || 0,
|
|
4174
|
+
titleValue: originalMemory?.properties?.title || "NO_TITLE"
|
|
4169
4175
|
});
|
|
4170
4176
|
if (!originalMemory) {
|
|
4171
4177
|
logger.info("Original memory not found", {
|
|
@@ -4233,7 +4239,13 @@ async function executePublishMemory(request, userId) {
|
|
|
4233
4239
|
spaceCount: request.payload.spaces?.length || 0,
|
|
4234
4240
|
memoryId: request.payload.memory_id,
|
|
4235
4241
|
hasUserId: !!publishedMemory.user_id,
|
|
4236
|
-
hasAuthorId: !!publishedMemory.author_id
|
|
4242
|
+
hasAuthorId: !!publishedMemory.author_id,
|
|
4243
|
+
publishedMemoryKeys: Object.keys(publishedMemory),
|
|
4244
|
+
publishedMemoryKeyCount: Object.keys(publishedMemory).length,
|
|
4245
|
+
hasContent: !!publishedMemory.content,
|
|
4246
|
+
hasTitle: !!publishedMemory.title,
|
|
4247
|
+
contentLength: publishedMemory.content?.length || 0,
|
|
4248
|
+
titleValue: publishedMemory.title || "NO_TITLE"
|
|
4237
4249
|
});
|
|
4238
4250
|
const result = await publicCollection.data.insert(publishedMemory);
|
|
4239
4251
|
logger.info("Memory published successfully", {
|
package/dist/server.js
CHANGED
|
@@ -4226,14 +4226,20 @@ async function executePublishMemory(request, userId) {
|
|
|
4226
4226
|
userCollection,
|
|
4227
4227
|
request.payload.memory_id
|
|
4228
4228
|
);
|
|
4229
|
-
logger.
|
|
4229
|
+
logger.info("Original memory fetch result", {
|
|
4230
4230
|
function: "executePublishMemory",
|
|
4231
4231
|
found: !!originalMemory,
|
|
4232
4232
|
memoryId: request.payload.memory_id,
|
|
4233
4233
|
hasProperties: !!originalMemory?.properties,
|
|
4234
4234
|
propertyCount: originalMemory?.properties ? Object.keys(originalMemory.properties).length : 0,
|
|
4235
|
+
propertyKeys: originalMemory?.properties ? Object.keys(originalMemory.properties) : [],
|
|
4235
4236
|
hasTitle: !!originalMemory?.properties?.title,
|
|
4236
|
-
hasContent: !!originalMemory?.properties?.content
|
|
4237
|
+
hasContent: !!originalMemory?.properties?.content,
|
|
4238
|
+
hasUserId: !!originalMemory?.properties?.user_id,
|
|
4239
|
+
hasTags: !!originalMemory?.properties?.tags,
|
|
4240
|
+
hasWeight: !!originalMemory?.properties?.weight,
|
|
4241
|
+
contentLength: originalMemory?.properties?.content?.length || 0,
|
|
4242
|
+
titleValue: originalMemory?.properties?.title || "NO_TITLE"
|
|
4237
4243
|
});
|
|
4238
4244
|
if (!originalMemory) {
|
|
4239
4245
|
logger.info("Original memory not found", {
|
|
@@ -4301,7 +4307,13 @@ async function executePublishMemory(request, userId) {
|
|
|
4301
4307
|
spaceCount: request.payload.spaces?.length || 0,
|
|
4302
4308
|
memoryId: request.payload.memory_id,
|
|
4303
4309
|
hasUserId: !!publishedMemory.user_id,
|
|
4304
|
-
hasAuthorId: !!publishedMemory.author_id
|
|
4310
|
+
hasAuthorId: !!publishedMemory.author_id,
|
|
4311
|
+
publishedMemoryKeys: Object.keys(publishedMemory),
|
|
4312
|
+
publishedMemoryKeyCount: Object.keys(publishedMemory).length,
|
|
4313
|
+
hasContent: !!publishedMemory.content,
|
|
4314
|
+
hasTitle: !!publishedMemory.title,
|
|
4315
|
+
contentLength: publishedMemory.content?.length || 0,
|
|
4316
|
+
titleValue: publishedMemory.title || "NO_TITLE"
|
|
4305
4317
|
});
|
|
4306
4318
|
const result = await publicCollection.data.insert(publishedMemory);
|
|
4307
4319
|
logger.info("Memory published successfully", {
|
package/package.json
CHANGED
package/src/tools/confirm.ts
CHANGED
|
@@ -156,14 +156,20 @@ async function executePublishMemory(
|
|
|
156
156
|
request.payload.memory_id
|
|
157
157
|
);
|
|
158
158
|
|
|
159
|
-
logger.
|
|
159
|
+
logger.info('Original memory fetch result', {
|
|
160
160
|
function: 'executePublishMemory',
|
|
161
161
|
found: !!originalMemory,
|
|
162
162
|
memoryId: request.payload.memory_id,
|
|
163
163
|
hasProperties: !!originalMemory?.properties,
|
|
164
164
|
propertyCount: originalMemory?.properties ? Object.keys(originalMemory.properties).length : 0,
|
|
165
|
+
propertyKeys: originalMemory?.properties ? Object.keys(originalMemory.properties) : [],
|
|
165
166
|
hasTitle: !!originalMemory?.properties?.title,
|
|
166
167
|
hasContent: !!originalMemory?.properties?.content,
|
|
168
|
+
hasUserId: !!originalMemory?.properties?.user_id,
|
|
169
|
+
hasTags: !!originalMemory?.properties?.tags,
|
|
170
|
+
hasWeight: !!originalMemory?.properties?.weight,
|
|
171
|
+
contentLength: originalMemory?.properties?.content?.length || 0,
|
|
172
|
+
titleValue: originalMemory?.properties?.title || 'NO_TITLE',
|
|
167
173
|
});
|
|
168
174
|
|
|
169
175
|
if (!originalMemory) {
|
|
@@ -246,6 +252,12 @@ async function executePublishMemory(
|
|
|
246
252
|
memoryId: request.payload.memory_id,
|
|
247
253
|
hasUserId: !!(publishedMemory as any).user_id,
|
|
248
254
|
hasAuthorId: !!publishedMemory.author_id,
|
|
255
|
+
publishedMemoryKeys: Object.keys(publishedMemory),
|
|
256
|
+
publishedMemoryKeyCount: Object.keys(publishedMemory).length,
|
|
257
|
+
hasContent: !!publishedMemory.content,
|
|
258
|
+
hasTitle: !!publishedMemory.title,
|
|
259
|
+
contentLength: publishedMemory.content?.length || 0,
|
|
260
|
+
titleValue: publishedMemory.title || 'NO_TITLE',
|
|
249
261
|
});
|
|
250
262
|
|
|
251
263
|
// Insert directly into unified public collection
|