In DeepSeek Harness (DSH) usage scenarios, pre-processing data returned by models is often required. If you need to sort array elements locally without relying on external APIs or complex prompt engineering, the dsh-sort plugin provides a direct solution.
dsh-sort is a model inference plugin maintained by uckkk. It is a pure Node.js implementation, relies on no network requests, and mainly solves the problem of sorting input arrays.
Core Features¶
- Array sorting
Installation and Activation¶
Install the plugin with the following command:
dsh plugin add github:uckkk/dsh-sort
After installation, you can invoke the tool registered by the plugin in a session. The plugin will sort the passed array according to its registered logic.
Notes¶
When using this plugin, note that it runs with the permissions of the current dsh process. Because it is a pure Node.js implementation and has no network dependencies, it offers relatively high security. Before installation, it is recommended to review the source code and license (MIT). For more details, see GitHub or the DSH Plugin Directory.