DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-permission-guard

f

dsh-permission-guard

Manifest valid

A Permission Settings page for DSH: one button makes every new session default to full access, and existing sessions can be allowlisted one by one.

UI (client)hasBundlePatch
dsh-permission-guard icon

dsh-permission-guard

A Permission Settings page for DeepSeek Harness (DSH).

One page under Settings that does two things:

  • New-session default — one button makes every session created from then on start in Full access; a second button restores the safe Workspace write default.
  • Existing-session allowlist — sessions that already exist keep their own permission. You can raise one of them to Full access, one session at a time.

The page asks for confirmation before enabling Full access, and names the risk in plain words.

Install

Plugin market — once listed, install it from Settings → Plugins in the app.

Today, from this repository (the CLI adds the package to your profile and registers its bundle in one step):

dsh plugin --profile desktop add github:frostnova04/dsh-permission-guard

Swap desktop for your own profile name if it differs. A pinned tarball works the same way:

dsh plugin --profile desktop add https://github.com/frostnova04/dsh-permission-guard/releases/download/v0.1.0/dsh-permission-guard-0.1.0.tgz

Reload the window afterwards. The page appears under Settings → Permissions (权限设置).

What it actually does

This plugin does not invent a permission system. It writes the permission presets DSH already has:

  • the new-session default is the defaultPreset value of the permission settings namespace, which DSH reads when it creates a session. Changing it never touches a session that already exists.
  • an allowlist entry performs the same preset write as the /permission command, so the change is recorded in that one session's own log and survives a restart.

Full access means sandbox danger-full-access with approval policy never: no confirmation prompts, and writes to any file the DSH process can reach.

Why a page instead of a dropdown

DSH ships a single "permission" row in Settings → General. This plugin gives the same write a dedicated page with the two operations people actually asked for: one switch for everything new, and a per-session list for everything old.

Requirements

  • DSH 0.2.1-rc.5 or newer (desktop app and dsh web both work).
  • The standard settings and permission-presets plugins, which every standard composition includes.

Development

npm install
npm test
  • test/host.test.mjs mounts the Host API on a real HTTP server with fake Cordis services and drives every route, including the connection gate.
  • test/client.test.mjs loads client.js the way the browser module loader does, registers the settings section, renders the page with react-test-renderer, and clicks through the confirmation flow and one allowlist row.

Layout

FileRole
index.jsHost half: the /permission-guard/api/* routes, catalog and session reads, preset writes
client.jsClient half: the settings.section registration and the page
cordis.patch.ymlThe single Loader row that inserts the plugin
locale/*.jsonThe title and description plugin managers display
icon.svg, assets/icon-180.pngThe plugin icon (a raster copy for storefronts)

License

MIT

Comments

Loading…

Similar plugins

dsh-auto-preset

by heyuanliu3-byte

DSH plugin: remembers your last manual permission-preset choice per session and restores it when the session is reopened.

Security & AuditDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Oct 24, 2026

dsh plugin --profile web add dsh-auto-preset

by ddll8023

Session access-mode plugin (Default / No Edit / Auto) for DeepSeek Harness (DSH). dsh-plugin

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Aug 24, 2026

dsh plugin --profile web add dsh-access-mode

by xingyingyuzhui

Layered session permissions for DeepSeek Harness. 官方 ∩ Agent ∩ 本会话。

Manifest valid

★ 0

MIT

JavaScript

Sep 15, 2026

dsh plugin --profile web add dsh-session-permissions

by xingyingyuzhui

Layered session permissions for DeepSeek Harness. 官方 ∩ Agent ∩ 本会话。

Manifest valid

★ 0

MIT

JavaScript

Oct 10, 2026

dsh plugin --profile web add dsh-session-permissions

by nateyu

A DeepSeek Harness settings plugin. It lists and deletes sessions the sidebar hides: archived sessions, or blank sessions whose log has no turn/start. A session whose log cannot be read is listed too,

Manifest valid

★ 0

MIT

JavaScript

Sep 11, 2026

dsh plugin --profile web add dsh-session-vault

by devil233-ui

Put DeepSeek Harness sessions into the built-in Auto review permission preset: new sessions at creation, existing root sessions when they are restored.

Security & AuditTools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Oct 11, 2026

dsh plugin --profile web add dsh-auto-review-default