This commit brings v2.0.4 changes to main without problematic SQLite database files:
### 🗄️ SQLite Memory System
- Enhanced SQLite Schema with 12 specialized tables
- Persistent storage in .swarm/memory.db with WAL mode
- Cross-session persistence for Claude Code sessions
- Namespace support for organized memory management
### 🔧 MCP Server Integration
- EnhancedMemory class extending SqliteMemoryStore
- 14 Hook types for comprehensive operation tracking
- Memory synchronization between CLI and MCP tools
- Robust error handling and database integrity
### 📁 Project Organization
- Archive legacy systems to archive/legacy-memory-system
- Clean root structure for better maintainability
- Updated documentation reflecting SQLite architecture
### 🔗 NPM Package Updates
- Include memory JS/SQL files in distribution
- MCP server files included in npm package
- Version updated to 2.0.0-alpha.42
### ⚙️ Configuration Updates
- .gitignore excludes SQLite database files
- .npmignore includes necessary memory components
- CLI version consistency at 2.0.0-alpha.42
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- 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>
* fix: implement MCP memory persistence with SQLite
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>
* chore: remove test artifacts
---------
Co-authored-by: Claude <noreply@anthropic.com>
Fixes#196 - Update all npmjs.com links in documentation to correctly
point to the alpha version at /v/alpha instead of the main package page.
Updated files:
- README.md: Main npm badge link
- docs/usage-guide.md: NPM Package reference
- docs/troubleshooting.md: NPM package reference
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Replace all instances of mcp__ruv-swarm__ with mcp__claude-flow__
- Fix tool references in CLAUDE.md and all command documentation
- Update integration guides and workflow patterns
- Ensure consistent MCP tool naming across all docs
Fixes#160
- Fixed prepublishOnly script to run build process for alpha releases
- Added update-version script to automatically sync VERSION in bin/claude-flow
- Added version update step to build process
This ensures that all published alpha versions will have the correct version
number in the binary, fixing the issue where alpha.28-37 were stuck at v2.0.0-alpha.27
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Added `npm install -g @anthropic-ai/claude-code` as step 1
- Numbered the prerequisite steps for clarity
- Users now have the exact command to install Claude Code
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Removed Table of Contents from README
- Added Prerequisites section highlighting Claude Code installation requirement
- Added instruction to run `claude --dangerously-skip-permissions` before initialization
- Clarified the initialization command description
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Added ruv-swarm-wrapper.js to handle logger errors gracefully
- Created ruv-swarm-safe.js script as alternative entry point
- Added known-issues.md documentation
- Bumped version to 2.0.0-alpha.37
- Provides clear workarounds for issue #181
- Changed from @anthropic/claude-code-cli to @anthropic-ai/claude-code
- Updated in hive-mind.js (2 occurrences)
- Updated in swarm.js (1 occurrence)
- Updated in user-guide-v2.md documentation
- Fixes#187
- Updated version for URL fix alpha release
- Includes fixes for Hive Mind documentation URLs in CLI help
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Fixes incorrect URLs in CLI help causing 404 errors. Updates repo name from claude-code-flow to claude-flow and uses proper GitHub directory structure.
Adds complete documentation for Claude Flow's Hive Mind collective intelligence system. Includes setup guide, command reference, architecture details, and advanced use cases. Fixes missing documentation link from README.
- Use existing interactive-detector.js instead of TypeScript file
- Add WSL and Windows detection to interactive-detector.js
- Fix import path in safe-interactive.js
- Add WSL and Windows detection to environment detector
- Implement safe interactive wrapper for handling non-TTY environments
- Add non-interactive fallback for hive-mind wizard
- Improve error messages for raw mode failures
- Auto-detect and recommend --no-interactive flag for WSL/Windows
- Add graceful degradation when raw mode is not supported
- Add comprehensive Neural Link System implementation with multi-layered safety framework
- Implement neural signal processing with real-time safety monitoring
- Add performance optimization with WASM-based parallel processing
- Include live demonstrations showing signal acquisition and processing
- Add research documentation on state-of-the-art neural interfaces
- Implement HIVE protocol for inter-node communication
- Add detailed schematics and PCB layout documentation
- Include safety checklist and framework based on medical device standards
- Update memory store with research findings and safety limits
- Clean up unused MCP configurations (mem0, perplexityai)
The system prioritizes safety with redundant monitoring, strict operational limits,
and comprehensive testing protocols following FDA and ISO standards.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Fix 'no such column: last_accessed' error in maintenance tasks
- Add table existence check before memory cleanup
- Add try-catch for memory cleanup operations
- Improve error handling with warning messages instead of failures
- Check table existence before creating indexes
- Check table existence before adding columns
- Handle 'no such table' errors gracefully
- Support databases with varying schema versions
- Fix consensus_decisions table not found error
- Remove DEFAULT CURRENT_TIMESTAMP from ALTER TABLE statements (not supported by SQLite)
- Update initial schema to include all required columns (accessed_at, access_count, compressed, size)
- Fix second CREATE TABLE statements to include priority, completed_at, and updated_at columns
- Ensure both schema creation paths have consistent column definitions
- Tested with fresh databases and existing swarms - all working correctly
- Add column existence check before querying completed_at
- Fallback to created_at for task archival when completed_at missing
- Prevent SQLite errors on older database schemas
- Gracefully handle performance metric calculations
This ensures backward compatibility with databases created before the completed_at column was added.