Repository navigation
feat(web): 输入时补全项目文件路径 - #465
Merged
Merged
Conversation
Keep candidate keys ahead of prompt history and suppress selection callbacks while restoring rich-text drafts. Verify combined history, path selection, and Escape behavior.
This was referenced Oct 21, 2026
…ompt-history feat(chat): recall saved prompts with arrow keys
Qiyuanqiii
changed the base branch from
Qiyuanqiii/composer-stop-shortcut
to
main
October 27, 2026 04:58
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.
输入消息时可用 @ 浏览当前项目路径:逐层选择目录,按 Enter/Tab 选择文件后补全文本并加入现有文件引用。含空格和中文的路径使用引号保留;富文本与纯文本输入均支持。
基于 #458。目录候选使用现有 workspaceExplore,只读取当前父目录的有界列表;选择文件时读取真实快照,沿用摘要校验、脱敏标记、四文件上限和提交权限。读取失败、切换聊天或输入发生变化时保留草稿,迟到结果不写回。
验证:60项路径/输入/引用/停止聚焦测试与生产构建通过。Windows Chrome 实际验证中文空格路径引用、两种编辑模式发送、真实文件删除后404、Esc关闭和1440/390px候选布局。目录200项限制以及基线未包含#441时已有的聊天横向滚动在验收文档说明;原生桌面包及macOS未单独运行。
变更前:

变更后:

窄屏、真实引用发送、读取失败截图与验证记录。