In the DeepSeek Harness (DSH) plugin ecosystem, rule-based calculations for specific business scenarios are usually implemented through independent tool functions. When work-injury disability allowance calculations need to be handled within a conversation, dsh-work-injury-allowance provides a local-rule-based solution, avoiding external services or complex network requests.
What This Is¶
- Name: dsh-work-injury-allowance
- Core Value: Work-injury disability allowance
- Maintainer: uckkk
- License: MIT
Core Features¶
The plugin provides work-injury disability allowance calculation capabilities by registering a tool function. Specific features are as follows:
- Accurate Calculation: Provides the
work_injury_allowancetool, which accurately calculates the allowance amount according to the rules based on the input parameters. - Results and Basis: The calculation process returns detailed results, accompanied by the statutory basis.
- Local Execution: Pure Node.js implementation, with no network dependencies.
Installation and Activation¶
Run the following command in the terminal to install the plugin:
dsh plugin add github:uckkk/dsh-work-injury-allowance
After installation, the plugin will register the corresponding tools in the session.
Typical Usage¶
After installation, you can use the tools registered by this plugin directly in a DSH conversation session.
Technical Details and Dependencies¶
- Dependency Environment:
@deepseek-ai/cordis(^4.0.1)@deepseek-ai/dsh-tools(>=0.1.0-rc.6)
- Implementation: Pure Node.js implementation.
Applicable Scenarios and Notes¶
This plugin is suitable for DSH users who need to integrate precise legal or financial calculations into conversation flows. Before using it, ensure that the environment meets the above dependency version requirements. Because the plugin runs with the permissions of the current DSH process, it is recommended to check the source code and license before use.
Short Conclusion¶
dsh-work-injury-allowance provides a lightweight local calculation module for the DSH plugin system. For more details, refer to the plugin directory or the GitHub repository.