abcofabc/dsh-enter-approve

abcofabc★ 0JavaScript最后同步: 2026-08-17

在 GitHub 打开

Press Enter to approve the sandbox permission-escalation prompt in the DeepSeek Harness WebUI - no mouse click required.按 Enter 即可批准 DeepSeek Harness WebUI 中的沙箱权限提升审批窗口,无需鼠标点击。

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 1. Link this package into your dsh profile: /.dsh/profiles/web/node modules/dsh-enter-approve 2. Add it to /.dsh/profiles/web/package.json under dependencies ( "dsh-enter-approve": "link: " ) and to dsh.profile.bundles . 3. 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 , t…

在 GitHub 查看完整 README →
终端/TUIdeepseek-harnessdeepseek-harness-plugindeepseek-v4dshdsh-plugindsh-pluginspluginvibe-coding

分类