Introduction

When maintaining multiple sessions in DSH Web at the same time, switching sessions, focusing the search box, opening model selection, archiving or renaming sessions usually requires clicking the sidebar. When there is unsent content in the chat input box, this operation interrupts the typing rhythm.

dsh-session-hotkeys addresses this scenario by mapping common session operations to keyboard shortcuts, allowing users to switch sessions even while typing.

What is it

dsh-session-hotkeys is a DSH Web session shortcut plugin maintained by YEYEYEYESHIFU, used to provide keyboard session management for DeepSeek Harness Web.

The primary problem it solves is: switching between rendered session lists using the keyboard, and reducing mouse operations between chat, search, model selection, and session management.

It is a pure browser plugin, with no network requests, no server-side state, and does not collect data. License is MIT.

Core Features

The following introduces several verified categories of capabilities.

Session Switching

  • Supports Alt+1-9 to jump to the Nth session, Alt+↑ / Alt+↓ for cycling; this is the Windows default, macOS corresponds to ⌃⇧1-9, ⌃⌥↑ / ⌃⌥↓.
  • Can switch sessions even when the chat input box is focused; normal typing does not trigger this.
  • All keybindings can be rebound in the panel, with Windows/macOS presets provided.

Fixed Slots

  • Supports fixed slots (pin/jump/unpin) and jumping to fixed slots.

Session Management and Focus

  • Supports creating new sessions, archiving the current session, opening the archive list, and renaming the current session.
  • Supports navigation mode, focusing the search box, focusing model selection, focusing back to the chat input box, and alternative ways to send when busy.

Default Keybindings

The following only lists keybindings explicitly given in verified sources.

Action Keybinding
Switch to Nth session (Windows) Alt+1-9
Previous / Next session (Windows) Alt+↑ / Alt+↓
Switch to Nth session (macOS) ⌃⇧1-9
Previous / Next session (macOS) ⌃⌥↑ / ⌃⌥↓
New session Alt+N
Archive current session Alt+Shift+A
Open archive list Alt+Shift+U
Open panel Alt+P

Other action keybindings can be rebound in the panel; Windows/macOS presets have been mentioned in the sources, but the verified sources do not list all default keybindings item by item.

Installation and Enablement

Using dsh plugin

First execute the installation command, then restart DSH Web:

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

After the above steps, restart DSH Web to enable it.

Legacy CLI

If the legacy CLI does not have the dsh plugin subcommand, follow the steps below:

  1. In the profile’s package.json, add dsh-session-hotkeys to dependencies and dsh.profile.bundles.

  2. Run in the profile directory:

pnpm install
  1. Restart DSH.

Typical Usage

After installing and restarting DSH Web, you can use it with the default keybindings:

  1. Ensure the sidebar is expanded, because switching depends on the sidebar expanded state, reading the display order of rendered sidebar rows.

  2. Press Alt+1-9 to switch to the Nth session; press Alt+↑ / Alt+↓ to switch to the previous / next session.

  3. On macOS, use ⌃⇧1-9 to switch to the Nth session; use ⌃⌥↑ / ⌃⌥↓ to switch to the previous / next session.

  4. Press Alt+N to create a new session, press Alt+Shift+A to archive the current session, press Alt+Shift+U to open the archive list.

  5. Press Alt+P to open the panel and rebind keybindings on the keys page.

Key rebinding supports letters, backticks, F1-F12, and numbers 1-9; when using numpad numbers, NumLock must be enabled.

Development Verification

If you need to run development verification, first clone the repository, then run the verification command:

git clone https://github.com/YEYEYEYESHIFU/dsh-session-hotkeys.git
cd dsh-session-hotkeys
npm run verify

Applicable Scenarios and Notes

  • Suitable for users who maintain multiple sessions in DSH Web and wish to reduce mouse operations.
  • The plugin runs with the current DSH process permissions; you should check the source code, license, and permission declarations before installing. Permissions declared in package.json include: ui:sidebar, ui:session, browser:keyboard, dom:read, storage:localstorage.
  • Tested on DSH Web with @deepseek-ai/dsh@0.1.1-rc.2, last verification date 2026-08-23. package.json version is 1.6.0, dshVersions in compatibility is 0.1.1-rc.2.
  • Session order, search box, and model selection positioning rely on DSH Web DOM class names; the plugin may need updating after a DSH upgrade.
  • Keybindings and fixed relationships are saved in browser localStorage; clearing site data will reset them.
  • Archive operations require confirmation and are never deleted; DSH 0.1.1-rc.2 has no public unarchive interface, recovery requires host-side operation.
  • On Windows, to avoid Chrome consuming Alt+ digits, numpad Alt codes within the input box (e.g., Alt+0167) are unavailable.

Conclusion

Through the introduction above, the value of dsh-session-hotkeys lies in: concentrating common session switching, session management, and focus operations in DSH Web onto the keyboard, and remaining available even when the chat input box is focused. If you mainly handle multiple sessions in DSH Web, you can enable it following the installation steps above and rebind keybindings according to the panel.

GitHub:https://github.com/YEYEYEYESHIFU/dsh-session-hotkeys
Directory Page: No available URL provided in verified sources.