dsh-file-review

by left0ver

22 UI 增强github收录于 08-23

dsh插件 - 立刻审查agent对文件的修改,查看diff

安装

dsh plugin --profile web add github:left0ver/dsh-file-review

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

DSH File Review

无需离开 DeepSeek Harness Web,即可立即审查 Agent 刚刚修改的每个文件。

DeepSeek Harness 0.1.x Web profile npm version GitHub repository MIT License

English · 简体中文

怎么用

效果预览

leftover

功能

  1. Diff面板,立即审查 Agent 刚刚修改的每个文件。
  2. 支持撤销操作,可以撤销Agent这一轮的修改。
  3. 可对修改的内容行进行评论,并让Agent根据评论的内容进行修改。
  4. 多语言支持,包括中文和英文。

快速开始

0. 将dsh-file-review添加到pnpm冷静期白名单

找到~/.dsh/profiles/web/pnpm-workspace.yaml,加上

minimumReleaseAgeExclude:
  - dsh-file-review

这是因为较新版的pnpm有冷静期,默认情况下,新发布的包得过了冷静期之后才会被安装。因此要安装最新版本,需要将dsh-file-review加入到名单中。

1. 安装插件

dsh plugin --profile web add dsh-file-review

2. 启动 DSH Web

dsh web

3. 享受它

从源码安装

git clone https://github.com/left0ver/dsh-file-review.git
cd dsh-file-review
pnpm install
pnpm run build
dsh plugin --profile web add ${PWD}

从GitHub仓库进行安装

dsh plugin --profile web add github:left0ver/dsh-file-review

更新插件

dsh plugin --profile web update dsh-file-review

卸载插件

dsh plugin --profile web remove dsh-file-review

友情链接

LINUX DO — 新的理想型社区

许可证

MIT

原始 README: https://github.com/left0ver/dsh-file-review/blob/main/README.zh.md ↗