跳过主要内容
T

dsh-vscode-review (dsh-review)

tlyer233/dsh-vscode-review/dsh-review

把 agent 的每次写入、编辑和 shell `rm` 删除记录进一个 shadow git 仓库,然后在 VS Code 里逐 hunk 接受或撤回。需要配合 dsh-review-vscode 扩展;面板只出现在 VS Code 的 webview 里,独立浏览器中的对话界面不变。

安装

dsh plugin --profile web add github:tlyer233/dsh-vscode-review

该插件位于仓库的 dsh-review 子路径下。

README

dsh-review

dsh 插件 + VS Code 扩展:把 agent 的 write/edit 收成可逐 hunk 接受 / 撤回的行内审查。

Features

PixPin_2026-08-24_12-20-02.png

  • Shadow git 记录 write/edit(以及 shell rm 删除)
  • VS Code 行内接受 / 撤回 hunk
  • 仅 VS Code iframe 内显示 dock;独立浏览器不改原生对话 UI

Install

Mac:

./install.sh

Windows:

powershell -ExecutionPolicy Bypass -File .\install.ps1

需要重启dsh和vscode

UnInstall

卸掉 dsh 插件 dsh-review、VS Code 扩展 dsn.dsh-review-vscode,并删除 shadow 目录。

Mac:

./uninstall.sh

Windows:

powershell -ExecutionPolicy Bypass -File .\uninstall.ps1

Storage

$DSH_HOME/review/shadow/
  repo.git/                 # shadow git位置
  pending/<wbHash>.json     # 记录文件的版本号

License

MIT

相关插件