Critical Fix
This patch release fixes a critical bug where the PM2 worker process would start from the wrong directory (development folder instead of marketplace folder), causing the plugin to malfunction when installed via the marketplace.
What's Fixed
-
Worker Startup Path Resolution (
src/shared/worker-utils.ts:61)
Addedcwd: pluginRootoption toexecSyncwhen starting PM2This ensures the worker always starts from the correct marketplace directory (
~/.claude/plugins/marketplaces/thedotmack/), regardless of where the hook is invoked from.
Impact
Users will no longer experience issues with the worker starting from the wrong location. The plugin now works correctly when installed via marketplace without manual intervention.
Verification
Run pm2 info claude-mem-worker to verify:
- exec cwd should be:
/Users/[username]/.claude/plugins/marketplaces/thedotmack - script path should be:
/Users/[username]/.claude/plugins/marketplaces/thedotmack/plugin/scripts/worker-service.cjs
🤖 Generated with Claude Code