DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-file-context-menu

d

dsh-file-context-menu

Manifest valid

Right-click files, folders, web links, and workspaces in the DeepSeek Harness chat and sidebars to reference, copy, preview, open in a chosen app or browser, reveal, or save.

UI (client)hasBundlePatch

右键选项 · DSH 文件右键菜单

在 DeepSeek Harness(DSH)里右键文件、目录、网页链接和工作区,弹出统一的操作菜单。

npm

截图

文件菜单工作区菜单网页链接菜单
文件右键菜单工作区右键菜单网页链接右键菜单

支持的右键位置

位置右键对象菜单
对话区文件链接 / 交付卡片 / 行内代码路径完整文件菜单
对话区目录路径(如 证据库/全文/)目录菜单
对话区无扩展名路径(如 工作底稿/说明)自动判断文件/目录
对话区http(s) 网页链接链接菜单
对话区(自己发送的消息)纯文本 http(s) 链接链接菜单
对话区(自己发送的消息)文件附件卡片复制名称
右侧 Sidebar「文件」树文件夹文件夹菜单
左侧工作区列表工作区分组行工作区菜单

菜单

文件

菜单项作用
引用该文件把 @路径 文件引用插入输入框
复制名称复制文件名(含扩展名)
复制路径复制绝对路径(解析不到时退回显示路径)
打开(内部)在右侧 Sidebar 预览文件
打开(默认应用)交给系统默认程序打开
选择应用打开…Windows 系统「打开方式」;macOS 系统应用选择器;其他系统退回应用列表
打开所在文件夹打开父文件夹并选中该文件
另存为…复制一份到自选位置(showSaveFilePicker,不可用时回退下载)

目录 / 文件夹

  • 复制名称
  • 复制路径
  • 打开文件夹

「打开文件夹」直接打开目录本身;「打开所在文件夹」是打开父目录并选中它。

网页链接

菜单项作用
引用链接把 URL 文本插入输入框
复制名称复制链接文字(没有文字时用域名)
复制链接复制 URL
打开(内部)在右侧 Sidebar 的浏览器页签中打开
打开(默认浏览器)用系统默认浏览器打开
选择浏览器打开…列出本机浏览器(Edge、Chrome、Firefox、Brave、Vivaldi)

左侧工作区

  • 复制名称(工作区标题)
  • 复制路径
  • 打开工作区文件夹(打开工作区目录本身)
  • 打开所在文件夹(在父目录中定位工作区文件夹)

安装

在 DSH 的插件页安装,或:

dsh plugin --profile desktop add dsh-file-context-menu

安装后完全退出并重新启动 DSH(客户端模块在启动时加载)。

更新:

dsh plugin --profile desktop add dsh-file-context-menu@latest

卸载:

dsh plugin --profile desktop remove dsh-file-context-menu

要求:DSH 0.2.1-rc.1 及以上(engines.dsh 已声明)。当前适配 DSH 0.2.1-rc.5。

识别范围

  • 文件链接(dsh-resource://file/...)、交付卡片(title 路径)、路径式 href
  • 对话里的行内代码路径(如 `工作底稿/设计.md`)
  • 约 230 种扩展名,含大写扩展名、UNC 路径、中文/全角符号、含空格文件名、@"带 空格.docx" 引用写法
  • 带路径分隔符的目录与无扩展名路径

不识别:普通正文里的路径、不带斜杠的裸目录名(写成 工作底稿/ 即可)、代码表达式。

工作原理

  • 客户端 client.js 捕获对话区、Sidebar 文件树和左侧工作区列表的 contextmenu
  • 路径解析复用 DSH 的 remote.session、remote.workspaceFiles 和 workspaces 服务
  • 宿主 index.js 提供四个本机路由:/file-actions/browsers、/file-actions/open-url、 /file-actions/kind、/file-actions/open-with
  • 文件引用通过 conversation.input.shell(sessionId).addFiles() 插入 @路径
  • 链接引用通过 shell.requestDraftInitialization() 插入 URL 文本

隐私

  • 插件不上传数据;「另存为」只通过本机会话路由读取文件。
  • 诊断上报默认关闭;只有主动执行 localStorage.setItem('dsh-file-context-menu.diag', '1') 后,才会把右键命中信息写入 本机内存的诊断接口(/file-actions/diag),不会发送到任何服务器。

已知限制

  • 链接的「打开(内部)」依赖 Sidebar Browser 页签;Web profile 默认禁用时会提示无法打开。
  • 链接引用插入的是 URL 文本(输入框 @ 引用只支持工作区文件)。
  • 「另存为」受 /api/file 的字节上限约束(当前约 10 MB)。
  • 相对路径无法解析出绝对路径时,只提供「打开(内部)」和「引用」。
  • Sidebar 文件树目前只接管文件夹行,文件行右键未接管。
  • 用户消息里的文件附件卡片只有文件名、没有真实路径,所以只提供「复制名称」。
  • 依赖 DSH 0.2.x 的客户端服务名(remote.session、remote.workspaceFiles、sidebarRight、 shell.overlay、workspaces);大版本升级后需复核。

反馈与更新

License

MIT

Comments

Loading…

From the same category

dsh-desktop

by anywhere-labs

为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。

UI & ExperienceManifest valid

★ 34.4k

↓ 175/wk

MIT

TypeScript

Oct 31, 2026

dsh plugin --profile web add dsh-plugin-desktop

by zhu1090093659

DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop

UI & ExperienceManifest valid

★ 9.9k

↓ 225/wk

Apache-2.0

TypeScript

Nov 2, 2026

dsh plugin --profile web add dsh-web

A collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.

UI & ExperienceManifest valid

★ 8.6k

↓ 225/wk

Apache-2.0

TypeScript

dsh plugin --profile web add dsh-web

by PC2005-cloud

DSH 桌面宠物:一行命令装好即用的透明动画小桌宠,支持多开、大小位置随心配置;还内置 DIY 素材链,能用 AI 视频自造专属宠物

UI & ExperienceManifest valid

★ 5.2k

↓ 224.8k/wk

MIT

TypeScript

Nov 2, 2026

dsh plugin --profile web add dsh-pet

by omdsh-dev

开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,

UI & ExperienceManifest valid

★ 4.8k

↓ 99.3k/wk

MIT

TypeScript

Oct 30, 2026

dsh plugin --profile web add dsh-better-sidebar

by 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,

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 4k

↓ 139k/wk

Apache-2.0

TypeScript

Nov 2, 2026

dsh plugin --profile web add dsh-context