From b9442f51da8fec79fd6a145f9bf344034313d52b Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sat, 21 Feb 2026 03:33:15 +0900 Subject: [PATCH] fix(event): remove duplicate dispatchToHooks from merge artifact MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with assistance of [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode) --- src/plugin/event.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/plugin/event.ts b/src/plugin/event.ts index 20657ea95..248f207a0 100644 --- a/src/plugin/event.ts +++ b/src/plugin/event.ts @@ -110,9 +110,7 @@ export function createEventHandler(args: { const lastHandledRetryStatusKey = new Map() const lastKnownModelBySession = new Map() - const dispatchToHooks = async (input: { event: { type: string; properties?: Record } }): Promise => { - -const dispatchToHooks = async (input: EventInput): Promise => { + const dispatchToHooks = async (input: EventInput): Promise => { await Promise.resolve(hooks.autoUpdateChecker?.event?.(input)) await Promise.resolve(hooks.claudeCodeHooks?.event?.(input)) await Promise.resolve(hooks.backgroundNotificationHook?.event?.(input))