Introduction¶
DeepSeek Harness (DSH) provides extensibility for agent development through its plugin mechanism. In e-commerce or transaction scenarios, agents often need to calculate the final gross profit based on product prices, costs, and coupon information. Manually implementing such calculation logic can be costly to maintain. The dsh-coupon-profit plugin is designed to solve this problem by providing a parameter-based, precise calculation solution.
Plugin Overview¶
This plugin is maintained by uckkk and belongs to the online tool category. It is a pure Node implementation and does not depend on a network environment. Its core function is to calculate gross profit after coupons, supporting precise calculations based on parameters and returning detailed results.
Installation and Enablement¶
Install the plugin using the official command:
dsh plugin add github:uckkk/dsh-coupon-profit
After installation is complete, the plugin registers the corresponding tool in the session, so developers can call it directly.
Typical Usage¶
In the session, call the tool registered by the plugin directly to perform calculations. The specific calling method follows the DSH tool interaction protocol.
Applicable Scenarios and Notes¶
This plugin is suitable for e-commerce or transaction agent scenarios that require precise profit calculation. Because the plugin runs with the permissions of the current DSH process, you should review the source code and the license (MIT) before installation.
Conclusion¶
dsh-coupon-profit provides developers with a lightweight profit calculation tool. For more details and the source code, refer to: GitHub.