DeepSeek Harness (DSH) adopts a plugin-based architecture to extend its functionality. During development or debugging, it may be necessary to prevent plugins from initiating external network requests, or to ensure that plugin logic runs entirely locally without relying on external HTTP services. To address such requirements, dsh-indium provides a pure Node.js-based solution.
Plugin Overview¶
dsh-indium is a DSH plugin whose core description is “Indium.” The plugin is maintained by uckkk and is released under the MIT license.
Core Features¶
The plugin is implemented in pure Node.js code and has no network dependencies. This means that at runtime, it does not actively initiate external HTTP requests, making it suitable for use in restricted network environments or scenarios sensitive to network overhead.
Installation and Enablement¶
The installation command is as follows:
dsh plugin add github:uckkk/dsh-indium
Typical Usage¶
Based on the package.json configuration, the plugin exports its main logic from lib/index.js and includes a cordis.patch.yml configuration file. The specific usage depends on how dsh itself loads this plugin. Since the documentation does not provide concrete invocation examples, it is recommended to refer to cordis.patch.yml or the source code in lib/index.js in its GitHub repository to learn how to integrate it into existing DSH workflows.
Use Cases and Notes¶
- Use Cases: Suitable for development scenarios that need to run purely local logic in a DSH environment, avoid interference from network requests, or operate under network policy restrictions.
- Environment Dependencies: Before use, ensure that the DeepSeek Harness environment and its core dependencies are installed, including
@deepseek-ai/cordis(version >= 4.0.1) and@deepseek-ai/dsh-tools(version >= 0.1.0-rc.6). - Notes: The plugin runs with the permissions of the current DSH process. It is recommended to review the source code before installation to ensure compliance with security requirements.
Summary¶
dsh-indium provides a lightweight plugin implementation approach and avoids network dependencies through pure Node code. More details can be found in the GitHub repository.