fix(feishu): thread failure and error notices to the triggering message

Failure notices (turn failures, sub-flow errors from list/card/preset/
model/compact/stop/bind/switch paths, batch-input results, and the
card-queue rate-limit notice) were sent as fresh messages keyed only by
chat_id, so in topic groups they landed in the group's default area
instead of the topic the interaction belongs to.

- #sendFailure accepts options.replyTo; every call site forwards the
  anchor available in its context (command message, card message, or
  watch/list anchor)
- #handleMessageFailure and #finishBatchResult thread to the triggering
  message
- /repair stays private-chat-only by design; proactive delivery keeps
  its existing behavior (no thread context exists there)

- lib/index.js: regenerated host bundle
This commit is contained in:
evanfang0054 2026-08-31 21:25:13 +08:00
parent 6d815e0254
commit 82e7127cb4
2 changed files with 25 additions and 22 deletions

File diff suppressed because one or more lines are too long