superlocalmemory 2.3.1 → 2.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superlocalmemory",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "Your AI Finally Remembers You - Local-first intelligent memory system for AI assistants. Works with Claude, Cursor, Windsurf, VS Code/Copilot, Codex, and 16+ AI tools. 100% local, zero cloud dependencies.",
5
5
  "keywords": [
6
6
  "ai-memory",
@@ -882,9 +882,9 @@ class GraphEngine:
882
882
 
883
883
  # Cluster breakdown
884
884
  cluster_info = cursor.execute('''
885
- SELECT cluster_name, memory_count, avg_importance
885
+ SELECT name, member_count, avg_importance
886
886
  FROM graph_clusters
887
- ORDER BY memory_count DESC
887
+ ORDER BY member_count DESC
888
888
  LIMIT 10
889
889
  ''').fetchall()
890
890
 
@@ -259,8 +259,8 @@ class ProfileManager:
259
259
 
260
260
  print(f"\nSwitching from '{current}' to '{name}'...")
261
261
 
262
- # Save current profile
263
- if current and current in self.config['profiles']:
262
+ # Save current profile (skip for 'default' — it uses main DB directly)
263
+ if current and current != 'default' and current in self.config['profiles']:
264
264
  self._save_current_to_profile(current)
265
265
 
266
266
  # Load new profile
@@ -655,17 +655,17 @@ class PatternStore:
655
655
 
656
656
  if pattern_type:
657
657
  cursor.execute('''
658
- SELECT id, pattern_type, pattern_key, pattern_value, confidence, frequency, last_seen, created_at
658
+ SELECT id, pattern_type, key, value, confidence, evidence_count, updated_at, created_at
659
659
  FROM identity_patterns
660
660
  WHERE confidence >= ? AND pattern_type = ?
661
- ORDER BY confidence DESC, frequency DESC
661
+ ORDER BY confidence DESC, evidence_count DESC
662
662
  ''', (min_confidence, pattern_type))
663
663
  else:
664
664
  cursor.execute('''
665
- SELECT id, pattern_type, pattern_key, pattern_value, confidence, frequency, last_seen, created_at
665
+ SELECT id, pattern_type, key, value, confidence, evidence_count, updated_at, created_at
666
666
  FROM identity_patterns
667
667
  WHERE confidence >= ?
668
- ORDER BY confidence DESC, frequency DESC
668
+ ORDER BY confidence DESC, evidence_count DESC
669
669
  ''', (min_confidence,))
670
670
 
671
671
  patterns = []