Skip to content

Commit 884a2ba

Browse files
committed
fix(team-mode): remove duplicate teamSessionStreamer dispatch in event.ts
The teamSessionStreamer hook was registered inside dispatchToHooks() at line 275 AND invoked again directly at line 390, causing every message event to be processed twice. Remove the outer invocation - the one inside dispatchToHooks is enough and runs for every event. Oracle review blocker (reported by oracle session verifying #3493).
1 parent e02369c commit 884a2ba

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/plugin/event.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,6 @@ export function createEventHandler(args: {
387387
const { event } = input;
388388
const props = event.properties as Record<string, unknown> | undefined;
389389

390-
await runEventHookSafely("teamSessionStreamer", teamSessionStreamer?.event, input);
391-
392390
if (tmuxIntegrationEnabled && TMUX_ACTIVITY_EVENT_TYPES.has(event.type)) {
393391
managers.tmuxSessionManager.onEvent?.(event as { type: string; properties?: Record<string, unknown> });
394392
}

0 commit comments

Comments
 (0)