superlocalmemory 3.4.16 → 3.4.18

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 (83) hide show
  1. package/CHANGELOG.md +20 -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/server/routes/entity.py +5 -9
  6. package/src/superlocalmemory/server/routes/helpers.py +120 -15
  7. package/src/superlocalmemory/server/routes/ingest.py +2 -3
  8. package/src/superlocalmemory/server/routes/v3_api.py +42 -2
  9. package/src/superlocalmemory/server/unified_daemon.py +21 -11
  10. package/src/superlocalmemory.egg-info/PKG-INFO +5 -2
  11. package/src/superlocalmemory.egg-info/requires.txt +3 -0
  12. package/docs/ARCHITECTURE.md +0 -149
  13. package/docs/api-reference.md +0 -284
  14. package/docs/auto-memory.md +0 -150
  15. package/docs/cli-reference.md +0 -327
  16. package/docs/cloud-backup.md +0 -174
  17. package/docs/compliance.md +0 -191
  18. package/docs/configuration.md +0 -182
  19. package/docs/getting-started.md +0 -102
  20. package/docs/ide-setup.md +0 -261
  21. package/docs/mcp-tools.md +0 -220
  22. package/docs/migration-from-v2.md +0 -170
  23. package/docs/profiles.md +0 -173
  24. package/docs/screenshots/01-dashboard-main.png +0 -0
  25. package/docs/screenshots/02-knowledge-graph.png +0 -0
  26. package/docs/screenshots/03-math-health.png +0 -0
  27. package/docs/screenshots/03-patterns-learning.png +0 -0
  28. package/docs/screenshots/04-learning-dashboard.png +0 -0
  29. package/docs/screenshots/04-recall-lab.png +0 -0
  30. package/docs/screenshots/05-behavioral-analysis.png +0 -0
  31. package/docs/screenshots/05-trust-dashboard.png +0 -0
  32. package/docs/screenshots/06-graph-communities.png +0 -0
  33. package/docs/screenshots/06-settings.png +0 -0
  34. package/docs/screenshots/07-memories-blurred.png +0 -0
  35. package/docs/skill-evolution.md +0 -256
  36. package/docs/troubleshooting.md +0 -310
  37. package/docs/v2-archive/ACCESSIBILITY.md +0 -291
  38. package/docs/v2-archive/ARCHITECTURE.md +0 -886
  39. package/docs/v2-archive/CLI-COMMANDS-REFERENCE.md +0 -425
  40. package/docs/v2-archive/COMPRESSION-README.md +0 -390
  41. package/docs/v2-archive/FRAMEWORK-INTEGRATIONS.md +0 -300
  42. package/docs/v2-archive/MCP-MANUAL-SETUP.md +0 -775
  43. package/docs/v2-archive/MCP-TROUBLESHOOTING.md +0 -787
  44. package/docs/v2-archive/PATTERN-LEARNING.md +0 -228
  45. package/docs/v2-archive/PROFILES-GUIDE.md +0 -453
  46. package/docs/v2-archive/RESET-GUIDE.md +0 -353
  47. package/docs/v2-archive/SEARCH-ENGINE-V2.2.0.md +0 -749
  48. package/docs/v2-archive/SEARCH-INTEGRATION-GUIDE.md +0 -502
  49. package/docs/v2-archive/UI-SERVER.md +0 -262
  50. package/docs/v2-archive/UNIVERSAL-INTEGRATION.md +0 -488
  51. package/docs/v2-archive/V2.2.0-OPTIONAL-SEARCH.md +0 -666
  52. package/docs/v2-archive/WINDOWS-INSTALL-README.txt +0 -34
  53. package/docs/v2-archive/WINDOWS-POST-INSTALL.txt +0 -45
  54. package/docs/v2-archive/example_graph_usage.py +0 -146
  55. package/ui/index.html +0 -1879
  56. package/ui/js/agents.js +0 -192
  57. package/ui/js/auto-settings.js +0 -399
  58. package/ui/js/behavioral.js +0 -276
  59. package/ui/js/clusters.js +0 -206
  60. package/ui/js/compliance.js +0 -252
  61. package/ui/js/core.js +0 -246
  62. package/ui/js/dashboard.js +0 -110
  63. package/ui/js/events.js +0 -178
  64. package/ui/js/fact-detail.js +0 -92
  65. package/ui/js/feedback.js +0 -333
  66. package/ui/js/graph-core.js +0 -447
  67. package/ui/js/graph-filters.js +0 -220
  68. package/ui/js/graph-interactions.js +0 -351
  69. package/ui/js/graph-ui.js +0 -214
  70. package/ui/js/ide-status.js +0 -102
  71. package/ui/js/init.js +0 -45
  72. package/ui/js/learning.js +0 -435
  73. package/ui/js/lifecycle.js +0 -298
  74. package/ui/js/math-health.js +0 -98
  75. package/ui/js/memories.js +0 -264
  76. package/ui/js/modal.js +0 -357
  77. package/ui/js/patterns.js +0 -93
  78. package/ui/js/profiles.js +0 -236
  79. package/ui/js/recall-lab.js +0 -292
  80. package/ui/js/search.js +0 -59
  81. package/ui/js/settings.js +0 -224
  82. package/ui/js/timeline.js +0 -32
  83. 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)