Releases: thedotmack/claude-mem
v7.1.1 - Critical Windows Fixes + Auto-Restart
🚨 Critical Fixes
Windows 11 Bun Auto-Install Fixed
- Problem: v7.1.0 had a chicken-and-egg bug where
bun smart-install.jsfailed if Bun wasn't installed - Solution: SessionStart hook now uses
node(always available) for smart-install.js - Impact: Fresh Windows installations now work out-of-box
Path Quoting for Windows
- Fixed
hooks.jsonto quote all paths - Prevents SyntaxError for usernames with spaces (e.g., "C:\Users\John Doe")
✨ New Feature
Automatic Worker Restart on Version Updates
- Worker now automatically restarts when plugin version changes
- No more manual
npm run worker:restartneeded after upgrades - Eliminates connection errors from running old worker code
📝 Notes
- No manual actions required - worker auto-restarts on next session start
- All future upgrades will automatically restart the worker
- Fresh installs on Windows 11 work correctly
🔗 Links
v7.1.0: PM2 to Bun Migration
Major Architectural Migration
This release completely replaces PM2 with native Bun-based process management and migrates from better-sqlite3 to bun:sqlite.
Key Changes
Process Management
- Replace PM2 with custom Bun-based ProcessManager
- PID file-based process tracking
- Automatic legacy PM2 process cleanup on all platforms
Database Driver
- Migrate from better-sqlite3 npm package to bun:sqlite runtime module
- Zero native compilation required
- Same API compatibility
Auto-Installation
- Bun runtime auto-installed if missing
- uv (Python package manager) auto-installed for Chroma vector search
- Smart installer with platform-specific methods (curl/PowerShell)
Migration
Automatic: First hook trigger after update performs one-time PM2 cleanup and transitions to new architecture. No user action required.
Documentation
Complete technical documentation in docs/PM2-TO-BUN-MIGRATION.md
🤖 Generated with Claude Code
v7.0.11
Patch release adding feature/bun-executable to experimental branch selector for testing Bun runtime integration.
v7.0.9
Bug Fixes
- Fixed MCP response format in search route handlers - all 14 search endpoints now return complete response objects with error status instead of just content arrays, restoring MCP protocol compatibility
Changes
SearchRoutes.ts: Updated all route handlers to return full result object instead of extracted content property
v7.0.8
Bug Fixes
- Critical: Filter out meta-observations for session-memory files to prevent recursive timeline pollution
- Memory agent was creating observations about editing Agent SDK's session-memory/summary.md files
- This created a recursive loop where investigating timeline pollution caused more pollution
- Filter now skips Edit/Write/Read/NotebookEdit operations on any file path containing 'session-memory'
- Eliminates 91+ meta-observations that were polluting the timeline
Technical Details
Added filtering logic in SessionRoutes.ts to detect and skip file operations on session-memory files before observations are queued to the SDK agent. This prevents the memory agent from observing its own observation metadata files.
v7.0.7
What's Changed
Code Quality Improvements
- Refactored hooks codebase to reduce complexity and improve maintainability (#204)
- Net reduction of 78 lines while adding new functionality
- Improved type safety across all hook input interfaces
New Features
- Added
CLAUDE_MEM_SKIP_TOOLSconfiguration setting for controlling which tools are excluded from observations - Default skip tools:
ListMcpResourcesTool,SlashCommand,Skill,TodoWrite,AskUserQuestion
Technical Improvements
- Created shared utilities:
transcript-parser.ts,hook-constants.ts,hook-error-handler.ts - Migrated business logic from hooks to worker service for better separation of concerns
- Enhanced error handling and spinner management
- Removed dead code and unnecessary abstractions
Full Changelog: v7.0.6...v7.0.7
v7.0.6
Bug Fixes
- Fixed Windows terminal spawning to hide terminal windows when spawning child processes (#203, thanks @CrystallDEV)
- Improved worker service process management on Windows
Contributors
Thanks to @CrystallDEV for this contribution!
v7.0.5
What's Changed
Bug Fixes
- Fixed settings schema inconsistency between write and read operations
- Fixed PowerShell command injection vulnerability in worker-utils.ts
- Enhanced PM2 existence check with clear error messages
- Added error logging to silent tool serialization handlers
Improvements
- Settings centralization: Migrated to SettingsDefaultsManager across codebase
- Auto-creation of settings.json file with defaults on first run
- Settings schema migration from nested to flat format
- Refactored HTTP-only new-hook implementation
- Cross-platform worker service improvements
Full Changelog: v7.0.4...v7.0.5
v7.0.4
What's Changed
Bug Fixes
- Windows: Comprehensive fixes for Windows plugin installation
- Cache: Add package.json to plugin directory for cache dependency resolution
Thanks to @kat-bell for the excellent contributions!
Full Changelog: v7.0.3...v7.0.4
v7.0.3
What's Changed
Refactoring:
- Completed rename of
search-servertomcp-serverthroughout codebase - Updated all documentation references from search-server to mcp-server
- Updated debug log messages to use
[mcp-server]prefix - Removed legacy
search-server.cjsfile
Full Changelog: v7.0.2...v7.0.3