dshbase

插件目录 / Security / dsh-enter-approve

dsh-enter-approve

已验证 · 实测可装 abcofabc

✓ 持续维护 基于 1 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-17最近推送
跨平台平台

功能简介

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

✅
我们的评价
可用 — 实测通过,早期项目

Press Enter to approve the sandbox permission-escalation prompt in the DeepSeek Harness WebUI - no mouse click required.按 Enter 即可批准 DeepSeek Harness WebUI 中的沙箱权限提升审批窗口,无需鼠标点击。 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

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:<absolute path>") 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, then restart DSH.

Credits

This plugin was created entirely by DeepSeek-v4-flash through the DeepSeek Harness.

此插件是完全由DeepSeek-v4-flash通过DeepSeek harness制作的

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-enter-approve」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

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

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Security 里更多

浏览全部 7819 个插件 →