cesaryike/dsh-image-to-path1

dsh-image-to-path

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.

AI 분석

核心用途是允许纯文本模型通过拖拽或粘贴图片,自动将图片存入工作区并转换为路径文本发送。适合使用不支持多模态的纯文本模型但需要处理图片路径的用户。

패키지
dsh-image-to-path
버전
0.1.1
라이선스
MIT
최근 업데이트
2026. 8. 13.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:cesaryike/dsh-image-to-path

使用

拖入或粘贴图片即可:图片保存到工作区的 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 中覆盖。