Pular para o conteúdo principal
T

dsh-vscode-review (dsh-review)

tlyer233/dsh-vscode-review/dsh-review

Registra cada escrita, edição e `rm` de shell do agente em um repositório git sombra e depois os revisa hunk por hunk no VS Code — aceitar ou reverter cada um. Necessita da extensão complementar dsh-review-vscode; o painel só aparece dentro do webview do VS Code.

Instalar

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

Este plugin está no subdiretório dsh-review do repositório.

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

Plugins relacionados