Skip to content

feat: 支持侧边栏文本和代码文件批注 - #58

Merged
taekchef merged 1 commit into
mainfrom
codex/annotation-sidebar
Sep 14, 2026
Merged

taekchef merged 1 commit into
mainfrom
codex/annotation-sidebar

Conversation

@taekchef

Copy link
Copy Markdown
Collaborator

侧边栏文件原先无法选中批注。现在支持 DSH 0.1.5-rc.2 的文本、Markdown 和代码预览,沿用编辑、保存及回车发送流程,并将文件路径随引用发给模型。同文不同文件分别保存;刷新后重新打开原文件可恢复标记,滚出预览区域的高亮会被裁剪。

复用宿主已有文件地址和正文标记,未新增依赖。检查当前宿主与 dsh-external 仓库目录后,未发现等价文件批注能力。PDF、图片及 iframe 内 HTML 不在本次范围;不增加低于当前支持下限的旧内核兼容路径。

验证:21 项测试、构建、语法和安装包校验通过;浏览器验证编辑窗口拖动、输入区域裁剪、三种正文、路径拼稿、同文不同文件、会话隔离、滚动和刷新恢复;隔离 DSH 0.1.5-rc.2 已验证真实文件打开、选择、保存、刷新重开定位和编辑。无模型凭据,未声称验证模型回复。CI 已加入浏览器检查和新版宿主侧边栏验收,继续保留 0.1.2-rc.1 下限检查。

Refs #57。尚未发布,保留 Issue 等待原环境复测。

@taekchef
taekchef merged commit 2cc2f06 into main Sep 14, 2026
2 checks passed
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