dsh-session-context-menu: Native-Style Context Menus for DeepSeek Harness Application Wrappers
baihejiangnan/dsh-session-context-menu
Native-style context menus for DeepSeek Harness desktop wrappers, covering sessions, workspaces, text, and links.
Give the DeepSeek Harness Web UI native-like context menus in wrappers like Tauri and Electron, covering sessions, workspaces, text, links, and input fields.
dsh plugin --profile web add github:baihejiangnan/dsh-session-context-menu- Category
- Sessions & Messages
- Platform
- DSH-Plugin
- Author
- baihejiangnan
- Distribution
- Plugin
dsh-session-context-menu Key Features
dsh-session-context-menu Repository

dsh-session-context-menu Repo Summary
"Better Right-Click" is a session context menu plugin (DSH plugin) for DeepSeek Harness, designed to provide a more complete, native-client-like right-click experience for application wrappers that host the DeepSeek Harness Web UI, such as Tauri, EAC, Electron, WebView2, CEF, and Qt WebEngine. It solves the problem of the limited and inconvenient right-click menu in dsh web when opened in regular browsers, covering sessions, workspaces, settings pages, conversation content, links, and input fields. Core capabilities include session rename/fork/archive, workspace new session/open directory/safe removal, text copy/select-all, opening links in the system browser, input field undo/redo/cut/copy/paste/select-all, and refreshing the Harness page. The plugin is maintained by baihejiangnan, licensed under MIT, last updated on 2026-08-18, with the current stable version v0.2.14.
What core features does the "Better Right-Click" DSH plugin support?
This DSH plugin provides rich right-click operations for sessions and workspaces: sessions support official rename, fork, archive, as well as open directory, copy directory and session ID; workspaces support new session, open directory, rename, copy path, archive session, and safe removal. Plain text supports copying selected text, with select-all strictly limited to the current conversation content slot or settings popup; links or selected URLs can be opened in the system default browser or copied; input fields support undo, redo, cut, copy, paste, and select-all. Additionally, all plugin menus provide a refresh function for the current Harness page.
How to install and update "Better Right-Click"?
Installation requires DeepSeek Harness installed and using the Web Profile. It is recommended to install following the GitHub main branch by executing:
dsh plugin --profile web add github:baihejiangnan/dsh-session-context-menu
To lock to a stable version, install a Git tag:
dsh plugin --profile web add github:baihejiangnan/dsh-session-context-menu#v0.2.14
After installation, restart dsh web or the hosting application wrapper. To update, run dsh plugin --profile web up @baihejiangnan/dsh-session-context-menu; to uninstall, use dsh plugin --profile web remove @baihejiangnan/dsh-session-context-menu.
What is the compatibility strategy of "Better Right-Click"?
The plugin does not modify @deepseek-ai/*, the Tauri shell, or other community plugins. It locates targets via the accessibility semantics of session rows, uses the public sessions and workspaces services for business operations, and retains the browser default menu when the target cannot be confirmed. It does not replicate official persistence or RPC implementations; the official side remains the sole source of session data and operation results, and no patches are left after uninstallation. When coexisting with dsh-better-sidebar (v0.2.14+), directory opening uses the host RPC host.openPath to avoid treating directories as files, while link operations still use workspaces.openPath.
Why doesn't "Better Right-Click" provide "pinned sessions"?
DeepSeek Harness currently does not expose a pinned field, pinned set, or pin RPC in its public session and workspace state. The sidebar only offers two overall sorting modes: "recently updated" and "manual sort", which cannot achieve Codex-style independent pinning without affecting the time-based sorting of other sessions. Therefore, the plugin does not provide pinning, nor does it simulate it by toggling global manual sorting, modifying local storage, or reordering the React DOM, to avoid breaking user sorting preferences. If Harness later adds independent pin state and public interfaces, the plugin can integrate real pinning.
What is the extension protocol of "Better Right-Click"?
Other web plugins can register extension information through the global registry, and run will invoke the corresponding extension when a menu item is clicked. The plugin uses the dsh-plugin topic, which GitHub automatically aggregates to github.com/topics/dsh-plugin, along with topics like deepseek-harness, context-menu, tauri, and webview to describe its purpose and runtime environment.