Plugin directory / Security / dsh-enter-approve
dsh-enter-approve
Verified · install-tested on dsh abcofabc
What it does
Press Enter to approve the sandbox permission-escalation prompt in the DeepSeek Harness WebUI - no mouse click required.按 Enter 即可批准 DeepSeek Harness WebUI 中的沙箱权限提升审批窗口,无需鼠标点击。
Works — verified, early-stage project
Press Enter to approve the sandbox permission-escalation prompt in the DeepSeek Harness WebUI - no mouse click required.按 Enter 即可批准 DeepSeek Harness WebUI 中的沙箱权限提升审批窗口,无需鼠标点击。 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-enter-approve
Press Enter to approve the sandbox permission-escalation prompt in the DeepSeek Harness WebUI - no mouse click required.
Features
- While an approval panel (
等待审批/ "Waiting for approval") is showing, a plain Enter press clicks the Allow once button. - Adds a small hint (
按 Enter 允许一次/ "Press Enter to allow") under the panel's buttons. - Zero interference elsewhere: ignores Enter while typing, IME composition, modifier keys (Ctrl/Cmd/Shift/Alt + Enter), and whenever no approval panel is present.
Install
- Link this package into your dsh profile:
~/.dsh/profiles/web/node_modules/dsh-enter-approve - Add it to
~/.dsh/profiles/web/package.jsonunderdependencies("dsh-enter-approve": "link:<absolute path>") and todsh.profile.bundles. - Fully restart DeepSeek Harness.
How it works
A tiny browser script is injected into the served index.html through webServer.tapIndex(). It listens on document (capture phase) for a plain Enter keypress and, while an approval panel ([data-approval-key]) exists on screen, forwards the press to the panel's "Allow once" button - the same click path a mouse click uses.
Uninstall
Remove the node_modules link and both references in package.json, then restart DSH.
Credits
This plugin was created entirely by DeepSeek-v4-flash through the DeepSeek Harness.
此插件是完全由DeepSeek-v4-flash通过DeepSeek harness制作的
License
MIT
Install
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-enter-approve for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:abcofabc/dsh-enter-approve Headless (CLI) profile:
dsh plugin --profile headless add github:abcofabc/dsh-enter-approve Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.