Introduction¶
In plugin-oriented development for DeepSeek Harness (DSH), handling physical quantities or unit conversions is a common requirement. The dsh-kwh2mj plugin aims to provide a lightweight solution for converting kilowatt-hours (kWh) to megajoules (MJ) locally, avoiding hard-coded conversion coefficients in the code.
What Is This¶
This is a DSH plugin maintained by uckkk, whose core function is to convert kilowatt-hours (kWh) into megajoules (MJ). It is implemented in pure Node.js and does not require network requests at runtime, making it suitable for scenarios with data privacy or offline requirements.
Core Features¶
- Pure Node implementation
- No network dependency
Installation and Enabling¶
Install it using DSH’s plugin manager:
dsh plugin add github:uckkk/dsh-kwh2mj
Applicable Scenarios and Notes¶
The plugin runs with the current DSH process’s permissions. Before installation, it is recommended to review the source code and license (MIT). Because the project depends on @deepseek-ai/cordis and @deepseek-ai/dsh-tools, please ensure that the runtime environment satisfies the corresponding version requirements.
Short Conclusion¶
This plugin provides basic energy unit conversion capabilities for agent development, while processing everything completely locally and incurring no additional network overhead.
- Plugin directory: https://www.skillhub.cn/plugins/uckkk/dsh-kwh2mj
- Source repository: https://github.com/uckkk/dsh-kwh2mj