Skip to content

feat(web): 输入时补全项目文件路径 - #465

Merged
Qiyuanqiii merged 7 commits into
mainfrom
Qiyuanqiii/composer-file-path
Oct 27, 2026
Merged

Qiyuanqiii merged 7 commits into
mainfrom
Qiyuanqiii/composer-file-path

Conversation

@Qiyuanqiii

Copy link
Copy Markdown
Member

输入消息时可用 @ 浏览当前项目路径:逐层选择目录,按 Enter/Tab 选择文件后补全文本并加入现有文件引用。含空格和中文的路径使用引号保留;富文本与纯文本输入均支持。

基于 #458。目录候选使用现有 workspaceExplore,只读取当前父目录的有界列表;选择文件时读取真实快照,沿用摘要校验、脱敏标记、四文件上限和提交权限。读取失败、切换聊天或输入发生变化时保留草稿,迟到结果不写回。

验证:60项路径/输入/引用/停止聚焦测试与生产构建通过。Windows Chrome 实际验证中文空格路径引用、两种编辑模式发送、真实文件删除后404、Esc关闭和1440/390px候选布局。目录200项限制以及基线未包含#441时已有的聊天横向滚动在验收文档说明;原生桌面包及macOS未单独运行。

变更前:
输入路径前

变更后:
路径候选

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

Keep candidate keys ahead of prompt history and suppress selection callbacks while restoring rich-text drafts. Verify combined history, path selection, and Escape behavior.
…ompt-history

feat(chat): recall saved prompts with arrow keys
@Qiyuanqiii
Qiyuanqiii changed the base branch from Qiyuanqiii/composer-stop-shortcut to main October 27, 2026 04:58
@Qiyuanqiii
Qiyuanqiii merged commit de2b541 into main Oct 27, 2026
13 checks passed
@Qiyuanqiii
Qiyuanqiii deleted the Qiyuanqiii/composer-file-path branch October 27, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant