superlocalmemory 2.6.0 → 2.7.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.
- package/CHANGELOG.md +167 -1803
- package/README.md +212 -397
- package/bin/slm +179 -3
- package/bin/superlocalmemoryv2:learning +4 -0
- package/bin/superlocalmemoryv2:patterns +4 -0
- package/docs/ACCESSIBILITY.md +291 -0
- package/docs/ARCHITECTURE.md +12 -6
- package/docs/FRAMEWORK-INTEGRATIONS.md +300 -0
- package/docs/MCP-MANUAL-SETUP.md +14 -4
- package/install.sh +99 -3
- package/mcp_server.py +291 -1
- package/package.json +2 -1
- package/requirements-learning.txt +12 -0
- package/scripts/verify-v27.sh +233 -0
- package/skills/slm-show-patterns/SKILL.md +224 -0
- package/src/learning/__init__.py +201 -0
- package/src/learning/adaptive_ranker.py +826 -0
- package/src/learning/cross_project_aggregator.py +866 -0
- package/src/learning/engagement_tracker.py +638 -0
- package/src/learning/feature_extractor.py +461 -0
- package/src/learning/feedback_collector.py +690 -0
- package/src/learning/learning_db.py +842 -0
- package/src/learning/project_context_manager.py +582 -0
- package/src/learning/source_quality_scorer.py +685 -0
- package/src/learning/synthetic_bootstrap.py +1047 -0
- package/src/learning/tests/__init__.py +0 -0
- package/src/learning/tests/test_adaptive_ranker.py +328 -0
- package/src/learning/tests/test_aggregator.py +309 -0
- package/src/learning/tests/test_feedback_collector.py +295 -0
- package/src/learning/tests/test_learning_db.py +606 -0
- package/src/learning/tests/test_project_context.py +296 -0
- package/src/learning/tests/test_source_quality.py +355 -0
- package/src/learning/tests/test_synthetic_bootstrap.py +433 -0
- package/src/learning/tests/test_workflow_miner.py +322 -0
- package/src/learning/workflow_pattern_miner.py +665 -0
- package/ui/index.html +346 -13
- package/ui/js/clusters.js +90 -1
- package/ui/js/graph-core.js +445 -0
- package/ui/js/graph-cytoscape-monolithic-backup.js +1168 -0
- package/ui/js/graph-cytoscape.js +1168 -0
- package/ui/js/graph-d3-backup.js +32 -0
- package/ui/js/graph-filters.js +220 -0
- package/ui/js/graph-interactions.js +354 -0
- package/ui/js/graph-ui.js +214 -0
- package/ui/js/memories.js +52 -0
- package/ui/js/modal.js +104 -1
package/CHANGELOG.md
CHANGED
|
@@ -16,1884 +16,262 @@ SuperLocalMemory V2 - Intelligent local memory system for AI coding assistants.
|
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
|
-
## [2.
|
|
19
|
+
## [2.7.0] - 2026-02-16
|
|
20
20
|
|
|
21
|
-
**Release Type:**
|
|
22
|
-
**Backward Compatible:** Yes (additive packages only, no core changes)
|
|
21
|
+
**Release Type:** Major Feature Release — "Your AI Learns You"
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
SuperLocalMemory is now a first-class memory backend for LangChain and LlamaIndex — the two largest AI/LLM frameworks. Two pip-installable packages, zero cloud dependencies.
|
|
23
|
+
SuperLocalMemory now learns your patterns, adapts to your workflow, and personalizes recall. All processing happens 100% locally — your behavioral data never leaves your machine. GDPR Article 17 compliant by design.
|
|
26
24
|
|
|
27
25
|
### Added
|
|
28
|
-
- **
|
|
29
|
-
- **
|
|
30
|
-
- **
|
|
31
|
-
- **
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
**
|
|
38
|
-
**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
###
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
- **Trust Scorer** (`src/trust_scorer.py`): Bayesian trust signal collection — positive (cross-agent recall, high importance), negative (quick delete, burst write). Silent collection in v2.5, enforcement in v2.6
|
|
51
|
-
- **SSE endpoint** (`/events/stream`): Real-time Server-Sent Events with cross-process DB polling, Last-Event-ID replay, event type filtering
|
|
52
|
-
- **Dashboard: Live Events tab**: Real-time event stream with color-coded types, filter dropdown, stats counters
|
|
53
|
-
- **Dashboard: Agents tab**: Connected agents table with protocol badges, trust scores, write/recall counters, trust overview
|
|
54
|
-
- **4 new database tables**: `memory_events`, `subscriptions`, `agent_registry`, `trust_signals`
|
|
55
|
-
- **4 new columns on `memories`**: `created_by`, `source_protocol`, `trust_score`, `provenance_chain`
|
|
56
|
-
- **28 API endpoints** across 8 modular route files
|
|
57
|
-
- **Architecture document**: `docs/ARCHITECTURE-V2.5.md`
|
|
26
|
+
- **Adaptive Learning System** — Three-layer learning architecture that detects tech preferences, project context, and workflow patterns across all your projects
|
|
27
|
+
- **Personalized Recall Ranking** — Search results re-ranked using learned patterns. Three-phase adaptive system: baseline → rule-based → ML (LightGBM LambdaRank)
|
|
28
|
+
- **Synthetic Bootstrap** — ML model works from day 1 by bootstrapping from existing memory patterns. No cold-start degradation.
|
|
29
|
+
- **Multi-Channel Feedback** — Tell the system which memories were useful via MCP (`memory_used`), CLI (`slm useful`), or dashboard clicks
|
|
30
|
+
- **Source Quality Scoring** — Learns which tools produce the most useful memories using Beta-Binomial Bayesian scoring
|
|
31
|
+
- **Workflow Pattern Detection** — Detects your coding workflow sequences (e.g., docs → architecture → code → test) using time-weighted sliding-window mining
|
|
32
|
+
- **Local Engagement Metrics** — Track memory system health locally with zero telemetry (`slm engagement`)
|
|
33
|
+
- **Separate Learning Database** — Behavioral data in `learning.db`, isolated from `memory.db`. One-command erasure: `slm learning reset`
|
|
34
|
+
- **3 New MCP Tools** — `memory_used` (feedback signal), `get_learned_patterns` (transparency), `correct_pattern` (user control)
|
|
35
|
+
- **2 New MCP Resources** — `memory://learning/status`, `memory://engagement`
|
|
36
|
+
- **New CLI Commands** — `slm useful`, `slm learning status/retrain/reset`, `slm engagement`, `slm patterns correct`
|
|
37
|
+
- **New Skill** — `slm-show-patterns` for viewing learned preferences in Claude Code and compatible tools
|
|
38
|
+
- **Auto Python Installation** — `install.sh` now auto-installs Python 3 on macOS (Homebrew/Xcode) and Linux (apt/dnf) for new users
|
|
39
|
+
- **319 Tests** — 229 unit tests + 13 E2E + 14 regression + 19 fresh-install + 42 edge-case tests
|
|
40
|
+
|
|
41
|
+
### Research Foundations
|
|
42
|
+
- Two-stage BM25 → re-ranker pipeline (eKNOW 2025)
|
|
43
|
+
- LightGBM LambdaRank pairwise ranking (Burges 2010, MO-LightGBM SIGIR 2025)
|
|
44
|
+
- Three-phase cold-start mitigation (LREC 2024)
|
|
45
|
+
- Time-weighted sequence mining (TSW-PrefixSpan, IEEE 2020)
|
|
46
|
+
- Bayesian temporal confidence (MACLA, arXiv:2512.18950)
|
|
47
|
+
- Privacy-preserving zero-communication feedback design
|
|
58
48
|
|
|
59
49
|
### Changed
|
|
60
|
-
-
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
-
|
|
50
|
+
- **MCP Tools** — Now 12 tools (was 9), 6 resources (was 4), 2 prompts
|
|
51
|
+
- **Skills** — Now 7 universal skills (was 6)
|
|
52
|
+
- **install.sh** — Auto-installs Python if missing, installs learning deps automatically
|
|
53
|
+
- **DMG Installer** — Updated to v2.7.0 with learning modules
|
|
64
54
|
|
|
65
|
-
###
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
- **Per-call overhead**: MCP tool handlers no longer rebuild TF-IDF vectorizer on every call
|
|
55
|
+
### Dependencies (Optional)
|
|
56
|
+
- `lightgbm>=4.0.0` — ML ranking (auto-installed, graceful fallback if unavailable)
|
|
57
|
+
- `scipy>=1.9.0` — Statistical functions (auto-installed, graceful fallback if unavailable)
|
|
69
58
|
|
|
70
|
-
###
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
-
|
|
74
|
-
-
|
|
75
|
-
- All CLI commands and skill scripts verified
|
|
76
|
-
- Profile isolation verified across 2 profiles
|
|
77
|
-
- Playwright dashboard testing (all 8 tabs, SSE stream, profile switching)
|
|
78
|
-
|
|
79
|
-
---
|
|
80
|
-
|
|
81
|
-
## [2.4.2] - 2026-02-11
|
|
82
|
-
|
|
83
|
-
**Release Type:** Bug Fix Release
|
|
84
|
-
**Backward Compatible:** Yes
|
|
85
|
-
|
|
86
|
-
### Fixed
|
|
87
|
-
- **Profile isolation bug in UI dashboard**: Graph nodes and connections were displaying global counts instead of profile-filtered counts. New/empty profiles incorrectly showed data from other profiles. Fixed by adding `JOIN memories` and `WHERE m.profile = ?` filter to graph stats queries in `ui_server.py` (`/api/stats` endpoint, lines 986-990).
|
|
59
|
+
### Performance
|
|
60
|
+
- Re-ranking adds <15ms latency to recall queries
|
|
61
|
+
- Learning DB typically <1MB for 1,000 memories
|
|
62
|
+
- Bootstrap model trains in <30 seconds for 1,000 memories
|
|
63
|
+
- All BM1-BM6 benchmarks: no regression >10%
|
|
88
64
|
|
|
89
65
|
---
|
|
90
66
|
|
|
91
|
-
## [2.
|
|
92
|
-
|
|
93
|
-
**Release Type:** Hierarchical Clustering & Documentation Release
|
|
94
|
-
**Backward Compatible:** Yes (additive schema changes only)
|
|
67
|
+
## [2.6.5] - 2026-02-16
|
|
95
68
|
|
|
96
69
|
### Added
|
|
97
|
-
- **
|
|
98
|
-
- **
|
|
99
|
-
- **CLI commands**: `python3 graph_engine.py hierarchical` and `python3 graph_engine.py summaries` for manual runs
|
|
100
|
-
- **Schema migration**: Safe `ALTER TABLE` additions for `summary`, `parent_cluster_id`, `depth` columns — backward compatible with existing databases
|
|
101
|
-
|
|
102
|
-
### Changed
|
|
103
|
-
- `build_graph()` now automatically runs hierarchical sub-clustering and summary generation after flat Leiden
|
|
104
|
-
- `/api/clusters` endpoint returns `summary`, `parent_cluster_id`, `depth` fields
|
|
105
|
-
- `get_stats()` includes `max_depth` and per-cluster summary/hierarchy data
|
|
106
|
-
- `setup_validator.py` schema updated to include new columns
|
|
107
|
-
|
|
108
|
-
### Documentation
|
|
109
|
-
- **README.md**: v2.4.0→v2.4.1, added Hierarchical Leiden, Community Summaries, MACLA, Auto-Backup sections
|
|
110
|
-
- **Wiki**: Updated Roadmap, Pattern-Learning-Explained, Knowledge-Graph-Guide, Configuration, Visualization-Dashboard, Footer
|
|
111
|
-
- **Website**: Updated features.astro, comparison.astro, index.astro for v2.4.1 features
|
|
112
|
-
- **`.npmignore`**: Recursive `__pycache__` exclusion patterns
|
|
70
|
+
- **Interactive Knowledge Graph** - Fully interactive visualization with zoom, pan, and click-to-explore capabilities
|
|
71
|
+
- **Mobile & Accessibility Support** - Touch gestures, keyboard navigation, and screen reader compatibility
|
|
113
72
|
|
|
114
73
|
---
|
|
115
74
|
|
|
116
|
-
## [2.
|
|
117
|
-
|
|
118
|
-
**Release Type:** Profile System & Intelligence Release
|
|
119
|
-
**Backward Compatible:** Yes (additive schema changes only)
|
|
120
|
-
|
|
121
|
-
### Added
|
|
122
|
-
- **Column-based memory profiles**: Single `memory.db` with `profile` column — all memories, clusters, patterns, and graph data are profile-scoped. Switch profiles from any IDE/CLI and it takes effect everywhere instantly via shared `profiles.json`
|
|
123
|
-
- **Auto-backup system** (`src/auto_backup.py`): SQLite backup API with configurable interval (daily/weekly), retention policy, and one-click backup from UI
|
|
124
|
-
- **MACLA confidence scorer**: Research-grounded Beta-Binomial Bayesian posterior (arXiv:2512.18950) replaces ad-hoc log2 formula. Pattern-specific priors: preference(1,4), style(1,5), terminology(2,3). Log-scaled competition prevents over-dilution from sparse signals
|
|
125
|
-
- **UI: Profile Management**: Create, switch, and delete profiles from the web dashboard. "+" button in navbar for quick creation, full management table in Settings tab
|
|
126
|
-
- **UI: Settings tab**: Auto-backup status, configuration (interval, max backups, enable toggle), backup history, profile management — all in one place
|
|
127
|
-
- **UI: Column sorting**: Click any column header in the Memories table to sort asc/desc
|
|
128
|
-
- **UI: Enhanced Patterns view**: DOM-based rendering with confidence bars, color coding, type icons
|
|
129
|
-
- **API: Profile isolation on all endpoints**: `/api/graph`, `/api/clusters`, `/api/patterns`, `/api/timeline` now filter by active profile (previously showed all profiles)
|
|
130
|
-
- **API: `get_active_profile()` helper**: Shared function in `ui_server.py` replaces 4 duplicate inline profile-reading blocks
|
|
131
|
-
- **API: Profile CRUD endpoints**: `POST /api/profiles/create`, `DELETE /api/profiles/{name}` with validation and safety (can't delete default or active profile)
|
|
132
|
-
|
|
133
|
-
### Fixed
|
|
134
|
-
- **Profile switching ValueError**: Rewrote from directory-based to column-based profiles — no more file copy errors on switch
|
|
135
|
-
- **Pattern learner schema validation**: Safe column addition with try/except for `profile` column on `identity_patterns` table
|
|
136
|
-
- **Graph engine schema validation**: Safe column check before profile-filtered queries
|
|
137
|
-
- **Research references**: PageIndex correctly attributed to VectifyAI (not Meta AI), removed fabricated xMemory/Stanford citation, replaced with MemoryBank (AAAI 2024) across wiki and website
|
|
138
|
-
- **Graph tooltip**: Shows project name or Memory ID instead of "Uncategorized" when category is null
|
|
139
|
-
|
|
140
|
-
### Changed
|
|
141
|
-
- All 4 core layers (storage, tree, graph, patterns) are now profile-aware
|
|
142
|
-
- `memory_store_v2.py`: Every query filters by `WHERE profile = ?` from `_get_active_profile()`
|
|
143
|
-
- `graph_engine.py`: `build_graph()` and `get_stats()` scoped to active profile
|
|
144
|
-
- `pattern_learner.py`: Pattern learning and retrieval scoped to active profile
|
|
145
|
-
- `ui_server.py`: Refactored profile code into shared helper, eliminated 4 duplicate blocks
|
|
146
|
-
|
|
147
|
-
### Technical Details
|
|
148
|
-
- Schema: `ALTER TABLE memories ADD COLUMN profile TEXT DEFAULT 'default'`
|
|
149
|
-
- Schema: `ALTER TABLE identity_patterns ADD COLUMN profile TEXT DEFAULT 'default'`
|
|
150
|
-
- MACLA formula: `posterior = (alpha + evidence) / (alpha + beta + evidence + log2(total_memories))`
|
|
151
|
-
- Confidence range: 0.0 to 0.95 (capped), with recency and distribution bonuses
|
|
152
|
-
- Backup: Uses SQLite `backup()` API for safe concurrent backup
|
|
153
|
-
- 17 API endpoint tests, 5 core module tests — all passing
|
|
75
|
+
## [2.6.0] - 2026-02-15
|
|
154
76
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
## [2.3.7] - 2026-02-09
|
|
77
|
+
**Release Type:** Security Hardening & Scalability — "Battle-Tested"
|
|
158
78
|
|
|
159
79
|
### Added
|
|
160
|
-
-
|
|
161
|
-
- **
|
|
162
|
-
- **
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
- **
|
|
166
|
-
- **
|
|
167
|
-
- **User experience**: Agents and users can now see complete memory content by default for most memories
|
|
80
|
+
- **Rate Limiting** - 100 writes/min and 300 reads/min per IP (stdlib-only, no dependencies)
|
|
81
|
+
- **API Key Authentication** - Optional API key auth via `~/.claude-memory/api_key` file
|
|
82
|
+
- **CI Workflow** - GitHub Actions test pipeline across Python 3.8, 3.10, and 3.12
|
|
83
|
+
- **Trust Enforcement** - Agents below 0.3 trust score blocked from write/delete
|
|
84
|
+
- **HNSW Vector Index** - O(log n) search with graceful TF-IDF fallback
|
|
85
|
+
- **Hybrid Search** - BM25 + Graph + TF-IDF fusion via `SLM_HYBRID_SEARCH=true`
|
|
86
|
+
- **SSRF Protection** - Webhook URLs validated against private IP ranges
|
|
168
87
|
|
|
169
88
|
### Changed
|
|
170
|
-
- **
|
|
171
|
-
- **
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
-
|
|
175
|
-
-
|
|
176
|
-
- Backward compatible: same output structure, MCP/API calls unaffected
|
|
177
|
-
- All 74+ existing memories tested: short memories show full, long memories truncate intelligently
|
|
178
|
-
|
|
179
|
-
---
|
|
180
|
-
|
|
181
|
-
## [2.3.5] - 2026-02-09
|
|
182
|
-
|
|
183
|
-
### Added
|
|
184
|
-
- **ChatGPT Connector Support**: `search(query)` and `fetch(id)` MCP tools per OpenAI spec
|
|
185
|
-
- **Streamable HTTP transport**: `slm serve --transport streamable-http` for ChatGPT 2026+
|
|
186
|
-
- **UI: Memory detail modal**: Click any memory row to see full content, tags, metadata
|
|
187
|
-
- **UI: Dark mode toggle**: Sun/moon icon in navbar, saved to localStorage, respects system preference
|
|
188
|
-
- **UI: Export buttons**: Export All (JSON/JSONL), Export Search Results, Export individual memory as Markdown
|
|
189
|
-
- **UI: Search score bars**: Color-coded relevance bars (red/yellow/green) in search results
|
|
190
|
-
- **UI: Animated stat counters**: Numbers animate up on page load with ease-out cubic
|
|
191
|
-
- **UI: Loading spinners and empty states**: Professional feedback across all tabs
|
|
192
|
-
- npm keywords: chatgpt, chatgpt-connector, openai, deep-research
|
|
89
|
+
- **Graph cap raised to 10,000 memories** (was 5,000) with intelligent random sampling
|
|
90
|
+
- **Profile isolation hardened** - All queries enforce `WHERE profile = ?` filtering
|
|
91
|
+
- **Bounded write queue** - Max 1,000 pending operations (was unbounded)
|
|
92
|
+
- **TF-IDF optimization** - Skip rebuild when memory count changes <5%
|
|
93
|
+
- **Error sanitization** - Internal paths and table names stripped from 15 error sites
|
|
94
|
+
- **Connection pool capped** - Max 50 read connections
|
|
193
95
|
|
|
194
96
|
### Fixed
|
|
195
|
-
-
|
|
196
|
-
- **UI: Content preview**: Increased from 80 to 100 characters
|
|
97
|
+
- Replaced bare `except:` clauses with specific exception types in hybrid_search.py and cache_manager.py
|
|
197
98
|
|
|
198
|
-
###
|
|
199
|
-
|
|
99
|
+
### Performance
|
|
100
|
+
See [wiki Performance Benchmarks](https://superlocalmemory.com/wiki/Performance-Benchmarks) for measured data.
|
|
200
101
|
|
|
201
102
|
---
|
|
202
103
|
|
|
203
|
-
## [2.
|
|
204
|
-
|
|
205
|
-
**Release Type:** Universal Integration Release
|
|
206
|
-
**Release Date:** February 8, 2026
|
|
207
|
-
**Version Code:** 2.3.0-universal
|
|
208
|
-
**Git Tag:** v2.3.0
|
|
209
|
-
**Backward Compatible:** ✅ Yes (100%)
|
|
210
|
-
|
|
211
|
-
### 🌐 Universal Integration — MAJOR UPDATE
|
|
212
|
-
|
|
213
|
-
**SuperLocalMemory now works across 16+ IDEs and CLI tools!**
|
|
214
|
-
|
|
215
|
-
This release fixes the Claude-first distribution gap by adding proper configs, detection, and integration for the tools where most non-Claude developers live.
|
|
216
|
-
|
|
217
|
-
**Root Cause:** The architecture was always universal (SQLite + MCP + Skills), but the distribution (configs, installer, docs, npm) was Claude-first with bolted-on support for others. This release fixes that.
|
|
218
|
-
|
|
219
|
-
### ✨ Added — New Integrations
|
|
220
|
-
|
|
221
|
-
**New Config Templates:**
|
|
222
|
-
- ✅ `configs/codex-mcp.toml` — OpenAI Codex CLI (TOML format, not JSON)
|
|
223
|
-
- ✅ `configs/vscode-copilot-mcp.json` — VS Code / GitHub Copilot (`"servers"` format)
|
|
224
|
-
- ✅ `configs/gemini-cli-mcp.json` — Google Gemini CLI
|
|
225
|
-
- ✅ `configs/jetbrains-mcp.json` — JetBrains IDEs (IntelliJ, PyCharm, WebStorm)
|
|
226
|
-
|
|
227
|
-
**New install.sh Detections:**
|
|
228
|
-
- ✅ OpenAI Codex CLI — Auto-configures via `codex mcp add` or TOML fallback
|
|
229
|
-
- ✅ VS Code / GitHub Copilot — Creates `~/.vscode/mcp.json`
|
|
230
|
-
- ✅ Gemini CLI — Merges into `~/.gemini/settings.json`
|
|
231
|
-
- ✅ JetBrains IDEs — Prints manual setup instructions (GUI-based)
|
|
232
|
-
|
|
233
|
-
**New CLI Command:**
|
|
234
|
-
- ✅ `slm serve [PORT]` — Start MCP HTTP server for ChatGPT/remote access
|
|
235
|
-
- Default port: 8001
|
|
236
|
-
- Documents ngrok/cloudflared tunnel workflow
|
|
237
|
-
- Enables ChatGPT integration (previously broken)
|
|
238
|
-
|
|
239
|
-
**Universal Symlink:**
|
|
240
|
-
- ✅ `~/.superlocalmemory` → `~/.claude-memory` — Non-Claude users see universal branding
|
|
241
|
-
- Zero breaking changes (real directory unchanged)
|
|
242
|
-
- Additive only (removing symlink doesn't break anything)
|
|
243
|
-
|
|
244
|
-
**MCP Tool Annotations:**
|
|
245
|
-
- ✅ All 6 tools annotated with `readOnlyHint`, `destructiveHint`, `openWorldHint`
|
|
246
|
-
- Required by ChatGPT and VS Code Copilot for tool classification
|
|
247
|
-
- Uses `ToolAnnotations` from MCP SDK
|
|
248
|
-
|
|
249
|
-
**Skills Installer Expansion:**
|
|
250
|
-
- ✅ Added Cursor to `install-skills.sh`
|
|
251
|
-
- ✅ Added VS Code/Copilot to `install-skills.sh`
|
|
252
|
-
- ✅ Added `--auto` flag for non-interactive mode
|
|
253
|
-
- ✅ `install.sh` now calls `install-skills.sh --auto` automatically
|
|
254
|
-
|
|
255
|
-
### 🔧 Fixed
|
|
256
|
-
|
|
257
|
-
**ChatGPT Integration (was broken):**
|
|
258
|
-
- Old config used stdio — ChatGPT only supports HTTP transport
|
|
259
|
-
- New: `slm serve` + tunnel workflow documented
|
|
260
|
-
- Config file replaced with setup instructions
|
|
261
|
-
|
|
262
|
-
### 📝 Documentation Updates
|
|
263
|
-
|
|
264
|
-
**docs/MCP-MANUAL-SETUP.md:**
|
|
265
|
-
- Added: OpenAI Codex CLI section
|
|
266
|
-
- Added: VS Code / GitHub Copilot section
|
|
267
|
-
- Added: Gemini CLI section
|
|
268
|
-
- Added: JetBrains IDEs section
|
|
269
|
-
- Added: HTTP Transport section
|
|
270
|
-
- Fixed: ChatGPT section (HTTP workflow replaces broken stdio instructions)
|
|
271
|
-
|
|
272
|
-
**README.md:**
|
|
273
|
-
- Expanded IDE table from 8 to 17 rows
|
|
274
|
-
- Updated "11+ IDEs" → "16+ IDEs" everywhere
|
|
275
|
-
|
|
276
|
-
### 🔢 Version Bumps
|
|
277
|
-
|
|
278
|
-
| File | Old | New |
|
|
279
|
-
|------|-----|-----|
|
|
280
|
-
| `package.json` | 2.1.0 | 2.3.0 |
|
|
281
|
-
| `mcp_server.py` | 2.1.0-universal | 2.3.0-universal |
|
|
282
|
-
| `bin/slm` | 2.1.0-universal | 2.3.0-universal |
|
|
283
|
-
| `CLAUDE.md` | 2.1.0-universal | 2.3.0-universal |
|
|
284
|
-
| `postinstall.js` | "11+ AI tools" | "16+ AI tools" |
|
|
285
|
-
|
|
286
|
-
### 🔒 Backward Compatibility
|
|
287
|
-
|
|
288
|
-
**100% backward compatible — nothing breaks:**
|
|
289
|
-
- ✅ Existing `~/.claude-memory/` data untouched
|
|
290
|
-
- ✅ Existing MCP configs (Claude, Cursor, etc.) untouched
|
|
291
|
-
- ✅ Existing skills untouched
|
|
292
|
-
- ✅ Existing `slm` commands untouched (`serve` is NEW)
|
|
293
|
-
- ✅ npm reinstall safe (backs up before overwriting)
|
|
294
|
-
- ✅ `git pull && ./install.sh` safe for existing users
|
|
104
|
+
## [2.5.1] - 2026-02-13
|
|
295
105
|
|
|
296
|
-
|
|
106
|
+
**Release Type:** Framework Integration — "Plugged Into the Ecosystem"
|
|
297
107
|
|
|
298
|
-
|
|
108
|
+
SuperLocalMemory is now a first-class memory backend for LangChain and LlamaIndex — the two largest AI/LLM frameworks.
|
|
299
109
|
|
|
300
|
-
|
|
110
|
+
### Added
|
|
111
|
+
- **LangChain Integration** - `langchain-superlocalmemory` package for persistent chat history
|
|
112
|
+
- **LlamaIndex Integration** - `llama-index-storage-chat-store-superlocalmemory` for ChatMemoryBuffer
|
|
113
|
+
- **Session isolation** - Framework memories tagged separately, never appear in normal `slm recall`
|
|
301
114
|
|
|
302
115
|
---
|
|
303
116
|
|
|
304
|
-
## [2.
|
|
305
|
-
|
|
306
|
-
**Release Type:** Feature Release (Optional Search Components)
|
|
307
|
-
**Release Date:** February 7, 2026
|
|
308
|
-
**Version Code:** 2.2.0
|
|
309
|
-
**Git Tag:** v2.2.0
|
|
310
|
-
**Backward Compatible:** ✅ Yes (100%)
|
|
311
|
-
|
|
312
|
-
### 🚀 Core Search Engine Components (Tasks #17 & #20)
|
|
313
|
-
|
|
314
|
-
**Production-Grade BM25 and Hybrid Search:**
|
|
315
|
-
- ✅ **BM25 Search Engine** (`src/search_engine_v2.py`) - Industry-standard keyword ranking
|
|
316
|
-
- Pure Python implementation (no external dependencies for algorithm)
|
|
317
|
-
- Okapi BM25 with configurable parameters (k1=1.5, b=0.75)
|
|
318
|
-
- <30ms search for 1K memories (target met)
|
|
319
|
-
- Inverted index with efficient postings
|
|
320
|
-
- Full tokenization and stopword filtering
|
|
321
|
-
- CLI interface for testing and demos
|
|
322
|
-
|
|
323
|
-
- ✅ **Query Optimizer** (`src/query_optimizer.py`) - Intelligent query enhancement
|
|
324
|
-
- Spell correction using Levenshtein edit distance (max distance: 2)
|
|
325
|
-
- Query expansion based on term co-occurrence
|
|
326
|
-
- Boolean operator parsing (AND, OR, NOT, phrase queries)
|
|
327
|
-
- Technical term preservation (API, SQL, JWT, etc.)
|
|
328
|
-
- Vocabulary-based correction with graceful fallback
|
|
329
|
-
|
|
330
|
-
- ✅ **Cache Manager** (`src/cache_manager.py`) - LRU cache for search results
|
|
331
|
-
- Least Recently Used (LRU) eviction policy
|
|
332
|
-
- Time-to-live (TTL) support for cache expiration
|
|
333
|
-
- Thread-safe operations (optional)
|
|
334
|
-
- Size-based eviction with configurable max entries
|
|
335
|
-
- Performance tracking (hit rate, evictions, access counts)
|
|
336
|
-
- <0.1ms cache hit overhead
|
|
337
|
-
|
|
338
|
-
- ✅ **Hybrid Search System** (`src/hybrid_search.py`) - Multi-method retrieval fusion
|
|
339
|
-
- Combines BM25 + TF-IDF + Graph traversal
|
|
340
|
-
- Weighted score fusion with configurable weights
|
|
341
|
-
- Reciprocal Rank Fusion (RRF) support
|
|
342
|
-
- <50ms hybrid search for 1K memories (target met)
|
|
343
|
-
- Automatic integration with MemoryStoreV2
|
|
344
|
-
- Backward compatible with existing search API
|
|
345
|
-
|
|
346
|
-
**Key Features:**
|
|
347
|
-
- 🎯 **3x faster search** - BM25 optimized vs basic FTS
|
|
348
|
-
- 📈 **Better relevance** - 15-20% precision improvement over TF-IDF
|
|
349
|
-
- 🧠 **Query intelligence** - Auto-corrects typos, expands terms
|
|
350
|
-
- 🔄 **Multi-method fusion** - Best of keyword, semantic, and graph
|
|
351
|
-
- ⚡ **Production caching** - 30-50% cache hit rates reduce load
|
|
352
|
-
- 📊 **Complete test suite** - `test_search_engine.py` with 8 test cases
|
|
353
|
-
|
|
354
|
-
**Performance Benchmarks:**
|
|
355
|
-
| Component | Target | Actual | Status |
|
|
356
|
-
|-----------|--------|--------|--------|
|
|
357
|
-
| BM25 Index 1K | <500ms | 247ms | ✅ |
|
|
358
|
-
| BM25 Search 1K | <30ms | 18ms | ✅ |
|
|
359
|
-
| Query Optimizer | <5ms | 2ms | ✅ |
|
|
360
|
-
| Cache Get/Put | <0.5ms | 0.12ms | ✅ |
|
|
361
|
-
| Hybrid Search | <50ms | 35ms | ✅ |
|
|
362
|
-
|
|
363
|
-
**Attribution:**
|
|
364
|
-
- Copyright headers on all new files
|
|
365
|
-
- MIT License compliance
|
|
366
|
-
- Created by Varun Pratap Bhardwaj
|
|
367
|
-
- Comprehensive documentation: `docs/SEARCH-ENGINE-V2.2.0.md`
|
|
368
|
-
|
|
369
|
-
### 🚀 Optional Search Components (Tasks #18 & #19)
|
|
370
|
-
|
|
371
|
-
**New High-Performance Search Infrastructure:**
|
|
372
|
-
- ✅ **HNSW Index** (`src/hnsw_index.py`) - Fast approximate nearest neighbor search
|
|
373
|
-
- Sub-10ms search for 10K memories
|
|
374
|
-
- Sub-50ms search for 100K memories
|
|
375
|
-
- Incremental updates without full rebuild
|
|
376
|
-
- Disk persistence for instant startup
|
|
377
|
-
- Graceful fallback to linear search if hnswlib unavailable
|
|
378
|
-
- Optional dependency: `pip install hnswlib`
|
|
379
|
-
|
|
380
|
-
- ✅ **Embedding Engine** (`src/embedding_engine.py`) - Local semantic embedding generation
|
|
381
|
-
- all-MiniLM-L6-v2 model (384 dimensions, 80MB)
|
|
382
|
-
- GPU acceleration (CUDA/Apple Silicon MPS) with auto-detection
|
|
383
|
-
- Batch processing: 100-1000 texts/sec (GPU)
|
|
384
|
-
- LRU cache for 10K embeddings (<1ms cache hits)
|
|
385
|
-
- Graceful fallback to TF-IDF if sentence-transformers unavailable
|
|
386
|
-
- Optional dependency: `pip install sentence-transformers`
|
|
387
|
-
|
|
388
|
-
**Key Features:**
|
|
389
|
-
- 🔄 **Zero breaking changes** - All dependencies optional with graceful fallback
|
|
390
|
-
- ⚡ **10-20x faster search** with HNSW vs linear search
|
|
391
|
-
- 🧠 **True semantic search** with local embeddings (no API calls)
|
|
392
|
-
- 🔒 **Security limits** - MAX_BATCH_SIZE, MAX_TEXT_LENGTH, input validation
|
|
393
|
-
- 📊 **CLI interfaces** - Test and manage both components
|
|
394
|
-
- 📚 **Complete documentation** - `docs/V2.2.0-OPTIONAL-SEARCH.md`
|
|
395
|
-
|
|
396
|
-
**Performance Benchmarks:**
|
|
397
|
-
| Component | Without Optional Deps | With Optional Deps | Speedup |
|
|
398
|
-
|-----------|----------------------|-------------------|---------|
|
|
399
|
-
| Search (10K) | ~100ms (TF-IDF) | <10ms (HNSW) | 10x |
|
|
400
|
-
| Embeddings | ~50ms (TF-IDF) | 10-100ms (GPU) | Semantic |
|
|
401
|
-
| Cache hit | N/A | <0.001ms | 100,000x |
|
|
402
|
-
|
|
403
|
-
**Attribution:**
|
|
404
|
-
- Copyright headers on all new files
|
|
405
|
-
- MIT License compliance
|
|
406
|
-
- Created by Varun Pratap Bhardwaj
|
|
407
|
-
|
|
408
|
-
### 📦 Installation & Dependencies Overhaul
|
|
409
|
-
|
|
410
|
-
**Better Dependency Management:**
|
|
411
|
-
|
|
412
|
-
This release reorganizes optional dependencies into modular requirement files, giving users precise control over what features they install.
|
|
413
|
-
|
|
414
|
-
**Key Improvements:**
|
|
415
|
-
- ✅ **Modular Requirements:** Separate files for different feature sets
|
|
416
|
-
- ✅ **Interactive Installation:** Clear menu with download sizes and install times
|
|
417
|
-
- ✅ **Installation Verification:** Comprehensive health check script
|
|
418
|
-
- ✅ **Zero Breaking Changes:** Existing installations work unchanged
|
|
419
|
-
- ✅ **Better Documentation:** Clear feature isolation and migration guide
|
|
420
|
-
|
|
421
|
-
### ✨ New Files
|
|
422
|
-
|
|
423
|
-
**Requirements Structure:**
|
|
424
|
-
- `requirements.txt` - Core requirements (empty - zero dependencies)
|
|
425
|
-
- `requirements-full.txt` - All optional features (~1.5GB)
|
|
426
|
-
- `requirements-ui.txt` - Web dashboard only (~50MB)
|
|
427
|
-
- `requirements-search.txt` - Advanced search only (~1.5GB)
|
|
428
|
-
|
|
429
|
-
**Installation Tools:**
|
|
430
|
-
- `verify-install.sh` - Comprehensive installation verification
|
|
431
|
-
- Checks Python version, core files, CLI wrappers, PATH configuration
|
|
432
|
-
- Verifies optional features (search, UI)
|
|
433
|
-
- Performance quick test (init + query timing)
|
|
434
|
-
- Clear status reporting with ✓/○/✗ indicators
|
|
435
|
-
- Exit codes for CI/CD integration
|
|
436
|
-
|
|
437
|
-
**Documentation:**
|
|
438
|
-
- `MIGRATION-V2.2.0.md` - Complete migration guide from v2.1.0
|
|
439
|
-
- 100% backward compatibility confirmation
|
|
440
|
-
- Step-by-step upgrade instructions
|
|
441
|
-
- Dependency comparison tables
|
|
442
|
-
- Troubleshooting section
|
|
443
|
-
- FAQ
|
|
444
|
-
|
|
445
|
-
### 🔧 Enhanced Installation Flow
|
|
446
|
-
|
|
447
|
-
**Old (v2.1.0):**
|
|
448
|
-
```
|
|
449
|
-
Install optional dependencies now? (y/N)
|
|
450
|
-
```
|
|
451
|
-
|
|
452
|
-
**New (v2.2.0):**
|
|
453
|
-
```
|
|
454
|
-
Optional Features Available:
|
|
455
|
-
|
|
456
|
-
1) Advanced Search (~1.5GB, 5-10 min)
|
|
457
|
-
• Semantic search with sentence transformers
|
|
458
|
-
• Vector similarity with HNSWLIB
|
|
459
|
-
• Better search quality
|
|
460
|
-
|
|
461
|
-
2) Web Dashboard (~50MB, 1-2 min)
|
|
462
|
-
• Graph visualization (D3.js)
|
|
463
|
-
• API server (FastAPI)
|
|
464
|
-
• Browser-based interface
|
|
465
|
-
|
|
466
|
-
3) Full Package (~1.5GB, 5-10 min)
|
|
467
|
-
• Everything: Search + Dashboard
|
|
468
|
-
|
|
469
|
-
N) Skip (install later)
|
|
470
|
-
|
|
471
|
-
Choose option [1/2/3/N]:
|
|
472
|
-
```
|
|
473
|
-
|
|
474
|
-
**Benefits:**
|
|
475
|
-
- Users see exactly what they're installing
|
|
476
|
-
- Clear download sizes and installation times
|
|
477
|
-
- Can choose specific features instead of all-or-nothing
|
|
478
|
-
- Can skip and install later with simple commands
|
|
479
|
-
|
|
480
|
-
### 📋 Requirements Details
|
|
481
|
-
|
|
482
|
-
**requirements.txt (Core):**
|
|
483
|
-
```txt
|
|
484
|
-
# SuperLocalMemory V2.2.0 has ZERO core dependencies
|
|
485
|
-
# All functionality works with Python 3.8+ standard library only
|
|
486
|
-
```
|
|
487
|
-
|
|
488
|
-
**requirements-full.txt (All Features):**
|
|
489
|
-
```txt
|
|
490
|
-
sentence-transformers>=2.2.0 # Advanced semantic search
|
|
491
|
-
hnswlib>=0.7.0 # Vector similarity search
|
|
492
|
-
fastapi>=0.109.0 # Web framework
|
|
493
|
-
uvicorn[standard]>=0.27.0 # ASGI server
|
|
494
|
-
python-multipart>=0.0.6 # File upload support
|
|
495
|
-
diskcache>=5.6.0 # Performance caching
|
|
496
|
-
orjson>=3.9.0 # Fast JSON serialization
|
|
497
|
-
```
|
|
498
|
-
|
|
499
|
-
**requirements-ui.txt (Dashboard Only):**
|
|
500
|
-
```txt
|
|
501
|
-
fastapi>=0.109.0 # Web server
|
|
502
|
-
uvicorn[standard]>=0.27.0 # ASGI server
|
|
503
|
-
python-multipart>=0.0.6 # Multipart support
|
|
504
|
-
```
|
|
505
|
-
|
|
506
|
-
**requirements-search.txt (Search Only):**
|
|
507
|
-
```txt
|
|
508
|
-
sentence-transformers>=2.2.0 # Semantic embeddings
|
|
509
|
-
hnswlib>=0.7.0 # ANN search
|
|
510
|
-
```
|
|
511
|
-
|
|
512
|
-
### 🔍 Installation Verification
|
|
513
|
-
|
|
514
|
-
**New verify-install.sh script provides comprehensive checks:**
|
|
515
|
-
|
|
516
|
-
```bash
|
|
517
|
-
./verify-install.sh
|
|
518
|
-
```
|
|
519
|
-
|
|
520
|
-
**Verification Steps:**
|
|
521
|
-
|
|
522
|
-
1. **Core Installation Check:**
|
|
523
|
-
- Python 3.8+ version verification
|
|
524
|
-
- Installation directory existence
|
|
525
|
-
- Core scripts (memory_store_v2.py, graph_engine.py, pattern_learner.py)
|
|
526
|
-
- CLI wrappers (slm, aider-smart)
|
|
527
|
-
- PATH configuration (shell config + active session)
|
|
528
|
-
- Database status (size, existence)
|
|
529
|
-
- Configuration file
|
|
530
|
-
|
|
531
|
-
2. **Optional Features Check:**
|
|
532
|
-
- Advanced Search (sentence-transformers, hnswlib)
|
|
533
|
-
- Web Dashboard (fastapi, uvicorn)
|
|
534
|
-
- Clear enabled/disabled status
|
|
535
|
-
|
|
536
|
-
3. **Performance Quick Test:**
|
|
537
|
-
- Memory store initialization timing
|
|
538
|
-
- Database query performance (milliseconds)
|
|
539
|
-
|
|
540
|
-
4. **Summary Report:**
|
|
541
|
-
- Overall status (WORKING/FAILED)
|
|
542
|
-
- Feature availability matrix
|
|
543
|
-
- Next steps recommendations
|
|
544
|
-
- Error list (if any)
|
|
545
|
-
|
|
546
|
-
**Exit Codes:**
|
|
547
|
-
- `0` - Installation verified successfully
|
|
548
|
-
- `1` - Installation verification failed
|
|
549
|
-
|
|
550
|
-
**CI/CD Integration:**
|
|
551
|
-
```bash
|
|
552
|
-
./verify-install.sh || exit 1
|
|
553
|
-
```
|
|
554
|
-
|
|
555
|
-
### 🔄 Migration from v2.1.0
|
|
556
|
-
|
|
557
|
-
**Zero Migration Required:**
|
|
558
|
-
|
|
559
|
-
This release is 100% backward compatible. Existing installations work unchanged.
|
|
560
|
-
|
|
561
|
-
**Options for Existing Users:**
|
|
562
|
-
|
|
563
|
-
1. **Keep Current Setup (Recommended):**
|
|
564
|
-
- No action needed
|
|
565
|
-
- Run `./verify-install.sh` to verify health
|
|
566
|
-
|
|
567
|
-
2. **Update to New Structure:**
|
|
568
|
-
```bash
|
|
569
|
-
git pull origin main
|
|
570
|
-
./install.sh
|
|
571
|
-
./verify-install.sh
|
|
572
|
-
```
|
|
573
|
-
|
|
574
|
-
3. **Manual Dependency Management:**
|
|
575
|
-
```bash
|
|
576
|
-
pip3 install -r requirements-ui.txt # Dashboard only
|
|
577
|
-
pip3 install -r requirements-search.txt # Search only
|
|
578
|
-
pip3 install -r requirements-full.txt # Everything
|
|
579
|
-
```
|
|
580
|
-
|
|
581
|
-
See [MIGRATION-V2.2.0.md](MIGRATION-V2.2.0.md) for complete migration guide.
|
|
582
|
-
|
|
583
|
-
### 📊 Dependency Comparison
|
|
584
|
-
|
|
585
|
-
| Component | v2.1.0 | v2.2.0 | Change |
|
|
586
|
-
|-----------|--------|--------|--------|
|
|
587
|
-
| Core | 0 deps | 0 deps | Unchanged |
|
|
588
|
-
| UI requirements | Mixed (UI+core) | UI only | Cleaner |
|
|
589
|
-
| Search requirements | None | Separate file | NEW |
|
|
590
|
-
| Full requirements | None | All features | NEW |
|
|
591
|
-
| Version pinning | Exact (==) | Ranges (>=) | More flexible |
|
|
592
|
-
|
|
593
|
-
### 🎯 User Experience
|
|
594
|
-
|
|
595
|
-
**For New Users:**
|
|
596
|
-
- Clear installation options with sizes/times
|
|
597
|
-
- Can choose minimal install and add features later
|
|
598
|
-
- Installation verification confirms success
|
|
599
|
-
- Better documentation for troubleshooting
|
|
600
|
-
|
|
601
|
-
**For Existing Users:**
|
|
602
|
-
- Zero impact - everything continues working
|
|
603
|
-
- Optional update to new structure
|
|
604
|
-
- Can verify installation health anytime
|
|
605
|
-
- Clear migration path if desired
|
|
606
|
-
|
|
607
|
-
### 🔒 Backward Compatibility
|
|
608
|
-
|
|
609
|
-
**100% backward compatible - nothing breaks:**
|
|
610
|
-
- ✅ All CLI commands work unchanged
|
|
611
|
-
- ✅ All skills work unchanged
|
|
612
|
-
- ✅ All MCP tools work unchanged
|
|
613
|
-
- ✅ Database schema unchanged
|
|
614
|
-
- ✅ Configuration format unchanged
|
|
615
|
-
- ✅ Data format unchanged
|
|
616
|
-
- ✅ API unchanged
|
|
617
|
-
- ✅ Profile system unchanged
|
|
618
|
-
|
|
619
|
-
**Upgrade path:** Simply run `./install.sh` or continue using current installation.
|
|
620
|
-
|
|
621
|
-
### 📝 Documentation Updates
|
|
622
|
-
|
|
623
|
-
**New Documentation:**
|
|
624
|
-
- `MIGRATION-V2.2.0.md` - Complete migration guide
|
|
625
|
-
- `verify-install.sh` - Installation verification tool
|
|
626
|
-
- Updated `install.sh` - Interactive installation menu
|
|
117
|
+
## [2.5.0] - 2026-02-12
|
|
627
118
|
|
|
628
|
-
**
|
|
629
|
-
- `requirements.txt` - Clear comment about zero dependencies
|
|
630
|
-
- `requirements-full.txt` - Detailed feature descriptions
|
|
631
|
-
- `requirements-ui.txt` - Cleaner, UI-focused
|
|
632
|
-
- `requirements-search.txt` - Search-specific documentation
|
|
119
|
+
**Release Type:** Major Feature Release — "Your AI Memory Has a Heartbeat"
|
|
633
120
|
|
|
634
|
-
|
|
121
|
+
SuperLocalMemory transforms from passive storage to active coordination layer. Every memory operation now triggers real-time events.
|
|
635
122
|
|
|
636
|
-
|
|
123
|
+
### Added
|
|
124
|
+
- **DbConnectionManager** - SQLite WAL mode, write queue, connection pool (fixes "database is locked")
|
|
125
|
+
- **Event Bus** - Real-time SSE/WebSocket/Webhook broadcasting with tiered retention (48h/14d/30d)
|
|
126
|
+
- **Subscription Manager** - Durable + ephemeral subscriptions with event filters
|
|
127
|
+
- **Webhook Dispatcher** - HTTP POST delivery with exponential backoff retry
|
|
128
|
+
- **Agent Registry** - Track connected AI agents (protocol, write/recall counters, last seen)
|
|
129
|
+
- **Provenance Tracker** - Track memory origin (created_by, source_protocol, trust_score, lineage)
|
|
130
|
+
- **Trust Scorer** - Bayesian trust signal collection (silent in v2.5, enforced in v2.6)
|
|
131
|
+
- **Dashboard: Live Events tab** - Real-time event stream with filters and stats
|
|
132
|
+
- **Dashboard: Agents tab** - Connected agents table with trust scores and protocol badges
|
|
637
133
|
|
|
638
|
-
|
|
134
|
+
### Changed
|
|
135
|
+
- **memory_store_v2.py** - Replaced 15 direct `sqlite3.connect()` calls with DbConnectionManager
|
|
136
|
+
- **mcp_server.py** - Replaced 9 per-call instantiations with shared singleton
|
|
137
|
+
- **ui_server.py** - Refactored from 2008-line monolith to 194-line app shell + 9 route modules
|
|
138
|
+
- **ui/app.js** - Split from 1588-line monolith to 13 modular files
|
|
639
139
|
|
|
640
|
-
|
|
140
|
+
### Testing
|
|
141
|
+
- 63 pytest tests + 27 e2e tests + 15 fresh-DB edge cases + 17 backward-compat tests
|
|
641
142
|
|
|
642
143
|
---
|
|
643
144
|
|
|
644
|
-
## [2.2
|
|
645
|
-
|
|
646
|
-
**Release Type:** Major Feature Release - Visualization & Search Enhancement
|
|
647
|
-
**Release Date:** February 7, 2026
|
|
648
|
-
**Version Code:** 2.2.0
|
|
649
|
-
**Git Tag:** v2.2.0
|
|
650
|
-
**Commits Since v2.1.0:** TBD commits
|
|
651
|
-
**Lines Changed:** +2,500 lines (est.)
|
|
652
|
-
**New Files:** 2 files (dashboard.py, Visualization-Dashboard.md wiki page)
|
|
653
|
-
**Backward Compatible:** ✅ Yes (100%)
|
|
654
|
-
|
|
655
|
-
### 🎨 Visualization Dashboard - MAJOR UPDATE
|
|
656
|
-
|
|
657
|
-
**Interactive web-based dashboard for visual memory exploration!**
|
|
658
|
-
|
|
659
|
-
This release introduces a professional-grade visualization dashboard built with Dash and Plotly, transforming SuperLocalMemory from a CLI-only tool into a comprehensive visual knowledge management system.
|
|
660
|
-
|
|
661
|
-
**Key Highlights:**
|
|
662
|
-
- 🎨 **Interactive Web Dashboard** - Timeline, search, graph visualization, statistics
|
|
663
|
-
- 🔍 **Hybrid Search System** - Combines semantic, FTS5, and graph for 89% precision
|
|
664
|
-
- 📈 **Timeline View** - Chronological visualization with importance color-coding
|
|
665
|
-
- 🕸️ **Graph Visualization** - Interactive force-directed layout with zoom/pan
|
|
666
|
-
- 📊 **Statistics Dashboard** - Real-time analytics with memory trends and tag clouds
|
|
667
|
-
- 🌓 **Dark Mode** - Eye-friendly theme for extended use
|
|
668
|
-
- 🎯 **Advanced Filters** - Multi-dimensional filtering across all views
|
|
669
|
-
- ⌨️ **Keyboard Shortcuts** - Quick navigation and actions
|
|
670
|
-
|
|
671
|
-
### ✨ Added - New Features
|
|
672
|
-
|
|
673
|
-
**1. Visualization Dashboard (Layer 9)**
|
|
674
|
-
- ✅ **Four Main Views:**
|
|
675
|
-
- **Timeline View** - All memories chronologically with importance markers
|
|
676
|
-
- **Search Explorer** - Real-time search with visual score bars (0-100%)
|
|
677
|
-
- **Graph Visualization** - Interactive knowledge graph with clusters
|
|
678
|
-
- **Statistics Dashboard** - Memory trends, tag clouds, pattern insights
|
|
679
|
-
- ✅ **Interactive Features:**
|
|
680
|
-
- Zoom, pan, drag for graph exploration
|
|
681
|
-
- Click clusters to see members
|
|
682
|
-
- Hover tooltips for previews
|
|
683
|
-
- Expand cards for full details
|
|
684
|
-
- ✅ **Visual Elements:**
|
|
685
|
-
- Color-coded importance (red/orange/yellow/green)
|
|
686
|
-
- Cluster badges on each memory
|
|
687
|
-
- Visual score bars for search results
|
|
688
|
-
- Chart visualizations (line, pie, bar, word cloud)
|
|
689
|
-
- ✅ **Launch Command:**
|
|
690
|
-
```bash
|
|
691
|
-
python ~/.claude-memory/dashboard.py
|
|
692
|
-
# Opens at http://localhost:8050
|
|
693
|
-
```
|
|
694
|
-
- ✅ **Configuration:**
|
|
695
|
-
- Custom port support (`--port 8080`)
|
|
696
|
-
- Profile selection (`--profile work`)
|
|
697
|
-
- Debug mode (`--debug`)
|
|
698
|
-
- Config file: `~/.claude-memory/dashboard_config.json`
|
|
699
|
-
- ✅ **Dependencies:**
|
|
700
|
-
- Dash (web framework)
|
|
701
|
-
- Plotly (interactive charts)
|
|
702
|
-
- Pandas (data manipulation)
|
|
703
|
-
- NetworkX (graph layout)
|
|
704
|
-
- All optional, graceful degradation without them
|
|
705
|
-
|
|
706
|
-
**2. Hybrid Search System (Layer 8)**
|
|
707
|
-
- ✅ **Three Search Strategies Combined:**
|
|
708
|
-
1. **Semantic Search (TF-IDF)** - Conceptual similarity (~45ms)
|
|
709
|
-
2. **Full-Text Search (FTS5)** - Exact phrase matching (~30ms)
|
|
710
|
-
3. **Graph-Enhanced Search** - Knowledge graph traversal (~60ms)
|
|
711
|
-
- ✅ **Hybrid Mode (Default):**
|
|
712
|
-
- Runs all three strategies in parallel
|
|
713
|
-
- Normalizes scores to 0-100%
|
|
714
|
-
- Merges results with weighted ranking
|
|
715
|
-
- Removes duplicates
|
|
716
|
-
- Total time: ~80ms (minimal overhead)
|
|
717
|
-
- ✅ **Performance Metrics:**
|
|
718
|
-
- **Precision:** 89% (vs 78% semantic-only)
|
|
719
|
-
- **Recall:** 91% (vs 82% semantic-only)
|
|
720
|
-
- **F1 Score:** 0.90 (best balance)
|
|
721
|
-
- ✅ **CLI Usage:**
|
|
722
|
-
```bash
|
|
723
|
-
# Hybrid (default)
|
|
724
|
-
slm recall "authentication"
|
|
725
|
-
|
|
726
|
-
# Specific strategy
|
|
727
|
-
slm recall "auth" --strategy semantic
|
|
728
|
-
slm recall "JWT tokens" --strategy fts
|
|
729
|
-
slm recall "security" --strategy graph
|
|
730
|
-
```
|
|
731
|
-
- ✅ **API Usage:**
|
|
732
|
-
```python
|
|
733
|
-
store.search("query", strategy="hybrid") # Default
|
|
734
|
-
store.search("query", strategy="semantic")
|
|
735
|
-
store.search("query", strategy="fts")
|
|
736
|
-
store.search("query", strategy="graph")
|
|
737
|
-
```
|
|
738
|
-
|
|
739
|
-
**3. Timeline View**
|
|
740
|
-
- ✅ Chronological display of all memories
|
|
741
|
-
- ✅ Importance color-coding:
|
|
742
|
-
- 🔴 Critical (9-10) - Red
|
|
743
|
-
- 🟠 High (7-8) - Orange
|
|
744
|
-
- 🟡 Medium (4-6) - Yellow
|
|
745
|
-
- 🟢 Low (1-3) - Green
|
|
746
|
-
- ✅ Date range filters (last 7/30/90 days, custom)
|
|
747
|
-
- ✅ Cluster badges showing relationships
|
|
748
|
-
- ✅ Hover tooltips with full content preview
|
|
749
|
-
- ✅ Click to expand full memory details
|
|
750
|
-
- ✅ Export as PDF/HTML
|
|
751
|
-
- ✅ Items per page configurable (default: 50)
|
|
752
|
-
|
|
753
|
-
**4. Search Explorer**
|
|
754
|
-
- ✅ Real-time search (updates as you type)
|
|
755
|
-
- ✅ Visual score bars (0-100% relevance)
|
|
756
|
-
- ✅ Strategy toggle dropdown (semantic/fts/graph/hybrid)
|
|
757
|
-
- ✅ Result highlighting (matched keywords)
|
|
758
|
-
- ✅ Cluster context for each result
|
|
759
|
-
- ✅ Advanced filters:
|
|
760
|
-
- Minimum score threshold (slider)
|
|
761
|
-
- Date range (calendar picker)
|
|
762
|
-
- Tags (multi-select)
|
|
763
|
-
- Importance level (slider 1-10)
|
|
764
|
-
- Clusters (multi-select)
|
|
765
|
-
- Projects (dropdown)
|
|
766
|
-
- ✅ Export results (JSON/CSV)
|
|
767
|
-
- ✅ Keyboard navigation (arrow keys, Enter to select)
|
|
768
|
-
|
|
769
|
-
**5. Graph Visualization**
|
|
770
|
-
- ✅ Interactive force-directed layout
|
|
771
|
-
- ✅ Zoom (mouse wheel) and pan (drag background)
|
|
772
|
-
- ✅ Drag nodes to rearrange
|
|
773
|
-
- ✅ Click clusters to focus
|
|
774
|
-
- ✅ Click entities to see connected memories
|
|
775
|
-
- ✅ Hover for node/edge details
|
|
776
|
-
- ✅ Cluster coloring (unique color per cluster)
|
|
777
|
-
- ✅ Edge thickness = relationship strength
|
|
778
|
-
- ✅ Node size = connection count
|
|
779
|
-
- ✅ Layout options:
|
|
780
|
-
- Force-directed (default)
|
|
781
|
-
- Circular (equal spacing)
|
|
782
|
-
- Hierarchical (tree-like)
|
|
783
|
-
- ✅ Performance limits:
|
|
784
|
-
- Max nodes: 500 (configurable)
|
|
785
|
-
- Min edge weight: 0.3 (hide weak connections)
|
|
786
|
-
- ✅ Export as PNG/SVG
|
|
787
|
-
|
|
788
|
-
**6. Statistics Dashboard**
|
|
789
|
-
- ✅ **Memory Trends (Line Chart):**
|
|
790
|
-
- Memories added over time (daily/weekly/monthly)
|
|
791
|
-
- Toggleable date ranges (7d, 30d, 90d, all)
|
|
792
|
-
- Growth rate calculation
|
|
793
|
-
- ✅ **Tag Cloud (Word Cloud):**
|
|
794
|
-
- Most frequent tags sized by usage
|
|
795
|
-
- Color schemes (configurable)
|
|
796
|
-
- Minimum frequency filter
|
|
797
|
-
- ✅ **Importance Distribution (Pie Chart):**
|
|
798
|
-
- Breakdown of importance levels 1-10
|
|
799
|
-
- Percentages and counts
|
|
800
|
-
- ✅ **Cluster Sizes (Bar Chart):**
|
|
801
|
-
- Number of memories per cluster
|
|
802
|
-
- Sortable by size or name
|
|
803
|
-
- Top N filter
|
|
804
|
-
- ✅ **Pattern Confidence (Table):**
|
|
805
|
-
- Learned patterns with confidence scores
|
|
806
|
-
- Filter by threshold (e.g., 60%+)
|
|
807
|
-
- Sort by confidence or frequency
|
|
808
|
-
- ✅ **Access Heatmap (Calendar Heatmap):**
|
|
809
|
-
- Memory access frequency over time
|
|
810
|
-
- Color intensity = access count
|
|
811
|
-
- Date range selector
|
|
812
|
-
|
|
813
|
-
**7. Advanced Filtering**
|
|
814
|
-
- ✅ Multi-dimensional filters:
|
|
815
|
-
- Date range (preset + custom)
|
|
816
|
-
- Tags (multi-select, AND/OR logic)
|
|
817
|
-
- Importance (range slider 1-10)
|
|
818
|
-
- Clusters (multi-select)
|
|
819
|
-
- Projects (dropdown)
|
|
820
|
-
- Score threshold (search only)
|
|
821
|
-
- ✅ Filter combinations (multiple filters simultaneously)
|
|
822
|
-
- ✅ Filter persistence (saved across sessions)
|
|
823
|
-
- ✅ Export/import filter presets
|
|
824
|
-
- ✅ Reset filters button
|
|
825
|
-
|
|
826
|
-
**8. User Experience Enhancements**
|
|
827
|
-
- ✅ **Dark Mode:**
|
|
828
|
-
- Toggle switch in top-right corner
|
|
829
|
-
- Automatic OS theme detection (optional)
|
|
830
|
-
- High contrast colors for readability
|
|
831
|
-
- Preference saved across sessions
|
|
832
|
-
- ✅ **Keyboard Shortcuts:**
|
|
833
|
-
- `Ctrl+1/2/3/4` - Switch views
|
|
834
|
-
- `Ctrl+F` - Focus search box
|
|
835
|
-
- `Ctrl+D` - Toggle dark mode
|
|
836
|
-
- `Ctrl+R` - Refresh current view
|
|
837
|
-
- `Esc` - Close modal/overlay
|
|
838
|
-
- ✅ **Responsive Design:**
|
|
839
|
-
- Works on desktop, tablet, mobile
|
|
840
|
-
- Touch gestures for graph (zoom/pan)
|
|
841
|
-
- Optimized layouts for small screens
|
|
842
|
-
- ✅ **Real-time Updates:**
|
|
843
|
-
- CLI changes appear immediately in dashboard
|
|
844
|
-
- Auto-refresh on database changes
|
|
845
|
-
- No manual reload needed
|
|
846
|
-
|
|
847
|
-
**9. Documentation**
|
|
848
|
-
- ✅ **New Wiki Page:** `Visualization-Dashboard.md` (2,000+ words)
|
|
849
|
-
- Complete dashboard guide
|
|
850
|
-
- Getting started tutorial
|
|
851
|
-
- Feature tour with examples
|
|
852
|
-
- Configuration options
|
|
853
|
-
- Performance tips
|
|
854
|
-
- Troubleshooting section
|
|
855
|
-
- Screenshot placeholders
|
|
856
|
-
- Use cases for developers and teams
|
|
857
|
-
- ✅ **Updated Wiki Pages:**
|
|
858
|
-
- `Universal-Architecture.md` - Added Layer 8 and Layer 9
|
|
859
|
-
- `Installation.md` - Added "Start Visualization Dashboard" section
|
|
860
|
-
- `Quick-Start-Tutorial.md` - Added "Step 5: Explore Dashboard"
|
|
861
|
-
- `FAQ.md` - Added 5 questions about UI and search
|
|
862
|
-
- `_Sidebar.md` - Added Visualization-Dashboard link
|
|
863
|
-
- ✅ **Updated README.md:**
|
|
864
|
-
- Added "Visualization Dashboard" section
|
|
865
|
-
- Added "Advanced Search" section with strategies table
|
|
866
|
-
- Added "Performance" section with benchmark tables
|
|
867
|
-
- Updated architecture diagram (9 layers)
|
|
868
|
-
- SEO keywords integrated naturally
|
|
869
|
-
|
|
870
|
-
### 🔧 Enhanced
|
|
871
|
-
|
|
872
|
-
**Architecture:**
|
|
873
|
-
- ✅ Expanded from 7-layer to **9-layer architecture**:
|
|
874
|
-
- Layer 9: Visualization (NEW)
|
|
875
|
-
- Layer 8: Hybrid Search (NEW)
|
|
876
|
-
- Layers 1-7: Unchanged (backward compatible)
|
|
877
|
-
- ✅ All layers share the same SQLite database (no duplication)
|
|
878
|
-
- ✅ Dashboard reads from existing database (zero migration)
|
|
879
|
-
|
|
880
|
-
**Search System:**
|
|
881
|
-
- ✅ **Hybrid search (default):**
|
|
882
|
-
- Combines semantic + FTS5 + graph
|
|
883
|
-
- 89% precision (vs 78% semantic-only)
|
|
884
|
-
- 91% recall (vs 82% semantic-only)
|
|
885
|
-
- F1 score: 0.90
|
|
886
|
-
- ✅ **Strategy selection:**
|
|
887
|
-
- CLI flag: `--strategy semantic|fts|graph|hybrid`
|
|
888
|
-
- API parameter: `strategy="hybrid"`
|
|
889
|
-
- Dashboard dropdown: visual toggle
|
|
890
|
-
- ✅ **Score normalization:**
|
|
891
|
-
- All strategies output 0-100% scores
|
|
892
|
-
- Consistent across CLI, API, dashboard
|
|
893
|
-
- Visual bars in dashboard
|
|
894
|
-
|
|
895
|
-
**Performance:**
|
|
896
|
-
- ✅ **Dashboard load times:**
|
|
897
|
-
- 100 memories: < 100ms
|
|
898
|
-
- 500 memories: < 300ms
|
|
899
|
-
- 1,000 memories: < 500ms
|
|
900
|
-
- 5,000 memories: < 2s
|
|
901
|
-
- ✅ **Search speeds (hybrid):**
|
|
902
|
-
- 100 memories: 55ms
|
|
903
|
-
- 500 memories: 65ms
|
|
904
|
-
- 1,000 memories: 80ms
|
|
905
|
-
- 5,000 memories: 150ms
|
|
906
|
-
- ✅ **Graph rendering:**
|
|
907
|
-
- 100 nodes: < 200ms
|
|
908
|
-
- 500 nodes: < 500ms
|
|
909
|
-
- 1,000 nodes: < 1s (with limits)
|
|
910
|
-
- ✅ **Timeline rendering:**
|
|
911
|
-
- 1,000 memories: < 300ms
|
|
912
|
-
- 5,000 memories: < 1s
|
|
913
|
-
|
|
914
|
-
**Configuration:**
|
|
915
|
-
- ✅ New config file: `~/.claude-memory/dashboard_config.json`
|
|
916
|
-
- Port and host settings
|
|
917
|
-
- Default view preference
|
|
918
|
-
- Timeline pagination
|
|
919
|
-
- Search defaults
|
|
920
|
-
- Graph layout options
|
|
921
|
-
- Statistics refresh interval
|
|
922
|
-
- Cache settings
|
|
923
|
-
|
|
924
|
-
### 📊 Performance Benchmarks
|
|
925
|
-
|
|
926
|
-
**Hybrid Search vs Single Strategy (500 memories):**
|
|
927
|
-
|
|
928
|
-
| Strategy | Time | Precision | Recall | F1 Score |
|
|
929
|
-
|----------|------|-----------|--------|----------|
|
|
930
|
-
| Semantic | 45ms | 78% | 82% | 0.80 |
|
|
931
|
-
| FTS5 | 30ms | 92% | 65% | 0.76 |
|
|
932
|
-
| Graph | 60ms | 71% | 88% | 0.79 |
|
|
933
|
-
| **Hybrid** | **80ms** | **89%** | **91%** | **0.90** |
|
|
934
|
-
|
|
935
|
-
**Dashboard Performance (Load Times):**
|
|
936
|
-
|
|
937
|
-
| Dataset Size | Timeline | Search | Graph | Stats |
|
|
938
|
-
|--------------|----------|--------|-------|-------|
|
|
939
|
-
| 100 memories | 100ms | 35ms | 200ms | 150ms |
|
|
940
|
-
| 500 memories | 200ms | 45ms | 500ms | 300ms |
|
|
941
|
-
| 1,000 memories | 300ms | 55ms | 1s | 500ms |
|
|
942
|
-
| 5,000 memories | 1s | 85ms | 3s | 2s |
|
|
943
|
-
|
|
944
|
-
**Scalability:**
|
|
945
|
-
|
|
946
|
-
| Memories | Hybrid Search | Dashboard Load | Graph Build | RAM Usage |
|
|
947
|
-
|----------|---------------|----------------|-------------|-----------|
|
|
948
|
-
| 100 | 55ms | < 100ms | 0.5s | < 30MB |
|
|
949
|
-
| 500 | 65ms | < 300ms | 2s | < 50MB |
|
|
950
|
-
| 1,000 | 80ms | < 500ms | 5s | < 80MB |
|
|
951
|
-
| 5,000 | 150ms | < 2s | 30s | < 150MB |
|
|
952
|
-
| 10,000 | 300ms | < 5s | 90s | < 250MB |
|
|
953
|
-
|
|
954
|
-
### 🔒 Backward Compatibility
|
|
955
|
-
|
|
956
|
-
**100% backward compatible - nothing breaks:**
|
|
957
|
-
- ✅ All v2.1 and v2.0 commands work unchanged
|
|
958
|
-
- ✅ Database schema unchanged (only additions, no modifications)
|
|
959
|
-
- ✅ Configuration format unchanged (new optional fields only)
|
|
960
|
-
- ✅ API unchanged (only additions, no breaking changes)
|
|
961
|
-
- ✅ Performance unchanged or improved (no regressions)
|
|
962
|
-
- ✅ Profile system unchanged
|
|
963
|
-
- ✅ MCP integration unchanged
|
|
964
|
-
- ✅ Skills unchanged
|
|
965
|
-
- ✅ CLI unchanged
|
|
966
|
-
|
|
967
|
-
**Optional features:**
|
|
968
|
-
- Dashboard requires optional dependencies (dash, plotly, pandas, networkx)
|
|
969
|
-
- Graceful degradation if dependencies not installed
|
|
970
|
-
- CLI and API work without dashboard dependencies
|
|
971
|
-
- Installation prompts for optional dependencies (no forced install)
|
|
972
|
-
|
|
973
|
-
**Upgrade path:**
|
|
974
|
-
- Simply run `git pull && ./install.sh`
|
|
975
|
-
- Existing memories preserved
|
|
976
|
-
- No migration required
|
|
977
|
-
- Dashboard auto-configures on first launch
|
|
978
|
-
- Optional: `pip install dash plotly pandas networkx` for dashboard
|
|
979
|
-
|
|
980
|
-
### 🐛 Fixed
|
|
981
|
-
|
|
982
|
-
**No bugs introduced (pure feature addition release)**
|
|
983
|
-
|
|
984
|
-
### 🔐 Security
|
|
985
|
-
|
|
986
|
-
**No security changes (maintained v2.1.0 security posture):**
|
|
987
|
-
- Dashboard binds to localhost only (127.0.0.1)
|
|
988
|
-
- No external network access
|
|
989
|
-
- 100% local processing
|
|
990
|
-
- No telemetry or analytics
|
|
991
|
-
- Optional dependencies validated
|
|
992
|
-
|
|
993
|
-
### 💡 Breaking Changes
|
|
994
|
-
|
|
995
|
-
**NONE - 100% backward compatible**
|
|
996
|
-
|
|
997
|
-
### 📝 Documentation Updates
|
|
998
|
-
|
|
999
|
-
**README.md:**
|
|
1000
|
-
- ✅ Added "Visualization Dashboard" section after Quick Start
|
|
1001
|
-
- ✅ Added "Advanced Search" section with strategies table
|
|
1002
|
-
- ✅ Added "Performance" section with benchmark tables
|
|
1003
|
-
- ✅ Updated architecture diagram to 9 layers
|
|
1004
|
-
- ✅ SEO keywords: visualization, dashboard, semantic search, timeline view, hybrid search
|
|
1005
|
-
|
|
1006
|
-
**Wiki Pages (New):**
|
|
1007
|
-
- ✅ `Visualization-Dashboard.md` (2,000+ words)
|
|
1008
|
-
- Complete dashboard guide
|
|
1009
|
-
- Feature tour with examples
|
|
1010
|
-
- Configuration and troubleshooting
|
|
1011
|
-
- Use cases for developers and teams
|
|
1012
|
-
- Screenshot placeholders
|
|
1013
|
-
- SEO optimized
|
|
1014
|
-
|
|
1015
|
-
**Wiki Pages (Updated):**
|
|
1016
|
-
- ✅ `Universal-Architecture.md` - Added Layer 8 (Hybrid Search) and Layer 9 (Visualization), updated to 9-layer
|
|
1017
|
-
- ✅ `Installation.md` - Added "Start Visualization Dashboard" section
|
|
1018
|
-
- ✅ `Quick-Start-Tutorial.md` - Added "Step 5: Explore Dashboard"
|
|
1019
|
-
- ✅ `FAQ.md` - Added 5 questions about UI and search
|
|
1020
|
-
- ✅ `_Sidebar.md` - Added link to Visualization-Dashboard
|
|
1021
|
-
|
|
1022
|
-
**Attribution:**
|
|
1023
|
-
- ✅ Varun Pratap Bhardwaj attribution on all new pages
|
|
1024
|
-
- ✅ Maintained existing attribution throughout
|
|
1025
|
-
|
|
1026
|
-
### 🎊 Credits
|
|
1027
|
-
|
|
1028
|
-
This release transforms SuperLocalMemory from a CLI-only tool into a **comprehensive visual knowledge management system** while maintaining 100% backward compatibility and the core principle of local-first, privacy-preserving operation.
|
|
1029
|
-
|
|
1030
|
-
**Philosophy:** Advanced features should enhance, not replace. The CLI remains powerful and fast, while the dashboard adds visual exploration for users who need it.
|
|
1031
|
-
|
|
1032
|
-
**Acknowledgments:**
|
|
1033
|
-
- Built on Dash (Plotly) for interactive visualizations
|
|
1034
|
-
- TF-IDF and FTS5 for hybrid search
|
|
1035
|
-
- Co-authored with Claude Sonnet 4.5
|
|
1036
|
-
- Solution Architect: Varun Pratap Bhardwaj
|
|
145
|
+
## [2.4.2] - 2026-02-11
|
|
1037
146
|
|
|
1038
|
-
|
|
147
|
+
**Release Type:** Bug Fix
|
|
1039
148
|
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
**Release Type:** Major Feature Release
|
|
1043
|
-
**Release Date:** February 7, 2026
|
|
1044
|
-
**Version Code:** 2.1.0-universal
|
|
1045
|
-
**Git Tag:** v2.1.0-universal
|
|
1046
|
-
**Commits Since v2.0.0:** 18 commits
|
|
1047
|
-
**Lines Changed:** +3,375 lines, -320 lines (net: +3,055)
|
|
1048
|
-
**New Files:** 22 files
|
|
1049
|
-
**Backward Compatible:** ✅ Yes (100%)
|
|
1050
|
-
|
|
1051
|
-
### 🌐 Universal Integration - MAJOR UPDATE
|
|
1052
|
-
|
|
1053
|
-
**SuperLocalMemory now works across ALL IDEs and CLI tools!**
|
|
1054
|
-
|
|
1055
|
-
This release transforms SuperLocalMemory from Claude-Code-only to a universal memory system that integrates with 11+ tools while maintaining 100% backward compatibility.
|
|
1056
|
-
|
|
1057
|
-
**Key Highlights:**
|
|
1058
|
-
- 🌐 **11+ IDE Support:** Cursor, Windsurf, Claude Desktop, Continue.dev, Cody, Aider, ChatGPT, Perplexity, Zed, OpenCode, Antigravity
|
|
1059
|
-
- 🔧 **Three-Tier Access:** MCP + Skills + CLI (all use same database)
|
|
1060
|
-
- 🤖 **6 Universal Skills:** remember, recall, list-recent, status, build-graph, switch-profile
|
|
1061
|
-
- 🛠️ **MCP Server:** 6 tools, 4 resources, 2 prompts
|
|
1062
|
-
- 🔒 **Attribution Protection:** 6-layer protection system with legal compliance
|
|
1063
|
-
- 📊 **Knowledge Graph:** Leiden clustering with TF-IDF entity extraction
|
|
1064
|
-
- 🧠 **Pattern Learning:** Multi-dimensional identity extraction with confidence scoring
|
|
1065
|
-
- 🚀 **Zero Config:** Auto-detection and configuration during installation
|
|
1066
|
-
- 📝 **Comprehensive Docs:** 1,400+ lines of new documentation
|
|
1067
|
-
|
|
1068
|
-
### 🔧 Post-Release Enhancements (Same Day)
|
|
1069
|
-
|
|
1070
|
-
**Documentation Additions:**
|
|
1071
|
-
- ✅ `docs/MCP-MANUAL-SETUP.md` - Comprehensive manual setup guide for 8+ additional tools
|
|
1072
|
-
- ChatGPT Desktop App integration
|
|
1073
|
-
- Perplexity AI integration
|
|
1074
|
-
- Zed Editor configuration
|
|
1075
|
-
- OpenCode setup instructions
|
|
1076
|
-
- Antigravity IDE configuration
|
|
1077
|
-
- Custom MCP client examples (Python/HTTP)
|
|
1078
|
-
- ✅ `docs/UNIVERSAL-INTEGRATION.md` - Complete universal strategy documentation (15,000+ words)
|
|
1079
|
-
- ✅ `docs/MCP-TROUBLESHOOTING.md` - Debugging guide with 20+ common issues and solutions
|
|
1080
|
-
|
|
1081
|
-
**Enhanced Documentation:**
|
|
1082
|
-
- ✅ `ARCHITECTURE.md` - Added universal integration architecture section
|
|
1083
|
-
- ✅ `QUICKSTART.md` - Improved three-tier access method documentation
|
|
1084
|
-
- ✅ `docs/CLI-COMMANDS-REFERENCE.md` - Enhanced with new `slm` wrapper commands
|
|
1085
|
-
- ✅ `README.md` - Added V3 cross-reference and version comparison
|
|
1086
|
-
|
|
1087
|
-
**Critical Bug Fixes:**
|
|
1088
|
-
- ✅ Fixed MCP server method calls to match actual API:
|
|
1089
|
-
- `store.list_memories()` → `store.list_all()`
|
|
1090
|
-
- `engine.get_clusters()` → `engine.get_stats()`
|
|
1091
|
-
- `learner.get_context()` → `learner.get_identity_context()`
|
|
1092
|
-
- ✅ Enhanced MCP server startup banner with version info
|
|
1093
|
-
- ✅ Improved config file formatting for better readability
|
|
1094
|
-
|
|
1095
|
-
**Total IDE Support:** 11+ tools (Cursor, Windsurf, Claude Desktop, Continue.dev, Cody, Aider, ChatGPT, Perplexity, Zed, OpenCode, Antigravity, plus any terminal)
|
|
1096
|
-
|
|
1097
|
-
### ✨ Added - New Integrations
|
|
1098
|
-
|
|
1099
|
-
**MCP (Model Context Protocol) Integration:**
|
|
1100
|
-
- ✅ Cursor IDE - Native MCP support with auto-configuration
|
|
1101
|
-
- ✅ Windsurf IDE - Full MCP integration
|
|
1102
|
-
- ✅ Claude Desktop - Built-in MCP server support
|
|
1103
|
-
- ✅ VS Code Continue - MCP tools accessible to AI
|
|
1104
|
-
- Auto-detection during installation
|
|
1105
|
-
- Zero manual configuration required
|
|
1106
|
-
|
|
1107
|
-
**Enhanced Skills Support:**
|
|
1108
|
-
- ✅ Continue.dev - Slash commands (`/slm-remember`, `/slm-recall`, `/slm-list-recent`, `/slm-status`, `/slm-build-graph`, `/slm-switch-profile`)
|
|
1109
|
-
- ✅ Cody - Custom commands integrated (all 6 skills)
|
|
1110
|
-
- ✅ Claude Code - Native skills (unchanged, backward compatible)
|
|
1111
|
-
- Auto-configuration for detected tools
|
|
1112
|
-
- Backward compatible with existing Claude Code skills
|
|
1113
|
-
|
|
1114
|
-
### 🎯 Universal Skills System
|
|
1115
|
-
|
|
1116
|
-
**6 Production-Ready Skills:**
|
|
1117
|
-
|
|
1118
|
-
1. **slm-remember** - Save content with intelligent indexing
|
|
1119
|
-
- Automatic entity extraction for knowledge graph
|
|
1120
|
-
- Pattern learning from saved content
|
|
1121
|
-
- Tags, project, and importance metadata
|
|
1122
|
-
- Full documentation in `skills/slm-remember/SKILL.md`
|
|
1123
|
-
|
|
1124
|
-
2. **slm-recall** - Search memories with multi-method retrieval
|
|
1125
|
-
- Semantic search via TF-IDF vectors
|
|
1126
|
-
- Full-text search via SQLite FTS5
|
|
1127
|
-
- Knowledge graph context enhancement
|
|
1128
|
-
- Confidence-scored results
|
|
1129
|
-
- Full documentation in `skills/slm-recall/SKILL.md`
|
|
1130
|
-
|
|
1131
|
-
3. **slm-list-recent** - Display recent memories
|
|
1132
|
-
- Configurable limit (default 10)
|
|
1133
|
-
- Formatted output with metadata
|
|
1134
|
-
- Quick context retrieval
|
|
1135
|
-
- Full documentation in `skills/slm-list-recent/SKILL.md`
|
|
1136
|
-
|
|
1137
|
-
4. **slm-status** - System health and statistics
|
|
1138
|
-
- Memory count and database size
|
|
1139
|
-
- Knowledge graph statistics (clusters, entities)
|
|
1140
|
-
- Pattern learning statistics
|
|
1141
|
-
- Current profile info
|
|
1142
|
-
- Full documentation in `skills/slm-status/SKILL.md`
|
|
1143
|
-
|
|
1144
|
-
5. **slm-build-graph** - Build/rebuild knowledge graph
|
|
1145
|
-
- Leiden clustering algorithm
|
|
1146
|
-
- TF-IDF entity extraction
|
|
1147
|
-
- Auto-cluster naming
|
|
1148
|
-
- Relationship discovery
|
|
1149
|
-
- Full documentation in `skills/slm-build-graph/SKILL.md`
|
|
1150
|
-
|
|
1151
|
-
6. **slm-switch-profile** - Change active profile
|
|
1152
|
-
- Isolated memory contexts
|
|
1153
|
-
- Use cases: work/personal/client separation
|
|
1154
|
-
- Profile-specific graphs and patterns
|
|
1155
|
-
- Full documentation in `skills/slm-switch-profile/SKILL.md`
|
|
1156
|
-
|
|
1157
|
-
**Skills Architecture:**
|
|
1158
|
-
- Metadata-first design (SKILL.md in each skill directory)
|
|
1159
|
-
- Version tracked (2.1.0)
|
|
1160
|
-
- MIT licensed with attribution preserved
|
|
1161
|
-
- Compatible with Claude Code, Continue.dev, Cody
|
|
1162
|
-
- Progressive disclosure (simple → advanced usage)
|
|
1163
|
-
- Comprehensive documentation (100+ lines per skill)
|
|
1164
|
-
|
|
1165
|
-
**Universal CLI Wrapper:**
|
|
1166
|
-
- ✅ New `slm` command - Simple syntax for any terminal
|
|
1167
|
-
- ✅ `aider-smart` wrapper - Auto-context injection for Aider CLI
|
|
1168
|
-
- Works with any scripting environment
|
|
1169
|
-
- Bash and Zsh completion support
|
|
1170
|
-
|
|
1171
|
-
### 📦 New Files
|
|
1172
|
-
|
|
1173
|
-
**Core:**
|
|
1174
|
-
- `mcp_server.py` - Complete MCP server implementation (6 tools, 4 resources, 2 prompts)
|
|
1175
|
-
- `bin/slm` - Universal CLI wrapper
|
|
1176
|
-
- `bin/aider-smart` - Aider integration with auto-context
|
|
1177
|
-
|
|
1178
|
-
**Configurations:**
|
|
1179
|
-
- `configs/claude-desktop-mcp.json` - Claude Desktop MCP config
|
|
1180
|
-
- `configs/cursor-mcp.json` - Cursor IDE MCP config
|
|
1181
|
-
- `configs/windsurf-mcp.json` - Windsurf IDE MCP config
|
|
1182
|
-
- `configs/continue-mcp.yaml` - Continue.dev MCP config
|
|
1183
|
-
- `configs/continue-skills.yaml` - Continue.dev slash commands
|
|
1184
|
-
- `configs/cody-commands.json` - Cody custom commands
|
|
1185
|
-
|
|
1186
|
-
**Completions:**
|
|
1187
|
-
- `completions/slm.bash` - Bash autocomplete
|
|
1188
|
-
- `completions/slm.zsh` - Zsh autocomplete
|
|
1189
|
-
|
|
1190
|
-
### 🔧 Enhanced
|
|
1191
|
-
|
|
1192
|
-
**install.sh:**
|
|
1193
|
-
- Auto-detects installed IDEs (Cursor, Windsurf, Claude Desktop, Continue, Cody)
|
|
1194
|
-
- Auto-configures MCP server for detected tools
|
|
1195
|
-
- Installs MCP SDK if not present
|
|
1196
|
-
- Installs universal CLI wrapper
|
|
1197
|
-
- Configures shell completions
|
|
1198
|
-
- Zero breaking changes to existing installation
|
|
1199
|
-
|
|
1200
|
-
**install-skills.sh:**
|
|
1201
|
-
- Detects Continue.dev and configures slash commands
|
|
1202
|
-
- Detects Cody and configures custom commands
|
|
1203
|
-
- Backs up existing configurations
|
|
1204
|
-
- Smart merging for existing configs
|
|
1205
|
-
|
|
1206
|
-
**README.md:**
|
|
1207
|
-
- Added "Works Everywhere" section
|
|
1208
|
-
- Updated comparison table with universal integration
|
|
1209
|
-
- New CLI commands section (simple + original)
|
|
1210
|
-
- Auto-detection documentation
|
|
1211
|
-
|
|
1212
|
-
### 🎯 User Experience
|
|
1213
|
-
|
|
1214
|
-
**For Existing Users:**
|
|
1215
|
-
- ✅ Zero breaking changes - all existing commands work unchanged
|
|
1216
|
-
- ✅ Automatic upgrade path - just run `./install.sh`
|
|
1217
|
-
- ✅ New tools auto-configured during installation
|
|
1218
|
-
- ✅ Original skills preserved and functional
|
|
1219
|
-
|
|
1220
|
-
**For New Users:**
|
|
1221
|
-
- ✅ One installation works everywhere
|
|
1222
|
-
- ✅ Auto-detects and configures all tools
|
|
1223
|
-
- ✅ Simple CLI commands (`slm remember`)
|
|
1224
|
-
- ✅ Zero manual configuration
|
|
1225
|
-
|
|
1226
|
-
### 🏗️ Architecture
|
|
1227
|
-
|
|
1228
|
-
**Three-Tier Access Model:**
|
|
1229
|
-
1. **MCP** (Modern) - Native IDE integration via Model Context Protocol
|
|
1230
|
-
2. **Skills** (Enhanced) - Slash commands in Claude, Continue, Cody
|
|
1231
|
-
3. **CLI** (Universal) - Simple commands that work anywhere
|
|
1232
|
-
|
|
1233
|
-
**All tiers use the SAME local SQLite database** - no data duplication, no conflicts.
|
|
1234
|
-
|
|
1235
|
-
### 📊 Compatibility Matrix
|
|
1236
|
-
|
|
1237
|
-
| Tool | Integration Method | Status |
|
|
1238
|
-
|------|-------------------|--------|
|
|
1239
|
-
| Claude Code | Skills (unchanged) | ✅ |
|
|
1240
|
-
| Cursor | MCP Auto-configured | ✅ |
|
|
1241
|
-
| Windsurf | MCP Auto-configured | ✅ |
|
|
1242
|
-
| Claude Desktop | MCP Auto-configured | ✅ |
|
|
1243
|
-
| Continue.dev | MCP + Skills | ✅ |
|
|
1244
|
-
| Cody | Custom Commands | ✅ |
|
|
1245
|
-
| Aider | Smart Wrapper | ✅ |
|
|
1246
|
-
| Any Terminal | Universal CLI | ✅ |
|
|
1247
|
-
|
|
1248
|
-
### 🐛 Fixed
|
|
1249
|
-
|
|
1250
|
-
**Critical Fixes (Pre-Release):**
|
|
1251
|
-
- Fixed MCP server method calls to match actual API:
|
|
1252
|
-
- `store.list_memories()` → `store.list_all()` (correct method name)
|
|
1253
|
-
- `engine.get_clusters()` → `engine.get_stats()` (correct method name)
|
|
1254
|
-
- `learner.get_context()` → `learner.get_identity_context()` (correct method name)
|
|
1255
|
-
- Fixed Python script references in CLI hooks (memory_store_v2.py path)
|
|
1256
|
-
- Fixed shell detection for PATH configuration (bash vs zsh)
|
|
1257
|
-
- Fixed auto-configure PATH for truly global CLI access
|
|
1258
|
-
|
|
1259
|
-
**Installation Fixes:**
|
|
1260
|
-
- Interactive optional dependencies installation (no forced installs)
|
|
1261
|
-
- Proper error handling for missing Python packages
|
|
1262
|
-
- Better dependency detection (scikit-learn, leidenalg)
|
|
1263
|
-
- Fixed database auto-initialization with full V2 schema
|
|
1264
|
-
|
|
1265
|
-
**MCP Server Fixes:**
|
|
1266
|
-
- Fixed non-existent method calls causing startup failures
|
|
1267
|
-
- Enhanced error messages with specific method names
|
|
1268
|
-
- Proper JSON formatting in config files
|
|
1269
|
-
- Added version info to startup banner
|
|
1270
|
-
|
|
1271
|
-
**CLI Fixes:**
|
|
1272
|
-
- Fixed slm wrapper command not found issues
|
|
1273
|
-
- Corrected aider-smart script permissions
|
|
1274
|
-
- Fixed bash completion path detection
|
|
1275
|
-
- Proper symlink handling for bin directory
|
|
1276
|
-
|
|
1277
|
-
**Documentation Fixes:**
|
|
1278
|
-
- Corrected installation paths in all documentation
|
|
1279
|
-
- Fixed broken internal links
|
|
1280
|
-
- Updated version numbers consistently
|
|
1281
|
-
- Improved troubleshooting steps
|
|
1282
|
-
|
|
1283
|
-
### 🔒 Backward Compatibility
|
|
1284
|
-
|
|
1285
|
-
**100% backward compatible - nothing breaks:**
|
|
1286
|
-
- ✅ All existing skills work unchanged
|
|
1287
|
-
- ✅ All bash commands work unchanged
|
|
1288
|
-
- ✅ Database schema unchanged (only additions, no modifications)
|
|
1289
|
-
- ✅ Configuration format unchanged (only new optional fields)
|
|
1290
|
-
- ✅ Performance unchanged (no regressions)
|
|
1291
|
-
- ✅ Profile system unchanged
|
|
1292
|
-
- ✅ API unchanged (only additions, no breaking changes)
|
|
1293
|
-
|
|
1294
|
-
**Upgrade path:** Simply run `./install.sh` - new features auto-configure while preserving existing functionality.
|
|
1295
|
-
|
|
1296
|
-
**Migration notes:** None required - v2.0.0 users can upgrade seamlessly.
|
|
1297
|
-
|
|
1298
|
-
### 📝 Documentation
|
|
1299
|
-
|
|
1300
|
-
**New Documentation:**
|
|
1301
|
-
- Universal integration implementation plan (15,000+ words)
|
|
1302
|
-
- Testing checklist (150+ test cases)
|
|
1303
|
-
- Progress tracking system
|
|
1304
|
-
- Per-tool quick-start guides
|
|
1305
|
-
- `docs/MCP-MANUAL-SETUP.md` - Manual configuration guide for 8+ additional IDEs
|
|
1306
|
-
- `docs/MCP-TROUBLESHOOTING.md` - Comprehensive troubleshooting guide
|
|
1307
|
-
- `docs/UNIVERSAL-INTEGRATION.md` - Complete universal strategy documentation
|
|
1308
|
-
|
|
1309
|
-
**Updated Documentation:**
|
|
1310
|
-
- README.md - Universal positioning and V3 cross-reference
|
|
1311
|
-
- INSTALL.md - Auto-detection details
|
|
1312
|
-
- ARCHITECTURE.md - Universal integration architecture
|
|
1313
|
-
- QUICKSTART.md - Three-tier access methods
|
|
1314
|
-
- CLI-COMMANDS-REFERENCE.md - New slm commands
|
|
1315
|
-
|
|
1316
|
-
### 🔐 Attribution Protection System
|
|
1317
|
-
|
|
1318
|
-
**Multi-Layer Attribution Protection:**
|
|
1319
|
-
- ✅ **Layer 1: Source Code Headers** - Copyright headers in all Python files (legally required)
|
|
1320
|
-
- ✅ **Layer 2: Documentation Attribution** - Footer attribution in all markdown files
|
|
1321
|
-
- ✅ **Layer 3: Database-Level Attribution** - Creator metadata embedded in SQLite database
|
|
1322
|
-
- `creator_metadata` table with cryptographic signature
|
|
1323
|
-
- Includes: creator name, role, GitHub, project URL, license, version
|
|
1324
|
-
- Verification hash: `sha256:c9f3d1a8b5e2f4c6d8a9b3e7f1c4d6a8b9c3e7f2d5a8c1b4e6f9d2a7c5b8e1`
|
|
1325
|
-
- ✅ **Layer 4: Runtime Attribution** - Startup banners display attribution
|
|
1326
|
-
- ✅ **Layer 5: License-Based Protection** - MIT License with explicit attribution requirements
|
|
1327
|
-
- ✅ **Layer 6: Digital Signature** - Cryptographic signature in ATTRIBUTION.md
|
|
1328
|
-
|
|
1329
|
-
**New Attribution Files:**
|
|
1330
|
-
- `ATTRIBUTION.md` - Comprehensive attribution requirements and enforcement
|
|
1331
|
-
- `docs/ATTRIBUTION-PROTECTION-SUMMARY.md` - Multi-layer protection documentation
|
|
1332
|
-
- `ATTRIBUTION-IMPLEMENTATION-REPORT.md` - Technical implementation details
|
|
1333
|
-
|
|
1334
|
-
**API Enhancements:**
|
|
1335
|
-
- `MemoryStoreV2.get_attribution()` - Retrieve creator metadata from database
|
|
1336
|
-
- Attribution display in MCP server startup banner
|
|
1337
|
-
- Attribution preserved in all skills metadata
|
|
1338
|
-
|
|
1339
|
-
**Legal Compliance:**
|
|
1340
|
-
- MIT License with attribution requirements clearly documented
|
|
1341
|
-
- Prohibited uses explicitly stated (credit removal, impersonation, rebranding)
|
|
1342
|
-
- Enforcement procedures documented
|
|
1343
|
-
- Digital signature for authenticity verification
|
|
1344
|
-
|
|
1345
|
-
### 🔒 Security
|
|
1346
|
-
|
|
1347
|
-
**Security Hardening (v2.0.0 foundation):**
|
|
1348
|
-
- ✅ **API Server:** Binds to localhost only (127.0.0.1) instead of 0.0.0.0
|
|
1349
|
-
- Prevents external network access
|
|
1350
|
-
- Only local processes can connect
|
|
1351
|
-
- No exposure to public internet
|
|
1352
|
-
|
|
1353
|
-
- ✅ **Path Traversal Protection:** Profile management validates paths
|
|
1354
|
-
- Prevents directory traversal attacks (../)
|
|
1355
|
-
- Sanitizes user input for file paths
|
|
1356
|
-
- Restricts operations to designated directories
|
|
1357
|
-
|
|
1358
|
-
- ✅ **Input Validation:** Size limits on all user inputs
|
|
1359
|
-
- Content: 1MB maximum
|
|
1360
|
-
- Summary: 10KB maximum
|
|
1361
|
-
- Tags: 50 characters each, 20 tags maximum
|
|
1362
|
-
- Prevents memory exhaustion attacks
|
|
1363
|
-
|
|
1364
|
-
- ✅ **Resource Limits:** Graph build limits
|
|
1365
|
-
- Maximum 5000 memories per graph build
|
|
1366
|
-
- Prevents CPU/memory exhaustion
|
|
1367
|
-
- Graceful degradation for large datasets
|
|
1368
|
-
|
|
1369
|
-
- ✅ **No External Dependencies:** Zero external API calls
|
|
1370
|
-
- No telemetry or tracking
|
|
1371
|
-
- No auto-updates
|
|
1372
|
-
- No cloud sync
|
|
1373
|
-
- Complete air-gap capability
|
|
1374
|
-
|
|
1375
|
-
- ✅ **Data Integrity:** SQLite ACID transactions
|
|
1376
|
-
- Atomic operations
|
|
1377
|
-
- Consistent state even on crashes
|
|
1378
|
-
- Automatic backups before destructive operations
|
|
1379
|
-
|
|
1380
|
-
**Privacy Guarantees:**
|
|
1381
|
-
- 100% local storage (no cloud sync)
|
|
1382
|
-
- No telemetry or analytics
|
|
1383
|
-
- No external network calls
|
|
1384
|
-
- User owns all data
|
|
1385
|
-
- Standard filesystem permissions
|
|
1386
|
-
|
|
1387
|
-
### 🎊 Credits
|
|
1388
|
-
|
|
1389
|
-
This release was completed in a single day with parallel implementation streams, comprehensive testing, and zero breaking changes to existing functionality.
|
|
1390
|
-
|
|
1391
|
-
**Philosophy:** Universal integration should be additive, not disruptive. Every existing user's workflow remains unchanged while gaining new capabilities automatically.
|
|
1392
|
-
|
|
1393
|
-
**Acknowledgments:**
|
|
1394
|
-
- Built on research from GraphRAG (Microsoft), PageIndex (Meta AI), xMemory (Stanford)
|
|
1395
|
-
- Co-authored with Claude Sonnet 4.5
|
|
1396
|
-
- Solution Architect: Varun Pratap Bhardwaj
|
|
149
|
+
### Fixed
|
|
150
|
+
- Profile isolation bug in UI dashboard - Graph stats now filter by active profile
|
|
1397
151
|
|
|
1398
152
|
---
|
|
1399
153
|
|
|
1400
|
-
## [2.
|
|
1401
|
-
|
|
1402
|
-
### Initial Release - Complete Rewrite
|
|
1403
|
-
|
|
1404
|
-
SuperLocalMemory V2 represents a complete architectural rewrite with intelligent knowledge graphs, pattern learning, and enhanced organization capabilities.
|
|
1405
|
-
|
|
1406
|
-
---
|
|
154
|
+
## [2.4.1] - 2026-02-11
|
|
1407
155
|
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
### 4-Layer Architecture
|
|
1411
|
-
|
|
1412
|
-
**Layer 1: Enhanced Storage**
|
|
1413
|
-
- SQLite database with FTS5 full-text search
|
|
1414
|
-
- Tag management system
|
|
1415
|
-
- Metadata support for extensibility
|
|
1416
|
-
- Parent-child memory relationships
|
|
1417
|
-
- Compression tiers (1-3) for space optimization
|
|
1418
|
-
|
|
1419
|
-
**Layer 2: Hierarchical Index (PageIndex-inspired)**
|
|
1420
|
-
- Tree structure for memory organization
|
|
1421
|
-
- Parent-child relationship management
|
|
1422
|
-
- Breadcrumb navigation paths
|
|
1423
|
-
- Contextual grouping capabilities
|
|
1424
|
-
- Fast ancestor/descendant queries
|
|
1425
|
-
|
|
1426
|
-
**Layer 3: Knowledge Graph (GraphRAG)**
|
|
1427
|
-
- TF-IDF entity extraction from memories
|
|
1428
|
-
- Leiden clustering algorithm for relationship discovery
|
|
1429
|
-
- Auto-naming of thematic clusters
|
|
1430
|
-
- Similarity-based memory connections
|
|
1431
|
-
- Graph statistics and visualization data
|
|
1432
|
-
- Related memory suggestions
|
|
1433
|
-
|
|
1434
|
-
**Layer 4: Pattern Learning (xMemory-inspired)**
|
|
1435
|
-
- Frequency analysis across memories
|
|
1436
|
-
- Context extraction for user preferences
|
|
1437
|
-
- Multi-category pattern recognition:
|
|
1438
|
-
- Framework preferences (React, Vue, Angular, etc.)
|
|
1439
|
-
- Language preferences (Python, JavaScript, etc.)
|
|
1440
|
-
- Architecture patterns (microservices, monolith, etc.)
|
|
1441
|
-
- Security approaches (JWT, OAuth, etc.)
|
|
1442
|
-
- Coding style priorities
|
|
1443
|
-
- Confidence scoring (0.0-1.0 scale)
|
|
1444
|
-
- Identity profile generation for AI context
|
|
1445
|
-
|
|
1446
|
-
### 🕸️ Knowledge Graph Features (GraphRAG)
|
|
1447
|
-
|
|
1448
|
-
**Leiden Clustering Algorithm:**
|
|
1449
|
-
- **Community Detection:** Finds thematic groups automatically without manual tagging
|
|
1450
|
-
- **Resolution Parameter:** Adjustable granularity (default: 1.0)
|
|
1451
|
-
- **Deterministic:** Same memories always produce same clusters
|
|
1452
|
-
- **Scalable:** Handles 100-500 memories efficiently
|
|
1453
|
-
- **Quality Metrics:** Modularity scoring for cluster quality
|
|
1454
|
-
|
|
1455
|
-
**TF-IDF Entity Extraction:**
|
|
1456
|
-
- **Automatic Entity Discovery:** Extracts important terms from memories
|
|
1457
|
-
- **Frequency-based Weighting:** More important = higher weight
|
|
1458
|
-
- **Stop Word Filtering:** Removes common words (the, and, etc.)
|
|
1459
|
-
- **Case Insensitive:** "React" and "react" treated as same entity
|
|
1460
|
-
- **Minimum Threshold:** Only entities with TF-IDF score > 0.1
|
|
1461
|
-
|
|
1462
|
-
**Cluster Auto-Naming:**
|
|
1463
|
-
- **Smart Name Generation:** Uses top entities to create descriptive cluster names
|
|
1464
|
-
- **Multiple Strategies:**
|
|
1465
|
-
- Single dominant entity: "React Development"
|
|
1466
|
-
- Multiple related entities: "JWT & OAuth Security"
|
|
1467
|
-
- Topic grouping: "Performance Optimization"
|
|
1468
|
-
- **Fallback:** "Topic 1", "Topic 2" if auto-naming fails
|
|
1469
|
-
|
|
1470
|
-
**Relationship Discovery:**
|
|
1471
|
-
- **Similarity-Based Connections:** Cosine similarity between memory vectors
|
|
1472
|
-
- **Related Memory Suggestions:** Find memories related to a specific memory
|
|
1473
|
-
- **Cross-Cluster Relationships:** Discovers connections across thematic groups
|
|
1474
|
-
- **Strength Scoring:** 0.0-1.0 similarity scores for relationships
|
|
1475
|
-
|
|
1476
|
-
**Graph Statistics:**
|
|
1477
|
-
- Total clusters count
|
|
1478
|
-
- Cluster size distribution (min/max/average)
|
|
1479
|
-
- Total entities extracted
|
|
1480
|
-
- Memory distribution across clusters
|
|
1481
|
-
- Isolated memories (not in any cluster)
|
|
1482
|
-
|
|
1483
|
-
**MCP Integration:**
|
|
1484
|
-
- `build_graph()` tool - Rebuild entire graph
|
|
1485
|
-
- `memory://graph/clusters` resource - View all clusters
|
|
1486
|
-
- Graph statistics in `get_status()` tool
|
|
1487
|
-
- Cluster information in search results
|
|
1488
|
-
|
|
1489
|
-
**Example Clusters Discovered:**
|
|
1490
|
-
- "Authentication & Security" (JWT, tokens, OAuth, sessions)
|
|
1491
|
-
- "Frontend Development" (React, components, hooks, state)
|
|
1492
|
-
- "Performance Optimization" (caching, indexes, queries, speed)
|
|
1493
|
-
- "Database Design" (SQL, schema, migrations, relationships)
|
|
1494
|
-
- "API Development" (REST, GraphQL, endpoints, versioning)
|
|
1495
|
-
|
|
1496
|
-
### 🧠 Pattern Learning System (xMemory)
|
|
1497
|
-
|
|
1498
|
-
**Multi-dimensional Analysis:**
|
|
1499
|
-
|
|
1500
|
-
1. **Framework Preferences:**
|
|
1501
|
-
- Detects: React, Vue, Angular, Svelte, Next.js, etc.
|
|
1502
|
-
- Confidence scoring based on frequency
|
|
1503
|
-
- Example: "React (73% confidence)" means 73% of frontend mentions use React
|
|
1504
|
-
|
|
1505
|
-
2. **Language Preferences:**
|
|
1506
|
-
- Detects: Python, JavaScript, TypeScript, Go, Rust, etc.
|
|
1507
|
-
- Context-aware (API vs frontend vs backend)
|
|
1508
|
-
- Example: "Python for APIs, TypeScript for frontend"
|
|
1509
|
-
|
|
1510
|
-
3. **Architecture Patterns:**
|
|
1511
|
-
- Detects: Microservices, monolith, serverless, event-driven
|
|
1512
|
-
- Style preferences (REST vs GraphQL, SQL vs NoSQL)
|
|
1513
|
-
- Example: "Microservices (58% confidence)"
|
|
1514
|
-
|
|
1515
|
-
4. **Security Approaches:**
|
|
1516
|
-
- Detects: JWT, OAuth, API keys, certificates
|
|
1517
|
-
- Session management patterns
|
|
1518
|
-
- Example: "JWT tokens (81% confidence)"
|
|
1519
|
-
|
|
1520
|
-
5. **Coding Style Priorities:**
|
|
1521
|
-
- Detects: Performance vs readability, TDD vs pragmatic
|
|
1522
|
-
- Testing preferences (Jest, Pytest, etc.)
|
|
1523
|
-
- Example: "Performance over readability (58% confidence)"
|
|
1524
|
-
|
|
1525
|
-
6. **Domain Terminology:**
|
|
1526
|
-
- Learns project-specific terms
|
|
1527
|
-
- Industry vocabulary (fintech, healthcare, etc.)
|
|
1528
|
-
- Team conventions
|
|
1529
|
-
|
|
1530
|
-
**Confidence Scoring Algorithm:**
|
|
1531
|
-
- **Frequency-based:** More mentions = higher confidence
|
|
1532
|
-
- **Recency weighting:** Recent patterns weighted more
|
|
1533
|
-
- **Threshold:** Only patterns with >30% confidence reported
|
|
1534
|
-
- **Statistical:** Uses standard deviation for significance
|
|
1535
|
-
|
|
1536
|
-
**Adaptive Learning:**
|
|
1537
|
-
- Patterns evolve with new memories
|
|
1538
|
-
- Automatic recomputation on pattern update
|
|
1539
|
-
- Incremental learning (no full rebuild required)
|
|
1540
|
-
- Context decay for old patterns
|
|
1541
|
-
|
|
1542
|
-
**Identity Context Generation:**
|
|
1543
|
-
- Creates AI assistant context from learned patterns
|
|
1544
|
-
- Configurable confidence threshold (default: 0.5)
|
|
1545
|
-
- Formatted for Claude/GPT prompt injection
|
|
1546
|
-
- Example output:
|
|
1547
|
-
```
|
|
1548
|
-
Your Coding Identity:
|
|
1549
|
-
- Framework preference: React (73% confidence)
|
|
1550
|
-
- Language: Python for backends (65% confidence)
|
|
1551
|
-
- Style: Performance-focused (58% confidence)
|
|
1552
|
-
- Testing: Jest + React Testing Library (65% confidence)
|
|
1553
|
-
- API style: REST over GraphQL (81% confidence)
|
|
1554
|
-
```
|
|
1555
|
-
|
|
1556
|
-
**MCP Integration:**
|
|
1557
|
-
- `memory://patterns/identity` resource - View learned patterns
|
|
1558
|
-
- Pattern statistics in `get_status()` tool
|
|
1559
|
-
- Automatic pattern learning on `remember()` calls
|
|
1560
|
-
- Identity context in AI tool prompts
|
|
1561
|
-
|
|
1562
|
-
**Storage:**
|
|
1563
|
-
- `learned_patterns` table in SQLite
|
|
1564
|
-
- Includes: category, pattern, confidence, frequency, last_seen
|
|
1565
|
-
- Queryable via SQL for custom analysis
|
|
1566
|
-
- Preserved across profile switches
|
|
1567
|
-
|
|
1568
|
-
### Compression System
|
|
1569
|
-
|
|
1570
|
-
- **Progressive Summarization:**
|
|
1571
|
-
- Tier 1: Original full content (recent memories)
|
|
1572
|
-
- Tier 2: 60% compression via intelligent summarization
|
|
1573
|
-
- Tier 3: 96% compression via cold storage archival
|
|
1574
|
-
|
|
1575
|
-
- **Age-based Tiering:** Automatic promotion based on memory age
|
|
1576
|
-
- **Lossless Archive:** Tier 3 memories stored in JSON format
|
|
1577
|
-
- **Space Savings:** 60-96% reduction for older memories
|
|
1578
|
-
|
|
1579
|
-
### Profile Management
|
|
1580
|
-
|
|
1581
|
-
- **Multi-Profile Support:** Separate memory contexts
|
|
1582
|
-
- **Isolated Databases:** Each profile has independent storage
|
|
1583
|
-
- **Profile Switching:** Easy context changes via CLI
|
|
1584
|
-
- **Use Cases:**
|
|
1585
|
-
- Separate work/personal memories
|
|
1586
|
-
- Client-specific knowledge bases
|
|
1587
|
-
- Project-specific contexts
|
|
1588
|
-
- Team collaboration spaces
|
|
1589
|
-
|
|
1590
|
-
**CLI Commands:**
|
|
1591
|
-
```bash
|
|
1592
|
-
memory-profile create <name>
|
|
1593
|
-
memory-profile switch <name>
|
|
1594
|
-
memory-profile list
|
|
1595
|
-
memory-profile delete <name>
|
|
1596
|
-
```
|
|
1597
|
-
|
|
1598
|
-
### Reset System
|
|
1599
|
-
|
|
1600
|
-
- **Soft Reset:** Clear memories, preserve schema and configuration
|
|
1601
|
-
- **Hard Reset:** Complete database deletion with confirmation
|
|
1602
|
-
- **Layer-Selective Reset:** Reset specific layers (graph, patterns, etc.)
|
|
1603
|
-
- **Automatic Backups:** Created before all destructive operations
|
|
1604
|
-
- **Safety Confirmations:** Required for hard resets
|
|
1605
|
-
|
|
1606
|
-
**Reset options:**
|
|
1607
|
-
```bash
|
|
1608
|
-
memory-reset soft # Clear data, keep structure
|
|
1609
|
-
memory-reset hard --confirm # Nuclear option
|
|
1610
|
-
memory-reset layer --layers graph patterns # Selective reset
|
|
1611
|
-
```
|
|
1612
|
-
|
|
1613
|
-
### CLI Enhancements
|
|
1614
|
-
|
|
1615
|
-
**New Commands:**
|
|
1616
|
-
- `memory-status` - System overview and statistics
|
|
1617
|
-
- `memory-profile` - Profile management
|
|
1618
|
-
- `memory-reset` - Safe reset operations
|
|
1619
|
-
|
|
1620
|
-
**Improved Output:**
|
|
1621
|
-
- Color-coded status indicators
|
|
1622
|
-
- Progress bars for long operations
|
|
1623
|
-
- Detailed error messages
|
|
1624
|
-
- Safety warnings for destructive actions
|
|
156
|
+
**Release Type:** Hierarchical Clustering & Documentation
|
|
1625
157
|
|
|
158
|
+
### Added
|
|
159
|
+
- **Hierarchical Leiden clustering** - Large clusters auto-subdivided up to 3 levels deep
|
|
160
|
+
- **Community summaries** - TF-IDF structured reports for every cluster
|
|
161
|
+
- Schema migration for `summary`, `parent_cluster_id`, `depth` columns
|
|
1626
162
|
|
|
1627
163
|
---
|
|
1628
164
|
|
|
1629
|
-
##
|
|
1630
|
-
|
|
1631
|
-
### Performance Enhancements
|
|
1632
|
-
|
|
1633
|
-
**Search Speed:**
|
|
1634
|
-
- V1: ~150ms average
|
|
1635
|
-
- V2: ~45ms average
|
|
1636
|
-
- **Improvement: 3.3x faster**
|
|
1637
|
-
|
|
1638
|
-
**Graph Building:**
|
|
1639
|
-
- 20 memories: <0.03 seconds
|
|
1640
|
-
- 100 memories: ~2 seconds
|
|
1641
|
-
- 500 memories: ~15 seconds
|
|
1642
|
-
|
|
1643
|
-
**Database Efficiency:**
|
|
1644
|
-
- With compression: 60% smaller for aged memories
|
|
1645
|
-
- With archival: 96% reduction for old memories
|
|
1646
|
-
|
|
1647
|
-
### Architecture Improvements
|
|
1648
|
-
|
|
1649
|
-
**V1 Limitations:**
|
|
1650
|
-
- Flat memory storage
|
|
1651
|
-
- No relationship discovery
|
|
1652
|
-
- Manual organization only
|
|
1653
|
-
- No pattern learning
|
|
1654
|
-
- Single profile
|
|
1655
|
-
|
|
1656
|
-
**V2 Enhancements:**
|
|
1657
|
-
- 4-layer intelligent architecture
|
|
1658
|
-
- Auto-discovered relationships
|
|
1659
|
-
- Hierarchical organization
|
|
1660
|
-
- Pattern learning with confidence scores
|
|
1661
|
-
- Multi-profile support
|
|
1662
|
-
|
|
1663
|
-
### Search Improvements
|
|
1664
|
-
|
|
1665
|
-
**V1:**
|
|
1666
|
-
- Basic keyword search
|
|
1667
|
-
- Tag filtering
|
|
1668
|
-
- No relationship context
|
|
1669
|
-
|
|
1670
|
-
**V2:**
|
|
1671
|
-
- FTS5 full-text search (faster)
|
|
1672
|
-
- Graph-enhanced results
|
|
1673
|
-
- Related memory suggestions
|
|
1674
|
-
- Cluster-based discovery
|
|
1675
|
-
- Pattern-informed context
|
|
1676
|
-
|
|
1677
|
-
### User Experience
|
|
165
|
+
## [2.4.0] - 2026-02-11
|
|
1678
166
|
|
|
1679
|
-
**
|
|
1680
|
-
- Progress indicators for long operations
|
|
1681
|
-
- Detailed statistics (graph, patterns, compression)
|
|
1682
|
-
- Safety confirmations for destructive actions
|
|
1683
|
-
- Clear error messages with suggestions
|
|
167
|
+
**Release Type:** Profile System & Intelligence
|
|
1684
168
|
|
|
1685
|
-
|
|
1686
|
-
-
|
|
1687
|
-
-
|
|
1688
|
-
-
|
|
1689
|
-
-
|
|
169
|
+
### Added
|
|
170
|
+
- **Column-based memory profiles** - Single DB with `profile` column, instant switching via `profiles.json`
|
|
171
|
+
- **Auto-backup system** - Configurable interval, retention policy, one-click backup from UI
|
|
172
|
+
- **MACLA confidence scorer** - Beta-Binomial Bayesian posterior (arXiv:2512.18950)
|
|
173
|
+
- **UI: Profile Management** - Create, switch, delete profiles from dashboard
|
|
174
|
+
- **UI: Settings tab** - Auto-backup config, history, profile management
|
|
175
|
+
- **UI: Column sorting** - Click headers in Memories table
|
|
1690
176
|
|
|
1691
177
|
---
|
|
1692
178
|
|
|
1693
|
-
##
|
|
1694
|
-
|
|
1695
|
-
### Dependencies
|
|
1696
|
-
|
|
1697
|
-
**Core System:**
|
|
1698
|
-
- Python 3.8+ (required)
|
|
1699
|
-
- SQLite 3.35+ (usually pre-installed)
|
|
1700
|
-
- Python standard library only (no external packages)
|
|
1701
|
-
|
|
1702
|
-
**Optional Enhancements:**
|
|
1703
|
-
- scikit-learn (for advanced TF-IDF)
|
|
1704
|
-
- leidenalg (for advanced clustering)
|
|
1705
|
-
|
|
1706
|
-
**Fallback implementations provided** for systems without optional dependencies.
|
|
1707
|
-
|
|
1708
|
-
### Database Schema
|
|
1709
|
-
|
|
1710
|
-
**New Tables:**
|
|
1711
|
-
```sql
|
|
1712
|
-
-- Graph storage
|
|
1713
|
-
CREATE TABLE graph_clusters (...)
|
|
1714
|
-
CREATE TABLE graph_cluster_members (...)
|
|
1715
|
-
CREATE TABLE graph_entities (...)
|
|
1716
|
-
|
|
1717
|
-
-- Pattern learning
|
|
1718
|
-
CREATE TABLE learned_patterns (...)
|
|
1719
|
-
|
|
1720
|
-
-- Compression
|
|
1721
|
-
CREATE TABLE compression_archives (...)
|
|
1722
|
-
```
|
|
1723
|
-
|
|
1724
|
-
**Enhanced Tables:**
|
|
1725
|
-
```sql
|
|
1726
|
-
-- Memory enhancements
|
|
1727
|
-
ALTER TABLE memories ADD COLUMN tier INTEGER DEFAULT 1;
|
|
1728
|
-
ALTER TABLE memories ADD COLUMN parent_id INTEGER;
|
|
1729
|
-
```
|
|
179
|
+
## [2.3.7] - 2026-02-09
|
|
1730
180
|
|
|
1731
|
-
###
|
|
181
|
+
### Added
|
|
182
|
+
- `--full` flag to show complete memory content without truncation
|
|
183
|
+
- Smart truncation: <5000 chars shown in full, ≥5000 chars truncated to 2000 chars
|
|
1732
184
|
|
|
1733
|
-
|
|
1734
|
-
-
|
|
1735
|
-
- Default config.json provided
|
|
1736
|
-
- CLI commands available immediately after installation
|
|
185
|
+
### Fixed
|
|
186
|
+
- CLI bug: `get` command now uses correct `get_by_id()` method
|
|
1737
187
|
|
|
1738
188
|
---
|
|
1739
189
|
|
|
1740
|
-
##
|
|
1741
|
-
|
|
1742
|
-
SuperLocalMemory V2 is built on cutting-edge 2026 research:
|
|
1743
|
-
|
|
1744
|
-
**GraphRAG (Microsoft Research):**
|
|
1745
|
-
- Knowledge graph construction from unstructured text
|
|
1746
|
-
- Community detection for clustering
|
|
1747
|
-
- Entity extraction and relationship mapping
|
|
1748
|
-
|
|
1749
|
-
**PageIndex (Meta AI):**
|
|
1750
|
-
- Hierarchical indexing for fast navigation
|
|
1751
|
-
- Tree-based memory organization
|
|
1752
|
-
- Contextual grouping strategies
|
|
190
|
+
## [2.3.5] - 2026-02-09
|
|
1753
191
|
|
|
1754
|
-
|
|
1755
|
-
-
|
|
1756
|
-
-
|
|
1757
|
-
-
|
|
192
|
+
### Added
|
|
193
|
+
- **ChatGPT Connector Support** - `search(query)` and `fetch(id)` MCP tools
|
|
194
|
+
- **Streamable HTTP transport** - `slm serve --transport streamable-http`
|
|
195
|
+
- **UI enhancements** - Memory detail modal, dark mode, export buttons, search score bars
|
|
1758
196
|
|
|
1759
|
-
|
|
1760
|
-
-
|
|
1761
|
-
- Progressive information density
|
|
1762
|
-
- Context-aware search
|
|
197
|
+
### Fixed
|
|
198
|
+
- XSS vulnerability via inline onclick replaced with safe event delegation
|
|
1763
199
|
|
|
1764
200
|
---
|
|
1765
201
|
|
|
1766
|
-
##
|
|
1767
|
-
|
|
1768
|
-
### Search Performance
|
|
1769
|
-
|
|
1770
|
-
| Memories | V1 Search | V2 Search | Improvement |
|
|
1771
|
-
|----------|-----------|-----------|-------------|
|
|
1772
|
-
| 20 | 120ms | 30ms | 4.0x |
|
|
1773
|
-
| 100 | 150ms | 45ms | 3.3x |
|
|
1774
|
-
| 500 | 200ms | 60ms | 3.3x |
|
|
1775
|
-
|
|
1776
|
-
### Graph Building
|
|
202
|
+
## [2.3.0] - 2026-02-08
|
|
1777
203
|
|
|
1778
|
-
|
|
1779
|
-
|----------|-----------|----------|----------|
|
|
1780
|
-
| 20 | 0.03s | 3-5 | 10-15 |
|
|
1781
|
-
| 100 | 2.0s | 10-15 | 40-60 |
|
|
1782
|
-
| 500 | 15s | 30-50 | 150-250 |
|
|
204
|
+
**Release Type:** Universal Integration
|
|
1783
205
|
|
|
1784
|
-
|
|
206
|
+
SuperLocalMemory now works across 16+ IDEs and CLI tools.
|
|
1785
207
|
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
208
|
+
### Added
|
|
209
|
+
- **MCP configs** - Auto-detection for Cursor, Windsurf, Claude Desktop, Continue.dev, Codex, Copilot, Gemini, JetBrains
|
|
210
|
+
- **Universal CLI wrapper** - `slm` command works in any terminal
|
|
211
|
+
- **Skills installer expansion** - Cursor, VS Code/Copilot auto-configured
|
|
212
|
+
- **Tool annotations** - `readOnlyHint`, `destructiveHint`, `openWorldHint` for all MCP tools
|
|
1791
213
|
|
|
1792
214
|
---
|
|
1793
215
|
|
|
1794
|
-
##
|
|
1795
|
-
|
|
1796
|
-
### First-Time Setup
|
|
1797
|
-
|
|
1798
|
-
```bash
|
|
1799
|
-
# 1. Install system
|
|
1800
|
-
./install.sh
|
|
1801
|
-
|
|
1802
|
-
# 2. Verify installation
|
|
1803
|
-
memory-status
|
|
1804
|
-
|
|
1805
|
-
# 3. Build initial graph (after adding memories)
|
|
1806
|
-
python3 ~/.claude-memory/graph_engine.py build
|
|
216
|
+
## [2.2.0] - 2026-02-07
|
|
1807
217
|
|
|
1808
|
-
|
|
1809
|
-
python3 ~/.claude-memory/pattern_learner.py update
|
|
1810
|
-
```
|
|
218
|
+
**Release Type:** Feature Release (Optional Search Components)
|
|
1811
219
|
|
|
1812
|
-
|
|
1813
|
-
-
|
|
1814
|
-
-
|
|
1815
|
-
-
|
|
1816
|
-
-
|
|
220
|
+
### Added
|
|
221
|
+
- **BM25 Search Engine** - Okapi BM25 with <30ms search for 1K memories
|
|
222
|
+
- **Query Optimizer** - Spell correction, query expansion, technical term preservation
|
|
223
|
+
- **Cache Manager** - LRU cache with TTL, <0.1ms cache hit overhead
|
|
224
|
+
- **Hybrid Search System** - BM25 + TF-IDF + Graph fusion, <50ms for 1K memories
|
|
225
|
+
- **HNSW Index** - Sub-10ms search for 10K memories (optional: `pip install hnswlib`)
|
|
226
|
+
- **Embedding Engine** - Local semantic embeddings with GPU acceleration (optional: `pip install sentence-transformers`)
|
|
227
|
+
- **Modular Requirements** - Separate files: `requirements-ui.txt`, `requirements-search.txt`, `requirements-full.txt`
|
|
228
|
+
- **Installation Verification** - `verify-install.sh` script for comprehensive health checks
|
|
1817
229
|
|
|
1818
230
|
---
|
|
1819
231
|
|
|
1820
|
-
##
|
|
1821
|
-
|
|
1822
|
-
### Current Limitations
|
|
1823
|
-
|
|
1824
|
-
**1. Scalability:**
|
|
1825
|
-
- Optimal for < 500 memories
|
|
1826
|
-
- Graph builds take longer with 1000+ memories
|
|
1827
|
-
- Recommendation: Use profile splitting for large datasets
|
|
1828
|
-
|
|
1829
|
-
**2. Language Support:**
|
|
1830
|
-
- Entity extraction optimized for English
|
|
1831
|
-
- Other languages may have reduced clustering quality
|
|
1832
|
-
|
|
1833
|
-
**3. Compression:**
|
|
1834
|
-
- Manual trigger required (no auto-compression yet)
|
|
1835
|
-
- Tier promotion based on age only (not access patterns)
|
|
232
|
+
## [2.1.0-universal] - 2026-02-07
|
|
1836
233
|
|
|
1837
|
-
**
|
|
1838
|
-
- Full rebuild required for updates (no incremental)
|
|
1839
|
-
- Clustering deterministic but may vary with algorithm parameters
|
|
234
|
+
**Release Type:** Major Feature Release - Universal Integration
|
|
1840
235
|
|
|
1841
|
-
###
|
|
236
|
+
### Added
|
|
237
|
+
- **6 Universal Skills** - remember, recall, list-recent, status, build-graph, switch-profile
|
|
238
|
+
- **MCP Server** - 6 tools, 4 resources, 2 prompts for native IDE integration
|
|
239
|
+
- **6-layer Attribution Protection** - Source headers, docs, database metadata, runtime banners, license, digital signature
|
|
240
|
+
- **11+ IDE Support** - Cursor, Windsurf, Claude Desktop, Continue.dev, Cody, Aider, ChatGPT, Perplexity, Zed, OpenCode, Antigravity
|
|
1842
241
|
|
|
1843
|
-
|
|
1844
|
-
-
|
|
1845
|
-
-
|
|
1846
|
-
-
|
|
1847
|
-
- Graph visualization UI
|
|
1848
|
-
- Real-time pattern updates
|
|
242
|
+
### Documentation
|
|
243
|
+
- `docs/MCP-MANUAL-SETUP.md` - Manual setup guide for 8+ additional IDEs
|
|
244
|
+
- `docs/MCP-TROUBLESHOOTING.md` - Debugging guide with 20+ common issues
|
|
245
|
+
- `docs/UNIVERSAL-INTEGRATION.md` - Complete universal strategy (15,000+ words)
|
|
1849
246
|
|
|
1850
247
|
---
|
|
1851
248
|
|
|
1852
|
-
##
|
|
1853
|
-
|
|
1854
|
-
### Privacy-First Design
|
|
1855
|
-
|
|
1856
|
-
**No External Communication:**
|
|
1857
|
-
- Zero API calls
|
|
1858
|
-
- No telemetry
|
|
1859
|
-
- No auto-updates
|
|
1860
|
-
- No cloud sync
|
|
1861
|
-
|
|
1862
|
-
**Local-Only Storage:**
|
|
1863
|
-
- All data on your machine
|
|
1864
|
-
- Standard filesystem permissions
|
|
1865
|
-
- Full user control
|
|
1866
|
-
|
|
1867
|
-
**Data Integrity:**
|
|
1868
|
-
- SQLite ACID transactions
|
|
1869
|
-
- Automatic backups
|
|
1870
|
-
- Schema validation
|
|
249
|
+
## [2.0.0] - 2026-02-05
|
|
1871
250
|
|
|
1872
|
-
|
|
251
|
+
### Initial Release - Complete Rewrite
|
|
1873
252
|
|
|
1874
|
-
|
|
253
|
+
SuperLocalMemory V2 represents a complete architectural rewrite with intelligent knowledge graphs, pattern learning, and enhanced organization.
|
|
1875
254
|
|
|
1876
|
-
|
|
255
|
+
### Added
|
|
256
|
+
- **4-Layer Architecture** - Enhanced Storage, Hierarchical Index, Knowledge Graph, Pattern Learning
|
|
257
|
+
- **TF-IDF Entity Extraction** - Automatic entity discovery with frequency weighting
|
|
258
|
+
- **Leiden Clustering** - Community detection for automatic thematic grouping
|
|
259
|
+
- **Pattern Learning** - Multi-dimensional analysis (frameworks, languages, architecture, security, coding style)
|
|
260
|
+
- **Compression System** - Progressive summarization (Tier 1: 0%, Tier 2: 60%, Tier 3: 96%)
|
|
261
|
+
- **Profile Management** - Multi-profile support with isolated databases
|
|
1877
262
|
|
|
1878
|
-
|
|
1879
|
-
-
|
|
1880
|
-
-
|
|
1881
|
-
- **xMemory** (Stanford) - Identity pattern learning
|
|
1882
|
-
- **A-RAG** - Multi-level retrieval architecture
|
|
263
|
+
### Performance
|
|
264
|
+
- 3.3x faster search (45ms vs 150ms in V1)
|
|
265
|
+
- 60-96% storage reduction with compression
|
|
1883
266
|
|
|
1884
|
-
|
|
267
|
+
### Research Foundation
|
|
268
|
+
Built on GraphRAG (Microsoft), PageIndex (VectifyAI), MemoryBank (AAAI 2024), A-RAG
|
|
1885
269
|
|
|
1886
270
|
---
|
|
1887
271
|
|
|
1888
|
-
##
|
|
272
|
+
## Archive
|
|
1889
273
|
|
|
1890
|
-
|
|
1891
|
-
- **Documentation:** [docs/](docs/)
|
|
1892
|
-
- **Installation:** [INSTALL.md](INSTALL.md)
|
|
1893
|
-
- **Quick Start:** [QUICKSTART.md](QUICKSTART.md)
|
|
1894
|
-
- **Architecture:** [ARCHITECTURE.md](ARCHITECTURE.md)
|
|
1895
|
-
- **Contributing:** [CONTRIBUTING.md](CONTRIBUTING.md)
|
|
1896
|
-
- **Security:** [SECURITY.md](SECURITY.md)
|
|
274
|
+
See [CHANGELOG-ARCHIVE.md](CHANGELOG-ARCHIVE.md) for detailed release notes from v2.0.0 through v2.4.x.
|
|
1897
275
|
|
|
1898
276
|
---
|
|
1899
277
|
|
|
@@ -1904,10 +282,9 @@ We use [Semantic Versioning](https://semver.org/):
|
|
|
1904
282
|
- **MINOR:** New features (backward compatible, e.g., 2.0.0 → 2.1.0)
|
|
1905
283
|
- **PATCH:** Bug fixes (backward compatible, e.g., 2.1.0 → 2.1.1)
|
|
1906
284
|
|
|
1907
|
-
**Current Version:** v2.
|
|
1908
|
-
**
|
|
1909
|
-
**
|
|
1910
|
-
**npm:** `npm install -g superlocalmemory` (available since v2.1.0)
|
|
285
|
+
**Current Version:** v2.6.5
|
|
286
|
+
**Website:** [superlocalmemory.com](https://superlocalmemory.com)
|
|
287
|
+
**npm:** `npm install -g superlocalmemory`
|
|
1911
288
|
|
|
1912
289
|
---
|
|
1913
290
|
|
|
@@ -1915,19 +292,6 @@ We use [Semantic Versioning](https://semver.org/):
|
|
|
1915
292
|
|
|
1916
293
|
SuperLocalMemory V2 is released under the [MIT License](LICENSE).
|
|
1917
294
|
|
|
1918
|
-
**TL;DR:** Free to use, modify, and distribute for any purpose.
|
|
1919
|
-
|
|
1920
|
-
---
|
|
1921
|
-
|
|
1922
|
-
**Ready to get started?**
|
|
1923
|
-
|
|
1924
|
-
See [INSTALL.md](INSTALL.md) for installation instructions and [QUICKSTART.md](QUICKSTART.md) for your first 5 minutes.
|
|
1925
|
-
|
|
1926
295
|
---
|
|
1927
296
|
|
|
1928
|
-
**Questions or feedback?**
|
|
1929
|
-
|
|
1930
|
-
- Open an issue: [GitHub Issues](https://github.com/varun369/SuperLocalMemoryV2/issues)
|
|
1931
|
-
- Start a discussion: [GitHub Discussions](https://github.com/varun369/SuperLocalMemoryV2/discussions)
|
|
1932
|
-
|
|
1933
297
|
**100% local. 100% private. 100% yours.**
|