DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
D

dsh-delivery-native-open

Delivery Native Open

Open a delivered file in its default desktop application when the delivery card is clicked; Alt/Ctrl/Cmd/Shift+click keeps the Sidebar preview.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:otvaket/dsh-delivery-native-open#7eec63880da13b3cd83da33cc1dacf1a54b0bf07
READMECompatibilityVersions

Compatibility and provenance

Delivery Native Open is published as dsh-delivery-native-open and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/22/2026

Versions

0.1.0stable
10/22/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/25/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in ui-customization.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Experimental Session Titles Bundle@deepseek-ai/dsh-experimental-session-titles-bundleRefresh session titles as new human prompts arrive.Personalized Recommendations@deepseek-ai/dsh-personalized-recommendationsPersonalized pages and built-in plugin recommendations offered as cards below answersWhale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editin

README

dsh-delivery-native-open

把 DSH Web 交付卡片(present 卡片)的主点击从「右侧栏 Web 预览」改成「用本机默认程序打开」,同时保留一个显式的侧栏预览按钮。不修改 deepseek-harness 的任何源码。

交互

手势结果
点击交付卡片主体用本机默认程序打开该文件
点击卡片右侧的侧栏预览按钮(本插件提供)在右侧栏 Web 预览
Alt / Ctrl / Cmd / Shift + 点击卡片主体同样是在右侧栏 Web 预览(保留原生手势)
卡片右侧的打开控件不变(原 ui-open-in-app 的应用菜单 / 显示文件位置)
Host 没有桌面(远程、容器)不拦截,点击仍是预览,且不显示预览按钮

安装

dsh plugin --profile web add https://github.com/otvaket/dsh-delivery-native-open

开发期用本地链接安装:

cd ~/.dsh/profiles/web
pnpm add link:<本目录绝对路径>

dsh.bundle.patch 会在插件行上生效,不要再往 profile 的 cordis.patch.yml 手动 insert 同一行(重复 id 会让 loader 崩)。

装好后重启 dsh web,浏览器硬刷新。

卸载:

cd ~/.dsh/profiles/web && pnpm remove dsh-delivery-native-open

实现方式与依赖

插件占用 deliverables.file.actions(list slot),在每个交付卡片内挂一个不可见探针:

  1. 用 probe.closest('[data-presented-file]') 找到卡片外壳;
  2. 用 :scope > button 找到卡片自己的激活按钮;
  3. 在该按钮上以 capture 阶段监听 click,命中后 preventDefault + stopPropagation,改为调用 slot owner 的 onAction('open')——即 POST /api/present.open 的授权链路,状态反馈仍由 ui-deliverables 自己发布(「正在打开…」「已请求打开」)。

依赖的上游契约(升级后可能变,变了会安全降级为原生预览):

  • deliverables.file.actions slot 的 owner props:actionUrl / available / pending / onAction;
  • 交付卡片 DOM:[data-presented-file] 外壳,激活按钮是它的第一个直接子 <button>。

任一不满足时探针不拦截,点击退回预览——不会报错,也不会重复打开。

预览按钮怎么来的

卡片在 Sidebar 里打开需要 openFile(path),而 slot owner 只暴露 actionUrl/available/pending/onAction,路径不在其中。插件改用「重放原生激活」:预览按钮拿到自己卡片上的激活按钮,置一个 replaying 标志后调用 activation.click(),探针看到标志直接放行,原生预览照常发生——不需要路径,也不依赖事件 schema。按钮用自绘 SVG 图标加注入的 CSS(沿用 --dsw-* 主题变量)与卡片右侧其它控件对齐。

包结构

package.json    dsh.bundle.patch(可被 dsh plugin add 安装)+ dsh.client.platform = web
cordis.patch.yml  bundle patch:插入 host 行
lib/index.js    host 半:空 apply
lib/client.js   浏览器半:window.__ModuleLoader__ 契约,零第三方依赖(只 require('react'))

限制

  • 只覆盖 present 交付卡片;「本轮改动文件」卡片(点击进 diff 对照)不在范围内。
  • 预览按钮的文案固定为中文(外部插件不进宿主 locale 字典)。
  • 若上游把卡片激活按钮挪到非第一个直接子元素,拦截与重放都会失效(安全降级为原生预览)。

License

MIT