π DSH Plugins
August 17, 2026 Β· View on GitHub
π DSH Plugins
Utility plugins for DeepSeek Harness Web GUI β In-chat File Preview + Dual-Model Vision
δΈζηθ―΄ζ β README.md
π¦ Plugins Overview
| Plugin | Feature | Description |
|---|---|---|
| π dsh-file-preview | In-chat File Preview | Right-click file paths in chat to preview contents directly in the side panel β no more jumping to external apps |
| πΌοΈ dsh-image-analyzer | Dual-Model Vision | Pair a text-only main model (e.g. DeepSeek) with a vision-capable LLM so images can be understood |
β¨ Features
π dsh-file-preview
- β Right-click any file path reference in chat β choose "Preview in right panel"
- β Supports: text files (syntax highlighted) / images / PDF
- β Keeps the original tool-details panel intact
- β Resizable preview panel
πΌοΈ dsh-image-analyzer
- β
When the main model can't see images, it calls the
analyze_imagetool - β
The tool sends the image to a vision-capable model (default
agnes-2.5-flash, OpenAI-compatible) - β Returns a text description so the main model can continue the task
- β Works with any OpenAI-compatible vision model: GPT-4o / Qwen-VL / GLM-4V ...
π Quick Install
Prerequisites
- DeepSeek Harness Web (
dsh web) - Locate your web profile directory (default:
<install-dir>/data/profiles/web)
One-Click Install
Windows (admin PowerShell):
.\install.ps1
Linux / macOS:
chmod +x install.sh && ./install.sh
The script auto-detects the profile directory, copies plugins, creates links, and updates config.
Manual Install (3 steps)
β Copy plugins & create links:
cp -r dsh-file-preview dsh-image-analyzer <PROFILE_DIR>/
ln -s <PROFILE_DIR>/dsh-file-preview <PROFILE_DIR>/../node_modules/dsh-file-preview
ln -s <PROFILE_DIR>/dsh-image-analyzer <PROFILE_DIR>/../node_modules/dsh-image-analyzer
β‘ Register plugins (<PROFILE_DIR>/cordis.patch.yml):
- insert:
- id: dsh-file-preview
name: 'dsh-file-preview'
- id: dsh-image-analyzer
name: 'dsh-image-analyzer'
β’ Register the vision tool (~/.dsh/.agent-presets/<your-preset>/agent.cordis.yml):
- id: image-analyzer
name: 'dsh-image-analyzer'
β£ Configure the vision model API key (~/.dsh/settings.yaml, see example)
β€ Restart DSH and create a new session π
βοΈ Configuration
dsh-image-analyzer vision model config
| Option | Default | Description |
|---|---|---|
baseURL | https://apihub.agnes-ai.com/v1 | Vision model API endpoint (OpenAI-compatible) |
model | agnes-2.5-flash | Vision model ID |
apiKeyEnv | AGNES_API_KEY | Env/credential name of the API key |
maxBytes | 10485760 | Max image bytes (10 MB) |
Supported formats: PNG / JPG / JPEG / WebP / GIF
π How It Works
γFile Previewγ
browser client.js ββright-click detectβββΆ fetch('/api/file.read') βββΆ host index.js βββΆ file content
γVision Analysisγ
main model (DeepSeek) ββcalls analyze_imageβββΆ plugin reads image ββbase64βββΆ vision model API βββΆ text description
π License
MIT β free to use, modify, and share
Made with β€οΈ for the DSH community