• v5.4.4 30ebe92a53

    Release v5.4.4: Fix duplicate entries in viewer

    airkjw released this 2025-11-10 22:30:58 +00:00 | 1464 commits to main since this release

    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

    Co-Authored-By: Claude noreply@anthropic.com

    Downloads