Crosery/dsh-viewer2

@crosery/dsh-viewer

通过 display_file 工具在 DSH Web 界面中内联渲染图片、视频、音频、PDF 及 Office 文档。

AI 分析

核心用途是让用户和智能体能直接在聊天流中预览多种格式的文件。适合需要频繁处理多媒体和文档的 DSH 用户。预览 Office 文档需系统安装 LibreOffice。

包名
@crosery/dsh-viewer
版本
0.1.0
许可证
MIT
最近更新
2026年8月31日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Crosery/dsh-viewer

Configuration

Settings namespace crosery-viewer. Every default is the behaviour the plugin exists to provide; each flag gives one piece back.

FieldDefaultTurning it off
tooltruedisplay_file is not registered at all
redirectReadtrueread may decode a raster into replacement characters again
feedModeltrueimages are shown only, never added to model context
supersedeReadImagetruethe shipped read_image becomes visible to the model again

Edit $DSH_HOME/settings.yaml — hot-reloaded, no restart.