NecromanAlbert/dsh-show-media0

dsh-show-media

在当前 DeepSeek Harness 对话卡片内显示本地图片或短视频,支持点击预览。不替代官方的 read_image 模型路径。

AI 分析

核心用途是在对话流中直接渲染和预览本地媒体文件。适合需要直观查看智能体生成或处理的图片、视频结果的用户。

套件
dsh-show-media
版本
0.1.0
授權
MIT
最近更新
2026年8月25日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:NecromanAlbert/dsh-show-media

dsh-show-media

Show a local image or short video in the current DeepSeek Harness conversation card.

简体中文 · MIT · Security

License: MIT dsh.bundle topic: dsh-plugin Node.js 22+

Community plugin for DeepSeek Harness. Not an official DeepSeek AI product.

Conversation markdown still will not render a local file:// or Windows path. Official read_image remains the model-vision path. This plugin is for the human sitting at the card.

Install

From a clone (no build step — lib/ is the source):

dsh plugin --profile desktop add github:NecromanAlbert/dsh-show-media

Or a local checkout:

dsh plugin --profile desktop add /path/to/dsh-show-media

Restart the Desktop GUI after install. Then ask the agent to show a local file.

Listed on awesome-dsh-plugin once the catalog PR merges. npm is optional and not required for listing.

What it does

Tooldsh_show_media · one argument file_path
ImagesPNG, JPEG, WebP, GIF
VideosMP4, WebM, MOV, M4V, MKV · 64MiB cap
Displayoriginal file bytes, not the official attachment downsample
Previewclick the image (or the video frame) · Esc / backdrop / × closes
Scopethis conversation card only · does not occupy shell.overlay

Relative paths resolve against the session workspace.

{ "file_path": "C:\\path\\to\\photo.webp" }

What this is not

  • Not a replacement for read_image.
  • Not a process-wide floating overlay.
  • Not a second gallery. It only customizes the dsh_show_media tool card.

Develop

node --test

Host: lib/index.js (defineTool + /dsh-show-media RPC).
Client: lib/client.js (window.__ModuleLoader__, keyed tool.call.toolview).
Shared: lib/media.js.

License

MIT.