Fix styles

This commit is contained in:
SciFantastic
2026-02-20 12:20:15 -06:00
committed by Peter Steinberger
parent bab5d994bc
commit 85f01cd9eb

View File

@@ -6,14 +6,6 @@ type SessionTranscriptListener = (update: SessionTranscriptUpdate) => void;
const SESSION_TRANSCRIPT_LISTENERS = new Set<SessionTranscriptListener>();
/**
* 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 () => {