dsh-image-rescue
DeepSeek Harness Host plugin: when an attached image exceeds the vision limits, admit it as a byte-exact file and hand the model its path instead of rejecting the whole prompt.
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yhm138/dsh-image-rescue配置(全部可选)
| 字段 | 默认 | 含义 |
|---|---|---|
enabled | true | 置为 false 可临时关闭救回,恢复 DSH 原生行为 |
note | 内置中文一句话 | 每条被救回图片后附带的说明文本模板;false 表示不附加任何文本 |
模板占位符:{name} 文件名、{dimensions} 宽×高(头部可读时)、{size} 编码大小、
{limit} 当前单边像素上限。
- id: image-rescue
name: dsh-image-rescue
config:
note: 'Original kept uncompressed at the path above ({dimensions}, {size}).'