Plugin directory / Automation / dsh-auto-approval
dsh-auto-approval
Verified · install-tested on dsh Andy8647
What it does
(no description)
Works — verified, early-stage project
(no description) It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
dsh-auto-approval
[English](README.md) | [中文](README.zh.md) Automated tool-call approval for DeepSeek Harness: anauto tier for the approval policy that classifies every tool call as **allow / deny** (fully autonomous — no human in the loop, uncertain calls are denied).
A monorepo of two packages:
| Package | Role |
|---|---|
| [packages/dsh-auto-approval](./packages/dsh-auto-approval) | **host half**: pre-execute classifier (L0 rules + L1 LLM, two-state allow/deny) |
| [packages/dsh-client-ui-auto-approval](./packages/dsh-client-ui-auto-approval) | **client half**: AA status chip beside the composer access-mode selector, fed by the host via a Typert remote |
Demo
!https://raw.githubusercontent.com/Andy8647/dsh-auto-approval/main/docs/demo.gif The **chip** next to the composer shows the run state (AA on / AA off); hover for cumulative stats, click for a dialog with the on/off switch, config summary and the recent-decisions table. The demo covers: file read/write and ls whitelisted and dispatched directly, a harmless command allowed by the L1 classifier, and dangerous commands rejected by deny rules / legacy-ask rules (now denying) / the self-kill guard.
Install
Install both packages into the same profile (published to npm, ships built artifacts — no build environment needed): ``sh
host half (required: the approval decision logic)
dsh plugin --profile web add dsh-auto-approval
client half (optional: the AA status chip in the composer)
dsh plugin --profile web add dsh-client-ui-auto-approval
`
For source-based installs (development / self-hosting), see the [host package README](./packages/dsh-auto-approval).
Development
`sh
pnpm install # export NPM_TOKEN=$(cat ~/.dsh/npm-token) if any @deepseek-ai/* dep is still private
pnpm -r run build # build both packages
pnpm -r run test # host unit tests
``
License
BSD-3-ClauseInstall
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-auto-approval for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
Web profile:
dsh plugin --profile web add dsh-auto-approval Headless (CLI) profile:
dsh plugin --profile headless add dsh-auto-approval Package
npm: dsh-auto-approval · version 0.1.0 · tested on dsh 0.1.0-rc.6
Test report
Verified end-to-end: L1 install + L2 load + L3 runtime Q&A on dsh 0.1.0-rc.6.
When to use it
Automate a repetitive job — scheduling, chaining tasks, or reacting to events — so it runs without you starting it.
Who it's for
Users with recurring work who want it cron-style and hands-off rather than manually triggered.
For developers — extending it
Triggers and task templates are the seams — add event-driven or file-watch triggers, and richer workflow composition.