fix(feishu): preserve text across transient progress and rotations - #179
Merged
Conversation
Follow up on evanfang0054's interaction presentation work in #168. Keep temporary statuses out of the frozen text prefix and derive final cards from the latest snapshot. Cover repeated questions, replayed final text, initial placeholders, replacement snapshots, and failed writes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
两次提问或审批之间出现工具状态时,状态文本会被拼入冻结前缀,导致后续累计正文重复显示;最终正文恰好等于冻结前缀时,收尾卡还可能沿用“正在使用工具”的旧状态。
本次继续完善 evanfang0054 在 #168 中实现的交互换卡逻辑。#168 已通过 merge commit
94f3b2f合入,原作者的完整提交历史和归属保持不变。lib/index.js。验证:新增 5 个回归测试,覆盖两次提问之间的工具更新(含 bridge 集成路径)、最终正文重放、初始占位/独立正文及写入失败。飞书相关测试 278/278 通过,完整
npm run check2470/2470 通过,包产物验证通过。