Preface

DeepSeek Harness (DSH) adopts the “everything is a plugin” philosophy. When performing data processing or model inference, obtaining the median of a set of values is a common requirement. The dsh-median plugin provides native support for this use case.

Plugin Introduction

dsh-median is a DSH plugin that calculates the median, and it is maintained by uckkk. It provides computation capabilities implemented in pure Node.js, with no dependency on network requests.

Core Features

  • Pure Node implementation
  • No network dependencies

Installation and Enablement

The installation command is as follows:

dsh plugin add github:uckkk/dsh-median

After installation, the tool is registered in the session and can be called directly.

Typical Usage

After installation, call the tool registered by the plugin in the session.

Use Cases and Notes

It is suitable for scenarios that require local median calculation for data. The plugin runs with the permissions of the current DSH process; before installation, it is recommended to review the source code and license (MIT).

Conclusion

The plugin provides median calculation through local computation. For more details, refer to the catalog page or the GitHub repository.