Conversation
Fixes #198 - MCP server memory operations now persist to disk using SQLite - Created shared memory module with SQLite backend (better-sqlite3) - Integrated real persistence into MCP server replacing mock responses - Added .swarm/ directory creation in init command - Implemented backwards compatibility for existing installations - Updated CLI version from 1.0.43 to 1.0.44 Key features: - Memory operations persist across sessions - High-performance caching with LRU eviction - Support for TTL, compression, and migrations - Compatible with existing hive-mind memory system - Comprehensive error handling and logging Testing completed: - Local installation verified - NPM/NPX functionality tested - No regression in existing features - Backwards compatibility confirmed 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
ruvnet
added a commit
that referenced
this pull request
Jul 10, 2025
- Update package.json to match published npm version - Update CLI banner to show consistent version - Maintains consistency after PR #199 merge 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
ElNiak
pushed a commit
to ElNiak/claude-code-flow
that referenced
this pull request
Jul 16, 2025
…uvnet#199) * fix: implement MCP memory persistence with SQLite Fixes ruvnet#198 - MCP server memory operations now persist to disk using SQLite - Created shared memory module with SQLite backend (better-sqlite3) - Integrated real persistence into MCP server replacing mock responses - Added .swarm/ directory creation in init command - Implemented backwards compatibility for existing installations - Updated CLI version from 1.0.43 to 1.0.44 Key features: - Memory operations persist across sessions - High-performance caching with LRU eviction - Support for TTL, compression, and migrations - Compatible with existing hive-mind memory system - Comprehensive error handling and logging Testing completed: - Local installation verified - NPM/NPX functionality tested - No regression in existing features - Backwards compatibility confirmed 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * chore: remove test artifacts --------- Co-authored-by: Claude <noreply@anthropic.com>
ElNiak
pushed a commit
to ElNiak/claude-code-flow
that referenced
this pull request
Jul 16, 2025
- Update package.json to match published npm version - Update CLI banner to show consistent version - Maintains consistency after PR ruvnet#199 merge 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements comprehensive SQLite memory persistence for MCP server operations, replacing the previous JSON-based storage system. All memory operations now persist to a robust SQLite database with enhanced schema and cross-session compatibility.
Key Changes
🗄️ SQLite Memory System
.swarm/memory.dbwith WAL mode for concurrent access🔧 MCP Server Integration
📁 Project Organization
archive/🔗 NPM Package Updates
.npmignoreto include memory JS/SQL filesTechnical Details
Database Schema
Files Modified
README.md- Updated to reflect SQLite memory system.npmignore- Include memory and MCP server filessrc/mcp/mcp-server.js- Enhanced with SQLite persistence.swarm/- New SQLite storage locationarchive/directoryFeatures Implemented
Testing Completed
Breaking Changes
.swarm/memory.dbPerformance Impact
Resolves
🤖 Generated with Claude Code