github thedotmack/claude-mem v5.4.4

latest releases: v10.0.7, v10.0.6, v10.0.5...
3 months ago

v5.4.4 (2025-11-10)

Breaking Changes: None (patch version)

Bugfix:

  • Fixed duplicate observations and summaries appearing in viewer with different IDs and timestamps
  • Root cause: handleSessionInit spawned an SDK agent but didn't save the promise to session.generatorPromise, causing handleObservations to spawn a second agent for the same session

Technical Details:

  • Modified: src/services/worker-service.ts:265
  • Change: Now assigns session.generatorPromise = this.sdkAgent.startSession(...) to track the promise
  • Impact: Single SDK agent per session (previously two), eliminates duplicate database entries and SSE broadcasts
  • Pattern: Matches existing implementation in handleSummarize (line 332)
  • Guard: Leverages existing condition in handleObservations (line 301) that checks for existing promise

User Impact:

  • No more duplicate entries in the viewer UI
  • Cleaner, more accurate memory stream visualization
  • Reduced redundant processing and database writes

Merged via PR #86

Don't miss a new claude-mem release

NewReleases is sending notifications on new releases.