DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-composer-modenter

y

dsh-composer-modenter

Manifest valid★ 1

DeepSeek Harness web plugin: Enter for newline, Cmd/Ctrl+Enter to send

UI (client)hasBundlePatch

dsh-composer-modenter

English · 中文


English

A web composer keymap plugin for DeepSeek Harness.

It flips the default composer shortcuts:

  • Enter inserts a newline
  • Cmd+Enter (macOS) / Ctrl+Enter (Linux/Windows) sends the message
  • Slash / command menus still use Enter to pick an item
  • IME composition (e.g. Chinese input) is left untouched

How it works

The plugin is entirely browser-side. It registers a capture-phase keydown listener on document and, for a plain Enter pressed inside the composer:

  1. Skips events with any modifier (shift / meta / ctrl / alt), so Cmd/Ctrl+Enter keeps sending as before.
  2. Skips IME composition events (isComposing or keyCode === 229).
  3. Only acts on events inside a [data-composer-input] element.
  4. Bails out when the slash / command menu is open, so Enter still selects the highlighted menu item.
  5. Otherwise it masquerades the event as Shift+Enter; if the native field is frozen it falls back to preventDefault() + insertLineBreak.

Install

dsh plugin --profile web add github:yonchicy/dsh-composer-modenter

Or install from a local checkout:

dsh plugin --profile web add link:/absolute/path/to/dsh-composer-modenter

Restart the web GUI after install or update.

Uninstall

dsh plugin --profile web remove dsh-composer-modenter

License

MIT


中文

一款用于 DeepSeek Harness 的 Web 输入框按键插件,反转默认的快捷键行为:

  • Enter 换行
  • Cmd+Enter(macOS)/ Ctrl+Enter(Linux/Windows)发送消息
  • 斜杠 / 命令菜单中仍可用 Enter 选中条目
  • 不干扰输入法(IME)组合输入,例如中文打字选词

工作原理

插件逻辑完全运行在浏览器侧。它在 document 上注册捕获阶段的 keydown 监听器,对在输入框内按下的纯 Enter 做如下处理:

  1. 带任何修饰键(shift / meta / ctrl / alt)的事件一律放行,因此 Cmd/Ctrl+Enter 照常发送。
  2. 跳过输入法组合事件(isComposing 或 keyCode === 229)。
  3. 仅处理 [data-composer-input] 元素内的事件。
  4. 斜杠 / 命令菜单打开时不干预,因此 Enter 仍可选中高亮的菜单项。
  5. 其余情况下将事件伪装成 Shift+Enter;若原生字段被冻结,则回退为 preventDefault() + insertLineBreak 插入换行。

安装

dsh plugin --profile web add github:yonchicy/dsh-composer-modenter

或从本地检出目录安装:

dsh plugin --profile web add link:/absolute/path/to/dsh-composer-modenter

安装或更新后请重启 Web GUI。

卸载

dsh plugin --profile web remove dsh-composer-modenter

开源协议

MIT

Comments

Loading…

From the same category

awesome-dsh-plugin

by awesome-dsh-plugin

A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表

Development & Infrastructure

★ 18.3k

CC0-1.0

Python

Oct 10, 2026

Index only — not installable

by 0xsline

DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.

Development & Infrastructure

★ 1.2k

CC0-1.0

Python

Oct 10, 2026

Index only — not installable

by pax-beehive

Open-source CLI, schemas, resolver, and DSH agent tools for DSH Plugin Hub

Development & Infrastructure

★ 450

MIT

TypeScript

Oct 6, 2026

Index only — not installable

by xiajiajun516

DeepSeek Harness (DSH) backup & restore plugin — export, import, migrate and sync your complete DSH configuration, plugins, MCP servers, skills and workspace. One-click migration to another machine.

Development & InfrastructureManifest valid

★ 176

MIT

TypeScript

Oct 8, 2026

dsh plugin --profile web add dsh-config-manager

by yjh051108

推荐组件(非必须):DeepSeek Harness 运行时注入器;已随 dsh-routing-suite 单仓库化保留,本仓库继续维护/发布。

Development & InfrastructureManifest valid

★ 164

TypeScript

Sep 18, 2026

dsh plugin --profile web add @dsh-external/dsh-super-injector

by jigjoy-ai

A CLI that turns a goal into a pull request - and a sandbox for testing concurrent AI coding agents on the Mozaik runtime.

Development & Infrastructure

★ 124

MIT

TypeScript

Oct 2, 2026

Index only — not installable