In DeepSeek Harness (DSH) plugin development, handling text that contains HTML character entities is a common scenario. For example, restoring & to & or < to <. Manually processing such conversions is inefficient and error-prone. The dsh-html-decode plugin provides the ability to perform such conversions directly within the DSH environment.
What Is This¶
This is a pure Node DSH plugin for performing HTML unescaping. It is maintained by istone. It primarily addresses the need to quickly restore character entities back to their original characters when parsing or cleansing text data that contains HTML escape characters in a DSH environment.
Core Features¶
- Pure Node implementation with no network dependencies.
- Provides HTML character entity decoding.
Installation and Enablement¶
Installing this plugin requires using the DeepSeek Harness plugin management command.
dsh plugin add github:uckkk/dsh-html-decode
Typical Usage¶
After installation, you can invoke the tools registered by this plugin in a DSH session. Refer to the list of available tools in the session context for the specific invocation method.
Use Cases and Notes¶
This plugin is suitable for scenarios where agent tasks require processing webpage content, logs, or any text streams containing HTML escape characters.
Notes:
1. The plugin runs with the permissions of the current DSH process. Ensure you have a sufficient understanding of the source code.
2. We recommend reviewing the source code logic and license (MIT) before installation.
3. Dependencies: @deepseek-ai/cordis (^4.0.1) and @deepseek-ai/dsh-tools (>=0.1.0-rc.6).
Summary¶
dsh-html-decode provides lightweight HTML unescaping capability, suitable for DSH plugin development scenarios that require cleansing HTML data.