DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

Hanihahaha /

Hanihahaha/dsh-auto-approve

已验证

这个插件还没有填写简介。

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: main@446f7fc9

dsh-auto-approve

中文

A DeepSeek Harness plugin that adds an auto-approve permission mode and can automatically grant requests matching its sandbox-reason heuristic or all approval requests.

Features

  • Adds an Auto approve permission preset that preserves the workspace-write boundary.
  • Provides /auto-approve all|sandbox|off|status.
  • Adds a session-header control that cycles between off, sandbox-matched, and all approvals.
  • Intercepts the approval/request waterfall and returns allowed-once for the selected mode.

Install

# Install from the repository root.
dsh plugin --profile web add ".\dsh-auto-approve"

# Or, after publishing
dsh plugin --profile web add dsh-auto-approve

Restart dsh web after installation. The permission selector then exposes the Auto approve preset and the command and header control become available.

How It Works

Layer Behavior
Permission preset Extends @deepseek-ai/dsh-permission-presets with auto-approve using workspace-write plus ask.
Approval handling Intercepts approval/request; the preset grants all requests, while manual sandbox mode grants requests whose reason text contains sandbox, all grants every request, and off grants none.

DSH has ask and never policies but no native auto-approve policy. This plugin implements auto-approval by short-circuiting the waterfall. never means reject, not auto-approve.

Security

  • all grants every approval request and is only suitable for trusted tasks.
  • Manual mode is process-local and returns to the default sandbox mode after restart.
  • The Auto approve preset remains constrained to workspace-write; requests outside the workspace still use escalation, although this plugin grants the resulting approval.
—/ 5

暂无评分

已验证 DSH bundle

Commit 446f7fc97f95

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于