@crosery/dsh-viewer
通过 display_file 工具在 DSH Web 界面中内联渲染图片、视频、音频、PDF 及 Office 文档。
AI 分析
核心用途是让用户和智能体能直接在聊天流中预览多种格式的文件。适合需要频繁处理多媒体和文档的 DSH 用户。预览 Office 文档需系统安装 LibreOffice。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Crosery/dsh-viewer说明文档
阅读完整 README ↗Configuration
Settings namespace crosery-viewer. Every default is the behaviour the plugin exists to provide; each flag gives one piece back.
| Field | Default | Turning it off |
|---|---|---|
tool | true | display_file is not registered at all |
redirectRead | true | read may decode a raster into replacement characters again |
feedModel | true | images are shown only, never added to model context |
supersedeReadImage | true | the shipped read_image becomes visible to the model again |
Edit $DSH_HOME/settings.yaml — hot-reloaded, no restart.