Introduction¶
Under the plugin architecture of DeepSeek Harness (DSH), extending agent capabilities usually requires writing concrete execution logic. For tasks involving payroll calculation that have high accuracy and compliance requirements, relying directly on model reasoning can be risky. We need a deterministic tool to handle the calculation of “salary deduction limits”.
Plugin Overview¶
dsh-salary-deduction-limit is a DeepSeek Harness plugin used to precisely calculate salary deduction limits according to parameters. It is maintained by uckkk and licensed under the MIT License. It is a pure Node.js implementation that does not depend on network requests and can return detailed calculation results and legal basis.
Core Features¶
The plugin registers a tool: salary_deduction_limit.
The tool performs precise calculation after receiving parameters and returns the calculation result along with related legal basis.
Installation and Dependencies¶
To install the plugin, use the following command:
dsh plugin add github:uckkk/dsh-salary-deduction-limit
Before installation, ensure the environment meets the following dependency requirements:
- @deepseek-ai/cordis: ^4.0.1
- @deepseek-ai/dsh-tools: >=0.1.0-rc.6
Usage¶
After installation, no additional configuration is required. In a DSH session, directly call the tool salary_deduction_limit registered by the plugin.
Notes¶
- This plugin runs with the permissions of the current DSH process. Please ensure the source code is checked and its security assessed before installation.
- The project author is istone; for actual maintainer information, see the project repository.
Summary¶
dsh-salary-deduction-limit provides precise calculation of salary deduction limits. For developers who need to integrate payroll calculation logic into agents, this is a lightweight, network-free solution.
For more information, visit: Community Catalog or the GitHub repository.