deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
中文 | English
DeepSeek Harness 快捷键增强插件(浏览器端 bundle 插件)。支持发送 / 换行 / 自定义答案提交三类热键的自定义,通过录制即可随时切换,配置保存在浏览器 localStorage,无需后端。
ask_user_question)的「输入你的答案」输入框提交键可自定义,防误触提交。Ctrl+Enter/Alt+Enter 时,另一个 Enter 组合键不会抢发消息。把下面这句提示词发给你的 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.json 的 dsh.profile.bundles。
依赖
pnpm。若没装:npm install -g pnpm。
cd $env:USERPROFILE\.dsh\profiles\web # Windows;macOS/Linux: cd ~/.dsh/profiles/web
pnpm add dsh-hotkeys
然后必须手动把 "dsh-hotkeys" 加进该目录 package.json 的 dsh.profile.bundles 数组:
"dsh": {
"profile": {
"bundles": [
"@deepseek-ai/dsh-base",
"@deepseek-ai/dsh-web-app",
"dsh-hotkeys" // ← 必须加,否则不生效
]
}
}
⚠️
pnpm add不会自动改bundles列表;DSH 按该列表加载插件,漏加则不生效。
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 |
MIT License
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。