dsh-auto-review-desktop: DSH Configurable Model Authorization Review

Introduction

In DSH, when allowing agents to read/write workspaces and execute commands, permissions often require toggling between “fully automatic” and “click to approve at every step”. The official experimental plugin @deepseek-ai/dsh-experimental-auto-review performs reviews on native calls, but the review model is usually bound to the session’s main model, and there is no exemption strategy for read/write within the workspace. dsh-auto-review-desktop, maintained by community maintainer NekoErwin, enhances this concept: independent review model, Workspace / Full access modes, sub-agent permission inheritance, as well as review history and usage statistics. This article introduces its positioning, installation, and daily usage based on the README and package information.

What is it

dsh-auto-review-desktop is an authorization review plugin for DSH (Category: admin-security), targeting the Web/Desktop interfaces for DSH 0.2.0+. The README states it is inspired by the Codex review concept and built upon the official experimental plugin @deepseek-ai/dsh-experimental-auto-review, but it can run independently and does not require the official plugin to be installed simultaneously; if both exist, it is recommended to disable the official experimental version to avoid duplicate reviews.

  • Maintainer: NekoErwin
  • Current Version: 0.4.10 (MIT)
  • Directory: https://www.skillhub.cn/plugins/NekoErwin/dsh-auto-review-desktop
  • Source: https://github.com/NekoErwin/dsh-auto-review-desktop

The summary on SkillHub states: perform model authorization review in Workspace / Full access modes, supporting sub-agent inheritance and custom review model settings.

Core Features

The following is derived from the README “What it adds” and the comparison table with the official plugin.

Two Permission Modes

Mode Behavior
Auto review (Workspace) Eligible native workspace operations are executed within DSH’s workspace-write sandbox without model review; remaining requests are handled according to the “outside workspace” strategy.
Auto review (Full access) The session runs with full access, and every actual action is submitted to the model for review.

You can also switch modes using commands in the conversation: /permission auto-review-workspace or /permission auto-review-desktop. Saving settings will not automatically switch the permission mode of the current conversation.

Review Model and Strategies

  • The review model can follow the session model or be individually specified from DSH’s configured models; API credentials still go through DSH’s native model settings.
  • Requests outside the workspace default to manual approval in Workspace mode; model rejections and review failures have separate handling (defaulting to rejecting the action).
  • Review rate limiting (default): 60-second timeout, 2,048 output tokens, 120,000 input characters, max 100 attempts per round, no retry; default Low when reasoning intensity is supported.

Enhancements over the Official Experimental Plugin

README uses the official @deepseek-ai/dsh-experimental-auto-review 0.2.2-rc.1 as a reference; main differences include:

  • Ability to independently choose the review model and reasoning overhead, and set review limits; the official version only follows the main model.
  • Workspace mode can exempt model review for eligible workspace operations and native read-only operations within the configured scope; the official Auto mode performs reviews on every native call and PTC inner call.
  • Native sub-agents inherit enhanced review and fallback strategies; items pending manual approval are listed individually in the root conversation. Official child nodes can inherit Auto, but manual approval is fixed to never (equivalent to automatic rejection).
  • Provides persistent review pages and session-level Review usage; the official version mainly tracks session usage.

Sub-agents, History, and Interface

  • Native sub-agents inherit enhanced review; requests requiring manual approval are also listed separately in the root conversation.
  • The current conversation allows viewing model decisions, full tool parameters, retries, and reported token usage.
  • Menus, settings, and review views switch with DSH language (Chinese/English).

Deletion Protection and Platform Notes

  • Actions sent to model review have Precise deletion protection enabled by default (model policy, not OS-level interception); workspace operations skipped from review also skip this deletion check.
  • Identifies DSH native Windows PowerShell and Linux/macOS Bash; paths and boundaries are handled by DSH, shell syntax is not translated.
  • README reminder: The Windows sandbox currently mainly constrains write and delete, does not constrain read or network; Linux/macOS real OS sandbox execution is still under verification. The exemption shell cannot be used as an anti-leakage isolation measure.

Installation and Activation

Requires DSH 0.2.0 or higher and using the Web/Desktop UI with plugin management. CLI examples are as follows (consistent with README, choose either source):

# npm
dsh plugin add dsh-auto-review-desktop@0.4.10

# GitHub:固定 release 标签
dsh plugin add github:NekoErwin/dsh-auto-review-desktop#v0.4.10

You can also enter the package name or Git reference from the table above in Plugins → Install. For offline installation, download .tgz from GitHub Releases and select Local package in the plugin manager. The Release and npm package include the client bundle; no need to build React yourself. After installation or update, restart DSH and refresh the page as prompted; plugin changes take effect for the entire profile.

Typical Usage

After installation, follow the order in README’s “Start using it”:

  1. Open Settings → Enhanced review. Keep Follow the session model, or specify a configured review model.
  2. In the conversation’s permission menu, select Auto review (Workspace) or Auto review (Full access) (see table above for meanings).
  3. Open the conversation’s Review tab to view review results; Review usage is listed alongside native token usage, showing usage reported by the review model in the current conversation.

Default Strategies Overview

Setting Item Default Value
Requests outside workspace in Workspace mode Manual approval
Native read-only scope in Workspace mode All paths (still limited by native tools)
Model rejection / Review failure Reject action
Sub-agent manual approval Inherit parent strategy
Review reasoning intensity Low when model supports it
Deletion protection (actions sent for review) Enabled

Model review adds requests and tokens, potentially incurring extra costs; fields not reported by the provider display as unknown. A single model approval only applies to that action and still must pass other permission checks; timeouts or invalid responses will not auto-allow.

Use Cases and Notes

Who is it for: Developers who want to use the model for operation-level authorization within DSH while maintaining sandbox efficiency in the workspace; scenarios requiring step-by-step review under Full access, or auditing review history and sub-agent approval chains.

Runtime and Trust Boundaries: The plugin runs under the current DSH process permissions. Before installing, read the source code and MIT license, and understand that the review content calls the model API you configured.

Local Data: Review history is located at .plugin-data/dsh-auto-review-desktop/history/ under the profile, containing full tool parameters and rejection reasons; it may contain sensitive task data and has no automatic rotation. Clear data path: Settings → Enhanced review → Danger zone → Clear local data, confirm and then uninstall via plugin manager. It is recommended to end the enhanced session before updating or disabling; disabling will cancel ongoing enhanced runs and downgrade loaded enhanced sessions to workspace access plus manual approval.

Ecosystem Note: DSH follows the “everything is a plugin” philosophy; sites like SkillHub are community directories and have no official affiliation with DeepSeek or Hypersphere. This article does not constitute an official recommendation.

Conclusion

dsh-auto-review-desktop turns model authorization review into a configurable product: division of labor between Workspace and Full access, independent review models, sub-agent inheritance, and accessible review records, suitable for balancing automation and security boundaries in DSH. For further information, visit the directory page SkillHub and the repository GitHub.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye