Introduction

DeepSeek Harness (DSH) adopts a plugin-based architecture, allowing developers to extend functionality by mounting plugins. When building applications involving financial calculations or data processing, integrating a plugin directly is more efficient than writing code from scratch. This article introduces a DSH plugin focused on equal-principal mortgage calculations.

Plugin Overview

dsh-mortgage-equal-principal is maintained by developer uckkk and is a pure Node.js mortgage calculation tool. It does not depend on external network requests, and all calculation logic is completed locally. This makes it advantageous in scenarios that require offline operation or have strict restrictions on network calls.

Installation and Activation

Use the following command to add the plugin to the current environment:

dsh plugin add github:uckkk/dsh-mortgage-equal-principal

After installation completes, the plugin registers the corresponding tool in the current DSH session.

How to Use

After installation, you can directly invoke the tool provided by the plugin in the session to perform calculations. The tool performs precise calculations based on the passed parameters and returns detailed calculation results and explanations.

Dependencies and Notes

The plugin depends on specific versions of the DSH core components. Please ensure that the current environment meets the following dependency requirements:

  • @deepseek-ai/cordis: version must be ^4.0.1 or higher.
  • @deepseek-ai/dsh-tools: version must be greater than or equal to 0.1.0-rc.6.

Because the plugin runs with the permissions of the current DSH process, it is recommended to review the source code and license before installation to confirm its security.

Conclusion

This plugin provides a lightweight, network-free equal-principal calculation solution for the DSH ecosystem. For more details and source code, refer to the following links: