feat(agent-gui): strengthen input history regression coverage - #2353
Open
J1nyu123 wants to merge 1 commit into
Open
feat(agent-gui): strengthen input history regression coverage#2353J1nyu123 wants to merge 1 commit into
J1nyu123 wants to merge 1 commit into
Conversation
Signed-off-by: J1nyu123 <214785254+J1nyu123@users.noreply.github.com>
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.
关联 Issue
Related to #2320
背景
AgentGUI 已支持在 Session composer 中使用
ArrowUp和ArrowDown浏览当前 Session 的历史输入。本 PR 根据输入历史功能的验收标准,补齐此前缺少的直接回归测试,防止 IME、Session 切换、召回内容编辑和空记录处理发生回归。变更内容
ArrowUp和ArrowDown不触发输入历史导航,也不拦截键盘事件设计说明
本 PR 不修改生产逻辑。输入历史继续:
验证
pnpm check:changed -- --push-ready:13 个 lane 全部通过Windows 影响
本 PR 仅增加浏览器键盘事件和平台无关状态逻辑的测试,不修改路径、文件系统、进程、shell、环境变量或原生依赖。Windows 与 POSIX 使用相同的 AgentGUI 代码路径,无需新增平台专用实现。
文档影响
discard。docs/architecture/agent-gui-node.md已记录输入历史的数据来源、分页与持久化策略、去重规则、键盘条件和 Session 隔离,本 PR 无需重复更新文档。