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 +1 -1
- package/src/graph_engine.py +2 -2
- package/src/memory-profiles.py +2 -2
- package/src/pattern_learner.py +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "superlocalmemory",
|
|
3
|
-
"version": "2.3.
|
|
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",
|
package/src/graph_engine.py
CHANGED
|
@@ -882,9 +882,9 @@ class GraphEngine:
|
|
|
882
882
|
|
|
883
883
|
# Cluster breakdown
|
|
884
884
|
cluster_info = cursor.execute('''
|
|
885
|
-
SELECT
|
|
885
|
+
SELECT name, member_count, avg_importance
|
|
886
886
|
FROM graph_clusters
|
|
887
|
-
ORDER BY
|
|
887
|
+
ORDER BY member_count DESC
|
|
888
888
|
LIMIT 10
|
|
889
889
|
''').fetchall()
|
|
890
890
|
|
package/src/memory-profiles.py
CHANGED
|
@@ -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
|
package/src/pattern_learner.py
CHANGED
|
@@ -655,17 +655,17 @@ class PatternStore:
|
|
|
655
655
|
|
|
656
656
|
if pattern_type:
|
|
657
657
|
cursor.execute('''
|
|
658
|
-
SELECT id, pattern_type,
|
|
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,
|
|
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,
|
|
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,
|
|
668
|
+
ORDER BY confidence DESC, evidence_count DESC
|
|
669
669
|
''', (min_confidence,))
|
|
670
670
|
|
|
671
671
|
patterns = []
|