DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
E

dsh-enter-combination

Enter Combination

选择在编辑器中发送消息的按键,以及换行的按键

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

npx -y @deepseek-ai/dsh plugin --profile web add github:qipengxiang/dsh-enter-combination#e9eaf1481cda52687c9fe4fa5073541d8d825999
README兼容性版本

兼容性与来源证明

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

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

版本

0.0.1stable
2026/10/27

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Experimental Schedule Bundle@deepseek-ai/dsh-experimental-schedule-bundle为 Web 组合添加 Schedule、其任务页面和时间上下文的可选捆绑包Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / pet / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Ab Ocrdsh-ab-ocr--- description: "外部 ocr 工具:逐页识别扫描的 PDF 或图像,仅在处理完最后一页后按顺序合并页面,并使用模型确定的标题级别保存为一个 Markdown 文档。" kind: "package-reference" ---

README

dsh-enter-combination

中文说明

Pick which key sends a message and which key breaks the line in the DeepSeek Harness composer. Enter sends and ⌘/Ctrl+Enter breaks the line out of the box; either one can be re-recorded.

Settings

设置 → 发送按键 (one section of its own in the settings drawer).

RowDefaultWhat the key does in the composer
发送Entersends the draft to the AI
换行⌘Enter on macOS, Ctrl+Enter elsewheremoves the caret to the next line, without sending

Click a key button and press the combination you want: the next real key is recorded together with the modifiers held at that moment, and the row shows it right away. Esc cancels, clicking the button again cancels too, and a chord the other row already owns is refused with a one-line hint instead of silently shadowing it.

How it hooks the composer

Both chords are shipped internal wiring — the composer's own keymap turns Enter into a submit and Shift+Enter into a line break, and neither is exposed as a slot. So this plugin listens for keydown on document in the capture phase, before the composer sees it, and then replays the shipped path:

  • send → the session's public submit action (conversation.input.for(scope).actions.submit()), the same transaction the Send button runs. Two guards: a held key does not queue a burst of sends, and a composer with no session behind it is left alone so its own Enter still works.
  • newline → re-dispatches a Shift+Enter keydown on the composer's contenteditable, which is exactly the chord the editor already treats as a line break. The replay is untrusted, so the listener ignores it.

A composing IME keeps its Enter: while the input method is composing, both chords are left to the composer.

Storage

localStorage['dsh-enter-combination'], per browser profile. There is no host half to persist: only this page's composer reads the mapping, and the mapping is two chords. The cost is that the same profile opened on another machine starts from the defaults again.

Install

Needs a DeepSeek Harness build that loads plugin bundles (dsh.bundle in package.json).

dsh plugin --profile desktop add link:/absolute/path/to/dsh-enter-combination

That links the folder into the active profile (link: in the profile package.json) and adds the bundle to dsh.profile.bundles, so the profile tracks this source tree instead of a copy.

client.js is re-read on every page load, but the plugin itself only mounts when Harness boots: restart Harness (quit and reopen the app) to see the section for the first time. Later edits to client.js only need a page refresh.

Test

npm test

test/self-check.mjs loads client.js the way the module loader does, stubs the DOM, and asserts the interception (defaults, the shift-enter replay, unrelated inputs, IME, held key, no session) and the recorder (recording a chord, cancelling with Esc, refusing the chord the other row owns, unusable storage falling back to the defaults).

Limits

  • The chords are matched on event.code plus the four modifier flags, so they follow the physical key rather than the layout's character: ⌘Enter stays ⌘Enter on a Dvorak layout, and two keys that produce the same character are still two different chords.
  • Characters that come from the layout (e.g. ⌘↩ vs ⌘Enter) are the same chord; the row shows the name of the code that was recorded.
  • While a row is recording, the next chord anywhere on the page goes to the recorder — not just keys pressed inside the composer.
  • The mapping is a browser-profile preference: it does not travel with the session, and another browser/OS profile starts at the defaults.