1x1-lab/dsh-auto-execute

1x1-lab★ 1JavaScript最后同步: 2026-08-14

在 GitHub 打开

DeepSeek Harness(DSH)的 Cordis 插件:让审批自动放行

README 摘要

dsh-auto-execute —— 审批"自动执行"插件 English: dsh-auto-execute is a Cordis plugin for DeepSeek Harness (DSH) that auto-approves approval requests. It ships two modes: an auto-execute preset (select it in Settings → Permissions and every approval in that session is automatically allowed — the preset itself is the switch) and a rule mode (exact-match approvals by tool name + reason substring, controlled by an enabled toggle, e.g. /auto-execute add ... ). Every auto-approval is logged, and reverting the preset or disabling rule mode restores normal prompting. See the full English README. DeepSeek Harness(DSH)的 Cordis 插件:让审批 自动放行 。两种模式: 1. 自动执行预设联动(推荐) :权限设置里新增了 auto-execute ("自动执行")预设 ( danger-full-access + 审批链保留 ask )。在网页 设置 → 权限 下拉选中它, 该会话的所有审批请求自动放行—— 选择预设即生效,预设本身就是开关 。 2. 规则模式 :按 工具名 + reason 子串 精确放行( /auto-execute add ... ), 由 enabled 开关控制。 背景:DSH 内置审批只支持一次性授权( allowed-once ),没有"记住并放行";权限预设 的 danger-full-access 绑定 approval: never ( 拒绝 需要审批的操作),不是放行。 本插件在 approval/request 瀑布链上插入 answerer:预设态/规则命中 → 返回 allowed-once ;否则 next() 交给正常询问。 能干什么 - 增强权限 + 自动执行 :权限下拉选"自动执行" → sandbox 立即 danger-full-access (比 workspace-write 更高),审批不再弹窗,重启后依然生效(预设写入会话事件 + settings)。 - 可关闭 :权限下拉切回 workspace-write / …

在 GitHub 查看完整 README →
工具/开发dsh-plugindsh-plugins

分类