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.

Files Native — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
F

dsh-files-native

Files Native

DSH plugin: near-native attachment uploads—drag, paste, or use the paperclip; image thumbnails and file cards appear together in the official attachment bar

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

npx -y @deepseek-ai/dsh plugin --profile web add github:meyaomiao/dsh-files-native#3f12179d7eaf2d65c322edd4746023320dd6846e
READMECompatibilityVersions
空输入框待发混排拖入遮罩发送后

Compatibility and provenance

Files Native is published as dsh-files-native and currently resolves to version 0.2.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/20/2026

Versions

0.2.1stable
9/11/2026
0.2.0stable
9/6/2026
0.1.3stable
9/5/2026
Show 3 more versionsCollapse versions
0.1.2stable
9/4/2026
0.1.1stable
9/2/2026
0.1.0stable
8/30/2026

Related plugins

Loading related plugins…

Latest
0.2.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 3
Weekly downloads
182
Last push
9/14/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 productivity-workflow.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.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 包。Deepseek Ipptdeepseek-ipptiPolloWork PPT Studio and its curated slide templates as a native DeepSeek Harness conversation view.

README

dsh-files-native

给 DeepSeek Harness 接近原生质感的附件上传:拖入 / 粘贴 / 回形针,图片缩略图与文件卡混排在官方输入框同一条轨。

⭐ 欢迎点星收藏

如果附件轨帮到了你,欢迎到 GitHub 仓库 点个 Star ⭐,让更多 DSH 用户看到它。问题与建议请提 Issue。

📋 兼容性

插件版本状态对应 DSH
0.2.x(当前主线,含 0.2.1)✅0.1.5-rc.1 / 0.1.5-rc.2(及之后的 0.1.5 线)
0.1.x🔧 维护态(仅修 bug)DSH ≤ 0.1.2-rc.1(仍兼容 0.1.1-rc.2 / 0.1.2-alpha.4)

本次升级功能变化

  • 官方已有的交给官方:回复尾的「产物」卡不再由本插件绘制,改用 DSH 官方交付文件卡(0.1.5-rc.2 起排版/图标更紧)。用户气泡旁的附件卡仍由本插件画。
  • 粘贴让路:纯官方四类图(PNG / JPEG / WebP / GIF)交给官方草稿图;其它文件仍走本插件轨。
  • 不依赖 better-sidebar:模块 inject 只有 slots。有侧栏则气泡卡走预览,没有则新页签打开。
  • 不要和 dsh-file-fix / dsh-file-upload / dsh-paste-to-path 叠装。

运行时插件 id 仍是 file-native(上传路由 /plugins/file-native/*)。npm / GitHub 仓库名是 dsh-files-native。

  • 图片(PNG / JPEG / WebP / GIF)走官方草稿图栏(64px 缩略图,点击灯箱),发送后进模型视觉上下文。
  • 其它文件落到会话工作区 .dsh-uploads/,同一条轨上用 64px 高可读横条卡(扩展名角标 + 文件名 + 大小)。
  • 附件只跟随「立即发送」的消息:忙碌时回车 = 纯文字排队,文件留在附件轨等下次空闲发送。
  • 气泡附件卡:消息发出后,文件卡渲染在用户气泡上方(与图片同列右对齐),注入提示行自动隐藏。
  • 点击打开:点气泡附件卡——装了 better-sidebar 走侧栏预览;未装则新页签打开(文本/图片/PDF 页签内展示,二进制自动下载)。
  • 发送后文件卡贴在用户气泡栈(与官方图同一列),作业回复不会插在提问和文件中间。
  • 发送成功即清输入框待发轨。回复尾产物卡让给官方。

不要和 dsh-file-fix / dsh-file-upload / dsh-paste-to-path 叠装。

截图

空输入框(回形针在左,无额外上边距)待发:图 + 已上传 / 上传中 / 超限
空输入框待发混排
拖入窗口任意位置发送后:图与文件卡跟用户气泡(产物走官方卡)
拖入遮罩发送后

本地预览页(可切状态):打开仓库里的 preview.html。市场截图清单见 screenshots.json。

入口

操作行为
拖进窗口任意位置全屏「松开以添加文件」;松手即分流,不必对准卡片
Ctrl+V 粘贴文件同上分流;纯文本粘贴不受影响
输入框回形针multiple 文件选择,不限格式
Esc取消本次拖入

安装

# 方式〇: npm(推荐)
npm i -g dsh-files-native
dsh plugin --profile web add dsh-files-native

# 方式一: GitHub
dsh plugin --profile web add github:meyaomiao/dsh-files-native

# 方式二: 克隆后本地挂载
git clone https://github.com/meyaomiao/dsh-files-native.git
cd dsh-files-native
pnpm install && pnpm build
dsh plugin --profile web add .

然后彻底重启 dsh web,浏览器硬刷新。宿主入口的 inject 必须含 webServer 与 sessions(漏了 DSH 会起不来,见 插件开发门禁)。

当前实现

半区入口Cordis inject职责
hostsrc/index.tswebServer, sessionsloopback 上传/删除;文件落到会话 cwd .dsh-uploads/;agent/pre-step 注入路径清单
clientsrc/client.tsslots整窗拖入/粘贴拦截;回形针;输入框混排轨;对话区文件卡

关键约束:

  • 禁止在渲染路径调用 useSession / useInput。会话 id 只读 InputZone 快照 session.id。
  • 禁止对聊天时间线挂 MutationObserver。卡片一次性 portal 进相邻用户气泡栈。
  • 空输入框时 [data-file-native-host]:empty 隐藏,避免 composer gap 多出一截上边距。有文件时轨 padding 对齐官方图栏 4px 12px 0。

限制

  • 单文件 50 MB,单批 20 个。
  • 上传路由仅 loopback。
  • 刷新会丢掉「已上传未发送」的文件卡(磁盘文件仍在 .dsh-uploads/)。

改仓库前先读 CONTRIBUTING.md(Issue → 分支 → Draft PR)。思考原则见 AI-ISSUE-WORKFLOW.md。插件硬约束见 AGENTS.md。