superlocalmemory 3.4.17 → 3.4.19

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.
Files changed (80) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/package.json +1 -3
  3. package/pyproject.toml +10 -1
  4. package/src/superlocalmemory/cli/setup_wizard.py +30 -0
  5. package/src/superlocalmemory/core/embeddings.py +8 -2
  6. package/src/superlocalmemory/retrieval/reranker.py +4 -2
  7. package/src/superlocalmemory.egg-info/PKG-INFO +4 -1
  8. package/src/superlocalmemory.egg-info/requires.txt +3 -0
  9. package/docs/ARCHITECTURE.md +0 -149
  10. package/docs/api-reference.md +0 -284
  11. package/docs/auto-memory.md +0 -150
  12. package/docs/cli-reference.md +0 -327
  13. package/docs/cloud-backup.md +0 -174
  14. package/docs/compliance.md +0 -191
  15. package/docs/configuration.md +0 -182
  16. package/docs/getting-started.md +0 -102
  17. package/docs/ide-setup.md +0 -261
  18. package/docs/mcp-tools.md +0 -220
  19. package/docs/migration-from-v2.md +0 -170
  20. package/docs/profiles.md +0 -173
  21. package/docs/screenshots/01-dashboard-main.png +0 -0
  22. package/docs/screenshots/02-knowledge-graph.png +0 -0
  23. package/docs/screenshots/03-math-health.png +0 -0
  24. package/docs/screenshots/03-patterns-learning.png +0 -0
  25. package/docs/screenshots/04-learning-dashboard.png +0 -0
  26. package/docs/screenshots/04-recall-lab.png +0 -0
  27. package/docs/screenshots/05-behavioral-analysis.png +0 -0
  28. package/docs/screenshots/05-trust-dashboard.png +0 -0
  29. package/docs/screenshots/06-graph-communities.png +0 -0
  30. package/docs/screenshots/06-settings.png +0 -0
  31. package/docs/screenshots/07-memories-blurred.png +0 -0
  32. package/docs/skill-evolution.md +0 -256
  33. package/docs/troubleshooting.md +0 -310
  34. package/docs/v2-archive/ACCESSIBILITY.md +0 -291
  35. package/docs/v2-archive/ARCHITECTURE.md +0 -886
  36. package/docs/v2-archive/CLI-COMMANDS-REFERENCE.md +0 -425
  37. package/docs/v2-archive/COMPRESSION-README.md +0 -390
  38. package/docs/v2-archive/FRAMEWORK-INTEGRATIONS.md +0 -300
  39. package/docs/v2-archive/MCP-MANUAL-SETUP.md +0 -775
  40. package/docs/v2-archive/MCP-TROUBLESHOOTING.md +0 -787
  41. package/docs/v2-archive/PATTERN-LEARNING.md +0 -228
  42. package/docs/v2-archive/PROFILES-GUIDE.md +0 -453
  43. package/docs/v2-archive/RESET-GUIDE.md +0 -353
  44. package/docs/v2-archive/SEARCH-ENGINE-V2.2.0.md +0 -749
  45. package/docs/v2-archive/SEARCH-INTEGRATION-GUIDE.md +0 -502
  46. package/docs/v2-archive/UI-SERVER.md +0 -262
  47. package/docs/v2-archive/UNIVERSAL-INTEGRATION.md +0 -488
  48. package/docs/v2-archive/V2.2.0-OPTIONAL-SEARCH.md +0 -666
  49. package/docs/v2-archive/WINDOWS-INSTALL-README.txt +0 -34
  50. package/docs/v2-archive/WINDOWS-POST-INSTALL.txt +0 -45
  51. package/docs/v2-archive/example_graph_usage.py +0 -146
  52. package/ui/index.html +0 -1879
  53. package/ui/js/agents.js +0 -192
  54. package/ui/js/auto-settings.js +0 -399
  55. package/ui/js/behavioral.js +0 -276
  56. package/ui/js/clusters.js +0 -206
  57. package/ui/js/compliance.js +0 -252
  58. package/ui/js/core.js +0 -246
  59. package/ui/js/dashboard.js +0 -110
  60. package/ui/js/events.js +0 -178
  61. package/ui/js/fact-detail.js +0 -92
  62. package/ui/js/feedback.js +0 -333
  63. package/ui/js/graph-core.js +0 -447
  64. package/ui/js/graph-filters.js +0 -220
  65. package/ui/js/graph-interactions.js +0 -351
  66. package/ui/js/graph-ui.js +0 -214
  67. package/ui/js/ide-status.js +0 -102
  68. package/ui/js/init.js +0 -45
  69. package/ui/js/learning.js +0 -435
  70. package/ui/js/lifecycle.js +0 -298
  71. package/ui/js/math-health.js +0 -98
  72. package/ui/js/memories.js +0 -264
  73. package/ui/js/modal.js +0 -357
  74. package/ui/js/patterns.js +0 -93
  75. package/ui/js/profiles.js +0 -236
  76. package/ui/js/recall-lab.js +0 -292
  77. package/ui/js/search.js +0 -59
  78. package/ui/js/settings.js +0 -224
  79. package/ui/js/timeline.js +0 -32
  80. package/ui/js/trust-dashboard.js +0 -73
@@ -1,45 +0,0 @@
1
- SuperLocalMemory V2.1.0 - Installation Complete!
2
- ================================================
3
-
4
- Installation successful!
5
-
6
- Location: %USERPROFILE%\.claude-memory\
7
- CLI Command: slm
8
-
9
- Quick Start:
10
- ------------
11
- 1. Open a NEW Command Prompt or PowerShell window
12
- (Required for PATH changes to take effect)
13
-
14
- 2. Verify installation:
15
- > slm status
16
-
17
- 3. Store your first memory:
18
- > slm remember "React is my preferred framework" --tags frontend
19
-
20
- 4. Search memories:
21
- > slm recall "React"
22
-
23
- 5. Launch dashboard (optional):
24
- > powershell -ExecutionPolicy Bypass -File start-dashboard.ps1
25
-
26
- Integrated IDEs:
27
- ----------------
28
- SuperLocalMemory is now available in:
29
- ✓ Claude Desktop (restart to see @SuperLocalMemory)
30
- ✓ Cursor (restart IDE)
31
- ✓ Windsurf (restart IDE)
32
- ✓ Continue.dev (use /slm-* skills)
33
- ✓ Cody (use custom commands)
34
- ✓ And 6+ more tools (11+ IDEs supported total)
35
-
36
- Troubleshooting:
37
- ----------------
38
- • 'slm' not found: Open NEW terminal window
39
- • Python errors: Ensure Python 3.8+ is installed
40
- • Permission errors: Run PowerShell as Administrator
41
-
42
- Documentation: https://github.com/varun369/SuperLocalMemoryV2/wiki
43
- Support: https://github.com/varun369/SuperLocalMemoryV2/issues
44
-
45
- Copyright (c) 2026 Varun Pratap Bhardwaj
@@ -1,146 +0,0 @@
1
- #!/usr/bin/env python3
2
- # SPDX-License-Identifier: AGPL-3.0-or-later
3
- # Copyright (c) 2026 SuperLocalMemory (superlocalmemory.com)
4
- """SuperLocalMemory V2 - example_graph_usage.py
5
-
6
- Solution Architect & Original Creator
7
-
8
- (see LICENSE file)
9
-
10
- ATTRIBUTION REQUIRED: This notice must be preserved in all copies.
11
- """
12
- import sys
13
- from pathlib import Path
14
-
15
- # Add parent directory to path
16
- sys.path.insert(0, str(Path(__file__).parent))
17
-
18
- from graph_engine import GraphEngine
19
-
20
-
21
- def example_build_graph():
22
- """Example: Build complete knowledge graph."""
23
- print("=" * 60)
24
- print("Example 1: Build Knowledge Graph")
25
- print("=" * 60)
26
-
27
- engine = GraphEngine()
28
-
29
- # Build graph with default similarity threshold (0.3)
30
- stats = engine.build_graph(min_similarity=0.3)
31
-
32
- print(f"Graph built successfully!")
33
- print(f" - Nodes: {stats['nodes']}")
34
- print(f" - Edges: {stats['edges']}")
35
- print(f" - Clusters: {stats['clusters']}")
36
- print(f" - Time: {stats['time_seconds']}s")
37
- print()
38
-
39
-
40
- def example_find_related():
41
- """Example: Find related memories."""
42
- print("=" * 60)
43
- print("Example 2: Find Related Memories")
44
- print("=" * 60)
45
-
46
- engine = GraphEngine()
47
-
48
- # Find memories related to memory #1
49
- memory_id = 1
50
- related = engine.get_related(memory_id, max_hops=2)
51
-
52
- print(f"Memories related to #{memory_id}:")
53
- for idx, mem in enumerate(related[:5], 1): # Top 5
54
- print(f"\n{idx}. Memory #{mem['id']} ({mem['hops']}-hop)")
55
- print(f" Relationship: {mem['relationship']}")
56
- print(f" Weight: {mem['weight']:.3f}")
57
- print(f" Importance: {mem['importance']}")
58
- if mem['shared_entities']:
59
- print(f" Shared entities: {', '.join(mem['shared_entities'][:3])}")
60
- print()
61
-
62
-
63
- def example_query_clusters():
64
- """Example: Query memory clusters."""
65
- print("=" * 60)
66
- print("Example 3: Query Clusters")
67
- print("=" * 60)
68
-
69
- engine = GraphEngine()
70
-
71
- # Get statistics
72
- stats = engine.get_stats()
73
-
74
- print(f"Total clusters: {stats['clusters']}")
75
- print("\nTop clusters:")
76
-
77
- for cluster in stats['top_clusters'][:5]:
78
- print(f"\n - {cluster['name']}")
79
- print(f" Members: {cluster['members']}")
80
- print(f" Avg Importance: {cluster['avg_importance']}")
81
-
82
- # Get cluster members
83
- cluster_id = stats['top_clusters'].index(cluster) + 1
84
- members = engine.get_cluster_members(cluster_id)
85
-
86
- print(f" Sample memories: {[m['id'] for m in members[:3]]}")
87
- print()
88
-
89
-
90
- def example_incremental_add():
91
- """Example: Add memory to existing graph."""
92
- print("=" * 60)
93
- print("Example 4: Incremental Add")
94
- print("=" * 60)
95
-
96
- engine = GraphEngine()
97
-
98
- # Simulate adding a new memory (would normally be created first)
99
- memory_id = 5 # Existing memory
100
-
101
- print(f"Adding memory #{memory_id} to graph...")
102
- success = engine.add_memory_incremental(memory_id)
103
-
104
- if success:
105
- print(f"Memory #{memory_id} added successfully!")
106
-
107
- # Find what it connected to
108
- related = engine.get_related(memory_id, max_hops=1)
109
- print(f"Connected to {len(related)} existing memories")
110
- else:
111
- print("Failed to add memory")
112
- print()
113
-
114
-
115
- def example_extract_entities():
116
- """Example: Extract entities from a memory."""
117
- print("=" * 60)
118
- print("Example 5: Entity Extraction")
119
- print("=" * 60)
120
-
121
- engine = GraphEngine()
122
-
123
- memory_id = 1
124
- entities = engine.extract_entities(memory_id)
125
-
126
- print(f"Entities extracted from memory #{memory_id}:")
127
- for idx, entity in enumerate(entities[:10], 1):
128
- print(f" {idx}. {entity}")
129
- print()
130
-
131
-
132
- if __name__ == '__main__':
133
- print("\n" + "=" * 60)
134
- print("GraphEngine Usage Examples")
135
- print("=" * 60 + "\n")
136
-
137
- # Run all examples
138
- example_build_graph()
139
- example_find_related()
140
- example_query_clusters()
141
- example_extract_entities()
142
- example_incremental_add()
143
-
144
- print("=" * 60)
145
- print("All examples completed!")
146
- print("=" * 60)