In the development of DeepSeek Harness (DSH), handling data cleaning is a common requirement. When a workflow needs to process list data, deduplication is a basic operation. Relying on network requests or complex libraries can increase latency. The following introduces the dsh-unique plugin, a pure Node.js tool used to perform array deduplication locally.

Plugin Positioning

dsh-unique is a DSH workflow plugin maintained by uckkk. It focuses on solving array deduplication issues and is implemented in pure Node.js, with no network dependencies and high execution efficiency.

Core Features

  • Array deduplication
  • Pure Node.js implementation, no network dependencies

Installation and Enabling

Run the following command in the terminal to install it:

dsh plugin add github:uckkk/dsh-unique

Typical Usage

After installation, directly invoke the tool registered by the plugin in the session.

Use Cases and Considerations

The plugin runs with the permissions of the current DSH process. Dependencies include:

  • @deepseek-ai/cordis ^4.0.1
  • @deepseek-ai/dsh-tools >=0.1.0-rc.6

Since it involves code execution, it is recommended to review the source code and license before installation.

Summary

dsh-unique provides basic data cleaning capabilities. For more details, refer to the directory page or the GitHub repository.