From df36efacf482e9db58b4400e34854d607cadec90 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sun, 8 Mar 2026 02:23:46 +0900 Subject: [PATCH] fix(plugin): dispatch compaction context hook events Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus --- src/plugin/event.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugin/event.ts b/src/plugin/event.ts index 1a9356194..1ad18da77 100644 --- a/src/plugin/event.ts +++ b/src/plugin/event.ts @@ -158,6 +158,7 @@ export function createEventHandler(args: { await Promise.resolve(hooks.interactiveBashSession?.event?.(input as EventInput)); await Promise.resolve(hooks.ralphLoop?.event?.(input)); await Promise.resolve(hooks.stopContinuationGuard?.event?.(input)); + await Promise.resolve(hooks.compactionContextInjector?.event?.(input)); await Promise.resolve(hooks.compactionTodoPreserver?.event?.(input)); await Promise.resolve(hooks.writeExistingFileGuard?.event?.(input)); await Promise.resolve(hooks.atlasHook?.handler?.(input));