Introduction¶
DeepSeek Harness (DSH) aims to extend agent capabilities through a plugin-based architecture, allowing developers to integrate tools for specific scenarios. In model inference or data processing workflows, basic mathematical operations are sometimes required. dsh-trapezoid is a lightweight calculation plugin provided for such needs.
Plugin Overview¶
The plugin is maintained by the developer uckkk and is positioned as a model inference tool. It is implemented in pure Node.js, with its core feature being the calculation of the area of a trapezoid. It is integrated into the DSH environment by registering a tool.
Core Features¶
- Calculation tool: The plugin registers a tool for calculating the area of a trapezoid, which can be called directly in a session.
- No network dependency: As a pure Node implementation, the tool does not require internet access to run and is suitable for offline or network-restricted environments.
Installation and Activation¶
Run the following command to install the plugin:
dsh plugin add github:uckkk/dsh-trapezoid
How to Use¶
After a successful installation, no additional configuration is required. You can invoke the tool registered by the plugin directly in a DSH session.
Notes¶
- Dependency versions: The plugin depends on
@deepseek-ai/cordis^4.0.1 and@deepseek-ai/dsh-tools>=0.1.0-rc.6. Please ensure your current environment satisfies the dependency requirements. - Runtime permissions: The plugin runs with the permissions of the current DSH process. It is recommended to review the source code and license before installation.
- License: MIT licensed.
Summary¶
dsh-trapezoid provides basic geometric calculation capabilities. For more details, refer to the plugin directory or source repository: https://github.com/uckkk/dsh-trapezoid.