Preface

The core design philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” In agent development or session data processing workflows, it is often necessary to copy objects to avoid reference contamination. The following section introduces a plugin that provides deep clone capabilities directly in the DSH environment.

What is dsh-deep-clone

dsh-deep-clone is a deep copy utility plugin maintained by uckkk. It aims to solve the need for deep copying data in DSH plugins or sessions without introducing network dependencies.

Core Features

  • Pure Node implementation: No network requests are required, and execution is fast and stable.
  • No network dependencies: The plugin logic runs entirely in the local Node environment.

Installation and Activation

Before installation, ensure the environment meets the dependency requirements:
- @deepseek-ai/cordis version >= ^4.0.1
- @deepseek-ai/dsh-tools version >= 0.1.0-rc.6

Run the following command to install the plugin:

dsh plugin add github:uckkk/dsh-deep-clone

After installation, the tools registered by the plugin can be invoked in a session.

Typical Usage

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

Notes

  • This plugin runs with the permissions of the current DSH process.
  • Ensure that the required peerDependencies versions are installed.
  • The license is MIT and it can be used freely.

Resources