MoonlitDropOfBlood/dsh-agent-approval ↗★ 0
@duke-dsh-plugins/dsh-agent-approval
Agent-decided approvals for DeepSeek Harness: a workspace-write base permission mode where an independent approval subagent judges every sandbox escalation (risky operations are rejected), with a configurable approval model and an audit log in Settings.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MoonlitDropOfBlood/dsh-agent-approval说明文档
阅读完整 README ↗使用
- 开启:在
/permission菜单选 Agent 审批,或输入/agent-approval on。 - 自动裁决:之后该会话里的提权请求(例如命令被沙箱拒绝后带
sandbox_permissions的重试)不再弹窗,由审批 Agent 在后台裁决并放行/拒绝。 - 审计:设置 → Agent 审批 → 审批记录;悬停"审批理由"看完整理由与工具参数。
- 配置:同页设置审批模型(不选则用 Harness 默认模型)与审批超时。
- 关闭:菜单切回其他预设,或
/agent-approval off,恢复开启前的沙箱模式与审批策略。