Bump version to 4.2.10 and fix Windows compatibility by removing hardcoded macOS path

This commit is contained in:
Alex Newman
2025-10-25 13:24:18 -04:00
parent e82d9e075b
commit ae2c789781
6 changed files with 41 additions and 6 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
"plugins": [
{
"name": "claude-mem",
"version": "4.2.9",
"version": "4.2.10",
"source": "./plugin",
"description": "Persistent memory system for Claude Code - context compression across sessions"
}
+10
View File
@@ -8,6 +8,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
## [4.2.10] - 2025-10-25
### Fixed
- **Windows compatibility**: Removed hardcoded macOS-specific Claude executable path that prevented worker service from running on Windows
- Removed hardcoded path: `/Users/alexnewman/.nvm/versions/node/v24.5.0/bin/claude`
- Removed `pathToClaudeCodeExecutable` parameter from SDK query() calls
- SDK now automatically detects Claude Code executable path on all platforms
- Affects: `src/sdk/worker.ts`, `src/services/worker-service.ts`, `plugin/scripts/worker-service.cjs`
## [4.2.3] - 2025-10-23
### Security
+27 -2
View File
@@ -4,7 +4,7 @@
Claude-mem is a persistent memory compression system that preserves context across Claude Code sessions. It automatically captures tool usage observations, processes them through the Claude Agent SDK, and makes summaries available to future sessions.
**Current Version**: 4.2.9
**Current Version**: 4.2.10
**License**: AGPL-3.0
**Author**: Alex Newman (@thedotmack)
@@ -210,7 +210,32 @@ npm run build && git commit -a -m "Build and update" && git push && cd ~/.claude
## Version History
### v4.2.9 (Current)
### v4.2.10 (Current)
**Breaking Changes**: None (patch version)
**Critical Bugfix**:
- Fixed Windows compatibility issue caused by hardcoded macOS-specific Claude executable path
- Removed hardcoded path: `/Users/alexnewman/.nvm/versions/node/v24.5.0/bin/claude`
- Removed `pathToClaudeCodeExecutable` parameter from SDK query() calls
- SDK now automatically detects Claude Code executable path on all platforms
- Improves cross-platform compatibility (Windows, macOS, Linux)
**Impact**:
- Before: Worker service failed on Windows due to hardcoded macOS path
- After: Worker service works correctly on all platforms
**Technical Details**:
- Updated `src/sdk/worker.ts` to remove hardcoded Claude path and `pathToClaudeCodeExecutable` parameter
- Updated `src/services/worker-service.ts` to remove hardcoded Claude path and parameter
- Built `plugin/scripts/worker-service.cjs` reflects changes
- Affects all SDK agent initialization in worker service
**Files Changed**:
- `src/sdk/worker.ts`
- `src/services/worker-service.ts`
- `plugin/scripts/worker-service.cjs` (rebuilt)
### v4.2.9
**Breaking Changes**: None (patch version)
**Documentation**:
+1 -1
View File
@@ -17,7 +17,7 @@
<img src="https://img.shields.io/badge/License-AGPL%203.0-blue.svg" alt="License">
</a>
<a href="package.json">
<img src="https://img.shields.io/badge/version-4.2.9-green.svg" alt="Version">
<img src="https://img.shields.io/badge/version-4.2.10-green.svg" alt="Version">
</a>
<a href="package.json">
<img src="https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen.svg" alt="Node">
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "claude-mem",
"version": "4.2.9",
"version": "4.2.10",
"description": "Memory compression system for Claude Code - persist context across sessions",
"keywords": [
"claude",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "claude-mem",
"version": "4.2.9",
"version": "4.2.10",
"description": "Persistent memory system for Claude Code - seamlessly preserve context across sessions",
"author": {
"name": "Alex Newman"