Introduction¶
In the development and debugging workflow of DeepSeek Harness (DSH), the web session is the primary interaction surface. When a tool (such as read_image) returns an image result, the native display can be quite limited, making it difficult to use the full line width for an efficient preview. The dsh-image-settings plugin targets this scenario by providing inline display and parameter adjustment capabilities, aiming to improve the image viewing experience on the web.
Plugin Positioning¶
The plugin is maintained by developer americanjeff and is a client-side component. Its core value lies in rendering the results of read_image directly within the web session and providing real-time parameter adjustment through a visual “Image Settings Card”.
Core Features¶
- Inline Display: In the dsh web session, the returned result of
read_imageis embedded directly in the line rather than shown as text. - Automatic Expansion: The displayed image automatically expands to use the available line width, without manual scrolling.
- Real-Time Adjustment: Through the Image Settings Card, users can modify display parameters while the session is running.
Installation and Activation¶
- Environment Setup: Ensure the runtime environment meets the dependency requirements; Node.js version >= 22 is required.
- Install the Plugin: Run the following command in the command line to install it:
dsh plugin --profile web add dsh-image-settings
- Restart the Service: After the initial installation, the
dsh webprocess must be restarted for the plugin to take effect.
Typical Usage¶
After installing and restarting dsh web, invoke the read_image tool in a DSH Web session. The system will automatically display the image content inline. At this point, an “Image Settings Card” appears in the interface, and users can use it to adjust the display parameters.
Use Cases and Notes¶
This plugin is suitable for development scenarios where image data needs to be viewed and analyzed frequently on the web. The plugin runs with the permissions of the current DSH process. Before installing, it is recommended to check the source code and license (MIT). Additionally, remember to restart the service after installation.
Ecosystem Context¶
DSH adopts a plugin-based architecture, and dsh-image-settings is an independent component used to enhance the web client functionality. Its catalog and GitHub repository are as follows:
* Catalog link: https://www.skillhub.cn/plugins/americanjeff/dsh-image-settings
* Code repository: https://github.com/americanjeff/dsh-image-settings