DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
A

dsh-auto-preset

Auto Preset

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

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:heyuanliu3-byte/dsh-auto-preset#8c0847fc8db629730ed233a62202581b1db40f2a
READMECompatibilityVersions

Compatibility and provenance

Auto Preset is published as dsh-auto-preset and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
10/24/2026

Versions

0.1.0stable
10/24/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
10/24/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in security-access.

Experimental Auto Review@deepseek-ai/dsh-experimental-auto-reviewPer-tool LLM authorization review for the DeepSeek Harness Auto permission presetDoctor@linxin666/dsh-doctorTransactional rescue mode for DSH profiles with a supervised launcher, isolated recovery capsule, deterministic repairs, health monitoring, and a local Web recovery consolePocketdsh-pocketPut DeepSeek Harness in your pocket: one package, one settings page, and scan a QR code on your phone to access DSH on your computer in sync (LAN + public network, real-time screen mirroring).Plugin Subscriptionsdsh-plugin-subscriptionsUse ChatGPT (Codex), Claude, Grok (X Premium), GitHub Copilot, and Google Antigravity subscriptions as DeepSeek Harness LLM providers, with OAuth login from the web Settings page

README

dsh-auto-preset

A small DeepSeek Harness (DSH) plugin that remembers your last manual permission-preset choice for each session and restores it when you reopen that session.

Status: early / experimental. It talks to DSH's experimental permissionPresets API and was tested against @deepseek-ai/dsh 0.2.1-rc.2 and 0.2.1-rc.3 (the permission-presets code is identical in both). A future DSH release may change the API and break it.

Why

DSH's permission presets (workspace-write, danger-full-access, and the experimental auto = auto review) are stored per session. The default preset for a session is inferred from the process defaults, so a session can come back as the wrong mode after a restart — and the experimental Auto preset cannot be configured as the default preset at all:

// @deepseek-ai/dsh-permission-presets
if ("auto" in this.presets) throw new Error('permission: "auto" is reserved ...')
if (!Object.hasOwn(this.presets, defaultPreset)) throw new Error('permission: unknown default preset')

This plugin instead watches what you actually pick and puts it back.

Behavior

  1. First time a session is opened: do nothing. The system default applies.
  2. You switch a session to Auto review → remembered. Reopening the session restores Auto review.
  3. You switch it to Full access → remembered. Reopening keeps Full access; the plugin will not force Auto back.
  4. You later switch back to Auto review → remembered again. The plugin follows your last manual choice.

In one sentence: it follows your latest manual choice; it never overrides a choice you made.

State is kept in state.json next to the plugin (persists across DSH restarts). Delete that file to reset everything.

Install

From source

git clone https://github.com/heyuanliu3-byte/dsh-auto-preset.git
dsh plugin --profile web add link:/absolute/path/to/dsh-auto-preset

Then add "dsh-auto-preset" to the profile's bundle list (package.json → dsh.profile.bundles) and restart the DSH web server.

From npm

Once the package is published to npm:

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

The plugin must be loaded after @deepseek-ai/dsh-experimental-auto-review, because the auto preset only exists while that bundle is live.

How it works

  • session/created fires when a session enters the store — for a brand-new session and for a reopened one.
  • session/event (permission/preset) tells the plugin which preset was selected. Events emitted before the plugin has "armed" a session (the initial pin) are ignored, and the plugin's own presets.set() calls are ignored via a reentrancy flag.
  • On open, if a stored choice exists and differs from the current value, the plugin calls permissionPresets.set(session, storedChoice).

See lib/index.js — it is ~130 lines.

Caveats

  • Experimental API: the permission-presets internals may change between DSH releases.
  • Only permission/preset events are observed; a "custom" sandbox/approval combination is not represented as a preset and is therefore not restored.
  • Web profile only in my setup; it does not require any non-official plugin in the desktop profile.

License

MIT — see LICENSE.