When developing DeepSeek Harness (DSH) workflows, scenarios requiring basic mathematical logic often arise. Although large models have reasoning capabilities, in specific workflows, directly invoking deterministic tools is often more stable than relying on model reasoning. The dsh-gcd plugin provides such lightweight mathematical calculation capabilities.

Plugin Overview

dsh-gcd is a DSH plugin implemented in pure Node.js, used to calculate the greatest common divisor of two numbers. It does not depend on the network and is integrated into DeepSeek Harness through the Cordis framework. The plugin is licensed under the MIT License.

Core Functionality

  • GCD Calculation: The plugin registers a tool for calculating the greatest common divisor, which can be invoked directly in a session after installation.

Installation and Enablement

Install it using the official command:

dsh plugin add github:uckkk/dsh-gcd

After installation, the plugin registers the corresponding tool in the DSH session and can be used by invoking it directly.

Use Cases and Notes

  • Use Cases: Suitable for scenarios that require precise mathematical value calculation within workflows, especially when pursuing a minimal toolchain or needing deterministic results.
  • Notes:
    • The plugin is implemented in pure Node.js and has no network dependencies.
    • The plugin runs with the permissions of the current DSH process. Be sure to check the source code and license before installation.

dsh-gcd provides minimal mathematical calculation capabilities. For more details, visit the GitHub repository.