πŸš€ DSH Plugins

August 17, 2026 Β· View on GitHub

πŸš€ DSH Plugins

Utility plugins for DeepSeek Harness Web GUI β€” In-chat File Preview + Dual-Model Vision

License: MIT Platform Plugins Version DSH

δΈ­ζ–‡η‰ˆθ―΄ζ˜Ž β†’ README.md


πŸ“¦ Plugins Overview

PluginFeatureDescription
πŸ“„ dsh-file-previewIn-chat File PreviewRight-click file paths in chat to preview contents directly in the side panel β€” no more jumping to external apps
πŸ–ΌοΈ dsh-image-analyzerDual-Model VisionPair 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_image tool
  • βœ… 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

OptionDefaultDescription
baseURLhttps://apihub.agnes-ai.com/v1Vision model API endpoint (OpenAI-compatible)
modelagnes-2.5-flashVision model ID
apiKeyEnvAGNES_API_KEYEnv/credential name of the API key
maxBytes10485760Max 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