Preface

The DeepSeek Harness (DSH) ecosystem emphasizes extending capabilities through plugins. In vertical scenarios, developers often need dedicated tools for specific business logic. dsh-hanfu-size focuses on solving the need for hanfu size calculation and styling plan generation. It returns results directly from parameter input, replacing traditional manual comparison.

Plugin Positioning

This is a hanfu size calculation tool designed for the DSH environment. The plugin is maintained by uckkk, and its core logic is implemented in pure Node.js without relying on external network requests. It provides agents with a standardized interface for calculating hanfu styling plans.

Core Features

  • Hanfu size calculation: Calculates sizes based on input parameters.
  • Hanfu styling plans: Returns specific hanfu styling recommendations based on parameters.

Installation and Activation

Installing this plugin requires the official command. After successful installation, the plugin registers the corresponding tool in the session, and developers or agents can call it directly.

dsh plugin add github:uckkk/dsh-hanfu-size

Typical Usage

After installation, the tool registered by this plugin is named hanfu_size. In agent logic, simply pass the required parameters (such as height, weight, etc.) to trigger the tool and obtain the calculation results, returning a specific hanfu styling plan.

Use Cases and Notes

This plugin runs with the permissions of the current DSH process. All calculations are performed locally, with no network dependency. Before use, ensure the environment has the required dependencies installed: @deepseek-ai/cordis (version ^4.0.1) and @deepseek-ai/dsh-tools (version >= 0.1.0-rc.6). It is recommended to review the source code and license before installation.

Conclusion

This plugin adds a vertical-domain calculation capability to the DSH plugin ecosystem. More details and source code can be accessed at: GitHub.