Introduction

The plugin-based architecture of DeepSeek Harness (DSH) allows developers to extend agent capabilities on demand. When building agents that involve energy management or device control, precise charging-habit calculation is a common requirement. The dsh-charging-habit plugin provides this feature through local calculation, avoiding reliance on external network interfaces.

Plugin Overview

  • Name: dsh-charging-habit
  • Maintainer: uckkk
  • Core functionality: Charging habit: precise calculation based on parameters, returns clear recommendations.
  • Implementation: Pure Node implementation without network dependencies.

Installation and Enabling

Run the following command in a terminal or configuration environment to install the plugin:

dsh plugin add github:uckkk/dsh-charging-habit

After installation is complete, the plugin registers the corresponding tools in DSH sessions.

Usage

After installation, simply call the tools registered by the plugin in a session. The tools calculate based on the passed parameters and return clear recommendations.

Environment Requirements and Notes

This plugin runs within the context of the current DSH process. Before use, please ensure the environment satisfies the following dependency versions:

{
  "@deepseek-ai/cordis": "^4.0.1",
  "@deepseek-ai/dsh-tools": ">=0.1.0-rc.6"
}

Since the plugin runs with the current permissions, it is recommended to review the source code and license (MIT) before installation to ensure compliance with project security standards.

Conclusion

With a pure Node implementation, this plugin provides agents with local charging-habit calculation capabilities, making it suitable for scenarios where response speed or privacy is important.

Catalog page
GitHub repository