l541402398/dsh-file-uploads
从DeepSeek Harness Web编辑器中上传任意本地文件,并在设置中管理它们。
Project Overview项目介绍
This is a native plugin built exclusively for the Web profile of DeepSeek Harness. To install the stable release, run dsh plugin --profile web add "github:l541402398/dsh-file-uploads#v1.0.0" in your terminal, then restart the Web profile and refresh your browser page. It adds a dedicated Files button to the Web GUI composer toolbar, and enables uploading any type of arbitrary local file, not just images like the base Harness supports. Pending uploads are displayed as cards above the composer, keeping the main text editor clean without inserting any extra text before submission.
When you submit your prompt, the plugin saves all uploaded files to a fixed storage directory (default $DSH_HOME/uploads), then appends the absolute container path of each file to the prompt that the model receives. After successful submission, all pending file cards are cleared; if submission fails, the cards are restored for you to edit or resubmit. You can view, download, or delete all past uploaded files from a new section added to your DSH Settings page, making it ideal for users that need to let their DSH agent work with non-image local files like documents or source code.
The plugin works out of the box with default settings, but you can override defaults via environment variables for upload directory, maximum per-file size, and maximum total storage size. It includes multiple security checks such as Origin validation, path sanitization, atomic file writes, duplicate name handling, and temporary file cleanup to prevent common vulnerabilities and storage corruption. It requires Node.js 22 or newer, is fully compatible only with DeepSeek Harness 0.1.0-rc.6 and up running on the Web profile, and is released under the permissive free MIT open source license.
这是一款专为 DeepSeek Harness 网页端配置文件开发的原生插件,用于解决原生 DSH 仅支持图片附件的限制,允许用户从网页端对话编辑器上传任意类型的本地文件。插件会在编辑器工具栏新增一个「文件」按钮,选中的待上传文件会以卡片形式展示在编辑器上方,不会在输入框内插入额外文本,保证编辑器界面整洁。文件会统一存储在指定目录,提交对话时才会把文件在容器内的绝对路径加入提示词。
用户安装插件后,只需重启网页端配置文件、刷新浏览器页面即可使用。在对话界面点击编辑器工具栏的「文件」按钮,选择一个或多个本地文件添加后,可以预览待上传卡片、移除不需要的文件,添加完提示词后正常提交对话即可。文件提交后会清空待上传卡片,如果提交失败则会恢复卡片,适合需要让大模型处理代码、文档等非图片本地文件的 DSH 用户使用。
插件默认工作无需额外配置,支持通过环境变量自定义存储目录、单文件大小上限和总存储容量上限,默认分别为 $DSH_HOME/uploads、100MB 和 1GB。插件内置完整的安全校验,遵循 MIT 许可免费开源,要求 Node.js 版本不低于 22,仅兼容 DSH 0.1.0-rc.6 及以上版本的网页端配置文件。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-file-uploads(l541402398/dsh-file-uploads)
仓库:https://github.com/l541402398/dsh-file-uploads
本站详情页:https://www.yhbd.top/plugins/l541402398-dsh-file-uploads/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-08-14 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
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:l541402398/dsh-file-uploads#v1.0.0"
把 l541402398/dsh-file-uploads 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-file-uploads
English | 简体中文
Upload arbitrary local files from the DeepSeek Harness Web composer, attach their container paths to prompts, and manage stored uploads from Settings.
Features
- Adds a Files button beside the existing composer controls.
- Accepts multiple arbitrary local files, not only images.
- Shows pending files as image-like cards above the composer.
- Keeps the text editor clean: no visible path or generated description is inserted into the draft.
- Serializes each hidden file reference into a model-readable absolute path only when the message is submitted.
- Clears pending cards after submission and restores them when submission fails.
- Stores every upload in one fixed directory,
$DSH_HOME/uploadsby default. - Lists uploaded files in Settings → Uploaded files, with download and delete actions.
- Prevents overwrites by publishing duplicates as
name (1).ext,name (2).ext, and so on. - Enforces per-file and total-directory quotas.
Compatibility
- DeepSeek Harness
0.1.0-rc.6 - Web profile
- Node.js 22 or newer
Harness currently transports native attachments as raster images only. This plugin intentionally uses the arbitrary-file path supported by the agent environment: it stores the file inside the Harness host/container and adds that path to the submitted text through the built-in input-reference serializer.
Install
Install the tagged GitHub release into the Web profile:
dsh plugin --profile web add "github:l541402398/dsh-file-uploads#v1.0.0"
Restart the running Web profile after installation, then refresh the browser page.
To install the latest development branch instead:
dsh plugin --profile web add "github:l541402398/dsh-file-uploads#main"
To remove it:
dsh plugin --profile web remove dsh-file-uploads
Use
- Open a conversation in the Harness Web GUI.
- Select Files in the composer toolbar.
- Choose one or more local files.
- Review or remove the pending cards above the composer.
- Add any normal prompt text you want, or leave the editor empty.
- Submit the message. The model receives a line such as:
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
reactive-resume/reactive-resume
anywhere-labs/dsh-desktop
dataelement/dsh-desktop
ccch1mneyyy/dsh-TUI
DSH-EAC/DSH-Desktop-EAC
shaobeichen/dsh-pocket
xyTom/coding-tools-mcp