superlocalmemory 3.4.17 → 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 (78) hide show
  1. package/CHANGELOG.md +8 -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.egg-info/PKG-INFO +4 -1
  6. package/src/superlocalmemory.egg-info/requires.txt +3 -0
  7. package/docs/ARCHITECTURE.md +0 -149
  8. package/docs/api-reference.md +0 -284
  9. package/docs/auto-memory.md +0 -150
  10. package/docs/cli-reference.md +0 -327
  11. package/docs/cloud-backup.md +0 -174
  12. package/docs/compliance.md +0 -191
  13. package/docs/configuration.md +0 -182
  14. package/docs/getting-started.md +0 -102
  15. package/docs/ide-setup.md +0 -261
  16. package/docs/mcp-tools.md +0 -220
  17. package/docs/migration-from-v2.md +0 -170
  18. package/docs/profiles.md +0 -173
  19. package/docs/screenshots/01-dashboard-main.png +0 -0
  20. package/docs/screenshots/02-knowledge-graph.png +0 -0
  21. package/docs/screenshots/03-math-health.png +0 -0
  22. package/docs/screenshots/03-patterns-learning.png +0 -0
  23. package/docs/screenshots/04-learning-dashboard.png +0 -0
  24. package/docs/screenshots/04-recall-lab.png +0 -0
  25. package/docs/screenshots/05-behavioral-analysis.png +0 -0
  26. package/docs/screenshots/05-trust-dashboard.png +0 -0
  27. package/docs/screenshots/06-graph-communities.png +0 -0
  28. package/docs/screenshots/06-settings.png +0 -0
  29. package/docs/screenshots/07-memories-blurred.png +0 -0
  30. package/docs/skill-evolution.md +0 -256
  31. package/docs/troubleshooting.md +0 -310
  32. package/docs/v2-archive/ACCESSIBILITY.md +0 -291
  33. package/docs/v2-archive/ARCHITECTURE.md +0 -886
  34. package/docs/v2-archive/CLI-COMMANDS-REFERENCE.md +0 -425
  35. package/docs/v2-archive/COMPRESSION-README.md +0 -390
  36. package/docs/v2-archive/FRAMEWORK-INTEGRATIONS.md +0 -300
  37. package/docs/v2-archive/MCP-MANUAL-SETUP.md +0 -775
  38. package/docs/v2-archive/MCP-TROUBLESHOOTING.md +0 -787
  39. package/docs/v2-archive/PATTERN-LEARNING.md +0 -228
  40. package/docs/v2-archive/PROFILES-GUIDE.md +0 -453
  41. package/docs/v2-archive/RESET-GUIDE.md +0 -353
  42. package/docs/v2-archive/SEARCH-ENGINE-V2.2.0.md +0 -749
  43. package/docs/v2-archive/SEARCH-INTEGRATION-GUIDE.md +0 -502
  44. package/docs/v2-archive/UI-SERVER.md +0 -262
  45. package/docs/v2-archive/UNIVERSAL-INTEGRATION.md +0 -488
  46. package/docs/v2-archive/V2.2.0-OPTIONAL-SEARCH.md +0 -666
  47. package/docs/v2-archive/WINDOWS-INSTALL-README.txt +0 -34
  48. package/docs/v2-archive/WINDOWS-POST-INSTALL.txt +0 -45
  49. package/docs/v2-archive/example_graph_usage.py +0 -146
  50. package/ui/index.html +0 -1879
  51. package/ui/js/agents.js +0 -192
  52. package/ui/js/auto-settings.js +0 -399
  53. package/ui/js/behavioral.js +0 -276
  54. package/ui/js/clusters.js +0 -206
  55. package/ui/js/compliance.js +0 -252
  56. package/ui/js/core.js +0 -246
  57. package/ui/js/dashboard.js +0 -110
  58. package/ui/js/events.js +0 -178
  59. package/ui/js/fact-detail.js +0 -92
  60. package/ui/js/feedback.js +0 -333
  61. package/ui/js/graph-core.js +0 -447
  62. package/ui/js/graph-filters.js +0 -220
  63. package/ui/js/graph-interactions.js +0 -351
  64. package/ui/js/graph-ui.js +0 -214
  65. package/ui/js/ide-status.js +0 -102
  66. package/ui/js/init.js +0 -45
  67. package/ui/js/learning.js +0 -435
  68. package/ui/js/lifecycle.js +0 -298
  69. package/ui/js/math-health.js +0 -98
  70. package/ui/js/memories.js +0 -264
  71. package/ui/js/modal.js +0 -357
  72. package/ui/js/patterns.js +0 -93
  73. package/ui/js/profiles.js +0 -236
  74. package/ui/js/recall-lab.js +0 -292
  75. package/ui/js/search.js +0 -59
  76. package/ui/js/settings.js +0 -224
  77. package/ui/js/timeline.js +0 -32
  78. package/ui/js/trust-dashboard.js +0 -73
@@ -1,488 +0,0 @@
1
- # Universal Integration Guide
2
-
3
- **Version:** 2.4.1
4
- **Status:** Production Ready
5
- **Updated:** February 11, 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/qualixar/superlocalmemory.git
20
- cd superlocalmemory
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: "~/.superlocalmemory/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
- ### ChatGPT (Connectors / Deep Research) ✅
235
-
236
- **How It Works:** HTTP transport with `search()` and `fetch()` MCP tools per OpenAI spec. Requires a tunnel to expose local server to ChatGPT.
237
-
238
- **Requirements:**
239
- - ChatGPT Plus, Team, or Enterprise plan
240
- - Developer Mode enabled in ChatGPT settings
241
- - `cloudflared` (recommended) or `ngrok` for tunneling
242
- - Reference: https://platform.openai.com/docs/mcp
243
-
244
- **Setup:**
245
-
246
- ```bash
247
- # Terminal 1: Start MCP server
248
- slm serve --port 8417
249
-
250
- # Terminal 2: Start tunnel
251
- cloudflared tunnel --url http://localhost:8417
252
- ```
253
-
254
- Then in ChatGPT:
255
- 1. Go to **Settings → Connectors**
256
- 2. Click **"Add Connector"**
257
- 3. Paste the HTTPS URL from cloudflared with `/sse/` suffix:
258
- ```
259
- https://random-name.trycloudflare.com/sse/
260
- ```
261
- 4. Name it `SuperLocalMemory` and save
262
-
263
- **Available Tools in ChatGPT:**
264
-
265
- | Tool | Purpose |
266
- |------|---------|
267
- | `search(query)` | Search memories (required by OpenAI MCP spec) |
268
- | `fetch(id)` | Fetch a specific memory by ID (required by OpenAI MCP spec) |
269
- | `remember(content, tags, project)` | Save a new memory |
270
- | `recall(query, limit)` | Search memories with full options |
271
-
272
- **Usage Examples:**
273
- ```
274
- User: "Search my memories for database decisions"
275
- ChatGPT: [calls search("database decisions")]
276
- → Returns matching memories from your local database
277
-
278
- User: "What's memory #42 about?"
279
- ChatGPT: [calls fetch(42)]
280
- → Returns full content, tags, and metadata for memory 42
281
- ```
282
-
283
- **Notes:**
284
- - 100% local — your data is served on demand and never stored beyond the conversation
285
- - The tunnel URL changes on restart unless you configure a named cloudflared tunnel
286
- - For streamable-http transport (ChatGPT 2026+): `slm serve --port 8417 --transport streamable-http`
287
-
288
- ---
289
-
290
- ### Any Terminal / Script ✅
291
-
292
- **How It Works:** Universal CLI wrapper
293
-
294
- **Commands Installed:**
295
- - `slm` - Main command
296
- - All original `superlocalmemoryv2-*` commands still work
297
-
298
- **Usage:**
299
- ```bash
300
- # Simple syntax
301
- slm remember "Use PostgreSQL for this project"
302
- slm recall "database decisions"
303
- slm list
304
- slm status
305
- slm context # Get context for current directory
306
-
307
- # Profile management
308
- slm profile list
309
- slm profile create work
310
- slm profile switch work
311
-
312
- # Knowledge graph
313
- slm graph build
314
- slm graph stats
315
-
316
- # Pattern learning
317
- slm patterns update
318
- slm patterns list 0.6
319
- ```
320
-
321
- **Bash Completion:**
322
- ```bash
323
- slm [TAB] # Shows: remember, recall, list, status, context, profile, graph, patterns
324
- slm profile [TAB] # Shows: list, create, switch, delete, current
325
- ```
326
-
327
- ---
328
-
329
- ## Three-Tier Architecture
330
-
331
- All access methods use the **SAME local SQLite database**:
332
-
333
- ```
334
- ┌─────────────────────────────────────────────┐
335
- │ ACCESS METHODS │
336
- ├─────────────────────────────────────────────┤
337
- │ TIER 1: Skills │
338
- │ • Claude Code: /superlocalmemoryv2-* │
339
- │ • Continue: /slm-* │
340
- │ • Cody: /slm-* │
341
- ├─────────────────────────────────────────────┤
342
- │ TIER 2: MCP │
343
- │ • Cursor: AI tools │
344
- │ • Windsurf: AI tools │
345
- │ • Claude Desktop: AI tools │
346
- │ • Continue: MCP providers │
347
- ├─────────────────────────────────────────────┤
348
- │ TIER 3: CLI │
349
- │ • slm commands │
350
- │ • aider-smart wrapper │
351
- │ • Any script │
352
- └────────────────┬────────────────────────────┘
353
-
354
-
355
- ┌───────────────────┐
356
- │ SuperLocalMemory │
357
- │ Core (Unchanged) │
358
- │ memory.db (SQLite) │
359
- └───────────────────┘
360
- ```
361
-
362
- **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.
363
-
364
- ---
365
-
366
- ## Troubleshooting
367
-
368
- ### "MCP server won't start"
369
-
370
- **Check MCP SDK:**
371
- ```bash
372
- python3 -c "import mcp" && echo "OK" || echo "Not installed"
373
- ```
374
-
375
- **Install if needed:**
376
- ```bash
377
- pip3 install mcp
378
- ```
379
-
380
- ### "Skills not working in Claude Code"
381
-
382
- **Run skills installer:**
383
- ```bash
384
- ./install-skills.sh
385
- ```
386
-
387
- **Restart Claude Code after installation.**
388
-
389
- ### "Continue.dev doesn't have slash commands"
390
-
391
- **Check config:**
392
- ```bash
393
- cat ~/.continue/config.yaml
394
- ```
395
-
396
- **Should contain `slm-remember`, `slm-recall`, etc.**
397
-
398
- **Re-run installer if missing:**
399
- ```bash
400
- ./install-skills.sh
401
- ```
402
-
403
- ### "slm command not found"
404
-
405
- **Check PATH:**
406
- ```bash
407
- echo $PATH | grep claude-memory
408
- ```
409
-
410
- **Add to PATH if missing:**
411
- ```bash
412
- # Add to ~/.zshrc or ~/.bashrc
413
- export PATH="${HOME}/.claude-memory/bin:${PATH}"
414
-
415
- # Then reload
416
- source ~/.zshrc # or ~/.bashrc
417
- ```
418
-
419
- ### "Existing tools not detected during install"
420
-
421
- **Install detects tools at installation time only.**
422
-
423
- **If you install a new IDE after running install.sh:**
424
- 1. Run the installer again: `./install.sh`
425
- 2. It will detect and configure the new tool
426
- 3. Won't affect existing configurations
427
-
428
- ---
429
-
430
- ## Advanced: Manual MCP Server Testing
431
-
432
- **Start MCP server manually:**
433
- ```bash
434
- python3 ~/.superlocalmemory/mcp_server.py
435
- ```
436
-
437
- **Start with HTTP transport:**
438
- ```bash
439
- python3 ~/.superlocalmemory/mcp_server.py --transport http --port 8001
440
- ```
441
-
442
- **Check MCP server tools:**
443
- ```bash
444
- # Server outputs available tools on startup
445
- # Look for: remember, recall, list_recent, get_status, build_graph, switch_profile
446
- ```
447
-
448
- ---
449
-
450
- ## Backward Compatibility
451
-
452
- **100% backward compatible with v2.0.0:**
453
-
454
- | Old Command | Still Works? | New Alternative |
455
- |-------------|--------------|-----------------|
456
- | `superlocalmemoryv2-remember` | ✅ Yes | `slm remember` |
457
- | `superlocalmemoryv2-recall` | ✅ Yes | `slm recall` |
458
- | `superlocalmemoryv2-list` | ✅ Yes | `slm list` |
459
- | `superlocalmemoryv2-status` | ✅ Yes | `slm status` |
460
- | `superlocalmemoryv2-profile` | ✅ Yes | `slm profile` |
461
-
462
- **Nothing breaks. Everything gains new capabilities.**
463
-
464
- ---
465
-
466
- ## Supported Platforms
467
-
468
- - ✅ macOS (tested on macOS 14+)
469
- - ✅ Linux (tested on Ubuntu 22.04+)
470
- - ✅ Windows via WSL2
471
- - ✅ Windows PowerShell (use `install.ps1`)
472
-
473
- ---
474
-
475
- ## What's Next?
476
-
477
- - **For most users:** Just use it! Works automatically after installation.
478
- - **For advanced users:** See [MCP-INTEGRATION.md](./MCP-INTEGRATION.md) for deep dive
479
- - **For CLI users:** See [CLI-UNIVERSAL.md](./CLI-UNIVERSAL.md) for all slm commands
480
- - **For skill users:** See [SKILLS-EVERYWHERE.md](./SKILLS-EVERYWHERE.md) for multi-tool skills
481
-
482
- ---
483
-
484
- **Questions?** Open an issue: https://github.com/qualixar/superlocalmemory/issues
485
-
486
- **Version:** 2.4.1
487
- **Author:** Varun Pratap Bhardwaj
488
- **License:** AGPL-3.0