Skip to content

v0.2.3

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Aug 08:57
· 2 commits to main since this release

Fixed

  • Rewind hid a message that was still visible. With two or more rewinds in one session, the client collapsed every rewind into a single [earliest target, latest marker] cut range. A later rewind to a later point leaves a gap of new traffic between the earlier marker and the later target; the collapsed range hid that still-on-surface gap, dropping a user message from the transcript while the agent still saw it in context.

    hiddenSeqsOf now tracks each rewind's own [target, marker] span and hides their union instead, so the gap stays visible. Regression test added in tests/hidden.test.ts.

修复

  • 回退误隐藏了一条仍可见的消息。 同一会话中发生两次及以上回退时,客户端把所有回退折叠成单一 [最早目标, 最晚标记] 区间。当后续回退到更晚的位置时,较早的标记与较晚的目标之间会留下一段新消息的空隙;折叠后的区间把这段仍在 surface 上的空隙一并隐藏,导致一条用户消息从记录中消失,而 agent 仍能在上下文中看到它。

    hiddenSeqsOf 现改为跟踪每次回退各自的 [目标, 标记] 区间并隐藏其并集,使空隙保持可见。已在 tests/hidden.test.ts 添加回归测试。