@prmichaelsen/remember-mcp 3.14.12 → 3.14.15
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/agent/milestones/milestone-18-performance-tuning.md +45 -0
- package/agent/progress.yaml +86 -2
- package/agent/tasks/task-77-parallelize-checkiffriend.md +62 -0
- package/agent/tasks/task-78-cache-checkiffriend.md +78 -0
- package/agent/tasks/task-79-memoize-core-services.md +75 -0
- package/agent/tasks/task-80-parallelize-startup-health-checks.md +57 -0
- package/agent/tasks/task-81-optimize-ghost-config-block-unblock.md +64 -0
- package/agent/tasks/task-82-native-weaviate-offset.md +69 -0
- package/agent/tasks/task-83-eliminate-redundant-validatetoken.md +53 -0
- package/agent/tasks/task-84-static-imports-server-factory.md +52 -0
- package/dist/core-services.d.ts +3 -1
- package/dist/server-factory.js +2662 -3186
- package/dist/server.js +53 -55
- package/dist/services/access-control.d.ts +5 -5
- package/dist/services/ghost-config.service.d.ts +2 -0
- package/package.json +2 -2
- package/src/core-services.ts +16 -2
- package/src/server-factory.ts +5 -3
- package/src/server.ts +5 -3
- package/src/services/access-control.spec.ts +11 -11
- package/src/services/access-control.ts +73 -7
- package/src/services/ghost-config.service.spec.ts +22 -15
- package/src/services/ghost-config.service.ts +9 -15
- package/src/tools/search-memory.ts +4 -6
|
@@ -181,10 +181,11 @@ export async function handleSearchMemory(
|
|
|
181
181
|
// Combine deleted filter, trust filter, ghost exclusion, and search filters
|
|
182
182
|
const combinedFilters = combineFiltersWithAnd([deletedFilter, trustFilter, ghostExclusionFilter, searchFilters].filter(f => f !== null));
|
|
183
183
|
|
|
184
|
-
// Build search options
|
|
184
|
+
// Build search options (native offset handled by Weaviate)
|
|
185
185
|
const searchOptions: any = {
|
|
186
186
|
alpha: alpha,
|
|
187
|
-
limit: limit
|
|
187
|
+
limit: limit,
|
|
188
|
+
offset: offset,
|
|
188
189
|
};
|
|
189
190
|
|
|
190
191
|
// Add filters if present
|
|
@@ -203,14 +204,11 @@ export async function handleSearchMemory(
|
|
|
203
204
|
// Perform hybrid search with Weaviate v3 API
|
|
204
205
|
const results = await collection.query.hybrid(args.query, searchOptions);
|
|
205
206
|
|
|
206
|
-
// Apply offset
|
|
207
|
-
const paginatedResults = results.objects.slice(offset);
|
|
208
|
-
|
|
209
207
|
// Separate memories and relationships
|
|
210
208
|
const memories: Partial<Memory>[] = [];
|
|
211
209
|
const relationships: Partial<Relationship>[] = [];
|
|
212
210
|
|
|
213
|
-
for (const obj of
|
|
211
|
+
for (const obj of results.objects) {
|
|
214
212
|
const doc: any = {
|
|
215
213
|
id: obj.uuid,
|
|
216
214
|
...obj.properties,
|