MoonlitDropOfBlood/dsh-agent-approval0

@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.

包名
@duke-dsh-plugins/dsh-agent-approval
版本
1.3.0
许可证
MIT
最近更新
2026年8月22日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MoonlitDropOfBlood/dsh-agent-approval

使用

  1. 开启:在 /permission 菜单选 Agent 审批,或输入 /agent-approval on
  2. 自动裁决:之后该会话里的提权请求(例如命令被沙箱拒绝后带 sandbox_permissions 的重试)不再弹窗,由审批 Agent 在后台裁决并放行/拒绝。
  3. 审计:设置 → Agent 审批 → 审批记录;悬停"审批理由"看完整理由与工具参数。
  4. 配置:同页设置审批模型(不选则用 Harness 默认模型)与审批超时。
  5. 关闭:菜单切回其他预设,或 /agent-approval off,恢复开启前的沙箱模式与审批策略。