DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Enter Approve — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
E

dsh-enter-approve

Enter Approve

适用于 DeepSeek Harness 的 Codex 风格全局 Enter:无需先将焦点移至提示框,即可批准待处理的授权请求。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:mad-zero-mess/dsh-enter-approve#339121d4206b817537061c4ee27645f75750debb
README兼容性版本

兼容性与来源证明

Enter Approve 以 dsh-enter-approve 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/1

版本

0.1.0stable
2026/10/1

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/1
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 security-access 分类下经过校验的插件。

Cc Safety Netcc-safety-net编码代理 CLI 钩子——阻止破坏性命令和访问机密文件Doctor@linxin666/dsh-doctorDSH 配置档案的事务性救援模式,配备受监督的启动器、隔离的恢复容器、确定性修复、健康监控以及本地 Web 恢复控制台Mobiledsh-mobileDeepSeek Harness 移动端适配与安全访问插件,支持局域网、远程连接、Android App 和手机浏览器。Codex Subscriptiondsh-codex-subscription通过 OAuth 在 DeepSeek Harness 中使用 ChatGPT 和 Codex 订阅,支持配额管理、安全重置、网页搜索、图像和快速模式

README

dsh-enter-approve

Approval prompts in DeepSeek Harness already answer Enter — but only once the focus is already inside the prompt. This plugin closes that last gap so Enter approves from anywhere, the way Codex behaves.

The gap

@deepseek-ai/dsh-client-ui-approval renders the pending request as a composer takeover and handles the key itself:

if (event.defaultPrevented || !event.currentTarget.contains(document.activeElement) || …) return;

React dispatches synthetic key events along the React tree, so that guard only lets the handler run when the key event originated inside the panel. The panel takes over the composer, focus normally falls back to document.body, and Enter does nothing until you click the card or Tab into it.

What this does

A capture-phase keydown listener on document, which runs before the shell's own root handler, and then:

  1. Decides whether to act — a bare Enter: no Ctrl/Alt/Shift/Meta, not inside input/textarea/select/contenteditable, not an IME composition, not an auto-repeat.
  2. Yields whenever native would work — if the visible panel already contains document.activeElement, the plugin returns immediately and the shipped handler does its job. Behaviour only changes in the case that was broken.
  3. Clicks the approval control — the last enabled control in the action row, excluding a control labelled with a recognized reject label, so a future reordering or an unknown locale can never turn "approve" into "reject".

Nothing in DSH is patched: the plugin uses the documented window.__ModuleLoader__ client contract and a dsh.bundle.patch row like any other community plugin.

Behaviour

SituationResult
Pending prompt, focus anywhere outside itEnter approves
Pending prompt, focus already inside itShipped handler wins; unchanged
Typing in a text fieldUntouched
IME composition in progressUntouched
Enter with any modifierUntouched
Prompt already answering (aria-busy)Ignored
Hidden prompt from another sessionIgnored
EscNever intercepted

Install

dsh plugin --profile web add dsh-enter-approve

Restart the host, then confirm the row appears in Settings → Plugins.

Scope and safety

  • It can only click the approval control of a prompt you were going to answer anyway. It cannot run commands, read files, or act without a pending prompt.
  • It never intercepts anything except a bare Enter aimed at a visible pending prompt.
  • Disabling the plugin restores the stock behaviour exactly; no DSH files are modified.
  • The bundle is hand-written and dependency-free — client/client.js is the whole implementation, about 90 lines.

Uninstall

dsh plugin --profile web remove dsh-enter-approve

License

MIT