Preface¶
DeepSeek Harness (DSH) follows an “everything is a plugin” architecture, allowing developers to extend Agent capabilities through plugins. When building applications that need to manage context resources or Agent state, localized computation logic is often required. The dsh-energy-plan plugin aims to address this need by providing a set of energy management tools with no network dependencies, implemented in pure Node.js to assist developers or Agents with related calculations.
Core Features¶
This plugin mainly includes the following capabilities:
* Energy management
* Precise calculation based on parameters
* Detailed result output
* Pure Node.js implementation
* No network dependencies
Installation and Enablement¶
Before installing, please make sure your environment meets the dependency requirements. This plugin depends on the following peer dependencies:
* @deepseek-ai/cordis (^4.0.1)
* @deepseek-ai/dsh-tools (>=0.1.0-rc.6)
Run the following command to install it:
dsh plugin add github:uckkk/dsh-energy-plan
After installation is complete, the plugin will take effect in DSH sessions.
Typical Usage¶
After successful installation, you can use the plugin by directly invoking the tool it registers in a DSH session. According to the documentation, its core tool is named energy_plan. The specific calling method depends on your DSH workflow configuration and is usually triggered by mentioning it in a conversation or by issuing a command for that tool.
Use Cases and Notes¶
- Use cases: Suitable for scenarios that require local resource assessment, energy planning, or where network environment constraints exist or external API calls should be avoided.
- Notes:
- The plugin runs with the permissions of the current DSH process. Please ensure the installation source is trustworthy.
- Check the source code logic before use to confirm it behaves as expected.
- The plugin is open-sourced under the MIT license.
References¶
- Plugin directory: https://www.skillhub.cn/plugins/uckkk/dsh-energy-plan
- Source repository: https://github.com/uckkk/dsh-energy-plan