DeepSeek Harness plugin

dsh-hotkeys-ctenni

DSH Web 热键自定义:发送 / 换行 / 自定义答案提交(可录制、可扩展)

Jump to install

Source facts

Repository
ctenni/dsh-hotkeys
Latest update
Aug 16, 2026
Category
Tools & Capabilities
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/ctenni/dsh-hotkeys
Plugin: dsh-hotkeys-ctenni
Author: ctenni

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

DSH Hotkeys

中文 | English

DeepSeek Harness 快捷键增强插件(浏览器端 bundle 插件)。支持发送 / 换行 / 自定义答案提交三类热键的自定义,通过录制即可随时切换,配置保存在浏览器 localStorage,无需后端。

✨ 功能特性

  • ⌨️ 热键录制:发送、换行、自定义答案提交三个动作的触发键均可录制、可随时切换。
  • 🚀 快速发送:把「发送」绑定到任何你习惯的组合键(Enter / Ctrl+Enter / F9 等)。
  • 🎨 自定义答案增强:DeepSeek 提问卡(ask_user_question)的「输入你的答案」输入框提交键可自定义,防误触提交。
  • 🛡️ 防 Enter 系泄漏:提交键设为 Ctrl+Enter/Alt+Enter 时,另一个 Enter 组合键不会抢发消息。

🤖 AI install(让 AI 帮你安装)

把下面这句提示词发给你的 AI(DeepSeek / Claude 等),它会自动完成安装:

> 请帮我安装 dsh-hotkeys 插件到 DeepSeek Harness 的 web profile:执行 dsh plugin --profile web add dsh-hotkeys,然后重启 dsh web 并强刷浏览器(Ctrl+F5),最后在消息输入框输入 /hotkeys 验证菜单能弹出,并在浏览器控制台执行 window.__dshHotkeys.getBindings() 确认返回三个绑定字段。

完整的给 AI 的安装指令(含手动方式、排查、验证)见:AI_INSTALL.md

📦 安装方法

方式一:通过 dsh plugin 安装(推荐,一键)

dsh plugin --profile web add dsh-hotkeys

DSH 会自动:pnpm 安装 → 检测到 dsh.bundle 声明 → 把 dsh-hotkeys 写进 package.jsondsh.profile.bundles

> 依赖 pnpm。若没装:npm install -g pnpm

方式二:手动安装(npm/pnpm 直接装)

cd $env:USERPROFILE\.dsh\profiles\web   # Windows;macOS/Linux: cd ~/.dsh/profiles/web
pnpm add dsh-hotkeys

然后必须手动把 "dsh-hotkeys" 加进该目录 package.jsondsh.profile.bundles 数组:

"dsh": {
  "profile": {
    "bundles": [
      "@deepseek-ai/dsh-base",
      "@deepseek-ai/dsh-web-app",
      "dsh-hotkeys"        // ← 必须加,否则不生效
    ]
  }
}

> ⚠️ pnpm add 不会自动改 bundles 列表;DSH 按该列表加载插件,漏加则不生效。

方式三:GitHub 仓库 + link(开发用)

git clone https://github.com/ctenni/dsh-hotkeys.git

link: 挂到 web profile 的 package.json

"dependencies": {
  "dsh-hotkeys": "link:C:/path/to/dsh-hotkeys"
}

同样需要把 "dsh-hotkeys" 加进 bundles

> 三种方式装完后都要:重启 dsh web + 强刷浏览器(Ctrl+F5)。验证:输入 /hotkeys 应弹出菜单;或 Console 执行 window.__dshHotkeys.getBindings()

⚙️ 使用说明

三个可自定义的动作

动作含义默认键
send在消息输入框(composer)发送Control+Enter(safe 预设)
newline在消息输入框插入换行Enter(safe 预设)
customAnswerSubmit在 DeepSeek 提问卡的「输入你的答案」输入框里提交/继续Enter

📄 License

MIT License