DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-auto-mode

I

dsh-auto-mode

Manifest valid

Auto Mode for DeepSeek Harness: auto-accept approval prompts with a persistent composer status chip

UI (client)hasBundlePatch

dsh-auto-mode

Auto Mode for DeepSeek Harness: when enabled, every approval prompt is auto-accepted — operations that require approval (workspace-escape file writes, wider shell commands, sandbox escalations) run immediately without asking you. A persistent status chip above the composer shows the current mode and updates live.

English | 中文

Installation

One command (no build step — the plugin ships plain ESM):

dsh plugin --profile web add github:Igumi-BeXst/dsh-auto-mode

Then:

  1. Move the bundle to the front of the list — edit ~/.dsh/profiles/web/package.json and put "dsh-auto-mode" first in dsh.profile.bundles (the add command appends it last). This ordering is what makes the approval listener register before the web UI answerer; without it, auto-grant does not work.
  2. Restart dsh web and hard-refresh the page (Ctrl+Shift+R). The chip appears above the composer, aligned with the input card.
  3. Click the chip to toggle. The switch is durable and survives restarts, and no chat message is produced.

Manual/local install: clone the repo, then dsh plugin --profile web add <path-to-clone> — same two follow-up steps.

Requirements: a web profile with the standard bundles (@deepseek-ai/dsh-base, @deepseek-ai/dsh-web-app), which provide the approval, settings, and webServer services the plugin uses.

Usage

  • Click the chip above the composer to toggle Auto Mode for all sessions. The switch is durable (auto-mode settings namespace) and survives restarts. No chat message is produced — the chip itself is the only feedback.
  • The chip polls /api/auto-mode/state every 3 seconds (plus window-focus refresh), so it reflects the mode within seconds of any toggle.
  • Config default: dsh-auto-mode.enabled (default false).

How it works

The plugin registers an approval/request waterfall listener. When Auto Mode is on it claims every request with allowed-once — before the web UI answerer can forward it to the browser. When off it delegates via next() and the normal approval flow applies.

The listener is registered on the ROOT context, with global and prepend. dsh-session >= 0.1.5 dispatches this event through scopeTarget(req.agent, req.agent), and Cordis's dispatch filter admits a listener only when its context carries no scope or is scoped to that agent (or an ancestor). A listener registered on the plugin's own bundle-scoped context is filtered out of that dispatch and never runs — Auto Mode would silently do nothing. The root context is scope-less, which the filter admits unconditionally; prepend sorts this listener ahead of the browser answerer, whose pending answer would otherwise stop the waterfall first.

The profile keeps this bundle first in dsh.profile.bundles so its row precedes the UI answerer row.

Safety invariant: danger-full-access escalations of SHELL commands (pwsh/bash) are auto-granted EXCEPT when the command is a destructive delete. The listener resolves the real command text of the escalating tool call (through the request's callId against the session log) and matches it against the Windows accident shapes — recursive deletes (Remove-Item -Recurse, rm -rf, rd /s), wildcard deletes, drive-root deletes, trailing-backslash quote path bugs (the classic "delete a link and wipe its target/root" shape), and junction/symlink-targeted deletes. Matched commands fall through to the interactive answerer, so the browser always asks you before any such full-access delete. Filesystem tools (edit/write/read/fs-*) take structured path arguments, not command strings, so their escalations are always auto-approved under Auto Mode. The model-facing prompt states the same rule: destructive shell deletes show an approval prompt, anything else that needs full access is auto-approved.

Safety

Auto Mode grants every request, including destructive ones. The runtime context warns the model to use extra care with irreversible or costly operations, and destructive shell deletes — recursive, wildcard, drive-root, or junction/symlink-targeted — always require your explicit approval even in Auto Mode. Filesystem tools never prompt. Click the chip to turn the mode off at any time.

Known limitations

  • Hot-reload breaks auto-grant: this plugin must register its approval listener before the web UI answerer. A clean boot guarantees that (the profile keeps this bundle first). dev_reload_package re-registers the listener late, so after hot-reloading this plugin you must restart the web service for auto-grant to work again.
  • Narration sentence suppressed by router-family plugins: the auto-mode:state runtime-context entry is cleared by plugins that wipe contexts on system-prompt/assemble (dsh-mode-boost and the router-standard preset do this by design). The composer status chip always shows the mode regardless; if you want the model to see it too, avoid mounting those plugins alongside this one.

License

MIT © Igumi-BeXst

Comments

Loading…

From the same category

open-design

by nexu-io

🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards,

Development & InfrastructureTerminal & ClientsUI & ExperienceManifest valid

★ 98.3k

Apache-2.0

TypeScript

Sep 27, 2026

Index only — not installable

deepseek-harness-desktop is a interface plugin for DeepSeek Harness. See the repository documentation for its documented capabilities.

Tools & CapabilitiesUI & Experience

★ 28.6k

MIT

Index only — not installable

by zhu1090093659

DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop

Tools & CapabilitiesTerminal & ClientsDevelopment & InfrastructureModels & ProvidersUI & ExperienceManifest valid

★ 8.1k

Apache-2.0

TypeScript

Sep 27, 2026

dsh plugin --profile web add dsh-web

A collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.

UI & ExperienceVision & MultimodalTools & CapabilitiesJust for FunManifest valid

★ 7.4k

Apache-2.0

TypeScript

dsh plugin --profile web add dsh-web

by ZSeven-W

The world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pe

UI & Experience

★ 6k

MIT

Rust

Sep 27, 2026

Index only — not installable

by omdsh-dev

开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,

Terminal & ClientsUI & ExperienceWorkflow & AutomationManifest valid

★ 3.8k

↓ 52.4k/wk

MIT

TypeScript

Sep 27, 2026

dsh plugin --profile web add dsh-better-sidebar