Introduction¶
In agent development, comparing the differences between two images is a common need. In DeepSeek Harness (DSH), you’ve traditionally had to rely on screenshot tools or upload two images into a conversation and describe the differences in text — a fragmented and not very intuitive workflow. The dsh-image-slider plugin integrates “image comparison” directly into DSH via a native sidebar page: two images are overlaid, and you can smoothly erase-compare by moving the pointer or dragging the divider line.
Plugin Overview¶
dsh-image-slider is an image comparison plugin that provides a native left sidebar entry for DeepSeek Harness. Developed by maintainer PaleLand, it does not depend on iframes or standalone applications; instead, it registers directly through DSH’s sidebar and main panel mechanism. Images are read locally only and are never uploaded to any server, making it ideal for developers who need to quickly compare design mockups, front-end/back-end screenshots, or code previews within a conversation.
Core Features¶
- Native left sidebar entry: registered via
sidebar.panellist, seamlessly integrated with the DSH theme, no iframes. - Three loading methods: click the card, drag and drop files, or paste from clipboard (Ctrl/⌘ + V).
- Smooth pointer tracking: follows the pointer or drag, using
requestAnimationFrameeasing for fluid interaction. - Toggleable percentage display: by default only a thin divider line is shown; enable the percentage readout and draggable handle from the toolbar.
- Draggable divider with keyboard control: drag to any position, double-click to reset to 50%; keyboard
←/→moves 2%,Shiftmoves 10%,Home/Endsnaps to the extremes. - Fit/Fill toggle: switch between
containandcovermodes without reloading the images. - Swap and reset: swap layers or restore the default 50% position from the toolbar.
- Theme-aware: uses DSH theme tokens (
--dsw-alias-*) with a neutral checkerboard background. - Remembers last comparison: switch to another conversation and come back — both images and the split position are preserved.
- Local-only operation: images are read as in-memory object URLs via file picker or clipboard, with zero network requests.
Installation & Activation¶
Install from GitHub:
dsh plugin --profile your-profile add github:PaleLand/dsh-image-slider
After installation, restart DeepSeek Harness and click Image Compare in the left sidebar to open the panel.
Typical Workflow¶
- Open the Image Compare panel from the left sidebar.
- Add an image to Image A and another to Image B: click the card, drag a file onto the card, or paste with
Ctrl/⌘ + V. - Move the pointer or drag the divider line to compare. Double-click the canvas to reset the divider to 50%.
- Fine-tune with the keyboard:
←/→steps 2%,Shift + ←/→steps 10%,Home/Endsnaps to the extremes. - Switch Fit / Fill mode in the toolbar, or click Swap or Reset to adjust the display.
Use Cases & Notes¶
Ideal for developers who need to quickly compare design mockups, front-end/back-end screenshots, code previews, or document differences within a conversation.
Note: This plugin relies on the client slot conventions of DSH 0.2.2-rc.3; older versions may not render the sidebar and main panel correctly. All images are processed locally in the browser and are never uploaded to a model or any external service.
Closing¶
dsh-image-slider turns “image comparison” into a lightweight, local, DSH-theme-consistent sidebar tool, eliminating the disconnect caused by taking screenshots and describing differences in text. For full documentation or to submit feedback, visit: