dsh_upload_file
by JarszmLovesAI
DeepSeek Harness(DSH)插件:粘贴文件到作曲家、收件箱存储、缩略图。文本通过read_inbox读取;图像理解需要您的视觉技能(包含图像阅读器+ARK_API_KEY)。
DeepSeek Harness(DSH) web plugin: paste files into the composer, inbox storage, thumbnails. Text via read_inbox; image understanding needs your vision skill (bundled image-reader + ARK_API_KEY).
安装
dsh plugin --profile web add github:JarszmLovesAI/dsh_upload_fileGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
DeepSeek Harness Web 插件:在对话框粘贴/选择文件,落盘到 inbox/,待发送与发送后显示缩略图。Agent 用 list_inbox / read_inbox 读文本;图片理解需自备视觉 skill 或模型(见下方)。

环境要求
- DeepSeek Harness + web profile
- Node.js ≥ 22、
dshCLI
安装
dsh plugin --profile web add github:JarszmLovesAI/dsh_upload_file
dsh web
卸载:dsh plugin --profile web remove dsh-inbox-paste
使用
- 输入框内 Ctrl+V 粘贴,或点 曲别针 选文件。
- 上方待发送区出现缩略图;点 × 可移除(发送前不落盘)。
- 发送后文件写入
{session.cwd}/inbox/;气泡可显示缩略图(见配置)。 - Agent:
list_inbox→ 文本用read_inbox;图片请调用 image-reader 或你自己的视觉工具。
图片能上传,但模型能「看见」吗?
不能自动。 本插件不走 Harness 原生多模态附件链,主模型默认只收到路径标记。要分析 inbox 里的图片,请:
- 安装仓库附带的 image-reader skill,并在
~/.dsh/.env配置ARK_API_KEY;或 - 使用你已有的视觉 MCP / skill / 多模态模型。
配置
文件:%USERPROFILE%\.dsh\profiles\web\cordis.patch.yml(按你的 profile 名调整)
- id: inbox-paste
config:
uploadMaxBytes: 26214400
inboxDirName: inbox
allowedExtensions: []
customizeUserBubble: true # false = 不自定义发送后气泡,可能显示路径原文
customizeUserBubble |
效果 |
|---|---|
true(默认) |
发送后气泡显示缩略图,隐藏 [inbox:…](path) |
false |
使用 Harness 内置 user 气泡 |
改配置后重启 dsh web 并刷新浏览器。
与 dsh-file-upload 对比
| dsh-inbox-paste | dsh-file-upload | |
|---|---|---|
| 粘贴 | ✅ | ❌ |
| 存储 | {cwd}/inbox/ |
{cwd}/.dsh-uploads/ |
| 内置 PDF 解析 | ❌ | ✅ |
测试
npm test
License
MIT
原始 README: https://github.com/JarszmLovesAI/dsh_upload_file/blob/main/README.zh.md ↗
同类插件
查看全部 →
agent-vision-toolkit
为纯文本模型"看图“设计更好的视觉工具箱和技能,支持多图理解,图片问答,前端UI还原、GUI 自动化等,并可选无缝接入多个主流agent,直接识别粘贴图片| A vision toolkit and skill designed for text-only llms — image Q&A, long-screenshot OCR, frontend UI restoration, and GUI automation, with optional seamless integration for Codex, Claude Code, Pi, Oh My Pi, and OpenCode

api-relay-audit
从 DeepSeek Harness 对 AI API 中转站和 LLM 代理运行本地安全审计,生成 Markdown 报告,覆盖提示词注入、模型替换信号、工具调用改写、错误泄漏、流完整性和按 profile 启用的 Web3 风险。

OpenStory
✨ OpenStory 现已支持 DeepSeek Harness 插件! 现在可以通过 dsh-openstory 将 OpenStory 多智能体推演接入 DeepSeek Harness,让 agent 直接启动模拟、查看角色、下达指令并逐回合推进故事。查看 DSH 插件配置与使用指南。

phi
pi的编码代理 ∞ 提供者、子代理、hashline编辑和权限门

anysearch-dsh
DeepSeek Harness(DSH)的 AnySearch 网络搜索提供方与高级搜索工具。

codex-switch
Codex Switch 是一个 macOS 工具,一键配置 Codex 的自定义 API,同时保留官方 OpenAI 登录。保存后 Codex 的模型选择器里只会出现你选的那个 provider 的模型。也支持 Claude Code 的官方 / 自定义 API 切换。Codex Switch is a lightweight helper for configuring multiple coding-agent API routes. For Codex, it keeps Official OpenAI and a custom API provider configured in parallel, registers the custom model in Codex's mod