baihejiangnan/dsh-session-context-menu 预览 preview

baihejiangnan/dsh-session-context-menu

“更好的右键”为 DeepSeek Harness 应用封装端提供更完整、接近原生客户端的鼠标右键体验,覆盖会话、工作区、设置页、对话正文、链接与输入框。菜单与提示文案支持中英文并自动跟随宿主 UI 语言。官方已有的会话操作转交官方组件;插件额外提供带确认和路径保护的永久删除会话能力。

catalog descriptioncatalog 简介 / catalog description:更好的右键:DeepSeek Harness 应用封装端的完整原生风格上下文菜单

Project Overview项目介绍

This repository is a native plugin built exclusively for DeepSeek Harness, designed to add an improved right-click context menu experience for desktop wrapped clients that host the DSH Web UI, including Tauri, EAC, Electron, WebView2, CEF and Qt WebEngine. It does not support running on regular browsers that open the DSH web interface, as the plugin is only targeted at desktop wrapped applications that bundle the DSH UI. The plugin adds context menus for multiple interface areas including sessions, workspaces, settings pages, conversation content, hyperlinks and input boxes, with localized text that automatically matches the host UI language setting.

The plugin keeps the existing official session operations intact, and adds extra functionality like permanently deleting sessions with a confirmation step and path protection to prevent accidental deletion of wrong sessions. It also exposes an extension protocol that allows other DSH web plugins to register custom menu items via the global registry, so developers can extend the context menu with their own custom features. After installation, users can access the context menu by right-clicking anywhere in the supported interface areas, making it ideal for DSH desktop users who need more complete right-click operations for session management and text editing.

The plugin is released under the open source MIT license, and requires users to have a working DeepSeek Harness installation with a profile that hosts the Web UI to install correctly. After installation via the DSH plugin command line tool, users must restart their DSH web instance or the wrapping desktop client for the plugin to take effect. The permanent delete operation is irreversible, so the plugin shows a confirmation dialog before proceeding, and only allows deleting sessions stored in DSH's standard session directory to reduce the risk of accidental data loss.

本项目是专为 DeepSeek Harness 开发的原生插件,为承载 DSH Web UI 的桌面封装客户端(包括 Tauri、EAC、Electron、WebView2 等)提供增强的右键菜单体验,不支持在普通浏览器中打开 DSH web 的场景。插件覆盖会话、工作区、设置页、对话正文、链接与输入框的右键菜单,文案支持中英文并自动跟随宿主 UI 的语言设置。

插件保留 DSH 官方已有的会话操作逻辑,额外提供带二次确认机制和路径安全保护的永久删除会话功能,还开放了扩展协议,允许其他 Web 插件通过全局注册表登记自定义菜单项。用户安装后可以在各个界面区域通过右键调用对应功能,适合需要更完整右键操作体验的 DSH 桌面用户,满足日常会话管理和文本操作的各类需求。

本插件采用 MIT 许可证开源,要求用户已安装 DeepSeek Harness 并使用承载 Web UI 的配置文件安装,安装后需要重启 DSH web 或对应的封装客户端才能生效。永久删除会话操作不可恢复,插件会在删除前弹出确认提示,且仅允许删除 DSH 标准目录下的对应会话,最大程度避免误操作带来的数据损失。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 20 stars - an early-stage project星标 20,属于早期项目
  • Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
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:baihejiangnan/dsh-session-context-menu

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

READMEREADME

更好的右键

Better Context Menu for DeepSeek Harness

简体中文 | English

[!WARNING] 当前版本不适配原生 Web 端。 本插件只面向承载 DeepSeek Harness Web UI 的应用封装端,包括 Tauri、EAC、Electron、WebView2、CEF、Qt WebEngine 等桌面客户端。直接在 Chrome、Edge、Firefox 等普通浏览器中打开 dsh web 不属于当前支持范围,浏览器原生右键行为也不作为本插件的兼容目标。

“更好的右键”为 DeepSeek Harness 应用封装端提供更完整、接近原生客户端的鼠标右键体验,覆盖会话、工作区、设置页、对话正文、链接与输入框。菜单与提示文案支持中英文并自动跟随宿主 UI 语言。官方已有的会话操作转交官方组件;插件额外提供带确认和路径保护的永久删除会话能力。

安装

要求已安装 DeepSeek Harness,并使用承载 Web UI 的 Profile(例如 web 或 tauri)。推荐跟随 GitHub main 分支安装,以获取最新功能并可直接执行更新命令:

dsh plugin --profile web add github:baihejiangnan/dsh-session-context-menu

如果希望锁定到当前稳定版本,不自动跟随后续更新,可以安装 Git 标签:

dsh plugin --profile web add github:baihejiangnan/dsh-session-context-menu#v0.2.14

安装后重启 dsh web 或承载它的 Tauri、EAC 等应用封装端。开发者也可以克隆仓库后使用本地路径链接:

git clone https://github.com/baihejiangnan/dsh-session-context-menu.git
dsh plugin --profile web add ./dsh-session-context-menu

当前最新稳定标签为 v0.2.14;main 已包含将在下一版本发布的中英文适配和永久删除会话功能。

更新

通过未锁定的 GitHub 地址安装后,执行下面的命令获取 main 上的最新稳定版本:

dsh plugin --profile web up @baihejiangnan/dsh-session-context-menu

更新完成后重启 dsh web 或应用封装端。使用 #v0.2.14 等标签锁定安装的用户,需要先把依赖目标改成新的稳定标签,或重新执行对应新标签的安装命令。

卸载

dsh plugin --profile web remove @baihejiangnan/dsh-session-context-menu

效果展示

会话与工作区

会话右键菜单 工作区右键菜单
会话右键菜单(包含永久删除) 工作区右键菜单

对话输入区

空白对话输入区右键菜单

输出内容与侧边编辑器

输出内容右键菜单 侧边编辑器右键菜单
输出内容选中文本右键菜单 侧边编辑器右键菜单

设置界面

设置界面选中文本右键菜单

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

← 上一个 Prev touhou-hakurei 下一个 Next dsh-tui →