Lzh3070/dsh-file-review-tab
dsh-better-sidebar 侧边栏 Tab 版文件改动审查:行级红绿 diff + 撤销,chat 行深链(移植自 left0ver/dsh-file-review)/ Review agent file changes as a dsh-better-sidebar sidebar tab — line-level diffs + undo, ported from left0ver/dsh-file-review
项目介绍Project Overview
dsh-file-review-tab 把 dsh-file-review 的改动审查能力移植为 dsh-better-sidebar 的侧边栏 Tab。对话尾部保留"已编辑 N 个文件 / 撤销 / 审查"行,点审查或文件名会深链打开 Tab 并自动展开对应文件 diff、定位到该轮分组顶部;侧边栏按轮次分组列出本会话改动文件,渲染行级红绿 diff,支持按轮或单文件撤销与重做,角标实时显示改动数。适用于每轮多次编辑后需要回看与回退的场景。前提是 DeepSeek Harness web ≥ 0.1.0-rc.5 且 dsh-better-sidebar ≥ 0.12.0,安装后需重启 dsh web。
dsh-file-review-tab ports dsh-file-review's change-review capability into a dsh-better-sidebar tab. The chat turn-tail review row ("Edited N files · Undo · Review") deep-links into the tab, auto-expanding the matching file diff and scrolling the turn group to the top. The sidebar lists changed files grouped by turn with line-level red/green diffs, supports per-turn and per-file undo/reapply, and shows a live badge with the change count. Use it to inspect and roll back multi-file edits within a session. Requires DeepSeek Harness web ≥ 0.1.0-rc.5 and dsh-better-sidebar ≥ 0.12.0; restart dsh web after install.
请帮我了解并安装插件:【dsh-file-review-tab】【https://github.com/Lzh3070/dsh-file-review-tab】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add dsh-file-review-tab
把 Lzh3070/dsh-file-review-tab 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
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 角标实时显示改动文件数。
- PTC / Code Mode 支持:
run_code程序内部的edit/write子调用也会被捕获——Host 端快照完整 before/after,浏览器端重建带行号的行级 hunks 并入所属轮次;diff 查看、状态检查、撤销/重做均可用。标准模式行为不变(对话尾部审查行仍只覆盖标准模式轮次)。 - 会话隔离:每个会话只看自己的改动;Tab 不可见时暂停状态巡检。
- 样式隔离:全部 CSS Module + 宿主
--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.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
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.
nexu-io/open-design
ruvnet/ruflo
amruthpillai/reactive-resume
esengine/DeepSeek-Reasonix
volcengine/OpenViking
Molunerfinn/PicGo
titanwings/distilly
titanwings/colleague-skill