DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Download Button — DeepSeek Harness 插件(DSH Plugin)
← Plugins
D

dsh-download-button

Download Button

为 DeepSeek Harness 中的交付文件卡片添加下载按钮

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:maxesisnclaw/dsh-download-button#23cee12774773e674a2906befca3acc7a2da89c7
README兼容性版本

兼容性与来源证明

Download Button 以 dsh-download-button 发布,当前版本为 0.2.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/9/18

版本

0.2.0stable
2026/9/18

相关插件

正在加载相关插件…

最新版
0.2.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/18
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rClient Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。

README

dsh-download-button

English | 中文

A Download button for delivered-file cards in DeepSeek Harness (dsh) web.

The problem

When an agent produces a file, dsh renders a card with two actions:

ActionWhat it doesWhy it is not enough
OpenAsks the host machine to open the file with its default applicationA headless server has no desktop, so this always fails
Open in sidebarText previewNon-text files (docx / xlsx / pdf / zip …) answer "non-text file, cannot preview"

So a docx the agent just wrote has no way out of the browser.

What this plugin does

It appends a Download link to every delivered-file card. Clicking it saves the file straight from the server to your disk.

[ Download ] [ Open ▾ ]

On a headless host it also hides the "this host has no available desktop, cannot open file or folder" notice. That notice exists because dsh ships a desktop-integration surface (open the file with a host application / reveal it in Finder·Explorer) for installations running on someone's own computer. A server has no such desktop, so the notice is only noise — the download link is the way out. Detection uses the same rule dsh itself uses on Linux (DISPLAY or WAYLAND_DISPLAY present); on macOS/Windows desktop mode nothing is hidden and the notice never appears.

Design (why it survives upgrades)

  • No vendor patching. Nothing under node_modules is modified. The plugin only taps the server-rendered index page and injects a small script.
  • No server route of its own. It reuses the built-in authenticated raw-bytes route GET /api/file?path=<absolute path> (correct Content-Type, cookie-authenticated), with the HTML download attribute supplying the filename.
  • No bundled-class-name assumptions. The button copies its className from the sibling action button already present in that card, so it follows theme/style changes.
  • The absolute path is read from the card's own title attribute (which dsh already sets to the resolved workspace path).

Install

dsh plugin --profile web add github:maxesisnclaw/dsh-download-button

Manual install:

  1. Copy this directory to <dsh-install>/plugins/dsh-download-button/.

  2. Add to $DSH_HOME/cordis.patch.yml:

    - insert:
        - id: download-button
          name: /absolute/path/to/dsh-download-button/index.js
    
  3. Restart the service: systemctl restart dsh (or restart your dsh web process).

When the package is listed in a profile's dsh.profile.bundles instead, the bundled cordis.patch.yml applies the same insert automatically.

Verify

  • Open the web UI, have the agent produce any non-text file (docx, xlsx, pdf), and look for the Download button on the file card; clicking it should save the file.

  • Server-side check that the underlying route works:

    curl -b "<your session cookie>" \
      "http://127.0.0.1:3080/api/file?path=/absolute/path/to/file.docx" -o out.docx
    # out.docx must be byte-identical to the source file
    
  • Unit test: npm test (checks the index-page injection is applied once, and is idempotent).

Limitations

  • The card must expose the file's absolute path in a title attribute (that is how the current dsh renders delivered files). If a future version changes the card markup, update the selector in the injected script.
  • Only delivered-file cards get the button; other surfaces (e.g. a sidebar preview of a text file) are untouched.

License

MIT