fix(webfetch): guard redirect loops in built-in flow

This commit is contained in:
YeonGyu-Kim
2026-03-24 23:58:53 +09:00
parent cea8769a7f
commit af301ab29a
10 changed files with 401 additions and 0 deletions
+1
View File
@@ -125,6 +125,7 @@ export function createToolExecuteAfterHandler(args: {
await hooks.taskResumeInfo?.["tool.execute.after"]?.(input, output)
await hooks.readImageResizer?.["tool.execute.after"]?.(input, output)
await hooks.hashlineReadEnhancer?.["tool.execute.after"]?.(input, output)
await hooks.webfetchRedirectGuard?.["tool.execute.after"]?.(input, output)
await hooks.jsonErrorRecovery?.["tool.execute.after"]?.(input, output)
}