From 0bdfb4adebc64c0bf4700516e6d3e118ef6519bd Mon Sep 17 00:00:00 2001 From: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com> Date: Tue, 2 Jun 2026 03:57:26 +0000 Subject: [PATCH] fix(auto-reply): guard missing dispatcher getFailedCounts without weakening the SDK type --- src/auto-reply/reply/dispatch-from-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auto-reply/reply/dispatch-from-config.ts b/src/auto-reply/reply/dispatch-from-config.ts index 6b4098bf6cc..6b5f9977134 100644 --- a/src/auto-reply/reply/dispatch-from-config.ts +++ b/src/auto-reply/reply/dispatch-from-config.ts @@ -785,7 +785,7 @@ export function getDispatcherFinalOutcomeCounts(dispatcher: DispatcherOutcomeCou } { return { cancelled: dispatcher.getCancelledCounts?.().final ?? 0, - failed: dispatcher.getFailedCounts?.().final ?? 0, + failed: readDispatcherFailedCounts(dispatcher).final, }; }