Ricketts-Guo/dsh-shortcuts
DSH WebUI 完全可自定义键盘快捷键插件(34 个预置功能、一键录制自定义、静默权限切换)
Project Overview项目介绍
dsh-shortcuts is a native plugin built exclusively for DeepSeek Harness (DSH), adding a fully customizable keyboard shortcut system to both DSH's desktop client and web UI. It comes with 34 pre-registered features grouped into 6 categories: session, view, clipboard, model, approval, and system. Default keybindings are set for common functions, using Command by default on macOS and automatically switching to Ctrl on other platforms. Unbound functions can be customized with one-click key recording, and all configurations are saved to browser localStorage so they persist across app refreshes and full restarts.
This plugin is designed for DSH users who prefer keyboard-driven workflows, helping them cut down on mouse clicks and speed up common daily operations. After installation, users can press Command+/ to pull up a full shortcut cheat sheet and built-in diagnostic panel at any time. One particularly useful feature is quick permission switching: pressing Shift+Tab cycles through read-only, workspace write, and full access permission levels without adding any extra unwanted content to the current conversation thread. It supports automatic conflict detection when recording new custom bindings, and lets users restore all defaults with a single click.
The plugin is released under the permissive MIT open source license. The recommended installation method is a one-line bash script that automatically clones the repo, updates your DSH profile package.json, and adds the plugin to pnpm's managed dependencies to prevent it from being accidentally removed during future updates. After running the script, you need to fully close and restart DSH for the plugin to load correctly. To update the plugin, just re-run the same installation script and restart DSH again. Uninstallation is done via running pnpm remove dsh-shortcuts in your DSH profile directory, followed by a DSH restart, and any leftover custom configs can be manually deleted from localStorage.
dsh-shortcuts 是专门为 DeepSeek Harness 开发的原生插件,可为 DSH 的网页端和桌面端 WebUI 提供一套完全可自定义的键盘快捷键系统。插件预先为 34 个常用功能分成 6 个分组注册了默认快捷键(macOS 默认用 Command,其他平台自动改用 Ctrl),未绑定的功能支持用户一键录制自定义组合键,配置保存在浏览器 localStorage 中,刷新或重启后不会丢失。
这款插件适合习惯使用键盘操作 DeepSeek Harness 的用户,可大幅提升对话和功能操作的效率。用户可通过 ⌘/ 调出快捷键速查表和内置诊断面板,随时查看所有绑定的快捷键;支持一键切换不同的权限档位,按 Shift+Tab 就能快速在只读、工作区写入、完全访问三种权限间循环切换,不会污染现有对话流。安装支持一键脚本安装或手动克隆配置,安装完成后完全退出重启 DSH 即可生效。
插件采用 MIT 许可证开源,核心逻辑完全运行在浏览器端,不会发起额外网络请求也不触碰用户业务数据,仅权限切换会经过宿主侧路由调用。从 1.1.0 版本开始,插件采用 pnpm 托管,更新只需要重新运行安装脚本即可。卸载可通过 pnpm remove 完成,自定义配置残留可在浏览器开发者工具中删除 localStorage 对应键值即可。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-shortcuts(Ricketts-Guo/dsh-shortcuts)
仓库:https://github.com/Ricketts-Guo/dsh-shortcuts
本站详情页:https://www.yhbd.top/plugins/ricketts-guo-dsh-shortcuts/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 5 · 最近提交 2026-09-20 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:Ricketts-Guo/dsh-shortcuts
把 Ricketts-Guo/dsh-shortcuts 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-shortcuts — DeepSeek Harness WebUI 键盘快捷键
为 DeepSeek Harness 的 WebUI 提供一套可完全自定义的键盘快捷键系统。所有可触达的功能预注册在分组列表中,带默认键的直接生效(macOS 优先,其他平台自动改用 Ctrl),其余一键录制即可绑定。配置保存在浏览器 localStorage,刷新/重启不丢。
- 34 个预置功能,6 个分组:会话 / 视图 / 剪贴板 / 模型 / 权限 / 系统
- 自定义绑定:任何功能都可录制任意组合键、清除、禁用,冲突自动检测
- 快捷键速查表(
⌘/):随时查看全部绑定 + 内置诊断面板 - 权限快速切换:
Shift+Tab调用宿主权限服务,切换当前会话的权限预设,不插入聊天命令节点 - 官方 Bundle 安装:通过
dsh plugin管理依赖与注册,只新增插件自有条目 - 本地运行:配置保存在 localStorage;权限切换使用本地 HTTP 路由,无遥测或插件自有外部服务
兼容性
1.1.5 针对 DSH 0.1.5-rc.2、0.1.6-alpha.1、0.1.6-alpha.2 修复并验证。
Node.js 范围为 >=22.13.0,实际验收环境为 Node.js 24.14.1、macOS arm64、Chrome、一次性 web Profile。
Desktop、Windows、Linux 和其他 DSH 版本尚未运行验收;不要据此推断兼容。
完整版本声明见 package.json 的 dsh.compatibility,测试方法及证据见 兼容性验收记录。
商城收录状态由 DSH STORE 的固定 Commit 复检决定,仓库测试通过不代表已经恢复上架。
功能一览
| 分组 | 功能(默认键) |
|---|---|
| 会话 | 新建会话 ⌘N · 会话快速切换 ⌘K · 归档当前会话 ⌘⇧A · 聚焦消息输入框 ⌘⇧K · 停止当前任务 ⌘. |
| 视图 | 切换侧边栏 ⌘B · 切换详情面板 ⌘⇧D · 切换明暗主题 ⌘⇧L · 全屏 · 滚动到顶/底部 · 聚焦会话搜索 |
| 剪贴板 | 复制最后一条助手消息 · 复制会话标题 · 复制会话 ID |
| 模型 | 选择模型 1–9 ⌘1–⌘9 · 思考强度 1–5 Tab+1–Tab+5(按住 Tab)· 循环思考强度 |
| 权限 | 循环切换权限(只读 / 工作区写入 / 完全访问)⇧Tab |
| 系统 | 打开设置 ⌘, · 快捷键速查表 ⌘/ · 切换界面语言 |
未标注默认键的功能初始为「未绑定」,在 设置 → 快捷键 中点击「录制」即可自定义添加。 思考强度档位取决于当前模型(如 DeepSeek 的低/中/最大);权限轮换顺序取决于部署配置的预设表。
安装、更新与卸载
先准备兼容的 DSH CLI 和 Node.js。保存当前任务,停止准备修改的 WebUI 实例,并备份它的 Profile 目录。
默认目标是 DSH_HOME(未设置时为 ~/.dsh)下的 web Profile;Desktop 由官方应用管理,不使用本脚本修改。
git clone https://github.com/Ricketts-Guo/dsh-shortcuts.git
cd dsh-shortcuts
git rev-parse HEAD # 记录并核对要安装的完整 Commit
./install.sh
脚本安装当前检出内容,不自动拉取代码。它委托官方 CLI 完成依赖、锁文件、模块映射和 Bundle 注册,并运行配置合成检查:
dsh plugin --profile web add --save-prod --ignore-scripts "file:$PWD"
dsh --profile web --dump-config
配置合成通过后,启动该 WebUI,确认侧边栏「快捷键」按钮、⌘/ 速查表和 设置 → 快捷键 页面可用。
脚本不会自动关闭或重启正在使用的 DSH。无需手工编辑 Profile 的 package.json 或创建软链接。
更新时先核对新版本的代码和权限变化,再 git pull --ff-only 并重新运行 ./install.sh,最后重启该 WebUI。
可以用 DSH_BIN 指定 CLI、DSH_HOME 指定独立根目录、DSH_PROFILE 选择已有自定义 Web Profile(默认 web)。
历史 DSH_PROFILE_DIR 仅接受 <DSH_HOME>/profiles/<profile> 结构。
卸载前停止目标实例,然后运行:
dsh plugin --profile web remove dsh-shortcuts
dsh --profile web --dump-config
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
feiyang-dev/DeepSeek-Harness-Desktop
xuboboo/dsh-gui
saya-ch/dsh-mobile
liguobao/ds-harness-remote
summer1238/dsh-remote-web-gateway
ZSeven-W/rish-app
HsiangNianian/dsh-auto-continue
sorsama/deepseek-harness-mobile