From 509ec1847b102d2dcce182d83418205e21f06850 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Tue, 24 Feb 2026 11:58:05 -0600 Subject: [PATCH] fix: scope lifecycle notifications to active session, remove mock mode - Only show hookHistory/lifecycleEvent when viewing the agent's current live session, preventing notification leaking to historical sessions - Reset notifications on SessionStart (like hookHistory already does) - Remove mock/demo animation mode from SessionLifecycleStatus - Delete dead useHooksApproval composable (never imported) --- .../transcript-debug/ChatContainer.vue | 247 ++++++++++++++--- .../SessionLifecycleStatus.vue | 251 +++++++----------- .../src/composables/transcript-debug/index.ts | 1 - .../transcript-debug/useHooksApproval.ts | 112 -------- server/services/session-state.ts | 8 +- 5 files changed, 319 insertions(+), 300 deletions(-) delete mode 100644 frontend/src/composables/transcript-debug/useHooksApproval.ts diff --git a/frontend/src/components/transcript-debug/ChatContainer.vue b/frontend/src/components/transcript-debug/ChatContainer.vue index c7f5504..748c114 100644 --- a/frontend/src/components/transcript-debug/ChatContainer.vue +++ b/frontend/src/components/transcript-debug/ChatContainer.vue @@ -1,5 +1,5 @@