From d60f9b920f62a443426fd11018d4bb5d628a794a Mon Sep 17 00:00:00 2001 From: Trevin Chow Date: Thu, 29 Jan 2026 09:18:18 -0800 Subject: [PATCH] feat(hooks): add cleanup fields to HookDispatchers type --- src/gateway/server-http.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gateway/server-http.ts b/src/gateway/server-http.ts index f08dc811c..202f11738 100644 --- a/src/gateway/server-http.ts +++ b/src/gateway/server-http.ts @@ -47,6 +47,8 @@ type HookDispatchers = { thinking?: string; timeoutSeconds?: number; allowUnsafeExternalContent?: boolean; + cleanup?: "delete" | "keep"; + cleanupDelayMinutes?: number; }) => string; };