YEYEYEYESHIFU/dsh-session-hotkeys

Plugin插件 Native原生 ⭐ 2 MIT Sessions & Context会话与上下文

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness Web, adding customizable keyboard shortcuts for all common session management tasks. To install the plugin, you can run the command dsh plugin --profile web add "dsh-session-hotkeys" via the DSH CLI, then restart your DSH Web instance to activate it. It comes with pre-configured default shortcuts for both Windows and macOS, all vetted to avoid conflicts with system and browser native shortcuts. You can open the plugin configuration panel via the default Alt+P (Windows) or Ctrl+Option+P (macOS) shortcut to rebind any hotkey to your preference.

The plugin lets you jump directly to the nth session with Alt+1-9 on Windows, or cycle through consecutive sessions with Alt+up/down arrow keys. It also supports common actions like creating new sessions, archiving current sessions, renaming sessions, toggling the sidebar, and focusing interface elements like the search box or model selector. Hotkeys work even when you are focused on the chat input, so you do not need to click away from typing to switch sessions. This makes it ideal for keyboard-centric users who want to speed up their daily DSH workflow.

This plugin is released under the open-source MIT license, and is implemented purely as a browser-side bundle with no external network requests or user data collection. All custom hotkey bindings and pinned session settings are stored in the browser’s localStorage, so they persist across DSH restarts, but will be reset if you clear your site data. It has been tested up to DSH version 0.1.5-rc.2, and relies on DSH Web DOM class names, so major DSH updates may require a plugin update. On Windows, Alt-code input from the numpad is disabled to avoid shortcut conflicts.

这是一个专为 DeepSeek Harness Web 开发的原生插件,为会话管理提供了全套可自定义的键盘快捷键,让用户无需鼠标即可快速切换、归档、管理会话。插件针对 Windows 和 macOS 分别提供了默认预设,所有预设都提前排查了与系统、浏览器快捷键的冲突,安装仅需通过 DSH CLI 执行一条命令,重启 DSH Web 即可生效。

用户可以通过快捷键直达指定序号的会话,也可以循环切换前后会话,还可以快速新建、归档、重命名会话,调整侧边栏状态,跳转搜索框、模型选择器等界面元素。所有快捷键都支持在插件面板中重新绑定,适合习惯键盘操作、希望提升会话管理效率的 DSH 用户使用,输入框聚焦时也能正常触发快捷键,无需先退出输入状态。

本插件采用 MIT 开源协议,是纯浏览器端实现,不发送任何网络请求,也不收集用户数据。快捷键配置和固定槽位信息保存在浏览器 localStorage 中,清除站点数据会重置配置。插件依赖 DSH Web 的 DOM 结构,DSH 大版本升级后可能需要更新插件,Windows 下会禁用 Alt 码输入,小键盘 Alt 码无法使用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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 "dsh-session-hotkeys"

把 YEYEYEYESHIFU/dsh-session-hotkeys 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-session-hotkeys

Awesome DSH Plugin npm version license

Session hotkeys for DeepSeek Harness Web · 给 DeepSeek Harness Web 的会话快捷键插件

Switch sessions from the keyboard the way you switch browser tabs. 像切换浏览器标签页一样用键盘管理会话。


Install

dsh plugin --profile web add "dsh-session-hotkeys"

Then restart DSH Web. 然后重启 DSH Web 即可。

English · 简体中文

English

Why

  • Alt+1-9 jumps straight to the Nth session, Alt+↑/↓ cycles through them — no mouse needed.
  • Everything is rebindable from the panel, with Windows / macOS presets that are screened against browser & system shortcuts.
  • Works while you're typing in the chat input — no blur-first step. Plain typing never triggers anything.
  • Esc toggles to the chat: the first press hands focus to the transcript (↑↓ / PgUp / PgDn scroll), closing the panel, exiting nav, or dismissing the model menu on the way; the second press returns focus to exactly where it was — model selector (ring restored), input (caret intact), anything. Composer popups (slash commands) and IME keep their own Esc.
  • Pure browser plugin: no network requests, no server-side state, nothing collected.

Keybindings

Defaults shown; rebind any of them in the panel (Alt+P → Keys tab).

Action Windows macOS
Switch to Nth session Alt+1-9 ⌃⇧1-9
Previous / next session Alt+↑ / Alt+↓ ⌃⌥↑ / ⌃⌥↓
Pin slot (pin / jump / unpin) Alt+Shift+1-9 ⌃⌥1-9
Jump to pinned slot Ctrl+Alt+1-9 ⌃⌥⇧1-9
New session Alt+N ⌃⌥N
Archive current session Alt+Shift+A ⌃⌥A
Open archived list Alt+Shift+U ⌃⌥U
Rename current session Alt+Shift+R ⌃⌥R
Navigation mode (↑↓ select · Enter open · Esc cancel) Alt+` ⌃`
Open panel Alt+P ⌃⌥P
Collapse / expand the conversation sidebar Alt+B ⌃⌥B
Close the focused split pane (last one tucks the workspace away) Alt+W ⌃⌥W
Focus search box Alt+Shift+F ⌃⇧F
Focus model selector Alt+M ⌃⌥M
Focus back to chat input Alt+Enter ⌃⌥Enter
Toggle chat focus (Esc → transcript, again → back; panel/nav/menu cancel on the way) Esc Esc
Send with alternate busy behavior Alt+Shift+Enter ⌃⌥⇧Enter

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-plugin-sidebar 下一个 Next dsh-translate-pro →