dsh-edit-approval
每次 edit 与 bash 调用前都会询问:编辑前展示红绿行级 diff,命令前展示描述与命令面板——同意一次或拒绝,两个 gate 各带独立总开关(Settings General)。
- 形态
- Plugin 插件
- 安装
- npm 包安装
- 需要密钥
- 否
- 近月下载
- 1,097
- 最近推送
- 1 个月前更新
项目说明
From README
dsh-edit-approval Ask-before-act approval for DeepSeek Harness: every write / edit call asks before the file is touched — a red/green line-level diff, approve once or reject — and every bash command asks before it runs , each with its own master switch on the plugin's own page under Plugins in the sidebar.
English 中文 A deliberately focused plugin with two mirror-symmetric approval gates — edits and commands — so the agent can never modify files or run commands without your say-so.
Gate Intercepts Default Panel --- --- --- --- Edit approval write / edit ( str replace editor on request) On Red/green line-level diff — approve once or reject Bash approval bash Off Description headline + native command row Both gates ride the harness's own serviceAsk seam: the plugin returns { kind: 'ask', reason } from tools/pre-execute , the harness routes it into the web approval panel — zero UI changes in
Original description
Per-edit approval gate for DeepSeek Harness — red/green line diff review before write/edit/stream operations · DSH 插件:逐操作审批门,write/edit/stream 执行前进行红绿行级 diff 审查
安装方式
npm 包安装 · 安装无需配置
dsh plugin --profile web add dsh-edit-approvalnpm install # devDeps (harness packages pinned exactly to the target line)npm run typecheck # tsc on both surfaces, against the real DSH types为什么是这个分数
近 40 天内有提交;README 给出了可直接复制的安装命令;装完即可用,无需额外配置;近月 npm 下载 1097 次,star 不多但真在被使用。
- 维护活跃
- 70
- 实用度
- 94
- 生态热度
- 61
- 上手便捷
- 100
- 信号质量
- 100
- 数据置信度
- 100%
相关插件
dsh-approval-hotkeys
SiriLee/dsh-approval-hotkeys
Web UI 面板快捷键:在审批、提问、计划审查等交互面板上,Enter 触发确认操作、Esc 触发取消操作。
dsh-auto-review
PerryLink/dsh-auto-review
审批链上的第二模型自动审查:只读审查子代理返回带理由的 allow/deny 结构化裁决,默认 fail-closed。
dsh-inline-diff
JanEickholt/dsh-inline-diff
将编辑与写入工具调用渲染为常开的双栏 diff,样式类似 git diff,可选语法配色与词级高亮。