superlocalmemory 2.3.0

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 (100) hide show
  1. package/ATTRIBUTION.md +140 -0
  2. package/CHANGELOG.md +1749 -0
  3. package/LICENSE +21 -0
  4. package/README.md +600 -0
  5. package/bin/aider-smart +72 -0
  6. package/bin/slm +202 -0
  7. package/bin/slm-npm +73 -0
  8. package/bin/slm.bat +195 -0
  9. package/bin/slm.cmd +10 -0
  10. package/bin/superlocalmemoryv2:list +3 -0
  11. package/bin/superlocalmemoryv2:profile +3 -0
  12. package/bin/superlocalmemoryv2:recall +3 -0
  13. package/bin/superlocalmemoryv2:remember +3 -0
  14. package/bin/superlocalmemoryv2:reset +3 -0
  15. package/bin/superlocalmemoryv2:status +3 -0
  16. package/completions/slm.bash +58 -0
  17. package/completions/slm.zsh +76 -0
  18. package/configs/antigravity-mcp.json +13 -0
  19. package/configs/chatgpt-desktop-mcp.json +7 -0
  20. package/configs/claude-desktop-mcp.json +15 -0
  21. package/configs/codex-mcp.toml +13 -0
  22. package/configs/cody-commands.json +29 -0
  23. package/configs/continue-mcp.yaml +14 -0
  24. package/configs/continue-skills.yaml +26 -0
  25. package/configs/cursor-mcp.json +15 -0
  26. package/configs/gemini-cli-mcp.json +11 -0
  27. package/configs/jetbrains-mcp.json +11 -0
  28. package/configs/opencode-mcp.json +12 -0
  29. package/configs/perplexity-mcp.json +9 -0
  30. package/configs/vscode-copilot-mcp.json +12 -0
  31. package/configs/windsurf-mcp.json +16 -0
  32. package/configs/zed-mcp.json +12 -0
  33. package/docs/ARCHITECTURE.md +877 -0
  34. package/docs/CLI-COMMANDS-REFERENCE.md +425 -0
  35. package/docs/COMPETITIVE-ANALYSIS.md +210 -0
  36. package/docs/COMPRESSION-README.md +390 -0
  37. package/docs/GRAPH-ENGINE.md +503 -0
  38. package/docs/MCP-MANUAL-SETUP.md +720 -0
  39. package/docs/MCP-TROUBLESHOOTING.md +787 -0
  40. package/docs/PATTERN-LEARNING.md +363 -0
  41. package/docs/PROFILES-GUIDE.md +453 -0
  42. package/docs/RESET-GUIDE.md +353 -0
  43. package/docs/SEARCH-ENGINE-V2.2.0.md +748 -0
  44. package/docs/SEARCH-INTEGRATION-GUIDE.md +502 -0
  45. package/docs/UI-SERVER.md +254 -0
  46. package/docs/UNIVERSAL-INTEGRATION.md +432 -0
  47. package/docs/V2.2.0-OPTIONAL-SEARCH.md +666 -0
  48. package/docs/WINDOWS-INSTALL-README.txt +34 -0
  49. package/docs/WINDOWS-POST-INSTALL.txt +45 -0
  50. package/docs/example_graph_usage.py +148 -0
  51. package/hooks/memory-list-skill.js +130 -0
  52. package/hooks/memory-profile-skill.js +284 -0
  53. package/hooks/memory-recall-skill.js +109 -0
  54. package/hooks/memory-remember-skill.js +127 -0
  55. package/hooks/memory-reset-skill.js +274 -0
  56. package/install-skills.sh +436 -0
  57. package/install.ps1 +417 -0
  58. package/install.sh +755 -0
  59. package/mcp_server.py +585 -0
  60. package/package.json +94 -0
  61. package/requirements-core.txt +24 -0
  62. package/requirements.txt +10 -0
  63. package/scripts/postinstall.js +126 -0
  64. package/scripts/preuninstall.js +57 -0
  65. package/skills/slm-build-graph/SKILL.md +423 -0
  66. package/skills/slm-list-recent/SKILL.md +348 -0
  67. package/skills/slm-recall/SKILL.md +325 -0
  68. package/skills/slm-remember/SKILL.md +194 -0
  69. package/skills/slm-status/SKILL.md +363 -0
  70. package/skills/slm-switch-profile/SKILL.md +442 -0
  71. package/src/__pycache__/cache_manager.cpython-312.pyc +0 -0
  72. package/src/__pycache__/embedding_engine.cpython-312.pyc +0 -0
  73. package/src/__pycache__/graph_engine.cpython-312.pyc +0 -0
  74. package/src/__pycache__/hnsw_index.cpython-312.pyc +0 -0
  75. package/src/__pycache__/hybrid_search.cpython-312.pyc +0 -0
  76. package/src/__pycache__/memory-profiles.cpython-312.pyc +0 -0
  77. package/src/__pycache__/memory-reset.cpython-312.pyc +0 -0
  78. package/src/__pycache__/memory_compression.cpython-312.pyc +0 -0
  79. package/src/__pycache__/memory_store_v2.cpython-312.pyc +0 -0
  80. package/src/__pycache__/migrate_v1_to_v2.cpython-312.pyc +0 -0
  81. package/src/__pycache__/pattern_learner.cpython-312.pyc +0 -0
  82. package/src/__pycache__/query_optimizer.cpython-312.pyc +0 -0
  83. package/src/__pycache__/search_engine_v2.cpython-312.pyc +0 -0
  84. package/src/__pycache__/setup_validator.cpython-312.pyc +0 -0
  85. package/src/__pycache__/tree_manager.cpython-312.pyc +0 -0
  86. package/src/cache_manager.py +520 -0
  87. package/src/embedding_engine.py +671 -0
  88. package/src/graph_engine.py +970 -0
  89. package/src/hnsw_index.py +626 -0
  90. package/src/hybrid_search.py +693 -0
  91. package/src/memory-profiles.py +518 -0
  92. package/src/memory-reset.py +485 -0
  93. package/src/memory_compression.py +999 -0
  94. package/src/memory_store_v2.py +1088 -0
  95. package/src/migrate_v1_to_v2.py +638 -0
  96. package/src/pattern_learner.py +898 -0
  97. package/src/query_optimizer.py +513 -0
  98. package/src/search_engine_v2.py +403 -0
  99. package/src/setup_validator.py +479 -0
  100. package/src/tree_manager.py +720 -0
@@ -0,0 +1,254 @@
1
+ # SuperLocalMemory V2 - UI Server
2
+
3
+ Web-based visualization interface for exploring the SuperLocalMemory knowledge graph.
4
+
5
+ ## Features
6
+
7
+ ### 8 REST API Endpoints
8
+
9
+ 1. **GET /api/memories** - List memories with filtering (category, project, cluster, importance)
10
+ 2. **GET /api/graph** - Graph data for D3.js force-directed visualization
11
+ 3. **GET /api/clusters** - Cluster information with themes and members
12
+ 4. **GET /api/patterns** - Learned user preferences and coding patterns
13
+ 5. **GET /api/stats** - System statistics overview
14
+ 6. **POST /api/search** - Semantic search using TF-IDF similarity
15
+ 7. **GET /api/timeline** - Temporal view of memory creation
16
+ 8. **GET /api/tree** - Hierarchical tree structure
17
+
18
+ ### UI Features
19
+
20
+ - **Knowledge Graph**: Interactive D3.js force-directed graph showing memory relationships
21
+ - **Memory Browser**: Searchable table with filtering by category/project
22
+ - **Cluster Analysis**: Visual breakdown of thematic clusters with top entities
23
+ - **Pattern Viewer**: Display learned preferences and coding styles
24
+ - **Timeline**: Chart showing memory creation over time
25
+ - **Statistics Dashboard**: Real-time system metrics
26
+
27
+ ## Quick Start
28
+
29
+ ### 1. Install Dependencies
30
+
31
+ ```bash
32
+ cd ~/Documents/AGENTIC_Official/SuperLocalMemoryV2-repo
33
+ pip install -r requirements-ui.txt
34
+ ```
35
+
36
+ ### 2. Ensure Memory Database Exists
37
+
38
+ The UI server requires an existing memory database. If you haven't created one yet:
39
+
40
+ ```bash
41
+ # Create demo database with sample data
42
+ python create_demo_db.py
43
+
44
+ # OR use your existing ~/.claude-memory/memory.db
45
+ ```
46
+
47
+ ### 3. Start the Server
48
+
49
+ ```bash
50
+ python ui_server.py
51
+ ```
52
+
53
+ The server will start on **http://localhost:8765**
54
+
55
+ ### 4. Open UI
56
+
57
+ Navigate to: **http://localhost:8765**
58
+
59
+ Interactive API documentation: **http://localhost:8765/docs**
60
+
61
+ ## Usage
62
+
63
+ ### Exploring the Knowledge Graph
64
+
65
+ 1. Click **Knowledge Graph** tab
66
+ 2. Hover over nodes to see memory details
67
+ 3. Drag nodes to rearrange the layout
68
+ 4. Change max nodes using the dropdown (50/100/200)
69
+
70
+ Node colors represent different clusters. Node size represents importance.
71
+
72
+ ### Searching Memories
73
+
74
+ 1. Click **Memories** tab
75
+ 2. Enter search query in the search box
76
+ 3. Or use filters: category, project
77
+ 4. View results in the table
78
+
79
+ ### Analyzing Clusters
80
+
81
+ 1. Click **Clusters** tab
82
+ 2. View thematic groupings of related memories
83
+ 3. Top entities show dominant concepts in each cluster
84
+
85
+ ### Viewing Learned Patterns
86
+
87
+ 1. Click **Patterns** tab
88
+ 2. See extracted preferences (tech stack, coding style, etc.)
89
+ 3. Confidence % shows pattern strength
90
+
91
+ ### Timeline Analysis
92
+
93
+ 1. Click **Timeline** tab
94
+ 2. View memory creation over last 30 days
95
+ 3. Identify activity patterns
96
+
97
+ ## API Examples
98
+
99
+ ### Get Memories (with filters)
100
+
101
+ ```bash
102
+ curl "http://localhost:8765/api/memories?category=Frontend&limit=10"
103
+ ```
104
+
105
+ ### Search Memories
106
+
107
+ ```bash
108
+ curl -X POST "http://localhost:8765/api/search" \
109
+ -H "Content-Type: application/json" \
110
+ -d '{"query": "react components", "limit": 10, "min_score": 0.3}'
111
+ ```
112
+
113
+ ### Get Graph Data
114
+
115
+ ```bash
116
+ curl "http://localhost:8765/api/graph?max_nodes=100"
117
+ ```
118
+
119
+ ### Get Statistics
120
+
121
+ ```bash
122
+ curl "http://localhost:8765/api/stats"
123
+ ```
124
+
125
+ ## Configuration
126
+
127
+ ### Database Path
128
+
129
+ By default, the server uses:
130
+ - Demo mode: `demo-memory.db` in the repo
131
+ - Production: `~/.claude-memory/memory.db`
132
+
133
+ To change the database path, modify `DB_PATH` in `ui_server.py`.
134
+
135
+ ### Server Port
136
+
137
+ To change the port from the default (8765):
138
+
139
+ ```python
140
+ # In ui_server.py, line ~650
141
+ uvicorn.run(app, host="0.0.0.0", port=8080) # Change 8765 to 8080
142
+ ```
143
+
144
+ Or use command line:
145
+
146
+ ```bash
147
+ uvicorn api_server:app --port 8080
148
+ ```
149
+
150
+ ### CORS (for external access)
151
+
152
+ If accessing from a different domain, add CORS middleware:
153
+
154
+ ```python
155
+ from fastapi.middleware.cors import CORSMiddleware
156
+
157
+ app.add_middleware(
158
+ CORSMiddleware,
159
+ allow_origins=["*"],
160
+ allow_methods=["*"],
161
+ allow_headers=["*"],
162
+ )
163
+ ```
164
+
165
+ ## Architecture
166
+
167
+ ```
168
+ ui_server.py # FastAPI backend (8 endpoints)
169
+ ui/
170
+ ├── index.html # Single-page UI
171
+ └── app.js # Frontend JavaScript (D3.js + Bootstrap)
172
+ ```
173
+
174
+ ### Tech Stack
175
+
176
+ **Backend:**
177
+ - FastAPI - Modern Python web framework
178
+ - Uvicorn - ASGI server
179
+ - SQLite - Database queries
180
+
181
+ **Frontend:**
182
+ - Bootstrap 5 - UI framework
183
+ - D3.js v7 - Force-directed graph visualization
184
+ - Vanilla JavaScript - No build step required
185
+
186
+ ## Troubleshooting
187
+
188
+ ### Server won't start
189
+
190
+ **Error: `Memory database not found`**
191
+
192
+ Solution: Create database first:
193
+ ```bash
194
+ python create_demo_db.py
195
+ ```
196
+
197
+ **Error: `ModuleNotFoundError: No module named 'fastapi'`**
198
+
199
+ Solution: Install requirements:
200
+ ```bash
201
+ pip install -r requirements-ui.txt
202
+ ```
203
+
204
+ ### Graph not displaying
205
+
206
+ Check browser console for errors. Common issues:
207
+ - Database has no graph data (run graph engine first)
208
+ - No memories with cluster_id set
209
+
210
+ To build graph:
211
+ ```bash
212
+ python -c "from src.graph_engine import GraphEngine; GraphEngine().build_graph()"
213
+ ```
214
+
215
+ ### Search returns no results
216
+
217
+ TF-IDF search requires:
218
+ 1. Multiple memories in database
219
+ 2. Diverse vocabulary
220
+ 3. Query matching content keywords
221
+
222
+ Try broader search terms or check if vectors are built.
223
+
224
+ ## Performance Notes
225
+
226
+ - **Graph rendering**: Limited to 200 nodes max to ensure smooth interaction
227
+ - **Memory list**: Paginated (50 per page default)
228
+ - **Search**: O(n) vector similarity, fast for <10k memories
229
+ - **Timeline**: Cached for 5 minutes
230
+
231
+ ## Security
232
+
233
+ This UI server is intended for **local development** only.
234
+
235
+ **Do NOT expose to public internet without:**
236
+ - Authentication (OAuth, API keys)
237
+ - Input validation and sanitization
238
+ - Rate limiting
239
+ - HTTPS/TLS
240
+
241
+ ## Next Steps
242
+
243
+ - Add authentication for multi-user access
244
+ - Implement real-time updates via WebSockets
245
+ - Add export functionality (JSON, CSV)
246
+ - Create memory editing interface
247
+ - Build cluster visualization with hierarchical layout
248
+
249
+ ## Support
250
+
251
+ For issues or questions:
252
+ 1. Check the main README: `README.md`
253
+ 2. Review architecture docs: `docs/architecture/`
254
+ 3. Examine demo: `README.md`
@@ -0,0 +1,432 @@
1
+ # Universal Integration Guide
2
+
3
+ **Version:** 2.3.0-universal
4
+ **Status:** Production Ready
5
+ **Updated:** February 7, 2026
6
+
7
+ ---
8
+
9
+ ## Overview
10
+
11
+ SuperLocalMemory V2 now works across **16+ IDEs and CLI tools** with automatic detection and configuration. This guide shows you how to use it in every supported environment.
12
+
13
+ ---
14
+
15
+ ## Quick Start
16
+
17
+ ### Step 1: Install
18
+ ```bash
19
+ git clone https://github.com/varun369/SuperLocalMemoryV2.git
20
+ cd SuperLocalMemoryV2
21
+ ./install.sh
22
+ ```
23
+
24
+ The installer automatically:
25
+ - ✅ Detects your installed IDEs (Cursor, Windsurf, Claude Desktop, VS Code)
26
+ - ✅ Configures MCP servers where supported
27
+ - ✅ Sets up CLI tools and completions
28
+ - ✅ Configures skills for Continue.dev and Cody
29
+ - ✅ No manual configuration needed!
30
+
31
+ ### Step 2: Restart Your Tools
32
+ After installation, restart any IDE you want to use SuperLocalMemory with.
33
+
34
+ ### Step 3: Start Using It
35
+ - **In Cursor/Windsurf:** Just talk naturally - "Remember that we use FastAPI for APIs"
36
+ - **In Claude Code:** Use `/superlocalmemoryv2:remember` or the new `slm` commands
37
+ - **In Terminal:** Use `slm remember "content"`
38
+
39
+ ---
40
+
41
+ ## Integration by Tool
42
+
43
+ ### Claude Code (Skills) ✅
44
+
45
+ **How It Works:** Native skills via `/` commands
46
+
47
+ **Setup:** Automatic during installation
48
+
49
+ **Usage:**
50
+ ```
51
+ /superlocalmemoryv2:remember "Use FastAPI for REST APIs"
52
+ /superlocalmemoryv2:recall "FastAPI"
53
+ /superlocalmemoryv2:list
54
+ /superlocalmemoryv2:status
55
+ /superlocalmemoryv2:profile list
56
+ ```
57
+
58
+ **OR use the simpler CLI:**
59
+ ```bash
60
+ slm remember "Use FastAPI for REST APIs"
61
+ slm recall "FastAPI"
62
+ slm list
63
+ slm status
64
+ ```
65
+
66
+ ### Cursor IDE (MCP) ✅
67
+
68
+ **How It Works:** Native MCP integration - AI has direct tool access
69
+
70
+ **Setup:** Automatic detection and configuration
71
+
72
+ **Configuration File:** `~/.cursor/mcp_settings.json` (auto-created)
73
+
74
+ **Usage:**
75
+ ```
76
+ User: "Remember that we prefer React hooks over class components"
77
+ AI: [calls remember() tool automatically]
78
+ ✓ Memory saved
79
+
80
+ User: "What did we decide about React?"
81
+ AI: [calls recall() tool automatically]
82
+ ✓ Returns: "We prefer React hooks over class components"
83
+ ```
84
+
85
+ **Manual Configuration (if needed):**
86
+ ```json
87
+ {
88
+ "mcpServers": {
89
+ "superlocalmemory-v2": {
90
+ "command": "python3",
91
+ "args": [
92
+ "/Users/yourname/.claude-memory/mcp_server.py"
93
+ ]
94
+ }
95
+ }
96
+ }
97
+ ```
98
+
99
+ ### Windsurf IDE (MCP) ✅
100
+
101
+ **How It Works:** Native MCP integration with stdio transport
102
+
103
+ **Setup:** Automatic detection and configuration
104
+
105
+ **Configuration File:** `~/.windsurf/mcp_settings.json` (auto-created)
106
+
107
+ **Usage:** Same as Cursor - AI automatically uses memory tools
108
+
109
+ **Manual Configuration (if needed):**
110
+ ```json
111
+ {
112
+ "mcpServers": {
113
+ "superlocalmemory-v2": {
114
+ "command": "python3",
115
+ "args": ["/Users/yourname/.claude-memory/mcp_server.py"],
116
+ "transport": "stdio"
117
+ }
118
+ }
119
+ }
120
+ ```
121
+
122
+ ### Claude Desktop (MCP) ✅
123
+
124
+ **How It Works:** Native MCP server support
125
+
126
+ **Setup:** Automatic configuration
127
+
128
+ **Configuration File:** `~/Library/Application Support/Claude/claude_desktop_config.json` (auto-created)
129
+
130
+ **Usage:** Natural conversation with AI having memory access
131
+
132
+ **Manual Configuration (if needed):**
133
+ ```json
134
+ {
135
+ "mcpServers": {
136
+ "superlocalmemory-v2": {
137
+ "command": "python3",
138
+ "args": ["/Users/yourname/.claude-memory/mcp_server.py"],
139
+ "env": {
140
+ "PYTHONPATH": "/Users/yourname/.claude-memory"
141
+ }
142
+ }
143
+ }
144
+ }
145
+ ```
146
+
147
+ ### VS Code + Continue.dev ✅
148
+
149
+ **How It Works:** Both MCP tools AND slash commands
150
+
151
+ **Setup:** Automatic configuration if Continue detected
152
+
153
+ **Configuration File:** `~/.continue/config.yaml`
154
+
155
+ **Usage (Slash Commands):**
156
+ ```
157
+ /slm-remember Use pytest for all tests
158
+ /slm-recall pytest patterns
159
+ /slm-list
160
+ /slm-status
161
+ ```
162
+
163
+ **Usage (MCP):**
164
+ Continue's AI can also call memory tools directly.
165
+
166
+ **Manual Configuration (if needed):**
167
+ ```yaml
168
+ # For slash commands
169
+ slashCommands:
170
+ - name: "slm-remember"
171
+ description: "Save to SuperLocalMemory"
172
+ run: "~/.claude-memory/bin/superlocalmemoryv2:remember \"{{input}}\""
173
+
174
+ # For MCP tools
175
+ contextProviders:
176
+ - name: mcp
177
+ params:
178
+ serverName: "superlocalmemory-v2"
179
+ command: "python3"
180
+ args:
181
+ - "/Users/yourname/.claude-memory/mcp_server.py"
182
+ ```
183
+
184
+ ### VS Code + Cody ✅
185
+
186
+ **How It Works:** Custom commands
187
+
188
+ **Setup:** Automatic configuration if Cody detected
189
+
190
+ **Configuration File:** `~/.vscode/settings.json`
191
+
192
+ **Usage:**
193
+ ```
194
+ /slm-remember (with text selected)
195
+ /slm-recall search query
196
+ /slm-context (get project context)
197
+ ```
198
+
199
+ **Manual Configuration (if needed):**
200
+ ```json
201
+ {
202
+ "cody.customCommands": {
203
+ "slm-remember": {
204
+ "description": "Save to SuperLocalMemory",
205
+ "prompt": "Save this to SuperLocalMemory",
206
+ "context": {
207
+ "selection": true
208
+ }
209
+ }
210
+ }
211
+ }
212
+ ```
213
+
214
+ ### Aider CLI ✅
215
+
216
+ **How It Works:** Smart wrapper with auto-context injection
217
+
218
+ **Setup:** `aider-smart` command installed automatically
219
+
220
+ **Usage:**
221
+ ```bash
222
+ # Instead of: aider
223
+ # Use: aider-smart
224
+
225
+ aider-smart "Add authentication to the API"
226
+ ```
227
+
228
+ **What It Does:**
229
+ 1. Automatically gathers project context from SuperLocalMemory
230
+ 2. Includes your coding patterns
231
+ 3. Passes context to Aider
232
+ 4. Aider gets relevant memories without you asking
233
+
234
+ ### Any Terminal / Script ✅
235
+
236
+ **How It Works:** Universal CLI wrapper
237
+
238
+ **Commands Installed:**
239
+ - `slm` - Main command
240
+ - All original `superlocalmemoryv2:*` commands still work
241
+
242
+ **Usage:**
243
+ ```bash
244
+ # Simple syntax
245
+ slm remember "Use PostgreSQL for this project"
246
+ slm recall "database decisions"
247
+ slm list
248
+ slm status
249
+ slm context # Get context for current directory
250
+
251
+ # Profile management
252
+ slm profile list
253
+ slm profile create work
254
+ slm profile switch work
255
+
256
+ # Knowledge graph
257
+ slm graph build
258
+ slm graph stats
259
+
260
+ # Pattern learning
261
+ slm patterns update
262
+ slm patterns list 0.6
263
+ ```
264
+
265
+ **Bash Completion:**
266
+ ```bash
267
+ slm [TAB] # Shows: remember, recall, list, status, context, profile, graph, patterns
268
+ slm profile [TAB] # Shows: list, create, switch, delete, current
269
+ ```
270
+
271
+ ---
272
+
273
+ ## Three-Tier Architecture
274
+
275
+ All access methods use the **SAME local SQLite database**:
276
+
277
+ ```
278
+ ┌─────────────────────────────────────────────┐
279
+ │ ACCESS METHODS │
280
+ ├─────────────────────────────────────────────┤
281
+ │ TIER 1: Skills │
282
+ │ • Claude Code: /superlocalmemoryv2:* │
283
+ │ • Continue: /slm-* │
284
+ │ • Cody: /slm-* │
285
+ ├─────────────────────────────────────────────┤
286
+ │ TIER 2: MCP │
287
+ │ • Cursor: AI tools │
288
+ │ • Windsurf: AI tools │
289
+ │ • Claude Desktop: AI tools │
290
+ │ • Continue: MCP providers │
291
+ ├─────────────────────────────────────────────┤
292
+ │ TIER 3: CLI │
293
+ │ • slm commands │
294
+ │ • aider-smart wrapper │
295
+ │ • Any script │
296
+ └────────────────┬────────────────────────────┘
297
+
298
+
299
+ ┌───────────────────┐
300
+ │ SuperLocalMemory │
301
+ │ Core (Unchanged) │
302
+ │ memory.db (SQLite) │
303
+ └───────────────────┘
304
+ ```
305
+
306
+ **Key Point:** No matter which method you use, all data goes to the same place. You can use `/superlocalmemoryv2:remember` in Claude Code, then `slm recall` in terminal, and see the same memories.
307
+
308
+ ---
309
+
310
+ ## Troubleshooting
311
+
312
+ ### "MCP server won't start"
313
+
314
+ **Check MCP SDK:**
315
+ ```bash
316
+ python3 -c "import mcp" && echo "OK" || echo "Not installed"
317
+ ```
318
+
319
+ **Install if needed:**
320
+ ```bash
321
+ pip3 install mcp
322
+ ```
323
+
324
+ ### "Skills not working in Claude Code"
325
+
326
+ **Run skills installer:**
327
+ ```bash
328
+ ./install-skills.sh
329
+ ```
330
+
331
+ **Restart Claude Code after installation.**
332
+
333
+ ### "Continue.dev doesn't have slash commands"
334
+
335
+ **Check config:**
336
+ ```bash
337
+ cat ~/.continue/config.yaml
338
+ ```
339
+
340
+ **Should contain `slm-remember`, `slm-recall`, etc.**
341
+
342
+ **Re-run installer if missing:**
343
+ ```bash
344
+ ./install-skills.sh
345
+ ```
346
+
347
+ ### "slm command not found"
348
+
349
+ **Check PATH:**
350
+ ```bash
351
+ echo $PATH | grep claude-memory
352
+ ```
353
+
354
+ **Add to PATH if missing:**
355
+ ```bash
356
+ # Add to ~/.zshrc or ~/.bashrc
357
+ export PATH="${HOME}/.claude-memory/bin:${PATH}"
358
+
359
+ # Then reload
360
+ source ~/.zshrc # or ~/.bashrc
361
+ ```
362
+
363
+ ### "Existing tools not detected during install"
364
+
365
+ **Install detects tools at installation time only.**
366
+
367
+ **If you install a new IDE after running install.sh:**
368
+ 1. Run the installer again: `./install.sh`
369
+ 2. It will detect and configure the new tool
370
+ 3. Won't affect existing configurations
371
+
372
+ ---
373
+
374
+ ## Advanced: Manual MCP Server Testing
375
+
376
+ **Start MCP server manually:**
377
+ ```bash
378
+ python3 ~/.claude-memory/mcp_server.py
379
+ ```
380
+
381
+ **Start with HTTP transport:**
382
+ ```bash
383
+ python3 ~/.claude-memory/mcp_server.py --transport http --port 8001
384
+ ```
385
+
386
+ **Check MCP server tools:**
387
+ ```bash
388
+ # Server outputs available tools on startup
389
+ # Look for: remember, recall, list_recent, get_status, build_graph, switch_profile
390
+ ```
391
+
392
+ ---
393
+
394
+ ## Backward Compatibility
395
+
396
+ **100% backward compatible with v2.0.0:**
397
+
398
+ | Old Command | Still Works? | New Alternative |
399
+ |-------------|--------------|-----------------|
400
+ | `superlocalmemoryv2:remember` | ✅ Yes | `slm remember` |
401
+ | `superlocalmemoryv2:recall` | ✅ Yes | `slm recall` |
402
+ | `superlocalmemoryv2:list` | ✅ Yes | `slm list` |
403
+ | `superlocalmemoryv2:status` | ✅ Yes | `slm status` |
404
+ | `superlocalmemoryv2:profile` | ✅ Yes | `slm profile` |
405
+
406
+ **Nothing breaks. Everything gains new capabilities.**
407
+
408
+ ---
409
+
410
+ ## Supported Platforms
411
+
412
+ - ✅ macOS (tested on macOS 14+)
413
+ - ✅ Linux (tested on Ubuntu 22.04+)
414
+ - ✅ Windows via WSL2
415
+ - ✅ Windows PowerShell (use `install.ps1`)
416
+
417
+ ---
418
+
419
+ ## What's Next?
420
+
421
+ - **For most users:** Just use it! Works automatically after installation.
422
+ - **For advanced users:** See [MCP-INTEGRATION.md](./MCP-INTEGRATION.md) for deep dive
423
+ - **For CLI users:** See [CLI-UNIVERSAL.md](./CLI-UNIVERSAL.md) for all slm commands
424
+ - **For skill users:** See [SKILLS-EVERYWHERE.md](./SKILLS-EVERYWHERE.md) for multi-tool skills
425
+
426
+ ---
427
+
428
+ **Questions?** Open an issue: https://github.com/varun369/SuperLocalMemoryV2/issues
429
+
430
+ **Version:** 2.3.0-universal
431
+ **Author:** Varun Pratap Bhardwaj
432
+ **License:** MIT