From 30ebe92a5345029d2321570a5d7b01fa5126aceb Mon Sep 17 00:00:00 2001 From: Alex Newman Date: Mon, 10 Nov 2025 17:30:58 -0500 Subject: [PATCH] Release v5.4.4: Fix duplicate entries in viewer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bugfix: - Fixed duplicate observations and summaries appearing in viewer - Root cause: handleSessionInit spawned SDK agent but didn't save promise to session.generatorPromise - Second agent would spawn when handleObservations ran, causing duplicates - Fix: Assign generatorPromise in handleSessionInit (matches handleSummarize pattern) Technical changes: - Modified src/services/worker-service.ts:265 - Now tracks promise to prevent duplicate agent spawning - Guard condition in handleObservations (line 301) now works correctly 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .claude-plugin/marketplace.json | 2 +- CLAUDE.md | 2 +- package.json | 2 +- plugin/.claude-plugin/plugin.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index f47a26db..c9f30388 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -10,7 +10,7 @@ "plugins": [ { "name": "claude-mem", - "version": "5.4.3", + "version": "5.4.4", "source": "./plugin", "description": "Persistent memory system for Claude Code - context compression across sessions" } diff --git a/CLAUDE.md b/CLAUDE.md index 680ea961..1a4957a3 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,7 +6,7 @@ Claude-mem is a Claude Code plugin providing persistent memory across sessions. **Your Role**: You are working on the plugin itself. When users interact with Claude Code with this plugin installed, your observations get captured and become their persistent memory. -**Current Version**: 5.4.3 +**Current Version**: 5.4.4 ## Critical Architecture Knowledge diff --git a/package.json b/package.json index 5530ae50..09dac132 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "claude-mem", - "version": "5.4.3", + "version": "5.4.4", "description": "Memory compression system for Claude Code - persist context across sessions", "keywords": [ "claude", diff --git a/plugin/.claude-plugin/plugin.json b/plugin/.claude-plugin/plugin.json index 4b686f0e..1372693d 100644 --- a/plugin/.claude-plugin/plugin.json +++ b/plugin/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "claude-mem", - "version": "5.4.3", + "version": "5.4.4", "description": "Persistent memory system for Claude Code - seamlessly preserve context across sessions", "author": { "name": "Alex Newman"