github thedotmack/claude-mem v9.0.5

10 hours ago

Major Worker Service Cleanup

This release contains a significant refactoring of worker-service.ts, removing ~216 lines of dead code and simplifying the architecture.

Refactoring

  • Removed dead code: Deleted runInteractiveSetup function (defined but never called)
  • Cleaned up imports: Removed unused imports (fs namespace, spawn, homedir, readline, existsSync, writeFileSync, readFileSync, mkdirSync)
  • Removed fallback agent concept: Users who choose Gemini/OpenRouter now get those providers directly without hidden fallback behavior
  • Eliminated re-export indirection: ResponseProcessor now imports directly from CursorHooksInstaller instead of through worker-service

Security Fix

  • Removed dangerous ANTHROPIC_API_KEY check: Claude Code uses CLI authentication, not direct API calls. The previous check could accidentally use a user's API key (from other projects) which costs 20x more than Claude Code's pricing

Build Improvements

  • Dynamic MCP version management: MCP server and client versions now use build-time injected values from package.json instead of hardcoded strings, ensuring version synchronization

Documentation

  • Added Anti-Pattern Czar Generalization Analysis report
  • Updated README with $CMEM links and contract address
  • Added comprehensive cleanup and validation plans for worker-service.ts

Don't miss a new claude-mem release

NewReleases is sending notifications on new releases.