Files
ruflo/archive/infrastructure/docker/testing/Dockerfile.npm
T
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

22 lines
528 B
Docker

# Docker environment for testing npm install claude-flow@2.0.0
FROM node:20-alpine
# Install dependencies
RUN apk add --no-cache git bash curl jq
# Create test directory
WORKDIR /test
# Install claude-flow locally via npm
RUN npm init -y
RUN npm install claude-flow@2.0.0
# Create test scripts directory
RUN mkdir -p /test/scripts /test/results /test/logs
# Copy test script
COPY test-mcp-tools.sh /test/scripts/
RUN chmod +x /test/scripts/test-mcp-tools.sh
# Default command
CMD ["/test/scripts/test-mcp-tools.sh", "npm"]