diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 9fa01b67..8191847d 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -10,7 +10,7 @@ "plugins": [ { "name": "claude-mem", - "version": "7.1.0", + "version": "7.1.1", "source": "./plugin", "description": "Persistent memory system for Claude Code - context compression across sessions" } diff --git a/CHANGELOG.md b/CHANGELOG.md index ec2070f2..023b73fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,43 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [7.1.1] - 2025-12-12 + +### Fixed + +**CRITICAL: Windows 11 Bun Auto-Install Broken** + +- **Chicken-and-Egg Problem**: v7.1.0 hooks called `bun smart-install.js`, but if Bun wasn't installed, the command failed with "bun is not recognized" before smart-install.js could run to install Bun +- **Root Cause**: v7.1.0 migration removed Bun/uv auto-installation logic from smart-install.js +- **Solution**: + - Changed SessionStart hook to use `node` (always available) for smart-install.js + - Restored Bun auto-installation logic: isBunInstalled(), installBun() + - Restored uv auto-installation for Chroma support + - Fresh Windows installations now work correctly + +**Path Quoting for Windows Usernames with Spaces** + +- Fixed `hooks.json` to quote all `${CLAUDE_PLUGIN_ROOT}` paths +- Prevents SyntaxError for Windows users with spaces in usernames (e.g., "C:\Users\John Doe\...") + +### Added + +**Automatic Worker Restart on Version Updates** + +- Added `/api/version` endpoint to worker service +- Added version checking in `ensureWorkerRunning()`: + - Compares plugin version with running worker version + - Automatically restarts worker when version mismatch detected + - Logs version mismatch for debugging +- **Impact**: Users no longer need to manually restart worker after upgrades +- **Critical for**: All future releases - eliminates connection errors from running old worker code + +### Notes + +- No manual actions required - worker auto-restarts on next session start +- Fresh installs on Windows 11 now work out-of-box +- All hooks now run with correct runtime (node for install, bun for execution) + ## [7.1.0] - 2025-12-13 ## Security Fix: Localhost-Only Binding diff --git a/CLAUDE.md b/CLAUDE.md index 998224d4..9fb2215b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,7 +6,7 @@ Claude-mem is a Claude Code plugin providing persistent memory across sessions. It captures tool usage, compresses observations using the Claude Agent SDK, and injects relevant context into future sessions. -**Current Version**: 7.1.0 +**Current Version**: 7.1.1 ## Architecture diff --git a/package.json b/package.json index 9ccf94b3..0f9056d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "claude-mem", - "version": "7.1.0", + "version": "7.1.1", "description": "Memory compression system for Claude Code - persist context across sessions", "keywords": [ "claude", diff --git a/plugin/.claude-plugin/plugin.json b/plugin/.claude-plugin/plugin.json index aed50e18..d280d41a 100644 --- a/plugin/.claude-plugin/plugin.json +++ b/plugin/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "claude-mem", - "version": "7.1.0", + "version": "7.1.1", "description": "Persistent memory system for Claude Code - seamlessly preserve context across sessions", "author": { "name": "Alex Newman" diff --git a/plugin/package.json b/plugin/package.json index 737b347d..9ccec248 100644 --- a/plugin/package.json +++ b/plugin/package.json @@ -1,6 +1,6 @@ { "name": "claude-mem-plugin", - "version": "7.1.0", + "version": "7.1.1", "private": true, "description": "Runtime dependencies for claude-mem bundled hooks", "type": "module",