dsh-at-file
FSMargoo/dsh-at-fileCodex 风格的 `@file` 文件引用,输入框里直接搜索并引用工作区文件。
把 agent 的文件改动审查放进 dsh-better-sidebar 侧边栏 Tab 或对话尾部行,支持行级 diff 与撤销。
把 dsh-file-review(作者 left0ver)的"改动审查"能力移植为 dsh-better-sidebar 的侧边栏 Tab,并保留对话尾部的审查行——两个入口同源,互不干扰。
Port of left0ver/dsh-file-review's change-review capability into a dsh-better-sidebar sidebar tab, keeping the chat turn-tail review row.
rm 族命令(rm / rmdir / unlink / Remove-Item / del / rd 等)的字面路径参数,被删文件以「已删除」标记出现在两个入口(内容已不存在,故无行级 diff、不可撤销)。带通配符(rm *.log)或命令替换(rm $(...))的删除不识别——受影响文件事后无法枚举。run_code 程序内部的 edit/write 子调用也会被捕获——Host 端快照完整 before/after,浏览器端重建带行号的行级 hunks 并入所属轮次;diff 查看、状态检查、撤销/重做均可用。标准模式行为不变(对话尾部审查行仍只覆盖标准模式轮次)。--dsw-alias-* 主题令牌,不与对话区或其他插件冲突。# npm(推荐)
dsh plugin --profile web add dsh-file-review-tab
# 或 GitHub 源
dsh plugin --profile web add github:Lzh3070/dsh-file-review-tab
前置依赖:DeepSeek Harness web(0.1.5-rc.1+,已在 0.1.5-rc.1 / 0.1.5-rc.2 上真机验证)+ dsh-better-sidebar(≥ 0.19.1)。
版本对应:
dsh-file-review-tab@0.5.x只支持 DSH 0.1.5 及更新的侧边栏 API;仍停留在 DSH 0.1.2 / 0.1.1 的用户请继续使用dsh-file-review-tab@0.4.1。
安装后重启 dsh web,在 better-sidebar 侧边栏「+」菜单打开「文件审查」即可。
核心 diff 渲染器与撤销服务移植自 left0ver/dsh-file-review(MIT License, © ZhangWenChao)。侧边栏集成基于 dsh-better-sidebar 开放的 ctx.betterSidebar 注册 API。
rm-family arguments (rm, rmdir, unlink, Remove-Item, del, …) are parsed and deleted files appear marked "deleted" in both surfaces (no line diff, no undo: the content is gone). Glob/command-substitution deletions are not guessed.Requires DeepSeek Harness web (0.1.5-rc.1+, verified on 0.1.5-rc.1 / 0.1.5-rc.2) and dsh-better-sidebar (≥ 0.19.1). dsh-file-review-tab@0.5.x targets only the DSH 0.1.5 client API; users on DSH 0.1.2 / 0.1.1 should stay on 0.4.1. Restart dsh web after installing, then open the "File Review" tab from the sidebar's "+" menu.