Back to marketplace

dsh-visual-plugin

Multimodal

jyh20030112/dsh-visual-plugin

Forwards user images to any OpenAI-compatible vision model and displays results in a Web UI right panel, enabling text-only models to analyze images and videos with automatic description and intent-aware prompts.

  • deepseek
  • deepseek-harness
  • dsh-plugin
  • image-description
  • llm
  • multimodal
  • openai-compatible
  • typescript
  • vision
GitHub Stars
16GitHub
Views
7DSH Plugin Hub
Forks
2GitHub
Open issues
0GitHub Issues
Manifest version
0.3.0-beta.0dsh-visual-plugin
Latest push
Oct 7, 2026GitHub
License
MITTypeScript
Plugin type
Host + ClientRuns in both Host and Web Client

Verification and compatibility

This section shows evidence collected by the catalog. Undeclared information is labeled as unknown.

Static checked
01Exact source: github · dsh-visual-plugin@0.3.0-beta.002Validated: Aug 23, 202603Verified Harness: 0.1.0-rc.7
Current-version compatibility
Verified on the catalog Harness version
Declared Harness range
Not declared
Declared platforms
Not declared
Profiles
web
Build approval
Unknown
Permissions
Not declared
External services
Not declared
Telemetry
Unknown
No known risk flags found

This is not a security endorsement. Review source, permissions, and configuration before installing.

View evidence and scope

Verification covers only the named source, version, and Harness environment. It does not guarantee future compatibility.

  • github:jyh20030112/dsh-visual-plugin#87aafef73b0cc5b591d0628bb5ae1049dcf16639
  • The manifest and static structure passed checks; a runtime load check has not completed.

README

View source

dsh-visual-plugin

A plugin for DeepSeek Harness.

Video preprocessing and plugin-owned media storage stay on the machine running DSH. Images and extracted keyframes are sent through DSH to your selected model; whether inference runs locally depends on your DSH model configuration.

Features

  • Native image understanding — uploaded images stay on DSH's native attachment and model path; the plugin does not configure or call a separate vision model.
  • Copyable image history — the right panel records the current DSH model's final answer beside each image thumbnail, with expandable history and one-click copy.
  • Plugin-owned video upload — accepts MP4, M4V, MOV, AVI, MPG/MPEG, MKV, and WebM only when extension, signature, and FFprobe agree.
  • Scene-aware video analysis — normalizes to H.264/yuv420p MP4, extracts keyframes with PySceneDetect, and sends ordered timestamped images to the current DSH vision model.
  • Right-side panel — switch between image/video views, play normalized videos directly, and stage a selected video in the chat draft.
  • Advanced video settings — tune upload size, storage quota, duration, output size, FPS, CRF, and keyframe count from the plugin settings card.

How it works

image → DSH native attachment → current image-capable model → final answer
  → /vision-bridge/recent → panel thumbnail + copyable description

video → container validation → H.264/yuv420p normalization → PySceneDetect
  → timestamped keyframes → DSH native image attachments → current model answers

The plugin never rewrites model messages or calls a private vision endpoint. Select an image-capable model in DSH before sending images or asking about a video.

Quick start

Plugin 0.4.x targets DSH 0.2.0-rc.2; keep plugin 0.3.2 for DSH 0.1.x. No exact-version risk exemption is needed.

1. Install host dependencies

Image features work without these tools. Video support requires FFmpeg/FFprobe >= 6.1 from the same major release, an FFmpeg build with libx264, and PySceneDetect >= 0.7.1 < 0.8.

Install the tools on the machine and under the user account that runs dsh web. The commands ffmpeg, ffprobe, and scenedetect must be available on that process's PATH, from any directory. If DSH runs in Docker, WSL, or on a remote server, install the dependencies inside that environment.

macOS (Homebrew)

Install Homebrew first if needed, and follow its post-install instructions to add brew to your PATH. Then install FFmpeg, which includes FFprobe, and uv:

brew install ffmpeg uv

Arch Linux (pacman)

Install the official FFmpeg and uv packages:

sudo pacman -Syu ffmpeg uv

Windows (PowerShell, WinGet)

Open PowerShell and confirm WinGet is available with winget --version. If it is missing, install or update App Installer using the instructions in that link. On Windows x64, install FFmpeg (including FFprobe) and uv:

winget install --id Gyan.FFmpeg --exact
winget install --id astral-sh.uv --exact

Close and reopen PowerShell before continuing so the new PATH takes effect. If WinGet is unavailable, use a Windows build linked from the FFmpeg download page, extract it to a permanent directory such as C:\Tools\ffmpeg, and add the directory containing ffmpeg.exe and ffprobe.exe (usually bin) to your user Path in Environment Variables. Install uv using its official Windows instructions.

Install PySceneDetect with uv (all three systems)

Run the following in your terminal or PowerShell:

uv tool install --python 3.12 "scenedetect>=0.7.1,<0.8"
uv tool update-shell

This installs PySceneDetect as a persistent command in an isolated environment for the current user. uv downloads Python 3.12 if needed; the standard scenedetect package includes its OpenCV dependencies. You do not need to activate a virtual environment before starting DSH. See the uv tool guide and PySceneDetect installation guide.

2. Verify dependencies

Close and reopen your terminal after uv tool update-shell. In the same environment you will use to start DSH, run:

ffmpeg -version
ffprobe -version
ffmpeg -hide_banner -encoders
scenedetect version

Confirm FFmpeg and FFprobe are both >= 6.1 and have the same major version, the encoder list includes libx264, and PySceneDetect is >= 0.7.1 < 0.8.

If a command is missing, locate it with command -v ffmpeg ffprobe scenedetect on macOS/Arch, or Get-Command ffmpeg, ffprobe, scenedetect in PowerShell. For PySceneDetect, uv tool dir --bin shows the directory that must be on PATH. Services and containers must also receive this PATH; restart the DSH process after changing it.

The plugin never downloads these tools or runs installers. The settings card reports video dependency issues while image features remain available.

3. Install the plugin

dsh plugin --profile web add dsh-visual-plugin   # or: github:jyh20030112/dsh-visual-plugin

When developing this checkout against a local DeepSeek Harness source tree, install the local package instead:

cd /absolute/path/to/dsh-visual-plugin
npm run bootstrap
dsh plugin --profile web add link:/absolute/path/to/dsh-visual-plugin

bootstrap requires an installed, built dsh-v0.2.0-rc.2 Harness checkout and automatically finds a sibling or ancestor-adjacent checkout. For another layout, set its location explicitly:

HARNESS=/absolute/path/to/deepseek-harness npm run bootstrap

4. Restart and use

Restart dsh web from the environment where the dependency checks passed, then:

  1. Open Settings → Plugins, then the dsh-visual-plugin detail page and its Visual Media configuration. Use Sidebar to show or hide the right panel and adjust advanced video settings. Changes apply immediately, persist in the current profile across restarts, and recover valid archived video preferences without overwriting new settings during upgrades.

  2. Select an image-capable model in DSH; there is no separate vision-model configuration in this plugin.

  3. Send an image. The current model answers natively, and the image panel records the thumbnail and final answer for copying.

  4. Upload a video from Upload video beside the composer. Once processing finishes, select Videos in the right panel to play it; Ask in chat stages a draft and never submits automatically.

Vision model

Image and keyframe understanding use the image-capable model currently selected in DSH. Model providers, endpoints, and credentials are managed by DSH rather than this plugin.

Uninstall

dsh plugin --profile web remove dsh-visual-plugin

Restart dsh web. The command forwards to pnpm remove inside the profile, and the bundle layer list reconciles to drop the plugin automatically.

Project layout

src/
  index.ts      native image history, video_describe tool, settings, and HTTP routes
  config.ts     advanced video-processing settings and runtime policy
  video/        upload, container probing, transcoding, scene detection, keyframes, and HTTP Range playback
  client/       image/video panel, upload controls, advanced settings, locales, and CSS
cordis.patch.yml  bundle patch layer

Build

npm run bootstrap && npm run typecheck && npm run build   # needs a local harness checkout

Prebuilt lib/ is committed, so consumers never build.

CI/CD

ci.yml verifies artifacts and the pack contents on every push/PR. release.yml (tag v*) checks the version, packs, creates a GitHub Release, and publishes to npm.

Resources

Friendly Links

Thanks

  • HsiangNianian — for their help and insights during development.
  • tingfeng347 — for the build-stability and local-harness-setup fixes.
  • dsh-auto-continue — a DSH Web UI plugin that auto-resumes interrupted requests with 「继续」 (error classification, adaptive backoff, browser notifications); a handy companion.

License

MIT

Comments

0
Newest first