DeepSeek Harness (DSH) uses a plugin-based architecture, allowing developers to extend functionality by adding plugins. In model inference or spatial computing scenarios, calculating the distance between two points is a common requirement. The dsh-distance-2d plugin is designed to provide lightweight local computation capabilities without depending on external network services.

Plugin Positioning

This is a plugin maintained by uckkk, focusing on calculating the distance between two points in a 2D plane. Its core value lies in being implemented purely in Node.js with no dependence on network requests, making it suitable for local environments or scenarios with strict network restrictions.

Core Features

  • Pure Node.js implementation: Developed based on Node.js with high runtime efficiency.
  • No network dependency: All computation logic is performed locally and generates no network traffic.
  • Tool integration: After installation, the plugin registers the corresponding tool in the session, supporting direct invocation.

Installation and Activation

  1. Run the official installation command:
    dsh plugin add github:uckkk/dsh-distance-2d
  1. After installation, you can use the tool registered by the plugin in the session.

Dependencies and Notes

  • Dependencies: The plugin depends on @deepseek-ai/cordis (^4.0.1) and @deepseek-ai/dsh-tools (>=0.1.0-rc.6). Please ensure your project environment satisfies the above dependency requirements.
  • Code review: The plugin code is hosted on GitHub. It is recommended to review the source code implementation before use.

Summary

This plugin provides basic spatial computing capabilities to the DSH ecosystem. See the GitHub repository or the DSH plugin directory for more details.