@prmichaelsen/remember-mcp 2.6.4 → 2.6.7
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 +46 -0
- package/dist/server-factory.js +37 -9
- package/dist/server.js +37 -9
- package/dist/weaviate/client.d.ts +5 -1
- package/package.json +1 -1
- package/src/weaviate/client.ts +51 -9
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,52 @@ 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.6] - 2026-02-16
|
|
9
|
+
|
|
10
|
+
### 🔧 Improved
|
|
11
|
+
|
|
12
|
+
- **Comprehensive Schema Property Alignment**
|
|
13
|
+
- Updated `ALL_MEMORY_PROPERTIES` to match Weaviate schema exactly
|
|
14
|
+
- Removed non-existent properties: `context`, `location`, `attribution`, `source_url`, `author`
|
|
15
|
+
- Added all actual schema properties including flattened location/context fields
|
|
16
|
+
- Added missing properties: `summary`, `computed_weight`, locale fields, access tracking fields
|
|
17
|
+
- Now includes all 50+ actual schema properties
|
|
18
|
+
- Organized with comments for clarity
|
|
19
|
+
|
|
20
|
+
### 📝 Changed
|
|
21
|
+
|
|
22
|
+
- Expanded `ALL_MEMORY_PROPERTIES` from 22 to 50+ properties
|
|
23
|
+
- Properties now match schema definition exactly
|
|
24
|
+
- Added proper documentation comments
|
|
25
|
+
|
|
26
|
+
### 🎯 Impact
|
|
27
|
+
|
|
28
|
+
- **Complete Data**: All memory properties now fetched correctly
|
|
29
|
+
- **No Mismatches**: Zero schema validation errors
|
|
30
|
+
- **Future-Proof**: New schema properties can be added to constant
|
|
31
|
+
- **Better Documentation**: Clear organization and comments
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## [2.6.5] - 2026-02-16
|
|
36
|
+
|
|
37
|
+
### 🐛 Fixed
|
|
38
|
+
|
|
39
|
+
- **CRITICAL: Fixed Schema Property Mismatch in fetchMemoryWithAllProperties**
|
|
40
|
+
- `ALL_MEMORY_PROPERTIES` constant had `trust_level` but schema has `trust`
|
|
41
|
+
- Caused publish operations to fail with schema validation error
|
|
42
|
+
- Fixed property name to match actual schema: `trust_level` → `trust`
|
|
43
|
+
- Added missing `confidence` property to the list
|
|
44
|
+
- Publish functionality now works correctly
|
|
45
|
+
|
|
46
|
+
### 🎯 Impact
|
|
47
|
+
|
|
48
|
+
- **Fixes**: Publishing memories to shared spaces now works
|
|
49
|
+
- **Unblocks**: Core publish/space functionality restored
|
|
50
|
+
- **Note**: This was introduced in v2.6.3 when creating the utility function
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
8
54
|
## [2.6.4] - 2026-02-16
|
|
9
55
|
|
|
10
56
|
### 🔧 Improved
|
package/dist/server-factory.js
CHANGED
|
@@ -566,24 +566,52 @@ function getMemoryCollectionName(userId) {
|
|
|
566
566
|
return `Memory_${sanitizeUserId(userId)}`;
|
|
567
567
|
}
|
|
568
568
|
var ALL_MEMORY_PROPERTIES = [
|
|
569
|
+
// Core identity
|
|
569
570
|
"user_id",
|
|
570
571
|
"doc_type",
|
|
571
|
-
|
|
572
|
-
"title",
|
|
572
|
+
// Memory fields
|
|
573
573
|
"content",
|
|
574
|
-
"
|
|
574
|
+
"title",
|
|
575
|
+
"summary",
|
|
576
|
+
"type",
|
|
577
|
+
// Scoring fields
|
|
575
578
|
"weight",
|
|
576
579
|
"base_weight",
|
|
577
|
-
"
|
|
578
|
-
"
|
|
579
|
-
"
|
|
580
|
+
"trust",
|
|
581
|
+
"confidence",
|
|
582
|
+
"computed_weight",
|
|
583
|
+
// Location fields (flattened)
|
|
584
|
+
"location_gps_lat",
|
|
585
|
+
"location_gps_lng",
|
|
586
|
+
"location_address",
|
|
587
|
+
"location_city",
|
|
588
|
+
"location_country",
|
|
589
|
+
"location_source",
|
|
590
|
+
// Locale fields
|
|
591
|
+
"locale_language",
|
|
592
|
+
"locale_timezone",
|
|
593
|
+
// Context fields (flattened)
|
|
594
|
+
"context_conversation_id",
|
|
595
|
+
"context_summary",
|
|
596
|
+
"context_timestamp",
|
|
597
|
+
// Relationships
|
|
580
598
|
"relationships",
|
|
599
|
+
// Access tracking
|
|
600
|
+
"access_count",
|
|
601
|
+
"last_accessed_at",
|
|
602
|
+
// Metadata
|
|
603
|
+
"tags",
|
|
604
|
+
"references",
|
|
581
605
|
"created_at",
|
|
582
606
|
"updated_at",
|
|
583
607
|
"version",
|
|
584
|
-
"
|
|
585
|
-
|
|
586
|
-
"
|
|
608
|
+
"template_id",
|
|
609
|
+
// Relationship-specific fields
|
|
610
|
+
"memory_ids",
|
|
611
|
+
"relationship_type",
|
|
612
|
+
"observation",
|
|
613
|
+
"strength",
|
|
614
|
+
// Comment/threading fields
|
|
587
615
|
"parent_id",
|
|
588
616
|
"thread_root_id",
|
|
589
617
|
"moderation_flags"
|
package/dist/server.js
CHANGED
|
@@ -612,24 +612,52 @@ function getMemoryCollectionName(userId) {
|
|
|
612
612
|
return `Memory_${sanitizeUserId(userId)}`;
|
|
613
613
|
}
|
|
614
614
|
var ALL_MEMORY_PROPERTIES = [
|
|
615
|
+
// Core identity
|
|
615
616
|
"user_id",
|
|
616
617
|
"doc_type",
|
|
617
|
-
|
|
618
|
-
"title",
|
|
618
|
+
// Memory fields
|
|
619
619
|
"content",
|
|
620
|
-
"
|
|
620
|
+
"title",
|
|
621
|
+
"summary",
|
|
622
|
+
"type",
|
|
623
|
+
// Scoring fields
|
|
621
624
|
"weight",
|
|
622
625
|
"base_weight",
|
|
623
|
-
"
|
|
624
|
-
"
|
|
625
|
-
"
|
|
626
|
+
"trust",
|
|
627
|
+
"confidence",
|
|
628
|
+
"computed_weight",
|
|
629
|
+
// Location fields (flattened)
|
|
630
|
+
"location_gps_lat",
|
|
631
|
+
"location_gps_lng",
|
|
632
|
+
"location_address",
|
|
633
|
+
"location_city",
|
|
634
|
+
"location_country",
|
|
635
|
+
"location_source",
|
|
636
|
+
// Locale fields
|
|
637
|
+
"locale_language",
|
|
638
|
+
"locale_timezone",
|
|
639
|
+
// Context fields (flattened)
|
|
640
|
+
"context_conversation_id",
|
|
641
|
+
"context_summary",
|
|
642
|
+
"context_timestamp",
|
|
643
|
+
// Relationships
|
|
626
644
|
"relationships",
|
|
645
|
+
// Access tracking
|
|
646
|
+
"access_count",
|
|
647
|
+
"last_accessed_at",
|
|
648
|
+
// Metadata
|
|
649
|
+
"tags",
|
|
650
|
+
"references",
|
|
627
651
|
"created_at",
|
|
628
652
|
"updated_at",
|
|
629
653
|
"version",
|
|
630
|
-
"
|
|
631
|
-
|
|
632
|
-
"
|
|
654
|
+
"template_id",
|
|
655
|
+
// Relationship-specific fields
|
|
656
|
+
"memory_ids",
|
|
657
|
+
"relationship_type",
|
|
658
|
+
"observation",
|
|
659
|
+
"strength",
|
|
660
|
+
// Comment/threading fields
|
|
633
661
|
"parent_id",
|
|
634
662
|
"thread_root_id",
|
|
635
663
|
"moderation_flags"
|
|
@@ -37,7 +37,11 @@ export declare function getAuditCollectionName(userId: string): string;
|
|
|
37
37
|
* List of all memory properties to fetch
|
|
38
38
|
* Centralized to ensure consistency across all tools
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
/**
|
|
41
|
+
* List of all memory properties to fetch
|
|
42
|
+
* Matches the actual Weaviate schema properties exactly
|
|
43
|
+
*/
|
|
44
|
+
export declare const ALL_MEMORY_PROPERTIES: readonly ["user_id", "doc_type", "content", "title", "summary", "type", "weight", "base_weight", "trust", "confidence", "computed_weight", "location_gps_lat", "location_gps_lng", "location_address", "location_city", "location_country", "location_source", "locale_language", "locale_timezone", "context_conversation_id", "context_summary", "context_timestamp", "relationships", "access_count", "last_accessed_at", "tags", "references", "created_at", "updated_at", "version", "template_id", "memory_ids", "relationship_type", "observation", "strength", "parent_id", "thread_root_id", "moderation_flags"];
|
|
41
45
|
/**
|
|
42
46
|
* Fetch a memory object by ID with all properties
|
|
43
47
|
*
|
package/package.json
CHANGED
package/src/weaviate/client.ts
CHANGED
|
@@ -143,25 +143,67 @@ export function getAuditCollectionName(userId: string): string {
|
|
|
143
143
|
* List of all memory properties to fetch
|
|
144
144
|
* Centralized to ensure consistency across all tools
|
|
145
145
|
*/
|
|
146
|
+
/**
|
|
147
|
+
* List of all memory properties to fetch
|
|
148
|
+
* Matches the actual Weaviate schema properties exactly
|
|
149
|
+
*/
|
|
146
150
|
export const ALL_MEMORY_PROPERTIES = [
|
|
151
|
+
// Core identity
|
|
147
152
|
'user_id',
|
|
148
153
|
'doc_type',
|
|
149
|
-
|
|
150
|
-
|
|
154
|
+
|
|
155
|
+
// Memory fields
|
|
151
156
|
'content',
|
|
152
|
-
'
|
|
157
|
+
'title',
|
|
158
|
+
'summary',
|
|
159
|
+
'type',
|
|
160
|
+
|
|
161
|
+
// Scoring fields
|
|
153
162
|
'weight',
|
|
154
163
|
'base_weight',
|
|
155
|
-
'
|
|
156
|
-
'
|
|
157
|
-
'
|
|
164
|
+
'trust',
|
|
165
|
+
'confidence',
|
|
166
|
+
'computed_weight',
|
|
167
|
+
|
|
168
|
+
// Location fields (flattened)
|
|
169
|
+
'location_gps_lat',
|
|
170
|
+
'location_gps_lng',
|
|
171
|
+
'location_address',
|
|
172
|
+
'location_city',
|
|
173
|
+
'location_country',
|
|
174
|
+
'location_source',
|
|
175
|
+
|
|
176
|
+
// Locale fields
|
|
177
|
+
'locale_language',
|
|
178
|
+
'locale_timezone',
|
|
179
|
+
|
|
180
|
+
// Context fields (flattened)
|
|
181
|
+
'context_conversation_id',
|
|
182
|
+
'context_summary',
|
|
183
|
+
'context_timestamp',
|
|
184
|
+
|
|
185
|
+
// Relationships
|
|
158
186
|
'relationships',
|
|
187
|
+
|
|
188
|
+
// Access tracking
|
|
189
|
+
'access_count',
|
|
190
|
+
'last_accessed_at',
|
|
191
|
+
|
|
192
|
+
// Metadata
|
|
193
|
+
'tags',
|
|
194
|
+
'references',
|
|
159
195
|
'created_at',
|
|
160
196
|
'updated_at',
|
|
161
197
|
'version',
|
|
162
|
-
'
|
|
163
|
-
|
|
164
|
-
|
|
198
|
+
'template_id',
|
|
199
|
+
|
|
200
|
+
// Relationship-specific fields
|
|
201
|
+
'memory_ids',
|
|
202
|
+
'relationship_type',
|
|
203
|
+
'observation',
|
|
204
|
+
'strength',
|
|
205
|
+
|
|
206
|
+
// Comment/threading fields
|
|
165
207
|
'parent_id',
|
|
166
208
|
'thread_root_id',
|
|
167
209
|
'moderation_flags',
|