feat(hooks): pass cleanup from HTTP handler to dispatch

This commit is contained in:
Trevin Chow 2026-01-29 09:19:50 -08:00 committed by Trevin Chow
parent 8984bc4779
commit f1feaa2596

View File

@ -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;