Files
ruflo/archive/legacy-memory-system/package.json
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

48 lines
1.1 KiB
JSON

{
"name": "@claude-flow/memory",
"version": "1.0.0",
"description": "SPARC Memory Bank - Persistent memory system for Claude-Flow",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint src --ext .ts",
"clean": "rm -rf dist coverage"
},
"keywords": [
"memory",
"storage",
"crdt",
"sqlite",
"markdown",
"cache",
"replication",
"vector-search"
],
"author": "rUv",
"license": "MIT",
"dependencies": {
"better-sqlite3": "^9.2.2",
"uuid": "^9.0.1",
"js-yaml": "^4.1.0",
"axios": "^1.6.2"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.8",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.10.5",
"@types/uuid": "^9.0.7",
"typescript": "^5.3.3",
"vitest": "^1.1.0",
"@vitest/coverage-v8": "^1.1.0",
"eslint": "^8.56.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0"
},
"engines": {
"node": ">=18.0.0"
}
}