From f1feaa25962ce42d26f3c0d067647436175335e7 Mon Sep 17 00:00:00 2001 From: Trevin Chow Date: Thu, 29 Jan 2026 09:19:50 -0800 Subject: [PATCH] feat(hooks): pass cleanup from HTTP handler to dispatch --- 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 202f11738..07d8a3f02 100644 --- a/src/gateway/server-http.ts +++ b/src/gateway/server-http.ts @@ -184,6 +184,8 @@ export function createHooksRequestHandler( thinking: mapped.action.thinking, timeoutSeconds: mapped.action.timeoutSeconds, allowUnsafeExternalContent: mapped.action.allowUnsafeExternalContent, + cleanup: mapped.action.cleanup, + cleanupDelayMinutes: mapped.action.cleanupDelayMinutes, }); sendJson(res, 202, { ok: true, runId }); return true;