DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
K

dsh-keys-setting

Keys Setting

DeepSeek Harness plugin: choose whether Enter, Shift+Enter and Ctrl/Cmd+Enter send the message or insert a line break, from the Settings window's General page.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:itchenshi/dsh-keys-setting#3fd631e8ca928dabf1f28b8e7471e9252efb4434
READMECompatibilityVersions

Compatibility and provenance

Keys Setting is published as dsh-keys-setting and currently resolves to version 0.2.6. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/5/2026

Versions

0.2.6stable
10/5/2026
0.2.5stable
10/5/2026
0.2.4stable
10/5/2026
Show 3 more versionsCollapse versions
0.2.3stable
10/5/2026
0.2.2stable
10/4/2026
0.2.0stable
9/21/2026

Related plugins

Loading related plugins…

Latest
0.2.6
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/5/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in productivity-workflow.

Better Sidebardsh-better-sidebarBetter Sidebar for DSH — file tree, editor, changes, tasks and side chat in one column, separate for every conversation. Also exposes a service other plugins use to register sidebar tabs and file viewers.Client Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.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 包。Drawaidsh-drawaiEditable canvas in the DSH sidebar with AI semantic diagramming tools (diagram_apply / diagram_read), directly reading and writing native .drawio files

README

dsh-keys-setting

在 DSH 的**设置窗口 →「通用」**里决定:Enter / Shift+Enter / Ctrl+Enter(macOS 为 ⌘)各自是「发送消息」还是「换行」。

它做什么

  • 在「设置 → 通用」加一行「按键设置」,三个手势各有一个下拉选择器(发送消息 / 换行)。
  • 捕获阶段监听输入框的 keydown:只有你的选择与引擎原生行为不同时才拦截,并重新派发引擎自己的另一种手势。
  • 只重映射手势,不碰输入内容 —— 发送与换行的语义仍由引擎决定。
  • 输入法(isComposing / keyCode 229)与 Alt+Enter 一律放行。
  • 默认值等于引擎原生行为,不改设置时干预次数为 0。

安装

  • 用 DSH Ready GUI(推荐):插件随 GUI 内置。打开 GUI → 设置窗口 →「第三方插件」勾选按键设置, 装完按提示刷新页面(它带页面半边)。

  • 其它 DSH 宿主(dsh web / CLI)—— 任选一条:

    # 推荐:直接从 GitHub 装
    dsh plugin --profile web add github:itchenshi/dsh-keys-setting
    
    # 备选:从本仓库 Release 的 tarball 装
    dsh plugin --profile web add https://github.com/itchenshi/dsh-keys-setting/releases/download/v0.2.6/dsh-keys-setting-0.2.6.tgz
    

    两条命令装到的都是这个仓库的完整内容(含 cordis.patch.yml),装完不需要额外配置。

本包还不在 npm 上(registry.npmjs.org 查无此包),只能用上面两种方式装。

使用

设置窗口 →「通用」里新增的那一行就是「按键设置」,改完立即生效。

也可以手改 profile 的 cordis.patch.yml 里 id: composer-keys 这一行的配置:宿主半边在页面窗口 重新获得焦点时重读,所以切回 Harness 窗口即生效,不用刷新页面。

配置

cordis.patch.yml 里 id: composer-keys 这一行的 config(三个字段由插件的 Config schema 声明):

键默认说明
entersendsend = 发送消息,newline = 换行
shiftEnternewlineShift+Enter 同上
ctrlEntersendCtrl+Enter(macOS ⌘)同上

该行的 config 块不能省:没有它这一行就没有设置条目,宿主无法读写偏好。config.enabled === false 时宿主直接返回,既不注册路由也不加设置行。

兼容性

  • 需要 DSH >= 0.2.0-rc.2(引擎 0.2.0 更换了设置服务 API,0.1.x 上无法保存偏好)。
  • Node >= 20。
  • 运行时依赖:无;schema 库用的是引擎自带的 @deepseek-ai/schemastery。

常见问题

改完没生效? 设置窗口里改立即生效;手改文件后要切回 Harness 窗口触发重读。宿主启动时会打 [composer-keys] route ready at /composer-keys (entry composer-keys),日志里没有它说明插件没加载。

引擎版本太旧会怎样? 清单只声明 >=0.2.0-rc.2;更旧的引擎用的是已被移除的旧设置服务 (register / get / section),插件无法保存偏好。

它存了什么、存在哪? 只有那三个值,落在插件自己的行 config(引擎的设置文档)里;插件不直接读写 任何文件。

别人能读改这份偏好吗? 宿主只开放一条 GET/POST /composer-keys,走引擎自己的信任围栏 (Host 白名单 + 浏览器会话 cookie),拿不到围栏时失败即关闭 —— 不带 cookie 的裸 curl 得到 401。 插件没有任何对外网络请求。

开发

node --check lib/index.js
node --check client/client.js
npm test        # node tests/test.mjs:手势识别、干预判定、输入法放行、默认值不干预

许可

MIT