dsh-auto-permission-default
v1.0.1
Published
Selects the Auto review permission preset for every new interactive DSH session.
Maintainers
Readme
dsh-auto-permission-default
Selects the Auto review permission preset for every new interactive DSH session.
The permission-presets service deliberately cannot name the runtime-registered auto preset as its durable default, so this plugin listens for session/created and switches the preset itself:
- New interactive sessions start on the Auto review preset (per-tool LLM authorization review).
- A session whose effective preset already differs from the configured default (an explicit human or stored selection) is left untouched.
- Subagent sessions are skipped entirely.
- If the
autopreset is not registered (the Auto review feature is unavailable), the plugin does nothing.
Requirements
- DSH
>=0.2.1-rc.5 - The
autopermission preset, registered by DSH's experimental Auto review feature
Install
From npm, into the profile you boot:
dsh plugin --profile <profile> add dsh-auto-permission-defaultRemove it the same way:
dsh plugin --profile <profile> remove dsh-auto-permission-defaultFrom a local clone of agou-dsh-plugins, install this package directory through the DSH Plugin Manager instead:
R:\path\to\agou-dsh-plugins\packages\dsh-auto-permission-default