Releases: thedotmack/claude-mem
v7.3.4
v7.3.3
What's Changed
- Remove all better-sqlite3 references from codebase (#357)
Full Changelog: v7.3.2...v7.3.3
v7.3.2: Windows Console Fix + Security Hardening
🪟 Windows Console Fix
Fixes blank console windows appearing for Windows 11 users during claude-mem operations.
What Changed
- Windows: Uses PowerShell
Start-Process -WindowStyle Hiddento properly hide worker process - Security: Added PowerShell string escaping to follow security best practices
- Unix/Mac: No changes (continues to work as before)
Root Cause
The issue was caused by a Node.js limitation where windowsHide: true doesn't work with detached: true in child_process.spawn(). This affects both Bun and Node.js since Bun inherits Node.js process spawning semantics.
See: nodejs/node#21825
Security Note
While all paths in the PowerShell command are application-controlled (not user input), we've added proper escaping to follow security best practices. If an attacker could modify bun installation paths or plugin directories, they would already have full filesystem access including the database.
Related
Breaking Changes
None - fully backward compatible.
Full Changelog: v7.3.1...v7.3.2
v7.3.1 - Pending Messages Cleanup Fix
🐛 Bug Fixes
Pending Messages Cleanup (Issue #353)
Fixed unbounded database growth in the pending_messages table by implementing proper cleanup logic:
- Content Clearing:
markProcessed()now clearstool_inputandtool_responsewhen marking messages as processed, preventing duplicate storage of transcript data that's already saved in observations - Count-Based Retention:
cleanupProcessed()now keeps only the 100 most recent processed messages for UI display, deleting older ones automatically - Automatic Cleanup: Cleanup runs automatically after processing messages in
SDKAgent.processSDKResponse()
What This Fixes
- Prevents database from growing unbounded with duplicate transcript content
- Keeps metadata (tool_name, status, timestamps) for recent messages
- Maintains UI functionality while optimizing storage
Technical Details
Files Modified:
src/services/sqlite/PendingMessageStore.ts- Cleanup logic implementationsrc/services/worker/SDKAgent.ts- Periodic cleanup calls
Database Behavior:
- Pending/processing messages: Keep full transcript data (needed for processing)
- Processed messages: Clear transcript, keep metadata only (observations already saved)
- Retention: Last 100 processed messages for UI feedback
Related
- Fixes #353 - Observations not being saved
- Part of the pending messages persistence feature (from PR #335)
Full Changelog: v7.3.0...v7.3.1
Release v7.3.0
Features
- Table-based search output: Unified timeline formatting with cleaner, more organized presentation of search results grouped by date and file
- Simplified API: Removed unused format parameter from MCP search tools for cleaner interface
- Shared formatting utilities: Extracted common timeline formatting logic into reusable module
- Batch observations endpoint: Added
/api/observations/batchendpoint for efficient retrieval of multiple observations by ID array
Changes
- Default model upgrade: Changed default model from Haiku to Sonnet for better observation quality
- Removed fake URIs: Replaced claude-mem:// pseudo-protocol with actual HTTP API endpoints for citations
Bug Fixes
- Fixed undefined debug function calls in MCP server
- Fixed skillPath variable scoping bug in instructions endpoint
- Extracted magic numbers to named constants for better code maintainability
Full Changelog: v7.2.4...v7.3.0
v7.2.4
What's Changed
Documentation
- Updated endless mode setup instructions with improved configuration guidance for better user experience
Full Changelog: v7.2.3...v7.2.4
v7.2.3 - Fix MCP Server Restart Timing
Bug Fixes
- Fix MCP server failures on plugin updates: Add 2-second pre-restart delay in
ensureWorkerVersionMatches()to give files time to sync before killing the old worker. This prevents the race condition where the worker restart happened too quickly after plugin file updates, causing "Worker service connection failed" errors.
Changes
- Add
PRE_RESTART_SETTLE_DELAYconstant (2000ms) tohook-constants.ts - Add delay before
ProcessManager.restart()call inworker-utils.ts - Fix pre-existing bug where
portvariable was undefined in error logging
🤖 Generated with Claude Code
v7.2.2
Changes
- Refactor: Consolidate mem-search skill, remove desktop-skill duplication
- Delete separate
desktop-skill/directory (was outdated) - Generate
mem-search.zipduring build fromplugin/skills/mem-search/ - Update docs with correct MCP tool list and new download path
- Single source of truth for Claude Desktop skill
- Delete separate
v7.2.1
Translation Script Enhancements
This release adds powerful enhancements to the README translation system, supporting 35 languages with improved efficiency and caching.
What's New
Translation Script Improvements:
- Caching System: Smart
.translation-cache.jsontracks content hashes to skip re-translating unchanged content - Parallel Processing:
--parallel <n>flag enables concurrent translations for faster execution - Force Re-translation:
--forceflag to override cache when needed - Tier-Based Scripts: Organized translation workflows by language priority
npm run translate:tier1- 7 major languages (Chinese, Japanese, Korean, etc.)npm run translate:tier2- 8 strong tech scene languages (Hebrew, Arabic, Russian, etc.)npm run translate:tier3- 7 emerging markets (Vietnamese, Indonesian, Thai, etc.)npm run translate:tier4- 6 additional languages (Italian, Greek, Hungarian, etc.)npm run translate:all- All 35 languages sequentially
- Better Output Handling: Automatically strips markdown code fences if Claude wraps output
- Translation Disclaimer: Adds community correction notice at top of translated files
- Performance: Uses Bun runtime for faster execution
Supported Languages (35 Total)
Arabic, Bengali, Brazilian Portuguese, Bulgarian, Chinese (Simplified), Chinese (Traditional), Czech, Danish, Dutch, Estonian, Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Latvian, Lithuanian, Norwegian, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian, Vietnamese
Breaking Changes
None - fully backward compatible.
Installation
# Update via npm
npm install -g [email protected]
# Or reinstall plugin
claude plugin install thedotmack/claude-memFull Changelog: v7.2.0...v7.2.1
v7.2.0 - Automated Bug Report Generator
🎉 New Features
Automated Bug Report Generator
Added comprehensive bug report tool that streamlines issue reporting with AI assistance:
- Command:
npm run bug-report - 🌎 Multi-language Support: Write in ANY language, auto-translates to English
- 📊 Smart Diagnostics: Automatically collects:
- Version information (claude-mem, Claude Code, Node.js, Bun)
- Platform details (OS, version, architecture)
- Worker status (running state, PID, port, uptime, stats)
- Last 50 lines of logs (worker + silent debug)
- Database info and configuration settings
- 🤖 AI-Powered: Uses Claude Agent SDK to generate professional GitHub issues
- 📝 Interactive: Multiline input support with intuitive prompts
- 🔒 Privacy-Safe:
- Auto-sanitizes all file paths (replaces home directory with ~)
- Optional
--no-logsflag to exclude logs
- ⚡ Streaming Progress: Real-time character count and animated spinner
- 🌐 One-Click Submit: Auto-opens GitHub with pre-filled title and body
Usage
From the plugin directory:
cd ~/.claude/plugins/marketplaces/thedotmack
npm run bug-reportPlugin Paths:
- macOS/Linux:
~/.claude/plugins/marketplaces/thedotmack - Windows:
%USERPROFILE%\.claude\plugins\marketplaces\thedotmack
Options:
npm run bug-report --no-logs # Skip logs for privacy
npm run bug-report --verbose # Show all diagnostics
npm run bug-report --help # Show help📚 Documentation
- Updated README with bug report section and usage instructions
- Enhanced GitHub issue template to feature automated tool
- Added platform-specific directory paths
🔧 Technical Details
Files Added:
scripts/bug-report/cli.ts- Interactive CLI entry pointscripts/bug-report/index.ts- Core logic with Agent SDK integrationscripts/bug-report/collector.ts- System diagnostics collector
Files Modified:
package.json- Added bug-report scriptREADME.md- New Bug Reports section.github/ISSUE_TEMPLATE/bug_report.md- Updated with automated tool instructions
Full Changelog: v7.1.15...v7.2.0