@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.
@@ -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 + offset, // Get extra for offset
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 paginatedResults) {
211
+ for (const obj of results.objects) {
214
212
  const doc: any = {
215
213
  id: obj.uuid,
216
214
  ...obj.properties,