Files
openclaw/extensions
Alix-007 14487888b5 fix(auto-reply): guard missing dispatcher getFailedCounts without weakening the SDK type
getDispatcherFinalOutcomeCounts called dispatcher.getFailedCounts()
without optional chaining while the adjacent getCancelledCounts?.() was
guarded, so dispatcher variants omitting getFailedCounts threw
"TypeError: dispatcher.getFailedCounts is not a function".

Keep the public ReplyDispatcher.getFailedCounts contract required (no
plugin-facing SDK break) and add an internal DispatcherOutcomeCountsView
plus a readDispatcherFailedCounts helper for the defensive accounting
paths in core dispatch (dispatch-from-config, dispatch-acp-delivery) and
the Feishu extension bot, each falling back to zero counts when a
non-conforming runtime dispatcher omits the method.

Fixes #89116

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 04:04:23 +00:00
..
2026-06-01 23:06:55 +01:00
2026-06-01 23:06:55 +01:00
2026-06-01 23:06:55 +01:00
2026-06-01 23:06:55 +01:00
2026-06-01 23:06:55 +01:00
2026-06-01 23:06:55 +01:00
2026-06-01 23:06:55 +01:00
2026-06-01 23:06:55 +01:00
2026-06-01 23:06:55 +01:00
2026-06-01 23:06:55 +01:00
2026-06-01 23:06:55 +01:00
2026-06-01 23:06:55 +01:00
2026-06-01 23:06:55 +01:00