DeepSeek Harness 插件

dsh-file-review-tab

把 agent 的文件改动审查放进 dsh-better-sidebar 侧边栏 Tab 或对话尾部行,支持行级 diff 与撤销。

跳到安装方式

来源信息

GitHub 仓库
Lzh3070/dsh-file-review-tab
最近更新
2026年8月20日
分类
界面增强
GitHub stars
0

安装

默认先复制一段 Prompt,让 Agent 读页面和仓库;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读页面和仓库。

请先不要安装。阅读这个 DeepSeek Harness 插件,说明它解决什么问题、会访问哪些文件、网络或密钥,以及如何安装和卸载。

插件页面:https://deepseekplugins.org/zh/plugins/Lzh3070/dsh-file-review-tab
GitHub:https://github.com/Lzh3070/dsh-file-review-tab
插件名:dsh-file-review-tab
作者:Lzh3070
安装命令:dsh plugin --profile web add github:Lzh3070/dsh-file-review-tab

确认前不要执行安装命令。

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-file-review-tab

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.

功能

  • 对话尾部审查行:回合结束出现"已编辑 N 个文件 +M −K / 撤销 / 审查";点「审查」或单个文件名,深链打开侧边栏 Tab,自动展开对应文件的 diff 并定位到该轮分组顶部(不再弹全宽 drawer)。
  • 侧边栏 Tab「文件审查」:按轮次分组列出本会话改动文件;点击展开行级红绿 diff;支持撤销本轮 / 单文件撤销 / 重新应用;Tab 角标实时显示改动文件数。
  • 会话隔离:每个会话只看自己的改动;Tab 不可见时暂停状态巡检。
  • 样式隔离:全部 CSS Module + 宿主 --dsw-alias-* 主题令牌,不与对话区或其他插件冲突。

![对话尾部的审查行:已编辑 N 个文件、撤销与审查按钮、文件名列表](docs/screenshot.png)

安装

# 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.0-rc.5)+ dsh-better-sidebar(≥ 0.12.0)。

安装后重启 dsh web,在 better-sidebar 侧边栏「+」菜单打开「文件审查」即可。

致谢

核心 diff 渲染器与撤销服务移植自 left0ver/dsh-file-review(MIT License, © ZhangWenChao)。侧边栏集成基于 dsh-better-sidebar 开放的 ctx.betterSidebar 注册 API。

License

[MIT](./LICENSE)

---

Features (English)

  • Chat turn-tail review row ("Edited N files +M −K · Undo · Review") that deep-links into the sidebar tab (auto-expanding the diffs and scrolling the turn group to the top) instead of a full-width drawer.
  • Sidebar tab "File Review" in dsh-better-sidebar: per-turn grouped changed files, line-level red/green diffs, undo per turn or per file, live badge with the changed-file count.
  • Session-isolated, pause-when-hidden, CSS-Module scoped styling (no conflicts with the chat area or other plugins).

Requires DeepSeek Harness web (≥ 0.1.0-rc.5) and dsh-better-sidebar (≥ 0.12.0). Restart dsh web after installing, then open the "File Review" tab from the sidebar's "+" menu.