DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

dsh-image-to-path

d

dsh-image-to-path

Manifest valid

Let DSH text-only-model conversations accept dragged/pasted images: save them into the session workspace and insert the file path as text, bypassing the webui attachment channel that otherwise rejects image parts.

UI (client)hasBundlePatch

dsh-image-to-path

让 DSH 纯文本模型对话也能拖图/贴图:图片自动保存到会话工作区,以文件路径交给模型。

Let DSH text-only-model conversations accept images: saved to the session workspace and handed to the model as a file path.

English | 中文

DSH Version License

解决什么问题

DSH WebUI 把拖入的图片作为 base64 附件发送,纯文本模型会直接拒绝——无论装没装视觉工具,只要当前对话是纯文本模型,图片就发不出去。本插件接管拖放/粘贴,把图片保存到当前会话工作区,以路径文本插入输入框,模型拿到路径后可交给任何工具(包括视觉工具)处理。

  • 多模态模型不受影响:自动检测当前模型能力,支持图片的模型走原生附件通道,只有纯文本模型才走路径方案;
  • 没有视觉工具也能用:发送的只是路径文本;提示会如实告知当前环境能否看图;
  • 不产生重复拷贝:内容寻址去重,同一张图只落一份;工作区已有的图直接原位引用。

安装

# 本地开发(先 pnpm install 装全 peer 依赖)
dsh plugin --profile web add /path/to/dsh-image-to-path

# 从 GitHub(仓库已提交 lib/,免构建授权)
dsh plugin --profile web add github:cesaryike/dsh-image-to-path

# 或 tarball
pnpm pack && dsh plugin --profile web add ./dsh-image-to-path-0.1.0.tgz

安装后重启 Web Profile 生效。

使用

拖入或粘贴图片即可:图片保存到工作区的 dsh-image-to-path-uploads/ 目录,输入框出现文件名芯片,发送时模型收到完整路径。该目录可随时手动清理,不影响插件。

配置

字段默认说明
subdirdsh-image-to-path-uploads保存子目录
maxImageBytes10485760单图上限(10 MiB)
interceptUnknownModelsfalse未声明能力的模型是否按纯文本拦截(内置适配器均声明,一般无需改动)。注意:即使开启,provider 未注册或能力查询失败时仍按放行处理(fail-open),并在宿主日志记录警告

按行 id image-to-path 在 profile 的 cordis.patch.yml 中覆盖。

工作原理

拖图/贴图 → 当前模型支持图片?→ 是:原生附件通道(体验不变)
                          → 否(纯文本):上传 → 魔数校验 → SHA-256 去重 → 原子写入工作区
                          → 引用芯片插入输入框 → 发送时序列化为路径文本 → 模型/视觉工具

安全

仅接受图片魔数、服务端命名、原子写、10 MiB 上限、同源校验;无任何远程请求。

许可

MIT

贡献者

  • cesaryike:作者——产品定义、功能方向、文档与发布;
  • DeepSeek AI(DSH agent):核心工程实现与修复(见提交历史)。

Comments

Loading…

From the same category

dsh-TUI

by ccch1mneyyy

DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol

Terminal & ClientsManifest valid

★ 7.5k

↓ 22.1k/wk

MIT

TypeScript

Aug 25, 2026

dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tui

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 5k

↓ 146.7k/wk

Apache-2.0

TypeScript

Nov 11, 2026

dsh plugin --profile web add dsh-context

by mmparko

DeepSeek Harness 破甲 (mirror of YuJunZhiXue/dsh-purge) — 上游即将删库,此为本仓库全量镜像:含全部分支/73 个 tag/完整提交历史。原作者署名与二开要求见 README 署名章节。

Terminal & ClientsManifest valid

★ 4k

↓ 7k/wk

MIT

JavaScript

Oct 13, 2026

dsh plugin --profile web add dsh-purge

by strukto-ai

The World's First Virtual Terminal for AI Agents

Terminal & ClientsManifest valid

★ 3.7k

↓ 470/wk

Apache-2.0

TypeScript

Aug 25, 2026

dsh plugin --profile agent add @struktoai/mirage-dsh

by c1overzz

DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你

Tools & CapabilitiesNotifications & IntegrationsTerminal & ClientsManifest valid

★ 1.4k

↓ 16.4k/wk

MIT

JavaScript

Nov 8, 2026

dsh plugin --profile web add dsh-bili-scroll

by Alice-Marx

Model Router and GALGame plugin for DeepSeek Harness

Terminal & ClientsModels & ProvidersManifest valid

★ 959

↓ 1.1k/wk

MIT

JavaScript

Nov 8, 2026

dsh plugin --profile web add @ljwei-stak/dsh-model-router