Release v5.4.4: Fix duplicate entries in viewer
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
+1
-1
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user