Commit Graph
7782 Commits
Author SHA1 Message Date
rUvandClaude 5aada0b189 feat: complete SQLite memory system implementation for v2.0.4
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>
2025-07-10 05:01:13 +00:00
rUvandClaude 024dce2d6e fix: update CLI binary to show version 2.0.0-alpha.42
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 04:58:44 +00:00
rUvandClaude 2aec8a83c5 chore: sync main branch to version 2.0.0-alpha.42
- 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>
2025-07-10 04:58:12 +00:00
rUvandClaude f363c3fe1d feat: implement SQLite memory persistence for MCP server operations (#199)
* 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>
2025-07-10 00:57:24 -04:00
rUv 6be4b4305a Merge pull request #197 from ruvnet/v2.0.3
fix: update npm package links to point to alpha version
2025-07-09 22:37:21 -04:00
rUvandClaude 02672f1a38 fix: update npm package links to point to alpha version
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>
2025-07-10 02:35:15 +00:00
rUv 31a02ffa7b fix: add missing database tables to hive-mind spawn command
- Add collective_memory table creation to spawn command
- Add consensus_decisions table creation to spawn command
- Ensures both init and spawn commands create complete schema
- Prevents 'no such table' errors when using spawn directly

Fixes #192
2025-07-09 20:19:09 +00:00
rUv 9381ac89df fix: update all documentation to use correct MCP tool references
- 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
2025-07-09 20:06:09 +00:00
rUv e21f99f2b5 chore: remove temporary file 2025-07-09 19:44:47 +00:00
rUv 4a1bf763e6 chore: publish alpha.38 with version fix 2025-07-09 19:44:40 +00:00
rUv 0966327fb0 chore: bump version to 2.0.0-alpha.38 2025-07-09 19:40:46 +00:00
rUv 7fe5b51feb 2.0.0-alpha.38 2025-07-09 19:40:17 +00:00
rUv 69834ca10e chore: remove temporary response file 2025-07-09 19:39:14 +00:00
rUvandClaude a7d99b86d3 fix: ensure proper binary builds for alpha releases (#191)
- 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>
2025-07-09 19:39:06 +00:00
rUvandClaude 6b3eef6e40 chore: clean up root folder by archiving unneeded files
- Moved non-essential markdown files to archive/root-cleanup/markdown/:
  - ALPHA_RELEASE_CHECKLIST.md
  - ALPHA_RELEASE_README.md
  - EPIC-DAA-SWARM-INTEGRATION.md
  - HOOKS.md
  - RELEASE_NOTES_ALPHA_16.md
  - RELEASE_NOTES_ALPHA_17.md

- Moved test/fix scripts to archive/root-cleanup/scripts/:
  - fix-alpha-errors.cjs
  - fix-ts-property-errors.ts

- Kept essential files in root:
  - README.md, CHANGELOG.md, LICENSE, CLAUDE.md
  - Package files: package.json, package-lock.json
  - Config files: tsconfig.json, jest.config.js, codecov.yml
  - Entry point: cli.mjs

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 19:29:02 +00:00
rUvandClaude 517297404f docs: add proper Claude Code npm installation command
- 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>
2025-07-09 19:26:55 +00:00
rUvandClaude 5d7a04994c docs: remove ToC and add Claude Code prerequisites
- 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>
2025-07-09 19:25:44 +00:00
rUv d800757697 Merge pull request #189 from ruvnet/fix/logger-memory-usage
fix: add workarounds for ruv-swarm v1.0.8 logger error
2025-07-09 15:12:44 -04:00
rUv 0d4c22fc33 docs: add Star History chart to README
- Added visual representation of project growth
- Supports light/dark theme preferences
- Auto-updates with new stars
- Helps showcase community adoption
- Implements suggestion from issue #173
2025-07-09 19:11:05 +00:00
rUv f44214b696 fix: update version references to alpha.37 2025-07-09 18:46:17 +00:00
rUv e8cc5082ef fix: add workaround for ruv-swarm v1.0.8 logger error
- 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
2025-07-09 18:43:46 +00:00
rUv 008312053e fix: correct 'hookss' typo to 'hooks' in CLAUDE.md
- Fixed 12 instances of 'hookss' to 'hooks'
- All hook commands now have correct spelling
- Improves documentation clarity
2025-07-09 18:05:18 +00:00
rUv 6778c069f7 Merge pull request #188 from ruvnet/fix/claude-code-npm-package
Fix: Correct npm package name for Claude Code installation
2025-07-09 13:46:01 -04:00
rUv fe8b949890 chore: bump version to 2.0.0-alpha.36 2025-07-09 17:42:53 +00:00
rUv 74a0033690 fix: correct npm package name for Claude Code installation
- 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
2025-07-09 17:42:36 +00:00
rUvandClaude fbb113b9cc chore: bump version to 2.0.0-alpha.35
- 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>
2025-07-09 17:01:11 +00:00
rUv 839baa1725 fix: update Hive Mind documentation URLs in CLI help
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.
2025-07-09 12:59:39 -04:00
rUvandClaude 6a700f8909 fix: move hive-mind documentation to proper directory structure
- Move docs/hive-mind.md to docs/hive-mind/README.md
- Fixes GitHub URL structure for https://github.com/ruvnet/claude-code-flow/docs/hive-mind
- Ensures documentation is accessible at the URL referenced in README

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 16:53:09 +00:00
rUv f4778fbe13 docs: add comprehensive Hive Mind system documentation
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.
2025-07-09 12:51:38 -04:00
rUv 03e4febc61 fix: resolve import.meta module compatibility issue in claude-flow wrapper
Fixes SyntaxError: Cannot use 'import.meta' outside a module in claude-flow wrapper script. Resolves #176.
2025-07-09 12:38:52 -04:00
rUv 8cf430eb90 Merge pull request #179 from 6farer/main
chore: update docs with correct reference to npm repo for claude-code
2025-07-09 12:24:19 -04:00
rUv ca8b50a9af fix: resolve README.md merge conflict - keep both hooks and hive-mind sections 2025-07-09 16:15:01 +00:00
Eric Kim c550216018 chore: update docs with correct reference to npm repo for claude-code and GH url for home 2025-07-09 12:08:56 -04:00
rUv e11fd84827 fix: resolve module import error for environment detector
- 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
2025-07-09 15:57:32 +00:00
rUv 54e587782a fix: add Windows/WSL compatibility fixes from issue #177
- 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
2025-07-09 15:55:10 +00:00
rUvandClaude 357a8fd508 feat: implement Neural Link System with safety protocols and demonstrations
- 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>
2025-07-09 12:35:20 +00:00
rUv e7eeacd05f 2.0.0-alpha.33 2025-07-08 17:51:32 +00:00
rUv f10c93a48e fix: correct column name in memory cleanup from last_accessed to accessed_at
- 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
2025-07-08 17:51:26 +00:00
rUv a278bdb9fe 2.0.0-alpha.32 2025-07-08 17:19:06 +00:00
rUv 4687d84558 fix: make hive-mind optimization robust against different database schemas
- 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
2025-07-08 17:18:59 +00:00
rUv d86f8fb7ae 2.0.0-alpha.31 2025-07-08 17:12:55 +00:00
rUv c211a41579 fix: resolve hive-mind database optimization errors
- 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
2025-07-08 17:12:48 +00:00
rUv 1234849ea9 2.0.0-alpha.30 2025-07-08 17:02:25 +00:00
rUv c5d2066bd1 docs: add hive-mind optimization section to README table of contents 2025-07-08 17:02:20 +00:00
rUv d6c25350ee fix: ensure all required columns exist in hive-mind database before optimization
- Add ensureRequiredColumns() function to check and add missing columns
- Fix SQL syntax errors (single quotes instead of double quotes)
- Add missing columns: priority, completed_at, result, updated_at
- Add missing collective_memory columns: accessed_at, access_count, compressed, size
- Update hive-mind status/metrics to handle missing columns gracefully
- Tested with both empty and populated databases
2025-07-08 16:59:13 +00:00
rUv 0552a4a7cd chore: bump version to alpha.29 with hive mind optimization fixes 2025-07-08 16:46:41 +00:00
rUv 15c1259d03 fix: handle missing completed_at column in hive mind optimization
- 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.
2025-07-08 16:45:28 +00:00
rUv 51bff89042 2.0.0-alpha.28 2025-07-08 16:41:19 +00:00
rUvandClaude 478f327992 fix: remove merge conflict marker from README
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 16:41:13 +00:00
rUvandClaude 31182483b7 feat: add hive-mind optimization command and documentation
- Added hive-mind-optimize command for database optimization
- Created comprehensive optimization documentation
- Implemented automatic vacuum, reindex, and analyze operations
- Added optimization scheduling capabilities
- Integrated with command registry

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 16:40:48 +00:00