DSH 插件市场DeepSeek Harness 社区插件目录

dsh-auto-mode

已验证 模型与推理 ★ 161 0.2.0 archived

Sandbox-first automatic permission policy for DeepSeek Harness

一句话定位

Sandbox-first automatic permission policy for DeepSeek Harness

安装方式

在 DSH 的 web profile 中执行下面的命令;装完刷新页面即可。

$ dsh plugin --profile web add @nanmicoder/dsh-auto-mode@0.2.0

兼容的 DSH 版本

0.2.0-rc.2 || 0.1.7-rc.2 || 0.1.5-rc.2 || 0.1.5-rc.1 || 0.1.2-rc.1 || 0.1.2-alpha.5 || 0.1.2-alpha.3 || 0.1.2-alpha.2

作者与热度

NanmiCoder · ★ 161 · 更新于 2026-09-29

关于这个插件

[!WARNING] Maintenance ended on 2026-09-29. This repository is being archived. DeepSeek Harness now includes built-in Auto review; this plugin will receive no further fixes or host compatibility updates. Existing releases remain available for historical use. Migration: in a working session, select a built-in manual permission mode (for example, Workspace write) before disabling or uninstalling @nanmicoder/dsh-auto-mode in the application's plugin manager. If live reload fails, fully quit and reopen Harness. Start a new session and select the built-in mode you intend to use. Preserve old sessions; do not rewrite their permission identities or delete their logs. The policies are not equivalent: this plugin defaults to workspace-write sandboxing. In the audited Harness 0.2.0-rc.2 implementation, built-in Auto review uses danger-full-access. Review the current official permission description before enabling it. See the official Harness source. The installation and compatibility details below are historical, not ongoing support promises.

English · 简体中文

Sandbox Auto

dsh-auto-mode keeps routine work inside Harness's workspace-write sandbox and reviews semantic risks or exact one-shot requests for wider access. The plugin's Sandbox Auto mode uses the independent key sandbox-auto; it does not replace the official, unsandboxed Auto review mode. [!IMPORTANT] Plugin 0.2.0 is the stable npm latest release for the official Harness 0.2.0-rc.2 release (dsh-v0.2.0-rc.2, commit 639ed015397290b3745d163aafe02ffee4aa3f84). Plugin and host version numbers are independent. Harness itself still labels this release RC; install the exact supported host rather than assuming its npm latest points to it. See compatibility.json, release acceptance, and the release adaptation record. Historical preview evidence remains in desktop preparation. Install

In Harness, open Plugins → Add plugin and enter either:

For an immutable release, use @nanmicoder/dsh-auto-mode@0.2.0 or github:NanmiCoder/dsh-auto-mode#v0.2.0. An npm package page URL is not an install spec. Desktop users should use the application's plugin manager so the plugin is installed into the correct profile.

For a Web profile:

To test local changes, run pnpm install --frozen-lockfile, pnpm build, and pnpm pack --pack-destination /tmp, then add the generated tarball by absolute path. Git installations consume tracked lib output without an install-time prepare hook; include the rebuilt output whenever source changes. Mode selection and migration

Refresh the client and choose Sandbox Auto (沙箱自动审批 in Chinese), then acknowledge the risk notice. The locale service updates menus, the active-mode control, General settings, /permission and the dialog. Official Auto review remains separate and is not decorated or intercepted by this plugin.

For old plugin sessions, migration recognizes the latest durable auto identity only when the stored sandbox is workspace-write and approval is ask or never. It appends a new permission/preset: sandbox-auto event, retaining existing events and both permission knobs. It leaves official auto sessions with danger-full-access unchanged. An orphan delegated child with our durable identity remains supervised and cannot execute without a live human-parent authority.

Unsupported hosts fail explicitly. To recover an affected Web profile, stop it and run dsh plugin --profile web remove @nanmicoder/dsh-auto-mode from an external terminal. Desktop uses its own recovery/plugin management flow. Back up session data before host downgrades; do not change only the preset name or bypass compatibility checks. Permission modes Ordinary Sandbox Auto work stays inside Workspace Write. Only an explicit one-shot widening may be approved automatically: The classifier is not an authority of its own. It receives a redacted, bounded description of the pending call and may recognize only authorization found in direct h

相似插件