Introduction

In the plugin architecture of DeepSeek Harness (DSH), handling specific business rules (such as labor law calculations) requires reliable backend logic support. Asking directly in a conversation often makes it difficult to guarantee result accuracy and the correctness of statutory references. The dsh-sick-leave-pay plugin provides developers with an offline local calculation solution that does not require internet access. Through its registered tool functions, it directly returns calculation results based on statutory references.

Plugin Introduction

The plugin is named dsh-sick-leave-pay and is maintained by istone. Its core value lies in solving the accuracy of sick leave pay calculations. It supports precise calculations based on parameters and includes supporting statutory references.

Dependency Requirements

Before installing this plugin, ensure your DSH environment meets the following dependency versions:
- @deepseek-ai/cordis: version ^4.0.1 is required
- @deepseek-ai/dsh-tools: version >=0.1.0-rc.6 is required

Installation and Enablement

Use DSH’s plugin management command to install it.

dsh plugin add github:uckkk/dsh-sick-leave-pay

After installation, the tools registered by the plugin can be called directly in the current session.

Core Functionality

The plugin provides a tool named sick_leave_pay. By passing parameters to this tool, it can return detailed sick leave pay calculation results along with relevant statutory references.

Typical Usage

After installation and activation in the session, simply call the registered sick_leave_pay tool directly. Since the plugin is implemented in pure Node, all calculation logic is executed locally and no network connection is required.

Notes

  • Pure Node implementation: The plugin does not depend on network requests, ensuring stable operation in offline or restricted network environments.
  • Version compatibility: Ensure that the Cordis and DSH Tools versions in the host environment meet the dependency requirements.