dsh-image-compare: A Sidebar Multi-Image Comparison Tool

During the development or debugging of DeepSeek Harness (DSH), it is often necessary to view multiple images simultaneously for comparison, such as “before vs. after” screenshots or a set of design proposals. Relying on the model to read images consumes visual quota and fails to meet the need for visual comparison by the human eye. dsh-image-compare is a client-side plugin that provides a side-by-side multi-image viewing feature directly in the sidebar, allowing for visual comparison without entering the model context.

Installation and Activation

  1. Open the Web interface and click “Plugins” in the left sidebar.
  2. Click “Add Plugin” and paste one of the following source addresses:
    • github:ChordXD/dsh-image-compare
  3. Ensure the plugin status is set to “Enabled”.
  4. Restart DeepSeek Harness.

The command-line installation method is as follows:

dsh plugin --profile web add github:ChordXD/dsh-image-compare

Core Features

  • Multi-image Layout: Supports displaying 1, 2, 3, 4, or 6 images simultaneously on a single page.
  • Group Synchronization: Zoom and position of the currently selected image can be synchronized to the entire group, facilitating detail alignment.
  • Independent Zoom & Pan: Supports independent zooming (0.1x–8x) for each image and panning the image area via middle-mouse drag.
  • Order Adjustment: The display order of images can be adjusted by dragging the thumbnail bar at the bottom.
  • Pagination & Navigation: Supports up/down or left/right paging, quick jumping via the thumbnail bar, and direct browsing within the workspace panel.

Common Operations

  • Select and Open: Open the right-hand startup page, select “Image Viewer”, check multiple images, and click “Open” to view them side-by-side.
  • Zoom & Pan:
    • Ctrl/Cmd + Scroll Wheel: Zoom the current image.
    • Shift + Middle-mouse Drag: Pan the entire group simultaneously.
    • Middle-mouse Drag (without Shift): Pan the current image area.
  • Layout & Pagination:
    • V Key: Toggle vertical/horizontal layout.
    • 2–6 Keys: Adjust the number of images displayed per page.
    • Ctrl/Cmd + Scroll Wheel (without Shift): Navigate pages.

Applicable Scenarios and Notes

  • Applicable Scenarios: Suitable for developers or users who need to visually compare multiple images directly within the DSH interface without downloading additional tools or switching applications.
  • Notes:
    • Environment Requirement: DeepSeek Harness 0.2.0-rc.2 or higher.
    • Resource Consumption: Images are for display only and do not enter the model context, thus consuming no visual quota.
    • Dependency Management: No dependencies need to be installed.
    • Build Issues: If you encounter an allowBuilds prompt, you need to add the relevant key to the profile’s pnpm-workspace.yaml.

This plugin is maintained by ChordXD and is released under the MIT License. For more details, visit the Plugin Directory or the GitHub Repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye