dsh-shortcut-extensions
Manifest validKeyboard-driven quick switching for DSH — model palette with colored provider tags, suffix tags and pins, a two-column session palette with per-question prompt preview and archived-session restore, re
dsh-shortcut-extensions · 快捷键拓展
A DeepSeek Harness (DSH) plugin that adds a keyboard-driven quick-switching layer to the DSH web/desktop UI: a model palette, a session palette with prompt preview, session cycling, find-next-answered, composer focus, and configurable permission cycling — all manageable from a sidebar control panel.
中文说明见 README.zh.md。
Features
- Model palette (
Cmd/Ctrl+Shift+M) — fuzzy search; AntD-style colored provider tags (click a tag to filter that provider); name-suffix tags (e.g.routing group); reasoning badges; pin favorites to the top. - Session palette (
Cmd/Ctrl+Shift+S) — two-column layout: sessions on the left, your own prompts preview on the right (follows the highlighted row, debounced + cached). Includes archived sessions with badges; Enter opens and auto-restores archived ones. - Session cycling (
Ctrl+Tab/Ctrl+Shift+Tab, desktop) — cycle in the sidebar's recency order. - Find next answered session (
Cmd/Ctrl+G, webCmd/Ctrl+Shift+G) — jumps to the most recently answered not-yet-viewed session; falls back to sessions that are still running. - Focus composer (
Cmd/Ctrl+I) — restores caret position via the host composer facade. - Permission cycling (
Cmd/Ctrl+Shift+P) — cycles through the presets you configure (any 2+ of Read Only / Workspace Write / Full access, plus any deployment-specific presets), expandable in the panel. - Sidebar control panel — every command with live keycaps and an on/off switch; a shortcut reference tab listing every host command, with device-local rebind/reset; transient hint banner so no command fails silently.
- IME-safe — key handling ignores IME composition state (pressing Enter to commit candidates never accidentally selects an item).
- Theme-aware (light/dark), fixed-height palettes (no jumping while searching).
Default shortcuts (macOS desktop; Ctrl on Windows/Linux)
| Command | Keys |
|---|---|
| Model palette | ⌘⇧M |
| Session palette | ⌘⇧S |
| Permission cycle | ⌘⇧P |
| Find next answered session | ⌘G (web: ⌘⇧G) |
| Focus composer | ⌘I (web: ⌘⌥I) |
| Next / previous session | ⌃Tab / ⌃⇧Tab |
Every command can be rebound in DSH Settings → Shortcuts or in the panel's reference tab; overrides are device-local.
Install
- Clone this repository.
- In DSH, open 插件 (Plugins) and install the plugin from the cloned directory.
- Reload the window (Cmd+R).
Requires a standard DSH web composition. Optional host capabilities degrade gracefully: without permission presets the permission surfaces hide; without the turn-outline projection the prompt preview shows a notice.
Notes & limitations
- Browsers reserve some keys: single-modifier bindings like
Cmd+Gare desktop-only, andCmd+Shift+Pis taken by Firefox (private window). - In the desktop app,
Cmd+Wbelongs to the native "close window" menu item and cannot be taken over by plugins. - Keybinding overrides are stored per device (desktop:
userData/keybindings.json; web: origin-local storage).
Development
Plain JavaScript, no build step, no npm dependencies (React is provided by the host module table):
dsh-shortcut-extensions/
├── package.json # manifest: bundle patch + dsh.client declaration
├── cordis.patch.yml # loader patch: one insert row
├── index.js # host half (empty apply; all features use host services)
├── client.js # all UI/logic (client half, registered via ModuleLoader)
├── locale/zh.json # display metadata + dictionaries (zh/en)
├── locale/en.json
└── icon.svg
License
Comments
Loading…
From the same category
by anywhere-labs
为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 34.4k
↓ 175/wk
MIT
TypeScript
Oct 31, 2026
dsh plugin --profile web add dsh-plugin-desktopby zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 9.9k
↓ 225/wk
Apache-2.0
TypeScript
Nov 2, 2026
dsh plugin --profile web add dsh-webA collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.
★ 8.6k
↓ 225/wk
Apache-2.0
TypeScript
dsh plugin --profile web add dsh-webby PC2005-cloud
DSH 桌面宠物:一行命令装好即用的透明动画小桌宠,支持多开、大小位置随心配置;还内置 DIY 素材链,能用 AI 视频自造专属宠物
★ 5.2k
↓ 224.8k/wk
MIT
TypeScript
Nov 2, 2026
dsh plugin --profile web add dsh-petby omdsh-dev
开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,
★ 4.8k
↓ 99.3k/wk
MIT
TypeScript
Oct 30, 2026
dsh plugin --profile web add dsh-better-sidebarby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 4k
↓ 139k/wk
Apache-2.0
TypeScript
Nov 2, 2026
dsh plugin --profile web add dsh-context