跳到主要内容
Plugin

dsh-edit-approval

SiriLee/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 包安装 · 安装无需配置

README 解析
shell
dsh plugin --profile web add dsh-edit-approval
shell
npm install # devDeps (harness packages pinned exactly to the target line)
shell
npm run typecheck # tsc on both surfaces, against the real DSH types

为什么是这个分数

近 40 天内有提交;README 给出了可直接复制的安装命令;装完即可用,无需额外配置;近月 npm 下载 1097 次,star 不多但真在被使用。

维护活跃
70
实用度
94
生态热度
61
上手便捷
100
信号质量
100
数据置信度
100%
评分怎么算