DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

File Uploads — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
F

dsh-file-uploads

File Uploads

从 DeepSeek Harness Web 撰写器上传任意本地文件,将其附加到提示词,并在设置中管理已存储的上传文件。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:l541402398/dsh-file-uploads#3ea46e1583eac426cc34e191ea811e71b0c8347e
README兼容性版本

兼容性与来源证明

File Uploads 以 dsh-file-uploads 发布,当前版本为 1.0.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/8/21

版本

1.0.0stable
2026/8/21

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Agent Teams@nanmicoder/dsh-agent-teamsAgentTeams for DeepSeek Harness:通过自然语言驱动多智能体团队协作(队长、成员、具有依赖关系的任务、消息传递),并在 Web GUI 中提供树状监视器

README

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/uploads by 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

  1. Open a conversation in the Harness Web GUI.

  2. Select Files in the composer toolbar.

  3. Choose one or more local files.

  4. Review or remove the pending cards above the composer.

  5. Add any normal prompt text you want, or leave the editor empty.

  6. Submit the message. The model receives a line such as:

    上传文件:`/path/to/.dsh/uploads/report.pdf`
    

The generated line is never shown in the editor before submission. The stored path refers to the filesystem visible to the Harness host; in a Docker deployment, this is the path inside the container.

Settings

The plugin adds an Uploaded files section to Settings. It displays:

  • the fixed storage directory;
  • per-file and total-directory limits;
  • current storage usage;
  • file name, size, modification time, and absolute path;
  • download and delete actions.

Files persist until they are deleted manually.

Configuration

The plugin works without configuration. These environment variables override its defaults:

VariableDefaultPurpose
DSH_UPLOAD_DIR$DSH_HOME/uploadsAbsolute upload directory.
DSH_UPLOAD_MAX_BYTES104857600Maximum bytes per file (100 MiB).
DSH_UPLOAD_TOTAL_MAX_BYTES1073741824Maximum total bytes in the directory (1 GiB).

Example Docker Compose fragment:

services:
  dsh:
    environment:
      DSH_UPLOAD_DIR: /data/dsh/uploads
      DSH_UPLOAD_MAX_BYTES: 104857600
      DSH_UPLOAD_TOTAL_MAX_BYTES: 1073741824
    volumes:
      - ./dsh-data:/data/dsh

Security model

  • List, upload, download, and delete routes use the same loopback/trusted-host and Origin checks as the built-in Harness Web API.
  • Cross-site browser requests are rejected.
  • File names are normalized and stripped of path components and control characters.
  • Downloads and deletions accept only regular files in the configured directory and do not follow symbolic links.
  • Uploads are written to private temporary files, synced, and atomically published without overwriting existing files.
  • Interrupted .upload-* temporary files are removed when the plugin starts.
  • Unexpected server errors are logged without returning internal paths to the browser.

This trust fence is not a user-account authentication system. If the Harness Web GUI is exposed to other users or the public Internet, protect the whole deployment with an authenticated reverse proxy and configure Harness trusted hosts correctly.

Development

Run the checks:

npm test
npm run check

The package is a persistent dual-face Cordis bundle:

  • index.js — Host HTTP routes, storage, quotas, and trust checks.
  • client.js — composer button, pending-file rail, hidden reference codec, and Settings UI.
  • cordis.patch.yml — installable dsh.bundle composition row.
  • test/upload-manager.test.js — Host storage and security regression tests.

See CONTRIBUTING.md for local-link development instructions.

License

MIT