DeepSeek Harness Plugin

NecromanAlbert/dsh-show-media

Stars ★ 2 Category UI Enhancements Added 2026-08-27

Shows a local image or short video in the current conversation card, with click-to-preview.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

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

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

dsh-show-media

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

简体中文 · MIT · Security

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

Tool dsh_show_media · one argument file_path
Images PNG, JPEG, WebP, GIF
Videos MP4, WebM, MOV, M4V, MKV · 64MiB cap
Display original file bytes, not the official attachment downsample
Preview click the image (or the video frame) · Esc / backdrop / × closes
Scope this 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.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.