Introduction

The core philosophy of DeepSeek Harness (DSH) is “Everything is a plugin.” When building agents with DSH, you often need to integrate specific business logic, such as calculating commissions for food delivery platforms. If you rely on external APIs, it can increase network overhead and may be unstable. The dsh-platform-fee plugin provides a local commission calculation solution.

Plugin Overview

This is a tool plugin maintained by uckkk, whose core function is calculating commissions for food delivery platforms.

The plugin calculates food delivery platform commissions precisely based on the provided parameters and returns detailed results. It is implemented in pure Node.js and does not rely on network requests.

Core Features

  • Precise Calculation: Calculates food delivery platform commissions precisely based on the provided parameters.
  • Detailed Results: Returns detailed calculation results.
  • Local Execution: Implemented in pure Node.js, with no network dependency.

Installation and Activation

To install the plugin, run the following command in the DSH environment:

dsh plugin add github:uckkk/dsh-platform-fee

After installation, the plugin registers the corresponding tools in the session, and developers can call them directly.

Typical Usage

After installation, you can call the tools registered by the plugin in the session.

Applicable Scenarios and Notes

This plugin is suitable for scenarios that require handling food delivery commission logic locally, without waiting for external network responses.

Note: The plugin runs with the permissions of the current DSH process. Before installation, it is recommended to inspect the source code and license. This plugin follows the MIT license.

Summary

dsh-platform-fee provides a lightweight commission calculation solution. By using a pure Node.js implementation, it avoids network dependency and is suitable for scenarios with strict requirements for calculation logic. More details can be found in the Plugin Directory or the Source Repository.