Introduction

The DeepSeek Harness (DSH) plugin ecosystem aims to enhance agent capabilities through local extensions. When working with video generation, image layout, or prompt engineering, calculating the aspect ratio is a common technical requirement. The dsh-aspect-ratio plugin focuses on solving this local computation task without relying on any network services.

What It Is

This is a DSH plugin maintained by uckkk, positioned as an aspect ratio calculator. It is implemented purely in Node.js, does not initiate any network requests, and does not depend on third-party external services. After installation, it registers the corresponding tools in the DSH session, allowing users to directly invoke the calculation logic.

Core Features

  • Pure Node.js implementation, with no network connectivity and no external services;
  • Invokes tools in the session.

Installation and Activation

Run the following command to install it:

dsh plugin add github:uckkk/dsh-aspect-ratio

After installation, you need to add "dsh-aspect-ratio" to the dsh.profile.bundles field in the profile’s package.json file to ensure the plugin is loaded correctly.

Typical Usage

After installation, you can use it by directly invoking the tool registered by the plugin in the DSH session.

Applicable Scenarios and Notes

This plugin is suitable for scenarios that require local aspect ratio calculation. Please note that the plugin runs third-party code locally with the permissions of the current DSH process. Before installation, you should carefully review the source code and license (MIT).

Conclusion

dsh-aspect-ratio provides DSH with lightweight aspect ratio calculation capabilities, complementing the local toolchain. For more details and source code, refer to:
- Plugin Directory Page
- GitHub Repository