fix(background-agent): forward session stream activity

This commit is contained in:
YeonGyu-Kim
2026-05-21 15:49:58 +09:00
parent 90c38d16b4
commit bd1a6e3d3b
5 changed files with 93 additions and 1 deletions
+2
View File
@@ -85,6 +85,7 @@ import {
import { handleSessionIdleBackgroundEvent } from "./session-idle-event-handler"
import {
hasOutputSignalFromPart,
isMessagePartForSession,
resolveMessagePartInfo,
resolveSessionNextPartInfo,
SESSION_NEXT_EVENT_PREFIX,
@@ -1498,6 +1499,7 @@ The fallback retry session is now created and can be inspected directly.
const partInfo = resolveMessagePartInfo(props)
const sessionID = resolveMessageEventSessionID(props)
if (!sessionID) return
if (!isMessagePartForSession(partInfo, sessionID)) return
this.clearDispatchedParentWake(sessionID)
this.parentWakeNotifier.recordParentSessionActivity(sessionID)