github thedotmack/claude-mem v8.5.7

latest releases: v9.0.1, v9.0.0, v8.5.10...
5 days ago

Modular Architecture Refactor

This release refactors the monolithic service architecture into focused, single-responsibility modules with comprehensive test coverage.

Architecture Improvements

  • SQLite Repositories (src/services/sqlite/) - Modular repositories for sessions, observations, prompts, summaries, and timeline
  • Worker Agents (src/services/worker/agents/) - Extracted response processing, error handling, and session cleanup
  • Search Strategies (src/services/worker/search/) - Modular search with Chroma, SQLite, and Hybrid strategies plus orchestrator
  • Context Generation (src/services/context/) - Separated context building, token calculation, formatters, and renderers
  • Infrastructure (src/services/infrastructure/) - Graceful shutdown, health monitoring, and process management
  • Server (src/services/server/) - Express server setup, middleware, and error handling

Test Coverage

  • 595 tests across 36 test files
  • 1,120 expect() assertions
  • Coverage for SQLite repos, worker agents, search, context, infrastructure, and server modules

Session ID Refactor

  • Aligned tests with NULL-based memory session initialization pattern
  • Updated SESSION_ID_ARCHITECTURE.md documentation

Other Improvements

  • Added missing logger imports to 34 files for better observability
  • Updated esbuild and MCP SDK to latest versions
  • Removed bun.lock from version control

Full Changelog: v8.5.6...v8.5.7

Don't miss a new claude-mem release

NewReleases is sending notifications on new releases.