@prmichaelsen/remember-mcp 2.6.5 → 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 +27 -0
- package/dist/server-factory.js +35 -9
- package/dist/server.js +35 -9
- package/dist/weaviate/client.d.ts +5 -1
- package/package.json +1 -1
- package/src/weaviate/client.ts +50 -9
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,33 @@ 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
|
+
|
|
8
35
|
## [2.6.5] - 2026-02-16
|
|
9
36
|
|
|
10
37
|
### 🐛 Fixed
|
package/dist/server-factory.js
CHANGED
|
@@ -566,26 +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
580
|
"trust",
|
|
578
|
-
// ✅ Fixed: was 'trust_level', schema has 'trust'
|
|
579
581
|
"confidence",
|
|
580
|
-
"
|
|
581
|
-
|
|
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
|
|
582
598
|
"relationships",
|
|
599
|
+
// Access tracking
|
|
600
|
+
"access_count",
|
|
601
|
+
"last_accessed_at",
|
|
602
|
+
// Metadata
|
|
603
|
+
"tags",
|
|
604
|
+
"references",
|
|
583
605
|
"created_at",
|
|
584
606
|
"updated_at",
|
|
585
607
|
"version",
|
|
586
|
-
"
|
|
587
|
-
|
|
588
|
-
"
|
|
608
|
+
"template_id",
|
|
609
|
+
// Relationship-specific fields
|
|
610
|
+
"memory_ids",
|
|
611
|
+
"relationship_type",
|
|
612
|
+
"observation",
|
|
613
|
+
"strength",
|
|
614
|
+
// Comment/threading fields
|
|
589
615
|
"parent_id",
|
|
590
616
|
"thread_root_id",
|
|
591
617
|
"moderation_flags"
|
package/dist/server.js
CHANGED
|
@@ -612,26 +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
626
|
"trust",
|
|
624
|
-
// ✅ Fixed: was 'trust_level', schema has 'trust'
|
|
625
627
|
"confidence",
|
|
626
|
-
"
|
|
627
|
-
|
|
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
|
|
628
644
|
"relationships",
|
|
645
|
+
// Access tracking
|
|
646
|
+
"access_count",
|
|
647
|
+
"last_accessed_at",
|
|
648
|
+
// Metadata
|
|
649
|
+
"tags",
|
|
650
|
+
"references",
|
|
629
651
|
"created_at",
|
|
630
652
|
"updated_at",
|
|
631
653
|
"version",
|
|
632
|
-
"
|
|
633
|
-
|
|
634
|
-
"
|
|
654
|
+
"template_id",
|
|
655
|
+
// Relationship-specific fields
|
|
656
|
+
"memory_ids",
|
|
657
|
+
"relationship_type",
|
|
658
|
+
"observation",
|
|
659
|
+
"strength",
|
|
660
|
+
// Comment/threading fields
|
|
635
661
|
"parent_id",
|
|
636
662
|
"thread_root_id",
|
|
637
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,26 +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
|
-
'trust',
|
|
164
|
+
'trust',
|
|
156
165
|
'confidence',
|
|
157
|
-
'
|
|
158
|
-
|
|
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
|
|
159
186
|
'relationships',
|
|
187
|
+
|
|
188
|
+
// Access tracking
|
|
189
|
+
'access_count',
|
|
190
|
+
'last_accessed_at',
|
|
191
|
+
|
|
192
|
+
// Metadata
|
|
193
|
+
'tags',
|
|
194
|
+
'references',
|
|
160
195
|
'created_at',
|
|
161
196
|
'updated_at',
|
|
162
197
|
'version',
|
|
163
|
-
'
|
|
164
|
-
|
|
165
|
-
|
|
198
|
+
'template_id',
|
|
199
|
+
|
|
200
|
+
// Relationship-specific fields
|
|
201
|
+
'memory_ids',
|
|
202
|
+
'relationship_type',
|
|
203
|
+
'observation',
|
|
204
|
+
'strength',
|
|
205
|
+
|
|
206
|
+
// Comment/threading fields
|
|
166
207
|
'parent_id',
|
|
167
208
|
'thread_root_id',
|
|
168
209
|
'moderation_flags',
|