Hanihahaha/dsh-auto-approve

A DeepSeek Harness plugin that adds an Auto approve permission mode. It adds an Auto approve permission preset that preserves the workspace-write boundary, provides /auto-approve all|sandbox|off|status, adds a session-header control that cycles between off, sandbox-matched and all approvals, and intercepts the approval/request waterfall to return allowed-once for the selected mode.

uncategorized ★ 1 updated 2026-08-17
View on GitHub ↗

Install

dsh plugin --profile web add ".\dsh-auto-approve"

README-documented install from the repository root (local checkout). The README's npm form (dsh plugin --profile web add dsh-auto-approve) is marked "after publishing", and that npm name is currently owned by a different publisher (dsh-auto-approve 0.6.2, maintainer ricksanchez-137, registry-verified 2026-09-10) — do not use it for this repo. Restart dsh web after installing.

Compatibility

Verified against @deepseek-ai/dsh 0.1.5-rc.1 (cordis 4.0.2) per README. Works in the Web profile, where @deepseek-ai/dsh-api-remotes forwards approval/request to the browser approval panel.

Details

Recent updates

README's version-adaptation notes describe the current host APIs: the preset probe calls ctx.permissionPresets.current(agent.session) (passing the Session, not session.events) and the listener registers with { prepend: true }.

FAQ

How do I install dsh-auto-approve?
Install from the repository root: dsh plugin --profile web add ".\dsh-auto-approve" (the README's bare add dsh-auto-approve form is marked "after publishing" and that npm name belongs to a different publisher). Restart dsh web afterwards.
What commands does it add?
/auto-approve all|sandbox|off|status plus a session-header control that cycles between off, sandbox-matched and all approvals.
Does it remove the sandbox boundary?
No. The Auto approve preset preserves the workspace-write boundary — sandbox mode grants only requests whose reason text matches, while all grants every request and off grants none.

Alternatives

zhu1090093659/dsh-web-ui · whiteguo233/OpenBiliClaw · ccch1mneyyy/dsh-cc-tui

More plugins in uncategorized

Browse more in uncategorized

Guides for uncategorized plugins