diff --git a/src/sessions/transcript-events.ts b/src/sessions/transcript-events.ts index a4dc705d35b..9179713581f 100644 --- a/src/sessions/transcript-events.ts +++ b/src/sessions/transcript-events.ts @@ -6,14 +6,6 @@ type SessionTranscriptListener = (update: SessionTranscriptUpdate) => void; const SESSION_TRANSCRIPT_LISTENERS = new Set(); -/** - * Register a listener for session transcript updates. - * Returns an unsubscribe function. Listeners are guarded with try/catch - * so a throwing subscriber cannot prevent other listeners from firing. - * - * @param listener - Callback invoked with the updated session file path. - * @returns Unsubscribe function; call it to remove the listener. - */ export function onSessionTranscriptUpdate(listener: SessionTranscriptListener): () => void { SESSION_TRANSCRIPT_LISTENERS.add(listener); return () => {