← 返回列表
D

@fzhiyu/dsh-image-view

v0.1.1 · 1 天前发布

Show the image a read_image call returned, inline in the tool row it belongs to

deepseek-harnessdsh-pluginread-image

README

DeepSeek Harness · Image View

![npm](https://www.npmjs.com/package/@fzhiyu/dsh-image-view)
![license](./LICENSE)

When the agent reads an image, show the image.

read_image already returns the picture — the tool commits the bytes through
the attachment service and hands the model an image block. The web UI just had
nowhere to draw it, so the call rendered as a grey line naming a path, and the
one thing you wanted to see was the one thing that was missing.

This plugin gives that call its own row.

What changes


before read_image · /tmp/sp-sing.png
after View image · /tmp/sp-sing.png
[ the image, right there ]

The thumbnail fits a 240px long edge, and

查看完整 README →

版本兼容矩阵

DSH 版本状态说明
dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
dsh@0.1.0 ✅ 兼容 标准 patch ✅
dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
dsh@0.3.0+ ❓ 未知 尚未发布

💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

元数据

License
MIT
npm
@fzhiyu/dsh-image-view
Repo
git+https://github.com/Fzhiyu1/dsh-image-view.git
Engines
{"node":">=24"}
Weekly DL
0
Monthly DL
0
dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-conversation","@deepseek-ai/dsh-client-ui-tool"],"platform":"web"}}