v7.1.8
Memory Export/Import Scripts
Added portable memory export and import functionality with automatic duplicate prevention.
New Features
- Export memories to JSON format with search filtering and project-based filtering
- Import memories with automatic duplicate detection via composite keys
- Complete documentation in docs/public/usage/export-import.mdx
Use Cases
- Share memory sets between developers working on the same project
- Backup and restore specific project memories
- Collaborate on domain knowledge across teams
- Migrate memories between different claude-mem installations
Example Usage
# Export Windows-related memories
npx tsx scripts/export-memories.ts "windows" windows-work.json
# Export only claude-mem project memories
npx tsx scripts/export-memories.ts "bugfix" fixes.json --project=claude-mem
# Import memories (with automatic duplicate prevention)
npx tsx scripts/import-memories.ts windows-work.jsonTechnical Improvements
- Fixed JSON format response in /api/search endpoint for consistent structure
- Enhanced project filtering in ChromaDB hybrid search result hydration
- Duplicate detection using composite keys (session ID + title + timestamp)
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.5 [email protected]